{"ground_truth": ["", "int64_t", "execute", "(", ")", "{", "while", "(", "!", "InfixOperatorStack", ".", "empty", "(", ")", ")", "{", "InfixCalculatorTok", "StackOp", "=", "InfixOperatorStack", ".", "pop_back_val", "(", ")", ";", "if", "(", "StackOp", "!=", "IC_LPAREN", "&&", "StackOp", "!=", "IC_RPAREN", ")", "PostfixStack", ".", "push_back", "(", "std", "::", "make_pair", "(", "StackOp", ",", "0", ")", ")", ";", "}", "if", "(", "PostfixStack", ".", "empty", "(", ")", ")", "return", "0", ";", "SmallVector", "<", "ICToken", ",", "16", ">", "OperandStack", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "PostfixStack", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "ICToken", "Op", "=", "PostfixStack", "[", "i", "]", ";", "if", "(", "Op", ".", "first", "==", "IC_IMM", "||", "Op", ".", "first", "==", "IC_REGISTER", ")", "{", "OperandStack", ".", "push_back", "(", "Op", ")", ";", "}", "else", "{", "assert", "(", "OperandStack", ".", "size", "(", ")", ">", "1", "&&", "\"Too few operands.\"", ")", ";", "int64_t", "Val", ";", "ICToken", "Op2", "=", "OperandStack", ".", "pop_back_val", "(", ")", ";", "ICToken", "Op1", "=", "OperandStack", ".", "pop_back_val", "(", ")", ";", "switch", "(", "Op", ".", "first", ")", "{", "default", ":", "report_fatal_error", "(", "\"Unexpected operator!\"", ")", ";", "break", ";", "case", "IC_PLUS", ":", "Val", "=", "Op1", ".", "second", "+", "Op2", ".", "second", ";", "OperandStack", ".", "push_back", "(", "std", "::", "make_pair", "(", "IC_IMM", ",", "Val", ")", ")", ";", "break", ";", "case", "IC_MINUS", ":", "Val", "=", "Op1", ".", "second", "-", "Op2", ".", "second", ";", "OperandStack", ".", "push_back", "(", "std", "::", "make_pair", "(", "IC_IMM", ",", "Val", ")", ")", ";", "break", ";", "case", "IC_MULTIPLY", ":", "assert", "(", "Op1", ".", "first", "==", "IC_IMM", "&&", "Op2", ".", "first", "==", "IC_IMM", "&&", "\"Multiply operation with an immediate and a register!\"", ")", ";", "Val", "=", "Op1", ".", "second", "*", "Op2", ".", "second", ";", "OperandStack", ".", "push_back", "(", "std", "::", "make_pair", "(", "IC_IMM", ",", "Val", ")", ")", ";", "break", ";", "case", "IC_DIVIDE", ":", "assert", "(", "Op1", ".", "first", "==", "IC_IMM", "&&", "Op2", ".", "first", "==", "IC_IMM", "&&", "\"Divide operation with an immediate and a register!\"", ")", ";", "assert", "(", "Op2", ".", "second", "!=", "0", "&&", "\"Division by zero!\"", ")", ";", "Val", "=", "Op1", ".", "second", "/", "Op2", ".", "second", ";", "OperandStack", ".", "push_back", "(", "std", "::", "make_pair", "(", "IC_IMM", ",", "Val", ")", ")", ";", "break", ";", "}", "}", "}", "assert", "(", "OperandStack", ".", "size", "(", ")", "==", "1", "&&", "\"Expected a single result.\"", ")", ";", "return", "OperandStack", ".", "pop_back_val", "(", ")", ".", "second", ";", "}", ""], "natrual_language": ["Produce", "a", "widened", "version", "of", "the", "select", "instruction", "."], "TS_V_token": ["X86", "0", "0", "16", "0", "1", "\"Too few operands.\"", "\"Unexpected operator!\"", "\"Multiply operation with an immediate and a register!\"", "\"Divide operation with an immediate and a register!\"", "0", "\"Division by zero!\"", "1", "\"Expected a single result.\""], "File": "X86AsmParser (2)2", "Func": "execute", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 0, "Length": 361, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "uint16_t", "name", "(", "struct", "InternalInstruction", "*", "insn", ",", "\\", "OperandType", "type", ",", "\\", "uint8_t", "index", ",", "\\", "uint8_t", "*", "valid", ")", "{", "\\", "*", "valid", "=", "1", ";", "\\", "switch", "(", "type", ")", "{", "\\", "default", ":", "\\", "debug", "(", "\"Unhandled register type\"", ")", ";", "\\", "*", "valid", "=", "0", ";", "\\", "return", "0", ";", "\\", "case", "TYPE_Rv", ":", "\\", "return", "base", "+", "index", ";", "\\", "case", "TYPE_R8", ":", "\\", "if", "(", "insn", "->", "rexPrefix", "&&", "\\", "index", ">=", "4", "&&", "index", "<=", "7", ")", "{", "\\", "return", "prefix", "##", "_SPL", "+", "(", "index", "-", "4", ")", ";", "\\", "}", "else", "{", "\\", "return", "prefix", "##", "_AL", "+", "index", ";", "\\", "}", "\\", "case", "TYPE_R16", ":", "\\", "return", "prefix", "##", "_AX", "+", "index", ";", "\\", "case", "TYPE_R32", ":", "\\", "return", "prefix", "##", "_EAX", "+", "index", ";", "\\", "case", "TYPE_R64", ":", "\\", "return", "prefix", "##", "_RAX", "+", "index", ";", "\\", "case", "TYPE_ZMM", ":", "\\", "return", "prefix", "##", "_ZMM0", "+", "index", ";", "\\", "case", "TYPE_YMM", ":", "\\", "return", "prefix", "##", "_YMM0", "+", "index", ";", "\\", "case", "TYPE_XMM", ":", "\\", "return", "prefix", "##", "_XMM0", "+", "index", ";", "\\", "case", "TYPE_VK", ":", "\\", "if", "(", "index", ">", "7", ")", "\\", "*", "valid", "=", "0", ";", "\\", "return", "prefix", "##", "_K0", "+", "index", ";", "\\", "case", "TYPE_MM64", ":", "\\", "return", "prefix", "##", "_MM0", "+", "(", "index", "&", "0x7", ")", ";", "\\", "case", "TYPE_SEGMENTREG", ":", "\\", "if", "(", "(", "index", "&", "7", ")", ">", "5", ")", "\\", "*", "valid", "=", "0", ";", "\\", "return", "prefix", "##", "_ES", "+", "(", "index", "&", "7", ")", ";", "\\", "case", "TYPE_DEBUGREG", ":", "\\", "return", "prefix", "##", "_DR0", "+", "index", ";", "\\", "case", "TYPE_CONTROLREG", ":", "\\", "return", "prefix", "##", "_CR0", "+", "index", ";", "\\", "case", "TYPE_BNDR", ":", "\\", "if", "(", "index", ">", "3", ")", "\\", "*", "valid", "=", "0", ";", "\\", "return", "prefix", "##", "_BND0", "+", "index", ";", "\\", "case", "TYPE_MVSIBX", ":", "\\", "return", "prefix", "##", "_XMM0", "+", "index", ";", "\\", "case", "TYPE_MVSIBY", ":", "\\", "return", "prefix", "##", "_YMM0", "+", "index", ";", "\\", "case", "TYPE_MVSIBZ", ":", "\\", "return", "prefix", "##", "_ZMM0", "+", "index", ";", "\\", "}", "\\", "}", ""], "natrual_language": ["Gets", "the", "name", "of", "the", "pass", "we", "are", "mixed", "into", "."], "TS_V_token": ["X86", "1", "\"Unhandled register type\"", "0", "0", "4", "7", "4", "7", "0", "0x7", "7", "5", "0", "7", "3", "0"], "File": "X86DisassemblerDecoder11", "Func": "name", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1, "Length": 346, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_conditional_register_usage", "(", "void", ")", "{", "int", "i", ",", "c_mask", ";", "if", "(", "!", "TARGET_64BIT", ")", "{", "for", "(", "i", "=", "FIRST_REX_INT_REG", ";", "i", "<=", "LAST_REX_INT_REG", ";", "i", "++", ")", "fixed_regs", "[", "i", "]", "=", "call_used_regs", "[", "i", "]", "=", "1", ",", "reg_names", "[", "i", "]", "=", "\"\"", ";", "for", "(", "i", "=", "FIRST_REX_SSE_REG", ";", "i", "<=", "LAST_REX_SSE_REG", ";", "i", "++", ")", "fixed_regs", "[", "i", "]", "=", "call_used_regs", "[", "i", "]", "=", "1", ",", "reg_names", "[", "i", "]", "=", "\"\"", ";", "for", "(", "i", "=", "FIRST_EXT_REX_SSE_REG", ";", "i", "<=", "LAST_EXT_REX_SSE_REG", ";", "i", "++", ")", "fixed_regs", "[", "i", "]", "=", "call_used_regs", "[", "i", "]", "=", "1", ",", "reg_names", "[", "i", "]", "=", "\"\"", ";", "}", "c_mask", "=", "(", "TARGET_64BIT_MS_ABI", "?", "(", "1", "<<", "3", ")", ":", "TARGET_64BIT", "?", "(", "1", "<<", "2", ")", ":", "(", "1", "<<", "1", ")", ")", ";", "CLEAR_HARD_REG_SET", "(", "reg_class_contents", "[", "(", "int", ")", "CLOBBERED_REGS", "]", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "FIRST_PSEUDO_REGISTER", ";", "i", "++", ")", "{", "if", "(", "call_used_regs", "[", "i", "]", ">", "1", ")", "call_used_regs", "[", "i", "]", "=", "!", "!", "(", "call_used_regs", "[", "i", "]", "&", "c_mask", ")", ";", "if", "(", "TEST_HARD_REG_BIT", "(", "reg_class_contents", "[", "(", "int", ")", "GENERAL_REGS", "]", ",", "i", ")", "&&", "call_used_regs", "[", "i", "]", ")", "SET_HARD_REG_BIT", "(", "reg_class_contents", "[", "(", "int", ")", "CLOBBERED_REGS", "]", ",", "i", ")", ";", "}", "if", "(", "!", "TARGET_MMX", ")", "for", "(", "i", "=", "0", ";", "i", "<", "FIRST_PSEUDO_REGISTER", ";", "i", "++", ")", "if", "(", "TEST_HARD_REG_BIT", "(", "reg_class_contents", "[", "(", "int", ")", "MMX_REGS", "]", ",", "i", ")", ")", "fixed_regs", "[", "i", "]", "=", "call_used_regs", "[", "i", "]", "=", "1", ",", "reg_names", "[", "i", "]", "=", "\"\"", ";", "if", "(", "!", "TARGET_SSE", ")", "for", "(", "i", "=", "0", ";", "i", "<", "FIRST_PSEUDO_REGISTER", ";", "i", "++", ")", "if", "(", "TEST_HARD_REG_BIT", "(", "reg_class_contents", "[", "(", "int", ")", "SSE_REGS", "]", ",", "i", ")", ")", "fixed_regs", "[", "i", "]", "=", "call_used_regs", "[", "i", "]", "=", "1", ",", "reg_names", "[", "i", "]", "=", "\"\"", ";", "if", "(", "!", "(", "TARGET_80387", "||", "TARGET_FLOAT_RETURNS_IN_80387", ")", ")", "for", "(", "i", "=", "0", ";", "i", "<", "FIRST_PSEUDO_REGISTER", ";", "i", "++", ")", "if", "(", "TEST_HARD_REG_BIT", "(", "reg_class_contents", "[", "(", "int", ")", "FLOAT_REGS", "]", ",", "i", ")", ")", "fixed_regs", "[", "i", "]", "=", "call_used_regs", "[", "i", "]", "=", "1", ",", "reg_names", "[", "i", "]", "=", "\"\"", ";", "if", "(", "!", "TARGET_AVX512F", ")", "{", "for", "(", "i", "=", "FIRST_EXT_REX_SSE_REG", ";", "i", "<=", "LAST_EXT_REX_SSE_REG", ";", "i", "++", ")", "fixed_regs", "[", "i", "]", "=", "call_used_regs", "[", "i", "]", "=", "1", ",", "reg_names", "[", "i", "]", "=", "\"\"", ";", "for", "(", "i", "=", "FIRST_MASK_REG", ";", "i", "<=", "LAST_MASK_REG", ";", "i", "++", ")", "fixed_regs", "[", "i", "]", "=", "call_used_regs", "[", "i", "]", "=", "1", ",", "reg_names", "[", "i", "]", "=", "\"\"", ";", "}", "if", "(", "!", "TARGET_MPX", ")", "for", "(", "i", "=", "FIRST_BND_REG", ";", "i", "<=", "LAST_BND_REG", ";", "i", "++", ")", "fixed_regs", "[", "i", "]", "=", "call_used_regs", "[", "i", "]", "=", "1", ",", "reg_names", "[", "i", "]", "=", "\"\"", ";", "}", ""], "natrual_language": ["Update", "register", "usage", "after", "having", "seen", "the", "compiler", "flags", "."], "TS_V_token": ["i386", "1", "\"\"", "1", "\"\"", "1", "\"\"", "1", "3", "1", "2", "1", "1", "0", "1", "0", "1", "\"\"", "0", "1", "\"\"", "0", "1", "\"\"", "1", "\"\"", "1", "\"\"", "1", "\"\""], "File": "i3864", "Func": "ix86_conditional_register_usage", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2, "Length": 494, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "R600TargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "DebugLoc", "DL", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "unsigned", "ParamOffsetBytes", "=", "36", ";", "Function", "::", "const_arg_iterator", "FuncArg", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getFunction", "(", ")", "->", "arg_begin", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "Ins", ".", "size", "(", ")", ";", "i", "<", "e", ";", "++", "i", ",", "++", "FuncArg", ")", "{", "EVT", "VT", "=", "Ins", "[", "i", "]", ".", "VT", ";", "Type", "*", "ArgType", "=", "FuncArg", "->", "getType", "(", ")", ";", "unsigned", "ArgSizeInBits", "=", "ArgType", "->", "isPointerTy", "(", ")", "?", "32", ":", "ArgType", "->", "getPrimitiveSizeInBits", "(", ")", ";", "unsigned", "ArgBytes", "=", "ArgSizeInBits", ">>", "3", ";", "EVT", "ArgVT", ";", "if", "(", "ArgSizeInBits", "<", "VT", ".", "getSizeInBits", "(", ")", ")", "{", "assert", "(", "!", "ArgType", "->", "isFloatTy", "(", ")", "&&", "\"Extending floating point arguments not supported yet\"", ")", ";", "ArgVT", "=", "MVT", "::", "getIntegerVT", "(", "ArgSizeInBits", ")", ";", "}", "else", "{", "ArgVT", "=", "VT", ";", "}", "PointerType", "*", "PtrTy", "=", "PointerType", "::", "get", "(", "VT", ".", "getTypeForEVT", "(", "*", "DAG", ".", "getContext", "(", ")", ")", ",", "AMDGPUAS", "::", "PARAM_I_ADDRESS", ")", ";", "SDValue", "Arg", "=", "DAG", ".", "getExtLoad", "(", "ISD", "::", "ZEXTLOAD", ",", "DL", ",", "VT", ",", "DAG", ".", "getRoot", "(", ")", ",", "DAG", ".", "getConstant", "(", "ParamOffsetBytes", ",", "MVT", "::", "i32", ")", ",", "MachinePointerInfo", "(", "new", "Argument", "(", "PtrTy", ")", ")", ",", "ArgVT", ",", "false", ",", "false", ",", "ArgBytes", ")", ";", "InVals", ".", "push_back", "(", "Arg", ")", ";", "ParamOffsetBytes", "+=", "ArgBytes", ";", "}", "return", "Chain", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "the", "Ins", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["R600", "ISD::InputArg", "36", "0", "32", "3", "\"Extending floating point arguments not supported yet\"", "MVT::getIntegerVT", "AMDGPUAS::PARAM_I_ADDRESS", "ISD::ZEXTLOAD", "MVT::i32"], "File": "R600ISelLowering63", "Func": "LowerFormalArguments", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3, "Length": 270, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "mn10300_md_asm_adjust", "(", "vec", "<", "rtx", ">", "&", ",", "vec", "<", "rtx", ">", "&", ",", "vec", "<", "machine_mode", ">", "&", ",", "vec", "<", "const", "char", "*", ">", "&", ",", "vec", "<", "rtx", ">", "&", "clobbers", ",", "HARD_REG_SET", "&", "clobbered_regs", ")", "{", "clobbers", ".", "safe_push", "(", "gen_rtx_REG", "(", "CCmode", ",", "CC_REG", ")", ")", ";", "SET_HARD_REG_BIT", "(", "clobbered_regs", ",", "CC_REG", ")", ";", "return", "NULL", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_MD_ASM_ADJUST", ".", "We", "do", "this", "in", "the", "mn10300", "backend", "to", "maintain", "source", "compatibility", "with", "the", "old", "cc0-based", "compiler", "."], "TS_V_token": ["mn10300"], "File": "mn103001", "Func": "mn10300_md_asm_adjust", "Target": "mn10300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Cpu0SEInstrInfo", "::", "expandPostRAPseudo", "(", "MachineInstr", "&", "MI", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "switch", "(", "MI", ".", "getDesc", "(", ")", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "Cpu0", "::", "RetLR", ":", "expandRetLR", "(", "MBB", ",", "MI", ")", ";", "break", ";", "}", "MBB", ".", "erase", "(", "MI", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "function", "is", "called", "for", "all", "pseudo", "instructions", "that", "remain", "after", "register", "allocation", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0::RetLR"], "File": "Cpu0SEInstrInfo1", "Func": "expandPostRAPseudo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 5, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "GCNPassConfig", "::", "addInstSelector", "(", ")", "{", "AMDGPUPassConfig", "::", "addInstSelector", "(", ")", ";", "addPass", "(", "createSILowerI1CopiesPass", "(", ")", ")", ";", "addPass", "(", "&", "SIFixSGPRCopiesID", ")", ";", "addPass", "(", "createSIFoldOperandsPass", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "SI", "SI", "SI"], "File": "AMDGPUTargetMachine (2)", "Func": "addInstSelector", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 6, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "bfin_expand_prologue", "(", "void", ")", "{", "rtx", "insn", ";", "HOST_WIDE_INT", "frame_size", "=", "get_frame_size", "(", ")", ";", "rtx", "spreg", "=", "gen_rtx_REG", "(", "Pmode", ",", "REG_SP", ")", ";", "e_funkind", "fkind", "=", "funkind", "(", "TREE_TYPE", "(", "current_function_decl", ")", ")", ";", "rtx", "pic_reg_loaded", "=", "NULL_RTX", ";", "if", "(", "fkind", "!=", "SUBROUTINE", ")", "{", "expand_interrupt_handler_prologue", "(", "spreg", ",", "fkind", ")", ";", "return", ";", "}", "if", "(", "current_function_limit_stack", ")", "{", "HOST_WIDE_INT", "offset", "=", "bfin_initial_elimination_offset", "(", "ARG_POINTER_REGNUM", ",", "STACK_POINTER_REGNUM", ")", ";", "rtx", "lim", "=", "stack_limit_rtx", ";", "if", "(", "GET_CODE", "(", "lim", ")", "==", "SYMBOL_REF", ")", "{", "rtx", "p2reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "REG_P2", ")", ";", "if", "(", "TARGET_ID_SHARED_LIBRARY", ")", "{", "rtx", "p1reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "REG_P1", ")", ";", "rtx", "val", ";", "pic_reg_loaded", "=", "bfin_load_pic_reg", "(", "p2reg", ")", ";", "val", "=", "legitimize_pic_address", "(", "stack_limit_rtx", ",", "p1reg", ",", "pic_reg_loaded", ")", ";", "emit_move_insn", "(", "p1reg", ",", "val", ")", ";", "frame_related_constant_load", "(", "p2reg", ",", "offset", ",", "FALSE", ")", ";", "emit_insn", "(", "gen_addsi3", "(", "p2reg", ",", "p2reg", ",", "p1reg", ")", ")", ";", "lim", "=", "p2reg", ";", "}", "else", "{", "rtx", "limit", "=", "plus_constant", "(", "stack_limit_rtx", ",", "offset", ")", ";", "emit_move_insn", "(", "p2reg", ",", "limit", ")", ";", "lim", "=", "p2reg", ";", "}", "}", "emit_insn", "(", "gen_compare_lt", "(", "bfin_cc_rtx", ",", "spreg", ",", "lim", ")", ")", ";", "emit_insn", "(", "gen_trapifcc", "(", ")", ")", ";", "}", "expand_prologue_reg_save", "(", "spreg", ",", "0", ",", "false", ")", ";", "do_link", "(", "spreg", ",", "frame_size", ",", "false", ")", ";", "if", "(", "TARGET_ID_SHARED_LIBRARY", "&&", "(", "current_function_uses_pic_offset_table", "||", "!", "current_function_is_leaf", ")", ")", "bfin_load_pic_reg", "(", "pic_offset_table_rtx", ")", ";", "}", ""], "natrual_language": ["Generate", "RTL", "for", "the", "prologue", "of", "the", "current", "function", "."], "TS_V_token": ["bfin", "0"], "File": "bfin2", "Func": "bfin_expand_prologue", "Target": "bfin", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 7, "Length": 248, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "shouldSinkOperands", "(", "Instruction", "*", "I", ",", "SmallVectorImpl", "<", "Use", "*", ">", "&", "Ops", ")", "const", "{", "int", "ShiftAmountOpNum", "=", "-", "1", ";", "if", "(", "I", "->", "isShift", "(", ")", ")", "ShiftAmountOpNum", "=", "1", ";", "else", "if", "(", "auto", "*", "II", "=", "dyn_cast", "<", "IntrinsicInst", ">", "(", "I", ")", ")", "{", "if", "(", "II", "->", "getIntrinsicID", "(", ")", "==", "Intrinsic", "::", "fshl", "||", "II", "->", "getIntrinsicID", "(", ")", "==", "Intrinsic", "::", "fshr", ")", "ShiftAmountOpNum", "=", "2", ";", "}", "if", "(", "ShiftAmountOpNum", "==", "-", "1", ")", "return", "false", ";", "auto", "*", "Shuf", "=", "dyn_cast", "<", "ShuffleVectorInst", ">", "(", "I", "->", "getOperand", "(", "ShiftAmountOpNum", ")", ")", ";", "if", "(", "Shuf", "&&", "getSplatIndex", "(", "Shuf", "->", "getShuffleMask", "(", ")", ")", ">=", "0", "&&", "isVectorShiftByScalarCheap", "(", "I", "->", "getType", "(", ")", ")", ")", "{", "Ops", ".", "push_back", "(", "&", "I", "->", "getOperandUse", "(", "ShiftAmountOpNum", ")", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "sinking", "I", "'s", "operands", "to", "the", "same", "basic", "block", "as", "I", "is", "profitable", ",", "e.g", "."], "TS_V_token": ["X86", "X86", "1", "1", "Intrinsic::fshl", "Intrinsic::fshr", "2", "1", "0"], "File": "X86ISelLowering101", "Func": "shouldSinkOperands", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 8, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint64_t", "MipsPLT", "::", "emit", "(", "MemoryRegion", "&", "pRegion", ")", "{", "uint64_t", "result", "=", "0x0", ";", "iterator", "it", "=", "begin", "(", ")", ";", "unsigned", "char", "*", "buffer", "=", "pRegion", ".", "begin", "(", ")", ";", "memcpy", "(", "buffer", ",", "llvm", "::", "cast", "<", "MipsPLT0", ">", "(", "(", "*", "it", ")", ")", ".", "getValue", "(", ")", ",", "MipsPLT0", "::", "EntrySize", ")", ";", "result", "+=", "MipsPLT0", "::", "EntrySize", ";", "++", "it", ";", "MipsPLTA", "*", "plta", "=", "0", ";", "for", "(", "iterator", "ie", "=", "end", "(", ")", ";", "it", "!=", "ie", ";", "++", "it", ")", "{", "plta", "=", "&", "(", "llvm", "::", "cast", "<", "MipsPLTA", ">", "(", "*", "it", ")", ")", ";", "memcpy", "(", "buffer", "+", "result", ",", "plta", "->", "getValue", "(", ")", ",", "MipsPLTA", "::", "EntrySize", ")", ";", "result", "+=", "MipsPLTA", "::", "EntrySize", ";", "}", "return", "result", ";", "}", ""], "natrual_language": ["Output", "the", "remark", "via", "the", "diagnostic", "handler", "and", "to", "the", "optimization", "record", "file", "."], "TS_V_token": ["Mips", "Mips", "0x0", "Mips", "Mips", "Mips", "Mips", "0", "Mips", "Mips", "Mips"], "File": "MipsPLT", "Func": "emit", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 9, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_emit_move_from_cr", "(", "rtx", "reg", ")", "{", "if", "(", "DEFAULT_ABI", "==", "ABI_ELFv2", "&&", "TARGET_MFCRF", ")", "{", "int", "i", ",", "cr_reg", "[", "8", "]", ",", "count", "=", "0", ";", "for", "(", "i", "=", "0", ";", "i", "<", "8", ";", "i", "++", ")", "if", "(", "save_reg_p", "(", "CR0_REGNO", "+", "i", ")", ")", "cr_reg", "[", "count", "++", "]", "=", "i", ";", "if", "(", "count", "==", "1", ")", "{", "rtvec", "p", "=", "rtvec_alloc", "(", "1", ")", ";", "rtvec", "r", "=", "rtvec_alloc", "(", "2", ")", ";", "RTVEC_ELT", "(", "r", ",", "0", ")", "=", "gen_rtx_REG", "(", "CCmode", ",", "CR0_REGNO", "+", "cr_reg", "[", "0", "]", ")", ";", "RTVEC_ELT", "(", "r", ",", "1", ")", "=", "GEN_INT", "(", "1", "<<", "(", "7", "-", "cr_reg", "[", "0", "]", ")", ")", ";", "RTVEC_ELT", "(", "p", ",", "0", ")", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "reg", ",", "gen_rtx_UNSPEC", "(", "SImode", ",", "r", ",", "UNSPEC_MOVESI_FROM_CR", ")", ")", ";", "emit_insn", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "p", ")", ")", ";", "return", ";", "}", "}", "emit_insn", "(", "gen_movesi_from_cr", "(", "reg", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "store", "CR", "fields", "that", "need", "to", "be", "saved", "into", "REG", "."], "TS_V_token": ["rs6000", "8", "0", "0", "8", "1", "1", "2", "0", "0", "1", "1", "7", "0", "0"], "File": "rs60004", "Func": "rs6000_emit_move_from_cr", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 10, "Length": 168, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "ARMBaseInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "ARMBaseInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "if", "(", "!", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "MachineInstr", "*", "Old", "=", "I", ";", "DebugLoc", "dl", "=", "Old", "->", "getDebugLoc", "(", ")", ";", "unsigned", "Amount", "=", "Old", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "Amount", "!=", "0", ")", "{", "unsigned", "Align", "=", "getStackAlignment", "(", ")", ";", "Amount", "=", "(", "Amount", "+", "Align", "-", "1", ")", "/", "Align", "*", "Align", ";", "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "assert", "(", "!", "AFI", "->", "isThumb1OnlyFunction", "(", ")", "&&", "\"This eliminateCallFramePseudoInstr does not support Thumb1!\"", ")", ";", "bool", "isARM", "=", "!", "AFI", "->", "isThumbFunction", "(", ")", ";", "unsigned", "Opc", "=", "Old", "->", "getOpcode", "(", ")", ";", "int", "PIdx", "=", "Old", "->", "findFirstPredOperandIdx", "(", ")", ";", "ARMCC", "::", "CondCodes", "Pred", "=", "(", "PIdx", "==", "-", "1", ")", "?", "ARMCC", "::", "AL", ":", "(", "ARMCC", "::", "CondCodes", ")", "Old", "->", "getOperand", "(", "PIdx", ")", ".", "getImm", "(", ")", ";", "if", "(", "Opc", "==", "ARM", "::", "ADJCALLSTACKDOWN", "||", "Opc", "==", "ARM", "::", "tADJCALLSTACKDOWN", ")", "{", "unsigned", "PredReg", "=", "Old", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ";", "emitSPUpdate", "(", "isARM", ",", "MBB", ",", "I", ",", "dl", ",", "TII", ",", "-", "Amount", ",", "MachineInstr", "::", "NoFlags", ",", "Pred", ",", "PredReg", ")", ";", "}", "else", "{", "unsigned", "PredReg", "=", "Old", "->", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", ";", "assert", "(", "Opc", "==", "ARM", "::", "ADJCALLSTACKUP", "||", "Opc", "==", "ARM", "::", "tADJCALLSTACKUP", ")", ";", "emitSPUpdate", "(", "isARM", ",", "MBB", ",", "I", ",", "dl", ",", "TII", ",", "Amount", ",", "MachineInstr", "::", "NoFlags", ",", "Pred", ",", "PredReg", ")", ";", "}", "}", "}", "MBB", ".", "erase", "(", "I", ")", ";", "}", ""], "natrual_language": ["This", "method", "is", "called", "during", "prolog/epilog", "code", "insertion", "to", "eliminate", "call", "frame", "setup", "and", "destroy", "pseudo", "instructions", "(", "but", "only", "if", "the", "Target", "is", "using", "them", ")", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "0", "0", "1", "ARM", "ARM", "\"This eliminateCallFramePseudoInstr does not support Thumb1!\"", "ARM", "ARMCC::CondCodes", "1", "ARMCC::AL", "ARMCC::CondCodes", "ARM::ADJCALLSTACKDOWN", "ARM::tADJCALLSTACKDOWN", "2", "ARM", "3", "ARM::ADJCALLSTACKUP", "ARM::tADJCALLSTACKUP", "ARM"], "File": "ARMFrameLowering (2)", "Func": "eliminateCallFramePseudoInstr", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 11, "Length": 314, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MSP430InstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FrameIdx", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "MFI", ".", "getObjectSize", "(", "FrameIdx", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FrameIdx", ")", ")", ";", "if", "(", "RC", "==", "&", "MSP430", "::", "GR16RegClass", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "MSP430", "::", "MOV16mr", ")", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "if", "(", "RC", "==", "&", "MSP430", "::", "GR8RegClass", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "MSP430", "::", "MOV8mr", ")", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "llvm_unreachable", "(", "\"Cannot store this register to stack slot!\"", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["MSP430", "MSP430", "MSP430::GR16RegClass", "MSP430::MOV16mr", "0", "MSP430::GR8RegClass", "MSP430::MOV8mr", "0", "\"Cannot store this register to stack slot!\""], "File": "MSP430InstrInfo10", "Func": "storeRegToStackSlot", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 12, "Length": 221, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arc_cannot_substitute_mem_equiv_p", "(", "rtx", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "SUBST", "ca", "n't", "safely", "replace", "its", "equivalent", "during", "RA", "."], "TS_V_token": ["arc"], "File": "arc", "Func": "arc_cannot_substitute_mem_equiv_p", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 13, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_must_pass_in_stack", "(", "enum", "machine_mode", "mode", ",", "tree", "type", ")", "{", "if", "(", "must_pass_in_stack_var_size_or_pad", "(", "mode", ",", "type", ")", ")", "return", "true", ";", "return", "(", "!", "TARGET_64BIT", "&&", "mode", "==", "TImode", "&&", "type", "&&", "TREE_CODE", "(", "type", ")", "!=", "VECTOR_TYPE", ")", ";", "}", ""], "natrual_language": ["Return", "if", "we", "do", "not", "know", "how", "to", "pass", "TYPE", "solely", "in", "registers", "."], "TS_V_token": ["i386"], "File": "i3863", "Func": "ix86_must_pass_in_stack", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 14, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "m32r_expand_block_move", "(", "rtx", "operands", "[", "]", ")", "{", "rtx", "orig_dst", "=", "operands", "[", "0", "]", ";", "rtx", "orig_src", "=", "operands", "[", "1", "]", ";", "rtx", "bytes_rtx", "=", "operands", "[", "2", "]", ";", "rtx", "align_rtx", "=", "operands", "[", "3", "]", ";", "int", "constp", "=", "CONST_INT_P", "(", "bytes_rtx", ")", ";", "HOST_WIDE_INT", "bytes", "=", "constp", "?", "INTVAL", "(", "bytes_rtx", ")", ":", "0", ";", "int", "align", "=", "INTVAL", "(", "align_rtx", ")", ";", "int", "leftover", ";", "rtx", "src_reg", ";", "rtx", "dst_reg", ";", "if", "(", "constp", "&&", "bytes", "<=", "0", ")", "return", "1", ";", "dst_reg", "=", "copy_addr_to_reg", "(", "XEXP", "(", "orig_dst", ",", "0", ")", ")", ";", "src_reg", "=", "copy_addr_to_reg", "(", "XEXP", "(", "orig_src", ",", "0", ")", ")", ";", "if", "(", "align", ">", "UNITS_PER_WORD", ")", "align", "=", "UNITS_PER_WORD", ";", "if", "(", "optimize_size", "||", "!", "constp", "||", "align", "!=", "UNITS_PER_WORD", ")", "{", "block_move_call", "(", "dst_reg", ",", "src_reg", ",", "bytes_rtx", ")", ";", "return", "0", ";", "}", "leftover", "=", "bytes", "%", "MAX_MOVE_BYTES", ";", "bytes", "-=", "leftover", ";", "if", "(", "bytes", ")", "{", "rtx_code_label", "*", "label", "=", "NULL", ";", "rtx", "final_src", "=", "NULL_RTX", ";", "rtx", "at_a_time", "=", "GEN_INT", "(", "MAX_MOVE_BYTES", ")", ";", "rtx", "rounded_total", "=", "GEN_INT", "(", "bytes", ")", ";", "rtx", "new_dst_reg", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "rtx", "new_src_reg", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "if", "(", "bytes", ">", "MAX_MOVE_BYTES", ")", "{", "final_src", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "if", "(", "INT16_P", "(", "bytes", ")", ")", "emit_insn", "(", "gen_addsi3", "(", "final_src", ",", "src_reg", ",", "rounded_total", ")", ")", ";", "else", "{", "emit_insn", "(", "gen_movsi", "(", "final_src", ",", "rounded_total", ")", ")", ";", "emit_insn", "(", "gen_addsi3", "(", "final_src", ",", "final_src", ",", "src_reg", ")", ")", ";", "}", "label", "=", "gen_label_rtx", "(", ")", ";", "emit_label", "(", "label", ")", ";", "}", "emit_insn", "(", "gen_cpymemsi_internal", "(", "dst_reg", ",", "src_reg", ",", "at_a_time", ",", "new_dst_reg", ",", "new_src_reg", ")", ")", ";", "emit_move_insn", "(", "dst_reg", ",", "new_dst_reg", ")", ";", "emit_move_insn", "(", "src_reg", ",", "new_src_reg", ")", ";", "emit_insn", "(", "gen_addsi3", "(", "dst_reg", ",", "dst_reg", ",", "GEN_INT", "(", "4", ")", ")", ")", ";", "if", "(", "bytes", ">", "MAX_MOVE_BYTES", ")", "{", "rtx", "test", "=", "gen_rtx_NE", "(", "VOIDmode", ",", "src_reg", ",", "final_src", ")", ";", "emit_jump_insn", "(", "gen_cbranchsi4", "(", "test", ",", "src_reg", ",", "final_src", ",", "label", ")", ")", ";", "}", "}", "if", "(", "leftover", ")", "emit_insn", "(", "gen_cpymemsi_internal", "(", "dst_reg", ",", "src_reg", ",", "GEN_INT", "(", "leftover", ")", ",", "gen_reg_rtx", "(", "SImode", ")", ",", "gen_reg_rtx", "(", "SImode", ")", ")", ")", ";", "return", "1", ";", "}", ""], "natrual_language": ["Expand", "string/block", "move", "operations", ".", "operands", "[", "0", "]", "is", "the", "pointer", "to", "the", "destination", ".", "operands", "[", "1", "]", "is", "the", "pointer", "to", "the", "source", ".", "operands", "[", "2", "]", "is", "the", "number", "of", "bytes", "to", "move", ".", "operands", "[", "3", "]", "is", "the", "alignment", "."], "TS_V_token": ["m32r", "0", "1", "2", "3", "0", "0", "1", "0", "0", "0", "4", "1"], "File": "m32r", "Func": "m32r_expand_block_move", "Target": "m32r", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 15, "Length": 389, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TeeRISCFrameLowering", "::", "hasReservedCallFrame", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "!", "MF", ".", "getFrameInfo", "(", ")", "->", "hasVarSizedObjects", "(", ")", ";", "}", ""], "natrual_language": ["hasReservedCallFrame", "-", "Under", "normal", "circumstances", ",", "when", "a", "frame", "pointer", "is", "not", "required", ",", "we", "reserve", "argument", "space", "for", "call", "sites", "in", "the", "function", "immediately", "on", "entry", "to", "the", "current", "function", "."], "TS_V_token": ["TeeRISC", "TeeRISC"], "File": "TeeRISCFrameLowering", "Func": "hasReservedCallFrame", "Target": "TeeRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 16, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_use_blocks_for_decl_p", "(", "const_tree", "decl", ")", "{", "return", "!", "DECL_THREAD_LOCAL_P", "(", "decl", ")", ";", "}", ""], "natrual_language": ["Do", "not", "place", "thread-local", "symbols", "refs", "in", "the", "object", "blocks", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_use_blocks_for_decl_p", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 17, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPassConfig", "::", "addPreISel", "(", ")", "{", "if", "(", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableGlobalMerge", "==", "cl", "::", "BOU_UNSET", ")", "||", "EnableGlobalMerge", "==", "cl", "::", "BOU_TRUE", ")", "{", "bool", "OnlyOptimizeForSize", "=", "(", "TM", "->", "getOptLevel", "(", ")", "<", "CodeGenOpt", "::", "Aggressive", ")", "&&", "(", "EnableGlobalMerge", "==", "cl", "::", "BOU_UNSET", ")", ";", "bool", "MergeExternalByDefault", "=", "!", "TM", "->", "getTargetTriple", "(", ")", ".", "isOSBinFormatMachO", "(", ")", ";", "addPass", "(", "createGlobalMergePass", "(", "TM", ",", "127", ",", "OnlyOptimizeForSize", ",", "MergeExternalByDefault", ")", ")", ";", "}", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createHardwareLoopsPass", "(", ")", ")", ";", "addPass", "(", "createMVETailPredicationPass", "(", ")", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["ARM", "ARM", "127"], "File": "ARMTargetMachine10", "Func": "addPreISel", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 18, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64TargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "SelectionDAG", "&", "DAG", "=", "DCI", ".", "DAG", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "ADD", ":", "case", "ISD", "::", "SUB", ":", "return", "performAddSubLongCombine", "(", "N", ",", "DCI", ",", "DAG", ")", ";", "case", "ISD", "::", "XOR", ":", "return", "performXorCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "MUL", ":", "return", "performMulCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SINT_TO_FP", ":", "case", "ISD", "::", "UINT_TO_FP", ":", "return", "performIntToFpCombine", "(", "N", ",", "DAG", ")", ";", "case", "ISD", "::", "OR", ":", "return", "performORCombine", "(", "N", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "performIntrinsicCombine", "(", "N", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "ANY_EXTEND", ":", "case", "ISD", "::", "ZERO_EXTEND", ":", "case", "ISD", "::", "SIGN_EXTEND", ":", "return", "performExtendCombine", "(", "N", ",", "DCI", ",", "DAG", ")", ";", "case", "ISD", "::", "BITCAST", ":", "return", "performBitcastCombine", "(", "N", ",", "DCI", ",", "DAG", ")", ";", "case", "ISD", "::", "CONCAT_VECTORS", ":", "return", "performConcatVectorsCombine", "(", "N", ",", "DCI", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "performSelectCombine", "(", "N", ",", "DAG", ")", ";", "case", "ISD", "::", "VSELECT", ":", "return", "performVSelectCombine", "(", "N", ",", "DCI", ".", "DAG", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "performSTORECombine", "(", "N", ",", "DCI", ",", "DAG", ",", "Subtarget", ")", ";", "case", "AArch64ISD", "::", "BRCOND", ":", "return", "performBRCONDCombine", "(", "N", ",", "DCI", ",", "DAG", ")", ";", "case", "AArch64ISD", "::", "CSEL", ":", "return", "performCONDCombine", "(", "N", ",", "DCI", ",", "DAG", ",", "2", ",", "3", ")", ";", "case", "AArch64ISD", "::", "DUP", ":", "return", "performPostLD1Combine", "(", "N", ",", "DCI", ",", "false", ")", ";", "case", "ISD", "::", "INSERT_VECTOR_ELT", ":", "return", "performPostLD1Combine", "(", "N", ",", "DCI", ",", "true", ")", ";", "case", "ISD", "::", "INTRINSIC_VOID", ":", "case", "ISD", "::", "INTRINSIC_W_CHAIN", ":", "switch", "(", "cast", "<", "ConstantSDNode", ">", "(", "N", "->", "getOperand", "(", "1", ")", ")", "->", "getZExtValue", "(", ")", ")", "{", "case", "Intrinsic", "::", "aarch64_neon_ld2", ":", "case", "Intrinsic", "::", "aarch64_neon_ld3", ":", "case", "Intrinsic", "::", "aarch64_neon_ld4", ":", "case", "Intrinsic", "::", "aarch64_neon_ld1x2", ":", "case", "Intrinsic", "::", "aarch64_neon_ld1x3", ":", "case", "Intrinsic", "::", "aarch64_neon_ld1x4", ":", "case", "Intrinsic", "::", "aarch64_neon_ld2lane", ":", "case", "Intrinsic", "::", "aarch64_neon_ld3lane", ":", "case", "Intrinsic", "::", "aarch64_neon_ld4lane", ":", "case", "Intrinsic", "::", "aarch64_neon_ld2r", ":", "case", "Intrinsic", "::", "aarch64_neon_ld3r", ":", "case", "Intrinsic", "::", "aarch64_neon_ld4r", ":", "case", "Intrinsic", "::", "aarch64_neon_st2", ":", "case", "Intrinsic", "::", "aarch64_neon_st3", ":", "case", "Intrinsic", "::", "aarch64_neon_st4", ":", "case", "Intrinsic", "::", "aarch64_neon_st1x2", ":", "case", "Intrinsic", "::", "aarch64_neon_st1x3", ":", "case", "Intrinsic", "::", "aarch64_neon_st1x4", ":", "case", "Intrinsic", "::", "aarch64_neon_st2lane", ":", "case", "Intrinsic", "::", "aarch64_neon_st3lane", ":", "case", "Intrinsic", "::", "aarch64_neon_st4lane", ":", "return", "performNEONPostLDSTCombine", "(", "N", ",", "DCI", ",", "DAG", ")", ";", "default", ":", "break", ";", "}", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["This", "method", "will", "be", "invoked", "for", "all", "target", "nodes", "and", "for", "any", "target-independent", "nodes", "that", "the", "target", "has", "registered", "with", "invoke", "it", "for", "."], "TS_V_token": ["AArch64", "AArch64", "ISD::ADD", "ISD::SUB", "ISD::XOR", "ISD::MUL", "ISD::SINT_TO_FP", "ISD::UINT_TO_FP", "ISD::OR", "ISD::INTRINSIC_WO_CHAIN", "ISD::ANY_EXTEND", "ISD::ZERO_EXTEND", "ISD::SIGN_EXTEND", "ISD::BITCAST", "ISD::CONCAT_VECTORS", "ISD::SELECT", "ISD::VSELECT", "ISD::STORE", "AArch64ISD::BRCOND", "AArch64ISD::CSEL", "2", "3", "AArch64ISD::DUP", "ISD::INSERT_VECTOR_ELT", "ISD::INTRINSIC_VOID", "ISD::INTRINSIC_W_CHAIN", "1", "Intrinsic::aarch64_neon_ld2", "Intrinsic::aarch64_neon_ld3", "Intrinsic::aarch64_neon_ld4", "Intrinsic::aarch64_neon_ld1x2", "Intrinsic::aarch64_neon_ld1x3", "Intrinsic::aarch64_neon_ld1x4", "Intrinsic::aarch64_neon_ld2lane", "Intrinsic::aarch64_neon_ld3lane", "Intrinsic::aarch64_neon_ld4lane", "Intrinsic::aarch64_neon_ld2r", "Intrinsic::aarch64_neon_ld3r", "Intrinsic::aarch64_neon_ld4r", "Intrinsic::aarch64_neon_st2", "Intrinsic::aarch64_neon_st3", "Intrinsic::aarch64_neon_st4", "Intrinsic::aarch64_neon_st1x2", "Intrinsic::aarch64_neon_st1x3", "Intrinsic::aarch64_neon_st1x4", "Intrinsic::aarch64_neon_st2lane", "Intrinsic::aarch64_neon_st3lane", "Intrinsic::aarch64_neon_st4lane"], "File": "AArch64ISelLowering137", "Func": "PerformDAGCombine", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 19, "Length": 459, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "HexagonFrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "unsigned", "&", "FrameReg", ")", "const", "{", "auto", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "auto", "&", "HRI", "=", "*", "MF", ".", "getSubtarget", "<", "HexagonSubtarget", ">", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "int", "Offset", "=", "MFI", ".", "getObjectOffset", "(", "FI", ")", ";", "bool", "HasAlloca", "=", "MFI", ".", "hasVarSizedObjects", "(", ")", ";", "bool", "HasExtraAlign", "=", "HRI", ".", "needsStackRealignment", "(", "MF", ")", ";", "bool", "NoOpt", "=", "MF", ".", "getTarget", "(", ")", ".", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "None", ";", "unsigned", "SP", "=", "HRI", ".", "getStackRegister", "(", ")", ",", "FP", "=", "HRI", ".", "getFrameRegister", "(", ")", ";", "auto", "&", "HMFI", "=", "*", "MF", ".", "getInfo", "<", "HexagonMachineFunctionInfo", ">", "(", ")", ";", "unsigned", "AP", "=", "HMFI", ".", "getStackAlignBasePhysReg", "(", ")", ";", "unsigned", "FrameSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "bool", "UseFP", "=", "false", ",", "UseAP", "=", "false", ";", "if", "(", "NoOpt", "&&", "!", "HasExtraAlign", ")", "UseFP", "=", "true", ";", "if", "(", "MFI", ".", "isFixedObjectIndex", "(", "FI", ")", "||", "MFI", ".", "isObjectPreAllocated", "(", "FI", ")", ")", "{", "UseFP", "|=", "(", "HasAlloca", "||", "HasExtraAlign", ")", ";", "}", "else", "{", "if", "(", "HasAlloca", ")", "{", "if", "(", "HasExtraAlign", ")", "UseAP", "=", "true", ";", "else", "UseFP", "=", "true", ";", "}", "}", "bool", "HasFP", "=", "hasFP", "(", "MF", ")", ";", "assert", "(", "(", "HasFP", "||", "!", "UseFP", ")", "&&", "\"This function must have frame pointer\"", ")", ";", "if", "(", "Offset", ">", "0", "&&", "!", "HasFP", ")", "Offset", "-=", "8", ";", "if", "(", "UseFP", ")", "FrameReg", "=", "FP", ";", "else", "if", "(", "UseAP", ")", "FrameReg", "=", "AP", ";", "else", "FrameReg", "=", "SP", ";", "int", "RealOffset", "=", "Offset", ";", "if", "(", "!", "UseFP", "&&", "!", "UseAP", "&&", "HasFP", ")", "RealOffset", "=", "FrameSize", "+", "Offset", ";", "return", "RealOffset", ";", "}", ""], "natrual_language": ["getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "Hexagon", "\"This function must have frame pointer\"", "0", "8"], "File": "HexagonFrameLowering11", "Func": "getFrameIndexReference", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 20, "Length": 290, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseTargetMachine", "::", "addPreEmitPass", "(", "PassManagerBase", "&", "PM", ")", "{", "if", "(", "Subtarget", ".", "isThumb2", "(", ")", "&&", "!", "Subtarget", ".", "prefers32BitThumb", "(", ")", ")", "PM", ".", "add", "(", "createThumb2SizeReductionPass", "(", ")", ")", ";", "PM", ".", "add", "(", "createARMConstantIslandPass", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMTargetMachine89", "Func": "addPreEmitPass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 21, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "GCNSubtarget", "::", "getOccupancyWithNumSGPRs", "(", "unsigned", "SGPRs", ")", "const", "{", "if", "(", "getGeneration", "(", ")", ">=", "AMDGPUSubtarget", "::", "GFX10", ")", "return", "10", ";", "if", "(", "getGeneration", "(", ")", ">=", "AMDGPUSubtarget", "::", "VOLCANIC_ISLANDS", ")", "{", "if", "(", "SGPRs", "<=", "80", ")", "return", "10", ";", "if", "(", "SGPRs", "<=", "88", ")", "return", "9", ";", "if", "(", "SGPRs", "<=", "100", ")", "return", "8", ";", "return", "7", ";", "}", "if", "(", "SGPRs", "<=", "48", ")", "return", "10", ";", "if", "(", "SGPRs", "<=", "56", ")", "return", "9", ";", "if", "(", "SGPRs", "<=", "64", ")", "return", "8", ";", "if", "(", "SGPRs", "<=", "72", ")", "return", "7", ";", "if", "(", "SGPRs", "<=", "80", ")", "return", "6", ";", "return", "5", ";", "}", ""], "natrual_language": ["Return", "the", "maximum", "number", "of", "waves", "per", "SIMD", "for", "kernels", "using", "SGPRs", "SGPRs", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "10", "AMDGPU", "80", "10", "88", "9", "100", "8", "7", "48", "10", "56", "9", "64", "8", "72", "7", "80", "6", "5"], "File": "AMDGPUSubtarget23", "Func": "getOccupancyWithNumSGPRs", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 22, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "legitimate_constant_pool_address_p", "(", "rtx", "x", ")", "{", "return", "(", "TARGET_TOC", "&&", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "REG", "&&", "(", "TARGET_MINIMAL_TOC", "||", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "TOC_REGISTER", ")", "&&", "constant_pool_expr_p", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "constant", "pool", "address", ",", "and", "also", "for", "cmodel=medium", "if", "X", "is", "a", "toc-relative", "address", "known", "to", "be", "offsettable", "within", "MODE", "."], "TS_V_token": ["rs6000", "0", "0", "1"], "File": "rs60003", "Func": "legitimate_constant_pool_address_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 23, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_int_cmp_code_to_pcmp_immediate", "(", "enum", "rtx_code", "code", ")", "{", "switch", "(", "code", ")", "{", "case", "EQ", ":", "return", "0", ";", "case", "LT", ":", "case", "LTU", ":", "return", "1", ";", "case", "LE", ":", "case", "LEU", ":", "return", "2", ";", "case", "NE", ":", "return", "4", ";", "case", "GE", ":", "case", "GEU", ":", "return", "5", ";", "case", "GT", ":", "case", "GTU", ":", "return", "6", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Helper", "for", "ix86_cmp_code_to_pcmp_immediate", "for", "int", "modes", "."], "TS_V_token": ["i386", "0", "1", "2", "4", "5", "6"], "File": "i386-expand", "Func": "ix86_int_cmp_code_to_pcmp_immediate", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 24, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCQPXLoadSplat", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "*", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "bool", "MadeChange", "=", "false", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "for", "(", "auto", "MFI", "=", "MF", ".", "begin", "(", ")", ",", "MFIE", "=", "MF", ".", "end", "(", ")", ";", "MFI", "!=", "MFIE", ";", "++", "MFI", ")", "{", "MachineBasicBlock", "*", "MBB", "=", "&", "*", "MFI", ";", "SmallVector", "<", "MachineInstr", "*", ",", "4", ">", "Splats", ";", "for", "(", "auto", "MBBI", "=", "MBB", "->", "rbegin", "(", ")", ";", "MBBI", "!=", "MBB", "->", "rend", "(", ")", ";", "++", "MBBI", ")", "{", "MachineInstr", "*", "MI", "=", "&", "*", "MBBI", ";", "if", "(", "MI", "->", "hasUnmodeledSideEffects", "(", ")", "||", "MI", "->", "isCall", "(", ")", ")", "{", "Splats", ".", "clear", "(", ")", ";", "continue", ";", "}", "for", "(", "auto", "SI", "=", "Splats", ".", "begin", "(", ")", ";", "SI", "!=", "Splats", ".", "end", "(", ")", ";", ")", "{", "MachineInstr", "*", "SMI", "=", "*", "SI", ";", "unsigned", "SplatReg", "=", "SMI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "unsigned", "SrcReg", "=", "SMI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "if", "(", "MI", "->", "modifiesRegister", "(", "SrcReg", ",", "TRI", ")", ")", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "SI", "=", "Splats", ".", "erase", "(", "SI", ")", ";", "continue", ";", "case", "PPC", "::", "LFS", ":", "case", "PPC", "::", "LFD", ":", "case", "PPC", "::", "LFSU", ":", "case", "PPC", "::", "LFDU", ":", "case", "PPC", "::", "LFSUX", ":", "case", "PPC", "::", "LFDUX", ":", "case", "PPC", "::", "LFSX", ":", "case", "PPC", "::", "LFDX", ":", "case", "PPC", "::", "LFIWAX", ":", "case", "PPC", "::", "LFIWZX", ":", "if", "(", "SplatReg", "!=", "SrcReg", ")", "{", "unsigned", "SubRegIndex", "=", "TRI", "->", "getSubRegIndex", "(", "SrcReg", ",", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ";", "unsigned", "SplatSubReg", "=", "TRI", "->", "getSubReg", "(", "SplatReg", ",", "SubRegIndex", ")", ";", "MI", "->", "getOperand", "(", "0", ")", ".", "setReg", "(", "SplatSubReg", ")", ";", "MI", "->", "substituteRegister", "(", "SrcReg", ",", "SplatReg", ",", "0", ",", "*", "TRI", ")", ";", "}", "SI", "=", "Splats", ".", "erase", "(", "SI", ")", ";", "++", "MBBI", ";", "SMI", "->", "eraseFromParent", "(", ")", ";", "--", "MBBI", ";", "++", "NumSimplified", ";", "MadeChange", "=", "true", ";", "continue", ";", "}", "}", "if", "(", "MI", "->", "modifiesRegister", "(", "SplatReg", ",", "TRI", ")", "||", "(", "SrcReg", "!=", "SplatReg", "&&", "MI", "->", "readsRegister", "(", "SplatReg", ",", "TRI", ")", ")", ")", "{", "SI", "=", "Splats", ".", "erase", "(", "SI", ")", ";", "continue", ";", "}", "++", "SI", ";", "}", "if", "(", "MI", "->", "getOpcode", "(", ")", "!=", "PPC", "::", "QVESPLATI", "&&", "MI", "->", "getOpcode", "(", ")", "!=", "PPC", "::", "QVESPLATIs", "&&", "MI", "->", "getOpcode", "(", ")", "!=", "PPC", "::", "QVESPLATIb", ")", "continue", ";", "if", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "!=", "0", ")", "continue", ";", "if", "(", "!", "MI", "->", "getOperand", "(", "1", ")", ".", "isKill", "(", ")", ")", "continue", ";", "Splats", ".", "push_back", "(", "MI", ")", ";", "}", "}", "return", "MadeChange", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["PowerPC", "PPC", "4", "0", "1", "PPC::LFS", "PPC::LFD", "PPC::LFSU", "PPC::LFDU", "PPC::LFSUX", "PPC::LFDUX", "PPC::LFSX", "PPC::LFDX", "PPC::LFIWAX", "PPC::LFIWZX", "0", "0", "0", "PPC::QVESPLATI", "PPC::QVESPLATIs", "PPC::QVESPLATIb", "2", "0", "1"], "File": "PPCQPXLoadSplat2", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 25, "Length": 506, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emit_ap_optimizations", "(", ")", "{", "}", ""], "natrual_language": ["Here", "after", "reloading", ",", "before", "the", "second", "scheduling", "pass", "."], "TS_V_token": ["convex"], "File": "convex", "Func": "emit_ap_optimizations", "Target": "convex", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 26, "Length": 6, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SMLoc", "getStartLoc", "(", ")", "const", "override", "{", "return", "StartLoc", ";", "}", ""], "natrual_language": ["getStartLoc", "-", "Get", "the", "location", "of", "the", "first", "token", "of", "this", "operand", "."], "TS_V_token": ["M88k"], "File": "M88kAsmParser", "Func": "getStartLoc", "Target": "M88k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 27, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "DCPU16TargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "NULL", ";", "case", "DCPU16ISD", "::", "RET_FLAG", ":", "return", "\"DCPU16ISD::RET_FLAG\"", ";", "case", "DCPU16ISD", "::", "RETI_FLAG", ":", "return", "\"DCPU16ISD::RETI_FLAG\"", ";", "case", "DCPU16ISD", "::", "CALL", ":", "return", "\"DCPU16ISD::CALL\"", ";", "case", "DCPU16ISD", "::", "Wrapper", ":", "return", "\"DCPU16ISD::Wrapper\"", ";", "case", "DCPU16ISD", "::", "BR_CC", ":", "return", "\"DCPU16ISD::BR_CC\"", ";", "case", "DCPU16ISD", "::", "SELECT_CC", ":", "return", "\"DCPU16ISD::SELECT_CC\"", ";", "case", "DCPU16ISD", "::", "SMUL", ":", "return", "\"DCPU16ISD::SMUL\"", ";", "case", "DCPU16ISD", "::", "UMUL", ":", "return", "\"DCPU16ISD::UMUL\"", ";", "}", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["Dcpu16", "DCPU16", "DCPU16ISD::RET_FLAG", "\"DCPU16ISD::RET_FLAG\"", "DCPU16ISD::RETI_FLAG", "\"DCPU16ISD::RETI_FLAG\"", "DCPU16ISD::CALL", "\"DCPU16ISD::CALL\"", "DCPU16ISD::Wrapper", "\"DCPU16ISD::Wrapper\"", "DCPU16ISD::BR_CC", "\"DCPU16ISD::BR_CC\"", "DCPU16ISD::SELECT_CC", "\"DCPU16ISD::SELECT_CC\"", "DCPU16ISD::SMUL", "\"DCPU16ISD::SMUL\"", "DCPU16ISD::UMUL", "\"DCPU16ISD::UMUL\""], "File": "Dcpu16ISelLowering", "Func": "getTargetNodeName", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 28, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIInsertWaits", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "bool", "Changes", "=", "false", ";", "TII", "=", "static_cast", "<", "const", "SIInstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "static_cast", "<", "const", "SIRegisterInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "WaitedOn", "=", "ZeroCounts", ";", "LastIssued", "=", "ZeroCounts", ";", "LastOpcodeType", "=", "OTHER", ";", "LastInstWritesM0", "=", "false", ";", "memset", "(", "&", "UsedRegs", ",", "0", ",", "sizeof", "(", "UsedRegs", ")", ")", ";", "memset", "(", "&", "DefinedRegs", ",", "0", ",", "sizeof", "(", "DefinedRegs", ")", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "BI", "=", "MF", ".", "begin", "(", ")", ",", "BE", "=", "MF", ".", "end", "(", ")", ";", "BI", "!=", "BE", ";", "++", "BI", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "BI", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "begin", "(", ")", ",", "E", "=", "MBB", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "AMDGPU", "::", "S_BARRIER", ")", "Changes", "|=", "insertWait", "(", "MBB", ",", "I", ",", "LastIssued", ")", ";", "else", "Changes", "|=", "insertWait", "(", "MBB", ",", "I", ",", "handleOperands", "(", "*", "I", ")", ")", ";", "pushInstruction", "(", "MBB", ",", "I", ")", ";", "handleSendMsg", "(", "MBB", ",", "I", ")", ";", "}", "Changes", "|=", "insertWait", "(", "MBB", ",", "MBB", ".", "getFirstTerminator", "(", ")", ",", "LastIssued", ")", ";", "}", "return", "Changes", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["R600", "SI", "SI", "SI", "0", "0"], "File": "SIInsertWaits34", "Func": "runOnMachineFunction", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 29, "Length": 245, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "R600InstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "DebugLoc", "&", "DL", ",", "MCRegister", "DestReg", ",", "MCRegister", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "unsigned", "VectorComponents", "=", "0", ";", "if", "(", "(", "R600", "::", "R600_Reg128RegClass", ".", "contains", "(", "DestReg", ")", "||", "R600", "::", "R600_Reg128VerticalRegClass", ".", "contains", "(", "DestReg", ")", ")", "&&", "(", "R600", "::", "R600_Reg128RegClass", ".", "contains", "(", "SrcReg", ")", "||", "R600", "::", "R600_Reg128VerticalRegClass", ".", "contains", "(", "SrcReg", ")", ")", ")", "{", "VectorComponents", "=", "4", ";", "}", "else", "if", "(", "(", "R600", "::", "R600_Reg64RegClass", ".", "contains", "(", "DestReg", ")", "||", "R600", "::", "R600_Reg64VerticalRegClass", ".", "contains", "(", "DestReg", ")", ")", "&&", "(", "R600", "::", "R600_Reg64RegClass", ".", "contains", "(", "SrcReg", ")", "||", "R600", "::", "R600_Reg64VerticalRegClass", ".", "contains", "(", "SrcReg", ")", ")", ")", "{", "VectorComponents", "=", "2", ";", "}", "if", "(", "VectorComponents", ">", "0", ")", "{", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "VectorComponents", ";", "I", "++", ")", "{", "unsigned", "SubRegIndex", "=", "R600RegisterInfo", "::", "getSubRegFromChannel", "(", "I", ")", ";", "buildDefaultInstruction", "(", "MBB", ",", "MI", ",", "R600", "::", "MOV", ",", "RI", ".", "getSubReg", "(", "DestReg", ",", "SubRegIndex", ")", ",", "RI", ".", "getSubReg", "(", "SrcReg", ",", "SubRegIndex", ")", ")", ".", "addReg", "(", "DestReg", ",", "RegState", "::", "Define", "|", "RegState", "::", "Implicit", ")", ";", "}", "}", "else", "{", "MachineInstr", "*", "NewMI", "=", "buildDefaultInstruction", "(", "MBB", ",", "MI", ",", "R600", "::", "MOV", ",", "DestReg", ",", "SrcReg", ")", ";", "NewMI", "->", "getOperand", "(", "getOperandIdx", "(", "*", "NewMI", ",", "R600", "::", "OpName", "::", "src0", ")", ")", ".", "setIsKill", "(", "KillSrc", ")", ";", "}", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["AMDGPU", "R600", "0", "R600::R600_Reg128RegClass", "R600::R600_Reg128VerticalRegClass", "R600::R600_Reg128RegClass", "R600::R600_Reg128VerticalRegClass", "4", "R600::R600_Reg64RegClass", "R600::R600_Reg64VerticalRegClass", "R600::R600_Reg64RegClass", "R600::R600_Reg64VerticalRegClass", "2", "0", "0", "R600", "R600::MOV", "R600::MOV", "R600::OpName"], "File": "R600InstrInfo14", "Func": "copyPhysReg", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 30, "Length": 253, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_coproc_mem_operand_no_writeback", "(", "rtx", "op", ")", "{", "return", "arm_coproc_mem_operand_wb", "(", "op", ",", "0", ")", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "OP", "is", "a", "valid", "coprocessor", "memory", "address", "pattern", "in", "a", "context", "in", "which", "no", "writeback", "address", "modes", "are", "allowed", "."], "TS_V_token": ["arm", "0"], "File": "arm", "Func": "arm_coproc_mem_operand_no_writeback", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 31, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "GBZ80InstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["GBZ80", "GB"], "File": "GBZ80TargetMachine (2)", "Func": "getInstrInfo", "Target": "GBZ80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 32, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsFastISel", "::", "fastLowerCall", "(", "CallLoweringInfo", "&", "CLI", ")", "{", "CallingConv", "::", "ID", "CC", "=", "CLI", ".", "CallConv", ";", "bool", "IsTailCall", "=", "CLI", ".", "IsTailCall", ";", "bool", "IsVarArg", "=", "CLI", ".", "IsVarArg", ";", "const", "Value", "*", "Callee", "=", "CLI", ".", "Callee", ";", "const", "char", "*", "SymName", "=", "CLI", ".", "SymName", ";", "if", "(", "IsTailCall", ")", "return", "false", ";", "if", "(", "IsVarArg", ")", "return", "false", ";", "MVT", "RetVT", ";", "if", "(", "CLI", ".", "RetTy", "->", "isVoidTy", "(", ")", ")", "RetVT", "=", "MVT", "::", "isVoid", ";", "else", "if", "(", "!", "isTypeSupported", "(", "CLI", ".", "RetTy", ",", "RetVT", ")", ")", "return", "false", ";", "for", "(", "auto", "Flag", ":", "CLI", ".", "OutFlags", ")", "if", "(", "Flag", ".", "isInReg", "(", ")", "||", "Flag", ".", "isSRet", "(", ")", "||", "Flag", ".", "isNest", "(", ")", "||", "Flag", ".", "isByVal", "(", ")", ")", "return", "false", ";", "SmallVector", "<", "MVT", ",", "16", ">", "OutVTs", ";", "OutVTs", ".", "reserve", "(", "CLI", ".", "OutVals", ".", "size", "(", ")", ")", ";", "for", "(", "auto", "*", "Val", ":", "CLI", ".", "OutVals", ")", "{", "MVT", "VT", ";", "if", "(", "!", "isTypeLegal", "(", "Val", "->", "getType", "(", ")", ",", "VT", ")", "&&", "!", "(", "VT", "==", "MVT", "::", "i1", "||", "VT", "==", "MVT", "::", "i8", "||", "VT", "==", "MVT", "::", "i16", ")", ")", "return", "false", ";", "if", "(", "VT", ".", "isVector", "(", ")", "||", "VT", ".", "getSizeInBits", "(", ")", ">", "64", ")", "return", "false", ";", "OutVTs", ".", "push_back", "(", "VT", ")", ";", "}", "Address", "Addr", ";", "if", "(", "!", "computeCallAddress", "(", "Callee", ",", "Addr", ")", ")", "return", "false", ";", "unsigned", "NumBytes", ";", "if", "(", "!", "processCallArgs", "(", "CLI", ",", "OutVTs", ",", "NumBytes", ")", ")", "return", "false", ";", "if", "(", "!", "Addr", ".", "getGlobalValue", "(", ")", ")", "return", "false", ";", "unsigned", "DestAddress", ";", "if", "(", "SymName", ")", "DestAddress", "=", "materializeExternalCallSym", "(", "SymName", ")", ";", "else", "DestAddress", "=", "materializeGV", "(", "Addr", ".", "getGlobalValue", "(", ")", ",", "MVT", "::", "i32", ")", ";", "emitInst", "(", "TargetOpcode", "::", "COPY", ",", "Mips", "::", "T9", ")", ".", "addReg", "(", "DestAddress", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "TII", ".", "get", "(", "Mips", "::", "JALR", ")", ",", "Mips", "::", "RA", ")", ".", "addReg", "(", "Mips", "::", "T9", ")", ";", "for", "(", "auto", "Reg", ":", "CLI", ".", "OutRegs", ")", "MIB", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Implicit", ")", ";", "MIB", ".", "addRegMask", "(", "TRI", ".", "getCallPreservedMask", "(", "*", "FuncInfo", ".", "MF", ",", "CC", ")", ")", ";", "CLI", ".", "Call", "=", "MIB", ";", "return", "finishCall", "(", "CLI", ",", "RetVT", ",", "NumBytes", ")", ";", "}", ""], "natrual_language": ["This", "method", "is", "called", "by", "target-independent", "code", "to", "do", "target-", "specific", "call", "lowering", "."], "TS_V_token": ["Mips", "Mips", "MVT::isVoid", "16", "MVT::i1", "MVT::i8", "MVT::i16", "64", "MVT::i32", "Mips::T9", "Mips::JALR", "Mips::RA", "Mips::T9"], "File": "MipsFastISel38", "Func": "fastLowerCall", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 33, "Length": 421, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MipsTargetLowering", "::", "ConstraintType", "MipsTargetLowering", "::", "getConstraintType", "(", "StringRef", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'d'", ":", "case", "'y'", ":", "case", "'f'", ":", "case", "'c'", ":", "case", "'l'", ":", "case", "'x'", ":", "case", "'C'", ":", "return", "C_RegisterClass", ";", "case", "'R'", ":", "return", "C_Memory", ";", "}", "}", "if", "(", "Constraint", "==", "\"ZC\"", ")", "return", "C_Memory", ";", "return", "TargetLowering", "::", "getConstraintType", "(", "Constraint", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constraint", "letter", ",", "return", "the", "type", "of", "constraint", "for", "this", "target", "."], "TS_V_token": ["Mips", "Mips", "Mips", "1", "0", "\"ZC\""], "File": "MipsISelLowering66", "Func": "getConstraintType", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 34, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64SelectionDAGInfo", "::", "EmitTargetCodeForMemset", "(", "SelectionDAG", "&", "DAG", ",", "const", "SDLoc", "&", "dl", ",", "SDValue", "Chain", ",", "SDValue", "Dst", ",", "SDValue", "Src", ",", "SDValue", "Size", ",", "Align", "Alignment", ",", "bool", "isVolatile", ",", "MachinePointerInfo", "DstPtrInfo", ")", "const", "{", "const", "AArch64Subtarget", "&", "STI", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ";", "if", "(", "STI", ".", "hasMOPS", "(", ")", ")", "{", "return", "EmitMOPS", "(", "AArch64ISD", "::", "MOPS_MEMSET", ",", "DAG", ",", "dl", ",", "Chain", ",", "Dst", ",", "Src", ",", "Size", ",", "Alignment", ",", "isVolatile", ",", "DstPtrInfo", ",", "MachinePointerInfo", "{", "}", ")", ";", "}", "ConstantSDNode", "*", "V", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Src", ")", ";", "ConstantSDNode", "*", "SizeValue", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Size", ")", ";", "const", "char", "*", "bzeroName", "=", "(", "V", "&&", "V", "->", "isZero", "(", ")", ")", "?", "DAG", ".", "getTargetLoweringInfo", "(", ")", ".", "getLibcallName", "(", "RTLIB", "::", "BZERO", ")", ":", "nullptr", ";", "if", "(", "bzeroName", "&&", "(", "!", "SizeValue", "||", "SizeValue", "->", "getZExtValue", "(", ")", ">", "256", ")", ")", "{", "const", "AArch64TargetLowering", "&", "TLI", "=", "*", "STI", ".", "getTargetLowering", "(", ")", ";", "EVT", "IntPtr", "=", "TLI", ".", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ";", "Type", "*", "IntPtrTy", "=", "Type", "::", "getInt8PtrTy", "(", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "TargetLowering", "::", "ArgListTy", "Args", ";", "TargetLowering", "::", "ArgListEntry", "Entry", ";", "Entry", ".", "Node", "=", "Dst", ";", "Entry", ".", "Ty", "=", "IntPtrTy", ";", "Args", ".", "push_back", "(", "Entry", ")", ";", "Entry", ".", "Node", "=", "Size", ";", "Args", ".", "push_back", "(", "Entry", ")", ";", "TargetLowering", "::", "CallLoweringInfo", "CLI", "(", "DAG", ")", ";", "CLI", ".", "setDebugLoc", "(", "dl", ")", ".", "setChain", "(", "Chain", ")", ".", "setLibCallee", "(", "CallingConv", "::", "C", ",", "Type", "::", "getVoidTy", "(", "*", "DAG", ".", "getContext", "(", ")", ")", ",", "DAG", ".", "getExternalSymbol", "(", "bzeroName", ",", "IntPtr", ")", ",", "std", "::", "move", "(", "Args", ")", ")", ".", "setDiscardResult", "(", ")", ";", "std", "::", "pair", "<", "SDValue", ",", "SDValue", ">", "CallResult", "=", "TLI", ".", "LowerCallTo", "(", "CLI", ")", ";", "return", "CallResult", ".", "second", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memset", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "AArch64ISD::MOPS_MEMSET", "256", "AArch64"], "File": "AArch64SelectionDAGInfo25", "Func": "EmitTargetCodeForMemset", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 35, "Length": 339, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_function_arg_advance", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "struct", "mips_arg_info", "info", ";", "mips_get_arg_info", "(", "&", "info", ",", "cum", ",", "arg", ".", "mode", ",", "arg", ".", "type", ",", "arg", ".", "named", ")", ";", "if", "(", "!", "info", ".", "fpr_p", ")", "cum", "->", "gp_reg_found", "=", "true", ";", "if", "(", "cum", "->", "arg_number", "<", "2", "&&", "info", ".", "fpr_p", ")", "cum", "->", "fp_code", "+=", "(", "arg", ".", "mode", "==", "SFmode", "?", "1", ":", "2", ")", "<<", "(", "cum", "->", "arg_number", "*", "2", ")", ";", "if", "(", "mips_abi", "!=", "ABI_EABI", "||", "!", "info", ".", "fpr_p", ")", "cum", "->", "num_gprs", "=", "info", ".", "reg_offset", "+", "info", ".", "reg_words", ";", "else", "if", "(", "info", ".", "reg_words", ">", "0", ")", "cum", "->", "num_fprs", "+=", "MAX_FPRS_PER_FMT", ";", "if", "(", "info", ".", "stack_words", ">", "0", ")", "cum", "->", "stack_words", "=", "info", ".", "stack_offset", "+", "info", ".", "stack_words", ";", "cum", "->", "arg_number", "++", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_ARG_ADVANCE", "."], "TS_V_token": ["mips", "2", "1", "2", "2", "0", "0"], "File": "mips", "Func": "mips_function_arg_advance", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 36, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", "Opcode", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "uint64_t", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "MCInst", "Inst", ";", "switch", "(", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ")", "{", "case", "Match_Success", ":", "ProcessInstruction", "(", "Inst", ",", "Operands", ")", ";", "Inst", ".", "setLoc", "(", "IDLoc", ")", ";", "Out", ".", "EmitInstruction", "(", "Inst", ",", "getSTI", "(", ")", ")", ";", "return", "false", ";", "case", "Match_MissingFeature", ":", "return", "Error", "(", "IDLoc", ",", "\"instruction use requires an option to be enabled\"", ")", ";", "case", "Match_MnemonicFail", ":", "{", "FeatureBitset", "FBS", "=", "ComputeAvailableFeatures", "(", "getSTI", "(", ")", ".", "getFeatureBits", "(", ")", ")", ";", "std", "::", "string", "Suggestion", "=", "PPCMnemonicSpellCheck", "(", "(", "(", "PPCOperand", "&", ")", "*", "Operands", "[", "0", "]", ")", ".", "getToken", "(", ")", ",", "FBS", ")", ";", "return", "Error", "(", "IDLoc", ",", "\"invalid instruction\"", "+", "Suggestion", ",", "(", "(", "PPCOperand", "&", ")", "*", "Operands", "[", "0", "]", ")", ".", "getLocRange", "(", ")", ")", ";", "}", "case", "Match_InvalidOperand", ":", "{", "SMLoc", "ErrorLoc", "=", "IDLoc", ";", "if", "(", "ErrorInfo", "!=", "~", "0ULL", ")", "{", "if", "(", "ErrorInfo", ">=", "Operands", ".", "size", "(", ")", ")", "return", "Error", "(", "IDLoc", ",", "\"too few operands for instruction\"", ")", ";", "ErrorLoc", "=", "(", "(", "PPCOperand", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ")", ".", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IDLoc", ";", "}", "return", "Error", "(", "ErrorLoc", ",", "\"invalid operand for instruction\"", ")", ";", "}", "}", "llvm_unreachable", "(", "\"Implement any new match types added!\"", ")", ";", "}", ""], "natrual_language": ["MatchAndEmitInstruction", "-", "Recognize", "a", "series", "of", "operands", "of", "a", "parsed", "instruction", "as", "an", "actual", "MCInst", "and", "emit", "it", "to", "the", "specified", "MCStreamer", "."], "TS_V_token": ["PowerPC", "PPC", "\"instruction use requires an option to be enabled\"", "PPC", "PPC", "0", "\"invalid instruction\"", "PPC", "0", "0ULL", "\"too few operands for instruction\"", "PPC", "\"invalid operand for instruction\"", "\"Implement any new match types added!\""], "File": "PPCAsmParser (2)3", "Func": "MatchAndEmitInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 37, "Length": 240, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SIInstrInfo", "::", "getInstSizeInBytes", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "const", "MCInstrDesc", "&", "Desc", "=", "getMCOpcodeFromPseudo", "(", "Opc", ")", ";", "unsigned", "DescSize", "=", "Desc", ".", "getSize", "(", ")", ";", "if", "(", "isFixedSize", "(", "MI", ")", ")", "return", "DescSize", ";", "if", "(", "isVALU", "(", "MI", ")", "||", "isSALU", "(", "MI", ")", ")", "{", "int", "Src0Idx", "=", "AMDGPU", "::", "getNamedOperandIdx", "(", "Opc", ",", "AMDGPU", "::", "OpName", "::", "src0", ")", ";", "if", "(", "Src0Idx", "==", "-", "1", ")", "return", "DescSize", ";", "if", "(", "isLiteralConstantLike", "(", "MI", ".", "getOperand", "(", "Src0Idx", ")", ",", "Desc", ".", "OpInfo", "[", "Src0Idx", "]", ")", ")", "return", "DescSize", "+", "4", ";", "int", "Src1Idx", "=", "AMDGPU", "::", "getNamedOperandIdx", "(", "Opc", ",", "AMDGPU", "::", "OpName", "::", "src1", ")", ";", "if", "(", "Src1Idx", "==", "-", "1", ")", "return", "DescSize", ";", "if", "(", "isLiteralConstantLike", "(", "MI", ".", "getOperand", "(", "Src1Idx", ")", ",", "Desc", ".", "OpInfo", "[", "Src1Idx", "]", ")", ")", "return", "DescSize", "+", "4", ";", "int", "Src2Idx", "=", "AMDGPU", "::", "getNamedOperandIdx", "(", "Opc", ",", "AMDGPU", "::", "OpName", "::", "src2", ")", ";", "if", "(", "Src2Idx", "==", "-", "1", ")", "return", "DescSize", ";", "if", "(", "isLiteralConstantLike", "(", "MI", ".", "getOperand", "(", "Src2Idx", ")", ",", "Desc", ".", "OpInfo", "[", "Src2Idx", "]", ")", ")", "return", "DescSize", "+", "4", ";", "return", "DescSize", ";", "}", "switch", "(", "Opc", ")", "{", "case", "TargetOpcode", "::", "IMPLICIT_DEF", ":", "case", "TargetOpcode", "::", "KILL", ":", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "case", "TargetOpcode", "::", "EH_LABEL", ":", "return", "0", ";", "case", "TargetOpcode", "::", "BUNDLE", ":", "return", "getInstBundleSize", "(", "MI", ")", ";", "case", "TargetOpcode", "::", "INLINEASM", ":", "case", "TargetOpcode", "::", "INLINEASM_BR", ":", "{", "const", "MachineFunction", "*", "MF", "=", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "char", "*", "AsmStr", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getSymbolName", "(", ")", ";", "return", "getInlineAsmLength", "(", "AsmStr", ",", "*", "MF", "->", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", ")", ";", "}", "default", ":", "return", "DescSize", ";", "}", "}", ""], "natrual_language": ["Returns", "the", "size", "in", "bytes", "of", "the", "specified", "MachineInstr", ",", "or", "~0U", "when", "this", "function", "is", "not", "implemented", "by", "a", "target", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU::getNamedOperandIdx", "AMDGPU::OpName", "1", "4", "AMDGPU::getNamedOperandIdx", "AMDGPU::OpName", "1", "4", "AMDGPU::getNamedOperandIdx", "AMDGPU::OpName", "1", "4", "0", "0"], "File": "SIInstrInfo123", "Func": "getInstSizeInBytes", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 38, "Length": 323, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TVMStackModel", "::", "processInstruction", "(", "MachineInstr", "&", "MI", ",", "Stack", "&", "TheStack", ")", "{", "SlotIndex", "Index", "=", "LIS", "->", "getInstructionIndex", "(", "MI", ")", ".", "getRegSlot", "(", ")", ";", "MachineInstr", "*", "NewMI", "=", "optimizeReversible", "(", "MI", ",", "TheStack", ")", ";", "MachineInstr", "&", "CurrentMI", "=", "NewMI", "?", "*", "NewMI", ":", "MI", ";", "auto", "*", "MBB", "=", "CurrentMI", ".", "getParent", "(", ")", ";", "StackFixup", "::", "InstructionGenerator", "InsertMIs", "(", "TII", ",", "MFI", ",", "MBB", ",", "CurrentMI", ")", ";", "std", "::", "string", "PreTermStackStr", ";", "StackFixup", "Fix", "=", "prepareStackFor", "(", "CurrentMI", ",", "TheStack", ",", "Index", ",", "&", "PreTermStackStr", ")", ";", "InsertMIs", "(", "Fix", ")", ";", "Fix", ".", "apply", "(", "TheStack", ")", ";", "modelInstructionExecution", "(", "CurrentMI", ",", "TheStack", ")", ";", "rewriteToSForm", "(", "CurrentMI", ",", "PreTermStackStr", ",", "TheStack", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Process", "a", "single", "instruction", "and", "collect", "debug", "info", "anchors", "."], "TS_V_token": ["TVM", "TVM"], "File": "TVMStackModel", "Func": "processInstruction", "Target": "TVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 39, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ia64_move_ok", "(", "rtx", "dst", ",", "rtx", "src", ")", "{", "if", "(", "GET_CODE", "(", "dst", ")", "!=", "MEM", ")", "return", "1", ";", "if", "(", "GET_CODE", "(", "src", ")", "==", "MEM", ")", "return", "0", ";", "if", "(", "register_operand", "(", "src", ",", "VOIDmode", ")", ")", "return", "1", ";", "if", "(", "INTEGRAL_MODE_P", "(", "GET_MODE", "(", "dst", ")", ")", ")", "return", "src", "==", "const0_rtx", ";", "else", "return", "satisfies_constraint_G", "(", "src", ")", ";", "}", ""], "natrual_language": ["Return", "1", "if", "the", "operands", "of", "a", "move", "are", "ok", "."], "TS_V_token": ["ia64", "1", "0", "1"], "File": "ia64", "Func": "ia64_move_ok", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "AArch64TargetLowering", "::", "getRegisterByName", "(", "const", "char", "*", "RegName", ",", "EVT", "VT", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "Register", "Reg", "=", "MatchRegisterName", "(", "RegName", ")", ";", "if", "(", "AArch64", "::", "X1", "<=", "Reg", "&&", "Reg", "<=", "AArch64", "::", "X28", ")", "{", "const", "MCRegisterInfo", "*", "MRI", "=", "Subtarget", "->", "getRegisterInfo", "(", ")", ";", "unsigned", "DwarfRegNum", "=", "MRI", "->", "getDwarfRegNum", "(", "Reg", ",", "false", ")", ";", "if", "(", "!", "Subtarget", "->", "isXRegisterReserved", "(", "DwarfRegNum", ")", ")", "Reg", "=", "0", ";", "}", "if", "(", "Reg", ")", "return", "Reg", ";", "report_fatal_error", "(", "Twine", "(", "\"Invalid register name \\\"\"", "+", "StringRef", "(", "RegName", ")", "+", "\"\\\".\"", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "register", "ID", "of", "the", "name", "passed", "in", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::X1", "AArch64::X28", "0", "\"Invalid register name \\\"\"", "\"\\\".\""], "File": "AArch64ISelLowering (2)3", "Func": "getRegisterByName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 41, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "void", "function_expander", "::", "add_output_operand", "(", "machine_mode", "mode", ",", "rtx", "target", ")", "{", "create_output_operand", "(", "&", "m_ops", "[", "opno", "++", "]", ",", "target", ",", "mode", ")", ";", "}", ""], "natrual_language": ["Create", "output", "and", "add", "it", "into", "M_OPS", "and", "increase", "OPNO", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins", "Func": "add_output_operand", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 42, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips_force_binary", "(", "machine_mode", "mode", ",", "enum", "rtx_code", "code", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "rtx", "reg", ";", "reg", "=", "gen_reg_rtx", "(", "mode", ")", ";", "mips_emit_binary", "(", "code", ",", "reg", ",", "op0", ",", "op1", ")", ";", "return", "reg", ";", "}", ""], "natrual_language": ["Compute", "(", "CODE", "OP0", "OP1", ")", "and", "store", "the", "result", "in", "a", "new", "register", "of", "mode", "MODE", ".", "Return", "that", "new", "register", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_force_binary", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 43, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "X86TargetLowering", "::", "getIRStackGuard", "(", "IRBuilder", "<", ">", "&", "IRB", ")", "const", "{", "if", "(", "hasStackGuardSlotTLS", "(", "Subtarget", ".", "getTargetTriple", "(", ")", ")", ")", "{", "if", "(", "Subtarget", ".", "isTargetFuchsia", "(", ")", ")", "{", "return", "SegmentOffset", "(", "IRB", ",", "0x10", ",", "getAddressSpace", "(", ")", ")", ";", "}", "else", "{", "unsigned", "AddressSpace", "=", "getAddressSpace", "(", ")", ";", "Module", "*", "M", "=", "IRB", ".", "GetInsertBlock", "(", ")", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "int", "Offset", "=", "M", "->", "getStackProtectorGuardOffset", "(", ")", ";", "if", "(", "Offset", "==", "INT_MAX", ")", "Offset", "=", "(", "Subtarget", ".", "is64Bit", "(", ")", ")", "?", "0x28", ":", "0x14", ";", "StringRef", "GuardReg", "=", "M", "->", "getStackProtectorGuardReg", "(", ")", ";", "if", "(", "GuardReg", "==", "\"fs\"", ")", "AddressSpace", "=", "X86AS", "::", "FS", ";", "else", "if", "(", "GuardReg", "==", "\"gs\"", ")", "AddressSpace", "=", "X86AS", "::", "GS", ";", "return", "SegmentOffset", "(", "IRB", ",", "Offset", ",", "AddressSpace", ")", ";", "}", "}", "return", "TargetLowering", "::", "getIRStackGuard", "(", "IRB", ")", ";", "}", ""], "natrual_language": ["If", "the", "target", "has", "a", "standard", "location", "for", "the", "stack", "protector", "cookie", ",", "returns", "the", "address", "of", "that", "location", "."], "TS_V_token": ["X86", "X86", "0x10", "0x28", "0x14", "\"fs\"", "X86AS::FS", "\"gs\"", "X86AS::GS"], "File": "X86ISelLowering106", "Func": "getIRStackGuard", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 44, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MMIXFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "assert", "(", "&", "MF", ".", "front", "(", ")", "==", "&", "MBB", "&&", "\"Shrink-wrapping not yet supported\"", ")", ";", "if", "(", "!", "hasFP", "(", "MF", ")", ")", "{", "report_fatal_error", "(", "\"emitPrologue doesn't support framepointer-less functions\"", ")", ";", "}", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "unsigned", "FPReg", "=", "getFPReg", "(", "STI", ")", ";", "unsigned", "SPReg", "=", "getSPReg", "(", "STI", ")", ";", "DebugLoc", "DL", ";", "determineFrameLayout", "(", "MF", ")", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "StackSize", "==", "0", "&&", "!", "MFI", ".", "adjustsStack", "(", ")", ")", "return", ";", "adjustReg", "(", "MBB", ",", "MBBI", ",", "DL", ",", "SPReg", ",", "SPReg", ",", "-", "StackSize", ",", "MachineInstr", "::", "FrameSetup", ")", ";", "size_t", "CalleeSavedSize", "=", "getCalleeSavedSize", "(", "MFI", ".", "getCalleeSavedInfo", "(", ")", ",", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "std", "::", "advance", "(", "MBBI", ",", "CalleeSavedSize", ")", ";", "adjustReg", "(", "MBB", ",", "MBBI", ",", "DL", ",", "FPReg", ",", "SPReg", ",", "StackSize", ",", "MachineInstr", "::", "FrameSetup", ")", ";", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["MMIX", "MMIX", "\"Shrink-wrapping not yet supported\"", "\"emitPrologue doesn't support framepointer-less functions\"", "0"], "File": "MMIXFrameLowering", "Func": "emitPrologue", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 45, "Length": 185, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "frv_emit_cond_branch", "(", "enum", "rtx_code", "test", ",", "rtx", "label", ")", "{", "rtx", "test_rtx", ";", "rtx", "label_ref", ";", "rtx", "if_else", ";", "rtx", "cc_reg", "=", "frv_emit_comparison", "(", "test", ",", "frv_compare_op0", ",", "frv_compare_op1", ")", ";", "enum", "machine_mode", "cc_mode", "=", "GET_MODE", "(", "cc_reg", ")", ";", "label_ref", "=", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "label", ")", ";", "test_rtx", "=", "gen_rtx_fmt_ee", "(", "test", ",", "cc_mode", ",", "cc_reg", ",", "const0_rtx", ")", ";", "if_else", "=", "gen_rtx_IF_THEN_ELSE", "(", "cc_mode", ",", "test_rtx", ",", "label_ref", ",", "pc_rtx", ")", ";", "emit_jump_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "pc_rtx", ",", "if_else", ")", ")", ";", "return", "TRUE", ";", "}", ""], "natrual_language": ["Emit", "code", "for", "a", "conditional", "branch", ".", "The", "comparison", "operands", "were", "previously", "stored", "in", "frv_compare_op0", "and", "frv_compare_op1", ".", "XXX", ":", "I", "originally", "wanted", "to", "add", "a", "clobber", "of", "a", "CCR", "register", "to", "use", "in", "conditional", "execution", ",", "but", "that", "confuses", "the", "rest", "of", "the", "compiler", "."], "TS_V_token": ["frv"], "File": "frv2", "Func": "frv_emit_cond_branch", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 46, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "VEInstrInfo", "::", "getGlobalBaseReg", "(", "MachineFunction", "*", "MF", ")", "const", "{", "VEMachineFunctionInfo", "*", "VEFI", "=", "MF", "->", "getInfo", "<", "VEMachineFunctionInfo", ">", "(", ")", ";", "Register", "GlobalBaseReg", "=", "VEFI", "->", "getGlobalBaseReg", "(", ")", ";", "if", "(", "GlobalBaseReg", "!=", "0", ")", "return", "GlobalBaseReg", ";", "GlobalBaseReg", "=", "VE", "::", "SX15", ";", "MachineBasicBlock", "&", "FirstMBB", "=", "MF", "->", "front", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "FirstMBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "get", "(", "VE", "::", "GETGOT", ")", ",", "GlobalBaseReg", ")", ";", "VEFI", "->", "setGlobalBaseReg", "(", "GlobalBaseReg", ")", ";", "return", "GlobalBaseReg", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["VE", "VE", "VE", "VE", "VE", "VE", "0", "VE::SX15", "VE::GETGOT", "VE"], "File": "VEInstrInfo", "Func": "getGlobalBaseReg", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 47, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ArrayRef", "<", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">>", "X86InstrInfo", "::", "getSerializableDirectMachineOperandTargetFlags", "(", ")", "const", "{", "using", "namespace", "X86II", ";", "static", "const", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">", "TargetFlags", "[", "]", "=", "{", "{", "MO_GOT_ABSOLUTE_ADDRESS", ",", "\"x86-got-absolute-address\"", "}", ",", "{", "MO_PIC_BASE_OFFSET", ",", "\"x86-pic-base-offset\"", "}", ",", "{", "MO_GOT", ",", "\"x86-got\"", "}", ",", "{", "MO_GOTOFF", ",", "\"x86-gotoff\"", "}", ",", "{", "MO_GOTPCREL", ",", "\"x86-gotpcrel\"", "}", ",", "{", "MO_GOTPCREL_NORELAX", ",", "\"x86-gotpcrel-norelax\"", "}", ",", "{", "MO_PLT", ",", "\"x86-plt\"", "}", ",", "{", "MO_TLSGD", ",", "\"x86-tlsgd\"", "}", ",", "{", "MO_TLSLD", ",", "\"x86-tlsld\"", "}", ",", "{", "MO_TLSLDM", ",", "\"x86-tlsldm\"", "}", ",", "{", "MO_GOTTPOFF", ",", "\"x86-gottpoff\"", "}", ",", "{", "MO_INDNTPOFF", ",", "\"x86-indntpoff\"", "}", ",", "{", "MO_TPOFF", ",", "\"x86-tpoff\"", "}", ",", "{", "MO_DTPOFF", ",", "\"x86-dtpoff\"", "}", ",", "{", "MO_NTPOFF", ",", "\"x86-ntpoff\"", "}", ",", "{", "MO_GOTNTPOFF", ",", "\"x86-gotntpoff\"", "}", ",", "{", "MO_DLLIMPORT", ",", "\"x86-dllimport\"", "}", ",", "{", "MO_DARWIN_NONLAZY", ",", "\"x86-darwin-nonlazy\"", "}", ",", "{", "MO_DARWIN_NONLAZY_PIC_BASE", ",", "\"x86-darwin-nonlazy-pic-base\"", "}", ",", "{", "MO_TLVP", ",", "\"x86-tlvp\"", "}", ",", "{", "MO_TLVP_PIC_BASE", ",", "\"x86-tlvp-pic-base\"", "}", ",", "{", "MO_SECREL", ",", "\"x86-secrel\"", "}", ",", "{", "MO_COFFSTUB", ",", "\"x86-coffstub\"", "}", "}", ";", "return", "makeArrayRef", "(", "TargetFlags", ")", ";", "}", ""], "natrual_language": ["Return", "an", "array", "that", "contains", "the", "direct", "target", "flag", "values", "and", "their", "names", "."], "TS_V_token": ["X86", "X86", "X86", "\"x86-got-absolute-address\"", "\"x86-pic-base-offset\"", "\"x86-got\"", "\"x86-gotoff\"", "\"x86-gotpcrel\"", "\"x86-gotpcrel-norelax\"", "\"x86-plt\"", "\"x86-tlsgd\"", "\"x86-tlsld\"", "\"x86-tlsldm\"", "\"x86-gottpoff\"", "\"x86-indntpoff\"", "\"x86-tpoff\"", "\"x86-dtpoff\"", "\"x86-ntpoff\"", "\"x86-gotntpoff\"", "\"x86-dllimport\"", "\"x86-darwin-nonlazy\"", "\"x86-darwin-nonlazy-pic-base\"", "\"x86-tlvp\"", "\"x86-tlvp-pic-base\"", "\"x86-secrel\"", "\"x86-coffstub\""], "File": "X86InstrInfo153", "Func": "getSerializableDirectMachineOperandTargetFlags", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 48, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_tls_symbol_p", "(", "rtx", "x", ")", "{", "if", "(", "!", "TARGET_HAVE_TLS", ")", "return", "false", ";", "x", "=", "strip_salt", "(", "x", ")", ";", "if", "(", "!", "SYMBOL_REF_P", "(", "x", ")", ")", "return", "false", ";", "return", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", "!=", "0", ";", "}", ""], "natrual_language": ["Return", "true", "if", "SYMBOL_REF", "X", "is", "thread", "local"], "TS_V_token": ["aarch64", "0"], "File": "aarch641", "Func": "aarch64_tls_symbol_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 49, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnFunction", "(", "Function", "&", "F", ")", "{", "PHINodeSet", "PromotablePHINodes", "=", "getPromotablePHINodes", "(", "F", ")", ";", "B2IMap", "Bool2IntMap", ";", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "&", "BB", ":", "F", ")", "{", "for", "(", "auto", "&", "I", ":", "BB", ")", "{", "if", "(", "ReturnInst", "*", "R", "=", "dyn_cast", "<", "ReturnInst", ">", "(", "&", "I", ")", ")", "if", "(", "F", ".", "getReturnType", "(", ")", "->", "isIntegerTy", "(", "1", ")", ")", "Changed", "|=", "runOnUse", "(", "R", "->", "getOperandUse", "(", "0", ")", ",", "PromotablePHINodes", ",", "Bool2IntMap", ")", ";", "if", "(", "CallInst", "*", "CI", "=", "dyn_cast", "<", "CallInst", ">", "(", "&", "I", ")", ")", "for", "(", "auto", "&", "U", ":", "CI", "->", "operands", "(", ")", ")", "if", "(", "U", "->", "getType", "(", ")", "->", "isIntegerTy", "(", "1", ")", ")", "Changed", "|=", "runOnUse", "(", "U", ",", "PromotablePHINodes", ",", "Bool2IntMap", ")", ";", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["PowerPC", "1", "0", "1"], "File": "PPCBoolRetToInt3", "Func": "runOnFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 50, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonVExtract", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "HST", "=", "&", "MF", ".", "getSubtarget", "<", "HexagonSubtarget", ">", "(", ")", ";", "HII", "=", "HST", "->", "getInstrInfo", "(", ")", ";", "const", "auto", "&", "HRI", "=", "*", "HST", "->", "getRegisterInfo", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "std", "::", "map", "<", "unsigned", ",", "SmallVector", "<", "MachineInstr", "*", ",", "4", ">>", "VExtractMap", ";", "bool", "Changed", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "for", "(", "MachineInstr", "&", "MI", ":", "MBB", ")", "{", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "Opc", "!=", "Hexagon", "::", "V6_extractw", ")", "continue", ";", "Register", "VecR", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "VExtractMap", "[", "VecR", "]", ".", "push_back", "(", "&", "MI", ")", ";", "}", "}", "for", "(", "auto", "&", "P", ":", "VExtractMap", ")", "{", "unsigned", "VecR", "=", "P", ".", "first", ";", "if", "(", "P", ".", "second", ".", "size", "(", ")", "<=", "VExtractThreshold", ")", "continue", ";", "const", "auto", "&", "VecRC", "=", "*", "MRI", ".", "getRegClass", "(", "VecR", ")", ";", "int", "FI", "=", "MFI", ".", "CreateSpillStackObject", "(", "HRI", ".", "getSpillSize", "(", "VecRC", ")", ",", "HRI", ".", "getSpillAlignment", "(", "VecRC", ")", ")", ";", "MachineInstr", "*", "DefI", "=", "MRI", ".", "getVRegDef", "(", "VecR", ")", ";", "MachineBasicBlock", "::", "iterator", "At", "=", "std", "::", "next", "(", "DefI", "->", "getIterator", "(", ")", ")", ";", "MachineBasicBlock", "&", "DefB", "=", "*", "DefI", "->", "getParent", "(", ")", ";", "unsigned", "StoreOpc", "=", "VecRC", ".", "getID", "(", ")", "==", "Hexagon", "::", "HvxVRRegClassID", "?", "Hexagon", "::", "V6_vS32b_ai", ":", "Hexagon", "::", "PS_vstorerw_ai", ";", "BuildMI", "(", "DefB", ",", "At", ",", "DefI", "->", "getDebugLoc", "(", ")", ",", "HII", "->", "get", "(", "StoreOpc", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "VecR", ")", ";", "unsigned", "VecSize", "=", "HRI", ".", "getRegSizeInBits", "(", "VecRC", ")", "/", "8", ";", "for", "(", "MachineInstr", "*", "ExtI", ":", "P", ".", "second", ")", "{", "assert", "(", "ExtI", "->", "getOpcode", "(", ")", "==", "Hexagon", "::", "V6_extractw", ")", ";", "unsigned", "SR", "=", "ExtI", "->", "getOperand", "(", "1", ")", ".", "getSubReg", "(", ")", ";", "assert", "(", "ExtI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "VecR", ")", ";", "MachineBasicBlock", "&", "ExtB", "=", "*", "ExtI", "->", "getParent", "(", ")", ";", "DebugLoc", "DL", "=", "ExtI", "->", "getDebugLoc", "(", ")", ";", "Register", "BaseR", "=", "MRI", ".", "createVirtualRegister", "(", "&", "Hexagon", "::", "IntRegsRegClass", ")", ";", "BuildMI", "(", "ExtB", ",", "ExtI", ",", "DL", ",", "HII", "->", "get", "(", "Hexagon", "::", "PS_fi", ")", ",", "BaseR", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "SR", "==", "0", "?", "0", ":", "VecSize", "/", "2", ")", ";", "unsigned", "ElemR", "=", "genElemLoad", "(", "ExtI", ",", "BaseR", ",", "MRI", ")", ";", "Register", "ExtR", "=", "ExtI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "MRI", ".", "replaceRegWith", "(", "ExtR", ",", "ElemR", ")", ";", "ExtB", ".", "erase", "(", "ExtI", ")", ";", "Changed", "=", "true", ";", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "4", "Hexagon::V6_extractw", "1", "Hexagon::HvxVRRegClassID", "Hexagon::V6_vS32b_ai", "Hexagon::PS_vstorerw_ai", "0", "8", "Hexagon::V6_extractw", "1", "1", "Hexagon::IntRegsRegClass", "Hexagon::PS_fi", "0", "0", "2", "0"], "File": "HexagonVExtract1", "Func": "runOnMachineFunction", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 51, "Length": 494, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86Subtarget", "::", "enablePostRAScheduler", "(", "CodeGenOpt", "::", "Level", "OptLevel", ",", "TargetSubtargetInfo", "::", "AntiDepBreakMode", "&", "Mode", ",", "RegClassVector", "&", "CriticalPathRCs", ")", "const", "{", "Mode", "=", "TargetSubtargetInfo", "::", "ANTIDEP_NONE", ";", "CriticalPathRCs", ".", "clear", "(", ")", ";", "return", "PostRAScheduler", "&&", "OptLevel", ">=", "CodeGenOpt", "::", "Default", ";", "}", ""], "natrual_language": ["True", "if", "the", "subtarget", "should", "run", "a", "scheduler", "after", "register", "allocation", "."], "TS_V_token": ["X86", "X86"], "File": "X86Subtarget68", "Func": "enablePostRAScheduler", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 52, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MVT", "MipsTargetLowering", "::", "getRegisterTypeForCallingConv", "(", "LLVMContext", "&", "Context", ",", "CallingConv", "::", "ID", "CC", ",", "EVT", "VT", ")", "const", "{", "if", "(", "VT", ".", "isVector", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "isABI_O32", "(", ")", ")", "{", "return", "MVT", "::", "i32", ";", "}", "else", "{", "return", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "32", ")", "?", "MVT", "::", "i32", ":", "MVT", "::", "i64", ";", "}", "}", "return", "MipsTargetLowering", "::", "getRegisterType", "(", "Context", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Certain", "combinations", "of", "ABIs", ",", "Targets", "and", "features", "require", "that", "types", "are", "legal", "for", "some", "operations", "and", "not", "for", "other", "operations", "."], "TS_V_token": ["Mips", "Mips", "MVT::i32", "32", "MVT::i32", "MVT::i64", "Mips"], "File": "MipsISelLowering116", "Func": "getRegisterTypeForCallingConv", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 53, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86Subtarget", "::", "X86Subtarget", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "X86TargetMachine", "&", "TM", ",", "MaybeAlign", "StackAlignOverride", ",", "unsigned", "PreferVectorWidthOverride", ",", "unsigned", "RequiredVectorWidth", ")", ":", "X86GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "PICStyle", "(", "PICStyles", "::", "None", ")", ",", "TM", "(", "TM", ")", ",", "TargetTriple", "(", "TT", ")", ",", "StackAlignOverride", "(", "StackAlignOverride", ")", ",", "PreferVectorWidthOverride", "(", "PreferVectorWidthOverride", ")", ",", "RequiredVectorWidth", "(", "RequiredVectorWidth", ")", ",", "In64BitMode", "(", "TargetTriple", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ")", ",", "In32BitMode", "(", "TargetTriple", ".", "getArch", "(", ")", "==", "Triple", "::", "x86", "&&", "TargetTriple", ".", "getEnvironment", "(", ")", "!=", "Triple", "::", "CODE16", ")", ",", "In16BitMode", "(", "TargetTriple", ".", "getArch", "(", ")", "==", "Triple", "::", "x86", "&&", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "CODE16", ")", ",", "InstrInfo", "(", "initializeSubtargetDependencies", "(", "CPU", ",", "FS", ")", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", ",", "FrameLowering", "(", "*", "this", ",", "getStackAlignment", "(", ")", ")", "{", "if", "(", "!", "isPositionIndependent", "(", ")", ")", "setPICStyle", "(", "PICStyles", "::", "None", ")", ";", "else", "if", "(", "is64Bit", "(", ")", ")", "setPICStyle", "(", "PICStyles", "::", "RIPRel", ")", ";", "else", "if", "(", "isTargetCOFF", "(", ")", ")", "setPICStyle", "(", "PICStyles", "::", "None", ")", ";", "else", "if", "(", "isTargetDarwin", "(", ")", ")", "setPICStyle", "(", "PICStyles", "::", "StubPIC", ")", ";", "else", "if", "(", "isTargetELF", "(", ")", ")", "setPICStyle", "(", "PICStyles", "::", "GOT", ")", ";", "CallLoweringInfo", ".", "reset", "(", "new", "X86CallLowering", "(", "*", "getTargetLowering", "(", ")", ")", ")", ";", "Legalizer", ".", "reset", "(", "new", "X86LegalizerInfo", "(", "*", "this", ",", "TM", ")", ")", ";", "auto", "*", "RBI", "=", "new", "X86RegisterBankInfo", "(", "*", "getRegisterInfo", "(", ")", ")", ";", "RegBankInfo", ".", "reset", "(", "RBI", ")", ";", "InstSelector", ".", "reset", "(", "createX86InstructionSelector", "(", "TM", ",", "*", "this", ",", "*", "RBI", ")", ")", ";", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86"], "File": "X86Subtarget58", "Func": "X86Subtarget", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 54, "Length": 293, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_vector_convert_uns_vsivsf", "(", "rtx", "target", ",", "rtx", "val", ")", "{", "rtx", "tmp", "[", "8", "]", ";", "REAL_VALUE_TYPE", "TWO16r", ";", "machine_mode", "intmode", "=", "GET_MODE", "(", "val", ")", ";", "machine_mode", "fltmode", "=", "GET_MODE", "(", "target", ")", ";", "rtx", "(", "*", "cvt", ")", "(", "rtx", ",", "rtx", ")", ";", "if", "(", "intmode", "==", "V4SImode", ")", "cvt", "=", "gen_floatv4siv4sf2", ";", "else", "cvt", "=", "gen_floatv8siv8sf2", ";", "tmp", "[", "0", "]", "=", "ix86_build_const_vector", "(", "intmode", ",", "1", ",", "GEN_INT", "(", "0xffff", ")", ")", ";", "tmp", "[", "0", "]", "=", "force_reg", "(", "intmode", ",", "tmp", "[", "0", "]", ")", ";", "tmp", "[", "1", "]", "=", "expand_simple_binop", "(", "intmode", ",", "AND", ",", "val", ",", "tmp", "[", "0", "]", ",", "NULL_RTX", ",", "1", ",", "OPTAB_DIRECT", ")", ";", "tmp", "[", "2", "]", "=", "expand_simple_binop", "(", "intmode", ",", "LSHIFTRT", ",", "val", ",", "GEN_INT", "(", "16", ")", ",", "NULL_RTX", ",", "1", ",", "OPTAB_DIRECT", ")", ";", "tmp", "[", "3", "]", "=", "gen_reg_rtx", "(", "fltmode", ")", ";", "emit_insn", "(", "cvt", "(", "tmp", "[", "3", "]", ",", "tmp", "[", "1", "]", ")", ")", ";", "tmp", "[", "4", "]", "=", "gen_reg_rtx", "(", "fltmode", ")", ";", "emit_insn", "(", "cvt", "(", "tmp", "[", "4", "]", ",", "tmp", "[", "2", "]", ")", ")", ";", "real_ldexp", "(", "&", "TWO16r", ",", "&", "dconst1", ",", "16", ")", ";", "tmp", "[", "5", "]", "=", "const_double_from_real_value", "(", "TWO16r", ",", "SFmode", ")", ";", "tmp", "[", "5", "]", "=", "force_reg", "(", "fltmode", ",", "ix86_build_const_vector", "(", "fltmode", ",", "1", ",", "tmp", "[", "5", "]", ")", ")", ";", "if", "(", "TARGET_FMA", ")", "{", "tmp", "[", "6", "]", "=", "gen_rtx_FMA", "(", "fltmode", ",", "tmp", "[", "4", "]", ",", "tmp", "[", "5", "]", ",", "tmp", "[", "3", "]", ")", ";", "emit_move_insn", "(", "target", ",", "tmp", "[", "6", "]", ")", ";", "}", "else", "{", "tmp", "[", "6", "]", "=", "expand_simple_binop", "(", "fltmode", ",", "MULT", ",", "tmp", "[", "4", "]", ",", "tmp", "[", "5", "]", ",", "NULL_RTX", ",", "1", ",", "OPTAB_DIRECT", ")", ";", "tmp", "[", "7", "]", "=", "expand_simple_binop", "(", "fltmode", ",", "PLUS", ",", "tmp", "[", "3", "]", ",", "tmp", "[", "6", "]", ",", "target", ",", "1", ",", "OPTAB_DIRECT", ")", ";", "if", "(", "tmp", "[", "7", "]", "!=", "target", ")", "emit_move_insn", "(", "target", ",", "tmp", "[", "7", "]", ")", ";", "}", "}", ""], "natrual_language": ["floatunsv", "{", "4,8", "}", "siv", "{", "4,8", "}", "sf2", "expander", ".", "Expand", "code", "to", "convert", "a", "vector", "of", "unsigned", "ints", "VAL", "to", "vector", "of", "floats", "TARGET", "."], "TS_V_token": ["i386", "8", "0", "1", "0xffff", "0", "0", "1", "0", "1", "2", "16", "1", "3", "3", "1", "4", "4", "2", "16", "5", "5", "1", "5", "6", "4", "5", "3", "6", "6", "4", "5", "1", "7", "3", "6", "1", "7", "7"], "File": "i386-expand", "Func": "ix86_expand_vector_convert_uns_vsivsf", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 55, "Length": 360, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SIInstrInfo", "::", "getAddressSpaceForPseudoSourceKind", "(", "unsigned", "Kind", ")", "const", "{", "switch", "(", "Kind", ")", "{", "case", "PseudoSourceValue", "::", "Stack", ":", "case", "PseudoSourceValue", "::", "FixedStack", ":", "return", "AMDGPUAS", "::", "PRIVATE_ADDRESS", ";", "case", "PseudoSourceValue", "::", "ConstantPool", ":", "case", "PseudoSourceValue", "::", "GOT", ":", "case", "PseudoSourceValue", "::", "JumpTable", ":", "case", "PseudoSourceValue", "::", "GlobalValueCallEntry", ":", "case", "PseudoSourceValue", "::", "ExternalSymbolCallEntry", ":", "case", "PseudoSourceValue", "::", "TargetCustom", ":", "return", "AMDGPUAS", "::", "CONSTANT_ADDRESS", ";", "}", "return", "AMDGPUAS", "::", "FLAT_ADDRESS", ";", "}", ""], "natrual_language": ["getAddressSpaceForPseudoSourceKind", "-", "Given", "the", "kind", "of", "memory", "(", "e.g", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU", "AMDGPU", "AMDGPU"], "File": "SIInstrInfo1", "Func": "getAddressSpaceForPseudoSourceKind", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 56, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "if", "(", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "Aggressive", ")", "addPass", "(", "&", "MachinePipelinerID", ")", ";", "addPass", "(", "createMVETPAndVPTOptimisationsPass", "(", ")", ")", ";", "addPass", "(", "createMLxExpansionPass", "(", ")", ")", ";", "if", "(", "EnableARMLoadStoreOpt", ")", "addPass", "(", "createARMLoadStoreOptimizationPass", "(", "true", ")", ")", ";", "if", "(", "!", "DisableA15SDOptimization", ")", "addPass", "(", "createA15SDOptimizerPass", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM"], "File": "ARMTargetMachine47", "Func": "addPreRegAlloc", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 57, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "CSKYTargetStreamer", "::", "addConstantPoolEntry", "(", "const", "MCExpr", "*", "Expr", ",", "SMLoc", "Loc", ",", "const", "MCExpr", "*", "AdjustExpr", ")", "{", "auto", "ELFRefKind", "=", "CSKYMCExpr", "::", "VK_CSKY_Invalid", ";", "ConstantCounter", "++", ";", "const", "MCExpr", "*", "OrigExpr", "=", "Expr", ";", "if", "(", "const", "CSKYMCExpr", "*", "CE", "=", "dyn_cast", "<", "CSKYMCExpr", ">", "(", "Expr", ")", ")", "{", "Expr", "=", "CE", "->", "getSubExpr", "(", ")", ";", "ELFRefKind", "=", "CE", "->", "getKind", "(", ")", ";", "}", "if", "(", "const", "MCSymbolRefExpr", "*", "SymExpr", "=", "dyn_cast", "<", "MCSymbolRefExpr", ">", "(", "Expr", ")", ")", "{", "const", "MCSymbol", "*", "Sym", "=", "&", "SymExpr", "->", "getSymbol", "(", ")", ";", "SymbolIndex", "Index", "=", "{", "Sym", ",", "ELFRefKind", "}", ";", "if", "(", "ConstantMap", ".", "find", "(", "Index", ")", "==", "ConstantMap", ".", "end", "(", ")", ")", "{", "ConstantMap", "[", "Index", "]", "=", "ConstantPool", "->", "addEntry", "(", "getStreamer", "(", ")", ",", "OrigExpr", ",", "4", ",", "Loc", ",", "AdjustExpr", ")", ";", "}", "return", "ConstantMap", "[", "Index", "]", ";", "}", "return", "ConstantPool", "->", "addEntry", "(", "getStreamer", "(", ")", ",", "Expr", ",", "4", ",", "Loc", ",", "AdjustExpr", ")", ";", "}", ""], "natrual_language": ["Add", "a", "new", "entry", "to", "the", "constant", "pool", "for", "the", "current", "section", "and", "return", "an", "MCExpr", "that", "can", "be", "used", "to", "refer", "to", "the", "constant", "pool", "location", "."], "TS_V_token": ["CSKY", "CSKY", "CSKY", "CSKY", "CSKY", "CSKY", "4", "4"], "File": "CSKYTargetStreamer", "Func": "addConstantPoolEntry", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 58, "Length": 173, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_pwrite_stream", "&", "OS", ")", "const", "override", "{", "uint8_t", "OSABI", "=", "MCELFObjectTargetWriter", "::", "getOSABI", "(", "OSType", ")", ";", "return", "createSparcELFObjectWriter", "(", "OS", ",", "is64Bit", "(", ")", ",", "OSABI", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["Sparc", "Sparc"], "File": "SparcAsmBackend28", "Func": "createObjectWriter", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 59, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "JVMTargetObjectFile", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "InitializeELF", "(", "TM", ".", "Options", ".", "UseInitArray", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["JVM", "JVM"], "File": "JVMTargetObjectFile", "Func": "Initialize", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 60, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "nvptx_promote_function_mode", "(", "const_tree", "type", ",", "machine_mode", "mode", ",", "int", "*", "ARG_UNUSED", "(", "punsignedp", ")", ",", "const_tree", "funtype", ",", "int", "for_return", ")", "{", "return", "promote_arg", "(", "mode", ",", "for_return", "||", "!", "type", "||", "TYPE_ARG_TYPES", "(", "funtype", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_PROMOTE_FUNCTION_MODE", "."], "TS_V_token": ["nvptx"], "File": "nvptx", "Func": "nvptx_promote_function_mode", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 61, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mips_register_priority", "(", "int", "hard_regno", ")", "{", "if", "(", "TARGET_MIPS16", "&&", "TEST_HARD_REG_BIT", "(", "reg_class_contents", "[", "M16_REGS", "]", ",", "hard_regno", ")", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["Implement", "TARGET_REGISTER_PRIORITY", "."], "TS_V_token": ["mips", "1", "0"], "File": "mips", "Func": "mips_register_priority", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 62, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "DLXTargetLowering", "::", "computeKnownBitsForTargetNode", "(", "const", "SDValue", "Op", ",", "KnownBits", "&", "Known", ",", "const", "APInt", "&", "DemandedElts", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "}", ""], "natrual_language": ["Determine", "which", "of", "the", "bits", "specified", "in", "Mask", "are", "known", "to", "be", "either", "zero", "or", "one", "and", "return", "them", "in", "the", "KnownZero/KnownOne", "bitsets", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXISelLowering", "Func": "computeKnownBitsForTargetNode", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 63, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "isPredicated", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "MI", ".", "isBundle", "(", ")", ")", "{", "MachineBasicBlock", "::", "const_instr_iterator", "I", "=", "MI", ".", "getIterator", "(", ")", ";", "MachineBasicBlock", "::", "const_instr_iterator", "E", "=", "MI", ".", "getParent", "(", ")", "->", "instr_end", "(", ")", ";", "while", "(", "++", "I", "!=", "E", "&&", "I", "->", "isInsideBundle", "(", ")", ")", "{", "int", "PIdx", "=", "I", "->", "findFirstPredOperandIdx", "(", ")", ";", "if", "(", "PIdx", "!=", "-", "1", "&&", "I", "->", "getOperand", "(", "PIdx", ")", ".", "getImm", "(", ")", "!=", "ARMCC", "::", "AL", ")", "return", "true", ";", "}", "return", "false", ";", "}", "int", "PIdx", "=", "MI", ".", "findFirstPredOperandIdx", "(", ")", ";", "return", "PIdx", "!=", "-", "1", "&&", "MI", ".", "getOperand", "(", "PIdx", ")", ".", "getImm", "(", ")", "!=", "ARMCC", "::", "AL", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "instruction", "is", "already", "predicated", "."], "TS_V_token": ["ARM", "ARM", "1", "ARMCC::AL", "1", "ARMCC::AL"], "File": "ARMBaseInstrInfo (2)2", "Func": "isPredicated", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 64, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "llvm", "::", "getAlign", "(", "const", "CallInst", "&", "I", ",", "unsigned", "index", ",", "unsigned", "&", "align", ")", "{", "if", "(", "MDNode", "*", "alignNode", "=", "I", ".", "getMDNode", "(", "\"callalign\"", ")", ")", "{", "for", "(", "int", "i", "=", "0", ",", "n", "=", "alignNode", "->", "getNumOperands", "(", ")", ";", "i", "<", "n", ";", "i", "++", ")", "{", "if", "(", "const", "ConstantInt", "*", "CI", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "alignNode", "->", "getOperand", "(", "i", ")", ")", ")", "{", "unsigned", "v", "=", "CI", "->", "getZExtValue", "(", ")", ";", "if", "(", "(", "v", ">>", "16", ")", "==", "index", ")", "{", "align", "=", "v", "&", "0xFFFF", ";", "return", "true", ";", "}", "if", "(", "(", "v", ">>", "16", ")", ">", "index", ")", "{", "return", "false", ";", "}", "}", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "the", "minimum", "known", "alignment", "in", "bytes", "of", "the", "actual", "memory", "reference", "."], "TS_V_token": ["NVPTX", "\"callalign\"", "0", "16", "0xFFFF", "16"], "File": "NVPTXUtilities28", "Func": "getAlign", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 65, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_fastmul_rtx_costs", "(", "rtx", "x", ",", "enum", "rtx_code", "code", ",", "enum", "rtx_code", "outer_code", ",", "int", "*", "total", ",", "bool", "speed", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "x", ")", ";", "if", "(", "TARGET_THUMB1", ")", "{", "*", "total", "=", "thumb1_rtx_costs", "(", "x", ",", "code", ",", "outer_code", ")", ";", "return", "true", ";", "}", "switch", "(", "code", ")", "{", "case", "MULT", ":", "if", "(", "mode", "==", "DImode", "&&", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "&&", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "ZERO_EXTEND", "||", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "SIGN_EXTEND", ")", ")", "{", "*", "total", "=", "COSTS_N_INSNS", "(", "2", ")", ";", "return", "false", ";", "}", "if", "(", "mode", "==", "DImode", ")", "{", "*", "total", "=", "COSTS_N_INSNS", "(", "5", ")", ";", "return", "false", ";", "}", "if", "(", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "{", "unsigned", "HOST_WIDE_INT", "i", "=", "(", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", "&", "(", "unsigned", "HOST_WIDE_INT", ")", "0xffffffff", ")", ";", "int", "cost", ",", "const_ok", "=", "const_ok_for_arm", "(", "i", ")", ";", "int", "j", ",", "booth_unit_size", ";", "cost", "=", "const_ok", "?", "4", ":", "8", ";", "booth_unit_size", "=", "8", ";", "for", "(", "j", "=", "0", ";", "i", "&&", "j", "<", "32", ";", "j", "+=", "booth_unit_size", ")", "{", "i", ">>=", "booth_unit_size", ";", "cost", "++", ";", "}", "*", "total", "=", "COSTS_N_INSNS", "(", "cost", ")", ";", "return", "false", ";", "}", "if", "(", "mode", "==", "SImode", ")", "{", "*", "total", "=", "COSTS_N_INSNS", "(", "4", ")", ";", "return", "false", ";", "}", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", ")", "{", "if", "(", "TARGET_HARD_FLOAT", "&&", "(", "mode", "==", "SFmode", "||", "(", "mode", "==", "DFmode", "&&", "!", "TARGET_VFP_SINGLE", ")", ")", ")", "{", "*", "total", "=", "COSTS_N_INSNS", "(", "1", ")", ";", "return", "false", ";", "}", "}", "*", "total", "=", "COSTS_N_INSNS", "(", "20", ")", ";", "return", "false", ";", "default", ":", "return", "arm_rtx_costs_1", "(", "x", ",", "outer_code", ",", "total", ",", "speed", ")", ";", "}", "}", ""], "natrual_language": ["RTX", "cost", "for", "cores", "with", "a", "fast", "multiply", "unit", "(", "M", "variants", ")", "."], "TS_V_token": ["arm", "0", "1", "0", "0", "2", "5", "1", "1", "0xffffffff", "4", "8", "8", "0", "32", "4", "1", "20"], "File": "arm4", "Func": "arm_fastmul_rtx_costs", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 66, "Length": 334, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "enableEarlyIfConversion", "(", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Enable", "the", "use", "of", "the", "early", "if", "conversion", "pass", "."], "TS_V_token": ["AMDGPU"], "File": "AMDGPUSubtarget", "Func": "enableEarlyIfConversion", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 67, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getVendorName", "(", ")", "const", "{", "return", "StringRef", "(", "names", ",", "vendor_name_size", "-", "1", ")", ";", "}", ""], "natrual_language": ["Get", "the", "vendor", "(", "second", ")", "component", "of", "the", "triple", "."], "TS_V_token": ["AMDGPU", "1"], "File": "CodeObject", "Func": "getVendorName", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 68, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "split_mem_address", "(", "rtx", "addr", ",", "rtx", "*", "base_reg", ",", "rtx", "*", "offset", ")", "{", "if", "(", "REG_P", "(", "addr", ")", ")", "{", "*", "base_reg", "=", "addr", ";", "*", "offset", "=", "const0_rtx", ";", "return", "true", ";", "}", "else", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PLUS", ")", "{", "*", "base_reg", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "*", "offset", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Utility", "function", "to", "break", "a", "memory", "address", "into", "base", "register", "+", "constant", "offset", ".", "Return", "false", "if", "something", "unexpected", "is", "seen", "."], "TS_V_token": ["nios2", "0", "1"], "File": "nios2", "Func": "split_mem_address", "Target": "nios2", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 69, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_validate_march", "(", "const", "char", "*", "str", ",", "const", "struct", "processor", "*", "*", "res", ",", "uint64_t", "*", "isa_flags", ")", "{", "std", "::", "string", "invalid_extension", ";", "enum", "aarch64_parse_opt_result", "parse_res", "=", "aarch64_parse_arch", "(", "str", ",", "res", ",", "isa_flags", ",", "&", "invalid_extension", ")", ";", "if", "(", "parse_res", "==", "AARCH64_PARSE_OK", ")", "return", "true", ";", "switch", "(", "parse_res", ")", "{", "case", "AARCH64_PARSE_MISSING_ARG", ":", "error", "(", "\"missing arch name in %<-march=%s%>\"", ",", "str", ")", ";", "break", ";", "case", "AARCH64_PARSE_INVALID_ARG", ":", "error", "(", "\"unknown value %qs for %<-march%>\"", ",", "str", ")", ";", "aarch64_print_hint_for_arch", "(", "str", ")", ";", "break", ";", "case", "AARCH64_PARSE_INVALID_FEATURE", ":", "error", "(", "\"invalid feature modifier %qs in %<-march=%s%>\"", ",", "invalid_extension", ".", "c_str", "(", ")", ",", "str", ")", ";", "aarch64_print_hint_for_extensions", "(", "invalid_extension", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Validate", "a", "command-line", "-march", "option", ".", "Parse", "the", "arch", "and", "extensions", "(", "if", "any", ")", "specified", "in", "STR", "and", "throw", "errors", "if", "appropriate", ".", "Put", "the", "results", ",", "if", "they", "are", "valid", ",", "in", "RES", "and", "ISA_FLAGS", ".", "Return", "whether", "the", "option", "is", "valid", "."], "TS_V_token": ["aarch64", "\"missing arch name in %<-march=%s%>\"", "\"unknown value %qs for %<-march%>\"", "\"invalid feature modifier %qs in %<-march=%s%>\""], "File": "aarch64", "Func": "aarch64_validate_march", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 70, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "register_ok_for_ldd", "(", "rtx", "reg", ")", "{", "if", "(", "!", "REG_P", "(", "reg", ")", ")", "return", "0", ";", "if", "(", "REGNO", "(", "reg", ")", "<", "FIRST_PSEUDO_REGISTER", ")", "return", "(", "REGNO", "(", "reg", ")", "%", "2", "==", "0", ")", ";", "return", "1", ";", "}", ""], "natrual_language": ["Return", "1", "if", "reg", "is", "a", "pseudo", ",", "or", "is", "the", "first", "register", "in", "a", "hard", "register", "pair", ".", "This", "makes", "it", "a", "candidate", "for", "use", "in", "ldd", "and", "std", "insns", "."], "TS_V_token": ["sparc", "0", "2", "0", "1"], "File": "sparc", "Func": "register_ok_for_ldd", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 71, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "systemSupportsUnalignedAccess", "(", "unsigned", "AS", "=", "0", ")", "const", "{", "return", "hasMips32r6", "(", ")", ";", "}", ""], "natrual_language": ["Does", "the", "system", "support", "unaligned", "memory", "access", "."], "TS_V_token": ["Mips", "0", "Mips"], "File": "MipsSubtarget43", "Func": "systemSupportsUnalignedAccess", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 72, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"NVPTX optimize redundant cvta.to.local instruction\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["NVPTX", "\"NVPTX optimize redundant cvta.to.local instruction\""], "File": "NVPTXPeephole11", "Func": "getPassName", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 73, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "PPCRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCTargetMachine11", "Func": "getRegisterInfo", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 74, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "nios2_legitimate_address_p", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "operand", ",", "bool", "strict_p", ")", "{", "switch", "(", "GET_CODE", "(", "operand", ")", ")", "{", "case", "SYMBOL_REF", ":", "if", "(", "SYMBOL_REF_TLS_MODEL", "(", "operand", ")", ")", "return", "false", ";", "if", "(", "nios2_symbol_ref_in_small_data_p", "(", "operand", ")", ")", "return", "true", ";", "case", "LABEL_REF", ":", "case", "CONST_INT", ":", "case", "CONST", ":", "case", "CONST_DOUBLE", ":", "return", "false", ";", "case", "REG", ":", "return", "nios2_regno_ok_for_base_p", "(", "REGNO", "(", "operand", ")", ",", "strict_p", ")", ";", "case", "PLUS", ":", "{", "rtx", "op0", "=", "XEXP", "(", "operand", ",", "0", ")", ";", "rtx", "op1", "=", "XEXP", "(", "operand", ",", "1", ")", ";", "return", "(", "nios2_valid_addr_expr_p", "(", "op0", ",", "op1", ",", "strict_p", ")", "||", "nios2_valid_addr_expr_p", "(", "op1", ",", "op0", ",", "strict_p", ")", ")", ";", "}", "default", ":", "break", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_LEGITIMATE_ADDRESS_P", "."], "TS_V_token": ["nios2", "0", "1"], "File": "nios22", "Func": "nios2_legitimate_address_p", "Target": "nios2", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 75, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "BPFAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "MachineBasicBlock", "::", "const_instr_iterator", "I", "=", "MI", ";", "MachineBasicBlock", "::", "const_instr_iterator", "E", "=", "MI", "->", "getParent", "(", ")", "->", "instr_end", "(", ")", ";", "do", "{", "customEmitInstruction", "(", "I", "++", ")", ";", "}", "while", "(", "(", "I", "!=", "E", ")", "&&", "I", "->", "isInsideBundle", "(", ")", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["BPF", "BPF"], "File": "BPFAsmPrinter16", "Func": "EmitInstruction", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 76, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TeeRISCInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "if", "(", "RC", "==", "&", "TeeRISC", "::", "IntRegsRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "TeeRISC", "::", "ST", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ";", "else", "llvm_unreachable", "(", "\"Can't store this register to stack slot\"", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["TeeRISC", "TeeRISC", "TeeRISC::IntRegsRegClass", "TeeRISC::ST", "0", "\"Can't store this register to stack slot\""], "File": "TeeRISCInstrInfo", "Func": "storeRegToStackSlot", "Target": "TeeRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 77, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "flow_dependent_p", "(", "rtx", "insn", ",", "rtx", "dep_insn", ")", "{", "rtx", "tmp", "=", "PATTERN", "(", "insn", ")", ";", "note_stores", "(", "PATTERN", "(", "dep_insn", ")", ",", "flow_dependent_p_1", ",", "&", "tmp", ")", ";", "return", "tmp", "==", "NULL_RTX", ";", "}", ""], "natrual_language": ["Check", "if", "INSN", "is", "flow-dependent", "on", "DEP_INSN", ".", "Can", "also", "be", "used", "to", "check", "if", "DEP_INSN", "is", "anti-flow", "dependent", "on", "INSN", "."], "TS_V_token": ["sh"], "File": "sh3", "Func": "flow_dependent_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 78, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "LC3", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["LC3", "LC3::NumTargetFixupKinds"], "File": "LC3AsmBackend", "Func": "getNumFixupKinds", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 79, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "s390_preferred_simd_mode", "(", "scalar_mode", "mode", ")", "{", "if", "(", "TARGET_VXE", ")", "switch", "(", "mode", ")", "{", "case", "E_SFmode", ":", "return", "V4SFmode", ";", "default", ":", ";", "}", "if", "(", "TARGET_VX", ")", "switch", "(", "mode", ")", "{", "case", "E_DFmode", ":", "return", "V2DFmode", ";", "case", "E_DImode", ":", "return", "V2DImode", ";", "case", "E_SImode", ":", "return", "V4SImode", ";", "case", "E_HImode", ":", "return", "V8HImode", ";", "case", "E_QImode", ":", "return", "V16QImode", ";", "default", ":", ";", "}", "return", "word_mode", ";", "}", ""], "natrual_language": ["Return", "the", "vector", "mode", "to", "be", "used", "for", "inner", "mode", "MODE", "when", "doing", "vectorization", "."], "TS_V_token": ["s390"], "File": "s390", "Func": "s390_preferred_simd_mode", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 80, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ia64_trampoline_init", "(", "rtx", "m_tramp", ",", "tree", "fndecl", ",", "rtx", "static_chain", ")", "{", "rtx", "fnaddr", "=", "XEXP", "(", "DECL_RTL", "(", "fndecl", ")", ",", "0", ")", ";", "rtx", "addr", ",", "addr_reg", ",", "tramp", ",", "eight", "=", "GEN_INT", "(", "8", ")", ";", "if", "(", "!", "TARGET_GNU_AS", ")", "{", "static", "bool", "declared_ia64_trampoline", "=", "false", ";", "if", "(", "!", "declared_ia64_trampoline", ")", "{", "declared_ia64_trampoline", "=", "true", ";", "(", "*", "targetm", ".", "asm_out", ".", "globalize_label", ")", "(", "asm_out_file", ",", "\"__ia64_trampoline\"", ")", ";", "}", "}", "addr", "=", "convert_memory_address", "(", "Pmode", ",", "XEXP", "(", "m_tramp", ",", "0", ")", ")", ";", "fnaddr", "=", "convert_memory_address", "(", "Pmode", ",", "fnaddr", ")", ";", "static_chain", "=", "convert_memory_address", "(", "Pmode", ",", "static_chain", ")", ";", "addr_reg", "=", "copy_to_reg", "(", "addr", ")", ";", "m_tramp", "=", "adjust_automodify_address", "(", "m_tramp", ",", "Pmode", ",", "addr_reg", ",", "0", ")", ";", "tramp", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "\"__ia64_trampoline\"", ")", ";", "if", "(", "TARGET_ABI_OPEN_VMS", ")", "{", "rtx", "reg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "SYMBOL_REF_FLAGS", "(", "tramp", ")", "|=", "SYMBOL_FLAG_FUNCTION", ";", "emit_move_insn", "(", "reg", ",", "tramp", ")", ";", "emit_move_insn", "(", "reg", ",", "gen_rtx_MEM", "(", "Pmode", ",", "reg", ")", ")", ";", "tramp", "=", "reg", ";", "}", "emit_move_insn", "(", "m_tramp", ",", "tramp", ")", ";", "emit_insn", "(", "gen_adddi3", "(", "addr_reg", ",", "addr_reg", ",", "eight", ")", ")", ";", "m_tramp", "=", "adjust_automodify_address", "(", "m_tramp", ",", "VOIDmode", ",", "NULL", ",", "8", ")", ";", "emit_move_insn", "(", "m_tramp", ",", "force_reg", "(", "Pmode", ",", "plus_constant", "(", "Pmode", ",", "addr", ",", "16", ")", ")", ")", ";", "emit_insn", "(", "gen_adddi3", "(", "addr_reg", ",", "addr_reg", ",", "eight", ")", ")", ";", "m_tramp", "=", "adjust_automodify_address", "(", "m_tramp", ",", "VOIDmode", ",", "NULL", ",", "8", ")", ";", "emit_move_insn", "(", "m_tramp", ",", "force_reg", "(", "Pmode", ",", "fnaddr", ")", ")", ";", "emit_insn", "(", "gen_adddi3", "(", "addr_reg", ",", "addr_reg", ",", "eight", ")", ")", ";", "m_tramp", "=", "adjust_automodify_address", "(", "m_tramp", ",", "VOIDmode", ",", "NULL", ",", "8", ")", ";", "emit_move_insn", "(", "m_tramp", ",", "static_chain", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_TRAMPOLINE_INIT", ".", "The", "trampoline", "should", "set", "the", "static", "chain", "pointer", "to", "value", "placed", "into", "the", "trampoline", "and", "should", "branch", "to", "the", "specified", "routine", ".", "To", "make", "the", "normal", "indirect-subroutine", "calling", "convention", "work", ",", "the", "trampoline", "must", "look", "like", "a", "function", "descriptor", ";", "the", "first", "word", "being", "the", "target", "address", "and", "the", "second", "being", "the", "target", "'s", "global", "pointer", ".", "We", "abuse", "the", "concept", "of", "a", "global", "pointer", "by", "arranging", "for", "it", "to", "point", "to", "the", "data", "we", "need", "to", "load", ".", "The", "complete", "trampoline", "has", "the", "following", "form", ":", "+", "--", "--", "--", "--", "--", "--", "--", "--", "--", "-+", "\\", "TRAMP", ":", "|", "__ia64_trampoline", "|", "|", "+", "--", "--", "--", "--", "--", "--", "--", "--", "--", "-+", ">", "fake", "function", "descriptor", "|", "TRAMP+16", "|", "|", "+", "--", "--", "--", "--", "--", "--", "--", "--", "--", "-+", "/", "|", "target", "descriptor", "|", "+", "--", "--", "--", "--", "--", "--", "--", "--", "--", "-+", "|", "static", "link", "|", "+", "--", "--", "--", "--", "--", "--", "--", "--", "--", "-+"], "TS_V_token": ["ia64", "0", "8", "\"__ia64_trampoline\"", "0", "0", "\"__ia64_trampoline\"", "8", "16", "8", "8"], "File": "ia64", "Func": "ia64_trampoline_init", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 81, "Length": 305, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "setReg", "(", "MCRegister", "PhysReg", ")", "{", "Reg", ".", "RegNum", "=", "PhysReg", ";", "}", ""], "natrual_language": ["Assigns", "the", "associated", "register", "for", "this", "edge", "."], "TS_V_token": ["LoongArch"], "File": "LoongArchAsmParser1", "Func": "setReg", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 82, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "spu_legitimate_constant_p", "(", "machine_mode", "mode", ",", "rtx", "x", ")", "{", "subrtx_iterator", "::", "array_type", "array", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "HIGH", ")", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "FOR_EACH_SUBRTX", "(", "iter", ",", "array", ",", "x", ",", "ALL", ")", "if", "(", "ea_symbol_ref_p", "(", "*", "iter", ")", ")", "return", "0", ";", "if", "(", "!", "flag_pic", "&&", "mode", "==", "V4SImode", "&&", "(", "GET_CODE", "(", "CONST_VECTOR_ELT", "(", "x", ",", "0", ")", ")", "==", "SYMBOL_REF", "||", "GET_CODE", "(", "CONST_VECTOR_ELT", "(", "x", ",", "0", ")", ")", "==", "LABEL_REF", "||", "GET_CODE", "(", "CONST_VECTOR_ELT", "(", "x", ",", "0", ")", ")", "==", "CONST", ")", ")", "return", "CONST_VECTOR_ELT", "(", "x", ",", "0", ")", "==", "CONST_VECTOR_ELT", "(", "x", ",", "1", ")", "&&", "CONST_VECTOR_ELT", "(", "x", ",", "1", ")", "==", "CONST_VECTOR_ELT", "(", "x", ",", "2", ")", "&&", "CONST_VECTOR_ELT", "(", "x", ",", "2", ")", "==", "CONST_VECTOR_ELT", "(", "x", ",", "3", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST_VECTOR", "&&", "!", "const_vector_immediate_p", "(", "x", ")", ")", "return", "0", ";", "return", "1", ";", "}", ""], "natrual_language": ["We", "accept", ":", "-", "any", "32-bit", "constant", "(", "SImode", ",", "SFmode", ")", "-", "any", "constant", "that", "can", "be", "generated", "with", "fsmbi", "(", "any", "mode", ")", "-", "a", "64-bit", "constant", "where", "the", "high", "and", "low", "bits", "are", "identical", "(", "DImode", ",", "DFmode", ")", "-", "a", "128-bit", "constant", "where", "the", "four", "32-bit", "words", "match", "."], "TS_V_token": ["spu", "0", "0", "0", "0", "0", "0", "1", "1", "2", "2", "3", "0", "1"], "File": "spu", "Func": "spu_legitimate_constant_p", "Target": "spu", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 83, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "doInitialization", "(", "Module", "&", "M", ")", "override", "{", "if", "(", "!", "Triple", "(", "M", ".", "getTargetTriple", "(", ")", ")", ".", "isOSNaCl", "(", ")", ")", "SMShadowTracker", ".", "reset", "(", "0", ")", ";", "SM", ".", "reset", "(", ")", ";", "return", "AsmPrinter", "::", "doInitialization", "(", "M", ")", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["X86", "0"], "File": "X86AsmPrinter6", "Func": "doInitialization", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 84, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"SI Shrink Instructions\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AMDGPU", "\"SI Shrink Instructions\""], "File": "SIShrinkInstructions1", "Func": "getPassName", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 85, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "finish", "(", ")", "override", "{", "for", "(", "auto", "*", "Sym", ":", "UpdateOther", ")", "if", "(", "Sym", "->", "isVariable", "(", ")", ")", "copyLocalEntry", "(", "Sym", ",", "Sym", "->", "getVariableValue", "(", ")", ")", ";", "}", ""], "natrual_language": ["finish", "-", "after", "all", "the", "new", "live", "ranges", "have", "been", "created", ",", "compute", "the", "remaining", "live", "range", ",", "and", "rewrite", "instructions", "to", "use", "the", "new", "registers", "."], "TS_V_token": ["PowerPC"], "File": "PPCMCTargetDesc35", "Func": "finish", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 86, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "avr_vdump", "(", "FILE", "*", "stream", ",", "const", "char", "*", "caller", ",", "...", ")", "{", "va_list", "ap", ";", "if", "(", "stream", "==", "NULL", "&&", "dump_file", ")", "stream", "=", "dump_file", ";", "va_start", "(", "ap", ",", "caller", ")", ";", "if", "(", "stream", ")", "avr_log_vadump", "(", "stream", ",", "caller", ",", "ap", ")", ";", "va_end", "(", "ap", ")", ";", "return", "1", ";", "}", ""], "natrual_language": ["Wrapper", "for", "avr_log_vadump", ".", "If", "STREAM", "is", "NULL", "we", "are", "called", "by", "avr_dump", ",", "i.e", ".", "output", "to", "dump_file", "if", "available", ".", "The", "2nd", "argument", "is", "__FUNCTION__", ".", "The", "3rd", "argument", "is", "the", "format", "string", "."], "TS_V_token": ["avr", "1"], "File": "avr-log", "Func": "avr_vdump", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 87, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyRegNumbering", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** Register Numbering **********\\n\"", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "WebAssemblyFunctionInfo", "&", "MFI", "=", "*", "MF", ".", "getInfo", "<", "WebAssemblyFunctionInfo", ">", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "MFI", ".", "initWARegs", "(", ")", ";", "MachineBasicBlock", "&", "EntryMBB", "=", "MF", ".", "front", "(", ")", ";", "for", "(", "MachineInstr", "&", "MI", ":", "EntryMBB", ")", "{", "if", "(", "!", "WebAssembly", "::", "isArgument", "(", "MI", ".", "getOpcode", "(", ")", ")", ")", "break", ";", "int64_t", "Imm", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Arg VReg \"", "<<", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "<<", "\" -> WAReg \"", "<<", "Imm", "<<", "\"\\n\"", ")", ";", "MFI", ".", "setWAReg", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ",", "Imm", ")", ";", "}", "unsigned", "NumVRegs", "=", "MF", ".", "getRegInfo", "(", ")", ".", "getNumVirtRegs", "(", ")", ";", "unsigned", "NumStackRegs", "=", "0", ";", "unsigned", "CurReg", "=", "MFI", ".", "getParams", "(", ")", ".", "size", "(", ")", ";", "for", "(", "unsigned", "VRegIdx", "=", "0", ";", "VRegIdx", "<", "NumVRegs", ";", "++", "VRegIdx", ")", "{", "unsigned", "VReg", "=", "TargetRegisterInfo", "::", "index2VirtReg", "(", "VRegIdx", ")", ";", "if", "(", "MRI", ".", "use_empty", "(", "VReg", ")", ")", "continue", ";", "if", "(", "MFI", ".", "isVRegStackified", "(", "VReg", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"VReg \"", "<<", "VReg", "<<", "\" -> WAReg \"", "<<", "(", "INT32_MIN", "|", "NumStackRegs", ")", "<<", "\"\\n\"", ")", ";", "MFI", ".", "setWAReg", "(", "VReg", ",", "INT32_MIN", "|", "NumStackRegs", "++", ")", ";", "continue", ";", "}", "if", "(", "MFI", ".", "getWAReg", "(", "VReg", ")", "==", "WebAssemblyFunctionInfo", "::", "UnusedReg", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"VReg \"", "<<", "VReg", "<<", "\" -> WAReg \"", "<<", "CurReg", "<<", "\"\\n\"", ")", ";", "MFI", ".", "setWAReg", "(", "VReg", ",", "CurReg", "++", ")", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"********** Register Numbering **********\\n\"", "\"********** Function: \"", "WebAssembly", "WebAssembly", "WebAssembly::isArgument", "1", "\"Arg VReg \"", "0", "\" -> WAReg \"", "\"\\n\"", "0", "0", "0", "\"VReg \"", "\" -> WAReg \"", "\"\\n\"", "WebAssembly", "\"VReg \"", "\" -> WAReg \"", "\"\\n\""], "File": "WebAssemblyRegNumbering2", "Func": "runOnMachineFunction", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 88, "Length": 312, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonCommonGEP", "::", "removeDeadCode", "(", ")", "{", "ValueVect", "BO", ";", "BO", ".", "push_back", "(", "&", "Fn", "->", "front", "(", ")", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "BO", ".", "size", "(", ")", ";", "++", "i", ")", "{", "BasicBlock", "*", "B", "=", "cast", "<", "BasicBlock", ">", "(", "BO", "[", "i", "]", ")", ";", "for", "(", "auto", "DTN", ":", "children", "<", "DomTreeNode", "*", ">", "(", "DT", "->", "getNode", "(", "B", ")", ")", ")", "BO", ".", "push_back", "(", "DTN", "->", "getBlock", "(", ")", ")", ";", "}", "for", "(", "unsigned", "i", "=", "BO", ".", "size", "(", ")", ";", "i", ">", "0", ";", "--", "i", ")", "{", "BasicBlock", "*", "B", "=", "cast", "<", "BasicBlock", ">", "(", "BO", "[", "i", "-", "1", "]", ")", ";", "BasicBlock", "::", "InstListType", "&", "IL", "=", "B", "->", "getInstList", "(", ")", ";", "using", "reverse_iterator", "=", "BasicBlock", "::", "InstListType", "::", "reverse_iterator", ";", "ValueVect", "Ins", ";", "for", "(", "reverse_iterator", "I", "=", "IL", ".", "rbegin", "(", ")", ",", "E", "=", "IL", ".", "rend", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "Ins", ".", "push_back", "(", "&", "*", "I", ")", ";", "for", "(", "ValueVect", "::", "iterator", "I", "=", "Ins", ".", "begin", "(", ")", ",", "E", "=", "Ins", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "Instruction", "*", "In", "=", "cast", "<", "Instruction", ">", "(", "*", "I", ")", ";", "if", "(", "isInstructionTriviallyDead", "(", "In", ")", ")", "In", "->", "eraseFromParent", "(", ")", ";", "}", "}", "}", ""], "natrual_language": ["Remove", "all", "dead", "instructions", "between", "the", "I", "and", "E", "."], "TS_V_token": ["Hexagon", "Hexagon", "0", "0", "1"], "File": "HexagonCommonGEP11", "Func": "removeDeadCode", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 89, "Length": 240, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsModuleDAGToDAGISel", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "errs", "(", ")", "<<", "\"In MipsModuleDAGToDAGISel::runMachineFunction\\n\"", ")", ";", "auto", "&", "TPC", "=", "getAnalysis", "<", "TargetPassConfig", ">", "(", ")", ";", "auto", "&", "TM", "=", "TPC", ".", "getTM", "<", "MipsTargetMachine", ">", "(", ")", ";", "TM", ".", "resetSubtarget", "(", "&", "MF", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "\"In MipsModuleDAGToDAGISel::runMachineFunction\\n\"", "Mips"], "File": "MipsModuleISelDAGToDAG10", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 90, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "nvptx_vpropagate", "(", "bool", "is_call", ",", "basic_block", "block", ",", "rtx_insn", "*", "insn", ")", "{", "return", "nvptx_propagate", "(", "is_call", ",", "block", ",", "insn", ",", "PM_read_write", ",", "vprop_gen", ",", "0", ")", ";", "}", ""], "natrual_language": ["Propagate", "state", "that", "is", "live", "at", "start", "of", "BLOCK", "across", "the", "vectors", "of", "a", "single", "warp", ".", "Propagation", "is", "inserted", "just", "after", "INSN", ".", "IS_CALL", "and", "return", "as", "for", "nvptx_propagate", "."], "TS_V_token": ["nvptx", "0"], "File": "nvptx5", "Func": "nvptx_vpropagate", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 91, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "rx_cc_modes_compatible", "(", "machine_mode", "m1", ",", "machine_mode", "m2", ")", "{", "unsigned", "f", ";", "if", "(", "m1", "==", "m2", ")", "return", "m1", ";", "f", "=", "flags_from_mode", "(", "m1", ")", "|", "flags_from_mode", "(", "m2", ")", ";", "if", "(", "f", "&", "CC_FLAG_FP", ")", "return", "VOIDmode", ";", "return", "mode_from_flags", "(", "f", ")", ";", "}", ""], "natrual_language": ["Return", "a", "CC_MODE", "of", "which", "both", "M1", "and", "M2", "are", "subsets", "."], "TS_V_token": ["rx"], "File": "rx", "Func": "rx_cc_modes_compatible", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 92, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "SparcTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "TargetRegisterInfo", "*", "TRI", ",", "const", "std", "::", "string", "&", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'r'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "SP", "::", "IntRegsRegClass", ")", ";", "}", "}", "else", "if", "(", "!", "Constraint", ".", "empty", "(", ")", "&&", "Constraint", ".", "size", "(", ")", "<=", "5", "&&", "Constraint", "[", "0", "]", "==", "'{'", "&&", "*", "(", "Constraint", ".", "end", "(", ")", "-", "1", ")", "==", "'}'", ")", "{", "StringRef", "name", "(", "Constraint", ".", "data", "(", ")", "+", "1", ",", "Constraint", ".", "size", "(", ")", "-", "2", ")", ";", "uint64_t", "intVal", "=", "0", ";", "if", "(", "name", ".", "substr", "(", "0", ",", "1", ")", ".", "equals", "(", "\"r\"", ")", "&&", "!", "name", ".", "substr", "(", "1", ")", ".", "getAsInteger", "(", "10", ",", "intVal", ")", "&&", "intVal", "<=", "31", ")", "{", "const", "char", "regTypes", "[", "]", "=", "{", "'g'", ",", "'o'", ",", "'l'", ",", "'i'", "}", ";", "char", "regType", "=", "regTypes", "[", "intVal", "/", "8", "]", ";", "char", "regIdx", "=", "'0'", "+", "(", "intVal", "%", "8", ")", ";", "char", "tmp", "[", "]", "=", "{", "'{'", ",", "regType", ",", "regIdx", ",", "'}'", ",", "0", "}", ";", "std", "::", "string", "newConstraint", "=", "std", "::", "string", "(", "tmp", ")", ";", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "TRI", ",", "newConstraint", ",", "VT", ")", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "TRI", ",", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["Sparc", "Sparc", "1", "0", "0U", "SP::IntRegsRegClass", "5", "0", "1", "1", "2", "0", "0", "1", "\"r\"", "1", "10", "31", "8", "8", "0"], "File": "SparcISelLowering34", "Func": "getRegForInlineAsmConstraint", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 93, "Length": 261, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addPreserved", "<", "SlotIndexes", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "LiveIntervals", ">", "(", ")", ";", "AU", ".", "addPreservedID", "(", "LiveVariablesID", ")", ";", "AU", ".", "addPreservedID", "(", "MachineLoopInfoID", ")", ";", "AU", ".", "addPreservedID", "(", "MachineDominatorsID", ")", ";", "AU", ".", "setPreservesCFG", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AMDGPU"], "File": "SIFixWWMLiveness", "Func": "getAnalysisUsage", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 94, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "AArch64InstrInfo", "::", "foldMemoryOperandImpl", "(", "MachineFunction", "&", "MF", ",", "MachineInstr", "*", "MI", ",", "ArrayRef", "<", "unsigned", ">", "Ops", ",", "MachineBasicBlock", "::", "iterator", "InsertPt", ",", "int", "FrameIndex", ")", "const", "{", "if", "(", "MI", "->", "isCopy", "(", ")", ")", "{", "unsigned", "DstReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "unsigned", "SrcReg", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "if", "(", "SrcReg", "==", "AArch64", "::", "SP", "&&", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "DstReg", ")", ")", "{", "MF", ".", "getRegInfo", "(", ")", ".", "constrainRegClass", "(", "DstReg", ",", "&", "AArch64", "::", "GPR64RegClass", ")", ";", "return", "nullptr", ";", "}", "if", "(", "DstReg", "==", "AArch64", "::", "SP", "&&", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "SrcReg", ")", ")", "{", "MF", ".", "getRegInfo", "(", ")", ".", "constrainRegClass", "(", "SrcReg", ",", "&", "AArch64", "::", "GPR64RegClass", ")", ";", "return", "nullptr", ";", "}", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["foldMemoryOperand", "-", "Same", "as", "the", "previous", "version", "except", "it", "allows", "folding", "of", "any", "load", "and", "store", "from", "/", "to", "any", "address", ",", "not", "just", "from", "a", "specific", "stack", "slot", "."], "TS_V_token": ["AArch64", "AArch64", "0", "1", "AArch64::SP", "AArch64::GPR64RegClass", "AArch64::SP", "AArch64::GPR64RegClass"], "File": "AArch64InstrInfo1", "Func": "foldMemoryOperandImpl", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 95, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mips_adjust_cost", "(", "rtx", "insn", "ATTRIBUTE_UNUSED", ",", "rtx", "link", ",", "rtx", "dep", "ATTRIBUTE_UNUSED", ",", "int", "cost", ")", "{", "if", "(", "REG_NOTE_KIND", "(", "link", ")", "!=", "0", ")", "return", "0", ";", "return", "cost", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SCHED_ADJUST_COST", ".", "We", "assume", "that", "anti", "and", "output", "dependencies", "have", "no", "cost", "."], "TS_V_token": ["mips", "0", "0"], "File": "mips3", "Func": "mips_adjust_cost", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 96, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "s390_end_pool", "(", "struct", "constant_pool", "*", "pool", ",", "rtx_insn", "*", "insn", ")", "{", "rtx", "pool_size", "=", "GEN_INT", "(", "pool", "->", "size", "+", "8", ")", ";", "if", "(", "!", "insn", ")", "insn", "=", "get_last_insn", "(", ")", ";", "pool", "->", "pool_insn", "=", "emit_insn_after", "(", "gen_pool", "(", "pool_size", ")", ",", "insn", ")", ";", "INSN_ADDRESSES_NEW", "(", "pool", "->", "pool_insn", ",", "-", "1", ")", ";", "}", ""], "natrual_language": ["End", "range", "of", "instructions", "covered", "by", "POOL", "at", "INSN", "and", "emit", "placeholder", "insn", "representing", "the", "pool", "."], "TS_V_token": ["s390", "8", "1"], "File": "s390", "Func": "s390_end_pool", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 97, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Z80oldFrameLowering", "::", "assignCalleeSavedSpillSlots", "(", "MachineFunction", "&", "MF", ",", "const", "TargetRegisterInfo", "*", "TRI", ",", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ")", "const", "{", "MF", ".", "getInfo", "<", "Z80oldMachineFunctionInfo", ">", "(", ")", "->", "setCalleeSavedFrameSize", "(", "(", "CSI", ".", "size", "(", ")", "+", "hasFP", "(", "MF", ")", ")", "*", "SlotSize", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "function", "will", "assign", "callee", "saved", "gprs", "to", "volatile", "vector", "registers", "for", "prologue", "spills", "when", "applicable", "."], "TS_V_token": ["Z80old", "Z80old", "Z80old"], "File": "Z80oldFrameLowering", "Func": "assignCalleeSavedSpillSlots", "Target": "Z80old", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 98, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_issue_rate", "(", "void", ")", "{", "if", "(", "!", "reload_completed", "&&", "!", "flag_sched_pressure", ")", "return", "1", ";", "switch", "(", "rs6000_tune", ")", "{", "case", "PROCESSOR_RS64A", ":", "case", "PROCESSOR_PPC601", ":", "case", "PROCESSOR_PPC7450", ":", "return", "3", ";", "case", "PROCESSOR_PPC440", ":", "case", "PROCESSOR_PPC603", ":", "case", "PROCESSOR_PPC750", ":", "case", "PROCESSOR_PPC7400", ":", "case", "PROCESSOR_PPC8540", ":", "case", "PROCESSOR_PPC8548", ":", "case", "PROCESSOR_CELL", ":", "case", "PROCESSOR_PPCE300C2", ":", "case", "PROCESSOR_PPCE300C3", ":", "case", "PROCESSOR_PPCE500MC", ":", "case", "PROCESSOR_PPCE500MC64", ":", "case", "PROCESSOR_PPCE5500", ":", "case", "PROCESSOR_PPCE6500", ":", "case", "PROCESSOR_TITAN", ":", "return", "2", ";", "case", "PROCESSOR_PPC476", ":", "case", "PROCESSOR_PPC604", ":", "case", "PROCESSOR_PPC604e", ":", "case", "PROCESSOR_PPC620", ":", "case", "PROCESSOR_PPC630", ":", "return", "4", ";", "case", "PROCESSOR_POWER4", ":", "case", "PROCESSOR_POWER5", ":", "case", "PROCESSOR_POWER6", ":", "case", "PROCESSOR_POWER7", ":", "return", "5", ";", "case", "PROCESSOR_POWER8", ":", "return", "7", ";", "case", "PROCESSOR_POWER9", ":", "return", "6", ";", "case", "PROCESSOR_POWER10", ":", "return", "8", ";", "default", ":", "return", "1", ";", "}", "}", ""], "natrual_language": ["Return", "how", "many", "instructions", "the", "machine", "can", "issue", "per", "cycle", "."], "TS_V_token": ["rs6000", "1", "3", "2", "4", "5", "7", "6", "8", "1"], "File": "rs6000", "Func": "rs6000_issue_rate", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 99, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDValue", "Res", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Don't know how to custom expand this!\"", ")", ";", "case", "ISD", "::", "READ_REGISTER", ":", "ExpandREAD_REGISTER", "(", "N", ",", "Results", ",", "DAG", ")", ";", "break", ";", "case", "ISD", "::", "BITCAST", ":", "Res", "=", "ExpandBITCAST", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "break", ";", "case", "ISD", "::", "SRL", ":", "case", "ISD", "::", "SRA", ":", "Res", "=", "Expand64BitShift", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "break", ";", "case", "ISD", "::", "SREM", ":", "case", "ISD", "::", "UREM", ":", "Res", "=", "LowerREM", "(", "N", ",", "DAG", ")", ";", "break", ";", "case", "ISD", "::", "SDIVREM", ":", "case", "ISD", "::", "UDIVREM", ":", "Res", "=", "LowerDivRem", "(", "SDValue", "(", "N", ",", "0", ")", ",", "DAG", ")", ";", "assert", "(", "Res", ".", "getNumOperands", "(", ")", "==", "2", "&&", "\"DivRem needs two values\"", ")", ";", "Results", ".", "push_back", "(", "Res", ".", "getValue", "(", "0", ")", ")", ";", "Results", ".", "push_back", "(", "Res", ".", "getValue", "(", "1", ")", ")", ";", "return", ";", "case", "ISD", "::", "READCYCLECOUNTER", ":", "ReplaceREADCYCLECOUNTER", "(", "N", ",", "Results", ",", "DAG", ",", "Subtarget", ")", ";", "return", ";", "case", "ISD", "::", "UDIV", ":", "case", "ISD", "::", "SDIV", ":", "assert", "(", "Subtarget", "->", "isTargetWindows", "(", ")", "&&", "\"can only expand DIV on Windows\"", ")", ";", "return", "ExpandDIV_Windows", "(", "SDValue", "(", "N", ",", "0", ")", ",", "DAG", ",", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "SDIV", ",", "Results", ")", ";", "case", "ISD", "::", "ATOMIC_CMP_SWAP", ":", "ReplaceCMP_SWAP_64Results", "(", "N", ",", "Results", ",", "DAG", ")", ";", "return", ";", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "ReplaceLongIntrinsic", "(", "N", ",", "Results", ",", "DAG", ")", ";", "case", "ISD", "::", "ABS", ":", "lowerABS", "(", "N", ",", "Results", ",", "DAG", ")", ";", "return", ";", "}", "if", "(", "Res", ".", "getNode", "(", ")", ")", "Results", ".", "push_back", "(", "Res", ")", ";", "}", ""], "natrual_language": ["ReplaceNodeResults", "-", "Replace", "the", "results", "of", "node", "with", "an", "illegal", "result", "type", "with", "new", "values", "built", "out", "of", "custom", "code", "."], "TS_V_token": ["ARM", "ARM", "\"Don't know how to custom expand this!\"", "ISD::READ_REGISTER", "ISD::BITCAST", "ISD::SRL", "ISD::SRA", "ISD::SREM", "ISD::UREM", "ISD::SDIVREM", "ISD::UDIVREM", "0", "2", "\"DivRem needs two values\"", "0", "1", "ISD::READCYCLECOUNTER", "ISD::UDIV", "ISD::SDIV", "\"can only expand DIV on Windows\"", "0", "ISD::SDIV", "ISD::ATOMIC_CMP_SWAP", "ISD::INTRINSIC_WO_CHAIN", "ISD::ABS"], "File": "ARMISelLowering122", "Func": "ReplaceNodeResults", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 100, "Length": 310, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "TOYTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "TOYPassConfig", "(", "this", ",", "PM", ")", ";", "}", ""], "natrual_language": ["Create", "a", "pass", "configuration", "object", "to", "be", "used", "by", "addPassToEmitX", "methods", "for", "generating", "a", "pipeline", "of", "CodeGen", "passes", "."], "TS_V_token": ["TOY", "TOY", "TOY"], "File": "TOYTargetMachine", "Func": "createPassConfig", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 101, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "M68kAsmBackend", "::", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ")", "const", "{", "if", "(", "Count", "%", "2", "!=", "0", ")", "return", "false", ";", "uint64_t", "NumNops", "=", "Count", "/", "2", ";", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "!=", "NumNops", ";", "++", "i", ")", "{", "OS", "<<", "\"\\x4E\\x71\"", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["M68k", "M68k", "2", "0", "2", "0", "\"\\x4E\\x71\""], "File": "M68kAsmBackend3", "Func": "writeNopData", "Target": "M68k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 102, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "tilepro_expand_const_mulsi", "(", "rtx", "op0", ",", "rtx", "op1", ",", "int", "multiplier", ")", "{", "const", "struct", "tilepro_multiply_insn_seq", "*", "seq", "=", "tilepro_find_multiply_insn_seq_for_constant", "(", "multiplier", ")", ";", "if", "(", "seq", "!=", "NULL", ")", "{", "tilepro_expand_constant_multiply_given_sequence", "(", "op0", ",", "op1", ",", "seq", ")", ";", "return", "true", ";", "}", "else", "return", "false", ";", "}", ""], "natrual_language": ["Try", "to", "a", "expand", "constant", "multiply", "in", "SImode", "by", "looking", "it", "up", "in", "a", "precompiled", "table", ".", "OP0", "is", "the", "result", "operand", ",", "OP1", "is", "the", "source", "operand", ",", "and", "MULTIPLIER", "is", "the", "value", "of", "the", "constant", ".", "Return", "true", "if", "it", "succeeds", "."], "TS_V_token": ["tilepro"], "File": "tilepro", "Func": "tilepro_expand_const_mulsi", "Target": "tilepro", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 103, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MSP430TargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InFlag", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC_MSP430", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ",", "RVLocs", "[", "i", "]", ".", "getValVT", "(", ")", ",", "InFlag", ")", ".", "getValue", "(", "1", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "2", ")", ";", "InVals", ".", "push_back", "(", "Chain", ".", "getValue", "(", "0", ")", ")", ";", "}", "return", "Chain", ";", "}", ""], "natrual_language": ["LowerCallResult", "-", "Lower", "the", "result", "values", "of", "an", "ISD", ":", ":CALL", "into", "the", "appropriate", "copies", "out", "of", "appropriate", "physical", "registers", "."], "TS_V_token": ["MSP430", "MSP430", "ISD::InputArg", "16", "MSP430", "0", "1", "2", "0"], "File": "MSP430ISelLowering39", "Func": "LowerCallResult", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 104, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getMaxSupportedInterleaveFactor", "(", ")", "const", "override", "{", "return", "4", ";", "}", ""], "natrual_language": ["Get", "the", "maximum", "supported", "factor", "for", "interleaved", "memory", "accesses", "."], "TS_V_token": ["AArch64", "4"], "File": "AArch64ISelLowering (2)", "Func": "getMaxSupportedInterleaveFactor", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 105, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonShuffler", "::", "append", "(", "MCInst", "const", "&", "ID", ",", "MCInst", "const", "*", "Extender", ",", "unsigned", "S", ")", "{", "HexagonInstr", "PI", "(", "MCII", ",", "STI", ",", "&", "ID", ",", "Extender", ",", "S", ")", ";", "Packet", ".", "push_back", "(", "PI", ")", ";", "}", ""], "natrual_language": ["Append", "from", "a", "list", "of", "StringRefs", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon"], "File": "HexagonShuffler10", "Func": "append", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 106, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIInstrInfo", "::", "isInlineConstant", "(", "const", "MachineOperand", "&", "MO", ",", "uint8_t", "OperandType", ")", "const", "{", "if", "(", "!", "MO", ".", "isImm", "(", ")", "||", "OperandType", "<", "AMDGPU", "::", "OPERAND_SRC_FIRST", "||", "OperandType", ">", "AMDGPU", "::", "OPERAND_SRC_LAST", ")", "return", "false", ";", "int64_t", "Imm", "=", "MO", ".", "getImm", "(", ")", ";", "switch", "(", "OperandType", ")", "{", "case", "AMDGPU", "::", "OPERAND_REG_IMM_INT32", ":", "case", "AMDGPU", "::", "OPERAND_REG_IMM_FP32", ":", "case", "AMDGPU", "::", "OPERAND_REG_INLINE_C_INT32", ":", "case", "AMDGPU", "::", "OPERAND_REG_INLINE_C_FP32", ":", "{", "int32_t", "Trunc", "=", "static_cast", "<", "int32_t", ">", "(", "Imm", ")", ";", "return", "AMDGPU", "::", "isInlinableLiteral32", "(", "Trunc", ",", "ST", ".", "hasInv2PiInlineImm", "(", ")", ")", ";", "}", "case", "AMDGPU", "::", "OPERAND_REG_IMM_INT64", ":", "case", "AMDGPU", "::", "OPERAND_REG_IMM_FP64", ":", "case", "AMDGPU", "::", "OPERAND_REG_INLINE_C_INT64", ":", "case", "AMDGPU", "::", "OPERAND_REG_INLINE_C_FP64", ":", "return", "AMDGPU", "::", "isInlinableLiteral64", "(", "MO", ".", "getImm", "(", ")", ",", "ST", ".", "hasInv2PiInlineImm", "(", ")", ")", ";", "case", "AMDGPU", "::", "OPERAND_REG_IMM_INT16", ":", "case", "AMDGPU", "::", "OPERAND_REG_IMM_FP16", ":", "case", "AMDGPU", "::", "OPERAND_REG_INLINE_C_INT16", ":", "case", "AMDGPU", "::", "OPERAND_REG_INLINE_C_FP16", ":", "{", "if", "(", "isInt", "<", "16", ">", "(", "Imm", ")", "||", "isUInt", "<", "16", ">", "(", "Imm", ")", ")", "{", "int16_t", "Trunc", "=", "static_cast", "<", "int16_t", ">", "(", "Imm", ")", ";", "return", "ST", ".", "has16BitInsts", "(", ")", "&&", "AMDGPU", "::", "isInlinableLiteral16", "(", "Trunc", ",", "ST", ".", "hasInv2PiInlineImm", "(", ")", ")", ";", "}", "return", "false", ";", "}", "case", "AMDGPU", "::", "OPERAND_REG_INLINE_C_V2INT16", ":", "case", "AMDGPU", "::", "OPERAND_REG_INLINE_C_V2FP16", ":", "{", "if", "(", "isUInt", "<", "16", ">", "(", "Imm", ")", ")", "{", "int16_t", "Trunc", "=", "static_cast", "<", "int16_t", ">", "(", "Imm", ")", ";", "return", "ST", ".", "has16BitInsts", "(", ")", "&&", "AMDGPU", "::", "isInlinableLiteral16", "(", "Trunc", ",", "ST", ".", "hasInv2PiInlineImm", "(", ")", ")", ";", "}", "if", "(", "!", "(", "Imm", "&", "0xffff", ")", ")", "{", "return", "ST", ".", "has16BitInsts", "(", ")", "&&", "AMDGPU", "::", "isInlinableLiteral16", "(", "Imm", ">>", "16", ",", "ST", ".", "hasInv2PiInlineImm", "(", ")", ")", ";", "}", "uint32_t", "Trunc", "=", "static_cast", "<", "uint32_t", ">", "(", "Imm", ")", ";", "return", "AMDGPU", "::", "isInlinableLiteralV216", "(", "Trunc", ",", "ST", ".", "hasInv2PiInlineImm", "(", ")", ")", ";", "}", "default", ":", "llvm_unreachable", "(", "\"invalid bitwidth\"", ")", ";", "}", "}", ""], "natrual_language": ["returns", "true", "if", "the", "operand", "OpIdx", "in", "MI", "is", "a", "valid", "inline", "immediate", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU::OPERAND_SRC_FIRST", "AMDGPU::OPERAND_SRC_LAST", "AMDGPU::OPERAND_REG_IMM_INT32", "AMDGPU::OPERAND_REG_IMM_FP32", "AMDGPU::OPERAND_REG_INLINE_C_INT32", "AMDGPU::OPERAND_REG_INLINE_C_FP32", "AMDGPU::isInlinableLiteral32", "AMDGPU::OPERAND_REG_IMM_INT64", "AMDGPU::OPERAND_REG_IMM_FP64", "AMDGPU::OPERAND_REG_INLINE_C_INT64", "AMDGPU::OPERAND_REG_INLINE_C_FP64", "AMDGPU::isInlinableLiteral64", "AMDGPU::OPERAND_REG_IMM_INT16", "AMDGPU::OPERAND_REG_IMM_FP16", "AMDGPU::OPERAND_REG_INLINE_C_INT16", "AMDGPU::OPERAND_REG_INLINE_C_FP16", "16", "16", "AMDGPU::isInlinableLiteral16", "AMDGPU::OPERAND_REG_INLINE_C_V2INT16", "AMDGPU::OPERAND_REG_INLINE_C_V2FP16", "16", "AMDGPU::isInlinableLiteral16", "0xffff", "AMDGPU::isInlinableLiteral16", "16", "AMDGPU::isInlinableLiteralV216", "\"invalid bitwidth\""], "File": "SIInstrInfo1", "Func": "isInlineConstant", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 107, "Length": 336, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "ARMTargetLowering", "::", "getRegClassFor", "(", "MVT", "VT", ",", "bool", "isDivergent", ")", "const", "{", "(", "void", ")", "isDivergent", ";", "if", "(", "Subtarget", "->", "hasNEON", "(", ")", ")", "{", "if", "(", "VT", "==", "MVT", "::", "v4i64", ")", "return", "&", "ARM", "::", "QQPRRegClass", ";", "if", "(", "VT", "==", "MVT", "::", "v8i64", ")", "return", "&", "ARM", "::", "QQQQPRRegClass", ";", "}", "if", "(", "Subtarget", "->", "hasMVEIntegerOps", "(", ")", ")", "{", "if", "(", "VT", "==", "MVT", "::", "v4i64", ")", "return", "&", "ARM", "::", "MQQPRRegClass", ";", "if", "(", "VT", "==", "MVT", "::", "v8i64", ")", "return", "&", "ARM", "::", "MQQQQPRRegClass", ";", "}", "return", "TargetLowering", "::", "getRegClassFor", "(", "VT", ")", ";", "}", ""], "natrual_language": ["Return", "the", "register", "class", "that", "should", "be", "used", "for", "the", "specified", "value", "type", "."], "TS_V_token": ["ARM", "ARM", "MVT::v4i64", "ARM::QQPRRegClass", "MVT::v8i64", "ARM::QQQQPRRegClass", "MVT::v4i64", "ARM::MQQPRRegClass", "MVT::v8i64", "ARM::MQQQQPRRegClass"], "File": "ARMISelLowering (2)5", "Func": "getRegClassFor", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 108, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isPPC64", "(", ")", "const", "{", "const", "Triple", "&", "TT", "=", "getTargetTriple", "(", ")", ";", "return", "(", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "ppc64", "||", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "ppc64le", ")", ";", "}", ""], "natrual_language": ["Tests", "whether", "the", "target", "is", "64-bit", "PowerPC", "(", "little", "and", "big", "endian", ")", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCTargetMachine10", "Func": "isPPC64", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 109, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "isFPImmLegal", "(", "const", "APFloat", "&", "Imm", ",", "EVT", "VT", ",", "bool", "ForCodeSize", ")", "const", "{", "if", "(", "VT", "==", "MVT", "::", "f16", "&&", "!", "Subtarget", ".", "hasStdExtZfh", "(", ")", ")", "return", "false", ";", "if", "(", "VT", "==", "MVT", "::", "f32", "&&", "!", "Subtarget", ".", "hasStdExtF", "(", ")", ")", "return", "false", ";", "if", "(", "VT", "==", "MVT", "::", "f64", "&&", "!", "Subtarget", ".", "hasStdExtD", "(", ")", ")", "return", "false", ";", "if", "(", "Imm", ".", "isNegZero", "(", ")", ")", "return", "false", ";", "return", "Imm", ".", "isZero", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "can", "instruction", "select", "the", "specified", "FP", "immediate", "natively", "."], "TS_V_token": ["RISCV", "RISCV", "MVT::f16", "MVT::f32", "MVT::f64"], "File": "RISCVISelLowering1", "Func": "isFPImmLegal", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 110, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCRegister", "ARMElfTargetObjectFile", "::", "getStaticBase", "(", ")", "const", "{", "return", "ARM", "::", "R9", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "used", "as", "static", "base", "in", "RWPI", "variants", "."], "TS_V_token": ["ARM", "ARM", "ARM::R9"], "File": "ARMTargetObjectFile38", "Func": "getStaticBase", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 111, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TMS320C64XFrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["TMS320C64X", "TMS320C64X"], "File": "TMS320C64XFrameLowering", "Func": "hasFP", "Target": "TMS320C64X", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 112, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_pass_by_reference", "(", "cumulative_args_t", "cum", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "!", "type", ")", "return", "0", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "TARGET_IEEEQUAD", "&&", "FLOAT128_IEEE_P", "(", "TYPE_MODE", "(", "type", ")", ")", ")", "{", "if", "(", "TARGET_DEBUG_ARG", ")", "fprintf", "(", "stderr", ",", "\"function_arg_pass_by_reference: V4 IEEE 128-bit\\n\"", ")", ";", "return", "1", ";", "}", "if", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "if", "(", "TARGET_DEBUG_ARG", ")", "fprintf", "(", "stderr", ",", "\"function_arg_pass_by_reference: V4 aggregate\\n\"", ")", ";", "return", "1", ";", "}", "if", "(", "int_size_in_bytes", "(", "type", ")", "<", "0", ")", "{", "if", "(", "TARGET_DEBUG_ARG", ")", "fprintf", "(", "stderr", ",", "\"function_arg_pass_by_reference: variable size\\n\"", ")", ";", "return", "1", ";", "}", "if", "(", "TARGET_32BIT", "&&", "!", "TARGET_ALTIVEC_ABI", "&&", "ALTIVEC_VECTOR_MODE", "(", "mode", ")", ")", "{", "if", "(", "TARGET_DEBUG_ARG", ")", "fprintf", "(", "stderr", ",", "\"function_arg_pass_by_reference: AltiVec\\n\"", ")", ";", "return", "1", ";", "}", "if", "(", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", "&&", "int_size_in_bytes", "(", "type", ")", ">", "(", "TARGET_ALTIVEC_ABI", "?", "16", ":", "8", ")", ")", "{", "static", "bool", "warned_for_pass_big_vectors", "=", "false", ";", "if", "(", "TARGET_DEBUG_ARG", ")", "fprintf", "(", "stderr", ",", "\"function_arg_pass_by_reference: synthetic vector\\n\"", ")", ";", "if", "(", "!", "warned_for_pass_big_vectors", ")", "{", "warning", "(", "OPT_Wpsabi", ",", "\"GCC vector passed by reference: \"", "\"non-standard ABI extension with no compatibility guarantee\"", ")", ";", "warned_for_pass_big_vectors", "=", "true", ";", "}", "return", "1", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["A", "C", "expression", "that", "indicates", "when", "an", "argument", "must", "be", "passed", "by", "reference", ".", "If", "nonzero", "for", "an", "argument", ",", "a", "copy", "of", "that", "argument", "is", "made", "in", "memory", "and", "a", "pointer", "to", "the", "argument", "is", "passed", "instead", "of", "the", "argument", "itself", ".", "The", "pointer", "is", "passed", "in", "whatever", "way", "is", "appropriate", "for", "passing", "a", "pointer", "to", "that", "type", ".", "Under", "V.4", ",", "aggregates", "and", "long", "double", "are", "passed", "by", "reference", ".", "As", "an", "extension", "to", "all", "32-bit", "ABIs", ",", "AltiVec", "vectors", "are", "passed", "by", "reference", "unless", "the", "AltiVec", "vector", "extension", "ABI", "is", "in", "force", ".", "As", "an", "extension", "to", "all", "ABIs", ",", "variable", "sized", "types", "are", "passed", "by", "reference", "."], "TS_V_token": ["rs6000", "0", "\"function_arg_pass_by_reference: V4 IEEE 128-bit\\n\"", "1", "\"function_arg_pass_by_reference: V4 aggregate\\n\"", "1", "0", "\"function_arg_pass_by_reference: variable size\\n\"", "1", "\"function_arg_pass_by_reference: AltiVec\\n\"", "1", "16", "8", "\"function_arg_pass_by_reference: synthetic vector\\n\"", "\"GCC vector passed by reference: \"", "\"non-standard ABI extension with no compatibility guarantee\"", "1", "0"], "File": "rs60006", "Func": "rs6000_pass_by_reference", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 113, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Z80oldRegisterInfo", "::", "isFrameOffsetLegal", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "BaseReg", ",", "int64_t", "Offset", ")", "const", "{", "return", "isInt", "<", "8", ">", "(", "Offset", ")", ";", "}", ""], "natrual_language": ["Determine", "whether", "a", "given", "base", "register", "plus", "offset", "immediate", "is", "encodable", "to", "resolve", "a", "frame", "index", "."], "TS_V_token": ["Z80old", "Z80old", "8"], "File": "Z80oldRegisterInfo", "Func": "isFrameOffsetLegal", "Target": "Z80old", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 114, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"AMDGPU Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["R600", "\"AMDGPU Assembly Printer\""], "File": "AMDGPUAsmPrinter21", "Func": "getPassName", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 115, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sparc64_initialize_trampoline", "(", "rtx", "m_tramp", ",", "rtx", "fnaddr", ",", "rtx", "cxt", ")", "{", "emit_move_insn", "(", "adjust_address", "(", "m_tramp", ",", "SImode", ",", "0", ")", ",", "GEN_INT", "(", "trunc_int_for_mode", "(", "0x83414000", ",", "SImode", ")", ")", ")", ";", "emit_move_insn", "(", "adjust_address", "(", "m_tramp", ",", "SImode", ",", "4", ")", ",", "GEN_INT", "(", "trunc_int_for_mode", "(", "0xca586018", ",", "SImode", ")", ")", ")", ";", "emit_move_insn", "(", "adjust_address", "(", "m_tramp", ",", "SImode", ",", "8", ")", ",", "GEN_INT", "(", "trunc_int_for_mode", "(", "0x81c14000", ",", "SImode", ")", ")", ")", ";", "emit_move_insn", "(", "adjust_address", "(", "m_tramp", ",", "SImode", ",", "12", ")", ",", "GEN_INT", "(", "trunc_int_for_mode", "(", "0xca586010", ",", "SImode", ")", ")", ")", ";", "emit_move_insn", "(", "adjust_address", "(", "m_tramp", ",", "DImode", ",", "16", ")", ",", "cxt", ")", ";", "emit_move_insn", "(", "adjust_address", "(", "m_tramp", ",", "DImode", ",", "24", ")", ",", "fnaddr", ")", ";", "emit_insn", "(", "gen_flush", "(", "DImode", ",", "validize_mem", "(", "adjust_address", "(", "m_tramp", ",", "DImode", ",", "0", ")", ")", ")", ")", ";", "if", "(", "sparc_cpu", "!=", "PROCESSOR_ULTRASPARC", "&&", "sparc_cpu", "!=", "PROCESSOR_ULTRASPARC3", "&&", "sparc_cpu", "!=", "PROCESSOR_NIAGARA", "&&", "sparc_cpu", "!=", "PROCESSOR_NIAGARA2", "&&", "sparc_cpu", "!=", "PROCESSOR_NIAGARA3", "&&", "sparc_cpu", "!=", "PROCESSOR_NIAGARA4", "&&", "sparc_cpu", "!=", "PROCESSOR_NIAGARA7", "&&", "sparc_cpu", "!=", "PROCESSOR_M8", ")", "emit_insn", "(", "gen_flush", "(", "DImode", ",", "validize_mem", "(", "adjust_address", "(", "m_tramp", ",", "DImode", ",", "8", ")", ")", ")", ")", ";", "emit_library_call", "(", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "\"__enable_execute_stack\"", ")", ",", "LCT_NORMAL", ",", "VOIDmode", ",", "XEXP", "(", "m_tramp", ",", "0", ")", ",", "Pmode", ")", ";", "}", ""], "natrual_language": ["The", "64", "bit", "version", "is", "simpler", "because", "it", "makes", "more", "sense", "to", "load", "the", "values", "as", "``", "immediate", "''", "data", "out", "of", "the", "trampoline", ".", "It", "'s", "also", "easier", "since", "we", "can", "read", "the", "PC", "without", "clobbering", "a", "register", "."], "TS_V_token": ["sparc", "0", "0x83414000", "4", "0xca586018", "8", "0x81c14000", "12", "0xca586010", "16", "24", "0", "8", "\"__enable_execute_stack\"", "0"], "File": "sparc", "Func": "sparc64_initialize_trampoline", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 116, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "RISCVTargetLowering", "::", "emitMaskedAtomicCmpXchgIntrinsic", "(", "IRBuilderBase", "&", "Builder", ",", "AtomicCmpXchgInst", "*", "CI", ",", "Value", "*", "AlignedAddr", ",", "Value", "*", "CmpVal", ",", "Value", "*", "NewVal", ",", "Value", "*", "Mask", ",", "AtomicOrdering", "Ord", ")", "const", "{", "assert", "(", "!", "RISCVABI", "::", "isCheriPureCapABI", "(", "Subtarget", ".", "getTargetABI", "(", ")", ")", ")", ";", "unsigned", "XLen", "=", "Subtarget", ".", "getXLen", "(", ")", ";", "Value", "*", "Ordering", "=", "Builder", ".", "getIntN", "(", "XLen", ",", "static_cast", "<", "uint64_t", ">", "(", "Ord", ")", ")", ";", "Intrinsic", "::", "ID", "CmpXchgIntrID", "=", "Intrinsic", "::", "riscv_masked_cmpxchg_i32", ";", "if", "(", "XLen", "==", "64", ")", "{", "CmpVal", "=", "Builder", ".", "CreateSExt", "(", "CmpVal", ",", "Builder", ".", "getInt64Ty", "(", ")", ")", ";", "NewVal", "=", "Builder", ".", "CreateSExt", "(", "NewVal", ",", "Builder", ".", "getInt64Ty", "(", ")", ")", ";", "Mask", "=", "Builder", ".", "CreateSExt", "(", "Mask", ",", "Builder", ".", "getInt64Ty", "(", ")", ")", ";", "CmpXchgIntrID", "=", "Intrinsic", "::", "riscv_masked_cmpxchg_i64", ";", "}", "Type", "*", "Tys", "[", "]", "=", "{", "AlignedAddr", "->", "getType", "(", ")", "}", ";", "Function", "*", "MaskedCmpXchg", "=", "Intrinsic", "::", "getDeclaration", "(", "CI", "->", "getModule", "(", ")", ",", "CmpXchgIntrID", ",", "Tys", ")", ";", "Value", "*", "Result", "=", "Builder", ".", "CreateCall", "(", "MaskedCmpXchg", ",", "{", "AlignedAddr", ",", "CmpVal", ",", "NewVal", ",", "Mask", ",", "Ordering", "}", ")", ";", "if", "(", "XLen", "==", "64", ")", "Result", "=", "Builder", ".", "CreateTrunc", "(", "Result", ",", "Builder", ".", "getInt32Ty", "(", ")", ")", ";", "return", "Result", ";", "}", ""], "natrual_language": ["Perform", "a", "masked", "cmpxchg", "using", "a", "target-specific", "intrinsic", "."], "TS_V_token": ["RISCV", "RISCV", "RISCVABI::isCheriPureCapABI", "Intrinsic::ID", "Intrinsic::riscv_masked_cmpxchg_i32", "64", "Intrinsic::riscv_masked_cmpxchg_i64", "Intrinsic::getDeclaration", "64"], "File": "RISCVISelLowering42", "Func": "emitMaskedAtomicCmpXchgIntrinsic", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 117, "Length": 227, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "if", "(", "MBB", ".", "isEHFuncletEntry", "(", ")", "&&", "STI", ".", "is32Bit", "(", ")", "&&", "STI", ".", "isOSWindows", "(", ")", ")", "return", "true", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "unsigned", "Opc", "=", "STI", ".", "is64Bit", "(", ")", "?", "X86", "::", "PUSH64r", ":", "X86", "::", "PUSH32r", ";", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "0", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "1", "]", ".", "getReg", "(", ")", ";", "if", "(", "!", "X86", "::", "GR64RegClass", ".", "contains", "(", "Reg", ")", "&&", "!", "X86", "::", "GR32RegClass", ".", "contains", "(", "Reg", ")", ")", "continue", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "bool", "isLiveIn", "=", "MRI", ".", "isLiveIn", "(", "Reg", ")", ";", "if", "(", "!", "isLiveIn", ")", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "bool", "CanKill", "=", "!", "isLiveIn", ";", "if", "(", "CanKill", ")", "{", "for", "(", "MCRegAliasIterator", "AReg", "(", "Reg", ",", "TRI", ",", "false", ")", ";", "AReg", ".", "isValid", "(", ")", ";", "++", "AReg", ")", "{", "if", "(", "MRI", ".", "isLiveIn", "(", "*", "AReg", ")", ")", "{", "CanKill", "=", "false", ";", "break", ";", "}", "}", "}", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ")", ".", "addReg", "(", "Reg", ",", "getKillRegState", "(", "CanKill", ")", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "0", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "1", "]", ".", "getReg", "(", ")", ";", "if", "(", "X86", "::", "GR64RegClass", ".", "contains", "(", "Reg", ")", "||", "X86", "::", "GR32RegClass", ".", "contains", "(", "Reg", ")", ")", "continue", ";", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "TII", ".", "storeRegToStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "true", ",", "CSI", "[", "i", "-", "1", "]", ".", "getFrameIdx", "(", ")", ",", "RC", ",", "TRI", ")", ";", "--", "MI", ";", "MI", "->", "setFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "++", "MI", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["spillCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "spill", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "store", "instructions", "via", "storeRegToStackSlot", "(", ")", "."], "TS_V_token": ["X86", "X86", "X86::PUSH64r", "X86::PUSH32r", "0", "1", "X86::GR64RegClass", "X86::GR32RegClass", "0", "1", "X86::GR64RegClass", "X86::GR32RegClass", "1"], "File": "X86FrameLowering (2)2", "Func": "spillCalleeSavedRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 118, "Length": 392, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_rounddf_32", "(", "rtx", "operand0", ",", "rtx", "operand1", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "operand0", ")", ";", "rtx", "xa", ",", "xa2", ",", "dxa", ",", "TWO52", ",", "tmp", ",", "half", ",", "mhalf", ",", "one", ",", "res", ",", "mask", ";", "rtx_code_label", "*", "label", ";", "TWO52", "=", "ix86_gen_TWO52", "(", "mode", ")", ";", "res", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_move_insn", "(", "res", ",", "operand1", ")", ";", "xa", "=", "ix86_expand_sse_fabs", "(", "res", ",", "&", "mask", ")", ";", "label", "=", "ix86_expand_sse_compare_and_jump", "(", "UNLE", ",", "TWO52", ",", "xa", ",", "false", ")", ";", "xa2", "=", "expand_simple_binop", "(", "mode", ",", "PLUS", ",", "xa", ",", "TWO52", ",", "NULL_RTX", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "xa2", "=", "expand_simple_binop", "(", "mode", ",", "MINUS", ",", "xa2", ",", "TWO52", ",", "xa2", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "dxa", "=", "expand_simple_binop", "(", "mode", ",", "MINUS", ",", "xa2", ",", "xa", ",", "NULL_RTX", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "half", "=", "force_reg", "(", "mode", ",", "const_double_from_real_value", "(", "dconsthalf", ",", "mode", ")", ")", ";", "one", "=", "expand_simple_binop", "(", "mode", ",", "PLUS", ",", "half", ",", "half", ",", "NULL_RTX", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "mhalf", "=", "expand_simple_binop", "(", "mode", ",", "MINUS", ",", "half", ",", "one", ",", "NULL_RTX", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "tmp", "=", "gen_reg_rtx", "(", "mode", ")", ";", "tmp", "=", "ix86_expand_sse_compare_mask", "(", "UNGT", ",", "dxa", ",", "half", ",", "false", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "tmp", ",", "gen_rtx_AND", "(", "mode", ",", "one", ",", "tmp", ")", ")", ")", ";", "xa2", "=", "expand_simple_binop", "(", "mode", ",", "MINUS", ",", "xa2", ",", "tmp", ",", "NULL_RTX", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "tmp", "=", "ix86_expand_sse_compare_mask", "(", "UNGE", ",", "mhalf", ",", "dxa", ",", "false", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "tmp", ",", "gen_rtx_AND", "(", "mode", ",", "one", ",", "tmp", ")", ")", ")", ";", "xa2", "=", "expand_simple_binop", "(", "mode", ",", "PLUS", ",", "xa2", ",", "tmp", ",", "NULL_RTX", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "ix86_sse_copysign_to_positive", "(", "res", ",", "xa2", ",", "force_reg", "(", "mode", ",", "operand1", ")", ",", "mask", ")", ";", "emit_label", "(", "label", ")", ";", "LABEL_NUSES", "(", "label", ")", "=", "1", ";", "emit_move_insn", "(", "operand0", ",", "res", ")", ";", "}", ""], "natrual_language": ["Expand", "SSE", "sequence", "for", "computing", "round", "from", "OPERAND1", "storing", "into", "OPERAND0", ".", "Sequence", "that", "works", "without", "relying", "on", "DImode", "truncation", "via", "cvttsd2siq", "that", "is", "only", "available", "on", "64bit", "targets", "."], "TS_V_token": ["i386", "0", "0", "0", "0", "0", "0", "0", "1"], "File": "i3865", "Func": "ix86_expand_rounddf_32", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 119, "Length": 337, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "vax_mode_dependent_address_p", "(", "rtx", "x", ")", "{", "rtx", "xfoo0", ",", "xfoo1", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "POST_INC", "||", "GET_CODE", "(", "x", ")", "==", "PRE_DEC", ")", "return", "1", ";", "if", "(", "GET_CODE", "(", "x", ")", "!=", "PLUS", ")", "return", "0", ";", "xfoo0", "=", "XEXP", "(", "x", ",", "0", ")", ";", "xfoo1", "=", "XEXP", "(", "x", ",", "1", ")", ";", "if", "(", "CONSTANT_ADDRESS_P", "(", "xfoo0", ")", "&&", "GET_CODE", "(", "xfoo1", ")", "==", "REG", ")", "return", "0", ";", "if", "(", "CONSTANT_ADDRESS_P", "(", "xfoo1", ")", "&&", "GET_CODE", "(", "xfoo0", ")", "==", "REG", ")", "return", "0", ";", "return", "1", ";", "}", ""], "natrual_language": ["Return", "1", "if", "x", "(", "a", "legitimate", "address", "expression", ")", "has", "an", "effect", "that", "depends", "on", "the", "machine", "mode", "it", "is", "used", "for", ".", "On", "the", "VAX", ",", "the", "predecrement", "and", "postincrement", "address", "depend", "thus", "(", "the", "amount", "of", "decrement", "or", "increment", "being", "the", "length", "of", "the", "operand", ")", "and", "all", "indexed", "address", "depend", "thus", "(", "because", "the", "index", "scale", "factor", "is", "the", "length", "of", "the", "operand", ")", "."], "TS_V_token": ["vax", "1", "0", "0", "1", "0", "0", "1"], "File": "vax3", "Func": "vax_mode_dependent_address_p", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 120, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsAsmParser", "::", "getReg", "(", "int", "RC", ",", "int", "RegNo", ")", "{", "return", "*", "(", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", "->", "getRegClass", "(", "RC", ")", ".", "begin", "(", ")", "+", "RegNo", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "associated", "with", "this", "edge", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsAsmParser (2)4", "Func": "getReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 121, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMem", "(", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["isMem", "-", "Is", "this", "a", "memory", "operand", "?"], "TS_V_token": ["LoongArch"], "File": "LoongArchAsmParser", "Func": "isMem", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 122, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_expand_subvti", "(", "rtx", "op0", ",", "rtx", "low_dest", ",", "rtx", "low_in1", ",", "rtx", "low_in2", ",", "rtx", "high_dest", ",", "rtx", "high_in1", ",", "rtx", "high_in2", ",", "bool", "unsigned_p", ")", "{", "if", "(", "low_in2", "==", "const0_rtx", ")", "{", "low_dest", "=", "low_in1", ";", "high_in2", "=", "force_reg", "(", "DImode", ",", "high_in2", ")", ";", "if", "(", "unsigned_p", ")", "emit_insn", "(", "gen_subdi3_compare1", "(", "high_dest", ",", "high_in1", ",", "high_in2", ")", ")", ";", "else", "emit_insn", "(", "gen_subvdi_insn", "(", "high_dest", ",", "high_in1", ",", "high_in2", ")", ")", ";", "}", "else", "{", "if", "(", "aarch64_plus_immediate", "(", "low_in2", ",", "DImode", ")", ")", "emit_insn", "(", "gen_subdi3_compare1_imm", "(", "low_dest", ",", "low_in1", ",", "low_in2", ",", "GEN_INT", "(", "-", "INTVAL", "(", "low_in2", ")", ")", ")", ")", ";", "else", "{", "low_in2", "=", "force_reg", "(", "DImode", ",", "low_in2", ")", ";", "emit_insn", "(", "gen_subdi3_compare1", "(", "low_dest", ",", "low_in1", ",", "low_in2", ")", ")", ";", "}", "high_in2", "=", "force_reg", "(", "DImode", ",", "high_in2", ")", ";", "if", "(", "unsigned_p", ")", "emit_insn", "(", "gen_usubdi3_carryinC", "(", "high_dest", ",", "high_in1", ",", "high_in2", ")", ")", ";", "else", "emit_insn", "(", "gen_subdi3_carryinV", "(", "high_dest", ",", "high_in1", ",", "high_in2", ")", ")", ";", "}", "emit_move_insn", "(", "gen_lowpart", "(", "DImode", ",", "op0", ")", ",", "low_dest", ")", ";", "emit_move_insn", "(", "gen_highpart", "(", "DImode", ",", "op0", ")", ",", "high_dest", ")", ";", "}", ""], "natrual_language": ["Generate", "RTL", "for", "128-bit", "(", "TImode", ")", "subtraction", "with", "overflow", ".", "OP0", "represents", "the", "TImode", "destination", "operand", "0", "LOW_DEST", "represents", "the", "low", "half", "(", "DImode", ")", "of", "TImode", "operand", "0", "LOW_IN1", "represents", "the", "low", "half", "(", "DImode", ")", "of", "TImode", "operand", "1", "LOW_IN2", "represents", "the", "low", "half", "(", "DImode", ")", "of", "TImode", "operand", "2", "HIGH_DEST", "represents", "the", "high", "half", "(", "DImode", ")", "of", "TImode", "operand", "0", "HIGH_IN1", "represents", "the", "high", "half", "(", "DImode", ")", "of", "TImode", "operand", "1", "HIGH_IN2", "represents", "the", "high", "half", "(", "DImode", ")", "of", "TImode", "operand", "2", "UNSIGNED_P", "is", "true", "if", "the", "operation", "is", "being", "performed", "on", "unsigned", "values", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_expand_subvti", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 123, "Length": 198, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mips_arg_partial_bytes", "(", "cumulative_args_t", "cum", ",", "const", "function_arg_info", "&", "arg", ")", "{", "struct", "mips_arg_info", "info", ";", "mips_get_arg_info", "(", "&", "info", ",", "get_cumulative_args", "(", "cum", ")", ",", "arg", ".", "mode", ",", "arg", ".", "type", ",", "arg", ".", "named", ")", ";", "return", "info", ".", "stack_words", ">", "0", "?", "info", ".", "reg_words", "*", "UNITS_PER_WORD", ":", "0", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ARG_PARTIAL_BYTES", "."], "TS_V_token": ["mips", "0", "0"], "File": "mips", "Func": "mips_arg_partial_bytes", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 124, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "bit_count", "(", "unsigned", "int", "x", ")", "{", "const", "unsigned", "int", "m1", "=", "0x55555555", ";", "const", "unsigned", "int", "m2", "=", "0x33333333", ";", "const", "unsigned", "int", "m4", "=", "0x0f0f0f0f", ";", "x", "-=", "(", "x", ">>", "1", ")", "&", "m1", ";", "x", "=", "(", "x", "&", "m2", ")", "+", "(", "(", "x", ">>", "2", ")", "&", "m2", ")", ";", "x", "=", "(", "x", "+", "(", "x", ">>", "4", ")", ")", "&", "m4", ";", "x", "+=", "x", ">>", "8", ";", "return", "(", "x", "+", "(", "x", ">>", "16", ")", ")", "&", "0x3f", ";", "}", ""], "natrual_language": ["Typical", "stack", "layout", "should", "looks", "like", "this", "after", "the", "function", "'s", "prologue", ":", "|", "|", "--", "^", "|", "|", "\\", "|", "|", "|", "arguments", "saved", "|", "Increasing", "|", "|", "on", "the", "stack", "|", "addresses", "PARENT", "arg", "pointer", "-", ">", "|", "|", "/", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "-", "CHILD", "|ret", "|", "return", "address", "--", "|", "|", "\\", "|", "|", "call", "saved", "|", "|", "registers", "|", "|", "/", "--", "|", "|", "\\", "|", "|", "local", "|", "|", "variables", "frame", "pointer", "-", ">", "|", "|", "/", "--", "|", "|", "\\", "|", "|", "outgoing", "|", "Decreasing", "|", "|", "arguments", "|", "addresses", "current", "stack", "pointer", "-", ">", "|", "|", "/", "|", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "V", "|", "|"], "TS_V_token": ["rx", "0x55555555", "0x33333333", "0x0f0f0f0f", "1", "2", "4", "8", "16", "0x3f"], "File": "rx", "Func": "bit_count", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 125, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "umips_load_store_pair_p", "(", "bool", "load_p", ",", "rtx", "*", "operands", ")", "{", "rtx", "reg1", ",", "reg2", ",", "mem1", ",", "mem2", ";", "if", "(", "load_p", ")", "{", "reg1", "=", "operands", "[", "0", "]", ";", "reg2", "=", "operands", "[", "2", "]", ";", "mem1", "=", "operands", "[", "1", "]", ";", "mem2", "=", "operands", "[", "3", "]", ";", "}", "else", "{", "reg1", "=", "operands", "[", "1", "]", ";", "reg2", "=", "operands", "[", "3", "]", ";", "mem1", "=", "operands", "[", "0", "]", ";", "mem2", "=", "operands", "[", "2", "]", ";", "}", "if", "(", "REGNO", "(", "reg2", ")", "==", "REGNO", "(", "reg1", ")", "+", "1", ")", "return", "umips_load_store_pair_p_1", "(", "load_p", ",", "false", ",", "reg1", ",", "mem1", ",", "mem2", ")", ";", "if", "(", "REGNO", "(", "reg1", ")", "==", "REGNO", "(", "reg2", ")", "+", "1", ")", "return", "umips_load_store_pair_p_1", "(", "load_p", ",", "true", ",", "reg2", ",", "mem2", ",", "mem1", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["OPERANDS", "describes", "the", "operands", "to", "a", "pair", "of", "SETs", ",", "in", "the", "order", "dest1", ",", "src1", ",", "dest2", ",", "src2", ".", "Return", "true", "if", "the", "operands", "can", "be", "used", "in", "an", "LWP", "or", "SWP", "instruction", ";", "LOAD_P", "says", "which", "."], "TS_V_token": ["mips", "0", "2", "1", "3", "1", "3", "0", "2", "1", "1"], "File": "mips", "Func": "umips_load_store_pair_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 126, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AVRAsmPrinter", "::", "doFinalization", "(", "Module", "&", "M", ")", "{", "MCSymbol", "*", "DoCopyData", "=", "OutContext", ".", "getOrCreateSymbol", "(", "\"__do_copy_data\"", ")", ";", "MCSymbol", "*", "DoClearBss", "=", "OutContext", ".", "getOrCreateSymbol", "(", "\"__do_clear_bss\"", ")", ";", "OutStreamer", "->", "emitRawComment", "(", "\" Declaring this symbol tells the CRT that it should\"", ")", ";", "OutStreamer", "->", "emitRawComment", "(", "\"copy all variables from program memory to RAM on startup\"", ")", ";", "OutStreamer", "->", "emitSymbolAttribute", "(", "DoCopyData", ",", "MCSA_Global", ")", ";", "OutStreamer", "->", "emitRawComment", "(", "\" Declaring this symbol tells the CRT that it should\"", ")", ";", "OutStreamer", "->", "emitRawComment", "(", "\"clear the zeroed data section on startup\"", ")", ";", "OutStreamer", "->", "emitSymbolAttribute", "(", "DoClearBss", ",", "MCSA_Global", ")", ";", "return", "AsmPrinter", "::", "doFinalization", "(", "M", ")", ";", "}", ""], "natrual_language": ["doFinalization", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "any", "necessary", "clean", "up", "after", "all", "passes", "have", "run", "."], "TS_V_token": ["AVR", "AVR", "\"__do_copy_data\"", "\"__do_clear_bss\"", "\" Declaring this symbol tells the CRT that it should\"", "\"copy all variables from program memory to RAM on startup\"", "\" Declaring this symbol tells the CRT that it should\"", "\"clear the zeroed data section on startup\""], "File": "AVRAsmPrinter", "Func": "doFinalization", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 127, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUMCAsmInfo", "::", "shouldOmitSectionDirective", "(", "StringRef", "SectionName", ")", "const", "{", "return", "SectionName", "==", "\".hsatext\"", "||", "MCAsmInfo", "::", "shouldOmitSectionDirective", "(", "SectionName", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", ".section", "directive", "should", "be", "omitted", "when", "emitting", "SectionName", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "\".hsatext\""], "File": "AMDGPUMCAsmInfo17", "Func": "shouldOmitSectionDirective", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 128, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SystemZTargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_SystemZ", ")", ";", "if", "(", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "liveout_empty", "(", ")", ")", "{", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "if", "(", "RVLocs", "[", "i", "]", ".", "isRegLoc", "(", ")", ")", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "addLiveOut", "(", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ")", ";", "}", "SDValue", "Flag", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "SDValue", "ResValue", "=", "OutVals", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Can only return in registers!\"", ")", ";", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "SExt", ")", "ResValue", "=", "DAG", ".", "getNode", "(", "ISD", "::", "SIGN_EXTEND", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "ResValue", ")", ";", "else", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "ZExt", ")", "ResValue", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ZERO_EXTEND", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "ResValue", ")", ";", "else", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "AExt", ")", "ResValue", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ANY_EXTEND", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "ResValue", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "ResValue", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "}", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "return", "DAG", ".", "getNode", "(", "SystemZISD", "::", "RET_FLAG", ",", "dl", ",", "MVT", "::", "Other", ",", "Chain", ",", "Flag", ")", ";", "return", "DAG", ".", "getNode", "(", "SystemZISD", "::", "RET_FLAG", ",", "dl", ",", "MVT", "::", "Other", ",", "Chain", ")", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "outgoing", "return", "values", ",", "described", "by", "the", "Outs", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["SystemZ", "SystemZ", "ISD::OutputArg", "16", "SystemZ", "0", "0", "\"Can only return in registers!\"", "ISD::SIGN_EXTEND", "ISD::ZERO_EXTEND", "ISD::ANY_EXTEND", "1", "SystemZISD::RET_FLAG", "MVT::Other", "SystemZISD::RET_FLAG", "MVT::Other"], "File": "SystemZISelLowering107", "Func": "LowerReturn", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 129, "Length": 385, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "char", "X86Subtarget", "::", "classifyGlobalReference", "(", "const", "GlobalValue", "*", "GV", ",", "const", "Module", "&", "M", ")", "const", "{", "if", "(", "TM", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Large", ")", "return", "X86II", "::", "MO_NO_FLAG", ";", "Reloc", "::", "Model", "RM", "=", "TM", ".", "getRelocationModel", "(", ")", ";", "if", "(", "shouldAssumeDSOLocal", "(", "RM", ",", "TargetTriple", ",", "M", ",", "GV", ")", ")", "return", "classifyLocalReference", "(", "GV", ")", ";", "if", "(", "isTargetCOFF", "(", ")", ")", "return", "X86II", "::", "MO_DLLIMPORT", ";", "if", "(", "is64Bit", "(", ")", ")", "return", "X86II", "::", "MO_GOTPCREL", ";", "if", "(", "isTargetDarwin", "(", ")", ")", "{", "if", "(", "!", "isPositionIndependent", "(", ")", ")", "return", "X86II", "::", "MO_DARWIN_NONLAZY", ";", "return", "X86II", "::", "MO_DARWIN_NONLAZY_PIC_BASE", ";", "}", "return", "X86II", "::", "MO_GOT", ";", "}", ""], "natrual_language": ["Classify", "a", "global", "variable", "reference", "for", "the", "current", "subtarget", "according", "to", "how", "we", "should", "reference", "it", "in", "a", "non-pcrel", "context", "."], "TS_V_token": ["X86", "X86", "X86II::MO_NO_FLAG", "X86II::MO_DLLIMPORT", "X86II::MO_GOTPCREL", "X86II::MO_DARWIN_NONLAZY", "X86II::MO_DARWIN_NONLAZY_PIC_BASE", "X86II::MO_GOT"], "File": "X86Subtarget99", "Func": "classifyGlobalReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 130, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "NVPTXPassConfig", "::", "addOptimizedRegAlloc", "(", "FunctionPass", "*", "RegAllocPass", ")", "{", "assert", "(", "!", "RegAllocPass", "&&", "\"NVPTX uses no regalloc!\"", ")", ";", "addPass", "(", "&", "ProcessImplicitDefsID", ")", ";", "addPass", "(", "&", "LiveVariablesID", ")", ";", "addPass", "(", "&", "MachineLoopInfoID", ")", ";", "addPass", "(", "&", "PHIEliminationID", ")", ";", "addPass", "(", "&", "TwoAddressInstructionPassID", ")", ";", "addPass", "(", "&", "RegisterCoalescerID", ")", ";", "if", "(", "addPass", "(", "&", "MachineSchedulerID", ")", ")", "printAndVerify", "(", "\"After Machine Scheduling\"", ")", ";", "addPass", "(", "&", "StackSlotColoringID", ")", ";", "printAndVerify", "(", "\"After StackSlotColoring\"", ")", ";", "}", ""], "natrual_language": ["addOptimizedRegAlloc", "-", "Add", "passes", "related", "to", "register", "allocation", "."], "TS_V_token": ["NVPTX", "NVPTX", "\"NVPTX uses no regalloc!\"", "\"After Machine Scheduling\"", "\"After StackSlotColoring\""], "File": "NVPTXTargetMachine (2)", "Func": "addOptimizedRegAlloc", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 131, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMAsmPrinter", "::", "emitGlobalVariable", "(", "const", "GlobalVariable", "*", "GV", ")", "{", "if", "(", "PromotedGlobals", ".", "count", "(", "GV", ")", ")", "return", ";", "AsmPrinter", "::", "emitGlobalVariable", "(", "GV", ")", ";", "}", ""], "natrual_language": ["Emit", "the", "specified", "global", "variable", "to", "the", ".s", "file", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMAsmPrinter", "Func": "emitGlobalVariable", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 132, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_expand_pinsr", "(", "rtx", "*", "operands", ")", "{", "rtx", "dst", "=", "operands", "[", "0", "]", ";", "rtx", "src", "=", "operands", "[", "3", "]", ";", "unsigned", "int", "size", "=", "INTVAL", "(", "operands", "[", "1", "]", ")", ";", "unsigned", "int", "pos", "=", "INTVAL", "(", "operands", "[", "2", "]", ")", ";", "if", "(", "SUBREG_P", "(", "dst", ")", ")", "{", "pos", "+=", "SUBREG_BYTE", "(", "dst", ")", "*", "BITS_PER_UNIT", ";", "dst", "=", "SUBREG_REG", "(", "dst", ")", ";", "}", "switch", "(", "GET_MODE", "(", "dst", ")", ")", "{", "case", "E_V16QImode", ":", "case", "E_V8HImode", ":", "case", "E_V4SImode", ":", "case", "E_V2DImode", ":", "case", "E_V1TImode", ":", "{", "machine_mode", "srcmode", ",", "dstmode", ";", "rtx", "(", "*", "pinsr", ")", "(", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ")", ";", "rtx", "d", ";", "if", "(", "!", "int_mode_for_size", "(", "size", ",", "0", ")", ".", "exists", "(", "&", "srcmode", ")", ")", "return", "false", ";", "switch", "(", "srcmode", ")", "{", "case", "E_QImode", ":", "if", "(", "!", "TARGET_SSE4_1", ")", "return", "false", ";", "dstmode", "=", "V16QImode", ";", "pinsr", "=", "gen_sse4_1_pinsrb", ";", "break", ";", "case", "E_HImode", ":", "if", "(", "!", "TARGET_SSE2", ")", "return", "false", ";", "dstmode", "=", "V8HImode", ";", "pinsr", "=", "gen_sse2_pinsrw", ";", "break", ";", "case", "E_SImode", ":", "if", "(", "!", "TARGET_SSE4_1", ")", "return", "false", ";", "dstmode", "=", "V4SImode", ";", "pinsr", "=", "gen_sse4_1_pinsrd", ";", "break", ";", "case", "E_DImode", ":", "gcc_assert", "(", "TARGET_64BIT", ")", ";", "if", "(", "!", "TARGET_SSE4_1", ")", "return", "false", ";", "dstmode", "=", "V2DImode", ";", "pinsr", "=", "gen_sse4_1_pinsrq", ";", "break", ";", "default", ":", "return", "false", ";", "}", "if", "(", "pos", "&", "(", "size", "-", "1", ")", ")", "return", "false", ";", "if", "(", "SUBREG_P", "(", "src", ")", ")", "{", "unsigned", "int", "srcpos", "=", "SUBREG_BYTE", "(", "src", ")", ";", "if", "(", "srcpos", ">", "0", ")", "{", "rtx", "extr_ops", "[", "4", "]", ";", "extr_ops", "[", "0", "]", "=", "gen_reg_rtx", "(", "srcmode", ")", ";", "extr_ops", "[", "1", "]", "=", "gen_lowpart", "(", "srcmode", ",", "SUBREG_REG", "(", "src", ")", ")", ";", "extr_ops", "[", "2", "]", "=", "GEN_INT", "(", "size", ")", ";", "extr_ops", "[", "3", "]", "=", "GEN_INT", "(", "srcpos", "*", "BITS_PER_UNIT", ")", ";", "if", "(", "!", "ix86_expand_pextr", "(", "extr_ops", ")", ")", "return", "false", ";", "src", "=", "extr_ops", "[", "0", "]", ";", "}", "else", "src", "=", "gen_lowpart", "(", "srcmode", ",", "SUBREG_REG", "(", "src", ")", ")", ";", "}", "if", "(", "GET_MODE", "(", "dst", ")", "==", "dstmode", ")", "d", "=", "dst", ";", "else", "d", "=", "gen_reg_rtx", "(", "dstmode", ")", ";", "emit_insn", "(", "pinsr", "(", "d", ",", "gen_lowpart", "(", "dstmode", ",", "dst", ")", ",", "gen_lowpart", "(", "srcmode", ",", "src", ")", ",", "GEN_INT", "(", "1", "<<", "(", "pos", "/", "size", ")", ")", ")", ")", ";", "if", "(", "d", "!=", "dst", ")", "emit_move_insn", "(", "dst", ",", "gen_lowpart", "(", "GET_MODE", "(", "dst", ")", ",", "d", ")", ")", ";", "return", "true", ";", "}", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Expand", "an", "insert", "into", "a", "vector", "register", "through", "pinsr", "insn", ".", "Return", "true", "if", "successful", "."], "TS_V_token": ["i386", "0", "3", "1", "2", "0", "1", "0", "4", "0", "1", "2", "3", "0", "1"], "File": "i386-expand", "Func": "ix86_expand_pinsr", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 133, "Length": 448, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "prior", "(", "MBB", ".", "end", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "hasFP", "(", "MF", ")", "||", "MF", ".", "getTarget", "(", ")", ".", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "None", ")", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "prior", "(", "MBB", ".", "end", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI_end", "=", "MBB", ".", "end", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "if", "(", "MBBI", "->", "getOpcode", "(", ")", "==", "Hexagon", "::", "EH_RETURN_JMPR", ")", "{", "assert", "(", "MBBI", "->", "getOperand", "(", "0", ")", ".", "isReg", "(", ")", "&&", "\"Offset should be in register!\"", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Hexagon", "::", "DEALLOCFRAME", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Hexagon", "::", "ADD_rr", ")", ",", "Hexagon", "::", "R29", ")", ".", "addReg", "(", "Hexagon", "::", "R29", ")", ".", "addReg", "(", "Hexagon", "::", "R28", ")", ";", "return", ";", "}", "if", "(", "STI", ".", "hasV4TOps", "(", ")", "&&", "MBBI", "->", "getOpcode", "(", ")", "==", "Hexagon", "::", "JMPret", "&&", "!", "DisableDeallocRet", ")", "{", "MachineBasicBlock", "::", "iterator", "BeforeJMPR", "=", "MBB", ".", "begin", "(", ")", "==", "MBBI", "?", "MBBI", ":", "prior", "(", "MBBI", ")", ";", "if", "(", "BeforeJMPR", "!=", "MBBI", "&&", "BeforeJMPR", "->", "getOpcode", "(", ")", "==", "Hexagon", "::", "RESTORE_DEALLOC_RET_JMP_V4", ")", "{", "MBB", ".", "erase", "(", "MBBI", ")", ";", "return", ";", "}", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MBBI_end", ",", "dl", ",", "TII", ".", "get", "(", "Hexagon", "::", "DEALLOC_RET_V4", ")", ")", ";", "MIB", "->", "copyImplicitOps", "(", "*", "MBB", ".", "getParent", "(", ")", ",", "&", "*", "MBBI", ")", ";", "MBB", ".", "erase", "(", "MBBI", ")", ";", "}", "else", "{", "MachineBasicBlock", "::", "iterator", "Term", "=", "MBB", ".", "getFirstTerminator", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "Term", "==", "MBB", ".", "begin", "(", ")", "?", "MBB", ".", "end", "(", ")", ":", "prior", "(", "Term", ")", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", "&&", "I", "->", "getOpcode", "(", ")", "==", "Hexagon", "::", "RESTORE_DEALLOC_BEFORE_TAILCALL_V4", ")", "return", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Hexagon", "::", "DEALLOCFRAME", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon::EH_RETURN_JMPR", "0", "\"Offset should be in register!\"", "Hexagon::DEALLOCFRAME", "Hexagon::ADD_rr", "Hexagon::R29", "Hexagon::R29", "Hexagon::R28", "Hexagon::JMPret", "Hexagon::RESTORE_DEALLOC_RET_JMP_V4", "Hexagon::DEALLOC_RET_V4", "Hexagon::RESTORE_DEALLOC_BEFORE_TAILCALL_V4", "Hexagon::DEALLOCFRAME"], "File": "HexagonFrameLowering61", "Func": "emitEpilogue", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 134, "Length": 381, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "cr16_override_options", "(", "void", ")", "{", "flag_delete_null_pointer_checks", "=", "0", ";", "if", "(", "flag_exceptions", ")", "flag_cse_follow_jumps", "=", "0", ";", "if", "(", "flag_pic", "==", "NEAR_PIC", ")", "{", "data_model", "=", "DM_FAR", ";", "}", "if", "(", "cr16_data_model", ")", "{", "if", "(", "strcmp", "(", "cr16_data_model", ",", "\"medium\"", ")", "==", "0", ")", "data_model", "=", "DM_DEFAULT", ";", "else", "if", "(", "strcmp", "(", "cr16_data_model", ",", "\"near\"", ")", "==", "0", ")", "data_model", "=", "DM_NEAR", ";", "else", "if", "(", "strcmp", "(", "cr16_data_model", ",", "\"far\"", ")", "==", "0", ")", "{", "if", "(", "TARGET_CR16CP", ")", "data_model", "=", "DM_FAR", ";", "else", "error", "(", "\"data-model=far not valid for cr16c architecture\"", ")", ";", "}", "else", "error", "(", "\"invalid data model option -mdata-model=%s\"", ",", "cr16_data_model", ")", ";", "}", "else", "data_model", "=", "DM_DEFAULT", ";", "}", ""], "natrual_language": ["Parse", "relevant", "options", "and", "override", "."], "TS_V_token": ["cr16", "0", "0", "\"medium\"", "0", "\"near\"", "0", "\"far\"", "0", "\"data-model=far not valid for cr16c architecture\"", "\"invalid data model option -mdata-model=%s\""], "File": "cr162", "Func": "cr16_override_options", "Target": "cr16", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 135, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "DirectXTargetMachine", "::", "addPassesToEmitMC", "(", "PassManagerBase", "&", "PM", ",", "MCContext", "*", "&", "Ctx", ",", "raw_pwrite_stream", "&", "Out", ",", "bool", "DisableVerify", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["Add", "passes", "to", "the", "specified", "pass", "manager", "to", "get", "machine", "code", "emitted", "with", "the", "MCJIT", "."], "TS_V_token": ["DirectX"], "File": "DirectXTargetMachine", "Func": "addPassesToEmitMC", "Target": "DirectX", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 136, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetMachine", "::", "addInstSelector", "(", "PassManagerBase", "&", "PM", ")", "{", "PM", ".", "add", "(", "createMipsISelDag", "(", "*", "this", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsTargetMachine61", "Func": "addInstSelector", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 137, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isLegalAddressingMode", "(", "const", "DataLayout", "&", "DL", ",", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ")", "const", "{", "CodeModel", "::", "Model", "M", "=", "getTargetMachine", "(", ")", ".", "getCodeModel", "(", ")", ";", "Reloc", "::", "Model", "R", "=", "getTargetMachine", "(", ")", ".", "getRelocationModel", "(", ")", ";", "if", "(", "!", "X86", "::", "isOffsetSuitableForCodeModel", "(", "AM", ".", "BaseOffs", ",", "M", ",", "AM", ".", "BaseGV", "!=", "nullptr", ")", ")", "return", "false", ";", "if", "(", "AM", ".", "BaseGV", ")", "{", "unsigned", "GVFlags", "=", "Subtarget", ".", "classifyGlobalReference", "(", "AM", ".", "BaseGV", ")", ";", "if", "(", "isGlobalStubReference", "(", "GVFlags", ")", ")", "return", "false", ";", "if", "(", "AM", ".", "HasBaseReg", "&&", "isGlobalRelativeToPICBase", "(", "GVFlags", ")", ")", "return", "false", ";", "if", "(", "(", "M", "!=", "CodeModel", "::", "Small", "||", "R", "!=", "Reloc", "::", "Static", ")", "&&", "Subtarget", ".", "is64Bit", "(", ")", "&&", "(", "AM", ".", "BaseOffs", "||", "AM", ".", "Scale", ">", "1", ")", ")", "return", "false", ";", "}", "switch", "(", "AM", ".", "Scale", ")", "{", "case", "0", ":", "case", "1", ":", "case", "2", ":", "case", "4", ":", "case", "8", ":", "break", ";", "case", "3", ":", "case", "5", ":", "case", "9", ":", "if", "(", "AM", ".", "HasBaseReg", ")", "return", "false", ";", "break", ";", "default", ":", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["isLegalAddressingMode", "-", "Return", "true", "if", "the", "addressing", "mode", "represented", "by", "AM", "is", "legal", "for", "this", "target", ",", "for", "a", "load/store", "of", "the", "specified", "type", "."], "TS_V_token": ["X86", "X86", "X86::isOffsetSuitableForCodeModel", "1", "0", "1", "2", "4", "8", "3", "5", "9"], "File": "X86ISelLowering148", "Func": "isLegalAddressingMode", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 138, "Length": 208, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_function_arg_advance", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "HOST_WIDE_INT", "bytes", ",", "words", ";", "int", "nregs", ";", "if", "(", "!", "cum", "->", "caller", "&&", "cfun", "->", "machine", "->", "func_type", "!=", "TYPE_NORMAL", ")", "return", ";", "if", "(", "mode", "==", "BLKmode", ")", "bytes", "=", "int_size_in_bytes", "(", "type", ")", ";", "else", "bytes", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "words", "=", "CEIL", "(", "bytes", ",", "UNITS_PER_WORD", ")", ";", "if", "(", "type", ")", "mode", "=", "type_natural_mode", "(", "type", ",", "NULL", ",", "false", ")", ";", "if", "(", "TARGET_64BIT", ")", "{", "enum", "calling_abi", "call_abi", "=", "cum", "?", "cum", "->", "call_abi", ":", "ix86_abi", ";", "if", "(", "call_abi", "==", "MS_ABI", ")", "nregs", "=", "function_arg_advance_ms_64", "(", "cum", ",", "bytes", ",", "words", ")", ";", "else", "nregs", "=", "function_arg_advance_64", "(", "cum", ",", "mode", ",", "type", ",", "words", ",", "named", ")", ";", "}", "else", "nregs", "=", "function_arg_advance_32", "(", "cum", ",", "mode", ",", "type", ",", "bytes", ",", "words", ")", ";", "if", "(", "!", "nregs", ")", "{", "if", "(", "cum", "->", "caller", ")", "cfun", "->", "machine", "->", "outgoing_args_on_stack", "=", "true", ";", "}", "}", ""], "natrual_language": ["Update", "the", "data", "in", "CUM", "to", "advance", "over", "an", "argument", "of", "mode", "MODE", "and", "data", "type", "TYPE", ".", "(", "TYPE", "is", "null", "for", "libcalls", "where", "that", "information", "may", "not", "be", "available", ".", ")"], "TS_V_token": ["i386"], "File": "i3868", "Func": "ix86_function_arg_advance", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 139, "Length": 185, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "SITargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "TargetRegisterInfo", "*", "TRI", ",", "StringRef", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'s'", ":", "case", "'r'", ":", "switch", "(", "VT", ".", "getSizeInBits", "(", ")", ")", "{", "default", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "nullptr", ")", ";", "case", "32", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "AMDGPU", "::", "SGPR_32RegClass", ")", ";", "case", "64", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "AMDGPU", "::", "SGPR_64RegClass", ")", ";", "case", "128", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "AMDGPU", "::", "SReg_128RegClass", ")", ";", "case", "256", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "AMDGPU", "::", "SReg_256RegClass", ")", ";", "}", "case", "'v'", ":", "switch", "(", "VT", ".", "getSizeInBits", "(", ")", ")", "{", "default", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "nullptr", ")", ";", "case", "32", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "AMDGPU", "::", "VGPR_32RegClass", ")", ";", "case", "64", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "AMDGPU", "::", "VReg_64RegClass", ")", ";", "case", "96", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "AMDGPU", "::", "VReg_96RegClass", ")", ";", "case", "128", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "AMDGPU", "::", "VReg_128RegClass", ")", ";", "case", "256", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "AMDGPU", "::", "VReg_256RegClass", ")", ";", "case", "512", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "AMDGPU", "::", "VReg_512RegClass", ")", ";", "}", "}", "}", "if", "(", "Constraint", ".", "size", "(", ")", ">", "1", ")", "{", "const", "TargetRegisterClass", "*", "RC", "=", "nullptr", ";", "if", "(", "Constraint", "[", "1", "]", "==", "'v'", ")", "{", "RC", "=", "&", "AMDGPU", "::", "VGPR_32RegClass", ";", "}", "else", "if", "(", "Constraint", "[", "1", "]", "==", "'s'", ")", "{", "RC", "=", "&", "AMDGPU", "::", "SGPR_32RegClass", ";", "}", "if", "(", "RC", ")", "{", "uint32_t", "Idx", ";", "bool", "Failed", "=", "Constraint", ".", "substr", "(", "2", ")", ".", "getAsInteger", "(", "10", ",", "Idx", ")", ";", "if", "(", "!", "Failed", "&&", "Idx", "<", "RC", "->", "getNumRegs", "(", ")", ")", "return", "std", "::", "make_pair", "(", "RC", "->", "getRegister", "(", "Idx", ")", ",", "RC", ")", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "TRI", ",", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["AMDGPU", "SI", "1", "0", "0U", "32", "0U", "AMDGPU::SGPR_32RegClass", "64", "0U", "AMDGPU::SGPR_64RegClass", "128", "0U", "AMDGPU::SReg_128RegClass", "256", "0U", "AMDGPU::SReg_256RegClass", "0U", "32", "0U", "AMDGPU::VGPR_32RegClass", "64", "0U", "AMDGPU::VReg_64RegClass", "96", "0U", "AMDGPU::VReg_96RegClass", "128", "0U", "AMDGPU::VReg_128RegClass", "256", "0U", "AMDGPU::VReg_256RegClass", "512", "0U", "AMDGPU::VReg_512RegClass", "1", "1", "AMDGPU::VGPR_32RegClass", "1", "AMDGPU::SGPR_32RegClass", "2", "10"], "File": "SIISelLowering (2)", "Func": "getRegForInlineAsmConstraint", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 140, "Length": 384, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "avr_default_expand_builtin", "(", "enum", "insn_code", "icode", ",", "tree", "exp", ",", "rtx", "target", ")", "{", "rtx", "pat", ",", "xop", "[", "3", "]", ";", "int", "n_args", "=", "call_expr_nargs", "(", "exp", ")", ";", "machine_mode", "tmode", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "mode", ";", "gcc_assert", "(", "n_args", ">=", "1", "&&", "n_args", "<=", "3", ")", ";", "if", "(", "target", "==", "NULL_RTX", "||", "GET_MODE", "(", "target", ")", "!=", "tmode", "||", "!", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "predicate", "(", "target", ",", "tmode", ")", ")", "{", "target", "=", "gen_reg_rtx", "(", "tmode", ")", ";", "}", "for", "(", "int", "n", "=", "0", ";", "n", "<", "n_args", ";", "n", "++", ")", "{", "tree", "arg", "=", "CALL_EXPR_ARG", "(", "exp", ",", "n", ")", ";", "rtx", "op", "=", "expand_expr", "(", "arg", ",", "NULL_RTX", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "machine_mode", "opmode", "=", "GET_MODE", "(", "op", ")", ";", "machine_mode", "mode", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "n", "+", "1", "]", ".", "mode", ";", "if", "(", "(", "opmode", "==", "SImode", "||", "opmode", "==", "VOIDmode", ")", "&&", "mode", "==", "HImode", ")", "{", "opmode", "=", "HImode", ";", "op", "=", "gen_lowpart", "(", "HImode", ",", "op", ")", ";", "}", "gcc_assert", "(", "opmode", "==", "mode", "||", "opmode", "==", "VOIDmode", ")", ";", "if", "(", "!", "insn_data", "[", "icode", "]", ".", "operand", "[", "n", "+", "1", "]", ".", "predicate", "(", "op", ",", "mode", ")", ")", "op", "=", "copy_to_mode_reg", "(", "mode", ",", "op", ")", ";", "xop", "[", "n", "]", "=", "op", ";", "}", "switch", "(", "n_args", ")", "{", "case", "1", ":", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "xop", "[", "0", "]", ")", ";", "break", ";", "case", "2", ":", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "xop", "[", "0", "]", ",", "xop", "[", "1", "]", ")", ";", "break", ";", "case", "3", ":", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "xop", "[", "0", "]", ",", "xop", "[", "1", "]", ",", "xop", "[", "2", "]", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "pat", "==", "NULL_RTX", ")", "return", "NULL_RTX", ";", "emit_insn", "(", "pat", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Subroutine", "of", "avr_expand_builtin", "to", "expand", "vanilla", "builtins", "with", "non-void", "result", "and", "1", "...", "3", "arguments", "."], "TS_V_token": ["avr", "3", "0", "1", "3", "0", "0", "1", "1", "1", "0", "2", "0", "1", "3", "0", "1", "2"], "File": "avr", "Func": "avr_default_expand_builtin", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 141, "Length": 347, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SPUPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createSPUISelDag", "(", "getSPUTargetMachine", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["CellSPU", "SPU", "SPU", "SPU"], "File": "SPUTargetMachine11", "Func": "addInstSelector", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 142, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "GCNTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "GCNPassConfig", "(", "this", ",", "PM", ")", ";", "}", ""], "natrual_language": ["Create", "a", "pass", "configuration", "object", "to", "be", "used", "by", "addPassToEmitX", "methods", "for", "generating", "a", "pipeline", "of", "CodeGen", "passes", "."], "TS_V_token": ["R600"], "File": "AMDGPUTargetMachine80", "Func": "createPassConfig", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 143, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MipsSubtarget", "::", "MipsSubtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "bool", "little", ")", ":", "MipsGenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "MipsArchVersion", "(", "Mips32", ")", ",", "MipsABI", "(", "UnknownABI", ")", ",", "IsLittle", "(", "little", ")", ",", "IsSingleFloat", "(", "false", ")", ",", "IsFP64bit", "(", "false", ")", ",", "IsGP64bit", "(", "false", ")", ",", "HasVFPU", "(", "false", ")", ",", "IsLinux", "(", "true", ")", ",", "HasSEInReg", "(", "false", ")", ",", "HasCondMov", "(", "false", ")", ",", "HasMulDivAdd", "(", "false", ")", ",", "HasMinMax", "(", "false", ")", ",", "HasSwap", "(", "false", ")", ",", "HasBitCount", "(", "false", ")", "{", "std", "::", "string", "CPUName", "=", "CPU", ";", "if", "(", "CPUName", ".", "empty", "(", ")", ")", "CPUName", "=", "\"mips32\"", ";", "ParseSubtargetFeatures", "(", "CPUName", ",", "FS", ")", ";", "InstrItins", "=", "getInstrItineraryForCPU", "(", "CPUName", ")", ";", "if", "(", "MipsABI", "==", "UnknownABI", ")", "MipsABI", "=", "hasMips64", "(", ")", "?", "N64", ":", "O32", ";", "assert", "(", "(", "(", "!", "hasMips64", "(", ")", "&&", "(", "isABI_O32", "(", ")", "||", "isABI_EABI", "(", ")", ")", ")", "||", "(", "hasMips64", "(", ")", "&&", "(", "isABI_N32", "(", ")", "||", "isABI_N64", "(", ")", ")", ")", ")", "&&", "\"Invalid Arch & ABI pair.\"", ")", ";", "if", "(", "TT", ".", "find", "(", "\"linux\"", ")", "==", "std", "::", "string", "::", "npos", ")", "IsLinux", "=", "false", ";", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "\"mips32\"", "Mips", "Mips", "Mips", "Mips", "Mips", "\"Invalid Arch & ABI pair.\"", "\"linux\""], "File": "MipsSubtarget40", "Func": "MipsSubtarget", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 144, "Length": 217, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCRegisterInfo", "::", "requiresFrameIndexScavenging", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "const", "PPCInstrInfo", "*", "InstrInfo", "=", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "Info", "=", "MFI", ".", "getCalleeSavedInfo", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"requiresFrameIndexScavenging for \"", "<<", "MF", ".", "getName", "(", ")", "<<", "\".\\n\"", ")", ";", "if", "(", "!", "MFI", ".", "isCalleeSavedInfoValid", "(", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"TRUE - Invalid callee saved info.\\n\"", ")", ";", "return", "true", ";", "}", "unsigned", "FrameSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "FrameSize", "&", "~", "0x7FFF", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"TRUE - Frame size is too large for D-Form.\\n\"", ")", ";", "return", "true", ";", "}", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Info", ".", "size", "(", ")", ";", "i", "++", ")", "{", "if", "(", "Info", "[", "i", "]", ".", "isSpilledToReg", "(", ")", ")", "continue", ";", "int", "FrIdx", "=", "Info", "[", "i", "]", ".", "getFrameIdx", "(", ")", ";", "unsigned", "Reg", "=", "Info", "[", "i", "]", ".", "getReg", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "unsigned", "Opcode", "=", "InstrInfo", "->", "getStoreOpcodeForSpill", "(", "RC", ")", ";", "if", "(", "!", "MFI", ".", "isFixedObjectIndex", "(", "FrIdx", ")", ")", "{", "if", "(", "offsetMinAlignForOpcode", "(", "Opcode", ")", ">", "1", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Memory Operand: \"", "<<", "InstrInfo", "->", "getName", "(", "Opcode", ")", "<<", "\" for register \"", "<<", "printReg", "(", "Reg", ",", "this", ")", "<<", "\".\\n\"", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"TRUE - Not fixed frame object that requires \"", "<<", "\"alignment.\\n\"", ")", ";", "return", "true", ";", "}", "}", "if", "(", "InstrInfo", "->", "isXFormMemOp", "(", "Opcode", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Memory Operand: \"", "<<", "InstrInfo", "->", "getName", "(", "Opcode", ")", "<<", "\" for register \"", "<<", "printReg", "(", "Reg", ",", "this", ")", "<<", "\".\\n\"", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"TRUE - Memory operand is X-Form.\\n\"", ")", ";", "return", "true", ";", "}", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"FALSE - Scavenging is not required.\\n\"", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "requires", "post", "PEI", "scavenging", "of", "registers", "for", "materializing", "frame", "index", "constants", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "\"requiresFrameIndexScavenging for \"", "\".\\n\"", "\"TRUE - Invalid callee saved info.\\n\"", "0x7FFF", "\"TRUE - Frame size is too large for D-Form.\\n\"", "0", "1", "\"Memory Operand: \"", "\" for register \"", "\".\\n\"", "\"TRUE - Not fixed frame object that requires \"", "\"alignment.\\n\"", "\"Memory Operand: \"", "\" for register \"", "\".\\n\"", "\"TRUE - Memory operand is X-Form.\\n\"", "\"FALSE - Scavenging is not required.\\n\""], "File": "PPCRegisterInfo34", "Func": "requiresFrameIndexScavenging", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 145, "Length": 338, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CJGFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["CJG", "CJG"], "File": "CJGFrameLowering", "Func": "emitPrologue", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 146, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseRegisterInfo", "::", "isFrameOffsetLegal", "(", "const", "MachineInstr", "*", "MI", ",", "int64_t", "Offset", ")", "const", "{", "const", "MCInstrDesc", "&", "Desc", "=", "MI", "->", "getDesc", "(", ")", ";", "unsigned", "AddrMode", "=", "(", "Desc", ".", "TSFlags", "&", "ARMII", "::", "AddrModeMask", ")", ";", "unsigned", "i", "=", "0", ";", "while", "(", "!", "MI", "->", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", "->", "getNumOperands", "(", ")", "&&", "\"Instr doesn't have FrameIndex operand!\"", ")", ";", "}", "if", "(", "AddrMode", "==", "ARMII", "::", "AddrMode4", "||", "AddrMode", "==", "ARMII", "::", "AddrMode6", ")", "return", "Offset", "==", "0", ";", "unsigned", "NumBits", "=", "0", ";", "unsigned", "Scale", "=", "1", ";", "bool", "isSigned", "=", "true", ";", "switch", "(", "AddrMode", ")", "{", "case", "ARMII", "::", "AddrModeT2_i8", ":", "case", "ARMII", "::", "AddrModeT2_i12", ":", "Scale", "=", "1", ";", "if", "(", "Offset", "<", "0", ")", "{", "NumBits", "=", "8", ";", "Offset", "=", "-", "Offset", ";", "}", "else", "{", "NumBits", "=", "12", ";", "}", "break", ";", "case", "ARMII", "::", "AddrMode5", ":", "NumBits", "=", "8", ";", "Scale", "=", "4", ";", "break", ";", "case", "ARMII", "::", "AddrMode_i12", ":", "case", "ARMII", "::", "AddrMode2", ":", "NumBits", "=", "12", ";", "break", ";", "case", "ARMII", "::", "AddrMode3", ":", "NumBits", "=", "8", ";", "break", ";", "case", "ARMII", "::", "AddrModeT1_s", ":", "NumBits", "=", "5", ";", "Scale", "=", "4", ";", "isSigned", "=", "false", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "\"Unsupported addressing mode!\"", ")", ";", "break", ";", "}", "Offset", "+=", "getFrameIndexInstrOffset", "(", "MI", ",", "i", ")", ";", "if", "(", "(", "Offset", "&", "(", "Scale", "-", "1", ")", ")", "!=", "0", ")", "return", "false", ";", "if", "(", "isSigned", "&&", "Offset", "<", "0", ")", "Offset", "=", "-", "Offset", ";", "unsigned", "Mask", "=", "(", "1", "<<", "NumBits", ")", "-", "1", ";", "if", "(", "(", "unsigned", ")", "Offset", "<=", "Mask", "*", "Scale", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Determine", "whether", "a", "given", "base", "register", "plus", "offset", "immediate", "is", "encodable", "to", "resolve", "a", "frame", "index", "."], "TS_V_token": ["ARM", "ARM", "ARMII::AddrModeMask", "0", "\"Instr doesn't have FrameIndex operand!\"", "ARMII::AddrMode4", "ARMII::AddrMode6", "0", "0", "1", "ARMII::AddrModeT2_i8", "ARMII::AddrModeT2_i12", "1", "0", "8", "12", "ARMII::AddrMode5", "8", "4", "ARMII::AddrMode_i12", "ARMII::AddrMode2", "12", "ARMII::AddrMode3", "8", "ARMII::AddrModeT1_s", "5", "4", "\"Unsupported addressing mode!\"", "1", "0", "0", "1", "1"], "File": "ARMBaseRegisterInfo1", "Func": "isFrameOffsetLegal", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 147, "Length": 294, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "trackLivenessAfterRegAlloc", "(", "const", "MachineFunction", "&", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "live-ins", "should", "be", "tracked", "after", "register", "allocation", "."], "TS_V_token": ["RISCV"], "File": "RISCVRegisterInfo", "Func": "trackLivenessAfterRegAlloc", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 148, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "NVPTXRegisterInfo", "::", "getDwarfRegNum", "(", "unsigned", "RegNum", ",", "bool", "isEH", ")", "const", "{", "return", "0", ";", "}", ""], "natrual_language": ["Map", "a", "target", "register", "to", "an", "equivalent", "dwarf", "register", "number", "."], "TS_V_token": ["NVPTX", "NVPTX", "0"], "File": "NVPTXRegisterInfo17", "Func": "getDwarfRegNum", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 149, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "char", "*", "rx_gen_move_template", "(", "rtx", "*", "operands", ",", "bool", "is_movu", ")", "{", "static", "char", "out_template", "[", "64", "]", ";", "const", "char", "*", "extension", "=", "TARGET_AS100_SYNTAX", "?", "\".L\"", ":", "\"\"", ";", "const", "char", "*", "src_template", ";", "const", "char", "*", "dst_template", ";", "rtx", "dest", "=", "operands", "[", "0", "]", ";", "rtx", "src", "=", "operands", "[", "1", "]", ";", "switch", "(", "CONST_INT_P", "(", "src", ")", "?", "GET_MODE", "(", "dest", ")", ":", "GET_MODE", "(", "src", ")", ")", "{", "case", "QImode", ":", "if", "(", "!", "REG_P", "(", "dest", ")", "||", "!", "CONST_INT_P", "(", "src", ")", ")", "extension", "=", "\".B\"", ";", "break", ";", "case", "HImode", ":", "if", "(", "!", "REG_P", "(", "dest", ")", "||", "!", "CONST_INT_P", "(", "src", ")", ")", "extension", "=", "\".W\"", ";", "break", ";", "case", "DFmode", ":", "case", "DImode", ":", "case", "SFmode", ":", "case", "SImode", ":", "extension", "=", "\".L\"", ";", "break", ";", "case", "VOIDmode", ":", "break", ";", "default", ":", "debug_rtx", "(", "src", ")", ";", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "MEM_P", "(", "src", ")", "&&", "rx_pid_data_operand", "(", "XEXP", "(", "src", ",", "0", ")", ")", "==", "PID_UNENCODED", ")", "{", "gcc_assert", "(", "GET_MODE", "(", "src", ")", "!=", "DImode", ")", ";", "gcc_assert", "(", "GET_MODE", "(", "src", ")", "!=", "DFmode", ")", ";", "src_template", "=", "\"(%A1 - __pid_base)[%P1]\"", ";", "}", "else", "if", "(", "MEM_P", "(", "src", ")", "&&", "rx_small_data_operand", "(", "XEXP", "(", "src", ",", "0", ")", ")", ")", "{", "gcc_assert", "(", "GET_MODE", "(", "src", ")", "!=", "DImode", ")", ";", "gcc_assert", "(", "GET_MODE", "(", "src", ")", "!=", "DFmode", ")", ";", "src_template", "=", "\"%%gp(%A1)[%G1]\"", ";", "}", "else", "src_template", "=", "\"%1\"", ";", "if", "(", "MEM_P", "(", "dest", ")", "&&", "rx_small_data_operand", "(", "XEXP", "(", "dest", ",", "0", ")", ")", ")", "{", "gcc_assert", "(", "GET_MODE", "(", "dest", ")", "!=", "DImode", ")", ";", "gcc_assert", "(", "GET_MODE", "(", "dest", ")", "!=", "DFmode", ")", ";", "dst_template", "=", "\"%%gp(%A0)[%G0]\"", ";", "}", "else", "dst_template", "=", "\"%0\"", ";", "if", "(", "GET_MODE", "(", "dest", ")", "==", "DImode", "||", "GET_MODE", "(", "dest", ")", "==", "DFmode", ")", "{", "gcc_assert", "(", "!", "is_movu", ")", ";", "if", "(", "REG_P", "(", "src", ")", "&&", "REG_P", "(", "dest", ")", "&&", "(", "REGNO", "(", "dest", ")", "==", "REGNO", "(", "src", ")", "+", "1", ")", ")", "sprintf", "(", "out_template", ",", "\"mov.L\\t%%H1, %%H0 ! mov.L\\t%%1, %%0\"", ")", ";", "else", "sprintf", "(", "out_template", ",", "\"mov.L\\t%%1, %%0 ! mov.L\\t%%H1, %%H0\"", ")", ";", "}", "else", "sprintf", "(", "out_template", ",", "\"%s%s\\t%s, %s\"", ",", "is_movu", "?", "\"movu\"", ":", "\"mov\"", ",", "extension", ",", "src_template", ",", "dst_template", ")", ";", "return", "out_template", ";", "}", ""], "natrual_language": ["Returns", "an", "assembler", "template", "for", "a", "move", "instruction", "."], "TS_V_token": ["rx", "64", "\".L\"", "\"\"", "0", "1", "\".B\"", "\".W\"", "\".L\"", "0", "\"(%A1 - __pid_base)[%P1]\"", "0", "\"%%gp(%A1)[%G1]\"", "\"%1\"", "0", "\"%%gp(%A0)[%G0]\"", "\"%0\"", "1", "\"mov.L\\t%%H1, %%H0 ! mov.L\\t%%1, %%0\"", "\"mov.L\\t%%1, %%0 ! mov.L\\t%%H1, %%H0\"", "\"%s%s\\t%s, %s\"", "\"movu\"", "\"mov\""], "File": "rx2", "Func": "rx_gen_move_template", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 150, "Length": 386, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "DestReg", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "SIMachineFunctionInfo", "*", "MFI", "=", "MF", "->", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "MachineFrameInfo", "&", "FrameInfo", "=", "MF", "->", "getFrameInfo", "(", ")", ";", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "unsigned", "Align", "=", "FrameInfo", ".", "getObjectAlignment", "(", "FrameIndex", ")", ";", "unsigned", "Size", "=", "FrameInfo", ".", "getObjectSize", "(", "FrameIndex", ")", ";", "unsigned", "SpillSize", "=", "TRI", "->", "getSpillSize", "(", "*", "RC", ")", ";", "MachinePointerInfo", "PtrInfo", "=", "MachinePointerInfo", "::", "getFixedStack", "(", "*", "MF", ",", "FrameIndex", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", "->", "getMachineMemOperand", "(", "PtrInfo", ",", "MachineMemOperand", "::", "MOLoad", ",", "Size", ",", "Align", ")", ";", "if", "(", "RI", ".", "isSGPRClass", "(", "RC", ")", ")", "{", "const", "MCInstrDesc", "&", "OpDesc", "=", "get", "(", "getSGPRSpillRestoreOpcode", "(", "SpillSize", ")", ")", ";", "if", "(", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "DestReg", ")", "&&", "SpillSize", "==", "4", ")", "{", "MachineRegisterInfo", "&", "MRI", "=", "MF", "->", "getRegInfo", "(", ")", ";", "MRI", ".", "constrainRegClass", "(", "DestReg", ",", "&", "AMDGPU", "::", "SReg_32_XM0RegClass", ")", ";", "}", "MachineInstrBuilder", "Spill", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "OpDesc", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addMemOperand", "(", "MMO", ")", ".", "addReg", "(", "MFI", "->", "getScratchRSrcReg", "(", ")", ",", "RegState", "::", "Implicit", ")", ".", "addReg", "(", "MFI", "->", "getFrameOffsetReg", "(", ")", ",", "RegState", "::", "Implicit", ")", ";", "if", "(", "ST", ".", "hasScalarStores", "(", ")", ")", "{", "Spill", ".", "addReg", "(", "AMDGPU", "::", "M0", ",", "RegState", "::", "ImplicitDefine", ")", ";", "}", "return", ";", "}", "if", "(", "!", "ST", ".", "isVGPRSpillingEnabled", "(", "*", "MF", "->", "getFunction", "(", ")", ")", ")", "{", "LLVMContext", "&", "Ctx", "=", "MF", "->", "getFunction", "(", ")", "->", "getContext", "(", ")", ";", "Ctx", ".", "emitError", "(", "\"SIInstrInfo::loadRegFromStackSlot - Do not know how to\"", "\" restore register\"", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "AMDGPU", "::", "IMPLICIT_DEF", ")", ",", "DestReg", ")", ";", "return", ";", "}", "assert", "(", "RI", ".", "hasVGPRs", "(", "RC", ")", "&&", "\"Only VGPR spilling expected\"", ")", ";", "unsigned", "Opcode", "=", "getVGPRSpillRestoreOpcode", "(", "SpillSize", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opcode", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addReg", "(", "MFI", "->", "getScratchRSrcReg", "(", ")", ")", ".", "addReg", "(", "MFI", "->", "getFrameOffsetReg", "(", ")", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "4", "AMDGPU::SReg_32_XM0RegClass", "AMDGPU::M0", "\"SIInstrInfo::loadRegFromStackSlot - Do not know how to\"", "\" restore register\"", "AMDGPU::IMPLICIT_DEF", "\"Only VGPR spilling expected\"", "0"], "File": "SIInstrInfo15", "Func": "loadRegFromStackSlot", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 151, "Length": 406, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_print_vector_float_operand", "(", "FILE", "*", "f", ",", "rtx", "x", ",", "bool", "negate", ")", "{", "rtx", "elt", ";", "if", "(", "!", "const_vec_duplicate_p", "(", "x", ",", "&", "elt", ")", ")", "return", "false", ";", "REAL_VALUE_TYPE", "r", "=", "*", "CONST_DOUBLE_REAL_VALUE", "(", "elt", ")", ";", "if", "(", "negate", ")", "r", "=", "real_value_negate", "(", "&", "r", ")", ";", "if", "(", "real_equal", "(", "&", "r", ",", "&", "dconst0", ")", ")", "asm_fprintf", "(", "f", ",", "\"0.0\"", ")", ";", "else", "if", "(", "real_equal", "(", "&", "r", ",", "&", "dconst1", ")", ")", "asm_fprintf", "(", "f", ",", "\"1.0\"", ")", ";", "else", "if", "(", "real_equal", "(", "&", "r", ",", "&", "dconsthalf", ")", ")", "asm_fprintf", "(", "f", ",", "\"0.5\"", ")", ";", "else", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Print", "floating-point", "vector", "immediate", "operand", "X", "to", "F", ",", "negating", "it", "first", "if", "NEGATE", "is", "true", ".", "Return", "true", "on", "success", ",", "false", "if", "it", "is", "n't", "a", "constant", "we", "can", "handle", "."], "TS_V_token": ["aarch64", "\"0.0\"", "\"1.0\"", "\"0.5\""], "File": "aarch645", "Func": "aarch64_print_vector_float_operand", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 152, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "DLXMCExpr", "*", "DLXMCExpr", "::", "create", "(", "VariantKind", "Kind", ",", "const", "MCExpr", "*", "Expr", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "(", "Ctx", ")", "DLXMCExpr", "(", "Kind", ",", "Expr", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["DLX", "DLX", "DLX", "DLX"], "File": "DLXMCExpr", "Func": "create", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 153, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MSP430InstrInfo", "::", "insertBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "TBB", ",", "MachineBasicBlock", "*", "FBB", ",", "ArrayRef", "<", "MachineOperand", ">", "Cond", ",", "const", "DebugLoc", "&", "DL", ",", "int", "*", "BytesAdded", ")", "const", "{", "assert", "(", "TBB", "&&", "\"insertBranch must not be told to insert a fallthrough\"", ")", ";", "assert", "(", "(", "Cond", ".", "size", "(", ")", "==", "1", "||", "Cond", ".", "size", "(", ")", "==", "0", ")", "&&", "\"MSP430 branch conditions have one component!\"", ")", ";", "assert", "(", "!", "BytesAdded", "&&", "\"code size not handled\"", ")", ";", "if", "(", "Cond", ".", "empty", "(", ")", ")", "{", "assert", "(", "!", "FBB", "&&", "\"Unconditional branch with multiple successors!\"", ")", ";", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "MSP430", "::", "JMP", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "return", "1", ";", "}", "unsigned", "Count", "=", "0", ";", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "MSP430", "::", "JCC", ")", ")", ".", "addMBB", "(", "TBB", ")", ".", "addImm", "(", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ")", ";", "++", "Count", ";", "if", "(", "FBB", ")", "{", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "MSP430", "::", "JMP", ")", ")", ".", "addMBB", "(", "FBB", ")", ";", "++", "Count", ";", "}", "return", "Count", ";", "}", ""], "natrual_language": ["Insert", "branch", "code", "into", "the", "end", "of", "the", "specified", "MachineBasicBlock", "."], "TS_V_token": ["MSP430", "MSP430", "\"insertBranch must not be told to insert a fallthrough\"", "1", "0", "\"MSP430 branch conditions have one component!\"", "\"code size not handled\"", "\"Unconditional branch with multiple successors!\"", "MSP430::JMP", "1", "0", "MSP430::JCC", "0", "MSP430::JMP"], "File": "MSP430InstrInfo10", "Func": "insertBranch", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 154, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "J2FrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "auto", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "auto", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", "-", "MFI", ".", "getCalleeSavedInfo", "(", ")", ".", "size", "(", ")", "*", "4", ";", "auto", "&", "TTI", "=", "*", "static_cast", "<", "const", "J2Subtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ".", "getInstrInfo", "(", ")", ";", "if", "(", "StackSize", "==", "0", ")", "return", ";", "auto", "it", "=", "MBB", ".", "getFirstTerminator", "(", ")", ";", "auto", "DL", "=", "it", "==", "MBB", ".", "end", "(", ")", "?", "DebugLoc", "{", "}", ":", "it", "->", "getDebugLoc", "(", ")", ";", "it", "=", "std", "::", "prev", "(", "it", ",", "MFI", ".", "getCalleeSavedInfo", "(", ")", ".", "size", "(", ")", ")", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "BuildMI", "(", "MBB", ",", "it", ",", "DL", ",", "TTI", ".", "get", "(", "J2", "::", "MOV32rr", ")", ",", "J2", "::", "R15", ")", ".", "addReg", "(", "J2", "::", "R14", ")", ";", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["J2", "J2", "4", "J2", "0", "J2::MOV32rr", "J2::R15", "J2::R14"], "File": "J2FrameLowering", "Func": "emitEpilogue", "Target": "J2", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 155, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsOs16", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "bool", "usingMask", "=", "Mips32FunctionMask", ".", "length", "(", ")", ">", "0", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Run on Module MipsOs16 \\n\"", "<<", "Mips32FunctionMask", "<<", "\"\\n\"", ")", ";", "if", "(", "usingMask", ")", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"using mask \\n\"", "<<", "Mips32FunctionMask", "<<", "\"\\n\"", ")", ";", "unsigned", "int", "functionIndex", "=", "0", ";", "bool", "modified", "=", "false", ";", "for", "(", "Module", "::", "iterator", "F", "=", "M", ".", "begin", "(", ")", ",", "E", "=", "M", ".", "end", "(", ")", ";", "F", "!=", "E", ";", "++", "F", ")", "{", "if", "(", "F", "->", "isDeclaration", "(", ")", ")", "continue", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Working on \"", "<<", "F", "->", "getName", "(", ")", "<<", "\"\\n\"", ")", ";", "if", "(", "usingMask", ")", "{", "if", "(", "functionIndex", "==", "Mips32FunctionMask", ".", "length", "(", ")", ")", "functionIndex", "=", "0", ";", "if", "(", "Mips32FunctionMask", "[", "functionIndex", "]", "==", "'1'", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"mask forced mips32: \"", "<<", "F", "->", "getName", "(", ")", "<<", "\"\\n\"", ")", ";", "F", "->", "addFnAttr", "(", "\"nomips16\"", ")", ";", "}", "functionIndex", "++", ";", "}", "else", "{", "if", "(", "needsFP", "(", "*", "F", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"os16 forced mips32: \"", "<<", "F", "->", "getName", "(", ")", "<<", "\"\\n\"", ")", ";", "F", "->", "addFnAttr", "(", "\"nomips16\"", ")", ";", "}", "else", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"os16 forced mips16: \"", "<<", "F", "->", "getName", "(", ")", "<<", "\"\\n\"", ")", ";", "F", "->", "addFnAttr", "(", "\"mips16\"", ")", ";", "}", "}", "}", "return", "modified", ";", "}", ""], "natrual_language": ["runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "."], "TS_V_token": ["Mips", "Mips", "Mips", "0", "\"Run on Module MipsOs16 \\n\"", "Mips", "\"\\n\"", "\"using mask \\n\"", "Mips", "\"\\n\"", "0", "\"Working on \"", "\"\\n\"", "Mips", "0", "Mips", "\"mask forced mips32: \"", "\"\\n\"", "\"nomips16\"", "\"os16 forced mips32: \"", "\"\\n\"", "\"nomips16\"", "\"os16 forced mips16: \"", "\"\\n\"", "\"mips16\""], "File": "MipsOs162", "Func": "runOnModule", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 156, "Length": 245, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUTargetLowering", "::", "shouldReduceLoadWidth", "(", "SDNode", "*", "N", ",", "ISD", "::", "LoadExtType", ",", "EVT", "NewVT", ")", "const", "{", "unsigned", "NewSize", "=", "NewVT", ".", "getStoreSizeInBits", "(", ")", ";", "if", "(", "NewSize", "==", "32", ")", "return", "true", ";", "EVT", "OldVT", "=", "N", "->", "getValueType", "(", "0", ")", ";", "unsigned", "OldSize", "=", "OldVT", ".", "getStoreSizeInBits", "(", ")", ";", "return", "(", "OldSize", "<", "32", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "we", "believe", "it", "is", "correct", "and", "profitable", "to", "reduce", "the", "load", "node", "to", "a", "smaller", "type", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "ISD::LoadExtType", "32", "0", "32"], "File": "AMDGPUISelLowering (2)", "Func": "shouldReduceLoadWidth", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 157, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_sibcall_aix", "(", "rtx", "value", ",", "rtx", "func_desc", ",", "rtx", "tlsarg", ",", "rtx", "cookie", ")", "{", "rtx", "call", "[", "2", "]", ";", "rtx", "insn", ";", "rtx", "r12", "=", "NULL_RTX", ";", "rtx", "func_addr", "=", "func_desc", ";", "if", "(", "global_tlsarg", ")", "tlsarg", "=", "global_tlsarg", ";", "if", "(", "INTVAL", "(", "cookie", ")", "&", "CALL_LONG", "&&", "SYMBOL_REF_P", "(", "func_desc", ")", ")", "{", "gcc_assert", "(", "rs6000_pcrel_p", "(", ")", ")", ";", "func_desc", "=", "rs6000_longcall_ref", "(", "func_desc", ",", "tlsarg", ")", ";", "}", "else", "gcc_assert", "(", "INTVAL", "(", "cookie", ")", "==", "0", ")", ";", "if", "(", "GET_CODE", "(", "func_desc", ")", "!=", "SYMBOL_REF", "&&", "DEFAULT_ABI", "==", "ABI_ELFv2", ")", "{", "r12", "=", "gen_rtx_REG", "(", "Pmode", ",", "12", ")", ";", "emit_move_insn", "(", "r12", ",", "func_desc", ")", ";", "func_addr", "=", "gen_rtx_REG", "(", "Pmode", ",", "CTR_REGNO", ")", ";", "emit_move_insn", "(", "func_addr", ",", "r12", ")", ";", "}", "call", "[", "0", "]", "=", "gen_rtx_CALL", "(", "VOIDmode", ",", "gen_rtx_MEM", "(", "SImode", ",", "func_addr", ")", ",", "tlsarg", ")", ";", "if", "(", "value", "!=", "NULL_RTX", ")", "call", "[", "0", "]", "=", "gen_rtx_SET", "(", "value", ",", "call", "[", "0", "]", ")", ";", "call", "[", "1", "]", "=", "simple_return_rtx", ";", "insn", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec_v", "(", "2", ",", "call", ")", ")", ";", "insn", "=", "emit_call_insn", "(", "insn", ")", ";", "if", "(", "!", "rs6000_pcrel_p", "(", ")", ")", "use_reg", "(", "&", "CALL_INSN_FUNCTION_USAGE", "(", "insn", ")", ",", "gen_rtx_REG", "(", "Pmode", ",", "TOC_REGNUM", ")", ")", ";", "if", "(", "r12", ")", "use_reg", "(", "&", "CALL_INSN_FUNCTION_USAGE", "(", "insn", ")", ",", "r12", ")", ";", "}", ""], "natrual_language": ["Expand", "code", "to", "perform", "a", "sibling", "call", "under", "the", "AIX", "or", "ELFv2", "ABI", "."], "TS_V_token": ["rs6000", "2", "0", "12", "0", "0", "0", "1", "2"], "File": "rs6000", "Func": "rs6000_sibcall_aix", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 158, "Length": 240, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SystemZDAGToDAGISel", "::", "getUNDEF", "(", "SDLoc", "DL", ",", "EVT", "VT", ")", "const", "{", "SDNode", "*", "N", "=", "CurDAG", "->", "getMachineNode", "(", "TargetOpcode", "::", "IMPLICIT_DEF", ",", "DL", ",", "VT", ")", ";", "return", "SDValue", "(", "N", ",", "0", ")", ";", "}", ""], "natrual_language": ["Return", "an", "UNDEF", "node", ".", "UNDEF", "does", "not", "have", "a", "useful", "SDLoc", "."], "TS_V_token": ["SystemZ", "SystemZ", "0"], "File": "SystemZISelDAGToDAG (2)", "Func": "getUNDEF", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 159, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "assignCalleeSavedSpillSlots", "(", "MachineFunction", "&", "MF", ",", "const", "TargetRegisterInfo", "*", "TRI", ",", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ")", "const", "override", "{", "std", "::", "reverse", "(", "CSI", ".", "begin", "(", ")", ",", "CSI", ".", "end", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["This", "function", "will", "assign", "callee", "saved", "gprs", "to", "volatile", "vector", "registers", "for", "prologue", "spills", "when", "applicable", "."], "TS_V_token": ["CSKY"], "File": "CSKYFrameLowering1", "Func": "assignCalleeSavedSpillSlots", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 160, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "OR1KTargetLowering", "::", "getExceptionPointerRegister", "(", "const", "Constant", "*", "PersonalityFn", ")", "const", "{", "return", "OR1K", "::", "R3", ";", "}", ""], "natrual_language": ["If", "a", "physical", "register", ",", "this", "returns", "the", "register", "that", "receives", "the", "exception", "address", "on", "entry", "to", "an", "EH", "pad", "."], "TS_V_token": ["OR1K", "OR1K", "OR1K::R3"], "File": "OR1KISelLowering1", "Func": "getExceptionPointerRegister", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 161, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "thumb_set_frame_pointer", "(", "arm_stack_offsets", "*", "offsets", ")", "{", "HOST_WIDE_INT", "amount", ";", "rtx", "insn", ",", "dwarf", ";", "amount", "=", "offsets", "->", "outgoing_args", "-", "offsets", "->", "locals_base", ";", "if", "(", "amount", "<", "1024", ")", "insn", "=", "emit_insn", "(", "gen_addsi3", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "amount", ")", ")", ")", ";", "else", "{", "emit_insn", "(", "gen_movsi", "(", "hard_frame_pointer_rtx", ",", "GEN_INT", "(", "amount", ")", ")", ")", ";", "if", "(", "TARGET_THUMB2", ")", "{", "insn", "=", "emit_insn", "(", "gen_addsi3", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ",", "hard_frame_pointer_rtx", ")", ")", ";", "}", "else", "{", "insn", "=", "emit_insn", "(", "gen_addsi3", "(", "hard_frame_pointer_rtx", ",", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ")", ")", ";", "}", "dwarf", "=", "gen_rtx_SET", "(", "hard_frame_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "amount", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "dwarf", ")", "=", "1", ";", "add_reg_note", "(", "insn", ",", "REG_FRAME_RELATED_EXPR", ",", "dwarf", ")", ";", "}", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", ""], "natrual_language": ["Set", "the", "Thumb", "frame", "pointer", "from", "the", "stack", "pointer", "."], "TS_V_token": ["arm", "1024", "1", "1"], "File": "arm", "Func": "thumb_set_frame_pointer", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 162, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AnalyzeCallResult", "(", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "CCAssignFn", "Fn", ",", "const", "TargetLowering", "::", "CallLoweringInfo", "&", "CLI", ")", "{", "PreAnalyzeCallResultForF128", "(", "Ins", ",", "CLI", ")", ";", "CCState", "::", "AnalyzeCallResult", "(", "Ins", ",", "Fn", ")", ";", "OriginalArgWasF128", ".", "clear", "(", ")", ";", "}", ""], "natrual_language": ["AnalyzeCallResult", "-", "Same", "as", "above", "except", "it", "'s", "specialized", "for", "calls", "which", "produce", "a", "single", "value", "."], "TS_V_token": ["Mips", "ISD::InputArg"], "File": "MipsISelLowering127", "Func": "AnalyzeCallResult", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 163, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "arm_vector_alignment", "(", "const_tree", "type", ")", "{", "HOST_WIDE_INT", "align", "=", "tree_to_shwi", "(", "TYPE_SIZE", "(", "type", ")", ")", ";", "if", "(", "TARGET_AAPCS_BASED", ")", "align", "=", "MIN", "(", "align", ",", "64", ")", ";", "return", "align", ";", "}", ""], "natrual_language": ["The", "AAPCS", "sets", "the", "maximum", "alignment", "of", "a", "vector", "to", "64", "bits", "."], "TS_V_token": ["arm", "64"], "File": "arm", "Func": "arm_vector_alignment", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 164, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "char", "*", "sorted_attr_string", "(", "tree", "arglist", ")", "{", "tree", "arg", ";", "size_t", "str_len_sum", "=", "0", ";", "char", "*", "*", "args", "=", "NULL", ";", "char", "*", "attr_str", ",", "*", "ret_str", ";", "char", "*", "attr", "=", "NULL", ";", "unsigned", "int", "argnum", "=", "1", ";", "unsigned", "int", "i", ";", "for", "(", "arg", "=", "arglist", ";", "arg", ";", "arg", "=", "TREE_CHAIN", "(", "arg", ")", ")", "{", "const", "char", "*", "str", "=", "TREE_STRING_POINTER", "(", "TREE_VALUE", "(", "arg", ")", ")", ";", "size_t", "len", "=", "strlen", "(", "str", ")", ";", "str_len_sum", "+=", "len", "+", "1", ";", "if", "(", "arg", "!=", "arglist", ")", "argnum", "++", ";", "for", "(", "i", "=", "0", ";", "i", "<", "strlen", "(", "str", ")", ";", "i", "++", ")", "if", "(", "str", "[", "i", "]", "==", "','", ")", "argnum", "++", ";", "}", "attr_str", "=", "XNEWVEC", "(", "char", ",", "str_len_sum", ")", ";", "str_len_sum", "=", "0", ";", "for", "(", "arg", "=", "arglist", ";", "arg", ";", "arg", "=", "TREE_CHAIN", "(", "arg", ")", ")", "{", "const", "char", "*", "str", "=", "TREE_STRING_POINTER", "(", "TREE_VALUE", "(", "arg", ")", ")", ";", "size_t", "len", "=", "strlen", "(", "str", ")", ";", "memcpy", "(", "attr_str", "+", "str_len_sum", ",", "str", ",", "len", ")", ";", "attr_str", "[", "str_len_sum", "+", "len", "]", "=", "TREE_CHAIN", "(", "arg", ")", "?", "','", ":", "'\\0'", ";", "str_len_sum", "+=", "len", "+", "1", ";", "}", "for", "(", "i", "=", "0", ";", "i", "<", "strlen", "(", "attr_str", ")", ";", "i", "++", ")", "if", "(", "attr_str", "[", "i", "]", "==", "'='", "||", "attr_str", "[", "i", "]", "==", "'-'", ")", "attr_str", "[", "i", "]", "=", "'_'", ";", "if", "(", "argnum", "==", "1", ")", "return", "attr_str", ";", "args", "=", "XNEWVEC", "(", "char", "*", ",", "argnum", ")", ";", "i", "=", "0", ";", "attr", "=", "strtok", "(", "attr_str", ",", "\",\"", ")", ";", "while", "(", "attr", "!=", "NULL", ")", "{", "args", "[", "i", "]", "=", "attr", ";", "i", "++", ";", "attr", "=", "strtok", "(", "NULL", ",", "\",\"", ")", ";", "}", "qsort", "(", "args", ",", "argnum", ",", "sizeof", "(", "char", "*", ")", ",", "attr_strcmp", ")", ";", "ret_str", "=", "XNEWVEC", "(", "char", ",", "str_len_sum", ")", ";", "str_len_sum", "=", "0", ";", "for", "(", "i", "=", "0", ";", "i", "<", "argnum", ";", "i", "++", ")", "{", "size_t", "len", "=", "strlen", "(", "args", "[", "i", "]", ")", ";", "memcpy", "(", "ret_str", "+", "str_len_sum", ",", "args", "[", "i", "]", ",", "len", ")", ";", "ret_str", "[", "str_len_sum", "+", "len", "]", "=", "i", "<", "argnum", "-", "1", "?", "'_'", ":", "'\\0'", ";", "str_len_sum", "+=", "len", "+", "1", ";", "}", "XDELETEVEC", "(", "args", ")", ";", "XDELETEVEC", "(", "attr_str", ")", ";", "return", "ret_str", ";", "}", ""], "natrual_language": ["ARGLIST", "is", "the", "argument", "to", "target", "attribute", ".", "This", "function", "tokenizes", "the", "comma", "separated", "arguments", ",", "sorts", "them", "and", "returns", "a", "string", "which", "is", "a", "unique", "identifier", "for", "the", "comma", "separated", "arguments", ".", "It", "also", "replaces", "non-identifier", "characters", "``", "=", ",", "-", "''", "with", "``", "_", "''", "."], "TS_V_token": ["i386", "0", "1", "1", "0", "0", "1", "0", "1", "0", "\",\"", "\",\"", "0", "0", "1", "1"], "File": "i3864", "Func": "sorted_attr_string", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 165, "Length": 415, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "*", "getAdjustedAnalysisPointer", "(", "const", "void", "*", "ID", ")", "override", "{", "if", "(", "ID", "==", "&", "TargetTransformInfo", "::", "ID", ")", "return", "(", "TargetTransformInfo", "*", ")", "this", ";", "return", "this", ";", "}", ""], "natrual_language": ["getAdjustedAnalysisPointer", "-", "This", "method", "is", "used", "when", "a", "pass", "implements", "an", "analysis", "interface", "through", "multiple", "inheritance", "."], "TS_V_token": ["X86"], "File": "X86TargetTransformInfo112", "Func": "getAdjustedAnalysisPointer", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 166, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsMCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "MO", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "{", "unsigned", "Reg", "=", "MO", ".", "getReg", "(", ")", ";", "unsigned", "RegNo", "=", "Ctx", ".", "getRegisterInfo", "(", ")", "->", "getEncodingValue", "(", "Reg", ")", ";", "return", "RegNo", ";", "}", "else", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "}", "else", "if", "(", "MO", ".", "isFPImm", "(", ")", ")", "{", "return", "static_cast", "<", "unsigned", ">", "(", "APFloat", "(", "MO", ".", "getFPImm", "(", ")", ")", ".", "bitcastToAPInt", "(", ")", ".", "getHiBits", "(", "32", ")", ".", "getLimitedValue", "(", ")", ")", ";", "}", "assert", "(", "MO", ".", "isExpr", "(", ")", ")", ";", "return", "getExprOpValue", "(", "MO", ".", "getExpr", "(", ")", ",", "Fixups", ")", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["Mips", "Mips", "32"], "File": "MipsMCCodeEmitter12", "Func": "getMachineOpValue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 167, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "UnmangledFuncInfo", "::", "lookup", "(", "StringRef", "Name", ",", "ID", "&", "Id", ")", "{", "auto", "Loc", "=", "Map", ".", "find", "(", "Name", ")", ";", "if", "(", "Loc", "!=", "Map", ".", "end", "(", ")", ")", "{", "Id", "=", "toFuncId", "(", "Loc", "->", "second", ")", ";", "return", "true", ";", "}", "Id", "=", "AMDGPULibFunc", "::", "EI_NONE", ";", "return", "false", ";", "}", ""], "natrual_language": ["This", "method", "finds", "the", "value", "with", "the", "given", "Name", "in", "the", "the", "symbol", "table", "."], "TS_V_token": ["AMDGPU", "AMDGPU"], "File": "AMDGPULibFunc1", "Func": "lookup", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 168, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMBaseTargetMachine", "::", "ARMBaseTargetMachine", "(", "const", "Target", "&", "T", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Optional", "<", "Reloc", "::", "Model", ">", "RM", ",", "Optional", "<", "CodeModel", "::", "Model", ">", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "isLittle", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ",", "CPU", ",", "Options", ",", "isLittle", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "getEffectiveRelocModel", "(", "TT", ",", "RM", ")", ",", "getEffectiveCodeModel", "(", "CM", ")", ",", "OL", ")", ",", "TargetABI", "(", "computeTargetABI", "(", "TT", ",", "CPU", ",", "Options", ")", ")", ",", "TLOF", "(", "createTLOF", "(", "getTargetTriple", "(", ")", ")", ")", ",", "isLittle", "(", "isLittle", ")", "{", "if", "(", "Options", ".", "FloatABIType", "==", "FloatABI", "::", "Default", ")", "{", "if", "(", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "GNUEABIHF", "||", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "MuslEABIHF", "||", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "EABIHF", "||", "TargetTriple", ".", "isOSWindows", "(", ")", "||", "TargetABI", "==", "ARMBaseTargetMachine", "::", "ARM_ABI_AAPCS16", ")", "this", "->", "Options", ".", "FloatABIType", "=", "FloatABI", "::", "Hard", ";", "else", "this", "->", "Options", ".", "FloatABIType", "=", "FloatABI", "::", "Soft", ";", "}", "if", "(", "Options", ".", "EABIVersion", "==", "EABI", "::", "Default", "||", "Options", ".", "EABIVersion", "==", "EABI", "::", "Unknown", ")", "{", "if", "(", "(", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "GNUEABI", "||", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "GNUEABIHF", "||", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "MuslEABI", "||", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "MuslEABIHF", ")", "&&", "!", "(", "TargetTriple", ".", "isOSWindows", "(", ")", "||", "TargetTriple", ".", "isOSDarwin", "(", ")", ")", ")", "this", "->", "Options", ".", "EABIVersion", "=", "EABI", "::", "GNU", ";", "else", "this", "->", "Options", ".", "EABIVersion", "=", "EABI", "::", "EABI5", ";", "}", "if", "(", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", "this", "->", "Options", ".", "TrapUnreachable", "=", "true", ";", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "ARM", "architecture", "model", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM"], "File": "ARMTargetMachine24", "Func": "ARMBaseTargetMachine", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 169, "Length": 313, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "X86ATTInstPrinter", "::", "getOpcodeName", "(", "unsigned", "Opcode", ")", "const", "{", "return", "getInstructionName", "(", "Opcode", ")", ";", "}", ""], "natrual_language": ["Return", "a", "string", "representation", "for", "an", "opcode", "."], "TS_V_token": ["X86", "X86"], "File": "X86ATTInstPrinter12", "Func": "getOpcodeName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 170, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "spu_expand_vector_init", "(", "rtx", "target", ",", "rtx", "vals", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "target", ")", ";", "int", "n_elts", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "int", "n_var", "=", "0", ";", "bool", "all_same", "=", "true", ";", "rtx", "first", ",", "x", "=", "NULL_RTX", ",", "first_constant", "=", "NULL_RTX", ";", "int", "i", ";", "first", "=", "XVECEXP", "(", "vals", ",", "0", ",", "0", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "n_elts", ";", "++", "i", ")", "{", "x", "=", "XVECEXP", "(", "vals", ",", "0", ",", "i", ")", ";", "if", "(", "!", "(", "CONST_INT_P", "(", "x", ")", "||", "GET_CODE", "(", "x", ")", "==", "CONST_DOUBLE", "||", "GET_CODE", "(", "x", ")", "==", "CONST_FIXED", ")", ")", "++", "n_var", ";", "else", "{", "if", "(", "first_constant", "==", "NULL_RTX", ")", "first_constant", "=", "x", ";", "}", "if", "(", "i", ">", "0", "&&", "!", "rtx_equal_p", "(", "x", ",", "first", ")", ")", "all_same", "=", "false", ";", "}", "if", "(", "all_same", ")", "{", "if", "(", "!", "CONSTANT_P", "(", "first", ")", "&&", "!", "register_operand", "(", "first", ",", "GET_MODE", "(", "x", ")", ")", ")", "first", "=", "force_reg", "(", "GET_MODE", "(", "first", ")", ",", "first", ")", ";", "emit_insn", "(", "gen_spu_splats", "(", "target", ",", "first", ")", ")", ";", "return", ";", "}", "if", "(", "n_var", "!=", "n_elts", ")", "{", "if", "(", "n_var", "==", "0", ")", "{", "emit_move_insn", "(", "target", ",", "gen_rtx_CONST_VECTOR", "(", "mode", ",", "XVEC", "(", "vals", ",", "0", ")", ")", ")", ";", "}", "else", "{", "rtx", "constant_parts_rtx", "=", "copy_rtx", "(", "vals", ")", ";", "gcc_assert", "(", "first_constant", "!=", "NULL_RTX", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "n_elts", ";", "++", "i", ")", "{", "x", "=", "XVECEXP", "(", "constant_parts_rtx", ",", "0", ",", "i", ")", ";", "if", "(", "!", "(", "CONST_INT_P", "(", "x", ")", "||", "GET_CODE", "(", "x", ")", "==", "CONST_DOUBLE", "||", "GET_CODE", "(", "x", ")", "==", "CONST_FIXED", ")", ")", "XVECEXP", "(", "constant_parts_rtx", ",", "0", ",", "i", ")", "=", "first_constant", ";", "}", "spu_expand_vector_init", "(", "target", ",", "constant_parts_rtx", ")", ";", "}", "}", "if", "(", "n_var", "!=", "0", ")", "{", "rtx", "insert_operands", "[", "4", "]", ";", "insert_operands", "[", "0", "]", "=", "target", ";", "insert_operands", "[", "2", "]", "=", "target", ";", "for", "(", "i", "=", "0", ";", "i", "<", "n_elts", ";", "++", "i", ")", "{", "x", "=", "XVECEXP", "(", "vals", ",", "0", ",", "i", ")", ";", "if", "(", "!", "(", "CONST_INT_P", "(", "x", ")", "||", "GET_CODE", "(", "x", ")", "==", "CONST_DOUBLE", "||", "GET_CODE", "(", "x", ")", "==", "CONST_FIXED", ")", ")", "{", "if", "(", "!", "register_operand", "(", "x", ",", "GET_MODE", "(", "x", ")", ")", ")", "x", "=", "force_reg", "(", "GET_MODE", "(", "x", ")", ",", "x", ")", ";", "insert_operands", "[", "1", "]", "=", "x", ";", "insert_operands", "[", "3", "]", "=", "GEN_INT", "(", "i", ")", ";", "spu_builtin_insert", "(", "insert_operands", ")", ";", "}", "}", "}", "}", ""], "natrual_language": ["expand", "vector", "initialization", ".", "If", "there", "are", "any", "constant", "parts", ",", "load", "constant", "parts", "first", ".", "Then", "load", "any", "non-constant", "parts", "."], "TS_V_token": ["spu", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "4", "0", "2", "0", "0", "1", "3"], "File": "spu", "Func": "spu_expand_vector_init", "Target": "spu", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 171, "Length": 441, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createAMDGPUISelDag", "(", "getAMDGPUTargetMachine", "(", ")", ")", ")", ";", "addPass", "(", "createSILowerI1CopiesPass", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["R600", "SI"], "File": "AMDGPUTargetMachine100", "Func": "addInstSelector", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 172, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "override", "{", "llvm_unreachable", "(", "\"RelaxInstruction() unimplemented\"", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "."], "TS_V_token": ["SIC", "\"RelaxInstruction() unimplemented\""], "File": "SICAsmBackend", "Func": "fixupNeedsRelaxation", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 173, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "RISCVInstrInfo", "::", "convertToThreeAddress", "(", "MachineInstr", "&", "MI", ",", "LiveVariables", "*", "LV", ",", "LiveIntervals", "*", "LIS", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "CASE_WIDEOP_OPCODE_LMULS_MF4", "(", "FWADD_WV", ")", ":", "case", "CASE_WIDEOP_OPCODE_LMULS_MF4", "(", "FWSUB_WV", ")", ":", "case", "CASE_WIDEOP_OPCODE_LMULS", "(", "WADD_WV", ")", ":", "case", "CASE_WIDEOP_OPCODE_LMULS", "(", "WADDU_WV", ")", ":", "case", "CASE_WIDEOP_OPCODE_LMULS", "(", "WSUB_WV", ")", ":", "case", "CASE_WIDEOP_OPCODE_LMULS", "(", "WSUBU_WV", ")", ":", "{", "unsigned", "NewOpc", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected opcode\"", ")", ";", "CASE_WIDEOP_CHANGE_OPCODE_LMULS_MF4", "(", "FWADD_WV", ")", "CASE_WIDEOP_CHANGE_OPCODE_LMULS_MF4", "(", "FWSUB_WV", ")", "CASE_WIDEOP_CHANGE_OPCODE_LMULS", "(", "WADD_WV", ")", "CASE_WIDEOP_CHANGE_OPCODE_LMULS", "(", "WADDU_WV", ")", "CASE_WIDEOP_CHANGE_OPCODE_LMULS", "(", "WSUB_WV", ")", "CASE_WIDEOP_CHANGE_OPCODE_LMULS", "(", "WSUBU_WV", ")", "}", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "get", "(", "NewOpc", ")", ")", ".", "add", "(", "MI", ".", "getOperand", "(", "0", ")", ")", ".", "add", "(", "MI", ".", "getOperand", "(", "1", ")", ")", ".", "add", "(", "MI", ".", "getOperand", "(", "2", ")", ")", ".", "add", "(", "MI", ".", "getOperand", "(", "3", ")", ")", ".", "add", "(", "MI", ".", "getOperand", "(", "4", ")", ")", ";", "MIB", ".", "copyImplicitOps", "(", "MI", ")", ";", "if", "(", "LV", ")", "{", "unsigned", "NumOps", "=", "MI", ".", "getNumOperands", "(", ")", ";", "for", "(", "unsigned", "I", "=", "1", ";", "I", "<", "NumOps", ";", "++", "I", ")", "{", "MachineOperand", "&", "Op", "=", "MI", ".", "getOperand", "(", "I", ")", ";", "if", "(", "Op", ".", "isReg", "(", ")", "&&", "Op", ".", "isKill", "(", ")", ")", "LV", "->", "replaceKillInstruction", "(", "Op", ".", "getReg", "(", ")", ",", "MI", ",", "*", "MIB", ")", ";", "}", "}", "if", "(", "LIS", ")", "{", "SlotIndex", "Idx", "=", "LIS", "->", "ReplaceMachineInstrInMaps", "(", "MI", ",", "*", "MIB", ")", ";", "if", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "isEarlyClobber", "(", ")", ")", "{", "LiveInterval", "&", "LI", "=", "LIS", "->", "getInterval", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ";", "LiveRange", "::", "Segment", "*", "S", "=", "LI", ".", "getSegmentContaining", "(", "Idx", ")", ";", "if", "(", "S", "->", "end", "==", "Idx", ".", "getRegSlot", "(", "true", ")", ")", "S", "->", "end", "=", "Idx", ".", "getRegSlot", "(", ")", ";", "}", "}", "return", "MIB", ";", "}", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["convertToThreeAddress", "-", "This", "method", "must", "be", "implemented", "by", "targets", "that", "set", "the", "M_CONVERTIBLE_TO_3_ADDR", "flag", "."], "TS_V_token": ["RISCV", "RISCV", "\"Unexpected opcode\"", "0", "1", "2", "3", "4", "1", "0", "1"], "File": "RISCVInstrInfo22", "Func": "convertToThreeAddress", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 174, "Length": 374, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Cpu0PassConfig", "::", "addPreEmitPass", "(", ")", "{", "Cpu0TargetMachine", "&", "TM", "=", "getCpu0TargetMachine", "(", ")", ";", "addPass", "(", "createCpu0DelJmpPass", "(", "TM", ")", ")", ";", "addPass", "(", "createCpu0DelaySlotFillerPass", "(", "TM", ")", ")", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0"], "File": "Cpu0TargetMachine4", "Func": "addPreEmitPass", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 175, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "s390_conditional_register_usage", "(", "void", ")", "{", "int", "i", ";", "if", "(", "flag_pic", ")", "{", "fixed_regs", "[", "PIC_OFFSET_TABLE_REGNUM", "]", "=", "1", ";", "call_used_regs", "[", "PIC_OFFSET_TABLE_REGNUM", "]", "=", "1", ";", "}", "if", "(", "TARGET_CPU_ZARCH", ")", "{", "fixed_regs", "[", "BASE_REGNUM", "]", "=", "0", ";", "call_used_regs", "[", "BASE_REGNUM", "]", "=", "0", ";", "fixed_regs", "[", "RETURN_REGNUM", "]", "=", "0", ";", "call_used_regs", "[", "RETURN_REGNUM", "]", "=", "0", ";", "}", "if", "(", "TARGET_64BIT", ")", "{", "for", "(", "i", "=", "FPR8_REGNUM", ";", "i", "<=", "FPR15_REGNUM", ";", "i", "++", ")", "call_used_regs", "[", "i", "]", "=", "call_really_used_regs", "[", "i", "]", "=", "0", ";", "}", "else", "{", "call_used_regs", "[", "FPR4_REGNUM", "]", "=", "call_really_used_regs", "[", "FPR4_REGNUM", "]", "=", "0", ";", "call_used_regs", "[", "FPR6_REGNUM", "]", "=", "call_really_used_regs", "[", "FPR6_REGNUM", "]", "=", "0", ";", "}", "if", "(", "TARGET_SOFT_FLOAT", ")", "{", "for", "(", "i", "=", "FPR0_REGNUM", ";", "i", "<=", "FPR15_REGNUM", ";", "i", "++", ")", "call_used_regs", "[", "i", "]", "=", "fixed_regs", "[", "i", "]", "=", "1", ";", "}", "}", ""], "natrual_language": ["Implement", "CONDITIONAL_REGISTER_USAGE", "."], "TS_V_token": ["s390", "1", "1", "0", "0", "0", "0", "0", "0", "0", "1"], "File": "s3904", "Func": "s390_conditional_register_usage", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 176, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LoongArchFrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetRegisterInfo", "*", "RegInfo", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "||", "RegInfo", "->", "hasStackRealignment", "(", "MF", ")", "||", "MFI", ".", "hasVarSizedObjects", "(", ")", "||", "MFI", ".", "isFrameAddressTaken", "(", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["LoongArch", "LoongArch"], "File": "LoongArchFrameLowering", "Func": "hasFP", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 177, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MINA32RegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "MI", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["MINA32", "MINA32"], "File": "MINA32RegisterInfo", "Func": "eliminateFrameIndex", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 178, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getGlobalBaseReg", "(", ")", "const", "{", "return", "GlobalBaseReg", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["M68k"], "File": "M68kMachineFunction (2)", "Func": "getGlobalBaseReg", "Target": "M68k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 179, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "m68hc11_init_libfuncs", "(", "void", ")", "{", "memcpy_libfunc", "=", "init_one_libfunc", "(", "\"__memcpy\"", ")", ";", "memcmp_libfunc", "=", "init_one_libfunc", "(", "\"__memcmp\"", ")", ";", "memset_libfunc", "=", "init_one_libfunc", "(", "\"__memset\"", ")", ";", "}", ""], "natrual_language": ["Override", "memcpy"], "TS_V_token": ["m68hc11", "\"__memcpy\"", "\"__memcmp\"", "\"__memset\""], "File": "m68hc111", "Func": "m68hc11_init_libfuncs", "Target": "m68hc11", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 180, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "GCNPassConfig", "::", "addOptimizedRegAlloc", "(", ")", "{", "insertPass", "(", "&", "MachineSchedulerID", ",", "&", "SIWholeQuadModeID", ")", ";", "insertPass", "(", "&", "MachineSchedulerID", ",", "&", "SIPreAllocateWWMRegsID", ")", ";", "if", "(", "OptExecMaskPreRA", ")", "insertPass", "(", "&", "MachineSchedulerID", ",", "&", "SIOptimizeExecMaskingPreRAID", ")", ";", "insertPass", "(", "&", "MachineSchedulerID", ",", "&", "SIFormMemoryClausesID", ")", ";", "insertPass", "(", "&", "PHIEliminationID", ",", "&", "SILowerControlFlowID", ",", "false", ")", ";", "if", "(", "EnableDCEInRA", ")", "insertPass", "(", "&", "DetectDeadLanesID", ",", "&", "DeadMachineInstructionElimID", ")", ";", "TargetPassConfig", "::", "addOptimizedRegAlloc", "(", ")", ";", "}", ""], "natrual_language": ["addOptimizedRegAlloc", "-", "Add", "passes", "related", "to", "register", "allocation", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "SI", "SI"], "File": "AMDGPUTargetMachine10", "Func": "addOptimizedRegAlloc", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 181, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "const", "TargetRegisterClass", "*", ",", "uint8_t", ">", "X86TargetLowering", "::", "findRepresentativeClass", "(", "const", "TargetRegisterInfo", "*", "TRI", ",", "MVT", "VT", ")", "const", "{", "const", "TargetRegisterClass", "*", "RRC", "=", "nullptr", ";", "uint8_t", "Cost", "=", "1", ";", "switch", "(", "VT", ".", "SimpleTy", ")", "{", "default", ":", "return", "TargetLowering", "::", "findRepresentativeClass", "(", "TRI", ",", "VT", ")", ";", "case", "MVT", "::", "i8", ":", "case", "MVT", "::", "i16", ":", "case", "MVT", "::", "i32", ":", "case", "MVT", "::", "i64", ":", "RRC", "=", "Subtarget", ".", "is64Bit", "(", ")", "?", "&", "X86", "::", "GR64RegClass", ":", "&", "X86", "::", "GR32RegClass", ";", "break", ";", "case", "MVT", "::", "x86mmx", ":", "RRC", "=", "&", "X86", "::", "VR64RegClass", ";", "break", ";", "case", "MVT", "::", "f32", ":", "case", "MVT", "::", "f64", ":", "case", "MVT", "::", "v16i8", ":", "case", "MVT", "::", "v8i16", ":", "case", "MVT", "::", "v4i32", ":", "case", "MVT", "::", "v2i64", ":", "case", "MVT", "::", "v4f32", ":", "case", "MVT", "::", "v2f64", ":", "case", "MVT", "::", "v32i8", ":", "case", "MVT", "::", "v8i32", ":", "case", "MVT", "::", "v4i64", ":", "case", "MVT", "::", "v8f32", ":", "case", "MVT", "::", "v4f64", ":", "RRC", "=", "&", "X86", "::", "VR128RegClass", ";", "break", ";", "}", "return", "std", "::", "make_pair", "(", "RRC", ",", "Cost", ")", ";", "}", ""], "natrual_language": ["Return", "the", "largest", "legal", "super-reg", "register", "class", "of", "the", "register", "class", "for", "the", "specified", "type", "and", "its", "associated", "``", "cost", "''", "."], "TS_V_token": ["X86", "X86", "1", "MVT::i8", "MVT::i16", "MVT::i32", "MVT::i64", "X86::GR64RegClass", "X86::GR32RegClass", "MVT::x86mmx", "X86::VR64RegClass", "MVT::f32", "MVT::f64", "MVT::v16i8", "MVT::v8i16", "MVT::v4i32", "MVT::v2i64", "MVT::v4f32", "MVT::v2f64", "MVT::v32i8", "MVT::v8i32", "MVT::v4i64", "MVT::v8f32", "MVT::v4f64", "X86::VR128RegClass"], "File": "X86ISelLowering (3)", "Func": "findRepresentativeClass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 182, "Length": 195, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_override_options_after_change", "(", "void", ")", "{", "arm_override_options_after_change_1", "(", "&", "global_options", ")", ";", "}", ""], "natrual_language": ["Implement", "targetm.override_options_after_change", "."], "TS_V_token": ["arm"], "File": "arm5", "Func": "arm_override_options_after_change", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 183, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMELFStreamer", "&", "ARMTargetELFStreamer", "::", "getStreamer", "(", ")", "{", "return", "static_cast", "<", "ARMELFStreamer", "&", ">", "(", "Streamer", ")", ";", "}", ""], "natrual_language": ["Return", "the", "output", "streamer", "for", "the", "assembler", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM"], "File": "ARMELFStreamer (2)", "Func": "getStreamer", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 184, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AVRInstrInfo", "::", "isBranchOffsetInRange", "(", "unsigned", "BranchOp", ",", "int64_t", "BrOffset", ")", "const", "{", "switch", "(", "BranchOp", ")", "{", "default", ":", "llvm_unreachable", "(", "\"unexpected opcode!\"", ")", ";", "case", "AVR", "::", "JMPk", ":", "case", "AVR", "::", "CALLk", ":", "assert", "(", "BrOffset", ">=", "0", "&&", "\"offset must be absolute address\"", ")", ";", "return", "isUIntN", "(", "16", ",", "BrOffset", ")", ";", "case", "AVR", "::", "RCALLk", ":", "case", "AVR", "::", "RJMPk", ":", "return", "isIntN", "(", "13", ",", "BrOffset", ")", ";", "case", "AVR", "::", "BRBSsk", ":", "case", "AVR", "::", "BRBCsk", ":", "case", "AVR", "::", "BREQk", ":", "case", "AVR", "::", "BRNEk", ":", "case", "AVR", "::", "BRSHk", ":", "case", "AVR", "::", "BRLOk", ":", "case", "AVR", "::", "BRMIk", ":", "case", "AVR", "::", "BRPLk", ":", "case", "AVR", "::", "BRGEk", ":", "case", "AVR", "::", "BRLTk", ":", "return", "isIntN", "(", "7", ",", "BrOffset", ")", ";", "}", "}", ""], "natrual_language": ["Determine", "if", "the", "branch", "target", "is", "in", "range", "."], "TS_V_token": ["AVR", "AVR", "\"unexpected opcode!\"", "AVR::JMPk", "AVR::CALLk", "0", "\"offset must be absolute address\"", "16", "AVR::RCALLk", "AVR::RJMPk", "13", "AVR::BRBSsk", "AVR::BRBCsk", "AVR::BREQk", "AVR::BRNEk", "AVR::BRSHk", "AVR::BRLOk", "AVR::BRMIk", "AVR::BRPLk", "AVR::BRGEk", "AVR::BRLTk", "7"], "File": "AVRInstrInfo6", "Func": "isBranchOffsetInRange", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 185, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "alignment_with_canonical_addr", "(", "rtx", "align", ")", "{", "rtx", "canon", ";", "rtx", "addr", "=", "XEXP", "(", "align", ",", "0", ")", ";", "if", "(", "REG_P", "(", "addr", ")", ")", "canon", "=", "addr", ";", "else", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PLUS", ")", "{", "rtx", "addrop0", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "rtx", "addrop1", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "if", "(", "!", "REG_P", "(", "addrop0", ")", ")", "addrop0", "=", "force_reg", "(", "GET_MODE", "(", "addrop0", ")", ",", "addrop0", ")", ";", "if", "(", "!", "REG_P", "(", "addrop1", ")", ")", "addrop1", "=", "force_reg", "(", "GET_MODE", "(", "addrop1", ")", ",", "addrop1", ")", ";", "canon", "=", "gen_rtx_PLUS", "(", "GET_MODE", "(", "addr", ")", ",", "addrop0", ",", "addrop1", ")", ";", "}", "else", "canon", "=", "force_reg", "(", "GET_MODE", "(", "addr", ")", ",", "addr", ")", ";", "return", "gen_rtx_AND", "(", "GET_MODE", "(", "align", ")", ",", "canon", ",", "GEN_INT", "(", "-", "16", ")", ")", ";", "}", ""], "natrual_language": ["Return", "RTX", "with", "its", "address", "canonicalized", "to", "(", "reg", ")", "or", "(", "+", "reg", "reg", ")", ".", "Here", "RTX", "is", "an", "(", "&", "addr", "(", "const_int", "-16", ")", ")", ".", "Always", "return", "a", "new", "copy", "to", "avoid", "problems", "with", "combine", "."], "TS_V_token": ["powerpcspe", "0", "0", "1", "16"], "File": "powerpcspe", "Func": "alignment_with_canonical_addr", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 186, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "M680x0InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "DstReg", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "assert", "(", "MF", ".", "getFrameInfo", "(", ")", ".", "getObjectSize", "(", "FrameIndex", ")", "==", "4", "&&", "\"Stack slot too small for store\"", ")", ";", "unsigned", "Opc", "=", "getLoadRegOpcode", "(", "DstReg", ",", "RC", ",", "TRI", ",", "Subtarget", ")", ";", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "addFrameReference", "(", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opc", ")", ",", "DstReg", ")", ",", "FrameIndex", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["M680x0", "M680x0", "4", "\"Stack slot too small for store\""], "File": "M680x0InstrInfo", "Func": "loadRegFromStackSlot", "Target": "M680x0", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 187, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CSKYConstantIslands", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Mf", ")", "{", "MF", "=", "&", "Mf", ";", "MCP", "=", "Mf", ".", "getConstantPool", "(", ")", ";", "STI", "=", "&", "Mf", ".", "getSubtarget", "<", "CSKYSubtarget", ">", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** CSKYConstantIslands: \"", "<<", "MCP", "->", "getConstants", "(", ")", ".", "size", "(", ")", "<<", "\" CP entries, aligned to \"", "<<", "MCP", "->", "getConstantPoolAlign", "(", ")", ".", "value", "(", ")", "<<", "\" bytes *****\\n\"", ")", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "MFI", "=", "MF", "->", "getInfo", "<", "CSKYMachineFunctionInfo", ">", "(", ")", ";", "MF", "->", "getRegInfo", "(", ")", ".", "invalidateLiveness", "(", ")", ";", "MF", "->", "RenumberBlocks", "(", ")", ";", "bool", "MadeChange", "=", "false", ";", "std", "::", "vector", "<", "MachineInstr", "*", ">", "CPEMIs", ";", "if", "(", "!", "MCP", "->", "isEmpty", "(", ")", ")", "doInitialPlacement", "(", "CPEMIs", ")", ";", "initPICLabelUId", "(", "CPEMIs", ".", "size", "(", ")", ")", ";", "initializeFunctionInfo", "(", "CPEMIs", ")", ";", "CPEMIs", ".", "clear", "(", ")", ";", "LLVM_DEBUG", "(", "dumpBBs", "(", ")", ")", ";", "MadeChange", "|=", "removeUnusedCPEntries", "(", ")", ";", "unsigned", "NoCPIters", "=", "0", ",", "NoBRIters", "=", "0", ";", "(", "void", ")", "NoBRIters", ";", "while", "(", "true", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Beginning CP iteration #\"", "<<", "NoCPIters", "<<", "'\\n'", ")", ";", "bool", "CPChange", "=", "false", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "CPUsers", ".", "size", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "CPChange", "|=", "handleConstantPoolUser", "(", "I", ")", ";", "if", "(", "CPChange", "&&", "++", "NoCPIters", ">", "30", ")", "report_fatal_error", "(", "\"Constant Island pass failed to converge!\"", ")", ";", "LLVM_DEBUG", "(", "dumpBBs", "(", ")", ")", ";", "NewWaterList", ".", "clear", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Beginning BR iteration #\"", "<<", "NoBRIters", "<<", "'\\n'", ")", ";", "bool", "BRChange", "=", "false", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "ImmBranches", ".", "size", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "BRChange", "|=", "fixupImmediateBr", "(", "ImmBranches", "[", "I", "]", ")", ";", "if", "(", "BRChange", "&&", "++", "NoBRIters", ">", "30", ")", "report_fatal_error", "(", "\"Branch Fix Up pass failed to converge!\"", ")", ";", "LLVM_DEBUG", "(", "dumpBBs", "(", ")", ")", ";", "if", "(", "!", "CPChange", "&&", "!", "BRChange", ")", "break", ";", "MadeChange", "=", "true", ";", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "'\\n'", ";", "dumpBBs", "(", ")", ")", ";", "BBInfo", ".", "clear", "(", ")", ";", "WaterList", ".", "clear", "(", ")", ";", "CPUsers", ".", "clear", "(", ")", ";", "CPEntries", ".", "clear", "(", ")", ";", "ImmBranches", ".", "clear", "(", ")", ";", "return", "MadeChange", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["CSKY", "CSKY", "CSKY", "\"***** CSKYConstantIslands: \"", "\" CP entries, aligned to \"", "\" bytes *****\\n\"", "CSKY", "0", "0", "\"Beginning CP iteration #\"", "0", "30", "\"Constant Island pass failed to converge!\"", "\"Beginning BR iteration #\"", "0", "30", "\"Branch Fix Up pass failed to converge!\""], "File": "CSKYConstantIslandPass2", "Func": "runOnMachineFunction", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 188, "Length": 390, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emit_frame_store_1", "(", "rtx", "value", ",", "rtx", "base_reg", ",", "HOST_WIDE_INT", "frame_bias", ",", "HOST_WIDE_INT", "base_ofs", ",", "rtx", "frame_reg", ")", "{", "rtx", "addr", ",", "mem", ";", "rtx_insn", "*", "insn", ";", "addr", "=", "plus_constant", "(", "Pmode", ",", "base_reg", ",", "base_ofs", ")", ";", "mem", "=", "gen_frame_mem", "(", "DImode", ",", "addr", ")", ";", "insn", "=", "emit_move_insn", "(", "mem", ",", "value", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "if", "(", "frame_bias", "||", "value", "!=", "frame_reg", ")", "{", "if", "(", "frame_bias", ")", "{", "addr", "=", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "frame_bias", "+", "base_ofs", ")", ";", "mem", "=", "gen_rtx_MEM", "(", "DImode", ",", "addr", ")", ";", "}", "add_reg_note", "(", "insn", ",", "REG_FRAME_RELATED_EXPR", ",", "gen_rtx_SET", "(", "VOIDmode", ",", "mem", ",", "frame_reg", ")", ")", ";", "}", "}", ""], "natrual_language": ["Generates", "a", "store", "with", "the", "proper", "unwind", "info", "attached", ".", "VALUE", "is", "stored", "at", "BASE_REG+BASE_OFS", ".", "If", "FRAME_BIAS", "is", "nonzero", ",", "then", "BASE_REG", "contains", "SP+FRAME_BIAS", ",", "and", "that", "is", "the", "unwind", "info", "that", "should", "be", "generated", ".", "If", "FRAME_REG", "!", "=", "VALUE", ",", "then", "VALUE", "is", "being", "stored", "on", "behalf", "of", "FRAME_REG", ",", "and", "FRAME_REG", "should", "be", "present", "in", "the", "unwind", "."], "TS_V_token": ["alpha", "1"], "File": "alpha4", "Func": "emit_frame_store_1", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 189, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "update_total_code_bytes", "(", "int", "nbytes", ")", "{", "if", "(", "(", "TARGET_PORTABLE_RUNTIME", "||", "!", "TARGET_GAS", "||", "!", "TARGET_SOM", ")", "&&", "!", "IN_NAMED_SECTION_P", "(", "cfun", "->", "decl", ")", ")", "{", "if", "(", "INSN_ADDRESSES_SET_P", "(", ")", ")", "{", "unsigned", "long", "old_total", "=", "total_code_bytes", ";", "total_code_bytes", "+=", "nbytes", ";", "if", "(", "old_total", ">", "total_code_bytes", ")", "total_code_bytes", "=", "-", "1", ";", "}", "else", "total_code_bytes", "=", "-", "1", ";", "}", "}", ""], "natrual_language": ["Update", "the", "total", "code", "bytes", "output", "to", "the", "text", "section", "."], "TS_V_token": ["pa", "1", "1"], "File": "pa3", "Func": "update_total_code_bytes", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 190, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isKMergeMasked", "(", ")", "const", "{", "return", "(", "Attributes", "&", "X86FMA3KMergeMasked", ")", "!=", "0", ";", "}", ""], "natrual_language": ["Returns", "true", "iff", "the", "group", "of", "FMA", "opcodes", "holds", "k-merge-masked", "opcodes", "."], "TS_V_token": ["X86", "X86", "0"], "File": "X86InstrFMA3Info", "Func": "isKMergeMasked", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 191, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "gen_sym_unspec", "(", "rtx", "x", ",", "int", "kind", ")", "{", "return", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "x", ")", ",", "kind", ")", ";", "}", ""], "natrual_language": ["Helper", "for", "or1k_legitimize_address_1", ".", "Wrap", "X", "in", "an", "unspec", "."], "TS_V_token": ["or1k", "1"], "File": "or1k", "Func": "gen_sym_unspec", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 192, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "csky_initialize_isa", "(", "sbitmap", "isa", ",", "const", "enum", "csky_isa_feature", "*", "isa_bits", ")", "{", "bitmap_clear", "(", "isa", ")", ";", "while", "(", "*", "isa_bits", "!=", "CSKY_ISA_FEATURE_GET", "(", "none", ")", ")", "bitmap_set_bit", "(", "isa", ",", "*", "(", "isa_bits", "++", ")", ")", ";", "}", ""], "natrual_language": ["Convert", "a", "static", "initializer", "array", "of", "feature", "bits", "to", "sbitmap", "representation", "."], "TS_V_token": ["csky"], "File": "csky", "Func": "csky_initialize_isa", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 193, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64RedundantCopyElimination", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "*", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "DomBBClobberedRegs", ".", "resize", "(", "TRI", "->", "getNumRegs", "(", ")", ")", ";", "OptBBClobberedRegs", ".", "resize", "(", "TRI", "->", "getNumRegs", "(", ")", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "Changed", "|=", "optimizeBlock", "(", "&", "MBB", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64RedundantCopyElimination5", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 194, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCHazardRecognizer970", "::", "AdvanceCycle", "(", ")", "{", "assert", "(", "NumIssued", "<", "5", "&&", "\"Illegal dispatch group!\"", ")", ";", "++", "NumIssued", ";", "if", "(", "NumIssued", "==", "5", ")", "EndDispatchGroup", "(", ")", ";", "}", ""], "natrual_language": ["AdvanceCycle", "-", "This", "callback", "is", "invoked", "whenever", "the", "next", "top-down", "instruction", "to", "be", "scheduled", "can", "not", "issue", "in", "the", "current", "cycle", ",", "either", "because", "of", "latency", "or", "resource", "conflicts", "."], "TS_V_token": ["PowerPC", "PPC", "5", "\"Illegal dispatch group!\"", "5"], "File": "PPCHazardRecognizers", "Func": "AdvanceCycle", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 195, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64TTIImpl", "::", "getUnrollingPreferences", "(", "Loop", "*", "L", ",", "ScalarEvolution", "&", "SE", ",", "TTI", "::", "UnrollingPreferences", "&", "UP", ")", "{", "BaseT", "::", "getUnrollingPreferences", "(", "L", ",", "SE", ",", "UP", ")", ";", "if", "(", "L", "->", "getLoopDepth", "(", ")", ">", "1", ")", "UP", ".", "PartialThreshold", "*=", "2", ";", "UP", ".", "PartialOptSizeThreshold", "=", "0", ";", "if", "(", "ST", "->", "getProcFamily", "(", ")", "==", "AArch64Subtarget", "::", "Falkor", "&&", "EnableFalkorHWPFUnrollFix", ")", "getFalkorUnrollingPreferences", "(", "L", ",", "SE", ",", "UP", ")", ";", "for", "(", "auto", "*", "BB", ":", "L", "->", "getBlocks", "(", ")", ")", "{", "for", "(", "auto", "&", "I", ":", "*", "BB", ")", "{", "if", "(", "I", ".", "getType", "(", ")", "->", "isVectorTy", "(", ")", ")", "return", ";", "if", "(", "isa", "<", "CallInst", ">", "(", "I", ")", "||", "isa", "<", "InvokeInst", ">", "(", "I", ")", ")", "{", "if", "(", "const", "Function", "*", "F", "=", "cast", "<", "CallBase", ">", "(", "I", ")", ".", "getCalledFunction", "(", ")", ")", "{", "if", "(", "!", "isLoweredToCall", "(", "F", ")", ")", "continue", ";", "}", "return", ";", "}", "}", "}", "if", "(", "ST", "->", "getProcFamily", "(", ")", "!=", "AArch64Subtarget", "::", "Others", "&&", "!", "ST", "->", "getSchedModel", "(", ")", ".", "isOutOfOrder", "(", ")", ")", "{", "UP", ".", "Runtime", "=", "true", ";", "UP", ".", "Partial", "=", "true", ";", "UP", ".", "UpperBound", "=", "true", ";", "UP", ".", "UnrollRemainder", "=", "true", ";", "UP", ".", "DefaultUnrollRuntimeCount", "=", "4", ";", "UP", ".", "UnrollAndJam", "=", "true", ";", "UP", ".", "UnrollAndJamInnerLoopThreshold", "=", "60", ";", "}", "}", ""], "natrual_language": ["Get", "target-customized", "preferences", "for", "the", "generic", "loop", "unrolling", "transformation", "."], "TS_V_token": ["AArch64", "AArch64", "1", "2", "0", "AArch64", "AArch64", "4", "60"], "File": "AArch64TargetTransformInfo28", "Func": "getUnrollingPreferences", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 196, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "reg_class", "mmix_secondary_reload_class", "(", "enum", "reg_class", "rclass", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "x", "ATTRIBUTE_UNUSED", ",", "int", "in_p", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "rclass", "==", "REMAINDER_REG", "||", "rclass", "==", "HIMULT_REG", "||", "rclass", "==", "SYSTEM_REGS", ")", "return", "GENERAL_REGS", ";", "return", "NO_REGS", ";", "}", ""], "natrual_language": ["SECONDARY_RELOAD_CLASS", ".", "We", "need", "to", "reload", "regs", "of", "REMAINDER_REG", "and", "HIMULT_REG", "elsewhere", "."], "TS_V_token": ["mmix"], "File": "mmix", "Func": "mmix_secondary_reload_class", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 197, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", "Opcode", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "uint64_t", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "MCInst", "Inst", ";", "SmallVector", "<", "MCInst", ",", "8", ">", "Instructions", ";", "unsigned", "MatchResult", "=", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ";", "switch", "(", "MatchResult", ")", "{", "case", "Match_Success", ":", "{", "Inst", ".", "setLoc", "(", "IDLoc", ")", ";", "Out", ".", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "return", "false", ";", "}", "case", "Match_MissingFeature", ":", "return", "Error", "(", "IDLoc", ",", "\"instruction requires a CPU feature not currently enabled\"", ")", ";", "case", "Match_InvalidOperand", ":", "{", "SMLoc", "ErrorLoc", "=", "IDLoc", ";", "if", "(", "ErrorInfo", "!=", "~", "0ULL", ")", "{", "if", "(", "ErrorInfo", ">=", "Operands", ".", "size", "(", ")", ")", "return", "Error", "(", "IDLoc", ",", "\"too few operands for instruction\"", ")", ";", "ErrorLoc", "=", "(", "(", "SparcOperand", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ")", ".", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IDLoc", ";", "}", "return", "Error", "(", "ErrorLoc", ",", "\"invalid operand for instruction\"", ")", ";", "}", "case", "Match_MnemonicFail", ":", "return", "Error", "(", "IDLoc", ",", "\"invalid instruction mnemonic\"", ")", ";", "}", "llvm_unreachable", "(", "\"Implement any new match types added!\"", ")", ";", "}", ""], "natrual_language": ["MatchAndEmitInstruction", "-", "Recognize", "a", "series", "of", "operands", "of", "a", "parsed", "instruction", "as", "an", "actual", "MCInst", "and", "emit", "it", "to", "the", "specified", "MCStreamer", "."], "TS_V_token": ["Sparc", "Sparc", "8", "\"instruction requires a CPU feature not currently enabled\"", "0ULL", "\"too few operands for instruction\"", "Sparc", "\"invalid operand for instruction\"", "\"invalid instruction mnemonic\"", "\"Implement any new match types added!\""], "File": "SparcAsmParser14", "Func": "MatchAndEmitInstruction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 198, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "reg_class", "rs6000_debug_secondary_reload_class", "(", "enum", "reg_class", "rclass", ",", "machine_mode", "mode", ",", "rtx", "in", ")", "{", "enum", "reg_class", "ret", "=", "rs6000_secondary_reload_class", "(", "rclass", ",", "mode", ",", "in", ")", ";", "fprintf", "(", "stderr", ",", "\"\\nrs6000_secondary_reload_class, return %s, rclass = %s, \"", "\"mode = %s, input rtx:\\n\"", ",", "reg_class_names", "[", "ret", "]", ",", "reg_class_names", "[", "rclass", "]", ",", "GET_MODE_NAME", "(", "mode", ")", ")", ";", "debug_rtx", "(", "in", ")", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Debug", "version", "of", "rs6000_secondary_reload_class", "."], "TS_V_token": ["rs6000", "\"\\nrs6000_secondary_reload_class, return %s, rclass = %s, \"", "\"mode = %s, input rtx:\\n\""], "File": "rs6000", "Func": "rs6000_debug_secondary_reload_class", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 199, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "csky_simple_addr_operand_p", "(", "rtx", "op", ")", "{", "struct", "csky_address", "addr", ";", "if", "(", "!", "decompose_csky_address", "(", "op", ",", "&", "addr", ")", ")", "return", "false", ";", "if", "(", "addr", ".", "disp", "&&", "GET_CODE", "(", "addr", ".", "disp", ")", "==", "UNSPEC", ")", "return", "false", ";", "if", "(", "!", "addr", ".", "index", "&&", "!", "addr", ".", "symbol", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "the", "csky_simple_mem_operand", "predicate", ".", "Returns", "true", "if", "OP", "is", "an", "address", "of", "the", "form", "reg", "+", "displacement", "."], "TS_V_token": ["csky"], "File": "csky", "Func": "csky_simple_addr_operand_p", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 200, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "shouldExpandVectorDynExt", "(", "SDNode", "*", "N", ")", "{", "SDValue", "Idx", "=", "N", "->", "getOperand", "(", "N", "->", "getNumOperands", "(", ")", "-", "1", ")", ";", "if", "(", "isa", "<", "ConstantSDNode", ">", "(", "Idx", ")", ")", "return", "false", ";", "SDValue", "Vec", "=", "N", "->", "getOperand", "(", "0", ")", ";", "EVT", "VecVT", "=", "Vec", ".", "getValueType", "(", ")", ";", "EVT", "EltVT", "=", "VecVT", ".", "getVectorElementType", "(", ")", ";", "unsigned", "EltSize", "=", "EltVT", ".", "getSizeInBits", "(", ")", ";", "unsigned", "NumElem", "=", "VecVT", ".", "getVectorNumElements", "(", ")", ";", "return", "SITargetLowering", "::", "shouldExpandVectorDynExt", "(", "EltSize", ",", "NumElem", ",", "Idx", "->", "isDivergent", "(", ")", ")", ";", "}", ""], "natrual_language": ["Check", "if", "EXTRACT_VECTOR_ELT/INSERT_VECTOR_ELT", "(", "<", "n", "x", "e", ">", ",", "var-idx", ")", "should", "be", "expanded", "into", "a", "set", "of", "cmp/select", "instructions", "."], "TS_V_token": ["AMDGPU", "1", "0", "SI"], "File": "SIISelLowering10", "Func": "shouldExpandVectorDynExt", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 201, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"TeeRISC DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["TeeRISC", "\"TeeRISC DAG->DAG Pattern Instruction Selection\""], "File": "TeeRISCISelDAGToDAG", "Func": "getPassName", "Target": "TeeRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 202, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "prefixed_load_p", "(", "rtx_insn", "*", "insn", ")", "{", "extract_insn_cached", "(", "insn", ")", ";", "if", "(", "recog_data", ".", "n_operands", "<", "2", ")", "return", "false", ";", "rtx", "reg", "=", "recog_data", ".", "operand", "[", "0", "]", ";", "rtx", "mem", "=", "recog_data", ".", "operand", "[", "1", "]", ";", "if", "(", "!", "REG_P", "(", "reg", ")", "&&", "!", "SUBREG_P", "(", "reg", ")", ")", "return", "false", ";", "if", "(", "!", "MEM_P", "(", "mem", ")", ")", "return", "false", ";", "if", "(", "get_attr_indexed", "(", "insn", ")", "==", "INDEXED_YES", "||", "get_attr_update", "(", "insn", ")", "==", "UPDATE_YES", ")", "return", "false", ";", "enum", "non_prefixed_form", "non_prefixed", ";", "machine_mode", "reg_mode", "=", "GET_MODE", "(", "reg", ")", ";", "machine_mode", "mem_mode", "=", "GET_MODE", "(", "mem", ")", ";", "if", "(", "mem_mode", "==", "SImode", "&&", "reg_mode", "==", "DImode", "&&", "get_attr_sign_extend", "(", "insn", ")", "==", "SIGN_EXTEND_YES", ")", "non_prefixed", "=", "NON_PREFIXED_DS", ";", "else", "non_prefixed", "=", "reg_to_non_prefixed", "(", "reg", ",", "mem_mode", ")", ";", "if", "(", "non_prefixed", "==", "NON_PREFIXED_X", "&&", "is_lfs_stfs_insn", "(", "insn", ")", ")", "return", "address_is_prefixed", "(", "XEXP", "(", "mem", ",", "0", ")", ",", "mem_mode", ",", "NON_PREFIXED_DEFAULT", ")", ";", "else", "return", "address_is_prefixed", "(", "XEXP", "(", "mem", ",", "0", ")", ",", "mem_mode", ",", "non_prefixed", ")", ";", "}", ""], "natrual_language": ["Whether", "a", "load", "instruction", "is", "a", "prefixed", "instruction", ".", "This", "is", "called", "from", "the", "prefixed", "attribute", "processing", "."], "TS_V_token": ["rs6000", "2", "0", "1", "0", "0"], "File": "rs6000", "Func": "prefixed_load_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 203, "Length": 185, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "adjust_subreg_index", "(", "rtx", "op", ")", "{", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "op", ")", ";", "if", "(", "code", "==", "SUBREG", "&&", "(", "GET_MODE_SIZE", "(", "GET_MODE", "(", "op", ")", ")", "<", "GET_MODE_SIZE", "(", "GET_MODE", "(", "XEXP", "(", "op", ",", "0", ")", ")", ")", ")", ")", "{", "unsigned", "int", "index", "=", "SUBREG_BYTE", "(", "op", ")", ";", "if", "(", "index", "<", "8", ")", "index", "+=", "8", ";", "else", "index", "-=", "8", ";", "SUBREG_BYTE", "(", "op", ")", "=", "index", ";", "}", "const", "char", "*", "fmt", "=", "GET_RTX_FORMAT", "(", "code", ")", ";", "int", "i", ",", "j", ";", "for", "(", "i", "=", "0", ";", "i", "<", "GET_RTX_LENGTH", "(", "code", ")", ";", "++", "i", ")", "if", "(", "fmt", "[", "i", "]", "==", "'e'", "||", "fmt", "[", "i", "]", "==", "'u'", ")", "adjust_subreg_index", "(", "XEXP", "(", "op", ",", "i", ")", ")", ";", "else", "if", "(", "fmt", "[", "i", "]", "==", "'E'", ")", "for", "(", "j", "=", "0", ";", "j", "<", "XVECLEN", "(", "op", ",", "i", ")", ";", "++", "j", ")", "adjust_subreg_index", "(", "XVECEXP", "(", "op", ",", "i", ",", "j", ")", ")", ";", "}", ""], "natrual_language": ["Find", "all", "subregs", "of", "a", "vector", "expression", "that", "perform", "a", "narrowing", ",", "and", "adjust", "the", "subreg", "index", "to", "account", "for", "doubleword", "swapping", "."], "TS_V_token": ["powerpcspe", "0", "8", "8", "8", "0", "0"], "File": "powerpcspe", "Func": "adjust_subreg_index", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 204, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ia64_set_sched_context", "(", "void", "*", "_sc", ")", "{", "ia64_sched_context_t", "sc", "=", "(", "ia64_sched_context_t", ")", "_sc", ";", "gcc_assert", "(", "sc", "!=", "NULL", ")", ";", "memcpy", "(", "prev_cycle_state", ",", "sc", "->", "prev_cycle_state", ",", "dfa_state_size", ")", ";", "last_scheduled_insn", "=", "sc", "->", "last_scheduled_insn", ";", "memcpy", "(", "rws_sum", ",", "sc", "->", "rws_sum", ",", "sizeof", "(", "rws_sum", ")", ")", ";", "memcpy", "(", "rws_insn", ",", "sc", "->", "rws_insn", ",", "sizeof", "(", "rws_insn", ")", ")", ";", "first_instruction", "=", "sc", "->", "first_instruction", ";", "pending_data_specs", "=", "sc", "->", "pending_data_specs", ";", "current_cycle", "=", "sc", "->", "current_cycle", ";", "memcpy", "(", "mem_ops_in_group", ",", "sc", "->", "mem_ops_in_group", ",", "sizeof", "(", "mem_ops_in_group", ")", ")", ";", "}", ""], "natrual_language": ["Sets", "the", "global", "scheduling", "context", "to", "the", "one", "pointed", "to", "by", "_SC", "."], "TS_V_token": ["ia64"], "File": "ia64", "Func": "ia64_set_sched_context", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 205, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "."], "TS_V_token": ["FISC"], "File": "FISCAsmBackend", "Func": "fixupNeedsRelaxation", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 206, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "isSchedulingBoundary", "(", "const", "MachineInstr", "&", "MI", ",", "const", "MachineBasicBlock", "*", "MBB", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "Opcode", "==", "X86", "::", "ENDBR64", "||", "Opcode", "==", "X86", "::", "ENDBR32", "||", "Opcode", "==", "X86", "::", "PLDTILECFGV", ")", "return", "true", ";", "return", "TargetInstrInfo", "::", "isSchedulingBoundary", "(", "MI", ",", "MBB", ",", "MF", ")", ";", "}", ""], "natrual_language": ["isSchedulingBoundary", "-", "Overrides", "the", "isSchedulingBoundary", "from", "Codegen/TargetInstrInfo.cpp", "to", "make", "it", "capable", "of", "identifying", "ENDBR", "intructions", "and", "prevent", "it", "from", "being", "re-scheduled", "."], "TS_V_token": ["X86", "X86", "X86::ENDBR64", "X86::ENDBR32", "X86::PLDTILECFGV"], "File": "X86InstrInfo76", "Func": "isSchedulingBoundary", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 207, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "if", "(", "!", "TII", "->", "fitsConstReadLimitations", "(", "CurrentPacketMIs", ")", ")", "{", "DEBUG", "(", "{", "dbgs", "(", ")", "<<", "\"Couldn't pack :\\n\"", ";", "MI", ".", "dump", "(", ")", ";", "dbgs", "(", ")", "<<", "\"with the following packets :\\n\"", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CurrentPacketMIs", ".", "size", "(", ")", "-", "1", ";", "i", "<", "e", ";", "i", "++", ")", "{", "CurrentPacketMIs", "[", "i", "]", "->", "dump", "(", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ";", "}", "dbgs", "(", ")", "<<", "\"because of Consts read limitations\\n\"", ";", "}", ""], "natrual_language": ["Same", "but", "using", "const", "index", "set", "instead", "of", "MI", "set", "."], "TS_V_token": ["AMDGPU", "\"Couldn't pack :\\n\"", "\"with the following packets :\\n\"", "0", "1", "\"\\n\"", "\"because of Consts read limitations\\n\""], "File": "R600Packetizer1", "Func": "fitsConstReadLimitations", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 208, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "bfin_pass_by_reference", "(", "cumulative_args_t", "cum", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "const_tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "return", "type", "&&", "TREE_CODE", "(", "TYPE_SIZE", "(", "type", ")", ")", "!=", "INTEGER_CST", ";", "}", ""], "natrual_language": ["Variable", "sized", "types", "are", "passed", "by", "reference", "."], "TS_V_token": ["bfin"], "File": "bfin3", "Func": "bfin_pass_by_reference", "Target": "bfin", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 209, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "SparcInstrInfo", "::", "getGlobalBaseReg", "(", "MachineFunction", "*", "MF", ")", "const", "{", "SparcMachineFunctionInfo", "*", "SparcFI", "=", "MF", "->", "getInfo", "<", "SparcMachineFunctionInfo", ">", "(", ")", ";", "Register", "GlobalBaseReg", "=", "SparcFI", "->", "getGlobalBaseReg", "(", ")", ";", "if", "(", "GlobalBaseReg", ")", "return", "GlobalBaseReg", ";", "MachineBasicBlock", "&", "FirstMBB", "=", "MF", "->", "front", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "FirstMBB", ".", "begin", "(", ")", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", "->", "getRegInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "PtrRC", "=", "Subtarget", ".", "is64Bit", "(", ")", "?", "&", "SP", "::", "I64RegsRegClass", ":", "&", "SP", "::", "IntRegsRegClass", ";", "GlobalBaseReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "PtrRC", ")", ";", "DebugLoc", "dl", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "get", "(", "SP", "::", "GETPCX", ")", ",", "GlobalBaseReg", ")", ";", "SparcFI", "->", "setGlobalBaseReg", "(", "GlobalBaseReg", ")", ";", "return", "GlobalBaseReg", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "SP::I64RegsRegClass", "SP::IntRegsRegClass", "SP::GETPCX", "Sparc"], "File": "SparcInstrInfo24", "Func": "getGlobalBaseReg", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 210, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SIInstrInfo", "::", "insertIndirectBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "&", "DestBB", ",", "const", "DebugLoc", "&", "DL", ",", "int64_t", "BrOffset", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "RS", "&&", "\"RegScavenger required for long branching\"", ")", ";", "assert", "(", "MBB", ".", "empty", "(", ")", "&&", "\"new block should be inserted for expanding unconditional branch\"", ")", ";", "assert", "(", "MBB", ".", "pred_size", "(", ")", "==", "1", ")", ";", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", "->", "getRegInfo", "(", ")", ";", "Register", "PCReg", "=", "MRI", ".", "createVirtualRegister", "(", "&", "AMDGPU", "::", "SReg_64RegClass", ")", ";", "auto", "I", "=", "MBB", ".", "end", "(", ")", ";", "MachineInstr", "*", "GetPC", "=", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "AMDGPU", "::", "S_GETPC_B64", ")", ",", "PCReg", ")", ";", "if", "(", "BrOffset", ">=", "0", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "AMDGPU", "::", "S_ADD_U32", ")", ")", ".", "addReg", "(", "PCReg", ",", "RegState", "::", "Define", ",", "AMDGPU", "::", "sub0", ")", ".", "addReg", "(", "PCReg", ",", "0", ",", "AMDGPU", "::", "sub0", ")", ".", "addMBB", "(", "&", "DestBB", ",", "MO_LONG_BRANCH_FORWARD", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "AMDGPU", "::", "S_ADDC_U32", ")", ")", ".", "addReg", "(", "PCReg", ",", "RegState", "::", "Define", ",", "AMDGPU", "::", "sub1", ")", ".", "addReg", "(", "PCReg", ",", "0", ",", "AMDGPU", "::", "sub1", ")", ".", "addImm", "(", "0", ")", ";", "}", "else", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "AMDGPU", "::", "S_SUB_U32", ")", ")", ".", "addReg", "(", "PCReg", ",", "RegState", "::", "Define", ",", "AMDGPU", "::", "sub0", ")", ".", "addReg", "(", "PCReg", ",", "0", ",", "AMDGPU", "::", "sub0", ")", ".", "addMBB", "(", "&", "DestBB", ",", "MO_LONG_BRANCH_BACKWARD", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "AMDGPU", "::", "S_SUBB_U32", ")", ")", ".", "addReg", "(", "PCReg", ",", "RegState", "::", "Define", ",", "AMDGPU", "::", "sub1", ")", ".", "addReg", "(", "PCReg", ",", "0", ",", "AMDGPU", "::", "sub1", ")", ".", "addImm", "(", "0", ")", ";", "}", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "AMDGPU", "::", "S_SETPC_B64", ")", ")", ".", "addReg", "(", "PCReg", ")", ";", "RS", "->", "enterBasicBlockEnd", "(", "MBB", ")", ";", "unsigned", "Scav", "=", "RS", "->", "scavengeRegisterBackwards", "(", "AMDGPU", "::", "SReg_64RegClass", ",", "MachineBasicBlock", "::", "iterator", "(", "GetPC", ")", ",", "false", ",", "0", ")", ";", "MRI", ".", "replaceRegWith", "(", "PCReg", ",", "Scav", ")", ";", "MRI", ".", "clearVirtRegs", "(", ")", ";", "RS", "->", "setRegUsed", "(", "Scav", ")", ";", "return", "4", "+", "8", "+", "4", "+", "4", ";", "}", ""], "natrual_language": ["Insert", "an", "unconditional", "indirect", "branch", "at", "the", "end", "of", "MBB", "to", "NewDestBB", "."], "TS_V_token": ["AMDGPU", "SI", "\"RegScavenger required for long branching\"", "\"new block should be inserted for expanding unconditional branch\"", "1", "AMDGPU::SReg_64RegClass", "AMDGPU::S_GETPC_B64", "0", "AMDGPU::S_ADD_U32", "AMDGPU::sub0", "0", "AMDGPU::sub0", "AMDGPU::S_ADDC_U32", "AMDGPU::sub1", "0", "AMDGPU::sub1", "0", "AMDGPU::S_SUB_U32", "AMDGPU::sub0", "0", "AMDGPU::sub0", "AMDGPU::S_SUBB_U32", "AMDGPU::sub1", "0", "AMDGPU::sub1", "0", "AMDGPU::S_SETPC_B64", "AMDGPU::SReg_64RegClass", "0", "4", "8", "4", "4"], "File": "SIInstrInfo118", "Func": "insertIndirectBranch", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 211, "Length": 399, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCTargetLowering", "::", "combineRepeatedFPDivisors", "(", ")", "const", "{", "switch", "(", "Subtarget", ".", "getMcpu", "(", ")", ")", "{", "default", ":", "return", "3", ";", "case", "PPC", "::", "MCPU_440", ":", "case", "PPC", "::", "MCPU_A2", ":", "case", "PPC", "::", "MCPU_E500", ":", "case", "PPC", "::", "MCPU_E500mc", ":", "case", "PPC", "::", "MCPU_E5500", ":", "return", "2", ";", "}", "}", ""], "natrual_language": ["Indicate", "whether", "this", "target", "prefers", "to", "combine", "FDIVs", "with", "the", "same", "divisor", "."], "TS_V_token": ["PowerPC", "PPC", "3", "PPC::MCPU_440", "PPC::MCPU_A2", "PPC::MCPU_E500", "PPC::MCPU_E500mc", "PPC::MCPU_E5500", "2"], "File": "PPCISelLowering49", "Func": "combineRepeatedFPDivisors", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 212, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "GlobalBaseReg", "=", "0", ";", "PPCLowering", "=", "TM", ".", "getTargetLowering", "(", ")", ";", "PPCSubTarget", "=", "TM", ".", "getSubtargetImpl", "(", ")", ";", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "if", "(", "!", "PPCSubTarget", "->", "isSVR4ABI", "(", ")", ")", "InsertVRSaveCode", "(", "MF", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["PowerPC", "0", "PPC", "PPC", "PPC"], "File": "PPCISelDAGToDAG102", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 213, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "have_compare_and_set_mask", "(", "machine_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_SFmode", ":", "case", "E_DFmode", ":", "return", "TARGET_P9_MINMAX", ";", "case", "E_KFmode", ":", "case", "E_TFmode", ":", "return", "TARGET_POWER10", "&&", "TARGET_FLOAT128_HW", "&&", "FLOAT128_IEEE_P", "(", "mode", ")", ";", "default", ":", "break", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Helper", "function", "to", "return", "true", "if", "the", "target", "has", "instructions", "to", "do", "a", "compare", "and", "set", "mask", "instruction", "that", "can", "be", "used", "with", "XXSEL", "to", "implement", "a", "conditional", "move", ".", "It", "is", "also", "assumed", "that", "such", "a", "target", "also", "supports", "the", "``", "C", "''", "minimum", "and", "maximum", "instructions", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "have_compare_and_set_mask", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 214, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MipsSubtarget", "*", "MipsTargetMachine", "::", "getSubtargetImpl", "(", "const", "Function", "&", "F", ")", "const", "{", "Attribute", "CPUAttr", "=", "F", ".", "getFnAttribute", "(", "\"target-cpu\"", ")", ";", "Attribute", "FSAttr", "=", "F", ".", "getFnAttribute", "(", "\"target-features\"", ")", ";", "std", "::", "string", "CPU", "=", "!", "CPUAttr", ".", "hasAttribute", "(", "Attribute", "::", "None", ")", "?", "CPUAttr", ".", "getValueAsString", "(", ")", ".", "str", "(", ")", ":", "TargetCPU", ";", "std", "::", "string", "FS", "=", "!", "FSAttr", ".", "hasAttribute", "(", "Attribute", "::", "None", ")", "?", "FSAttr", ".", "getValueAsString", "(", ")", ".", "str", "(", ")", ":", "TargetFS", ";", "bool", "hasMips16Attr", "=", "!", "F", ".", "getFnAttribute", "(", "\"mips16\"", ")", ".", "hasAttribute", "(", "Attribute", "::", "None", ")", ";", "bool", "hasNoMips16Attr", "=", "!", "F", ".", "getFnAttribute", "(", "\"nomips16\"", ")", ".", "hasAttribute", "(", "Attribute", "::", "None", ")", ";", "bool", "HasMicroMipsAttr", "=", "!", "F", ".", "getFnAttribute", "(", "\"micromips\"", ")", ".", "hasAttribute", "(", "Attribute", "::", "None", ")", ";", "bool", "HasNoMicroMipsAttr", "=", "!", "F", ".", "getFnAttribute", "(", "\"nomicromips\"", ")", ".", "hasAttribute", "(", "Attribute", "::", "None", ")", ";", "bool", "softFloat", "=", "F", ".", "hasFnAttribute", "(", "\"use-soft-float\"", ")", "&&", "F", ".", "getFnAttribute", "(", "\"use-soft-float\"", ")", ".", "getValueAsString", "(", ")", "==", "\"true\"", ";", "if", "(", "hasMips16Attr", ")", "FS", "+=", "FS", ".", "empty", "(", ")", "?", "\"+mips16\"", ":", "\",+mips16\"", ";", "else", "if", "(", "hasNoMips16Attr", ")", "FS", "+=", "FS", ".", "empty", "(", ")", "?", "\"-mips16\"", ":", "\",-mips16\"", ";", "if", "(", "HasMicroMipsAttr", ")", "FS", "+=", "FS", ".", "empty", "(", ")", "?", "\"+micromips\"", ":", "\",+micromips\"", ";", "else", "if", "(", "HasNoMicroMipsAttr", ")", "FS", "+=", "FS", ".", "empty", "(", ")", "?", "\"-micromips\"", ":", "\",-micromips\"", ";", "if", "(", "softFloat", ")", "FS", "+=", "FS", ".", "empty", "(", ")", "?", "\"+soft-float\"", ":", "\",+soft-float\"", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "CPU", "+", "FS", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "I", "=", "llvm", "::", "make_unique", "<", "MipsSubtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "FS", ",", "isLittle", ",", "*", "this", ",", "Options", ".", "StackAlignmentOverride", ")", ";", "}", "return", "I", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["Virtual", "method", "implemented", "by", "subclasses", "that", "returns", "a", "reference", "to", "that", "target", "'s", "TargetSubtargetInfo-derived", "member", "variable", "."], "TS_V_token": ["Mips", "Mips", "Mips", "\"target-cpu\"", "\"target-features\"", "Mips", "\"mips16\"", "Mips", "\"nomips16\"", "Mips", "\"micromips\"", "Mips", "\"nomicromips\"", "\"use-soft-float\"", "\"use-soft-float\"", "\"true\"", "Mips", "\"+mips16\"", "\",+mips16\"", "Mips", "\"-mips16\"", "\",-mips16\"", "Mips", "\"+micromips\"", "\",+micromips\"", "Mips", "\"-micromips\"", "\",-micromips\"", "\"+soft-float\"", "\",+soft-float\"", "Mips"], "File": "MipsTargetMachine16", "Func": "getSubtargetImpl", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 215, "Length": 321, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "scalar_chain", "::", "replace_with_subreg", "(", "rtx", "x", ",", "rtx", "reg", ",", "rtx", "new_reg", ")", "{", "if", "(", "x", "==", "reg", ")", "return", "gen_rtx_SUBREG", "(", "V2DImode", ",", "new_reg", ",", "0", ")", ";", "const", "char", "*", "fmt", "=", "GET_RTX_FORMAT", "(", "GET_CODE", "(", "x", ")", ")", ";", "int", "i", ",", "j", ";", "for", "(", "i", "=", "GET_RTX_LENGTH", "(", "GET_CODE", "(", "x", ")", ")", "-", "1", ";", "i", ">=", "0", ";", "i", "--", ")", "{", "if", "(", "fmt", "[", "i", "]", "==", "'e'", ")", "XEXP", "(", "x", ",", "i", ")", "=", "replace_with_subreg", "(", "XEXP", "(", "x", ",", "i", ")", ",", "reg", ",", "new_reg", ")", ";", "else", "if", "(", "fmt", "[", "i", "]", "==", "'E'", ")", "for", "(", "j", "=", "XVECLEN", "(", "x", ",", "i", ")", "-", "1", ";", "j", ">=", "0", ";", "j", "--", ")", "XVECEXP", "(", "x", ",", "i", ",", "j", ")", "=", "replace_with_subreg", "(", "XVECEXP", "(", "x", ",", "i", ",", "j", ")", ",", "reg", ",", "new_reg", ")", ";", "}", "return", "x", ";", "}", ""], "natrual_language": ["Replace", "REG", "in", "X", "with", "a", "V2DI", "subreg", "of", "NEW_REG", "."], "TS_V_token": ["i386", "0", "1", "0", "1", "0"], "File": "i3865", "Func": "replace_with_subreg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 216, "Length": 161, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLoweringObjectFile", "*", "getObjFileLowering", "(", ")", "const", "override", "{", "return", "TLOF", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["Return", "information", "about", "object", "file", "lowering", "."], "TS_V_token": ["Teak"], "File": "TeakTargetMachine", "Func": "getObjFileLowering", "Target": "Teak", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 217, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_split_signbit", "(", "rtx", "dest", ",", "rtx", "src", ")", "{", "machine_mode", "d_mode", "=", "GET_MODE", "(", "dest", ")", ";", "machine_mode", "s_mode", "=", "GET_MODE", "(", "src", ")", ";", "rtx", "dest_di", "=", "(", "d_mode", "==", "DImode", ")", "?", "dest", ":", "gen_lowpart", "(", "DImode", ",", "dest", ")", ";", "rtx", "shift_reg", "=", "dest_di", ";", "gcc_assert", "(", "FLOAT128_IEEE_P", "(", "s_mode", ")", "&&", "TARGET_POWERPC64", ")", ";", "if", "(", "MEM_P", "(", "src", ")", ")", "{", "rtx", "mem", "=", "(", "WORDS_BIG_ENDIAN", "?", "adjust_address", "(", "src", ",", "DImode", ",", "0", ")", ":", "adjust_address", "(", "src", ",", "DImode", ",", "8", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest_di", ",", "mem", ")", ")", ";", "}", "else", "{", "unsigned", "int", "r", "=", "reg_or_subregno", "(", "src", ")", ";", "if", "(", "INT_REGNO_P", "(", "r", ")", ")", "shift_reg", "=", "gen_rtx_REG", "(", "DImode", ",", "r", "+", "(", "BYTES_BIG_ENDIAN", "==", "0", ")", ")", ";", "else", "{", "gcc_assert", "(", "VSX_REGNO_P", "(", "r", ")", ")", ";", "if", "(", "s_mode", "==", "KFmode", ")", "emit_insn", "(", "gen_signbitkf2_dm2", "(", "dest_di", ",", "src", ")", ")", ";", "else", "emit_insn", "(", "gen_signbittf2_dm2", "(", "dest_di", ",", "src", ")", ")", ";", "}", "}", "emit_insn", "(", "gen_lshrdi3", "(", "dest_di", ",", "shift_reg", ",", "GEN_INT", "(", "63", ")", ")", ")", ";", "return", ";", "}", ""], "natrual_language": ["Split", "a", "signbit", "operation", "on", "64-bit", "machines", "with", "direct", "move", ".", "Also", "allow", "for", "the", "value", "to", "come", "from", "memory", "or", "if", "it", "is", "already", "loaded", "into", "a", "GPR", "."], "TS_V_token": ["powerpcspe", "0", "8", "0", "63"], "File": "powerpcspe", "Func": "rs6000_split_signbit", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 218, "Length": 193, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "mips_output_equal_conditional_branch", "(", "rtx_insn", "*", "insn", ",", "rtx", "*", "operands", ",", "bool", "inverted_p", ")", "{", "const", "char", "*", "branch", "[", "2", "]", ";", "if", "(", "TARGET_MICROMIPS", "&&", "mips_isa_rev", "<=", "5", "&&", "operands", "[", "3", "]", "==", "const0_rtx", "&&", "get_attr_length", "(", "insn", ")", "<=", "8", ")", "{", "if", "(", "mips_cb", "==", "MIPS_CB_OPTIMAL", ")", "{", "branch", "[", "!", "inverted_p", "]", "=", "\"%*b%C1z%:\\t%2,%0\"", ";", "branch", "[", "inverted_p", "]", "=", "\"%*b%N1z%:\\t%2,%0\"", ";", "}", "else", "{", "branch", "[", "!", "inverted_p", "]", "=", "\"%*b%C1z\\t%2,%0%/\"", ";", "branch", "[", "inverted_p", "]", "=", "\"%*b%N1z\\t%2,%0%/\"", ";", "}", "}", "else", "if", "(", "TARGET_CB_MAYBE", ")", "{", "if", "(", "operands", "[", "3", "]", "==", "const0_rtx", ")", "{", "branch", "[", "!", "inverted_p", "]", "=", "MIPS_BRANCH_C", "(", "\"b%C1z\"", ",", "\"%2,%0\"", ")", ";", "branch", "[", "inverted_p", "]", "=", "MIPS_BRANCH_C", "(", "\"b%N1z\"", ",", "\"%2,%0\"", ")", ";", "}", "else", "if", "(", "REGNO", "(", "operands", "[", "2", "]", ")", "!=", "REGNO", "(", "operands", "[", "3", "]", ")", ")", "{", "branch", "[", "!", "inverted_p", "]", "=", "MIPS_BRANCH_C", "(", "\"b%C1\"", ",", "\"%2,%3,%0\"", ")", ";", "branch", "[", "inverted_p", "]", "=", "MIPS_BRANCH_C", "(", "\"b%N1\"", ",", "\"%2,%3,%0\"", ")", ";", "}", "else", "{", "if", "(", "GET_CODE", "(", "operands", "[", "1", "]", ")", "==", "NE", ")", "inverted_p", "=", "!", "inverted_p", ";", "branch", "[", "!", "inverted_p", "]", "=", "MIPS_BRANCH_C", "(", "\"b\"", ",", "\"%0\"", ")", ";", "branch", "[", "inverted_p", "]", "=", "\"%*\\t\\t# branch never\"", ";", "}", "}", "else", "{", "branch", "[", "!", "inverted_p", "]", "=", "MIPS_BRANCH", "(", "\"b%C1\"", ",", "\"%2,%z3,%0\"", ")", ";", "branch", "[", "inverted_p", "]", "=", "MIPS_BRANCH", "(", "\"b%N1\"", ",", "\"%2,%z3,%0\"", ")", ";", "}", "return", "mips_output_conditional_branch", "(", "insn", ",", "operands", ",", "branch", "[", "1", "]", ",", "branch", "[", "0", "]", ")", ";", "}", ""], "natrual_language": ["Return", "the", "assembly", "code", "for", "INSN", ",", "which", "branches", "to", "OPERANDS", "[", "0", "]", "if", "some", "equality", "condition", "is", "true", ".", "The", "condition", "is", "given", "by", "OPERANDS", "[", "1", "]", "if", "!", "INVERTED_P", ",", "otherwise", "it", "is", "the", "inverse", "of", "OPERANDS", "[", "1", "]", ".", "OPERANDS", "[", "2", "]", "is", "the", "comparison", "'s", "first", "operand", ";", "OPERANDS", "[", "3", "]", "is", "the", "second", "operand", "and", "may", "be", "zero", "or", "a", "register", "."], "TS_V_token": ["mips", "2", "5", "3", "8", "\"%*b%C1z%:\\t%2,%0\"", "\"%*b%N1z%:\\t%2,%0\"", "\"%*b%C1z\\t%2,%0%/\"", "\"%*b%N1z\\t%2,%0%/\"", "3", "\"b%C1z\"", "\"%2,%0\"", "\"b%N1z\"", "\"%2,%0\"", "2", "3", "\"b%C1\"", "\"%2,%3,%0\"", "\"b%N1\"", "\"%2,%3,%0\"", "1", "\"b\"", "\"%0\"", "\"%*\\t\\t# branch never\"", "\"b%C1\"", "\"%2,%z3,%0\"", "\"b%N1\"", "\"%2,%z3,%0\"", "1", "0"], "File": "mips", "Func": "mips_output_equal_conditional_branch", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 219, "Length": 266, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rws_access_regno", "(", "int", "regno", ",", "struct", "reg_flags", "flags", ",", "int", "pred", ")", "{", "int", "need_barrier", "=", "0", ";", "gcc_assert", "(", "regno", "<", "NUM_REGS", ")", ";", "if", "(", "!", "PR_REGNO_P", "(", "regno", ")", ")", "flags", ".", "is_and", "=", "flags", ".", "is_or", "=", "0", ";", "if", "(", "flags", ".", "is_write", ")", "{", "int", "write_count", ";", "rws_insn_set", "(", "regno", ")", ";", "write_count", "=", "rws_sum", "[", "regno", "]", ".", "write_count", ";", "switch", "(", "write_count", ")", "{", "case", "0", ":", "if", "(", "!", "in_safe_group_barrier", ")", "rws_update", "(", "regno", ",", "flags", ",", "pred", ")", ";", "break", ";", "case", "1", ":", "if", "(", "flags", ".", "is_and", "&&", "rws_sum", "[", "regno", "]", ".", "written_by_and", ")", ";", "else", "if", "(", "flags", ".", "is_or", "&&", "rws_sum", "[", "regno", "]", ".", "written_by_or", ")", ";", "else", "need_barrier", "=", "1", ";", "if", "(", "!", "in_safe_group_barrier", ")", "rws_update", "(", "regno", ",", "flags", ",", "pred", ")", ";", "break", ";", "case", "2", ":", "if", "(", "flags", ".", "is_and", "&&", "rws_sum", "[", "regno", "]", ".", "written_by_and", ")", ";", "else", "if", "(", "flags", ".", "is_or", "&&", "rws_sum", "[", "regno", "]", ".", "written_by_or", ")", ";", "else", "need_barrier", "=", "1", ";", "if", "(", "!", "in_safe_group_barrier", ")", "{", "rws_sum", "[", "regno", "]", ".", "written_by_and", "=", "flags", ".", "is_and", ";", "rws_sum", "[", "regno", "]", ".", "written_by_or", "=", "flags", ".", "is_or", ";", "}", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "else", "{", "if", "(", "flags", ".", "is_branch", ")", "{", "if", "(", "REGNO_REG_CLASS", "(", "regno", ")", "==", "BR_REGS", "||", "regno", "==", "AR_PFS_REGNUM", ")", "return", "0", ";", "if", "(", "REGNO_REG_CLASS", "(", "regno", ")", "==", "PR_REGS", "&&", "!", "rws_sum", "[", "regno", "]", ".", "written_by_fp", ")", "return", "0", ";", "}", "if", "(", "flags", ".", "is_and", "&&", "rws_sum", "[", "regno", "]", ".", "written_by_and", ")", "return", "0", ";", "if", "(", "flags", ".", "is_or", "&&", "rws_sum", "[", "regno", "]", ".", "written_by_or", ")", "return", "0", ";", "switch", "(", "rws_sum", "[", "regno", "]", ".", "write_count", ")", "{", "case", "0", ":", "break", ";", "case", "1", ":", "need_barrier", "=", "1", ";", "break", ";", "case", "2", ":", "need_barrier", "=", "1", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "return", "need_barrier", ";", "}", ""], "natrual_language": ["Handle", "an", "access", "to", "register", "REGNO", "of", "type", "FLAGS", "using", "predicate", "register", "PRED", ".", "Update", "rws_insn", "and", "rws_sum", "arrays", ".", "Return", "1", "if", "this", "access", "creates", "a", "dependency", "with", "an", "earlier", "instruction", "in", "the", "same", "group", "."], "TS_V_token": ["ia64", "0", "0", "0", "1", "1", "2", "1", "0", "0", "0", "0", "0", "1", "1", "2", "1"], "File": "ia64", "Func": "rws_access_regno", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220, "Length": 345, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIInstrInfo", "::", "isInlineConstant", "(", "const", "MachineOperand", "&", "MO", ",", "uint8_t", "OperandType", ")", "const", "{", "if", "(", "!", "MO", ".", "isImm", "(", ")", "||", "OperandType", "<", "MCOI", "::", "OPERAND_FIRST_TARGET", ")", "return", "false", ";", "int64_t", "Imm", "=", "MO", ".", "getImm", "(", ")", ";", "switch", "(", "OperandType", ")", "{", "case", "AMDGPU", "::", "OPERAND_REG_IMM_INT32", ":", "case", "AMDGPU", "::", "OPERAND_REG_IMM_FP32", ":", "case", "AMDGPU", "::", "OPERAND_REG_INLINE_C_INT32", ":", "case", "AMDGPU", "::", "OPERAND_REG_INLINE_C_FP32", ":", "{", "int32_t", "Trunc", "=", "static_cast", "<", "int32_t", ">", "(", "Imm", ")", ";", "return", "Trunc", "==", "Imm", "&&", "AMDGPU", "::", "isInlinableLiteral32", "(", "Trunc", ",", "ST", ".", "hasInv2PiInlineImm", "(", ")", ")", ";", "}", "case", "AMDGPU", "::", "OPERAND_REG_IMM_INT64", ":", "case", "AMDGPU", "::", "OPERAND_REG_IMM_FP64", ":", "case", "AMDGPU", "::", "OPERAND_REG_INLINE_C_INT64", ":", "case", "AMDGPU", "::", "OPERAND_REG_INLINE_C_FP64", ":", "{", "return", "AMDGPU", "::", "isInlinableLiteral64", "(", "MO", ".", "getImm", "(", ")", ",", "ST", ".", "hasInv2PiInlineImm", "(", ")", ")", ";", "}", "case", "AMDGPU", "::", "OPERAND_REG_IMM_INT16", ":", "case", "AMDGPU", "::", "OPERAND_REG_IMM_FP16", ":", "case", "AMDGPU", "::", "OPERAND_REG_INLINE_C_INT16", ":", "case", "AMDGPU", "::", "OPERAND_REG_INLINE_C_FP16", ":", "{", "if", "(", "isInt", "<", "16", ">", "(", "Imm", ")", "||", "isUInt", "<", "16", ">", "(", "Imm", ")", ")", "{", "int16_t", "Trunc", "=", "static_cast", "<", "int16_t", ">", "(", "Imm", ")", ";", "return", "ST", ".", "has16BitInsts", "(", ")", "&&", "AMDGPU", "::", "isInlinableLiteral16", "(", "Trunc", ",", "ST", ".", "hasInv2PiInlineImm", "(", ")", ")", ";", "}", "return", "false", ";", "}", "case", "AMDGPU", "::", "OPERAND_REG_INLINE_C_V2INT16", ":", "case", "AMDGPU", "::", "OPERAND_REG_INLINE_C_V2FP16", ":", "{", "uint32_t", "Trunc", "=", "static_cast", "<", "uint32_t", ">", "(", "Imm", ")", ";", "return", "AMDGPU", "::", "isInlinableLiteralV216", "(", "Trunc", ",", "ST", ".", "hasInv2PiInlineImm", "(", ")", ")", ";", "}", "default", ":", "llvm_unreachable", "(", "\"invalid bitwidth\"", ")", ";", "}", "}", ""], "natrual_language": ["returns", "true", "if", "the", "operand", "OpIdx", "in", "MI", "is", "a", "valid", "inline", "immediate", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU::OPERAND_REG_IMM_INT32", "AMDGPU::OPERAND_REG_IMM_FP32", "AMDGPU::OPERAND_REG_INLINE_C_INT32", "AMDGPU::OPERAND_REG_INLINE_C_FP32", "AMDGPU::isInlinableLiteral32", "AMDGPU::OPERAND_REG_IMM_INT64", "AMDGPU::OPERAND_REG_IMM_FP64", "AMDGPU::OPERAND_REG_INLINE_C_INT64", "AMDGPU::OPERAND_REG_INLINE_C_FP64", "AMDGPU::isInlinableLiteral64", "AMDGPU::OPERAND_REG_IMM_INT16", "AMDGPU::OPERAND_REG_IMM_FP16", "AMDGPU::OPERAND_REG_INLINE_C_INT16", "AMDGPU::OPERAND_REG_INLINE_C_FP16", "16", "16", "AMDGPU::isInlinableLiteral16", "AMDGPU::OPERAND_REG_INLINE_C_V2INT16", "AMDGPU::OPERAND_REG_INLINE_C_V2FP16", "AMDGPU::isInlinableLiteralV216", "\"invalid bitwidth\""], "File": "SIInstrInfo103", "Func": "isInlineConstant", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 221, "Length": 260, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "processBlock", "(", "MachineBasicBlock", "&", "MBB", ")", "{", "bool", "Changed", "=", "false", ";", "MachineRegisterInfo", "&", "MRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "for", "(", "MachineInstr", "&", "MI", ":", "MBB", ")", "{", "if", "(", "!", "MI", ".", "isFullCopy", "(", ")", ")", "continue", ";", "MachineOperand", "&", "DstMO", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "MachineOperand", "&", "SrcMO", "=", "MI", ".", "getOperand", "(", "1", ")", ";", "if", "(", "IsVSReg", "(", "DstMO", ".", "getReg", "(", ")", ",", "MRI", ")", "&&", "!", "IsVSReg", "(", "SrcMO", ".", "getReg", "(", ")", ",", "MRI", ")", ")", "{", "Changed", "=", "true", ";", "const", "TargetRegisterClass", "*", "SrcRC", "=", "&", "PPC", "::", "VSLRCRegClass", ";", "assert", "(", "(", "IsF8Reg", "(", "SrcMO", ".", "getReg", "(", ")", ",", "MRI", ")", "||", "IsVSSReg", "(", "SrcMO", ".", "getReg", "(", ")", ",", "MRI", ")", "||", "IsVSFReg", "(", "SrcMO", ".", "getReg", "(", ")", ",", "MRI", ")", ")", "&&", "\"Unknown source for a VSX copy\"", ")", ";", "Register", "NewVReg", "=", "MRI", ".", "createVirtualRegister", "(", "SrcRC", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "SUBREG_TO_REG", ")", ",", "NewVReg", ")", ".", "addImm", "(", "1", ")", ".", "add", "(", "SrcMO", ")", ".", "addImm", "(", "PPC", "::", "sub_64", ")", ";", "SrcMO", ".", "setReg", "(", "NewVReg", ")", ";", "}", "else", "if", "(", "!", "IsVSReg", "(", "DstMO", ".", "getReg", "(", ")", ",", "MRI", ")", "&&", "IsVSReg", "(", "SrcMO", ".", "getReg", "(", ")", ",", "MRI", ")", ")", "{", "Changed", "=", "true", ";", "const", "TargetRegisterClass", "*", "DstRC", "=", "&", "PPC", "::", "VSLRCRegClass", ";", "assert", "(", "(", "IsF8Reg", "(", "DstMO", ".", "getReg", "(", ")", ",", "MRI", ")", "||", "IsVSFReg", "(", "DstMO", ".", "getReg", "(", ")", ",", "MRI", ")", "||", "IsVSSReg", "(", "DstMO", ".", "getReg", "(", ")", ",", "MRI", ")", ")", "&&", "\"Unknown destination for a VSX copy\"", ")", ";", "Register", "NewVReg", "=", "MRI", ".", "createVirtualRegister", "(", "DstRC", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "NewVReg", ")", ".", "add", "(", "SrcMO", ")", ";", "SrcMO", ".", "setReg", "(", "NewVReg", ")", ";", "SrcMO", ".", "setSubReg", "(", "PPC", "::", "sub_64", ")", ";", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["processBlock", "-", "If", "there", "are", "any", "predecessors", "whose", "control", "can", "be", "threaded", "through", "to", "a", "successor", ",", "transform", "them", "now", "."], "TS_V_token": ["PowerPC", "0", "1", "PPC::VSLRCRegClass", "\"Unknown source for a VSX copy\"", "1", "PPC::sub_64", "PPC::VSLRCRegClass", "\"Unknown destination for a VSX copy\"", "PPC::sub_64"], "File": "PPCVSXCopy3", "Func": "processBlock", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 222, "Length": 350, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_set_up_by_prologue", "(", "struct", "hard_reg_set_container", "*", "set", ")", "{", "if", "(", "!", "TARGET_SINGLE_PIC_BASE", "&&", "TARGET_TOC", "&&", "TARGET_MINIMAL_TOC", "&&", "get_pool_size", "(", ")", "!=", "0", ")", "add_to_hard_reg_set", "(", "&", "set", "->", "set", ",", "Pmode", ",", "RS6000_PIC_OFFSET_TABLE_REGNUM", ")", ";", "if", "(", "cfun", "->", "machine", "->", "split_stack_argp_used", ")", "add_to_hard_reg_set", "(", "&", "set", "->", "set", ",", "Pmode", ",", "12", ")", ";", "}", ""], "natrual_language": ["Add", "r30", "to", "hard", "reg", "set", "if", "the", "prologue", "sets", "it", "up", "and", "it", "is", "not", "pic_offset_table_rtx", "."], "TS_V_token": ["rs6000", "0", "12"], "File": "rs60005", "Func": "rs6000_set_up_by_prologue", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 223, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "X86Subtarget", "*", "X86TargetMachine", "::", "getSubtargetImpl", "(", "const", "Function", "&", "F", ")", "const", "{", "Attribute", "CPUAttr", "=", "F", ".", "getFnAttribute", "(", "\"target-cpu\"", ")", ";", "Attribute", "FSAttr", "=", "F", ".", "getFnAttribute", "(", "\"target-features\"", ")", ";", "StringRef", "CPU", "=", "!", "CPUAttr", ".", "hasAttribute", "(", "Attribute", "::", "None", ")", "?", "CPUAttr", ".", "getValueAsString", "(", ")", ":", "(", "StringRef", ")", "TargetCPU", ";", "StringRef", "FS", "=", "!", "FSAttr", ".", "hasAttribute", "(", "Attribute", "::", "None", ")", "?", "FSAttr", ".", "getValueAsString", "(", ")", ":", "(", "StringRef", ")", "TargetFS", ";", "SmallString", "<", "512", ">", "Key", ";", "Key", ".", "reserve", "(", "CPU", ".", "size", "(", ")", "+", "FS", ".", "size", "(", ")", ")", ";", "Key", "+=", "CPU", ";", "Key", "+=", "FS", ";", "bool", "SoftFloat", "=", "F", ".", "getFnAttribute", "(", "\"use-soft-float\"", ")", ".", "getValueAsString", "(", ")", "==", "\"true\"", ";", "if", "(", "SoftFloat", ")", "Key", "+=", "FS", ".", "empty", "(", ")", "?", "\"+soft-float\"", ":", "\",+soft-float\"", ";", "FS", "=", "Key", ".", "substr", "(", "CPU", ".", "size", "(", ")", ")", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "Key", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "I", "=", "llvm", "::", "make_unique", "<", "X86Subtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "FS", ",", "*", "this", ",", "Options", ".", "StackAlignmentOverride", ")", ";", "GISelAccessor", "*", "GISel", "=", "new", "GISelAccessor", "(", ")", ";", "X86GISelActualAccessor", "*", "GISel", "=", "new", "X86GISelActualAccessor", "(", ")", ";", "GISel", "->", "CallLoweringInfo", ".", "reset", "(", "new", "X86CallLowering", "(", "*", "I", "->", "getTargetLowering", "(", ")", ")", ")", ";", "GISel", "->", "Legalizer", ".", "reset", "(", "new", "X86LegalizerInfo", "(", "*", "I", ",", "*", "this", ")", ")", ";", "auto", "*", "RBI", "=", "new", "X86RegisterBankInfo", "(", "*", "I", "->", "getRegisterInfo", "(", ")", ")", ";", "GISel", "->", "RegBankInfo", ".", "reset", "(", "RBI", ")", ";", "GISel", "->", "InstSelector", ".", "reset", "(", "createX86InstructionSelector", "(", "*", "I", ",", "*", "RBI", ")", ")", ";", "I", "->", "setGISelAccessor", "(", "*", "GISel", ")", ";", "}", "return", "I", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["Virtual", "method", "implemented", "by", "subclasses", "that", "returns", "a", "reference", "to", "that", "target", "'s", "TargetSubtargetInfo-derived", "member", "variable", "."], "TS_V_token": ["X86", "X86", "X86", "\"target-cpu\"", "\"target-features\"", "512", "\"use-soft-float\"", "\"true\"", "\"+soft-float\"", "\",+soft-float\"", "X86", "X86", "X86", "X86", "X86", "X86", "X86"], "File": "X86TargetMachine108", "Func": "getSubtargetImpl", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 224, "Length": 311, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSymbol", "*", "ARM64AsmPrinter", "::", "GetCPISymbol", "(", "unsigned", "CPID", ")", "const", "{", "if", "(", "getDataLayout", "(", ")", ".", "getLinkerPrivateGlobalPrefix", "(", ")", "[", "0", "]", ")", "return", "OutContext", ".", "GetOrCreateSymbol", "(", "Twine", "(", "getDataLayout", "(", ")", ".", "getLinkerPrivateGlobalPrefix", "(", ")", ")", "+", "\"CPI\"", "+", "Twine", "(", "getFunctionNumber", "(", ")", ")", "+", "\"_\"", "+", "Twine", "(", "CPID", ")", ")", ";", "return", "OutContext", ".", "GetOrCreateSymbol", "(", "Twine", "(", "getDataLayout", "(", ")", ".", "getPrivateGlobalPrefix", "(", ")", ")", "+", "\"CPI\"", "+", "Twine", "(", "getFunctionNumber", "(", ")", ")", "+", "\"_\"", "+", "Twine", "(", "CPID", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "symbol", "for", "the", "specified", "constant", "pool", "entry", "."], "TS_V_token": ["ARM64", "ARM64", "0", "\"CPI\"", "\"_\"", "\"CPI\"", "\"_\""], "File": "ARM64AsmPrinter", "Func": "GetCPISymbol", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 225, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64PassConfig", "::", "addPreRegAlloc", "(", ")", "{", "addPass", "(", "createARM64AdvSIMDScalar", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["ARM64", "ARM64", "ARM64"], "File": "ARM64TargetMachine", "Func": "addPreRegAlloc", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 226, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCInstrDesc", "&", "getMCOpcodeFromPseudo", "(", "unsigned", "Opcode", ")", "const", "{", "return", "get", "(", "pseudoToMCOpcode", "(", "Opcode", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "descriptor", "of", "the", "target-specific", "machine", "instruction", "that", "corresponds", "to", "the", "specified", "pseudo", "or", "native", "opcode", "."], "TS_V_token": ["AMDGPU"], "File": "AMDGPUInstrInfo22", "Func": "getMCOpcodeFromPseudo", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 227, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCPassConfig", "::", "addRegBankSelect", "(", ")", "{", "addPass", "(", "new", "RegBankSelect", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["This", "method", "should", "install", "a", "register", "bank", "selector", "pass", ",", "which", "assigns", "register", "banks", "to", "virtual", "registers", "without", "a", "register", "class", "or", "register", "banks", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCTargetMachine40", "Func": "addRegBankSelect", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 228, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "ARMTargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InFlag", ",", "CallSDNode", "*", "TheCall", ",", "unsigned", "CallingConv", ",", "SelectionDAG", "&", "DAG", ")", "{", "DebugLoc", "dl", "=", "TheCall", "->", "getDebugLoc", "(", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "bool", "isVarArg", "=", "TheCall", "->", "isVarArg", "(", ")", ";", "CCState", "CCInfo", "(", "CallingConv", ",", "isVarArg", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ")", ";", "CCInfo", ".", "AnalyzeCallResult", "(", "TheCall", ",", "RetCC_ARM", ")", ";", "SmallVector", "<", "SDValue", ",", "8", ">", "ResultVals", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "CCValAssign", "VA", "=", "RVLocs", "[", "i", "]", ";", "SDValue", "Val", ";", "if", "(", "VA", ".", "needsCustom", "(", ")", ")", "{", "SDValue", "Lo", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "MVT", "::", "i32", ",", "InFlag", ")", ";", "Chain", "=", "Lo", ".", "getValue", "(", "1", ")", ";", "InFlag", "=", "Lo", ".", "getValue", "(", "2", ")", ";", "VA", "=", "RVLocs", "[", "++", "i", "]", ";", "SDValue", "Hi", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "MVT", "::", "i32", ",", "InFlag", ")", ";", "Chain", "=", "Hi", ".", "getValue", "(", "1", ")", ";", "InFlag", "=", "Hi", ".", "getValue", "(", "2", ")", ";", "Val", "=", "DAG", ".", "getNode", "(", "ARMISD", "::", "FMDRR", ",", "dl", ",", "MVT", "::", "f64", ",", "Lo", ",", "Hi", ")", ";", "}", "else", "{", "Val", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "VA", ".", "getLocVT", "(", ")", ",", "InFlag", ")", ";", "Chain", "=", "Val", ".", "getValue", "(", "1", ")", ";", "InFlag", "=", "Val", ".", "getValue", "(", "2", ")", ";", "}", "switch", "(", "VA", ".", "getLocInfo", "(", ")", ")", "{", "default", ":", "assert", "(", "0", "&&", "\"Unknown loc info!\"", ")", ";", "case", "CCValAssign", "::", "Full", ":", "break", ";", "case", "CCValAssign", "::", "BCvt", ":", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "BIT_CONVERT", ",", "dl", ",", "VA", ".", "getValVT", "(", ")", ",", "Val", ")", ";", "break", ";", "}", "ResultVals", ".", "push_back", "(", "Val", ")", ";", "}", "ResultVals", ".", "push_back", "(", "Chain", ")", ";", "return", "DAG", ".", "getNode", "(", "ISD", "::", "MERGE_VALUES", ",", "dl", ",", "TheCall", "->", "getVTList", "(", ")", ",", "&", "ResultVals", "[", "0", "]", ",", "ResultVals", ".", "size", "(", ")", ")", ".", "getNode", "(", ")", ";", "}", ""], "natrual_language": ["LowerCallResult", "-", "Lower", "the", "result", "values", "of", "an", "ISD", ":", ":CALL", "into", "the", "appropriate", "copies", "out", "of", "appropriate", "physical", "registers", "."], "TS_V_token": ["ARM", "ARM", "16", "ARM", "8", "0", "MVT::i32", "1", "2", "MVT::i32", "1", "2", "ARMISD::FMDRR", "MVT::f64", "1", "2", "0", "\"Unknown loc info!\"", "ISD::BIT_CONVERT", "ISD::MERGE_VALUES", "0"], "File": "ARMISelLowering57", "Func": "LowerCallResult", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 229, "Length": 384, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUAsmBackend", "::", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "OW", "->", "WriteZeros", "(", "Count", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["AMDGPU", "AMDGPU"], "File": "AMDGPUAsmBackend (2)", "Func": "writeNopData", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 230, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Cpu0AsmPrinter", "::", "emitFrameDirective", "(", ")", "{", "const", "TargetRegisterInfo", "&", "RI", "=", "*", "MF", "->", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "stackReg", "=", "RI", ".", "getFrameRegister", "(", "*", "MF", ")", ";", "unsigned", "returnReg", "=", "RI", ".", "getRARegister", "(", ")", ";", "unsigned", "stackSize", "=", "MF", "->", "getFrameInfo", "(", ")", ".", "getStackSize", "(", ")", ";", "if", "(", "OutStreamer", "->", "hasRawTextSupport", "(", ")", ")", "OutStreamer", "->", "EmitRawText", "(", "\"\\t.frame\\t$\"", "+", "StringRef", "(", "Cpu0InstPrinter", "::", "getRegisterName", "(", "stackReg", ")", ")", ".", "lower", "(", ")", "+", "\",\"", "+", "Twine", "(", "stackSize", ")", "+", "\",$\"", "+", "StringRef", "(", "Cpu0InstPrinter", "::", "getRegisterName", "(", "returnReg", ")", ")", ".", "lower", "(", ")", ")", ";", "}", ""], "natrual_language": ["Frame", "Directive", "."], "TS_V_token": ["Cpu0", "Cpu0", "\"\\t.frame\\t$\"", "Cpu0", "\",\"", "\",$\"", "Cpu0"], "File": "Cpu0AsmPrinter", "Func": "emitFrameDirective", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 231, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "JVMTargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "const", "SDLoc", "&", "DL", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "assert", "(", "Outs", ".", "size", "(", ")", "<=", "1", "&&", "\"JVM can only return up to one value\"", ")", ";", "if", "(", "!", "CallingConvSupported", "(", "CallConv", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"JVM doesn't support non-C calling conventions\"", ")", ";", "if", "(", "Outs", ".", "size", "(", ")", ")", "Chain", "=", "DAG", ".", "getNode", "(", "JVMISD", "::", "RET", ",", "DL", ",", "MVT", "::", "Other", ",", "Chain", ",", "OutVals", "[", "0", "]", ")", ";", "else", "Chain", "=", "DAG", ".", "getNode", "(", "JVMISD", "::", "RET", ",", "DL", ",", "MVT", "::", "Other", ",", "Chain", ")", ";", "for", "(", "const", "ISD", "::", "OutputArg", "&", "Out", ":", "Outs", ")", "{", "assert", "(", "!", "Out", ".", "Flags", ".", "isByVal", "(", ")", "&&", "\"byval is not valid for return values\"", ")", ";", "assert", "(", "!", "Out", ".", "Flags", ".", "isNest", "(", ")", "&&", "\"nest is not valid for return values\"", ")", ";", "assert", "(", "Out", ".", "IsFixed", "&&", "\"non-fixed return value is not valid\"", ")", ";", "if", "(", "Out", ".", "Flags", ".", "isInAlloca", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"JVM hasn't implemented inalloca results\"", ")", ";", "if", "(", "Out", ".", "Flags", ".", "isInConsecutiveRegs", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"JVM hasn't implemented cons regs results\"", ")", ";", "if", "(", "Out", ".", "Flags", ".", "isInConsecutiveRegsLast", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"JVM hasn't implemented cons regs last results\"", ")", ";", "}", "return", "Chain", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "outgoing", "return", "values", ",", "described", "by", "the", "Outs", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["JVM", "JVM", "ISD::OutputArg", "1", "\"JVM can only return up to one value\"", "\"JVM doesn't support non-C calling conventions\"", "JVMISD::RET", "MVT::Other", "0", "JVMISD::RET", "MVT::Other", "ISD::OutputArg", "\"byval is not valid for return values\"", "\"nest is not valid for return values\"", "\"non-fixed return value is not valid\"", "\"JVM hasn't implemented inalloca results\"", "\"JVM hasn't implemented cons regs results\"", "\"JVM hasn't implemented cons regs last results\""], "File": "JVMISelLowering", "Func": "LowerReturn", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 232, "Length": 237, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "ConstraintWeight", "Cpu0TargetLowering", "::", "getSingleConstraintMatchWeight", "(", "AsmOperandInfo", "&", "info", ",", "const", "char", "*", "constraint", ")", "const", "{", "ConstraintWeight", "weight", "=", "CW_Invalid", ";", "Value", "*", "CallOperandVal", "=", "info", ".", "CallOperandVal", ";", "if", "(", "!", "CallOperandVal", ")", "return", "CW_Default", ";", "Type", "*", "type", "=", "CallOperandVal", "->", "getType", "(", ")", ";", "switch", "(", "*", "constraint", ")", "{", "default", ":", "weight", "=", "TargetLowering", "::", "getSingleConstraintMatchWeight", "(", "info", ",", "constraint", ")", ";", "break", ";", "case", "'c'", ":", "if", "(", "type", "->", "isIntegerTy", "(", ")", ")", "weight", "=", "CW_SpecificReg", ";", "break", ";", "case", "'I'", ":", "case", "'J'", ":", "case", "'K'", ":", "case", "'L'", ":", "case", "'N'", ":", "case", "'O'", ":", "case", "'P'", ":", "if", "(", "isa", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "weight", "=", "CW_Constant", ";", "break", ";", "case", "'R'", ":", "weight", "=", "CW_Memory", ";", "break", ";", "}", "return", "weight", ";", "}", ""], "natrual_language": ["Examine", "constraint", "string", "and", "operand", "type", "and", "determine", "a", "weight", "value", "."], "TS_V_token": ["Cpu0", "Cpu0"], "File": "Cpu0ISelLowering", "Func": "getSingleConstraintMatchWeight", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 233, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetMachine", "::", "addPreRegAlloc", "(", "PassManagerBase", "&", "PM", ")", "{", "if", "(", "!", "Subtarget", ".", "hasMips64", "(", ")", ")", "PM", ".", "add", "(", "createMipsEmitGPRestorePass", "(", "*", "this", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips"], "File": "MipsTargetMachine61", "Func": "addPreRegAlloc", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 234, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "xtensa_sizeof_MOVI", "(", "HOST_WIDE_INT", "imm", ")", "{", "return", "(", "TARGET_DENSITY", "&&", "IN_RANGE", "(", "imm", ",", "-", "32", ",", "95", ")", ")", "?", "2", ":", "3", ";", "}", ""], "natrual_language": ["Try", "to", "expand", "a", "block", "set", "operation", "to", "a", "sequence", "of", "RTL", "move", "instructions", ".", "If", "not", "optimizing", ",", "or", "if", "the", "block", "size", "is", "not", "a", "constant", ",", "or", "if", "the", "block", "is", "too", "large", ",", "or", "if", "the", "value", "to", "initialize", "the", "block", "with", "is", "not", "a", "constant", ",", "the", "expansion", "fails", "and", "GCC", "falls", "back", "to", "calling", "memset", "(", ")", ".", "operands", "[", "0", "]", "is", "the", "destination", "operands", "[", "1", "]", "is", "the", "length", "operands", "[", "2", "]", "is", "the", "initialization", "value", "operands", "[", "3", "]", "is", "the", "alignment"], "TS_V_token": ["xtensa", "32", "95", "2", "3"], "File": "xtensa1", "Func": "xtensa_sizeof_MOVI", "Target": "xtensa", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 235, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getPrefLoopAlignment", "(", ")", "const", "{", "return", "PrefLoopAlignment", ";", "}", ""], "natrual_language": ["Return", "the", "preferred", "loop", "alignment", "."], "TS_V_token": ["AArch64"], "File": "AArch64Subtarget10", "Func": "getPrefLoopAlignment", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 236, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_frame_pointer_required", "(", "void", ")", "{", "if", "(", "cfun", "->", "calls_alloca", ")", "return", "true", ";", "if", "(", "TARGET_MIPS16", ")", "{", "mips_compute_frame_info", "(", ")", ";", "if", "(", "!", "SMALL_OPERAND", "(", "cfun", "->", "machine", "->", "frame", ".", "total_size", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FRAME_POINTER_REQUIRED", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_frame_pointer_required", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 237, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Sparc", "::", "Fixups", "SparcMCExpr", "::", "getFixupKind", "(", "SparcMCExpr", "::", "VariantKind", "Kind", ")", "{", "switch", "(", "Kind", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unhandled SparcMCExpr::VariantKind\"", ")", ";", "case", "VK_Sparc_LO", ":", "return", "Sparc", "::", "fixup_sparc_lo10", ";", "case", "VK_Sparc_HI", ":", "return", "Sparc", "::", "fixup_sparc_hi22", ";", "case", "VK_Sparc_H44", ":", "return", "Sparc", "::", "fixup_sparc_h44", ";", "case", "VK_Sparc_M44", ":", "return", "Sparc", "::", "fixup_sparc_m44", ";", "case", "VK_Sparc_L44", ":", "return", "Sparc", "::", "fixup_sparc_l44", ";", "case", "VK_Sparc_HH", ":", "return", "Sparc", "::", "fixup_sparc_hh", ";", "case", "VK_Sparc_HM", ":", "return", "Sparc", "::", "fixup_sparc_hm", ";", "case", "VK_Sparc_LM", ":", "return", "Sparc", "::", "fixup_sparc_lm", ";", "case", "VK_Sparc_PC22", ":", "return", "Sparc", "::", "fixup_sparc_pc22", ";", "case", "VK_Sparc_PC10", ":", "return", "Sparc", "::", "fixup_sparc_pc10", ";", "case", "VK_Sparc_GOT22", ":", "return", "Sparc", "::", "fixup_sparc_got22", ";", "case", "VK_Sparc_GOT10", ":", "return", "Sparc", "::", "fixup_sparc_got10", ";", "case", "VK_Sparc_GOT13", ":", "return", "Sparc", "::", "fixup_sparc_got13", ";", "case", "VK_Sparc_13", ":", "return", "Sparc", "::", "fixup_sparc_13", ";", "case", "VK_Sparc_WPLT30", ":", "return", "Sparc", "::", "fixup_sparc_wplt30", ";", "case", "VK_Sparc_WDISP30", ":", "return", "Sparc", "::", "fixup_sparc_call30", ";", "case", "VK_Sparc_TLS_GD_HI22", ":", "return", "Sparc", "::", "fixup_sparc_tls_gd_hi22", ";", "case", "VK_Sparc_TLS_GD_LO10", ":", "return", "Sparc", "::", "fixup_sparc_tls_gd_lo10", ";", "case", "VK_Sparc_TLS_GD_ADD", ":", "return", "Sparc", "::", "fixup_sparc_tls_gd_add", ";", "case", "VK_Sparc_TLS_GD_CALL", ":", "return", "Sparc", "::", "fixup_sparc_tls_gd_call", ";", "case", "VK_Sparc_TLS_LDM_HI22", ":", "return", "Sparc", "::", "fixup_sparc_tls_ldm_hi22", ";", "case", "VK_Sparc_TLS_LDM_LO10", ":", "return", "Sparc", "::", "fixup_sparc_tls_ldm_lo10", ";", "case", "VK_Sparc_TLS_LDM_ADD", ":", "return", "Sparc", "::", "fixup_sparc_tls_ldm_add", ";", "case", "VK_Sparc_TLS_LDM_CALL", ":", "return", "Sparc", "::", "fixup_sparc_tls_ldm_call", ";", "case", "VK_Sparc_TLS_LDO_HIX22", ":", "return", "Sparc", "::", "fixup_sparc_tls_ldo_hix22", ";", "case", "VK_Sparc_TLS_LDO_LOX10", ":", "return", "Sparc", "::", "fixup_sparc_tls_ldo_lox10", ";", "case", "VK_Sparc_TLS_LDO_ADD", ":", "return", "Sparc", "::", "fixup_sparc_tls_ldo_add", ";", "case", "VK_Sparc_TLS_IE_HI22", ":", "return", "Sparc", "::", "fixup_sparc_tls_ie_hi22", ";", "case", "VK_Sparc_TLS_IE_LO10", ":", "return", "Sparc", "::", "fixup_sparc_tls_ie_lo10", ";", "case", "VK_Sparc_TLS_IE_LD", ":", "return", "Sparc", "::", "fixup_sparc_tls_ie_ld", ";", "case", "VK_Sparc_TLS_IE_LDX", ":", "return", "Sparc", "::", "fixup_sparc_tls_ie_ldx", ";", "case", "VK_Sparc_TLS_IE_ADD", ":", "return", "Sparc", "::", "fixup_sparc_tls_ie_add", ";", "case", "VK_Sparc_TLS_LE_HIX22", ":", "return", "Sparc", "::", "fixup_sparc_tls_le_hix22", ";", "case", "VK_Sparc_TLS_LE_LOX10", ":", "return", "Sparc", "::", "fixup_sparc_tls_le_lox10", ";", "}", "}", ""], "natrual_language": ["getFixupKind", "-", "Get", "the", "fixup", "kind", "of", "this", "expression", "."], "TS_V_token": ["Sparc", "Sparc::Fixups", "Sparc", "Sparc", "\"Unhandled SparcMCExpr::VariantKind\"", "Sparc", "Sparc::fixup_sparc_lo10", "Sparc", "Sparc::fixup_sparc_hi22", "Sparc", "Sparc::fixup_sparc_h44", "Sparc", "Sparc::fixup_sparc_m44", "Sparc", "Sparc::fixup_sparc_l44", "Sparc", "Sparc::fixup_sparc_hh", "Sparc", "Sparc::fixup_sparc_hm", "Sparc", "Sparc::fixup_sparc_lm", "Sparc", "Sparc::fixup_sparc_pc22", "Sparc", "Sparc::fixup_sparc_pc10", "Sparc", "Sparc::fixup_sparc_got22", "Sparc", "Sparc::fixup_sparc_got10", "Sparc", "Sparc::fixup_sparc_got13", "Sparc", "Sparc::fixup_sparc_13", "Sparc", "Sparc::fixup_sparc_wplt30", "SP", "Sparc::fixup_sparc_call30", "Sparc", "Sparc::fixup_sparc_tls_gd_hi22", "Sparc", "Sparc::fixup_sparc_tls_gd_lo10", "Sparc", "Sparc::fixup_sparc_tls_gd_add", "Sparc", "Sparc::fixup_sparc_tls_gd_call", "Sparc", "Sparc::fixup_sparc_tls_ldm_hi22", "Sparc", "Sparc::fixup_sparc_tls_ldm_lo10", "Sparc", "Sparc::fixup_sparc_tls_ldm_add", "Sparc", "Sparc::fixup_sparc_tls_ldm_call", "Sparc", "Sparc::fixup_sparc_tls_ldo_hix22", "Sparc", "Sparc::fixup_sparc_tls_ldo_lox10", "Sparc", "Sparc::fixup_sparc_tls_ldo_add", "Sparc", "Sparc::fixup_sparc_tls_ie_hi22", "Sparc", "Sparc::fixup_sparc_tls_ie_lo10", "Sparc", "Sparc::fixup_sparc_tls_ie_ld", "Sparc", "Sparc::fixup_sparc_tls_ie_ldx", "Sparc", "Sparc::fixup_sparc_tls_ie_add", "Sparc", "Sparc::fixup_sparc_tls_le_hix22", "Sparc", "Sparc::fixup_sparc_tls_le_lox10"], "File": "SparcMCExpr14", "Func": "getFixupKind", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 238, "Length": 299, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isLegalAddressingMode", "(", "const", "DataLayout", "&", "DL", ",", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ")", "const", "{", "CodeModel", "::", "Model", "M", "=", "getTargetMachine", "(", ")", ".", "getCodeModel", "(", ")", ";", "if", "(", "!", "X86", "::", "isOffsetSuitableForCodeModel", "(", "AM", ".", "BaseOffs", ",", "M", ",", "AM", ".", "BaseGV", "!=", "nullptr", ")", ")", "return", "false", ";", "if", "(", "AM", ".", "BaseGV", ")", "{", "unsigned", "GVFlags", "=", "Subtarget", ".", "classifyGlobalReference", "(", "AM", ".", "BaseGV", ")", ";", "if", "(", "isGlobalStubReference", "(", "GVFlags", ")", ")", "return", "false", ";", "if", "(", "AM", ".", "HasBaseReg", "&&", "isGlobalRelativeToPICBase", "(", "GVFlags", ")", ")", "return", "false", ";", "if", "(", "(", "M", "!=", "CodeModel", "::", "Small", "||", "isPositionIndependent", "(", ")", ")", "&&", "Subtarget", ".", "is64Bit", "(", ")", "&&", "(", "AM", ".", "BaseOffs", "||", "AM", ".", "Scale", ">", "1", ")", ")", "return", "false", ";", "}", "switch", "(", "AM", ".", "Scale", ")", "{", "case", "0", ":", "case", "1", ":", "case", "2", ":", "case", "4", ":", "case", "8", ":", "break", ";", "case", "3", ":", "case", "5", ":", "case", "9", ":", "if", "(", "AM", ".", "HasBaseReg", ")", "return", "false", ";", "break", ";", "default", ":", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["isLegalAddressingMode", "-", "Return", "true", "if", "the", "addressing", "mode", "represented", "by", "AM", "is", "legal", "for", "this", "target", ",", "for", "a", "load/store", "of", "the", "specified", "type", "."], "TS_V_token": ["X86", "X86", "X86::isOffsetSuitableForCodeModel", "1", "0", "1", "2", "4", "8", "3", "5", "9"], "File": "X86ISelLowering (3)", "Func": "isLegalAddressingMode", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 239, "Length": 193, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "AMDGPUTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "nullptr", ";", "NODE_NAME_CASE", "(", "CALL", ")", ";", "NODE_NAME_CASE", "(", "UMUL", ")", ";", "NODE_NAME_CASE", "(", "RET_FLAG", ")", ";", "NODE_NAME_CASE", "(", "BRANCH_COND", ")", ";", "NODE_NAME_CASE", "(", "DWORDADDR", ")", "NODE_NAME_CASE", "(", "FRACT", ")", "NODE_NAME_CASE", "(", "CLAMP", ")", "NODE_NAME_CASE", "(", "FMAX", ")", "NODE_NAME_CASE", "(", "SMAX", ")", "NODE_NAME_CASE", "(", "UMAX", ")", "NODE_NAME_CASE", "(", "FMIN", ")", "NODE_NAME_CASE", "(", "SMIN", ")", "NODE_NAME_CASE", "(", "UMIN", ")", "NODE_NAME_CASE", "(", "URECIP", ")", "NODE_NAME_CASE", "(", "DIV_SCALE", ")", "NODE_NAME_CASE", "(", "DIV_FMAS", ")", "NODE_NAME_CASE", "(", "DIV_FIXUP", ")", "NODE_NAME_CASE", "(", "TRIG_PREOP", ")", "NODE_NAME_CASE", "(", "RCP", ")", "NODE_NAME_CASE", "(", "RSQ", ")", "NODE_NAME_CASE", "(", "RSQ_LEGACY", ")", "NODE_NAME_CASE", "(", "RSQ_CLAMPED", ")", "NODE_NAME_CASE", "(", "DOT4", ")", "NODE_NAME_CASE", "(", "BFE_U32", ")", "NODE_NAME_CASE", "(", "BFE_I32", ")", "NODE_NAME_CASE", "(", "BFI", ")", "NODE_NAME_CASE", "(", "BFM", ")", "NODE_NAME_CASE", "(", "BREV", ")", "NODE_NAME_CASE", "(", "MUL_U24", ")", "NODE_NAME_CASE", "(", "MUL_I24", ")", "NODE_NAME_CASE", "(", "MAD_U24", ")", "NODE_NAME_CASE", "(", "MAD_I24", ")", "NODE_NAME_CASE", "(", "EXPORT", ")", "NODE_NAME_CASE", "(", "CONST_ADDRESS", ")", "NODE_NAME_CASE", "(", "REGISTER_LOAD", ")", "NODE_NAME_CASE", "(", "REGISTER_STORE", ")", "NODE_NAME_CASE", "(", "LOAD_CONSTANT", ")", "NODE_NAME_CASE", "(", "LOAD_INPUT", ")", "NODE_NAME_CASE", "(", "SAMPLE", ")", "NODE_NAME_CASE", "(", "SAMPLEB", ")", "NODE_NAME_CASE", "(", "SAMPLED", ")", "NODE_NAME_CASE", "(", "SAMPLEL", ")", "NODE_NAME_CASE", "(", "CVT_F32_UBYTE0", ")", "NODE_NAME_CASE", "(", "CVT_F32_UBYTE1", ")", "NODE_NAME_CASE", "(", "CVT_F32_UBYTE2", ")", "NODE_NAME_CASE", "(", "CVT_F32_UBYTE3", ")", "NODE_NAME_CASE", "(", "BUILD_VERTICAL_VECTOR", ")", "NODE_NAME_CASE", "(", "CONST_DATA_PTR", ")", "NODE_NAME_CASE", "(", "STORE_MSKOR", ")", "NODE_NAME_CASE", "(", "TBUFFER_STORE_FORMAT", ")", "}", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["R600"], "File": "AMDGPUISelLowering59", "Func": "getTargetNodeName", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 240, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsInstrInfo", "::", "verifyInstruction", "(", "const", "MachineInstr", "&", "MI", ",", "StringRef", "&", "ErrInfo", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "Mips", "::", "TAILCALLREG", ":", "case", "Mips", "::", "PseudoIndirectBranch", ":", "case", "Mips", "::", "JR", ":", "case", "Mips", "::", "JR64", ":", "case", "Mips", "::", "JALR", ":", "case", "Mips", "::", "JALR64", ":", "case", "Mips", "::", "JALRPseudo", ":", "if", "(", "!", "Subtarget", ".", "useIndirectJumpsHazard", "(", ")", ")", "return", "true", ";", "ErrInfo", "=", "\"invalid instruction when using jump guards!\"", ";", "return", "false", ";", "default", ":", "return", "true", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Perform", "target-specific", "instruction", "verification", "."], "TS_V_token": ["Mips", "Mips", "Mips::TAILCALLREG", "Mips::PseudoIndirectBranch", "Mips::JR", "Mips::JR64", "Mips::JALR", "Mips::JALR64", "Mips::JALRPseudo", "\"invalid instruction when using jump guards!\""], "File": "MipsInstrInfo16", "Func": "verifyInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 241, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "riscv_memory_move_cost", "(", "enum", "machine_mode", "mode", ",", "reg_class_t", "rclass", ",", "bool", "in", ")", "{", "return", "(", "tune_info", "->", "memory_cost", "+", "memory_move_secondary_cost", "(", "mode", ",", "rclass", ",", "in", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MEMORY_MOVE_COST", "."], "TS_V_token": ["riscv"], "File": "riscv2", "Func": "riscv_memory_move_cost", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVTargetLowering", "::", "ComputeNumSignBitsForTargetNode", "(", "SDValue", "Op", ",", "const", "APInt", "&", "DemandedElts", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "RISCVISD", "::", "SELECT_CC", ":", "{", "unsigned", "Tmp", "=", "DAG", ".", "ComputeNumSignBits", "(", "Op", ".", "getOperand", "(", "3", ")", ",", "DemandedElts", ",", "Depth", "+", "1", ")", ";", "if", "(", "Tmp", "==", "1", ")", "return", "1", ";", "unsigned", "Tmp2", "=", "DAG", ".", "ComputeNumSignBits", "(", "Op", ".", "getOperand", "(", "4", ")", ",", "DemandedElts", ",", "Depth", "+", "1", ")", ";", "return", "std", "::", "min", "(", "Tmp", ",", "Tmp2", ")", ";", "}", "case", "RISCVISD", "::", "SLLW", ":", "case", "RISCVISD", "::", "SRAW", ":", "case", "RISCVISD", "::", "SRLW", ":", "case", "RISCVISD", "::", "DIVW", ":", "case", "RISCVISD", "::", "DIVUW", ":", "case", "RISCVISD", "::", "REMUW", ":", "case", "RISCVISD", "::", "ROLW", ":", "case", "RISCVISD", "::", "RORW", ":", "case", "RISCVISD", "::", "GREVW", ":", "case", "RISCVISD", "::", "GORCW", ":", "case", "RISCVISD", "::", "FSLW", ":", "case", "RISCVISD", "::", "FSRW", ":", "case", "RISCVISD", "::", "SHFLW", ":", "case", "RISCVISD", "::", "UNSHFLW", ":", "case", "RISCVISD", "::", "BCOMPRESSW", ":", "case", "RISCVISD", "::", "BDECOMPRESSW", ":", "case", "RISCVISD", "::", "BFPW", ":", "case", "RISCVISD", "::", "FCVT_W_RV64", ":", "case", "RISCVISD", "::", "FCVT_WU_RV64", ":", "case", "RISCVISD", "::", "STRICT_FCVT_W_RV64", ":", "case", "RISCVISD", "::", "STRICT_FCVT_WU_RV64", ":", "return", "33", ";", "case", "RISCVISD", "::", "SHFL", ":", "case", "RISCVISD", "::", "UNSHFL", ":", "{", "if", "(", "Op", ".", "getValueType", "(", ")", "==", "MVT", "::", "i64", "&&", "isa", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "1", ")", ")", "&&", "(", "Op", ".", "getConstantOperandVal", "(", "1", ")", "&", "0x10", ")", "==", "0", ")", "{", "unsigned", "Tmp", "=", "DAG", ".", "ComputeNumSignBits", "(", "Op", ".", "getOperand", "(", "0", ")", ",", "Depth", "+", "1", ")", ";", "if", "(", "Tmp", ">", "32", ")", "return", "33", ";", "}", "break", ";", "}", "case", "RISCVISD", "::", "VMV_X_S", ":", "{", "unsigned", "XLen", "=", "Subtarget", ".", "getXLen", "(", ")", ";", "unsigned", "EltBits", "=", "Op", ".", "getOperand", "(", "0", ")", ".", "getScalarValueSizeInBits", "(", ")", ";", "if", "(", "EltBits", "<=", "XLen", ")", "return", "XLen", "-", "EltBits", "+", "1", ";", "break", ";", "}", "}", "return", "1", ";", "}", ""], "natrual_language": ["Determine", "the", "number", "of", "bits", "in", "the", "operation", "that", "are", "sign", "bits", "."], "TS_V_token": ["RISCV", "RISCV", "RISCVISD::SELECT_CC", "3", "1", "1", "1", "4", "1", "RISCVISD::SLLW", "RISCVISD::SRAW", "RISCVISD::SRLW", "RISCVISD::DIVW", "RISCVISD::DIVUW", "RISCVISD::REMUW", "RISCVISD::ROLW", "RISCVISD::RORW", "RISCVISD::GREVW", "RISCVISD::GORCW", "RISCVISD::FSLW", "RISCVISD::FSRW", "RISCVISD::SHFLW", "RISCVISD::UNSHFLW", "RISCVISD::BCOMPRESSW", "RISCVISD::BDECOMPRESSW", "RISCVISD::BFPW", "RISCVISD::FCVT_W_RV64", "RISCVISD::FCVT_WU_RV64", "RISCVISD::STRICT_FCVT_W_RV64", "RISCVISD::STRICT_FCVT_WU_RV64", "33", "RISCVISD::SHFL", "RISCVISD::UNSHFL", "MVT::i64", "1", "1", "0x10", "0", "0", "1", "32", "33", "RISCVISD::VMV_X_S", "0", "1", "1"], "File": "RISCVISelLowering20", "Func": "ComputeNumSignBitsForTargetNode", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 243, "Length": 344, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "BPFAdjustOpt", "::", "insertPassThrough", "(", ")", "{", "for", "(", "auto", "&", "Info", ":", "PassThroughs", ")", "{", "auto", "*", "CI", "=", "BPFCoreSharedInfo", "::", "insertPassThrough", "(", "Mod", ",", "Info", ".", "UsedInst", "->", "getParent", "(", ")", ",", "Info", ".", "Input", ",", "Info", ".", "UsedInst", ")", ";", "Info", ".", "UsedInst", "->", "setOperand", "(", "Info", ".", "OpIdx", ",", "CI", ")", ";", "}", "return", "!", "PassThroughs", ".", "empty", "(", ")", ";", "}", ""], "natrual_language": ["Insert", "a", "bpf", "passthrough", "builtin", "function", "."], "TS_V_token": ["BPF", "BPF", "BPFCoreSharedInfo::insertPassThrough"], "File": "BPFAdjustOpt5", "Func": "insertPassThrough", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 244, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiPassConfig", "::", "addPreSched2", "(", ")", "{", "addPass", "(", "createLanaiMemAluCombinerPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "after", "prolog-epilog", "insertion", "and", "before", "the", "second", "instruction", "scheduling", "pass", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai"], "File": "LanaiTargetMachine", "Func": "addPreSched2", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 245, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "if", "(", "MI", "->", "isBundle", "(", ")", ")", "{", "std", "::", "vector", "<", "const", "MachineInstr", "*", ">", "BundleMIs", ";", "const", "MachineBasicBlock", "*", "MBB", "=", "MI", "->", "getParent", "(", ")", ";", "MachineBasicBlock", "::", "const_instr_iterator", "MII", "=", "MI", ";", "++", "MII", ";", "unsigned", "int", "IgnoreCount", "=", "0", ";", "while", "(", "MII", "!=", "MBB", "->", "end", "(", ")", "&&", "MII", "->", "isInsideBundle", "(", ")", ")", "{", "const", "MachineInstr", "*", "MInst", "=", "MII", ";", "if", "(", "MInst", "->", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "DBG_VALUE", "||", "MInst", "->", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "IMPLICIT_DEF", ")", "{", "IgnoreCount", "++", ";", "++", "MII", ";", "continue", ";", "}", "BundleMIs", ".", "push_back", "(", "MInst", ")", ";", "++", "MII", ";", "}", "unsigned", "Size", "=", "BundleMIs", ".", "size", "(", ")", ";", "assert", "(", "(", "Size", "+", "IgnoreCount", ")", "==", "MI", "->", "getBundleSize", "(", ")", "&&", "\"Corrupt Bundle!\"", ")", ";", "for", "(", "unsigned", "Index", "=", "0", ";", "Index", "<", "Size", ";", "Index", "++", ")", "{", "HexagonMCInst", "MCI", ";", "MCI", ".", "setStartPacket", "(", "Index", "==", "0", ")", ";", "MCI", ".", "setEndPacket", "(", "Index", "==", "(", "Size", "-", "1", ")", ")", ";", "HexagonLowerToMC", "(", "BundleMIs", "[", "Index", "]", ",", "MCI", ",", "*", "this", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "MCI", ")", ";", "}", "}", "else", "{", "HexagonMCInst", "MCI", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "Hexagon", "::", "ENDLOOP0", ")", "{", "MCI", ".", "setStartPacket", "(", "true", ")", ";", "MCI", ".", "setEndPacket", "(", "true", ")", ";", "}", "HexagonLowerToMC", "(", "MI", ",", "MCI", ",", "*", "this", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "MCI", ")", ";", "}", "return", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["Hexagon", "Hexagon", "0", "\"Corrupt Bundle!\"", "0", "Hexagon", "0", "1", "Hexagon", "Hexagon", "Hexagon::ENDLOOP0", "Hexagon"], "File": "HexagonAsmPrinter10", "Func": "EmitInstruction", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 246, "Length": 266, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "if", "(", "EnableExpandCondsets", ")", "{", "Pass", "*", "Exp", "=", "createHexagonExpandCondsets", "(", ")", ";", "insertPass", "(", "&", "RegisterCoalescerID", ",", "IdentifyingPassPtr", "(", "Exp", ")", ")", ";", "}", "if", "(", "!", "DisableStoreWidening", ")", "addPass", "(", "createHexagonStoreWidening", "(", ")", ",", "false", ")", ";", "if", "(", "!", "DisableHardwareLoops", ")", "addPass", "(", "createHexagonHardwareLoops", "(", ")", ",", "false", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon"], "File": "HexagonTargetMachine66", "Func": "addPreRegAlloc", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 247, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "vlmul_type", "get_vlmul", "(", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_MIN_VLEN", "==", "32", ")", "return", "mode_vtype_infos", ".", "vlmul_for_min_vlen32", "[", "mode", "]", ";", "else", "return", "mode_vtype_infos", ".", "vlmul_for_min_vlen64", "[", "mode", "]", ";", "}", ""], "natrual_language": ["Helper", "function", "to", "get", "VLMUL", "operand", ".", "We", "always", "have", "VLMUL", "value", "for", "all", "RVV", "instructions", "that", "have", "VTYPE", "OP", "."], "TS_V_token": ["riscv", "32"], "File": "riscv-v", "Func": "get_vlmul", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 248, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyFixIrreducibleControlFlow", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** Fixing Irreducible Control Flow **********\\n\"", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "BlockSet", "AllBlocks", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "AllBlocks", ".", "insert", "(", "&", "MBB", ")", ";", "}", "if", "(", "LLVM_UNLIKELY", "(", "processRegion", "(", "&", "*", "MF", ".", "begin", "(", ")", ",", "AllBlocks", ",", "MF", ")", ")", ")", "{", "MF", ".", "RenumberBlocks", "(", ")", ";", "addImplicitDefs", "(", "MF", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"********** Fixing Irreducible Control Flow **********\\n\"", "\"********** Function: \""], "File": "WebAssemblyFixIrreducibleControlFlow9", "Func": "runOnMachineFunction", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 249, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_lfloorceil", "(", "rtx", "op0", ",", "rtx", "op1", ",", "bool", "do_floor", ")", "{", "machine_mode", "fmode", "=", "GET_MODE", "(", "op1", ")", ";", "machine_mode", "imode", "=", "GET_MODE", "(", "op0", ")", ";", "rtx", "ireg", ",", "freg", ",", "tmp", ";", "rtx_code_label", "*", "label", ";", "ireg", "=", "gen_reg_rtx", "(", "imode", ")", ";", "expand_fix", "(", "ireg", ",", "op1", ",", "0", ")", ";", "freg", "=", "gen_reg_rtx", "(", "fmode", ")", ";", "expand_float", "(", "freg", ",", "ireg", ",", "0", ")", ";", "label", "=", "ix86_expand_sse_compare_and_jump", "(", "UNLE", ",", "freg", ",", "op1", ",", "!", "do_floor", ")", ";", "tmp", "=", "expand_simple_binop", "(", "imode", ",", "do_floor", "?", "MINUS", ":", "PLUS", ",", "ireg", ",", "const1_rtx", ",", "NULL_RTX", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "emit_move_insn", "(", "ireg", ",", "tmp", ")", ";", "emit_label", "(", "label", ")", ";", "LABEL_NUSES", "(", "label", ")", "=", "1", ";", "emit_move_insn", "(", "op0", ",", "ireg", ")", ";", "}", ""], "natrual_language": ["Expand", "SSE2", "sequence", "for", "computing", "lround", "from", "OPERAND1", "storing", "into", "OPERAND0", "."], "TS_V_token": ["i386", "0", "0", "0", "1"], "File": "i386-expand", "Func": "ix86_expand_lfloorceil", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 250, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "aarch64_builtin_reciprocal", "(", "tree", "fndecl", ")", "{", "machine_mode", "mode", "=", "TYPE_MODE", "(", "TREE_TYPE", "(", "fndecl", ")", ")", ";", "if", "(", "!", "use_rsqrt_p", "(", "mode", ")", ")", "return", "NULL_TREE", ";", "unsigned", "int", "code", "=", "DECL_MD_FUNCTION_CODE", "(", "fndecl", ")", ";", "unsigned", "int", "subcode", "=", "code", ">>", "AARCH64_BUILTIN_SHIFT", ";", "switch", "(", "code", "&", "AARCH64_BUILTIN_CLASS", ")", "{", "case", "AARCH64_BUILTIN_GENERAL", ":", "return", "aarch64_general_builtin_rsqrt", "(", "subcode", ")", ";", "case", "AARCH64_BUILTIN_SVE", ":", "return", "NULL_TREE", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Function", "to", "decide", "when", "to", "use", "the", "approximate", "reciprocal", "square", "root", "builtin", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_builtin_reciprocal", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 251, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb2ITBlock", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "const", "ARMSubtarget", "&", "STI", "=", "Fn", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "if", "(", "!", "STI", ".", "isThumb2", "(", ")", ")", "return", "false", ";", "AFI", "=", "Fn", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "TII", "=", "static_cast", "<", "const", "Thumb2InstrInfo", "*", ">", "(", "STI", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "restrictIT", "=", "STI", ".", "restrictIT", "(", ")", ";", "if", "(", "!", "AFI", "->", "isThumbFunction", "(", ")", ")", "return", "false", ";", "bool", "Modified", "=", "false", ";", "for", "(", "auto", "&", "MBB", ":", "Fn", ")", "Modified", "|=", "InsertITInstructions", "(", "MBB", ")", ";", "if", "(", "Modified", ")", "AFI", "->", "setHasITBlocks", "(", "true", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM"], "File": "Thumb2ITBlockPass25", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 252, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "GCNSubtarget", "&", "GCNSubtarget", "::", "initializeSubtargetDependencies", "(", "const", "Triple", "&", "TT", ",", "StringRef", "GPU", ",", "StringRef", "FS", ")", "{", "SmallString", "<", "256", ">", "FullFS", "(", "\"+promote-alloca,+load-store-opt,+enable-ds128,+sram-ecc,+xnack,\"", ")", ";", "if", "(", "isAmdHsaOS", "(", ")", ")", "FullFS", "+=", "\"+flat-for-global,+unaligned-buffer-access,+trap-handler,\"", ";", "FullFS", "+=", "\"+enable-prt-strict-null,\"", ";", "if", "(", "FS", ".", "find_lower", "(", "\"+wavefrontsize\"", ")", "!=", "StringRef", "::", "npos", ")", "{", "if", "(", "FS", ".", "find_lower", "(", "\"wavefrontsize16\"", ")", "==", "StringRef", "::", "npos", ")", "FullFS", "+=", "\"-wavefrontsize16,\"", ";", "if", "(", "FS", ".", "find_lower", "(", "\"wavefrontsize32\"", ")", "==", "StringRef", "::", "npos", ")", "FullFS", "+=", "\"-wavefrontsize32,\"", ";", "if", "(", "FS", ".", "find_lower", "(", "\"wavefrontsize64\"", ")", "==", "StringRef", "::", "npos", ")", "FullFS", "+=", "\"-wavefrontsize64,\"", ";", "}", "FullFS", "+=", "FS", ";", "ParseSubtargetFeatures", "(", "GPU", ",", "FullFS", ")", ";", "assert", "(", "!", "hasFP64", "(", ")", "||", "(", "getGeneration", "(", ")", ">=", "AMDGPUSubtarget", "::", "SOUTHERN_ISLANDS", ")", ")", ";", "if", "(", "!", "hasAddr64", "(", ")", "&&", "!", "FS", ".", "contains", "(", "\"flat-for-global\"", ")", ")", "{", "FlatForGlobal", "=", "true", ";", "}", "if", "(", "MaxPrivateElementSize", "==", "0", ")", "MaxPrivateElementSize", "=", "4", ";", "if", "(", "LDSBankCount", "==", "0", ")", "LDSBankCount", "=", "32", ";", "if", "(", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "amdgcn", ")", "{", "if", "(", "LocalMemorySize", "==", "0", ")", "LocalMemorySize", "=", "32768", ";", "if", "(", "!", "HasMovrel", "&&", "!", "HasVGPRIndexMode", ")", "HasMovrel", "=", "true", ";", "}", "if", "(", "WavefrontSize", "==", "0", ")", "WavefrontSize", "=", "64", ";", "HasFminFmaxLegacy", "=", "getGeneration", "(", ")", "<", "AMDGPUSubtarget", "::", "VOLCANIC_ISLANDS", ";", "if", "(", "!", "FS", ".", "contains", "(", "\"+xnack\"", ")", "&&", "DoesNotSupportXNACK", "&&", "EnableXNACK", ")", "{", "ToggleFeature", "(", "AMDGPU", "::", "FeatureXNACK", ")", ";", "EnableXNACK", "=", "false", ";", "}", "if", "(", "DoesNotSupportSRAMECC", "&&", "EnableSRAMECC", ")", "{", "ToggleFeature", "(", "AMDGPU", "::", "FeatureSRAMECC", ")", ";", "EnableSRAMECC", "=", "false", ";", "}", "return", "*", "this", ";", "}", ""], "natrual_language": ["initializeSubtargetDependencies", "-", "Initializes", "using", "a", "CPU", ",", "a", "TuneCPU", ",", "and", "feature", "string", "so", "that", "we", "can", "use", "initializer", "lists", "for", "subtarget", "initialization", "."], "TS_V_token": ["AMDGPU", "256", "\"+promote-alloca,+load-store-opt,+enable-ds128,+sram-ecc,+xnack,\"", "\"+flat-for-global,+unaligned-buffer-access,+trap-handler,\"", "\"+enable-prt-strict-null,\"", "\"+wavefrontsize\"", "\"wavefrontsize16\"", "\"-wavefrontsize16,\"", "\"wavefrontsize32\"", "\"-wavefrontsize32,\"", "\"wavefrontsize64\"", "\"-wavefrontsize64,\"", "AMDGPU", "\"flat-for-global\"", "0", "4", "0", "32", "0", "32768", "0", "64", "AMDGPU", "\"+xnack\"", "AMDGPU::FeatureXNACK", "AMDGPU::FeatureSRAMECC"], "File": "AMDGPUSubtarget19", "Func": "initializeSubtargetDependencies", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 253, "Length": 284, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getPointerSize", "(", ")", "const", "{", "return", "8", ";", "}", ""], "natrual_language": ["Layout", "pointer", "size", "in", "bytes", ",", "rounded", "up", "to", "a", "whole", "number", "of", "bytes", "."], "TS_V_token": ["AArch64", "8"], "File": "AArch64AsmBackend (2)", "Func": "getPointerSize", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 254, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SIRegisterInfo", "::", "reservedPrivateSegmentBufferReg", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "unsigned", "BaseIdx", "=", "alignDown", "(", "getMaxWorkGroupSGPRCount", "(", "MF", ")", ",", "4", ")", "-", "4", ";", "unsigned", "BaseReg", "(", "AMDGPU", "::", "SGPR_32RegClass", ".", "getRegister", "(", "BaseIdx", ")", ")", ";", "return", "getMatchingSuperReg", "(", "BaseReg", ",", "AMDGPU", "::", "sub0", ",", "&", "AMDGPU", "::", "SReg_128RegClass", ")", ";", "}", ""], "natrual_language": ["Return", "the", "end", "register", "initially", "reserved", "for", "the", "scratch", "buffer", "in", "case", "spilling", "is", "needed", "."], "TS_V_token": ["AMDGPU", "SI", "4", "4", "AMDGPU::SGPR_32RegClass", "AMDGPU::sub0", "AMDGPU::SReg_128RegClass"], "File": "SIRegisterInfo106", "Func": "reservedPrivateSegmentBufferReg", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 255, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "rvexTargetMachine", "&", "getTargetMachine", "(", ")", "{", "return", "static_cast", "<", "const", "rvexTargetMachine", "&", ">", "(", "TM", ")", ";", "}", ""], "natrual_language": ["Return", "the", "target", "machine", "(", "if", "available", ")", "."], "TS_V_token": ["rvex", "rvex", "rvex"], "File": "rvexISelDAGToDAG", "Func": "getTargetMachine", "Target": "rvex", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 256, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "J2AsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "J2MCInstLower", "InstLower", "{", "OutContext", ",", "*", "this", "}", ";", "const", "DataLayout", "&", "DL", "=", "getDataLayout", "(", ")", ";", "auto", "MBB", "=", "MI", "->", "getParent", "(", ")", ";", "auto", "MF", "=", "MBB", "->", "getParent", "(", ")", ";", "auto", "MII", "=", "MI", "->", "getIterator", "(", ")", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "J2", "::", "CONSTPOOL_ENTRY", ")", "{", "auto", "LabelID", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "auto", "CPIdx", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getIndex", "(", ")", ";", "OutStreamer", "->", "EmitLabel", "(", "GetCPISymbol", "(", "LabelID", ")", ")", ";", "auto", "&", "MCPE", "=", "MF", "->", "getConstantPool", "(", ")", "->", "getConstants", "(", ")", "[", "CPIdx", "]", ";", "if", "(", "MCPE", ".", "isMachineConstantPoolEntry", "(", ")", ")", "EmitMachineConstantPoolValue", "(", "MCPE", ".", "Val", ".", "MachineCPVal", ")", ";", "else", "EmitGlobalConstant", "(", "DL", ",", "MCPE", ".", "Val", ".", "ConstVal", ")", ";", "return", ";", "}", "do", "{", "MCInst", "TmpInst", ";", "InstLower", ".", "Lower", "(", "&", "*", "MII", ",", "TmpInst", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "TmpInst", ")", ";", "++", "MII", ";", "}", "while", "(", "MII", "!=", "MBB", "->", "instr_end", "(", ")", "&&", "MII", "->", "isInsideBundle", "(", ")", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["J2", "J2", "J2", "J2::CONSTPOOL_ENTRY", "0", "1"], "File": "J2AsmPrinter", "Func": "EmitInstruction", "Target": "J2", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 257, "Length": 202, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "string", "getNodeLabel", "(", "const", "SCANode", "*", "N", ",", "const", "SpillCostAnalysisGraph", "&", "G", ")", "{", "MCGNode", "*", "mcgNode", "=", "N", "->", "getMCGNode", "(", ")", ";", "std", "::", "string", "tmp", ";", "raw_string_ostream", "s", "(", "tmp", ")", ";", "if", "(", "mcgNode", "->", "isUnknown", "(", ")", ")", "s", "<<", "\"", "getType", "(", ")", "<<", "\">\"", ";", "else", "{", "s", "<<", "mcgNode", "->", "getMF", "(", ")", "->", "getFunction", "(", ")", ".", "getName", "(", ")", ";", "}", "s", "<<", "(", "N", "->", "hasCallFreePath", "(", ")", "?", "\"* (occ:\"", ":", "\" (occ:\"", ")", "<<", "N", "->", "getOccupancy", "(", ")", "<<", "\", spill:\"", "<<", "N", "->", "getSpillCost", "(", ")", "<<", "\")\\n\"", "<<", "\"[rem:\"", "<<", "N", "->", "getRemainingOccupancy", "(", ")", "<<", "\", maxdisp:\"", "<<", "N", "->", "getMaxDisplacement", "(", ")", "<<", "\"]\"", ";", "return", "s", ".", "str", "(", ")", ";", "}", ""], "natrual_language": ["Print", "a", "DDG", "node", "either", "in", "concise", "form", "(", "-ddg-dot-only", ")", "or", "verbose", "mode", "(", "-ddg-dot", ")", "."], "TS_V_token": ["Patmos", "\"\"", "\"* (occ:\"", "\" (occ:\"", "\", spill:\"", "\")\\n\"", "\"[rem:\"", "\", maxdisp:\"", "\"]\""], "File": "PatmosStackCacheAnalysis1", "Func": "getNodeLabel", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 258, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonAsmParser", "::", "parseExpression", "(", "MCExpr", "const", "*", "&", "Expr", ")", "{", "llvm", "::", "SmallVector", "<", "AsmToken", ",", "4", ">", "Tokens", ";", "MCAsmLexer", "&", "Lexer", "=", "getLexer", "(", ")", ";", "bool", "Done", "=", "false", ";", "static", "char", "const", "*", "Comma", "=", "\",\"", ";", "do", "{", "Tokens", ".", "emplace_back", "(", "Lexer", ".", "getTok", "(", ")", ")", ";", "Lex", "(", ")", ";", "switch", "(", "Tokens", ".", "back", "(", ")", ".", "getKind", "(", ")", ")", "{", "case", "AsmToken", "::", "TokenKind", "::", "Hash", ":", "if", "(", "Tokens", ".", "size", "(", ")", ">", "1", ")", "if", "(", "(", "Tokens", ".", "end", "(", ")", "-", "2", ")", "->", "getKind", "(", ")", "==", "AsmToken", "::", "TokenKind", "::", "Plus", ")", "{", "Tokens", ".", "insert", "(", "Tokens", ".", "end", "(", ")", "-", "2", ",", "AsmToken", "(", "AsmToken", "::", "TokenKind", "::", "Comma", ",", "Comma", ")", ")", ";", "Done", "=", "true", ";", "}", "break", ";", "case", "AsmToken", "::", "TokenKind", "::", "RCurly", ":", "case", "AsmToken", "::", "TokenKind", "::", "EndOfStatement", ":", "case", "AsmToken", "::", "TokenKind", "::", "Eof", ":", "Done", "=", "true", ";", "break", ";", "default", ":", "break", ";", "}", "}", "while", "(", "!", "Done", ")", ";", "while", "(", "!", "Tokens", ".", "empty", "(", ")", ")", "{", "Lexer", ".", "UnLex", "(", "Tokens", ".", "back", "(", ")", ")", ";", "Tokens", ".", "pop_back", "(", ")", ";", "}", "return", "getParser", "(", ")", ".", "parseExpression", "(", "Expr", ")", ";", "}", ""], "natrual_language": ["Parse", "an", "arbitrary", "expression", "."], "TS_V_token": ["Hexagon", "Hexagon", "4", "\",\"", "1", "2", "2"], "File": "HexagonAsmParser31", "Func": "parseExpression", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 259, "Length": 222, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TeakInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "dbgs", "(", ")", "<<", "\"storeRegToStackSlot\\n\"", ";", "dbgs", "(", ")", "<<", "\"SrcReg: \"", "<<", "SrcReg", "<<", "\"\\n\"", ";", "dbgs", "(", ")", "<<", "\"TargetRegisterClass: \"", "<<", "RC", "->", "getID", "(", ")", "<<", "\"\\n\"", ";", "dbgs", "(", ")", "<<", "\"ICC live: \"", "<<", "MBB", ".", "computeRegisterLiveness", "(", "TRI", ",", "Teak", "::", "ICC", ",", "I", ")", "<<", "\"\\n\"", ";", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "if", "(", "RC", "->", "hasSuperClassEq", "(", "&", "Teak", "::", "ABRegsRegClass", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Teak", "::", "STORE_REG_TO_STACK_PSEUDO_32", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addImm", "(", "0", ")", ";", "else", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Teak", "::", "STORE_REG_TO_STACK_PSEUDO_16", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addImm", "(", "0", ")", ";", "{", "}", "{", "}", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["Teak", "Teak", "\"storeRegToStackSlot\\n\"", "\"SrcReg: \"", "\"\\n\"", "\"TargetRegisterClass: \"", "\"\\n\"", "\"ICC live: \"", "Teak::ICC", "\"\\n\"", "Teak::ABRegsRegClass", "Teak::STORE_REG_TO_STACK_PSEUDO_32", "0", "Teak::STORE_REG_TO_STACK_PSEUDO_16", "0"], "File": "TeakInstrInfo", "Func": "storeRegToStackSlot", "Target": "Teak", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 260, "Length": 197, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIInstrInfo", "::", "usesConstantBus", "(", "const", "MachineRegisterInfo", "&", "MRI", ",", "const", "MachineOperand", "&", "MO", ",", "const", "MCOperandInfo", "&", "OpInfo", ")", "const", "{", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "!", "isInlineConstant", "(", "MO", ",", "OpInfo", ")", ";", "if", "(", "!", "MO", ".", "isReg", "(", ")", ")", "return", "true", ";", "if", "(", "!", "MO", ".", "isUse", "(", ")", ")", "return", "false", ";", "if", "(", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "MO", ".", "getReg", "(", ")", ")", ")", "return", "RI", ".", "isSGPRClass", "(", "MRI", ".", "getRegClass", "(", "MO", ".", "getReg", "(", ")", ")", ")", ";", "if", "(", "!", "MO", ".", "isImplicit", "(", ")", "&&", "(", "MO", ".", "getReg", "(", ")", "==", "AMDGPU", "::", "FLAT_SCR", ")", ")", "return", "true", ";", "if", "(", "!", "MO", ".", "isImplicit", "(", ")", "&&", "MO", ".", "getReg", "(", ")", "==", "AMDGPU", "::", "EXEC", ")", "return", "true", ";", "return", "(", "MO", ".", "getReg", "(", ")", "==", "AMDGPU", "::", "VCC", "||", "MO", ".", "getReg", "(", ")", "==", "AMDGPU", "::", "M0", "||", "(", "!", "MO", ".", "isImplicit", "(", ")", "&&", "(", "AMDGPU", "::", "SGPR_32RegClass", ".", "contains", "(", "MO", ".", "getReg", "(", ")", ")", "||", "AMDGPU", "::", "SGPR_64RegClass", ".", "contains", "(", "MO", ".", "getReg", "(", ")", ")", ")", ")", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "this", "operand", "uses", "the", "constant", "bus", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU::FLAT_SCR", "AMDGPU::EXEC", "AMDGPU::VCC", "AMDGPU::M0", "AMDGPU::SGPR_32RegClass", "AMDGPU::SGPR_64RegClass"], "File": "SIInstrInfo (2)", "Func": "usesConstantBus", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 261, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"SI Whole Quad Mode\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AMDGPU", "\"SI Whole Quad Mode\""], "File": "SIWholeQuadMode", "Func": "getPassName", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 262, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "AArch64NamedImmMapper", "::", "toString", "(", "uint32_t", "Value", ",", "bool", "&", "Valid", ")", "const", "{", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "NumPairs", ";", "++", "i", ")", "{", "if", "(", "Pairs", "[", "i", "]", ".", "Value", "==", "Value", ")", "{", "Valid", "=", "true", ";", "return", "Pairs", "[", "i", "]", ".", "Name", ";", "}", "}", "Valid", "=", "false", ";", "return", "StringRef", "(", ")", ";", "}", ""], "natrual_language": ["Convert", "to", "a", "decimal", "representation", "in", "a", "string", "."], "TS_V_token": ["AArch64", "AArch64", "0"], "File": "AArch64BaseInfo", "Func": "toString", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 263, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_predict_doloop_p", "(", "struct", "loop", "*", "loop", ")", "{", "gcc_assert", "(", "loop", ")", ";", "if", "(", "loop", "->", "inner", "!=", "NULL", ")", "{", "if", "(", "dump_file", "&&", "(", "dump_flags", "&", "TDF_DETAILS", ")", ")", "fprintf", "(", "dump_file", ",", "\"Predict doloop failure due to\"", "\" loop nesting.\\n\"", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Predict", "whether", "the", "given", "loop", "in", "gimple", "will", "be", "transformed", "in", "the", "RTL", "doloop_optimize", "pass", "."], "TS_V_token": ["rs6000", "\"Predict doloop failure due to\"", "\" loop nesting.\\n\""], "File": "rs6000", "Func": "rs6000_predict_doloop_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 264, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RV16KSubtarget", "*", "getSubtargetImpl", "(", "const", "Function", "&", ")", "const", "override", "{", "return", "&", "Subtarget", ";", "}", ""], "natrual_language": ["Virtual", "method", "implemented", "by", "subclasses", "that", "returns", "a", "reference", "to", "that", "target", "'s", "TargetSubtargetInfo-derived", "member", "variable", "."], "TS_V_token": ["RV16K", "RV16K"], "File": "RV16KTargetMachine", "Func": "getSubtargetImpl", "Target": "RV16K", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 265, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CAHPInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "printInstruction", "(", "MI", ",", "STI", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["CAHP", "CAHP"], "File": "CAHPInstPrinter", "Func": "printInst", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 266, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_sim_issue_insn", "(", "struct", "mips_sim", "*", "state", ",", "rtx_insn", "*", "insn", ")", "{", "curr_state", "=", "state", "->", "dfa_state", ";", "state_transition", "(", "curr_state", ",", "insn", ")", ";", "state", "->", "insns_left", "=", "targetm", ".", "sched", ".", "variable_issue", "(", "0", ",", "false", ",", "insn", ",", "state", "->", "insns_left", ")", ";", "mips_sim_insn", "=", "insn", ";", "note_stores", "(", "insn", ",", "mips_sim_record_set", ",", "state", ")", ";", "}", ""], "natrual_language": ["Issue", "instruction", "INSN", "in", "scheduler", "state", "STATE", ".", "Assume", "that", "INSN", "can", "issue", "immediately", "(", "i.e.", ",", "that", "mips_sim_wait_insn", "has", "already", "been", "called", ")", "."], "TS_V_token": ["mips", "0"], "File": "mips", "Func": "mips_sim_issue_insn", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 267, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "HexagonNoExtendOperand", "*", "HexagonNoExtendOperand", "::", "Create", "(", "MCExpr", "const", "*", "Expr", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "(", "Ctx", ")", "HexagonNoExtendOperand", "(", "Expr", ")", ";", "}", ""], "natrual_language": ["Construct", "a", "unary", "instruction", ",", "given", "the", "opcode", "and", "an", "operand", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "Hexagon"], "File": "HexagonMCExpr", "Func": "Create", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 268, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "unsigned", "*", "MipsRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "static", "const", "unsigned", "SingleFloatOnlyCalleeSavedRegs", "[", "]", "=", "{", "Mips", "::", "S0", ",", "Mips", "::", "S1", ",", "Mips", "::", "S2", ",", "Mips", "::", "S3", ",", "Mips", "::", "S4", ",", "Mips", "::", "S5", ",", "Mips", "::", "S6", ",", "Mips", "::", "S7", ",", "Mips", "::", "F20", ",", "Mips", "::", "F21", ",", "Mips", "::", "F22", ",", "Mips", "::", "F23", ",", "Mips", "::", "F24", ",", "Mips", "::", "F25", ",", "Mips", "::", "F26", ",", "Mips", "::", "F27", ",", "Mips", "::", "F28", ",", "Mips", "::", "F29", ",", "Mips", "::", "F30", ",", "0", "}", ";", "static", "const", "unsigned", "BitMode32CalleeSavedRegs", "[", "]", "=", "{", "Mips", "::", "S0", ",", "Mips", "::", "S1", ",", "Mips", "::", "S2", ",", "Mips", "::", "S3", ",", "Mips", "::", "S4", ",", "Mips", "::", "S5", ",", "Mips", "::", "S6", ",", "Mips", "::", "S7", ",", "Mips", "::", "F20", ",", "Mips", "::", "F22", ",", "Mips", "::", "F24", ",", "Mips", "::", "F26", ",", "Mips", "::", "F28", ",", "Mips", "::", "F30", ",", "Mips", "::", "D10", ",", "Mips", "::", "D11", ",", "Mips", "::", "D12", ",", "Mips", "::", "D13", ",", "Mips", "::", "D14", ",", "Mips", "::", "D15", ",", "0", "}", ";", "if", "(", "Subtarget", ".", "isSingleFloat", "(", ")", ")", "return", "SingleFloatOnlyCalleeSavedRegs", ";", "else", "return", "BitMode32CalleeSavedRegs", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["Mips", "Mips", "Mips::S0", "Mips::S1", "Mips::S2", "Mips::S3", "Mips::S4", "Mips::S5", "Mips::S6", "Mips::S7", "Mips::F20", "Mips::F21", "Mips::F22", "Mips::F23", "Mips::F24", "Mips::F25", "Mips::F26", "Mips::F27", "Mips::F28", "Mips::F29", "Mips::F30", "0", "Mips::S0", "Mips::S1", "Mips::S2", "Mips::S3", "Mips::S4", "Mips::S5", "Mips::S6", "Mips::S7", "Mips::F20", "Mips::F22", "Mips::F24", "Mips::F26", "Mips::F28", "Mips::F30", "Mips::D10", "Mips::D11", "Mips::D12", "Mips::D13", "Mips::D14", "Mips::D15", "0"], "File": "MipsRegisterInfo18", "Func": "getCalleeSavedRegs", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 269, "Length": 208, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcMCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "verifyInstructionPredicates", "(", "MI", ",", "computeAvailableFeatures", "(", "STI", ".", "getFeatureBits", "(", ")", ")", ")", ";", "unsigned", "Bits", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "support", "::", "endian", "::", "write", "(", "OS", ",", "Bits", ",", "Ctx", ".", "getAsmInfo", "(", ")", "->", "isLittleEndian", "(", ")", "?", "support", "::", "little", ":", "support", "::", "big", ")", ";", "unsigned", "tlsOpNo", "=", "0", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "SP", "::", "TLS_CALL", ":", "tlsOpNo", "=", "1", ";", "break", ";", "case", "SP", "::", "TLS_ADDrr", ":", "case", "SP", "::", "TLS_ADDXrr", ":", "case", "SP", "::", "TLS_LDrr", ":", "case", "SP", "::", "TLS_LDXrr", ":", "tlsOpNo", "=", "3", ";", "break", ";", "}", "if", "(", "tlsOpNo", "!=", "0", ")", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "tlsOpNo", ")", ";", "uint64_t", "op", "=", "getMachineOpValue", "(", "MI", ",", "MO", ",", "Fixups", ",", "STI", ")", ";", "assert", "(", "op", "==", "0", "&&", "\"Unexpected operand value!\"", ")", ";", "(", "void", ")", "op", ";", "}", "++", "MCNumEmitted", ";", "}", ""], "natrual_language": ["Encode", "the", "given", "Inst", "to", "bytes", "and", "append", "to", "CB", "."], "TS_V_token": ["Sparc", "Sparc", "support::endian", "support::little", "support::big", "0", "SP::TLS_CALL", "1", "SP::TLS_ADDrr", "SP::TLS_ADDXrr", "SP::TLS_LDrr", "SP::TLS_LDXrr", "3", "0", "0", "\"Unexpected operand value!\""], "File": "SparcMCCodeEmitter", "Func": "encodeInstruction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 270, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "SparcRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "SP", "::", "G2", ")", ";", "Reserved", ".", "set", "(", "SP", "::", "G3", ")", ";", "Reserved", ".", "set", "(", "SP", "::", "G4", ")", ";", "Reserved", ".", "set", "(", "SP", "::", "O6", ")", ";", "Reserved", ".", "set", "(", "SP", "::", "I6", ")", ";", "Reserved", ".", "set", "(", "SP", "::", "I7", ")", ";", "Reserved", ".", "set", "(", "SP", "::", "G0", ")", ";", "Reserved", ".", "set", "(", "SP", "::", "G5", ")", ";", "Reserved", ".", "set", "(", "SP", "::", "G6", ")", ";", "Reserved", ".", "set", "(", "SP", "::", "G7", ")", ";", "return", "Reserved", ";", "}", ""], "natrual_language": ["getReservedRegs", "-", "Returns", "a", "bitset", "indexed", "by", "physical", "register", "number", "indicating", "if", "a", "register", "is", "a", "special", "register", "that", "has", "particular", "uses", "and", "should", "be", "considered", "unavailable", "at", "all", "times", ",", "e.g", "."], "TS_V_token": ["Sparc", "Sparc", "SP::G2", "SP::G3", "SP::G4", "SP::O6", "SP::I6", "SP::I7", "SP::G0", "SP::G5", "SP::G6", "SP::G7"], "File": "SparcRegisterInfo12", "Func": "getReservedRegs", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 271, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "InstrItineraryData", "*", "getInstrItineraryData", "(", ")", "const", "override", "{", "return", "&", "InstrItins", ";", "}", ""], "natrual_language": ["getInstrItineraryData", "-", "Returns", "instruction", "itinerary", "data", "for", "the", "target", "or", "specific", "subtarget", "."], "TS_V_token": ["LEG"], "File": "LEGSubtarget", "Func": "getInstrItineraryData", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 272, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "expand_vec_perm_vpermt2_vpshub2", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "if", "(", "!", "TARGET_AVX512BW", "||", "!", "(", "d", "->", "vmode", "==", "V64QImode", ")", ")", "return", "false", ";", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "struct", "expand_vec_perm_d", "ds", "[", "2", "]", ";", "rtx", "rperm", "[", "128", "]", ",", "vperm", ",", "target0", ",", "target1", ";", "unsigned", "int", "i", ",", "nelt", ";", "machine_mode", "vmode", ";", "nelt", "=", "d", "->", "nelt", ";", "vmode", "=", "V64QImode", ";", "for", "(", "i", "=", "0", ";", "i", "<", "2", ";", "i", "++", ")", "{", "ds", "[", "i", "]", "=", "*", "d", ";", "ds", "[", "i", "]", ".", "vmode", "=", "V32HImode", ";", "ds", "[", "i", "]", ".", "nelt", "=", "32", ";", "ds", "[", "i", "]", ".", "target", "=", "gen_reg_rtx", "(", "V32HImode", ")", ";", "ds", "[", "i", "]", ".", "op0", "=", "gen_lowpart", "(", "V32HImode", ",", "d", "->", "op0", ")", ";", "ds", "[", "i", "]", ".", "op1", "=", "gen_lowpart", "(", "V32HImode", ",", "d", "->", "op1", ")", ";", "}", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "i", "++", ")", "{", "ds", "[", "i", "&", "1", "]", ".", "perm", "[", "i", "/", "2", "]", "=", "d", "->", "perm", "[", "i", "]", "/", "2", ";", "if", "(", "i", "&", "1", ")", "{", "rperm", "[", "i", "]", "=", "constm1_rtx", ";", "rperm", "[", "i", "+", "64", "]", "=", "GEN_INT", "(", "(", "i", "&", "14", ")", "+", "(", "d", "->", "perm", "[", "i", "]", "&", "1", ")", ")", ";", "}", "else", "{", "rperm", "[", "i", "]", "=", "GEN_INT", "(", "(", "i", "&", "14", ")", "+", "(", "d", "->", "perm", "[", "i", "]", "&", "1", ")", ")", ";", "rperm", "[", "i", "+", "64", "]", "=", "constm1_rtx", ";", "}", "}", "bool", "ok", "=", "expand_vec_perm_1", "(", "&", "ds", "[", "0", "]", ")", ";", "gcc_assert", "(", "ok", ")", ";", "ds", "[", "0", "]", ".", "target", "=", "gen_lowpart", "(", "V64QImode", ",", "ds", "[", "0", "]", ".", "target", ")", ";", "ok", "=", "expand_vec_perm_1", "(", "&", "ds", "[", "1", "]", ")", ";", "gcc_assert", "(", "ok", ")", ";", "ds", "[", "1", "]", ".", "target", "=", "gen_lowpart", "(", "V64QImode", ",", "ds", "[", "1", "]", ".", "target", ")", ";", "vperm", "=", "gen_rtx_CONST_VECTOR", "(", "V64QImode", ",", "gen_rtvec_v", "(", "64", ",", "rperm", ")", ")", ";", "vperm", "=", "force_reg", "(", "vmode", ",", "vperm", ")", ";", "target0", "=", "gen_reg_rtx", "(", "V64QImode", ")", ";", "emit_insn", "(", "gen_avx512bw_pshufbv64qi3", "(", "target0", ",", "ds", "[", "0", "]", ".", "target", ",", "vperm", ")", ")", ";", "vperm", "=", "gen_rtx_CONST_VECTOR", "(", "V64QImode", ",", "gen_rtvec_v", "(", "64", ",", "rperm", "+", "64", ")", ")", ";", "vperm", "=", "force_reg", "(", "vmode", ",", "vperm", ")", ";", "target1", "=", "gen_reg_rtx", "(", "V64QImode", ")", ";", "emit_insn", "(", "gen_avx512bw_pshufbv64qi3", "(", "target1", ",", "ds", "[", "1", "]", ".", "target", ",", "vperm", ")", ")", ";", "emit_insn", "(", "gen_iorv64qi3", "(", "d", "->", "target", ",", "target0", ",", "target1", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "arbitrary", "permutations", "of", "two", "V64QImode", "operands", "with", "2", "vperm", "[", "it", "]", "2w", ",", "2", "vpshufb", "and", "one", "vpor", "instruction", "."], "TS_V_token": ["i386", "2", "128", "0", "2", "32", "0", "1", "2", "2", "1", "64", "14", "1", "14", "1", "64", "0", "0", "0", "1", "1", "1", "64", "0", "64", "64", "1"], "File": "i386-expand", "Func": "expand_vec_perm_vpermt2_vpshub2", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 273, "Length": 461, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "dump", "(", ")", "{", "dbgs", "(", ")", "<<", "\"X86ISelAddressMode \"", "<<", "this", "<<", "'\\n'", ";", "dbgs", "(", ")", "<<", "\"Base_Reg \"", ";", "if", "(", "Base_Reg", ".", "getNode", "(", ")", ")", "Base_Reg", ".", "getNode", "(", ")", "->", "dump", "(", ")", ";", "else", "dbgs", "(", ")", "<<", "\"nul\"", ";", "dbgs", "(", ")", "<<", "\" Base.FrameIndex \"", "<<", "Base_FrameIndex", "<<", "'\\n'", "<<", "\" Scale\"", "<<", "Scale", "<<", "'\\n'", "<<", "\"IndexReg \"", ";", "if", "(", "IndexReg", ".", "getNode", "(", ")", ")", "IndexReg", ".", "getNode", "(", ")", "->", "dump", "(", ")", ";", "else", "dbgs", "(", ")", "<<", "\"nul\"", ";", "dbgs", "(", ")", "<<", "\" Disp \"", "<<", "Disp", "<<", "'\\n'", "<<", "\"GV \"", ";", "if", "(", "GV", ")", "GV", "->", "dump", "(", ")", ";", "else", "dbgs", "(", ")", "<<", "\"nul\"", ";", "dbgs", "(", ")", "<<", "\" CP \"", ";", "if", "(", "CP", ")", "CP", "->", "dump", "(", ")", ";", "else", "dbgs", "(", ")", "<<", "\"nul\"", ";", "dbgs", "(", ")", "<<", "'\\n'", "<<", "\"ES \"", ";", "if", "(", "ES", ")", "dbgs", "(", ")", "<<", "ES", ";", "else", "dbgs", "(", ")", "<<", "\"nul\"", ";", "dbgs", "(", ")", "<<", "\" JT\"", "<<", "JT", "<<", "\" Align\"", "<<", "Align", "<<", "'\\n'", ";", "}", ""], "natrual_language": ["Dump", "the", "plan", "to", "stderr", "(", "for", "debugging", ")", "."], "TS_V_token": ["X86", "\"X86ISelAddressMode \"", "\"Base_Reg \"", "\"nul\"", "\" Base.FrameIndex \"", "\" Scale\"", "\"IndexReg \"", "\"nul\"", "\" Disp \"", "\"GV \"", "\"nul\"", "\" CP \"", "\"nul\"", "\"ES \"", "\"nul\"", "\" JT\"", "\" Align\""], "File": "X86ISelDAGToDAG100", "Func": "dump", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 274, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "nios2_plus_large_constant_p", "(", "rtx", "x", ")", "{", "return", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "nios2_large_constant_p", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "an", "expression", "of", "the", "form", "(", "PLUS", "reg", "large_constant", ")", "."], "TS_V_token": ["nios2", "0", "1"], "File": "nios2", "Func": "nios2_plus_large_constant_p", "Target": "nios2", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 275, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Cpu0 Long Branch\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Cpu0", "\"Cpu0 Long Branch\""], "File": "Cpu0LongBranch", "Func": "getPassName", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 276, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "const", "AMDGPUSubtarget", "&", "ST", "=", "TM", "->", "getSubtarget", "<", "AMDGPUSubtarget", ">", "(", ")", ";", "if", "(", "ST", ".", "getGeneration", "(", ")", "<=", "AMDGPUSubtarget", "::", "NORTHERN_ISLANDS", ")", "{", "addPass", "(", "createR600VectorRegMerger", "(", "*", "TM", ")", ")", ";", "}", "else", "{", "addPass", "(", "createSIFixSGPRCopiesPass", "(", "*", "TM", ")", ")", ";", "addPass", "(", "&", "MachineCSEID", ")", ";", "if", "(", "getOptLevel", "(", ")", ">", "CodeGenOpt", "::", "None", "&&", "ST", ".", "loadStoreOptEnabled", "(", ")", ")", "{", "initializeSILoadStoreOptimizerPass", "(", "*", "PassRegistry", "::", "getPassRegistry", "(", ")", ")", ";", "insertPass", "(", "&", "MachineSchedulerID", ",", "&", "SILoadStoreOptimizerID", ")", ";", "}", "addPass", "(", "createSIShrinkInstructionsPass", "(", ")", ")", ";", "addPass", "(", "createSIFixSGPRLiveRangesPass", "(", ")", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["R600", "SI", "SI", "SI", "SI", "SI"], "File": "AMDGPUTargetMachine40", "Func": "addPreRegAlloc", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 277, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WaitcntBrackets", "::", "merge", "(", "const", "WaitcntBrackets", "&", "Other", ")", "{", "bool", "StrictDom", "=", "false", ";", "VgprUB", "=", "std", "::", "max", "(", "VgprUB", ",", "Other", ".", "VgprUB", ")", ";", "SgprUB", "=", "std", "::", "max", "(", "SgprUB", ",", "Other", ".", "SgprUB", ")", ";", "for", "(", "auto", "T", ":", "inst_counter_types", "(", ")", ")", "{", "const", "unsigned", "OldEvents", "=", "PendingEvents", "&", "WaitEventMaskForInst", "[", "T", "]", ";", "const", "unsigned", "OtherEvents", "=", "Other", ".", "PendingEvents", "&", "WaitEventMaskForInst", "[", "T", "]", ";", "if", "(", "OtherEvents", "&", "~", "OldEvents", ")", "StrictDom", "=", "true", ";", "PendingEvents", "|=", "OtherEvents", ";", "const", "unsigned", "MyPending", "=", "ScoreUBs", "[", "T", "]", "-", "ScoreLBs", "[", "T", "]", ";", "const", "unsigned", "OtherPending", "=", "Other", ".", "ScoreUBs", "[", "T", "]", "-", "Other", ".", "ScoreLBs", "[", "T", "]", ";", "const", "unsigned", "NewUB", "=", "ScoreLBs", "[", "T", "]", "+", "std", "::", "max", "(", "MyPending", ",", "OtherPending", ")", ";", "if", "(", "NewUB", "<", "ScoreLBs", "[", "T", "]", ")", "report_fatal_error", "(", "\"waitcnt score overflow\"", ")", ";", "MergeInfo", "M", ";", "M", ".", "OldLB", "=", "ScoreLBs", "[", "T", "]", ";", "M", ".", "OtherLB", "=", "Other", ".", "ScoreLBs", "[", "T", "]", ";", "M", ".", "MyShift", "=", "NewUB", "-", "ScoreUBs", "[", "T", "]", ";", "M", ".", "OtherShift", "=", "NewUB", "-", "Other", ".", "ScoreUBs", "[", "T", "]", ";", "ScoreUBs", "[", "T", "]", "=", "NewUB", ";", "StrictDom", "|=", "mergeScore", "(", "M", ",", "LastFlat", "[", "T", "]", ",", "Other", ".", "LastFlat", "[", "T", "]", ")", ";", "bool", "RegStrictDom", "=", "false", ";", "for", "(", "int", "J", "=", "0", ";", "J", "<=", "VgprUB", ";", "J", "++", ")", "{", "RegStrictDom", "|=", "mergeScore", "(", "M", ",", "VgprScores", "[", "T", "]", "[", "J", "]", ",", "Other", ".", "VgprScores", "[", "T", "]", "[", "J", "]", ")", ";", "}", "if", "(", "T", "==", "VM_CNT", ")", "{", "for", "(", "int", "J", "=", "0", ";", "J", "<=", "VgprUB", ";", "J", "++", ")", "{", "unsigned", "char", "NewVmemTypes", "=", "VgprVmemTypes", "[", "J", "]", "|", "Other", ".", "VgprVmemTypes", "[", "J", "]", ";", "RegStrictDom", "|=", "NewVmemTypes", "!=", "VgprVmemTypes", "[", "J", "]", ";", "VgprVmemTypes", "[", "J", "]", "=", "NewVmemTypes", ";", "}", "}", "if", "(", "T", "==", "LGKM_CNT", ")", "{", "for", "(", "int", "J", "=", "0", ";", "J", "<=", "SgprUB", ";", "J", "++", ")", "{", "RegStrictDom", "|=", "mergeScore", "(", "M", ",", "SgprScores", "[", "J", "]", ",", "Other", ".", "SgprScores", "[", "J", "]", ")", ";", "}", "}", "if", "(", "RegStrictDom", ")", "StrictDom", "=", "true", ";", "}", "return", "StrictDom", ";", "}", ""], "natrual_language": ["Merge", "target", "triples", "."], "TS_V_token": ["AMDGPU", "\"waitcnt score overflow\"", "0", "0", "0"], "File": "SIInsertWaitcnts16", "Func": "merge", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 278, "Length": 386, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "Cpu0Subtarget", "*", "getSubtargetImpl", "(", "const", "llvm", "::", "Function", "&", ")", "const", "override", "{", "return", "&", "Subtarget", ";", "}", ""], "natrual_language": ["Virtual", "method", "implemented", "by", "subclasses", "that", "returns", "a", "reference", "to", "that", "target", "'s", "TargetSubtargetInfo-derived", "member", "variable", "."], "TS_V_token": ["Cpu0", "Cpu0"], "File": "Cpu0TargetMachine3", "Func": "getSubtargetImpl", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 279, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "R600InstrInfo", "::", "SubsumesPredicate", "(", "ArrayRef", "<", "MachineOperand", ">", "Pred1", ",", "ArrayRef", "<", "MachineOperand", ">", "Pred2", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "first", "specified", "predicate", "subsumes", "the", "second", ",", "e.g", "."], "TS_V_token": ["AMDGPU", "R600"], "File": "R600InstrInfo (2)", "Func": "SubsumesPredicate", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 280, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineSDNode", "*", "SITargetLowering", "::", "buildRSRC", "(", "SelectionDAG", "&", "DAG", ",", "const", "SDLoc", "&", "DL", ",", "SDValue", "Ptr", ",", "uint32_t", "RsrcDword1", ",", "uint64_t", "RsrcDword2And3", ")", "const", "{", "SDValue", "PtrLo", "=", "DAG", ".", "getTargetExtractSubreg", "(", "AMDGPU", "::", "sub0", ",", "DL", ",", "MVT", "::", "i32", ",", "Ptr", ")", ";", "SDValue", "PtrHi", "=", "DAG", ".", "getTargetExtractSubreg", "(", "AMDGPU", "::", "sub1", ",", "DL", ",", "MVT", "::", "i32", ",", "Ptr", ")", ";", "if", "(", "RsrcDword1", ")", "{", "PtrHi", "=", "SDValue", "(", "DAG", ".", "getMachineNode", "(", "AMDGPU", "::", "S_OR_B32", ",", "DL", ",", "MVT", "::", "i32", ",", "PtrHi", ",", "DAG", ".", "getConstant", "(", "RsrcDword1", ",", "DL", ",", "MVT", "::", "i32", ")", ")", ",", "0", ")", ";", "}", "SDValue", "DataLo", "=", "buildSMovImm32", "(", "DAG", ",", "DL", ",", "RsrcDword2And3", "&", "UINT64_C", "(", "0xFFFFFFFF", ")", ")", ";", "SDValue", "DataHi", "=", "buildSMovImm32", "(", "DAG", ",", "DL", ",", "RsrcDword2And3", ">>", "32", ")", ";", "const", "SDValue", "Ops", "[", "]", "=", "{", "DAG", ".", "getTargetConstant", "(", "AMDGPU", "::", "SGPR_128RegClassID", ",", "DL", ",", "MVT", "::", "i32", ")", ",", "PtrLo", ",", "DAG", ".", "getTargetConstant", "(", "AMDGPU", "::", "sub0", ",", "DL", ",", "MVT", "::", "i32", ")", ",", "PtrHi", ",", "DAG", ".", "getTargetConstant", "(", "AMDGPU", "::", "sub1", ",", "DL", ",", "MVT", "::", "i32", ")", ",", "DataLo", ",", "DAG", ".", "getTargetConstant", "(", "AMDGPU", "::", "sub2", ",", "DL", ",", "MVT", "::", "i32", ")", ",", "DataHi", ",", "DAG", ".", "getTargetConstant", "(", "AMDGPU", "::", "sub3", ",", "DL", ",", "MVT", "::", "i32", ")", "}", ";", "return", "DAG", ".", "getMachineNode", "(", "AMDGPU", "::", "REG_SEQUENCE", ",", "DL", ",", "MVT", "::", "v4i32", ",", "Ops", ")", ";", "}", ""], "natrual_language": ["Return", "a", "resource", "descriptor", "with", "the", "'Add", "TID", "'", "bit", "enabled", "The", "TID", "(", "Thread", "ID", ")", "is", "multiplied", "by", "the", "stride", "value", "(", "bits", "[", "61:48", "]", "of", "the", "resource", "descriptor", ")", "to", "create", "an", "offset", ",", "which", "is", "added", "to", "the", "resource", "pointer", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU::sub0", "MVT::i32", "AMDGPU::sub1", "MVT::i32", "AMDGPU::S_OR_B32", "MVT::i32", "MVT::i32", "0", "0xFFFFFFFF", "32", "AMDGPU::SGPR_128RegClassID", "MVT::i32", "AMDGPU::sub0", "MVT::i32", "AMDGPU::sub1", "MVT::i32", "AMDGPU::sub2", "MVT::i32", "AMDGPU::sub3", "MVT::i32", "AMDGPU::REG_SEQUENCE", "MVT::v4i32"], "File": "SIISelLowering10", "Func": "buildRSRC", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 281, "Length": 250, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isShiftedMask", "(", "uint64_t", "I", ",", "uint64_t", "&", "Pos", ",", "uint64_t", "&", "Size", ")", "{", "if", "(", "!", "isShiftedMask_64", "(", "I", ")", ")", "return", "false", ";", "Size", "=", "CountPopulation_64", "(", "I", ")", ";", "Pos", "=", "countTrailingZeros", "(", "I", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "APInt", "value", "contains", "a", "non-empty", "sequence", "of", "ones", "with", "the", "remainder", "zero", "."], "TS_V_token": ["Mips"], "File": "MipsISelLowering (2)", "Func": "isShiftedMask", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 282, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "s390_check_qrst_address", "(", "char", "c", ",", "rtx", "op", ",", "bool", "lit_pool_ok", ")", "{", "struct", "s390_address", "addr", ";", "bool", "decomposed", "=", "false", ";", "if", "(", "!", "address_operand", "(", "op", ",", "GET_MODE", "(", "op", ")", ")", ")", "return", "0", ";", "if", "(", "s390_loadrelative_operand_p", "(", "op", ",", "NULL", ",", "NULL", ")", ")", "return", "0", ";", "if", "(", "!", "lit_pool_ok", ")", "{", "if", "(", "!", "s390_decompose_address", "(", "op", ",", "&", "addr", ")", ")", "return", "0", ";", "if", "(", "addr", ".", "literal_pool", ")", "return", "0", ";", "decomposed", "=", "true", ";", "}", "if", "(", "lra_in_progress", ")", "{", "if", "(", "!", "decomposed", "&&", "!", "s390_decompose_address", "(", "op", ",", "&", "addr", ")", ")", "return", "0", ";", "decomposed", "=", "true", ";", "}", "switch", "(", "c", ")", "{", "case", "'Q'", ":", "if", "(", "!", "decomposed", "&&", "!", "s390_decompose_address", "(", "op", ",", "&", "addr", ")", ")", "return", "0", ";", "if", "(", "addr", ".", "indx", ")", "return", "0", ";", "if", "(", "!", "s390_short_displacement", "(", "addr", ".", "disp", ")", ")", "return", "0", ";", "break", ";", "case", "'R'", ":", "if", "(", "TARGET_LONG_DISPLACEMENT", ")", "{", "if", "(", "!", "decomposed", "&&", "!", "s390_decompose_address", "(", "op", ",", "&", "addr", ")", ")", "return", "0", ";", "if", "(", "!", "s390_short_displacement", "(", "addr", ".", "disp", ")", ")", "return", "0", ";", "}", "break", ";", "case", "'S'", ":", "if", "(", "!", "decomposed", "&&", "!", "s390_decompose_address", "(", "op", ",", "&", "addr", ")", ")", "return", "0", ";", "if", "(", "addr", ".", "indx", ")", "return", "0", ";", "break", ";", "case", "'T'", ":", "break", ";", "default", ":", "return", "0", ";", "}", "return", "1", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "address", "in", "OP", "is", "valid", "for", "constraint", "letter", "C", "if", "wrapped", "in", "a", "MEM", "rtx", ".", "Set", "LIT_POOL_OK", "to", "true", "if", "it", "literal", "pool", "MEMs", "should", "be", "accepted", ".", "Only", "the", "Q", ",", "R", ",", "S", ",", "T", "constraint", "letters", "are", "allowed", "for", "C", "."], "TS_V_token": ["s390", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1"], "File": "s3907", "Func": "s390_check_qrst_address", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 283, "Length": 250, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsFrameInfo", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "DisableFramePointerElim", "(", "MF", ")", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsFrameInfo", "Func": "hasFP", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 284, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isCandidateToMergeOrPair", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "MI", ".", "hasOrderedMemoryRef", "(", ")", ")", "return", "false", ";", "assert", "(", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "||", "MI", ".", "getOperand", "(", "1", ")", ".", "isFI", "(", ")", ")", "&&", "\"Expected a reg or frame index operand.\"", ")", ";", "if", "(", "!", "MI", ".", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", ")", "return", "false", ";", "if", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", ")", "{", "unsigned", "BaseReg", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "&", "getRegisterInfo", "(", ")", ";", "if", "(", "MI", ".", "modifiesRegister", "(", "BaseReg", ",", "TRI", ")", ")", "return", "false", ";", "}", "if", "(", "isLdStPairSuppressed", "(", "MI", ")", ")", "return", "false", ";", "const", "MCAsmInfo", "*", "MAI", "=", "MI", ".", "getMF", "(", ")", "->", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", ";", "bool", "NeedsWinCFI", "=", "MAI", "->", "usesWindowsCFI", "(", ")", "&&", "MI", ".", "getMF", "(", ")", "->", "getFunction", "(", ")", ".", "needsUnwindTableEntry", "(", ")", ";", "if", "(", "NeedsWinCFI", "&&", "(", "MI", ".", "getFlag", "(", "MachineInstr", "::", "FrameSetup", ")", "||", "MI", ".", "getFlag", "(", "MachineInstr", "::", "FrameDestroy", ")", ")", ")", "return", "false", ";", "if", "(", "Subtarget", ".", "isPaired128Slow", "(", ")", ")", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "AArch64", "::", "LDURQi", ":", "case", "AArch64", "::", "STURQi", ":", "case", "AArch64", "::", "LDRQui", ":", "case", "AArch64", "::", "STRQui", ":", "return", "false", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "is", "a", "load/store", "that", "can", "be", "potentially", "paired/merged", "."], "TS_V_token": ["AArch64", "AArch64", "1", "1", "\"Expected a reg or frame index operand.\"", "2", "1", "1", "AArch64::LDURQi", "AArch64::STURQi", "AArch64::LDRQui", "AArch64::STRQui"], "File": "AArch64InstrInfo111", "Func": "isCandidateToMergeOrPair", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 285, "Length": 252, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"WebAssembly Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["WebAssembly", "\"WebAssembly Assembly Printer\""], "File": "WebAssemblyAsmPrinter (2)", "Func": "getPassName", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 286, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "unsigned", ">", "LanaiInstrInfo", "::", "decomposeMachineOperandsTargetFlags", "(", "unsigned", "TF", ")", "const", "{", "return", "std", "::", "make_pair", "(", "TF", ",", "0u", ")", ";", "}", ""], "natrual_language": ["Decompose", "the", "machine", "operand", "'s", "target", "flags", "into", "two", "values", "-", "the", "direct", "target", "flag", "value", "and", "any", "of", "bit", "flags", "that", "are", "applied", "."], "TS_V_token": ["Lanai", "Lanai", "0u"], "File": "LanaiInstrInfo (2)", "Func": "decomposeMachineOperandsTargetFlags", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 287, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_option_check_internal", "(", "struct", "gcc_options", "*", "opts", ")", "{", "int", "flags", "=", "opts", "->", "x_target_flags", ";", "if", "(", "TARGET_IWMMXT", "&&", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_neon", ")", ")", "error", "(", "\"iWMMXt and NEON are incompatible\"", ")", ";", "if", "(", "TARGET_ARM_P", "(", "flags", ")", "&&", "!", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_notm", ")", ")", "error", "(", "\"target CPU does not support ARM mode\"", ")", ";", "if", "(", "(", "TARGET_TPCS_FRAME", "||", "TARGET_TPCS_LEAF_FRAME", ")", "&&", "TARGET_ARM_P", "(", "flags", ")", ")", "warning", "(", "0", ",", "\"enabling backtrace support is only meaningful when compiling for the Thumb\"", ")", ";", "if", "(", "TARGET_ARM_P", "(", "flags", ")", "&&", "TARGET_CALLEE_INTERWORKING", ")", "warning", "(", "0", ",", "\"enabling callee interworking support is only meaningful when compiling for the Thumb\"", ")", ";", "if", "(", "TARGET_ARM_P", "(", "flags", ")", "&&", "write_symbols", "!=", "NO_DEBUG", "&&", "!", "TARGET_APCS_FRAME", "&&", "(", "TARGET_DEFAULT", "&", "MASK_APCS_FRAME", ")", ")", "warning", "(", "0", ",", "\"%<-g%> with %<-mno-apcs-frame%> may not give sensible \"", "\"debugging\"", ")", ";", "if", "(", "TARGET_THUMB_P", "(", "flags", ")", "&&", "TARGET_IWMMXT", ")", "error", "(", "\"iWMMXt unsupported under Thumb mode\"", ")", ";", "if", "(", "TARGET_HARD_TP", "&&", "TARGET_THUMB1_P", "(", "flags", ")", ")", "error", "(", "\"cannot use %<-mtp=cp15%> with 16-bit Thumb\"", ")", ";", "if", "(", "TARGET_THUMB_P", "(", "flags", ")", "&&", "TARGET_VXWORKS_RTP", "&&", "flag_pic", ")", "{", "error", "(", "\"RTP PIC is incompatible with Thumb\"", ")", ";", "flag_pic", "=", "0", ";", "}", "if", "(", "target_pure_code", "||", "target_slow_flash_data", ")", "{", "const", "char", "*", "flag", "=", "(", "target_pure_code", "?", "\"-mpure-code\"", ":", "\"-mslow-flash-data\"", ")", ";", "if", "(", "!", "TARGET_HAVE_MOVT", "||", "arm_arch_notm", "||", "flag_pic", "||", "TARGET_NEON", ")", "error", "(", "\"%s only supports non-pic code on M-profile targets with the \"", "\"MOVT instruction\"", ",", "flag", ")", ";", "if", "(", "target_word_relocations", ")", "error", "(", "\"%s incompatible with %<-mword-relocations%>\"", ",", "flag", ")", ";", "}", "}", ""], "natrual_language": ["Check", "any", "incompatible", "options", "that", "the", "user", "has", "specified", "."], "TS_V_token": ["arm", "\"iWMMXt and NEON are incompatible\"", "\"target CPU does not support ARM mode\"", "0", "\"enabling backtrace support is only meaningful when compiling for the Thumb\"", "0", "\"enabling callee interworking support is only meaningful when compiling for the Thumb\"", "0", "\"%<-g%> with %<-mno-apcs-frame%> may not give sensible \"", "\"debugging\"", "\"iWMMXt unsupported under Thumb mode\"", "\"cannot use %<-mtp=cp15%> with 16-bit Thumb\"", "\"RTP PIC is incompatible with Thumb\"", "0", "\"-mpure-code\"", "\"-mslow-flash-data\"", "\"%s only supports non-pic code on M-profile targets with the \"", "\"MOVT instruction\"", "\"%s incompatible with %<-mword-relocations%>\""], "File": "arm8", "Func": "arm_option_check_internal", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 288, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCFrameLowering", "::", "canUseAsPrologue", "(", "const", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "*", "TmpMBB", "=", "const_cast", "<", "MachineBasicBlock", "*", ">", "(", "&", "MBB", ")", ";", "return", "findScratchRegister", "(", "TmpMBB", ",", "false", ",", "twoUniqueScratchRegsRequired", "(", "TmpMBB", ")", ")", ";", "}", ""], "natrual_language": ["Check", "whether", "or", "not", "the", "given", "MBB", "can", "be", "used", "as", "a", "prologue", "for", "the", "target", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCFrameLowering (2)", "Func": "canUseAsPrologue", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 289, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Patmos Ensure Alignment\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Patmos", "\"Patmos Ensure Alignment\""], "File": "PatmosEnsureAlignment1", "Func": "getPassName", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 290, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "SIRegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{", "switch", "(", "CC", ")", "{", "case", "CallingConv", "::", "C", ":", "case", "CallingConv", "::", "Fast", ":", "case", "CallingConv", "::", "Cold", ":", "return", "CSR_AMDGPU_HighRegs_RegMask", ";", "default", ":", "return", "nullptr", ";", "}", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU"], "File": "AMDGPURegisterInfo1", "Func": "getCallPreservedMask", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 291, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const_iterator", "begin", "(", ")", "const", "{", "return", "Blocks", ".", "begin", "(", ")", ";", "}", ""], "natrual_language": ["Recipe", "iterator", "methods", "."], "TS_V_token": ["Hexagon"], "File": "HexagonVectorCombine", "Func": "begin", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 292, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getReg", "(", ")", "const", "{", "assert", "(", "(", "Kind", "==", "k_Register", ")", "&&", "\"Invalid access!\"", ")", ";", "return", "Reg", ".", "RegNum", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "associated", "with", "this", "edge", "."], "TS_V_token": ["Mips", "\"Invalid access!\""], "File": "MipsAsmParser102", "Func": "getReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 293, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "UnmangledFuncInfo", "::", "lookup", "(", "StringRef", "Name", ",", "ID", "&", "Id", ")", "{", "static", "const", "StringMap", "<", "unsigned", ">", "Map", "=", "buildNameMap", "(", ")", ";", "auto", "Loc", "=", "Map", ".", "find", "(", "Name", ")", ";", "if", "(", "Loc", "!=", "Map", ".", "end", "(", ")", ")", "{", "Id", "=", "toFuncId", "(", "Loc", "->", "second", ")", ";", "return", "true", ";", "}", "Id", "=", "AMDGPULibFunc", "::", "EI_NONE", ";", "return", "false", ";", "}", ""], "natrual_language": ["This", "method", "finds", "the", "value", "with", "the", "given", "Name", "in", "the", "the", "symbol", "table", "."], "TS_V_token": ["AMDGPU", "AMDGPU"], "File": "AMDGPULibFunc (2)", "Func": "lookup", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 294, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "sbitmap", "rs6000_components_for_bb", "(", "basic_block", "bb", ")", "{", "rs6000_stack_t", "*", "info", "=", "rs6000_stack_info", "(", ")", ";", "bitmap", "in", "=", "DF_LIVE_IN", "(", "bb", ")", ";", "bitmap", "gen", "=", "&", "DF_LIVE_BB_INFO", "(", "bb", ")", "->", "gen", ";", "bitmap", "kill", "=", "&", "DF_LIVE_BB_INFO", "(", "bb", ")", "->", "kill", ";", "sbitmap", "components", "=", "sbitmap_alloc", "(", "cfun", "->", "machine", "->", "n_components", ")", ";", "bitmap_clear", "(", "components", ")", ";", "for", "(", "unsigned", "regno", "=", "info", "->", "first_gp_reg_save", ";", "regno", "<", "32", ";", "regno", "++", ")", "if", "(", "bitmap_bit_p", "(", "in", ",", "regno", ")", "||", "bitmap_bit_p", "(", "gen", ",", "regno", ")", "||", "bitmap_bit_p", "(", "kill", ",", "regno", ")", ")", "bitmap_set_bit", "(", "components", ",", "regno", ")", ";", "for", "(", "unsigned", "regno", "=", "info", "->", "first_fp_reg_save", ";", "regno", "<", "64", ";", "regno", "++", ")", "if", "(", "bitmap_bit_p", "(", "in", ",", "regno", ")", "||", "bitmap_bit_p", "(", "gen", ",", "regno", ")", "||", "bitmap_bit_p", "(", "kill", ",", "regno", ")", ")", "bitmap_set_bit", "(", "components", ",", "regno", ")", ";", "if", "(", "bitmap_bit_p", "(", "in", ",", "LR_REGNO", ")", "||", "bitmap_bit_p", "(", "gen", ",", "LR_REGNO", ")", "||", "bitmap_bit_p", "(", "kill", ",", "LR_REGNO", ")", ")", "bitmap_set_bit", "(", "components", ",", "0", ")", ";", "if", "(", "bitmap_bit_p", "(", "in", ",", "TOC_REGNUM", ")", "||", "bitmap_bit_p", "(", "gen", ",", "TOC_REGNUM", ")", "||", "bitmap_bit_p", "(", "kill", ",", "TOC_REGNUM", ")", ")", "bitmap_set_bit", "(", "components", ",", "2", ")", ";", "return", "components", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SHRINK_WRAP_COMPONENTS_FOR_BB", "."], "TS_V_token": ["rs6000", "32", "64", "0", "2"], "File": "rs6000-logue", "Func": "rs6000_components_for_bb", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 295, "Length": 218, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "const", "X86Subtarget", "&", "STI", "=", "MF", ".", "getTarget", "(", ")", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "if", "(", "X86", "::", "GR64RegClass", ".", "contains", "(", "Reg", ")", "||", "X86", "::", "GR32RegClass", ".", "contains", "(", "Reg", ")", ")", "continue", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "TII", ".", "loadRegFromStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "CSI", "[", "i", "]", ".", "getFrameIdx", "(", ")", ",", "RC", ",", "TRI", ")", ";", "}", "unsigned", "Opc", "=", "STI", ".", "is64Bit", "(", ")", "?", "X86", "::", "POP64r", ":", "X86", "::", "POP32r", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "if", "(", "!", "X86", "::", "GR64RegClass", ".", "contains", "(", "Reg", ")", "&&", "!", "X86", "::", "GR32RegClass", ".", "contains", "(", "Reg", ")", ")", "continue", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "Reg", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["restoreCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "restore", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "load", "instructions", "via", "loadRegToStackSlot", "(", ")", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "0", "X86::GR64RegClass", "X86::GR32RegClass", "X86::POP64r", "X86::POP32r", "0", "X86::GR64RegClass", "X86::GR32RegClass"], "File": "X86FrameLowering106", "Func": "restoreCalleeSavedRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 296, "Length": 290, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SPIRVInstrInfo", "::", "insertBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "TBB", ",", "MachineBasicBlock", "*", "FBB", ",", "ArrayRef", "<", "MachineOperand", ">", "Cond", ",", "const", "DebugLoc", "&", "DL", ",", "int", "*", "BytesAdded", ")", "const", "{", "report_fatal_error", "(", "\"Branch insertion not supported, as MBB info not \"", "\"propagated to OpPhi instructions. Try using \"", "\"-O0 instead.\"", ")", ";", "MachineIRBuilder", "MIRBuilder", ";", "MIRBuilder", ".", "setMF", "(", "*", "MBB", ".", "getParent", "(", ")", ")", ";", "MIRBuilder", ".", "setMBB", "(", "MBB", ")", ";", "int", "LocalBytesAdded", "=", "0", ";", "int", "InstsAdded", "=", "0", ";", "if", "(", "Cond", ".", "size", "(", ")", ">", "0", ")", "{", "assert", "(", "TBB", "!=", "nullptr", "&&", "\"Require non-null block for conditional branch\"", ")", ";", "assert", "(", "Cond", ".", "size", "(", ")", "==", "1", "&&", "\"Require 1 condition for insertBranch\"", ")", ";", "auto", "falseBlock", "=", "FBB", ";", "auto", "MIB", "=", "MIRBuilder", ".", "buildInstr", "(", "SPIRV", "::", "OpBranchConditional", ")", ".", "addUse", "(", "Cond", "[", "0", "]", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "if", "(", "falseBlock", ")", "{", "MIB", ".", "addMBB", "(", "falseBlock", ")", ";", "}", "LocalBytesAdded", "=", "16", ";", "InstsAdded", "=", "1", ";", "}", "else", "{", "assert", "(", "!", "FBB", "&&", "\"False block set with no conditions\"", ")", ";", "if", "(", "TBB", ")", "{", "if", "(", "MBB", ".", "empty", "(", ")", ")", "{", "MIRBuilder", ".", "buildInstr", "(", "SPIRV", "::", "OpBranch", ")", ".", "addMBB", "(", "TBB", ")", ";", "LocalBytesAdded", "=", "8", ";", "}", "else", "{", "auto", "MI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "if", "(", "MI", ".", "isValid", "(", ")", "&&", "!", "MI", "->", "isKnownSentinel", "(", ")", "&&", "MI", "->", "getOpcode", "(", ")", "==", "SPIRV", "::", "OpBranchConditional", ")", "{", "if", "(", "MI", "->", "getNumOperands", "(", ")", "==", "3", ")", "{", "MI", "->", "getOperand", "(", "2", ")", ".", "setMBB", "(", "TBB", ")", ";", "}", "else", "{", "MI", "->", "addOperand", "(", "MachineOperand", "::", "CreateMBB", "(", "TBB", ")", ")", ";", "}", "}", "else", "{", "MIRBuilder", ".", "buildInstr", "(", "SPIRV", "::", "OpBranch", ")", ".", "addMBB", "(", "TBB", ")", ";", "LocalBytesAdded", "=", "8", ";", "}", "}", "InstsAdded", "=", "1", ";", "}", "}", "if", "(", "LocalBytesAdded", ")", "*", "BytesAdded", "=", "LocalBytesAdded", ";", "return", "InstsAdded", ";", "}", ""], "natrual_language": ["Insert", "branch", "code", "into", "the", "end", "of", "the", "specified", "MachineBasicBlock", "."], "TS_V_token": ["SPIRV", "SPIRV", "\"Branch insertion not supported, as MBB info not \"", "\"propagated to OpPhi instructions. Try using \"", "\"-O0 instead.\"", "0", "0", "0", "\"Require non-null block for conditional branch\"", "1", "\"Require 1 condition for insertBranch\"", "SPIRV::OpBranchConditional", "0", "16", "1", "\"False block set with no conditions\"", "SPIRV::OpBranch", "8", "SPIRV::OpBranchConditional", "3", "2", "SPIRV::OpBranch", "8", "1"], "File": "SPIRVInstrInfo1", "Func": "insertBranch", "Target": "SPIRV", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 297, "Length": 323, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "AArch64Disassembler", "::", "getInstruction", "(", "MCInst", "&", "MI", ",", "uint64_t", "&", "Size", ",", "const", "MemoryObject", "&", "Region", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "os", ",", "raw_ostream", "&", "cs", ")", "const", "{", "CommentStream", "=", "&", "cs", ";", "uint8_t", "bytes", "[", "4", "]", ";", "if", "(", "Region", ".", "readBytes", "(", "Address", ",", "4", ",", "(", "uint8_t", "*", ")", "bytes", ",", "NULL", ")", "==", "-", "1", ")", "{", "Size", "=", "0", ";", "return", "MCDisassembler", "::", "Fail", ";", "}", "uint32_t", "insn", "=", "(", "bytes", "[", "3", "]", "<<", "24", ")", "|", "(", "bytes", "[", "2", "]", "<<", "16", ")", "|", "(", "bytes", "[", "1", "]", "<<", "8", ")", "|", "(", "bytes", "[", "0", "]", "<<", "0", ")", ";", "DecodeStatus", "result", "=", "decodeInstruction", "(", "DecoderTableA6432", ",", "MI", ",", "insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "result", "!=", "MCDisassembler", "::", "Fail", ")", "{", "Size", "=", "4", ";", "return", "result", ";", "}", "MI", ".", "clear", "(", ")", ";", "Size", "=", "0", ";", "return", "MCDisassembler", "::", "Fail", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["AArch64", "AArch64", "4", "4", "1", "0", "3", "24", "2", "16", "1", "8", "0", "0", "4", "0"], "File": "AArch64Disassembler31", "Func": "getInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 298, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "attr_type", "mt_get_attr_type", "(", "rtx", "complete_insn", ")", "{", "rtx", "insn", "=", "PATTERN", "(", "complete_insn", ")", ";", "if", "(", "JUMP_P", "(", "complete_insn", ")", ")", "return", "TYPE_BRANCH", ";", "if", "(", "CALL_P", "(", "complete_insn", ")", ")", "return", "TYPE_BRANCH", ";", "if", "(", "GET_CODE", "(", "insn", ")", "!=", "SET", ")", "return", "TYPE_ARITH", ";", "if", "(", "SET_DEST", "(", "insn", ")", "==", "pc_rtx", ")", "return", "TYPE_BRANCH", ";", "if", "(", "GET_CODE", "(", "SET_DEST", "(", "insn", ")", ")", "==", "MEM", ")", "return", "TYPE_STORE", ";", "if", "(", "GET_CODE", "(", "SET_SRC", "(", "insn", ")", ")", "==", "MEM", ")", "return", "TYPE_LOAD", ";", "return", "TYPE_ARITH", ";", "}", ""], "natrual_language": ["Given", "an", "insn", ",", "return", "whether", "it", "'s", "a", "memory", "operation", "or", "a", "branch", "operation", ",", "otherwise", "return", "TYPE_ARITH", "."], "TS_V_token": ["mt"], "File": "mt", "Func": "mt_get_attr_type", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 299, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isZero", "(", "Register", "Reg", ",", "MachineRegisterInfo", "&", "MRI", ")", "{", "int64_t", "C", ";", "if", "(", "mi_match", "(", "Reg", ",", "MRI", ",", "m_ICst", "(", "C", ")", ")", "&&", "C", "==", "0", ")", "return", "true", ";", "return", "mi_match", "(", "Reg", ",", "MRI", ",", "m_Copy", "(", "m_ICst", "(", "C", ")", ")", ")", "&&", "C", "==", "0", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "expression", "is", "a", "constant", "zero", "."], "TS_V_token": ["AMDGPU", "0", "0"], "File": "AMDGPUInstructionSelector25", "Func": "isZero", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 300, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emit_store_conditional", "(", "machine_mode", "mode", ",", "rtx", "res", ",", "rtx", "mem", ",", "rtx", "val", ")", "{", "rtx", "(", "*", "fn", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", "=", "NULL", ";", "switch", "(", "mode", ")", "{", "case", "QImode", ":", "fn", "=", "gen_store_conditionalqi", ";", "break", ";", "case", "HImode", ":", "fn", "=", "gen_store_conditionalhi", ";", "break", ";", "case", "SImode", ":", "fn", "=", "gen_store_conditionalsi", ";", "break", ";", "case", "DImode", ":", "fn", "=", "gen_store_conditionaldi", ";", "break", ";", "case", "TImode", ":", "fn", "=", "gen_store_conditionalti", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "PPC405_ERRATUM77", ")", "emit_insn", "(", "gen_hwsync", "(", ")", ")", ";", "emit_insn", "(", "fn", "(", "res", ",", "mem", ",", "val", ")", ")", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "the", "atomic", "operation", "splitters", ".", "Emit", "a", "store-conditional", "instruction", "in", "MODE", "."], "TS_V_token": ["rs6000"], "File": "rs60004", "Func": "emit_store_conditional", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 301, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "pa_output_addr_vec", "(", "rtx", "lab", ",", "rtx", "body", ")", "{", "int", "idx", ",", "vlen", "=", "XVECLEN", "(", "body", ",", "0", ")", ";", "if", "(", "!", "TARGET_SOM", ")", "fputs", "(", "\"\\t.align 4\\n\"", ",", "asm_out_file", ")", ";", "targetm", ".", "asm_out", ".", "internal_label", "(", "asm_out_file", ",", "\"L\"", ",", "CODE_LABEL_NUMBER", "(", "lab", ")", ")", ";", "if", "(", "TARGET_GAS", ")", "fputs", "(", "\"\\t.begin_brtab\\n\"", ",", "asm_out_file", ")", ";", "for", "(", "idx", "=", "0", ";", "idx", "<", "vlen", ";", "idx", "++", ")", "{", "ASM_OUTPUT_ADDR_VEC_ELT", "(", "asm_out_file", ",", "CODE_LABEL_NUMBER", "(", "XEXP", "(", "XVECEXP", "(", "body", ",", "0", ",", "idx", ")", ",", "0", ")", ")", ")", ";", "}", "if", "(", "TARGET_GAS", ")", "fputs", "(", "\"\\t.end_brtab\\n\"", ",", "asm_out_file", ")", ";", "}", ""], "natrual_language": ["Output", "address", "vector", "."], "TS_V_token": ["pa", "0", "\"\\t.align 4\\n\"", "\"L\"", "\"\\t.begin_brtab\\n\"", "0", "0", "0", "\"\\t.end_brtab\\n\""], "File": "pa", "Func": "pa_output_addr_vec", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 302, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCFastISel", "::", "tryToFoldLoadIntoMI", "(", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "const", "LoadInst", "*", "LI", ")", "{", "MVT", "VT", ";", "if", "(", "!", "isLoadTypeLegal", "(", "LI", "->", "getType", "(", ")", ",", "VT", ")", ")", "return", "false", ";", "bool", "IsZExt", "=", "false", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "PPC", "::", "RLDICL", ":", "case", "PPC", "::", "RLDICL_32_64", ":", "{", "IsZExt", "=", "true", ";", "unsigned", "MB", "=", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "if", "(", "(", "VT", "==", "MVT", "::", "i8", "&&", "MB", "<=", "56", ")", "||", "(", "VT", "==", "MVT", "::", "i16", "&&", "MB", "<=", "48", ")", "||", "(", "VT", "==", "MVT", "::", "i32", "&&", "MB", "<=", "32", ")", ")", "break", ";", "return", "false", ";", "}", "case", "PPC", "::", "RLWINM", ":", "case", "PPC", "::", "RLWINM8", ":", "{", "IsZExt", "=", "true", ";", "unsigned", "MB", "=", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "if", "(", "(", "VT", "==", "MVT", "::", "i8", "&&", "MB", "<=", "24", ")", "||", "(", "VT", "==", "MVT", "::", "i16", "&&", "MB", "<=", "16", ")", ")", "break", ";", "return", "false", ";", "}", "case", "PPC", "::", "EXTSB", ":", "case", "PPC", "::", "EXTSB8", ":", "case", "PPC", "::", "EXTSB8_32_64", ":", "return", "false", ";", "case", "PPC", "::", "EXTSH", ":", "case", "PPC", "::", "EXTSH8", ":", "case", "PPC", "::", "EXTSH8_32_64", ":", "{", "if", "(", "VT", "!=", "MVT", "::", "i16", "&&", "VT", "!=", "MVT", "::", "i8", ")", "return", "false", ";", "break", ";", "}", "case", "PPC", "::", "EXTSW", ":", "case", "PPC", "::", "EXTSW_32", ":", "case", "PPC", "::", "EXTSW_32_64", ":", "{", "if", "(", "VT", "!=", "MVT", "::", "i32", "&&", "VT", "!=", "MVT", "::", "i16", "&&", "VT", "!=", "MVT", "::", "i8", ")", "return", "false", ";", "break", ";", "}", "}", "Address", "Addr", ";", "if", "(", "!", "PPCComputeAddress", "(", "LI", "->", "getOperand", "(", "0", ")", ",", "Addr", ")", ")", "return", "false", ";", "Register", "ResultReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "if", "(", "!", "PPCEmitLoad", "(", "VT", ",", "ResultReg", ",", "Addr", ",", "nullptr", ",", "IsZExt", ",", "PPCSubTarget", "->", "hasSPE", "(", ")", "?", "PPC", "::", "EVLDD", ":", "PPC", "::", "LFD", ")", ")", "return", "false", ";", "MachineBasicBlock", "::", "iterator", "I", "(", "MI", ")", ";", "removeDeadCode", "(", "I", ",", "std", "::", "next", "(", "I", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["The", "specified", "machine", "instr", "operand", "is", "a", "vreg", ",", "and", "that", "vreg", "is", "being", "provided", "by", "the", "specified", "load", "instruction", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::RLDICL", "PPC::RLDICL_32_64", "3", "MVT::i8", "56", "MVT::i16", "48", "MVT::i32", "32", "PPC::RLWINM", "PPC::RLWINM8", "3", "MVT::i8", "24", "MVT::i16", "16", "PPC::EXTSB", "PPC::EXTSB8", "PPC::EXTSB8_32_64", "PPC::EXTSH", "PPC::EXTSH8", "PPC::EXTSH8_32_64", "MVT::i16", "MVT::i8", "PPC::EXTSW", "PPC::EXTSW_32", "PPC::EXTSW_32_64", "MVT::i32", "MVT::i16", "MVT::i8", "PPC", "0", "0", "PPC", "PPC", "PPC::EVLDD", "PPC::LFD"], "File": "PPCFastISel (2)2", "Func": "tryToFoldLoadIntoMI", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 303, "Length": 380, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "R600Packetizer", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "const", "R600Subtarget", "&", "ST", "=", "Fn", ".", "getSubtarget", "<", "R600Subtarget", ">", "(", ")", ";", "const", "R600InstrInfo", "*", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "MachineLoopInfo", "&", "MLI", "=", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "R600PacketizerList", "Packetizer", "(", "Fn", ",", "ST", ",", "MLI", ")", ";", "assert", "(", "Packetizer", ".", "getResourceTracker", "(", ")", "&&", "\"Empty DFA table!\"", ")", ";", "if", "(", "Packetizer", ".", "getResourceTracker", "(", ")", "->", "getInstrItins", "(", ")", "->", "isEmpty", "(", ")", ")", "return", "false", ";", "for", "(", "MachineFunction", "::", "iterator", "MBB", "=", "Fn", ".", "begin", "(", ")", ",", "MBBe", "=", "Fn", ".", "end", "(", ")", ";", "MBB", "!=", "MBBe", ";", "++", "MBB", ")", "{", "MachineBasicBlock", "::", "iterator", "End", "=", "MBB", "->", "end", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MI", "=", "MBB", "->", "begin", "(", ")", ";", "while", "(", "MI", "!=", "End", ")", "{", "if", "(", "MI", "->", "isKill", "(", ")", "||", "MI", "->", "getOpcode", "(", ")", "==", "AMDGPU", "::", "IMPLICIT_DEF", "||", "(", "MI", "->", "getOpcode", "(", ")", "==", "AMDGPU", "::", "CF_ALU", "&&", "!", "MI", "->", "getOperand", "(", "8", ")", ".", "getImm", "(", ")", ")", ")", "{", "MachineBasicBlock", "::", "iterator", "DeleteMI", "=", "MI", ";", "++", "MI", ";", "MBB", "->", "erase", "(", "DeleteMI", ")", ";", "End", "=", "MBB", "->", "end", "(", ")", ";", "continue", ";", "}", "++", "MI", ";", "}", "}", "for", "(", "MachineFunction", "::", "iterator", "MBB", "=", "Fn", ".", "begin", "(", ")", ",", "MBBe", "=", "Fn", ".", "end", "(", ")", ";", "MBB", "!=", "MBBe", ";", "++", "MBB", ")", "{", "unsigned", "RemainingCount", "=", "MBB", "->", "size", "(", ")", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "RegionEnd", "=", "MBB", "->", "end", "(", ")", ";", "RegionEnd", "!=", "MBB", "->", "begin", "(", ")", ";", ")", "{", "MachineBasicBlock", "::", "iterator", "I", "=", "RegionEnd", ";", "for", "(", ";", "I", "!=", "MBB", "->", "begin", "(", ")", ";", "--", "I", ",", "--", "RemainingCount", ")", "{", "if", "(", "TII", "->", "isSchedulingBoundary", "(", "*", "std", "::", "prev", "(", "I", ")", ",", "&", "*", "MBB", ",", "Fn", ")", ")", "break", ";", "}", "I", "=", "MBB", "->", "begin", "(", ")", ";", "if", "(", "I", "==", "RegionEnd", ")", "{", "RegionEnd", "=", "std", "::", "prev", "(", "RegionEnd", ")", ";", "--", "RemainingCount", ";", "continue", ";", "}", "if", "(", "I", "==", "std", "::", "prev", "(", "RegionEnd", ")", ")", "{", "RegionEnd", "=", "std", "::", "prev", "(", "RegionEnd", ")", ";", "continue", ";", "}", "Packetizer", ".", "PacketizeMIs", "(", "&", "*", "MBB", ",", "&", "*", "I", ",", "RegionEnd", ")", ";", "RegionEnd", "=", "I", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "R600", "R600", "R600", "R600", "R600", "\"Empty DFA table!\"", "AMDGPU::IMPLICIT_DEF", "AMDGPU::CF_ALU", "8"], "File": "R600Packetizer11", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 304, "Length": 409, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "emit_nop_after", "(", "int", "cycles", ",", "rtx", "after", ")", "{", "rtx_insn", "*", "insn", ";", "if", "(", "cycles", "==", "10", ")", "cycles", "--", ";", "gcc_assert", "(", "cycles", "<", "10", ")", ";", "insn", "=", "emit_insn_after", "(", "gen_nop_count", "(", "GEN_INT", "(", "cycles", ")", ")", ",", "after", ")", ";", "PUT_MODE", "(", "insn", ",", "TImode", ")", ";", "return", "insn", ";", "}", ""], "natrual_language": ["Emit", "a", "NOP", "instruction", "for", "CYCLES", "cycles", "after", "insn", "AFTER", ".", "Return", "it", "."], "TS_V_token": ["c6x", "10", "10"], "File": "c6x2", "Func": "emit_nop_after", "Target": "c6x", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 305, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "msp430_subreg", "(", "machine_mode", "mode", ",", "rtx", "r", ",", "machine_mode", "omode", ",", "int", "byte", ")", "{", "rtx", "rv", ";", "gcc_assert", "(", "mode", "==", "HImode", ")", ";", "if", "(", "GET_CODE", "(", "r", ")", "==", "SUBREG", "&&", "SUBREG_BYTE", "(", "r", ")", "==", "0", ")", "{", "rtx", "ireg", "=", "SUBREG_REG", "(", "r", ")", ";", "machine_mode", "imode", "=", "GET_MODE", "(", "ireg", ")", ";", "if", "(", "imode", "==", "PSImode", "&&", "mode", "==", "HImode", "&&", "byte", "==", "0", ")", "rv", "=", "gen_rtx_SUBREG", "(", "mode", ",", "ireg", ",", "byte", ")", ";", "else", "rv", "=", "simplify_gen_subreg", "(", "mode", ",", "ireg", ",", "imode", ",", "byte", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "r", ")", "==", "MEM", ")", "{", "if", "(", "GET_CODE", "(", "XEXP", "(", "r", ",", "0", ")", ")", "==", "POST_INC", "&&", "byte", "==", "2", ")", "byte", "=", "0", ";", "rv", "=", "adjust_address", "(", "r", ",", "mode", ",", "byte", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "r", ")", "==", "SYMBOL_REF", "&&", "(", "byte", "==", "0", "||", "byte", "==", "2", ")", "&&", "mode", "==", "HImode", ")", "{", "rv", "=", "gen_rtx_ZERO_EXTRACT", "(", "HImode", ",", "r", ",", "GEN_INT", "(", "16", ")", ",", "GEN_INT", "(", "8", "*", "byte", ")", ")", ";", "rv", "=", "gen_rtx_CONST", "(", "HImode", ",", "r", ")", ";", "}", "else", "rv", "=", "simplify_gen_subreg", "(", "mode", ",", "r", ",", "omode", ",", "byte", ")", ";", "if", "(", "!", "rv", ")", "gcc_unreachable", "(", ")", ";", "return", "rv", ";", "}", ""], "natrual_language": ["Simplify_gen_subreg", "(", ")", "does", "n't", "handle", "memory", "references", "the", "way", "we", "need", "it", "to", "below", ",", "so", "we", "use", "this", "function", "for", "when", "we", "must", "get", "a", "valid", "subreg", "in", "a", "``", "natural", "''", "state", "."], "TS_V_token": ["msp430", "0", "0", "0", "2", "0", "0", "2", "16", "8"], "File": "msp430", "Func": "msp430_subreg", "Target": "msp430", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 306, "Length": 227, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsInstrInfo", "::", "findCommutedOpIndices", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "&", "SrcOpIdx1", ",", "unsigned", "&", "SrcOpIdx2", ")", "const", "{", "assert", "(", "!", "MI", ".", "isBundle", "(", ")", "&&", "\"TargetInstrInfo::findCommutedOpIndices() can't handle bundles\"", ")", ";", "const", "MCInstrDesc", "&", "MCID", "=", "MI", ".", "getDesc", "(", ")", ";", "if", "(", "!", "MCID", ".", "isCommutable", "(", ")", ")", "return", "false", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "Mips", "::", "DPADD_U_H", ":", "case", "Mips", "::", "DPADD_U_W", ":", "case", "Mips", "::", "DPADD_U_D", ":", "case", "Mips", "::", "DPADD_S_H", ":", "case", "Mips", "::", "DPADD_S_W", ":", "case", "Mips", "::", "DPADD_S_D", ":", "if", "(", "!", "fixCommutedOpIndices", "(", "SrcOpIdx1", ",", "SrcOpIdx2", ",", "2", ",", "3", ")", ")", "return", "false", ";", "if", "(", "!", "MI", ".", "getOperand", "(", "SrcOpIdx1", ")", ".", "isReg", "(", ")", "||", "!", "MI", ".", "getOperand", "(", "SrcOpIdx2", ")", ".", "isReg", "(", ")", ")", "return", "false", ";", "return", "true", ";", "}", "return", "TargetInstrInfo", "::", "findCommutedOpIndices", "(", "MI", ",", "SrcOpIdx1", ",", "SrcOpIdx2", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "iff", "the", "routine", "could", "find", "two", "commutable", "operands", "in", "the", "given", "machine", "instruction", "."], "TS_V_token": ["Mips", "Mips", "\"TargetInstrInfo::findCommutedOpIndices() can't handle bundles\"", "Mips::DPADD_U_H", "Mips::DPADD_U_W", "Mips::DPADD_U_D", "Mips::DPADD_S_H", "Mips::DPADD_S_W", "Mips::DPADD_S_D", "2", "3"], "File": "MipsInstrInfo (2)3", "Func": "findCommutedOpIndices", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 307, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCRegisterInfo", "::", "resolveFrameIndex", "(", "MachineInstr", "&", "MI", ",", "unsigned", "BaseReg", ",", "int64_t", "Offset", ")", "const", "{", "unsigned", "FIOperandNum", "=", "0", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "isFI", "(", ")", ")", "{", "++", "FIOperandNum", ";", "assert", "(", "FIOperandNum", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "\"Instr doesn't have FrameIndex operand!\"", ")", ";", "}", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "BaseReg", ",", "false", ")", ";", "unsigned", "OffsetOperandNo", "=", "getOffsetONFromFION", "(", "MI", ",", "FIOperandNum", ")", ";", "Offset", "+=", "MI", ".", "getOperand", "(", "OffsetOperandNo", ")", ".", "getImm", "(", ")", ";", "MI", ".", "getOperand", "(", "OffsetOperandNo", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "const", "MCInstrDesc", "&", "MCID", "=", "MI", ".", "getDesc", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "MRI", ".", "constrainRegClass", "(", "BaseReg", ",", "TII", ".", "getRegClass", "(", "MCID", ",", "FIOperandNum", ",", "this", ",", "MF", ")", ")", ";", "}", ""], "natrual_language": ["Resolve", "a", "frame", "index", "operand", "of", "an", "instruction", "to", "reference", "the", "indicated", "base", "register", "plus", "offset", "instead", "."], "TS_V_token": ["PowerPC", "PPC", "0", "\"Instr doesn't have FrameIndex operand!\""], "File": "PPCRegisterInfo", "Func": "resolveFrameIndex", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 308, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "nds32_delegitimize_address", "(", "rtx", "x", ")", "{", "x", "=", "delegitimize_mem_from_attrs", "(", "x", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST", ")", "{", "rtx", "inner", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "inner", ")", "==", "PLUS", ")", "inner", "=", "XEXP", "(", "inner", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "inner", ")", "==", "UNSPEC", ")", "{", "switch", "(", "XINT", "(", "inner", ",", "1", ")", ")", "{", "case", "UNSPEC_GOTINIT", ":", "case", "UNSPEC_GOT", ":", "case", "UNSPEC_GOTOFF", ":", "case", "UNSPEC_PLT", ":", "case", "UNSPEC_TLSGD", ":", "case", "UNSPEC_TLSLD", ":", "case", "UNSPEC_TLSIE", ":", "case", "UNSPEC_TLSLE", ":", "case", "UNSPEC_ICT", ":", "x", "=", "XVECEXP", "(", "inner", ",", "0", ",", "0", ")", ";", "break", ";", "default", ":", "break", ";", "}", "}", "}", "return", "x", ";", "}", ""], "natrual_language": ["Reorgnize", "the", "UNSPEC", "CONST", "and", "return", "its", "direct", "symbol", "."], "TS_V_token": ["nds32", "0", "0", "1", "0", "0"], "File": "nds32", "Func": "nds32_delegitimize_address", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 309, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "M68kRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "M68kFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "MachineOperand", "&", "Disp", "=", "MI", ".", "getOperand", "(", "FIOperandNum", "-", "1", ")", ";", "MachineOperand", "&", "Base", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ";", "int", "Imm", "=", "(", "int", ")", "(", "Disp", ".", "getImm", "(", ")", ")", ";", "int", "FIndex", "=", "(", "int", ")", "(", "Base", ".", "getIndex", "(", ")", ")", ";", "bool", "AfterFPPop", "=", "false", ";", "unsigned", "BasePtr", ";", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "BasePtr", "=", "(", "FIndex", "<", "0", "?", "FramePtr", ":", "getBaseRegister", "(", ")", ")", ";", "else", "if", "(", "hasStackRealignment", "(", "MF", ")", ")", "BasePtr", "=", "(", "FIndex", "<", "0", "?", "FramePtr", ":", "StackPtr", ")", ";", "else", "if", "(", "AfterFPPop", ")", "BasePtr", "=", "StackPtr", ";", "else", "BasePtr", "=", "(", "TFI", "->", "hasFP", "(", "MF", ")", "?", "FramePtr", ":", "StackPtr", ")", ";", "Base", ".", "ChangeToRegister", "(", "BasePtr", ",", "false", ")", ";", "int64_t", "FIOffset", ";", "Register", "IgnoredFrameReg", ";", "if", "(", "AfterFPPop", ")", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "FIOffset", "=", "MFI", ".", "getObjectOffset", "(", "FIndex", ")", "-", "TFI", "->", "getOffsetOfLocalArea", "(", ")", ";", "}", "else", "{", "FIOffset", "=", "TFI", "->", "getFrameIndexReference", "(", "MF", ",", "FIndex", ",", "IgnoredFrameReg", ")", ".", "getFixed", "(", ")", ";", "}", "if", "(", "BasePtr", "==", "StackPtr", ")", "FIOffset", "+=", "SPAdj", ";", "Disp", ".", "ChangeToImmediate", "(", "FIOffset", "+", "Imm", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["M68k", "M68k", "M68k", "1", "0", "0"], "File": "M68kRegisterInfo", "Func": "eliminateFrameIndex", "Target": "M68k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 310, "Length": 267, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "Subtarget", "->", "allowMixed16_32", "(", ")", ")", "const_cast", "<", "TargetLoweringObjectFile", "&", ">", "(", "getObjFileLowering", "(", ")", ")", ".", "Initialize", "(", "OutContext", ",", "TM", ")", ";", "MipsFI", "=", "MF", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", ";", "MCP", "=", "MF", ".", "getConstantPool", "(", ")", ";", "AsmPrinter", "::", "runOnMachineFunction", "(", "MF", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips"], "File": "MipsAsmPrinter64", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 311, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCFragment", "*", "MINA32MCExpr", "::", "findAssociatedFragment", "(", ")", "const", "{", "return", "Expr", "->", "findAssociatedFragment", "(", ")", ";", "}", ""], "natrual_language": ["Find", "the", "``", "associated", "section", "''", "for", "this", "expression", ",", "which", "is", "currently", "defined", "as", "the", "absolute", "section", "for", "constants", ",", "or", "otherwise", "the", "section", "associated", "with", "the", "first", "defined", "symbol", "in", "the", "expression", "."], "TS_V_token": ["MINA32", "MINA32"], "File": "MINA32MCExpr", "Func": "findAssociatedFragment", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 312, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ScheduleDAGPostRA", "::", "addEdge", "(", "SUnit", "*", "SuccSU", ",", "const", "SDep", "&", "PredDep", ")", "{", "if", "(", "SuccSU", "!=", "&", "ExitSU", ")", "{", "if", "(", "Topo", ".", "IsReachable", "(", "PredDep", ".", "getSUnit", "(", ")", ",", "SuccSU", ")", ")", "return", "false", ";", "Topo", ".", "AddPred", "(", "SuccSU", ",", "PredDep", ".", "getSUnit", "(", ")", ")", ";", "}", "SuccSU", "->", "addPred", "(", "PredDep", ",", "!", "PredDep", ".", "isArtificial", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Add", "a", "DAG", "edge", "to", "the", "given", "SU", "with", "the", "given", "predecessor", "dependence", "data", "."], "TS_V_token": ["Patmos"], "File": "PatmosPostRAScheduler", "Func": "addEdge", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 313, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "WebAssemblyTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "SDValue", "(", ")", ";", "case", "ISD", "::", "VECTOR_SHUFFLE", ":", "return", "performVECTOR_SHUFFLECombine", "(", "N", ",", "DCI", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "will", "be", "invoked", "for", "all", "target", "nodes", "and", "for", "any", "target-independent", "nodes", "that", "the", "target", "has", "registered", "with", "invoke", "it", "for", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "ISD::VECTOR_SHUFFLE"], "File": "WebAssemblyISelLowering17", "Func": "PerformDAGCombine", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 314, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonTargetLowering", "::", "CanLowerReturn", "(", "CallingConv", "::", "ID", "CallConv", ",", "MachineFunction", "&", "MF", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "LLVMContext", "&", "Context", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "MF", ",", "RVLocs", ",", "Context", ")", ";", "return", "CCInfo", ".", "CheckReturn", "(", "Outs", ",", "RetCC_Hexagon", ")", ";", "}", ""], "natrual_language": ["This", "hook", "should", "be", "implemented", "to", "check", "whether", "the", "return", "values", "described", "by", "the", "Outs", "array", "can", "fit", "into", "the", "return", "registers", "."], "TS_V_token": ["Hexagon", "Hexagon", "ISD::OutputArg", "16", "Hexagon"], "File": "HexagonISelLowering (2)1", "Func": "CanLowerReturn", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 315, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "enableSubRegLiveness", "(", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Enable", "tracking", "of", "subregister", "liveness", "in", "register", "allocator", "."], "TS_V_token": ["R600"], "File": "AMDGPUSubtarget30", "Func": "enableSubRegLiveness", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 316, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getExplicitKernelArgOffset", "(", ")", "const", "{", "return", "isAmdHsaOS", "(", ")", "?", "0", ":", "36", ";", "}", ""], "natrual_language": ["Returns", "the", "offset", "in", "bytes", "from", "the", "start", "of", "the", "input", "buffer", "of", "the", "first", "explicit", "kernel", "argument", "."], "TS_V_token": ["AMDGPU", "0", "36"], "File": "AMDGPUSubtarget (2)", "Func": "getExplicitKernelArgOffset", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 317, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "alignment_with_canonical_addr", "(", "rtx", "align", ")", "{", "rtx", "canon", ";", "rtx", "addr", "=", "XEXP", "(", "align", ",", "0", ")", ";", "if", "(", "REG_P", "(", "addr", ")", ")", "canon", "=", "addr", ";", "else", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PLUS", ")", "{", "rtx", "addrop0", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "rtx", "addrop1", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "if", "(", "!", "REG_P", "(", "addrop0", ")", ")", "addrop0", "=", "force_reg", "(", "GET_MODE", "(", "addrop0", ")", ",", "addrop0", ")", ";", "if", "(", "!", "REG_P", "(", "addrop1", ")", ")", "addrop1", "=", "force_reg", "(", "GET_MODE", "(", "addrop1", ")", ",", "addrop1", ")", ";", "canon", "=", "gen_rtx_PLUS", "(", "GET_MODE", "(", "addr", ")", ",", "addrop0", ",", "addrop1", ")", ";", "}", "else", "canon", "=", "force_reg", "(", "GET_MODE", "(", "addr", ")", ",", "addr", ")", ";", "return", "gen_rtx_AND", "(", "GET_MODE", "(", "align", ")", ",", "canon", ",", "GEN_INT", "(", "-", "16", ")", ")", ";", "}", ""], "natrual_language": ["Return", "RTX", "with", "its", "address", "canonicalized", "to", "(", "reg", ")", "or", "(", "+", "reg", "reg", ")", ".", "Here", "RTX", "is", "an", "(", "&", "addr", "(", "const_int", "-16", ")", ")", ".", "Always", "return", "a", "new", "copy", "to", "avoid", "problems", "with", "combine", "."], "TS_V_token": ["rs6000", "0", "0", "1", "16"], "File": "rs6000-p8swap", "Func": "alignment_with_canonical_addr", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 318, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "GCNIterativeScheduler", "::", "schedule", "(", ")", "{", "LLVM_DEBUG", "(", "printLivenessInfo", "(", "dbgs", "(", ")", ",", "RegionBegin", ",", "RegionEnd", ",", "LIS", ")", ";", "if", "(", "!", "Regions", ".", "empty", "(", ")", "&&", "Regions", ".", "back", "(", ")", "->", "Begin", "==", "RegionBegin", ")", "{", "dbgs", "(", ")", "<<", "\"Max RP: \"", ";", "Regions", ".", "back", "(", ")", "->", "MaxPressure", ".", "print", "(", "dbgs", "(", ")", ",", "&", "MF", ".", "getSubtarget", "<", "SISubtarget", ">", "(", ")", ")", ";", "}", "dbgs", "(", ")", "<<", "'\\n'", ";", ")", ";", "}", ""], "natrual_language": ["Schedule", "-", "This", "is", "called", "back", "from", "ScheduleDAGInstrs", ":", ":Run", "(", ")", "when", "it", "'s", "time", "to", "do", "some", "work", "."], "TS_V_token": ["AMDGPU", "\"Max RP: \"", "SI"], "File": "GCNIterativeScheduler11", "Func": "schedule", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 319, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "set_ix86_tune_features", "(", "struct", "gcc_options", "*", "opts", ",", "enum", "processor_type", "ix86_tune", ",", "bool", "dump", ")", "{", "unsigned", "HOST_WIDE_INT", "ix86_tune_mask", "=", "HOST_WIDE_INT_1U", "<<", "ix86_tune", ";", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "X86_TUNE_LAST", ";", "++", "i", ")", "{", "if", "(", "ix86_tune_no_default", ")", "ix86_tune_features", "[", "i", "]", "=", "0", ";", "else", "ix86_tune_features", "[", "i", "]", "=", "!", "!", "(", "initial_ix86_tune_features", "[", "i", "]", "&", "ix86_tune_mask", ")", ";", "}", "if", "(", "dump", ")", "{", "fprintf", "(", "stderr", ",", "\"List of x86 specific tuning parameter names:\\n\"", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "X86_TUNE_LAST", ";", "i", "++", ")", "fprintf", "(", "stderr", ",", "\"%s : %s\\n\"", ",", "ix86_tune_feature_names", "[", "i", "]", ",", "ix86_tune_features", "[", "i", "]", "?", "\"on\"", ":", "\"off\"", ")", ";", "}", "parse_mtune_ctrl_str", "(", "opts", ",", "dump", ")", ";", "}", ""], "natrual_language": ["Helper", "function", "to", "set", "ix86_tune_features", ".", "IX86_TUNE", "is", "the", "processor", "type", "."], "TS_V_token": ["i386", "0", "0", "\"List of x86 specific tuning parameter names:\\n\"", "0", "\"%s : %s\\n\"", "\"on\"", "\"off\""], "File": "i386-options", "Func": "set_ix86_tune_features", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 320, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetMachine", "::", "parseMachineFunctionInfo", "(", "const", "yaml", "::", "MachineFunctionInfo", "&", "MFI", ",", "PerFunctionMIParsingState", "&", "PFS", ",", "SMDiagnostic", "&", "Error", ",", "SMRange", "&", "SourceRange", ")", "const", "{", "const", "auto", "&", "YamlMFI", "=", "reinterpret_cast", "<", "const", "yaml", "::", "AArch64FunctionInfo", "&", ">", "(", "MFI", ")", ";", "MachineFunction", "&", "MF", "=", "PFS", ".", "MF", ";", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", "->", "initializeBaseYamlFields", "(", "YamlMFI", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Parse", "out", "the", "target", "'s", "MachineFunctionInfo", "from", "the", "YAML", "reprsentation", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine1", "Func": "parseMachineFunctionInfo", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 321, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "R600InstrInfo", "::", "isPredicable", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "AMDGPU", "::", "KILLGT", ")", "{", "return", "false", ";", "}", "else", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "AMDGPU", "::", "CF_ALU", ")", "{", "if", "(", "MI", ".", "getParent", "(", ")", "->", "begin", "(", ")", "!=", "MachineBasicBlock", "::", "const_iterator", "(", "MI", ")", ")", "return", "false", ";", "return", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", "==", "0", "&&", "MI", ".", "getOperand", "(", "4", ")", ".", "getImm", "(", ")", "==", "0", ";", "}", "else", "if", "(", "isVector", "(", "MI", ")", ")", "{", "return", "false", ";", "}", "else", "{", "return", "AMDGPUInstrInfo", "::", "isPredicable", "(", "MI", ")", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "instruction", "can", "be", "predicated", "."], "TS_V_token": ["AMDGPU", "R600", "AMDGPU::KILLGT", "AMDGPU::CF_ALU", "3", "0", "4", "0", "AMDGPU"], "File": "R600InstrInfo21", "Func": "isPredicable", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 322, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "rs6000_mangle_type", "(", "const_tree", "type", ")", "{", "type", "=", "TYPE_MAIN_VARIANT", "(", "type", ")", ";", "if", "(", "TREE_CODE", "(", "type", ")", "!=", "VOID_TYPE", "&&", "TREE_CODE", "(", "type", ")", "!=", "BOOLEAN_TYPE", "&&", "TREE_CODE", "(", "type", ")", "!=", "INTEGER_TYPE", "&&", "TREE_CODE", "(", "type", ")", "!=", "REAL_TYPE", ")", "return", "NULL", ";", "if", "(", "type", "==", "bool_char_type_node", ")", "return", "\"U6__boolc\"", ";", "if", "(", "type", "==", "bool_short_type_node", ")", "return", "\"U6__bools\"", ";", "if", "(", "type", "==", "pixel_type_node", ")", "return", "\"u7__pixel\"", ";", "if", "(", "type", "==", "bool_int_type_node", ")", "return", "\"U6__booli\"", ";", "if", "(", "type", "==", "bool_long_type_node", ")", "return", "\"U6__booll\"", ";", "if", "(", "TARGET_FLOAT128_TYPE", ")", "{", "if", "(", "type", "==", "ieee128_float_type_node", ")", "return", "\"U10__float128\"", ";", "if", "(", "type", "==", "ibm128_float_type_node", ")", "return", "\"g\"", ";", "if", "(", "type", "==", "long_double_type_node", "&&", "TARGET_LONG_DOUBLE_128", ")", "return", "(", "TARGET_IEEEQUAD", ")", "?", "\"U10__float128\"", ":", "\"g\"", ";", "}", "if", "(", "TYPE_MAIN_VARIANT", "(", "type", ")", "==", "long_double_type_node", "&&", "TARGET_ELF", "&&", "TARGET_LONG_DOUBLE_128", "&&", "!", "TARGET_IEEEQUAD", ")", "return", "\"g\"", ";", "return", "NULL", ";", "}", ""], "natrual_language": ["AltiVec", "defines", "five", "built-in", "scalar", "types", "that", "serve", "as", "vector", "elements", ";", "we", "must", "teach", "the", "compiler", "how", "to", "mangle", "them", ".", "The", "128-bit", "floating", "point", "mangling", "is", "target-specific", "as", "well", ".", "MMA", "defines", "two", "built-in", "types", "to", "be", "used", "as", "opaque", "vector", "types", "."], "TS_V_token": ["powerpcspe", "\"U6__boolc\"", "\"U6__bools\"", "\"u7__pixel\"", "\"U6__booli\"", "\"U6__booll\"", "\"U10__float128\"", "\"g\"", "\"U10__float128\"", "\"g\"", "\"g\""], "File": "powerpcspe", "Func": "rs6000_mangle_type", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 323, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "int", "multcosts", "(", "rtx", "x", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "sh_multcost", ">=", "0", ")", "return", "sh_multcost", ";", "if", "(", "TARGET_SHMEDIA", ")", "return", "optimize_size", "?", "2", ":", "3", ";", "if", "(", "TARGET_SH2", ")", "{", "if", "(", "optimize_size", ")", "return", "2", ";", "return", "3", ";", "}", "if", "(", "optimize_size", ")", "return", "5", ";", "return", "20", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "a", "multiply", "."], "TS_V_token": ["sh", "0", "2", "3", "2", "3", "5", "20"], "File": "sh4", "Func": "multcosts", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 324, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "rl78_force_nonfar_2", "(", "rtx", "*", "operands", ",", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ")", ")", "{", "int", "did", "=", "0", ";", "rtx", "temp_reg", "=", "NULL", ";", "if", "(", "rl78_far_p", "(", "operands", "[", "0", "]", ")", ")", "{", "temp_reg", "=", "operands", "[", "0", "]", ";", "operands", "[", "0", "]", "=", "gen_reg_rtx", "(", "GET_MODE", "(", "operands", "[", "0", "]", ")", ")", ";", "did", "=", "1", ";", "}", "if", "(", "!", "did", ")", "return", "0", ";", "emit_insn", "(", "gen", "(", "operands", "[", "0", "]", ",", "operands", "[", "1", "]", ")", ")", ";", "if", "(", "temp_reg", ")", "emit_move_insn", "(", "temp_reg", ",", "operands", "[", "0", "]", ")", ";", "return", "1", ";", "}", ""], "natrual_language": ["Used", "by", "various", "two-operand", "expanders", "which", "can", "not", "accept", "all", "operands", "in", "the", "``", "far", "''", "namespace", ".", "Force", "some", "such", "operands", "into", "registers", "so", "that", "each", "pattern", "has", "at", "most", "one", "far", "operand", "."], "TS_V_token": ["rl78", "0", "0", "0", "0", "0", "1", "0", "0", "1", "0", "1"], "File": "rl78", "Func": "rl78_force_nonfar_2", "Target": "rl78", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 325, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonFrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "bool", "HasAlloca", "=", "MFI", "->", "hasVarSizedObjects", "(", ")", ";", "bool", "HasAligna", "=", "(", "MFI", "->", "getMaxAlignment", "(", ")", ">", "getStackAlignment", "(", ")", ")", ";", "if", "(", "!", "HasAlloca", "||", "!", "HasAligna", ")", "return", ";", "unsigned", "LFS", "=", "MFI", "->", "getLocalFrameSize", "(", ")", ";", "int", "Offset", "=", "-", "LFS", ";", "for", "(", "int", "i", "=", "0", ",", "e", "=", "MFI", "->", "getObjectIndexEnd", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "if", "(", "!", "MFI", "->", "isSpillSlotObjectIndex", "(", "i", ")", "||", "MFI", "->", "isDeadObjectIndex", "(", "i", ")", ")", "continue", ";", "int", "S", "=", "MFI", "->", "getObjectSize", "(", "i", ")", ";", "LFS", "+=", "S", ";", "Offset", "-=", "S", ";", "MFI", "->", "mapLocalFrameObject", "(", "i", ",", "Offset", ")", ";", "}", "MFI", "->", "setLocalFrameSize", "(", "LFS", ")", ";", "unsigned", "A", "=", "MFI", "->", "getLocalFrameMaxAlign", "(", ")", ";", "assert", "(", "A", "<=", "8", "&&", "\"Unexpected local frame alignment\"", ")", ";", "if", "(", "A", "==", "0", ")", "MFI", "->", "setLocalFrameMaxAlign", "(", "8", ")", ";", "MFI", "->", "setUseLocalStackAllocationBlock", "(", "true", ")", ";", "}", ""], "natrual_language": ["processFunctionBeforeFrameFinalized", "-", "This", "method", "is", "called", "immediately", "before", "the", "specified", "function", "'s", "frame", "layout", "(", "MF.getFrameInfo", "(", ")", ")", "is", "finalized", "."], "TS_V_token": ["Hexagon", "Hexagon", "0", "8", "\"Unexpected local frame alignment\"", "0", "8"], "File": "HexagonFrameLowering", "Func": "processFunctionBeforeFrameFinalized", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 326, "Length": 190, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AZPRFrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["AZPR", "AZPR"], "File": "AZPRFrameLowering", "Func": "hasFP", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 327, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "check_use_sfunc_addr", "(", "rtx_insn", "*", "insn", ",", "rtx", "reg", ")", "{", "while", "(", "(", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", ")", "{", "if", "(", "LABEL_P", "(", "insn", ")", "||", "JUMP_P", "(", "insn", ")", ")", "break", ";", "if", "(", "!", "INSN_P", "(", "insn", ")", ")", "continue", ";", "if", "(", "rtx_sequence", "*", "seq", "=", "dyn_cast", "<", "rtx_sequence", "*", ">", "(", "PATTERN", "(", "insn", ")", ")", ")", "insn", "=", "seq", "->", "insn", "(", "0", ")", ";", "if", "(", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "!=", "PARALLEL", "||", "get_attr_type", "(", "insn", ")", "!=", "TYPE_SFUNC", ")", "continue", ";", "return", "rtx_equal_p", "(", "extract_sfunc_addr", "(", "insn", ")", ",", "reg", ")", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Verify", "that", "the", "register", "in", "use_sfunc_addr", "still", "agrees", "with", "the", "address", "used", "in", "the", "sfunc", ".", "This", "prevents", "fill_slots_from_thread", "from", "changing", "use_sfunc_addr", ".", "INSN", "is", "the", "use_sfunc_addr", "instruction", ",", "and", "REG", "is", "the", "register", "it", "guards", "."], "TS_V_token": ["sh", "0"], "File": "sh", "Func": "check_use_sfunc_addr", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 328, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_init_large_pic_reg", "(", "unsigned", "int", "tmp_regno", ")", "{", "rtx_code_label", "*", "label", ";", "rtx", "tmp_reg", ";", "gcc_assert", "(", "Pmode", "==", "DImode", ")", ";", "label", "=", "gen_label_rtx", "(", ")", ";", "emit_label", "(", "label", ")", ";", "LABEL_PRESERVE_P", "(", "label", ")", "=", "1", ";", "tmp_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "tmp_regno", ")", ";", "gcc_assert", "(", "REGNO", "(", "pic_offset_table_rtx", ")", "!=", "tmp_regno", ")", ";", "emit_insn", "(", "gen_set_rip_rex64", "(", "pic_offset_table_rtx", ",", "label", ")", ")", ";", "emit_insn", "(", "gen_set_got_offset_rex64", "(", "tmp_reg", ",", "label", ")", ")", ";", "emit_insn", "(", "gen_add2_insn", "(", "pic_offset_table_rtx", ",", "tmp_reg", ")", ")", ";", "const", "char", "*", "name", "=", "LABEL_NAME", "(", "label", ")", ";", "PUT_CODE", "(", "label", ",", "NOTE", ")", ";", "NOTE_KIND", "(", "label", ")", "=", "NOTE_INSN_DELETED_LABEL", ";", "NOTE_DELETED_LABEL_NAME", "(", "label", ")", "=", "name", ";", "}", ""], "natrual_language": ["Initialize", "large", "model", "PIC", "register", "."], "TS_V_token": ["i386", "1"], "File": "i386", "Func": "ix86_init_large_pic_reg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 329, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "HexagonTTIImpl", "::", "getGatherScatterOpCost", "(", "unsigned", "Opcode", ",", "Type", "*", "DataTy", ",", "Value", "*", "Ptr", ",", "bool", "VariableMask", ",", "unsigned", "Alignment", ")", "{", "return", "BaseT", "::", "getGatherScatterOpCost", "(", "Opcode", ",", "DataTy", ",", "Ptr", ",", "VariableMask", ",", "Alignment", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "Gather", "/", "Scatter", "operation", "."], "TS_V_token": ["Hexagon", "Hexagon"], "File": "HexagonTargetTransformInfo11", "Func": "getGatherScatterOpCost", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 330, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MipsTargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_Mips", ")", ";", "if", "(", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "liveout_empty", "(", ")", ")", "{", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "if", "(", "RVLocs", "[", "i", "]", ".", "isRegLoc", "(", ")", ")", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "addLiveOut", "(", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ")", ";", "}", "SDValue", "Flag", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Can only return in registers!\"", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "OutVals", "[", "i", "]", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "}", "if", "(", "DAG", ".", "getMachineFunction", "(", ")", ".", "getFunction", "(", ")", "->", "hasStructRetAttr", "(", ")", ")", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "MipsFunctionInfo", "*", "MipsFI", "=", "MF", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", ";", "unsigned", "Reg", "=", "MipsFI", "->", "getSRetReturnReg", "(", ")", ";", "if", "(", "!", "Reg", ")", "llvm_unreachable", "(", "\"sret virtual register not created in the entry block\"", ")", ";", "SDValue", "Val", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "Reg", ",", "getPointerTy", "(", ")", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "Mips", "::", "V0", ",", "Val", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "}", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "return", "DAG", ".", "getNode", "(", "MipsISD", "::", "Ret", ",", "dl", ",", "MVT", "::", "Other", ",", "Chain", ",", "Flag", ")", ";", "return", "DAG", ".", "getNode", "(", "MipsISD", "::", "Ret", ",", "dl", ",", "MVT", "::", "Other", ",", "Chain", ")", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "outgoing", "return", "values", ",", "described", "by", "the", "Outs", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["Mips", "Mips", "ISD::OutputArg", "16", "Mips", "0", "0", "\"Can only return in registers!\"", "1", "Mips", "Mips", "Mips", "Mips", "\"sret virtual register not created in the entry block\"", "Mips::V0", "1", "MipsISD::Ret", "MVT::Other", "MipsISD::Ret", "MVT::Other"], "File": "MipsISelLowering45", "Func": "LowerReturn", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 331, "Length": 385, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "MINA32FrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "Register", "&", "FrameReg", ")", "const", "{", "const", "MINA32Subtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "MINA32Subtarget", ">", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "MINA32RegisterInfo", "*", "RegInfo", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "FrameReg", "=", "RegInfo", "->", "getFrameRegister", "(", "MF", ")", ";", "int64_t", "FrameOffset", "=", "MFI", ".", "getObjectOffset", "(", "FI", ")", "+", "MFI", ".", "getOffsetAdjustment", "(", ")", ";", "FrameOffset", "-=", "getOffsetOfLocalArea", "(", ")", ";", "FrameOffset", "+=", "MFI", ".", "getStackSize", "(", ")", ";", "return", "FrameOffset", ";", "}", ""], "natrual_language": ["getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "."], "TS_V_token": ["MINA32", "MINA32", "MINA32", "MINA32", "MINA32"], "File": "MINA32FrameLowering", "Func": "getFrameIndexReference", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 332, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ia64_extra_constraint", "(", "rtx", "value", ",", "char", "c", ")", "{", "switch", "(", "c", ")", "{", "case", "'Q'", ":", "return", "memory_operand", "(", "value", ",", "VOIDmode", ")", "&&", "!", "MEM_VOLATILE_P", "(", "value", ")", ";", "case", "'R'", ":", "return", "(", "GET_CODE", "(", "value", ")", "==", "CONST_INT", "&&", "INTVAL", "(", "value", ")", ">=", "1", "&&", "INTVAL", "(", "value", ")", "<=", "4", ")", ";", "case", "'S'", ":", "return", "(", "GET_CODE", "(", "value", ")", "==", "MEM", "&&", "GET_RTX_CLASS", "(", "GET_CODE", "(", "XEXP", "(", "value", ",", "0", ")", ")", ")", "!=", "RTX_AUTOINC", "&&", "(", "reload_in_progress", "||", "memory_operand", "(", "value", ",", "VOIDmode", ")", ")", ")", ";", "case", "'T'", ":", "return", "small_addr_symbolic_operand", "(", "value", ",", "VOIDmode", ")", ";", "case", "'U'", ":", "return", "value", "==", "CONST0_RTX", "(", "GET_MODE", "(", "value", ")", ")", ";", "case", "'W'", ":", "if", "(", "GET_CODE", "(", "value", ")", "==", "CONST_VECTOR", "&&", "GET_MODE_CLASS", "(", "GET_MODE", "(", "value", ")", ")", "==", "MODE_VECTOR_INT", ")", "{", "value", "=", "simplify_subreg", "(", "DImode", ",", "value", ",", "GET_MODE", "(", "value", ")", ",", "0", ")", ";", "return", "ia64_const_ok_for_letter_p", "(", "INTVAL", "(", "value", ")", ",", "'J'", ")", ";", "}", "return", "false", ";", "case", "'Y'", ":", "return", "(", "GET_CODE", "(", "value", ")", "==", "CONST_VECTOR", "&&", "GET_MODE", "(", "value", ")", "==", "V2SFmode", "&&", "ia64_const_double_ok_for_letter_p", "(", "XVECEXP", "(", "value", ",", "0", ",", "0", ")", ",", "'G'", ")", "&&", "ia64_const_double_ok_for_letter_p", "(", "XVECEXP", "(", "value", ",", "0", ",", "1", ")", ",", "'G'", ")", ")", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Implement", "EXTRA_CONSTRAINT", "."], "TS_V_token": ["ia64", "1", "4", "0", "0", "0", "0", "0", "1"], "File": "ia643", "Func": "ia64_extra_constraint", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 333, "Length": 232, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "BTFDebug", "::", "endModule", "(", ")", "{", "if", "(", "MapDefNotCollected", ")", "{", "processGlobals", "(", "true", ")", ";", "MapDefNotCollected", "=", "false", ";", "}", "processGlobals", "(", "false", ")", ";", "processFuncPrototypes", "(", ")", ";", "for", "(", "auto", "&", "DataSec", ":", "DataSecEntries", ")", "addType", "(", "std", "::", "move", "(", "DataSec", ".", "second", ")", ")", ";", "for", "(", "auto", "&", "Fixup", ":", "FixupDerivedTypes", ")", "{", "StringRef", "TypeName", "=", "Fixup", ".", "first", ";", "bool", "IsUnion", "=", "Fixup", ".", "second", ".", "first", ";", "uint32_t", "StructTypeId", "=", "0", ";", "for", "(", "const", "auto", "&", "StructType", ":", "StructTypes", ")", "{", "if", "(", "StructType", "->", "getName", "(", ")", "==", "TypeName", ")", "{", "StructTypeId", "=", "StructType", "->", "getId", "(", ")", ";", "break", ";", "}", "}", "if", "(", "StructTypeId", "==", "0", ")", "{", "auto", "FwdTypeEntry", "=", "std", "::", "make_unique", "<", "BTFTypeFwd", ">", "(", "TypeName", ",", "IsUnion", ")", ";", "StructTypeId", "=", "addType", "(", "std", "::", "move", "(", "FwdTypeEntry", ")", ")", ";", "}", "for", "(", "auto", "&", "DType", ":", "Fixup", ".", "second", ".", "second", ")", "{", "DType", "->", "setPointeeType", "(", "StructTypeId", ")", ";", "}", "}", "for", "(", "const", "auto", "&", "TypeEntry", ":", "TypeEntries", ")", "TypeEntry", "->", "completeType", "(", "*", "this", ")", ";", "emitBTFSection", "(", ")", ";", "emitBTFExtSection", "(", ")", ";", "}", ""], "natrual_language": ["Emit", "all", "exception", "information", "that", "should", "come", "after", "the", "content", "."], "TS_V_token": ["BPF", "0", "0"], "File": "BTFDebug15", "Func": "endModule", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 334, "Length": 197, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AMDGPUTargetLowering", "::", "LowerFREM", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDLoc", "SL", "(", "Op", ")", ";", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "SDValue", "X", "=", "Op", ".", "getOperand", "(", "0", ")", ";", "SDValue", "Y", "=", "Op", ".", "getOperand", "(", "1", ")", ";", "SDValue", "Div", "=", "DAG", ".", "getNode", "(", "ISD", "::", "FDIV", ",", "SL", ",", "VT", ",", "X", ",", "Y", ")", ";", "SDValue", "Floor", "=", "DAG", ".", "getNode", "(", "ISD", "::", "FTRUNC", ",", "SL", ",", "VT", ",", "Div", ")", ";", "SDValue", "Mul", "=", "DAG", ".", "getNode", "(", "ISD", "::", "FMUL", ",", "SL", ",", "VT", ",", "Floor", ",", "Y", ")", ";", "return", "DAG", ".", "getNode", "(", "ISD", "::", "FSUB", ",", "SL", ",", "VT", ",", "X", ",", "Mul", ")", ";", "}", ""], "natrual_language": ["Split", "a", "vector", "store", "into", "multiple", "scalar", "stores", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "0", "1", "ISD::FDIV", "ISD::FTRUNC", "ISD::FMUL", "ISD::FSUB"], "File": "AMDGPUISelLowering (2)", "Func": "LowerFREM", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 335, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RegisterBank", "&", "AMDGPURegisterBankInfo", "::", "getRegBankFromRegClass", "(", "const", "TargetRegisterClass", "&", "RC", ",", "LLT", "Ty", ")", "const", "{", "if", "(", "&", "RC", "==", "&", "AMDGPU", "::", "SReg_1RegClass", ")", "return", "AMDGPU", "::", "VCCRegBank", ";", "if", "(", "TRI", "->", "isSGPRClass", "(", "&", "RC", ")", ")", "{", "if", "(", "!", "Ty", ".", "isValid", "(", ")", ")", "return", "AMDGPU", "::", "SGPRRegBank", ";", "return", "Ty", "==", "LLT", "::", "scalar", "(", "1", ")", "?", "AMDGPU", "::", "VCCRegBank", ":", "AMDGPU", "::", "SGPRRegBank", ";", "}", "return", "TRI", "->", "isAGPRClass", "(", "&", "RC", ")", "?", "AMDGPU", "::", "AGPRRegBank", ":", "AMDGPU", "::", "VGPRRegBank", ";", "}", ""], "natrual_language": ["Get", "a", "register", "bank", "that", "covers", "RC", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU::SReg_1RegClass", "AMDGPU::VCCRegBank", "AMDGPU::SGPRRegBank", "1", "AMDGPU::VCCRegBank", "AMDGPU::SGPRRegBank", "AMDGPU::AGPRRegBank", "AMDGPU::VGPRRegBank"], "File": "AMDGPURegisterBankInfo10", "Func": "getRegBankFromRegClass", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 336, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "z8k_function_arg", "(", "cumulative_args_t", "cum_v", ",", "enum", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", ")", "{", "int", "nregs", ";", "int", "rn", ";", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "enum", "machine_mode", "rmode", "=", "(", "(", "mode", "==", "BLKmode", ")", "?", "TYPE_MODE", "(", "type", ")", ":", "mode", ")", ";", "if", "(", "mode", "==", "BLKmode", "||", "mode", "==", "VOIDmode", ")", "return", "0", ";", "else", "nregs", "=", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "1", ")", "/", "2", ";", "if", "(", "!", "TARGET_REGPARMS", ")", "{", "return", "0", ";", "}", "if", "(", "!", "named", ")", "{", "return", "0", ";", "}", "rn", "=", "*", "cum", "-", "(", "nregs", "-", "1", ")", ";", "while", "(", "rn", ">=", "2", "&&", "!", "HARD_REGNO_MODE_OK", "(", "rn", ",", "rmode", ")", ")", "{", "rn", "--", ";", "}", "if", "(", "rn", "<", "2", "||", "rn", ">", "7", ")", "return", "0", ";", "return", "gen_rtx_REG", "(", "rmode", ",", "rn", ")", ";", "}", ""], "natrual_language": ["Offset", "from", "the", "stack", "pointer", "register", "to", "the", "first", "location", "at", "which", "outgoing", "arguments", "are", "placed", ".", "If", "not", "specified", ",", "the", "default", "value", "of", "zero", "is", "used", ".", "This", "is", "the", "proper", "value", "for", "most", "machines", "."], "TS_V_token": ["z8k", "0", "1", "2", "0", "0", "1", "2", "2", "7", "0"], "File": "z8k", "Func": "z8k_function_arg", "Target": "z8k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 337, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "AMDGPUInstrInfo", "::", "foldMemoryOperandImpl", "(", "MachineFunction", "&", "MF", ",", "MachineInstr", "*", "MI", ",", "const", "SmallVectorImpl", "<", "unsigned", ">", "&", "Ops", ",", "MachineInstr", "*", "LoadMI", ")", "const", "{", "return", "nullptr", ";", "}", ""], "natrual_language": ["foldMemoryOperand", "-", "Same", "as", "the", "previous", "version", "except", "it", "allows", "folding", "of", "any", "load", "and", "store", "from", "/", "to", "any", "address", ",", "not", "just", "from", "a", "specific", "stack", "slot", "."], "TS_V_token": ["R600"], "File": "AMDGPUInstrInfo16", "Func": "foldMemoryOperandImpl", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 338, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "processBlock", "(", "MachineBasicBlock", "&", "MBB", ")", "{", "bool", "Changed", "=", "false", ";", "MachineRegisterInfo", "&", "MRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "for", "(", "MachineInstr", "&", "MI", ":", "MBB", ")", "{", "if", "(", "!", "MI", ".", "isFullCopy", "(", ")", ")", "continue", ";", "MachineOperand", "&", "DstMO", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "MachineOperand", "&", "SrcMO", "=", "MI", ".", "getOperand", "(", "1", ")", ";", "if", "(", "IsVSReg", "(", "DstMO", ".", "getReg", "(", ")", ",", "MRI", ")", "&&", "!", "IsVSReg", "(", "SrcMO", ".", "getReg", "(", ")", ",", "MRI", ")", ")", "{", "Changed", "=", "true", ";", "const", "TargetRegisterClass", "*", "SrcRC", "=", "IsVRReg", "(", "SrcMO", ".", "getReg", "(", ")", ",", "MRI", ")", "?", "&", "PPC", "::", "VSHRCRegClass", ":", "&", "PPC", "::", "VSLRCRegClass", ";", "assert", "(", "(", "IsF8Reg", "(", "SrcMO", ".", "getReg", "(", ")", ",", "MRI", ")", "||", "IsVRReg", "(", "SrcMO", ".", "getReg", "(", ")", ",", "MRI", ")", "||", "IsVSSReg", "(", "SrcMO", ".", "getReg", "(", ")", ",", "MRI", ")", "||", "IsVSFReg", "(", "SrcMO", ".", "getReg", "(", ")", ",", "MRI", ")", ")", "&&", "\"Unknown source for a VSX copy\"", ")", ";", "unsigned", "NewVReg", "=", "MRI", ".", "createVirtualRegister", "(", "SrcRC", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "SUBREG_TO_REG", ")", ",", "NewVReg", ")", ".", "addImm", "(", "1", ")", ".", "addOperand", "(", "SrcMO", ")", ".", "addImm", "(", "IsVRReg", "(", "SrcMO", ".", "getReg", "(", ")", ",", "MRI", ")", "?", "PPC", "::", "sub_128", ":", "PPC", "::", "sub_64", ")", ";", "SrcMO", ".", "setReg", "(", "NewVReg", ")", ";", "}", "else", "if", "(", "!", "IsVSReg", "(", "DstMO", ".", "getReg", "(", ")", ",", "MRI", ")", "&&", "IsVSReg", "(", "SrcMO", ".", "getReg", "(", ")", ",", "MRI", ")", ")", "{", "Changed", "=", "true", ";", "const", "TargetRegisterClass", "*", "DstRC", "=", "IsVRReg", "(", "DstMO", ".", "getReg", "(", ")", ",", "MRI", ")", "?", "&", "PPC", "::", "VSHRCRegClass", ":", "&", "PPC", "::", "VSLRCRegClass", ";", "assert", "(", "(", "IsF8Reg", "(", "DstMO", ".", "getReg", "(", ")", ",", "MRI", ")", "||", "IsVSFReg", "(", "DstMO", ".", "getReg", "(", ")", ",", "MRI", ")", "||", "IsVSSReg", "(", "DstMO", ".", "getReg", "(", ")", ",", "MRI", ")", "||", "IsVRReg", "(", "DstMO", ".", "getReg", "(", ")", ",", "MRI", ")", ")", "&&", "\"Unknown destination for a VSX copy\"", ")", ";", "unsigned", "NewVReg", "=", "MRI", ".", "createVirtualRegister", "(", "DstRC", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "NewVReg", ")", ".", "addOperand", "(", "SrcMO", ")", ";", "SrcMO", ".", "setReg", "(", "NewVReg", ")", ";", "SrcMO", ".", "setSubReg", "(", "IsVRReg", "(", "DstMO", ".", "getReg", "(", ")", ",", "MRI", ")", "?", "PPC", "::", "sub_128", ":", "PPC", "::", "sub_64", ")", ";", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["processBlock", "-", "If", "there", "are", "any", "predecessors", "whose", "control", "can", "be", "threaded", "through", "to", "a", "successor", ",", "transform", "them", "now", "."], "TS_V_token": ["PowerPC", "0", "1", "PPC::VSHRCRegClass", "PPC::VSLRCRegClass", "\"Unknown source for a VSX copy\"", "1", "PPC::sub_128", "PPC::sub_64", "PPC::VSHRCRegClass", "PPC::VSLRCRegClass", "\"Unknown destination for a VSX copy\"", "PPC::sub_128", "PPC::sub_64"], "File": "PPCVSXCopy5", "Func": "processBlock", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 339, "Length": 434, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "GBZ80RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "static", "const", "uint16_t", "CalleeSavedRegs", "[", "]", "=", "{", "GBZ80", "::", "BC", ",", "GBZ80", "::", "DE", ",", "0", "}", ";", "return", "CalleeSavedRegs", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["GBZ80", "GB", "GBZ80::BC", "GBZ80::DE", "0"], "File": "GBZ80RegisterInfo (2)", "Func": "getCalleeSavedRegs", "Target": "GBZ80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 340, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "loongarch_emit_set", "(", "rtx", "target", ",", "rtx", "src", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "target", ",", "src", ")", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Emit", "an", "instruction", "of", "the", "form", "(", "set", "TARGET", "SRC", ")", "."], "TS_V_token": ["loongarch"], "File": "loongarch1", "Func": "loongarch_emit_set", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 341, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"SI Fix SGPR live ranges\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["R600", "\"SI Fix SGPR live ranges\""], "File": "SIFixSGPRLiveRanges4", "Func": "getPassName", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 342, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "MF", ".", "setAlignment", "(", "8", ")", ";", "SetupMachineFunction", "(", "MF", ")", ";", "MCContext", "&", "Context", "=", "getObjFileLowering", "(", ")", ".", "getContext", "(", ")", ";", "const", "MCSectionELF", "*", "ConfigSection", "=", "Context", ".", "getELFSection", "(", "\".AMDGPU.config\"", ",", "ELF", "::", "SHT_PROGBITS", ",", "0", ")", ";", "OutStreamer", ".", "SwitchSection", "(", "ConfigSection", ")", ";", "const", "AMDGPUSubtarget", "&", "STM", "=", "MF", ".", "getSubtarget", "<", "AMDGPUSubtarget", ">", "(", ")", ";", "SIProgramInfo", "KernelInfo", ";", "if", "(", "STM", ".", "isAmdHsaOS", "(", ")", ")", "{", "getSIProgramInfo", "(", "KernelInfo", ",", "MF", ")", ";", "EmitAmdKernelCodeT", "(", "MF", ",", "KernelInfo", ")", ";", "OutStreamer", ".", "EmitCodeAlignment", "(", "2", "<<", "(", "MF", ".", "getAlignment", "(", ")", "-", "1", ")", ")", ";", "}", "else", "if", "(", "STM", ".", "getGeneration", "(", ")", ">=", "AMDGPUSubtarget", "::", "SOUTHERN_ISLANDS", ")", "{", "getSIProgramInfo", "(", "KernelInfo", ",", "MF", ")", ";", "EmitProgramInfoSI", "(", "MF", ",", "KernelInfo", ")", ";", "}", "else", "{", "EmitProgramInfoR600", "(", "MF", ")", ";", "}", "DisasmLines", ".", "clear", "(", ")", ";", "HexLines", ".", "clear", "(", ")", ";", "DisasmLineMaxLen", "=", "0", ";", "EmitFunctionBody", "(", ")", ";", "if", "(", "isVerbose", "(", ")", ")", "{", "const", "MCSectionELF", "*", "CommentSection", "=", "Context", ".", "getELFSection", "(", "\".AMDGPU.csdata\"", ",", "ELF", "::", "SHT_PROGBITS", ",", "0", ")", ";", "OutStreamer", ".", "SwitchSection", "(", "CommentSection", ")", ";", "if", "(", "STM", ".", "getGeneration", "(", ")", ">=", "AMDGPUSubtarget", "::", "SOUTHERN_ISLANDS", ")", "{", "OutStreamer", ".", "emitRawComment", "(", "\" Kernel info:\"", ",", "false", ")", ";", "OutStreamer", ".", "emitRawComment", "(", "\" codeLenInByte = \"", "+", "Twine", "(", "KernelInfo", ".", "CodeLen", ")", ",", "false", ")", ";", "OutStreamer", ".", "emitRawComment", "(", "\" NumSgprs: \"", "+", "Twine", "(", "KernelInfo", ".", "NumSGPR", ")", ",", "false", ")", ";", "OutStreamer", ".", "emitRawComment", "(", "\" NumVgprs: \"", "+", "Twine", "(", "KernelInfo", ".", "NumVGPR", ")", ",", "false", ")", ";", "OutStreamer", ".", "emitRawComment", "(", "\" FloatMode: \"", "+", "Twine", "(", "KernelInfo", ".", "FloatMode", ")", ",", "false", ")", ";", "OutStreamer", ".", "emitRawComment", "(", "\" IeeeMode: \"", "+", "Twine", "(", "KernelInfo", ".", "IEEEMode", ")", ",", "false", ")", ";", "OutStreamer", ".", "emitRawComment", "(", "\" ScratchSize: \"", "+", "Twine", "(", "KernelInfo", ".", "ScratchSize", ")", ",", "false", ")", ";", "}", "else", "{", "R600MachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "R600MachineFunctionInfo", ">", "(", ")", ";", "OutStreamer", ".", "emitRawComment", "(", "Twine", "(", "\"SQ_PGM_RESOURCES:STACK_SIZE = \"", "+", "Twine", "(", "MFI", "->", "StackSize", ")", ")", ")", ";", "}", "}", "if", "(", "STM", ".", "dumpCode", "(", ")", ")", "{", "OutStreamer", ".", "SwitchSection", "(", "Context", ".", "getELFSection", "(", "\".AMDGPU.disasm\"", ",", "ELF", "::", "SHT_NOTE", ",", "0", ")", ")", ";", "for", "(", "size_t", "i", "=", "0", ";", "i", "<", "DisasmLines", ".", "size", "(", ")", ";", "++", "i", ")", "{", "std", "::", "string", "Comment", "(", "DisasmLineMaxLen", "-", "DisasmLines", "[", "i", "]", ".", "size", "(", ")", ",", "' '", ")", ";", "Comment", "+=", "\" ; \"", "+", "HexLines", "[", "i", "]", "+", "\"\\n\"", ";", "OutStreamer", ".", "EmitBytes", "(", "StringRef", "(", "DisasmLines", "[", "i", "]", ")", ")", ";", "OutStreamer", ".", "EmitBytes", "(", "StringRef", "(", "Comment", ")", ")", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["R600", "8", "\".AMDGPU.config\"", "0", "SI", "SI", "2", "1", "SI", "SI", "0", "\".AMDGPU.csdata\"", "0", "\" Kernel info:\"", "\" codeLenInByte = \"", "\" NumSgprs: \"", "\" NumVgprs: \"", "\" FloatMode: \"", "\" IeeeMode: \"", "\" ScratchSize: \"", "\"SQ_PGM_RESOURCES:STACK_SIZE = \"", "\".AMDGPU.disasm\"", "0", "0", "\" ; \"", "\"\\n\""], "File": "AMDGPUAsmPrinter27", "Func": "runOnMachineFunction", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 343, "Length": 464, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "fsmbi_const_p", "(", "rtx", "x", ")", "{", "if", "(", "CONSTANT_P", "(", "x", ")", ")", "{", "enum", "immediate_class", "c", "=", "classify_immediate", "(", "x", ",", "TImode", ")", ";", "return", "c", "==", "IC_FSMBI", "||", "(", "!", "epilogue_completed", "&&", "c", "==", "IC_FSMBI2", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "x", "is", "a", "CONST_INT", ",", "CONST_DOUBLE", "or", "CONST_VECTOR", "that", "can", "be", "generated", "using", "the", "fsmbi", "instruction", "."], "TS_V_token": ["spu", "0"], "File": "spu", "Func": "fsmbi_const_p", "Target": "spu", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 344, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MipsTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "BRCOND", ":", "return", "LowerBRCOND", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "LowerConstantPool", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "LowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalTLSAddress", ":", "return", "LowerGlobalTLSAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "JumpTable", ":", "return", "LowerJumpTable", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "LowerSELECT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SETCC", ":", "return", "LowerSETCC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FCOPYSIGN", ":", "return", "LowerFCOPYSIGN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FABS", ":", "return", "LowerFABS", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "LowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "RETURNADDR", ":", "return", "LowerRETURNADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "EH_RETURN", ":", "return", "LowerEH_RETURN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "MEMBARRIER", ":", "return", "LowerMEMBARRIER", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ATOMIC_FENCE", ":", "return", "LowerATOMIC_FENCE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SHL_PARTS", ":", "return", "LowerShiftLeftParts", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SRA_PARTS", ":", "return", "LowerShiftRightParts", "(", "Op", ",", "DAG", ",", "true", ")", ";", "case", "ISD", "::", "SRL_PARTS", ":", "return", "LowerShiftRightParts", "(", "Op", ",", "DAG", ",", "false", ")", ";", "case", "ISD", "::", "LOAD", ":", "return", "LowerLOAD", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "LowerSTORE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "LowerINTRINSIC_WO_CHAIN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_W_CHAIN", ":", "return", "LowerINTRINSIC_W_CHAIN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ADD", ":", "return", "LowerADD", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "NACL_TP_TLS_OFFSET", ":", "return", "LowerNaClTpTlsOffset", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "NACL_TP_TDB_OFFSET", ":", "return", "LowerNaClTpTdbOffset", "(", "Op", ",", "DAG", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["Mips", "Mips", "ISD::BRCOND", "ISD::ConstantPool", "ISD::GlobalAddress", "ISD::BlockAddress", "ISD::GlobalTLSAddress", "ISD::JumpTable", "ISD::SELECT", "ISD::SELECT_CC", "ISD::SETCC", "ISD::VASTART", "ISD::FCOPYSIGN", "ISD::FABS", "ISD::FRAMEADDR", "ISD::RETURNADDR", "ISD::EH_RETURN", "ISD::MEMBARRIER", "ISD::ATOMIC_FENCE", "ISD::SHL_PARTS", "ISD::SRA_PARTS", "ISD::SRL_PARTS", "ISD::LOAD", "ISD::STORE", "ISD::INTRINSIC_WO_CHAIN", "ISD::INTRINSIC_W_CHAIN", "ISD::ADD", "ISD::NACL_TP_TLS_OFFSET", "ISD::NACL_TP_TDB_OFFSET"], "File": "MipsISelLowering63", "Func": "LowerOperation", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 345, "Length": 385, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "get_arc_condition_code", "(", "rtx", "comparison", ")", "{", "switch", "(", "GET_CODE", "(", "comparison", ")", ")", "{", "case", "EQ", ":", "return", "2", ";", "case", "NE", ":", "return", "3", ";", "case", "GT", ":", "return", "10", ";", "case", "LE", ":", "return", "11", ";", "case", "GE", ":", "return", "12", ";", "case", "LT", ":", "return", "13", ";", "case", "GTU", ":", "return", "14", ";", "case", "LEU", ":", "return", "15", ";", "case", "LTU", ":", "return", "6", ";", "case", "GEU", ":", "return", "7", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "(", "42", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "index", "of", "the", "ARC", "condition", "code", "string", "in", "`", "arc_condition_codes", "'", ".", "COMPARISON", "should", "be", "an", "rtx", "like", "`", "(", "eq", "(", "...", ")", "(", "...", ")", ")", "'", "."], "TS_V_token": ["arc", "2", "3", "10", "11", "12", "13", "14", "15", "6", "7", "42"], "File": "arc3", "Func": "get_arc_condition_code", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 346, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "bfin_handle_longcall_attribute", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", "args", "ATTRIBUTE_UNUSED", ",", "int", "flags", "ATTRIBUTE_UNUSED", ",", "bool", "*", "no_add_attrs", ")", "{", "if", "(", "TREE_CODE", "(", "*", "node", ")", "!=", "FUNCTION_TYPE", "&&", "TREE_CODE", "(", "*", "node", ")", "!=", "FIELD_DECL", "&&", "TREE_CODE", "(", "*", "node", ")", "!=", "TYPE_DECL", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qE attribute only applies to functions\"", ",", "name", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "if", "(", "(", "strcmp", "(", "IDENTIFIER_POINTER", "(", "name", ")", ",", "\"longcall\"", ")", "==", "0", "&&", "lookup_attribute", "(", "\"shortcall\"", ",", "TYPE_ATTRIBUTES", "(", "*", "node", ")", ")", ")", "||", "(", "strcmp", "(", "IDENTIFIER_POINTER", "(", "name", ")", ",", "\"shortcall\"", ")", "==", "0", "&&", "lookup_attribute", "(", "\"longcall\"", ",", "TYPE_ATTRIBUTES", "(", "*", "node", ")", ")", ")", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"cannot apply both % and % attributes \"", "\"to the same function\"", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Handle", "a", "``", "longcall", "''", "or", "``", "shortcall", "''", "attribute", ";", "arguments", "as", "in", "struct", "attribute_spec.handler", "."], "TS_V_token": ["bfin", "\"%qE attribute only applies to functions\"", "\"longcall\"", "0", "\"shortcall\"", "\"shortcall\"", "0", "\"longcall\"", "\"cannot apply both % and % attributes \"", "\"to the same function\""], "File": "bfin", "Func": "bfin_handle_longcall_attribute", "Target": "bfin", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 347, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcMCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "unsigned", "Bits", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "if", "(", "Ctx", ".", "getAsmInfo", "(", ")", "->", "isLittleEndian", "(", ")", ")", "{", "support", "::", "endian", "::", "Writer", "<", "support", "::", "little", ">", "(", "OS", ")", ".", "write", "<", "uint32_t", ">", "(", "Bits", ")", ";", "}", "else", "{", "support", "::", "endian", "::", "Writer", "<", "support", "::", "big", ">", "(", "OS", ")", ".", "write", "<", "uint32_t", ">", "(", "Bits", ")", ";", "}", "unsigned", "tlsOpNo", "=", "0", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "SP", "::", "TLS_CALL", ":", "tlsOpNo", "=", "1", ";", "break", ";", "case", "SP", "::", "TLS_ADDrr", ":", "case", "SP", "::", "TLS_ADDXrr", ":", "case", "SP", "::", "TLS_LDrr", ":", "case", "SP", "::", "TLS_LDXrr", ":", "tlsOpNo", "=", "3", ";", "break", ";", "}", "if", "(", "tlsOpNo", "!=", "0", ")", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "tlsOpNo", ")", ";", "uint64_t", "op", "=", "getMachineOpValue", "(", "MI", ",", "MO", ",", "Fixups", ",", "STI", ")", ";", "assert", "(", "op", "==", "0", "&&", "\"Unexpected operand value!\"", ")", ";", "(", "void", ")", "op", ";", "}", "++", "MCNumEmitted", ";", "}", ""], "natrual_language": ["Encode", "the", "given", "Inst", "to", "bytes", "and", "append", "to", "CB", "."], "TS_V_token": ["Sparc", "Sparc", "support::endian", "support::little", "support::endian", "support::big", "0", "SP::TLS_CALL", "1", "SP::TLS_ADDrr", "SP::TLS_ADDXrr", "SP::TLS_LDrr", "SP::TLS_LDXrr", "3", "0", "0", "\"Unexpected operand value!\""], "File": "SparcMCCodeEmitter16", "Func": "encodeInstruction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 348, "Length": 209, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "Mnode", "*", "add_minipool_forward_ref", "(", "Mfix", "*", "fix", ")", "{", "Mnode", "*", "max_mp", "=", "NULL", ";", "HOST_WIDE_INT", "max_address", "=", "fix", "->", "address", "+", "fix", "->", "forwards", "-", "minipool_pad", ";", "Mnode", "*", "mp", ";", "if", "(", "minipool_vector_head", "&&", "(", "fix", "->", "address", "+", "get_attr_length", "(", "fix", "->", "insn", ")", ">=", "minipool_vector_head", "->", "max_address", "-", "fix", "->", "fix_size", ")", ")", "return", "NULL", ";", "for", "(", "mp", "=", "minipool_vector_head", ";", "mp", "!=", "NULL", ";", "mp", "=", "mp", "->", "next", ")", "{", "if", "(", "GET_CODE", "(", "fix", "->", "value", ")", "==", "GET_CODE", "(", "mp", "->", "value", ")", "&&", "fix", "->", "mode", "==", "mp", "->", "mode", "&&", "(", "!", "LABEL_P", "(", "fix", "->", "value", ")", "||", "(", "CODE_LABEL_NUMBER", "(", "fix", "->", "value", ")", "==", "CODE_LABEL_NUMBER", "(", "mp", "->", "value", ")", ")", ")", "&&", "rtx_equal_p", "(", "fix", "->", "value", ",", "mp", "->", "value", ")", ")", "{", "mp", "->", "refcount", "++", ";", "return", "move_minipool_fix_forward_ref", "(", "mp", ",", "max_mp", ",", "max_address", ")", ";", "}", "if", "(", "max_mp", "==", "NULL", "&&", "mp", "->", "max_address", ">", "max_address", ")", "max_mp", "=", "mp", ";", "if", "(", "ARM_DOUBLEWORD_ALIGN", "&&", "max_mp", "==", "NULL", "&&", "fix", "->", "fix_size", ">=", "8", "&&", "mp", "->", "fix_size", "<", "8", ")", "{", "max_mp", "=", "mp", ";", "max_address", "=", "mp", "->", "max_address", ";", "}", "}", "mp", "=", "XNEW", "(", "Mnode", ")", ";", "mp", "->", "fix_size", "=", "fix", "->", "fix_size", ";", "mp", "->", "mode", "=", "fix", "->", "mode", ";", "mp", "->", "value", "=", "fix", "->", "value", ";", "mp", "->", "refcount", "=", "1", ";", "mp", "->", "min_address", "=", "-", "65536", ";", "if", "(", "max_mp", "==", "NULL", ")", "{", "mp", "->", "max_address", "=", "max_address", ";", "mp", "->", "next", "=", "NULL", ";", "mp", "->", "prev", "=", "minipool_vector_tail", ";", "if", "(", "mp", "->", "prev", "==", "NULL", ")", "{", "minipool_vector_head", "=", "mp", ";", "minipool_vector_label", "=", "gen_label_rtx", "(", ")", ";", "}", "else", "mp", "->", "prev", "->", "next", "=", "mp", ";", "minipool_vector_tail", "=", "mp", ";", "}", "else", "{", "if", "(", "max_address", ">", "max_mp", "->", "max_address", "-", "mp", "->", "fix_size", ")", "mp", "->", "max_address", "=", "max_mp", "->", "max_address", "-", "mp", "->", "fix_size", ";", "else", "mp", "->", "max_address", "=", "max_address", ";", "mp", "->", "next", "=", "max_mp", ";", "mp", "->", "prev", "=", "max_mp", "->", "prev", ";", "max_mp", "->", "prev", "=", "mp", ";", "if", "(", "mp", "->", "prev", "!=", "NULL", ")", "mp", "->", "prev", "->", "next", "=", "mp", ";", "else", "minipool_vector_head", "=", "mp", ";", "}", "max_mp", "=", "mp", ";", "while", "(", "mp", "->", "prev", "!=", "NULL", "&&", "mp", "->", "prev", "->", "max_address", ">", "mp", "->", "max_address", "-", "mp", "->", "prev", "->", "fix_size", ")", "{", "mp", "->", "prev", "->", "max_address", "=", "mp", "->", "max_address", "-", "mp", "->", "prev", "->", "fix_size", ";", "mp", "=", "mp", "->", "prev", ";", "}", "return", "max_mp", ";", "}", ""], "natrual_language": ["Add", "a", "constant", "to", "the", "minipool", "for", "a", "forward", "reference", ".", "Returns", "the", "node", "added", "or", "NULL", "if", "the", "constant", "will", "not", "fit", "in", "this", "pool", "."], "TS_V_token": ["arm", "8", "8", "1", "65536"], "File": "arm", "Func": "add_minipool_forward_ref", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 349, "Length": 439, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "nonindexed_address_p", "(", "rtx", "x", ",", "int", "strict", ")", "{", "rtx", "xfoo0", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "REG", ")", "{", "extern", "rtx", "*", "reg_equiv_mem", ";", "if", "(", "!", "reload_in_progress", "||", "reg_equiv_mem", "[", "REGNO", "(", "x", ")", "]", "==", "0", "||", "indirectable_address_p", "(", "reg_equiv_mem", "[", "REGNO", "(", "x", ")", "]", ",", "strict", ")", ")", "return", "1", ";", "}", "if", "(", "indirectable_constant_address_p", "(", "x", ")", ")", "return", "1", ";", "if", "(", "indirectable_address_p", "(", "x", ",", "strict", ")", ")", "return", "1", ";", "xfoo0", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "MEM", "&&", "indirectable_address_p", "(", "xfoo0", ",", "strict", ")", ")", "return", "1", ";", "if", "(", "(", "GET_CODE", "(", "x", ")", "==", "PRE_DEC", "||", "GET_CODE", "(", "x", ")", "==", "POST_INC", ")", "&&", "BASE_REGISTER_P", "(", "xfoo0", ",", "strict", ")", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["Return", "1", "if", "x", "is", "a", "valid", "address", "not", "using", "indexing", ".", "(", "This", "much", "is", "the", "easy", "part", ".", ")"], "TS_V_token": ["vax", "0", "1", "1", "1", "0", "1", "1", "0"], "File": "vax3", "Func": "nonindexed_address_p", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 350, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64AdvSIMDScalar", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "mf", ")", "{", "bool", "Changed", "=", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** AArch64AdvSIMDScalar *****\\n\"", ")", ";", "if", "(", "skipFunction", "(", "mf", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "MRI", "=", "&", "mf", ".", "getRegInfo", "(", ")", ";", "TII", "=", "mf", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "I", "=", "mf", ".", "begin", "(", ")", ",", "E", "=", "mf", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "if", "(", "processMachineBasicBlock", "(", "&", "*", "I", ")", ")", "Changed", "=", "true", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "\"***** AArch64AdvSIMDScalar *****\\n\""], "File": "AArch64AdvSIMDScalarPass1", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 351, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVMCInstLower", "::", "lower", "(", "const", "MachineInstr", "*", "MI", ",", "MCInst", "&", "OutMI", ")", "const", "{", "unsigned", "Opcode", "=", "MI", "->", "getOpcode", "(", ")", ";", "if", "(", "!", "AsmPrinter", ".", "OutStreamer", "->", "hasRawTextSupport", "(", ")", ")", "Opcode", "=", "getShortenedInstr", "(", "Opcode", ")", ";", "OutMI", ".", "setOpcode", "(", "Opcode", ")", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "MI", "->", "getNumOperands", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "I", ")", ";", "MCOperand", "MCOp", "=", "lowerOperand", "(", "MO", ")", ";", "if", "(", "MCOp", ".", "isValid", "(", ")", ")", "OutMI", ".", "addOperand", "(", "MCOp", ")", ";", "}", "}", ""], "natrual_language": ["The", "instruction", "is", "lowered", "."], "TS_V_token": ["RISCV", "RISCV", "0"], "File": "RISCVMCInstLower (2)1", "Func": "lower", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 352, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "arc_comp_type_attributes", "(", "const_tree", "type1", ",", "const_tree", "type2", ")", "{", "int", "l1", ",", "l2", ",", "m1", ",", "m2", ",", "s1", ",", "s2", ";", "if", "(", "TREE_CODE", "(", "type1", ")", "!=", "FUNCTION_TYPE", ")", "return", "1", ";", "l1", "=", "lookup_attribute", "(", "\"long_call\"", ",", "TYPE_ATTRIBUTES", "(", "type1", ")", ")", "!=", "NULL", ";", "l2", "=", "lookup_attribute", "(", "\"long_call\"", ",", "TYPE_ATTRIBUTES", "(", "type2", ")", ")", "!=", "NULL", ";", "m1", "=", "lookup_attribute", "(", "\"medium_call\"", ",", "TYPE_ATTRIBUTES", "(", "type1", ")", ")", "!=", "NULL", ";", "m2", "=", "lookup_attribute", "(", "\"medium_call\"", ",", "TYPE_ATTRIBUTES", "(", "type2", ")", ")", "!=", "NULL", ";", "s1", "=", "lookup_attribute", "(", "\"short_call\"", ",", "TYPE_ATTRIBUTES", "(", "type1", ")", ")", "!=", "NULL", ";", "s2", "=", "lookup_attribute", "(", "\"short_call\"", ",", "TYPE_ATTRIBUTES", "(", "type2", ")", ")", "!=", "NULL", ";", "if", "(", "l1", "|", "l2", "|", "m1", "|", "m2", "|", "s1", "|", "s2", ")", "{", "if", "(", "(", "l1", "!=", "l2", ")", "||", "(", "m1", "!=", "m2", ")", "||", "(", "s1", "!=", "s2", ")", ")", "return", "0", ";", "if", "(", "l1", "+", "m1", "+", "s1", ">", "1", ")", "return", "0", ";", "}", "return", "1", ";", "}", ""], "natrual_language": ["Return", "zero", "if", "TYPE1", "and", "TYPE", "are", "incompatible", ",", "one", "if", "they", "are", "compatible", ",", "and", "two", "if", "they", "are", "nearly", "compatible", "(", "which", "causes", "a", "warning", "to", "be", "generated", ")", "."], "TS_V_token": ["arc", "1", "\"long_call\"", "\"long_call\"", "\"medium_call\"", "\"medium_call\"", "\"short_call\"", "\"short_call\"", "0", "1", "0", "1"], "File": "arc", "Func": "arc_comp_type_attributes", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 353, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "AArch64TargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "&", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "MI", ".", "dump", "(", ")", ";", "llvm_unreachable", "(", "\"Unexpected instruction for custom inserter!\"", ")", ";", "case", "AArch64", "::", "F128CSEL", ":", "return", "EmitF128CSEL", "(", "MI", ",", "BB", ")", ";", "case", "TargetOpcode", "::", "STACKMAP", ":", "case", "TargetOpcode", "::", "PATCHPOINT", ":", "case", "TargetOpcode", "::", "STATEPOINT", ":", "return", "emitPatchPoint", "(", "MI", ",", "BB", ")", ";", "case", "AArch64", "::", "CATCHRET", ":", "return", "EmitLoweredCatchRet", "(", "MI", ",", "BB", ")", ";", "case", "AArch64", "::", "AArch64_setjmp_instr", ":", "return", "EmitSetjmp", "(", "MI", ",", "BB", ")", ";", "case", "AArch64", "::", "AArch64_longjmp_instr", ":", "return", "EmitLongjmp", "(", "MI", ",", "BB", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "."], "TS_V_token": ["AArch64", "AArch64", "\"Unexpected instruction for custom inserter!\"", "AArch64::F128CSEL", "AArch64::CATCHRET", "AArch64::AArch64_setjmp_instr", "AArch64::AArch64_longjmp_instr"], "File": "AArch64ISelLowering147", "Func": "EmitInstrWithCustomInserter", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 354, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64PassConfig", "::", "addPreSched2", "(", ")", "{", "addPass", "(", "createAArch64ExpandPseudoPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableLoadStoreOpt", ")", "addPass", "(", "createAArch64LoadStoreOptimizationPass", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "after", "prolog-epilog", "insertion", "and", "before", "the", "second", "instruction", "scheduling", "pass", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine3", "Func": "addPreSched2", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 355, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WaitcntBrackets", "::", "merge", "(", "const", "WaitcntBrackets", "&", "Other", ")", "{", "bool", "StrictDom", "=", "false", ";", "for", "(", "auto", "T", ":", "inst_counter_types", "(", ")", ")", "{", "const", "bool", "OldOutOfOrder", "=", "counterOutOfOrder", "(", "T", ")", ";", "const", "uint32_t", "OldEvents", "=", "PendingEvents", "&", "WaitEventMaskForInst", "[", "T", "]", ";", "const", "uint32_t", "OtherEvents", "=", "Other", ".", "PendingEvents", "&", "WaitEventMaskForInst", "[", "T", "]", ";", "if", "(", "OtherEvents", "&", "~", "OldEvents", ")", "StrictDom", "=", "true", ";", "if", "(", "Other", ".", "MixedPendingEvents", "[", "T", "]", "||", "(", "OldEvents", "&&", "OtherEvents", "&&", "OldEvents", "!=", "OtherEvents", ")", ")", "MixedPendingEvents", "[", "T", "]", "=", "true", ";", "PendingEvents", "|=", "OtherEvents", ";", "const", "uint32_t", "MyPending", "=", "ScoreUBs", "[", "T", "]", "-", "ScoreLBs", "[", "T", "]", ";", "const", "uint32_t", "OtherPending", "=", "Other", ".", "ScoreUBs", "[", "T", "]", "-", "Other", ".", "ScoreLBs", "[", "T", "]", ";", "MergeInfo", "M", ";", "M", ".", "OldLB", "=", "ScoreLBs", "[", "T", "]", ";", "M", ".", "OtherLB", "=", "Other", ".", "ScoreLBs", "[", "T", "]", ";", "M", ".", "MyShift", "=", "OtherPending", ">", "MyPending", "?", "OtherPending", "-", "MyPending", ":", "0", ";", "M", ".", "OtherShift", "=", "ScoreUBs", "[", "T", "]", "-", "Other", ".", "ScoreUBs", "[", "T", "]", "+", "M", ".", "MyShift", ";", "const", "uint32_t", "NewUB", "=", "ScoreUBs", "[", "T", "]", "+", "M", ".", "MyShift", ";", "if", "(", "NewUB", "<", "ScoreUBs", "[", "T", "]", ")", "report_fatal_error", "(", "\"waitcnt score overflow\"", ")", ";", "ScoreUBs", "[", "T", "]", "=", "NewUB", ";", "ScoreLBs", "[", "T", "]", "=", "std", "::", "min", "(", "M", ".", "OldLB", "+", "M", ".", "MyShift", ",", "M", ".", "OtherLB", "+", "M", ".", "OtherShift", ")", ";", "StrictDom", "|=", "mergeScore", "(", "M", ",", "LastFlat", "[", "T", "]", ",", "Other", ".", "LastFlat", "[", "T", "]", ")", ";", "bool", "RegStrictDom", "=", "false", ";", "for", "(", "int", "J", "=", "0", ",", "E", "=", "std", "::", "max", "(", "getMaxVGPR", "(", ")", ",", "Other", ".", "getMaxVGPR", "(", ")", ")", "+", "1", ";", "J", "!=", "E", ";", "J", "++", ")", "{", "RegStrictDom", "|=", "mergeScore", "(", "M", ",", "VgprScores", "[", "T", "]", "[", "J", "]", ",", "Other", ".", "VgprScores", "[", "T", "]", "[", "J", "]", ")", ";", "}", "if", "(", "T", "==", "LGKM_CNT", ")", "{", "for", "(", "int", "J", "=", "0", ",", "E", "=", "std", "::", "max", "(", "getMaxSGPR", "(", ")", ",", "Other", ".", "getMaxSGPR", "(", ")", ")", "+", "1", ";", "J", "!=", "E", ";", "J", "++", ")", "{", "RegStrictDom", "|=", "mergeScore", "(", "M", ",", "SgprScores", "[", "J", "]", ",", "Other", ".", "SgprScores", "[", "J", "]", ")", ";", "}", "}", "if", "(", "RegStrictDom", "&&", "!", "OldOutOfOrder", ")", "StrictDom", "=", "true", ";", "}", "VgprUB", "=", "std", "::", "max", "(", "getMaxVGPR", "(", ")", ",", "Other", ".", "getMaxVGPR", "(", ")", ")", ";", "SgprUB", "=", "std", "::", "max", "(", "getMaxSGPR", "(", ")", ",", "Other", ".", "getMaxSGPR", "(", ")", ")", ";", "return", "StrictDom", ";", "}", ""], "natrual_language": ["Merge", "target", "triples", "."], "TS_V_token": ["AMDGPU", "0", "\"waitcnt score overflow\"", "0", "1", "0", "1"], "File": "SIInsertWaitcnts19", "Func": "merge", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 356, "Length": 445, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "std", "::", "prev", "(", "MBB", ".", "end", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "hasFP", "(", "MF", ")", "||", "MF", ".", "getTarget", "(", ")", ".", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "None", ")", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "std", "::", "prev", "(", "MBB", ".", "end", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI_end", "=", "MBB", ".", "end", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "if", "(", "MBBI", "->", "getOpcode", "(", ")", "==", "Hexagon", "::", "EH_RETURN_JMPR", ")", "{", "assert", "(", "MBBI", "->", "getOperand", "(", "0", ")", ".", "isReg", "(", ")", "&&", "\"Offset should be in register!\"", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Hexagon", "::", "L2_deallocframe", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Hexagon", "::", "A2_add", ")", ",", "Hexagon", "::", "R29", ")", ".", "addReg", "(", "Hexagon", "::", "R29", ")", ".", "addReg", "(", "Hexagon", "::", "R28", ")", ";", "return", ";", "}", "if", "(", "MF", ".", "getSubtarget", "<", "HexagonSubtarget", ">", "(", ")", ".", "hasV4TOps", "(", ")", "&&", "MBBI", "->", "getOpcode", "(", ")", "==", "Hexagon", "::", "JMPret", "&&", "!", "DisableDeallocRet", ")", "{", "MachineBasicBlock", "::", "iterator", "BeforeJMPR", "=", "MBB", ".", "begin", "(", ")", "==", "MBBI", "?", "MBBI", ":", "std", "::", "prev", "(", "MBBI", ")", ";", "if", "(", "BeforeJMPR", "!=", "MBBI", "&&", "BeforeJMPR", "->", "getOpcode", "(", ")", "==", "Hexagon", "::", "RESTORE_DEALLOC_RET_JMP_V4", ")", "{", "MBB", ".", "erase", "(", "MBBI", ")", ";", "return", ";", "}", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MBBI_end", ",", "dl", ",", "TII", ".", "get", "(", "Hexagon", "::", "L4_return", ")", ")", ";", "MIB", "->", "copyImplicitOps", "(", "*", "MBB", ".", "getParent", "(", ")", ",", "&", "*", "MBBI", ")", ";", "MBB", ".", "erase", "(", "MBBI", ")", ";", "}", "else", "{", "MachineBasicBlock", "::", "iterator", "Term", "=", "MBB", ".", "getFirstTerminator", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "Term", "==", "MBB", ".", "begin", "(", ")", "?", "MBB", ".", "end", "(", ")", ":", "std", "::", "prev", "(", "Term", ")", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", "&&", "I", "->", "getOpcode", "(", ")", "==", "Hexagon", "::", "RESTORE_DEALLOC_BEFORE_TAILCALL_V4", ")", "return", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Hexagon", "::", "L2_deallocframe", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon::EH_RETURN_JMPR", "0", "\"Offset should be in register!\"", "Hexagon::L2_deallocframe", "Hexagon::A2_add", "Hexagon::R29", "Hexagon::R29", "Hexagon::R28", "Hexagon", "Hexagon::JMPret", "Hexagon::RESTORE_DEALLOC_RET_JMP_V4", "Hexagon::L4_return", "Hexagon::RESTORE_DEALLOC_BEFORE_TAILCALL_V4", "Hexagon::L2_deallocframe"], "File": "HexagonFrameLowering33", "Func": "emitEpilogue", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 357, "Length": 396, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLoweringObjectFile", "*", "getObjFileLowering", "(", ")", "const", "override", "{", "return", "TLOF", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["Return", "information", "about", "object", "file", "lowering", "."], "TS_V_token": ["SystemZ"], "File": "SystemZTargetMachine1", "Func": "getObjFileLowering", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 358, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "SparcSubtarget", ">", "(", ")", ";", "return", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Sparc", "Sparc"], "File": "SparcISelDAGToDAG (2)", "Func": "runOnMachineFunction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 359, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_global_symbol_p", "(", "const_rtx", "x", ")", "{", "const_tree", "decl", "=", "SYMBOL_REF_DECL", "(", "x", ")", ";", "if", "(", "!", "decl", ")", "return", "!", "SYMBOL_REF_LOCAL_P", "(", "x", ")", "||", "SYMBOL_REF_EXTERNAL_P", "(", "x", ")", ";", "return", "DECL_P", "(", "decl", ")", "&&", "(", "TREE_PUBLIC", "(", "decl", ")", "||", "DECL_WEAK", "(", "decl", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "SYMBOL_REF", "X", "is", "associated", "with", "a", "global", "symbol", "(", "in", "the", "STB_GLOBAL", "sense", ")", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_global_symbol_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 360, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AMDGPUAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "const", "AMDGPUSubtarget", "&", "STI", "=", "MF", "->", "getSubtarget", "<", "AMDGPUSubtarget", ">", "(", ")", ";", "AMDGPUMCInstLower", "MCInstLowering", "(", "OutContext", ",", "STI", ")", ";", "StringRef", "Err", ";", "if", "(", "!", "STI", ".", "getInstrInfo", "(", ")", "->", "verifyInstruction", "(", "MI", ",", "Err", ")", ")", "{", "errs", "(", ")", "<<", "\"Warning: Illegal instruction detected: \"", "<<", "Err", "<<", "\"\\n\"", ";", "MI", "->", "dump", "(", ")", ";", "}", "if", "(", "MI", "->", "isBundle", "(", ")", ")", "{", "const", "MachineBasicBlock", "*", "MBB", "=", "MI", "->", "getParent", "(", ")", ";", "MachineBasicBlock", "::", "const_instr_iterator", "I", "=", "MI", ";", "++", "I", ";", "while", "(", "I", "!=", "MBB", "->", "end", "(", ")", "&&", "I", "->", "isInsideBundle", "(", ")", ")", "{", "EmitInstruction", "(", "I", ")", ";", "++", "I", ";", "}", "}", "else", "{", "MCInst", "TmpInst", ";", "MCInstLowering", ".", "lower", "(", "MI", ",", "TmpInst", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "TmpInst", ")", ";", "if", "(", "STI", ".", "dumpCode", "(", ")", ")", "{", "DisasmLines", ".", "resize", "(", "DisasmLines", ".", "size", "(", ")", "+", "1", ")", ";", "std", "::", "string", "&", "DisasmLine", "=", "DisasmLines", ".", "back", "(", ")", ";", "raw_string_ostream", "DisasmStream", "(", "DisasmLine", ")", ";", "AMDGPUInstPrinter", "InstPrinter", "(", "*", "TM", ".", "getMCAsmInfo", "(", ")", ",", "*", "MF", "->", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ",", "*", "MF", "->", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "InstPrinter", ".", "printInst", "(", "&", "TmpInst", ",", "DisasmStream", ",", "StringRef", "(", ")", ",", "MF", "->", "getSubtarget", "(", ")", ")", ";", "SmallVector", "<", "MCFixup", ",", "4", ">", "Fixups", ";", "SmallVector", "<", "char", ",", "16", ">", "CodeBytes", ";", "raw_svector_ostream", "CodeStream", "(", "CodeBytes", ")", ";", "auto", "&", "ObjStreamer", "=", "static_cast", "<", "MCObjectStreamer", "&", ">", "(", "*", "OutStreamer", ")", ";", "MCCodeEmitter", "&", "InstEmitter", "=", "ObjStreamer", ".", "getAssembler", "(", ")", ".", "getEmitter", "(", ")", ";", "InstEmitter", ".", "encodeInstruction", "(", "TmpInst", ",", "CodeStream", ",", "Fixups", ",", "MF", "->", "getSubtarget", "<", "MCSubtargetInfo", ">", "(", ")", ")", ";", "CodeStream", ".", "flush", "(", ")", ";", "HexLines", ".", "resize", "(", "HexLines", ".", "size", "(", ")", "+", "1", ")", ";", "std", "::", "string", "&", "HexLine", "=", "HexLines", ".", "back", "(", ")", ";", "raw_string_ostream", "HexStream", "(", "HexLine", ")", ";", "for", "(", "size_t", "i", "=", "0", ";", "i", "<", "CodeBytes", ".", "size", "(", ")", ";", "i", "+=", "4", ")", "{", "unsigned", "int", "CodeDWord", "=", "*", "(", "unsigned", "int", "*", ")", "&", "CodeBytes", "[", "i", "]", ";", "HexStream", "<<", "format", "(", "\"%s%08X\"", ",", "(", "i", ">", "0", "?", "\" \"", ":", "\"\"", ")", ",", "CodeDWord", ")", ";", "}", "DisasmStream", ".", "flush", "(", ")", ";", "DisasmLineMaxLen", "=", "std", "::", "max", "(", "DisasmLineMaxLen", ",", "DisasmLine", ".", "size", "(", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "\"Warning: Illegal instruction detected: \"", "\"\\n\"", "1", "AMDGPU", "4", "16", "1", "0", "4", "\"%s%08X\"", "0", "\" \"", "\"\""], "File": "AMDGPUMCInstLower36", "Func": "EmitInstruction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 361, "Length": 429, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "DCPU16AsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "return", "true", ";", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["Dcpu16", "DCPU16", "0"], "File": "Dcpu16AsmPrinter", "Func": "PrintAsmOperand", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 362, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "emit_insxl", "(", "machine_mode", "mode", ",", "rtx", "op1", ",", "rtx", "op2", ")", "{", "rtx", "ret", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "rtx", "(", "*", "fn", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ";", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "fn", "=", "gen_insbl", ";", "break", ";", "case", "E_HImode", ":", "fn", "=", "gen_inswl", ";", "break", ";", "case", "E_SImode", ":", "fn", "=", "gen_insll", ";", "break", ";", "case", "E_DImode", ":", "fn", "=", "gen_insql", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "op1", "=", "force_reg", "(", "mode", ",", "op1", ")", ";", "emit_insn", "(", "fn", "(", "ret", ",", "op1", ",", "op2", ")", ")", ";", "return", "ret", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "the", "atomic", "operation", "splitters", ".", "Emit", "an", "insxl", "instruction", "in", "MODE", "."], "TS_V_token": ["alpha"], "File": "alpha", "Func": "emit_insxl", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 363, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Align", "getStackAlignment", "(", ")", "const", "{", "return", "stackAlignment", ";", "}", ""], "natrual_language": ["Returns", "the", "minimum", "alignment", "known", "to", "hold", "of", "the", "stack", "frame", "on", "entry", "to", "the", "function", "and", "which", "must", "be", "maintained", "by", "every", "function", "for", "this", "subtarget", "."], "TS_V_token": ["ARM"], "File": "ARMSubtarget (2)3", "Func": "getStackAlignment", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 364, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "moxie_setup_incoming_varargs", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "tree", "type", "ATTRIBUTE_UNUSED", ",", "int", "*", "pretend_size", ",", "int", "no_rtl", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "int", "regno", ";", "int", "regs", "=", "8", "-", "*", "cum", ";", "*", "pretend_size", "=", "regs", "<", "0", "?", "0", ":", "GET_MODE_SIZE", "(", "SImode", ")", "*", "regs", ";", "if", "(", "no_rtl", ")", "return", ";", "for", "(", "regno", "=", "*", "cum", ";", "regno", "<", "8", ";", "regno", "++", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ";", "rtx", "slot", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "gen_rtx_REG", "(", "SImode", ",", "ARG_POINTER_REGNUM", ")", ",", "GEN_INT", "(", "UNITS_PER_WORD", "*", "(", "3", "+", "(", "regno", "-", "2", ")", ")", ")", ")", ";", "emit_move_insn", "(", "gen_rtx_MEM", "(", "SImode", ",", "slot", ")", ",", "reg", ")", ";", "}", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_SETUP_INCOMING_VARARGS", "."], "TS_V_token": ["moxie", "8", "0", "0", "8", "3", "2"], "File": "moxie2", "Func": "moxie_setup_incoming_varargs", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 365, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "RISCVTargetLowering", "::", "getSetCCResultType", "(", "const", "DataLayout", "&", "DL", ",", "LLVMContext", "&", "Context", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isVector", "(", ")", ")", "return", "getPointerTy", "(", "DL", ")", ";", "if", "(", "Subtarget", ".", "hasVInstructions", "(", ")", "&&", "(", "VT", ".", "isScalableVector", "(", ")", "||", "Subtarget", ".", "useRVVForFixedLengthVectors", "(", ")", ")", ")", "return", "EVT", "::", "getVectorVT", "(", "Context", ",", "MVT", "::", "i1", ",", "VT", ".", "getVectorElementCount", "(", ")", ")", ";", "return", "VT", ".", "changeVectorElementTypeToInteger", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["RISCV", "RISCV", "MVT::i1"], "File": "RISCVISelLowering18", "Func": "getSetCCResultType", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 366, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "HexagonInstrInfo", "::", "reduceLoopCount", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineInstr", "*", "IndVar", ",", "MachineInstr", "*", "Cmp", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "SmallVectorImpl", "<", "MachineInstr", "*", ">", "&", "PrevInsts", ",", "unsigned", "Iter", ",", "unsigned", "MaxIter", ")", "const", "{", "assert", "(", "(", "!", "IndVar", ")", "&&", "isEndLoopN", "(", "Cmp", "->", "getOpcode", "(", ")", ")", "&&", "\"Expecting a hardware loop\"", ")", ";", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "DebugLoc", "DL", "=", "Cmp", "->", "getDebugLoc", "(", ")", ";", "SmallPtrSet", "<", "MachineBasicBlock", "*", ",", "8", ">", "VisitedBBs", ";", "MachineInstr", "*", "Loop", "=", "findLoopInstr", "(", "&", "MBB", ",", "Cmp", "->", "getOpcode", "(", ")", ",", "VisitedBBs", ")", ";", "if", "(", "!", "Loop", ")", "return", "0", ";", "if", "(", "Loop", "->", "getOpcode", "(", ")", "==", "Hexagon", "::", "J2_loop0i", "||", "Loop", "->", "getOpcode", "(", ")", "==", "Hexagon", "::", "J2_loop1i", ")", "{", "int64_t", "Offset", "=", "Loop", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "if", "(", "Offset", "<=", "1", ")", "Loop", "->", "eraseFromParent", "(", ")", ";", "else", "Loop", "->", "getOperand", "(", "1", ")", ".", "setImm", "(", "Offset", "-", "1", ")", ";", "return", "Offset", "-", "1", ";", "}", "assert", "(", "Loop", "->", "getOpcode", "(", ")", "==", "Hexagon", "::", "J2_loop0r", "&&", "\"Unexpected instruction\"", ")", ";", "unsigned", "LoopCount", "=", "Loop", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "unsigned", "LoopEnd", "=", "createVR", "(", "MF", ",", "MVT", "::", "i1", ")", ";", "MachineInstr", "*", "NewCmp", "=", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "Hexagon", "::", "C2_cmpgtui", ")", ",", "LoopEnd", ")", ".", "addReg", "(", "LoopCount", ")", ".", "addImm", "(", "1", ")", ";", "unsigned", "NewLoopCount", "=", "createVR", "(", "MF", ",", "MVT", "::", "i32", ")", ";", "MachineInstr", "*", "NewAdd", "=", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "Hexagon", "::", "A2_addi", ")", ",", "NewLoopCount", ")", ".", "addReg", "(", "LoopCount", ")", ".", "addImm", "(", "-", "1", ")", ";", "for", "(", "SmallVectorImpl", "<", "MachineInstr", "*", ">", "::", "iterator", "I", "=", "PrevInsts", ".", "begin", "(", ")", ",", "E", "=", "PrevInsts", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "(", "*", "I", ")", "->", "substituteRegister", "(", "LoopCount", ",", "NewLoopCount", ",", "0", ",", "getRegisterInfo", "(", ")", ")", ";", "PrevInsts", ".", "clear", "(", ")", ";", "PrevInsts", ".", "push_back", "(", "NewCmp", ")", ";", "PrevInsts", ".", "push_back", "(", "NewAdd", ")", ";", "if", "(", "Iter", "==", "MaxIter", ")", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "Hexagon", "::", "J2_loop0r", ")", ")", ".", "addMBB", "(", "Loop", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ")", ".", "addReg", "(", "NewLoopCount", ")", ";", "if", "(", "Iter", "==", "0", ")", "Loop", "->", "eraseFromParent", "(", ")", ";", "Cond", ".", "push_back", "(", "MachineOperand", "::", "CreateImm", "(", "Hexagon", "::", "J2_jumpf", ")", ")", ";", "Cond", ".", "push_back", "(", "NewCmp", "->", "getOperand", "(", "0", ")", ")", ";", "return", "NewLoopCount", ";", "}", ""], "natrual_language": ["Generate", "code", "to", "reduce", "the", "loop", "iteration", "by", "one", "and", "check", "if", "the", "loop", "is", "finished", "."], "TS_V_token": ["Hexagon", "Hexagon", "\"Expecting a hardware loop\"", "8", "0", "Hexagon::J2_loop0i", "Hexagon::J2_loop1i", "1", "1", "1", "1", "1", "Hexagon::J2_loop0r", "\"Unexpected instruction\"", "1", "MVT::i1", "Hexagon::C2_cmpgtui", "1", "MVT::i32", "Hexagon::A2_addi", "1", "0", "Hexagon::J2_loop0r", "0", "0", "Hexagon::J2_jumpf", "0"], "File": "HexagonInstrInfo (2)", "Func": "reduceLoopCount", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 367, "Length": 451, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emit_unlikely_jump", "(", "rtx", "cond", ",", "rtx", "label", ")", "{", "rtx", "x", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "cond", ",", "label", ",", "pc_rtx", ")", ";", "rtx_insn", "*", "insn", "=", "emit_jump_insn", "(", "gen_rtx_SET", "(", "pc_rtx", ",", "x", ")", ")", ";", "add_reg_br_prob_note", "(", "insn", ",", "profile_probability", "::", "very_unlikely", "(", ")", ")", ";", "}", ""], "natrual_language": ["Mark", "the", "previous", "jump", "instruction", "as", "unlikely", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "emit_unlikely_jump", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 368, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "{", "return", "Cpu0", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["Cpu0", "Cpu0::NumTargetFixupKinds"], "File": "Cpu0AsmBackend1", "Func": "getNumFixupKinds", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 369, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "OS", ")", "{", "if", "(", "AsmVariant", "!=", "0", ")", "report_fatal_error", "(", "\"There are no defined alternate asm variants\"", ")", ";", "if", "(", "!", "ExtraCode", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ";", "if", "(", "!", "MO", ".", "isReg", "(", ")", ")", "return", "true", ";", "OS", "<<", "\"0(\"", "<<", "RISCVInstPrinter", "::", "getRegisterName", "(", "MO", ".", "getReg", "(", ")", ")", "<<", "\")\"", ";", "return", "false", ";", "}", "return", "AsmPrinter", "::", "PrintAsmMemoryOperand", "(", "MI", ",", "OpNo", ",", "AsmVariant", ",", "ExtraCode", ",", "OS", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "operand", "of", "MI", ",", "an", "INLINEASM", "instruction", ",", "using", "the", "specified", "assembler", "variant", "as", "an", "address", "."], "TS_V_token": ["RISCV", "RISCV", "0", "\"There are no defined alternate asm variants\"", "\"0(\"", "RISCV", "\")\""], "File": "RISCVAsmPrinter14", "Func": "PrintAsmMemoryOperand", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 370, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "loongarch_mode_ok_for_mov_fmt_p", "(", "machine_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_FCCmode", ":", "case", "E_SFmode", ":", "return", "TARGET_HARD_FLOAT", ";", "case", "E_DFmode", ":", "return", "TARGET_HARD_FLOAT", "&&", "TARGET_DOUBLE_FLOAT", ";", "default", ":", "return", "0", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "moves", "in", "mode", "MODE", "can", "use", "the", "FPU", "'s", "fmov.fmt", "instruction", ","], "TS_V_token": ["loongarch", "0"], "File": "loongarch", "Func": "loongarch_mode_ok_for_mov_fmt_p", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 371, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "breakPartialRegDependency", "(", "MachineInstr", "&", "MI", ",", "unsigned", "OpNum", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "Register", "Reg", "=", "MI", ".", "getOperand", "(", "OpNum", ")", ".", "getReg", "(", ")", ";", "if", "(", "MI", ".", "killsRegister", "(", "Reg", ",", "TRI", ")", ")", "return", ";", "if", "(", "X86", "::", "VR128RegClass", ".", "contains", "(", "Reg", ")", ")", "{", "unsigned", "Opc", "=", "Subtarget", ".", "hasAVX", "(", ")", "?", "X86", "::", "VXORPSrr", ":", "X86", "::", "XORPSrr", ";", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "MI", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "get", "(", "Opc", ")", ",", "Reg", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Undef", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Undef", ")", ";", "MI", ".", "addRegisterKilled", "(", "Reg", ",", "TRI", ",", "true", ")", ";", "}", "else", "if", "(", "X86", "::", "VR256RegClass", ".", "contains", "(", "Reg", ")", ")", "{", "Register", "XReg", "=", "TRI", "->", "getSubReg", "(", "Reg", ",", "X86", "::", "sub_xmm", ")", ";", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "MI", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "get", "(", "X86", "::", "VXORPSrr", ")", ",", "XReg", ")", ".", "addReg", "(", "XReg", ",", "RegState", "::", "Undef", ")", ".", "addReg", "(", "XReg", ",", "RegState", "::", "Undef", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "ImplicitDefine", ")", ";", "MI", ".", "addRegisterKilled", "(", "Reg", ",", "TRI", ",", "true", ")", ";", "}", "else", "if", "(", "X86", "::", "GR64RegClass", ".", "contains", "(", "Reg", ")", ")", "{", "Register", "XReg", "=", "TRI", "->", "getSubReg", "(", "Reg", ",", "X86", "::", "sub_32bit", ")", ";", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "MI", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "get", "(", "X86", "::", "XOR32rr", ")", ",", "XReg", ")", ".", "addReg", "(", "XReg", ",", "RegState", "::", "Undef", ")", ".", "addReg", "(", "XReg", ",", "RegState", "::", "Undef", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "ImplicitDefine", ")", ";", "MI", ".", "addRegisterKilled", "(", "Reg", ",", "TRI", ",", "true", ")", ";", "}", "else", "if", "(", "X86", "::", "GR32RegClass", ".", "contains", "(", "Reg", ")", ")", "{", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "MI", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "get", "(", "X86", "::", "XOR32rr", ")", ",", "Reg", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Undef", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Undef", ")", ";", "MI", ".", "addRegisterKilled", "(", "Reg", ",", "TRI", ",", "true", ")", ";", "}", "}", ""], "natrual_language": ["Insert", "a", "dependency-breaking", "instruction", "before", "MI", "to", "eliminate", "an", "unwanted", "dependency", "on", "OpNum", "."], "TS_V_token": ["X86", "X86", "X86::VR128RegClass", "X86::VXORPSrr", "X86::XORPSrr", "X86::VR256RegClass", "X86::sub_xmm", "X86::VXORPSrr", "X86::GR64RegClass", "X86::sub_32bit", "X86::XOR32rr", "X86::GR32RegClass", "X86::XOR32rr"], "File": "X86InstrInfo (2)3", "Func": "breakPartialRegDependency", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 372, "Length": 387, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIFrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "if", "(", "!", "MFI", "->", "hasStackObjects", "(", ")", ")", "return", ";", "bool", "MayNeedScavengingEmergencySlot", "=", "MFI", "->", "hasStackObjects", "(", ")", ";", "assert", "(", "(", "RS", "||", "!", "MayNeedScavengingEmergencySlot", ")", "&&", "\"RegScavenger required if spilling\"", ")", ";", "if", "(", "MayNeedScavengingEmergencySlot", ")", "{", "int", "ScavengeFI", "=", "MFI", "->", "CreateSpillStackObject", "(", "AMDGPU", "::", "SGPR_32RegClass", ".", "getSize", "(", ")", ",", "AMDGPU", "::", "SGPR_32RegClass", ".", "getAlignment", "(", ")", ")", ";", "RS", "->", "addScavengingFrameIndex", "(", "ScavengeFI", ")", ";", "}", "}", ""], "natrual_language": ["processFunctionBeforeFrameFinalized", "-", "This", "method", "is", "called", "immediately", "before", "the", "specified", "function", "'s", "frame", "layout", "(", "MF.getFrameInfo", "(", ")", ")", "is", "finalized", "."], "TS_V_token": ["AMDGPU", "SI", "\"RegScavenger required if spilling\"", "AMDGPU::SGPR_32RegClass", "AMDGPU::SGPR_32RegClass"], "File": "SIFrameLowering (2)", "Func": "processFunctionBeforeFrameFinalized", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 373, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "csky_emit_compare", "(", "enum", "rtx_code", "code", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "bool", "invert", ";", "rtx", "cc_reg", "=", "gen_rtx_REG", "(", "CCmode", ",", "CSKY_CC_REGNUM", ")", ";", "if", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "op0", ")", ")", "==", "MODE_FLOAT", ")", "return", "csky_emit_compare_float", "(", "code", ",", "op0", ",", "op1", ")", ";", "if", "(", "GET_CODE", "(", "op1", ")", "==", "CONST_INT", ")", "{", "HOST_WIDE_INT", "val", "=", "INTVAL", "(", "op1", ")", ";", "switch", "(", "code", ")", "{", "case", "GTU", ":", "if", "(", "val", "==", "0", ")", "code", "=", "NE", ";", "else", "if", "(", "TARGET_MINI_REGISTERS", "?", "CSKY_CONST_OK_FOR_J", "(", "val", "+", "1", ")", ":", "CSKY_CONST_OK_FOR_Uk", "(", "val", "+", "1", ")", ")", "{", "op1", "=", "GEN_INT", "(", "val", "+", "1", ")", ";", "code", "=", "GEU", ";", "}", "break", ";", "case", "GT", ":", "case", "LE", ":", "if", "(", "TARGET_MINI_REGISTERS", "?", "CSKY_CONST_OK_FOR_J", "(", "val", "+", "1", ")", ":", "CSKY_CONST_OK_FOR_Uk", "(", "val", "+", "1", ")", ")", "{", "op1", "=", "GEN_INT", "(", "val", "+", "1", ")", ";", "code", "=", "code", "==", "LE", "?", "LT", ":", "GE", ";", "}", "break", ";", "default", ":", "break", ";", "}", "}", "if", "(", "CONSTANT_P", "(", "op1", ")", "&&", "GET_CODE", "(", "op1", ")", "!=", "CONST_INT", ")", "op1", "=", "force_reg", "(", "GET_MODE", "(", "op1", ")", ",", "op1", ")", ";", "invert", "=", "false", ";", "switch", "(", "code", ")", "{", "case", "EQ", ":", "code", "=", "NE", ";", "invert", "=", "true", ";", "case", "NE", ":", "if", "(", "GET_CODE", "(", "op1", ")", "==", "CONST_INT", "&&", "(", "TARGET_MINI_REGISTERS", "?", "!", "csky_literal_K_operand", "(", "op1", ",", "SImode", ")", ":", "!", "csky_literal_I_operand", "(", "op1", ",", "SImode", ")", ")", ")", "op1", "=", "force_reg", "(", "SImode", ",", "op1", ")", ";", "break", ";", "case", "LE", ":", "code", "=", "GT", ";", "invert", "=", "true", ";", "case", "GT", ":", "if", "(", "GET_CODE", "(", "op1", ")", "==", "CONST_INT", ")", "op1", "=", "force_reg", "(", "SImode", ",", "op1", ")", ";", "break", ";", "case", "GE", ":", "code", "=", "LT", ";", "invert", "=", "true", ";", "case", "LT", ":", "if", "(", "GET_CODE", "(", "op1", ")", "==", "CONST_INT", "&&", "INTVAL", "(", "op1", ")", "!=", "0", "&&", "(", "TARGET_MINI_REGISTERS", "?", "!", "csky_literal_J_operand", "(", "op1", ",", "SImode", ")", ":", "!", "csky_literal_Uk_operand", "(", "op1", ",", "SImode", ")", ")", ")", "op1", "=", "force_reg", "(", "SImode", ",", "op1", ")", ";", "break", ";", "case", "GTU", ":", "gcc_assert", "(", "GET_CODE", "(", "op1", ")", "!=", "CONST_INT", "||", "INTVAL", "(", "op1", ")", "!=", "0", ")", ";", "code", "=", "LEU", ";", "invert", "=", "true", ";", "case", "LEU", ":", "if", "(", "GET_CODE", "(", "op1", ")", "==", "CONST_INT", "&&", "INTVAL", "(", "op1", ")", "!=", "0", ")", "op1", "=", "force_reg", "(", "SImode", ",", "op1", ")", ";", "break", ";", "case", "LTU", ":", "code", "=", "GEU", ";", "invert", "=", "true", ";", "case", "GEU", ":", "if", "(", "GET_CODE", "(", "op1", ")", "==", "CONST_INT", "&&", "INTVAL", "(", "op1", ")", "!=", "0", "&&", "(", "TARGET_MINI_REGISTERS", "?", "!", "csky_literal_J_operand", "(", "op1", ",", "SImode", ")", ":", "!", "csky_literal_Uk_operand", "(", "op1", ",", "SImode", ")", ")", ")", "op1", "=", "force_reg", "(", "SImode", ",", "op1", ")", ";", "break", ";", "default", ":", "break", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "cc_reg", ",", "gen_rtx_fmt_ee", "(", "code", ",", "CCmode", ",", "op0", ",", "op1", ")", ")", ")", ";", "return", "invert", ";", "}", ""], "natrual_language": ["Emit", "a", "comparison", "instruction", ".", "Return", "true", "if", "an", "inverted", "comparison", "is", "generated", "."], "TS_V_token": ["csky", "0", "1", "1", "1", "1", "1", "1", "0", "0", "0", "0"], "File": "csky", "Func": "csky_emit_compare", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 374, "Length": 505, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "WebAssemblyFastISel", "::", "fastMaterializeAlloca", "(", "const", "AllocaInst", "*", "AI", ")", "{", "DenseMap", "<", "const", "AllocaInst", "*", ",", "int", ">", "::", "iterator", "SI", "=", "FuncInfo", ".", "StaticAllocaMap", ".", "find", "(", "AI", ")", ";", "if", "(", "SI", "!=", "FuncInfo", ".", "StaticAllocaMap", ".", "end", "(", ")", ")", "{", "unsigned", "ResultReg", "=", "createResultReg", "(", "Subtarget", "->", "hasAddr64", "(", ")", "?", "&", "WebAssembly", "::", "I64RegClass", ":", "&", "WebAssembly", "::", "I32RegClass", ")", ";", "unsigned", "Opc", "=", "Subtarget", "->", "hasAddr64", "(", ")", "?", "WebAssembly", "::", "COPY_LOCAL_I64", ":", "WebAssembly", "::", "COPY_LOCAL_I32", ";", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "TII", ".", "get", "(", "Opc", ")", ",", "ResultReg", ")", ".", "addFrameIndex", "(", "SI", "->", "second", ")", ";", "return", "ResultReg", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Emit", "an", "alloca", "address", "in", "a", "register", "using", "target-specific", "logic", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "WebAssembly::I64RegClass", "WebAssembly::I32RegClass", "WebAssembly::COPY_LOCAL_I64", "WebAssembly::COPY_LOCAL_I32", "0"], "File": "WebAssemblyFastISel", "Func": "fastMaterializeAlloca", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 375, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "GCNMaxOccupancySchedStrategy", "::", "initialize", "(", "ScheduleDAGMI", "*", "DAG", ")", "{", "GenericScheduler", "::", "initialize", "(", "DAG", ")", ";", "const", "SIRegisterInfo", "*", "SRI", "=", "static_cast", "<", "const", "SIRegisterInfo", "*", ">", "(", "TRI", ")", ";", "MF", "=", "&", "DAG", "->", "MF", ";", "const", "GCNSubtarget", "&", "ST", "=", "MF", "->", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "const", "int", "ErrorMargin", "=", "3", ";", "SGPRExcessLimit", "=", "Context", "->", "RegClassInfo", "->", "getNumAllocatableRegs", "(", "&", "AMDGPU", "::", "SGPR_32RegClass", ")", "-", "ErrorMargin", ";", "VGPRExcessLimit", "=", "Context", "->", "RegClassInfo", "->", "getNumAllocatableRegs", "(", "&", "AMDGPU", "::", "VGPR_32RegClass", ")", "-", "ErrorMargin", ";", "if", "(", "TargetOccupancy", ")", "{", "SGPRCriticalLimit", "=", "ST", ".", "getMaxNumSGPRs", "(", "TargetOccupancy", ",", "true", ")", ";", "VGPRCriticalLimit", "=", "ST", ".", "getMaxNumVGPRs", "(", "TargetOccupancy", ")", ";", "}", "else", "{", "SGPRCriticalLimit", "=", "SRI", "->", "getRegPressureSetLimit", "(", "DAG", "->", "MF", ",", "AMDGPU", "::", "RegisterPressureSets", "::", "SReg_32", ")", ";", "VGPRCriticalLimit", "=", "SRI", "->", "getRegPressureSetLimit", "(", "DAG", "->", "MF", ",", "AMDGPU", "::", "RegisterPressureSets", "::", "VGPR_32", ")", ";", "}", "SGPRCriticalLimit", "-=", "ErrorMargin", ";", "VGPRCriticalLimit", "-=", "ErrorMargin", ";", "}", ""], "natrual_language": ["Initialize", "the", "strategy", "after", "building", "the", "DAG", "for", "a", "new", "region", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "3", "AMDGPU::SGPR_32RegClass", "AMDGPU::VGPR_32RegClass", "AMDGPU::RegisterPressureSets", "AMDGPU::RegisterPressureSets"], "File": "GCNSchedStrategy", "Func": "initialize", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 376, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AMDGPUAsmPrinter", "::", "emitGlobalVariable", "(", "const", "GlobalVariable", "*", "GV", ")", "{", "if", "(", "GV", "->", "getAddressSpace", "(", ")", "==", "AMDGPUAS", "::", "LOCAL_ADDRESS", ")", "{", "if", "(", "GV", "->", "hasInitializer", "(", ")", "&&", "!", "isa", "<", "UndefValue", ">", "(", "GV", "->", "getInitializer", "(", ")", ")", ")", "{", "OutContext", ".", "reportError", "(", "{", "}", ",", "Twine", "(", "GV", "->", "getName", "(", ")", ")", "+", "\": unsupported initializer for address space\"", ")", ";", "return", ";", "}", "const", "Triple", "::", "OSType", "OS", "=", "TM", ".", "getTargetTriple", "(", ")", ".", "getOS", "(", ")", ";", "if", "(", "OS", "==", "Triple", "::", "AMDHSA", "||", "OS", "==", "Triple", "::", "AMDPAL", ")", "return", ";", "MCSymbol", "*", "GVSym", "=", "getSymbol", "(", "GV", ")", ";", "GVSym", "->", "redefineIfPossible", "(", ")", ";", "if", "(", "GVSym", "->", "isDefined", "(", ")", "||", "GVSym", "->", "isVariable", "(", ")", ")", "report_fatal_error", "(", "\"symbol '\"", "+", "Twine", "(", "GVSym", "->", "getName", "(", ")", ")", "+", "\"' is already defined\"", ")", ";", "const", "DataLayout", "&", "DL", "=", "GV", "->", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ";", "uint64_t", "Size", "=", "DL", ".", "getTypeAllocSize", "(", "GV", "->", "getValueType", "(", ")", ")", ";", "unsigned", "Align", "=", "GV", "->", "getAlignment", "(", ")", ";", "if", "(", "!", "Align", ")", "Align", "=", "4", ";", "emitVisibility", "(", "GVSym", ",", "GV", "->", "getVisibility", "(", ")", ",", "!", "GV", "->", "isDeclaration", "(", ")", ")", ";", "emitLinkage", "(", "GV", ",", "GVSym", ")", ";", "if", "(", "auto", "TS", "=", "getTargetStreamer", "(", ")", ")", "TS", "->", "emitAMDGPULDS", "(", "GVSym", ",", "Size", ",", "Align", ")", ";", "return", ";", "}", "AsmPrinter", "::", "emitGlobalVariable", "(", "GV", ")", ";", "}", ""], "natrual_language": ["Emit", "the", "specified", "global", "variable", "to", "the", ".s", "file", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU", "\": unsupported initializer for address space\"", "\"symbol '\"", "\"' is already defined\"", "4", "AMDGPU"], "File": "AMDGPUAsmPrinter17", "Func": "emitGlobalVariable", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 377, "Length": 248, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "SITargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "AMDGPUTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MI", ",", "BB", ")", ";", "case", "AMDGPU", "::", "BRANCH", ":", "return", "BB", ";", "}", "return", "BB", ";", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU", "AMDGPU::BRANCH"], "File": "SIISelLowering (2)", "Func": "EmitInstrWithCustomInserter", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 378, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "c6x_function_value_regno_p", "(", "const", "unsigned", "int", "regno", ")", "{", "return", "regno", "==", "REG_A4", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_VALUE_REGNO_P", "."], "TS_V_token": ["c6x"], "File": "c6x", "Func": "c6x_function_value_regno_p", "Target": "c6x", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 379, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "P2InstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "subtarget", ".", "getInstrInfo", "(", ")", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["P2", "P2"], "File": "P2TargetMachine", "Func": "getInstrInfo", "Target": "P2", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 380, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIWholeQuadMode", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "MF", ".", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", "!=", "CallingConv", "::", "AMDGPU_PS", ")", "return", "false", ";", "Instructions", ".", "clear", "(", ")", ";", "Blocks", ".", "clear", "(", ")", ";", "ExecExports", ".", "clear", "(", ")", ";", "LiveMaskQueries", ".", "clear", "(", ")", ";", "const", "SISubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "SISubtarget", ">", "(", ")", ";", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "&", "TII", "->", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "LIS", "=", "&", "getAnalysis", "<", "LiveIntervals", ">", "(", ")", ";", "char", "GlobalFlags", "=", "analyzeFunction", "(", "MF", ")", ";", "if", "(", "!", "(", "GlobalFlags", "&", "StateWQM", ")", ")", "{", "lowerLiveMaskQueries", "(", "AMDGPU", "::", "EXEC", ")", ";", "return", "!", "LiveMaskQueries", ".", "empty", "(", ")", ";", "}", "unsigned", "LiveMaskReg", "=", "0", ";", "{", "MachineBasicBlock", "&", "Entry", "=", "MF", ".", "front", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "EntryMI", "=", "Entry", ".", "getFirstNonPHI", "(", ")", ";", "if", "(", "GlobalFlags", "&", "StateExact", "||", "!", "LiveMaskQueries", ".", "empty", "(", ")", ")", "{", "LiveMaskReg", "=", "MRI", "->", "createVirtualRegister", "(", "&", "AMDGPU", "::", "SReg_64RegClass", ")", ";", "BuildMI", "(", "Entry", ",", "EntryMI", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "AMDGPU", "::", "COPY", ")", ",", "LiveMaskReg", ")", ".", "addReg", "(", "AMDGPU", "::", "EXEC", ")", ";", "}", "if", "(", "GlobalFlags", "==", "StateWQM", ")", "{", "BuildMI", "(", "Entry", ",", "EntryMI", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "AMDGPU", "::", "S_WQM_B64", ")", ",", "AMDGPU", "::", "EXEC", ")", ".", "addReg", "(", "AMDGPU", "::", "EXEC", ")", ";", "lowerLiveMaskQueries", "(", "LiveMaskReg", ")", ";", "return", "true", ";", "}", "}", "lowerLiveMaskQueries", "(", "LiveMaskReg", ")", ";", "for", "(", "auto", "BII", ":", "Blocks", ")", "processBlock", "(", "*", "BII", ".", "first", ",", "LiveMaskReg", ",", "BII", ".", "first", "==", "&", "*", "MF", ".", "begin", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU", "SI", "SI", "AMDGPU::EXEC", "0", "AMDGPU::SReg_64RegClass", "AMDGPU::COPY", "AMDGPU::EXEC", "AMDGPU::S_WQM_B64", "AMDGPU::EXEC", "AMDGPU::EXEC"], "File": "SIWholeQuadMode22", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 381, "Length": 306, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "unsigned", ">", "AMDGPUSubtarget", "::", "getWavesPerEU", "(", "const", "Function", "&", "F", ",", "std", "::", "pair", "<", "unsigned", ",", "unsigned", ">", "FlatWorkGroupSizes", ")", "const", "{", "std", "::", "pair", "<", "unsigned", ",", "unsigned", ">", "Default", "(", "1", ",", "getMaxWavesPerEU", "(", ")", ")", ";", "unsigned", "MinImpliedByFlatWorkGroupSize", "=", "getWavesPerEUForWorkGroup", "(", "FlatWorkGroupSizes", ".", "second", ")", ";", "Default", ".", "first", "=", "MinImpliedByFlatWorkGroupSize", ";", "bool", "RequestedFlatWorkGroupSize", "=", "F", ".", "hasFnAttribute", "(", "\"amdgpu-flat-work-group-size\"", ")", ";", "std", "::", "pair", "<", "unsigned", ",", "unsigned", ">", "Requested", "=", "AMDGPU", "::", "getIntegerPairAttribute", "(", "F", ",", "\"amdgpu-waves-per-eu\"", ",", "Default", ",", "true", ")", ";", "if", "(", "Requested", ".", "second", "&&", "Requested", ".", "first", ">", "Requested", ".", "second", ")", "return", "Default", ";", "if", "(", "Requested", ".", "first", "<", "getMinWavesPerEU", "(", ")", "||", "Requested", ".", "second", ">", "getMaxWavesPerEU", "(", ")", ")", "return", "Default", ";", "if", "(", "RequestedFlatWorkGroupSize", "&&", "Requested", ".", "first", "<", "MinImpliedByFlatWorkGroupSize", ")", "return", "Default", ";", "return", "Requested", ";", "}", ""], "natrual_language": ["Overload", "which", "uses", "the", "specified", "values", "for", "the", "flat", "work", "group", "sizes", ",", "rather", "than", "querying", "the", "function", "itself", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "1", "\"amdgpu-flat-work-group-size\"", "AMDGPU::getIntegerPairAttribute", "\"amdgpu-waves-per-eu\""], "File": "AMDGPUSubtarget92", "Func": "getWavesPerEU", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 382, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "VariantKind", "getKind", "(", ")", "const", "{", "return", "Kind", ";", "}", ""], "natrual_language": ["Returns", "the", "Kind", "of", "lane", "offset", "."], "TS_V_token": ["RI5CY"], "File": "RISCVMCExpr", "Func": "getKind", "Target": "RI5CY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 383, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "XCoreTargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "SDLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "switch", "(", "CallConv", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unsupported calling convention\"", ")", ";", "case", "CallingConv", "::", "C", ":", "case", "CallingConv", "::", "Fast", ":", "return", "LowerCCCArguments", "(", "Chain", ",", "CallConv", ",", "isVarArg", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ")", ";", "}", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "the", "Ins", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["XCore", "XCore", "ISD::InputArg", "\"Unsupported calling convention\""], "File": "XCoreISelLowering (2)", "Func": "LowerFormalArguments", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 384, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "build_all", "(", "function_builder", "&", "b", ",", "const", "function_group_info", "&", "group", ")", "{", "for", "(", "unsigned", "int", "pred_idx", "=", "0", ";", "group", ".", "preds", "[", "pred_idx", "]", "!=", "NUM_PRED_TYPES", ";", "++", "pred_idx", ")", "for", "(", "unsigned", "int", "vec_type_idx", "=", "0", ";", "group", ".", "ops_infos", ".", "types", "[", "vec_type_idx", "]", ".", "index", "!=", "NUM_VECTOR_TYPES", ";", "++", "vec_type_idx", ")", "build_one", "(", "b", ",", "group", ",", "pred_idx", ",", "vec_type_idx", ")", ";", "}", ""], "natrual_language": ["Add", "a", "function", "instance", "for", "every", "operand", "&", "&", "predicate", "&", "&", "args", "combination", "in", "GROUP", ".", "Take", "the", "function", "base", "name", "from", "GROUP", "&", "&", "operand", "suffix", "from", "operand_suffixes", "&", "&", "mode", "suffix", "from", "type_suffixes", "&", "&", "predication", "suffix", "from", "predication_suffixes", ".", "Use", "apply_predication", "to", "add", "in", "the", "predicate", "."], "TS_V_token": ["riscv", "0", "0"], "File": "riscv-vector-builtins-shapes", "Func": "build_all", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 385, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_hard_regno_call_part_clobbered", "(", "unsigned", "int", ",", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_FLOATXX", "&&", "hard_regno_nregs", "(", "regno", ",", "mode", ")", "==", "1", "&&", "FP_REG_P", "(", "regno", ")", "&&", "(", "regno", "&", "1", ")", "!=", "0", ")", "return", "true", ";", "if", "(", "ISA_HAS_MSA", "&&", "FP_REG_P", "(", "regno", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", ">", "8", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_HARD_REGNO_CALL_PART_CLOBBERED", ".", "Odd-numbered", "single-precision", "registers", "are", "not", "considered", "callee-saved", "for", "o32", "FPXX", "as", "they", "will", "be", "clobbered", "when", "run", "on", "an", "FR=1", "FPU", ".", "MSA", "vector", "registers", "with", "MODE", ">", "64", "bits", "are", "part", "clobbered", "too", "."], "TS_V_token": ["mips", "1", "1", "0", "8"], "File": "mips", "Func": "mips_hard_regno_call_part_clobbered", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 386, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "MCSymbol", "*", "GetSymbolFromOperand", "(", "const", "MachineOperand", "&", "MO", ",", "AsmPrinter", "&", "AP", ")", "{", "const", "TargetMachine", "&", "TM", "=", "AP", ".", "TM", ";", "Mangler", "*", "Mang", "=", "AP", ".", "Mang", ";", "const", "DataLayout", "*", "DL", "=", "TM", ".", "getDataLayout", "(", ")", ";", "MCContext", "&", "Ctx", "=", "AP", ".", "OutContext", ";", "bool", "isDarwin", "=", "TM", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "isDarwin", "(", ")", ";", "SmallString", "<", "128", ">", "Name", ";", "StringRef", "Suffix", ";", "if", "(", "MO", ".", "getTargetFlags", "(", ")", "==", "PPCII", "::", "MO_PLT_OR_STUB", ")", "{", "if", "(", "isDarwin", ")", "Suffix", "=", "\"$stub\"", ";", "}", "else", "if", "(", "MO", ".", "getTargetFlags", "(", ")", "&", "PPCII", "::", "MO_NLP_FLAG", ")", "Suffix", "=", "\"$non_lazy_ptr\"", ";", "if", "(", "!", "Suffix", ".", "empty", "(", ")", ")", "Name", "+=", "DL", "->", "getPrivateGlobalPrefix", "(", ")", ";", "unsigned", "PrefixLen", "=", "Name", ".", "size", "(", ")", ";", "if", "(", "!", "MO", ".", "isGlobal", "(", ")", ")", "{", "assert", "(", "MO", ".", "isSymbol", "(", ")", "&&", "\"Isn't a symbol reference\"", ")", ";", "Mang", "->", "getNameWithPrefix", "(", "Name", ",", "MO", ".", "getSymbolName", "(", ")", ")", ";", "}", "else", "{", "const", "GlobalValue", "*", "GV", "=", "MO", ".", "getGlobal", "(", ")", ";", "TM", ".", "getNameWithPrefix", "(", "Name", ",", "GV", ",", "*", "Mang", ")", ";", "}", "unsigned", "OrigLen", "=", "Name", ".", "size", "(", ")", "-", "PrefixLen", ";", "Name", "+=", "Suffix", ";", "MCSymbol", "*", "Sym", "=", "Ctx", ".", "GetOrCreateSymbol", "(", "Name", ".", "str", "(", ")", ")", ";", "StringRef", "OrigName", "=", "StringRef", "(", "Name", ")", ".", "substr", "(", "PrefixLen", ",", "OrigLen", ")", ";", "if", "(", "MO", ".", "getTargetFlags", "(", ")", "==", "PPCII", "::", "MO_PLT_OR_STUB", "&&", "isDarwin", ")", "{", "MachineModuleInfoImpl", "::", "StubValueTy", "&", "StubSym", "=", "getMachOMMI", "(", "AP", ")", ".", "getFnStubEntry", "(", "Sym", ")", ";", "if", "(", "StubSym", ".", "getPointer", "(", ")", ")", "return", "Sym", ";", "if", "(", "MO", ".", "isGlobal", "(", ")", ")", "{", "StubSym", "=", "MachineModuleInfoImpl", "::", "StubValueTy", "(", "AP", ".", "getSymbol", "(", "MO", ".", "getGlobal", "(", ")", ")", ",", "!", "MO", ".", "getGlobal", "(", ")", "->", "hasInternalLinkage", "(", ")", ")", ";", "}", "else", "{", "StubSym", "=", "MachineModuleInfoImpl", "::", "StubValueTy", "(", "Ctx", ".", "GetOrCreateSymbol", "(", "OrigName", ")", ",", "false", ")", ";", "}", "return", "Sym", ";", "}", "if", "(", "MO", ".", "getTargetFlags", "(", ")", "&", "PPCII", "::", "MO_NLP_FLAG", ")", "{", "MachineModuleInfoMachO", "&", "MachO", "=", "getMachOMMI", "(", "AP", ")", ";", "MachineModuleInfoImpl", "::", "StubValueTy", "&", "StubSym", "=", "(", "MO", ".", "getTargetFlags", "(", ")", "&", "PPCII", "::", "MO_NLP_HIDDEN_FLAG", ")", "?", "MachO", ".", "getHiddenGVStubEntry", "(", "Sym", ")", ":", "MachO", ".", "getGVStubEntry", "(", "Sym", ")", ";", "if", "(", "!", "StubSym", ".", "getPointer", "(", ")", ")", "{", "assert", "(", "MO", ".", "isGlobal", "(", ")", "&&", "\"Extern symbol not handled yet\"", ")", ";", "StubSym", "=", "MachineModuleInfoImpl", "::", "StubValueTy", "(", "AP", ".", "getSymbol", "(", "MO", ".", "getGlobal", "(", ")", ")", ",", "!", "MO", ".", "getGlobal", "(", ")", "->", "hasInternalLinkage", "(", ")", ")", ";", "}", "return", "Sym", ";", "}", "return", "Sym", ";", "}", ""], "natrual_language": ["Lower", "an", "MO_GlobalAddress", "or", "MO_ExternalSymbol", "operand", "to", "an", "MCSymbol", "."], "TS_V_token": ["PowerPC", "PPC", "128", "PPCII::MO_PLT_OR_STUB", "\"$stub\"", "PPCII::MO_NLP_FLAG", "\"$non_lazy_ptr\"", "\"Isn't a symbol reference\"", "PPCII::MO_PLT_OR_STUB", "PPCII::MO_NLP_FLAG", "PPCII::MO_NLP_HIDDEN_FLAG", "\"Extern symbol not handled yet\""], "File": "PPCMCInstLower23", "Func": "GetSymbolFromOperand", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 387, "Length": 464, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "XCoreTargetLowering", "::", "isLegalAddressingMode", "(", "const", "DataLayout", "&", "DL", ",", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ")", "const", "{", "if", "(", "Ty", "->", "getTypeID", "(", ")", "==", "Type", "::", "VoidTyID", ")", "return", "AM", ".", "Scale", "==", "0", "&&", "isImmUs", "(", "AM", ".", "BaseOffs", ")", "&&", "isImmUs4", "(", "AM", ".", "BaseOffs", ")", ";", "unsigned", "Size", "=", "DL", ".", "getTypeAllocSize", "(", "Ty", ")", ";", "if", "(", "AM", ".", "BaseGV", ")", "{", "return", "Size", ">=", "4", "&&", "!", "AM", ".", "HasBaseReg", "&&", "AM", ".", "Scale", "==", "0", "&&", "AM", ".", "BaseOffs", "%", "4", "==", "0", ";", "}", "switch", "(", "Size", ")", "{", "case", "1", ":", "if", "(", "AM", ".", "Scale", "==", "0", ")", "{", "return", "isImmUs", "(", "AM", ".", "BaseOffs", ")", ";", "}", "return", "AM", ".", "Scale", "==", "1", "&&", "AM", ".", "BaseOffs", "==", "0", ";", "case", "2", ":", "case", "3", ":", "if", "(", "AM", ".", "Scale", "==", "0", ")", "{", "return", "isImmUs2", "(", "AM", ".", "BaseOffs", ")", ";", "}", "return", "AM", ".", "Scale", "==", "2", "&&", "AM", ".", "BaseOffs", "==", "0", ";", "default", ":", "if", "(", "AM", ".", "Scale", "==", "0", ")", "{", "return", "isImmUs4", "(", "AM", ".", "BaseOffs", ")", ";", "}", "return", "AM", ".", "Scale", "==", "4", "&&", "AM", ".", "BaseOffs", "==", "0", ";", "}", "}", ""], "natrual_language": ["isLegalAddressingMode", "-", "Return", "true", "if", "the", "addressing", "mode", "represented", "by", "AM", "is", "legal", "for", "this", "target", ",", "for", "a", "load/store", "of", "the", "specified", "type", "."], "TS_V_token": ["XCore", "XCore", "0", "4", "0", "4", "0", "1", "0", "1", "0", "2", "3", "0", "2", "0", "0", "4", "0"], "File": "XCoreISelLowering12", "Func": "isLegalAddressingMode", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 388, "Length": 210, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "SparcMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "SparcMachineFunctionInfo", ">", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "const", "SparcInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "SparcInstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "assert", "(", "MBBI", "->", "getOpcode", "(", ")", "==", "SP", "::", "RETL", "&&", "\"Can only put epilog before 'retl' instruction!\"", ")", ";", "if", "(", "!", "FuncInfo", "->", "isLeafProc", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "SP", "::", "RESTORErr", ")", ",", "SP", "::", "G0", ")", ".", "addReg", "(", "SP", "::", "G0", ")", ".", "addReg", "(", "SP", "::", "G0", ")", ";", "return", ";", "}", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "int", "NumBytes", "=", "(", "int", ")", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "NumBytes", "==", "0", ")", "return", ";", "NumBytes", "=", "MF", ".", "getTarget", "(", ")", ".", "getSubtarget", "<", "SparcSubtarget", ">", "(", ")", ".", "getAdjustedFrameSize", "(", "NumBytes", ")", ";", "emitSPAdjustment", "(", "MF", ",", "MBB", ",", "MBBI", ",", "NumBytes", ",", "SP", "::", "ADDrr", ",", "SP", "::", "ADDri", ")", ";", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "SP::RETL", "\"Can only put epilog before 'retl' instruction!\"", "SP::RESTORErr", "SP::G0", "SP::G0", "SP::G0", "0", "Sparc", "SP", "SP::ADDrr", "SP::ADDri"], "File": "SparcFrameLowering45", "Func": "emitEpilogue", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 389, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "s390_extra_constraint_str", "(", "rtx", "op", ",", "int", "c", ",", "const", "char", "*", "str", ")", "{", "struct", "s390_address", "addr", ";", "gcc_assert", "(", "c", "==", "str", "[", "0", "]", ")", ";", "if", "(", "c", "==", "'A'", ")", "{", "if", "(", "!", "MEM_P", "(", "op", ")", "||", "MEM_VOLATILE_P", "(", "op", ")", ")", "return", "0", ";", "if", "(", "(", "reload_completed", "||", "reload_in_progress", ")", "?", "!", "offsettable_memref_p", "(", "op", ")", ":", "!", "offsettable_nonstrict_memref_p", "(", "op", ")", ")", "return", "0", ";", "c", "=", "str", "[", "1", "]", ";", "}", "else", "if", "(", "c", "==", "'B'", ")", "{", "if", "(", "GET_CODE", "(", "op", ")", "!=", "MEM", ")", "return", "0", ";", "if", "(", "!", "s390_decompose_address", "(", "XEXP", "(", "op", ",", "0", ")", ",", "&", "addr", ")", ")", "return", "0", ";", "if", "(", "addr", ".", "literal_pool", ")", "return", "0", ";", "c", "=", "str", "[", "1", "]", ";", "}", "switch", "(", "c", ")", "{", "case", "'Q'", ":", "if", "(", "GET_CODE", "(", "op", ")", "!=", "MEM", ")", "return", "0", ";", "if", "(", "!", "s390_decompose_address", "(", "XEXP", "(", "op", ",", "0", ")", ",", "&", "addr", ")", ")", "return", "0", ";", "if", "(", "addr", ".", "indx", ")", "return", "0", ";", "if", "(", "TARGET_LONG_DISPLACEMENT", ")", "{", "if", "(", "!", "s390_short_displacement", "(", "addr", ".", "disp", ")", ")", "return", "0", ";", "}", "break", ";", "case", "'R'", ":", "if", "(", "GET_CODE", "(", "op", ")", "!=", "MEM", ")", "return", "0", ";", "if", "(", "TARGET_LONG_DISPLACEMENT", ")", "{", "if", "(", "!", "s390_decompose_address", "(", "XEXP", "(", "op", ",", "0", ")", ",", "&", "addr", ")", ")", "return", "0", ";", "if", "(", "!", "s390_short_displacement", "(", "addr", ".", "disp", ")", ")", "return", "0", ";", "}", "break", ";", "case", "'S'", ":", "if", "(", "!", "TARGET_LONG_DISPLACEMENT", ")", "return", "0", ";", "if", "(", "GET_CODE", "(", "op", ")", "!=", "MEM", ")", "return", "0", ";", "if", "(", "!", "s390_decompose_address", "(", "XEXP", "(", "op", ",", "0", ")", ",", "&", "addr", ")", ")", "return", "0", ";", "if", "(", "addr", ".", "indx", ")", "return", "0", ";", "if", "(", "s390_short_displacement", "(", "addr", ".", "disp", ")", ")", "return", "0", ";", "break", ";", "case", "'T'", ":", "if", "(", "!", "TARGET_LONG_DISPLACEMENT", ")", "return", "0", ";", "if", "(", "GET_CODE", "(", "op", ")", "!=", "MEM", ")", "return", "0", ";", "if", "(", "s390_decompose_address", "(", "XEXP", "(", "op", ",", "0", ")", ",", "&", "addr", ")", "&&", "s390_short_displacement", "(", "addr", ".", "disp", ")", ")", "return", "0", ";", "break", ";", "case", "'U'", ":", "if", "(", "TARGET_LONG_DISPLACEMENT", ")", "{", "if", "(", "!", "s390_decompose_address", "(", "op", ",", "&", "addr", ")", ")", "return", "0", ";", "if", "(", "!", "s390_short_displacement", "(", "addr", ".", "disp", ")", ")", "return", "0", ";", "}", "break", ";", "case", "'W'", ":", "if", "(", "!", "TARGET_LONG_DISPLACEMENT", ")", "return", "0", ";", "if", "(", "s390_decompose_address", "(", "op", ",", "&", "addr", ")", "&&", "s390_short_displacement", "(", "addr", ".", "disp", ")", ")", "return", "0", ";", "break", ";", "case", "'Y'", ":", "if", "(", "!", "s390_decompose_shift_count", "(", "op", ",", "NULL", ",", "NULL", ")", ")", "return", "0", ";", "break", ";", "default", ":", "return", "0", ";", "}", "return", "1", ";", "}", ""], "natrual_language": ["Return", "1", "if", "OP", "is", "a", "valid", "operand", "for", "a", "C", "constraint", ",", "0", "else", "."], "TS_V_token": ["s390", "0", "0", "0", "1", "0", "0", "0", "0", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1"], "File": "s3903", "Func": "s390_extra_constraint_str", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 390, "Length": 479, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "function_value", "(", "tree", "type", ",", "enum", "machine_mode", "mode", ",", "int", "incoming_p", ")", "{", "int", "regbase", "=", "(", "incoming_p", "?", "SPARC_OUTGOING_INT_ARG_FIRST", ":", "SPARC_INCOMING_INT_ARG_FIRST", ")", ";", "enum", "mode_class", "mclass", "=", "GET_MODE_CLASS", "(", "mode", ")", ";", "int", "regno", ";", "if", "(", "type", "&&", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", ")", "{", "HOST_WIDE_INT", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "gcc_assert", "(", "(", "TARGET_ARCH32", "&&", "size", "<=", "8", ")", "||", "(", "TARGET_ARCH64", "&&", "size", "<=", "32", ")", ")", ";", "if", "(", "mode", "==", "BLKmode", ")", "return", "function_arg_vector_value", "(", "size", ",", "TYPE_MODE", "(", "TREE_TYPE", "(", "type", ")", ")", ",", "SPARC_FP_ARG_FIRST", ")", ";", "else", "mclass", "=", "MODE_FLOAT", ";", "}", "else", "if", "(", "type", "&&", "TARGET_ARCH64", ")", "{", "if", "(", "TREE_CODE", "(", "type", ")", "==", "RECORD_TYPE", ")", "{", "gcc_assert", "(", "int_size_in_bytes", "(", "type", ")", "<=", "32", ")", ";", "return", "function_arg_record_value", "(", "type", ",", "mode", ",", "0", ",", "1", ",", "regbase", ")", ";", "}", "else", "if", "(", "TREE_CODE", "(", "type", ")", "==", "UNION_TYPE", ")", "{", "HOST_WIDE_INT", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "gcc_assert", "(", "size", "<=", "32", ")", ";", "return", "function_arg_union_value", "(", "size", ",", "mode", ",", "0", ",", "regbase", ")", ";", "}", "else", "if", "(", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "HOST_WIDE_INT", "bytes", "=", "int_size_in_bytes", "(", "type", ")", ";", "gcc_assert", "(", "bytes", "<=", "32", ")", ";", "mode", "=", "mode_for_size", "(", "bytes", "*", "BITS_PER_UNIT", ",", "MODE_INT", ",", "0", ")", ";", "if", "(", "mode", "==", "BLKmode", ")", "return", "function_arg_union_value", "(", "bytes", ",", "mode", ",", "0", ",", "regbase", ")", ";", "else", "mclass", "=", "MODE_INT", ";", "}", "else", "if", "(", "mclass", "==", "MODE_INT", "&&", "GET_MODE_SIZE", "(", "mode", ")", "<", "UNITS_PER_WORD", ")", "mode", "=", "word_mode", ";", "}", "if", "(", "(", "mclass", "==", "MODE_FLOAT", "||", "mclass", "==", "MODE_COMPLEX_FLOAT", ")", "&&", "TARGET_FPU", ")", "regno", "=", "SPARC_FP_ARG_FIRST", ";", "else", "regno", "=", "regbase", ";", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "}", ""], "natrual_language": ["Handle", "FUNCTION_VALUE", ",", "FUNCTION_OUTGOING_VALUE", ",", "and", "LIBCALL_VALUE", "macros", ".", "For", "v9", ",", "function", "return", "values", "are", "subject", "to", "the", "same", "rules", "as", "arguments", ",", "except", "that", "up", "to", "32", "bytes", "may", "be", "returned", "in", "registers", "."], "TS_V_token": ["sparc", "8", "32", "32", "0", "1", "32", "0", "32", "0", "0"], "File": "sparc3", "Func": "function_value", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 391, "Length": 298, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64TTIImpl", "::", "getArithmeticInstrCost", "(", "unsigned", "Opcode", ",", "Type", "*", "Ty", ",", "TTI", "::", "OperandValueKind", "Opd1Info", ",", "TTI", "::", "OperandValueKind", "Opd2Info", ",", "TTI", "::", "OperandValueProperties", "Opd1PropInfo", ",", "TTI", "::", "OperandValueProperties", "Opd2PropInfo", ")", "{", "std", "::", "pair", "<", "unsigned", ",", "MVT", ">", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "DL", ",", "Ty", ")", ";", "int", "ISD", "=", "TLI", "->", "InstructionOpcodeToISD", "(", "Opcode", ")", ";", "if", "(", "ISD", "==", "ISD", "::", "SDIV", "&&", "Opd2Info", "==", "TargetTransformInfo", "::", "OK_UniformConstantValue", "&&", "Opd2PropInfo", "==", "TargetTransformInfo", "::", "OP_PowerOf2", ")", "{", "unsigned", "Cost", "=", "getArithmeticInstrCost", "(", "Instruction", "::", "Add", ",", "Ty", ",", "Opd1Info", ",", "Opd2Info", ",", "TargetTransformInfo", "::", "OP_None", ",", "TargetTransformInfo", "::", "OP_None", ")", ";", "Cost", "+=", "getArithmeticInstrCost", "(", "Instruction", "::", "Sub", ",", "Ty", ",", "Opd1Info", ",", "Opd2Info", ",", "TargetTransformInfo", "::", "OP_None", ",", "TargetTransformInfo", "::", "OP_None", ")", ";", "Cost", "+=", "getArithmeticInstrCost", "(", "Instruction", "::", "Select", ",", "Ty", ",", "Opd1Info", ",", "Opd2Info", ",", "TargetTransformInfo", "::", "OP_None", ",", "TargetTransformInfo", "::", "OP_None", ")", ";", "Cost", "+=", "getArithmeticInstrCost", "(", "Instruction", "::", "AShr", ",", "Ty", ",", "Opd1Info", ",", "Opd2Info", ",", "TargetTransformInfo", "::", "OP_None", ",", "TargetTransformInfo", "::", "OP_None", ")", ";", "return", "Cost", ";", "}", "switch", "(", "ISD", ")", "{", "default", ":", "return", "BaseT", "::", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", ",", "Opd1Info", ",", "Opd2Info", ",", "Opd1PropInfo", ",", "Opd2PropInfo", ")", ";", "case", "ISD", "::", "ADD", ":", "case", "ISD", "::", "MUL", ":", "case", "ISD", "::", "XOR", ":", "case", "ISD", "::", "OR", ":", "case", "ISD", "::", "AND", ":", "return", "1", "*", "LT", ".", "first", ";", "}", "}", ""], "natrual_language": ["This", "is", "an", "approximation", "of", "reciprocal", "throughput", "of", "a", "math/logic", "op", "."], "TS_V_token": ["AArch64", "AArch64", "ISD::SDIV", "ISD::ADD", "ISD::MUL", "ISD::XOR", "ISD::OR", "ISD::AND", "1"], "File": "AArch64TargetTransformInfo48", "Func": "getArithmeticInstrCost", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 392, "Length": 239, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "OS", ")", "{", "if", "(", "AsmVariant", "!=", "0", ")", "report_fatal_error", "(", "\"There are no defined alternate asm variants\"", ")", ";", "if", "(", "!", "ExtraCode", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "OS", "<<", "MO", ".", "getImm", "(", ")", ";", "else", "OS", "<<", "regToString", "(", "MO", ")", ";", "return", "false", ";", "}", "return", "AsmPrinter", "::", "PrintAsmOperand", "(", "MI", ",", "OpNo", ",", "AsmVariant", ",", "ExtraCode", ",", "OS", ")", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "0", "\"There are no defined alternate asm variants\""], "File": "WebAssemblyAsmPrinter40", "Func": "PrintAsmOperand", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 393, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arc_epilogue_uses", "(", "int", "regno", ")", "{", "if", "(", "reload_completed", ")", "{", "if", "(", "ARC_INTERRUPT_P", "(", "cfun", "->", "machine", "->", "fn_type", ")", ")", "{", "if", "(", "!", "fixed_regs", "[", "regno", "]", ")", "return", "true", ";", "return", "regno", "==", "arc_return_address_regs", "[", "cfun", "->", "machine", "->", "fn_type", "]", ";", "}", "else", "return", "regno", "==", "RETURN_ADDR_REGNUM", ";", "}", "else", "return", "regno", "==", "arc_return_address_regs", "[", "arc_compute_function_type", "(", "cfun", ")", "]", ";", "}", ""], "natrual_language": ["Implement", "EPILOGUE__USES", ".", "Return", "true", "if", "REGNO", "should", "be", "added", "to", "the", "deemed", "uses", "of", "the", "epilogue", ".", "We", "use", "the", "return", "address", "arc_return_address_regs", "[", "arc_compute_function_type", "(", "cfun", ")", "]", ".", "But", "also", ",", "we", "have", "to", "make", "sure", "all", "the", "register", "restore", "instructions", "are", "known", "to", "be", "live", "in", "interrupt", "functions", ",", "plus", "the", "blink", "register", "if", "it", "is", "clobbered", "by", "the", "isr", "."], "TS_V_token": ["arc"], "File": "arc4", "Func": "arc_epilogue_uses", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 394, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "XCoreTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "dl", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "assert", "(", "(", "MI", "->", "getOpcode", "(", ")", "==", "XCore", "::", "SELECT_CC", ")", "&&", "\"Unexpected instr type to insert\"", ")", ";", "const", "BasicBlock", "*", "LLVM_BB", "=", "BB", "->", "getBasicBlock", "(", ")", ";", "MachineFunction", "::", "iterator", "It", "=", "BB", ";", "++", "It", ";", "MachineBasicBlock", "*", "thisMBB", "=", "BB", ";", "MachineFunction", "*", "F", "=", "BB", "->", "getParent", "(", ")", ";", "MachineBasicBlock", "*", "copy0MBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineBasicBlock", "*", "sinkMBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "F", "->", "insert", "(", "It", ",", "copy0MBB", ")", ";", "F", "->", "insert", "(", "It", ",", "sinkMBB", ")", ";", "sinkMBB", "->", "splice", "(", "sinkMBB", "->", "begin", "(", ")", ",", "BB", ",", "std", "::", "next", "(", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", ",", "BB", "->", "end", "(", ")", ")", ";", "sinkMBB", "->", "transferSuccessorsAndUpdatePHIs", "(", "BB", ")", ";", "BB", "->", "addSuccessor", "(", "copy0MBB", ")", ";", "BB", "->", "addSuccessor", "(", "sinkMBB", ")", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", ".", "get", "(", "XCore", "::", "BRFT_lru6", ")", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "sinkMBB", ")", ";", "BB", "=", "copy0MBB", ";", "BB", "->", "addSuccessor", "(", "sinkMBB", ")", ";", "BB", "=", "sinkMBB", ";", "BuildMI", "(", "*", "BB", ",", "BB", "->", "begin", "(", ")", ",", "dl", ",", "TII", ".", "get", "(", "XCore", "::", "PHI", ")", ",", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "copy0MBB", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "thisMBB", ")", ";", "MI", "->", "eraseFromParent", "(", ")", ";", "return", "BB", ";", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "."], "TS_V_token": ["XCore", "XCore", "XCore::SELECT_CC", "\"Unexpected instr type to insert\"", "XCore::BRFT_lru6", "1", "XCore::PHI", "0", "3", "2"], "File": "XCoreISelLowering16", "Func": "EmitInstrWithCustomInserter", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 395, "Length": 315, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SITargetLowering", "::", "getVectorTypeBreakdownForCallingConv", "(", "LLVMContext", "&", "Context", ",", "CallingConv", "::", "ID", "CC", ",", "EVT", "VT", ",", "EVT", "&", "IntermediateVT", ",", "unsigned", "&", "NumIntermediates", ",", "MVT", "&", "RegisterVT", ")", "const", "{", "if", "(", "CC", "!=", "CallingConv", "::", "AMDGPU_KERNEL", "&&", "VT", ".", "isVector", "(", ")", ")", "{", "unsigned", "NumElts", "=", "VT", ".", "getVectorNumElements", "(", ")", ";", "EVT", "ScalarVT", "=", "VT", ".", "getScalarType", "(", ")", ";", "unsigned", "Size", "=", "ScalarVT", ".", "getSizeInBits", "(", ")", ";", "if", "(", "Size", "==", "32", ")", "{", "RegisterVT", "=", "ScalarVT", ".", "getSimpleVT", "(", ")", ";", "IntermediateVT", "=", "RegisterVT", ";", "NumIntermediates", "=", "NumElts", ";", "return", "NumIntermediates", ";", "}", "if", "(", "Size", "==", "64", ")", "{", "RegisterVT", "=", "MVT", "::", "i32", ";", "IntermediateVT", "=", "RegisterVT", ";", "NumIntermediates", "=", "2", "*", "NumElts", ";", "return", "NumIntermediates", ";", "}", "if", "(", "Size", "==", "16", "&&", "Subtarget", "->", "has16BitInsts", "(", ")", "&&", "isPowerOf2_32", "(", "NumElts", ")", ")", "{", "RegisterVT", "=", "VT", ".", "isInteger", "(", ")", "?", "MVT", "::", "v2i16", ":", "MVT", "::", "v2f16", ";", "IntermediateVT", "=", "RegisterVT", ";", "NumIntermediates", "=", "NumElts", "/", "2", ";", "return", "NumIntermediates", ";", "}", "}", "return", "TargetLowering", "::", "getVectorTypeBreakdownForCallingConv", "(", "Context", ",", "CC", ",", "VT", ",", "IntermediateVT", ",", "NumIntermediates", ",", "RegisterVT", ")", ";", "}", ""], "natrual_language": ["Certain", "targets", "such", "as", "MIPS", "require", "that", "some", "types", "such", "as", "vectors", "are", "always", "broken", "down", "into", "scalars", "in", "some", "contexts", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU", "32", "64", "MVT::i32", "2", "16", "MVT::v2i16", "MVT::v2f16", "2"], "File": "SIISelLowering", "Func": "getVectorTypeBreakdownForCallingConv", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 396, "Length": 195, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCPassConfig", "::", "addPreSched2", "(", ")", "{", "addPass", "(", "createPPCVSXCopyCleanupPass", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "&", "IfConverterID", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "after", "prolog-epilog", "insertion", "and", "before", "the", "second", "instruction", "scheduling", "pass", "."], "TS_V_token": ["PowerPC", "PPC", "PPC"], "File": "PPCTargetMachine", "Func": "addPreSched2", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 397, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "msp430_check_env_var_for_devices", "(", "char", "*", "*", "local_devices_csv_loc", ")", "{", "const", "int", "num_vars", "=", "3", ";", "const", "char", "dirsep", "[", "2", "]", "=", "{", "DIR_SEPARATOR", ",", "0", "}", ";", "const", "char", "*", "env_vars", "[", "num_vars", "]", "=", "{", "\"MSP430_GCC_INCLUDE_DIR\"", ",", "\"GCC_EXEC_PREFIX\"", ",", "\"COLLECT_GCC\"", "}", ";", "enum", "msp430_include_vars", "{", "MSP430_GCC_INCLUDE_DIR", ",", "GCC_EXEC_PREFIX", ",", "COLLECT_GCC", "}", ";", "FILE", "*", "devices_csv_file", "=", "NULL", ";", "int", "i", ";", "for", "(", "i", "=", "MSP430_GCC_INCLUDE_DIR", ";", "i", "<=", "COLLECT_GCC", ";", "i", "++", ")", "{", "char", "*", "t_devices_loc", ";", "char", "*", "val", "=", "getenv", "(", "env_vars", "[", "i", "]", ")", ";", "if", "(", "val", "==", "NULL", ")", "continue", ";", "t_devices_loc", "=", "xstrdup", "(", "val", ")", ";", "if", "(", "i", "==", "MSP430_GCC_INCLUDE_DIR", ")", "{", "if", "(", "!", "IS_DIR_SEPARATOR", "(", "t_devices_loc", "[", "strlen", "(", "t_devices_loc", ")", "-", "1", "]", ")", ")", "t_devices_loc", "=", "concat", "(", "t_devices_loc", ",", "dirsep", ",", "NULL", ")", ";", "}", "else", "if", "(", "i", "==", "GCC_EXEC_PREFIX", ")", "extract_devices_dir_from_exec_prefix", "(", "&", "t_devices_loc", ")", ";", "else", "if", "(", "i", "==", "COLLECT_GCC", ")", "extract_devices_dir_from_collect_gcc", "(", "&", "t_devices_loc", ")", ";", "t_devices_loc", "=", "concat", "(", "t_devices_loc", ",", "\"devices.csv\"", ",", "NULL", ")", ";", "devices_csv_file", "=", "fopen", "(", "t_devices_loc", ",", "\"r\"", ")", ";", "if", "(", "devices_csv_file", "!=", "NULL", ")", "{", "fclose", "(", "devices_csv_file", ")", ";", "*", "local_devices_csv_loc", "=", "t_devices_loc", ";", "canonicalize_path_dirsep", "(", "local_devices_csv_loc", ")", ";", "return", "0", ";", "}", "}", "return", "1", ";", "}", ""], "natrual_language": ["The", "path", "to", "the", "MSP430-GCC", "support", "files", "can", "be", "specified", "with", "the", "environment", "variable", "``", "MSP430_GCC_INCLUDE_DIR", "''", ",", "or", "installed", "into", "the", "toolchain", "in", "the", "msp430-elf/include/devices", "subdirectory", ".", "We", "use", "the", "GCC_EXEC_PREFIX", "or", "COLLECT_GCC", "environment", "variables", "as", "a", "starting", "point", "for", "the", "location", "of", "the", "toolchain", ",", "and", "work", "out", "the", "path", "to", "the", "installed", "device", "data", "from", "there", ".", "Return", "0", "and", "set", "LOCAL_DEVICES_CSV_LOC", "if", "we", "find", "devices.csv", ".", "Return", "1", "if", "devices.csv", "was", "n't", "found", "."], "TS_V_token": ["msp430", "3", "2", "0", "\"MSP430_GCC_INCLUDE_DIR\"", "\"GCC_EXEC_PREFIX\"", "\"COLLECT_GCC\"", "1", "\"devices.csv\"", "\"r\"", "0", "1"], "File": "msp430-devices", "Func": "msp430_check_env_var_for_devices", "Target": "msp430", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 398, "Length": 220, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "frv_init_libfuncs", "(", "void", ")", "{", "set_optab_libfunc", "(", "smod_optab", ",", "SImode", ",", "\"__modi\"", ")", ";", "set_optab_libfunc", "(", "umod_optab", ",", "SImode", ",", "\"__umodi\"", ")", ";", "set_optab_libfunc", "(", "add_optab", ",", "DImode", ",", "\"__addll\"", ")", ";", "set_optab_libfunc", "(", "sub_optab", ",", "DImode", ",", "\"__subll\"", ")", ";", "set_optab_libfunc", "(", "smul_optab", ",", "DImode", ",", "\"__mulll\"", ")", ";", "set_optab_libfunc", "(", "sdiv_optab", ",", "DImode", ",", "\"__divll\"", ")", ";", "set_optab_libfunc", "(", "smod_optab", ",", "DImode", ",", "\"__modll\"", ")", ";", "set_optab_libfunc", "(", "umod_optab", ",", "DImode", ",", "\"__umodll\"", ")", ";", "set_optab_libfunc", "(", "and_optab", ",", "DImode", ",", "\"__andll\"", ")", ";", "set_optab_libfunc", "(", "ior_optab", ",", "DImode", ",", "\"__orll\"", ")", ";", "set_optab_libfunc", "(", "xor_optab", ",", "DImode", ",", "\"__xorll\"", ")", ";", "set_optab_libfunc", "(", "one_cmpl_optab", ",", "DImode", ",", "\"__notll\"", ")", ";", "set_optab_libfunc", "(", "add_optab", ",", "SFmode", ",", "\"__addf\"", ")", ";", "set_optab_libfunc", "(", "sub_optab", ",", "SFmode", ",", "\"__subf\"", ")", ";", "set_optab_libfunc", "(", "smul_optab", ",", "SFmode", ",", "\"__mulf\"", ")", ";", "set_optab_libfunc", "(", "sdiv_optab", ",", "SFmode", ",", "\"__divf\"", ")", ";", "set_optab_libfunc", "(", "add_optab", ",", "DFmode", ",", "\"__addd\"", ")", ";", "set_optab_libfunc", "(", "sub_optab", ",", "DFmode", ",", "\"__subd\"", ")", ";", "set_optab_libfunc", "(", "smul_optab", ",", "DFmode", ",", "\"__muld\"", ")", ";", "set_optab_libfunc", "(", "sdiv_optab", ",", "DFmode", ",", "\"__divd\"", ")", ";", "set_conv_libfunc", "(", "sext_optab", ",", "DFmode", ",", "SFmode", ",", "\"__ftod\"", ")", ";", "set_conv_libfunc", "(", "trunc_optab", ",", "SFmode", ",", "DFmode", ",", "\"__dtof\"", ")", ";", "set_conv_libfunc", "(", "sfix_optab", ",", "SImode", ",", "SFmode", ",", "\"__ftoi\"", ")", ";", "set_conv_libfunc", "(", "sfix_optab", ",", "DImode", ",", "SFmode", ",", "\"__ftoll\"", ")", ";", "set_conv_libfunc", "(", "sfix_optab", ",", "SImode", ",", "DFmode", ",", "\"__dtoi\"", ")", ";", "set_conv_libfunc", "(", "sfix_optab", ",", "DImode", ",", "DFmode", ",", "\"__dtoll\"", ")", ";", "set_conv_libfunc", "(", "ufix_optab", ",", "SImode", ",", "SFmode", ",", "\"__ftoui\"", ")", ";", "set_conv_libfunc", "(", "ufix_optab", ",", "DImode", ",", "SFmode", ",", "\"__ftoull\"", ")", ";", "set_conv_libfunc", "(", "ufix_optab", ",", "SImode", ",", "DFmode", ",", "\"__dtoui\"", ")", ";", "set_conv_libfunc", "(", "ufix_optab", ",", "DImode", ",", "DFmode", ",", "\"__dtoull\"", ")", ";", "set_conv_libfunc", "(", "sfloat_optab", ",", "SFmode", ",", "SImode", ",", "\"__itof\"", ")", ";", "set_conv_libfunc", "(", "sfloat_optab", ",", "SFmode", ",", "DImode", ",", "\"__lltof\"", ")", ";", "set_conv_libfunc", "(", "sfloat_optab", ",", "DFmode", ",", "SImode", ",", "\"__itod\"", ")", ";", "set_conv_libfunc", "(", "sfloat_optab", ",", "DFmode", ",", "DImode", ",", "\"__lltod\"", ")", ";", "}", ""], "natrual_language": ["Set", "the", "names", "for", "various", "arithmetic", "operations", "according", "to", "the", "FRV", "ABI", "."], "TS_V_token": ["frv", "\"__modi\"", "\"__umodi\"", "\"__addll\"", "\"__subll\"", "\"__mulll\"", "\"__divll\"", "\"__modll\"", "\"__umodll\"", "\"__andll\"", "\"__orll\"", "\"__xorll\"", "\"__notll\"", "\"__addf\"", "\"__subf\"", "\"__mulf\"", "\"__divf\"", "\"__addd\"", "\"__subd\"", "\"__muld\"", "\"__divd\"", "\"__ftod\"", "\"__dtof\"", "\"__ftoi\"", "\"__ftoll\"", "\"__dtoi\"", "\"__dtoll\"", "\"__ftoui\"", "\"__ftoull\"", "\"__dtoui\"", "\"__dtoull\"", "\"__itof\"", "\"__lltof\"", "\"__itod\"", "\"__lltod\""], "File": "frv", "Func": "frv_init_libfuncs", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 399, "Length": 342, "Cover_Rate": 1.0, "Template_token": []}
{"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": 400, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isImm", "(", ")", "const", "{", "return", "Kind", "==", "Immediate", "||", "Kind", "==", "Expression", ";", "}", ""], "natrual_language": ["isImm", "-", "Is", "this", "an", "immediate", "operand", "?"], "TS_V_token": ["PowerPC"], "File": "PPCAsmParser (2)", "Func": "isImm", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 401, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"ARM MLA / MLS expansion pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "\"ARM MLA / MLS expansion pass\""], "File": "MLxExpansionPass (2)", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 402, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "xtensa_va_start", "(", "tree", "valist", ",", "rtx", "nextarg", "ATTRIBUTE_UNUSED", ")", "{", "tree", "f_stk", ",", "stk", ";", "tree", "f_reg", ",", "reg", ";", "tree", "f_ndx", ",", "ndx", ";", "tree", "t", ",", "u", ";", "int", "arg_words", ";", "arg_words", "=", "crtl", "->", "args", ".", "info", ".", "arg_words", ";", "f_stk", "=", "TYPE_FIELDS", "(", "va_list_type_node", ")", ";", "f_reg", "=", "DECL_CHAIN", "(", "f_stk", ")", ";", "f_ndx", "=", "DECL_CHAIN", "(", "f_reg", ")", ";", "stk", "=", "build3", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_stk", ")", ",", "valist", ",", "f_stk", ",", "NULL_TREE", ")", ";", "reg", "=", "build3", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_reg", ")", ",", "unshare_expr", "(", "valist", ")", ",", "f_reg", ",", "NULL_TREE", ")", ";", "ndx", "=", "build3", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_ndx", ")", ",", "unshare_expr", "(", "valist", ")", ",", "f_ndx", ",", "NULL_TREE", ")", ";", "u", "=", "make_tree", "(", "sizetype", ",", "expand_builtin_saveregs", "(", ")", ")", ";", "u", "=", "fold_convert", "(", "ptr_type_node", ",", "u", ")", ";", "t", "=", "build2", "(", "MODIFY_EXPR", ",", "ptr_type_node", ",", "reg", ",", "u", ")", ";", "TREE_SIDE_EFFECTS", "(", "t", ")", "=", "1", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "u", "=", "make_tree", "(", "ptr_type_node", ",", "virtual_incoming_args_rtx", ")", ";", "u", "=", "fold_build_pointer_plus_hwi", "(", "u", ",", "-", "32", ")", ";", "t", "=", "build2", "(", "MODIFY_EXPR", ",", "ptr_type_node", ",", "stk", ",", "u", ")", ";", "TREE_SIDE_EFFECTS", "(", "t", ")", "=", "1", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "if", "(", "arg_words", ">=", "MAX_ARGS_IN_REGISTERS", ")", "arg_words", "+=", "2", ";", "t", "=", "build2", "(", "MODIFY_EXPR", ",", "integer_type_node", ",", "ndx", ",", "build_int_cst", "(", "integer_type_node", ",", "arg_words", "*", "UNITS_PER_WORD", ")", ")", ";", "TREE_SIDE_EFFECTS", "(", "t", ")", "=", "1", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "}", ""], "natrual_language": ["Implement", "`", "va_start", "'", "for", "varargs", "and", "stdarg", ".", "We", "look", "at", "the", "current", "function", "to", "fill", "in", "an", "initial", "va_list", "."], "TS_V_token": ["xtensa", "1", "32", "1", "2", "1"], "File": "xtensa", "Func": "xtensa_va_start", "Target": "xtensa", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 403, "Length": 276, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "thumb1_reorg", "(", "void", ")", "{", "basic_block", "bb", ";", "FOR_EACH_BB_FN", "(", "bb", ",", "cfun", ")", "{", "rtx", "dest", ",", "src", ";", "rtx", "cmp", ",", "op0", ",", "op1", ",", "set", "=", "NULL", ";", "rtx_insn", "*", "prev", ",", "*", "insn", "=", "BB_END", "(", "bb", ")", ";", "bool", "insn_clobbered", "=", "false", ";", "while", "(", "insn", "!=", "BB_HEAD", "(", "bb", ")", "&&", "!", "NONDEBUG_INSN_P", "(", "insn", ")", ")", "insn", "=", "PREV_INSN", "(", "insn", ")", ";", "if", "(", "insn", "==", "BB_HEAD", "(", "bb", ")", "||", "INSN_CODE", "(", "insn", ")", "!=", "CODE_FOR_cbranchsi4_insn", ")", "continue", ";", "cmp", "=", "XEXP", "(", "SET_SRC", "(", "PATTERN", "(", "insn", ")", ")", ",", "0", ")", ";", "op0", "=", "XEXP", "(", "cmp", ",", "0", ")", ";", "op1", "=", "XEXP", "(", "cmp", ",", "1", ")", ";", "if", "(", "!", "CONST_INT_P", "(", "op1", ")", "||", "INTVAL", "(", "op1", ")", "!=", "0", ")", "continue", ";", "gcc_assert", "(", "insn", "!=", "BB_HEAD", "(", "bb", ")", ")", ";", "for", "(", "prev", "=", "PREV_INSN", "(", "insn", ")", ";", "(", "!", "insn_clobbered", "&&", "prev", "!=", "BB_HEAD", "(", "bb", ")", "&&", "(", "NOTE_P", "(", "prev", ")", "||", "DEBUG_INSN_P", "(", "prev", ")", "||", "(", "(", "set", "=", "single_set", "(", "prev", ")", ")", "!=", "NULL", "&&", "get_attr_conds", "(", "prev", ")", "==", "CONDS_NOCOND", ")", ")", ")", ";", "prev", "=", "PREV_INSN", "(", "prev", ")", ")", "{", "if", "(", "reg_set_p", "(", "op0", ",", "prev", ")", ")", "insn_clobbered", "=", "true", ";", "}", "if", "(", "insn_clobbered", ")", "continue", ";", "if", "(", "!", "set", ")", "continue", ";", "dest", "=", "SET_DEST", "(", "set", ")", ";", "src", "=", "SET_SRC", "(", "set", ")", ";", "if", "(", "!", "low_register_operand", "(", "dest", ",", "SImode", ")", "||", "!", "low_register_operand", "(", "src", ",", "SImode", ")", ")", "continue", ";", "if", "(", "REGNO", "(", "op0", ")", "==", "REGNO", "(", "src", ")", "||", "REGNO", "(", "op0", ")", "==", "REGNO", "(", "dest", ")", ")", "{", "dest", "=", "copy_rtx", "(", "dest", ")", ";", "src", "=", "copy_rtx", "(", "src", ")", ";", "src", "=", "gen_rtx_MINUS", "(", "SImode", ",", "src", ",", "const0_rtx", ")", ";", "PATTERN", "(", "prev", ")", "=", "gen_rtx_SET", "(", "dest", ",", "src", ")", ";", "INSN_CODE", "(", "prev", ")", "=", "-", "1", ";", "XEXP", "(", "cmp", ",", "0", ")", "=", "copy_rtx", "(", "dest", ")", ";", "INSN_CODE", "(", "insn", ")", "=", "-", "1", ";", "}", "}", "}", ""], "natrual_language": ["Rewrite", "move", "insn", "into", "subtract", "of", "0", "if", "the", "condition", "codes", "will", "be", "useful", "in", "next", "conditional", "jump", "insn", "."], "TS_V_token": ["arm", "0", "0", "1", "0", "1", "0", "1"], "File": "arm", "Func": "thumb1_reorg", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 404, "Length": 363, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "TeakInstrInfo", "::", "removeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "int", "*", "BytesRemoved", ")", "const", "{", "if", "(", "BytesRemoved", ")", "*", "BytesRemoved", "=", "0", ";", "if", "(", "MBB", ".", "empty", "(", ")", ")", "return", "0", ";", "unsigned", "NumRemoved", "=", "0", ";", "auto", "I", "=", "MBB", ".", "end", "(", ")", ";", "do", "{", "--", "I", ";", "unsigned", "Opc", "=", "I", "->", "getOpcode", "(", ")", ";", "if", "(", "Opc", "==", "Teak", "::", "BRR_rel7", "||", "Opc", "==", "Teak", "::", "BRRCond_rel7", "||", "Opc", "==", "Teak", "::", "BR_imm18", ")", "{", "auto", "ToDelete", "=", "I", ";", "if", "(", "BytesRemoved", ")", "*", "BytesRemoved", "+=", "getInstSizeInBytes", "(", "*", "ToDelete", ")", ";", "++", "I", ";", "MBB", ".", "erase", "(", "ToDelete", ")", ";", "NumRemoved", "++", ";", "}", "}", "while", "(", "I", "!=", "MBB", ".", "begin", "(", ")", ")", ";", "return", "NumRemoved", ";", "}", ""], "natrual_language": ["Remove", "the", "branching", "code", "at", "the", "end", "of", "the", "specific", "MBB", "."], "TS_V_token": ["Teak", "Teak", "0", "0", "0", "Teak::BRR_rel7", "Teak::BRRCond_rel7", "Teak::BR_imm18"], "File": "TeakInstrInfo", "Func": "removeBranch", "Target": "Teak", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 405, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "P2FrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "ArrayRef", "<", "CalleeSavedInfo", ">", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "unsigned", "CalleeFrameSize", "=", "0", ";", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "P2Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "P2Subtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "P2FunctionInfo", "*", "P2FI", "=", "MF", ".", "getInfo", "<", "P2FunctionInfo", ">", "(", ")", ";", "LLVM_DEBUG", "(", "errs", "(", ")", "<<", "\"=== Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "\" ===\\n\"", ")", ";", "LLVM_DEBUG", "(", "errs", "(", ")", "<<", "\"Spilling callee saves\\n\"", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "CSI", ".", "size", "(", ")", ";", "i", "++", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "bool", "IsNotLiveIn", "=", "!", "MBB", ".", "isLiveIn", "(", "Reg", ")", ";", "if", "(", "IsNotLiveIn", ")", "{", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "}", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "TII", ".", "storeRegToStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "false", ",", "CSI", "[", "i", "]", ".", "getFrameIdx", "(", ")", ",", "RC", ",", "TRI", ")", ";", "CalleeFrameSize", "+=", "4", ";", "LLVM_DEBUG", "(", "errs", "(", ")", "<<", "\"--- spilling \"", "<<", "Reg", "<<", "\" to index \"", "<<", "CSI", "[", "i", "]", ".", "getFrameIdx", "(", ")", "<<", "\"\\n\"", ")", ";", "}", "P2FI", "->", "setCalleeSavedFrameSize", "(", "CalleeFrameSize", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["spillCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "spill", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "store", "instructions", "via", "storeRegToStackSlot", "(", ")", "."], "TS_V_token": ["P2", "P2", "0", "P2", "P2", "P2", "P2", "P2", "\"=== Function: \"", "\" ===\\n\"", "\"Spilling callee saves\\n\"", "0", "4", "\"--- spilling \"", "\" to index \"", "\"\\n\"", "P2"], "File": "P2FrameLowering", "Func": "spillCalleeSavedRegisters", "Target": "P2", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 406, "Length": 251, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "bool", "function_base", "::", "use_mask_predication_p", "(", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["We", "choose", "to", "return", "true", "by", "default", "since", "most", "of", "the", "intrinsics", "use", "mask", "predication", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins", "Func": "use_mask_predication_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 407, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rs6000_move_128bit_ok_p", "(", "rtx", "operands", "[", "]", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "operands", "[", "0", "]", ")", ";", "return", "(", "gpc_reg_operand", "(", "operands", "[", "0", "]", ",", "mode", ")", "||", "gpc_reg_operand", "(", "operands", "[", "1", "]", ",", "mode", ")", ")", ";", "}", ""], "natrual_language": ["Validate", "a", "128-bit", "move", "."], "TS_V_token": ["powerpcspe", "0", "0", "1"], "File": "powerpcspe", "Func": "rs6000_move_128bit_ok_p", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 408, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SPIRVLegalizerInfo", "::", "legalizeCustom", "(", "LegalizerHelper", "&", "Helper", ",", "MachineInstr", "&", "MI", ")", "const", "{", "auto", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MI", ".", "getMF", "(", ")", "->", "getRegInfo", "(", ")", ";", "if", "(", "!", "isTypeFoldingSupported", "(", "Opc", ")", ")", "{", "assert", "(", "Opc", "==", "TargetOpcode", "::", "G_ICMP", ")", ";", "assert", "(", "GR", "->", "getSPIRVTypeForVReg", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", ";", "auto", "&", "Op0", "=", "MI", ".", "getOperand", "(", "2", ")", ";", "auto", "&", "Op1", "=", "MI", ".", "getOperand", "(", "3", ")", ";", "Register", "Reg0", "=", "Op0", ".", "getReg", "(", ")", ";", "Register", "Reg1", "=", "Op1", ".", "getReg", "(", ")", ";", "CmpInst", "::", "Predicate", "Cond", "=", "static_cast", "<", "CmpInst", "::", "Predicate", ">", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "getPredicate", "(", ")", ")", ";", "if", "(", "(", "!", "ST", "->", "canDirectlyComparePointers", "(", ")", "||", "(", "Cond", "!=", "CmpInst", "::", "ICMP_EQ", "&&", "Cond", "!=", "CmpInst", "::", "ICMP_NE", ")", ")", "&&", "MRI", ".", "getType", "(", "Reg0", ")", ".", "isPointer", "(", ")", "&&", "MRI", ".", "getType", "(", "Reg1", ")", ".", "isPointer", "(", ")", ")", "{", "LLT", "ConvT", "=", "LLT", "::", "scalar", "(", "ST", "->", "getPointerSize", "(", ")", ")", ";", "Type", "*", "LLVMTy", "=", "IntegerType", "::", "get", "(", "MI", ".", "getMF", "(", ")", "->", "getFunction", "(", ")", ".", "getContext", "(", ")", ",", "ST", "->", "getPointerSize", "(", ")", ")", ";", "SPIRVType", "*", "SpirvTy", "=", "GR", "->", "getOrCreateSPIRVType", "(", "LLVMTy", ",", "Helper", ".", "MIRBuilder", ")", ";", "Op0", ".", "setReg", "(", "convertPtrToInt", "(", "Reg0", ",", "ConvT", ",", "SpirvTy", ",", "Helper", ",", "MRI", ",", "GR", ")", ")", ";", "Op1", ".", "setReg", "(", "convertPtrToInt", "(", "Reg1", ",", "ConvT", ",", "SpirvTy", ",", "Helper", ",", "MRI", ",", "GR", ")", ")", ";", "}", "return", "true", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Called", "for", "instructions", "with", "the", "Custom", "LegalizationAction", "."], "TS_V_token": ["SPIRV", "SPIRV", "SPIRV", "0", "2", "3", "1", "SPIRV", "SPIRV"], "File": "SPIRVLegalizerInfo", "Func": "legalizeCustom", "Target": "SPIRV", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 409, "Length": 294, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "BasicBlock", "::", "iterator", "getInsertPt", "(", "BasicBlock", "&", "BB", ")", "{", "BasicBlock", "::", "iterator", "InsPt", "=", "BB", ".", "getFirstInsertionPt", "(", ")", ";", "for", "(", "BasicBlock", "::", "iterator", "E", "=", "BB", ".", "end", "(", ")", ";", "InsPt", "!=", "E", ";", "++", "InsPt", ")", "{", "AllocaInst", "*", "AI", "=", "dyn_cast", "<", "AllocaInst", ">", "(", "&", "*", "InsPt", ")", ";", "if", "(", "!", "AI", "||", "!", "AI", "->", "isStaticAlloca", "(", ")", ")", "break", ";", "}", "return", "InsPt", ";", "}", ""], "natrual_language": ["Current", "insertion", "point", "for", "new", "instructions", "."], "TS_V_token": ["AMDGPU"], "File": "AMDGPULowerKernelArguments1", "Func": "getInsertPt", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 410, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "s390_add_constant", "(", "struct", "constant_pool", "*", "pool", ",", "rtx", "val", ",", "machine_mode", "mode", ")", "{", "struct", "constant", "*", "c", ";", "size_t", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "NR_C_MODES", ";", "i", "++", ")", "if", "(", "constant_modes", "[", "i", "]", "==", "mode", ")", "break", ";", "gcc_assert", "(", "i", "!=", "NR_C_MODES", ")", ";", "for", "(", "c", "=", "pool", "->", "constants", "[", "i", "]", ";", "c", "!=", "NULL", ";", "c", "=", "c", "->", "next", ")", "if", "(", "rtx_equal_p", "(", "val", ",", "c", "->", "value", ")", ")", "break", ";", "if", "(", "c", "==", "NULL", ")", "{", "c", "=", "(", "struct", "constant", "*", ")", "xmalloc", "(", "sizeof", "*", "c", ")", ";", "c", "->", "value", "=", "val", ";", "c", "->", "label", "=", "gen_label_rtx", "(", ")", ";", "c", "->", "next", "=", "pool", "->", "constants", "[", "i", "]", ";", "pool", "->", "constants", "[", "i", "]", "=", "c", ";", "pool", "->", "size", "+=", "GET_MODE_SIZE", "(", "mode", ")", ";", "}", "}", ""], "natrual_language": ["Add", "constant", "VAL", "of", "mode", "MODE", "to", "the", "constant", "pool", "POOL", "."], "TS_V_token": ["s390", "0"], "File": "s390", "Func": "s390_add_constant", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 411, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "IA64RegisterInfo", "::", "getFrameRegister", "(", "MachineFunction", "&", "MF", ")", "const", "{", "return", "hasFP", "(", "MF", ")", "?", "IA64", "::", "r5", ":", "IA64", "::", "r12", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["IA64", "IA64", "IA64::r5", "IA64::r12"], "File": "IA64RegisterInfo", "Func": "getFrameRegister", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 412, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TL45InstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "printInstruction", "(", "MI", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["TL45", "TL45"], "File": "TL45InstPrinter", "Func": "printInst", "Target": "TL45", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 413, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "SparcTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "0", ";", "case", "SPISD", "::", "CMPICC", ":", "return", "\"SPISD::CMPICC\"", ";", "case", "SPISD", "::", "CMPFCC", ":", "return", "\"SPISD::CMPFCC\"", ";", "case", "SPISD", "::", "BRICC", ":", "return", "\"SPISD::BRICC\"", ";", "case", "SPISD", "::", "BRXCC", ":", "return", "\"SPISD::BRXCC\"", ";", "case", "SPISD", "::", "BRFCC", ":", "return", "\"SPISD::BRFCC\"", ";", "case", "SPISD", "::", "SELECT_ICC", ":", "return", "\"SPISD::SELECT_ICC\"", ";", "case", "SPISD", "::", "SELECT_XCC", ":", "return", "\"SPISD::SELECT_XCC\"", ";", "case", "SPISD", "::", "SELECT_FCC", ":", "return", "\"SPISD::SELECT_FCC\"", ";", "case", "SPISD", "::", "Hi", ":", "return", "\"SPISD::Hi\"", ";", "case", "SPISD", "::", "Lo", ":", "return", "\"SPISD::Lo\"", ";", "case", "SPISD", "::", "FTOI", ":", "return", "\"SPISD::FTOI\"", ";", "case", "SPISD", "::", "ITOF", ":", "return", "\"SPISD::ITOF\"", ";", "case", "SPISD", "::", "CALL", ":", "return", "\"SPISD::CALL\"", ";", "case", "SPISD", "::", "RET_FLAG", ":", "return", "\"SPISD::RET_FLAG\"", ";", "case", "SPISD", "::", "GLOBAL_BASE_REG", ":", "return", "\"SPISD::GLOBAL_BASE_REG\"", ";", "case", "SPISD", "::", "FLUSHW", ":", "return", "\"SPISD::FLUSHW\"", ";", "case", "SPISD", "::", "TLS_ADD", ":", "return", "\"SPISD::TLS_ADD\"", ";", "case", "SPISD", "::", "TLS_LD", ":", "return", "\"SPISD::TLS_LD\"", ";", "case", "SPISD", "::", "TLS_CALL", ":", "return", "\"SPISD::TLS_CALL\"", ";", "}", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["Sparc", "Sparc", "0", "SPISD::CMPICC", "\"SPISD::CMPICC\"", "SPISD::CMPFCC", "\"SPISD::CMPFCC\"", "SPISD::BRICC", "\"SPISD::BRICC\"", "SPISD::BRXCC", "\"SPISD::BRXCC\"", "SPISD::BRFCC", "\"SPISD::BRFCC\"", "SPISD::SELECT_ICC", "\"SPISD::SELECT_ICC\"", "SPISD::SELECT_XCC", "\"SPISD::SELECT_XCC\"", "SPISD::SELECT_FCC", "\"SPISD::SELECT_FCC\"", "SPISD::Hi", "\"SPISD::Hi\"", "SPISD::Lo", "\"SPISD::Lo\"", "SPISD::FTOI", "\"SPISD::FTOI\"", "SPISD::ITOF", "\"SPISD::ITOF\"", "SPISD::CALL", "\"SPISD::CALL\"", "SPISD::RET_FLAG", "\"SPISD::RET_FLAG\"", "SPISD::GLOBAL_BASE_REG", "\"SPISD::GLOBAL_BASE_REG\"", "SPISD::FLUSHW", "\"SPISD::FLUSHW\"", "SPISD::TLS_ADD", "\"SPISD::TLS_ADD\"", "SPISD::TLS_LD", "\"SPISD::TLS_LD\"", "SPISD::TLS_CALL", "\"SPISD::TLS_CALL\""], "File": "SparcISelLowering87", "Func": "getTargetNodeName", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 414, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMRegisterInfo", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "if", "(", "!", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "MachineInstr", "*", "Old", "=", "I", ";", "DebugLoc", "dl", "=", "Old", "->", "getDebugLoc", "(", ")", ";", "unsigned", "Amount", "=", "Old", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "Amount", "!=", "0", ")", "{", "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "unsigned", "Align", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", "->", "getStackAlignment", "(", ")", ";", "Amount", "=", "(", "Amount", "+", "Align", "-", "1", ")", "/", "Align", "*", "Align", ";", "unsigned", "Opc", "=", "Old", "->", "getOpcode", "(", ")", ";", "bool", "isThumb", "=", "AFI", "->", "isThumbFunction", "(", ")", ";", "ARMCC", "::", "CondCodes", "Pred", "=", "isThumb", "?", "ARMCC", "::", "AL", ":", "(", "ARMCC", "::", "CondCodes", ")", "Old", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "if", "(", "Opc", "==", "ARM", "::", "ADJCALLSTACKDOWN", "||", "Opc", "==", "ARM", "::", "tADJCALLSTACKDOWN", ")", "{", "unsigned", "PredReg", "=", "isThumb", "?", "0", ":", "Old", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ";", "emitSPUpdate", "(", "MBB", ",", "I", ",", "-", "Amount", ",", "Pred", ",", "PredReg", ",", "isThumb", ",", "TII", ",", "*", "this", ",", "dl", ")", ";", "}", "else", "{", "unsigned", "PredReg", "=", "isThumb", "?", "0", ":", "Old", "->", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", ";", "assert", "(", "Opc", "==", "ARM", "::", "ADJCALLSTACKUP", "||", "Opc", "==", "ARM", "::", "tADJCALLSTACKUP", ")", ";", "emitSPUpdate", "(", "MBB", ",", "I", ",", "Amount", ",", "Pred", ",", "PredReg", ",", "isThumb", ",", "TII", ",", "*", "this", ",", "dl", ")", ";", "}", "}", "}", "MBB", ".", "erase", "(", "I", ")", ";", "}", ""], "natrual_language": ["This", "method", "is", "called", "during", "prolog/epilog", "code", "insertion", "to", "eliminate", "call", "frame", "setup", "and", "destroy", "pseudo", "instructions", "(", "but", "only", "if", "the", "Target", "is", "using", "them", ")", "."], "TS_V_token": ["ARM", "ARM", "0", "0", "ARM", "ARM", "1", "ARMCC::CondCodes", "ARMCC::AL", "ARMCC::CondCodes", "1", "ARM::ADJCALLSTACKDOWN", "ARM::tADJCALLSTACKDOWN", "0", "2", "0", "3", "ARM::ADJCALLSTACKUP", "ARM::tADJCALLSTACKUP"], "File": "ARMRegisterInfo13", "Func": "eliminateCallFramePseudoInstr", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 415, "Length": 279, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "XCoreRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "TargetFrameInfo", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", ";", "Reserved", ".", "set", "(", "XCore", "::", "CP", ")", ";", "Reserved", ".", "set", "(", "XCore", "::", "DP", ")", ";", "Reserved", ".", "set", "(", "XCore", "::", "SP", ")", ";", "Reserved", ".", "set", "(", "XCore", "::", "LR", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "{", "Reserved", ".", "set", "(", "XCore", "::", "R10", ")", ";", "}", "return", "Reserved", ";", "}", ""], "natrual_language": ["getReservedRegs", "-", "Returns", "a", "bitset", "indexed", "by", "physical", "register", "number", "indicating", "if", "a", "register", "is", "a", "special", "register", "that", "has", "particular", "uses", "and", "should", "be", "considered", "unavailable", "at", "all", "times", ",", "e.g", "."], "TS_V_token": ["XCore", "XCore", "XCore::CP", "XCore::DP", "XCore::SP", "XCore::LR", "XCore::R10"], "File": "XCoreRegisterInfo19", "Func": "getReservedRegs", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 416, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "XtensaTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "XtensaPassConfig", "(", "*", "this", ",", "PM", ")", ";", "}", ""], "natrual_language": ["Create", "a", "pass", "configuration", "object", "to", "be", "used", "by", "addPassToEmitX", "methods", "for", "generating", "a", "pipeline", "of", "CodeGen", "passes", "."], "TS_V_token": ["Xtensa", "Xtensa", "Xtensa"], "File": "XtensaTargetMachine1", "Func": "createPassConfig", "Target": "Xtensa", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 417, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MipsInstrInfo", "*", "MipsInstrInfo", "::", "create", "(", "MipsTargetMachine", "&", "TM", ")", "{", "if", "(", "TM", ".", "getSubtargetImpl", "(", ")", "->", "inMips16Mode", "(", ")", ")", "return", "llvm", "::", "createMips16InstrInfo", "(", "TM", ")", ";", "return", "llvm", "::", "createMipsSEInstrInfo", "(", "TM", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MipsInstrInfo1", "Func": "create", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 418, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SPIRVAsmPrinter", "::", "emitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "if", "(", "!", "MAI", "->", "getSkipEmission", "(", "MI", ")", ")", "outputInstruction", "(", "MI", ")", ";", "const", "MachineInstr", "*", "NextMI", "=", "MI", "->", "getNextNode", "(", ")", ";", "if", "(", "!", "MAI", "->", "hasMBBRegister", "(", "*", "MI", "->", "getParent", "(", ")", ")", "&&", "isFuncOrHeaderInstr", "(", "MI", ",", "TII", ")", "&&", "(", "!", "NextMI", "||", "!", "isFuncOrHeaderInstr", "(", "NextMI", ",", "TII", ")", ")", ")", "{", "assert", "(", "MI", "->", "getParent", "(", ")", "->", "getNumber", "(", ")", "==", "MF", "->", "front", "(", ")", ".", "getNumber", "(", ")", "&&", "\"OpFunction is not in the front MBB of MF\"", ")", ";", "emitOpLabel", "(", "*", "MI", "->", "getParent", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["Targets", "should", "implement", "this", "to", "emit", "instructions", "."], "TS_V_token": ["SPIRV", "SPIRV", "\"OpFunction is not in the front MBB of MF\""], "File": "SPIRVAsmPrinter", "Func": "emitInstruction", "Target": "SPIRV", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 419, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "equals", "(", "const", "ARMConstantPoolMBB", "*", "A", ")", "const", "{", "return", "MBB", "==", "A", "->", "MBB", "&&", "ARMConstantPoolValue", "::", "equals", "(", "A", ")", ";", "}", ""], "natrual_language": ["equals", "-", "Check", "for", "string", "equality", ",", "this", "is", "more", "efficient", "than", "compare", "(", ")", "when", "the", "relative", "ordering", "of", "inequal", "strings", "is", "n't", "needed", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMConstantPoolValue", "Func": "equals", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 420, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "eco32_print_operand_address", "(", "FILE", "*", "file", ",", "rtx", "x", ")", "{", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "REG", ":", "fprintf", "(", "file", ",", "\"%s,0\"", ",", "reg_names", "[", "REGNO", "(", "x", ")", "]", ")", ";", "break", ";", "case", "PLUS", ":", "switch", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "{", "case", "CONST_INT", ":", "fprintf", "(", "file", ",", "\"%s,%ld\"", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ",", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", ";", "break", ";", "case", "SYMBOL_REF", ":", "fprintf", "(", "file", ",", "\"%s,\"", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ")", ";", "output_addr_const", "(", "file", ",", "XEXP", "(", "x", ",", "1", ")", ")", ";", "break", ";", "case", "CONST", ":", "{", "rtx", "plus", "=", "XEXP", "(", "XEXP", "(", "x", ",", "1", ")", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "plus", ",", "0", ")", ")", "==", "SYMBOL_REF", "&&", "CONST_INT_P", "(", "XEXP", "(", "plus", ",", "1", ")", ")", ")", "{", "fprintf", "(", "file", ",", "\"%s,\"", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ")", ";", "output_addr_const", "(", "file", ",", "plus", ")", ";", "}", "else", "abort", "(", ")", ";", "}", "break", ";", "default", ":", "abort", "(", ")", ";", "}", "break", ";", "default", ":", "output_addr_const", "(", "file", ",", "x", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["The", "PRINT_OPERAND_ADDRESS", "worker", "."], "TS_V_token": ["eco32", "\"%s,0\"", "1", "\"%s,%ld\"", "0", "1", "\"%s,\"", "0", "1", "1", "0", "0", "1", "\"%s,\"", "0"], "File": "eco32", "Func": "eco32_print_operand_address", "Target": "eco32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 421, "Length": 229, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_mov_long_double_fpa_from_arm", "(", "rtx", "*", "operands", ")", "{", "int", "arm_reg0", "=", "REGNO", "(", "operands", "[", "1", "]", ")", ";", "rtx", "ops", "[", "3", "]", ";", "gcc_assert", "(", "arm_reg0", "!=", "IP_REGNUM", ")", ";", "ops", "[", "0", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "arm_reg0", ")", ";", "ops", "[", "1", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "1", "+", "arm_reg0", ")", ";", "ops", "[", "2", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "2", "+", "arm_reg0", ")", ";", "output_asm_insn", "(", "\"stm%?fd\\t%|sp!, {%0, %1, %2}\"", ",", "ops", ")", ";", "output_asm_insn", "(", "\"ldf%?e\\t%0, [%|sp], #12\"", ",", "operands", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Output", "a", "move", "from", "arm", "registers", "to", "an", "fpa", "registers", ".", "OPERANDS", "[", "0", "]", "is", "an", "fpa", "register", ".", "OPERANDS", "[", "1", "]", "is", "the", "first", "registers", "of", "an", "arm", "register", "pair", "."], "TS_V_token": ["arm", "1", "3", "0", "1", "1", "2", "2", "\"stm%?fd\\t%|sp!, {%0, %1, %2}\"", "\"ldf%?e\\t%0, [%|sp], #12\"", "\"\""], "File": "arm3", "Func": "output_mov_long_double_fpa_from_arm", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 422, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "SparcDisassembler", "::", "getInstruction", "(", "MCInst", "&", "instr", ",", "uint64_t", "&", "Size", ",", "const", "MemoryObject", "&", "Region", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "vStream", ",", "raw_ostream", "&", "cStream", ")", "const", "{", "uint32_t", "Insn", ";", "DecodeStatus", "Result", "=", "readInstruction32", "(", "Region", ",", "Address", ",", "Size", ",", "Insn", ")", ";", "if", "(", "Result", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";", "Result", "=", "decodeInstruction", "(", "DecoderTableSparc32", ",", "instr", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "{", "Size", "=", "4", ";", "return", "Result", ";", "}", "return", "MCDisassembler", "::", "Fail", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "4"], "File": "SparcDisassembler", "Func": "getInstruction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 423, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonTargetMachine", "::", "registerPassBuilderCallbacks", "(", "PassBuilder", "&", "PB", ",", "bool", "DebugPassManager", ")", "{", "PB", ".", "registerOptimizerLastEPCallback", "(", "[", "=", "]", "(", "ModulePassManager", "&", "MPM", ",", "PassBuilder", "::", "OptimizationLevel", "Level", ")", "{", "LoopPassManager", "LPM", "(", "DebugPassManager", ")", ";", "FunctionPassManager", "FPM", "(", "DebugPassManager", ")", ";", "LPM", ".", "addPass", "(", "HexagonVectorLoopCarriedReusePass", "(", ")", ")", ";", "FPM", ".", "addPass", "(", "createFunctionToLoopPassAdaptor", "(", "std", "::", "move", "(", "LPM", ")", ")", ")", ";", "MPM", ".", "addPass", "(", "createModuleToFunctionPassAdaptor", "(", "std", "::", "move", "(", "FPM", ")", ")", ")", ";", "}", ")", ";", "}", ""], "natrual_language": ["Invoke", "the", "PassBuilder", "callback", "registration", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon"], "File": "HexagonTargetMachine8", "Func": "registerPassBuilderCallbacks", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 424, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "call_properties", "(", "const", "function_instance", "&", ")", "const", "override", "{", "return", "CP_WRITE_MEMORY", ";", "}", ""], "natrual_language": ["Default", "implementation", "of", "function_base", ":", ":call_properties", ",", "with", "conservatively", "correct", "behavior", "for", "floating-point", "instructions", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins-base3", "Func": "call_properties", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 425, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_encode_section_info", "(", "tree", "decl", ",", "rtx", "rtl", ",", "int", "first", ")", "{", "default_encode_section_info", "(", "decl", ",", "rtl", ",", "first", ")", ";", "if", "(", "TREE_CODE", "(", "decl", ")", "==", "VAR_DECL", "&&", "(", "TREE_STATIC", "(", "decl", ")", "||", "DECL_EXTERNAL", "(", "decl", ")", ")", "&&", "ix86_in_large_data_p", "(", "decl", ")", ")", "SYMBOL_REF_FLAGS", "(", "XEXP", "(", "rtl", ",", "0", ")", ")", "|=", "SYMBOL_FLAG_FAR_ADDR", ";", "}", ""], "natrual_language": ["Implements", "target", "vector", "targetm.asm.encode_section_info", "."], "TS_V_token": ["i386", "0"], "File": "i3863", "Func": "ix86_encode_section_info", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 426, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "visium_trampoline_init", "(", "rtx", "m_tramp", ",", "tree", "fndecl", ",", "rtx", "static_chain", ")", "{", "rtx", "fnaddr", "=", "XEXP", "(", "DECL_RTL", "(", "fndecl", ")", ",", "0", ")", ";", "rtx", "addr", "=", "XEXP", "(", "m_tramp", ",", "0", ")", ";", "emit_move_insn", "(", "gen_rtx_MEM", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "addr", ",", "0", ")", ")", ",", "plus_constant", "(", "SImode", ",", "expand_shift", "(", "RSHIFT_EXPR", ",", "SImode", ",", "fnaddr", ",", "16", ",", "NULL_RTX", ",", "1", ")", ",", "0x04a90000", ")", ")", ";", "emit_move_insn", "(", "gen_rtx_MEM", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "addr", ",", "4", ")", ")", ",", "plus_constant", "(", "SImode", ",", "expand_and", "(", "SImode", ",", "fnaddr", ",", "GEN_INT", "(", "0xffff", ")", ",", "NULL_RTX", ")", ",", "0x04890000", ")", ")", ";", "if", "(", "visium_cpu", "==", "PROCESSOR_GR6", ")", "{", "gcc_assert", "(", "TRAMPOLINE_ALIGNMENT", ">=", "64", ")", ";", "emit_move_insn", "(", "gen_rtx_MEM", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "addr", ",", "12", ")", ")", ",", "gen_int_mode", "(", "0", ",", "SImode", ")", ")", ";", "}", "emit_move_insn", "(", "gen_rtx_MEM", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "addr", ",", "8", ")", ")", ",", "plus_constant", "(", "SImode", ",", "expand_shift", "(", "RSHIFT_EXPR", ",", "SImode", ",", "static_chain", ",", "16", ",", "NULL_RTX", ",", "1", ")", ",", "0x04b40000", ")", ")", ";", "emit_move_insn", "(", "gen_rtx_MEM", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "addr", ",", "12", ")", ")", ",", "gen_int_mode", "(", "0xff892404", ",", "SImode", ")", ")", ";", "emit_move_insn", "(", "gen_rtx_MEM", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "addr", ",", "16", ")", ")", ",", "plus_constant", "(", "SImode", ",", "expand_and", "(", "SImode", ",", "static_chain", ",", "GEN_INT", "(", "0xffff", ")", ",", "NULL_RTX", ")", ",", "0x04940000", ")", ")", ";", "emit_library_call", "(", "set_trampoline_parity_libfunc", ",", "LCT_NORMAL", ",", "VOIDmode", ",", "addr", ",", "SImode", ")", ";", "}", ""], "natrual_language": ["Initialize", "a", "trampoline", ".", "M_TRAMP", "is", "an", "RTX", "for", "the", "memory", "block", "for", "the", "trampoline", ",", "FNDECL", "is", "the", "FUNCTION_DECL", "for", "the", "nested", "function", "and", "STATIC_CHAIN", "is", "an", "RTX", "for", "the", "static", "chain", "value", "that", "should", "be", "passed", "to", "the", "function", "when", "it", "is", "called", "."], "TS_V_token": ["visium", "0", "0", "0", "16", "1", "0x04a90000", "4", "0xffff", "0x04890000", "64", "12", "0", "8", "16", "1", "0x04b40000", "12", "0xff892404", "16", "0xffff", "0x04940000"], "File": "visium", "Func": "visium_trampoline_init", "Target": "visium", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 427, "Length": 268, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "visium_handle_interrupt_attr", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", "args", "ATTRIBUTE_UNUSED", ",", "int", "flags", "ATTRIBUTE_UNUSED", ",", "bool", "*", "no_add_attrs", ")", "{", "if", "(", "TREE_CODE", "(", "*", "node", ")", "!=", "FUNCTION_DECL", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qE attribute only applies to functions\"", ",", "name", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "else", "if", "(", "!", "TARGET_SV_MODE", ")", "{", "error", "(", "\"an interrupt handler cannot be compiled with %<-muser-mode%>\"", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Handle", "an", "``", "interrupt_handler", "''", "attribute", ";", "arguments", "as", "in", "struct", "attribute_spec.handler", "."], "TS_V_token": ["visium", "\"%qE attribute only applies to functions\"", "\"an interrupt handler cannot be compiled with %<-muser-mode%>\""], "File": "visium", "Func": "visium_handle_interrupt_attr", "Target": "visium", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 428, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "tilepro_output_simple_cbranch_with_opcode", "(", "rtx_insn", "*", "insn", ",", "const", "char", "*", "opcode", ",", "int", "regop", ",", "bool", "netreg_p", ",", "bool", "reverse_predicted", ")", "{", "static", "char", "buf", "[", "64", "]", ";", "sprintf", "(", "buf", ",", "\"%s%s\\t%%%c%d, %%l0\"", ",", "opcode", ",", "(", "cbranch_predicted_p", "(", "insn", ")", "^", "reverse_predicted", ")", "?", "\"t\"", ":", "\"\"", ",", "netreg_p", "?", "'N'", ":", "'r'", ",", "regop", ")", ";", "return", "buf", ";", "}", ""], "natrual_language": ["Output", "assembly", "code", "for", "a", "specific", "branch", "instruction", ",", "appending", "the", "branch", "prediction", "flag", "to", "the", "opcode", "if", "appropriate", "."], "TS_V_token": ["tilepro", "64", "\"%s%s\\t%%%c%d, %%l0\"", "\"t\"", "\"\""], "File": "tilepro", "Func": "tilepro_output_simple_cbranch_with_opcode", "Target": "tilepro", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 429, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "emit_frame_save", "(", "rtx", "frame_reg", ",", "machine_mode", "mode", ",", "unsigned", "int", "regno", ",", "int", "offset", ",", "HOST_WIDE_INT", "frame_reg_to_sp", ")", "{", "rtx", "reg", ";", "gcc_checking_assert", "(", "!", "(", "(", "TARGET_ALTIVEC_ABI", "&&", "ALTIVEC_VECTOR_MODE", "(", "mode", ")", ")", "||", "(", "TARGET_VSX", "&&", "ALTIVEC_OR_VSX_VECTOR_MODE", "(", "mode", ")", ")", "||", "(", "TARGET_E500_DOUBLE", "&&", "mode", "==", "DFmode", ")", "||", "(", "TARGET_SPE_ABI", "&&", "SPE_VECTOR_MODE", "(", "mode", ")", "&&", "!", "SPE_CONST_OFFSET_OK", "(", "offset", ")", ")", ")", ")", ";", "reg", "=", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "rtx_insn", "*", "insn", "=", "emit_insn", "(", "gen_frame_store", "(", "reg", ",", "frame_reg", ",", "offset", ")", ")", ";", "return", "rs6000_frame_related", "(", "insn", ",", "frame_reg", ",", "frame_reg_to_sp", ",", "NULL_RTX", ",", "NULL_RTX", ")", ";", "}", ""], "natrual_language": ["Save", "a", "register", "into", "the", "frame", ",", "and", "emit", "RTX_FRAME_RELATED_P", "notes", ".", "Save", "REGNO", "into", "[", "FRAME_REG", "+", "OFFSET", "]", "in", "mode", "MODE", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "emit_frame_save", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 430, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "scalar_chain", "::", "make_vector_copies", "(", "rtx_insn", "*", "insn", ",", "rtx", "reg", ")", "{", "rtx", "vreg", "=", "*", "defs_map", ".", "get", "(", "reg", ")", ";", "start_sequence", "(", ")", ";", "if", "(", "!", "TARGET_INTER_UNIT_MOVES_TO_VEC", ")", "{", "rtx", "tmp", "=", "assign_386_stack_local", "(", "smode", ",", "SLOT_STV_TEMP", ")", ";", "if", "(", "smode", "==", "DImode", "&&", "!", "TARGET_64BIT", ")", "{", "emit_move_insn", "(", "adjust_address", "(", "tmp", ",", "SImode", ",", "0", ")", ",", "gen_rtx_SUBREG", "(", "SImode", ",", "reg", ",", "0", ")", ")", ";", "emit_move_insn", "(", "adjust_address", "(", "tmp", ",", "SImode", ",", "4", ")", ",", "gen_rtx_SUBREG", "(", "SImode", ",", "reg", ",", "4", ")", ")", ";", "}", "else", "emit_move_insn", "(", "copy_rtx", "(", "tmp", ")", ",", "reg", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "gen_rtx_SUBREG", "(", "vmode", ",", "vreg", ",", "0", ")", ",", "gen_gpr_to_xmm_move_src", "(", "vmode", ",", "tmp", ")", ")", ")", ";", "}", "else", "if", "(", "!", "TARGET_64BIT", "&&", "smode", "==", "DImode", ")", "{", "if", "(", "TARGET_SSE4_1", ")", "{", "emit_insn", "(", "gen_sse2_loadld", "(", "gen_rtx_SUBREG", "(", "V4SImode", ",", "vreg", ",", "0", ")", ",", "CONST0_RTX", "(", "V4SImode", ")", ",", "gen_rtx_SUBREG", "(", "SImode", ",", "reg", ",", "0", ")", ")", ")", ";", "emit_insn", "(", "gen_sse4_1_pinsrd", "(", "gen_rtx_SUBREG", "(", "V4SImode", ",", "vreg", ",", "0", ")", ",", "gen_rtx_SUBREG", "(", "V4SImode", ",", "vreg", ",", "0", ")", ",", "gen_rtx_SUBREG", "(", "SImode", ",", "reg", ",", "4", ")", ",", "GEN_INT", "(", "2", ")", ")", ")", ";", "}", "else", "{", "rtx", "tmp", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "emit_insn", "(", "gen_sse2_loadld", "(", "gen_rtx_SUBREG", "(", "V4SImode", ",", "vreg", ",", "0", ")", ",", "CONST0_RTX", "(", "V4SImode", ")", ",", "gen_rtx_SUBREG", "(", "SImode", ",", "reg", ",", "0", ")", ")", ")", ";", "emit_insn", "(", "gen_sse2_loadld", "(", "gen_rtx_SUBREG", "(", "V4SImode", ",", "tmp", ",", "0", ")", ",", "CONST0_RTX", "(", "V4SImode", ")", ",", "gen_rtx_SUBREG", "(", "SImode", ",", "reg", ",", "4", ")", ")", ")", ";", "emit_insn", "(", "gen_vec_interleave_lowv4si", "(", "gen_rtx_SUBREG", "(", "V4SImode", ",", "vreg", ",", "0", ")", ",", "gen_rtx_SUBREG", "(", "V4SImode", ",", "vreg", ",", "0", ")", ",", "gen_rtx_SUBREG", "(", "V4SImode", ",", "tmp", ",", "0", ")", ")", ")", ";", "}", "}", "else", "emit_insn", "(", "gen_rtx_SET", "(", "gen_rtx_SUBREG", "(", "vmode", ",", "vreg", ",", "0", ")", ",", "gen_gpr_to_xmm_move_src", "(", "vmode", ",", "reg", ")", ")", ")", ";", "rtx_insn", "*", "seq", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "emit_conversion_insns", "(", "seq", ",", "insn", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\" Copied r%d to a vector register r%d for insn %d\\n\"", ",", "REGNO", "(", "reg", ")", ",", "REGNO", "(", "vreg", ")", ",", "INSN_UID", "(", "insn", ")", ")", ";", "}", ""], "natrual_language": ["Make", "vector", "copies", "for", "all", "register", "REGNO", "definitions", "and", "replace", "its", "uses", "in", "a", "chain", "."], "TS_V_token": ["i386", "0", "0", "4", "4", "0", "0", "0", "0", "0", "4", "2", "0", "0", "0", "4", "0", "0", "0", "0", "\" Copied r%d to a vector register r%d for insn %d\\n\""], "File": "i386-features1", "Func": "make_vector_copies", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 431, "Length": 387, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_lea_outperforms", "(", "rtx_insn", "*", "insn", ",", "unsigned", "int", "regno0", ",", "unsigned", "int", "regno1", ",", "unsigned", "int", "regno2", ",", "int", "split_cost", ",", "bool", "has_scale", ")", "{", "int", "dist_define", ",", "dist_use", ";", "if", "(", "!", "TARGET_CPU_P", "(", "BONNELL", ")", ")", "{", "if", "(", "has_scale", ")", "return", "true", ";", "if", "(", "split_cost", "<", "1", ")", "return", "false", ";", "if", "(", "regno0", "==", "regno1", "||", "regno0", "==", "regno2", ")", "return", "false", ";", "return", "true", ";", "}", "struct", "recog_data_d", "recog_data_save", "=", "recog_data", ";", "dist_define", "=", "distance_non_agu_define", "(", "regno1", ",", "regno2", ",", "insn", ")", ";", "dist_use", "=", "distance_agu_use", "(", "regno0", ",", "insn", ")", ";", "recog_data", "=", "recog_data_save", ";", "if", "(", "dist_define", "<", "0", "||", "dist_define", ">=", "LEA_MAX_STALL", ")", "{", "if", "(", "dist_use", "<", "0", "&&", "split_cost", "==", "0", ")", "return", "TARGET_64BIT", "||", "IX86_LEA_PRIORITY", ";", "else", "return", "true", ";", "}", "dist_define", "+=", "split_cost", "+", "IX86_LEA_PRIORITY", ";", "if", "(", "dist_use", "<", "0", ")", "return", "dist_define", ">", "LEA_MAX_STALL", ";", "return", "dist_define", ">=", "dist_use", ";", "}", ""], "natrual_language": ["Return", "true", "if", "usage", "of", "lea", "INSN", "has", "performance", "advantage", "over", "a", "sequence", "of", "instructions", ".", "Instructions", "sequence", "has", "SPLIT_COST", "cycles", "higher", "latency", "than", "lea", "latency", "."], "TS_V_token": ["i386", "1", "0", "0", "0", "0"], "File": "i386", "Func": "ix86_lea_outperforms", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 432, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", ",", "unsigned", "Alignment", ",", "MachineMemOperand", "::", "Flags", ",", "bool", "*", "Fast", ")", "const", "{", "if", "(", "!", "VT", ".", "isSimple", "(", ")", ")", "return", "false", ";", "bool", "AllowsUnaligned", "=", "Subtarget", "->", "allowsUnalignedMem", "(", ")", ";", "auto", "Ty", "=", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ";", "if", "(", "Ty", "==", "MVT", "::", "i8", "||", "Ty", "==", "MVT", "::", "i16", "||", "Ty", "==", "MVT", "::", "i32", ")", "{", "if", "(", "AllowsUnaligned", ")", "{", "if", "(", "Fast", ")", "*", "Fast", "=", "Subtarget", "->", "hasV7Ops", "(", ")", ";", "return", "true", ";", "}", "}", "if", "(", "Ty", "==", "MVT", "::", "f64", "||", "Ty", "==", "MVT", "::", "v2f64", ")", "{", "if", "(", "Subtarget", "->", "hasNEON", "(", ")", "&&", "(", "AllowsUnaligned", "||", "Subtarget", "->", "isLittle", "(", ")", ")", ")", "{", "if", "(", "Fast", ")", "*", "Fast", "=", "true", ";", "return", "true", ";", "}", "}", "if", "(", "!", "Subtarget", "->", "hasMVEIntegerOps", "(", ")", ")", "return", "false", ";", "if", "(", "Ty", "!=", "MVT", "::", "v16i8", "&&", "Ty", "!=", "MVT", "::", "v8i16", "&&", "Ty", "!=", "MVT", "::", "v8f16", "&&", "Ty", "!=", "MVT", "::", "v4i32", "&&", "Ty", "!=", "MVT", "::", "v4f32", "&&", "Ty", "!=", "MVT", "::", "v2i64", "&&", "Ty", "!=", "MVT", "::", "v2f64", "&&", "Ty", "!=", "MVT", "::", "v4i8", "&&", "Ty", "!=", "MVT", "::", "v8i8", "&&", "Ty", "!=", "MVT", "::", "v4i16", ")", "return", "false", ";", "if", "(", "Subtarget", "->", "isLittle", "(", ")", ")", "{", "if", "(", "Fast", ")", "*", "Fast", "=", "true", ";", "return", "true", ";", "}", "else", "{", "if", "(", "Ty", "==", "MVT", "::", "v16i8", "||", "(", "(", "Ty", "==", "MVT", "::", "v8i16", "||", "Ty", "==", "MVT", "::", "v8f16", ")", "&&", "Alignment", ">=", "2", ")", "||", "(", "(", "Ty", "==", "MVT", "::", "v4i32", "||", "Ty", "==", "MVT", "::", "v4f32", ")", "&&", "Alignment", ">=", "4", ")", ")", "{", "if", "(", "Fast", ")", "*", "Fast", "=", "true", ";", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "allows", "unaligned", "memory", "accesses", "of", "the", "specified", "type", "."], "TS_V_token": ["ARM", "ARM", "MVT::i8", "MVT::i16", "MVT::i32", "MVT::f64", "MVT::v2f64", "MVT::v16i8", "MVT::v8i16", "MVT::v8f16", "MVT::v4i32", "MVT::v4f32", "MVT::v2i64", "MVT::v2f64", "MVT::v4i8", "MVT::v8i8", "MVT::v4i16", "MVT::v16i8", "MVT::v8i16", "MVT::v8f16", "2", "MVT::v4i32", "MVT::v4f32", "4"], "File": "ARMISelLowering10", "Func": "allowsMisalignedMemoryAccesses", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 433, "Length": 315, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ia64_emit_cond_move", "(", "rtx", "op0", ",", "rtx", "op1", ",", "rtx", "cond", ")", "{", "rtx", "insn", ",", "first", "=", "get_last_insn", "(", ")", ";", "emit_move_insn", "(", "op0", ",", "op1", ")", ";", "for", "(", "insn", "=", "get_last_insn", "(", ")", ";", "insn", "!=", "first", ";", "insn", "=", "PREV_INSN", "(", "insn", ")", ")", "if", "(", "INSN_P", "(", "insn", ")", ")", "PATTERN", "(", "insn", ")", "=", "gen_rtx_COND_EXEC", "(", "VOIDmode", ",", "copy_rtx", "(", "cond", ")", ",", "PATTERN", "(", "insn", ")", ")", ";", "}", ""], "natrual_language": ["Split", "a", "move", "from", "OP1", "to", "OP0", "conditional", "on", "COND", "."], "TS_V_token": ["ia64"], "File": "ia643", "Func": "ia64_emit_cond_move", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 434, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HCE", "::", "collect", "(", "MachineFunction", "&", "MF", ")", "{", "Extenders", ".", "clear", "(", ")", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "if", "(", "MBB", ".", "getNumber", "(", ")", "==", "-", "1", ")", "continue", ";", "for", "(", "MachineInstr", "&", "MI", ":", "MBB", ")", "collectInstr", "(", "MI", ")", ";", "}", "}", ""], "natrual_language": ["Analyze", "the", "given", "instruction", "MI", "and", "fill", "in", "the", "Uses", ",", "Defs", "and", "DeadDefs", "list", "based", "on", "the", "MachineOperand", "flags", "."], "TS_V_token": ["Hexagon", "1"], "File": "HexagonConstExtenders (2)", "Func": "collect", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 435, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mt_function_arg_advance", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "enum", "machine_mode", "mode", ",", "tree", "type", "ATTRIBUTE_UNUSED", ",", "int", "named", ")", "{", "int", "slotno", ",", "regno", ";", "slotno", "=", "mt_function_arg_slotno", "(", "cum", ",", "mode", ",", "type", ",", "named", ",", "0", ",", "&", "regno", ")", ";", "*", "cum", "+=", "(", "mode", "!=", "BLKmode", "?", "ROUND_ADVANCE", "(", "GET_MODE_SIZE", "(", "mode", ")", ")", ":", "ROUND_ADVANCE", "(", "int_size_in_bytes", "(", "type", ")", ")", ")", ";", "if", "(", "TARGET_DEBUG_ARG", ")", "fprintf", "(", "stderr", ",", "\"mt_function_arg_advance: words = %2d, mode = %4s, named = %d, size = %3d\\n\"", ",", "*", "cum", ",", "GET_MODE_NAME", "(", "mode", ")", ",", "named", ",", "(", "*", "cum", ")", "*", "UNITS_PER_WORD", ")", ";", "}", ""], "natrual_language": ["Implement", "FUNCTION_ARG_ADVANCE", "."], "TS_V_token": ["mt", "0", "\"mt_function_arg_advance: words = %2d, mode = %4s, named = %d, size = %3d\\n\""], "File": "mt", "Func": "mt_function_arg_advance", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 436, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StackOffset", "VEFrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "Register", "&", "FrameReg", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "VERegisterInfo", "*", "RegInfo", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "const", "VEMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "VEMachineFunctionInfo", ">", "(", ")", ";", "bool", "isFixed", "=", "MFI", ".", "isFixedObjectIndex", "(", "FI", ")", ";", "int64_t", "FrameOffset", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getObjectOffset", "(", "FI", ")", ";", "if", "(", "FuncInfo", "->", "isLeafProc", "(", ")", ")", "{", "FrameReg", "=", "VE", "::", "SX11", ";", "return", "StackOffset", "::", "getFixed", "(", "FrameOffset", "+", "MF", ".", "getFrameInfo", "(", ")", ".", "getStackSize", "(", ")", ")", ";", "}", "if", "(", "RegInfo", "->", "needsStackRealignment", "(", "MF", ")", "&&", "!", "isFixed", ")", "{", "if", "(", "hasBP", "(", "MF", ")", ")", "FrameReg", "=", "VE", "::", "SX17", ";", "else", "FrameReg", "=", "VE", "::", "SX11", ";", "return", "StackOffset", "::", "getFixed", "(", "FrameOffset", "+", "MF", ".", "getFrameInfo", "(", ")", ".", "getStackSize", "(", ")", ")", ";", "}", "FrameReg", "=", "RegInfo", "->", "getFrameRegister", "(", "MF", ")", ";", "return", "StackOffset", "::", "getFixed", "(", "FrameOffset", ")", ";", "}", ""], "natrual_language": ["getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "."], "TS_V_token": ["VE", "VE", "VE", "VE", "VE", "VE::SX11", "VE::SX17", "VE::SX11"], "File": "VEFrameLowering", "Func": "getFrameIndexReference", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 437, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUAsmParser", "::", "isInlineConstant", "(", "const", "MCInst", "&", "Inst", ",", "unsigned", "OpIdx", ")", "const", "{", "const", "MCInstrDesc", "&", "Desc", "=", "MII", ".", "get", "(", "Inst", ".", "getOpcode", "(", ")", ")", ";", "if", "(", "!", "AMDGPU", "::", "isSISrcOperand", "(", "Desc", ",", "OpIdx", ")", ")", "{", "return", "false", ";", "}", "const", "MCOperand", "&", "MO", "=", "Inst", ".", "getOperand", "(", "OpIdx", ")", ";", "int64_t", "Val", "=", "MO", ".", "getImm", "(", ")", ";", "auto", "OpSize", "=", "AMDGPU", "::", "getOperandSize", "(", "Desc", ",", "OpIdx", ")", ";", "switch", "(", "OpSize", ")", "{", "case", "8", ":", "return", "AMDGPU", "::", "isInlinableLiteral64", "(", "Val", ",", "hasInv2PiInlineImm", "(", ")", ")", ";", "case", "4", ":", "return", "AMDGPU", "::", "isInlinableLiteral32", "(", "Val", ",", "hasInv2PiInlineImm", "(", ")", ")", ";", "case", "2", ":", "{", "const", "unsigned", "OperandType", "=", "Desc", ".", "OpInfo", "[", "OpIdx", "]", ".", "OperandType", ";", "if", "(", "OperandType", "==", "AMDGPU", "::", "OPERAND_REG_INLINE_C_V2INT16", "||", "OperandType", "==", "AMDGPU", "::", "OPERAND_REG_INLINE_C_V2FP16", "||", "OperandType", "==", "AMDGPU", "::", "OPERAND_REG_IMM_V2INT16", "||", "OperandType", "==", "AMDGPU", "::", "OPERAND_REG_IMM_V2FP16", ")", "{", "return", "AMDGPU", "::", "isInlinableLiteralV216", "(", "Val", ",", "hasInv2PiInlineImm", "(", ")", ")", ";", "}", "else", "{", "return", "AMDGPU", "::", "isInlinableLiteral16", "(", "Val", ",", "hasInv2PiInlineImm", "(", ")", ")", ";", "}", "}", "default", ":", "llvm_unreachable", "(", "\"invalid operand size\"", ")", ";", "}", "}", ""], "natrual_language": ["returns", "true", "if", "the", "operand", "OpIdx", "in", "MI", "is", "a", "valid", "inline", "immediate", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU::isSISrcOperand", "AMDGPU::getOperandSize", "8", "AMDGPU::isInlinableLiteral64", "4", "AMDGPU::isInlinableLiteral32", "2", "AMDGPU::OPERAND_REG_INLINE_C_V2INT16", "AMDGPU::OPERAND_REG_INLINE_C_V2FP16", "AMDGPU::OPERAND_REG_IMM_V2INT16", "AMDGPU::OPERAND_REG_IMM_V2FP16", "AMDGPU::isInlinableLiteralV216", "AMDGPU::isInlinableLiteral16", "\"invalid operand size\""], "File": "AMDGPUAsmParser35", "Func": "isInlineConstant", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 438, "Length": 198, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SparcTargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "const", "SDLoc", "&", "DL", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "if", "(", "Subtarget", "->", "is64Bit", "(", ")", ")", "return", "LowerFormalArguments_64", "(", "Chain", ",", "CallConv", ",", "IsVarArg", ",", "Ins", ",", "DL", ",", "DAG", ",", "InVals", ")", ";", "return", "LowerFormalArguments_32", "(", "Chain", ",", "CallConv", ",", "IsVarArg", ",", "Ins", ",", "DL", ",", "DAG", ",", "InVals", ")", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "the", "Ins", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["Sparc", "Sparc", "ISD::InputArg"], "File": "SparcISelLowering (2)2", "Func": "LowerFormalArguments", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 439, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "R600SchedStrategy", "::", "initialize", "(", "ScheduleDAGMI", "*", "dag", ")", "{", "DAG", "=", "dag", ";", "TII", "=", "static_cast", "<", "const", "R600InstrInfo", "*", ">", "(", "DAG", "->", "TII", ")", ";", "TRI", "=", "static_cast", "<", "const", "R600RegisterInfo", "*", ">", "(", "DAG", "->", "TRI", ")", ";", "MRI", "=", "&", "DAG", "->", "MRI", ";", "CurInstKind", "=", "IDOther", ";", "CurEmitted", "=", "0", ";", "OccupedSlotsMask", "=", "31", ";", "InstKindLimit", "[", "IDAlu", "]", "=", "TII", "->", "getMaxAlusPerClause", "(", ")", ";", "InstKindLimit", "[", "IDOther", "]", "=", "32", ";", "const", "AMDGPUSubtarget", "&", "ST", "=", "DAG", "->", "TM", ".", "getSubtarget", "<", "AMDGPUSubtarget", ">", "(", ")", ";", "InstKindLimit", "[", "IDFetch", "]", "=", "ST", ".", "getTexVTXClauseSize", "(", ")", ";", "AluInstCount", "=", "0", ";", "FetchInstCount", "=", "0", ";", "}", ""], "natrual_language": ["Initialize", "the", "strategy", "after", "building", "the", "DAG", "for", "a", "new", "region", "."], "TS_V_token": ["R600", "0", "31", "32", "0", "0"], "File": "R600MachineScheduler9", "Func": "initialize", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 440, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64InstrInfo", "::", "suppressLdStPair", "(", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "MI", ".", "memoperands_empty", "(", ")", ")", "return", ";", "(", "*", "MI", ".", "memoperands_begin", "(", ")", ")", "->", "setFlags", "(", "MOSuppressPair", ")", ";", "}", ""], "natrual_language": ["Hint", "that", "pairing", "the", "given", "load", "or", "store", "is", "unprofitable", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64InstrInfo (2)", "Func": "suppressLdStPair", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 441, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MemSelOpt", "::", "processInstruction", "(", "MachineInstr", "*", "MI", ")", "{", "bool", "Changed", "=", "false", ";", "unsigned", "NumOperands", "=", "MI", "->", "getNumOperands", "(", ")", ";", "if", "(", "NumOperands", "==", "0", ")", "return", "false", ";", "const", "TargetInstrDesc", "&", "TID", "=", "TII", "->", "get", "(", "MI", "->", "getOpcode", "(", ")", ")", ";", "if", "(", "!", "(", "TID", ".", "isCall", "(", ")", "||", "TID", ".", "mayLoad", "(", ")", "||", "TID", ".", "mayStore", "(", ")", ")", ")", "return", "false", ";", "int", "MemOpPos", "=", "-", "1", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "NumOperands", ";", "i", "++", ")", "{", "MachineOperand", "Op", "=", "MI", "->", "getOperand", "(", "i", ")", ";", "if", "(", "Op", ".", "getType", "(", ")", "==", "MachineOperand", "::", "MO_GlobalAddress", "||", "Op", ".", "getType", "(", ")", "==", "MachineOperand", "::", "MO_ExternalSymbol", ")", "{", "MemOpPos", "=", "i", ";", "break", ";", "}", "}", "if", "(", "MemOpPos", "==", "-", "1", ")", "return", "Changed", ";", "MachineOperand", "&", "Op", "=", "MI", "->", "getOperand", "(", "MemOpPos", ")", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "PIC16", "::", "CALL", ")", "{", "DebugLoc", "dl", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "BuildMI", "(", "*", "MBB", ",", "MI", ",", "dl", ",", "TII", "->", "get", "(", "PIC16", "::", "pagesel", ")", ")", ".", "addOperand", "(", "Op", ")", ";", "return", "true", ";", "}", "std", "::", "string", "NewBank", "=", "CurBank", ";", "if", "(", "Op", ".", "getType", "(", ")", "==", "MachineOperand", "::", "MO_GlobalAddress", "&&", "Op", ".", "getGlobal", "(", ")", "->", "getType", "(", ")", "->", "getAddressSpace", "(", ")", "==", "PIC16ISD", "::", "RAM_SPACE", ")", "{", "NewBank", "=", "Op", ".", "getGlobal", "(", ")", "->", "getSection", "(", ")", ";", "}", "else", "if", "(", "Op", ".", "getType", "(", ")", "==", "MachineOperand", "::", "MO_ExternalSymbol", ")", "{", "std", "::", "string", "Sym", "=", "Op", ".", "getSymbolName", "(", ")", ";", "NewBank", "=", "PAN", "::", "getSectionNameForSym", "(", "Sym", ")", ";", "}", "if", "(", "NewBank", ".", "compare", "(", "CurBank", ")", "!=", "0", ")", "{", "DebugLoc", "dl", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "BuildMI", "(", "*", "MBB", ",", "MI", ",", "dl", ",", "TII", "->", "get", "(", "PIC16", "::", "banksel", ")", ")", ".", "addOperand", "(", "Op", ")", ";", "Changed", "=", "true", ";", "CurBank", "=", "NewBank", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["Process", "a", "single", "instruction", "and", "collect", "debug", "info", "anchors", "."], "TS_V_token": ["PIC16", "0", "1", "0", "1", "PIC16::CALL", "PIC16::pagesel", "PIC16ISD::RAM_SPACE", "0", "PIC16::banksel"], "File": "PIC16MemSelOpt1", "Func": "processInstruction", "Target": "PIC16", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 442, "Length": 352, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZDAGToDAGISel", "::", "IsProfitableToFold", "(", "SDValue", "N", ",", "SDNode", "*", "U", ",", "SDNode", "*", "Root", ")", "const", "{", "if", "(", "N", ".", "getOpcode", "(", ")", "==", "ISD", "::", "LOAD", "&&", "U", "->", "getOpcode", "(", ")", "==", "SystemZISD", "::", "ICMP", ")", "{", "if", "(", "!", "N", ".", "hasOneUse", "(", ")", "||", "!", "U", "->", "hasOneUse", "(", ")", ")", "return", "false", ";", "SDNode", "*", "CCUser", "=", "*", "U", "->", "use_begin", "(", ")", ";", "SDNode", "*", "CCRegUser", "=", "nullptr", ";", "if", "(", "CCUser", "->", "getOpcode", "(", ")", "==", "ISD", "::", "CopyToReg", "||", "cast", "<", "RegisterSDNode", ">", "(", "CCUser", "->", "getOperand", "(", "1", ")", ")", "->", "getReg", "(", ")", "==", "SystemZ", "::", "CC", ")", "{", "for", "(", "auto", "*", "U", ":", "CCUser", "->", "uses", "(", ")", ")", "{", "if", "(", "CCRegUser", "==", "nullptr", ")", "CCRegUser", "=", "U", ";", "else", "if", "(", "CCRegUser", "!=", "U", ")", "return", "false", ";", "}", "}", "if", "(", "CCRegUser", "==", "nullptr", ")", "return", "false", ";", "if", "(", "CCRegUser", "->", "isMachineOpcode", "(", ")", "&&", "CCRegUser", "->", "getMachineOpcode", "(", ")", "==", "SystemZ", "::", "BRC", ")", "return", "!", "N", "->", "isPredecessorOf", "(", "CCUser", "->", "getOperand", "(", "0", ")", ".", "getNode", "(", ")", ")", ";", "if", "(", "!", "IsLegalToFold", "(", "N", ",", "U", ",", "CCRegUser", ",", "OptLevel", ",", "false", ")", ")", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["IsProfitableToFold", "-", "Returns", "true", "if", "it", "'s", "profitable", "to", "fold", "the", "specific", "operand", "node", "N", "of", "U", "during", "instruction", "selection", "that", "starts", "at", "Root", "."], "TS_V_token": ["SystemZ", "SystemZ", "ISD::LOAD", "SystemZISD::ICMP", "ISD::CopyToReg", "1", "SystemZ::CC", "SystemZ::BRC", "0"], "File": "SystemZISelDAGToDAG (2)1", "Func": "IsProfitableToFold", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 443, "Length": 215, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "AMDGPUIntrinsicInfo", "*", "getIntrinsicInfo", "(", ")", "const", "override", "{", "return", "&", "IntrinsicInfo", ";", "}", ""], "natrual_language": ["If", "intrinsic", "information", "is", "available", ",", "return", "it", ".", "If", "not", ",", "return", "null", "."], "TS_V_token": ["R600"], "File": "AMDGPUTargetMachine", "Func": "getIntrinsicInfo", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 444, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDValue", "Res", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Don't know how to custom expand this!\"", ")", ";", "case", "ISD", "::", "READ_REGISTER", ":", "ExpandREAD_REGISTER", "(", "N", ",", "Results", ",", "DAG", ")", ";", "break", ";", "case", "ISD", "::", "BITCAST", ":", "Res", "=", "ExpandBITCAST", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "break", ";", "case", "ISD", "::", "SRL", ":", "case", "ISD", "::", "SRA", ":", "case", "ISD", "::", "SHL", ":", "Res", "=", "Expand64BitShift", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "break", ";", "case", "ISD", "::", "SREM", ":", "case", "ISD", "::", "UREM", ":", "Res", "=", "LowerREM", "(", "N", ",", "DAG", ")", ";", "break", ";", "case", "ISD", "::", "SDIVREM", ":", "case", "ISD", "::", "UDIVREM", ":", "Res", "=", "LowerDivRem", "(", "SDValue", "(", "N", ",", "0", ")", ",", "DAG", ")", ";", "assert", "(", "Res", ".", "getNumOperands", "(", ")", "==", "2", "&&", "\"DivRem needs two values\"", ")", ";", "Results", ".", "push_back", "(", "Res", ".", "getValue", "(", "0", ")", ")", ";", "Results", ".", "push_back", "(", "Res", ".", "getValue", "(", "1", ")", ")", ";", "return", ";", "case", "ISD", "::", "SADDSAT", ":", "case", "ISD", "::", "SSUBSAT", ":", "case", "ISD", "::", "UADDSAT", ":", "case", "ISD", "::", "USUBSAT", ":", "Res", "=", "LowerADDSUBSAT", "(", "SDValue", "(", "N", ",", "0", ")", ",", "DAG", ",", "Subtarget", ")", ";", "break", ";", "case", "ISD", "::", "READCYCLECOUNTER", ":", "ReplaceREADCYCLECOUNTER", "(", "N", ",", "Results", ",", "DAG", ",", "Subtarget", ")", ";", "return", ";", "case", "ISD", "::", "UDIV", ":", "case", "ISD", "::", "SDIV", ":", "assert", "(", "Subtarget", "->", "isTargetWindows", "(", ")", "&&", "\"can only expand DIV on Windows\"", ")", ";", "return", "ExpandDIV_Windows", "(", "SDValue", "(", "N", ",", "0", ")", ",", "DAG", ",", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "SDIV", ",", "Results", ")", ";", "case", "ISD", "::", "ATOMIC_CMP_SWAP", ":", "ReplaceCMP_SWAP_64Results", "(", "N", ",", "Results", ",", "DAG", ")", ";", "return", ";", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "ReplaceLongIntrinsic", "(", "N", ",", "Results", ",", "DAG", ")", ";", "case", "ISD", "::", "ABS", ":", "lowerABS", "(", "N", ",", "Results", ",", "DAG", ")", ";", "return", ";", "case", "ISD", "::", "LOAD", ":", "LowerLOAD", "(", "N", ",", "Results", ",", "DAG", ")", ";", "break", ";", "case", "ISD", "::", "TRUNCATE", ":", "Res", "=", "LowerTruncate", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "break", ";", "case", "ISD", "::", "SIGN_EXTEND", ":", "case", "ISD", "::", "ZERO_EXTEND", ":", "Res", "=", "LowerVectorExtend", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "break", ";", "}", "if", "(", "Res", ".", "getNode", "(", ")", ")", "Results", ".", "push_back", "(", "Res", ")", ";", "}", ""], "natrual_language": ["ReplaceNodeResults", "-", "Replace", "the", "results", "of", "node", "with", "an", "illegal", "result", "type", "with", "new", "values", "built", "out", "of", "custom", "code", "."], "TS_V_token": ["ARM", "ARM", "\"Don't know how to custom expand this!\"", "ISD::READ_REGISTER", "ISD::BITCAST", "ISD::SRL", "ISD::SRA", "ISD::SHL", "ISD::SREM", "ISD::UREM", "ISD::SDIVREM", "ISD::UDIVREM", "0", "2", "\"DivRem needs two values\"", "0", "1", "ISD::SADDSAT", "ISD::SSUBSAT", "ISD::UADDSAT", "ISD::USUBSAT", "0", "ISD::READCYCLECOUNTER", "ISD::UDIV", "ISD::SDIV", "\"can only expand DIV on Windows\"", "0", "ISD::SDIV", "ISD::ATOMIC_CMP_SWAP", "ISD::INTRINSIC_WO_CHAIN", "ISD::ABS", "ISD::LOAD", "ISD::TRUNCATE", "ISD::SIGN_EXTEND", "ISD::ZERO_EXTEND"], "File": "ARMISelLowering100", "Func": "ReplaceNodeResults", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 445, "Length": 410, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPreAllocLoadStoreOpt", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "TD", "=", "Fn", ".", "getSubtarget", "(", ")", ".", "getDataLayout", "(", ")", ";", "TII", "=", "Fn", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "Fn", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "STI", "=", "&", "static_cast", "<", "const", "ARMSubtarget", "&", ">", "(", "Fn", ".", "getSubtarget", "(", ")", ")", ";", "MRI", "=", "&", "Fn", ".", "getRegInfo", "(", ")", ";", "MF", "=", "&", "Fn", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineFunction", "::", "iterator", "MFI", "=", "Fn", ".", "begin", "(", ")", ",", "E", "=", "Fn", ".", "end", "(", ")", ";", "MFI", "!=", "E", ";", "++", "MFI", ")", "Modified", "|=", "RescheduleLoadStoreInstrs", "(", "MFI", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMLoadStoreOptimizer36", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 446, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SNESTargetLowering", "::", "isOffsetFoldingLegal", "(", "const", "GlobalAddressSDNode", "*", "GA", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "folding", "a", "constant", "offset", "with", "the", "given", "GlobalAddress", "is", "legal", "."], "TS_V_token": ["SNES", "SNES"], "File": "SNESISelLowering", "Func": "isOffsetFoldingLegal", "Target": "SNES", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 447, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "AMDGPURegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", "->", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["AMDGPU", "AMDGPU"], "File": "AMDGPUSubtarget (2)", "Func": "getRegisterInfo", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 448, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "AlphaInstrInfo", "*", "getInstrInfo", "(", ")", "{", "return", "getTargetMachine", "(", ")", ".", "getInstrInfo", "(", ")", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["Alpha", "Alpha"], "File": "AlphaISelDAGToDAG1", "Func": "getInstrInfo", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 449, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "<", "Count", ";", "i", "++", ")", "OW", "->", "Write8", "(", "0", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["Z80", "0", "0"], "File": "Z80AsmBackend", "Func": "writeNopData", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 450, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "override", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "FISC", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"fixup_fisc_mov_q1_pcrel\"", ",", "0", ",", "64", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_fisc_mov_q2_pcrel\"", ",", "0", ",", "64", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_fisc_mov_q3_pcrel\"", ",", "0", ",", "64", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_fisc_mov_q4_pcrel\"", ",", "0", ",", "64", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_fisc_call26_pcrel\"", ",", "0", ",", "64", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_fisc_call19_pcrel\"", ",", "0", ",", "64", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_fisc_9bit_address\"", ",", "0", ",", "64", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_fisc_6bit_shamt\"", ",", "0", ",", "64", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_fisc_12bit_imm\"", ",", "0", ",", "64", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_fisc_movrz_pcrel\"", ",", "0", ",", "64", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "}", ";", "if", "(", "Kind", "<", "FirstTargetFixupKind", ")", "return", "MCAsmBackend", "::", "getFixupKindInfo", "(", "Kind", ")", ";", "assert", "(", "unsigned", "(", "Kind", "-", "FirstTargetFixupKind", ")", "<", "getNumFixupKinds", "(", ")", "&&", "\"Invalid kind!\"", ")", ";", "return", "Infos", "[", "Kind", "-", "FirstTargetFixupKind", "]", ";", "}", ""], "natrual_language": ["Get", "information", "on", "a", "fixup", "kind", "."], "TS_V_token": ["FISC", "FISC::NumTargetFixupKinds", "\"fixup_fisc_mov_q1_pcrel\"", "0", "64", "\"fixup_fisc_mov_q2_pcrel\"", "0", "64", "\"fixup_fisc_mov_q3_pcrel\"", "0", "64", "\"fixup_fisc_mov_q4_pcrel\"", "0", "64", "\"fixup_fisc_call26_pcrel\"", "0", "64", "\"fixup_fisc_call19_pcrel\"", "0", "64", "\"fixup_fisc_9bit_address\"", "0", "64", "\"fixup_fisc_6bit_shamt\"", "0", "64", "\"fixup_fisc_12bit_imm\"", "0", "64", "\"fixup_fisc_movrz_pcrel\"", "0", "64", "\"Invalid kind!\""], "File": "FISCAsmBackend", "Func": "getFixupKindInfo", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 451, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZFrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "MachineFrameInfo", "&", "MFFrame", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "bool", "HasFP", "=", "hasFP", "(", "MF", ")", ";", "SystemZMachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "SystemZMachineFunctionInfo", ">", "(", ")", ";", "bool", "IsVarArg", "=", "MF", ".", "getFunction", "(", ")", ".", "isVarArg", "(", ")", ";", "if", "(", "IsVarArg", ")", "for", "(", "unsigned", "I", "=", "MFI", "->", "getVarArgsFirstGPR", "(", ")", ";", "I", "<", "SystemZ", "::", "ELFNumArgGPRs", ";", "++", "I", ")", "SavedRegs", ".", "set", "(", "SystemZ", "::", "ELFArgGPRs", "[", "I", "]", ")", ";", "if", "(", "!", "MF", ".", "getLandingPads", "(", ")", ".", "empty", "(", ")", ")", "{", "SavedRegs", ".", "set", "(", "SystemZ", "::", "R6D", ")", ";", "SavedRegs", ".", "set", "(", "SystemZ", "::", "R7D", ")", ";", "}", "if", "(", "HasFP", ")", "SavedRegs", ".", "set", "(", "SystemZ", "::", "R11D", ")", ";", "if", "(", "MFFrame", ".", "hasCalls", "(", ")", ")", "SavedRegs", ".", "set", "(", "SystemZ", "::", "R14D", ")", ";", "const", "MCPhysReg", "*", "CSRegs", "=", "TRI", "->", "getCalleeSavedRegs", "(", "&", "MF", ")", ";", "for", "(", "unsigned", "I", "=", "0", ";", "CSRegs", "[", "I", "]", ";", "++", "I", ")", "{", "unsigned", "Reg", "=", "CSRegs", "[", "I", "]", ";", "if", "(", "SystemZ", "::", "GR64BitRegClass", ".", "contains", "(", "Reg", ")", "&&", "SavedRegs", ".", "test", "(", "Reg", ")", ")", "{", "SavedRegs", ".", "set", "(", "SystemZ", "::", "R15D", ")", ";", "break", ";", "}", "}", "}", ""], "natrual_language": ["This", "method", "determines", "which", "of", "the", "registers", "reported", "by", "TargetRegisterInfo", ":", ":getCalleeSavedRegs", "(", ")", "should", "actually", "get", "saved", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ::ELFNumArgGPRs", "SystemZ::ELFArgGPRs", "SystemZ::R6D", "SystemZ::R7D", "SystemZ::R11D", "SystemZ::R14D", "0", "SystemZ::GR64BitRegClass", "SystemZ::R15D"], "File": "SystemZFrameLowering32", "Func": "determineCalleeSaves", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 452, "Length": 258, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "aarch64_invalid_unary_op", "(", "int", "op", ",", "const_tree", "type", ")", "{", "if", "(", "element_mode", "(", "type", ")", "==", "BFmode", "&&", "op", "!=", "ADDR_EXPR", ")", "return", "N_", "(", "\"operation not permitted on type %\"", ")", ";", "return", "NULL", ";", "}", ""], "natrual_language": ["Return", "the", "diagnostic", "message", "string", "if", "the", "unary", "operation", "OP", "is", "not", "permitted", "on", "TYPE", ",", "NULL", "otherwise", "."], "TS_V_token": ["aarch64", "\"operation not permitted on type %\""], "File": "aarch64", "Func": "aarch64_invalid_unary_op", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 453, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVTargetLowering", "::", "computeKnownBitsForTargetNode", "(", "const", "SDValue", "Op", ",", "KnownBits", "&", "Known", ",", "const", "APInt", "&", "DemandedElts", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "unsigned", "BitWidth", "=", "Known", ".", "getBitWidth", "(", ")", ";", "unsigned", "Opc", "=", "Op", ".", "getOpcode", "(", ")", ";", "assert", "(", "(", "Opc", ">=", "ISD", "::", "BUILTIN_OP_END", "||", "Opc", "==", "ISD", "::", "INTRINSIC_WO_CHAIN", "||", "Opc", "==", "ISD", "::", "INTRINSIC_W_CHAIN", "||", "Opc", "==", "ISD", "::", "INTRINSIC_VOID", ")", "&&", "\"Should use MaskedValueIsZero if you don't know whether Op\"", "\" is a target node!\"", ")", ";", "Known", ".", "resetAll", "(", ")", ";", "switch", "(", "Opc", ")", "{", "default", ":", "break", ";", "case", "RISCVISD", "::", "REMUW", ":", "{", "KnownBits", "Known2", ";", "Known", "=", "DAG", ".", "computeKnownBits", "(", "Op", ".", "getOperand", "(", "0", ")", ",", "DemandedElts", ",", "Depth", "+", "1", ")", ";", "Known2", "=", "DAG", ".", "computeKnownBits", "(", "Op", ".", "getOperand", "(", "1", ")", ",", "DemandedElts", ",", "Depth", "+", "1", ")", ";", "Known", "=", "KnownBits", "::", "urem", "(", "Known", ".", "trunc", "(", "32", ")", ",", "Known2", ".", "trunc", "(", "32", ")", ")", ";", "Known", "=", "Known", ".", "sext", "(", "BitWidth", ")", ";", "break", ";", "}", "case", "RISCVISD", "::", "DIVUW", ":", "{", "KnownBits", "Known2", ";", "Known", "=", "DAG", ".", "computeKnownBits", "(", "Op", ".", "getOperand", "(", "0", ")", ",", "DemandedElts", ",", "Depth", "+", "1", ")", ";", "Known2", "=", "DAG", ".", "computeKnownBits", "(", "Op", ".", "getOperand", "(", "1", ")", ",", "DemandedElts", ",", "Depth", "+", "1", ")", ";", "Known", "=", "KnownBits", "::", "udiv", "(", "Known", ".", "trunc", "(", "32", ")", ",", "Known2", ".", "trunc", "(", "32", ")", ")", ";", "Known", "=", "Known", ".", "sext", "(", "BitWidth", ")", ";", "break", ";", "}", "case", "RISCVISD", "::", "READ_VLENB", ":", "Known", ".", "Zero", ".", "setLowBits", "(", "3", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["Determine", "which", "of", "the", "bits", "specified", "in", "Mask", "are", "known", "to", "be", "either", "zero", "or", "one", "and", "return", "them", "in", "the", "KnownZero/KnownOne", "bitsets", "."], "TS_V_token": ["RI5CY", "RISCV", "ISD::BUILTIN_OP_END", "ISD::INTRINSIC_WO_CHAIN", "ISD::INTRINSIC_W_CHAIN", "ISD::INTRINSIC_VOID", "\"Should use MaskedValueIsZero if you don't know whether Op\"", "\" is a target node!\"", "RISCVISD::REMUW", "0", "1", "1", "1", "32", "32", "RISCVISD::DIVUW", "0", "1", "1", "1", "32", "32", "RISCVISD::READ_VLENB", "3"], "File": "RISCVISelLowering", "Func": "computeKnownBitsForTargetNode", "Target": "RI5CY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 454, "Length": 275, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "SparcTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "(", "SPISD", "::", "NodeType", ")", "Opcode", ")", "{", "case", "SPISD", "::", "FIRST_NUMBER", ":", "break", ";", "case", "SPISD", "::", "CMPICC", ":", "return", "\"SPISD::CMPICC\"", ";", "case", "SPISD", "::", "CMPFCC", ":", "return", "\"SPISD::CMPFCC\"", ";", "case", "SPISD", "::", "BRICC", ":", "return", "\"SPISD::BRICC\"", ";", "case", "SPISD", "::", "BRXCC", ":", "return", "\"SPISD::BRXCC\"", ";", "case", "SPISD", "::", "BRFCC", ":", "return", "\"SPISD::BRFCC\"", ";", "case", "SPISD", "::", "SELECT_ICC", ":", "return", "\"SPISD::SELECT_ICC\"", ";", "case", "SPISD", "::", "SELECT_XCC", ":", "return", "\"SPISD::SELECT_XCC\"", ";", "case", "SPISD", "::", "SELECT_FCC", ":", "return", "\"SPISD::SELECT_FCC\"", ";", "case", "SPISD", "::", "Hi", ":", "return", "\"SPISD::Hi\"", ";", "case", "SPISD", "::", "Lo", ":", "return", "\"SPISD::Lo\"", ";", "case", "SPISD", "::", "FTOI", ":", "return", "\"SPISD::FTOI\"", ";", "case", "SPISD", "::", "ITOF", ":", "return", "\"SPISD::ITOF\"", ";", "case", "SPISD", "::", "FTOX", ":", "return", "\"SPISD::FTOX\"", ";", "case", "SPISD", "::", "XTOF", ":", "return", "\"SPISD::XTOF\"", ";", "case", "SPISD", "::", "CALL", ":", "return", "\"SPISD::CALL\"", ";", "case", "SPISD", "::", "RET_FLAG", ":", "return", "\"SPISD::RET_FLAG\"", ";", "case", "SPISD", "::", "GLOBAL_BASE_REG", ":", "return", "\"SPISD::GLOBAL_BASE_REG\"", ";", "case", "SPISD", "::", "FLUSHW", ":", "return", "\"SPISD::FLUSHW\"", ";", "case", "SPISD", "::", "TLS_ADD", ":", "return", "\"SPISD::TLS_ADD\"", ";", "case", "SPISD", "::", "TLS_LD", ":", "return", "\"SPISD::TLS_LD\"", ";", "case", "SPISD", "::", "TLS_CALL", ":", "return", "\"SPISD::TLS_CALL\"", ";", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["Sparc", "Sparc", "SPISD::NodeType", "SPISD::FIRST_NUMBER", "SPISD::CMPICC", "\"SPISD::CMPICC\"", "SPISD::CMPFCC", "\"SPISD::CMPFCC\"", "SPISD::BRICC", "\"SPISD::BRICC\"", "SPISD::BRXCC", "\"SPISD::BRXCC\"", "SPISD::BRFCC", "\"SPISD::BRFCC\"", "SPISD::SELECT_ICC", "\"SPISD::SELECT_ICC\"", "SPISD::SELECT_XCC", "\"SPISD::SELECT_XCC\"", "SPISD::SELECT_FCC", "\"SPISD::SELECT_FCC\"", "SPISD::Hi", "\"SPISD::Hi\"", "SPISD::Lo", "\"SPISD::Lo\"", "SPISD::FTOI", "\"SPISD::FTOI\"", "SPISD::ITOF", "\"SPISD::ITOF\"", "SPISD::FTOX", "\"SPISD::FTOX\"", "SPISD::XTOF", "\"SPISD::XTOF\"", "SPISD::CALL", "\"SPISD::CALL\"", "SPISD::RET_FLAG", "\"SPISD::RET_FLAG\"", "SPISD::GLOBAL_BASE_REG", "\"SPISD::GLOBAL_BASE_REG\"", "SPISD::FLUSHW", "\"SPISD::FLUSHW\"", "SPISD::TLS_ADD", "\"SPISD::TLS_ADD\"", "SPISD::TLS_LD", "\"SPISD::TLS_LD\"", "SPISD::TLS_CALL", "\"SPISD::TLS_CALL\""], "File": "SparcISelLowering", "Func": "getTargetNodeName", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 455, "Length": 202, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "findDeadCallerSavedReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "const", "X86RegisterInfo", "*", "TRI", ",", "bool", "Is64Bit", ")", "{", "const", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "if", "(", "MF", "->", "callsEHReturn", "(", ")", ")", "return", "0", ";", "const", "TargetRegisterClass", "&", "AvailableRegs", "=", "*", "TRI", "->", "getGPRsForTailCall", "(", "*", "MF", ")", ";", "if", "(", "MBBI", "==", "MBB", ".", "end", "(", ")", ")", "return", "0", ";", "switch", "(", "MBBI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "TargetOpcode", "::", "PATCHABLE_RET", ":", "case", "X86", "::", "RET", ":", "case", "X86", "::", "RETL", ":", "case", "X86", "::", "RETQ", ":", "case", "X86", "::", "RETIL", ":", "case", "X86", "::", "RETIQ", ":", "case", "X86", "::", "TCRETURNdi", ":", "case", "X86", "::", "TCRETURNri", ":", "case", "X86", "::", "TCRETURNmi", ":", "case", "X86", "::", "TCRETURNdi64", ":", "case", "X86", "::", "TCRETURNri64", ":", "case", "X86", "::", "TCRETURNmi64", ":", "case", "X86", "::", "EH_RETURN", ":", "case", "X86", "::", "EH_RETURN64", ":", "{", "SmallSet", "<", "uint16_t", ",", "8", ">", "Uses", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "MBBI", "->", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "MachineOperand", "&", "MO", "=", "MBBI", "->", "getOperand", "(", "i", ")", ";", "if", "(", "!", "MO", ".", "isReg", "(", ")", "||", "MO", ".", "isDef", "(", ")", ")", "continue", ";", "unsigned", "Reg", "=", "MO", ".", "getReg", "(", ")", ";", "if", "(", "!", "Reg", ")", "continue", ";", "for", "(", "MCRegAliasIterator", "AI", "(", "Reg", ",", "TRI", ",", "true", ")", ";", "AI", ".", "isValid", "(", ")", ";", "++", "AI", ")", "Uses", ".", "insert", "(", "*", "AI", ")", ";", "}", "for", "(", "auto", "CS", ":", "AvailableRegs", ")", "if", "(", "!", "Uses", ".", "count", "(", "CS", ")", "&&", "CS", "!=", "X86", "::", "RIP", ")", "return", "CS", ";", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["findDeadCallerSavedReg", "-", "Return", "a", "caller-saved", "register", "that", "is", "n't", "live", "when", "it", "reaches", "the", "``", "return", "''", "instruction", "."], "TS_V_token": ["X86", "X86", "0", "0", "0", "X86::RET", "X86::RETL", "X86::RETQ", "X86::RETIL", "X86::RETIQ", "X86::TCRETURNdi", "X86::TCRETURNri", "X86::TCRETURNmi", "X86::TCRETURNdi64", "X86::TCRETURNri64", "X86::TCRETURNmi64", "X86::EH_RETURN", "X86::EH_RETURN64", "8", "0", "X86::RIP", "0"], "File": "X86FrameLowering (2)2", "Func": "findDeadCallerSavedReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 456, "Length": 294, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86RegisterInfo", "::", "getRARegister", "(", ")", "const", "{", "return", "Is64Bit", "?", "X86", "::", "RIP", ":", "X86", "::", "EIP", ";", "}", ""], "natrual_language": ["This", "method", "should", "return", "the", "register", "where", "the", "return", "address", "can", "be", "found", "."], "TS_V_token": ["X86", "X86", "X86::RIP", "X86::EIP"], "File": "X86RegisterInfo11", "Func": "getRARegister", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 457, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "arm_gen_load_multiple", "(", "int", "base_regno", ",", "int", "count", ",", "rtx", "from", ",", "int", "up", ",", "int", "write_back", ",", "rtx", "basemem", ",", "HOST_WIDE_INT", "*", "offsetp", ")", "{", "HOST_WIDE_INT", "offset", "=", "*", "offsetp", ";", "int", "i", "=", "0", ",", "j", ";", "rtx", "result", ";", "int", "sign", "=", "up", "?", "1", ":", "-", "1", ";", "rtx", "mem", ",", "addr", ";", "if", "(", "arm_tune_xscale", "&&", "count", "<=", "2", "&&", "!", "optimize_size", ")", "{", "rtx", "seq", ";", "start_sequence", "(", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "count", ";", "i", "++", ")", "{", "addr", "=", "plus_constant", "(", "from", ",", "i", "*", "4", "*", "sign", ")", ";", "mem", "=", "adjust_automodify_address", "(", "basemem", ",", "SImode", ",", "addr", ",", "offset", ")", ";", "emit_move_insn", "(", "gen_rtx_REG", "(", "SImode", ",", "base_regno", "+", "i", ")", ",", "mem", ")", ";", "offset", "+=", "4", "*", "sign", ";", "}", "if", "(", "write_back", ")", "{", "emit_move_insn", "(", "from", ",", "plus_constant", "(", "from", ",", "count", "*", "4", "*", "sign", ")", ")", ";", "*", "offsetp", "=", "offset", ";", "}", "seq", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "return", "seq", ";", "}", "result", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "count", "+", "(", "write_back", "?", "1", ":", "0", ")", ")", ")", ";", "if", "(", "write_back", ")", "{", "XVECEXP", "(", "result", ",", "0", ",", "0", ")", "=", "gen_rtx_SET", "(", "GET_MODE", "(", "from", ")", ",", "from", ",", "plus_constant", "(", "from", ",", "count", "*", "4", "*", "sign", ")", ")", ";", "i", "=", "1", ";", "count", "++", ";", "}", "for", "(", "j", "=", "0", ";", "i", "<", "count", ";", "i", "++", ",", "j", "++", ")", "{", "addr", "=", "plus_constant", "(", "from", ",", "j", "*", "4", "*", "sign", ")", ";", "mem", "=", "adjust_automodify_address_nv", "(", "basemem", ",", "SImode", ",", "addr", ",", "offset", ")", ";", "XVECEXP", "(", "result", ",", "0", ",", "i", ")", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "SImode", ",", "base_regno", "+", "j", ")", ",", "mem", ")", ";", "offset", "+=", "4", "*", "sign", ";", "}", "if", "(", "write_back", ")", "*", "offsetp", "=", "offset", ";", "return", "result", ";", "}", ""], "natrual_language": ["Routines", "for", "use", "in", "generating", "RTL", "."], "TS_V_token": ["arm", "0", "1", "1", "2", "0", "4", "4", "4", "1", "0", "0", "0", "4", "1", "0", "4", "0", "4"], "File": "arm3", "Func": "arm_gen_load_multiple", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 458, "Length": 329, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSection", "*", "MipsTargetObjectFile", "::", "getSectionForConstant", "(", "SectionKind", "Kind", ",", "const", "Constant", "*", "C", ")", "const", "{", "if", "(", "IsConstantInSmallSection", "(", "C", ",", "*", "TM", ")", ")", "return", "SmallDataSection", ";", "return", "TargetLoweringObjectFileELF", "::", "getSectionForConstant", "(", "Kind", ",", "C", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constant", "with", "the", "SectionKind", ",", "return", "a", "section", "that", "it", "should", "be", "placed", "in", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsTargetObjectFile2", "Func": "getSectionForConstant", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 459, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_sibcall_sysv", "(", "rtx", "value", ",", "rtx", "func_desc", ",", "rtx", "tlsarg", ",", "rtx", "cookie", ")", "{", "rtx", "func", "=", "func_desc", ";", "rtx", "func_addr", ";", "rtx", "call", "[", "3", "]", ";", "rtx", "insn", ";", "rtx", "abi_reg", "=", "NULL_RTX", ";", "if", "(", "global_tlsarg", ")", "tlsarg", "=", "global_tlsarg", ";", "if", "(", "(", "INTVAL", "(", "cookie", ")", "&", "CALL_LONG", ")", "!=", "0", "&&", "GET_CODE", "(", "func_desc", ")", "==", "SYMBOL_REF", ")", "{", "func", "=", "rs6000_longcall_ref", "(", "func_desc", ",", "tlsarg", ")", ";", "if", "(", "TARGET_PLTSEQ", ")", "abi_reg", "=", "func", ";", "}", "if", "(", "GET_CODE", "(", "func", ")", "!=", "SYMBOL_REF", ")", "{", "func", "=", "force_reg", "(", "Pmode", ",", "func", ")", ";", "func_addr", "=", "gen_rtx_REG", "(", "Pmode", ",", "CTR_REGNO", ")", ";", "if", "(", "abi_reg", ")", "{", "rtvec", "v", "=", "gen_rtvec", "(", "3", ",", "func", ",", "func_desc", ",", "tlsarg", ")", ";", "rtx", "mark_func", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "v", ",", "UNSPEC_PLTSEQ", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "func_addr", ",", "mark_func", ")", ")", ";", "v", "=", "gen_rtvec", "(", "2", ",", "func_addr", ",", "func_desc", ")", ";", "func_addr", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "v", ",", "UNSPEC_PLTSEQ", ")", ";", "}", "else", "emit_move_insn", "(", "func_addr", ",", "func", ")", ";", "}", "else", "func_addr", "=", "func", ";", "call", "[", "0", "]", "=", "gen_rtx_CALL", "(", "VOIDmode", ",", "gen_rtx_MEM", "(", "SImode", ",", "func_addr", ")", ",", "tlsarg", ")", ";", "if", "(", "value", "!=", "NULL_RTX", ")", "call", "[", "0", "]", "=", "gen_rtx_SET", "(", "value", ",", "call", "[", "0", "]", ")", ";", "call", "[", "1", "]", "=", "gen_rtx_USE", "(", "VOIDmode", ",", "cookie", ")", ";", "call", "[", "2", "]", "=", "simple_return_rtx", ";", "insn", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec_v", "(", "3", ",", "call", ")", ")", ";", "insn", "=", "emit_call_insn", "(", "insn", ")", ";", "if", "(", "abi_reg", ")", "use_reg", "(", "&", "CALL_INSN_FUNCTION_USAGE", "(", "insn", ")", ",", "abi_reg", ")", ";", "}", ""], "natrual_language": ["Expand", "code", "to", "perform", "a", "sibling", "call", "under", "the", "SysV4", "ABI", "."], "TS_V_token": ["rs6000", "3", "0", "3", "2", "0", "0", "0", "1", "2", "3"], "File": "rs6000", "Func": "rs6000_sibcall_sysv", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 460, "Length": 287, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "EmitInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "bool", ")", "override", "{", "if", "(", "IsThumb", ")", "EmitThumbMappingSymbol", "(", ")", ";", "else", "EmitARMMappingSymbol", "(", ")", ";", "MCELFStreamer", "::", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMELFStreamer11", "Func": "EmitInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 461, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "elf_platform", "(", "void", ")", "{", "int", "fd", ";", "fd", "=", "open", "(", "\"/proc/self/auxv\"", ",", "O_RDONLY", ")", ";", "if", "(", "fd", "!=", "-", "1", ")", "{", "char", "buf", "[", "1024", "]", ";", "ElfW", "(", "auxv_t", ")", "*", "av", ";", "ssize_t", "n", ";", "n", "=", "read", "(", "fd", ",", "buf", ",", "sizeof", "(", "buf", ")", ")", ";", "close", "(", "fd", ")", ";", "if", "(", "n", ">", "0", ")", "{", "for", "(", "av", "=", "(", "ElfW", "(", "auxv_t", ")", "*", ")", "buf", ";", "av", "->", "a_type", "!=", "AT_NULL", ";", "++", "av", ")", "switch", "(", "av", "->", "a_type", ")", "{", "case", "AT_PLATFORM", ":", "return", "(", "const", "char", "*", ")", "av", "->", "a_un", ".", "a_val", ";", "default", ":", "break", ";", "}", "}", "}", ""], "natrual_language": ["Returns", "the", "canonical", "AT_PLATFORM", "if", "present", ",", "otherwise", "NULL", "."], "TS_V_token": ["powerpcspe", "\"/proc/self/auxv\"", "1", "1024", "0"], "File": "driver-powerpcspe", "Func": "elf_platform", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 462, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86TargetMachine", "::", "X86TargetMachine", "(", "const", "Target", "&", "T", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Optional", "<", "Reloc", "::", "Model", ">", "RM", ",", "Optional", "<", "CodeModel", "::", "Model", ">", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "JIT", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "getEffectiveRelocModel", "(", "TT", ",", "JIT", ",", "RM", ")", ",", "getEffectiveX86CodeModel", "(", "CM", ",", "JIT", ",", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ")", ",", "OL", ")", ",", "TLOF", "(", "createTLOF", "(", "getTargetTriple", "(", ")", ")", ")", ",", "IsJIT", "(", "JIT", ")", "{", "if", "(", "TT", ".", "isPS4", "(", ")", "||", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", "{", "this", "->", "Options", ".", "TrapUnreachable", "=", "true", ";", "this", "->", "Options", ".", "NoTrapAfterNoreturn", "=", "TT", ".", "isOSBinFormatMachO", "(", ")", ";", "}", "setMachineOutliner", "(", "true", ")", ";", "setSupportsDebugEntryValues", "(", "true", ")", ";", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "X86", "target", "."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86TargetMachine114", "Func": "X86TargetMachine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 463, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "loongarch_split_plus", "(", "rtx", "x", ",", "rtx", "*", "base_ptr", ",", "HOST_WIDE_INT", "*", "offset_ptr", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "{", "*", "base_ptr", "=", "XEXP", "(", "x", ",", "0", ")", ";", "*", "offset_ptr", "=", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ";", "}", "else", "{", "*", "base_ptr", "=", "x", ";", "*", "offset_ptr", "=", "0", ";", "}", "}", ""], "natrual_language": ["If", "X", "is", "a", "PLUS", "of", "a", "CONST_INT", ",", "return", "the", "two", "terms", "in", "*", "BASE_PTR", "and", "*", "OFFSET_PTR", ".", "Return", "X", "in", "*", "BASE_PTR", "and", "0", "in", "*", "OFFSET_PTR", "otherwise", "."], "TS_V_token": ["loongarch", "1", "0", "1", "0"], "File": "loongarch", "Func": "loongarch_split_plus", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 464, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"Hexagon Split Double Registers\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Hexagon", "\"Hexagon Split Double Registers\""], "File": "HexagonSplitDouble", "Func": "getPassName", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 465, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "SITargetLowering", "::", "getOptimalMemOpType", "(", "uint64_t", "Size", ",", "unsigned", "DstAlign", ",", "unsigned", "SrcAlign", ",", "bool", "IsMemset", ",", "bool", "ZeroMemset", ",", "bool", "MemcpyStrSrc", ",", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "Size", ">=", "16", "&&", "DstAlign", ">=", "4", ")", "return", "MVT", "::", "v4i32", ";", "if", "(", "Size", ">=", "8", "&&", "DstAlign", ">=", "4", ")", "return", "MVT", "::", "v2i32", ";", "return", "MVT", "::", "Other", ";", "}", ""], "natrual_language": ["It", "returns", "EVT", ":", ":Other", "if", "the", "type", "should", "be", "determined", "using", "generic", "target-independent", "logic", "."], "TS_V_token": ["AMDGPU", "SI", "16", "4", "MVT::v4i32", "8", "4", "MVT::v2i32", "MVT::Other"], "File": "SIISelLowering (2)", "Func": "getOptimalMemOpType", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 466, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIInstrInfo", "::", "isAsmOnlyOpcode", "(", "int", "MCOp", ")", "const", "{", "switch", "(", "MCOp", ")", "{", "case", "AMDGPU", "::", "V_MOVRELS_B32_dpp_gfx10", ":", "case", "AMDGPU", "::", "V_MOVRELS_B32_sdwa_gfx10", ":", "case", "AMDGPU", "::", "V_MOVRELD_B32_dpp_gfx10", ":", "case", "AMDGPU", "::", "V_MOVRELD_B32_sdwa_gfx10", ":", "case", "AMDGPU", "::", "V_MOVRELSD_B32_dpp_gfx10", ":", "case", "AMDGPU", "::", "V_MOVRELSD_B32_sdwa_gfx10", ":", "case", "AMDGPU", "::", "V_MOVRELSD_2_B32_dpp_gfx10", ":", "case", "AMDGPU", "::", "V_MOVRELSD_2_B32_sdwa_gfx10", ":", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Check", "if", "this", "instruction", "should", "only", "be", "used", "by", "assembler", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU::V_MOVRELS_B32_dpp_gfx10", "AMDGPU::V_MOVRELS_B32_sdwa_gfx10", "AMDGPU::V_MOVRELD_B32_dpp_gfx10", "AMDGPU::V_MOVRELD_B32_sdwa_gfx10", "AMDGPU::V_MOVRELSD_B32_dpp_gfx10", "AMDGPU::V_MOVRELSD_B32_sdwa_gfx10", "AMDGPU::V_MOVRELSD_2_B32_dpp_gfx10", "AMDGPU::V_MOVRELSD_2_B32_sdwa_gfx10"], "File": "SIInstrInfo11", "Func": "isAsmOnlyOpcode", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 467, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_eax_live_at_start_p", "(", "void", ")", "{", "return", "REGNO_REG_SET_P", "(", "ENTRY_BLOCK_PTR", "->", "il", ".", "rtl", "->", "global_live_at_end", ",", "0", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "EAX", "is", "live", "at", "the", "start", "of", "the", "function", ".", "Used", "by", "ix86_expand_prologue", "to", "determine", "if", "we", "need", "special", "help", "before", "calling", "allocate_stack_worker", "."], "TS_V_token": ["i386", "0"], "File": "i3863", "Func": "ix86_eax_live_at_start_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 468, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "expand_block_move_4", "(", "rtx", "dst", ",", "rtx", "dst_reg", ",", "rtx", "src", ",", "rtx", "src_reg", ",", "rtx", "bytes_rtx", ")", "{", "unsigned", "HOST_WIDE_INT", "bytes", "=", "UINTVAL", "(", "bytes_rtx", ")", ";", "unsigned", "int", "rem", "=", "bytes", "%", "4", ";", "if", "(", "TARGET_BMI", ")", "{", "unsigned", "int", "i", ";", "rtx", "insn", ";", "emit_move_insn", "(", "regno_reg_rtx", "[", "1", "]", ",", "dst_reg", ")", ";", "emit_move_insn", "(", "regno_reg_rtx", "[", "2", "]", ",", "src_reg", ")", ";", "emit_move_insn", "(", "regno_reg_rtx", "[", "3", "]", ",", "bytes_rtx", ")", ";", "insn", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "8", ")", ")", ";", "XVECEXP", "(", "insn", ",", "0", ",", "0", ")", "=", "gen_rtx_SET", "(", "replace_equiv_address_nv", "(", "dst", ",", "regno_reg_rtx", "[", "1", "]", ")", ",", "replace_equiv_address_nv", "(", "src", ",", "regno_reg_rtx", "[", "2", "]", ")", ")", ";", "XVECEXP", "(", "insn", ",", "0", ",", "1", ")", "=", "gen_rtx_USE", "(", "VOIDmode", ",", "regno_reg_rtx", "[", "3", "]", ")", ";", "for", "(", "i", "=", "1", ";", "i", "<=", "6", ";", "i", "++", ")", "XVECEXP", "(", "insn", ",", "0", ",", "1", "+", "i", ")", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "regno_reg_rtx", "[", "i", "]", ")", ";", "emit_insn", "(", "insn", ")", ";", "}", "else", "emit_library_call", "(", "long_int_memcpy_libfunc", ",", "LCT_NORMAL", ",", "VOIDmode", ",", "3", ",", "dst_reg", ",", "Pmode", ",", "src_reg", ",", "Pmode", ",", "convert_to_mode", "(", "TYPE_MODE", "(", "sizetype", ")", ",", "GEN_INT", "(", "bytes", ">>", "2", ")", ",", "TYPE_UNSIGNED", "(", "sizetype", ")", ")", ",", "TYPE_MODE", "(", "sizetype", ")", ")", ";", "if", "(", "rem", "==", "0", ")", "return", ";", "dst", "=", "replace_equiv_address_nv", "(", "dst", ",", "dst_reg", ")", ";", "src", "=", "replace_equiv_address_nv", "(", "src", ",", "src_reg", ")", ";", "bytes", "-=", "rem", ";", "if", "(", "rem", ">", "1", ")", "{", "emit_move_insn", "(", "adjust_address_nv", "(", "dst", ",", "HImode", ",", "bytes", ")", ",", "adjust_address_nv", "(", "src", ",", "HImode", ",", "bytes", ")", ")", ";", "bytes", "+=", "2", ";", "rem", "-=", "2", ";", "}", "if", "(", "rem", ">", "0", ")", "emit_move_insn", "(", "adjust_address_nv", "(", "dst", ",", "QImode", ",", "bytes", ")", ",", "adjust_address_nv", "(", "src", ",", "QImode", ",", "bytes", ")", ")", ";", "}", ""], "natrual_language": ["Generate", "a", "call", "to", "a", "library", "function", "to", "move", "BYTES_RTX", "bytes", "from", "SRC", "with", "address", "SRC_REG", "to", "DST", "with", "address", "DST_REG", "in", "4-byte", "chunks", "."], "TS_V_token": ["visium", "4", "1", "2", "3", "8", "0", "0", "1", "2", "0", "1", "3", "1", "6", "0", "1", "3", "2", "0", "1", "2", "2", "0"], "File": "visium3", "Func": "expand_block_move_4", "Target": "visium", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 469, "Length": 322, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMFastISel", "::", "fastMaterializeConstant", "(", "const", "Constant", "*", "C", ")", "{", "EVT", "CEVT", "=", "TLI", ".", "getValueType", "(", "DL", ",", "C", "->", "getType", "(", ")", ",", "true", ")", ";", "if", "(", "!", "CEVT", ".", "isSimple", "(", ")", ")", "return", "0", ";", "MVT", "VT", "=", "CEVT", ".", "getSimpleVT", "(", ")", ";", "if", "(", "const", "ConstantFP", "*", "CFP", "=", "dyn_cast", "<", "ConstantFP", ">", "(", "C", ")", ")", "return", "ARMMaterializeFP", "(", "CFP", ",", "VT", ")", ";", "else", "if", "(", "const", "GlobalValue", "*", "GV", "=", "dyn_cast", "<", "GlobalValue", ">", "(", "C", ")", ")", "return", "ARMMaterializeGV", "(", "GV", ",", "VT", ")", ";", "else", "if", "(", "isa", "<", "ConstantInt", ">", "(", "C", ")", ")", "return", "ARMMaterializeInt", "(", "C", ",", "VT", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Emit", "a", "constant", "in", "a", "register", "using", "target-specific", "logic", ",", "such", "as", "constant", "pool", "loads", "."], "TS_V_token": ["ARM", "ARM", "0", "ARM", "ARM", "ARM", "0"], "File": "ARMFastISel (2)2", "Func": "fastMaterializeConstant", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 470, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMTTIImpl", "::", "getGatherScatterOpCost", "(", "unsigned", "Opcode", ",", "Type", "*", "DataTy", ",", "Value", "*", "Ptr", ",", "bool", "VariableMask", ",", "unsigned", "Alignment", ")", "{", "if", "(", "!", "ST", "->", "hasMVEIntegerOps", "(", ")", "||", "!", "EnableMaskedGatherScatters", ")", "return", "BaseT", "::", "getGatherScatterOpCost", "(", "Opcode", ",", "DataTy", ",", "Ptr", ",", "VariableMask", ",", "Alignment", ")", ";", "assert", "(", "DataTy", "->", "isVectorTy", "(", ")", "&&", "\"Can't do gather/scatters on scalar!\"", ")", ";", "VectorType", "*", "VTy", "=", "cast", "<", "VectorType", ">", "(", "DataTy", ")", ";", "unsigned", "NumElems", "=", "VTy", "->", "getNumElements", "(", ")", ";", "unsigned", "EltSize", "=", "VTy", "->", "getScalarSizeInBits", "(", ")", ";", "std", "::", "pair", "<", "int", ",", "MVT", ">", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "DL", ",", "DataTy", ")", ";", "unsigned", "VectorCost", "=", "NumElems", "*", "LT", ".", "first", ";", "unsigned", "ScalarCost", "=", "NumElems", "*", "LT", ".", "first", "+", "BaseT", "::", "getScalarizationOverhead", "(", "DataTy", ",", "{", "}", ")", ";", "if", "(", "EltSize", "*", "NumElems", "!=", "128", "||", "NumElems", "<", "4", ")", "return", "ScalarCost", ";", "if", "(", "Alignment", "<", "EltSize", "/", "8", ")", "return", "ScalarCost", ";", "if", "(", "EltSize", "==", "32", ")", "return", "VectorCost", ";", "if", "(", "EltSize", "!=", "8", "&&", "EltSize", "!=", "16", ")", "return", "ScalarCost", ";", "if", "(", "auto", "BC", "=", "dyn_cast", "<", "BitCastInst", ">", "(", "Ptr", ")", ")", "Ptr", "=", "BC", "->", "getOperand", "(", "0", ")", ";", "if", "(", "auto", "*", "GEP", "=", "dyn_cast", "<", "GetElementPtrInst", ">", "(", "Ptr", ")", ")", "{", "if", "(", "GEP", "->", "getNumOperands", "(", ")", "!=", "2", ")", "return", "ScalarCost", ";", "unsigned", "Scale", "=", "DL", ".", "getTypeAllocSize", "(", "GEP", "->", "getResultElementType", "(", ")", ")", ";", "if", "(", "Scale", "!=", "1", "&&", "Scale", "*", "8", "!=", "EltSize", ")", "return", "ScalarCost", ";", "if", "(", "auto", "ZExt", "=", "dyn_cast", "<", "ZExtInst", ">", "(", "GEP", "->", "getOperand", "(", "1", ")", ")", ")", "if", "(", "ZExt", "->", "getOperand", "(", "0", ")", "->", "getType", "(", ")", "->", "getScalarSizeInBits", "(", ")", "<=", "EltSize", ")", "return", "VectorCost", ";", "return", "ScalarCost", ";", "}", "return", "ScalarCost", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "Gather", "/", "Scatter", "operation", "."], "TS_V_token": ["ARM", "ARM", "\"Can't do gather/scatters on scalar!\"", "128", "4", "8", "32", "8", "16", "0", "2", "1", "8", "1", "0"], "File": "ARMTargetTransformInfo10", "Func": "getGatherScatterOpCost", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 471, "Length": 314, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "aarch64_fpconst_pow2_recip", "(", "rtx", "x", ")", "{", "REAL_VALUE_TYPE", "r0", ";", "if", "(", "!", "CONST_DOUBLE_P", "(", "x", ")", ")", "return", "-", "1", ";", "r0", "=", "*", "CONST_DOUBLE_REAL_VALUE", "(", "x", ")", ";", "if", "(", "exact_real_inverse", "(", "DFmode", ",", "&", "r0", ")", "&&", "!", "REAL_VALUE_NEGATIVE", "(", "r0", ")", ")", "{", "int", "ret", "=", "exact_log2", "(", "real_to_integer", "(", "&", "r0", ")", ")", ";", "if", "(", "ret", ">=", "1", "&&", "ret", "<=", "32", ")", "return", "ret", ";", "}", "return", "-", "1", ";", "}", ""], "natrual_language": ["If", "X", "is", "a", "positive", "CONST_DOUBLE", "with", "a", "value", "that", "is", "the", "reciprocal", "of", "a", "power", "of", "2", "(", "i.e", "1/2^n", ")", "return", "the", "number", "of", "float", "bits", ".", "e.g", ".", "for", "x==", "(", "1/2^n", ")", "return", "n.", "Otherwise", "return", "-1", "."], "TS_V_token": ["aarch64", "1", "1", "32", "1"], "File": "aarch64", "Func": "aarch64_fpconst_pow2_recip", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 472, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "unsigned", "Opc", "=", "0", ";", "if", "(", "RC", "==", "Mips", "::", "CPURegsRegisterClass", ")", "Opc", "=", "IsN64", "?", "Mips", "::", "SW_P8", ":", "Mips", "::", "SW", ";", "else", "if", "(", "RC", "==", "Mips", "::", "CPU64RegsRegisterClass", ")", "Opc", "=", "IsN64", "?", "Mips", "::", "SD_P8", ":", "Mips", "::", "SD", ";", "else", "if", "(", "RC", "==", "Mips", "::", "FGR32RegisterClass", ")", "Opc", "=", "IsN64", "?", "Mips", "::", "SWC1_P8", ":", "Mips", "::", "SWC1", ";", "else", "if", "(", "RC", "==", "Mips", "::", "AFGR64RegisterClass", ")", "Opc", "=", "Mips", "::", "SDC1", ";", "else", "if", "(", "RC", "==", "Mips", "::", "FGR64RegisterClass", ")", "Opc", "=", "IsN64", "?", "Mips", "::", "SDC164_P8", ":", "Mips", "::", "SDC164", ";", "assert", "(", "Opc", "&&", "\"Register class not handled!\"", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["Mips", "Mips", "0", "Mips::CPURegsRegisterClass", "Mips::SW_P8", "Mips::SW", "Mips::CPU64RegsRegisterClass", "Mips::SD_P8", "Mips::SD", "Mips::FGR32RegisterClass", "Mips::SWC1_P8", "Mips::SWC1", "Mips::AFGR64RegisterClass", "Mips::SDC1", "Mips::FGR64RegisterClass", "Mips::SDC164_P8", "Mips::SDC164", "\"Register class not handled!\"", "0"], "File": "MipsInstrInfo11", "Func": "storeRegToStackSlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 473, "Length": 201, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "extract_base_offset_in_addr", "(", "rtx", "mem", ",", "rtx", "*", "base", ",", "rtx", "*", "offset", ")", "{", "rtx", "addr", ";", "gcc_assert", "(", "MEM_P", "(", "mem", ")", ")", ";", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "CONST", ")", "addr", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "if", "(", "REG_P", "(", "addr", ")", "||", "GET_CODE", "(", "addr", ")", "==", "SYMBOL_REF", ")", "{", "*", "base", "=", "addr", ";", "*", "offset", "=", "const0_rtx", ";", "return", "true", ";", "}", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PLUS", "&&", "(", "REG_P", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "||", "GET_CODE", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "==", "SYMBOL_REF", ")", "&&", "CONST_INT_P", "(", "XEXP", "(", "addr", ",", "1", ")", ")", ")", "{", "*", "base", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "*", "offset", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["If", "MEM", "is", "in", "the", "form", "of", "``", "base+offset", "''", ",", "extract", "the", "two", "parts", "of", "address", "and", "set", "to", "BASE", "and", "OFFSET", ",", "otherwise", "return", "false", "after", "clearing", "BASE", "and", "OFFSET", "."], "TS_V_token": ["i386", "0", "0", "0", "0", "1", "0", "1"], "File": "i386", "Func": "extract_base_offset_in_addr", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 474, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "view", "(", ")", "{", "ViewGraph", "(", "*", "this", ",", "\"agraph\"", ")", ";", "}", ""], "natrual_language": ["Opens", "a", "viewer", "to", "show", "the", "GraphViz", "visualization", "of", "the", "regions", "."], "TS_V_token": ["Patmos", "\"agraph\""], "File": "PatmosFunctionSplitter", "Func": "view", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 475, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "add_attribute", "(", "const", "char", "*", "name", ",", "tree", "attrs", ")", "{", "return", "tree_cons", "(", "get_identifier", "(", "name", ")", ",", "NULL_TREE", ",", "attrs", ")", ";", "}", ""], "natrual_language": ["Add", "attribute", "NAME", "to", "ATTRS", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins", "Func": "add_attribute", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 476, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "SITargetLowering", "::", "PostISelFolding", "(", "MachineSDNode", "*", "Node", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "const", "SIInstrInfo", "*", "TII", "=", "static_cast", "<", "const", "SIInstrInfo", "*", ">", "(", "Subtarget", "->", "getInstrInfo", "(", ")", ")", ";", "unsigned", "Opcode", "=", "Node", "->", "getMachineOpcode", "(", ")", ";", "if", "(", "TII", "->", "isMIMG", "(", "Opcode", ")", "&&", "!", "TII", "->", "get", "(", "Opcode", ")", ".", "mayStore", "(", ")", ")", "adjustWritemask", "(", "Node", ",", "DAG", ")", ";", "if", "(", "Opcode", "==", "AMDGPU", "::", "INSERT_SUBREG", "||", "Opcode", "==", "AMDGPU", "::", "REG_SEQUENCE", ")", "{", "legalizeTargetIndependentNode", "(", "Node", ",", "DAG", ")", ";", "return", "Node", ";", "}", "return", "Node", ";", "}", ""], "natrual_language": ["Fold", "the", "instructions", "after", "selecting", "them", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "AMDGPU::INSERT_SUBREG", "AMDGPU::REG_SEQUENCE"], "File": "SIISelLowering136", "Func": "PostISelFolding", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 477, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "GlobalBaseReg", "=", "0", ";", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "PPCLowering", "=", "Subtarget", "->", "getTargetLowering", "(", ")", ";", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["PowerPC", "0", "PPC", "PPC"], "File": "PPCISelDAGToDAG100", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 478, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "const", "PPCSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "if", "(", "!", "STI", ".", "useCRBits", "(", ")", ")", "return", "false", ";", "initialize", "(", "MF", ")", ";", "collectCRLogicals", "(", ")", ";", "return", "simplifyCode", "(", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["PowerPC", "PPC", "PPC"], "File": "PPCReduceCRLogicals", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 479, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Mips16InstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "unsigned", "Opc", "=", "0", ",", "ZeroReg", "=", "0", ";", "if", "(", "Mips", "::", "CPURegsRegClass", ".", "contains", "(", "DestReg", ")", ")", "{", "if", "(", "Mips", "::", "CPURegsRegClass", ".", "contains", "(", "SrcReg", ")", ")", "Opc", "=", "Mips", "::", "Move32R16", ";", "}", "assert", "(", "Opc", "&&", "\"Cannot copy registers\"", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ")", ";", "if", "(", "DestReg", ")", "MIB", ".", "addReg", "(", "DestReg", ",", "RegState", "::", "Define", ")", ";", "if", "(", "ZeroReg", ")", "MIB", ".", "addReg", "(", "ZeroReg", ")", ";", "if", "(", "SrcReg", ")", "MIB", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["Mips", "Mips", "0", "0", "Mips::CPURegsRegClass", "Mips::CPURegsRegClass", "Mips::Move32R16", "\"Cannot copy registers\""], "File": "Mips16InstrInfo4", "Func": "copyPhysReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 480, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_evpc_neon_vzip", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "int", "i", ",", "high", ",", "mask", ",", "nelt", "=", "d", "->", "nelt", ";", "rtx", "out0", ",", "out1", ",", "in0", ",", "in1", ";", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ")", ";", "int", "first_elem", ";", "bool", "is_swapped", ";", "if", "(", "GET_MODE_UNIT_SIZE", "(", "d", "->", "vmode", ")", ">=", "8", ")", "return", "false", ";", "is_swapped", "=", "BYTES_BIG_ENDIAN", ";", "first_elem", "=", "d", "->", "perm", "[", "neon_endian_lane_map", "(", "d", "->", "vmode", ",", "0", ")", "^", "is_swapped", "]", ";", "high", "=", "nelt", "/", "2", ";", "if", "(", "first_elem", "==", "neon_endian_lane_map", "(", "d", "->", "vmode", ",", "high", ")", ")", ";", "else", "if", "(", "first_elem", "==", "neon_endian_lane_map", "(", "d", "->", "vmode", ",", "0", ")", ")", "high", "=", "0", ";", "else", "return", "false", ";", "mask", "=", "(", "d", "->", "one_vector_p", "?", "nelt", "-", "1", ":", "2", "*", "nelt", "-", "1", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", "/", "2", ";", "i", "++", ")", "{", "unsigned", "elt", "=", "neon_pair_endian_lane_map", "(", "d", "->", "vmode", ",", "i", "+", "high", ")", "&", "mask", ";", "if", "(", "d", "->", "perm", "[", "neon_pair_endian_lane_map", "(", "d", "->", "vmode", ",", "2", "*", "i", "+", "is_swapped", ")", "]", "!=", "elt", ")", "return", "false", ";", "elt", "=", "neon_pair_endian_lane_map", "(", "d", "->", "vmode", ",", "i", "+", "nelt", "+", "high", ")", "&", "mask", ";", "if", "(", "d", "->", "perm", "[", "neon_pair_endian_lane_map", "(", "d", "->", "vmode", ",", "2", "*", "i", "+", "!", "is_swapped", ")", "]", "!=", "elt", ")", "return", "false", ";", "}", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "switch", "(", "d", "->", "vmode", ")", "{", "case", "V16QImode", ":", "gen", "=", "gen_neon_vzipv16qi_internal", ";", "break", ";", "case", "V8QImode", ":", "gen", "=", "gen_neon_vzipv8qi_internal", ";", "break", ";", "case", "V8HImode", ":", "gen", "=", "gen_neon_vzipv8hi_internal", ";", "break", ";", "case", "V4HImode", ":", "gen", "=", "gen_neon_vzipv4hi_internal", ";", "break", ";", "case", "V8HFmode", ":", "gen", "=", "gen_neon_vzipv8hf_internal", ";", "break", ";", "case", "V4HFmode", ":", "gen", "=", "gen_neon_vzipv4hf_internal", ";", "break", ";", "case", "V4SImode", ":", "gen", "=", "gen_neon_vzipv4si_internal", ";", "break", ";", "case", "V2SImode", ":", "gen", "=", "gen_neon_vzipv2si_internal", ";", "break", ";", "case", "V2SFmode", ":", "gen", "=", "gen_neon_vzipv2sf_internal", ";", "break", ";", "case", "V4SFmode", ":", "gen", "=", "gen_neon_vzipv4sf_internal", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "in0", "=", "d", "->", "op0", ";", "in1", "=", "d", "->", "op1", ";", "if", "(", "is_swapped", ")", "std", "::", "swap", "(", "in0", ",", "in1", ")", ";", "out0", "=", "d", "->", "target", ";", "out1", "=", "gen_reg_rtx", "(", "d", "->", "vmode", ")", ";", "if", "(", "high", ")", "std", "::", "swap", "(", "out0", ",", "out1", ")", ";", "emit_insn", "(", "gen", "(", "out0", ",", "in0", ",", "in1", ",", "out1", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Recognize", "patterns", "for", "the", "VZIP", "insns", "."], "TS_V_token": ["arm", "8", "0", "2", "0", "0", "1", "2", "1", "0", "2", "2", "2"], "File": "arm6", "Func": "arm_evpc_neon_vzip", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 481, "Length": 435, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MSP430InstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ")", "{", "printInstruction", "(", "MI", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["MSP430", "MSP430"], "File": "MSP430InstPrinter20", "Func": "printInst", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 482, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "fr30_setup_incoming_varargs", "(", "cumulative_args_t", "arg_regs_used_so_far_v", ",", "machine_mode", "mode", ",", "tree", "type", "ATTRIBUTE_UNUSED", ",", "int", "*", "pretend_size", ",", "int", "second_time", "ATTRIBUTE_UNUSED", ")", "{", "CUMULATIVE_ARGS", "*", "arg_regs_used_so_far", "=", "get_cumulative_args", "(", "arg_regs_used_so_far_v", ")", ";", "int", "size", ";", "gcc_assert", "(", "mode", "!=", "BLKmode", ")", ";", "if", "(", "targetm", ".", "calls", ".", "strict_argument_naming", "(", "arg_regs_used_so_far_v", ")", ")", "arg_regs_used_so_far", "+=", "fr30_num_arg_regs", "(", "mode", ",", "type", ")", ";", "size", "=", "FR30_NUM_ARG_REGS", "-", "(", "*", "arg_regs_used_so_far", ")", ";", "if", "(", "size", "<=", "0", ")", "return", ";", "*", "pretend_size", "=", "(", "size", "*", "UNITS_PER_WORD", ")", ";", "}", ""], "natrual_language": ["Do", "any", "needed", "setup", "for", "a", "variadic", "function", ".", "We", "must", "create", "a", "register", "parameter", "block", ",", "and", "then", "copy", "any", "anonymous", "arguments", ",", "plus", "the", "last", "named", "argument", ",", "from", "registers", "into", "memory", ".", "*", "copying", "actually", "done", "in", "fr30_expand_prologue", "(", ")", ".", "ARG_REGS_USED_SO_FAR", "has", "*", "not", "*", "been", "updated", "for", "the", "last", "named", "argument", "which", "has", "type", "TYPE", "and", "mode", "MODE", ",", "and", "we", "rely", "on", "this", "fact", "."], "TS_V_token": ["fr30", "0"], "File": "fr304", "Func": "fr30_setup_incoming_varargs", "Target": "fr30", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 483, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "VESubtarget", "&", "VESubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "std", "::", "string", "CPUName", "=", "std", "::", "string", "(", "CPU", ")", ";", "if", "(", "CPUName", ".", "empty", "(", ")", ")", "CPUName", "=", "\"ve\"", ";", "ParseSubtargetFeatures", "(", "CPUName", ",", "FS", ")", ";", "return", "*", "this", ";", "}", ""], "natrual_language": ["initializeSubtargetDependencies", "-", "Initializes", "using", "a", "CPU", ",", "a", "TuneCPU", ",", "and", "feature", "string", "so", "that", "we", "can", "use", "initializer", "lists", "for", "subtarget", "initialization", "."], "TS_V_token": ["VE", "VE", "VE", "\"ve\""], "File": "VESubtarget5", "Func": "initializeSubtargetDependencies", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 484, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addPreserved", "<", "MachineFunctionAnalysis", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineFunctionAnalysis", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "MachinePostDominatorTree", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineLoopInfo", ">", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["R600"], "File": "AMDILCFGStructurizer12", "Func": "getAnalysisUsage", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 485, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMLoadStoreOpt", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "if", "(", "skipFunction", "(", "Fn", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "MF", "=", "&", "Fn", ";", "STI", "=", "&", "static_cast", "<", "const", "ARMSubtarget", "&", ">", "(", "Fn", ".", "getSubtarget", "(", ")", ")", ";", "TL", "=", "STI", "->", "getTargetLowering", "(", ")", ";", "AFI", "=", "Fn", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "TRI", "=", "STI", "->", "getRegisterInfo", "(", ")", ";", "RegClassInfoValid", "=", "false", ";", "isThumb2", "=", "AFI", "->", "isThumb2Function", "(", ")", ";", "isThumb1", "=", "AFI", "->", "isThumbFunction", "(", ")", "&&", "!", "isThumb2", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "Fn", ")", "{", "Modified", "|=", "LoadStoreMultipleOpti", "(", "MBB", ")", ";", "if", "(", "STI", "->", "hasV5TOps", "(", ")", ")", "Modified", "|=", "MergeReturnIntoLDM", "(", "MBB", ")", ";", "if", "(", "isThumb1", ")", "Modified", "|=", "CombineMovBx", "(", "MBB", ")", ";", "}", "Allocator", ".", "DestroyAll", "(", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM"], "File": "ARMLoadStoreOptimizer23", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 486, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "WebAssemblyTargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "SDLoc", "DL", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "if", "(", "CallConv", "!=", "CallingConv", "::", "C", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly doesn't support non-C calling conventions\"", ")", ";", "if", "(", "IsVarArg", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly doesn't support varargs yet\"", ")", ";", "for", "(", "const", "ISD", "::", "InputArg", "&", "In", ":", "Ins", ")", "{", "if", "(", "In", ".", "Flags", ".", "isByVal", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly hasn't implemented byval arguments\"", ")", ";", "if", "(", "In", ".", "Flags", ".", "isInAlloca", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly hasn't implemented inalloca arguments\"", ")", ";", "if", "(", "In", ".", "Flags", ".", "isNest", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly hasn't implemented nest arguments\"", ")", ";", "if", "(", "In", ".", "Flags", ".", "isInConsecutiveRegs", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly hasn't implemented cons regs arguments\"", ")", ";", "if", "(", "In", ".", "Flags", ".", "isInConsecutiveRegsLast", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly hasn't implemented cons regs last arguments\"", ")", ";", "InVals", ".", "push_back", "(", "In", ".", "Used", "?", "DAG", ".", "getNode", "(", "WebAssemblyISD", "::", "ARGUMENT", ",", "DL", ",", "In", ".", "VT", ",", "DAG", ".", "getTargetConstant", "(", "InVals", ".", "size", "(", ")", ",", "DL", ",", "MVT", "::", "i32", ")", ")", ":", "DAG", ".", "getNode", "(", "ISD", "::", "UNDEF", ",", "DL", ",", "In", ".", "VT", ")", ")", ";", "MF", ".", "getInfo", "<", "WebAssemblyFunctionInfo", ">", "(", ")", "->", "addParam", "(", "In", ".", "VT", ")", ";", "}", "return", "Chain", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "the", "Ins", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "ISD::InputArg", "\"WebAssembly doesn't support non-C calling conventions\"", "\"WebAssembly doesn't support varargs yet\"", "ISD::InputArg", "\"WebAssembly hasn't implemented byval arguments\"", "\"WebAssembly hasn't implemented inalloca arguments\"", "\"WebAssembly hasn't implemented nest arguments\"", "\"WebAssembly hasn't implemented cons regs arguments\"", "\"WebAssembly hasn't implemented cons regs last arguments\"", "WebAssemblyISD::ARGUMENT", "MVT::i32", "ISD::UNDEF", "WebAssembly"], "File": "WebAssemblyISelLowering46", "Func": "LowerFormalArguments", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 487, "Length": 266, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "lm32_function_arg", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "if", "(", "arg", ".", "end_marker_p", "(", ")", ")", "return", "GEN_INT", "(", "0", ")", ";", "if", "(", "targetm", ".", "calls", ".", "must_pass_in_stack", "(", "arg", ")", ")", "return", "NULL_RTX", ";", "if", "(", "!", "arg", ".", "named", "||", "*", "cum", "+", "LM32_NUM_REGS2", "(", "arg", ".", "mode", ",", "arg", ".", "type", ")", ">", "LM32_NUM_ARG_REGS", ")", "return", "NULL_RTX", ";", "return", "gen_rtx_REG", "(", "arg", ".", "mode", ",", "*", "cum", "+", "LM32_FIRST_ARG_REG", ")", ";", "}", ""], "natrual_language": ["Determine", "where", "to", "put", "an", "argument", "to", "a", "function", ".", "Value", "is", "zero", "to", "push", "the", "argument", "on", "the", "stack", ",", "or", "a", "hard", "register", "in", "which", "to", "store", "the", "argument", ".", "MODE", "is", "the", "argument", "'s", "machine", "mode", ".", "TYPE", "is", "the", "data", "type", "of", "the", "argument", "(", "as", "a", "tree", ")", ".", "This", "is", "null", "for", "libcalls", "where", "that", "information", "may", "not", "be", "available", ".", "CUM", "is", "a", "variable", "of", "type", "CUMULATIVE_ARGS", "which", "gives", "info", "about", "the", "preceding", "args", "and", "about", "the", "function", "being", "called", ".", "NAMED", "is", "nonzero", "if", "this", "argument", "is", "a", "named", "parameter", "(", "otherwise", "it", "is", "an", "extra", "parameter", "matching", "an", "ellipsis", ")", "."], "TS_V_token": ["lm32", "0"], "File": "lm32", "Func": "lm32_function_arg", "Target": "lm32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 488, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_sve_bitmask_immediate_p", "(", "rtx", "x", ")", "{", "rtx", "elt", ";", "return", "(", "const_vec_duplicate_p", "(", "x", ",", "&", "elt", ")", "&&", "CONST_INT_P", "(", "elt", ")", "&&", "aarch64_bitmask_imm", "(", "INTVAL", "(", "elt", ")", ",", "GET_MODE_INNER", "(", "GET_MODE", "(", "x", ")", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "valid", "immediate", "operand", "for", "an", "SVE", "logical", "instruction", "such", "as", "AND", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_sve_bitmask_immediate_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 489, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_initialize_trampoline", "(", "rtx", "addr", ",", "rtx", "fnaddr", ",", "rtx", "cxt", ")", "{", "enum", "machine_mode", "pmode", "=", "Pmode", ";", "int", "regsize", "=", "(", "TARGET_32BIT", ")", "?", "4", ":", "8", ";", "rtx", "ctx_reg", "=", "force_reg", "(", "pmode", ",", "cxt", ")", ";", "switch", "(", "DEFAULT_ABI", ")", "{", "default", ":", "gcc_unreachable", "(", ")", ";", "gen_rtx_MEM", "(", "pmode", ",", "memory_address", "(", "pmode", ",", "plus_constant", "(", "addr", ",", "offset", ")", ")", ")", "case", "ABI_AIX", ":", "{", "rtx", "fn_reg", "=", "gen_reg_rtx", "(", "pmode", ")", ";", "rtx", "toc_reg", "=", "gen_reg_rtx", "(", "pmode", ")", ";", "emit_move_insn", "(", "fn_reg", ",", "MEM_DEREF", "(", "fnaddr", ")", ")", ";", "emit_move_insn", "(", "toc_reg", ",", "MEM_PLUS", "(", "fnaddr", ",", "regsize", ")", ")", ";", "emit_move_insn", "(", "MEM_DEREF", "(", "addr", ")", ",", "fn_reg", ")", ";", "emit_move_insn", "(", "MEM_PLUS", "(", "addr", ",", "regsize", ")", ",", "toc_reg", ")", ";", "emit_move_insn", "(", "MEM_PLUS", "(", "addr", ",", "2", "*", "regsize", ")", ",", "ctx_reg", ")", ";", "}", "break", ";", "case", "ABI_DARWIN", ":", "case", "ABI_V4", ":", "emit_library_call", "(", "gen_rtx_SYMBOL_REF", "(", "SImode", ",", "\"__trampoline_setup\"", ")", ",", "FALSE", ",", "VOIDmode", ",", "4", ",", "addr", ",", "pmode", ",", "GEN_INT", "(", "rs6000_trampoline_size", "(", ")", ")", ",", "SImode", ",", "fnaddr", ",", "pmode", ",", "ctx_reg", ",", "pmode", ")", ";", "break", ";", "}", "return", ";", "}", ""], "natrual_language": ["Emit", "RTL", "insns", "to", "initialize", "the", "variable", "parts", "of", "a", "trampoline", ".", "FNADDR", "is", "an", "RTX", "for", "the", "address", "of", "the", "function", "'s", "pure", "code", ".", "CXT", "is", "an", "RTX", "for", "the", "static", "chain", "value", "for", "the", "function", "."], "TS_V_token": ["rs6000", "4", "8", "2", "\"__trampoline_setup\"", "4"], "File": "rs60003", "Func": "rs6000_initialize_trampoline", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 490, "Length": 197, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isReg", "(", ")", "const", "override", "{", "return", "Kind", "==", "k_Register", ";", "}", ""], "natrual_language": ["isReg", "-", "Is", "this", "a", "register", "operand", "?"], "TS_V_token": ["LC2200"], "File": "LC2200AsmParser", "Func": "isReg", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 491, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LC2200PassConfig", "::", "addPreEmitPass", "(", ")", "{", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["LC2200", "LC2200"], "File": "LC2200TargetMachine", "Func": "addPreEmitPass", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 492, "Length": 8, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "chain_contains_only_swaps", "(", "swap_web_entry", "*", "insn_entry", ",", "struct", "df_link", "*", "link", ",", "enum", "chain_purpose", "purpose", ")", "{", "if", "(", "!", "link", ")", "return", "false", ";", "for", "(", ";", "link", ";", "link", "=", "link", "->", "next", ")", "{", "if", "(", "!", "VECTOR_MODE_P", "(", "GET_MODE", "(", "DF_REF_REG", "(", "link", "->", "ref", ")", ")", ")", ")", "continue", ";", "if", "(", "DF_REF_IS_ARTIFICIAL", "(", "link", "->", "ref", ")", ")", "return", "false", ";", "rtx", "reached_insn", "=", "DF_REF_INSN", "(", "link", "->", "ref", ")", ";", "unsigned", "uid", "=", "INSN_UID", "(", "reached_insn", ")", ";", "struct", "df_insn_info", "*", "insn_info", "=", "DF_INSN_INFO_GET", "(", "reached_insn", ")", ";", "if", "(", "!", "insn_entry", "[", "uid", "]", ".", "is_swap", "||", "insn_entry", "[", "uid", "]", ".", "is_load", "||", "insn_entry", "[", "uid", "]", ".", "is_store", ")", "return", "false", ";", "if", "(", "purpose", "==", "FOR_LOADS", ")", "{", "df_ref", "use", ";", "FOR_EACH_INSN_INFO_USE", "(", "use", ",", "insn_info", ")", "{", "struct", "df_link", "*", "swap_link", "=", "DF_REF_CHAIN", "(", "use", ")", ";", "while", "(", "swap_link", ")", "{", "if", "(", "DF_REF_IS_ARTIFICIAL", "(", "link", "->", "ref", ")", ")", "return", "false", ";", "rtx", "swap_def_insn", "=", "DF_REF_INSN", "(", "swap_link", "->", "ref", ")", ";", "unsigned", "uid2", "=", "INSN_UID", "(", "swap_def_insn", ")", ";", "if", "(", "!", "insn_entry", "[", "uid2", "]", ".", "is_swap", "||", "!", "insn_entry", "[", "uid2", "]", ".", "is_load", ")", "return", "false", ";", "swap_link", "=", "swap_link", "->", "next", ";", "}", "}", "}", "else", "if", "(", "purpose", "==", "FOR_STORES", ")", "{", "df_ref", "def", ";", "FOR_EACH_INSN_INFO_DEF", "(", "def", ",", "insn_info", ")", "{", "struct", "df_link", "*", "swap_link", "=", "DF_REF_CHAIN", "(", "def", ")", ";", "while", "(", "swap_link", ")", "{", "if", "(", "DF_REF_IS_ARTIFICIAL", "(", "link", "->", "ref", ")", ")", "return", "false", ";", "rtx", "swap_use_insn", "=", "DF_REF_INSN", "(", "swap_link", "->", "ref", ")", ";", "unsigned", "uid2", "=", "INSN_UID", "(", "swap_use_insn", ")", ";", "if", "(", "!", "insn_entry", "[", "uid2", "]", ".", "is_swap", "||", "insn_entry", "[", "uid2", "]", ".", "is_load", ")", "return", "false", ";", "swap_link", "=", "swap_link", "->", "next", ";", "}", "}", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "UD", "or", "DU", "chain", "headed", "by", "LINK", "is", "non-empty", ",", "and", "every", "entry", "on", "the", "chain", "references", "an", "insn", "that", "is", "a", "register", "swap", ".", "Furthermore", ",", "if", "PURPOSE", "is", "FOR_LOADS", ",", "each", "such", "register", "swap", "must", "have", "only", "permuting", "loads", "as", "reaching", "defs", ".", "If", "PURPOSE", "is", "FOR_STORES", ",", "each", "such", "register", "swap", "must", "have", "only", "register", "swaps", "or", "permuting", "stores", "as", "reached", "uses", "."], "TS_V_token": ["rs6000"], "File": "rs60004", "Func": "chain_contains_only_swaps", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 493, "Length": 312, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "unsigned", "numSubRegs", "=", "0", ";", "unsigned", "movOpc", "=", "0", ";", "const", "unsigned", "*", "subRegIdx", "=", "0", ";", "const", "unsigned", "DFP_FP_SubRegsIdx", "[", "]", "=", "{", "SP", "::", "sub_even", ",", "SP", "::", "sub_odd", "}", ";", "const", "unsigned", "QFP_DFP_SubRegsIdx", "[", "]", "=", "{", "SP", "::", "sub_even64", ",", "SP", "::", "sub_odd64", "}", ";", "const", "unsigned", "QFP_FP_SubRegsIdx", "[", "]", "=", "{", "SP", "::", "sub_even", ",", "SP", "::", "sub_odd", ",", "SP", "::", "sub_odd64_then_sub_even", ",", "SP", "::", "sub_odd64_then_sub_odd", "}", ";", "if", "(", "SP", "::", "IntRegsRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "ORrr", ")", ",", "DestReg", ")", ".", "addReg", "(", "SP", "::", "G0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "else", "if", "(", "SP", "::", "FPRegsRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "FMOVS", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "else", "if", "(", "SP", "::", "DFPRegsRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "if", "(", "Subtarget", ".", "isV9", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "FMOVD", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", "else", "{", "subRegIdx", "=", "DFP_FP_SubRegsIdx", ";", "numSubRegs", "=", "2", ";", "movOpc", "=", "SP", "::", "FMOVS", ";", "}", "}", "else", "if", "(", "SP", "::", "QFPRegsRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "if", "(", "Subtarget", ".", "isV9", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "hasHardQuad", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "FMOVQ", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", "else", "{", "subRegIdx", "=", "QFP_DFP_SubRegsIdx", ";", "numSubRegs", "=", "2", ";", "movOpc", "=", "SP", "::", "FMOVD", ";", "}", "}", "else", "{", "subRegIdx", "=", "QFP_FP_SubRegsIdx", ";", "numSubRegs", "=", "4", ";", "movOpc", "=", "SP", "::", "FMOVS", ";", "}", "}", "else", "llvm_unreachable", "(", "\"Impossible reg-to-reg copy\"", ")", ";", "if", "(", "numSubRegs", "==", "0", "||", "subRegIdx", "==", "0", "||", "movOpc", "==", "0", ")", "return", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "&", "getRegisterInfo", "(", ")", ";", "MachineInstr", "*", "MovMI", "=", "0", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "numSubRegs", ";", "++", "i", ")", "{", "unsigned", "Dst", "=", "TRI", "->", "getSubReg", "(", "DestReg", ",", "subRegIdx", "[", "i", "]", ")", ";", "unsigned", "Src", "=", "TRI", "->", "getSubReg", "(", "SrcReg", ",", "subRegIdx", "[", "i", "]", ")", ";", "assert", "(", "Dst", "&&", "Src", "&&", "\"Bad sub-register\"", ")", ";", "MovMI", "=", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "movOpc", ")", ",", "Dst", ")", ".", "addReg", "(", "Src", ")", ";", "}", "MovMI", "->", "addRegisterDefined", "(", "DestReg", ",", "TRI", ")", ";", "if", "(", "KillSrc", ")", "MovMI", "->", "addRegisterKilled", "(", "SrcReg", ",", "TRI", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["Sparc", "Sparc", "0", "0", "0", "SP::sub_even", "SP::sub_odd", "SP::sub_even64", "SP::sub_odd64", "SP::sub_even", "SP::sub_odd", "SP::sub_odd64_then_sub_even", "SP::sub_odd64_then_sub_odd", "SP::IntRegsRegClass", "SP::ORrr", "SP::G0", "SP::FPRegsRegClass", "SP::FMOVS", "SP::DFPRegsRegClass", "SP::FMOVD", "2", "SP::FMOVS", "SP::QFPRegsRegClass", "SP::FMOVQ", "2", "SP::FMOVD", "4", "SP::FMOVS", "\"Impossible reg-to-reg copy\"", "0", "0", "0", "0", "0", "\"Bad sub-register\""], "File": "SparcInstrInfo13", "Func": "copyPhysReg", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 494, "Length": 499, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "mmix_dynamic_chain_address", "(", "rtx", "frame", ")", "{", "return", "plus_constant", "(", "Pmode", ",", "frame", ",", "-", "8", ")", ";", "}", ""], "natrual_language": ["DYNAMIC_CHAIN_ADDRESS", "."], "TS_V_token": ["mmix", "8"], "File": "mmix", "Func": "mmix_dynamic_chain_address", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 495, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "VariantKind", "getKind", "(", ")", "const", "{", "return", "Kind", ";", "}", ""], "natrual_language": ["Returns", "the", "Kind", "of", "lane", "offset", "."], "TS_V_token": ["SNES"], "File": "SNESMCExpr", "Func": "getKind", "Target": "SNES", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 496, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64SelectionDAGInfo", "::", "EmitTargetCodeForMemset", "(", "SelectionDAG", "&", "DAG", ",", "SDLoc", "dl", ",", "SDValue", "Chain", ",", "SDValue", "Dst", ",", "SDValue", "Src", ",", "SDValue", "Size", ",", "unsigned", "Align", ",", "bool", "isVolatile", ",", "MachinePointerInfo", "DstPtrInfo", ")", "const", "{", "ConstantSDNode", "*", "V", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Src", ")", ";", "ConstantSDNode", "*", "SizeValue", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Size", ")", ";", "const", "AArch64Subtarget", "&", "STI", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ";", "const", "char", "*", "bzeroEntry", "=", "(", "V", "&&", "V", "->", "isNullValue", "(", ")", ")", "?", "STI", ".", "getBZeroEntry", "(", ")", ":", "nullptr", ";", "if", "(", "bzeroEntry", "&&", "(", "!", "SizeValue", "||", "SizeValue", "->", "getZExtValue", "(", ")", ">", "256", ")", ")", "{", "const", "AArch64TargetLowering", "&", "TLI", "=", "*", "STI", ".", "getTargetLowering", "(", ")", ";", "EVT", "IntPtr", "=", "TLI", ".", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ";", "Type", "*", "IntPtrTy", "=", "DAG", ".", "getDataLayout", "(", ")", ".", "getIntPtrType", "(", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "TargetLowering", "::", "ArgListTy", "Args", ";", "TargetLowering", "::", "ArgListEntry", "Entry", ";", "Entry", ".", "Node", "=", "Dst", ";", "Entry", ".", "Ty", "=", "IntPtrTy", ";", "Args", ".", "push_back", "(", "Entry", ")", ";", "Entry", ".", "Node", "=", "Size", ";", "Args", ".", "push_back", "(", "Entry", ")", ";", "TargetLowering", "::", "CallLoweringInfo", "CLI", "(", "DAG", ")", ";", "CLI", ".", "setDebugLoc", "(", "dl", ")", ".", "setChain", "(", "Chain", ")", ".", "setCallee", "(", "CallingConv", "::", "C", ",", "Type", "::", "getVoidTy", "(", "*", "DAG", ".", "getContext", "(", ")", ")", ",", "DAG", ".", "getExternalSymbol", "(", "bzeroEntry", ",", "IntPtr", ")", ",", "std", "::", "move", "(", "Args", ")", ",", "0", ")", ".", "setDiscardResult", "(", ")", ";", "std", "::", "pair", "<", "SDValue", ",", "SDValue", ">", "CallResult", "=", "TLI", ".", "LowerCallTo", "(", "CLI", ")", ";", "return", "CallResult", ".", "second", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memset", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "256", "AArch64", "0"], "File": "AArch64SelectionDAGInfo (2)", "Func": "EmitTargetCodeForMemset", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 497, "Length": 296, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "alpha_const_double_ok_for_letter_p", "(", "rtx", "value", ",", "int", "c", ")", "{", "switch", "(", "c", ")", "{", "case", "'G'", ":", "return", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "value", ")", ")", "==", "MODE_FLOAT", "&&", "value", "==", "CONST0_RTX", "(", "GET_MODE", "(", "value", ")", ")", ")", ";", "case", "'H'", ":", "return", "(", "GET_MODE", "(", "value", ")", "==", "VOIDmode", "&&", "zap_mask", "(", "CONST_DOUBLE_LOW", "(", "value", ")", ")", "&&", "zap_mask", "(", "CONST_DOUBLE_HIGH", "(", "value", ")", ")", ")", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Implements", "CONST_DOUBLE_OK_FOR_LETTER_P", ".", "Return", "true", "if", "VALUE", "matches", "for", "C", "in", "[", "GH", "]", "."], "TS_V_token": ["alpha"], "File": "alpha3", "Func": "alpha_const_double_ok_for_letter_p", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 498, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Wasn't expecting to be able to lower this!\"", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "LowerConstantPool", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "LowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalTLSAddress", ":", "return", "LowerGlobalTLSAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "JumpTable", ":", "return", "LowerJumpTable", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SETCC", ":", "return", "LowerSETCC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "TRAMPOLINE", ":", "return", "LowerTRAMPOLINE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ",", "VarArgsFrameIndex", ",", "VarArgsStackOffset", ",", "VarArgsNumGPR", ",", "VarArgsNumFPR", ",", "PPCSubTarget", ")", ";", "case", "ISD", "::", "VAARG", ":", "return", "LowerVAARG", "(", "Op", ",", "DAG", ",", "VarArgsFrameIndex", ",", "VarArgsStackOffset", ",", "VarArgsNumGPR", ",", "VarArgsNumFPR", ",", "PPCSubTarget", ")", ";", "case", "ISD", "::", "STACKRESTORE", ":", "return", "LowerSTACKRESTORE", "(", "Op", ",", "DAG", ",", "PPCSubTarget", ")", ";", "case", "ISD", "::", "DYNAMIC_STACKALLOC", ":", "return", "LowerDYNAMIC_STACKALLOC", "(", "Op", ",", "DAG", ",", "PPCSubTarget", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FP_TO_UINT", ":", "case", "ISD", "::", "FP_TO_SINT", ":", "return", "LowerFP_TO_INT", "(", "Op", ",", "DAG", ",", "Op", ".", "getDebugLoc", "(", ")", ")", ";", "case", "ISD", "::", "SINT_TO_FP", ":", "return", "LowerSINT_TO_FP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FLT_ROUNDS_", ":", "return", "LowerFLT_ROUNDS_", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SHL_PARTS", ":", "return", "LowerSHL_PARTS", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SRL_PARTS", ":", "return", "LowerSRL_PARTS", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SRA_PARTS", ":", "return", "LowerSRA_PARTS", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BUILD_VECTOR", ":", "return", "LowerBUILD_VECTOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VECTOR_SHUFFLE", ":", "return", "LowerVECTOR_SHUFFLE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "LowerINTRINSIC_WO_CHAIN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SCALAR_TO_VECTOR", ":", "return", "LowerSCALAR_TO_VECTOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "MUL", ":", "return", "LowerMUL", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "RETURNADDR", ":", "return", "LowerRETURNADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "LowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["PowerPC", "PPC", "\"Wasn't expecting to be able to lower this!\"", "ISD::ConstantPool", "ISD::BlockAddress", "ISD::GlobalAddress", "ISD::GlobalTLSAddress", "ISD::JumpTable", "ISD::SETCC", "ISD::TRAMPOLINE", "ISD::VASTART", "PPC", "ISD::VAARG", "PPC", "ISD::STACKRESTORE", "PPC", "ISD::DYNAMIC_STACKALLOC", "PPC", "ISD::SELECT_CC", "ISD::FP_TO_UINT", "ISD::FP_TO_SINT", "ISD::SINT_TO_FP", "ISD::FLT_ROUNDS_", "ISD::SHL_PARTS", "ISD::SRL_PARTS", "ISD::SRA_PARTS", "ISD::BUILD_VECTOR", "ISD::VECTOR_SHUFFLE", "ISD::INTRINSIC_WO_CHAIN", "ISD::SCALAR_TO_VECTOR", "ISD::MUL", "ISD::RETURNADDR", "ISD::FRAMEADDR"], "File": "PPCISelLowering107", "Func": "LowerOperation", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 499, "Length": 396, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "WebAssemblyAsmBackend", "::", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ")", "const", "{", "const", "MCFixupKindInfo", "&", "Info", "=", "getFixupKindInfo", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "assert", "(", "Info", ".", "Flags", "==", "0", "&&", "\"WebAssembly does not use MCFixupKindInfo flags\"", ")", ";", "unsigned", "NumBytes", "=", "alignTo", "(", "Info", ".", "TargetSize", ",", "8", ")", "/", "8", ";", "if", "(", "Value", "==", "0", ")", "return", ";", "Value", "<<=", "Info", ".", "TargetOffset", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "assert", "(", "Offset", "+", "NumBytes", "<=", "DataSize", "&&", "\"Invalid fixup offset!\"", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "Data", "[", "Offset", "+", "i", "]", "|=", "uint8_t", "(", "(", "Value", ">>", "(", "i", "*", "8", ")", ")", "&", "0xff", ")", ";", "}", ""], "natrual_language": ["Apply", "the", "Value", "for", "given", "Fixup", "into", "the", "provided", "data", "fragment", ",", "at", "the", "offset", "specified", "by", "the", "fixup", "and", "following", "the", "fixup", "kind", "as", "appropriate", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "0", "\"WebAssembly does not use MCFixupKindInfo flags\"", "8", "8", "0", "\"Invalid fixup offset!\"", "0", "8", "0xff"], "File": "WebAssemblyAsmBackend13", "Func": "applyFixup", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 500, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64LegalizerInfo", "::", "legalizeCustom", "(", "LegalizerHelper", "&", "Helper", ",", "MachineInstr", "&", "MI", ")", "const", "{", "MachineIRBuilder", "&", "MIRBuilder", "=", "Helper", ".", "MIRBuilder", ";", "MachineRegisterInfo", "&", "MRI", "=", "*", "MIRBuilder", ".", "getMRI", "(", ")", ";", "GISelChangeObserver", "&", "Observer", "=", "Helper", ".", "Observer", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "TargetOpcode", "::", "G_VAARG", ":", "return", "legalizeVaArg", "(", "MI", ",", "MRI", ",", "MIRBuilder", ")", ";", "case", "TargetOpcode", "::", "G_LOAD", ":", "case", "TargetOpcode", "::", "G_STORE", ":", "return", "legalizeLoadStore", "(", "MI", ",", "MRI", ",", "MIRBuilder", ",", "Observer", ")", ";", "case", "TargetOpcode", "::", "G_SHL", ":", "case", "TargetOpcode", "::", "G_ASHR", ":", "case", "TargetOpcode", "::", "G_LSHR", ":", "return", "legalizeShlAshrLshr", "(", "MI", ",", "MRI", ",", "MIRBuilder", ",", "Observer", ")", ";", "case", "TargetOpcode", "::", "G_GLOBAL_VALUE", ":", "return", "legalizeSmallCMGlobalValue", "(", "MI", ",", "MRI", ",", "MIRBuilder", ",", "Observer", ")", ";", "case", "TargetOpcode", "::", "G_TRUNC", ":", "return", "legalizeVectorTrunc", "(", "MI", ",", "Helper", ")", ";", "case", "TargetOpcode", "::", "G_SBFX", ":", "case", "TargetOpcode", "::", "G_UBFX", ":", "return", "legalizeBitfieldExtract", "(", "MI", ",", "MRI", ",", "Helper", ")", ";", "case", "TargetOpcode", "::", "G_ROTR", ":", "return", "legalizeRotate", "(", "MI", ",", "MRI", ",", "Helper", ")", ";", "case", "TargetOpcode", "::", "G_CTPOP", ":", "return", "legalizeCTPOP", "(", "MI", ",", "MRI", ",", "Helper", ")", ";", "case", "TargetOpcode", "::", "G_ATOMIC_CMPXCHG", ":", "return", "legalizeAtomicCmpxchg128", "(", "MI", ",", "MRI", ",", "Helper", ")", ";", "case", "TargetOpcode", "::", "G_CTTZ", ":", "return", "legalizeCTTZ", "(", "MI", ",", "Helper", ")", ";", "case", "TargetOpcode", "::", "G_BZERO", ":", "case", "TargetOpcode", "::", "G_MEMCPY", ":", "case", "TargetOpcode", "::", "G_MEMMOVE", ":", "case", "TargetOpcode", "::", "G_MEMSET", ":", "return", "legalizeMemOps", "(", "MI", ",", "Helper", ")", ";", "}", "llvm_unreachable", "(", "\"expected switch to return\"", ")", ";", "}", ""], "natrual_language": ["Called", "for", "instructions", "with", "the", "Custom", "LegalizationAction", "."], "TS_V_token": ["AArch64", "AArch64", "\"expected switch to return\""], "File": "AArch64LegalizerInfo20", "Func": "legalizeCustom", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 501, "Length": 263, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "visium_initial_elimination_offset", "(", "int", "from", ",", "int", "to", "ATTRIBUTE_UNUSED", ")", "{", "const", "int", "frame_size", "=", "visium_compute_frame_size", "(", "get_frame_size", "(", ")", ")", ";", "const", "int", "save_fp", "=", "current_frame_info", ".", "save_fp", ";", "const", "int", "save_lr", "=", "current_frame_info", ".", "save_lr", ";", "const", "int", "lr_slot", "=", "current_frame_info", ".", "lr_slot", ";", "const", "int", "local_frame_offset", "=", "(", "save_fp", "+", "save_lr", "+", "lr_slot", ")", "*", "UNITS_PER_WORD", ";", "int", "offset", ";", "if", "(", "from", "==", "FRAME_POINTER_REGNUM", ")", "offset", "=", "local_frame_offset", ";", "else", "if", "(", "from", "==", "ARG_POINTER_REGNUM", ")", "offset", "=", "frame_size", ";", "else", "gcc_unreachable", "(", ")", ";", "return", "offset", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "INITIAL_ELIMINATION_OFFSET", "(", "FROM", ",", "TO", ",", "OFFSET", ")", ".", "Define", "the", "offset", "between", "two", "registers", ",", "one", "to", "be", "eliminated", ",", "and", "the", "other", "its", "replacement", ",", "at", "the", "start", "of", "a", "routine", "."], "TS_V_token": ["visium"], "File": "visium2", "Func": "visium_initial_elimination_offset", "Target": "visium", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 502, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "output_indirect_thunk_function", "(", "enum", "indirect_thunk_prefix", "need_prefix", ",", "unsigned", "int", "regno", ",", "bool", "ret_p", ")", "{", "char", "name", "[", "32", "]", ";", "tree", "decl", ";", "indirect_thunk_name", "(", "name", ",", "regno", ",", "need_prefix", ",", "ret_p", ")", ";", "decl", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FUNCTION_DECL", ",", "get_identifier", "(", "name", ")", ",", "build_function_type_list", "(", "void_type_node", ",", "NULL_TREE", ")", ")", ";", "DECL_RESULT", "(", "decl", ")", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "RESULT_DECL", ",", "NULL_TREE", ",", "void_type_node", ")", ";", "TREE_PUBLIC", "(", "decl", ")", "=", "1", ";", "TREE_STATIC", "(", "decl", ")", "=", "1", ";", "DECL_IGNORED_P", "(", "decl", ")", "=", "1", ";", "if", "(", "TARGET_MACHO", ")", "{", "switch_to_section", "(", "darwin_sections", "[", "picbase_thunk_section", "]", ")", ";", "fputs", "(", "\"\\t.weak_definition\\t\"", ",", "asm_out_file", ")", ";", "assemble_name", "(", "asm_out_file", ",", "name", ")", ";", "fputs", "(", "\"\\n\\t.private_extern\\t\"", ",", "asm_out_file", ")", ";", "assemble_name", "(", "asm_out_file", ",", "name", ")", ";", "putc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "ASM_OUTPUT_LABEL", "(", "asm_out_file", ",", "name", ")", ";", "DECL_WEAK", "(", "decl", ")", "=", "1", ";", "}", "else", "if", "(", "USE_HIDDEN_LINKONCE", ")", "{", "cgraph_node", "::", "create", "(", "decl", ")", "->", "set_comdat_group", "(", "DECL_ASSEMBLER_NAME", "(", "decl", ")", ")", ";", "targetm", ".", "asm_out", ".", "unique_section", "(", "decl", ",", "0", ")", ";", "switch_to_section", "(", "get_named_section", "(", "decl", ",", "NULL", ",", "0", ")", ")", ";", "targetm", ".", "asm_out", ".", "globalize_label", "(", "asm_out_file", ",", "name", ")", ";", "fputs", "(", "\"\\t.hidden\\t\"", ",", "asm_out_file", ")", ";", "assemble_name", "(", "asm_out_file", ",", "name", ")", ";", "putc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "ASM_DECLARE_FUNCTION_NAME", "(", "asm_out_file", ",", "name", ",", "decl", ")", ";", "}", "else", "{", "switch_to_section", "(", "text_section", ")", ";", "ASM_OUTPUT_LABEL", "(", "asm_out_file", ",", "name", ")", ";", "}", "DECL_INITIAL", "(", "decl", ")", "=", "make_node", "(", "BLOCK", ")", ";", "current_function_decl", "=", "decl", ";", "allocate_struct_function", "(", "decl", ",", "false", ")", ";", "init_function_start", "(", "decl", ")", ";", "cfun", "->", "is_thunk", "=", "true", ";", "first_function_block_is_cold", "=", "false", ";", "final_start_function", "(", "emit_barrier", "(", ")", ",", "asm_out_file", ",", "1", ")", ";", "output_indirect_thunk", "(", "regno", ")", ";", "final_end_function", "(", ")", ";", "init_insn_lengths", "(", ")", ";", "free_after_compilation", "(", "cfun", ")", ";", "set_cfun", "(", "NULL", ")", ";", "current_function_decl", "=", "NULL", ";", "}", ""], "natrual_language": ["Output", "a", "funtion", "with", "a", "call", "and", "return", "thunk", "for", "indirect", "branch", ".", "If", "BND_P", "is", "true", ",", "the", "BND", "prefix", "is", "needed", ".", "If", "REGNO", "!", "=", "UNVALID_REGNUM", ",", "the", "function", "address", "is", "in", "REGNO", ".", "Otherwise", ",", "the", "function", "address", "is", "on", "the", "top", "of", "stack", ".", "Thunk", "is", "used", "for", "function", "return", "if", "RET_P", "is", "true", "."], "TS_V_token": ["i386", "32", "1", "1", "1", "\"\\t.weak_definition\\t\"", "\"\\n\\t.private_extern\\t\"", "1", "0", "0", "\"\\t.hidden\\t\"", "1"], "File": "i386", "Func": "output_indirect_thunk_function", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 503, "Length": 333, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "RISCVTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "(", "RISCVISD", "::", "NodeType", ")", "Opcode", ")", "{", "case", "RISCVISD", "::", "FIRST_NUMBER", ":", "break", ";", "case", "RISCVISD", "::", "RET_FLAG", ":", "return", "\"RISCVISD::RET_FLAG\"", ";", "case", "RISCVISD", "::", "URET_FLAG", ":", "return", "\"RISCVISD::URET_FLAG\"", ";", "case", "RISCVISD", "::", "SRET_FLAG", ":", "return", "\"RISCVISD::SRET_FLAG\"", ";", "case", "RISCVISD", "::", "MRET_FLAG", ":", "return", "\"RISCVISD::MRET_FLAG\"", ";", "case", "RISCVISD", "::", "CALL", ":", "return", "\"RISCVISD::CALL\"", ";", "case", "RISCVISD", "::", "SELECT_CC", ":", "return", "\"RISCVISD::SELECT_CC\"", ";", "case", "RISCVISD", "::", "BuildPairF64", ":", "return", "\"RISCVISD::BuildPairF64\"", ";", "case", "RISCVISD", "::", "SplitF64", ":", "return", "\"RISCVISD::SplitF64\"", ";", "case", "RISCVISD", "::", "TAIL", ":", "return", "\"RISCVISD::TAIL\"", ";", "case", "RISCVISD", "::", "SETVL", ":", "return", "\"RISCVISD::SETVL\"", ";", "case", "RISCVISD", "::", "BROADCAST", ":", "return", "\"RISCVISD::BROADCAST\"", ";", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["RISCV", "RISCV", "RISCVISD::NodeType", "RISCVISD::FIRST_NUMBER", "RISCVISD::RET_FLAG", "\"RISCVISD::RET_FLAG\"", "RISCVISD::URET_FLAG", "\"RISCVISD::URET_FLAG\"", "RISCVISD::SRET_FLAG", "\"RISCVISD::SRET_FLAG\"", "RISCVISD::MRET_FLAG", "\"RISCVISD::MRET_FLAG\"", "RISCVISD::CALL", "\"RISCVISD::CALL\"", "RISCVISD::SELECT_CC", "\"RISCVISD::SELECT_CC\"", "RISCVISD::BuildPairF64", "\"RISCVISD::BuildPairF64\"", "RISCVISD::SplitF64", "\"RISCVISD::SplitF64\"", "RISCVISD::TAIL", "\"RISCVISD::TAIL\"", "RISCVISD::SETVL", "\"RISCVISD::SETVL\"", "RISCVISD::BROADCAST", "\"RISCVISD::BROADCAST\""], "File": "RISCVISelLowering78", "Func": "getTargetNodeName", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 504, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "F", "(", "rtx", "x", ")", "{", "RTX_FRAME_RELATED_P", "(", "x", ")", "=", "1", ";", "return", "x", ";", "}", ""], "natrual_language": ["We", "use", "this", "to", "wrap", "all", "emitted", "insns", "in", "the", "prologue", ",", "so", "they", "get", "the", "``", "frame-related", "''", "(", "/f", ")", "flag", "set", "."], "TS_V_token": ["m32c", "1"], "File": "m32c", "Func": "F", "Target": "m32c", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 505, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips_strip_unspec_call", "(", "rtx", "src", ")", "{", "if", "(", "GET_CODE", "(", "src", ")", "==", "UNSPEC", "&&", "XINT", "(", "src", ",", "1", ")", "==", "UNSPEC_LOAD_CALL", ")", "return", "mips_strip_unspec_address", "(", "XVECEXP", "(", "src", ",", "0", ",", "1", ")", ")", ";", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["If", "SRC", "is", "the", "RHS", "of", "a", "load_call", "<", "mode", ">", "insn", ",", "return", "the", "underlying", "symbol", "reference", ".", "Return", "NULL_RTX", "otherwise", "."], "TS_V_token": ["mips", "1", "0", "1"], "File": "mips", "Func": "mips_strip_unspec_call", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 506, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "pru_emit_doloop", "(", "rtx", "*", "operands", ",", "int", "is_end", ")", "{", "rtx", "tag", ";", "if", "(", "cfun", "->", "machine", "->", "doloop_tags", "==", "0", "||", "cfun", "->", "machine", "->", "doloop_tag_from_end", "==", "is_end", ")", "{", "cfun", "->", "machine", "->", "doloop_tags", "++", ";", "cfun", "->", "machine", "->", "doloop_tag_from_end", "=", "is_end", ";", "}", "tag", "=", "GEN_INT", "(", "cfun", "->", "machine", "->", "doloop_tags", "-", "1", ")", ";", "machine_mode", "opmode", "=", "GET_MODE", "(", "operands", "[", "0", "]", ")", ";", "gcc_assert", "(", "opmode", "==", "HImode", "||", "opmode", "==", "SImode", ")", ";", "if", "(", "is_end", ")", "emit_jump_insn", "(", "gen_doloop_end_internal", "(", "opmode", ",", "operands", "[", "0", "]", ",", "operands", "[", "1", "]", ",", "tag", ")", ")", ";", "else", "emit_insn", "(", "gen_doloop_begin_internal", "(", "opmode", ",", "operands", "[", "0", "]", ",", "operands", "[", "0", "]", ",", "tag", ")", ")", ";", "}", ""], "natrual_language": ["If", "IS_END", "is", "false", ",", "expand", "a", "canonical", "doloop_begin", "RTL", "into", "the", "PRU-specific", "doloop_begin_internal", ".", "Otherwise", "expand", "doloop_end", "to", "doloop_end_internal", "."], "TS_V_token": ["pru", "0", "1", "0", "0", "1", "0", "0"], "File": "pru", "Func": "pru_emit_doloop", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 507, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isVectorLoadExtDesirable", "(", "SDValue", "ExtVal", ")", "const", "{", "EVT", "VT", "=", "ExtVal", ".", "getValueType", "(", ")", ";", "if", "(", "!", "isTypeLegal", "(", "VT", ")", ")", "return", "false", ";", "if", "(", "ExtVal", "->", "use_empty", "(", ")", "||", "!", "ExtVal", "->", "use_begin", "(", ")", "->", "isOnlyUserOf", "(", "ExtVal", ".", "getNode", "(", ")", ")", ")", "return", "true", ";", "SDNode", "*", "U", "=", "*", "ExtVal", "->", "use_begin", "(", ")", ";", "if", "(", "(", "U", "->", "getOpcode", "(", ")", "==", "ISD", "::", "ADD", "||", "U", "->", "getOpcode", "(", ")", "==", "ISD", "::", "SUB", "||", "U", "->", "getOpcode", "(", ")", "==", "ISD", "::", "SHL", "||", "U", "->", "getOpcode", "(", ")", "==", "ARMISD", "::", "VSHL", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "folding", "a", "vector", "load", "into", "ExtVal", "(", "a", "sign", ",", "zero", ",", "or", "any", "extend", "node", ")", "is", "profitable", "."], "TS_V_token": ["ARM", "ARM", "ISD::ADD", "ISD::SUB", "ISD::SHL", "ARMISD::VSHL"], "File": "ARMISelLowering (2)2", "Func": "isVectorLoadExtDesirable", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 508, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isShuffleMaskLegal", "(", "ArrayRef", "<", "int", ">", "M", ",", "EVT", "VT", ")", "const", "{", "if", "(", "VT", ".", "getVectorNumElements", "(", ")", "==", "4", "&&", "(", "VT", ".", "is128BitVector", "(", ")", "||", "VT", ".", "is64BitVector", "(", ")", ")", ")", "{", "unsigned", "PFIndexes", "[", "4", "]", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "4", ";", "++", "i", ")", "{", "if", "(", "M", "[", "i", "]", "<", "0", ")", "PFIndexes", "[", "i", "]", "=", "8", ";", "else", "PFIndexes", "[", "i", "]", "=", "M", "[", "i", "]", ";", "}", "unsigned", "PFTableIndex", "=", "PFIndexes", "[", "0", "]", "*", "9", "*", "9", "*", "9", "+", "PFIndexes", "[", "1", "]", "*", "9", "*", "9", "+", "PFIndexes", "[", "2", "]", "*", "9", "+", "PFIndexes", "[", "3", "]", ";", "unsigned", "PFEntry", "=", "PerfectShuffleTable", "[", "PFTableIndex", "]", ";", "unsigned", "Cost", "=", "(", "PFEntry", ">>", "30", ")", ";", "if", "(", "Cost", "<=", "4", "&&", "(", "Subtarget", "->", "hasNEON", "(", ")", "||", "isLegalMVEShuffleOp", "(", "PFEntry", ")", ")", ")", "return", "true", ";", "}", "bool", "ReverseVEXT", ",", "isV_UNDEF", ";", "unsigned", "Imm", ",", "WhichResult", ";", "unsigned", "EltSize", "=", "VT", ".", "getScalarSizeInBits", "(", ")", ";", "if", "(", "EltSize", ">=", "32", "||", "ShuffleVectorSDNode", "::", "isSplatMask", "(", "&", "M", "[", "0", "]", ",", "VT", ")", "||", "ShuffleVectorInst", "::", "isIdentityMask", "(", "M", ")", "||", "isVREVMask", "(", "M", ",", "VT", ",", "64", ")", "||", "isVREVMask", "(", "M", ",", "VT", ",", "32", ")", "||", "isVREVMask", "(", "M", ",", "VT", ",", "16", ")", ")", "return", "true", ";", "else", "if", "(", "Subtarget", "->", "hasNEON", "(", ")", "&&", "(", "isVEXTMask", "(", "M", ",", "VT", ",", "ReverseVEXT", ",", "Imm", ")", "||", "isVTBLMask", "(", "M", ",", "VT", ")", "||", "isNEONTwoResultShuffleMask", "(", "M", ",", "VT", ",", "WhichResult", ",", "isV_UNDEF", ")", ")", ")", "return", "true", ";", "else", "if", "(", "Subtarget", "->", "hasNEON", "(", ")", "&&", "(", "VT", "==", "MVT", "::", "v8i16", "||", "VT", "==", "MVT", "::", "v16i8", ")", "&&", "isReverseMask", "(", "M", ",", "VT", ")", ")", "return", "true", ";", "else", "if", "(", "Subtarget", "->", "hasMVEIntegerOps", "(", ")", "&&", "(", "isVMOVNMask", "(", "M", ",", "VT", ",", "true", ",", "false", ")", "||", "isVMOVNMask", "(", "M", ",", "VT", ",", "false", ",", "false", ")", "||", "isVMOVNMask", "(", "M", ",", "VT", ",", "true", ",", "true", ")", ")", ")", "return", "true", ";", "else", "return", "false", ";", "}", ""], "natrual_language": ["Targets", "can", "use", "this", "to", "indicate", "that", "they", "only", "support", "some", "VECTOR_SHUFFLE", "operations", ",", "those", "with", "specific", "masks", "."], "TS_V_token": ["ARM", "ARM", "4", "4", "0", "4", "0", "8", "0", "9", "9", "9", "1", "9", "9", "2", "9", "3", "30", "4", "32", "0", "64", "32", "16", "MVT::v8i16", "MVT::v16i8"], "File": "ARMISelLowering100", "Func": "isShuffleMaskLegal", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 509, "Length": 368, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "riscv_min_arithmetic_precision", "(", "void", ")", "{", "return", "32", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MIN_ARITHMETIC_PRECISION", "."], "TS_V_token": ["riscv", "32"], "File": "riscv", "Func": "riscv_min_arithmetic_precision", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 510, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "uint16_t", ",", "uint16_t", ">", "ARMBaseInstrInfo", "::", "getExecutionDomain", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "if", "(", "Subtarget", ".", "hasNEON", "(", ")", ")", "{", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "VMOVD", "&&", "!", "isPredicated", "(", "MI", ")", ")", "return", "std", "::", "make_pair", "(", "ExeVFP", ",", "(", "1", "<<", "ExeVFP", ")", "|", "(", "1", "<<", "ExeNEON", ")", ")", ";", "if", "(", "Subtarget", ".", "isCortexA9", "(", ")", "&&", "!", "isPredicated", "(", "MI", ")", "&&", "(", "MI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "VMOVRS", "||", "MI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "VMOVSR", "||", "MI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "VMOVS", ")", ")", "return", "std", "::", "make_pair", "(", "ExeVFP", ",", "(", "1", "<<", "ExeVFP", ")", "|", "(", "1", "<<", "ExeNEON", ")", ")", ";", "}", "unsigned", "Domain", "=", "MI", "->", "getDesc", "(", ")", ".", "TSFlags", "&", "ARMII", "::", "DomainMask", ";", "if", "(", "Domain", "&", "ARMII", "::", "DomainNEON", ")", "return", "std", "::", "make_pair", "(", "ExeNEON", ",", "0", ")", ";", "if", "(", "(", "Domain", "&", "ARMII", "::", "DomainNEONA8", ")", "&&", "Subtarget", ".", "isCortexA8", "(", ")", ")", "return", "std", "::", "make_pair", "(", "ExeNEON", ",", "0", ")", ";", "if", "(", "Domain", "&", "ARMII", "::", "DomainVFP", ")", "return", "std", "::", "make_pair", "(", "ExeVFP", ",", "0", ")", ";", "return", "std", "::", "make_pair", "(", "ExeGeneric", ",", "0", ")", ";", "}", ""], "natrual_language": ["Return", "the", "current", "execution", "domain", "and", "bit", "mask", "of", "possible", "domains", "for", "instruction", "."], "TS_V_token": ["ARM", "ARM", "ARM::VMOVD", "1", "1", "ARM::VMOVRS", "ARM::VMOVSR", "ARM::VMOVS", "1", "1", "ARMII::DomainMask", "ARMII::DomainNEON", "0", "ARMII::DomainNEONA8", "0", "ARMII::DomainVFP", "0", "0"], "File": "ARMBaseInstrInfo (2)3", "Func": "getExecutionDomain", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 511, "Length": 221, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "J2AsmBackend", "::", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "static", "const", "MCFixupKindInfo", "Infos", "[", "J2", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"fixup_J2_NONE\"", ",", "0", ",", "0", ",", "0", "}", ",", "{", "\"fixup_J2_PC2_12\"", ",", "4", ",", "12", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_J2_PC2_8\"", ",", "8", ",", "8", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_J2_PC4_8\"", ",", "8", ",", "8", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "}", ";", "if", "(", "Kind", "<", "FirstTargetFixupKind", ")", "return", "MCAsmBackend", "::", "getFixupKindInfo", "(", "Kind", ")", ";", "assert", "(", "unsigned", "(", "Kind", "-", "FirstTargetFixupKind", ")", "<", "getNumFixupKinds", "(", ")", "&&", "\"Invalid kind\"", ")", ";", "return", "Infos", "[", "Kind", "-", "FirstTargetFixupKind", "]", ";", "}", ""], "natrual_language": ["Get", "information", "on", "a", "fixup", "kind", "."], "TS_V_token": ["J2", "J2", "J2::NumTargetFixupKinds", "\"fixup_J2_NONE\"", "0", "0", "0", "\"fixup_J2_PC2_12\"", "4", "12", "\"fixup_J2_PC2_8\"", "8", "8", "\"fixup_J2_PC4_8\"", "8", "8", "\"Invalid kind\""], "File": "J2AsmBackend", "Func": "getFixupKindInfo", "Target": "J2", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 512, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "do_link", "(", "rtx", "spreg", ",", "HOST_WIDE_INT", "frame_size", ",", "bool", "all", ")", "{", "frame_size", "+=", "arg_area_size", "(", ")", ";", "if", "(", "all", "||", "stack_frame_needed_p", "(", ")", "||", "(", "must_save_fp_p", "(", ")", "&&", "!", "current_function_is_leaf", ")", ")", "emit_link_insn", "(", "spreg", ",", "frame_size", ")", ";", "else", "{", "if", "(", "!", "current_function_is_leaf", ")", "{", "rtx", "pat", "=", "gen_movsi", "(", "gen_rtx_MEM", "(", "Pmode", ",", "gen_rtx_PRE_DEC", "(", "Pmode", ",", "spreg", ")", ")", ",", "bfin_rets_rtx", ")", ";", "rtx", "insn", "=", "emit_insn", "(", "pat", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "if", "(", "must_save_fp_p", "(", ")", ")", "{", "rtx", "pat", "=", "gen_movsi", "(", "gen_rtx_MEM", "(", "Pmode", ",", "gen_rtx_PRE_DEC", "(", "Pmode", ",", "spreg", ")", ")", ",", "gen_rtx_REG", "(", "Pmode", ",", "REG_FP", ")", ")", ";", "rtx", "insn", "=", "emit_insn", "(", "pat", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "add_to_sp", "(", "spreg", ",", "-", "frame_size", ",", "1", ")", ";", "}", "}", ""], "natrual_language": ["Save", "RETS", "and", "FP", ",", "and", "allocate", "a", "stack", "frame", ".", "ALL", "is", "true", "if", "the", "function", "must", "save", "all", "its", "registers", "(", "true", "only", "for", "certain", "interrupt", "handlers", ")", "."], "TS_V_token": ["bfin", "1", "1", "1"], "File": "bfin2", "Func": "do_link", "Target": "bfin", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 513, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "BPFAsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNum", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "assert", "(", "OpNum", "+", "1", "<", "MI", "->", "getNumOperands", "(", ")", "&&", "\"Insufficient operands\"", ")", ";", "const", "MachineOperand", "&", "BaseMO", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "const", "MachineOperand", "&", "OffsetMO", "=", "MI", "->", "getOperand", "(", "OpNum", "+", "1", ")", ";", "assert", "(", "BaseMO", ".", "isReg", "(", ")", "&&", "\"Unexpected base pointer for inline asm memory operand.\"", ")", ";", "assert", "(", "OffsetMO", ".", "isImm", "(", ")", "&&", "\"Unexpected offset for inline asm memory operand.\"", ")", ";", "int", "Offset", "=", "OffsetMO", ".", "getImm", "(", ")", ";", "if", "(", "ExtraCode", ")", "return", "true", ";", "if", "(", "Offset", "<", "0", ")", "O", "<<", "\"(\"", "<<", "BPFInstPrinter", "::", "getRegisterName", "(", "BaseMO", ".", "getReg", "(", ")", ")", "<<", "\" - \"", "<<", "-", "Offset", "<<", "\")\"", ";", "else", "O", "<<", "\"(\"", "<<", "BPFInstPrinter", "::", "getRegisterName", "(", "BaseMO", ".", "getReg", "(", ")", ")", "<<", "\" + \"", "<<", "Offset", "<<", "\")\"", ";", "return", "false", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "operand", "of", "MI", ",", "an", "INLINEASM", "instruction", ",", "using", "the", "specified", "assembler", "variant", "as", "an", "address", "."], "TS_V_token": ["BPF", "BPF", "1", "\"Insufficient operands\"", "1", "\"Unexpected base pointer for inline asm memory operand.\"", "\"Unexpected offset for inline asm memory operand.\"", "0", "\"(\"", "BPF", "\" - \"", "\")\"", "\"(\"", "BPF", "\" + \"", "\")\""], "File": "BPFAsmPrinter11", "Func": "PrintAsmMemoryOperand", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 514, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "FrameIndexValue", "*", "Value", ",", "RegScavenger", "*", "RS", ")", "const", "{", "unsigned", "i", "=", "0", ";", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "assert", "(", "!", "AFI", "->", "isThumb1OnlyFunction", "(", ")", "&&", "\"This eliminateFrameIndex does not support Thumb1!\"", ")", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "\"Instr doesn't have FrameIndex operand!\"", ")", ";", "}", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "i", ")", ".", "getIndex", "(", ")", ";", "unsigned", "FrameReg", ";", "int", "Offset", "=", "getFrameIndexReference", "(", "MF", ",", "FrameIndex", ",", "FrameReg", ")", ";", "if", "(", "FrameReg", "!=", "ARM", "::", "SP", ")", "SPAdj", "=", "0", ";", "Offset", "+=", "SPAdj", ";", "bool", "Done", "=", "false", ";", "if", "(", "!", "AFI", "->", "isThumbFunction", "(", ")", ")", "Done", "=", "rewriteARMFrameIndex", "(", "MI", ",", "i", ",", "FrameReg", ",", "Offset", ",", "TII", ")", ";", "else", "{", "assert", "(", "AFI", "->", "isThumb2Function", "(", ")", ")", ";", "Done", "=", "rewriteT2FrameIndex", "(", "MI", ",", "i", ",", "FrameReg", ",", "Offset", ",", "TII", ")", ";", "}", "if", "(", "Done", ")", "return", "0", ";", "assert", "(", "(", "Offset", "||", "(", "MI", ".", "getDesc", "(", ")", ".", "TSFlags", "&", "ARMII", "::", "AddrModeMask", ")", "==", "ARMII", "::", "AddrMode4", "||", "(", "MI", ".", "getDesc", "(", ")", ".", "TSFlags", "&", "ARMII", "::", "AddrModeMask", ")", "==", "ARMII", "::", "AddrMode6", ")", "&&", "\"This code isn't needed if offset already handled!\"", ")", ";", "unsigned", "ScratchReg", "=", "0", ";", "int", "PIdx", "=", "MI", ".", "findFirstPredOperandIdx", "(", ")", ";", "ARMCC", "::", "CondCodes", "Pred", "=", "(", "PIdx", "==", "-", "1", ")", "?", "ARMCC", "::", "AL", ":", "(", "ARMCC", "::", "CondCodes", ")", "MI", ".", "getOperand", "(", "PIdx", ")", ".", "getImm", "(", ")", ";", "unsigned", "PredReg", "=", "(", "PIdx", "==", "-", "1", ")", "?", "0", ":", "MI", ".", "getOperand", "(", "PIdx", "+", "1", ")", ".", "getReg", "(", ")", ";", "if", "(", "Offset", "==", "0", ")", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "FrameReg", ",", "false", ",", "false", ",", "false", ")", ";", "else", "{", "ScratchReg", "=", "MF", ".", "getRegInfo", "(", ")", ".", "createVirtualRegister", "(", "ARM", "::", "GPRRegisterClass", ")", ";", "if", "(", "Value", ")", "{", "Value", "->", "first", "=", "FrameReg", ";", "Value", "->", "second", "=", "Offset", ";", "}", "if", "(", "!", "AFI", "->", "isThumbFunction", "(", ")", ")", "emitARMRegPlusImmediate", "(", "MBB", ",", "II", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "ScratchReg", ",", "FrameReg", ",", "Offset", ",", "Pred", ",", "PredReg", ",", "TII", ")", ";", "else", "{", "assert", "(", "AFI", "->", "isThumb2Function", "(", ")", ")", ";", "emitT2RegPlusImmediate", "(", "MBB", ",", "II", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "ScratchReg", ",", "FrameReg", ",", "Offset", ",", "Pred", ",", "PredReg", ",", "TII", ")", ";", "}", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "ScratchReg", ",", "false", ",", "false", ",", "true", ")", ";", "if", "(", "!", "ReuseFrameIndexVals", ")", "ScratchReg", "=", "0", ";", "}", "return", "ScratchReg", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["ARM", "ARM", "0", "ARM", "ARM", "\"This eliminateFrameIndex does not support Thumb1!\"", "\"Instr doesn't have FrameIndex operand!\"", "ARM::SP", "0", "ARM", "0", "ARMII::AddrModeMask", "ARMII::AddrMode4", "ARMII::AddrModeMask", "ARMII::AddrMode6", "\"This code isn't needed if offset already handled!\"", "0", "ARMCC::CondCodes", "1", "ARMCC::AL", "ARMCC::CondCodes", "1", "0", "1", "0", "ARM::GPRRegisterClass", "ARM", "0"], "File": "ARMBaseRegisterInfo12", "Func": "eliminateFrameIndex", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 515, "Length": 500, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_sibcall_aix", "(", "rtx", "value", ",", "rtx", "func_desc", ",", "rtx", "tlsarg", ",", "rtx", "cookie", ")", "{", "rtx", "call", "[", "2", "]", ";", "rtx", "insn", ";", "gcc_assert", "(", "INTVAL", "(", "cookie", ")", "==", "0", ")", ";", "if", "(", "global_tlsarg", ")", "tlsarg", "=", "global_tlsarg", ";", "call", "[", "0", "]", "=", "gen_rtx_CALL", "(", "VOIDmode", ",", "gen_rtx_MEM", "(", "SImode", ",", "func_desc", ")", ",", "tlsarg", ")", ";", "if", "(", "value", "!=", "NULL_RTX", ")", "call", "[", "0", "]", "=", "gen_rtx_SET", "(", "value", ",", "call", "[", "0", "]", ")", ";", "call", "[", "1", "]", "=", "simple_return_rtx", ";", "insn", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec_v", "(", "2", ",", "call", ")", ")", ";", "insn", "=", "emit_call_insn", "(", "insn", ")", ";", "use_reg", "(", "&", "CALL_INSN_FUNCTION_USAGE", "(", "insn", ")", ",", "gen_rtx_REG", "(", "Pmode", ",", "TOC_REGNUM", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "code", "to", "perform", "a", "sibling", "call", "under", "the", "AIX", "or", "ELFv2", "ABI", "."], "TS_V_token": ["rs6000", "2", "0", "0", "0", "0", "1", "2"], "File": "rs60008", "Func": "rs6000_sibcall_aix", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 516, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "XNCMTargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_XNCM", ")", ";", "if", "(", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "liveout_empty", "(", ")", ")", "{", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "if", "(", "RVLocs", "[", "i", "]", ".", "isRegLoc", "(", ")", ")", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "addLiveOut", "(", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ")", ";", "}", "SDValue", "Flag", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Can only return in registers!\"", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "OutVals", "[", "i", "]", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "}", "unsigned", "Opc", "=", "XNCMISD", "::", "RET_FLAG", ";", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "return", "DAG", ".", "getNode", "(", "Opc", ",", "dl", ",", "MVT", "::", "Other", ",", "Chain", ",", "Flag", ")", ";", "return", "DAG", ".", "getNode", "(", "Opc", ",", "dl", ",", "MVT", "::", "Other", ",", "Chain", ")", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "outgoing", "return", "values", ",", "described", "by", "the", "Outs", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["XNCM", "XNCM", "ISD::OutputArg", "16", "XNCM", "0", "0", "\"Can only return in registers!\"", "1", "XNCMISD::RET_FLAG", "MVT::Other", "MVT::Other"], "File": "XNCMISelLowering", "Func": "LowerReturn", "Target": "XNCM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 517, "Length": 282, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mmix_dbx_register_number", "(", "int", "regno", ")", "{", "regno", "=", "MMIX_OUTPUT_REGNO", "(", "regno", ")", ";", "return", "regno", ">=", "224", "?", "(", "regno", "-", "224", ")", ":", "(", "regno", "+", "48", ")", ";", "}", ""], "natrual_language": ["DBX_REGISTER_NUMBER", "."], "TS_V_token": ["mmix", "224", "224", "48"], "File": "mmix3", "Func": "mmix_dbx_register_number", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 518, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCPassConfig", "::", "addLegalizeMachineIR", "(", ")", "{", "addPass", "(", "new", "Legalizer", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["This", "method", "should", "install", "a", "legalize", "pass", ",", "which", "converts", "the", "instruction", "sequence", "into", "one", "that", "can", "be", "selected", "by", "the", "target", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCTargetMachine40", "Func": "addLegalizeMachineIR", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 519, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SPIRVTargetLowering", "*", "getTLI", "(", ")", "const", "{", "return", "TLI", ";", "}", ""], "natrual_language": ["Getter", "for", "generic", "TargetLowering", "class", "."], "TS_V_token": ["SPIRV", "SPIRV"], "File": "SPIRVTargetTransformInfo", "Func": "getTLI", "Target": "SPIRV", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 520, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "rl78_handle_saddr_attribute", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", "args", "ATTRIBUTE_UNUSED", ",", "int", "flags", "ATTRIBUTE_UNUSED", ",", "bool", "*", "no_add_attrs", ")", "{", "gcc_assert", "(", "DECL_P", "(", "*", "node", ")", ")", ";", "if", "(", "TREE_CODE", "(", "*", "node", ")", "==", "FUNCTION_DECL", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qE attribute doesn%'t apply to functions\"", ",", "name", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Check", "``", "saddr", "''", "attributes", "."], "TS_V_token": ["rl78", "\"%qE attribute doesn%'t apply to functions\""], "File": "rl78", "Func": "rl78_handle_saddr_attribute", "Target": "rl78", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 521, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "AArch64TargetLowering", "::", "getSetCCResultType", "(", "const", "DataLayout", "&", ",", "LLVMContext", "&", "C", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isVector", "(", ")", ")", "return", "MVT", "::", "i32", ";", "if", "(", "VT", ".", "isScalableVector", "(", ")", ")", "return", "EVT", "::", "getVectorVT", "(", "C", ",", "MVT", "::", "i1", ",", "VT", ".", "getVectorElementCount", "(", ")", ")", ";", "return", "VT", ".", "changeVectorElementTypeToInteger", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["AArch64", "AArch64", "MVT::i32", "MVT::i1"], "File": "AArch64ISelLowering (2)2", "Func": "getSetCCResultType", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 522, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"MIPS DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Mips", "\"MIPS DAG->DAG Pattern Instruction Selection\""], "File": "MipsISelDAGToDAG (2)", "Func": "getPassName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 523, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUInstructionSelector", "::", "select", "(", "MachineInstr", "&", "I", ",", "CodeGenCoverage", "&", "CoverageInfo", ")", "const", "{", "if", "(", "!", "isPreISelGenericOpcode", "(", "I", ".", "getOpcode", "(", ")", ")", ")", "{", "if", "(", "I", ".", "isCopy", "(", ")", ")", "return", "selectCOPY", "(", "I", ")", ";", "return", "true", ";", "}", "switch", "(", "I", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "selectImpl", "(", "I", ",", "CoverageInfo", ")", ";", "case", "TargetOpcode", "::", "G_ADD", ":", "return", "selectG_ADD", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_BITCAST", ":", "return", "selectCOPY", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_CONSTANT", ":", "case", "TargetOpcode", "::", "G_FCONSTANT", ":", "return", "selectG_CONSTANT", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_GEP", ":", "return", "selectG_GEP", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_IMPLICIT_DEF", ":", "return", "selectG_IMPLICIT_DEF", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_INTRINSIC", ":", "return", "selectG_INTRINSIC", "(", "I", ",", "CoverageInfo", ")", ";", "case", "TargetOpcode", "::", "G_LOAD", ":", "return", "selectG_LOAD", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_STORE", ":", "return", "selectG_STORE", "(", "I", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Select", "the", "(", "possibly", "generic", ")", "instruction", "I", "to", "only", "use", "target-specific", "opcodes", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "SI", "SI"], "File": "AMDGPUInstructionSelector38", "Func": "select", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 524, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "fldi_ok", "(", "void", ")", "{", "return", "!", "TARGET_SH4", "||", "TARGET_FMOVD", "||", "reload_completed", ";", "}", ""], "natrual_language": ["For", "-m4", "and", "-m4-single-only", ",", "mode", "switching", "is", "used", ".", "If", "we", "are", "compiling", "without", "-mfmovd", ",", "movsf_ie", "is", "n't", "taken", "into", "account", "for", "mode", "switching", ".", "We", "could", "check", "in", "machine_dependent_reorg", "for", "cases", "where", "we", "know", "we", "are", "in", "single", "precision", "mode", ",", "but", "there", "is", "interface", "to", "find", "that", "out", "during", "reload", ",", "so", "we", "must", "avoid", "choosing", "an", "fldi", "alternative", "during", "reload", "and", "thus", "failing", "to", "allocate", "a", "scratch", "register", "for", "the", "constant", "loading", "."], "TS_V_token": ["sh"], "File": "sh3", "Func": "fldi_ok", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 525, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SITargetLowering", "::", "allocateSpecialInputVGPRs", "(", "CCState", "&", "CCInfo", ",", "MachineFunction", "&", "MF", ",", "const", "SIRegisterInfo", "&", "TRI", ",", "SIMachineFunctionInfo", "&", "Info", ")", "const", "{", "const", "unsigned", "Mask", "=", "0x3ff", ";", "ArgDescriptor", "Arg", ";", "if", "(", "Info", ".", "hasWorkItemIDX", "(", ")", ")", "{", "Arg", "=", "allocateVGPR32Input", "(", "CCInfo", ",", "Mask", ")", ";", "Info", ".", "setWorkItemIDX", "(", "Arg", ")", ";", "}", "if", "(", "Info", ".", "hasWorkItemIDY", "(", ")", ")", "{", "Arg", "=", "allocateVGPR32Input", "(", "CCInfo", ",", "Mask", "<<", "10", ",", "Arg", ")", ";", "Info", ".", "setWorkItemIDY", "(", "Arg", ")", ";", "}", "if", "(", "Info", ".", "hasWorkItemIDZ", "(", ")", ")", "Info", ".", "setWorkItemIDZ", "(", "allocateVGPR32Input", "(", "CCInfo", ",", "Mask", "<<", "20", ",", "Arg", ")", ")", ";", "}", ""], "natrual_language": ["Allocate", "implicit", "function", "VGPR", "arguments", "at", "the", "end", "of", "allocated", "user", "arguments", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "0x3ff", "10", "20"], "File": "SIISelLowering106", "Func": "allocateSpecialInputVGPRs", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 526, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_print_operand_punct_valid_p", "(", "unsigned", "char", "code", ")", "{", "return", "mips_print_operand_punct", "[", "code", "]", ";", "}", ""], "natrual_language": ["Implement", "TARGET_PRINT_OPERAND_PUNCT_VALID_P", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_print_operand_punct_valid_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 527, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_split_v4si_init", "(", "rtx", "operands", "[", "]", ")", "{", "rtx", "dest", "=", "operands", "[", "0", "]", ";", "if", "(", "REG_P", "(", "dest", ")", "||", "SUBREG_P", "(", "dest", ")", ")", "{", "int", "d_regno", "=", "regno_or_subregno", "(", "dest", ")", ";", "rtx", "scalar1", "=", "operands", "[", "1", "]", ";", "rtx", "scalar2", "=", "operands", "[", "2", "]", ";", "rtx", "scalar3", "=", "operands", "[", "3", "]", ";", "rtx", "scalar4", "=", "operands", "[", "4", "]", ";", "rtx", "tmp1", "=", "operands", "[", "5", "]", ";", "rtx", "tmp2", "=", "operands", "[", "6", "]", ";", "if", "(", "BYTES_BIG_ENDIAN", ")", "{", "rtx", "di_lo", "=", "gen_rtx_REG", "(", "DImode", ",", "d_regno", ")", ";", "rtx", "di_hi", "=", "gen_rtx_REG", "(", "DImode", ",", "d_regno", "+", "1", ")", ";", "rs6000_split_v4si_init_di_reg", "(", "di_lo", ",", "scalar1", ",", "scalar2", ",", "tmp1", ")", ";", "rs6000_split_v4si_init_di_reg", "(", "di_hi", ",", "scalar3", ",", "scalar4", ",", "tmp2", ")", ";", "}", "else", "{", "rtx", "di_lo", "=", "gen_rtx_REG", "(", "DImode", ",", "d_regno", "+", "1", ")", ";", "rtx", "di_hi", "=", "gen_rtx_REG", "(", "DImode", ",", "d_regno", ")", ";", "gcc_assert", "(", "!", "VECTOR_ELT_ORDER_BIG", ")", ";", "rs6000_split_v4si_init_di_reg", "(", "di_lo", ",", "scalar4", ",", "scalar3", ",", "tmp1", ")", ";", "rs6000_split_v4si_init_di_reg", "(", "di_hi", ",", "scalar2", ",", "scalar1", ",", "tmp2", ")", ";", "}", "return", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Split", "a", "V4SI", "initialization", "."], "TS_V_token": ["powerpcspe", "0", "1", "2", "3", "4", "5", "6", "1", "1"], "File": "powerpcspe", "Func": "rs6000_split_v4si_init", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 528, "Length": 198, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonEarlyIfConversion", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "*", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "auto", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "HexagonSubtarget", ">", "(", ")", ";", "HII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "ST", ".", "getRegisterInfo", "(", ")", ";", "MFN", "=", "&", "MF", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "MDT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "MLI", "=", "&", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "MBPI", "=", "EnableHexagonBP", "?", "&", "getAnalysis", "<", "MachineBranchProbabilityInfo", ">", "(", ")", ":", "nullptr", ";", "Deleted", ".", "clear", "(", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "MachineLoopInfo", "::", "iterator", "I", "=", "MLI", "->", "begin", "(", ")", ",", "E", "=", "MLI", "->", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "Changed", "|=", "visitLoop", "(", "*", "I", ")", ";", "Changed", "|=", "visitLoop", "(", "0", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "Hexagon", "0"], "File": "HexagonEarlyIfConv2", "Func": "runOnMachineFunction", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 529, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "skipFunction", "(", "F", ")", ")", "return", "false", ";", "PHINodeSet", "PromotablePHINodes", "=", "getPromotablePHINodes", "(", "F", ")", ";", "B2IMap", "Bool2IntMap", ";", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "&", "BB", ":", "F", ")", "{", "for", "(", "auto", "&", "I", ":", "BB", ")", "{", "if", "(", "ReturnInst", "*", "R", "=", "dyn_cast", "<", "ReturnInst", ">", "(", "&", "I", ")", ")", "if", "(", "F", ".", "getReturnType", "(", ")", "->", "isIntegerTy", "(", "1", ")", ")", "Changed", "|=", "runOnUse", "(", "R", "->", "getOperandUse", "(", "0", ")", ",", "PromotablePHINodes", ",", "Bool2IntMap", ")", ";", "if", "(", "CallInst", "*", "CI", "=", "dyn_cast", "<", "CallInst", ">", "(", "&", "I", ")", ")", "for", "(", "auto", "&", "U", ":", "CI", "->", "operands", "(", ")", ")", "if", "(", "U", "->", "getType", "(", ")", "->", "isIntegerTy", "(", "1", ")", ")", "Changed", "|=", "runOnUse", "(", "U", ",", "PromotablePHINodes", ",", "Bool2IntMap", ")", ";", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["PowerPC", "1", "0", "1"], "File": "PPCBoolRetToInt1", "Func": "runOnFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 530, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AMDGPUTargetLowering", "::", "ComputeNumSignBitsForTargetNode", "(", "SDValue", "Op", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "AMDGPUISD", "::", "BFE_I32", ":", "{", "ConstantSDNode", "*", "Width", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "2", ")", ")", ";", "if", "(", "!", "Width", ")", "return", "1", ";", "unsigned", "SignBits", "=", "32", "-", "Width", "->", "getZExtValue", "(", ")", "+", "1", ";", "ConstantSDNode", "*", "Offset", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "1", ")", ")", ";", "if", "(", "!", "Offset", "||", "!", "Offset", "->", "isNullValue", "(", ")", ")", "return", "SignBits", ";", "unsigned", "Op0SignBits", "=", "DAG", ".", "ComputeNumSignBits", "(", "Op", ".", "getOperand", "(", "0", ")", ",", "Depth", "+", "1", ")", ";", "return", "std", "::", "max", "(", "SignBits", ",", "Op0SignBits", ")", ";", "}", "case", "AMDGPUISD", "::", "BFE_U32", ":", "{", "ConstantSDNode", "*", "Width", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "2", ")", ")", ";", "return", "Width", "?", "32", "-", "(", "Width", "->", "getZExtValue", "(", ")", "&", "0x1f", ")", ":", "1", ";", "}", "case", "AMDGPUISD", "::", "CARRY", ":", "case", "AMDGPUISD", "::", "BORROW", ":", "return", "31", ";", "default", ":", "return", "1", ";", "}", "}", ""], "natrual_language": ["Determine", "the", "number", "of", "bits", "in", "the", "operation", "that", "are", "sign", "bits", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPUISD::BFE_I32", "2", "1", "32", "1", "1", "0", "1", "AMDGPUISD::BFE_U32", "2", "32", "0x1f", "1", "AMDGPUISD::CARRY", "AMDGPUISD::BORROW", "31", "1"], "File": "AMDGPUISelLowering1", "Func": "ComputeNumSignBitsForTargetNode", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 531, "Length": 194, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emitDirectiveVariantPCS", "(", "MCSymbol", "*", "Symbol", ")", "override", "{", "OS", "<<", "\"\\t.variant_pcs \"", "<<", "Symbol", "->", "getName", "(", ")", "<<", "\"\\n\"", ";", "}", ""], "natrual_language": ["Callback", "used", "to", "implement", "the", ".variant_pcs", "directive", "."], "TS_V_token": ["AArch64", "\"\\t.variant_pcs \"", "\"\\n\""], "File": "AArch64ELFStreamer2", "Func": "emitDirectiveVariantPCS", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 532, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86IntelInstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "OS", ",", "unsigned", "RegNo", ")", "const", "{", "OS", "<<", "getRegisterName", "(", "RegNo", ")", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["X86", "X86"], "File": "X86IntelInstPrinter (2)", "Func": "printRegName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 533, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_emit_prologue_components", "(", "sbitmap", "components", ")", "{", "riscv_process_components", "(", "components", ",", "true", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SHRINK_WRAP_EMIT_PROLOGUE_COMPONENTS", "."], "TS_V_token": ["riscv"], "File": "riscv1", "Func": "riscv_emit_prologue_components", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 534, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "ARMBaseRegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{", "const", "ARMSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "if", "(", "CC", "==", "CallingConv", "::", "GHC", ")", "return", "CSR_NoRegs_RegMask", ";", "if", "(", "CC", "==", "CallingConv", "::", "CFGuard_Check", ")", "return", "CSR_Win_AAPCS_CFGuard_Check_RegMask", ";", "if", "(", "CC", "==", "CallingConv", "::", "SwiftTail", ")", "{", "return", "STI", ".", "isTargetDarwin", "(", ")", "?", "CSR_iOS_SwiftTail_RegMask", ":", "CSR_AAPCS_SwiftTail_RegMask", ";", "}", "if", "(", "STI", ".", "getTargetLowering", "(", ")", "->", "supportSwiftError", "(", ")", "&&", "MF", ".", "getFunction", "(", ")", ".", "getAttributes", "(", ")", ".", "hasAttrSomewhere", "(", "Attribute", "::", "SwiftError", ")", ")", "return", "STI", ".", "isTargetDarwin", "(", ")", "?", "CSR_iOS_SwiftError_RegMask", ":", "CSR_AAPCS_SwiftError_RegMask", ";", "if", "(", "STI", ".", "isTargetDarwin", "(", ")", "&&", "CC", "==", "CallingConv", "::", "CXX_FAST_TLS", ")", "return", "CSR_iOS_CXX_TLS_RegMask", ";", "return", "STI", ".", "isTargetDarwin", "(", ")", "?", "CSR_iOS_RegMask", ":", "CSR_AAPCS_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM"], "File": "ARMBaseRegisterInfo", "Func": "getCallPreservedMask", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 535, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "s390_expand_logical_operator", "(", "enum", "rtx_code", "code", ",", "machine_mode", "mode", ",", "rtx", "*", "operands", ")", "{", "machine_mode", "wmode", "=", "mode", ";", "rtx", "dst", "=", "operands", "[", "0", "]", ";", "rtx", "src1", "=", "operands", "[", "1", "]", ";", "rtx", "src2", "=", "operands", "[", "2", "]", ";", "rtx", "op", ",", "clob", ",", "tem", ";", "if", "(", "!", "s390_logical_operator_ok_p", "(", "operands", ")", ")", "dst", "=", "gen_reg_rtx", "(", "mode", ")", ";", "if", "(", "(", "mode", "==", "QImode", "||", "mode", "==", "HImode", ")", "&&", "GET_CODE", "(", "dst", ")", "!=", "MEM", ")", "wmode", "=", "SImode", ";", "if", "(", "mode", "!=", "wmode", ")", "{", "if", "(", "GET_CODE", "(", "dst", ")", "==", "SUBREG", "&&", "(", "tem", "=", "simplify_subreg", "(", "wmode", ",", "dst", ",", "mode", ",", "0", ")", ")", "!=", "0", ")", "dst", "=", "tem", ";", "else", "if", "(", "REG_P", "(", "dst", ")", ")", "dst", "=", "gen_rtx_SUBREG", "(", "wmode", ",", "dst", ",", "0", ")", ";", "else", "dst", "=", "gen_reg_rtx", "(", "wmode", ")", ";", "if", "(", "GET_CODE", "(", "src1", ")", "==", "SUBREG", "&&", "(", "tem", "=", "simplify_subreg", "(", "wmode", ",", "src1", ",", "mode", ",", "0", ")", ")", "!=", "0", ")", "src1", "=", "tem", ";", "else", "if", "(", "GET_MODE", "(", "src1", ")", "!=", "VOIDmode", ")", "src1", "=", "gen_rtx_SUBREG", "(", "wmode", ",", "force_reg", "(", "mode", ",", "src1", ")", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "src2", ")", "==", "SUBREG", "&&", "(", "tem", "=", "simplify_subreg", "(", "wmode", ",", "src2", ",", "mode", ",", "0", ")", ")", "!=", "0", ")", "src2", "=", "tem", ";", "else", "if", "(", "GET_MODE", "(", "src2", ")", "!=", "VOIDmode", ")", "src2", "=", "gen_rtx_SUBREG", "(", "wmode", ",", "force_reg", "(", "mode", ",", "src2", ")", ",", "0", ")", ";", "}", "op", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "dst", ",", "gen_rtx_fmt_ee", "(", "code", ",", "wmode", ",", "src1", ",", "src2", ")", ")", ";", "clob", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "CCmode", ",", "CC_REGNUM", ")", ")", ";", "emit_insn", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "op", ",", "clob", ")", ")", ")", ";", "if", "(", "dst", "!=", "operands", "[", "0", "]", ")", "emit_move_insn", "(", "operands", "[", "0", "]", ",", "gen_lowpart", "(", "mode", ",", "dst", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "logical", "operator", "CODE", "in", "mode", "MODE", "with", "operands", "OPERANDS", "."], "TS_V_token": ["s390", "0", "1", "2", "0", "0", "0", "0", "0", "0", "0", "0", "0", "2", "0", "0"], "File": "s3904", "Func": "s390_expand_logical_operator", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 536, "Length": 342, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "TeeRISCRegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["TeeRISC", "TeeRISC"], "File": "TeeRISCInstrInfo", "Func": "getRegisterInfo", "Target": "TeeRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 537, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPreAllocLoadStoreOpt", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "TD", "=", "Fn", ".", "getTarget", "(", ")", ".", "getTargetData", "(", ")", ";", "TII", "=", "Fn", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "Fn", ".", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "STI", "=", "&", "Fn", ".", "getTarget", "(", ")", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "MRI", "=", "&", "Fn", ".", "getRegInfo", "(", ")", ";", "MF", "=", "&", "Fn", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineFunction", "::", "iterator", "MFI", "=", "Fn", ".", "begin", "(", ")", ",", "E", "=", "Fn", ".", "end", "(", ")", ";", "MFI", "!=", "E", ";", "++", "MFI", ")", "Modified", "|=", "RescheduleLoadStoreInstrs", "(", "MFI", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMLoadStoreOptimizer11", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 538, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "WebAssemblyPassConfig", "::", "addIRPasses", "(", ")", "{", "if", "(", "TM", "->", "Options", ".", "ThreadModel", "==", "ThreadModel", "::", "Single", ")", "addPass", "(", "createLowerAtomicPass", "(", ")", ")", ";", "else", "addPass", "(", "createAtomicExpandPass", "(", "TM", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createWebAssemblyOptimizeReturned", "(", ")", ")", ";", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "WebAssembly"], "File": "WebAssemblyTargetMachine11", "Func": "addIRPasses", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 539, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "gen_call_visitor", "sub", "(", "const", "value", "*", "l", ")", "const", "{", "return", "gen_call_visitor", "{", "l", ",", "Args", "}", ";", "}", ""], "natrual_language": ["sub", "-", "Return", "the", "result", "of", "replacing", "the", "first", "match", "of", "the", "regex", "in", "String", "with", "the", "Repl", "string", "."], "TS_V_token": ["TVM"], "File": "TVMReFunc", "Func": "sub", "Target": "TVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 540, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineRegisterInfo", "*", "getMRI", "(", ")", "const", "{", "return", "&", "getParentInst", "(", ")", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "}", ""], "natrual_language": ["Getter", "for", "MRI", "."], "TS_V_token": ["AMDGPU"], "File": "SIPeepholeSDWA", "Func": "getMRI", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 541, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "getPICJumpTableRelocBase", "(", "SDValue", "Table", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "isPPC64", "(", ")", ")", "return", "TargetLowering", "::", "getPICJumpTableRelocBase", "(", "Table", ",", "DAG", ")", ";", "switch", "(", "getTargetMachine", "(", ")", ".", "getCodeModel", "(", ")", ")", "{", "case", "CodeModel", "::", "Small", ":", "case", "CodeModel", "::", "Medium", ":", "return", "TargetLowering", "::", "getPICJumpTableRelocBase", "(", "Table", ",", "DAG", ")", ";", "default", ":", "return", "DAG", ".", "getNode", "(", "PPCISD", "::", "GlobalBaseReg", ",", "SDLoc", "(", ")", ",", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ")", ";", "}", "}", ""], "natrual_language": ["Returns", "relocation", "base", "for", "the", "given", "PIC", "jumptable", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPCISD::GlobalBaseReg"], "File": "PPCISelLowering (2)7", "Func": "getPICJumpTableRelocBase", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 542, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "shouldExpandAtomicRMWInIR", "(", "AtomicRMWInst", "*", "AI", ")", "const", "{", "unsigned", "Size", "=", "AI", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ";", "return", "Size", "<=", "128", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "IR-level", "AtomicExpand", "pass", "should", "expand", "the", "given", "AtomicRMW", ",", "if", "at", "all", "."], "TS_V_token": ["AArch64", "AArch64", "128"], "File": "AArch64ISelLowering117", "Func": "shouldExpandAtomicRMWInIR", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 543, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_emit_cbranch", "(", "machine_mode", "mode", ",", "rtx", "operands", "[", "]", ")", "{", "rtx", "condition_rtx", ",", "loc_ref", ";", "condition_rtx", "=", "rs6000_generate_compare", "(", "operands", "[", "0", "]", ",", "mode", ")", ";", "loc_ref", "=", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "operands", "[", "3", "]", ")", ";", "emit_jump_insn", "(", "gen_rtx_SET", "(", "pc_rtx", ",", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "condition_rtx", ",", "loc_ref", ",", "pc_rtx", ")", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "branch", "of", "kind", "CODE", "to", "location", "LOC", "."], "TS_V_token": ["powerpcspe", "0", "3"], "File": "powerpcspe", "Func": "rs6000_emit_cbranch", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 544, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "avr_addr_space_legitimize_address", "(", "rtx", "x", ",", "rtx", "old_x", ",", "machine_mode", "mode", ",", "addr_space_t", "as", ")", "{", "if", "(", "ADDR_SPACE_GENERIC_P", "(", "as", ")", ")", "return", "avr_legitimize_address", "(", "x", ",", "old_x", ",", "mode", ")", ";", "if", "(", "avr_log", ".", "legitimize_address", ")", "{", "avr_edump", "(", "\"\\n%?: mode=%m\\n %r\\n\"", ",", "mode", ",", "old_x", ")", ";", "}", "return", "old_x", ";", "}", ""], "natrual_language": ["Implement", "`", "TARGET_ADDR_SPACE_LEGITIMIZE_ADDRESS", "'", "."], "TS_V_token": ["avr", "\"\\n%?: mode=%m\\n %r\\n\""], "File": "avr", "Func": "avr_addr_space_legitimize_address", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 545, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_compute_frame_layout", "(", "void", ")", "{", "struct", "arm_stack_offsets", "*", "offsets", ";", "unsigned", "long", "func_type", ";", "int", "saved", ";", "int", "core_saved", ";", "HOST_WIDE_INT", "frame_size", ";", "int", "i", ";", "offsets", "=", "&", "cfun", "->", "machine", "->", "stack_offsets", ";", "frame_size", "=", "ROUND_UP_WORD", "(", "get_frame_size", "(", ")", ")", ";", "offsets", "->", "saved_args", "=", "crtl", "->", "args", ".", "pretend_args_size", ";", "offsets", "->", "frame", "=", "(", "offsets", "->", "saved_args", "+", "arm_compute_static_chain_stack_bytes", "(", ")", "+", "(", "frame_pointer_needed", "?", "4", ":", "0", ")", ")", ";", "if", "(", "TARGET_32BIT", ")", "{", "unsigned", "int", "regno", ";", "offsets", "->", "saved_regs_mask", "=", "arm_compute_save_core_reg_mask", "(", ")", ";", "core_saved", "=", "bit_count", "(", "offsets", "->", "saved_regs_mask", ")", "*", "4", ";", "saved", "=", "core_saved", ";", "if", "(", "TARGET_REALLY_IWMMXT", ")", "{", "for", "(", "regno", "=", "FIRST_IWMMXT_REGNUM", ";", "regno", "<=", "LAST_IWMMXT_REGNUM", ";", "regno", "++", ")", "if", "(", "df_regs_ever_live_p", "(", "regno", ")", "&&", "!", "call_used_regs", "[", "regno", "]", ")", "saved", "+=", "8", ";", "}", "func_type", "=", "arm_current_func_type", "(", ")", ";", "if", "(", "!", "IS_VOLATILE", "(", "func_type", ")", "&&", "TARGET_HARD_FLOAT", ")", "saved", "+=", "arm_get_vfp_saved_size", "(", ")", ";", "}", "else", "{", "offsets", "->", "saved_regs_mask", "=", "thumb1_compute_save_core_reg_mask", "(", ")", ";", "core_saved", "=", "bit_count", "(", "offsets", "->", "saved_regs_mask", ")", "*", "4", ";", "saved", "=", "core_saved", ";", "if", "(", "TARGET_BACKTRACE", ")", "saved", "+=", "16", ";", "}", "offsets", "->", "saved_regs", "=", "offsets", "->", "saved_args", "+", "arm_compute_static_chain_stack_bytes", "(", ")", "+", "saved", ";", "offsets", "->", "soft_frame", "=", "offsets", "->", "saved_regs", "+", "CALLER_INTERWORKING_SLOT_SIZE", ";", "if", "(", "crtl", "->", "is_leaf", "&&", "frame_size", "==", "0", "&&", "!", "cfun", "->", "calls_alloca", ")", "{", "offsets", "->", "outgoing_args", "=", "offsets", "->", "soft_frame", ";", "offsets", "->", "locals_base", "=", "offsets", "->", "soft_frame", ";", "return", ";", "}", "if", "(", "ARM_DOUBLEWORD_ALIGN", "&&", "(", "offsets", "->", "soft_frame", "&", "7", ")", ")", "{", "offsets", "->", "soft_frame", "+=", "4", ";", "if", "(", "frame_size", "+", "crtl", "->", "outgoing_args_size", "==", "0", ")", "{", "int", "reg", "=", "-", "1", ";", "bool", "prefer_callee_reg_p", "=", "false", ";", "if", "(", "!", "any_sibcall_could_use_r3", "(", ")", "&&", "arm_size_return_regs", "(", ")", "<=", "12", "&&", "(", "offsets", "->", "saved_regs_mask", "&", "(", "1", "<<", "3", ")", ")", "==", "0", "&&", "(", "TARGET_THUMB2", "||", "!", "(", "TARGET_LDRD", "&&", "current_tune", "->", "prefer_ldrd_strd", ")", ")", ")", "{", "reg", "=", "3", ";", "if", "(", "!", "TARGET_THUMB2", ")", "prefer_callee_reg_p", "=", "true", ";", "}", "if", "(", "reg", "==", "-", "1", "||", "prefer_callee_reg_p", ")", "{", "for", "(", "i", "=", "4", ";", "i", "<=", "(", "TARGET_THUMB1", "?", "LAST_LO_REGNUM", ":", "11", ")", ";", "i", "++", ")", "{", "if", "(", "!", "fixed_regs", "[", "i", "]", "&&", "(", "offsets", "->", "saved_regs_mask", "&", "(", "1", "<<", "i", ")", ")", "==", "0", ")", "{", "reg", "=", "i", ";", "break", ";", "}", "}", "}", "if", "(", "reg", "!=", "-", "1", ")", "{", "offsets", "->", "saved_regs", "+=", "4", ";", "offsets", "->", "saved_regs_mask", "|=", "(", "1", "<<", "reg", ")", ";", "}", "}", "}", "offsets", "->", "locals_base", "=", "offsets", "->", "soft_frame", "+", "frame_size", ";", "offsets", "->", "outgoing_args", "=", "(", "offsets", "->", "locals_base", "+", "crtl", "->", "outgoing_args_size", ")", ";", "if", "(", "ARM_DOUBLEWORD_ALIGN", ")", "{", "if", "(", "offsets", "->", "outgoing_args", "&", "7", ")", "offsets", "->", "outgoing_args", "+=", "4", ";", "gcc_assert", "(", "!", "(", "offsets", "->", "outgoing_args", "&", "7", ")", ")", ";", "}", "}", ""], "natrual_language": ["Calculate", "stack", "offsets", ".", "These", "are", "used", "to", "calculate", "register", "elimination", "offsets", "and", "in", "prologue/epilogue", "code", ".", "Also", "calculates", "which", "registers", "should", "be", "saved", "."], "TS_V_token": ["arm", "4", "0", "4", "8", "4", "16", "0", "7", "4", "0", "1", "12", "1", "3", "0", "3", "1", "4", "11", "1", "0", "1", "4", "1", "7", "4", "7"], "File": "arm7", "Func": "arm_compute_frame_layout", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 546, "Length": 504, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZTargetLowering", "::", "allowTruncateForTailCall", "(", "Type", "*", "FromType", ",", "Type", "*", "ToType", ")", "const", "{", "return", "isTruncateFree", "(", "FromType", ",", "ToType", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "truncation", "from", "FromTy", "to", "ToTy", "is", "permitted", "when", "deciding", "whether", "a", "call", "is", "in", "tail", "position", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZISelLowering (2)1", "Func": "allowTruncateForTailCall", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 547, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "bfin_return_in_memory", "(", "tree", "type", ")", "{", "int", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "return", "size", ">", "2", "*", "UNITS_PER_WORD", "||", "size", "==", "-", "1", ";", "}", ""], "natrual_language": ["Decide", "whether", "a", "type", "should", "be", "returned", "in", "memory", "(", "true", ")", "or", "in", "a", "register", "(", "false", ")", ".", "This", "is", "called", "by", "the", "macro", "RETURN_IN_MEMORY", "."], "TS_V_token": ["bfin", "2", "1"], "File": "bfin2", "Func": "bfin_return_in_memory", "Target": "bfin", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 548, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZLongBranch", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "TII", "=", "static_cast", "<", "const", "SystemZInstrInfo", "*", ">", "(", "F", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MF", "=", "&", "F", ";", "uint64_t", "Size", "=", "initMBBInfo", "(", ")", ";", "if", "(", "Size", "<=", "MaxForwardRange", "||", "!", "mustRelaxABranch", "(", ")", ")", "return", "false", ";", "setWorstCaseAddresses", "(", ")", ";", "relaxBranches", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ"], "File": "SystemZLongBranch1", "Func": "runOnMachineFunction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 549, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "getPostIndexedAddressParts", "(", "SDNode", "*", "N", ",", "SDNode", "*", "Op", ",", "SDValue", "&", "Base", ",", "SDValue", "&", "Offset", ",", "ISD", "::", "MemIndexedMode", "&", "AM", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "EVT", "VT", ";", "SDValue", "Ptr", ";", "if", "(", "LoadSDNode", "*", "LD", "=", "dyn_cast", "<", "LoadSDNode", ">", "(", "N", ")", ")", "{", "VT", "=", "LD", "->", "getMemoryVT", "(", ")", ";", "Ptr", "=", "LD", "->", "getBasePtr", "(", ")", ";", "}", "else", "if", "(", "StoreSDNode", "*", "ST", "=", "dyn_cast", "<", "StoreSDNode", ">", "(", "N", ")", ")", "{", "VT", "=", "ST", "->", "getMemoryVT", "(", ")", ";", "Ptr", "=", "ST", "->", "getBasePtr", "(", ")", ";", "}", "else", "return", "false", ";", "bool", "IsInc", ";", "if", "(", "!", "getIndexedAddressParts", "(", "Op", ",", "Base", ",", "Offset", ",", "AM", ",", "IsInc", ",", "DAG", ")", ")", "return", "false", ";", "if", "(", "Ptr", "!=", "Base", ")", "return", "false", ";", "AM", "=", "IsInc", "?", "ISD", "::", "POST_INC", ":", "ISD", "::", "POST_DEC", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "by", "value", ",", "base", "pointer", "and", "offset", "pointer", "and", "addressing", "mode", "by", "reference", "if", "this", "node", "can", "be", "combined", "with", "a", "load", "/", "store", "to", "form", "a", "post-indexed", "load", "/", "store", "."], "TS_V_token": ["AArch64", "AArch64", "ISD::MemIndexedMode", "ISD::POST_INC", "ISD::POST_DEC"], "File": "AArch64ISelLowering (2)", "Func": "getPostIndexedAddressParts", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 550, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "emit_scc_insn", "(", "rtx", "operands", "[", "]", ")", "{", "rtx", "tem", ",", "x", ",", "y", ";", "enum", "rtx_code", "code", ";", "machine_mode", "mode", ";", "if", "(", "GET_MODE", "(", "operands", "[", "2", "]", ")", "==", "TFmode", "&&", "!", "TARGET_HARD_QUAD", ")", "{", "operands", "[", "1", "]", "=", "sparc_emit_float_lib_cmp", "(", "operands", "[", "2", "]", ",", "operands", "[", "3", "]", ",", "GET_CODE", "(", "operands", "[", "1", "]", ")", ")", ";", "operands", "[", "2", "]", "=", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ";", "operands", "[", "3", "]", "=", "XEXP", "(", "operands", "[", "1", "]", ",", "1", ")", ";", "}", "code", "=", "GET_CODE", "(", "operands", "[", "1", "]", ")", ";", "x", "=", "operands", "[", "2", "]", ";", "y", "=", "operands", "[", "3", "]", ";", "mode", "=", "GET_MODE", "(", "x", ")", ";", "if", "(", "(", "code", "==", "EQ", "||", "code", "==", "NE", ")", "&&", "(", "mode", "==", "SImode", "||", "mode", "==", "DImode", ")", ")", "{", "if", "(", "y", "!=", "const0_rtx", ")", "x", "=", "force_reg", "(", "mode", ",", "gen_rtx_XOR", "(", "mode", ",", "x", ",", "y", ")", ")", ";", "rtx", "pat", "=", "gen_rtx_SET", "(", "operands", "[", "0", "]", ",", "gen_rtx_fmt_ee", "(", "code", ",", "GET_MODE", "(", "operands", "[", "0", "]", ")", ",", "x", ",", "const0_rtx", ")", ")", ";", "if", "(", "mode", "==", "SImode", "||", "(", "code", "==", "NE", "&&", "TARGET_VIS3", ")", ")", "{", "rtx", "clobber", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "mode", "==", "SImode", "?", "CCmode", ":", "CCXmode", ",", "SPARC_ICC_REG", ")", ")", ";", "pat", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "pat", ",", "clobber", ")", ")", ";", "}", "emit_insn", "(", "pat", ")", ";", "return", "true", ";", "}", "if", "(", "TARGET_ARCH64", "&&", "mode", "==", "DImode", "&&", "!", "(", "(", "code", "==", "LTU", "||", "code", "==", "GTU", ")", "&&", "TARGET_VIS3", ")", "&&", "gen_v9_scc", "(", "operands", "[", "0", "]", ",", "code", ",", "x", ",", "y", ")", ")", "return", "true", ";", "if", "(", "code", "==", "GTU", "||", "code", "==", "LEU", ")", "{", "if", "(", "(", "GET_CODE", "(", "x", ")", "==", "REG", "||", "GET_CODE", "(", "x", ")", "==", "SUBREG", ")", "&&", "(", "GET_CODE", "(", "y", ")", "==", "REG", "||", "GET_CODE", "(", "y", ")", "==", "SUBREG", ")", ")", "{", "tem", "=", "x", ";", "x", "=", "y", ";", "y", "=", "tem", ";", "code", "=", "swap_condition", "(", "code", ")", ";", "}", "}", "if", "(", "code", "==", "LTU", "||", "code", "==", "GEU", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "operands", "[", "0", "]", ",", "gen_rtx_fmt_ee", "(", "code", ",", "GET_MODE", "(", "operands", "[", "0", "]", ")", ",", "gen_compare_reg_1", "(", "code", ",", "x", ",", "y", ")", ",", "const0_rtx", ")", ")", ")", ";", "return", "true", ";", "}", "if", "(", "TARGET_V9", "&&", "gen_v9_scc", "(", "operands", "[", "0", "]", ",", "code", ",", "x", ",", "y", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Emit", "an", "scc", "insn", ".", "For", "seq", ",", "sne", ",", "sgeu", ",", "and", "sltu", ",", "we", "can", "do", "this", "without", "jumps", "using", "the", "addx/subx", "instructions", "."], "TS_V_token": ["sparc", "2", "1", "2", "3", "1", "2", "1", "0", "3", "1", "1", "1", "2", "3", "0", "0", "2", "0", "0", "0", "0"], "File": "sparc", "Func": "emit_scc_insn", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 551, "Length": 444, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "AArch64RegisterInfo", "::", "getSubClassWithSubReg", "(", "const", "TargetRegisterClass", "*", "RC", ",", "unsigned", "Idx", ")", "const", "{", "if", "(", "RC", "==", "&", "AArch64", "::", "GPR32allRegClass", "&&", "Idx", "==", "AArch64", "::", "hsub", ")", "return", "&", "AArch64", "::", "FPR32RegClass", ";", "else", "if", "(", "RC", "==", "&", "AArch64", "::", "GPR64allRegClass", "&&", "Idx", "==", "AArch64", "::", "hsub", ")", "return", "&", "AArch64", "::", "FPR64RegClass", ";", "return", "AArch64GenRegisterInfo", "::", "getSubClassWithSubReg", "(", "RC", ",", "Idx", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "largest", "legal", "sub-class", "of", "RC", "that", "supports", "the", "sub-register", "index", "Idx", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::GPR32allRegClass", "AArch64::hsub", "AArch64::FPR32RegClass", "AArch64::GPR64allRegClass", "AArch64::hsub", "AArch64::FPR64RegClass", "AArch64"], "File": "AArch64RegisterInfo", "Func": "getSubClassWithSubReg", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 552, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "SparcELFTargetObjectFile", "::", "getTTypeGlobalReference", "(", "const", "GlobalValue", "*", "GV", ",", "unsigned", "Encoding", ",", "const", "TargetMachine", "&", "TM", ",", "MachineModuleInfo", "*", "MMI", ",", "MCStreamer", "&", "Streamer", ")", "const", "{", "if", "(", "Encoding", "&", "dwarf", "::", "DW_EH_PE_pcrel", ")", "{", "MachineModuleInfoELF", "&", "ELFMMI", "=", "MMI", "->", "getObjFileInfo", "<", "MachineModuleInfoELF", ">", "(", ")", ";", "MCSymbol", "*", "SSym", "=", "getSymbolWithGlobalValueBase", "(", "GV", ",", "\".DW.stub\"", ",", "TM", ")", ";", "MachineModuleInfoImpl", "::", "StubValueTy", "&", "StubSym", "=", "ELFMMI", ".", "getGVStubEntry", "(", "SSym", ")", ";", "if", "(", "!", "StubSym", ".", "getPointer", "(", ")", ")", "{", "MCSymbol", "*", "Sym", "=", "TM", ".", "getSymbol", "(", "GV", ")", ";", "StubSym", "=", "MachineModuleInfoImpl", "::", "StubValueTy", "(", "Sym", ",", "!", "GV", "->", "hasLocalLinkage", "(", ")", ")", ";", "}", "MCContext", "&", "Ctx", "=", "getContext", "(", ")", ";", "return", "SparcMCExpr", "::", "create", "(", "SparcMCExpr", "::", "VK_Sparc_R_DISP32", ",", "MCSymbolRefExpr", "::", "create", "(", "SSym", ",", "Ctx", ")", ",", "Ctx", ")", ";", "}", "return", "TargetLoweringObjectFileELF", "::", "getTTypeGlobalReference", "(", "GV", ",", "Encoding", ",", "TM", ",", "MMI", ",", "Streamer", ")", ";", "}", ""], "natrual_language": ["The", "mach-o", "version", "of", "this", "method", "defaults", "to", "returning", "a", "stub", "reference", "."], "TS_V_token": ["Sparc", "Sparc", "\".DW.stub\"", "Sparc", "Sparc", "SP"], "File": "SparcTargetObjectFile1", "Func": "getTTypeGlobalReference", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 553, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "MCInst", "&", "Res", ")", "const", "override", "{", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["TriCore"], "File": "TriCoreAsmBackend (2)", "Func": "relaxInstruction", "Target": "TriCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 554, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "h8300_shift_needs_scratch_p", "(", "int", "count", ",", "machine_mode", "mode", ",", "enum", "rtx_code", "type", ")", "{", "enum", "h8_cpu", "cpu", ";", "int", "a", ",", "lr", ",", "ar", ";", "if", "(", "GET_MODE_BITSIZE", "(", "mode", ")", "<=", "count", ")", "return", "1", ";", "if", "(", "TARGET_H8300S", ")", "cpu", "=", "H8_S", ";", "else", "cpu", "=", "H8_300H", ";", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "a", "=", "shift_alg_qi", "[", "cpu", "]", "[", "SHIFT_ASHIFT", "]", "[", "count", "]", ";", "lr", "=", "shift_alg_qi", "[", "cpu", "]", "[", "SHIFT_LSHIFTRT", "]", "[", "count", "]", ";", "ar", "=", "shift_alg_qi", "[", "cpu", "]", "[", "SHIFT_ASHIFTRT", "]", "[", "count", "]", ";", "break", ";", "case", "E_HImode", ":", "a", "=", "shift_alg_hi", "[", "cpu", "]", "[", "SHIFT_ASHIFT", "]", "[", "count", "]", ";", "lr", "=", "shift_alg_hi", "[", "cpu", "]", "[", "SHIFT_LSHIFTRT", "]", "[", "count", "]", ";", "ar", "=", "shift_alg_hi", "[", "cpu", "]", "[", "SHIFT_ASHIFTRT", "]", "[", "count", "]", ";", "break", ";", "case", "E_SImode", ":", "a", "=", "shift_alg_si", "[", "cpu", "]", "[", "SHIFT_ASHIFT", "]", "[", "count", "]", ";", "lr", "=", "shift_alg_si", "[", "cpu", "]", "[", "SHIFT_LSHIFTRT", "]", "[", "count", "]", ";", "ar", "=", "shift_alg_si", "[", "cpu", "]", "[", "SHIFT_ASHIFTRT", "]", "[", "count", "]", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "type", "==", "CLOBBER", ")", "return", "(", "a", "==", "SHIFT_LOOP", "||", "lr", "==", "SHIFT_LOOP", "||", "ar", "==", "SHIFT_LOOP", "||", "(", "TARGET_H8300H", "&&", "mode", "==", "SImode", "&&", "count", "==", "8", ")", ")", ";", "else", "if", "(", "type", "==", "ASHIFT", ")", "return", "(", "a", "==", "SHIFT_LOOP", "||", "(", "TARGET_H8300H", "&&", "mode", "==", "SImode", "&&", "count", "==", "8", ")", ")", ";", "else", "if", "(", "type", "==", "LSHIFTRT", ")", "return", "(", "lr", "==", "SHIFT_LOOP", "||", "(", "TARGET_H8300H", "&&", "mode", "==", "SImode", "&&", "count", "==", "8", ")", ")", ";", "else", "if", "(", "type", "==", "ASHIFTRT", ")", "return", "(", "ar", "==", "SHIFT_LOOP", "||", "(", "TARGET_H8300H", "&&", "mode", "==", "SImode", "&&", "count", "==", "8", ")", ")", ";", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Given", "COUNT", "and", "MODE", "of", "a", "shift", ",", "return", "1", "if", "a", "scratch", "reg", "may", "be", "needed", "for", "some", "shift", "with", "COUNT", "and", "MODE", ".", "Return", "0", "otherwise", "."], "TS_V_token": ["h8300", "1", "8", "8", "8", "8"], "File": "h8300", "Func": "h8300_shift_needs_scratch_p", "Target": "h8300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 555, "Length": 310, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "unsigned", "getISAEncoding", "(", ")", "{", "if", "(", "!", "Subtarget", "->", "isTargetDarwin", "(", ")", ")", "return", "0", ";", "return", "Subtarget", "->", "isThumb", "(", ")", "?", "llvm", "::", "ARM", "::", "DW_ISA_ARM_thumb", ":", "llvm", "::", "ARM", "::", "DW_ISA_ARM_arm", ";", "}", ""], "natrual_language": ["Get", "the", "value", "for", "DW_AT_APPLE_isa", ".", "Zero", "if", "no", "isa", "encoding", "specified", "."], "TS_V_token": ["ARM", "0", "ARM::DW_ISA_ARM_thumb", "ARM::DW_ISA_ARM_arm"], "File": "ARMAsmPrinter16", "Func": "getISAEncoding", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 556, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "getIntImmCost", "(", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "if", "(", "Imm", ".", "getBitWidth", "(", ")", "<=", "64", "&&", "isInt", "<", "32", ">", "(", "Imm", ".", "getSExtValue", "(", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "return", "TTI", "::", "TCC_Basic", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "."], "TS_V_token": ["BPF", "64", "32"], "File": "BPFTargetTransformInfo", "Func": "getIntImmCost", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 557, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "NVPTXAsmPrinter", "::", "emitStartOfAsmFile", "(", "Module", "&", "M", ")", "{", "const", "NVPTXTargetMachine", "&", "NTM", "=", "static_cast", "<", "const", "NVPTXTargetMachine", "&", ">", "(", "TM", ")", ";", "const", "auto", "*", "STI", "=", "static_cast", "<", "const", "NVPTXSubtarget", "*", ">", "(", "NTM", ".", "getSubtargetImpl", "(", ")", ")", ";", "SmallString", "<", "128", ">", "Str1", ";", "raw_svector_ostream", "OS1", "(", "Str1", ")", ";", "emitHeader", "(", "M", ",", "OS1", ",", "*", "STI", ")", ";", "OutStreamer", "->", "emitRawText", "(", "OS1", ".", "str", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "virtual", "method", "can", "be", "overridden", "by", "targets", "that", "want", "to", "emit", "something", "at", "the", "start", "of", "their", "file", "."], "TS_V_token": ["NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "128"], "File": "NVPTXAsmPrinter15", "Func": "emitStartOfAsmFile", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 558, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsPassConfig", "::", "addPreEmitPass", "(", ")", "{", "MipsTargetMachine", "&", "TM", "=", "getMipsTargetMachine", "(", ")", ";", "const", "MipsSubtarget", "&", "Subtarget", "=", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "addPass", "(", "createMipsDelaySlotFillerPass", "(", "TM", ")", ")", ";", "if", "(", "Subtarget", ".", "hasStandardEncoding", "(", ")", "||", "Subtarget", ".", "allowMixed16_32", "(", ")", ")", "addPass", "(", "createMipsLongBranchPass", "(", "TM", ")", ")", ";", "if", "(", "Subtarget", ".", "inMips16Mode", "(", ")", "||", "Subtarget", ".", "allowMixed16_32", "(", ")", ")", "addPass", "(", "createMipsConstantIslandPass", "(", "TM", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MipsTargetMachine11", "Func": "addPreEmitPass", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 559, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AMDGPUAsmParser", "::", "validateTargetOperandClass", "(", "MCParsedAsmOperand", "&", "Op", ",", "unsigned", "Kind", ")", "{", "AMDGPUOperand", "&", "Operand", "=", "(", "AMDGPUOperand", "&", ")", "Op", ";", "switch", "(", "Kind", ")", "{", "case", "MCK_addr64", ":", "return", "Operand", ".", "isAddr64", "(", ")", "?", "Match_Success", ":", "Match_InvalidOperand", ";", "case", "MCK_gds", ":", "return", "Operand", ".", "isGDS", "(", ")", "?", "Match_Success", ":", "Match_InvalidOperand", ";", "case", "MCK_glc", ":", "return", "Operand", ".", "isGLC", "(", ")", "?", "Match_Success", ":", "Match_InvalidOperand", ";", "case", "MCK_idxen", ":", "return", "Operand", ".", "isIdxen", "(", ")", "?", "Match_Success", ":", "Match_InvalidOperand", ";", "case", "MCK_offen", ":", "return", "Operand", ".", "isOffen", "(", ")", "?", "Match_Success", ":", "Match_InvalidOperand", ";", "case", "MCK_SSrc32", ":", "return", "Operand", ".", "isSSrc32", "(", ")", "?", "Match_Success", ":", "Match_InvalidOperand", ";", "case", "MCK_SoppBrTarget", ":", "return", "Operand", ".", "isSoppBrTarget", "(", ")", "?", "Match_Success", ":", "Match_InvalidOperand", ";", "default", ":", "return", "Match_InvalidOperand", ";", "}", "}", ""], "natrual_language": ["Allow", "a", "target", "to", "add", "special", "case", "operand", "matching", "for", "things", "that", "tblgen", "doesn't/ca", "n't", "handle", "effectively", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU"], "File": "AMDGPUAsmParser10", "Func": "validateTargetOperandClass", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 560, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_print_operand_address", "(", "FILE", "*", "file", ",", "rtx", "x", ")", "{", "struct", "mips_address_info", "addr", ";", "if", "(", "mips_classify_address", "(", "&", "addr", ",", "x", ",", "word_mode", ",", "true", ")", ")", "switch", "(", "addr", ".", "type", ")", "{", "case", "ADDRESS_REG", ":", "mips_print_operand", "(", "file", ",", "addr", ".", "offset", ",", "0", ")", ";", "fprintf", "(", "file", ",", "\"(%s)\"", ",", "reg_names", "[", "REGNO", "(", "addr", ".", "reg", ")", "]", ")", ";", "return", ";", "case", "ADDRESS_LO_SUM", ":", "mips_print_operand_reloc", "(", "file", ",", "addr", ".", "offset", ",", "SYMBOL_CONTEXT_MEM", ",", "mips_lo_relocs", ")", ";", "fprintf", "(", "file", ",", "\"(%s)\"", ",", "reg_names", "[", "REGNO", "(", "addr", ".", "reg", ")", "]", ")", ";", "return", ";", "case", "ADDRESS_CONST_INT", ":", "output_addr_const", "(", "file", ",", "x", ")", ";", "fprintf", "(", "file", ",", "\"(%s)\"", ",", "reg_names", "[", "GP_REG_FIRST", "]", ")", ";", "return", ";", "case", "ADDRESS_SYMBOLIC", ":", "output_addr_const", "(", "file", ",", "mips_strip_unspec_address", "(", "x", ")", ")", ";", "return", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_PRINT_OPERAND_ADDRESS", "."], "TS_V_token": ["mips", "0", "\"(%s)\"", "\"(%s)\"", "\"(%s)\""], "File": "mips4", "Func": "mips_print_operand_address", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 561, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "setExecutionDomain", "(", "MachineInstr", "&", "MI", ",", "unsigned", "Domain", ")", "const", "{", "assert", "(", "Domain", ">", "0", "&&", "Domain", "<", "4", "&&", "\"Invalid execution domain\"", ")", ";", "uint16_t", "dom", "=", "(", "MI", ".", "getDesc", "(", ")", ".", "TSFlags", ">>", "X86II", "::", "SSEDomainShift", ")", "&", "3", ";", "assert", "(", "dom", "&&", "\"Not an SSE instruction\"", ")", ";", "const", "uint16_t", "*", "table", "=", "lookup", "(", "MI", ".", "getOpcode", "(", ")", ",", "dom", ",", "ReplaceableInstrs", ")", ";", "if", "(", "!", "table", ")", "{", "assert", "(", "(", "Subtarget", ".", "hasAVX2", "(", ")", "||", "Domain", "<", "3", ")", "&&", "\"256-bit vector operations only available in AVX2\"", ")", ";", "table", "=", "lookup", "(", "MI", ".", "getOpcode", "(", ")", ",", "dom", ",", "ReplaceableInstrsAVX2", ")", ";", "}", "if", "(", "!", "table", ")", "{", "assert", "(", "Subtarget", ".", "hasAVX512", "(", ")", "&&", "\"Requires AVX-512\"", ")", ";", "table", "=", "lookupAVX512", "(", "MI", ".", "getOpcode", "(", ")", ",", "dom", ",", "ReplaceableInstrsAVX512", ")", ";", "if", "(", "table", "&&", "Domain", "==", "3", "&&", "table", "[", "3", "]", "==", "MI", ".", "getOpcode", "(", ")", ")", "Domain", "=", "4", ";", "}", "if", "(", "!", "table", ")", "{", "assert", "(", "(", "Subtarget", ".", "hasDQI", "(", ")", "||", "Domain", ">=", "3", ")", "&&", "\"Requires AVX-512DQ\"", ")", ";", "table", "=", "lookupAVX512", "(", "MI", ".", "getOpcode", "(", ")", ",", "dom", ",", "ReplaceableInstrsAVX512DQ", ")", ";", "if", "(", "table", "&&", "Domain", "==", "3", "&&", "(", "dom", "==", "1", "||", "table", "[", "3", "]", "==", "MI", ".", "getOpcode", "(", ")", ")", ")", "Domain", "=", "4", ";", "}", "if", "(", "!", "table", ")", "{", "assert", "(", "(", "Subtarget", ".", "hasDQI", "(", ")", "||", "Domain", ">=", "3", ")", "&&", "\"Requires AVX-512DQ\"", ")", ";", "table", "=", "lookupAVX512", "(", "MI", ".", "getOpcode", "(", ")", ",", "dom", ",", "ReplaceableInstrsAVX512DQMasked", ")", ";", "if", "(", "table", "&&", "Domain", "==", "3", "&&", "(", "dom", "==", "1", "||", "table", "[", "3", "]", "==", "MI", ".", "getOpcode", "(", ")", ")", ")", "Domain", "=", "4", ";", "}", "assert", "(", "table", "&&", "\"Cannot change domain\"", ")", ";", "MI", ".", "setDesc", "(", "get", "(", "table", "[", "Domain", "-", "1", "]", ")", ")", ";", "}", ""], "natrual_language": ["Change", "the", "opcode", "of", "MI", "to", "execute", "in", "Domain", "."], "TS_V_token": ["X86", "X86", "0", "4", "\"Invalid execution domain\"", "X86II::SSEDomainShift", "3", "\"Not an SSE instruction\"", "3", "\"256-bit vector operations only available in AVX2\"", "\"Requires AVX-512\"", "3", "3", "4", "3", "\"Requires AVX-512DQ\"", "3", "1", "3", "4", "3", "\"Requires AVX-512DQ\"", "3", "1", "3", "4", "\"Cannot change domain\"", "1"], "File": "X86InstrInfo112", "Func": "setExecutionDomain", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 562, "Length": 325, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZElimCompare", "::", "processBlock", "(", "MachineBasicBlock", "&", "MBB", ")", "{", "bool", "Changed", "=", "false", ";", "bool", "CompleteCCUsers", "=", "!", "isCCLiveOut", "(", "MBB", ")", ";", "SmallVector", "<", "MachineInstr", "*", ",", "4", ">", "CCUsers", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "end", "(", ")", ";", "while", "(", "MBBI", "!=", "MBB", ".", "begin", "(", ")", ")", "{", "MachineInstr", "*", "MI", "=", "--", "MBBI", ";", "if", "(", "CompleteCCUsers", "&&", "(", "MI", "->", "isCompare", "(", ")", "||", "isLoadAndTestAsCmp", "(", "MI", ")", ")", "&&", "(", "optimizeCompareZero", "(", "MI", ",", "CCUsers", ")", "||", "fuseCompareOperations", "(", "MI", ",", "CCUsers", ")", ")", ")", "{", "++", "MBBI", ";", "MI", "->", "eraseFromParent", "(", ")", ";", "Changed", "=", "true", ";", "CCUsers", ".", "clear", "(", ")", ";", "continue", ";", "}", "if", "(", "MI", "->", "definesRegister", "(", "SystemZ", "::", "CC", ")", ")", "{", "CCUsers", ".", "clear", "(", ")", ";", "CompleteCCUsers", "=", "true", ";", "}", "if", "(", "MI", "->", "readsRegister", "(", "SystemZ", "::", "CC", ")", "&&", "CompleteCCUsers", ")", "CCUsers", ".", "push_back", "(", "MI", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["processBlock", "-", "If", "there", "are", "any", "predecessors", "whose", "control", "can", "be", "threaded", "through", "to", "a", "successor", ",", "transform", "them", "now", "."], "TS_V_token": ["SystemZ", "SystemZ", "4", "SystemZ::CC", "SystemZ::CC"], "File": "SystemZElimCompare38", "Func": "processBlock", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 563, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "host_detect_local_cpu", "(", "int", "argc", ",", "const", "char", "*", "*", "argv", ")", "{", "const", "char", "*", "cpu", ";", "bool", "arch", ";", "if", "(", "argc", "<", "1", ")", "return", "NULL", ";", "arch", "=", "strcmp", "(", "argv", "[", "0", "]", ",", "\"cpu\"", ")", "==", "0", ";", "if", "(", "!", "arch", "&&", "strcmp", "(", "argv", "[", "0", "]", ",", "\"tune\"", ")", ")", "return", "NULL", ";", "if", "(", "arch", ")", "cpu", "=", "\"powerpc\"", ";", "return", "concat", "(", "\"-m\"", ",", "argv", "[", "0", "]", ",", "\"=\"", ",", "cpu", ",", "NULL", ")", ";", "}", ""], "natrual_language": ["This", "will", "be", "called", "by", "the", "spec", "parser", "in", "gcc.cc", "when", "it", "sees", "a", "%", ":", "local_cpu_detect", "(", "args", ")", "construct", ".", "Currently", "it", "will", "be", "called", "with", "either", "``", "cpu", "''", "or", "``", "tune", "''", "as", "argument", "depending", "on", "if", "-mcpu=native", "or", "-mtune=native", "is", "to", "be", "substituted", ".", "It", "returns", "a", "string", "containing", "new", "command", "line", "parameters", "to", "be", "put", "at", "the", "place", "of", "the", "above", "two", "options", ",", "depending", "on", "what", "CPU", "this", "is", "executed", ".", "E.g", ".", "``", "-mcpu=ultrasparc3", "''", "on", "an", "UltraSPARC", "III", "for", "-mcpu=native", ".", "If", "the", "routine", "ca", "n't", "detect", "a", "known", "processor", ",", "the", "-mcpu", "or", "-mtune", "option", "is", "discarded", ".", "ARGC", "and", "ARGV", "are", "set", "depending", "on", "the", "actual", "arguments", "given", "in", "the", "spec", "."], "TS_V_token": ["rs6000", "1", "0", "\"cpu\"", "0", "0", "\"tune\"", "\"powerpc\"", "\"-m\"", "0", "\"=\""], "File": "driver-rs6000", "Func": "host_detect_local_cpu", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 564, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "arc_output_libcall", "(", "const", "char", "*", "fname", ")", "{", "unsigned", "len", "=", "strlen", "(", "fname", ")", ";", "static", "char", "buf", "[", "64", "]", ";", "gcc_assert", "(", "len", "<", "sizeof", "buf", "-", "35", ")", ";", "if", "(", "TARGET_LONG_CALLS_SET", "||", "(", "TARGET_MEDIUM_CALLS", "&&", "arc_ccfsm_cond_exec_p", "(", ")", ")", ")", "{", "if", "(", "flag_pic", ")", "sprintf", "(", "buf", ",", "\"add r12,pcl,@%s@pcl\\n\\tjl%%!%%* [r12]\"", ",", "fname", ")", ";", "else", "sprintf", "(", "buf", ",", "\"jl%%! @%s\"", ",", "fname", ")", ";", "}", "else", "sprintf", "(", "buf", ",", "\"bl%%!%%* @%s\"", ",", "fname", ")", ";", "return", "buf", ";", "}", ""], "natrual_language": ["Output", "a", "library", "call", "to", "a", "function", "called", "FNAME", "that", "has", "been", "arranged", "to", "be", "local", "to", "any", "dso", "."], "TS_V_token": ["arc", "64", "35", "\"add r12,pcl,@%s@pcl\\n\\tjl%%!%%* [r12]\"", "\"jl%%! @%s\"", "\"bl%%!%%* @%s\""], "File": "arc", "Func": "arc_output_libcall", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 565, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesAll", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["DirectX"], "File": "DXILWriterPass", "Func": "getAnalysisUsage", "Target": "DirectX", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 566, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "CSKYRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "CSKYFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "const", "CSKYSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "CSKYSubtarget", ">", "(", ")", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "if", "(", "TFI", "->", "hasBP", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "CSKY", "::", "R7", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "CSKY", "::", "R8", ")", ";", "if", "(", "!", "STI", ".", "hasE2", "(", ")", ")", "{", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "6", ";", "i", "++", ")", "markSuperRegs", "(", "Reserved", ",", "CSKY", "::", "R8", "+", "i", ")", ";", "}", "markSuperRegs", "(", "Reserved", ",", "CSKY", "::", "R14", ")", ";", "markSuperRegs", "(", "Reserved", ",", "CSKY", "::", "R15", ")", ";", "if", "(", "!", "STI", ".", "hasHighRegisters", "(", ")", ")", "{", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "10", ";", "i", "++", ")", "markSuperRegs", "(", "Reserved", ",", "CSKY", "::", "R16", "+", "i", ")", ";", "}", "markSuperRegs", "(", "Reserved", ",", "CSKY", "::", "R26", ")", ";", "markSuperRegs", "(", "Reserved", ",", "CSKY", "::", "R27", ")", ";", "markSuperRegs", "(", "Reserved", ",", "CSKY", "::", "R28", ")", ";", "markSuperRegs", "(", "Reserved", ",", "CSKY", "::", "R29", ")", ";", "markSuperRegs", "(", "Reserved", ",", "CSKY", "::", "R30", ")", ";", "markSuperRegs", "(", "Reserved", ",", "CSKY", "::", "R31", ")", ";", "assert", "(", "checkAllSuperRegsMarked", "(", "Reserved", ")", ")", ";", "return", "Reserved", ";", "}", ""], "natrual_language": ["getReservedRegs", "-", "Returns", "a", "bitset", "indexed", "by", "physical", "register", "number", "indicating", "if", "a", "register", "is", "a", "special", "register", "that", "has", "particular", "uses", "and", "should", "be", "considered", "unavailable", "at", "all", "times", ",", "e.g", "."], "TS_V_token": ["CSKY", "CSKY", "CSKY", "CSKY", "CSKY", "CSKY::R7", "CSKY::R8", "0", "6", "CSKY::R8", "CSKY::R14", "CSKY::R15", "0", "10", "CSKY::R16", "CSKY::R26", "CSKY::R27", "CSKY::R28", "CSKY::R29", "CSKY::R30", "CSKY::R31"], "File": "CSKYRegisterInfo", "Func": "getReservedRegs", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 567, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_emit_parity", "(", "rtx", "dst", ",", "rtx", "src", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "dst", ")", ";", "rtx", "tmp", ";", "tmp", "=", "gen_reg_rtx", "(", "mode", ")", ";", "if", "(", "TARGET_CMPB", ")", "{", "if", "(", "mode", "==", "SImode", ")", "{", "emit_insn", "(", "gen_popcntbsi2", "(", "tmp", ",", "src", ")", ")", ";", "emit_insn", "(", "gen_paritysi2_cmpb", "(", "dst", ",", "tmp", ")", ")", ";", "}", "else", "{", "emit_insn", "(", "gen_popcntbdi2", "(", "tmp", ",", "src", ")", ")", ";", "emit_insn", "(", "gen_paritydi2_cmpb", "(", "dst", ",", "tmp", ")", ")", ";", "}", "return", ";", "}", "if", "(", "mode", "==", "SImode", ")", "{", "if", "(", "rs6000_cost", "->", "mulsi_const", ">=", "COSTS_N_INSNS", "(", "3", ")", ")", "{", "rtx", "tmp1", ",", "tmp2", ",", "tmp3", ",", "tmp4", ";", "tmp1", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_popcntbsi2", "(", "tmp1", ",", "src", ")", ")", ";", "tmp2", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_lshrsi3", "(", "tmp2", ",", "tmp1", ",", "GEN_INT", "(", "16", ")", ")", ")", ";", "tmp3", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_xorsi3", "(", "tmp3", ",", "tmp1", ",", "tmp2", ")", ")", ";", "tmp4", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_lshrsi3", "(", "tmp4", ",", "tmp3", ",", "GEN_INT", "(", "8", ")", ")", ")", ";", "emit_insn", "(", "gen_xorsi3", "(", "tmp", ",", "tmp3", ",", "tmp4", ")", ")", ";", "}", "else", "rs6000_emit_popcount", "(", "tmp", ",", "src", ")", ";", "emit_insn", "(", "gen_andsi3", "(", "dst", ",", "tmp", ",", "const1_rtx", ")", ")", ";", "}", "else", "{", "if", "(", "rs6000_cost", "->", "muldi", ">=", "COSTS_N_INSNS", "(", "5", ")", ")", "{", "rtx", "tmp1", ",", "tmp2", ",", "tmp3", ",", "tmp4", ",", "tmp5", ",", "tmp6", ";", "tmp1", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "emit_insn", "(", "gen_popcntbdi2", "(", "tmp1", ",", "src", ")", ")", ";", "tmp2", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "emit_insn", "(", "gen_lshrdi3", "(", "tmp2", ",", "tmp1", ",", "GEN_INT", "(", "32", ")", ")", ")", ";", "tmp3", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "emit_insn", "(", "gen_xordi3", "(", "tmp3", ",", "tmp1", ",", "tmp2", ")", ")", ";", "tmp4", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "emit_insn", "(", "gen_lshrdi3", "(", "tmp4", ",", "tmp3", ",", "GEN_INT", "(", "16", ")", ")", ")", ";", "tmp5", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "emit_insn", "(", "gen_xordi3", "(", "tmp5", ",", "tmp3", ",", "tmp4", ")", ")", ";", "tmp6", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "emit_insn", "(", "gen_lshrdi3", "(", "tmp6", ",", "tmp5", ",", "GEN_INT", "(", "8", ")", ")", ")", ";", "emit_insn", "(", "gen_xordi3", "(", "tmp", ",", "tmp5", ",", "tmp6", ")", ")", ";", "}", "else", "rs6000_emit_popcount", "(", "tmp", ",", "src", ")", ";", "emit_insn", "(", "gen_anddi3", "(", "dst", ",", "tmp", ",", "const1_rtx", ")", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "parity", "intrinsic", "on", "TARGET_POPCNTB", "targets", ".", "DST", "is", "the", "target", ",", "and", "SRC", "is", "the", "argument", "operand", "."], "TS_V_token": ["rs6000", "3", "16", "8", "5", "32", "16", "8"], "File": "rs6000", "Func": "rs6000_emit_parity", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 568, "Length": 412, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sh_cfun_resbank_handler_p", "(", "void", ")", "{", "return", "(", "(", "lookup_attribute", "(", "\"resbank\"", ",", "DECL_ATTRIBUTES", "(", "current_function_decl", ")", ")", "!=", "NULL_TREE", ")", "&&", "(", "lookup_attribute", "(", "\"interrupt_handler\"", ",", "DECL_ATTRIBUTES", "(", "current_function_decl", ")", ")", "!=", "NULL_TREE", ")", "&&", "TARGET_SH2A", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "given", "tree", "has", "the", "``", "resbank", "''", "attribute", "set", "."], "TS_V_token": ["sh", "\"resbank\"", "\"interrupt_handler\""], "File": "sh", "Func": "sh_cfun_resbank_handler_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 569, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "xstormy16_expand_epilogue", "(", "void", ")", "{", "struct", "xstormy16_stack_layout", "layout", ";", "rtx", "mem_pop_rtx", ";", "int", "regno", ";", "const", "int", "ifun", "=", "xstormy16_interrupt_function_p", "(", ")", ";", "mem_pop_rtx", "=", "gen_rtx_PRE_DEC", "(", "Pmode", ",", "stack_pointer_rtx", ")", ";", "mem_pop_rtx", "=", "gen_rtx_MEM", "(", "HImode", ",", "mem_pop_rtx", ")", ";", "layout", "=", "xstormy16_compute_stack_layout", "(", ")", ";", "if", "(", "layout", ".", "locals_size", ")", "{", "if", "(", "frame_pointer_needed", "&&", "layout", ".", "sp_minus_fp", "==", "layout", ".", "locals_size", ")", "emit_move_insn", "(", "stack_pointer_rtx", ",", "hard_frame_pointer_rtx", ")", ";", "else", "emit_addhi3_postreload", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "-", "layout", ".", "locals_size", ")", ")", ";", "}", "for", "(", "regno", "=", "FIRST_PSEUDO_REGISTER", "-", "1", ";", "regno", ">=", "0", ";", "regno", "--", ")", "if", "(", "REG_NEEDS_SAVE", "(", "regno", ",", "ifun", ")", ")", "emit_move_insn", "(", "gen_rtx_REG", "(", "HImode", ",", "regno", ")", ",", "mem_pop_rtx", ")", ";", "if", "(", "layout", ".", "stdarg_save_size", ")", "emit_addhi3_postreload", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "-", "layout", ".", "stdarg_save_size", ")", ")", ";", "if", "(", "ifun", ")", "emit_jump_insn", "(", "gen_return_internal_interrupt", "(", ")", ")", ";", "else", "emit_jump_insn", "(", "gen_return_internal", "(", ")", ")", ";", "}", ""], "natrual_language": ["Called", "after", "register", "allocation", "to", "add", "any", "instructions", "needed", "for", "the", "epilogue", ".", "Using", "an", "epilogue", "insn", "is", "favored", "compared", "to", "putting", "all", "of", "the", "instructions", "in", "the", "TARGET_ASM_FUNCTION_PROLOGUE", "macro", ",", "since", "it", "allows", "the", "scheduler", "to", "intermix", "instructions", "with", "the", "saves", "of", "the", "caller", "saved", "registers", ".", "In", "some", "cases", ",", "it", "might", "be", "necessary", "to", "emit", "a", "barrier", "instruction", "as", "the", "last", "insn", "to", "prevent", "such", "scheduling", "."], "TS_V_token": ["stormy16", "1", "0"], "File": "stormy16", "Func": "xstormy16_expand_epilogue", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 570, "Length": 168, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "ix86_build_signbit_mask", "(", "machine_mode", "mode", ",", "bool", "vect", ",", "bool", "invert", ")", "{", "machine_mode", "vec_mode", ",", "imode", ";", "HOST_WIDE_INT", "hi", ",", "lo", ";", "int", "shift", "=", "63", ";", "rtx", "v", ";", "rtx", "mask", ";", "switch", "(", "mode", ")", "{", "case", "V16SImode", ":", "case", "V16SFmode", ":", "case", "V8SImode", ":", "case", "V4SImode", ":", "case", "V8SFmode", ":", "case", "V4SFmode", ":", "vec_mode", "=", "mode", ";", "mode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "imode", "=", "SImode", ";", "lo", "=", "0x80000000", ",", "hi", "=", "lo", "<", "0", ";", "break", ";", "case", "V8DImode", ":", "case", "V4DImode", ":", "case", "V2DImode", ":", "case", "V8DFmode", ":", "case", "V4DFmode", ":", "case", "V2DFmode", ":", "vec_mode", "=", "mode", ";", "mode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "imode", "=", "DImode", ";", "if", "(", "HOST_BITS_PER_WIDE_INT", ">=", "64", ")", "lo", "=", "(", "HOST_WIDE_INT", ")", "1", "<<", "shift", ",", "hi", "=", "-", "1", ";", "else", "lo", "=", "0", ",", "hi", "=", "(", "HOST_WIDE_INT", ")", "1", "<<", "(", "shift", "-", "HOST_BITS_PER_WIDE_INT", ")", ";", "break", ";", "case", "TImode", ":", "case", "TFmode", ":", "vec_mode", "=", "VOIDmode", ";", "if", "(", "HOST_BITS_PER_WIDE_INT", ">=", "64", ")", "{", "imode", "=", "TImode", ";", "lo", "=", "0", ",", "hi", "=", "(", "HOST_WIDE_INT", ")", "1", "<<", "shift", ";", "}", "else", "{", "rtvec", "vec", ";", "imode", "=", "DImode", ";", "lo", "=", "0", ",", "hi", "=", "(", "HOST_WIDE_INT", ")", "1", "<<", "(", "shift", "-", "HOST_BITS_PER_WIDE_INT", ")", ";", "if", "(", "invert", ")", "{", "lo", "=", "~", "lo", ",", "hi", "=", "~", "hi", ";", "v", "=", "constm1_rtx", ";", "}", "else", "v", "=", "const0_rtx", ";", "mask", "=", "immed_double_const", "(", "lo", ",", "hi", ",", "imode", ")", ";", "vec", "=", "gen_rtvec", "(", "2", ",", "v", ",", "mask", ")", ";", "v", "=", "gen_rtx_CONST_VECTOR", "(", "V2DImode", ",", "vec", ")", ";", "v", "=", "copy_to_mode_reg", "(", "mode", ",", "gen_lowpart", "(", "mode", ",", "v", ")", ")", ";", "return", "v", ";", "}", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "invert", ")", "lo", "=", "~", "lo", ",", "hi", "=", "~", "hi", ";", "mask", "=", "immed_double_const", "(", "lo", ",", "hi", ",", "imode", ")", ";", "mask", "=", "gen_lowpart", "(", "mode", ",", "mask", ")", ";", "if", "(", "vec_mode", "==", "VOIDmode", ")", "return", "force_reg", "(", "mode", ",", "mask", ")", ";", "v", "=", "ix86_build_const_vector", "(", "vec_mode", ",", "vect", ",", "mask", ")", ";", "return", "force_reg", "(", "vec_mode", ",", "v", ")", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "ix86_expand_fp_absneg_operator", "and", "copysign", "expanders", ".", "Create", "a", "mask", "for", "the", "sign", "bit", "in", "MODE", "for", "an", "SSE", "register", ".", "If", "VECT", "is", "true", ",", "then", "replicate", "the", "mask", "for", "all", "elements", "of", "the", "vector", "register", ".", "If", "INVERT", "is", "true", ",", "then", "create", "a", "mask", "excluding", "the", "sign", "bit", "."], "TS_V_token": ["i386", "63", "0x80000000", "0", "64", "1", "1", "0", "1", "64", "0", "1", "0", "1", "2"], "File": "i3864", "Func": "ix86_build_signbit_mask", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 571, "Length": 369, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PIC16AsmPrinter", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "bool", "Result", "=", "AsmPrinter", "::", "doInitialization", "(", "M", ")", ";", "DbgInfo", ".", "EmitFileDirective", "(", "M", ")", ";", "O", "<<", "\"\\n\\t#include P16F1937.INC\\n\"", ";", "MachineModuleInfo", "*", "MMI", "=", "getAnalysisIfAvailable", "<", "MachineModuleInfo", ">", "(", ")", ";", "assert", "(", "MMI", ")", ";", "DwarfWriter", "*", "DW", "=", "getAnalysisIfAvailable", "<", "DwarfWriter", ">", "(", ")", ";", "assert", "(", "DW", "&&", "\"Dwarf Writer is not available\"", ")", ";", "DW", "->", "BeginModule", "(", "&", "M", ",", "MMI", ",", "O", ",", "this", ",", "TAI", ")", ";", "for", "(", "Module", "::", "global_iterator", "I", "=", "M", ".", "global_begin", "(", ")", ",", "E", "=", "M", ".", "global_end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "I", "->", "setSection", "(", "TAI", "->", "SectionForGlobal", "(", "I", ")", "->", "getName", "(", ")", ")", ";", "}", "EmitFunctionDecls", "(", "M", ")", ";", "EmitUndefinedVars", "(", "M", ")", ";", "EmitDefinedVars", "(", "M", ")", ";", "EmitIData", "(", "M", ")", ";", "EmitUData", "(", "M", ")", ";", "EmitRomData", "(", "M", ")", ";", "DbgInfo", ".", "PopulateFunctsDI", "(", "M", ")", ";", "return", "Result", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["PIC16", "PIC16", "\"\\n\\t#include P16F1937.INC\\n\"", "\"Dwarf Writer is not available\""], "File": "PIC16AsmPrinter2", "Func": "doInitialization", "Target": "PIC16", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 572, "Length": 168, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "AAResultsWrapperPass", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["ARM"], "File": "ARMLoadStoreOptimizer10", "Func": "getAnalysisUsage", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 573, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "NVPTXPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "return", "false", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["NVPTX", "NVPTX"], "File": "NVPTXTargetMachine1", "Func": "addPreRegAlloc", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 574, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "AnalyzeArguments", "(", "CCState", "&", "State", ",", "SmallVectorImpl", "<", "CCValAssign", ">", "&", "ArgLocs", ",", "const", "SmallVectorImpl", "<", "ArgT", ">", "&", "Args", ")", "{", "static", "const", "uint16_t", "RegList", "[", "]", "=", "{", "MSP430", "::", "R15W", ",", "MSP430", "::", "R14W", ",", "MSP430", "::", "R13W", ",", "MSP430", "::", "R12W", "}", ";", "static", "const", "unsigned", "NbRegs", "=", "array_lengthof", "(", "RegList", ")", ";", "if", "(", "State", ".", "isVarArg", "(", ")", ")", "{", "AnalyzeVarArgs", "(", "State", ",", "Args", ")", ";", "return", ";", "}", "SmallVector", "<", "unsigned", ",", "4", ">", "ArgsParts", ";", "ParseFunctionArgs", "(", "Args", ",", "ArgsParts", ")", ";", "unsigned", "RegsLeft", "=", "NbRegs", ";", "bool", "UseStack", "=", "false", ";", "unsigned", "ValNo", "=", "0", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "ArgsParts", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "i", "++", ")", "{", "MVT", "ArgVT", "=", "Args", "[", "ValNo", "]", ".", "VT", ";", "ISD", "::", "ArgFlagsTy", "ArgFlags", "=", "Args", "[", "ValNo", "]", ".", "Flags", ";", "MVT", "LocVT", "=", "ArgVT", ";", "CCValAssign", "::", "LocInfo", "LocInfo", "=", "CCValAssign", "::", "Full", ";", "if", "(", "LocVT", "==", "MVT", "::", "i8", ")", "{", "LocVT", "=", "MVT", "::", "i16", ";", "if", "(", "ArgFlags", ".", "isSExt", "(", ")", ")", "LocInfo", "=", "CCValAssign", "::", "SExt", ";", "else", "if", "(", "ArgFlags", ".", "isZExt", "(", ")", ")", "LocInfo", "=", "CCValAssign", "::", "ZExt", ";", "else", "LocInfo", "=", "CCValAssign", "::", "AExt", ";", "}", "if", "(", "ArgFlags", ".", "isByVal", "(", ")", ")", "{", "State", ".", "HandleByVal", "(", "ValNo", "++", ",", "ArgVT", ",", "LocVT", ",", "LocInfo", ",", "2", ",", "2", ",", "ArgFlags", ")", ";", "continue", ";", "}", "unsigned", "Parts", "=", "ArgsParts", "[", "i", "]", ";", "if", "(", "!", "UseStack", "&&", "Parts", "<=", "RegsLeft", ")", "{", "unsigned", "FirstVal", "=", "ValNo", ";", "for", "(", "unsigned", "j", "=", "0", ";", "j", "<", "Parts", ";", "j", "++", ")", "{", "unsigned", "Reg", "=", "State", ".", "AllocateReg", "(", "RegList", ",", "NbRegs", ")", ";", "State", ".", "addLoc", "(", "CCValAssign", "::", "getReg", "(", "ValNo", "++", ",", "ArgVT", ",", "Reg", ",", "LocVT", ",", "LocInfo", ")", ")", ";", "RegsLeft", "--", ";", "}", "SmallVectorImpl", "<", "CCValAssign", ">", "::", "iterator", "B", "=", "ArgLocs", ".", "begin", "(", ")", "+", "FirstVal", ";", "std", "::", "reverse", "(", "B", ",", "B", "+", "Parts", ")", ";", "}", "else", "{", "UseStack", "=", "true", ";", "for", "(", "unsigned", "j", "=", "0", ";", "j", "<", "Parts", ";", "j", "++", ")", "CC_MSP430_AssignStack", "(", "ValNo", "++", ",", "ArgVT", ",", "LocVT", ",", "LocInfo", ",", "ArgFlags", ",", "State", ")", ";", "}", "}", "}", ""], "natrual_language": ["The", "function", "will", "invoke", "AnalyzeCallOperands", "."], "TS_V_token": ["MSP430", "MSP430::R15W", "MSP430::R14W", "MSP430::R13W", "MSP430::R12W", "4", "0", "0", "ISD::ArgFlagsTy", "MVT::i8", "MVT::i16", "2", "2", "0", "0", "MSP430"], "File": "MSP430ISelLowering71", "Func": "AnalyzeArguments", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 575, "Length": 393, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86Subtarget", "::", "X86Subtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "unsigned", "StackAlignOverride", ",", "bool", "is64Bit", ")", ":", "X86GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "X86ProcFamily", "(", "Others", ")", ",", "PICStyle", "(", "PICStyles", "::", "None", ")", ",", "X86SSELevel", "(", "NoMMXSSE", ")", ",", "X863DNowLevel", "(", "NoThreeDNow", ")", ",", "HasCMov", "(", "false", ")", ",", "HasX86_64", "(", "false", ")", ",", "HasPOPCNT", "(", "false", ")", ",", "HasSSE4A", "(", "false", ")", ",", "HasAES", "(", "false", ")", ",", "HasPCLMUL", "(", "false", ")", ",", "HasFMA", "(", "false", ")", ",", "HasFMA4", "(", "false", ")", ",", "HasXOP", "(", "false", ")", ",", "HasMOVBE", "(", "false", ")", ",", "HasRDRAND", "(", "false", ")", ",", "HasF16C", "(", "false", ")", ",", "HasFSGSBase", "(", "false", ")", ",", "HasLZCNT", "(", "false", ")", ",", "HasBMI", "(", "false", ")", ",", "HasBMI2", "(", "false", ")", ",", "HasRTM", "(", "false", ")", ",", "IsBTMemSlow", "(", "false", ")", ",", "IsUAMemFast", "(", "false", ")", ",", "HasVectorUAMem", "(", "false", ")", ",", "HasCmpxchg16b", "(", "false", ")", ",", "UseLeaForSP", "(", "false", ")", ",", "HasSlowDivide", "(", "false", ")", ",", "PostRAScheduler", "(", "false", ")", ",", "PadShortFunctions", "(", "false", ")", ",", "stackAlignment", "(", "4", ")", ",", "MaxInlineSizeThreshold", "(", "128", ")", ",", "TargetTriple", "(", "TT", ")", ",", "In64BitMode", "(", "is64Bit", ")", "{", "std", "::", "string", "CPUName", "=", "CPU", ";", "if", "(", "!", "FS", ".", "empty", "(", ")", "||", "!", "CPU", ".", "empty", "(", ")", ")", "{", "if", "(", "CPUName", ".", "empty", "(", ")", ")", "{", "||", "defined", "(", "__x86_64__", ")", "||", "defined", "(", "_M_AMD64", ")", "||", "defined", "(", "_M_X64", ")", "CPUName", "=", "sys", "::", "getHostCPUName", "(", ")", ";", "CPUName", "=", "\"generic\"", ";", "}", "std", "::", "string", "FullFS", "=", "FS", ";", "if", "(", "In64BitMode", ")", "{", "if", "(", "!", "FullFS", ".", "empty", "(", ")", ")", "FullFS", "=", "\"+64bit,+sse2,\"", "+", "FullFS", ";", "else", "FullFS", "=", "\"+64bit,+sse2\"", ";", "}", "ParseSubtargetFeatures", "(", "CPUName", ",", "FullFS", ")", ";", "}", "else", "{", "if", "(", "CPUName", ".", "empty", "(", ")", ")", "{", "CPUName", "=", "sys", "::", "getHostCPUName", "(", ")", ";", "CPUName", "=", "\"generic\"", ";", "}", "AutoDetectSubtargetFeatures", "(", ")", ";", "if", "(", "In64BitMode", ")", "{", "HasX86_64", "=", "true", ";", "ToggleFeature", "(", "X86", "::", "Feature64Bit", ")", ";", "HasCMov", "=", "true", ";", "ToggleFeature", "(", "X86", "::", "FeatureCMOV", ")", ";", "if", "(", "X86SSELevel", "<", "SSE2", ")", "{", "X86SSELevel", "=", "SSE2", ";", "ToggleFeature", "(", "X86", "::", "FeatureSSE1", ")", ";", "ToggleFeature", "(", "X86", "::", "FeatureSSE2", ")", ";", "}", "}", "}", "InitMCProcessorInfo", "(", "CPUName", ",", "FS", ")", ";", "if", "(", "X86ProcFamily", "==", "IntelAtom", ")", "PostRAScheduler", "=", "true", ";", "InstrItins", "=", "getInstrItineraryForCPU", "(", "CPUName", ")", ";", "if", "(", "In64BitMode", ")", "ToggleFeature", "(", "X86", "::", "Mode64Bit", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Subtarget features: SSELevel \"", "<<", "X86SSELevel", "<<", "\", 3DNowLevel \"", "<<", "X863DNowLevel", "<<", "\", 64bit \"", "<<", "HasX86_64", "<<", "\"\\n\"", ")", ";", "assert", "(", "(", "!", "In64BitMode", "||", "HasX86_64", ")", "&&", "\"64-bit code requested on a subtarget that doesn't support it!\"", ")", ";", "if", "(", "StackAlignOverride", ")", "stackAlignment", "=", "StackAlignOverride", ";", "else", "if", "(", "isTargetDarwin", "(", ")", "||", "isTargetLinux", "(", ")", "||", "isTargetSolaris", "(", ")", "||", "In64BitMode", ")", "stackAlignment", "=", "16", ";", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "4", "128", "\"generic\"", "\"+64bit,+sse2,\"", "\"+64bit,+sse2\"", "\"generic\"", "X86", "X86::Feature64Bit", "X86::FeatureCMOV", "X86", "X86", "X86::FeatureSSE1", "X86::FeatureSSE2", "X86", "X86::Mode64Bit", "\"Subtarget features: SSELevel \"", "X86", "\", 3DNowLevel \"", "X86", "\", 64bit \"", "X86", "\"\\n\"", "X86", "\"64-bit code requested on a subtarget that doesn't support it!\"", "16"], "File": "X86Subtarget40", "Func": "X86Subtarget", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 576, "Length": 491, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetELFStreamer", "::", "emitLabel", "(", "MCSymbol", "*", "Symbol", ")", "{", "ARMELFStreamer", "&", "Streamer", "=", "getStreamer", "(", ")", ";", "if", "(", "!", "Streamer", ".", "IsThumb", ")", "return", ";", "const", "MCSymbolData", "&", "SD", "=", "Streamer", ".", "getOrCreateSymbolData", "(", "Symbol", ")", ";", "if", "(", "MCELF", "::", "GetType", "(", "SD", ")", "&", "(", "ELF", "::", "STT_FUNC", "<<", "ELF_STT_Shift", ")", ")", "Streamer", ".", "EmitThumbFunc", "(", "Symbol", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "label", "for", "Symbol", "into", "the", "current", "section", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMELFStreamer30", "Func": "emitLabel", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 577, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "CSKYTargetStreamer", "::", "SymbolIndex", "getEmptyKey", "(", ")", "{", "return", "{", "nullptr", ",", "CSKYMCExpr", "::", "VK_CSKY_Invalid", "}", ";", "}", ""], "natrual_language": ["Empty", "key", ":", "no", "key", "should", "be", "generated", "that", "has", "no", "DILocalVariable", "."], "TS_V_token": ["CSKY", "CSKY", "CSKY", "CSKY"], "File": "CSKYTargetStreamer", "Func": "getEmptyKey", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 578, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86ATTAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "{", "if", "(", "ExtraCode", "[", "1", "]", "!=", "0", ")", "return", "true", ";", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ";", "switch", "(", "ExtraCode", "[", "0", "]", ")", "{", "default", ":", "return", "true", ";", "case", "'a'", ":", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "O", "<<", "MO", ".", "getImm", "(", ")", ";", "return", "false", ";", "}", "if", "(", "MO", ".", "isReg", "(", ")", ")", "{", "O", "<<", "'('", ";", "printOperand", "(", "MI", ",", "OpNo", ")", ";", "O", "<<", "')'", ";", "return", "false", ";", "}", "return", "true", ";", "case", "'c'", ":", "if", "(", "MO", ".", "isImm", "(", ")", ")", "O", "<<", "MO", ".", "getImm", "(", ")", ";", "else", "if", "(", "MO", ".", "isGlobal", "(", ")", "||", "MO", ".", "isCPI", "(", ")", "||", "MO", ".", "isJTI", "(", ")", "||", "MO", ".", "isSymbol", "(", ")", ")", "printSymbolOperand", "(", "MO", ")", ";", "else", "printOperand", "(", "MI", ",", "OpNo", ")", ";", "return", "false", ";", "case", "'A'", ":", "if", "(", "MO", ".", "isReg", "(", ")", ")", "{", "O", "<<", "'*'", ";", "printOperand", "(", "MI", ",", "OpNo", ")", ";", "return", "false", ";", "}", "return", "true", ";", "case", "'b'", ":", "case", "'h'", ":", "case", "'w'", ":", "case", "'k'", ":", "case", "'q'", ":", "if", "(", "MO", ".", "isReg", "(", ")", ")", "return", "printAsmMRegister", "(", "MO", ",", "ExtraCode", "[", "0", "]", ")", ";", "printOperand", "(", "MI", ",", "OpNo", ")", ";", "return", "false", ";", "case", "'P'", ":", "print_pcrel_imm", "(", "MI", ",", "OpNo", ")", ";", "return", "false", ";", "case", "'n'", ":", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "O", "<<", "-", "MO", ".", "getImm", "(", ")", ";", "return", "false", ";", "}", "O", "<<", "'-'", ";", "}", "}", "printOperand", "(", "MI", ",", "OpNo", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["X86", "X86", "0", "1", "0", "0", "0"], "File": "X86ATTAsmPrinter2", "Func": "PrintAsmOperand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 579, "Length": 315, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86FrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "X86MachineFunctionInfo", "*", "X86FI", "=", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "int64_t", "TailCallReturnAddrDelta", "=", "X86FI", "->", "getTCReturnAddrDelta", "(", ")", ";", "if", "(", "TailCallReturnAddrDelta", "<", "0", ")", "{", "MFI", "->", "CreateFixedObject", "(", "-", "TailCallReturnAddrDelta", ",", "TailCallReturnAddrDelta", "-", "SlotSize", ",", "true", ")", ";", "}", "if", "(", "TRI", "->", "hasBasePointer", "(", "MF", ")", ")", "SavedRegs", ".", "set", "(", "TRI", "->", "getBaseRegister", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "determines", "which", "of", "the", "registers", "reported", "by", "TargetRegisterInfo", ":", ":getCalleeSavedRegs", "(", ")", "should", "actually", "get", "saved", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86", "0"], "File": "X86FrameLowering103", "Func": "determineCalleeSaves", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 580, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonRDFOpt", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "*", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "if", "(", "RDFLimit", ".", "getPosition", "(", ")", ")", "{", "if", "(", "RDFCount", ">=", "RDFLimit", ")", "return", "false", ";", "RDFCount", "++", ";", "}", "MDT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "const", "auto", "&", "MDF", "=", "getAnalysis", "<", "MachineDominanceFrontier", ">", "(", ")", ";", "const", "auto", "&", "HII", "=", "*", "MF", ".", "getSubtarget", "<", "HexagonSubtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "const", "auto", "&", "HRI", "=", "*", "MF", ".", "getSubtarget", "<", "HexagonSubtarget", ">", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "bool", "Changed", ";", "if", "(", "RDFDump", ")", "MF", ".", "print", "(", "dbgs", "(", ")", "<<", "\"Before \"", "<<", "getPassName", "(", ")", "<<", "\"\\n\"", ",", "nullptr", ")", ";", "TargetOperandInfo", "TOI", "(", "HII", ")", ";", "DataFlowGraph", "G", "(", "MF", ",", "HII", ",", "HRI", ",", "*", "MDT", ",", "MDF", ",", "TOI", ")", ";", "G", ".", "build", "(", "BuildOptions", "::", "KeepDeadPhis", ")", ";", "if", "(", "RDFDump", ")", "dbgs", "(", ")", "<<", "\"Starting copy propagation on: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", "<<", "PrintNode", "<", "FuncNode", "*", ">", "(", "G", ".", "getFunc", "(", ")", ",", "G", ")", "<<", "'\\n'", ";", "HexagonCP", "CP", "(", "G", ")", ";", "CP", ".", "trace", "(", "RDFDump", ")", ";", "Changed", "=", "CP", ".", "run", "(", ")", ";", "if", "(", "RDFDump", ")", "dbgs", "(", ")", "<<", "\"Starting dead code elimination on: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", "<<", "PrintNode", "<", "FuncNode", "*", ">", "(", "G", ".", "getFunc", "(", ")", ",", "G", ")", "<<", "'\\n'", ";", "HexagonDCE", "DCE", "(", "G", ",", "*", "MRI", ")", ";", "DCE", ".", "trace", "(", "RDFDump", ")", ";", "Changed", "|=", "DCE", ".", "run", "(", ")", ";", "if", "(", "Changed", ")", "{", "if", "(", "RDFDump", ")", "dbgs", "(", ")", "<<", "\"Starting liveness recomputation on: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ";", "Liveness", "LV", "(", "*", "MRI", ",", "G", ")", ";", "LV", ".", "trace", "(", "RDFDump", ")", ";", "LV", ".", "computeLiveIns", "(", ")", ";", "LV", ".", "resetLiveIns", "(", ")", ";", "LV", ".", "resetKills", "(", ")", ";", "}", "if", "(", "RDFDump", ")", "MF", ".", "print", "(", "dbgs", "(", ")", "<<", "\"After \"", "<<", "getPassName", "(", ")", "<<", "\"\\n\"", ",", "nullptr", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "Hexagon", "\"Before \"", "\"\\n\"", "\"Starting copy propagation on: \"", "Hexagon", "\"Starting dead code elimination on: \"", "Hexagon", "\"Starting liveness recomputation on: \"", "\"After \"", "\"\\n\""], "File": "HexagonRDFOpt10", "Func": "runOnMachineFunction", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 581, "Length": 374, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "MFI", "=", "MF", ".", "getInfo", "<", "WebAssemblyFunctionInfo", ">", "(", ")", ";", "return", "AsmPrinter", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["WebAssembly", "WebAssembly"], "File": "WebAssemblyAsmPrinter (2)", "Func": "runOnMachineFunction", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 582, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCDarwinAsmPrinter", "::", "doFinalization", "(", "Module", "&", "M", ")", "{", "bool", "isPPC64", "=", "getDataLayout", "(", ")", ".", "getPointerSizeInBits", "(", ")", "==", "64", ";", "const", "TargetLoweringObjectFileMachO", "&", "TLOFMacho", "=", "static_cast", "<", "const", "TargetLoweringObjectFileMachO", "&", ">", "(", "getObjFileLowering", "(", ")", ")", ";", "MachineModuleInfoMachO", "&", "MMIMacho", "=", "MMI", "->", "getObjFileInfo", "<", "MachineModuleInfoMachO", ">", "(", ")", ";", "MachineModuleInfoMachO", "::", "SymbolListTy", "Stubs", "=", "MMIMacho", ".", "GetFnStubList", "(", ")", ";", "if", "(", "!", "Stubs", ".", "empty", "(", ")", ")", "EmitFunctionStubs", "(", "Stubs", ")", ";", "if", "(", "MAI", "->", "doesSupportExceptionHandling", "(", ")", "&&", "MMI", ")", "{", "for", "(", "const", "Function", "*", "Personality", ":", "MMI", "->", "getPersonalities", "(", ")", ")", "{", "if", "(", "Personality", ")", "{", "MCSymbol", "*", "NLPSym", "=", "getSymbolWithGlobalValueBase", "(", "Personality", ",", "\"$non_lazy_ptr\"", ")", ";", "MachineModuleInfoImpl", "::", "StubValueTy", "&", "StubSym", "=", "MMIMacho", ".", "getGVStubEntry", "(", "NLPSym", ")", ";", "StubSym", "=", "MachineModuleInfoImpl", "::", "StubValueTy", "(", "getSymbol", "(", "Personality", ")", ",", "true", ")", ";", "}", "}", "}", "Stubs", "=", "MMIMacho", ".", "GetGVStubList", "(", ")", ";", "if", "(", "!", "Stubs", ".", "empty", "(", ")", ")", "{", "OutStreamer", "->", "SwitchSection", "(", "TLOFMacho", ".", "getNonLazySymbolPointerSection", "(", ")", ")", ";", "EmitAlignment", "(", "isPPC64", "?", "3", ":", "2", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "Stubs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "OutStreamer", "->", "EmitLabel", "(", "Stubs", "[", "i", "]", ".", "first", ")", ";", "MachineModuleInfoImpl", "::", "StubValueTy", "&", "MCSym", "=", "Stubs", "[", "i", "]", ".", "second", ";", "OutStreamer", "->", "EmitSymbolAttribute", "(", "MCSym", ".", "getPointer", "(", ")", ",", "MCSA_IndirectSymbol", ")", ";", "if", "(", "MCSym", ".", "getInt", "(", ")", ")", "OutStreamer", "->", "EmitIntValue", "(", "0", ",", "isPPC64", "?", "8", ":", "4", ")", ";", "else", "OutStreamer", "->", "EmitValue", "(", "MCSymbolRefExpr", "::", "create", "(", "MCSym", ".", "getPointer", "(", ")", ",", "OutContext", ")", ",", "isPPC64", "?", "8", ":", "4", ")", ";", "}", "Stubs", ".", "clear", "(", ")", ";", "OutStreamer", "->", "AddBlankLine", "(", ")", ";", "}", "Stubs", "=", "MMIMacho", ".", "GetHiddenGVStubList", "(", ")", ";", "if", "(", "!", "Stubs", ".", "empty", "(", ")", ")", "{", "OutStreamer", "->", "SwitchSection", "(", "getObjFileLowering", "(", ")", ".", "getDataSection", "(", ")", ")", ";", "EmitAlignment", "(", "isPPC64", "?", "3", ":", "2", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "Stubs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "OutStreamer", "->", "EmitLabel", "(", "Stubs", "[", "i", "]", ".", "first", ")", ";", "OutStreamer", "->", "EmitValue", "(", "MCSymbolRefExpr", "::", "create", "(", "Stubs", "[", "i", "]", ".", "second", ".", "getPointer", "(", ")", ",", "OutContext", ")", ",", "isPPC64", "?", "8", ":", "4", ")", ";", "}", "Stubs", ".", "clear", "(", ")", ";", "OutStreamer", "->", "AddBlankLine", "(", ")", ";", "}", "OutStreamer", "->", "EmitAssemblerFlag", "(", "MCAF_SubsectionsViaSymbols", ")", ";", "return", "AsmPrinter", "::", "doFinalization", "(", "M", ")", ";", "}", ""], "natrual_language": ["doFinalization", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "any", "necessary", "clean", "up", "after", "all", "passes", "have", "run", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "64", "\"$non_lazy_ptr\"", "PPC", "3", "2", "0", "0", "PPC", "8", "4", "PPC", "8", "4", "PPC", "3", "2", "0", "PPC", "8", "4"], "File": "PPCAsmPrinter (2)5", "Func": "doFinalization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 583, "Length": 442, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMSubtarget", "::", "enablePostRAScheduler", "(", "CodeGenOpt", "::", "Level", "OptLevel", ",", "TargetSubtargetInfo", "::", "AntiDepBreakMode", "&", "Mode", ",", "RegClassVector", "&", "CriticalPathRCs", ")", "const", "{", "Mode", "=", "TargetSubtargetInfo", "::", "ANTIDEP_NONE", ";", "return", "PostRAScheduler", "&&", "OptLevel", ">=", "CodeGenOpt", "::", "Default", ";", "}", ""], "natrual_language": ["True", "if", "the", "subtarget", "should", "run", "a", "scheduler", "after", "register", "allocation", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMSubtarget (2)", "Func": "enablePostRAScheduler", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 584, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonSplitConst32AndConst64", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "auto", "&", "HST", "=", "Fn", ".", "getSubtarget", "<", "HexagonSubtarget", ">", "(", ")", ";", "auto", "&", "HTM", "=", "static_cast", "<", "const", "HexagonTargetMachine", "&", ">", "(", "Fn", ".", "getTarget", "(", ")", ")", ";", "auto", "&", "TLOF", "=", "*", "HTM", ".", "getObjFileLowering", "(", ")", ";", "if", "(", "HST", ".", "useSmallData", "(", ")", "&&", "TLOF", ".", "isSmallDataEnabled", "(", "HTM", ")", ")", "return", "false", ";", "const", "TargetInstrInfo", "*", "TII", "=", "HST", ".", "getInstrInfo", "(", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "HST", ".", "getRegisterInfo", "(", ")", ";", "for", "(", "MachineBasicBlock", "&", "B", ":", "Fn", ")", "{", "for", "(", "auto", "I", "=", "B", ".", "begin", "(", ")", ",", "E", "=", "B", ".", "end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "MachineInstr", "&", "MI", "=", "*", "I", ";", "++", "I", ";", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "Opc", "==", "Hexagon", "::", "CONST32", ")", "{", "Register", "DestReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "uint64_t", "ImmValue", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "const", "DebugLoc", "&", "DL", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "BuildMI", "(", "B", ",", "MI", ",", "DL", ",", "TII", "->", "get", "(", "Hexagon", "::", "A2_tfrsi", ")", ",", "DestReg", ")", ".", "addImm", "(", "ImmValue", ")", ";", "B", ".", "erase", "(", "&", "MI", ")", ";", "}", "else", "if", "(", "Opc", "==", "Hexagon", "::", "CONST64", ")", "{", "Register", "DestReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "int64_t", "ImmValue", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "const", "DebugLoc", "&", "DL", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "Register", "DestLo", "=", "TRI", "->", "getSubReg", "(", "DestReg", ",", "Hexagon", "::", "isub_lo", ")", ";", "Register", "DestHi", "=", "TRI", "->", "getSubReg", "(", "DestReg", ",", "Hexagon", "::", "isub_hi", ")", ";", "int32_t", "LowWord", "=", "(", "ImmValue", "&", "0xFFFFFFFF", ")", ";", "int32_t", "HighWord", "=", "(", "ImmValue", ">>", "32", ")", "&", "0xFFFFFFFF", ";", "BuildMI", "(", "B", ",", "MI", ",", "DL", ",", "TII", "->", "get", "(", "Hexagon", "::", "A2_tfrsi", ")", ",", "DestLo", ")", ".", "addImm", "(", "LowWord", ")", ";", "BuildMI", "(", "B", ",", "MI", ",", "DL", ",", "TII", "->", "get", "(", "Hexagon", "::", "A2_tfrsi", ")", ",", "DestHi", ")", ".", "addImm", "(", "HighWord", ")", ";", "B", ".", "erase", "(", "&", "MI", ")", ";", "}", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon::CONST32", "0", "1", "Hexagon::A2_tfrsi", "Hexagon::CONST64", "0", "1", "Hexagon::isub_lo", "Hexagon::isub_hi", "0xFFFFFFFF", "32", "0xFFFFFFFF", "Hexagon::A2_tfrsi", "Hexagon::A2_tfrsi"], "File": "HexagonSplitConst32AndConst6419", "Func": "runOnMachineFunction", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 585, "Length": 389, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_valid_target_attribute_p", "(", "tree", "fndecl", ",", "tree", "ARG_UNUSED", "(", "name", ")", ",", "tree", "args", ",", "int", "flags", ")", "{", "struct", "gcc_options", "func_options", ",", "func_options_set", ";", "tree", "new_target", ",", "new_optimize", ";", "bool", "ret", "=", "true", ";", "if", "(", "TREE_VALUE", "(", "args", ")", "&&", "TREE_CODE", "(", "TREE_VALUE", "(", "args", ")", ")", "==", "STRING_CST", "&&", "TREE_CHAIN", "(", "args", ")", "==", "NULL_TREE", "&&", "strcmp", "(", "TREE_STRING_POINTER", "(", "TREE_VALUE", "(", "args", ")", ")", ",", "\"default\"", ")", "==", "0", ")", "return", "true", ";", "tree", "old_optimize", "=", "build_optimization_node", "(", "&", "global_options", ",", "&", "global_options_set", ")", ";", "tree", "func_optimize", "=", "DECL_FUNCTION_SPECIFIC_OPTIMIZATION", "(", "fndecl", ")", ";", "if", "(", "!", "func_optimize", ")", "func_optimize", "=", "old_optimize", ";", "memset", "(", "&", "func_options", ",", "0", ",", "sizeof", "(", "func_options", ")", ")", ";", "init_options_struct", "(", "&", "func_options", ",", "NULL", ")", ";", "lang_hooks", ".", "init_options_struct", "(", "&", "func_options", ")", ";", "memset", "(", "&", "func_options_set", ",", "0", ",", "sizeof", "(", "func_options_set", ")", ")", ";", "cl_optimization_restore", "(", "&", "func_options", ",", "&", "func_options_set", ",", "TREE_OPTIMIZATION", "(", "func_optimize", ")", ")", ";", "cl_target_option_restore", "(", "&", "func_options", ",", "&", "func_options_set", ",", "TREE_TARGET_OPTION", "(", "target_option_default_node", ")", ")", ";", "new_target", "=", "ix86_valid_target_attribute_tree", "(", "fndecl", ",", "args", ",", "&", "func_options", ",", "&", "func_options_set", ",", "flags", "==", "1", ")", ";", "new_optimize", "=", "build_optimization_node", "(", "&", "func_options", ",", "&", "func_options_set", ")", ";", "if", "(", "new_target", "==", "error_mark_node", ")", "ret", "=", "false", ";", "else", "if", "(", "fndecl", "&&", "new_target", ")", "{", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "fndecl", ")", "=", "new_target", ";", "if", "(", "old_optimize", "!=", "new_optimize", ")", "DECL_FUNCTION_SPECIFIC_OPTIMIZATION", "(", "fndecl", ")", "=", "new_optimize", ";", "}", "return", "ret", ";", "}", ""], "natrual_language": ["Hook", "to", "validate", "attribute", "(", "(", "target", "(", "``", "string", "''", ")", ")", ")", "."], "TS_V_token": ["i386", "\"default\"", "0", "0", "0", "1"], "File": "i386-options1", "Func": "ix86_valid_target_attribute_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 586, "Length": 249, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getPointerSize", "(", ")", "const", "{", "return", "4", ";", "}", ""], "natrual_language": ["Layout", "pointer", "size", "in", "bytes", ",", "rounded", "up", "to", "a", "whole", "number", "of", "bytes", "."], "TS_V_token": ["LEG", "4"], "File": "LEGAsmBackend", "Func": "getPointerSize", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 587, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyTargetLowering", "::", "isVectorLoadExtDesirable", "(", "SDValue", "ExtVal", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "hasUnimplementedSIMD128", "(", ")", ")", "return", "false", ";", "MVT", "ExtT", "=", "ExtVal", ".", "getSimpleValueType", "(", ")", ";", "MVT", "MemT", "=", "cast", "<", "LoadSDNode", ">", "(", "ExtVal", "->", "getOperand", "(", "0", ")", ")", "->", "getSimpleValueType", "(", "0", ")", ";", "return", "(", "ExtT", "==", "MVT", "::", "v8i16", "&&", "MemT", "==", "MVT", "::", "v8i8", ")", "||", "(", "ExtT", "==", "MVT", "::", "v4i32", "&&", "MemT", "==", "MVT", "::", "v4i16", ")", "||", "(", "ExtT", "==", "MVT", "::", "v2i64", "&&", "MemT", "==", "MVT", "::", "v2i32", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "folding", "a", "vector", "load", "into", "ExtVal", "(", "a", "sign", ",", "zero", ",", "or", "any", "extend", "node", ")", "is", "profitable", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "0", "0", "MVT::v8i16", "MVT::v8i8", "MVT::v4i32", "MVT::v4i16", "MVT::v2i64", "MVT::v2i32"], "File": "WebAssemblyISelLowering (2)2", "Func": "isVectorLoadExtDesirable", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 588, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "has_vl_op", "(", "rtx_insn", "*", "rinsn", ")", "{", "return", "recog_memoized", "(", "rinsn", ")", ">=", "0", "&&", "get_attr_has_vl_op", "(", "rinsn", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "an", "RVV", "instruction", "depends", "on", "VL", "global", "status", "register", "."], "TS_V_token": ["riscv", "0"], "File": "riscv-vsetvl", "Func": "has_vl_op", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 589, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Patmos Single-Path Info\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Patmos", "\"Patmos Single-Path Info\""], "File": "PatmosSinglePathInfo1", "Func": "getPassName", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 590, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mayNeedRelaxation", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["Check", "whether", "the", "given", "instruction", "may", "need", "relaxation", "."], "TS_V_token": ["VE"], "File": "VEAsmBackend", "Func": "mayNeedRelaxation", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 591, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "DEBUG", "(", "MF", ".", "dump", "(", ")", ";", ")", ";", "OrderedBlks", ".", "clear", "(", ")", ";", "FuncRep", "=", "&", "MF", ";", "MLI", "=", "&", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"LoopInfo:\\n\"", ";", "PrintLoopinfo", "(", "*", "MLI", ")", ";", ")", ";", "MDT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "DEBUG", "(", "MDT", "->", "print", "(", "dbgs", "(", ")", ",", "(", "const", "llvm", "::", "Module", "*", ")", "0", ")", ";", ")", ";", "PDT", "=", "&", "getAnalysis", "<", "MachinePostDominatorTree", ">", "(", ")", ";", "DEBUG", "(", "PDT", "->", "print", "(", "dbgs", "(", ")", ")", ";", ")", ";", "prepare", "(", ")", ";", "run", "(", ")", ";", "DEBUG", "(", "MF", ".", "dump", "(", ")", ";", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["R600", "\"LoopInfo:\\n\"", "0"], "File": "AMDILCFGStructurizer33", "Func": "runOnMachineFunction", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 592, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "BPFAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "return", "AsmPrinter", "::", "PrintAsmOperand", "(", "MI", ",", "OpNo", ",", "ExtraCode", ",", "O", ")", ";", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["BPF", "BPF", "0"], "File": "BPFAsmPrinter12", "Func": "PrintAsmOperand", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 593, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsSEInstrInfo", "::", "getOppositeBranchOpc", "(", "unsigned", "Opc", ")", "const", "{", "switch", "(", "Opc", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Illegal opcode!\"", ")", ";", "case", "Mips", "::", "BEQ", ":", "return", "Mips", "::", "BNE", ";", "case", "Mips", "::", "BNE", ":", "return", "Mips", "::", "BEQ", ";", "case", "Mips", "::", "BGTZ", ":", "return", "Mips", "::", "BLEZ", ";", "case", "Mips", "::", "BGEZ", ":", "return", "Mips", "::", "BLTZ", ";", "case", "Mips", "::", "BLTZ", ":", "return", "Mips", "::", "BGEZ", ";", "case", "Mips", "::", "BLEZ", ":", "return", "Mips", "::", "BGTZ", ";", "case", "Mips", "::", "BC1T", ":", "return", "Mips", "::", "BC1F", ";", "case", "Mips", "::", "BC1F", ":", "return", "Mips", "::", "BC1T", ";", "}", "}", ""], "natrual_language": ["getOppositeBranchOpc", "-", "Return", "the", "inverse", "of", "the", "specified", "opcode", ",", "e.g", "."], "TS_V_token": ["Mips", "Mips", "\"Illegal opcode!\"", "Mips::BEQ", "Mips::BNE", "Mips::BNE", "Mips::BEQ", "Mips::BGTZ", "Mips::BLEZ", "Mips::BGEZ", "Mips::BLTZ", "Mips::BLTZ", "Mips::BGEZ", "Mips::BLEZ", "Mips::BGTZ", "Mips::BC1T", "Mips::BC1F", "Mips::BC1F", "Mips::BC1T"], "File": "MipsSEInstrInfo25", "Func": "getOppositeBranchOpc", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 594, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_max_const_double_inline_cost", "(", ")", "{", "return", "(", "(", "optimize_size", "||", "arm_ld_sched", ")", "?", "3", ":", "4", ")", ";", "}", ""], "natrual_language": ["Return", "maximum", "allowed", "cost", "of", "synthesizing", "a", "64-bit", "constant", "VAL", "inline", ".", "Returns", "the", "number", "of", "insns", "needed", ",", "or", "99", "if", "we", "always", "want", "to", "synthesize", "the", "value", "."], "TS_V_token": ["arm", "3", "4"], "File": "arm", "Func": "arm_max_const_double_inline_cost", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 595, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "contains", "(", "MachineInstr", "*", "MI", ")", "{", "return", "liveInstrs", ".", "count", "(", "MI", ")", ";", "}", ""], "natrual_language": ["contains", "-", "Returns", "true", "if", "this", "trace", "contains", "the", "given", "basic", "block", "."], "TS_V_token": ["X86"], "File": "regAlloc", "Func": "contains", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 596, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseTargetMachine", "::", "addPreSched2", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", ")", "{", "if", "(", "!", "Subtarget", ".", "isThumb1Only", "(", ")", ")", "PM", ".", "add", "(", "createARMLoadStoreOptimizationPass", "(", ")", ")", ";", "if", "(", "Subtarget", ".", "hasNEON", "(", ")", ")", "PM", ".", "add", "(", "createExecutionDependencyFixPass", "(", "&", "ARM", "::", "DPRRegClass", ")", ")", ";", "}", "PM", ".", "add", "(", "createARMExpandPseudoPass", "(", ")", ")", ";", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", ")", "{", "if", "(", "!", "Subtarget", ".", "isThumb1Only", "(", ")", ")", "PM", ".", "add", "(", "createIfConverterPass", "(", ")", ")", ";", "}", "if", "(", "Subtarget", ".", "isThumb2", "(", ")", ")", "PM", ".", "add", "(", "createThumb2ITBlockPass", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "after", "prolog-epilog", "insertion", "and", "before", "the", "second", "instruction", "scheduling", "pass", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM::DPRRegClass", "ARM"], "File": "ARMTargetMachine87", "Func": "addPreSched2", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 597, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MSP430FrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MSP430MachineFunctionInfo", "*", "MSP430FI", "=", "MF", ".", "getInfo", "<", "MSP430MachineFunctionInfo", ">", "(", ")", ";", "const", "MSP430InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "MSP430InstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "unsigned", "RetOpcode", "=", "MBBI", "->", "getOpcode", "(", ")", ";", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "switch", "(", "RetOpcode", ")", "{", "case", "MSP430", "::", "RET", ":", "case", "MSP430", "::", "RETI", ":", "break", ";", "default", ":", "llvm_unreachable", "(", "\"Can only insert epilog into returning blocks\"", ")", ";", "}", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "unsigned", "CSSize", "=", "MSP430FI", "->", "getCalleeSavedFrameSize", "(", ")", ";", "uint64_t", "NumBytes", "=", "0", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "uint64_t", "FrameSize", "=", "StackSize", "-", "2", ";", "NumBytes", "=", "FrameSize", "-", "CSSize", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "MSP430", "::", "POP16r", ")", ",", "MSP430", "::", "R4", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameDestroy", ")", ";", "}", "else", "NumBytes", "=", "StackSize", "-", "CSSize", ";", "while", "(", "MBBI", "!=", "MBB", ".", "begin", "(", ")", ")", "{", "MachineBasicBlock", "::", "iterator", "PI", "=", "std", "::", "prev", "(", "MBBI", ")", ";", "if", "(", "!", "PI", "->", "getFlag", "(", "MachineInstr", "::", "FrameDestroy", ")", "&&", "!", "PI", "->", "isTerminator", "(", ")", ")", "break", ";", "--", "MBBI", ";", "}", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "MFI", ".", "hasVarSizedObjects", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "MSP430", "::", "MOV16rr", ")", ",", "MSP430", "::", "SP", ")", ".", "addReg", "(", "MSP430", "::", "R4", ")", ";", "if", "(", "CSSize", ")", "{", "MachineInstr", "*", "MI", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "MSP430", "::", "SUB16ri", ")", ",", "MSP430", "::", "SP", ")", ".", "addReg", "(", "MSP430", "::", "SP", ")", ".", "addImm", "(", "CSSize", ")", ";", "MI", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "}", "}", "else", "{", "if", "(", "NumBytes", ")", "{", "MachineInstr", "*", "MI", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "MSP430", "::", "ADD16ri", ")", ",", "MSP430", "::", "SP", ")", ".", "addReg", "(", "MSP430", "::", "SP", ")", ".", "addImm", "(", "NumBytes", ")", ";", "MI", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "}", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["MSP430", "MSP430", "MSP430", "MSP430", "MSP430", "MSP430", "MSP430", "MSP430::RET", "MSP430::RETI", "\"Can only insert epilog into returning blocks\"", "MSP430", "0", "2", "MSP430::POP16r", "MSP430::R4", "MSP430::MOV16rr", "MSP430::SP", "MSP430::R4", "MSP430::SUB16ri", "MSP430::SP", "MSP430::SP", "3", "MSP430::ADD16ri", "MSP430::SP", "MSP430::SP", "3"], "File": "MSP430FrameLowering31", "Func": "emitEpilogue", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 598, "Length": 407, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "s390_const_operand_ok", "(", "tree", "arg", ",", "int", "argnum", ",", "int", "op_flags", ",", "tree", "decl", ")", "{", "if", "(", "O_UIMM_P", "(", "op_flags", ")", ")", "{", "int", "bitwidths", "[", "]", "=", "{", "1", ",", "2", ",", "3", ",", "4", ",", "5", ",", "8", ",", "12", ",", "16", ",", "32", "}", ";", "int", "bitwidth", "=", "bitwidths", "[", "op_flags", "-", "O_U1", "]", ";", "if", "(", "!", "tree_fits_uhwi_p", "(", "arg", ")", "||", "tree_to_uhwi", "(", "arg", ")", ">", "(", "HOST_WIDE_INT_1U", "<<", "bitwidth", ")", "-", "1", ")", "{", "error", "(", "\"constant argument %d for builtin %qF is out of range (0..\"", "HOST_WIDE_INT_PRINT_UNSIGNED", "\")\"", ",", "argnum", ",", "decl", ",", "(", "HOST_WIDE_INT_1U", "<<", "bitwidth", ")", "-", "1", ")", ";", "return", "false", ";", "}", "}", "if", "(", "O_SIMM_P", "(", "op_flags", ")", ")", "{", "int", "bitwidths", "[", "]", "=", "{", "2", ",", "3", ",", "4", ",", "5", ",", "8", ",", "12", ",", "16", ",", "32", "}", ";", "int", "bitwidth", "=", "bitwidths", "[", "op_flags", "-", "O_S2", "]", ";", "if", "(", "!", "tree_fits_shwi_p", "(", "arg", ")", "||", "tree_to_shwi", "(", "arg", ")", "<", "-", "(", "HOST_WIDE_INT_1", "<<", "(", "bitwidth", "-", "1", ")", ")", "||", "tree_to_shwi", "(", "arg", ")", ">", "(", "(", "HOST_WIDE_INT_1", "<<", "(", "bitwidth", "-", "1", ")", ")", "-", "1", ")", ")", "{", "error", "(", "\"constant argument %d for builtin %qF is out of range (\"", "HOST_WIDE_INT_PRINT_DEC", "\"..\"", "HOST_WIDE_INT_PRINT_DEC", "\")\"", ",", "argnum", ",", "decl", ",", "-", "(", "HOST_WIDE_INT_1", "<<", "(", "bitwidth", "-", "1", ")", ")", ",", "(", "HOST_WIDE_INT_1", "<<", "(", "bitwidth", "-", "1", ")", ")", "-", "1", ")", ";", "return", "false", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "ARG", "is", "appropriate", "as", "argument", "number", "ARGNUM", "of", "builtin", "DECL", ".", "The", "operand", "flags", "from", "s390-builtins.def", "have", "to", "passed", "as", "OP_FLAGS", "."], "TS_V_token": ["s390", "1", "2", "3", "4", "5", "8", "12", "16", "32", "1", "\"constant argument %d for builtin %qF is out of range (0..\"", "\")\"", "1", "2", "3", "4", "5", "8", "12", "16", "32", "1", "1", "1", "\"constant argument %d for builtin %qF is out of range (\"", "\"..\"", "\")\"", "1", "1", "1"], "File": "s3906", "Func": "s390_const_operand_ok", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 599, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64InstrInfo", "::", "getInstSizeInBytes", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "const", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "const", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "MCAsmInfo", "*", "MAI", "=", "MF", "->", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", ";", "{", "auto", "Op", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "Op", "==", "AArch64", "::", "INLINEASM", "||", "Op", "==", "AArch64", "::", "INLINEASM_BR", ")", "return", "getInlineAsmLength", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getSymbolName", "(", ")", ",", "*", "MAI", ")", ";", "}", "if", "(", "MI", ".", "isMetaInstruction", "(", ")", ")", "return", "0", ";", "unsigned", "NumBytes", "=", "0", ";", "const", "MCInstrDesc", "&", "Desc", "=", "MI", ".", "getDesc", "(", ")", ";", "switch", "(", "Desc", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "NumBytes", "=", "4", ";", "break", ";", "case", "TargetOpcode", "::", "STACKMAP", ":", "NumBytes", "=", "StackMapOpers", "(", "&", "MI", ")", ".", "getNumPatchBytes", "(", ")", ";", "assert", "(", "NumBytes", "%", "4", "==", "0", "&&", "\"Invalid number of NOP bytes requested!\"", ")", ";", "break", ";", "case", "TargetOpcode", "::", "PATCHPOINT", ":", "NumBytes", "=", "PatchPointOpers", "(", "&", "MI", ")", ".", "getNumPatchBytes", "(", ")", ";", "assert", "(", "NumBytes", "%", "4", "==", "0", "&&", "\"Invalid number of NOP bytes requested!\"", ")", ";", "break", ";", "case", "TargetOpcode", "::", "STATEPOINT", ":", "NumBytes", "=", "StatepointOpers", "(", "&", "MI", ")", ".", "getNumPatchBytes", "(", ")", ";", "assert", "(", "NumBytes", "%", "4", "==", "0", "&&", "\"Invalid number of NOP bytes requested!\"", ")", ";", "if", "(", "NumBytes", "==", "0", ")", "NumBytes", "=", "4", ";", "break", ";", "case", "AArch64", "::", "TLSDESC_CALLSEQ", ":", "NumBytes", "=", "16", ";", "break", ";", "case", "AArch64", "::", "SpeculationBarrierISBDSBEndBB", ":", "NumBytes", "=", "8", ";", "break", ";", "case", "AArch64", "::", "SpeculationBarrierSBEndBB", ":", "NumBytes", "=", "4", ";", "break", ";", "case", "AArch64", "::", "AUT", ":", "NumBytes", "=", "24", ";", "break", ";", "case", "AArch64", "::", "AUTPAC", ":", "NumBytes", "=", "28", ";", "break", ";", "case", "AArch64", "::", "MOVaddrPAC", ":", "NumBytes", "=", "28", ";", "break", ";", "case", "AArch64", "::", "BR_JumpTable", ":", "NumBytes", "=", "44", ";", "break", ";", "case", "AArch64", "::", "JumpTableDest32", ":", "case", "AArch64", "::", "JumpTableDest16", ":", "case", "AArch64", "::", "JumpTableDest8", ":", "NumBytes", "=", "12", ";", "break", ";", "case", "AArch64", "::", "SPACE", ":", "NumBytes", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "break", ";", "case", "AArch64", "::", "StoreSwiftAsyncContext", ":", "NumBytes", "=", "20", ";", "break", ";", "case", "TargetOpcode", "::", "BUNDLE", ":", "NumBytes", "=", "getInstBundleLength", "(", "MI", ")", ";", "break", ";", "}", "return", "NumBytes", ";", "}", ""], "natrual_language": ["Returns", "the", "size", "in", "bytes", "of", "the", "specified", "MachineInstr", ",", "or", "~0U", "when", "this", "function", "is", "not", "implemented", "by", "a", "target", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::INLINEASM", "AArch64::INLINEASM_BR", "0", "0", "0", "4", "4", "0", "\"Invalid number of NOP bytes requested!\"", "4", "0", "\"Invalid number of NOP bytes requested!\"", "4", "0", "\"Invalid number of NOP bytes requested!\"", "0", "4", "AArch64::TLSDESC_CALLSEQ", "16", "AArch64::SpeculationBarrierISBDSBEndBB", "8", "AArch64::SpeculationBarrierSBEndBB", "4", "AArch64::AUT", "24", "AArch64::AUTPAC", "28", "AArch64::MOVaddrPAC", "28", "AArch64::BR_JumpTable", "44", "AArch64::JumpTableDest32", "AArch64::JumpTableDest16", "AArch64::JumpTableDest8", "12", "AArch64::SPACE", "1", "AArch64::StoreSwiftAsyncContext", "20"], "File": "AArch64InstrInfo122", "Func": "getInstSizeInBytes", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 600, "Length": 385, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "auto", "HexagonVectorCombine", "::", "concat", "(", "IRBuilder", "<", ">", "&", "Builder", ",", "ArrayRef", "<", "Value", "*", ">", "Vecs", ")", "const", "->", "Value", "*", "{", "assert", "(", "!", "Vecs", ".", "empty", "(", ")", ")", ";", "SmallVector", "<", "int", ",", "256", ">", "SMask", ";", "std", "::", "vector", "<", "Value", "*", ">", "Work", "[", "2", "]", ";", "int", "ThisW", "=", "0", ",", "OtherW", "=", "1", ";", "Work", "[", "ThisW", "]", ".", "assign", "(", "Vecs", ".", "begin", "(", ")", ",", "Vecs", ".", "end", "(", ")", ")", ";", "while", "(", "Work", "[", "ThisW", "]", ".", "size", "(", ")", ">", "1", ")", "{", "auto", "*", "Ty", "=", "cast", "<", "VectorType", ">", "(", "Work", "[", "ThisW", "]", ".", "front", "(", ")", "->", "getType", "(", ")", ")", ";", "int", "ElemCount", "=", "Ty", "->", "getElementCount", "(", ")", ".", "getFixedValue", "(", ")", ";", "SMask", ".", "resize", "(", "ElemCount", "*", "2", ")", ";", "std", "::", "iota", "(", "SMask", ".", "begin", "(", ")", ",", "SMask", ".", "end", "(", ")", ",", "0", ")", ";", "Work", "[", "OtherW", "]", ".", "clear", "(", ")", ";", "if", "(", "Work", "[", "ThisW", "]", ".", "size", "(", ")", "%", "2", "!=", "0", ")", "Work", "[", "ThisW", "]", ".", "push_back", "(", "UndefValue", "::", "get", "(", "Ty", ")", ")", ";", "for", "(", "int", "i", "=", "0", ",", "e", "=", "Work", "[", "ThisW", "]", ".", "size", "(", ")", ";", "i", "<", "e", ";", "i", "+=", "2", ")", "{", "Value", "*", "Joined", "=", "Builder", ".", "CreateShuffleVector", "(", "Work", "[", "ThisW", "]", "[", "i", "]", ",", "Work", "[", "ThisW", "]", "[", "i", "+", "1", "]", ",", "SMask", ")", ";", "Work", "[", "OtherW", "]", ".", "push_back", "(", "Joined", ")", ";", "}", "std", "::", "swap", "(", "ThisW", ",", "OtherW", ")", ";", "}", "SMask", ".", "resize", "(", "Vecs", ".", "size", "(", ")", "*", "getSizeOf", "(", "Vecs", ".", "front", "(", ")", "->", "getType", "(", ")", ")", ")", ";", "std", "::", "iota", "(", "SMask", ".", "begin", "(", ")", ",", "SMask", ".", "end", "(", ")", ",", "0", ")", ";", "Value", "*", "Total", "=", "Work", "[", "OtherW", "]", ".", "front", "(", ")", ";", "return", "Builder", ".", "CreateShuffleVector", "(", "Total", ",", "SMask", ")", ";", "}", ""], "natrual_language": ["Concatenate", "the", "bits", "from", "Lo", "onto", "the", "bottom", "of", "*", "this", "."], "TS_V_token": ["Hexagon", "HexagonVectorCombine::concat", "256", "2", "0", "1", "1", "2", "0", "2", "0", "0", "2", "1", "0"], "File": "HexagonVectorCombine", "Func": "concat", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 601, "Length": 343, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "wasm", "::", "ValType", "getType", "(", "const", "TargetRegisterClass", "*", "RC", ")", "{", "if", "(", "RC", "==", "&", "WebAssembly", "::", "I32RegClass", ")", "return", "wasm", "::", "ValType", "::", "I32", ";", "if", "(", "RC", "==", "&", "WebAssembly", "::", "I64RegClass", ")", "return", "wasm", "::", "ValType", "::", "I64", ";", "if", "(", "RC", "==", "&", "WebAssembly", "::", "F32RegClass", ")", "return", "wasm", "::", "ValType", "::", "F32", ";", "if", "(", "RC", "==", "&", "WebAssembly", "::", "F64RegClass", ")", "return", "wasm", "::", "ValType", "::", "F64", ";", "if", "(", "RC", "==", "&", "WebAssembly", "::", "V128RegClass", ")", "return", "wasm", "::", "ValType", "::", "V128", ";", "llvm_unreachable", "(", "\"Unexpected register class\"", ")", ";", "}", ""], "natrual_language": ["Overload", "to", "return", "most", "specific", "vector", "type", "."], "TS_V_token": ["WebAssembly", "wasm::ValType", "WebAssembly::I32RegClass", "wasm::ValType", "WebAssembly::I64RegClass", "wasm::ValType", "WebAssembly::F32RegClass", "wasm::ValType", "WebAssembly::F64RegClass", "wasm::ValType", "WebAssembly::V128RegClass", "wasm::ValType", "\"Unexpected register class\""], "File": "WebAssemblyMCInstLower (2)1", "Func": "getType", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 602, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_adjust_stack_and_probe", "(", "const", "HOST_WIDE_INT", "size", ")", "{", "const", "int", "dope", "=", "4", "*", "UNITS_PER_WORD", ";", "rtx", "size_rtx", "=", "GEN_INT", "(", "size", ")", ",", "last", ";", "if", "(", "size", "<=", "4", "*", "PROBE_INTERVAL", ")", "{", "HOST_WIDE_INT", "i", ",", "adjust", ";", "bool", "first_probe", "=", "true", ";", "for", "(", "i", "=", "PROBE_INTERVAL", ";", "i", "<", "size", ";", "i", "+=", "PROBE_INTERVAL", ")", "{", "if", "(", "first_probe", ")", "{", "adjust", "=", "2", "*", "PROBE_INTERVAL", "+", "dope", ";", "first_probe", "=", "false", ";", "}", "else", "adjust", "=", "PROBE_INTERVAL", ";", "emit_insn", "(", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "adjust", ")", ")", ")", ";", "emit_stack_probe", "(", "stack_pointer_rtx", ")", ";", "}", "if", "(", "first_probe", ")", "adjust", "=", "size", "+", "PROBE_INTERVAL", "+", "dope", ";", "else", "adjust", "=", "size", "+", "PROBE_INTERVAL", "-", "i", ";", "emit_insn", "(", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "adjust", ")", ")", ")", ";", "emit_stack_probe", "(", "stack_pointer_rtx", ")", ";", "last", "=", "emit_insn", "(", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "PROBE_INTERVAL", "+", "dope", ")", ")", ")", ";", "}", "else", "{", "HOST_WIDE_INT", "rounded_size", ";", "struct", "scratch_reg", "sr", ";", "get_scratch_register_on_entry", "(", "&", "sr", ")", ";", "rounded_size", "=", "ROUND_DOWN", "(", "size", ",", "PROBE_INTERVAL", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "(", "PROBE_INTERVAL", "+", "dope", ")", ")", ")", ")", ";", "if", "(", "rounded_size", "<=", "(", "HOST_WIDE_INT_1", "<<", "31", ")", ")", "emit_insn", "(", "gen_rtx_SET", "(", "sr", ".", "reg", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "rounded_size", ")", ")", ")", ";", "else", "{", "emit_move_insn", "(", "sr", ".", "reg", ",", "GEN_INT", "(", "-", "rounded_size", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "sr", ".", "reg", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "sr", ".", "reg", ",", "stack_pointer_rtx", ")", ")", ")", ";", "}", "emit_insn", "(", "ix86_gen_adjust_stack_and_probe", "(", "sr", ".", "reg", ",", "sr", ".", "reg", ",", "size_rtx", ")", ")", ";", "if", "(", "size", "!=", "rounded_size", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "rounded_size", "-", "size", ")", ")", ")", ";", "emit_stack_probe", "(", "stack_pointer_rtx", ")", ";", "}", "last", "=", "emit_insn", "(", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "PROBE_INTERVAL", "+", "dope", ")", ")", ")", ";", "release_scratch_register_on_entry", "(", "&", "sr", ")", ";", "}", "if", "(", "size", ">", "0", ")", "{", "rtx", "expr", "=", "gen_rtx_SEQUENCE", "(", "VOIDmode", ",", "rtvec_alloc", "(", "2", ")", ")", ";", "XVECEXP", "(", "expr", ",", "0", ",", "0", ")", "=", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "size", ")", ")", ";", "XVECEXP", "(", "expr", ",", "0", ",", "1", ")", "=", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "PROBE_INTERVAL", "+", "dope", "+", "size", ")", ")", ";", "add_reg_note", "(", "last", ",", "REG_FRAME_RELATED_EXPR", ",", "expr", ")", ";", "RTX_FRAME_RELATED_P", "(", "last", ")", "=", "1", ";", "cfun", "->", "machine", "->", "fs", ".", "sp_offset", "+=", "size", ";", "}", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "adjust", "the", "stack", "pointer", "by", "SIZE", "bytes", "while", "probing", "it", "."], "TS_V_token": ["i386", "4", "4", "2", "31", "0", "2", "0", "0", "0", "1", "1"], "File": "i3865", "Func": "ix86_adjust_stack_and_probe", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 603, "Length": 469, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "SIMachineFunctionInfo", "*", "MFI", "=", "MF", "->", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "MachineFrameInfo", "*", "FrameInfo", "=", "MF", "->", "getFrameInfo", "(", ")", ";", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "int", "Opcode", "=", "-", "1", ";", "if", "(", "RI", ".", "isSGPRClass", "(", "RC", ")", ")", "{", "switch", "(", "RC", "->", "getSize", "(", ")", "*", "8", ")", "{", "case", "32", ":", "Opcode", "=", "AMDGPU", "::", "SI_SPILL_S32_SAVE", ";", "break", ";", "case", "64", ":", "Opcode", "=", "AMDGPU", "::", "SI_SPILL_S64_SAVE", ";", "break", ";", "case", "128", ":", "Opcode", "=", "AMDGPU", "::", "SI_SPILL_S128_SAVE", ";", "break", ";", "case", "256", ":", "Opcode", "=", "AMDGPU", "::", "SI_SPILL_S256_SAVE", ";", "break", ";", "case", "512", ":", "Opcode", "=", "AMDGPU", "::", "SI_SPILL_S512_SAVE", ";", "break", ";", "}", "}", "else", "if", "(", "RI", ".", "hasVGPRs", "(", "RC", ")", "&&", "ST", ".", "isVGPRSpillingEnabled", "(", "MFI", ")", ")", "{", "MFI", "->", "setHasSpilledVGPRs", "(", ")", ";", "switch", "(", "RC", "->", "getSize", "(", ")", "*", "8", ")", "{", "case", "32", ":", "Opcode", "=", "AMDGPU", "::", "SI_SPILL_V32_SAVE", ";", "break", ";", "case", "64", ":", "Opcode", "=", "AMDGPU", "::", "SI_SPILL_V64_SAVE", ";", "break", ";", "case", "96", ":", "Opcode", "=", "AMDGPU", "::", "SI_SPILL_V96_SAVE", ";", "break", ";", "case", "128", ":", "Opcode", "=", "AMDGPU", "::", "SI_SPILL_V128_SAVE", ";", "break", ";", "case", "256", ":", "Opcode", "=", "AMDGPU", "::", "SI_SPILL_V256_SAVE", ";", "break", ";", "case", "512", ":", "Opcode", "=", "AMDGPU", "::", "SI_SPILL_V512_SAVE", ";", "break", ";", "}", "}", "if", "(", "Opcode", "!=", "-", "1", ")", "{", "FrameInfo", "->", "setObjectAlignment", "(", "FrameIndex", ",", "4", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opcode", ")", ")", ".", "addReg", "(", "SrcReg", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addReg", "(", "AMDGPU", "::", "SGPR0_SGPR1_SGPR2_SGPR3", ",", "RegState", "::", "Undef", ")", ".", "addReg", "(", "AMDGPU", "::", "SGPR0", ",", "RegState", "::", "Undef", ")", ";", "}", "else", "{", "LLVMContext", "&", "Ctx", "=", "MF", "->", "getFunction", "(", ")", "->", "getContext", "(", ")", ";", "Ctx", ".", "emitError", "(", "\"SIInstrInfo::storeRegToStackSlot - Do not know how to\"", "\" spill register\"", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "AMDGPU", "::", "KILL", ")", ")", ".", "addReg", "(", "SrcReg", ")", ";", "}", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "1", "8", "32", "AMDGPU::SI_SPILL_S32_SAVE", "64", "AMDGPU::SI_SPILL_S64_SAVE", "128", "AMDGPU::SI_SPILL_S128_SAVE", "256", "AMDGPU::SI_SPILL_S256_SAVE", "512", "AMDGPU::SI_SPILL_S512_SAVE", "8", "32", "AMDGPU::SI_SPILL_V32_SAVE", "64", "AMDGPU::SI_SPILL_V64_SAVE", "96", "AMDGPU::SI_SPILL_V96_SAVE", "128", "AMDGPU::SI_SPILL_V128_SAVE", "256", "AMDGPU::SI_SPILL_V256_SAVE", "512", "AMDGPU::SI_SPILL_V512_SAVE", "1", "4", "AMDGPU::SGPR0_SGPR1_SGPR2_SGPR3", "AMDGPU::SGPR0", "\"SIInstrInfo::storeRegToStackSlot - Do not know how to\"", "\" spill register\"", "AMDGPU::KILL"], "File": "SIInstrInfo102", "Func": "storeRegToStackSlot", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 604, "Length": 376, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "s390_mem_constraint", "(", "const", "char", "*", "str", ",", "rtx", "op", ")", "{", "char", "c", "=", "str", "[", "0", "]", ";", "switch", "(", "c", ")", "{", "case", "'A'", ":", "if", "(", "!", "MEM_P", "(", "op", ")", "||", "MEM_VOLATILE_P", "(", "op", ")", ")", "return", "0", ";", "if", "(", "(", "reload_completed", "||", "reload_in_progress", ")", "?", "!", "offsettable_memref_p", "(", "op", ")", ":", "!", "offsettable_nonstrict_memref_p", "(", "op", ")", ")", "return", "0", ";", "return", "s390_check_qrst_address", "(", "str", "[", "1", "]", ",", "XEXP", "(", "op", ",", "0", ")", ",", "true", ")", ";", "case", "'B'", ":", "if", "(", "!", "MEM_P", "(", "op", ")", ")", "return", "0", ";", "return", "s390_check_qrst_address", "(", "str", "[", "1", "]", ",", "XEXP", "(", "op", ",", "0", ")", ",", "false", ")", ";", "case", "'Q'", ":", "case", "'R'", ":", "case", "'S'", ":", "case", "'T'", ":", "if", "(", "GET_CODE", "(", "op", ")", "!=", "MEM", ")", "return", "0", ";", "return", "s390_check_qrst_address", "(", "c", ",", "XEXP", "(", "op", ",", "0", ")", ",", "true", ")", ";", "case", "'U'", ":", "return", "(", "s390_check_qrst_address", "(", "'Q'", ",", "op", ",", "true", ")", "||", "s390_check_qrst_address", "(", "'R'", ",", "op", ",", "true", ")", ")", ";", "case", "'W'", ":", "return", "(", "s390_check_qrst_address", "(", "'S'", ",", "op", ",", "true", ")", "||", "s390_check_qrst_address", "(", "'T'", ",", "op", ",", "true", ")", ")", ";", "case", "'Y'", ":", "if", "(", "!", "s390_decompose_addrstyle_without_index", "(", "op", ",", "NULL", ",", "NULL", ")", ")", "return", "0", ";", "break", ";", "case", "'Z'", ":", "return", "s390_check_qrst_address", "(", "str", "[", "1", "]", ",", "op", ",", "true", ")", ";", "default", ":", "return", "0", ";", "}", "return", "1", ";", "}", ""], "natrual_language": ["Evaluates", "constraint", "strings", "described", "by", "the", "regular", "expression", "(", "[", "A|B|Z", "]", "(", "Q|R|S|T", ")", ")", "|U|W|Y", "and", "returns", "1", "if", "OP", "is", "a", "valid", "operand", "for", "the", "constraint", "given", "in", "STR", ",", "or", "0", "else", "."], "TS_V_token": ["s390", "0", "0", "0", "1", "0", "0", "1", "0", "0", "0", "0", "1", "0", "1"], "File": "s3905", "Func": "s390_mem_constraint", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 605, "Length": 250, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sparc_expand_epilogue", "(", "void", ")", "{", "if", "(", "num_gfregs", ")", "emit_save_or_restore_regs", "(", "SORR_RESTORE", ")", ";", "if", "(", "actual_fsize", "==", "0", ")", ";", "else", "if", "(", "sparc_leaf_function_p", ")", "{", "if", "(", "actual_fsize", "<=", "4096", ")", "emit_insn", "(", "gen_stack_pointer_dec", "(", "GEN_INT", "(", "-", "actual_fsize", ")", ")", ")", ";", "else", "if", "(", "actual_fsize", "<=", "8192", ")", "{", "emit_insn", "(", "gen_stack_pointer_dec", "(", "GEN_INT", "(", "-", "4096", ")", ")", ")", ";", "emit_insn", "(", "gen_stack_pointer_dec", "(", "GEN_INT", "(", "4096", "-", "actual_fsize", ")", ")", ")", ";", "}", "else", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ";", "emit_move_insn", "(", "reg", ",", "GEN_INT", "(", "-", "actual_fsize", ")", ")", ";", "emit_insn", "(", "gen_stack_pointer_dec", "(", "reg", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["Expand", "the", "function", "epilogue", ",", "either", "normal", "or", "part", "of", "a", "sibcall", ".", "We", "emit", "all", "the", "instructions", "except", "the", "return", "or", "the", "call", "."], "TS_V_token": ["sparc", "0", "4096", "8192", "4096", "4096", "1"], "File": "sparc3", "Func": "sparc_expand_epilogue", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 606, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "SIInstrInfo", "::", "pseudoToMCOpcode", "(", "int", "Opcode", ")", "const", "{", "SIEncodingFamily", "Gen", "=", "subtargetEncodingFamily", "(", "ST", ")", ";", "if", "(", "(", "get", "(", "Opcode", ")", ".", "TSFlags", "&", "SIInstrFlags", "::", "renamedInGFX9", ")", "!=", "0", "&&", "ST", ".", "getGeneration", "(", ")", ">=", "SISubtarget", "::", "GFX9", ")", "Gen", "=", "SIEncodingFamily", "::", "GFX9", ";", "if", "(", "get", "(", "Opcode", ")", ".", "TSFlags", "&", "SIInstrFlags", "::", "SDWA", ")", "Gen", "=", "ST", ".", "getGeneration", "(", ")", "==", "SISubtarget", "::", "GFX9", "?", "SIEncodingFamily", "::", "SDWA9", ":", "SIEncodingFamily", "::", "SDWA", ";", "if", "(", "ST", ".", "hasUnpackedD16VMem", "(", ")", "&&", "(", "get", "(", "Opcode", ")", ".", "TSFlags", "&", "SIInstrFlags", "::", "D16Buf", ")", ")", "Gen", "=", "SIEncodingFamily", "::", "GFX80", ";", "int", "MCOp", "=", "AMDGPU", "::", "getMCOpcode", "(", "Opcode", ",", "Gen", ")", ";", "if", "(", "MCOp", "==", "-", "1", ")", "return", "Opcode", ";", "if", "(", "MCOp", "==", "(", "uint16_t", ")", "-", "1", ")", "return", "-", "1", ";", "return", "MCOp", ";", "}", ""], "natrual_language": ["Return", "a", "target-specific", "opcode", "if", "Opcode", "is", "a", "pseudo", "instruction", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SIInstrFlags::renamedInGFX9", "0", "SI", "SIEncodingFamily::GFX9", "SIInstrFlags::SDWA", "SI", "SIEncodingFamily::SDWA9", "SIEncodingFamily::SDWA", "SIInstrFlags::D16Buf", "SIEncodingFamily::GFX80", "AMDGPU::getMCOpcode", "1", "1", "1"], "File": "SIInstrInfo95", "Func": "pseudoToMCOpcode", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 607, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMPassConfig", "::", "addPreSched2", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "if", "(", "EnableARMLoadStoreOpt", ")", "addPass", "(", "createARMLoadStoreOptimizationPass", "(", ")", ")", ";", "addPass", "(", "new", "ARMExecutionDomainFix", "(", ")", ")", ";", "addPass", "(", "createBreakFalseDeps", "(", ")", ")", ";", "}", "addPass", "(", "createARMExpandPseudoPass", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createThumb2SizeReductionPass", "(", "[", "this", "]", "(", "const", "Function", "&", "F", ")", "{", "return", "this", "->", "TM", "->", "getSubtarget", "<", "ARMSubtarget", ">", "(", "F", ")", ".", "hasMinSize", "(", ")", "||", "this", "->", "TM", "->", "getSubtarget", "<", "ARMSubtarget", ">", "(", "F", ")", ".", "restrictIT", "(", ")", ";", "}", ")", ")", ";", "addPass", "(", "createIfConverter", "(", "[", "]", "(", "const", "MachineFunction", "&", "MF", ")", "{", "return", "!", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "isThumb1Only", "(", ")", ";", "}", ")", ")", ";", "}", "addPass", "(", "createThumb2ITBlockPass", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "&", "PostMachineSchedulerID", ")", ";", "addPass", "(", "&", "PostRASchedulerID", ")", ";", "}", "addPass", "(", "createMVEVPTBlockPass", "(", ")", ")", ";", "addPass", "(", "createARMIndirectThunks", "(", ")", ")", ";", "addPass", "(", "createARMSLSHardeningPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "after", "prolog-epilog", "insertion", "and", "before", "the", "second", "instruction", "scheduling", "pass", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM"], "File": "ARMTargetMachine104", "Func": "addPreSched2", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 608, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "TL45InstrInfo", "::", "loadImmediate", "(", "unsigned", "FrameReg", ",", "int64_t", "Imm", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "II", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "&", "NewImm", ")", "const", "{", "llvm_unreachable", "(", "\"not yet implemented loadImmediate()\"", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "series", "of", "instructions", "to", "load", "an", "immediate", "."], "TS_V_token": ["TL45", "TL45", "\"not yet implemented loadImmediate()\""], "File": "TL45InstrInfo", "Func": "loadImmediate", "Target": "TL45", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 609, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "check_required_registers", "(", "location_t", "location", ",", "tree", "fndecl", ")", "{", "if", "(", "reported_missing_registers_p", ")", "return", "false", ";", "if", "(", "TARGET_GENERAL_REGS_ONLY", ")", "{", "error_at", "(", "location", ",", "\"ACLE function %qD is incompatible with the use of %qs\"", ",", "fndecl", ",", "\"-mgeneral-regs-only\"", ")", ";", "reported_missing_registers_p", "=", "true", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Check", "whether", "the", "registers", "required", "by", "SVE", "function", "fndecl", "are", "available", ".", "Report", "an", "error", "against", "LOCATION", "and", "return", "false", "if", "not", "."], "TS_V_token": ["aarch64", "\"ACLE function %qD is incompatible with the use of %qs\"", "\"-mgeneral-regs-only\""], "File": "aarch64-sve-builtins", "Func": "check_required_registers", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 610, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "push", "(", "NodeAddr", "<", "DefNode", "*", ">", "DA", ")", "{", "Stack", ".", "push_back", "(", "DA", ")", ";", "}", ""], "natrual_language": ["Push", "the", "current", "solver", "state", "."], "TS_V_token": ["Hexagon"], "File": "RDFGraph", "Func": "push", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 611, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "VETargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "&", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown Custom Instruction!\"", ")", ";", "case", "VE", "::", "EH_SjLj_LongJmp", ":", "return", "emitEHSjLjLongJmp", "(", "MI", ",", "BB", ")", ";", "case", "VE", "::", "EH_SjLj_SetJmp", ":", "return", "emitEHSjLjSetJmp", "(", "MI", ",", "BB", ")", ";", "case", "VE", "::", "EH_SjLj_Setup_Dispatch", ":", "return", "emitSjLjDispatchBlock", "(", "MI", ",", "BB", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "."], "TS_V_token": ["VE", "VE", "\"Unknown Custom Instruction!\"", "VE::EH_SjLj_LongJmp", "VE::EH_SjLj_SetJmp", "VE::EH_SjLj_Setup_Dispatch"], "File": "VEISelLowering11", "Func": "EmitInstrWithCustomInserter", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 612, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "R600Packetizer", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "const", "TargetInstrInfo", "*", "TII", "=", "Fn", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MachineLoopInfo", "&", "MLI", "=", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "MachineDominatorTree", "&", "MDT", "=", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "R600PacketizerList", "Packetizer", "(", "Fn", ",", "MLI", ",", "MDT", ")", ";", "assert", "(", "Packetizer", ".", "getResourceTracker", "(", ")", "&&", "\"Empty DFA table!\"", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "MBB", "=", "Fn", ".", "begin", "(", ")", ",", "MBBe", "=", "Fn", ".", "end", "(", ")", ";", "MBB", "!=", "MBBe", ";", "++", "MBB", ")", "{", "MachineBasicBlock", "::", "iterator", "End", "=", "MBB", "->", "end", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MI", "=", "MBB", "->", "begin", "(", ")", ";", "while", "(", "MI", "!=", "End", ")", "{", "if", "(", "MI", "->", "isKill", "(", ")", "||", "MI", "->", "getOpcode", "(", ")", "==", "AMDGPU", "::", "IMPLICIT_DEF", "||", "(", "MI", "->", "getOpcode", "(", ")", "==", "AMDGPU", "::", "CF_ALU", "&&", "!", "MI", "->", "getOperand", "(", "8", ")", ".", "getImm", "(", ")", ")", ")", "{", "MachineBasicBlock", "::", "iterator", "DeleteMI", "=", "MI", ";", "++", "MI", ";", "MBB", "->", "erase", "(", "DeleteMI", ")", ";", "End", "=", "MBB", "->", "end", "(", ")", ";", "continue", ";", "}", "++", "MI", ";", "}", "}", "for", "(", "MachineFunction", "::", "iterator", "MBB", "=", "Fn", ".", "begin", "(", ")", ",", "MBBe", "=", "Fn", ".", "end", "(", ")", ";", "MBB", "!=", "MBBe", ";", "++", "MBB", ")", "{", "unsigned", "RemainingCount", "=", "MBB", "->", "size", "(", ")", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "RegionEnd", "=", "MBB", "->", "end", "(", ")", ";", "RegionEnd", "!=", "MBB", "->", "begin", "(", ")", ";", ")", "{", "MachineBasicBlock", "::", "iterator", "I", "=", "RegionEnd", ";", "for", "(", ";", "I", "!=", "MBB", "->", "begin", "(", ")", ";", "--", "I", ",", "--", "RemainingCount", ")", "{", "if", "(", "TII", "->", "isSchedulingBoundary", "(", "llvm", "::", "prior", "(", "I", ")", ",", "MBB", ",", "Fn", ")", ")", "break", ";", "}", "I", "=", "MBB", "->", "begin", "(", ")", ";", "if", "(", "I", "==", "RegionEnd", ")", "{", "RegionEnd", "=", "llvm", "::", "prior", "(", "RegionEnd", ")", ";", "--", "RemainingCount", ";", "continue", ";", "}", "if", "(", "I", "==", "llvm", "::", "prior", "(", "RegionEnd", ")", ")", "{", "RegionEnd", "=", "llvm", "::", "prior", "(", "RegionEnd", ")", ";", "continue", ";", "}", "Packetizer", ".", "PacketizeMIs", "(", "MBB", ",", "I", ",", "RegionEnd", ")", ";", "RegionEnd", "=", "I", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["R600", "\"Empty DFA table!\"", "8"], "File": "R600Packetizer30", "Func": "runOnMachineFunction", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 613, "Length": 384, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SPIRVMCAsmInfo", "::", "shouldOmitSectionDirective", "(", "StringRef", "SectionName", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", ".section", "directive", "should", "be", "omitted", "when", "emitting", "SectionName", "."], "TS_V_token": ["SPIRV", "SPIRV"], "File": "SPIRVMCAsmInfo", "Func": "shouldOmitSectionDirective", "Target": "SPIRV", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 614, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "s390_overlap_p", "(", "rtx", "mem1", ",", "rtx", "mem2", ",", "HOST_WIDE_INT", "size", ")", "{", "rtx", "addr1", ",", "addr2", ",", "addr_delta", ";", "HOST_WIDE_INT", "delta", ";", "if", "(", "GET_CODE", "(", "mem1", ")", "!=", "MEM", "||", "GET_CODE", "(", "mem2", ")", "!=", "MEM", ")", "return", "true", ";", "if", "(", "size", "==", "0", ")", "return", "false", ";", "addr1", "=", "XEXP", "(", "mem1", ",", "0", ")", ";", "addr2", "=", "XEXP", "(", "mem2", ",", "0", ")", ";", "addr_delta", "=", "simplify_binary_operation", "(", "MINUS", ",", "Pmode", ",", "addr2", ",", "addr1", ")", ";", "if", "(", "!", "addr_delta", "||", "GET_CODE", "(", "addr_delta", ")", "!=", "CONST_INT", ")", "return", "false", ";", "delta", "=", "INTVAL", "(", "addr_delta", ")", ";", "if", "(", "delta", "==", "0", "||", "(", "delta", ">", "0", "&&", "delta", "<", "size", ")", "||", "(", "delta", "<", "0", "&&", "-", "delta", "<", "size", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "can", "be", "proven", "that", "[", "MEM1", ",", "MEM1", "+", "SIZE", "]", "and", "[", "MEM2", ",", "MEM2", "+", "SIZE", "]", "do", "overlap", "and", "false", "otherwise", "."], "TS_V_token": ["s390", "0", "0", "0", "0", "0", "0"], "File": "s390", "Func": "s390_overlap_p", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 615, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isThumb", "(", ")", "const", "{", "return", "IsThumb", ";", "}", ""], "natrual_language": ["Tests", "whether", "the", "target", "is", "Thumb", "(", "little", "and", "big", "endian", ")", "."], "TS_V_token": ["ARM"], "File": "ARMSubtarget105", "Func": "isThumb", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 616, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TargetLowering", "::", "getNumRegistersForCallingConv", "(", "LLVMContext", "&", "Context", ",", "CallingConv", "::", "ID", "CC", ",", "EVT", "VT", ")", "const", "{", "if", "(", "VT", "==", "MVT", "::", "v32i1", "&&", "Subtarget", ".", "hasAVX512", "(", ")", "&&", "!", "Subtarget", ".", "hasBWI", "(", ")", ")", "return", "1", ";", "if", "(", "VT", ".", "isVector", "(", ")", "&&", "VT", ".", "getVectorElementType", "(", ")", "==", "MVT", "::", "i1", "&&", "Subtarget", ".", "hasAVX512", "(", ")", "&&", "(", "!", "isPowerOf2_32", "(", "VT", ".", "getVectorNumElements", "(", ")", ")", "||", "(", "VT", ".", "getVectorNumElements", "(", ")", ">", "16", "&&", "!", "Subtarget", ".", "hasBWI", "(", ")", ")", "||", "(", "VT", ".", "getVectorNumElements", "(", ")", ">", "64", "&&", "Subtarget", ".", "hasBWI", "(", ")", ")", ")", ")", "return", "VT", ".", "getVectorNumElements", "(", ")", ";", "if", "(", "(", "VT", "==", "MVT", "::", "v32i16", "||", "VT", "==", "MVT", "::", "v64i8", ")", "&&", "Subtarget", ".", "hasAVX512", "(", ")", "&&", "!", "Subtarget", ".", "hasBWI", "(", ")", "&&", "!", "EnableOldKNLABI", ")", "return", "1", ";", "return", "TargetLowering", "::", "getNumRegistersForCallingConv", "(", "Context", ",", "CC", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Certain", "targets", "require", "unusual", "breakdowns", "of", "certain", "types", "."], "TS_V_token": ["X86", "X86", "MVT::v32i1", "1", "MVT::i1", "16", "64", "MVT::v32i16", "MVT::v64i8", "1"], "File": "X86ISelLowering (2)7", "Func": "getNumRegistersForCallingConv", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 617, "Length": 167, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineMemOperand", "*", "NyuziInstrInfo", "::", "getMemOperand", "(", "MachineBasicBlock", "&", "MBB", ",", "int", "FI", ",", "MachineMemOperand", "::", "Flags", "Flags", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "Align", "=", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ";", "return", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FI", ")", ",", "Flags", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "Align", ")", ";", "}", ""], "natrual_language": ["Return", "a", "MachineMemOperand", "object", "describing", "the", "memory", "reference", "performed", "by", "operation", "."], "TS_V_token": ["Nyuzi", "Nyuzi"], "File": "NyuziInstrInfo", "Func": "getMemOperand", "Target": "Nyuzi", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 618, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_expand_msa_cmp", "(", "rtx", "dest", ",", "enum", "rtx_code", "cond", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "machine_mode", "cmp_mode", "=", "GET_MODE", "(", "op0", ")", ";", "int", "unspec", "=", "-", "1", ";", "bool", "negate", "=", "false", ";", "switch", "(", "cmp_mode", ")", "{", "case", "V16QImode", ":", "case", "V8HImode", ":", "case", "V4SImode", ":", "case", "V2DImode", ":", "switch", "(", "cond", ")", "{", "case", "NE", ":", "cond", "=", "reverse_condition", "(", "cond", ")", ";", "negate", "=", "true", ";", "break", ";", "case", "EQ", ":", "case", "LT", ":", "case", "LE", ":", "case", "LTU", ":", "case", "LEU", ":", "break", ";", "case", "GE", ":", "case", "GT", ":", "case", "GEU", ":", "case", "GTU", ":", "std", "::", "swap", "(", "op0", ",", "op1", ")", ";", "cond", "=", "swap_condition", "(", "cond", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "mips_emit_binary", "(", "cond", ",", "dest", ",", "op0", ",", "op1", ")", ";", "if", "(", "negate", ")", "emit_move_insn", "(", "dest", ",", "gen_rtx_NOT", "(", "GET_MODE", "(", "dest", ")", ",", "dest", ")", ")", ";", "break", ";", "case", "V4SFmode", ":", "case", "V2DFmode", ":", "switch", "(", "cond", ")", "{", "case", "UNORDERED", ":", "case", "ORDERED", ":", "case", "EQ", ":", "case", "NE", ":", "case", "UNEQ", ":", "case", "UNLE", ":", "case", "UNLT", ":", "break", ";", "case", "LTGT", ":", "cond", "=", "NE", ";", "break", ";", "case", "UNGE", ":", "cond", "=", "UNLE", ";", "std", "::", "swap", "(", "op0", ",", "op1", ")", ";", "break", ";", "case", "UNGT", ":", "cond", "=", "UNLT", ";", "std", "::", "swap", "(", "op0", ",", "op1", ")", ";", "break", ";", "case", "LE", ":", "unspec", "=", "UNSPEC_MSA_FSLE", ";", "break", ";", "case", "LT", ":", "unspec", "=", "UNSPEC_MSA_FSLT", ";", "break", ";", "case", "GE", ":", "unspec", "=", "UNSPEC_MSA_FSLE", ";", "std", "::", "swap", "(", "op0", ",", "op1", ")", ";", "break", ";", "case", "GT", ":", "unspec", "=", "UNSPEC_MSA_FSLT", ";", "std", "::", "swap", "(", "op0", ",", "op1", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "unspec", "<", "0", ")", "mips_emit_binary", "(", "cond", ",", "dest", ",", "op0", ",", "op1", ")", ";", "else", "{", "rtx", "x", "=", "gen_rtx_UNSPEC", "(", "GET_MODE", "(", "dest", ")", ",", "gen_rtvec", "(", "2", ",", "op0", ",", "op1", ")", ",", "unspec", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "x", ")", ")", ";", "}", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["Generate", "RTL", "for", "comparing", "CMP_OP0", "and", "CMP_OP1", "using", "condition", "COND", "and", "store", "the", "result", "-1", "or", "0", "in", "DEST", "."], "TS_V_token": ["mips", "1", "0", "2"], "File": "mips6", "Func": "mips_expand_msa_cmp", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 619, "Length": 365, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "override", "{", "ARM64FI", "=", "F", ".", "getInfo", "<", "ARM64FunctionInfo", ">", "(", ")", ";", "return", "AsmPrinter", "::", "runOnMachineFunction", "(", "F", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM64", "ARM64", "ARM64"], "File": "ARM64AsmPrinter1", "Func": "runOnMachineFunction", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 620, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "scan_record_type", "(", "tree", "type", ",", "int", "*", "intregs_p", ",", "int", "*", "fpregs_p", ",", "int", "*", "packed_p", ")", "{", "tree", "field", ";", "for", "(", "field", "=", "TYPE_FIELDS", "(", "type", ")", ";", "field", ";", "field", "=", "TREE_CHAIN", "(", "field", ")", ")", "{", "if", "(", "TREE_CODE", "(", "field", ")", "==", "FIELD_DECL", ")", "{", "if", "(", "TREE_CODE", "(", "TREE_TYPE", "(", "field", ")", ")", "==", "RECORD_TYPE", ")", "scan_record_type", "(", "TREE_TYPE", "(", "field", ")", ",", "intregs_p", ",", "fpregs_p", ",", "0", ")", ";", "else", "if", "(", "(", "FLOAT_TYPE_P", "(", "TREE_TYPE", "(", "field", ")", ")", "||", "TREE_CODE", "(", "TREE_TYPE", "(", "field", ")", ")", "==", "VECTOR_TYPE", ")", "&&", "TARGET_FPU", ")", "*", "fpregs_p", "=", "1", ";", "else", "*", "intregs_p", "=", "1", ";", "if", "(", "packed_p", "&&", "DECL_PACKED", "(", "field", ")", ")", "*", "packed_p", "=", "1", ";", "}", "}", "}", ""], "natrual_language": ["Scan", "the", "record", "type", "TYPE", "and", "return", "the", "following", "predicates", ":", "-", "INTREGS_P", ":", "the", "record", "contains", "at", "least", "one", "field", "or", "sub-field", "that", "is", "eligible", "for", "promotion", "in", "integer", "registers", ".", "-", "FP_REGS_P", ":", "the", "record", "contains", "at", "least", "one", "field", "or", "sub-field", "that", "is", "eligible", "for", "promotion", "in", "floating-point", "registers", ".", "-", "PACKED_P", ":", "the", "record", "contains", "at", "least", "one", "field", "that", "is", "packed", ".", "Sub-fields", "are", "not", "taken", "into", "account", "for", "the", "PACKED_P", "predicate", "."], "TS_V_token": ["sparc", "0", "1", "1", "1"], "File": "sparc3", "Func": "scan_record_type", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 621, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "getPreIndexedAddressParts", "(", "SDNode", "*", "N", ",", "SDValue", "&", "Base", ",", "SDValue", "&", "Offset", ",", "ISD", "::", "MemIndexedMode", "&", "AM", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "if", "(", "!", "EnablePPCPreinc", ")", "return", "false", ";", "SDValue", "Ptr", ";", "EVT", "VT", ";", "if", "(", "LoadSDNode", "*", "LD", "=", "dyn_cast", "<", "LoadSDNode", ">", "(", "N", ")", ")", "{", "Ptr", "=", "LD", "->", "getBasePtr", "(", ")", ";", "VT", "=", "LD", "->", "getMemoryVT", "(", ")", ";", "}", "else", "if", "(", "StoreSDNode", "*", "ST", "=", "dyn_cast", "<", "StoreSDNode", ">", "(", "N", ")", ")", "{", "Ptr", "=", "ST", "->", "getBasePtr", "(", ")", ";", "VT", "=", "ST", "->", "getMemoryVT", "(", ")", ";", "}", "else", "return", "false", ";", "if", "(", "VT", ".", "isVector", "(", ")", ")", "return", "false", ";", "if", "(", "VT", "!=", "MVT", "::", "i64", ")", "{", "if", "(", "!", "SelectAddressRegImm", "(", "Ptr", ",", "Offset", ",", "Base", ",", "DAG", ")", ")", "return", "false", ";", "}", "else", "{", "if", "(", "!", "SelectAddressRegImmShift", "(", "Ptr", ",", "Offset", ",", "Base", ",", "DAG", ")", ")", "return", "false", ";", "}", "if", "(", "LoadSDNode", "*", "LD", "=", "dyn_cast", "<", "LoadSDNode", ">", "(", "N", ")", ")", "{", "if", "(", "LD", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i64", "&&", "LD", "->", "getMemoryVT", "(", ")", "==", "MVT", "::", "i32", "&&", "LD", "->", "getExtensionType", "(", ")", "==", "ISD", "::", "SEXTLOAD", "&&", "isa", "<", "ConstantSDNode", ">", "(", "Offset", ")", ")", "return", "false", ";", "}", "AM", "=", "ISD", "::", "PRE_INC", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "by", "value", ",", "base", "pointer", "and", "offset", "pointer", "and", "addressing", "mode", "by", "reference", "if", "the", "node", "'s", "address", "can", "be", "legally", "represented", "as", "pre-indexed", "load", "/", "store", "address", "."], "TS_V_token": ["PowerPC", "PPC", "ISD::MemIndexedMode", "PPC", "MVT::i64", "0", "MVT::i64", "MVT::i32", "ISD::SEXTLOAD", "ISD::PRE_INC"], "File": "PPCISelLowering113", "Func": "getPreIndexedAddressParts", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 622, "Length": 240, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "XCoreFrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "DisableFramePointerElim", "(", "MF", ")", "||", "MF", ".", "getFrameInfo", "(", ")", "->", "hasVarSizedObjects", "(", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["XCore", "XCore"], "File": "XCoreFrameLowering49", "Func": "hasFP", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 623, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86AsmParser", "::", "checkTargetMatchPredicate", "(", "MCInst", "&", "Inst", ")", "{", "unsigned", "Opc", "=", "Inst", ".", "getOpcode", "(", ")", ";", "const", "MCInstrDesc", "&", "MCID", "=", "MII", ".", "get", "(", "Opc", ")", ";", "if", "(", "ForcedVEXEncoding", "==", "VEXEncoding_EVEX", "&&", "(", "MCID", ".", "TSFlags", "&", "X86II", "::", "EncodingMask", ")", "!=", "X86II", "::", "EVEX", ")", "return", "Match_Unsupported", ";", "if", "(", "(", "ForcedVEXEncoding", "==", "VEXEncoding_VEX2", "||", "ForcedVEXEncoding", "==", "VEXEncoding_VEX3", ")", "&&", "(", "MCID", ".", "TSFlags", "&", "X86II", "::", "EncodingMask", ")", "!=", "X86II", "::", "VEX", ")", "return", "Match_Unsupported", ";", "switch", "(", "Opc", ")", "{", "case", "X86", "::", "VCVTSD2SIZrm_Int", ":", "case", "X86", "::", "VCVTSD2SI64Zrm_Int", ":", "case", "X86", "::", "VCVTSS2SIZrm_Int", ":", "case", "X86", "::", "VCVTSS2SI64Zrm_Int", ":", "case", "X86", "::", "VCVTTSD2SIZrm", ":", "case", "X86", "::", "VCVTTSD2SIZrm_Int", ":", "case", "X86", "::", "VCVTTSD2SI64Zrm", ":", "case", "X86", "::", "VCVTTSD2SI64Zrm_Int", ":", "case", "X86", "::", "VCVTTSS2SIZrm", ":", "case", "X86", "::", "VCVTTSS2SIZrm_Int", ":", "case", "X86", "::", "VCVTTSS2SI64Zrm", ":", "case", "X86", "::", "VCVTTSS2SI64Zrm_Int", ":", "if", "(", "ForcedVEXEncoding", "!=", "VEXEncoding_EVEX", ")", "return", "Match_Unsupported", ";", "break", ";", "}", "return", "Match_Success", ";", "}", ""], "natrual_language": ["checkTargetMatchPredicate", "-", "Validate", "the", "instruction", "match", "against", "any", "complex", "target", "predicates", "not", "expressible", "via", "match", "classes", "."], "TS_V_token": ["X86", "X86", "X86II::EncodingMask", "X86II::EVEX", "X86II::EncodingMask", "X86II::VEX", "X86::VCVTSD2SIZrm_Int", "X86::VCVTSD2SI64Zrm_Int", "X86::VCVTSS2SIZrm_Int", "X86::VCVTSS2SI64Zrm_Int", "X86::VCVTTSD2SIZrm", "X86::VCVTTSD2SIZrm_Int", "X86::VCVTTSD2SI64Zrm", "X86::VCVTTSD2SI64Zrm_Int", "X86::VCVTTSS2SIZrm", "X86::VCVTTSS2SIZrm_Int", "X86::VCVTTSS2SI64Zrm", "X86::VCVTTSS2SI64Zrm_Int"], "File": "X86AsmParser (2)5", "Func": "checkTargetMatchPredicate", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 624, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SystemZSelectionDAGInfo", "::", "EmitTargetCodeForMemcpy", "(", "SelectionDAG", "&", "DAG", ",", "const", "SDLoc", "&", "DL", ",", "SDValue", "Chain", ",", "SDValue", "Dst", ",", "SDValue", "Src", ",", "SDValue", "Size", ",", "Align", "Alignment", ",", "bool", "IsVolatile", ",", "bool", "AlwaysInline", ",", "MachinePointerInfo", "DstPtrInfo", ",", "MachinePointerInfo", "SrcPtrInfo", ")", "const", "{", "if", "(", "IsVolatile", ")", "return", "SDValue", "(", ")", ";", "if", "(", "auto", "*", "CSize", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Size", ")", ")", "return", "emitMemMem", "(", "DAG", ",", "DL", ",", "SystemZISD", "::", "MVC", ",", "SystemZISD", "::", "MVC_LOOP", ",", "Chain", ",", "Dst", ",", "Src", ",", "CSize", "->", "getZExtValue", "(", ")", ")", ";", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memcpy", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZISD::MVC", "SystemZISD::MVC_LOOP"], "File": "SystemZSelectionDAGInfo", "Func": "EmitTargetCodeForMemcpy", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 625, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "rs6000_function_arg_boundary", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "machine_mode", "elt_mode", ";", "int", "n_elts", ";", "rs6000_discover_homogeneous_aggregate", "(", "mode", ",", "type", ",", "&", "elt_mode", ",", "&", "n_elts", ")", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "(", "GET_MODE_SIZE", "(", "mode", ")", "==", "8", "||", "(", "TARGET_HARD_FLOAT", "&&", "TARGET_FPRS", "&&", "FLOAT128_2REG_P", "(", "mode", ")", ")", ")", ")", "return", "64", ";", "else", "if", "(", "FLOAT128_VECTOR_P", "(", "mode", ")", ")", "return", "128", ";", "else", "if", "(", "SPE_VECTOR_MODE", "(", "mode", ")", "||", "(", "type", "&&", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", "&&", "int_size_in_bytes", "(", "type", ")", ">=", "8", "&&", "int_size_in_bytes", "(", "type", ")", "<", "16", ")", ")", "return", "64", ";", "else", "if", "(", "ALTIVEC_OR_VSX_VECTOR_MODE", "(", "elt_mode", ")", "||", "(", "type", "&&", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", "&&", "int_size_in_bytes", "(", "type", ")", ">=", "16", ")", ")", "return", "128", ";", "if", "(", "(", "(", "DEFAULT_ABI", "==", "ABI_AIX", "&&", "!", "rs6000_compat_align_parm", ")", "||", "DEFAULT_ABI", "==", "ABI_ELFv2", ")", "&&", "type", "&&", "TYPE_ALIGN", "(", "type", ")", ">", "64", ")", "{", "bool", "aggregate_p", "=", "(", "AGGREGATE_TYPE_P", "(", "type", ")", "&&", "!", "SCALAR_FLOAT_MODE_P", "(", "elt_mode", ")", ")", ";", "if", "(", "aggregate_p", "!=", "(", "mode", "==", "BLKmode", ")", ")", "{", "static", "bool", "warned", ";", "if", "(", "!", "warned", "&&", "warn_psabi", ")", "{", "warned", "=", "true", ";", "inform", "(", "input_location", ",", "\"the ABI of passing aggregates with %d-byte alignment\"", "\" has changed in GCC 5\"", ",", "(", "int", ")", "TYPE_ALIGN", "(", "type", ")", "/", "BITS_PER_UNIT", ")", ";", "}", "}", "if", "(", "aggregate_p", ")", "return", "128", ";", "}", "if", "(", "TARGET_MACHO", "&&", "rs6000_darwin64_abi", "&&", "mode", "==", "BLKmode", "&&", "type", "&&", "TYPE_ALIGN", "(", "type", ")", ">", "64", ")", "return", "128", ";", "return", "PARM_BOUNDARY", ";", "}", ""], "natrual_language": ["If", "defined", ",", "a", "C", "expression", "that", "gives", "the", "alignment", "boundary", ",", "in", "bits", ",", "of", "an", "argument", "with", "the", "specified", "mode", "and", "type", ".", "If", "it", "is", "not", "defined", ",", "PARM_BOUNDARY", "is", "used", "for", "all", "arguments", ".", "V.4", "wants", "long", "longs", "and", "doubles", "to", "be", "double", "word", "aligned", ".", "Just", "testing", "the", "mode", "size", "is", "a", "boneheaded", "way", "to", "do", "this", "as", "it", "means", "that", "other", "types", "such", "as", "complex", "int", "are", "also", "double", "word", "aligned", ".", "However", ",", "we", "'re", "stuck", "with", "this", "because", "changing", "the", "ABI", "might", "break", "existing", "library", "interfaces", ".", "Quadword", "align", "Altivec/VSX", "vectors", ".", "Quadword", "align", "large", "synthetic", "vector", "types", "."], "TS_V_token": ["rs6000", "8", "64", "128", "8", "16", "64", "16", "128", "64", "\"the ABI of passing aggregates with %d-byte alignment\"", "\" has changed in GCC 5\"", "128", "64", "128"], "File": "rs60005", "Func": "rs6000_function_arg_boundary", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 626, "Length": 260, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "add_sve_type_attribute", "(", "tree", "type", ",", "unsigned", "int", "num_zr", ",", "unsigned", "int", "num_pr", ",", "const", "char", "*", "mangled_name", ")", "{", "tree", "mangled_name_tree", "=", "(", "mangled_name", "?", "get_identifier", "(", "mangled_name", ")", ":", "NULL_TREE", ")", ";", "tree", "value", "=", "tree_cons", "(", "NULL_TREE", ",", "mangled_name_tree", ",", "NULL_TREE", ")", ";", "value", "=", "tree_cons", "(", "NULL_TREE", ",", "size_int", "(", "num_pr", ")", ",", "value", ")", ";", "value", "=", "tree_cons", "(", "NULL_TREE", ",", "size_int", "(", "num_zr", ")", ",", "value", ")", ";", "TYPE_ATTRIBUTES", "(", "type", ")", "=", "tree_cons", "(", "get_identifier", "(", "\"SVE type\"", ")", ",", "value", ",", "TYPE_ATTRIBUTES", "(", "type", ")", ")", ";", "}", ""], "natrual_language": ["Record", "that", "TYPE", "is", "an", "ABI-defined", "SVE", "type", "that", "contains", "NUM_ZR", "SVE", "vectors", "and", "NUM_PR", "SVE", "predicates", ".", "MANGLED_NAME", ",", "if", "nonnull", ",", "is", "the", "ABI-defined", "mangling", "of", "the", "type", ".", "ACLE_NAME", "is", "the", "<", "arm_sve.h", ">", "name", "of", "the", "type", "."], "TS_V_token": ["aarch64", "\"SVE type\""], "File": "aarch64-sve-builtins", "Func": "add_sve_type_attribute", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 627, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arc_is_uncached_mem_p", "(", "rtx", "pat", ")", "{", "tree", "attrs", ";", "tree", "ttype", ";", "struct", "mem_attrs", "*", "refattrs", ";", "if", "(", "!", "MEM_P", "(", "pat", ")", ")", "return", "false", ";", "refattrs", "=", "MEM_ATTRS", "(", "pat", ")", ";", "if", "(", "!", "refattrs", "||", "!", "refattrs", "->", "expr", ")", "return", "false", ";", "ttype", "=", "TREE_TYPE", "(", "refattrs", "->", "expr", ")", ";", "if", "(", "!", "ttype", ")", "return", "false", ";", "attrs", "=", "TYPE_ATTRIBUTES", "(", "ttype", ")", ";", "if", "(", "lookup_attribute", "(", "\"uncached\"", ",", "attrs", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "PAT", "is", "a", "memory", "addressing", "an", "uncached", "data", "."], "TS_V_token": ["arc", "\"uncached\""], "File": "arc7", "Func": "arc_is_uncached_mem_p", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 628, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "hasHighOperandLatency", "(", "const", "InstrItineraryData", "*", "ItinData", ",", "const", "MachineRegisterInfo", "*", "MRI", ",", "const", "MachineInstr", "*", "DefMI", ",", "unsigned", "DefIdx", ",", "const", "MachineInstr", "*", "UseMI", ",", "unsigned", "UseIdx", ")", "const", "{", "unsigned", "DDomain", "=", "DefMI", "->", "getDesc", "(", ")", ".", "TSFlags", "&", "ARMII", "::", "DomainMask", ";", "unsigned", "UDomain", "=", "UseMI", "->", "getDesc", "(", ")", ".", "TSFlags", "&", "ARMII", "::", "DomainMask", ";", "if", "(", "Subtarget", ".", "isCortexA8", "(", ")", "&&", "(", "DDomain", "==", "ARMII", "::", "DomainVFP", "||", "UDomain", "==", "ARMII", "::", "DomainVFP", ")", ")", "return", "true", ";", "int", "Latency", "=", "getOperandLatency", "(", "ItinData", ",", "DefMI", ",", "DefIdx", ",", "UseMI", ",", "UseIdx", ")", ";", "if", "(", "Latency", "<=", "3", ")", "return", "false", ";", "return", "DDomain", "==", "ARMII", "::", "DomainVFP", "||", "DDomain", "==", "ARMII", "::", "DomainNEON", "||", "UDomain", "==", "ARMII", "::", "DomainVFP", "||", "UDomain", "==", "ARMII", "::", "DomainNEON", ";", "}", ""], "natrual_language": ["Compute", "operand", "latency", "between", "a", "def", "of", "'Reg", "'", "and", "a", "use", "in", "the", "current", "loop", "."], "TS_V_token": ["ARM", "ARM", "ARMII::DomainMask", "ARMII::DomainMask", "ARMII::DomainVFP", "ARMII::DomainVFP", "3", "ARMII::DomainVFP", "ARMII::DomainNEON", "ARMII::DomainVFP", "ARMII::DomainNEON"], "File": "ARMBaseInstrInfo (2)4", "Func": "hasHighOperandLatency", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 629, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SITargetLowering", "::", "getTgtMemIntrinsic", "(", "IntrinsicInfo", "&", "Info", ",", "const", "CallInst", "&", "CI", ",", "MachineFunction", "&", "MF", ",", "unsigned", "IntrID", ")", "const", "{", "if", "(", "const", "AMDGPU", "::", "RsrcIntrinsic", "*", "RsrcIntr", "=", "AMDGPU", "::", "lookupRsrcIntrinsic", "(", "IntrID", ")", ")", "{", "AttributeList", "Attr", "=", "Intrinsic", "::", "getAttributes", "(", "CI", ".", "getContext", "(", ")", ",", "(", "Intrinsic", "::", "ID", ")", "IntrID", ")", ";", "if", "(", "Attr", ".", "hasFnAttribute", "(", "Attribute", "::", "ReadNone", ")", ")", "return", "false", ";", "SIMachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "if", "(", "RsrcIntr", "->", "IsImage", ")", "{", "Info", ".", "ptrVal", "=", "MFI", "->", "getImagePSV", "(", "*", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ",", "CI", ".", "getArgOperand", "(", "RsrcIntr", "->", "RsrcArg", ")", ")", ";", "Info", ".", "align", "=", "0", ";", "}", "else", "{", "Info", ".", "ptrVal", "=", "MFI", "->", "getBufferPSV", "(", "*", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ",", "CI", ".", "getArgOperand", "(", "RsrcIntr", "->", "RsrcArg", ")", ")", ";", "}", "Info", ".", "flags", "=", "MachineMemOperand", "::", "MODereferenceable", ";", "if", "(", "Attr", ".", "hasFnAttribute", "(", "Attribute", "::", "ReadOnly", ")", ")", "{", "Info", ".", "opc", "=", "ISD", "::", "INTRINSIC_W_CHAIN", ";", "Info", ".", "memVT", "=", "MVT", "::", "getVT", "(", "CI", ".", "getType", "(", ")", ",", "true", ")", ";", "if", "(", "Info", ".", "memVT", "==", "MVT", "::", "Other", ")", "{", "Info", ".", "memVT", "=", "memVTFromAggregate", "(", "CI", ".", "getType", "(", ")", ")", ";", "}", "Info", ".", "flags", "|=", "MachineMemOperand", "::", "MOLoad", ";", "}", "else", "if", "(", "Attr", ".", "hasFnAttribute", "(", "Attribute", "::", "WriteOnly", ")", ")", "{", "Info", ".", "opc", "=", "ISD", "::", "INTRINSIC_VOID", ";", "Info", ".", "memVT", "=", "MVT", "::", "getVT", "(", "CI", ".", "getArgOperand", "(", "0", ")", "->", "getType", "(", ")", ")", ";", "Info", ".", "flags", "|=", "MachineMemOperand", "::", "MOStore", ";", "}", "else", "{", "Info", ".", "opc", "=", "ISD", "::", "INTRINSIC_W_CHAIN", ";", "Info", ".", "memVT", "=", "MVT", "::", "getVT", "(", "CI", ".", "getType", "(", ")", ")", ";", "Info", ".", "flags", "=", "MachineMemOperand", "::", "MOLoad", "|", "MachineMemOperand", "::", "MOStore", "|", "MachineMemOperand", "::", "MODereferenceable", ";", "Info", ".", "flags", "|=", "MachineMemOperand", "::", "MOVolatile", ";", "}", "return", "true", ";", "}", "switch", "(", "IntrID", ")", "{", "case", "Intrinsic", "::", "amdgcn_atomic_inc", ":", "case", "Intrinsic", "::", "amdgcn_atomic_dec", ":", "case", "Intrinsic", "::", "amdgcn_ds_fadd", ":", "case", "Intrinsic", "::", "amdgcn_ds_fmin", ":", "case", "Intrinsic", "::", "amdgcn_ds_fmax", ":", "{", "Info", ".", "opc", "=", "ISD", "::", "INTRINSIC_W_CHAIN", ";", "Info", ".", "memVT", "=", "MVT", "::", "getVT", "(", "CI", ".", "getType", "(", ")", ")", ";", "Info", ".", "ptrVal", "=", "CI", ".", "getOperand", "(", "0", ")", ";", "Info", ".", "align", "=", "0", ";", "Info", ".", "flags", "=", "MachineMemOperand", "::", "MOLoad", "|", "MachineMemOperand", "::", "MOStore", ";", "const", "ConstantInt", "*", "Vol", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "CI", ".", "getOperand", "(", "4", ")", ")", ";", "if", "(", "!", "Vol", "||", "!", "Vol", "->", "isZero", "(", ")", ")", "Info", ".", "flags", "|=", "MachineMemOperand", "::", "MOVolatile", ";", "return", "true", ";", "}", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Given", "an", "intrinsic", ",", "checks", "if", "on", "the", "target", "the", "intrinsic", "will", "need", "to", "map", "to", "a", "MemIntrinsicNode", "(", "touches", "memory", ")", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU::RsrcIntrinsic", "AMDGPU::lookupRsrcIntrinsic", "Intrinsic::getAttributes", "Intrinsic::ID", "SI", "SI", "0", "ISD::INTRINSIC_W_CHAIN", "MVT::getVT", "MVT::Other", "ISD::INTRINSIC_VOID", "MVT::getVT", "0", "ISD::INTRINSIC_W_CHAIN", "MVT::getVT", "Intrinsic::amdgcn_atomic_inc", "Intrinsic::amdgcn_atomic_dec", "Intrinsic::amdgcn_ds_fadd", "Intrinsic::amdgcn_ds_fmin", "Intrinsic::amdgcn_ds_fmax", "ISD::INTRINSIC_W_CHAIN", "MVT::getVT", "0", "0", "4"], "File": "SIISelLowering9", "Func": "getTgtMemIntrinsic", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 630, "Length": 484, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TVMRegStackify", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** Register Stackifying **********\\n\"", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "bool", "Changed", "=", "false", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["TVM", "TVM", "\"********** Register Stackifying **********\\n\"", "\"********** Function: \""], "File": "TVMRegStackify", "Func": "runOnMachineFunction", "Target": "TVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 631, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCSection", "*", "SystemZMCAsmInfo", "::", "getNonexecutableStackSection", "(", "MCContext", "&", "Ctx", ")", "const", "{", "return", "Ctx", ".", "getELFSection", "(", "\".note.GNU-stack\"", ",", "MCSectionELF", "::", "SHT_PROGBITS", ",", "0", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "}", ""], "natrual_language": ["Targets", "can", "implement", "this", "method", "to", "specify", "a", "section", "to", "switch", "to", "if", "the", "translation", "unit", "does", "n't", "have", "any", "trampolines", "that", "require", "an", "executable", "stack", "."], "TS_V_token": ["SystemZ", "SystemZ", "\".note.GNU-stack\"", "0"], "File": "SystemZMCAsmInfo13", "Func": "getNonexecutableStackSection", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 632, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print", "(", "raw_ostream", "&", "OS", ")", "const", "override", "{", "switch", "(", "Kind", ")", "{", "case", "Immediate", ":", "OS", "<<", "*", "getImm", "(", ")", ";", "break", ";", "case", "Register", ":", "OS", "<<", "\"\"", ";", "break", ";", "case", "Token", ":", "OS", "<<", "\"'\"", "<<", "getToken", "(", ")", "<<", "\"'\"", ";", "break", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["Teak", "\"\"", "\"'\"", "\"'\""], "File": "TeakAsmParser", "Func": "print", "Target": "Teak", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 633, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_9e_rtx_costs", "(", "rtx", "x", ",", "int", "code", ",", "int", "outer_code", ",", "int", "*", "total", ")", "{", "enum", "machine_mode", "mode", "=", "GET_MODE", "(", "x", ")", ";", "int", "nonreg_cost", ";", "int", "cost", ";", "if", "(", "TARGET_THUMB", ")", "{", "switch", "(", "code", ")", "{", "case", "MULT", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "3", ")", ";", "return", "true", ";", "default", ":", "*", "total", "=", "thumb_rtx_costs", "(", "x", ",", "code", ",", "outer_code", ")", ";", "return", "true", ";", "}", "}", "switch", "(", "code", ")", "{", "case", "MULT", ":", "if", "(", "mode", "==", "DImode", "&&", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "&&", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "ZERO_EXTEND", "||", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "SIGN_EXTEND", ")", ")", "{", "*", "total", "=", "3", ";", "return", "true", ";", "}", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", ")", "{", "*", "total", "=", "30", ";", "return", "true", ";", "}", "if", "(", "mode", "==", "DImode", ")", "{", "cost", "=", "7", ";", "nonreg_cost", "=", "8", ";", "}", "else", "{", "cost", "=", "2", ";", "nonreg_cost", "=", "4", ";", "}", "*", "total", "=", "cost", "+", "(", "REG_OR_SUBREG_REG", "(", "XEXP", "(", "x", ",", "0", ")", ")", "?", "0", ":", "nonreg_cost", ")", "+", "(", "REG_OR_SUBREG_REG", "(", "XEXP", "(", "x", ",", "1", ")", ")", "?", "0", ":", "nonreg_cost", ")", ";", "return", "true", ";", "default", ":", "*", "total", "=", "arm_rtx_costs_1", "(", "x", ",", "code", ",", "outer_code", ")", ";", "return", "true", ";", "}", "}", ""], "natrual_language": ["RTX", "costs", "for", "9e", "(", "and", "later", ")", "cores", "."], "TS_V_token": ["arm", "3", "0", "1", "0", "0", "3", "30", "7", "8", "2", "4", "0", "0", "1", "0"], "File": "arm3", "Func": "arm_9e_rtx_costs", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 634, "Length": 253, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_emit_p9_fp_minmax", "(", "rtx", "dest", ",", "rtx", "op", ",", "rtx", "true_cond", ",", "rtx", "false_cond", ")", "{", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "op", ")", ";", "rtx", "op0", "=", "XEXP", "(", "op", ",", "0", ")", ";", "rtx", "op1", "=", "XEXP", "(", "op", ",", "1", ")", ";", "machine_mode", "compare_mode", "=", "GET_MODE", "(", "op0", ")", ";", "machine_mode", "result_mode", "=", "GET_MODE", "(", "dest", ")", ";", "bool", "max_p", "=", "false", ";", "if", "(", "result_mode", "!=", "compare_mode", ")", "return", "0", ";", "if", "(", "code", "==", "GE", "||", "code", "==", "GT", ")", "max_p", "=", "true", ";", "else", "if", "(", "code", "==", "LE", "||", "code", "==", "LT", ")", "max_p", "=", "false", ";", "else", "return", "0", ";", "if", "(", "rtx_equal_p", "(", "op0", ",", "true_cond", ")", "&&", "rtx_equal_p", "(", "op1", ",", "false_cond", ")", ")", ";", "else", "if", "(", "rtx_equal_p", "(", "op1", ",", "true_cond", ")", "&&", "rtx_equal_p", "(", "op0", ",", "false_cond", ")", ")", "max_p", "=", "!", "max_p", ";", "else", "return", "0", ";", "rs6000_emit_minmax", "(", "dest", ",", "max_p", "?", "SMAX", ":", "SMIN", ",", "op0", ",", "op1", ")", ";", "return", "1", ";", "}", ""], "natrual_language": ["ISA", "3.0", "(", "power9", ")", "minmax", "subcase", "to", "emit", "a", "XSMAXCDP", "or", "XSMINCDP", "instruction", "for", "SF/DF", "scalars", ".", "Move", "TRUE_COND", "to", "DEST", "if", "OP", "of", "the", "operands", "of", "the", "last", "comparison", "is", "nonzero/true", ",", "FALSE_COND", "if", "it", "is", "zero/false", ".", "Return", "0", "if", "the", "hardware", "has", "no", "such", "operation", "."], "TS_V_token": ["powerpcspe", "0", "1", "0", "0", "0", "1"], "File": "powerpcspe", "Func": "rs6000_emit_p9_fp_minmax", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 635, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "GCNDPPCombine", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "ST", "=", "&", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "if", "(", "!", "ST", "->", "hasDPP", "(", ")", "||", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "TII", "=", "ST", "->", "getInstrInfo", "(", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "for", "(", "MachineInstr", "&", "MI", ":", "llvm", "::", "make_early_inc_range", "(", "llvm", "::", "reverse", "(", "MBB", ")", ")", ")", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "AMDGPU", "::", "V_MOV_B32_dpp", "&&", "combineDPPMov", "(", "MI", ")", ")", "{", "Changed", "=", "true", ";", "++", "NumDPPMovsCombined", ";", "}", "else", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "AMDGPU", "::", "V_MOV_B64_DPP_PSEUDO", ")", "{", "if", "(", "ST", "->", "has64BitDPP", "(", ")", "&&", "combineDPPMov", "(", "MI", ")", ")", "{", "Changed", "=", "true", ";", "++", "NumDPPMovsCombined", ";", "}", "else", "{", "auto", "Split", "=", "TII", "->", "expandMovDPP64", "(", "MI", ")", ";", "for", "(", "auto", "M", ":", "{", "Split", ".", "first", ",", "Split", ".", "second", "}", ")", "{", "if", "(", "M", "&&", "combineDPPMov", "(", "*", "M", ")", ")", "++", "NumDPPMovsCombined", ";", "}", "Changed", "=", "true", ";", "}", "}", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "AMDGPU::V_MOV_B32_dpp", "AMDGPU::V_MOV_B64_DPP_PSEUDO"], "File": "GCNDPPCombine14", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 636, "Length": 209, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb1InstrInfo", "::", "canCopyGluedNodeDuringSchedule", "(", "SDNode", "*", "N", ")", "const", "{", "unsigned", "Opcode", "=", "N", "->", "getMachineOpcode", "(", ")", ";", "if", "(", "Opcode", "==", "ARM", "::", "tADCS", "||", "Opcode", "==", "ARM", "::", "tSBCS", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "given", "SDNode", "can", "be", "copied", "during", "scheduling", "even", "if", "it", "has", "glue", "."], "TS_V_token": ["ARM", "ARM::tADCS", "ARM::tSBCS"], "File": "Thumb1InstrInfo10", "Func": "canCopyGluedNodeDuringSchedule", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 637, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_expand_vec_perm_const_1", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "if", "(", "expand_vec_perm_1", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_pshuflw_pshufhw", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_palignr", "(", "d", ",", "false", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_interleave2", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_broadcast", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_vpermq_perm_1", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_vperm2f128", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_pblendv", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_2perm_interleave", "(", "d", ",", "true", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_2perm_pblendv", "(", "d", ",", "true", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_shufps_shufps", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_even_odd_pack", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_2vperm2f128_vshuf", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_pshufb2", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_pslldq_psrldq_por", "(", "d", ",", "false", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_interleave3", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_vperm2f128_vblend", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_2perm_interleave", "(", "d", ",", "false", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_2perm_pblendv", "(", "d", ",", "false", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_even_odd_trunc", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_vpshufb2_vpermq", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_vpshufb2_vpermq_even_odd", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_vpermt2_vpshub2", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_even_odd", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_pslldq_psrldq_por", "(", "d", ",", "true", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_vpshufb4_vpermq2", "(", "d", ")", ")", "return", "true", ";", "struct", "expand_vec_perm_d", "nd", ";", "if", "(", "canonicalize_vector_int_perm", "(", "d", ",", "&", "nd", ")", "&&", "expand_vec_perm_1", "(", "&", "nd", ")", ")", "{", "if", "(", "!", "d", "->", "testing_p", ")", "emit_move_insn", "(", "d", "->", "target", ",", "gen_lowpart", "(", "d", "->", "vmode", ",", "nd", ".", "target", ")", ")", ";", "return", "true", ";", "}", "if", "(", "expand_vec_perm2_vperm2f128_vblend", "(", "d", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["The", "guts", "of", "ix86_expand_vec_perm_const", ",", "also", "used", "by", "the", "ok", "hook", ".", "With", "all", "of", "the", "interface", "bits", "taken", "care", "of", ",", "perform", "the", "expansion", "in", "D", "and", "return", "true", "on", "success", "."], "TS_V_token": ["i386"], "File": "i386-expand1", "Func": "ix86_expand_vec_perm_const_1", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 638, "Length": 348, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FPS", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "bool", "FPIsUsed", "=", "false", ";", "assert", "(", "X86", "::", "FP6", "==", "X86", "::", "FP0", "+", "6", "&&", "\"Register enums aren't sorted right!\"", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<=", "6", ";", "++", "i", ")", "if", "(", "MF", ".", "getRegInfo", "(", ")", ".", "isPhysRegUsed", "(", "X86", "::", "FP0", "+", "i", ")", ")", "{", "FPIsUsed", "=", "true", ";", "break", ";", "}", "if", "(", "!", "FPIsUsed", ")", "return", "false", ";", "TII", "=", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "StackTop", "=", "0", ";", "SmallPtrSet", "<", "MachineBasicBlock", "*", ",", "8", ">", "Processed", ";", "MachineBasicBlock", "*", "Entry", "=", "MF", ".", "begin", "(", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "df_ext_iterator", "<", "MachineBasicBlock", "*", ",", "SmallPtrSet", "<", "MachineBasicBlock", "*", ",", "8", ">", ">", "I", "=", "df_ext_begin", "(", "Entry", ",", "Processed", ")", ",", "E", "=", "df_ext_end", "(", "Entry", ",", "Processed", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "Changed", "|=", "processBasicBlock", "(", "MF", ",", "*", "*", "I", ")", ";", "if", "(", "MF", ".", "size", "(", ")", "==", "Processed", ".", "size", "(", ")", ")", "return", "Changed", ";", "for", "(", "MachineFunction", "::", "iterator", "BB", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "BB", "!=", "E", ";", "++", "BB", ")", "if", "(", "Processed", ".", "insert", "(", "BB", ")", ")", "Changed", "|=", "processBasicBlock", "(", "MF", ",", "*", "BB", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86::FP6", "X86::FP0", "6", "\"Register enums aren't sorted right!\"", "0", "6", "X86::FP0", "0", "8", "8"], "File": "X86FloatingPoint29", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 639, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MSP430RegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "hasFP", "(", "MF", ")", "?", "MSP430", "::", "FPW", ":", "MSP430", "::", "SPW", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["MSP430", "MSP430", "MSP430::FPW", "MSP430::SPW"], "File": "MSP430RegisterInfo10", "Func": "getFrameRegister", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 640, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "pass_vsetvl", "::", "compute_local_properties", "(", "void", ")", "{", "basic_block", "cfg_bb", ";", "for", "(", "const", "bb_info", "*", "bb", ":", "crtl", "->", "ssa", "->", "bbs", "(", ")", ")", "{", "unsigned", "int", "curr_bb_idx", "=", "bb", "->", "index", "(", ")", ";", "const", "auto", "local_dem", "=", "m_vector_manager", "->", "vector_block_infos", "[", "curr_bb_idx", "]", ".", "local_dem", ";", "const", "auto", "reaching_out", "=", "m_vector_manager", "->", "vector_block_infos", "[", "curr_bb_idx", "]", ".", "reaching_out", ";", "for", "(", "size_t", "i", "=", "0", ";", "i", "<", "m_vector_manager", "->", "vector_exprs", ".", "length", "(", ")", ";", "i", "++", ")", "{", "const", "vector_insn_info", "*", "expr", "=", "m_vector_manager", "->", "vector_exprs", "[", "i", "]", ";", "if", "(", "local_dem", ".", "real_dirty_p", "(", ")", "||", "local_dem", ".", "valid_p", "(", ")", "||", "local_dem", ".", "unknown_p", "(", ")", "||", "has_vsetvl_killed_avl_p", "(", "bb", ",", "local_dem", ")", ")", "bitmap_clear_bit", "(", "m_vector_manager", "->", "vector_transp", "[", "curr_bb_idx", "]", ",", "i", ")", ";", "if", "(", "find_reg_killed_by", "(", "bb", ",", "expr", "->", "get_avl", "(", ")", ")", ")", "{", "hash_set", "<", "set_info", "*", ">", "sets", "=", "get_all_sets", "(", "expr", "->", "get_avl_source", "(", ")", ",", "true", ",", "false", ",", "false", ")", ";", "if", "(", "any_set_in_bb_p", "(", "sets", ",", "bb", ")", ")", "bitmap_clear_bit", "(", "m_vector_manager", "->", "vector_transp", "[", "curr_bb_idx", "]", ",", "i", ")", ";", "}", "}", "if", "(", "local_dem", ".", "valid_p", "(", ")", "||", "local_dem", ".", "real_dirty_p", "(", ")", "||", "(", "has_vsetvl_killed_avl_p", "(", "bb", ",", "local_dem", ")", "&&", "vlmax_avl_p", "(", "local_dem", ".", "get_avl", "(", ")", ")", ")", ")", "if", "(", "anticipatable_occurrence_p", "(", "bb", ",", "local_dem", ")", ")", "bitmap_set_bit", "(", "m_vector_manager", "->", "vector_antic", "[", "curr_bb_idx", "]", ",", "m_vector_manager", "->", "get_expr_id", "(", "local_dem", ")", ")", ";", "if", "(", "reaching_out", ".", "valid_or_dirty_p", "(", ")", ")", "{", "auto_vec", "<", "size_t", ">", "available_list", "=", "m_vector_manager", "->", "get_all_available_exprs", "(", "reaching_out", ")", ";", "for", "(", "size_t", "i", "=", "0", ";", "i", "<", "available_list", ".", "length", "(", ")", ";", "i", "++", ")", "{", "const", "vector_insn_info", "*", "expr", "=", "m_vector_manager", "->", "vector_exprs", "[", "available_list", "[", "i", "]", "]", ";", "if", "(", "reaching_out", ".", "real_dirty_p", "(", ")", "||", "has_vsetvl_killed_avl_p", "(", "bb", ",", "reaching_out", ")", "||", "available_occurrence_p", "(", "bb", ",", "*", "expr", ")", ")", "bitmap_set_bit", "(", "m_vector_manager", "->", "vector_comp", "[", "curr_bb_idx", "]", ",", "available_list", "[", "i", "]", ")", ";", "}", "}", "}", "FOR_EACH_BB_FN", "(", "cfg_bb", ",", "cfun", ")", "{", "bitmap_ior", "(", "m_vector_manager", "->", "vector_kill", "[", "cfg_bb", "->", "index", "]", ",", "m_vector_manager", "->", "vector_transp", "[", "cfg_bb", "->", "index", "]", ",", "m_vector_manager", "->", "vector_comp", "[", "cfg_bb", "->", "index", "]", ")", ";", "bitmap_not", "(", "m_vector_manager", "->", "vector_kill", "[", "cfg_bb", "->", "index", "]", ",", "m_vector_manager", "->", "vector_kill", "[", "cfg_bb", "->", "index", "]", ")", ";", "}", "FOR_EACH_BB_FN", "(", "cfg_bb", ",", "cfun", ")", "{", "edge", "e", ";", "edge_iterator", "ei", ";", "FOR_EACH_EDGE", "(", "e", ",", "ei", ",", "cfg_bb", "->", "preds", ")", "if", "(", "e", "->", "flags", "&", "EDGE_COMPLEX", ")", "{", "bitmap_clear", "(", "m_vector_manager", "->", "vector_antic", "[", "cfg_bb", "->", "index", "]", ")", ";", "bitmap_clear", "(", "m_vector_manager", "->", "vector_transp", "[", "cfg_bb", "->", "index", "]", ")", ";", "}", "}", "}", ""], "natrual_language": ["Compute", "the", "local", "properties", "of", "each", "recorded", "expression", ".", "Local", "properties", "are", "those", "that", "are", "defined", "by", "the", "block", ",", "irrespective", "of", "other", "blocks", ".", "An", "expression", "is", "transparent", "in", "a", "block", "if", "its", "operands", "are", "not", "modified", "in", "the", "block", ".", "An", "expression", "is", "computed", "(", "locally", "available", ")", "in", "a", "block", "if", "it", "is", "computed", "at", "least", "once", "and", "expression", "would", "contain", "the", "same", "value", "if", "the", "computation", "was", "moved", "to", "the", "end", "of", "the", "block", ".", "An", "expression", "is", "locally", "anticipatable", "in", "a", "block", "if", "it", "is", "computed", "at", "least", "once", "and", "expression", "would", "contain", "the", "same", "value", "if", "the", "computation", "was", "moved", "to", "the", "beginning", "of", "the", "block", "."], "TS_V_token": ["riscv", "0", "0"], "File": "riscv-vsetvl", "Func": "compute_local_properties", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 641, "Length": 467, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "AU", ".", "setPreservesAll", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AArch64"], "File": "AArch64CollectLOH11", "Func": "getAnalysisUsage", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 642, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ARM", "::", "LDRrs", ":", "case", "ARM", "::", "t2LDRs", ":", "if", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "isFI", "(", ")", "&&", "MI", ".", "getOperand", "(", "2", ")", ".", "isReg", "(", ")", "&&", "MI", ".", "getOperand", "(", "3", ")", ".", "isImm", "(", ")", "&&", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", "==", "0", "&&", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", "==", "0", ")", "{", "FrameIndex", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getIndex", "(", ")", ";", "return", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "}", "break", ";", "case", "ARM", "::", "LDRi12", ":", "case", "ARM", "::", "t2LDRi12", ":", "case", "ARM", "::", "tLDRspi", ":", "case", "ARM", "::", "VLDRD", ":", "case", "ARM", "::", "VLDRS", ":", "if", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "isFI", "(", ")", "&&", "MI", ".", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", "&&", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "==", "0", ")", "{", "FrameIndex", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getIndex", "(", ")", ";", "return", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "}", "break", ";", "case", "ARM", "::", "VLDR_P0_off", ":", "if", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "isFI", "(", ")", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", "==", "0", ")", "{", "FrameIndex", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getIndex", "(", ")", ";", "return", "ARM", "::", "P0", ";", "}", "break", ";", "case", "ARM", "::", "VLD1q64", ":", "case", "ARM", "::", "VLD1d8TPseudo", ":", "case", "ARM", "::", "VLD1d16TPseudo", ":", "case", "ARM", "::", "VLD1d32TPseudo", ":", "case", "ARM", "::", "VLD1d64TPseudo", ":", "case", "ARM", "::", "VLD1d8QPseudo", ":", "case", "ARM", "::", "VLD1d16QPseudo", ":", "case", "ARM", "::", "VLD1d32QPseudo", ":", "case", "ARM", "::", "VLD1d64QPseudo", ":", "if", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "isFI", "(", ")", "&&", "MI", ".", "getOperand", "(", "0", ")", ".", "getSubReg", "(", ")", "==", "0", ")", "{", "FrameIndex", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getIndex", "(", ")", ";", "return", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "}", "break", ";", "case", "ARM", "::", "VLDMQIA", ":", "if", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "isFI", "(", ")", "&&", "MI", ".", "getOperand", "(", "0", ")", ".", "getSubReg", "(", ")", "==", "0", ")", "{", "FrameIndex", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getIndex", "(", ")", ";", "return", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "}", "break", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["isLoadFromStackSlot", "-", "If", "the", "specified", "machine", "instruction", "is", "a", "direct", "load", "from", "a", "stack", "slot", ",", "return", "the", "virtual", "or", "physical", "register", "number", "of", "the", "destination", "along", "with", "the", "FrameIndex", "of", "the", "loaded", "stack", "slot", "."], "TS_V_token": ["ARM", "ARM", "ARM::LDRrs", "ARM::t2LDRs", "1", "2", "3", "2", "0", "3", "0", "1", "0", "ARM::LDRi12", "ARM::t2LDRi12", "ARM::tLDRspi", "ARM::VLDRD", "ARM::VLDRS", "1", "2", "2", "0", "1", "0", "ARM::VLDR_P0_off", "0", "1", "1", "0", "0", "ARM::P0", "ARM::VLD1q64", "ARM::VLD1d8TPseudo", "ARM::VLD1d16TPseudo", "ARM::VLD1d32TPseudo", "ARM::VLD1d64TPseudo", "ARM::VLD1d8QPseudo", "ARM::VLD1d16QPseudo", "ARM::VLD1d32QPseudo", "ARM::VLD1d64QPseudo", "1", "0", "0", "1", "0", "ARM::VLDMQIA", "1", "0", "0", "1", "0", "0"], "File": "ARMBaseInstrInfo10", "Func": "isLoadFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 643, "Length": 449, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "s390_assemble_integer", "(", "rtx", "x", ",", "unsigned", "int", "size", ",", "int", "aligned_p", ")", "{", "if", "(", "size", "==", "8", "&&", "aligned_p", "&&", "GET_CODE", "(", "x", ")", "==", "CONST_INT", "&&", "INTVAL", "(", "x", ")", "<", "INT_MIN", ")", "{", "fprintf", "(", "asm_out_file", ",", "\"\\t.quad\\t\"", "HOST_WIDE_INT_PRINT_HEX", "\"\\n\"", ",", "INTVAL", "(", "x", ")", ")", ";", "return", "true", ";", "}", "return", "default_assemble_integer", "(", "x", ",", "size", ",", "aligned_p", ")", ";", "}", ""], "natrual_language": ["Target", "hook", "for", "assembling", "integer", "objects", ".", "We", "need", "to", "define", "it", "here", "to", "work", "a", "round", "a", "bug", "in", "some", "versions", "of", "GAS", ",", "which", "could", "n't", "handle", "values", "smaller", "than", "INT_MIN", "when", "printed", "in", "decimal", "."], "TS_V_token": ["s390", "8", "\"\\t.quad\\t\"", "\"\\n\""], "File": "s390", "Func": "s390_assemble_integer", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 644, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMMCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "MO", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "{", "unsigned", "Reg", "=", "MO", ".", "getReg", "(", ")", ";", "unsigned", "RegNo", "=", "getARMRegisterNumbering", "(", "Reg", ")", ";", "switch", "(", "Reg", ")", "{", "default", ":", "return", "RegNo", ";", "case", "ARM", "::", "Q0", ":", "case", "ARM", "::", "Q1", ":", "case", "ARM", "::", "Q2", ":", "case", "ARM", "::", "Q3", ":", "case", "ARM", "::", "Q4", ":", "case", "ARM", "::", "Q5", ":", "case", "ARM", "::", "Q6", ":", "case", "ARM", "::", "Q7", ":", "case", "ARM", "::", "Q8", ":", "case", "ARM", "::", "Q9", ":", "case", "ARM", "::", "Q10", ":", "case", "ARM", "::", "Q11", ":", "case", "ARM", "::", "Q12", ":", "case", "ARM", "::", "Q13", ":", "case", "ARM", "::", "Q14", ":", "case", "ARM", "::", "Q15", ":", "return", "2", "*", "RegNo", ";", "}", "}", "else", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "}", "else", "if", "(", "MO", ".", "isFPImm", "(", ")", ")", "{", "return", "static_cast", "<", "unsigned", ">", "(", "APFloat", "(", "MO", ".", "getFPImm", "(", ")", ")", ".", "bitcastToAPInt", "(", ")", ".", "getHiBits", "(", "32", ")", ".", "getLimitedValue", "(", ")", ")", ";", "}", "llvm_unreachable", "(", "\"Unable to encode MCOperand!\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM::Q0", "ARM::Q1", "ARM::Q2", "ARM::Q3", "ARM::Q4", "ARM::Q5", "ARM::Q6", "ARM::Q7", "ARM::Q8", "ARM::Q9", "ARM::Q10", "ARM::Q11", "ARM::Q12", "ARM::Q13", "ARM::Q14", "ARM::Q15", "2", "32", "\"Unable to encode MCOperand!\"", "0"], "File": "ARMMCCodeEmitter13", "Func": "getMachineOpValue", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 645, "Length": 220, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "std", "::", "prev", "(", "MBB", ".", "end", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "hasFP", "(", "MF", ")", "||", "MF", ".", "getTarget", "(", ")", ".", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "None", ")", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "std", "::", "prev", "(", "MBB", ".", "end", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI_end", "=", "MBB", ".", "end", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "if", "(", "MBBI", "->", "getOpcode", "(", ")", "==", "Hexagon", "::", "EH_RETURN_JMPR", ")", "{", "assert", "(", "MBBI", "->", "getOperand", "(", "0", ")", ".", "isReg", "(", ")", "&&", "\"Offset should be in register!\"", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Hexagon", "::", "DEALLOCFRAME", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Hexagon", "::", "ADD_rr", ")", ",", "Hexagon", "::", "R29", ")", ".", "addReg", "(", "Hexagon", "::", "R29", ")", ".", "addReg", "(", "Hexagon", "::", "R28", ")", ";", "return", ";", "}", "if", "(", "STI", ".", "hasV4TOps", "(", ")", "&&", "MBBI", "->", "getOpcode", "(", ")", "==", "Hexagon", "::", "JMPret", "&&", "!", "DisableDeallocRet", ")", "{", "MachineBasicBlock", "::", "iterator", "BeforeJMPR", "=", "MBB", ".", "begin", "(", ")", "==", "MBBI", "?", "MBBI", ":", "std", "::", "prev", "(", "MBBI", ")", ";", "if", "(", "BeforeJMPR", "!=", "MBBI", "&&", "BeforeJMPR", "->", "getOpcode", "(", ")", "==", "Hexagon", "::", "RESTORE_DEALLOC_RET_JMP_V4", ")", "{", "MBB", ".", "erase", "(", "MBBI", ")", ";", "return", ";", "}", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MBBI_end", ",", "dl", ",", "TII", ".", "get", "(", "Hexagon", "::", "DEALLOC_RET_V4", ")", ")", ";", "MIB", "->", "copyImplicitOps", "(", "*", "MBB", ".", "getParent", "(", ")", ",", "&", "*", "MBBI", ")", ";", "MBB", ".", "erase", "(", "MBBI", ")", ";", "}", "else", "{", "MachineBasicBlock", "::", "iterator", "Term", "=", "MBB", ".", "getFirstTerminator", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "Term", "==", "MBB", ".", "begin", "(", ")", "?", "MBB", ".", "end", "(", ")", ":", "std", "::", "prev", "(", "Term", ")", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", "&&", "I", "->", "getOpcode", "(", ")", "==", "Hexagon", "::", "RESTORE_DEALLOC_BEFORE_TAILCALL_V4", ")", "return", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Hexagon", "::", "DEALLOCFRAME", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon::EH_RETURN_JMPR", "0", "\"Offset should be in register!\"", "Hexagon::DEALLOCFRAME", "Hexagon::ADD_rr", "Hexagon::R29", "Hexagon::R29", "Hexagon::R28", "Hexagon::JMPret", "Hexagon::RESTORE_DEALLOC_RET_JMP_V4", "Hexagon::DEALLOC_RET_V4", "Hexagon::RESTORE_DEALLOC_BEFORE_TAILCALL_V4", "Hexagon::DEALLOCFRAME"], "File": "HexagonFrameLowering18", "Func": "emitEpilogue", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 646, "Length": 389, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCFrameLowering", "::", "determineFrameLayout", "(", "MachineFunction", "&", "MF", ",", "bool", "UpdateMF", ",", "bool", "UseEstimate", ")", "const", "{", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "FrameSize", "=", "UseEstimate", "?", "MFI", "->", "estimateStackSize", "(", "MF", ")", ":", "MFI", "->", "getStackSize", "(", ")", ";", "unsigned", "TargetAlign", "=", "getStackAlignment", "(", ")", ";", "unsigned", "MaxAlign", "=", "MFI", "->", "getMaxAlignment", "(", ")", ";", "unsigned", "AlignMask", "=", "std", "::", "max", "(", "MaxAlign", ",", "TargetAlign", ")", "-", "1", ";", "const", "PPCRegisterInfo", "*", "RegInfo", "=", "static_cast", "<", "const", "PPCRegisterInfo", "*", ">", "(", "Subtarget", ".", "getRegisterInfo", "(", ")", ")", ";", "bool", "DisableRedZone", "=", "MF", ".", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "NoRedZone", ")", ";", "if", "(", "!", "DisableRedZone", "&&", "(", "Subtarget", ".", "isPPC64", "(", ")", "||", "!", "Subtarget", ".", "isSVR4ABI", "(", ")", "||", "FrameSize", "==", "0", ")", "&&", "FrameSize", "<=", "224", "&&", "!", "MFI", "->", "hasVarSizedObjects", "(", ")", "&&", "!", "MFI", "->", "adjustsStack", "(", ")", "&&", "!", "RegInfo", "->", "hasBasePointer", "(", "MF", ")", ")", "{", "if", "(", "UpdateMF", ")", "MFI", "->", "setStackSize", "(", "0", ")", ";", "return", "0", ";", "}", "unsigned", "maxCallFrameSize", "=", "MFI", "->", "getMaxCallFrameSize", "(", ")", ";", "unsigned", "minCallFrameSize", "=", "getLinkageSize", "(", "Subtarget", ".", "isPPC64", "(", ")", ",", "Subtarget", ".", "isDarwinABI", "(", ")", ",", "Subtarget", ".", "isELFv2ABI", "(", ")", ")", ";", "maxCallFrameSize", "=", "std", "::", "max", "(", "maxCallFrameSize", ",", "minCallFrameSize", ")", ";", "if", "(", "MFI", "->", "hasVarSizedObjects", "(", ")", ")", "maxCallFrameSize", "=", "(", "maxCallFrameSize", "+", "AlignMask", ")", "&", "~", "AlignMask", ";", "if", "(", "UpdateMF", ")", "MFI", "->", "setMaxCallFrameSize", "(", "maxCallFrameSize", ")", ";", "FrameSize", "+=", "maxCallFrameSize", ";", "FrameSize", "=", "(", "FrameSize", "+", "AlignMask", ")", "&", "~", "AlignMask", ";", "if", "(", "UpdateMF", ")", "MFI", "->", "setStackSize", "(", "FrameSize", ")", ";", "return", "FrameSize", ";", "}", ""], "natrual_language": ["Determine", "the", "frame", "layout", "but", "do", "not", "update", "the", "machine", "function", "."], "TS_V_token": ["PowerPC", "PPC", "1", "PPC", "PPC", "PPC", "0", "224", "0", "0", "PPC"], "File": "PPCFrameLowering22", "Func": "determineFrameLayout", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 647, "Length": 288, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emitInst", "(", "uint32_t", "Inst", ",", "char", "Suffix", ")", "{", "unsigned", "Size", ";", "char", "Buffer", "[", "4", "]", ";", "const", "bool", "LittleEndian", "=", "getContext", "(", ")", ".", "getAsmInfo", "(", ")", "->", "isLittleEndian", "(", ")", ";", "switch", "(", "Suffix", ")", "{", "case", "'\\0'", ":", "Size", "=", "4", ";", "assert", "(", "!", "IsThumb", ")", ";", "EmitARMMappingSymbol", "(", ")", ";", "for", "(", "unsigned", "II", "=", "0", ",", "IE", "=", "Size", ";", "II", "!=", "IE", ";", "II", "++", ")", "{", "const", "unsigned", "I", "=", "LittleEndian", "?", "(", "Size", "-", "II", "-", "1", ")", ":", "II", ";", "Buffer", "[", "Size", "-", "II", "-", "1", "]", "=", "uint8_t", "(", "Inst", ">>", "I", "*", "CHAR_BIT", ")", ";", "}", "break", ";", "case", "'n'", ":", "case", "'w'", ":", "Size", "=", "(", "Suffix", "==", "'n'", "?", "2", ":", "4", ")", ";", "assert", "(", "IsThumb", ")", ";", "EmitThumbMappingSymbol", "(", ")", ";", "for", "(", "unsigned", "II", "=", "0", ",", "IE", "=", "Size", ";", "II", "!=", "IE", ";", "II", "=", "II", "+", "2", ")", "{", "const", "unsigned", "I0", "=", "LittleEndian", "?", "II", "+", "0", ":", "II", "+", "1", ";", "const", "unsigned", "I1", "=", "LittleEndian", "?", "II", "+", "1", ":", "II", "+", "0", ";", "Buffer", "[", "Size", "-", "II", "-", "2", "]", "=", "uint8_t", "(", "Inst", ">>", "I0", "*", "CHAR_BIT", ")", ";", "Buffer", "[", "Size", "-", "II", "-", "1", "]", "=", "uint8_t", "(", "Inst", ">>", "I1", "*", "CHAR_BIT", ")", ";", "}", "break", ";", "default", ":", "llvm_unreachable", "(", "\"Invalid Suffix\"", ")", ";", "}", "MCELFStreamer", "::", "emitBytes", "(", "StringRef", "(", "Buffer", ",", "Size", ")", ")", ";", "}", ""], "natrual_language": ["Callback", "used", "to", "implement", "the", ".inst", "directive", "."], "TS_V_token": ["ARM", "4", "4", "ARM", "0", "1", "1", "2", "4", "0", "2", "0", "1", "1", "0", "2", "1", "\"Invalid Suffix\""], "File": "ARMELFStreamer22", "Func": "emitInst", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 648, "Length": 250, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"LEG DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["LEG", "\"LEG DAG->DAG Pattern Instruction Selection\""], "File": "LEGISelDAGToDAG1", "Func": "getPassName", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 649, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "LegalizerInfo", "*", "AArch64Subtarget", "::", "getLegalizerInfo", "(", ")", "const", "{", "return", "Legalizer", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["Expose", "LegalizerInfo", "so", "the", "clients", "can", "re-use", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64Subtarget (2)1", "Func": "getLegalizerInfo", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 650, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emit_nop_for_insn", "(", "rtx_insn", "*", "insn", ")", "{", "int", "p", ";", "rtx_insn", "*", "new_insn", ";", "if", "(", "JUMP_TABLE_DATA_P", "(", "insn", ")", ")", "{", "new_insn", "=", "emit_insn_after", "(", "gen_lnop", "(", ")", ",", "insn", ")", ";", "recog_memoized", "(", "new_insn", ")", ";", "INSN_LOCATION", "(", "new_insn", ")", "=", "UNKNOWN_LOCATION", ";", "return", ";", "}", "p", "=", "get_pipe", "(", "insn", ")", ";", "if", "(", "(", "CALL_P", "(", "insn", ")", "||", "JUMP_P", "(", "insn", ")", ")", "&&", "SCHED_ON_EVEN_P", "(", "insn", ")", ")", "new_insn", "=", "emit_insn_after", "(", "gen_lnop", "(", ")", ",", "insn", ")", ";", "else", "if", "(", "p", "==", "1", "&&", "GET_MODE", "(", "insn", ")", "==", "TImode", ")", "{", "new_insn", "=", "emit_insn_before", "(", "gen_nopn", "(", "GEN_INT", "(", "127", ")", ")", ",", "insn", ")", ";", "PUT_MODE", "(", "new_insn", ",", "TImode", ")", ";", "PUT_MODE", "(", "insn", ",", "VOIDmode", ")", ";", "}", "else", "new_insn", "=", "emit_insn_after", "(", "gen_lnop", "(", ")", ",", "insn", ")", ";", "recog_memoized", "(", "new_insn", ")", ";", "INSN_LOCATION", "(", "new_insn", ")", "=", "INSN_LOCATION", "(", "insn", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "nop", "for", "INSN", "such", "that", "the", "two", "will", "dual", "issue", ".", "This", "assumes", "INSN", "is", "8-byte", "aligned", ".", "When", "INSN", "is", "inline", "asm", "we", "emit", "an", "lnop", ".", "We", "check", "for", "TImode", "to", "handle", "a", "MULTI1", "insn", "which", "has", "dual", "issued", "its", "first", "instruction", ".", "get_pipe", "returns", "-1", "for", "MULTI0", "or", "inline", "asm", "."], "TS_V_token": ["spu", "1", "127"], "File": "spu", "Func": "emit_nop_for_insn", "Target": "spu", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 651, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "LoopInfoWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "FunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["R600"], "File": "SIAnnotateControlFlow12", "Func": "getAnalysisUsage", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 652, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "hasReservedCallFrame", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["hasReservedCallFrame", "-", "Under", "normal", "circumstances", ",", "when", "a", "frame", "pointer", "is", "not", "required", ",", "we", "reserve", "argument", "space", "for", "call", "sites", "in", "the", "function", "immediately", "on", "entry", "to", "the", "current", "function", "."], "TS_V_token": ["SystemZ"], "File": "SystemZFrameInfo", "Func": "hasReservedCallFrame", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 653, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SITargetLowering", "::", "isLegalAddressingMode", "(", "const", "DataLayout", "&", "DL", ",", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ",", "Instruction", "*", "I", ")", "const", "{", "if", "(", "AM", ".", "BaseGV", ")", "return", "false", ";", "if", "(", "AS", "==", "AMDGPUAS", "::", "GLOBAL_ADDRESS", ")", "return", "isLegalGlobalAddressingMode", "(", "AM", ")", ";", "if", "(", "AS", "==", "AMDGPUAS", "::", "CONSTANT_ADDRESS", "||", "AS", "==", "AMDGPUAS", "::", "CONSTANT_ADDRESS_32BIT", "||", "AS", "==", "AMDGPUAS", "::", "BUFFER_FAT_POINTER", ")", "{", "if", "(", "AM", ".", "BaseOffs", "%", "4", "!=", "0", ")", "return", "isLegalMUBUFAddressingMode", "(", "AM", ")", ";", "if", "(", "Ty", "->", "isSized", "(", ")", "&&", "DL", ".", "getTypeStoreSize", "(", "Ty", ")", "<", "4", ")", "return", "isLegalGlobalAddressingMode", "(", "AM", ")", ";", "if", "(", "Subtarget", "->", "getGeneration", "(", ")", "==", "AMDGPUSubtarget", "::", "SOUTHERN_ISLANDS", ")", "{", "if", "(", "!", "isUInt", "<", "8", ">", "(", "AM", ".", "BaseOffs", "/", "4", ")", ")", "return", "false", ";", "}", "else", "if", "(", "Subtarget", "->", "getGeneration", "(", ")", "==", "AMDGPUSubtarget", "::", "SEA_ISLANDS", ")", "{", "if", "(", "!", "isUInt", "<", "32", ">", "(", "AM", ".", "BaseOffs", "/", "4", ")", ")", "return", "false", ";", "}", "else", "if", "(", "Subtarget", "->", "getGeneration", "(", ")", ">=", "AMDGPUSubtarget", "::", "VOLCANIC_ISLANDS", ")", "{", "if", "(", "!", "isUInt", "<", "20", ">", "(", "AM", ".", "BaseOffs", ")", ")", "return", "false", ";", "}", "else", "llvm_unreachable", "(", "\"unhandled generation\"", ")", ";", "if", "(", "AM", ".", "Scale", "==", "0", ")", "return", "true", ";", "if", "(", "AM", ".", "Scale", "==", "1", "&&", "AM", ".", "HasBaseReg", ")", "return", "true", ";", "return", "false", ";", "}", "else", "if", "(", "AS", "==", "AMDGPUAS", "::", "PRIVATE_ADDRESS", ")", "{", "return", "isLegalMUBUFAddressingMode", "(", "AM", ")", ";", "}", "else", "if", "(", "AS", "==", "AMDGPUAS", "::", "LOCAL_ADDRESS", "||", "AS", "==", "AMDGPUAS", "::", "REGION_ADDRESS", ")", "{", "if", "(", "!", "isUInt", "<", "16", ">", "(", "AM", ".", "BaseOffs", ")", ")", "return", "false", ";", "if", "(", "AM", ".", "Scale", "==", "0", ")", "return", "true", ";", "if", "(", "AM", ".", "Scale", "==", "1", "&&", "AM", ".", "HasBaseReg", ")", "return", "true", ";", "return", "false", ";", "}", "else", "if", "(", "AS", "==", "AMDGPUAS", "::", "FLAT_ADDRESS", "||", "AS", "==", "AMDGPUAS", "::", "UNKNOWN_ADDRESS_SPACE", ")", "{", "return", "isLegalFlatAddressingMode", "(", "AM", ")", ";", "}", "else", "{", "llvm_unreachable", "(", "\"unhandled address space\"", ")", ";", "}", "}", ""], "natrual_language": ["isLegalAddressingMode", "-", "Return", "true", "if", "the", "addressing", "mode", "represented", "by", "AM", "is", "legal", "for", "this", "target", ",", "for", "a", "load/store", "of", "the", "specified", "type", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "4", "0", "4", "AMDGPU", "8", "4", "AMDGPU", "32", "4", "AMDGPU", "20", "\"unhandled generation\"", "0", "1", "AMDGPU", "AMDGPU", "AMDGPU", "16", "0", "1", "AMDGPU", "AMDGPU", "\"unhandled address space\""], "File": "SIISelLowering103", "Func": "isLegalAddressingMode", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 654, "Length": 354, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ARMBaseRegisterInfo", "::", "getDwarfRegNum", "(", "unsigned", "RegNum", ",", "bool", "isEH", ")", "const", "{", "return", "ARMGenRegisterInfo", "::", "getDwarfRegNumFull", "(", "RegNum", ",", "0", ")", ";", "}", ""], "natrual_language": ["Map", "a", "target", "register", "to", "an", "equivalent", "dwarf", "register", "number", "."], "TS_V_token": ["ARM", "ARM", "ARM", "0"], "File": "ARMBaseRegisterInfo12", "Func": "getDwarfRegNum", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 655, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "nvptx_gen_wcast", "(", "rtx", "reg", ",", "propagate_mask", "pm", ",", "unsigned", "rep", ",", "wcast_data_t", "*", "data", ")", "{", "rtx", "res", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "reg", ")", ";", "switch", "(", "mode", ")", "{", "case", "E_BImode", ":", "{", "rtx", "tmp", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "start_sequence", "(", ")", ";", "if", "(", "pm", "&", "PM_read", ")", "emit_insn", "(", "gen_sel_truesi", "(", "tmp", ",", "reg", ",", "GEN_INT", "(", "1", ")", ",", "const0_rtx", ")", ")", ";", "emit_insn", "(", "nvptx_gen_wcast", "(", "tmp", ",", "pm", ",", "rep", ",", "data", ")", ")", ";", "if", "(", "pm", "&", "PM_write", ")", "emit_insn", "(", "gen_rtx_SET", "(", "reg", ",", "gen_rtx_NE", "(", "BImode", ",", "tmp", ",", "const0_rtx", ")", ")", ")", ";", "res", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "}", "break", ";", "default", ":", "{", "rtx", "addr", "=", "data", "->", "ptr", ";", "if", "(", "!", "addr", ")", "{", "unsigned", "align", "=", "GET_MODE_ALIGNMENT", "(", "mode", ")", "/", "BITS_PER_UNIT", ";", "if", "(", "align", ">", "worker_bcast_align", ")", "worker_bcast_align", "=", "align", ";", "data", "->", "offset", "=", "(", "data", "->", "offset", "+", "align", "-", "1", ")", "&", "~", "(", "align", "-", "1", ")", ";", "addr", "=", "data", "->", "base", ";", "if", "(", "data", "->", "offset", ")", "addr", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "addr", ",", "GEN_INT", "(", "data", "->", "offset", ")", ")", ";", "}", "addr", "=", "gen_rtx_MEM", "(", "mode", ",", "addr", ")", ";", "if", "(", "pm", "==", "PM_read", ")", "res", "=", "gen_rtx_SET", "(", "addr", ",", "reg", ")", ";", "else", "if", "(", "pm", "==", "PM_write", ")", "res", "=", "gen_rtx_SET", "(", "reg", ",", "addr", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "if", "(", "data", "->", "ptr", ")", "{", "start_sequence", "(", ")", ";", "emit_insn", "(", "res", ")", ";", "emit_insn", "(", "gen_adddi3", "(", "data", "->", "ptr", ",", "data", "->", "ptr", ",", "GEN_INT", "(", "GET_MODE_SIZE", "(", "GET_MODE", "(", "reg", ")", ")", ")", ")", ")", ";", "res", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "}", "else", "rep", "=", "1", ";", "data", "->", "offset", "+=", "rep", "*", "GET_MODE_SIZE", "(", "GET_MODE", "(", "reg", ")", ")", ";", "}", "break", ";", "}", "return", "res", ";", "}", ""], "natrual_language": ["Generate", "instruction", "(", "s", ")", "to", "spill", "or", "fill", "register", "REG", "to/from", "the", "worker", "broadcast", "array", ".", "PM", "indicates", "what", "is", "to", "be", "done", ",", "REP", "how", "many", "loop", "iterations", "will", "be", "executed", "(", "0", "for", "not", "a", "loop", ")", "."], "TS_V_token": ["nvptx", "1", "1", "1", "1"], "File": "nvptx5", "Func": "nvptx_gen_wcast", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 656, "Length": 333, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "X86TargetLowering", "::", "getScalingFactorCost", "(", "const", "DataLayout", "&", "DL", ",", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ")", "const", "{", "if", "(", "isLegalAddressingMode", "(", "DL", ",", "AM", ",", "Ty", ",", "AS", ")", ")", "return", "AM", ".", "Scale", "!=", "0", ";", "return", "-", "1", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "the", "scaling", "factor", "used", "in", "the", "addressing", "mode", "represented", "by", "AM", "for", "this", "target", ",", "for", "a", "load/store", "of", "the", "specified", "type", "."], "TS_V_token": ["X86", "X86", "0", "1"], "File": "X86ISelLowering (2)5", "Func": "getScalingFactorCost", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 657, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "avr_function_arg_advance", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "int", "bytes", "=", "avr_num_arg_regs", "(", "mode", ",", "type", ")", ";", "cum", "->", "nregs", "-=", "bytes", ";", "cum", "->", "regno", "-=", "bytes", ";", "if", "(", "cum", "->", "regno", ">=", "8", "&&", "cum", "->", "nregs", ">=", "0", "&&", "!", "call_used_regs", "[", "cum", "->", "regno", "]", ")", "{", "cfun", "->", "machine", "->", "sibcall_fails", "=", "1", ";", "}", "if", "(", "cum", "->", "regno", ">=", "8", "&&", "cum", "->", "nregs", ">=", "0", ")", "{", "int", "regno", ";", "for", "(", "regno", "=", "cum", "->", "regno", ";", "regno", "<", "cum", "->", "regno", "+", "bytes", ";", "regno", "++", ")", "if", "(", "fixed_regs", "[", "regno", "]", ")", "warning", "(", "0", ",", "\"fixed register %s used to pass parameter to function\"", ",", "reg_names", "[", "regno", "]", ")", ";", "}", "if", "(", "cum", "->", "nregs", "<=", "0", ")", "{", "cum", "->", "nregs", "=", "0", ";", "cum", "->", "regno", "=", "FIRST_CUM_REG", ";", "}", "}", ""], "natrual_language": ["Update", "the", "summarizer", "variable", "CUM", "to", "advance", "past", "an", "argument", "in", "the", "argument", "list", "."], "TS_V_token": ["avr", "8", "0", "1", "8", "0", "0", "\"fixed register %s used to pass parameter to function\"", "0", "0"], "File": "avr4", "Func": "avr_function_arg_advance", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 658, "Length": 161, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "BPFTargetMachine", "::", "registerPassBuilderCallbacks", "(", "PassBuilder", "&", "PB", ")", "{", "PB", ".", "registerPipelineStartEPCallback", "(", "[", "=", "]", "(", "ModulePassManager", "&", "MPM", ",", "PassBuilder", "::", "OptimizationLevel", ")", "{", "FunctionPassManager", "FPM", ";", "FPM", ".", "addPass", "(", "BPFAbstractMemberAccessPass", "(", "this", ")", ")", ";", "FPM", ".", "addPass", "(", "BPFPreserveDITypePass", "(", ")", ")", ";", "MPM", ".", "addPass", "(", "createModuleToFunctionPassAdaptor", "(", "std", "::", "move", "(", "FPM", ")", ")", ")", ";", "}", ")", ";", "PB", ".", "registerPeepholeEPCallback", "(", "[", "=", "]", "(", "FunctionPassManager", "&", "FPM", ",", "PassBuilder", "::", "OptimizationLevel", "Level", ")", "{", "FPM", ".", "addPass", "(", "SimplifyCFGPass", "(", "SimplifyCFGOptions", "(", ")", ".", "hoistCommonInsts", "(", "true", ")", ")", ")", ";", "}", ")", ";", "PB", ".", "registerPipelineEarlySimplificationEPCallback", "(", "[", "=", "]", "(", "ModulePassManager", "&", "MPM", ",", "PassBuilder", "::", "OptimizationLevel", ")", "{", "MPM", ".", "addPass", "(", "BPFAdjustOptPass", "(", ")", ")", ";", "}", ")", ";", "}", ""], "natrual_language": ["Invoke", "the", "PassBuilder", "callback", "registration", "."], "TS_V_token": ["BPF", "BPF", "BPF", "BPF", "BPF"], "File": "BPFTargetMachine28", "Func": "registerPassBuilderCallbacks", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 659, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["R600"], "File": "SIShrinkInstructions10", "Func": "getAnalysisUsage", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 660, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLoweringObjectFile", "*", "getObjFileLowering", "(", ")", "const", "override", "{", "return", "TLOF", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["Return", "information", "about", "object", "file", "lowering", "."], "TS_V_token": ["MINA32"], "File": "MINA32TargetMachine", "Func": "getObjFileLowering", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 661, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVAsmBackend", "::", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsResolved", ")", "const", "{", "return", ";", "}", ""], "natrual_language": ["Apply", "the", "Value", "for", "given", "Fixup", "into", "the", "provided", "data", "fragment", ",", "at", "the", "offset", "specified", "by", "the", "fixup", "and", "following", "the", "fixup", "kind", "as", "appropriate", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVAsmBackend27", "Func": "applyFixup", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 662, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "s390_expand_atomic_exchange_tdsi", "(", "rtx", "output", ",", "rtx", "mem", ",", "rtx", "input", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "rtx_code_label", "*", "csloop", ";", "if", "(", "TARGET_Z196", "&&", "(", "mode", "==", "DImode", "||", "mode", "==", "SImode", ")", "&&", "CONST_INT_P", "(", "input", ")", "&&", "INTVAL", "(", "input", ")", "==", "0", ")", "{", "emit_move_insn", "(", "output", ",", "const0_rtx", ")", ";", "if", "(", "mode", "==", "DImode", ")", "emit_insn", "(", "gen_atomic_fetch_anddi", "(", "output", ",", "mem", ",", "const0_rtx", ",", "input", ")", ")", ";", "else", "emit_insn", "(", "gen_atomic_fetch_andsi", "(", "output", ",", "mem", ",", "const0_rtx", ",", "input", ")", ")", ";", "return", ";", "}", "input", "=", "force_reg", "(", "mode", ",", "input", ")", ";", "emit_move_insn", "(", "output", ",", "mem", ")", ";", "csloop", "=", "gen_label_rtx", "(", ")", ";", "emit_label", "(", "csloop", ")", ";", "s390_emit_jump", "(", "csloop", ",", "s390_emit_compare_and_swap", "(", "NE", ",", "output", ",", "mem", ",", "output", ",", "input", ",", "CCZ1mode", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "an", "atomic_exchange", "operation", "simulated", "with", "a", "compare-and-swap", "loop", ".", "The", "memory", "location", "MEM", "is", "set", "to", "INPUT", ".", "OUTPUT", "is", "set", "to", "the", "previous", "value", "of", "MEM", "."], "TS_V_token": ["s390", "0"], "File": "s390", "Func": "s390_expand_atomic_exchange_tdsi", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 663, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Z80FrameLowering", "::", "assignCalleeSavedSpillSlots", "(", "MachineFunction", "&", "MF", ",", "const", "TargetRegisterInfo", "*", "TRI", ",", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ")", "const", "{", "MF", ".", "getInfo", "<", "Z80MachineFunctionInfo", ">", "(", ")", "->", "setCalleeSavedFrameSize", "(", "(", "CSI", ".", "size", "(", ")", "+", "hasFP", "(", "MF", ")", ")", "*", "SlotSize", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "function", "will", "assign", "callee", "saved", "gprs", "to", "volatile", "vector", "registers", "for", "prologue", "spills", "when", "applicable", "."], "TS_V_token": ["Z80", "Z80", "Z80"], "File": "Z80FrameLowering2", "Func": "assignCalleeSavedSpillSlots", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 664, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64Subtarget", "::", "AArch64Subtarget", "(", "const", "Triple", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "const", "TargetMachine", "&", "TM", ",", "bool", "LittleEndian", ")", ":", "AArch64GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "ReserveXRegister", "(", "AArch64", "::", "GPR64commonRegClass", ".", "getNumRegs", "(", ")", ")", ",", "IsLittle", "(", "LittleEndian", ")", ",", "TargetTriple", "(", "TT", ")", ",", "FrameLowering", "(", ")", ",", "InstrInfo", "(", "initializeSubtargetDependencies", "(", "FS", ",", "CPU", ")", ")", ",", "TSInfo", "(", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", "{", "if", "(", "AArch64", "::", "isX18ReservedByDefault", "(", "TT", ")", ")", "ReserveXRegister", ".", "set", "(", "18", ")", ";", "CallLoweringInfo", ".", "reset", "(", "new", "AArch64CallLowering", "(", "*", "getTargetLowering", "(", ")", ")", ")", ";", "Legalizer", ".", "reset", "(", "new", "AArch64LegalizerInfo", "(", "*", "this", ")", ")", ";", "auto", "*", "RBI", "=", "new", "AArch64RegisterBankInfo", "(", "*", "getRegisterInfo", "(", ")", ")", ";", "InstSelector", ".", "reset", "(", "createAArch64InstructionSelector", "(", "*", "static_cast", "<", "const", "AArch64TargetMachine", "*", ">", "(", "&", "TM", ")", ",", "*", "this", ",", "*", "RBI", ")", ")", ";", "RegBankInfo", ".", "reset", "(", "RBI", ")", ";", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "AArch64::GPR64commonRegClass", "AArch64::isX18ReservedByDefault", "18", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64Subtarget10", "Func": "AArch64Subtarget", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 665, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "XCoreFrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "ArrayRef", "<", "CalleeSavedInfo", ">", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "true", ";", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", "->", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "XCoreFunctionInfo", "*", "XFI", "=", "MF", "->", "getInfo", "<", "XCoreFunctionInfo", ">", "(", ")", ";", "bool", "emitFrameMoves", "=", "XCoreRegisterInfo", "::", "needsFrameMoves", "(", "*", "MF", ")", ";", "DebugLoc", "DL", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", "&&", "!", "MI", "->", "isDebugInstr", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "for", "(", "const", "CalleeSavedInfo", "&", "I", ":", "CSI", ")", "{", "Register", "Reg", "=", "I", ".", "getReg", "(", ")", ";", "assert", "(", "Reg", "!=", "XCore", "::", "LR", "&&", "!", "(", "Reg", "==", "XCore", "::", "R10", "&&", "hasFP", "(", "*", "MF", ")", ")", "&&", "\"LR & FP are always handled in emitPrologue\"", ")", ";", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "TII", ".", "storeRegToStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "true", ",", "I", ".", "getFrameIdx", "(", ")", ",", "RC", ",", "TRI", ")", ";", "if", "(", "emitFrameMoves", ")", "{", "auto", "Store", "=", "MI", ";", "--", "Store", ";", "XFI", "->", "getSpillLabels", "(", ")", ".", "push_back", "(", "std", "::", "make_pair", "(", "Store", ",", "I", ")", ")", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["spillCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "spill", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "store", "instructions", "via", "storeRegToStackSlot", "(", ")", "."], "TS_V_token": ["XCore", "XCore", "XCore", "XCore", "XCore", "XCore::LR", "XCore::R10", "\"LR & FP are always handled in emitPrologue\""], "File": "XCoreFrameLowering21", "Func": "spillCalleeSavedRegisters", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 666, "Length": 240, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MipsTargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_Mips", ")", ";", "if", "(", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "liveout_empty", "(", ")", ")", "{", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "if", "(", "RVLocs", "[", "i", "]", ".", "isRegLoc", "(", ")", ")", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "addLiveOut", "(", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ")", ";", "}", "SDValue", "Flag", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Can only return in registers!\"", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "OutVals", "[", "i", "]", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "}", "if", "(", "DAG", ".", "getMachineFunction", "(", ")", ".", "getFunction", "(", ")", "->", "hasStructRetAttr", "(", ")", ")", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "MipsFunctionInfo", "*", "MipsFI", "=", "MF", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", ";", "unsigned", "Reg", "=", "MipsFI", "->", "getSRetReturnReg", "(", ")", ";", "if", "(", "!", "Reg", ")", "llvm_unreachable", "(", "\"sret virtual register not created in the entry block\"", ")", ";", "SDValue", "Val", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "Reg", ",", "getPointerTy", "(", ")", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "Mips", "::", "V0", ",", "Val", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "}", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "return", "DAG", ".", "getNode", "(", "MipsISD", "::", "Ret", ",", "dl", ",", "MVT", "::", "Other", ",", "Chain", ",", "DAG", ".", "getRegister", "(", "Mips", "::", "RA", ",", "MVT", "::", "i32", ")", ",", "Flag", ")", ";", "else", "return", "DAG", ".", "getNode", "(", "MipsISD", "::", "Ret", ",", "dl", ",", "MVT", "::", "Other", ",", "Chain", ",", "DAG", ".", "getRegister", "(", "Mips", "::", "RA", ",", "MVT", "::", "i32", ")", ")", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "outgoing", "return", "values", ",", "described", "by", "the", "Outs", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["Mips", "Mips", "ISD::OutputArg", "16", "Mips", "0", "0", "\"Can only return in registers!\"", "1", "Mips", "Mips", "Mips", "Mips", "\"sret virtual register not created in the entry block\"", "Mips::V0", "1", "MipsISD::Ret", "MVT::Other", "Mips::RA", "MVT::i32", "MipsISD::Ret", "MVT::Other", "Mips::RA", "MVT::i32"], "File": "MipsISelLowering (2)3", "Func": "LowerReturn", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 667, "Length": 412, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rvexFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "rvexFunctionInfo", "*", "rvexFI", "=", "MF", ".", "getInfo", "<", "rvexFunctionInfo", ">", "(", ")", ";", "const", "rvexInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "rvexInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "unsigned", "SP", "=", "rvex", "::", "R1", ";", "unsigned", "ADDiu", "=", "rvex", "::", "ADDiu", ";", "unsigned", "StackAlign", "=", "getStackAlignment", "(", ")", ";", "unsigned", "LocalVarAreaOffset", "=", "rvexFI", "->", "getMaxCallFrameSize", "(", ")", ";", "uint64_t", "StackSize", "=", "RoundUpToAlignment", "(", "LocalVarAreaOffset", ",", "StackAlign", ")", "+", "RoundUpToAlignment", "(", "MFI", "->", "getStackSize", "(", ")", ",", "StackAlign", ")", ";", "MFI", "->", "setStackSize", "(", "StackSize", ")", ";", "if", "(", "StackSize", "==", "0", "&&", "!", "MFI", "->", "adjustsStack", "(", ")", ")", "return", ";", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "std", "::", "vector", "<", "MachineMove", ">", "&", "Moves", "=", "MMI", ".", "getFrameMoves", "(", ")", ";", "MachineLocation", "DstML", ",", "SrcML", ";", "if", "(", "isInt", "<", "16", ">", "(", "-", "StackSize", ")", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ADDiu", ")", ",", "SP", ")", ".", "addReg", "(", "SP", ")", ".", "addImm", "(", "-", "StackSize", ")", ";", "else", "{", "assert", "(", "\"No expandLargeImm(SP, -StackSize, false, TII, MBB, MBBI, dl);\"", ")", ";", "}", "MCSymbol", "*", "AdjustSPLabel", "=", "MMI", ".", "getContext", "(", ")", ".", "CreateTempSymbol", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "PROLOG_LABEL", ")", ")", ".", "addSym", "(", "AdjustSPLabel", ")", ";", "DstML", "=", "MachineLocation", "(", "MachineLocation", "::", "VirtualFP", ")", ";", "SrcML", "=", "MachineLocation", "(", "MachineLocation", "::", "VirtualFP", ",", "-", "StackSize", ")", ";", "Moves", ".", "push_back", "(", "MachineMove", "(", "AdjustSPLabel", ",", "DstML", ",", "SrcML", ")", ")", ";", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", "->", "getCalleeSavedInfo", "(", ")", ";", "if", "(", "CSI", ".", "size", "(", ")", ")", "{", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "CSI", ".", "size", "(", ")", ";", "++", "i", ")", "++", "MBBI", ";", "MCSymbol", "*", "CSLabel", "=", "MMI", ".", "getContext", "(", ")", ".", "CreateTempSymbol", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "PROLOG_LABEL", ")", ")", ".", "addSym", "(", "CSLabel", ")", ";", "for", "(", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "::", "const_iterator", "I", "=", "CSI", ".", "begin", "(", ")", ",", "E", "=", "CSI", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "int64_t", "Offset", "=", "MFI", "->", "getObjectOffset", "(", "I", "->", "getFrameIdx", "(", ")", ")", ";", "unsigned", "Reg", "=", "I", "->", "getReg", "(", ")", ";", "{", "DstML", "=", "MachineLocation", "(", "MachineLocation", "::", "VirtualFP", ",", "Offset", ")", ";", "SrcML", "=", "MachineLocation", "(", "Reg", ")", ";", "Moves", ".", "push_back", "(", "MachineMove", "(", "CSLabel", ",", "DstML", ",", "SrcML", ")", ")", ";", "}", "}", "}", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["rvex", "rvex", "rvex", "rvex", "rvex", "rvex", "rvex", "rvex::R1", "rvex::ADDiu", "rvex", "0", "16", "\"No expandLargeImm(SP, -StackSize, false, TII, MBB, MBBI, dl);\"", "0"], "File": "rvexFrameLowering", "Func": "emitPrologue", "Target": "rvex", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 668, "Length": 500, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetLowering", "::", "getOpndList", "(", "SmallVectorImpl", "<", "SDValue", ">", "&", "Ops", ",", "std", "::", "deque", "<", "std", "::", "pair", "<", "unsigned", ",", "SDValue", ">", ">", "&", "RegsToPass", ",", "bool", "IsPICCall", ",", "bool", "GlobalOrExternal", ",", "bool", "InternalLinkage", ",", "bool", "IsCallReloc", ",", "CallLoweringInfo", "&", "CLI", ",", "SDValue", "Callee", ",", "SDValue", "Chain", ")", "const", "{", "if", "(", "IsPICCall", "&&", "!", "InternalLinkage", "&&", "IsCallReloc", ")", "{", "unsigned", "GPReg", "=", "Subtarget", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "GP_64", ":", "Mips", "::", "GP", ";", "EVT", "Ty", "=", "Subtarget", ".", "isABI_N64", "(", ")", "?", "MVT", "::", "i64", ":", "MVT", "::", "i32", ";", "RegsToPass", ".", "push_back", "(", "std", "::", "make_pair", "(", "GPReg", ",", "getGlobalReg", "(", "CLI", ".", "DAG", ",", "Ty", ")", ")", ")", ";", "}", "SDValue", "InFlag", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "RegsToPass", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "Chain", "=", "CLI", ".", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "CLI", ".", "DL", ",", "RegsToPass", "[", "i", "]", ".", "first", ",", "RegsToPass", "[", "i", "]", ".", "second", ",", "InFlag", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "}", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "RegsToPass", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "Ops", ".", "push_back", "(", "CLI", ".", "DAG", ".", "getRegister", "(", "RegsToPass", "[", "i", "]", ".", "first", ",", "RegsToPass", "[", "i", "]", ".", "second", ".", "getValueType", "(", ")", ")", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "getTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "getRegisterInfo", "(", ")", ";", "const", "uint32_t", "*", "Mask", "=", "TRI", "->", "getCallPreservedMask", "(", "CLI", ".", "CallConv", ")", ";", "assert", "(", "Mask", "&&", "\"Missing call preserved mask for calling convention\"", ")", ";", "if", "(", "Subtarget", ".", "inMips16HardFloat", "(", ")", ")", "{", "if", "(", "GlobalAddressSDNode", "*", "G", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "CLI", ".", "Callee", ")", ")", "{", "llvm", "::", "StringRef", "Sym", "=", "G", "->", "getGlobal", "(", ")", "->", "getName", "(", ")", ";", "Function", "*", "F", "=", "G", "->", "getGlobal", "(", ")", "->", "getParent", "(", ")", "->", "getFunction", "(", "Sym", ")", ";", "if", "(", "F", "&&", "F", "->", "hasFnAttribute", "(", "\"__Mips16RetHelper\"", ")", ")", "{", "Mask", "=", "MipsRegisterInfo", "::", "getMips16RetHelperMask", "(", ")", ";", "}", "}", "}", "Ops", ".", "push_back", "(", "CLI", ".", "DAG", ".", "getRegisterMask", "(", "Mask", ")", ")", ";", "if", "(", "InFlag", ".", "getNode", "(", ")", ")", "Ops", ".", "push_back", "(", "InFlag", ")", ";", "}", ""], "natrual_language": ["This", "function", "fills", "Ops", ",", "which", "is", "the", "list", "of", "operands", "that", "will", "later", "be", "used", "when", "a", "function", "call", "node", "is", "created", "."], "TS_V_token": ["Mips", "Mips", "Mips::GP_64", "Mips::GP", "MVT::i64", "MVT::i32", "0", "1", "0", "\"Missing call preserved mask for calling convention\"", "Mips", "\"__Mips16RetHelper\"", "Mips", "Mips"], "File": "MipsISelLowering108", "Func": "getOpndList", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 669, "Length": 388, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "s390_cannot_force_const_mem", "(", "machine_mode", "mode", ",", "rtx", "x", ")", "{", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "CONST_INT", ":", "case", "CONST_DOUBLE", ":", "case", "CONST_WIDE_INT", ":", "case", "CONST_VECTOR", ":", "return", "false", ";", "case", "NEG", ":", "switch", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", ")", "{", "case", "CONST_INT", ":", "case", "CONST_DOUBLE", ":", "case", "CONST_WIDE_INT", ":", "return", "false", ";", "default", ":", "return", "true", ";", "}", "case", "LABEL_REF", ":", "return", "flag_pic", "!=", "0", ";", "case", "SYMBOL_REF", ":", "if", "(", "tls_symbolic_operand", "(", "x", ")", ")", "return", "true", ";", "else", "return", "flag_pic", "!=", "0", ";", "case", "CONST", ":", "return", "s390_cannot_force_const_mem", "(", "mode", ",", "XEXP", "(", "x", ",", "0", ")", ")", ";", "case", "PLUS", ":", "case", "MINUS", ":", "return", "s390_cannot_force_const_mem", "(", "mode", ",", "XEXP", "(", "x", ",", "0", ")", ")", "||", "s390_cannot_force_const_mem", "(", "mode", ",", "XEXP", "(", "x", ",", "1", ")", ")", ";", "case", "UNSPEC", ":", "switch", "(", "XINT", "(", "x", ",", "1", ")", ")", "{", "case", "UNSPEC_LTREL_OFFSET", ":", "case", "UNSPEC_GOT", ":", "case", "UNSPEC_GOTOFF", ":", "case", "UNSPEC_PLTOFF", ":", "case", "UNSPEC_TLSGD", ":", "case", "UNSPEC_TLSLDM", ":", "case", "UNSPEC_NTPOFF", ":", "case", "UNSPEC_DTPOFF", ":", "case", "UNSPEC_GOTNTPOFF", ":", "case", "UNSPEC_INDNTPOFF", ":", "return", "false", ";", "case", "UNSPEC_INSN", ":", "default", ":", "return", "true", ";", "}", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Determine", "if", "it", "'s", "legal", "to", "put", "X", "into", "the", "constant", "pool", ".", "This", "is", "not", "possible", "if", "X", "contains", "the", "address", "of", "a", "symbol", "that", "is", "not", "constant", "(", "TLS", ")", "or", "not", "known", "at", "final", "link", "time", "(", "PIC", ")", "."], "TS_V_token": ["s390", "0", "0", "0", "0", "0", "1", "1"], "File": "s390", "Func": "s390_cannot_force_const_mem", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 670, "Length": 207, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "assign_int_registers", "(", "int", "bitpos", ",", "assign_data_t", "*", "data", ")", "{", "int", "intoffset", "=", "data", "->", "intoffset", ";", "machine_mode", "mode", ";", "int", "nregs", ";", "if", "(", "!", "compute_int_layout", "(", "bitpos", ",", "data", ",", "&", "nregs", ")", ")", "return", ";", "if", "(", "intoffset", "%", "BITS_PER_WORD", "!=", "0", ")", "mode", "=", "smallest_int_mode_for_size", "(", "BITS_PER_WORD", "-", "intoffset", "%", "BITS_PER_WORD", ")", ";", "else", "mode", "=", "word_mode", ";", "const", "int", "this_slotno", "=", "data", "->", "slotno", "+", "intoffset", "/", "BITS_PER_WORD", ";", "unsigned", "int", "regno", "=", "data", "->", "regbase", "+", "this_slotno", ";", "intoffset", "/=", "BITS_PER_UNIT", ";", "do", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "XVECEXP", "(", "data", "->", "ret", ",", "0", ",", "data", "->", "stack", "+", "data", "->", "nregs", ")", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "reg", ",", "GEN_INT", "(", "intoffset", ")", ")", ";", "data", "->", "nregs", "+=", "1", ";", "mode", "=", "word_mode", ";", "regno", "+=", "1", ";", "intoffset", "=", "(", "intoffset", "|", "(", "UNITS_PER_WORD", "-", "1", ")", ")", "+", "1", ";", "}", "while", "(", "--", "nregs", ">", "0", ")", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "function_arg_record_value", ".", "Assign", "the", "bits", "of", "the", "structure", "between", "PARMS-", ">", "intoffset", "and", "BITPOS", "to", "integer", "registers", "."], "TS_V_token": ["sparc", "0", "0", "1", "1", "1", "1", "0"], "File": "sparc", "Func": "assign_int_registers", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 671, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addIRPasses", "(", ")", "{", "addPass", "(", "createAtomicExpandPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableAtomicTidy", ")", "addPass", "(", "createCFGSimplificationPass", "(", "1", ",", "true", ",", "true", ",", "false", ",", "true", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "if", "(", "EnableLoopDataPrefetch", ")", "addPass", "(", "createLoopDataPrefetchPass", "(", ")", ")", ";", "if", "(", "EnableFalkorHWPFFix", ")", "addPass", "(", "createFalkorMarkStridedAccessesPass", "(", ")", ")", ";", "}", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createInterleavedLoadCombinePass", "(", ")", ")", ";", "addPass", "(", "createInterleavedAccessPass", "(", ")", ")", ";", "}", "if", "(", "TM", "->", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "Aggressive", "&&", "EnableGEPOpt", ")", "{", "addPass", "(", "createSeparateConstOffsetFromGEPPass", "(", "true", ")", ")", ";", "addPass", "(", "createEarlyCSEPass", "(", ")", ")", ";", "addPass", "(", "createLICMPass", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["AArch64", "AArch64", "1"], "File": "AArch64TargetMachine (2)3", "Func": "addIRPasses", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 672, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TOYInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "BuildMI", "(", "MBB", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "get", "(", "TOY", "::", "LDR", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addImm", "(", "0", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["TOY", "TOY", "TOY::LDR", "0"], "File": "TOYInstrInfo1", "Func": "loadRegFromStackSlot", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 673, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FixupLEAPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Func", ")", "{", "if", "(", "skipFunction", "(", "Func", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "MF", "=", "&", "Func", ";", "const", "X86Subtarget", "&", "ST", "=", "Func", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "OptIncDec", "=", "!", "ST", ".", "slowIncDec", "(", ")", "||", "Func", ".", "getFunction", "(", ")", ".", "optForMinSize", "(", ")", ";", "OptLEA", "=", "ST", ".", "LEAusesAG", "(", ")", "||", "ST", ".", "slowLEA", "(", ")", "||", "ST", ".", "slow3OpsLEA", "(", ")", ";", "if", "(", "!", "OptLEA", "&&", "!", "OptIncDec", ")", "return", "false", ";", "TSM", ".", "init", "(", "&", "Func", ".", "getSubtarget", "(", ")", ")", ";", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Start X86FixupLEAs\\n\"", ";", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "I", "=", "Func", ".", "begin", "(", ")", ",", "E", "=", "Func", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "processBasicBlock", "(", "Func", ",", "I", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"End X86FixupLEAs\\n\"", ";", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "\"Start X86FixupLEAs\\n\"", "\"End X86FixupLEAs\\n\""], "File": "X86FixupLEAs10", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 674, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "ARMBaseInstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "getSubtargetImpl", "(", ")", "->", "getInstrInfo", "(", ")", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMTargetMachine5", "Func": "getInstrInfo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 675, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "m68k_sched_dfa_pre_advance_cycle", "(", "void", ")", "{", "if", "(", "!", "sched_ib", ".", "enabled_p", ")", "return", ";", "if", "(", "!", "cpu_unit_reservation_p", "(", "curr_state", ",", "sched_mem_unit_code", ")", ")", "{", "sched_ib", ".", "filled", "+=", "2", ";", "if", "(", "sched_ib", ".", "filled", ">", "sched_ib", ".", "size", ")", "sched_ib", ".", "filled", "=", "sched_ib", ".", "size", ";", "}", "}", ""], "natrual_language": ["Implementation", "of", "targetm.sched.dfa_pre_advance_cycle", "(", ")", "hook", ".", "It", "is", "invoked", "just", "before", "current", "cycle", "finishes", "and", "is", "used", "here", "to", "track", "if", "instruction", "buffer", "got", "its", "two", "words", "this", "cycle", "."], "TS_V_token": ["m68k", "2"], "File": "m68k", "Func": "m68k_sched_dfa_pre_advance_cycle", "Target": "m68k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 676, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isLdStPairSuppressed", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "static_assert", "(", "MOSuppressPair", "<", "(", "1", "<<", "MachineMemOperand", "::", "MOTargetNumBits", ")", ",", "\"Too many target MO flags\"", ")", ";", "for", "(", "auto", "*", "MM", ":", "MI", ".", "memoperands", "(", ")", ")", "{", "if", "(", "MM", "->", "getFlags", "(", ")", "&", "(", "MOSuppressPair", "<<", "MachineMemOperand", "::", "MOTargetStartBit", ")", ")", "{", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "pairing", "the", "given", "load", "or", "store", "is", "hinted", "to", "be", "unprofitable", "."], "TS_V_token": ["AArch64", "AArch64", "1", "\"Too many target MO flags\""], "File": "AArch64InstrInfo114", "Func": "isLdStPairSuppressed", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 677, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_darwin64_record_arg_advance_flush", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "HOST_WIDE_INT", "bitpos", ",", "int", "final", ")", "{", "unsigned", "int", "startbit", ",", "endbit", ";", "int", "intregs", ",", "intoffset", ";", "machine_mode", "mode", ";", "if", "(", "cum", "->", "floats_in_gpr", "==", "1", "&&", "(", "cum", "->", "intoffset", "%", "64", "==", "0", "||", "(", "cum", "->", "intoffset", "==", "-", "1", "&&", "final", ")", ")", ")", "{", "cum", "->", "words", "++", ";", "cum", "->", "floats_in_gpr", "=", "0", ";", "}", "if", "(", "cum", "->", "intoffset", "==", "-", "1", ")", "return", ";", "intoffset", "=", "cum", "->", "intoffset", ";", "cum", "->", "intoffset", "=", "-", "1", ";", "cum", "->", "floats_in_gpr", "=", "0", ";", "if", "(", "intoffset", "%", "BITS_PER_WORD", "!=", "0", ")", "{", "mode", "=", "mode_for_size", "(", "BITS_PER_WORD", "-", "intoffset", "%", "BITS_PER_WORD", ",", "MODE_INT", ",", "0", ")", ";", "if", "(", "mode", "==", "BLKmode", ")", "{", "intoffset", "=", "ROUND_DOWN", "(", "intoffset", ",", "BITS_PER_WORD", ")", ";", "}", "}", "startbit", "=", "ROUND_DOWN", "(", "intoffset", ",", "BITS_PER_WORD", ")", ";", "endbit", "=", "ROUND_UP", "(", "bitpos", ",", "BITS_PER_WORD", ")", ";", "intregs", "=", "(", "endbit", "-", "startbit", ")", "/", "BITS_PER_WORD", ";", "cum", "->", "words", "+=", "intregs", ";", "if", "(", "(", "unsigned", ")", "cum", "->", "words", "<", "(", "endbit", "/", "BITS_PER_WORD", ")", ")", "{", "int", "pad", "=", "(", "endbit", "/", "BITS_PER_WORD", ")", "-", "cum", "->", "words", ";", "cum", "->", "words", "+=", "pad", ";", "}", "}", ""], "natrual_language": ["Use", "this", "to", "flush", "pending", "int", "fields", "."], "TS_V_token": ["rs6000", "1", "64", "0", "1", "0", "1", "1", "0", "0", "0"], "File": "rs60005", "Func": "rs6000_darwin64_record_arg_advance_flush", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 678, "Length": 214, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyAsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "OS", ")", "{", "if", "(", "AsmVariant", "!=", "0", ")", "report_fatal_error", "(", "\"There are no defined alternate asm variants\"", ")", ";", "return", "AsmPrinter", "::", "PrintAsmMemoryOperand", "(", "MI", ",", "OpNo", ",", "AsmVariant", ",", "ExtraCode", ",", "OS", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "operand", "of", "MI", ",", "an", "INLINEASM", "instruction", ",", "using", "the", "specified", "assembler", "variant", "as", "an", "address", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "0", "\"There are no defined alternate asm variants\""], "File": "WebAssemblyAsmPrinter (3)", "Func": "PrintAsmMemoryOperand", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 679, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "section", "*", "vms_function_section", "(", "tree", "decl", "ATTRIBUTE_UNUSED", ",", "enum", "node_frequency", "freq", "ATTRIBUTE_UNUSED", ",", "bool", "startup", "ATTRIBUTE_UNUSED", ",", "bool", "exit", "ATTRIBUTE_UNUSED", ")", "{", "return", "NULL", ";", "}", ""], "natrual_language": ["Always", "default", "to", ".text", "section", "."], "TS_V_token": ["vms"], "File": "vms", "Func": "vms_function_section", "Target": "vms", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 680, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "m68hc11_asm_out_destructor", "(", "rtx", "symbol", ",", "int", "priority", ")", "{", "default_dtor_section_asm_out_destructor", "(", "symbol", ",", "priority", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.globl\\t__do_global_dtors\\n\"", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_ASM_DESTRUCTOR", "."], "TS_V_token": ["m68hc11", "\"\\t.globl\\t__do_global_dtors\\n\""], "File": "m68hc111", "Func": "m68hc11_asm_out_destructor", "Target": "m68hc11", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 681, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SIInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "if", "(", "!", "MI", ".", "mayLoad", "(", ")", ")", "return", "AMDGPU", "::", "NoRegister", ";", "if", "(", "isMUBUF", "(", "MI", ")", "||", "isVGPRSpill", "(", "MI", ")", ")", "return", "isStackAccess", "(", "MI", ",", "FrameIndex", ")", ";", "if", "(", "isSGPRSpill", "(", "MI", ")", ")", "return", "isSGPRStackAccess", "(", "MI", ",", "FrameIndex", ")", ";", "return", "AMDGPU", "::", "NoRegister", ";", "}", ""], "natrual_language": ["isLoadFromStackSlot", "-", "If", "the", "specified", "machine", "instruction", "is", "a", "direct", "load", "from", "a", "stack", "slot", ",", "return", "the", "virtual", "or", "physical", "register", "number", "of", "the", "destination", "along", "with", "the", "FrameIndex", "of", "the", "loaded", "stack", "slot", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU::NoRegister", "AMDGPU::NoRegister"], "File": "SIInstrInfo (2)", "Func": "isLoadFromStackSlot", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 682, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCTargetLowering", "::", "getByValTypeAlignment", "(", "const", "Type", "*", "Ty", ")", "const", "{", "const", "TargetMachine", "&", "TM", "=", "getTargetMachine", "(", ")", ";", "if", "(", "TM", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "isDarwin", "(", ")", ")", "return", "4", ";", "return", "4", ";", "}", ""], "natrual_language": ["Return", "the", "desired", "alignment", "for", "ByVal", "aggregate", "function", "arguments", "in", "the", "caller", "parameter", "area", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "4", "4"], "File": "PPCISelLowering115", "Func": "getByValTypeAlignment", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 683, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "s390_gen_lowpart_subreg", "(", "machine_mode", "mode", ",", "rtx", "expr", ")", "{", "rtx", "lowpart", "=", "gen_lowpart", "(", "mode", ",", "expr", ")", ";", "if", "(", "!", "SUBREG_P", "(", "lowpart", ")", ")", "{", "machine_mode", "reg_mode", "=", "TARGET_ZARCH", "?", "DImode", ":", "SImode", ";", "gcc_assert", "(", "REG_P", "(", "lowpart", ")", ")", ";", "lowpart", "=", "gen_lowpart_SUBREG", "(", "mode", ",", "gen_rtx_REG", "(", "reg_mode", ",", "REGNO", "(", "lowpart", ")", ")", ")", ";", "}", "return", "lowpart", ";", "}", ""], "natrual_language": ["Generate", "a", "SUBREG", "for", "the", "MODE", "lowpart", "of", "EXPR", ".", "In", "contrast", "to", "gen_lowpart", "it", "will", "always", "return", "a", "SUBREG", "expression", ".", "This", "is", "useful", "to", "generate", "STRICT_LOW_PART", "expressions", "."], "TS_V_token": ["s390"], "File": "s3901", "Func": "s390_gen_lowpart_subreg", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 684, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "main", "(", "void", ")", "{", "enum", "avr_arch_id", "arch_id", "=", "ARCH_UNKNOWN", ";", "size_t", "i", ",", "n_mcus", "=", "0", ";", "const", "avr_mcu_t", "*", "mcu", ";", "printf", "(", "\"@c Copyright (C) 2012-2019 Free Software Foundation, Inc.\\n\"", ")", ";", "printf", "(", "\"@c This is part of the GCC manual.\\n\"", ")", ";", "printf", "(", "\"@c For copying conditions, see the file \"", "\"gcc/doc/include/fdl.texi.\\n\\n\"", ")", ";", "printf", "(", "\"@c This file is generated automatically using\\n\"", ")", ";", "printf", "(", "\"@c gcc/config/avr/gen-avr-mmcu-texi.c from:\\n\"", ")", ";", "printf", "(", "\"@c gcc/config/avr/avr-arch.h\\n\"", ")", ";", "printf", "(", "\"@c gcc/config/avr/avr-devices.c\\n\"", ")", ";", "printf", "(", "\"@c gcc/config/avr/avr-mcus.def\\n\\n\"", ")", ";", "printf", "(", "\"@c Please do not edit manually.\\n\\n\"", ")", ";", "printf", "(", "\"@table @code\\n\\n\"", ")", ";", "for", "(", "mcu", "=", "avr_mcu_types", ";", "mcu", "->", "name", ";", "mcu", "++", ")", "{", "if", "(", "mcu", "->", "macro", "==", "NULL", ")", "{", "arch_id", "=", "mcu", "->", "arch_id", ";", "print_mcus", "(", "n_mcus", ")", ";", "n_mcus", "=", "0", ";", "for", "(", "i", "=", "0", ";", "i", "<", "sizeof", "(", "avr_texinfo", ")", "/", "sizeof", "(", "*", "avr_texinfo", ")", ";", "i", "++", ")", "if", "(", "arch_id", "==", "avr_texinfo", "[", "i", "]", ".", "arch_id", ")", "printf", "(", "\"@item %s\\n%s\\n\"", ",", "mcu", "->", "name", ",", "avr_texinfo", "[", "i", "]", ".", "texinfo", ")", ";", "}", "else", "if", "(", "arch_id", "==", "(", "enum", "avr_arch_id", ")", "mcu", "->", "arch_id", ")", "{", "mcu_name", "[", "n_mcus", "++", "]", "=", "mcu", "->", "name", ";", "}", "}", "print_mcus", "(", "n_mcus", ")", ";", "printf", "(", "\"@end table\\n\"", ")", ";", "return", "EXIT_SUCCESS", ";", "}", ""], "natrual_language": ["Main", "program", "to", "convert", "flat", "files", "into", "built-in", "initialization", "code", "."], "TS_V_token": ["avr", "0", "\"@c Copyright (C) 2012-2019 Free Software Foundation, Inc.\\n\"", "\"@c This is part of the GCC manual.\\n\"", "\"@c For copying conditions, see the file \"", "\"gcc/doc/include/fdl.texi.\\n\\n\"", "\"@c This file is generated automatically using\\n\"", "\"@c gcc/config/avr/gen-avr-mmcu-texi.c from:\\n\"", "\"@c gcc/config/avr/avr-arch.h\\n\"", "\"@c gcc/config/avr/avr-devices.c\\n\"", "\"@c gcc/config/avr/avr-mcus.def\\n\\n\"", "\"@c Please do not edit manually.\\n\\n\"", "\"@table @code\\n\\n\"", "0", "0", "\"@item %s\\n%s\\n\"", "\"@end table\\n\""], "File": "gen-avr-mmcu-texi6", "Func": "main", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 685, "Length": 203, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SIRegisterInfo", "::", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "GCNSubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "const", "SIMachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "unsigned", "Occupancy", "=", "ST", ".", "getOccupancyWithLocalMemSize", "(", "MFI", "->", "getLDSSize", "(", ")", ",", "MF", ".", "getFunction", "(", ")", ")", ";", "switch", "(", "RC", "->", "getID", "(", ")", ")", "{", "default", ":", "return", "AMDGPURegisterInfo", "::", "getRegPressureLimit", "(", "RC", ",", "MF", ")", ";", "case", "AMDGPU", "::", "VGPR_32RegClassID", ":", "return", "std", "::", "min", "(", "ST", ".", "getMaxNumVGPRs", "(", "Occupancy", ")", ",", "ST", ".", "getMaxNumVGPRs", "(", "MF", ")", ")", ";", "case", "AMDGPU", "::", "SGPR_32RegClassID", ":", "return", "std", "::", "min", "(", "ST", ".", "getMaxNumSGPRs", "(", "Occupancy", ",", "true", ")", ",", "ST", ".", "getMaxNumSGPRs", "(", "MF", ")", ")", ";", "}", "}", ""], "natrual_language": ["Return", "the", "register", "pressure", "``", "high", "water", "mark", "''", "for", "the", "specific", "register", "class", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "AMDGPU", "AMDGPU::VGPR_32RegClassID", "AMDGPU::SGPR_32RegClassID"], "File": "SIRegisterInfo10", "Func": "getRegPressureLimit", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 686, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "ARMBaseRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "bool", "ghcCall", "=", "false", ";", "if", "(", "MF", ")", "{", "const", "Function", "*", "F", "=", "MF", "->", "getFunction", "(", ")", ";", "ghcCall", "=", "(", "F", "?", "F", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "GHC", ":", "false", ")", ";", "}", "if", "(", "ghcCall", ")", "return", "CSR_NoRegs_SaveList", ";", "else", "return", "(", "STI", ".", "isTargetIOS", "(", ")", "&&", "!", "STI", ".", "isAAPCS_ABI", "(", ")", ")", "?", "CSR_iOS_SaveList", ":", "CSR_AAPCS_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["ARM", "ARM"], "File": "ARMBaseRegisterInfo19", "Func": "getCalleeSavedRegs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 687, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PatmosInstrInfo", "::", "SubsumesPredicate", "(", "const", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Pred1", ",", "const", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Pred2", ")", "const", "{", "assert", "(", "Pred1", ".", "size", "(", ")", "==", "2", "&&", "Pred2", ".", "size", "(", ")", "==", "2", ")", ";", "unsigned", "preg1", "=", "Pred1", "[", "0", "]", ".", "getReg", "(", ")", ";", "int", "flag1", "=", "Pred1", "[", "1", "]", ".", "getImm", "(", ")", ";", "if", "(", "(", "preg1", "==", "Patmos", "::", "NoRegister", "||", "preg1", "==", "Patmos", "::", "P0", ")", "&&", "!", "flag1", ")", "return", "true", ";", "if", "(", "preg1", "==", "Pred2", "[", "0", "]", ".", "getReg", "(", ")", "&&", "flag1", "==", "Pred2", "[", "1", "]", ".", "getImm", "(", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "first", "specified", "predicate", "subsumes", "the", "second", ",", "e.g", "."], "TS_V_token": ["Patmos", "Patmos", "2", "2", "0", "1", "Patmos::NoRegister", "Patmos::P0", "0", "1"], "File": "PatmosInstrInfo", "Func": "SubsumesPredicate", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 688, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "riscv_expand_int_scc", "(", "rtx", "target", ",", "enum", "rtx_code", "code", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "riscv_extend_comparands", "(", "code", ",", "&", "op0", ",", "&", "op1", ")", ";", "op0", "=", "force_reg", "(", "word_mode", ",", "op0", ")", ";", "if", "(", "code", "==", "EQ", "||", "code", "==", "NE", ")", "{", "rtx", "zie", "=", "riscv_zero_if_equal", "(", "op0", ",", "op1", ")", ";", "riscv_emit_binary", "(", "code", ",", "target", ",", "zie", ",", "const0_rtx", ")", ";", "}", "else", "riscv_emit_int_order_test", "(", "code", ",", "0", ",", "target", ",", "op0", ",", "op1", ")", ";", "}", ""], "natrual_language": ["CODE-compare", "OP0", "and", "OP1", ".", "Store", "the", "result", "in", "TARGET", "."], "TS_V_token": ["riscv", "0"], "File": "riscv", "Func": "riscv_expand_int_scc", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 689, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "MipsRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsTargetMachine", "Func": "getRegisterInfo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 690, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isIndirectCall", "(", "const", "SDValue", "&", "Callee", ",", "SelectionDAG", "&", "DAG", ",", "const", "PPCSubtarget", "&", "Subtarget", ",", "bool", "isPatchPoint", ")", "{", "if", "(", "isPatchPoint", ")", "return", "false", ";", "if", "(", "isFunctionGlobalAddress", "(", "Callee", ")", "||", "isa", "<", "ExternalSymbolSDNode", ">", "(", "Callee", ")", ")", "return", "false", ";", "if", "(", "!", "Subtarget", ".", "usesFunctionDescriptors", "(", ")", "&&", "!", "Subtarget", ".", "isELFv2ABI", "(", ")", "&&", "isBLACompatibleAddress", "(", "Callee", ",", "DAG", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "callsite", "is", "an", "indirect", "call", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCISelLowering109", "Func": "isIndirectCall", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 691, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCAsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "return", "true", ";", "assert", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isReg", "(", ")", ")", ";", "O", "<<", "\"0(\"", ";", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "O", "<<", "\")\"", ";", "return", "false", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "operand", "of", "MI", ",", "an", "INLINEASM", "instruction", ",", "using", "the", "specified", "assembler", "variant", "as", "an", "address", "."], "TS_V_token": ["PowerPC", "PPC", "0", "\"0(\"", "\")\""], "File": "PPCAsmPrinter1", "Func": "PrintAsmMemoryOperand", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 692, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUInstructionSelector", "::", "select", "(", "MachineInstr", "&", "I", ",", "CodeGenCoverage", "&", "CoverageInfo", ")", "const", "{", "if", "(", "I", ".", "isPHI", "(", ")", ")", "return", "selectPHI", "(", "I", ")", ";", "if", "(", "!", "isPreISelGenericOpcode", "(", "I", ".", "getOpcode", "(", ")", ")", ")", "{", "if", "(", "I", ".", "isCopy", "(", ")", ")", "return", "selectCOPY", "(", "I", ")", ";", "return", "true", ";", "}", "switch", "(", "I", ".", "getOpcode", "(", ")", ")", "{", "case", "TargetOpcode", "::", "G_ADD", ":", "case", "TargetOpcode", "::", "G_SUB", ":", "if", "(", "selectG_ADD_SUB", "(", "I", ")", ")", "return", "true", ";", "LLVM_FALLTHROUGH", ";", "default", ":", "return", "selectImpl", "(", "I", ",", "CoverageInfo", ")", ";", "case", "TargetOpcode", "::", "G_INTTOPTR", ":", "case", "TargetOpcode", "::", "G_BITCAST", ":", "return", "selectCOPY", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_CONSTANT", ":", "case", "TargetOpcode", "::", "G_FCONSTANT", ":", "return", "selectG_CONSTANT", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_EXTRACT", ":", "return", "selectG_EXTRACT", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_MERGE_VALUES", ":", "case", "TargetOpcode", "::", "G_CONCAT_VECTORS", ":", "return", "selectG_MERGE_VALUES", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_UNMERGE_VALUES", ":", "return", "selectG_UNMERGE_VALUES", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_GEP", ":", "return", "selectG_GEP", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_IMPLICIT_DEF", ":", "return", "selectG_IMPLICIT_DEF", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_INSERT", ":", "return", "selectG_INSERT", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_INTRINSIC", ":", "return", "selectG_INTRINSIC", "(", "I", ",", "CoverageInfo", ")", ";", "case", "TargetOpcode", "::", "G_INTRINSIC_W_SIDE_EFFECTS", ":", "return", "selectG_INTRINSIC_W_SIDE_EFFECTS", "(", "I", ",", "CoverageInfo", ")", ";", "case", "TargetOpcode", "::", "G_ICMP", ":", "if", "(", "selectG_ICMP", "(", "I", ")", ")", "return", "true", ";", "return", "selectImpl", "(", "I", ",", "CoverageInfo", ")", ";", "case", "TargetOpcode", "::", "G_LOAD", ":", "if", "(", "selectImpl", "(", "I", ",", "CoverageInfo", ")", ")", "return", "true", ";", "return", "selectG_LOAD", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_SELECT", ":", "return", "selectG_SELECT", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_STORE", ":", "return", "selectG_STORE", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_TRUNC", ":", "return", "selectG_TRUNC", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_SEXT", ":", "case", "TargetOpcode", "::", "G_ZEXT", ":", "case", "TargetOpcode", "::", "G_ANYEXT", ":", "if", "(", "selectG_SZA_EXT", "(", "I", ")", ")", "{", "I", ".", "eraseFromParent", "(", ")", ";", "return", "true", ";", "}", "return", "false", ";", "case", "TargetOpcode", "::", "G_BRCOND", ":", "return", "selectG_BRCOND", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_FRAME_INDEX", ":", "return", "selectG_FRAME_INDEX", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_FENCE", ":", "I", ".", "setDesc", "(", "TII", ".", "get", "(", "AMDGPU", "::", "ATOMIC_FENCE", ")", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Select", "the", "(", "possibly", "generic", ")", "instruction", "I", "to", "only", "use", "target-specific", "opcodes", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "SI", "SI", "SI", "SI", "AMDGPU::ATOMIC_FENCE"], "File": "AMDGPUInstructionSelector6", "Func": "select", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 693, "Length": 394, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "optimizeCompareInstr", "(", "MachineInstr", "&", "CmpInstr", ",", "Register", "SrcReg", ",", "Register", "SrcReg2", ",", "int64_t", "CmpMask", ",", "int64_t", "CmpValue", ",", "const", "MachineRegisterInfo", "*", "MRI", ")", "const", "{", "assert", "(", "CmpInstr", ".", "getParent", "(", ")", ")", ";", "assert", "(", "MRI", ")", ";", "int", "DeadNZCVIdx", "=", "CmpInstr", ".", "findRegisterDefOperandIdx", "(", "AArch64", "::", "NZCV", ",", "true", ")", ";", "if", "(", "DeadNZCVIdx", "!=", "-", "1", ")", "{", "if", "(", "CmpInstr", ".", "definesRegister", "(", "AArch64", "::", "WZR", ")", "||", "CmpInstr", ".", "definesRegister", "(", "AArch64", "::", "XZR", ")", ")", "{", "CmpInstr", ".", "eraseFromParent", "(", ")", ";", "return", "true", ";", "}", "unsigned", "Opc", "=", "CmpInstr", ".", "getOpcode", "(", ")", ";", "unsigned", "NewOpc", "=", "convertToNonFlagSettingOpc", "(", "CmpInstr", ")", ";", "if", "(", "NewOpc", "==", "Opc", ")", "return", "false", ";", "const", "MCInstrDesc", "&", "MCID", "=", "get", "(", "NewOpc", ")", ";", "CmpInstr", ".", "setDesc", "(", "MCID", ")", ";", "CmpInstr", ".", "removeOperand", "(", "DeadNZCVIdx", ")", ";", "bool", "succeeded", "=", "UpdateOperandRegClass", "(", "CmpInstr", ")", ";", "(", "void", ")", "succeeded", ";", "assert", "(", "succeeded", "&&", "\"Some operands reg class are incompatible!\"", ")", ";", "return", "true", ";", "}", "if", "(", "CmpInstr", ".", "getOpcode", "(", ")", "==", "AArch64", "::", "PTEST_PP", ")", "return", "optimizePTestInstr", "(", "&", "CmpInstr", ",", "SrcReg", ",", "SrcReg2", ",", "MRI", ")", ";", "if", "(", "SrcReg2", "!=", "0", ")", "return", "false", ";", "if", "(", "!", "MRI", "->", "use_nodbg_empty", "(", "CmpInstr", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", "return", "false", ";", "if", "(", "CmpValue", "==", "0", "&&", "substituteCmpToZero", "(", "CmpInstr", ",", "SrcReg", ",", "*", "MRI", ")", ")", "return", "true", ";", "return", "(", "CmpValue", "==", "0", "||", "CmpValue", "==", "1", ")", "&&", "removeCmpToZeroOrOne", "(", "CmpInstr", ",", "SrcReg", ",", "CmpValue", ",", "*", "MRI", ")", ";", "}", ""], "natrual_language": ["optimizeCompareInstr", "-", "Check", "if", "there", "exists", "an", "earlier", "instruction", "that", "operates", "on", "the", "same", "source", "operands", "and", "sets", "flags", "in", "the", "same", "way", "as", "Compare", ";", "remove", "Compare", "if", "possible", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::NZCV", "1", "AArch64::WZR", "AArch64::XZR", "\"Some operands reg class are incompatible!\"", "AArch64::PTEST_PP", "0", "0", "0", "0", "1"], "File": "AArch64InstrInfo51", "Func": "optimizeCompareInstr", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 694, "Length": 268, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "workaround_arc_anomaly", "(", "void", ")", "{", "rtx_insn", "*", "insn", ",", "*", "succ0", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "succ0", "=", "next_real_insn", "(", "insn", ")", ";", "if", "(", "arc_hazard", "(", "insn", ",", "succ0", ")", ")", "{", "emit_insn_before", "(", "gen_nopv", "(", ")", ",", "succ0", ")", ";", "}", "}", "if", "(", "!", "TARGET_ARC700", ")", "return", ";", "if", "(", "arc_tune", "!=", "ARC_TUNE_ARC7XX", ")", "check_store_cacheline_hazard", "(", ")", ";", "}", ""], "natrual_language": ["The", "same", "functionality", "as", "arc_hazard", ".", "It", "is", "called", "in", "machine", "reorg", "before", "any", "other", "optimization", ".", "Hence", ",", "the", "NOP", "size", "is", "taken", "into", "account", "when", "doing", "branch", "shortening", "."], "TS_V_token": ["arc"], "File": "arc", "Func": "workaround_arc_anomaly", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 695, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "std", "::", "unique_ptr", "<", "AArch64Operand", ">", "CreateReg", "(", "unsigned", "RegNum", ",", "RegKind", "Kind", ",", "SMLoc", "S", ",", "SMLoc", "E", ",", "MCContext", "&", "Ctx", ")", "{", "auto", "Op", "=", "make_unique", "<", "AArch64Operand", ">", "(", "k_Register", ",", "Ctx", ")", ";", "Op", "->", "Reg", ".", "RegNum", "=", "RegNum", ";", "Op", "->", "Reg", ".", "Kind", "=", "Kind", ";", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "E", ";", "return", "Op", ";", "}", ""], "natrual_language": ["CreateReg", "-", "Allocate", "a", "single", "virtual", "register", "for", "the", "given", "type", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64AsmParser12", "Func": "CreateReg", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 696, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", "Opcode", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "uint64_t", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "MCInst", "Inst", ";", "unsigned", "MatchResult", ";", "bool", "PendConditionalInstruction", "=", "false", ";", "SmallVector", "<", "NearMissInfo", ",", "4", ">", "NearMisses", ";", "MatchResult", "=", "MatchInstruction", "(", "Operands", ",", "Inst", ",", "NearMisses", ",", "MatchingInlineAsm", ",", "PendConditionalInstruction", ",", "Out", ")", ";", "switch", "(", "MatchResult", ")", "{", "case", "Match_Success", ":", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Parsed as: \"", ";", "Inst", ".", "dump_pretty", "(", "dbgs", "(", ")", ",", "MII", ".", "getName", "(", "Inst", ".", "getOpcode", "(", ")", ")", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ")", ";", "if", "(", "validateInstruction", "(", "Inst", ",", "Operands", ")", ")", "{", "forwardITPosition", "(", ")", ";", "forwardVPTPosition", "(", ")", ";", "return", "true", ";", "}", "{", "bool", "wasInITBlock", "=", "inITBlock", "(", ")", ";", "while", "(", "processInstruction", "(", "Inst", ",", "Operands", ",", "Out", ")", ")", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Changed to: \"", ";", "Inst", ".", "dump_pretty", "(", "dbgs", "(", ")", ",", "MII", ".", "getName", "(", "Inst", ".", "getOpcode", "(", ")", ")", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ")", ";", "if", "(", "wasInITBlock", "&&", "hasV8Ops", "(", ")", "&&", "isThumb", "(", ")", "&&", "!", "isV8EligibleForIT", "(", "&", "Inst", ")", ")", "{", "Warning", "(", "IDLoc", ",", "\"deprecated instruction in IT block\"", ")", ";", "}", "}", "forwardITPosition", "(", ")", ";", "forwardVPTPosition", "(", ")", ";", "if", "(", "Inst", ".", "getOpcode", "(", ")", "==", "ARM", "::", "ITasm", ")", "return", "false", ";", "Inst", ".", "setLoc", "(", "IDLoc", ")", ";", "if", "(", "PendConditionalInstruction", ")", "{", "PendingConditionalInsts", ".", "push_back", "(", "Inst", ")", ";", "if", "(", "isITBlockFull", "(", ")", "||", "isITBlockTerminator", "(", "Inst", ")", ")", "flushPendingInstructions", "(", "Out", ")", ";", "}", "else", "{", "Out", ".", "EmitInstruction", "(", "Inst", ",", "getSTI", "(", ")", ")", ";", "}", "return", "false", ";", "case", "Match_NearMisses", ":", "ReportNearMisses", "(", "NearMisses", ",", "IDLoc", ",", "Operands", ")", ";", "return", "true", ";", "case", "Match_MnemonicFail", ":", "{", "FeatureBitset", "FBS", "=", "ComputeAvailableFeatures", "(", "getSTI", "(", ")", ".", "getFeatureBits", "(", ")", ")", ";", "std", "::", "string", "Suggestion", "=", "ARMMnemonicSpellCheck", "(", "(", "(", "ARMOperand", "&", ")", "*", "Operands", "[", "0", "]", ")", ".", "getToken", "(", ")", ",", "FBS", ")", ";", "return", "Error", "(", "IDLoc", ",", "\"invalid instruction\"", "+", "Suggestion", ",", "(", "(", "ARMOperand", "&", ")", "*", "Operands", "[", "0", "]", ")", ".", "getLocRange", "(", ")", ")", ";", "}", "}", "llvm_unreachable", "(", "\"Implement any new match types added!\"", ")", ";", "}", ""], "natrual_language": ["MatchAndEmitInstruction", "-", "Recognize", "a", "series", "of", "operands", "of", "a", "parsed", "instruction", "as", "an", "actual", "MCInst", "and", "emit", "it", "to", "the", "specified", "MCStreamer", "."], "TS_V_token": ["ARM", "ARM", "4", "\"Parsed as: \"", "\"\\n\"", "\"Changed to: \"", "\"\\n\"", "\"deprecated instruction in IT block\"", "ARM::ITasm", "ARM", "ARM", "0", "\"invalid instruction\"", "ARM", "0", "\"Implement any new match types added!\""], "File": "ARMAsmParser (2)4", "Func": "MatchAndEmitInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 697, "Length": 381, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "CCAssignFn", "*", "AArch64TargetLowering", "::", "CCAssignFnForCall", "(", "CallingConv", "::", "ID", "CC", ",", "bool", "IsVarArg", ")", "const", "{", "switch", "(", "CC", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unsupported calling convention.\"", ")", ";", "case", "CallingConv", "::", "WebKit_JS", ":", "return", "CC_AArch64_WebKit_JS", ";", "case", "CallingConv", "::", "C", ":", "case", "CallingConv", "::", "Fast", ":", "if", "(", "!", "Subtarget", "->", "isTargetDarwin", "(", ")", ")", "return", "CC_AArch64_AAPCS", ";", "return", "IsVarArg", "?", "CC_AArch64_DarwinPCS_VarArg", ":", "CC_AArch64_DarwinPCS", ";", "}", "}", ""], "natrual_language": ["Selects", "the", "correct", "CCAssignFn", "for", "a", "given", "CallingConvention", "value", "."], "TS_V_token": ["AArch64", "AArch64", "\"Unsupported calling convention.\"", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64ISelLowering117", "Func": "CCAssignFnForCall", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 698, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUCallLowering", "::", "lowerReturn", "(", "MachineIRBuilder", "&", "B", ",", "const", "Value", "*", "Val", ",", "ArrayRef", "<", "Register", ">", "VRegs", ",", "FunctionLoweringInfo", "&", "FLI", ")", "const", "{", "MachineFunction", "&", "MF", "=", "B", ".", "getMF", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "SIMachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "MFI", "->", "setIfReturnsVoid", "(", "!", "Val", ")", ";", "assert", "(", "!", "Val", "==", "VRegs", ".", "empty", "(", ")", "&&", "\"Return value without a vreg\"", ")", ";", "CallingConv", "::", "ID", "CC", "=", "B", ".", "getMF", "(", ")", ".", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", ";", "const", "bool", "IsShader", "=", "AMDGPU", "::", "isShader", "(", "CC", ")", ";", "const", "bool", "IsWaveEnd", "=", "(", "IsShader", "&&", "MFI", "->", "returnsVoid", "(", ")", ")", "||", "AMDGPU", "::", "isKernel", "(", "CC", ")", ";", "if", "(", "IsWaveEnd", ")", "{", "B", ".", "buildInstr", "(", "AMDGPU", "::", "S_ENDPGM", ")", ".", "addImm", "(", "0", ")", ";", "return", "true", ";", "}", "auto", "const", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "unsigned", "ReturnOpc", "=", "0", ";", "if", "(", "IsShader", ")", "ReturnOpc", "=", "AMDGPU", "::", "SI_RETURN_TO_EPILOG", ";", "else", "if", "(", "CC", "==", "CallingConv", "::", "AMDGPU_Gfx", ")", "ReturnOpc", "=", "AMDGPU", "::", "S_SETPC_B64_return_gfx", ";", "else", "ReturnOpc", "=", "AMDGPU", "::", "S_SETPC_B64_return", ";", "auto", "Ret", "=", "B", ".", "buildInstrNoInsert", "(", "ReturnOpc", ")", ";", "Register", "ReturnAddrVReg", ";", "if", "(", "ReturnOpc", "==", "AMDGPU", "::", "S_SETPC_B64_return", ")", "{", "ReturnAddrVReg", "=", "MRI", ".", "createVirtualRegister", "(", "&", "AMDGPU", "::", "CCR_SGPR_64RegClass", ")", ";", "Ret", ".", "addUse", "(", "ReturnAddrVReg", ")", ";", "}", "else", "if", "(", "ReturnOpc", "==", "AMDGPU", "::", "S_SETPC_B64_return_gfx", ")", "{", "ReturnAddrVReg", "=", "MRI", ".", "createVirtualRegister", "(", "&", "AMDGPU", "::", "Gfx_CCR_SGPR_64RegClass", ")", ";", "Ret", ".", "addUse", "(", "ReturnAddrVReg", ")", ";", "}", "if", "(", "!", "FLI", ".", "CanLowerReturn", ")", "insertSRetStores", "(", "B", ",", "Val", "->", "getType", "(", ")", ",", "VRegs", ",", "FLI", ".", "DemoteRegister", ")", ";", "else", "if", "(", "!", "lowerReturnVal", "(", "B", ",", "Val", ",", "VRegs", ",", "Ret", ")", ")", "return", "false", ";", "if", "(", "ReturnOpc", "==", "AMDGPU", "::", "S_SETPC_B64_return", "||", "ReturnOpc", "==", "AMDGPU", "::", "S_SETPC_B64_return_gfx", ")", "{", "const", "SIRegisterInfo", "*", "TRI", "=", "ST", ".", "getRegisterInfo", "(", ")", ";", "Register", "LiveInReturn", "=", "MF", ".", "addLiveIn", "(", "TRI", "->", "getReturnAddressReg", "(", "MF", ")", ",", "&", "AMDGPU", "::", "SGPR_64RegClass", ")", ";", "B", ".", "buildCopy", "(", "ReturnAddrVReg", ",", "LiveInReturn", ")", ";", "}", "B", ".", "insertInstr", "(", "Ret", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "hook", "behaves", "as", "the", "extended", "lowerReturn", "function", ",", "but", "for", "targets", "that", "do", "not", "support", "swifterror", "value", "promotion", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "SI", "SI", "\"Return value without a vreg\"", "AMDGPU::isShader", "AMDGPU::isKernel", "AMDGPU::S_ENDPGM", "0", "0", "AMDGPU::SI_RETURN_TO_EPILOG", "AMDGPU", "AMDGPU::S_SETPC_B64_return_gfx", "AMDGPU::S_SETPC_B64_return", "AMDGPU::S_SETPC_B64_return", "AMDGPU::CCR_SGPR_64RegClass", "AMDGPU::S_SETPC_B64_return_gfx", "AMDGPU::Gfx_CCR_SGPR_64RegClass", "AMDGPU::S_SETPC_B64_return", "AMDGPU::S_SETPC_B64_return_gfx", "SI", "AMDGPU::SGPR_64RegClass"], "File": "AMDGPUCallLowering10", "Func": "lowerReturn", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 699, "Length": 387, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_cookie_has_size", "(", "void", ")", "{", "return", "TARGET_AAPCS_BASED", ";", "}", ""], "natrual_language": ["The", "EABI", "says", "that", "array", "cookies", "should", "also", "contain", "the", "element", "size", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_cookie_has_size", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 700, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emit_link_insn", "(", "rtx", "spreg", ",", "HOST_WIDE_INT", "frame_size", ")", "{", "HOST_WIDE_INT", "link_size", "=", "frame_size", ";", "rtx", "insn", ";", "int", "i", ";", "if", "(", "link_size", ">", "262140", ")", "link_size", "=", "262140", ";", "insn", "=", "emit_insn", "(", "gen_link", "(", "GEN_INT", "(", "-", "8", "-", "link_size", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "for", "(", "i", "=", "0", ";", "i", "<", "XVECLEN", "(", "PATTERN", "(", "insn", ")", ",", "0", ")", ";", "i", "++", ")", "{", "rtx", "set", "=", "XVECEXP", "(", "PATTERN", "(", "insn", ")", ",", "0", ",", "i", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "set", ")", "==", "SET", ")", ";", "RTX_FRAME_RELATED_P", "(", "set", ")", "=", "1", ";", "}", "frame_size", "-=", "link_size", ";", "if", "(", "frame_size", ">", "0", ")", "{", "rtx", "tmpreg", "=", "gen_rtx_REG", "(", "Pmode", ",", "REG_P1", ")", ";", "frame_related_constant_load", "(", "tmpreg", ",", "-", "frame_size", ",", "TRUE", ")", ";", "insn", "=", "emit_insn", "(", "gen_addsi3", "(", "spreg", ",", "spreg", ",", "tmpreg", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "}", ""], "natrual_language": ["Generate", "a", "LINK", "insn", "for", "a", "frame", "sized", "FRAME_SIZE", ".", "If", "this", "constant", "is", "too", "large", ",", "generate", "a", "sequence", "of", "insns", "that", "has", "the", "same", "effect", ".", "SPREG", "contains", "(", "reg", ":", "SI", "REG_SP", ")", "."], "TS_V_token": ["bfin", "262140", "262140", "8", "1", "0", "0", "0", "1", "0", "1"], "File": "bfin2", "Func": "emit_link_insn", "Target": "bfin", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 701, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MSP430InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "DestReg", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "RC", "==", "&", "MSP430", "::", "GR16RegClass", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "MSP430", "::", "MOV16rm", ")", ")", ".", "addReg", "(", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addImm", "(", "0", ")", ";", "else", "if", "(", "RC", "==", "&", "MSP430", "::", "GR8RegClass", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "MSP430", "::", "MOV8rm", ")", ")", ".", "addReg", "(", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addImm", "(", "0", ")", ";", "else", "llvm_unreachable", "(", "\"Cannot store this register to stack slot!\"", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["MSP430", "MSP430", "MSP430::GR16RegClass", "MSP430::MOV16rm", "0", "MSP430::GR8RegClass", "MSP430::MOV8rm", "0", "\"Cannot store this register to stack slot!\""], "File": "MSP430InstrInfo9", "Func": "loadRegFromStackSlot", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 702, "Length": 142, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "X86Operand", "*", "CreateReg", "(", "unsigned", "RegNo", ",", "SMLoc", "StartLoc", ",", "SMLoc", "EndLoc", ",", "bool", "AddressOf", "=", "false", ",", "SMLoc", "OffsetOfLoc", "=", "SMLoc", "(", ")", ",", "StringRef", "SymName", "=", "StringRef", "(", ")", ",", "void", "*", "OpDecl", "=", "nullptr", ")", "{", "X86Operand", "*", "Res", "=", "new", "X86Operand", "(", "Register", ",", "StartLoc", ",", "EndLoc", ")", ";", "Res", "->", "Reg", ".", "RegNo", "=", "RegNo", ";", "Res", "->", "AddressOf", "=", "AddressOf", ";", "Res", "->", "OffsetOfLoc", "=", "OffsetOfLoc", ";", "Res", "->", "SymName", "=", "SymName", ";", "Res", "->", "OpDecl", "=", "OpDecl", ";", "return", "Res", ";", "}", ""], "natrual_language": ["CreateReg", "-", "Allocate", "a", "single", "virtual", "register", "for", "the", "given", "type", "."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86Operand20", "Func": "CreateReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 703, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSymbol", "*", "MBlazeMCInstLower", "::", "GetBlockAddressSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", "{", "switch", "(", "MO", ".", "getTargetFlags", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown target flag on GV operand\"", ")", ";", "case", "0", ":", "break", ";", "}", "return", "Printer", ".", "GetBlockAddressSymbol", "(", "MO", ".", "getBlockAddress", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "MCSymbol", "used", "to", "satisfy", "BlockAddress", "uses", "of", "the", "specified", "basic", "block", "."], "TS_V_token": ["MBlaze", "MBlaze", "\"Unknown target flag on GV operand\"", "0"], "File": "MBlazeMCInstLower", "Func": "GetBlockAddressSymbol", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 704, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arc_modes_tieable_p", "(", "machine_mode", "mode1", ",", "machine_mode", "mode2", ")", "{", "return", "(", "GET_MODE_CLASS", "(", "mode1", ")", "==", "MODE_INT", "&&", "GET_MODE_CLASS", "(", "mode2", ")", "==", "MODE_INT", "&&", "GET_MODE_SIZE", "(", "mode1", ")", "<=", "UNITS_PER_WORD", "&&", "GET_MODE_SIZE", "(", "mode2", ")", "<=", "UNITS_PER_WORD", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MODES_TIEABLE_P", ".", "Tie", "QI/HI/SI", "modes", "together", "."], "TS_V_token": ["arc"], "File": "arc", "Func": "arc_modes_tieable_p", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 705, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "s390_adjust_loop_scan_osc", "(", "struct", "loop", "*", "loop", ")", "{", "HARD_REG_SET", "modregs", ",", "newregs", ";", "rtx_insn", "*", "insn", ",", "*", "store_insn", "=", "NULL", ";", "rtx", "set", ";", "struct", "s390_address", "addr_store", ",", "addr_load", ";", "subrtx_iterator", "::", "array_type", "array", ";", "int", "insn_count", ";", "CLEAR_HARD_REG_SET", "(", "modregs", ")", ";", "insn_count", "=", "0", ";", "FOR_BB_INSNS_REVERSE", "(", "loop", "->", "latch", ",", "insn", ")", "{", "if", "(", "!", "INSN_P", "(", "insn", ")", "||", "INSN_CODE", "(", "insn", ")", "<=", "0", ")", "continue", ";", "insn_count", "++", ";", "if", "(", "insn_count", ">", "S390_OSC_SCAN_INSN_NUM", ")", "return", "false", ";", "find_all_hard_reg_sets", "(", "insn", ",", "&", "newregs", ",", "true", ")", ";", "IOR_HARD_REG_SET", "(", "modregs", ",", "newregs", ")", ";", "set", "=", "single_set", "(", "insn", ")", ";", "if", "(", "!", "set", ")", "continue", ";", "if", "(", "MEM_P", "(", "SET_DEST", "(", "set", ")", ")", "&&", "s390_decompose_address", "(", "XEXP", "(", "SET_DEST", "(", "set", ")", ",", "0", ")", ",", "&", "addr_store", ")", ")", "{", "store_insn", "=", "insn", ";", "break", ";", "}", "}", "if", "(", "store_insn", "==", "NULL_RTX", ")", "return", "false", ";", "insn_count", "=", "0", ";", "FOR_BB_INSNS", "(", "loop", "->", "header", ",", "insn", ")", "{", "if", "(", "!", "INSN_P", "(", "insn", ")", "||", "INSN_CODE", "(", "insn", ")", "<=", "0", ")", "continue", ";", "if", "(", "insn", "==", "store_insn", ")", "return", "false", ";", "insn_count", "++", ";", "if", "(", "insn_count", ">", "S390_OSC_SCAN_INSN_NUM", ")", "return", "false", ";", "find_all_hard_reg_sets", "(", "insn", ",", "&", "newregs", ",", "true", ")", ";", "IOR_HARD_REG_SET", "(", "modregs", ",", "newregs", ")", ";", "set", "=", "single_set", "(", "insn", ")", ";", "if", "(", "!", "set", ")", "continue", ";", "if", "(", "MEM_P", "(", "SET_DEST", "(", "set", ")", ")", "&&", "s390_decompose_address", "(", "XEXP", "(", "SET_DEST", "(", "set", ")", ",", "0", ")", ",", "NULL", ")", ")", "return", "false", ";", "FOR_EACH_SUBRTX", "(", "iter", ",", "array", ",", "SET_SRC", "(", "set", ")", ",", "NONCONST", ")", "if", "(", "MEM_P", "(", "*", "iter", ")", "&&", "s390_decompose_address", "(", "XEXP", "(", "*", "iter", ",", "0", ")", ",", "&", "addr_load", ")", "&&", "rtx_equal_p", "(", "addr_load", ".", "base", ",", "addr_store", ".", "base", ")", "&&", "rtx_equal_p", "(", "addr_load", ".", "indx", ",", "addr_store", ".", "indx", ")", "&&", "rtx_equal_p", "(", "addr_load", ".", "disp", ",", "addr_store", ".", "disp", ")", ")", "{", "if", "(", "(", "addr_load", ".", "base", "!=", "NULL_RTX", "&&", "TEST_HARD_REG_BIT", "(", "modregs", ",", "REGNO", "(", "addr_load", ".", "base", ")", ")", ")", "||", "(", "addr_load", ".", "indx", "!=", "NULL_RTX", "&&", "TEST_HARD_REG_BIT", "(", "modregs", ",", "REGNO", "(", "addr_load", ".", "indx", ")", ")", ")", ")", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Scan", "LOOP", "for", "static", "OSC", "collisions", "and", "return", "true", "if", "a", "osc_break", "should", "be", "issued", "for", "this", "loop", "."], "TS_V_token": ["s390", "0", "0", "0", "0", "0", "0", "0"], "File": "s3906", "Func": "s390_adjust_loop_scan_osc", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 706, "Length": 393, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "avr_out_plus_symbol", "(", "rtx", "*", "xop", ",", "enum", "rtx_code", "code", ",", "int", "*", "plen", ",", "int", "*", "pcc", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "xop", "[", "0", "]", ")", ";", "gcc_assert", "(", "mode", "==", "HImode", "||", "mode", "==", "PSImode", ")", ";", "*", "pcc", "=", "MINUS", "==", "code", "?", "(", "int", ")", "CC_SET_CZN", ":", "(", "int", ")", "CC_SET_N", ";", "avr_asm_len", "(", "PLUS", "==", "code", "?", "\"subi %A0,lo8(-(%2))\"", "CR_TAB", "\"sbci %B0,hi8(-(%2))\"", ":", "\"subi %A0,lo8(%2)\"", "CR_TAB", "\"sbci %B0,hi8(%2)\"", ",", "xop", ",", "plen", ",", "-", "2", ")", ";", "if", "(", "PSImode", "==", "mode", ")", "avr_asm_len", "(", "PLUS", "==", "code", "?", "\"sbci %C0,hlo8(-(%2))\"", ":", "\"sbci %C0,hlo8(%2)\"", ",", "xop", ",", "plen", ",", "1", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Output", "addition/subtraction", "of", "register", "XOP", "[", "0", "]", "and", "a", "constant", "XOP", "[", "2", "]", "that", "is", "ont", "a", "compile-time", "constant", ":", "XOP", "[", "0", "]", "=", "XOP", "[", "0", "]", "+/-", "XOP", "[", "2", "]", "This", "is", "a", "helper", "for", "the", "function", "below", ".", "The", "only", "insns", "that", "need", "this", "are", "additions/subtraction", "for", "pointer", "modes", ",", "i.e", ".", "HImode", "and", "PSImode", "."], "TS_V_token": ["avr", "0", "\"subi %A0,lo8(-(%2))\"", "\"sbci %B0,hi8(-(%2))\"", "\"subi %A0,lo8(%2)\"", "\"sbci %B0,hi8(%2)\"", "2", "\"sbci %C0,hlo8(-(%2))\"", "\"sbci %C0,hlo8(%2)\"", "1", "\"\""], "File": "avr", "Func": "avr_out_plus_symbol", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 707, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "assign_386_stack_local", "(", "machine_mode", "mode", ",", "enum", "ix86_stack_slot", "n", ")", "{", "struct", "stack_local_entry", "*", "s", ";", "gcc_assert", "(", "n", "<", "MAX_386_STACK_LOCALS", ")", ";", "for", "(", "s", "=", "ix86_stack_locals", ";", "s", ";", "s", "=", "s", "->", "next", ")", "if", "(", "s", "->", "mode", "==", "mode", "&&", "s", "->", "n", "==", "n", ")", "return", "validize_mem", "(", "copy_rtx", "(", "s", "->", "rtl", ")", ")", ";", "int", "align", "=", "0", ";", "if", "(", "mode", "==", "DImode", "&&", "!", "TARGET_64BIT", "&&", "n", "==", "SLOT_FLOATxFDI_387", "&&", "ix86_preferred_stack_boundary", "<", "GET_MODE_ALIGNMENT", "(", "DImode", ")", ")", "align", "=", "32", ";", "s", "=", "ggc_alloc", "<", "stack_local_entry", ">", "(", ")", ";", "s", "->", "n", "=", "n", ";", "s", "->", "mode", "=", "mode", ";", "s", "->", "rtl", "=", "assign_stack_local", "(", "mode", ",", "GET_MODE_SIZE", "(", "mode", ")", ",", "align", ")", ";", "s", "->", "next", "=", "ix86_stack_locals", ";", "ix86_stack_locals", "=", "s", ";", "return", "validize_mem", "(", "copy_rtx", "(", "s", "->", "rtl", ")", ")", ";", "}", ""], "natrual_language": ["Return", "a", "MEM", "corresponding", "to", "a", "stack", "slot", "with", "mode", "MODE", ".", "Allocate", "a", "new", "slot", "if", "necessary", ".", "The", "RTL", "for", "a", "function", "can", "have", "several", "slots", "available", ":", "N", "is", "which", "slot", "to", "use", "."], "TS_V_token": ["i386", "0", "32"], "File": "i3861", "Func": "assign_386_stack_local", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 708, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "alpha_emit_xfloating_libcall", "(", "rtx", "func", ",", "rtx", "target", ",", "rtx", "operands", "[", "]", ",", "int", "noperands", ",", "rtx", "equiv", ")", "{", "rtx", "usage", "=", "NULL_RTX", ",", "tmp", ",", "reg", ";", "int", "regno", "=", "16", ",", "i", ";", "start_sequence", "(", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "noperands", ";", "++", "i", ")", "{", "switch", "(", "GET_MODE", "(", "operands", "[", "i", "]", ")", ")", "{", "case", "TFmode", ":", "reg", "=", "gen_rtx_REG", "(", "TFmode", ",", "regno", ")", ";", "regno", "+=", "2", ";", "break", ";", "case", "DFmode", ":", "reg", "=", "gen_rtx_REG", "(", "DFmode", ",", "regno", "+", "32", ")", ";", "regno", "+=", "1", ";", "break", ";", "case", "VOIDmode", ":", "gcc_assert", "(", "CONST_INT_P", "(", "operands", "[", "i", "]", ")", ")", ";", "case", "DImode", ":", "reg", "=", "gen_rtx_REG", "(", "DImode", ",", "regno", ")", ";", "regno", "+=", "1", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "emit_move_insn", "(", "reg", ",", "operands", "[", "i", "]", ")", ";", "use_reg", "(", "&", "usage", ",", "reg", ")", ";", "}", "switch", "(", "GET_MODE", "(", "target", ")", ")", "{", "case", "TFmode", ":", "reg", "=", "gen_rtx_REG", "(", "TFmode", ",", "16", ")", ";", "break", ";", "case", "DFmode", ":", "reg", "=", "gen_rtx_REG", "(", "DFmode", ",", "32", ")", ";", "break", ";", "case", "DImode", ":", "reg", "=", "gen_rtx_REG", "(", "DImode", ",", "0", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "tmp", "=", "gen_rtx_MEM", "(", "QImode", ",", "func", ")", ";", "tmp", "=", "emit_call_insn", "(", "gen_call_value", "(", "reg", ",", "tmp", ",", "const0_rtx", ",", "const0_rtx", ",", "const0_rtx", ")", ")", ";", "CALL_INSN_FUNCTION_USAGE", "(", "tmp", ")", "=", "usage", ";", "RTL_CONST_CALL_P", "(", "tmp", ")", "=", "1", ";", "tmp", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "emit_libcall_block", "(", "tmp", ",", "target", ",", "reg", ",", "equiv", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "X_floating", "library", "function", "call", ".", "Note", "that", "these", "functions", "do", "not", "follow", "normal", "calling", "conventions", ":", "TFmode", "arguments", "are", "passed", "in", "two", "integer", "registers", "(", "as", "opposed", "to", "indirect", ")", ";", "TFmode", "return", "values", "appear", "in", "R16+R17", ".", "FUNC", "is", "the", "function", "name", "to", "call", ".", "TARGET", "is", "where", "the", "output", "belongs", ".", "OPERANDS", "are", "the", "inputs", ".", "NOPERANDS", "is", "the", "count", "of", "inputs", ".", "EQUIV", "is", "the", "expression", "equivalent", "for", "the", "function", "."], "TS_V_token": ["alpha", "16", "0", "2", "32", "1", "1", "16", "32", "0", "1"], "File": "alpha5", "Func": "alpha_emit_xfloating_libcall", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 709, "Length": 283, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "relaxInstruction", "(", "MCInst", "const", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCInst", "&", "Res", ")", "const", "override", "{", "llvm_unreachable", "(", "\"Unexpected short instruction with fixup\"", ")", ";", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["AAP", "\"Unexpected short instruction with fixup\""], "File": "AAPAsmBackend", "Func": "relaxInstruction", "Target": "AAP", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 710, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "JVMAsmBackend", "::", "getNumFixupKinds", "(", ")", "const", "{", "return", "0", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["JVM", "JVM", "0"], "File": "JVMAsmBackend", "Func": "getNumFixupKinds", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 711, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_movedouble", "(", "rtx", "insn", "ATTRIBUTE_UNUSED", ",", "rtx", "operands", "[", "]", ",", "enum", "machine_mode", "mode", ")", "{", "rtx", "dst", "=", "operands", "[", "0", "]", ";", "rtx", "src", "=", "operands", "[", "1", "]", ";", "if", "(", "GET_CODE", "(", "dst", ")", "==", "MEM", "&&", "GET_CODE", "(", "XEXP", "(", "dst", ",", "0", ")", ")", "==", "PRE_DEC", ")", "return", "\"mov.l\t%T1,%0\\n\\tmov.l\t%1,%0\"", ";", "if", "(", "register_operand", "(", "dst", ",", "mode", ")", "&&", "register_operand", "(", "src", ",", "mode", ")", ")", "{", "if", "(", "REGNO", "(", "src", ")", "==", "MACH_REG", ")", "return", "\"sts\tmach,%S0\\n\\tsts\tmacl,%R0\"", ";", "if", "(", "REGNO", "(", "src", ")", "+", "1", "==", "REGNO", "(", "dst", ")", ")", "return", "\"mov\t%T1,%T0\\n\\tmov\t%1,%0\"", ";", "else", "return", "\"mov\t%1,%0\\n\\tmov\t%T1,%T0\"", ";", "}", "else", "if", "(", "GET_CODE", "(", "src", ")", "==", "CONST_INT", ")", "{", "if", "(", "INTVAL", "(", "src", ")", "<", "0", ")", "output_asm_insn", "(", "\"mov\t#-1,%S0\"", ",", "operands", ")", ";", "else", "output_asm_insn", "(", "\"mov\t#0,%S0\"", ",", "operands", ")", ";", "return", "\"mov\t%1,%R0\"", ";", "}", "else", "if", "(", "GET_CODE", "(", "src", ")", "==", "MEM", ")", "{", "int", "ptrreg", "=", "-", "1", ";", "int", "dreg", "=", "REGNO", "(", "dst", ")", ";", "rtx", "inside", "=", "XEXP", "(", "src", ",", "0", ")", ";", "switch", "(", "GET_CODE", "(", "inside", ")", ")", "{", "case", "REG", ":", "ptrreg", "=", "REGNO", "(", "inside", ")", ";", "break", ";", "case", "SUBREG", ":", "ptrreg", "=", "subreg_regno", "(", "inside", ")", ";", "break", ";", "case", "PLUS", ":", "ptrreg", "=", "REGNO", "(", "XEXP", "(", "inside", ",", "0", ")", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "XEXP", "(", "inside", ",", "1", ")", ")", "!=", "REG", ")", ";", "break", ";", "case", "LABEL_REF", ":", "return", "\"mov.l\t%1,%0\\n\\tmov.l\t%1+4,%T0\"", ";", "case", "POST_INC", ":", "return", "\"mov.l\t%1,%0\\n\\tmov.l\t%1,%T0\"", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "dreg", "==", "ptrreg", ")", "return", "\"mov.l\t%T1,%T0\\n\\tmov.l\t%1,%0\"", ";", "}", "return", "\"mov.l\t%1,%0\\n\\tmov.l\t%T1,%T0\"", ";", "}", ""], "natrual_language": ["Return", "a", "sequence", "of", "instructions", "to", "perform", "DI", "or", "DF", "move", ".", "Since", "the", "SH", "can", "not", "move", "a", "DI", "or", "DF", "in", "one", "instruction", ",", "we", "have", "to", "take", "care", "when", "we", "see", "overlapping", "source", "and", "dest", "registers", "."], "TS_V_token": ["sh", "0", "1", "0", "\"mov.l\t%T1,%0\\n\\tmov.l\t%1,%0\"", "\"sts\tmach,%S0\\n\\tsts\tmacl,%R0\"", "1", "\"mov\t%T1,%T0\\n\\tmov\t%1,%0\"", "\"mov\t%1,%0\\n\\tmov\t%T1,%T0\"", "0", "\"mov\t#-1,%S0\"", "\"mov\t#0,%S0\"", "\"mov\t%1,%R0\"", "1", "0", "0", "1", "\"mov.l\t%1,%0\\n\\tmov.l\t%1+4,%T0\"", "\"mov.l\t%1,%0\\n\\tmov.l\t%1,%T0\"", "\"mov.l\t%T1,%T0\\n\\tmov.l\t%1,%0\"", "\"mov.l\t%1,%0\\n\\tmov.l\t%T1,%T0\""], "File": "sh3", "Func": "output_movedouble", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 712, "Length": 281, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "iterator_range", "<", "block_iterator", ">", "blocks", "(", ")", "const", "override", "{", "return", "Unit", "->", "blocks", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "a", "range", "view", "of", "the", "basic", "blocks", "in", "the", "region", "."], "TS_V_token": ["WebAssembly"], "File": "WebAssemblySortRegion", "Func": "blocks", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 713, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "iq2000_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_CODE_SIZE", ")", ",", "BLOCK_OP_NORMAL", ")", ";", "mem", "=", "adjust_address", "(", "m_tramp", ",", "Pmode", ",", "TRAMPOLINE_CODE_SIZE", ")", ";", "emit_move_insn", "(", "mem", ",", "fnaddr", ")", ";", "mem", "=", "adjust_address", "(", "m_tramp", ",", "Pmode", ",", "TRAMPOLINE_CODE_SIZE", "+", "GET_MODE_SIZE", "(", "Pmode", ")", ")", ";", "emit_move_insn", "(", "mem", ",", "chain_value", ")", ";", "}", ""], "natrual_language": ["Worker", "for", "TARGET_TRAMPOLINE_INIT", "."], "TS_V_token": ["iq2000", "0"], "File": "iq2000", "Func": "iq2000_trampoline_init", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 714, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_expand_strlen", "(", "rtx", "out", ",", "rtx", "src", ",", "rtx", "eoschar", ",", "rtx", "align", ")", "{", "rtx", "addr", ",", "scratch1", ",", "scratch2", ",", "scratch3", ",", "scratch4", ";", "if", "(", "TARGET_UNROLL_STRLEN", "&&", "eoschar", "==", "const0_rtx", "&&", "optimize", ">", "1", "&&", "!", "TARGET_INLINE_ALL_STRINGOPS", "&&", "!", "optimize_insn_for_size_p", "(", ")", "&&", "(", "!", "CONST_INT_P", "(", "align", ")", "||", "INTVAL", "(", "align", ")", "<", "4", ")", ")", "return", "false", ";", "addr", "=", "force_reg", "(", "Pmode", ",", "XEXP", "(", "src", ",", "0", ")", ")", ";", "scratch1", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "if", "(", "TARGET_UNROLL_STRLEN", "&&", "eoschar", "==", "const0_rtx", "&&", "optimize", ">", "1", "&&", "!", "optimize_insn_for_size_p", "(", ")", ")", "{", "emit_move_insn", "(", "out", ",", "addr", ")", ";", "ix86_expand_strlensi_unroll_1", "(", "out", ",", "src", ",", "align", ")", ";", "emit_insn", "(", "ix86_gen_sub3", "(", "out", ",", "out", ",", "addr", ")", ")", ";", "}", "else", "{", "rtx", "unspec", ";", "if", "(", "fixed_regs", "[", "AX_REG", "]", "||", "fixed_regs", "[", "CX_REG", "]", "||", "fixed_regs", "[", "DI_REG", "]", ")", "return", "false", ";", "if", "(", "!", "ADDR_SPACE_GENERIC_P", "(", "MEM_ADDR_SPACE", "(", "src", ")", ")", ")", "return", "false", ";", "scratch2", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "scratch3", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "scratch4", "=", "force_reg", "(", "Pmode", ",", "constm1_rtx", ")", ";", "emit_move_insn", "(", "scratch3", ",", "addr", ")", ";", "eoschar", "=", "force_reg", "(", "QImode", ",", "eoschar", ")", ";", "src", "=", "replace_equiv_address_nv", "(", "src", ",", "scratch3", ")", ";", "unspec", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "4", ",", "src", ",", "eoschar", ",", "align", ",", "scratch4", ")", ",", "UNSPEC_SCAS", ")", ";", "emit_insn", "(", "gen_strlenqi_1", "(", "scratch1", ",", "scratch3", ",", "unspec", ")", ")", ";", "emit_insn", "(", "ix86_gen_one_cmpl2", "(", "scratch2", ",", "scratch1", ")", ")", ";", "emit_insn", "(", "ix86_gen_add3", "(", "out", ",", "scratch2", ",", "constm1_rtx", ")", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Expand", "strlen", "."], "TS_V_token": ["i386", "1", "4", "0", "1", "4"], "File": "i3865", "Func": "ix86_expand_strlen", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 715, "Length": 281, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_simd_mem_operand_p", "(", "rtx", "op", ")", "{", "return", "MEM_P", "(", "op", ")", "&&", "(", "GET_CODE", "(", "XEXP", "(", "op", ",", "0", ")", ")", "==", "POST_INC", "||", "REG_P", "(", "XEXP", "(", "op", ",", "0", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "OP", "is", "a", "valid", "vector", "addressing", "mode", "."], "TS_V_token": ["aarch64", "0", "0"], "File": "aarch64", "Func": "aarch64_simd_mem_operand_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 716, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TVMPassConfig", "::", "addPostRegAlloc", "(", ")", "{", "disablePass", "(", "&", "MachineCopyPropagationID", ")", ";", "disablePass", "(", "&", "PostRAMachineSinkingID", ")", ";", "disablePass", "(", "&", "PostRASchedulerID", ")", ";", "disablePass", "(", "&", "FuncletLayoutID", ")", ";", "disablePass", "(", "&", "StackMapLivenessID", ")", ";", "disablePass", "(", "&", "LiveDebugValuesID", ")", ";", "disablePass", "(", "&", "PatchableFunctionID", ")", ";", "disablePass", "(", "&", "ShrinkWrapID", ")", ";", "TargetPassConfig", "::", "addPostRegAlloc", "(", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "after", "register", "allocation", "pass", "pipeline", "but", "before", "prolog-epilog", "insertion", "."], "TS_V_token": ["TVM", "TVM"], "File": "TVMTargetMachine", "Func": "addPostRegAlloc", "Target": "TVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 717, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SITargetLowering", "::", "isFMAFasterThanFMulAndFAdd", "(", "EVT", "VT", ")", "const", "{", "VT", "=", "VT", ".", "getScalarType", "(", ")", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "case", "MVT", "::", "f32", ":", "return", "Subtarget", "->", "hasFP32Denormals", "(", ")", "&&", "Subtarget", "->", "hasFastFMAF32", "(", ")", ";", "case", "MVT", "::", "f64", ":", "return", "true", ";", "case", "MVT", "::", "f16", ":", "return", "Subtarget", "->", "has16BitInsts", "(", ")", "&&", "Subtarget", "->", "hasFP16Denormals", "(", ")", ";", "default", ":", "break", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "an", "FMA", "operation", "is", "faster", "than", "a", "pair", "of", "fmul", "and", "fadd", "instructions", "."], "TS_V_token": ["AMDGPU", "SI", "MVT::f32", "MVT::f64", "MVT::f16"], "File": "SIISelLowering114", "Func": "isFMAFasterThanFMulAndFAdd", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 718, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "legitimate_pic_operand_p", "(", "rtx", "x", ")", "{", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "SYMBOL_REF", ":", "return", "0", ";", "break", ";", "case", "LABEL_REF", ":", "return", "0", ";", "break", ";", "case", "CONST", ":", "if", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "PLUS", "&&", "(", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "0", ")", ")", "==", "SYMBOL_REF", "||", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "0", ")", ")", "==", "LABEL_REF", ")", "&&", "(", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "1", ")", ")", "==", "CONST_INT", ")", ")", "return", "0", ";", "break", ";", "case", "MEM", ":", "return", "legitimate_pic_operand_p", "(", "XEXP", "(", "x", ",", "0", ")", ")", ";", "break", ";", "default", ":", "break", ";", "}", "return", "1", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OP", "is", "a", "legitimate", "general", "operand", "when", "generating", "PIC", "code", ".", "It", "is", "given", "that", "flag_pic", "is", "on", "and", "that", "OP", "satisfies", "CONSTANT_P", "or", "is", "a", "CONST_DOUBLE", "."], "TS_V_token": ["cr16", "0", "0", "0", "0", "0", "0", "0", "0", "1", "0", "0", "1"], "File": "cr162", "Func": "legitimate_pic_operand_p", "Target": "cr16", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 719, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "shouldExpandAtomicRMWInIR", "(", "AtomicRMWInst", "*", "AI", ")", "const", "{", "unsigned", "NativeWidth", "=", "Subtarget", "->", "is64Bit", "(", ")", "?", "64", ":", "32", ";", "const", "Type", "*", "MemType", "=", "AI", "->", "getType", "(", ")", ";", "if", "(", "MemType", "->", "getPrimitiveSizeInBits", "(", ")", ">", "NativeWidth", ")", "return", "needsCmpXchgNb", "(", "MemType", ")", ";", "AtomicRMWInst", "::", "BinOp", "Op", "=", "AI", "->", "getOperation", "(", ")", ";", "switch", "(", "Op", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown atomic operation\"", ")", ";", "case", "AtomicRMWInst", "::", "Xchg", ":", "case", "AtomicRMWInst", "::", "Add", ":", "case", "AtomicRMWInst", "::", "Sub", ":", "return", "false", ";", "case", "AtomicRMWInst", "::", "Or", ":", "case", "AtomicRMWInst", "::", "And", ":", "case", "AtomicRMWInst", "::", "Xor", ":", "return", "!", "AI", "->", "use_empty", "(", ")", ";", "case", "AtomicRMWInst", "::", "Nand", ":", "case", "AtomicRMWInst", "::", "Max", ":", "case", "AtomicRMWInst", "::", "Min", ":", "case", "AtomicRMWInst", "::", "UMax", ":", "case", "AtomicRMWInst", "::", "UMin", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Returns", "how", "the", "IR-level", "AtomicExpand", "pass", "should", "expand", "the", "given", "AtomicRMW", ",", "if", "at", "all", "."], "TS_V_token": ["X86", "X86", "64", "32", "\"Unknown atomic operation\""], "File": "X86ISelLowering (2)4", "Func": "shouldExpandAtomicRMWInIR", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 720, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "char", "*", "xstormy16_output_cbranch_hi", "(", "rtx", "op", ",", "const", "char", "*", "label", ",", "int", "reversed", ",", "rtx", "insn", ")", "{", "static", "char", "string", "[", "64", "]", ";", "int", "need_longbranch", "=", "(", "op", "!=", "NULL_RTX", "?", "get_attr_length", "(", "insn", ")", "==", "8", ":", "get_attr_length", "(", "insn", ")", "==", "4", ")", ";", "int", "really_reversed", "=", "reversed", "^", "need_longbranch", ";", "const", "char", "*", "ccode", ";", "const", "char", "*", "template", ";", "const", "char", "*", "operands", ";", "enum", "rtx_code", "code", ";", "if", "(", "!", "op", ")", "{", "if", "(", "need_longbranch", ")", "ccode", "=", "\"jmpf\"", ";", "else", "ccode", "=", "\"br\"", ";", "sprintf", "(", "string", ",", "\"%s %s\"", ",", "ccode", ",", "label", ")", ";", "return", "string", ";", "}", "code", "=", "GET_CODE", "(", "op", ")", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "op", ",", "0", ")", ")", "!=", "REG", ")", "{", "code", "=", "swap_condition", "(", "code", ")", ";", "operands", "=", "\"%3,%2\"", ";", "}", "else", "operands", "=", "\"%2,%3\"", ";", "if", "(", "really_reversed", ")", "code", "=", "reverse_condition", "(", "code", ")", ";", "switch", "(", "code", ")", "{", "case", "EQ", ":", "ccode", "=", "\"z\"", ";", "break", ";", "case", "NE", ":", "ccode", "=", "\"nz\"", ";", "break", ";", "case", "GE", ":", "ccode", "=", "\"ge\"", ";", "break", ";", "case", "LT", ":", "ccode", "=", "\"lt\"", ";", "break", ";", "case", "GT", ":", "ccode", "=", "\"gt\"", ";", "break", ";", "case", "LE", ":", "ccode", "=", "\"le\"", ";", "break", ";", "case", "GEU", ":", "ccode", "=", "\"nc\"", ";", "break", ";", "case", "LTU", ":", "ccode", "=", "\"c\"", ";", "break", ";", "case", "GTU", ":", "ccode", "=", "\"hi\"", ";", "break", ";", "case", "LEU", ":", "ccode", "=", "\"ls\"", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "need_longbranch", ")", "template", "=", "\"b%s %s,.+8 | jmpf %s\"", ";", "else", "template", "=", "\"b%s %s,%s\"", ";", "sprintf", "(", "string", ",", "template", ",", "ccode", ",", "operands", ",", "label", ")", ";", "return", "string", ";", "}", ""], "natrual_language": ["Return", "the", "string", "to", "output", "a", "conditional", "branch", "to", "LABEL", ",", "which", "is", "the", "operand", "number", "of", "the", "label", ".", "OP", "is", "the", "conditional", "expression", ",", "or", "NULL", "for", "branch-always", ".", "REVERSED", "is", "non-zero", "if", "we", "should", "reverse", "the", "sense", "of", "the", "comparison", ".", "INSN", "is", "the", "insn", "."], "TS_V_token": ["stormy16", "64", "8", "4", "\"jmpf\"", "\"br\"", "\"%s %s\"", "0", "\"%3,%2\"", "\"%2,%3\"", "\"z\"", "\"nz\"", "\"ge\"", "\"lt\"", "\"gt\"", "\"le\"", "\"nc\"", "\"c\"", "\"hi\"", "\"ls\"", "\"b%s %s,.+8 | jmpf %s\"", "\"b%s %s,%s\""], "File": "stormy163", "Func": "xstormy16_output_cbranch_hi", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 721, "Length": 291, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_issue_rate", "(", "void", ")", "{", "if", "(", "!", "reload_completed", "&&", "!", "flag_sched_pressure", ")", "return", "1", ";", "switch", "(", "rs6000_cpu_attr", ")", "{", "case", "CPU_RS64A", ":", "case", "CPU_PPC601", ":", "case", "CPU_PPC7450", ":", "return", "3", ";", "case", "CPU_PPC440", ":", "case", "CPU_PPC603", ":", "case", "CPU_PPC750", ":", "case", "CPU_PPC7400", ":", "case", "CPU_PPC8540", ":", "case", "CPU_PPC8548", ":", "case", "CPU_CELL", ":", "case", "CPU_PPCE300C2", ":", "case", "CPU_PPCE300C3", ":", "case", "CPU_PPCE500MC", ":", "case", "CPU_PPCE500MC64", ":", "case", "CPU_PPCE5500", ":", "case", "CPU_PPCE6500", ":", "case", "CPU_TITAN", ":", "return", "2", ";", "case", "CPU_PPC476", ":", "case", "CPU_PPC604", ":", "case", "CPU_PPC604E", ":", "case", "CPU_PPC620", ":", "case", "CPU_PPC630", ":", "return", "4", ";", "case", "CPU_POWER4", ":", "case", "CPU_POWER5", ":", "case", "CPU_POWER6", ":", "case", "CPU_POWER7", ":", "return", "5", ";", "case", "CPU_POWER8", ":", "case", "CPU_POWER9", ":", "return", "7", ";", "default", ":", "return", "1", ";", "}", "}", ""], "natrual_language": ["Return", "how", "many", "instructions", "the", "machine", "can", "issue", "per", "cycle", "."], "TS_V_token": ["rs6000", "1", "3", "2", "4", "5", "7", "1"], "File": "rs60005", "Func": "rs6000_issue_rate", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 722, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "MCInst", "MCB", ";", "MCB", ".", "setOpcode", "(", "Hexagon", "::", "BUNDLE", ")", ";", "MCB", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "0", ")", ")", ";", "const", "MCInstrInfo", "&", "MCII", "=", "*", "Subtarget", "->", "getInstrInfo", "(", ")", ";", "if", "(", "MI", "->", "isBundle", "(", ")", ")", "{", "const", "MachineBasicBlock", "*", "MBB", "=", "MI", "->", "getParent", "(", ")", ";", "MachineBasicBlock", "::", "const_instr_iterator", "MII", "=", "MI", "->", "getIterator", "(", ")", ";", "for", "(", "++", "MII", ";", "MII", "!=", "MBB", "->", "instr_end", "(", ")", "&&", "MII", "->", "isInsideBundle", "(", ")", ";", "++", "MII", ")", "if", "(", "!", "MII", "->", "isDebugInstr", "(", ")", "&&", "!", "MII", "->", "isImplicitDef", "(", ")", ")", "HexagonLowerToMC", "(", "MCII", ",", "&", "*", "MII", ",", "MCB", ",", "*", "this", ")", ";", "}", "else", "{", "HexagonLowerToMC", "(", "MCII", ",", "MI", ",", "MCB", ",", "*", "this", ")", ";", "}", "const", "MachineFunction", "&", "MF", "=", "*", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "auto", "&", "HII", "=", "*", "MF", ".", "getSubtarget", "<", "HexagonSubtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "if", "(", "MI", "->", "isBundle", "(", ")", "&&", "HII", ".", "getBundleNoShuf", "(", "*", "MI", ")", ")", "HexagonMCInstrInfo", "::", "setMemReorderDisabled", "(", "MCB", ")", ";", "MCContext", "&", "Ctx", "=", "OutStreamer", "->", "getContext", "(", ")", ";", "bool", "Ok", "=", "HexagonMCInstrInfo", "::", "canonicalizePacket", "(", "MCII", ",", "*", "Subtarget", ",", "Ctx", ",", "MCB", ",", "nullptr", ")", ";", "assert", "(", "Ok", ")", ";", "(", "void", ")", "Ok", ";", "if", "(", "HexagonMCInstrInfo", "::", "bundleSize", "(", "MCB", ")", "==", "0", ")", "return", ";", "OutStreamer", "->", "EmitInstruction", "(", "MCB", ",", "getSubtargetInfo", "(", ")", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon::BUNDLE", "0", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "0"], "File": "HexagonAsmPrinter", "Func": "EmitInstruction", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 723, "Length": 268, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LEGFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "uint64_t", "StackSize", "=", "computeStackSize", "(", "MF", ")", ";", "if", "(", "!", "StackSize", ")", "{", "return", ";", "}", "unsigned", "StackReg", "=", "LEG", "::", "SP", ";", "unsigned", "OffsetReg", "=", "materializeOffset", "(", "MF", ",", "MBB", ",", "MBBI", ",", "(", "unsigned", ")", "StackSize", ")", ";", "if", "(", "OffsetReg", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "LEG", "::", "ADDrr", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ")", ".", "addReg", "(", "OffsetReg", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "else", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "LEG", "::", "ADDri", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ")", ".", "addImm", "(", "StackSize", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["LEG", "LEG", "LEG::SP", "LEG::ADDrr", "LEG::ADDri"], "File": "LEGFrameLowering", "Func": "emitEpilogue", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 724, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "avr_out_addto_sp", "(", "rtx", "*", "op", ",", "int", "*", "plen", ")", "{", "int", "pc_len", "=", "AVR_2_BYTE_PC", "?", "2", ":", "3", ";", "int", "addend", "=", "INTVAL", "(", "op", "[", "0", "]", ")", ";", "if", "(", "plen", ")", "*", "plen", "=", "0", ";", "if", "(", "addend", "<", "0", ")", "{", "if", "(", "flag_verbose_asm", "||", "flag_print_asm_name", ")", "avr_asm_len", "(", "ASM_COMMENT_START", "\"SP -= %n0\"", ",", "op", ",", "plen", ",", "0", ")", ";", "while", "(", "addend", "<=", "-", "pc_len", ")", "{", "addend", "+=", "pc_len", ";", "avr_asm_len", "(", "\"rcall .\"", ",", "op", ",", "plen", ",", "1", ")", ";", "}", "while", "(", "addend", "++", "<", "0", ")", "avr_asm_len", "(", "\"push __tmp_reg__\"", ",", "op", ",", "plen", ",", "1", ")", ";", "}", "else", "if", "(", "addend", ">", "0", ")", "{", "if", "(", "flag_verbose_asm", "||", "flag_print_asm_name", ")", "avr_asm_len", "(", "ASM_COMMENT_START", "\"SP += %0\"", ",", "op", ",", "plen", ",", "0", ")", ";", "while", "(", "addend", "--", ">", "0", ")", "avr_asm_len", "(", "\"pop __tmp_reg__\"", ",", "op", ",", "plen", ",", "1", ")", ";", "}", "return", "\"\"", ";", "}", ""], "natrual_language": ["PLEN", "==", "NULL", ":", "Output", "code", "to", "add", "CONST_INT", "OP", "[", "0", "]", "to", "SP", ".", "PLEN", "!", "=", "NULL", ":", "Set", "*", "PLEN", "to", "the", "length", "of", "that", "sequence", ".", "Return", "``", "''", "."], "TS_V_token": ["avr", "2", "3", "0", "0", "0", "\"SP -= %n0\"", "0", "\"rcall .\"", "1", "0", "\"push __tmp_reg__\"", "1", "0", "\"SP += %0\"", "0", "0", "\"pop __tmp_reg__\"", "1", "\"\""], "File": "avr", "Func": "avr_out_addto_sp", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 725, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_attr_preserve_access", "(", "tree", "t", ")", "{", "if", "(", "t", "==", "NULL_TREE", ")", "return", "false", ";", "poly_int64", "bitsize", ",", "bitpos", ";", "tree", "var_off", ";", "machine_mode", "mode", ";", "int", "sign", ",", "reverse", ",", "vol", ";", "tree", "base", "=", "get_inner_reference", "(", "t", ",", "&", "bitsize", ",", "&", "bitpos", ",", "&", "var_off", ",", "&", "mode", ",", "&", "sign", ",", "&", "reverse", ",", "&", "vol", ")", ";", "if", "(", "TREE_CODE", "(", "base", ")", "==", "MEM_REF", ")", "{", "return", "lookup_attribute", "(", "\"preserve_access_index\"", ",", "TYPE_ATTRIBUTES", "(", "TREE_TYPE", "(", "base", ")", ")", ")", ";", "}", "if", "(", "TREE_CODE", "(", "t", ")", "==", "COMPONENT_REF", ")", "{", "const", "tree", "op", "=", "TREE_OPERAND", "(", "t", ",", "0", ")", ";", "if", "(", "TREE_CODE", "(", "op", ")", "==", "COMPONENT_REF", ")", "return", "is_attr_preserve_access", "(", "op", ")", ";", "const", "tree", "container", "=", "DECL_CONTEXT", "(", "TREE_OPERAND", "(", "t", ",", "1", ")", ")", ";", "return", "lookup_attribute", "(", "\"preserve_access_index\"", ",", "TYPE_ATTRIBUTES", "(", "container", ")", ")", ";", "}", "else", "if", "(", "TREE_CODE", "(", "t", ")", "==", "ADDR_EXPR", ")", "return", "is_attr_preserve_access", "(", "TREE_OPERAND", "(", "t", ",", "0", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["True", "iff", "tree", "T", "accesses", "any", "member", "of", "a", "struct/union/class", "which", "is", "marked", "with", "the", "PRESERVE_ACCESS_INDEX", "attribute", "."], "TS_V_token": ["bpf", "\"preserve_access_index\"", "0", "1", "\"preserve_access_index\"", "0"], "File": "bpf", "Func": "is_attr_preserve_access", "Target": "bpf", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 726, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "::", "HazardType", "ARMHazardRecognizer", "::", "getHazardType", "(", "SUnit", "*", "SU", ",", "int", "Stalls", ")", "{", "assert", "(", "Stalls", "==", "0", "&&", "\"ARM hazards don't support scoreboard lookahead\"", ")", ";", "MachineInstr", "*", "MI", "=", "SU", "->", "getInstr", "(", ")", ";", "if", "(", "!", "MI", "->", "isDebugValue", "(", ")", ")", "{", "const", "MCInstrDesc", "&", "MCID", "=", "MI", "->", "getDesc", "(", ")", ";", "if", "(", "LastMI", "&&", "(", "MCID", ".", "TSFlags", "&", "ARMII", "::", "DomainMask", ")", "!=", "ARMII", "::", "DomainGeneral", ")", "{", "MachineInstr", "*", "DefMI", "=", "LastMI", ";", "const", "MCInstrDesc", "&", "LastMCID", "=", "LastMI", "->", "getDesc", "(", ")", ";", "if", "(", "!", "LastMI", "->", "isBarrier", "(", ")", "&&", "!", "(", "STI", ".", "isCortexA9", "(", ")", "&&", "(", "LastMI", "->", "mayLoad", "(", ")", "||", "LastMI", "->", "mayStore", "(", ")", ")", ")", "&&", "(", "LastMCID", ".", "TSFlags", "&", "ARMII", "::", "DomainMask", ")", "==", "ARMII", "::", "DomainGeneral", ")", "{", "MachineBasicBlock", "::", "iterator", "I", "=", "LastMI", ";", "if", "(", "I", "!=", "LastMI", "->", "getParent", "(", ")", "->", "begin", "(", ")", ")", "{", "I", "=", "llvm", "::", "prior", "(", "I", ")", ";", "DefMI", "=", "&", "*", "I", ";", "}", "}", "if", "(", "TII", ".", "isFpMLxInstruction", "(", "DefMI", "->", "getOpcode", "(", ")", ")", "&&", "(", "TII", ".", "canCauseFpMLxStall", "(", "MI", "->", "getOpcode", "(", ")", ")", "||", "hasRAWHazard", "(", "DefMI", ",", "MI", ",", "TRI", ")", ")", ")", "{", "if", "(", "FpMLxStalls", "==", "0", ")", "FpMLxStalls", "=", "4", ";", "return", "Hazard", ";", "}", "}", "}", "return", "ScoreboardHazardRecognizer", "::", "getHazardType", "(", "SU", ",", "Stalls", ")", ";", "}", ""], "natrual_language": ["getHazardType", "-", "Return", "the", "hazard", "type", "of", "emitting", "this", "node", "."], "TS_V_token": ["ARM", "ARM", "0", "\"ARM hazards don't support scoreboard lookahead\"", "ARMII::DomainMask", "ARMII::DomainGeneral", "ARMII::DomainMask", "ARMII::DomainGeneral", "0", "4"], "File": "ARMHazardRecognizer16", "Func": "getHazardType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 727, "Length": 240, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "restore_saved_cr", "(", "rtx", "reg", ",", "bool", "using_mfcr_multiple", ",", "bool", "exit_func", ")", "{", "int", "count", "=", "0", ";", "int", "i", ";", "if", "(", "using_mfcr_multiple", ")", "{", "for", "(", "i", "=", "0", ";", "i", "<", "8", ";", "i", "++", ")", "if", "(", "save_reg_p", "(", "CR0_REGNO", "+", "i", ")", ")", "count", "++", ";", "gcc_assert", "(", "count", ")", ";", "}", "if", "(", "using_mfcr_multiple", "&&", "count", ">", "1", ")", "{", "rtx_insn", "*", "insn", ";", "rtvec", "p", ";", "int", "ndx", ";", "p", "=", "rtvec_alloc", "(", "count", ")", ";", "ndx", "=", "0", ";", "for", "(", "i", "=", "0", ";", "i", "<", "8", ";", "i", "++", ")", "if", "(", "save_reg_p", "(", "CR0_REGNO", "+", "i", ")", ")", "{", "rtvec", "r", "=", "rtvec_alloc", "(", "2", ")", ";", "RTVEC_ELT", "(", "r", ",", "0", ")", "=", "reg", ";", "RTVEC_ELT", "(", "r", ",", "1", ")", "=", "GEN_INT", "(", "1", "<<", "(", "7", "-", "i", ")", ")", ";", "RTVEC_ELT", "(", "p", ",", "ndx", ")", "=", "gen_rtx_SET", "(", "gen_rtx_REG", "(", "CCmode", ",", "CR0_REGNO", "+", "i", ")", ",", "gen_rtx_UNSPEC", "(", "CCmode", ",", "r", ",", "UNSPEC_MOVESI_TO_CR", ")", ")", ";", "ndx", "++", ";", "}", "insn", "=", "emit_insn", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "p", ")", ")", ";", "gcc_assert", "(", "ndx", "==", "count", ")", ";", "if", "(", "!", "exit_func", "&&", "DEFAULT_ABI", "==", "ABI_ELFv2", "&&", "flag_shrink_wrap", ")", "{", "for", "(", "i", "=", "0", ";", "i", "<", "8", ";", "i", "++", ")", "if", "(", "save_reg_p", "(", "CR0_REGNO", "+", "i", ")", ")", "add_reg_note", "(", "insn", ",", "REG_CFA_RESTORE", ",", "gen_rtx_REG", "(", "SImode", ",", "CR0_REGNO", "+", "i", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "}", "else", "for", "(", "i", "=", "0", ";", "i", "<", "8", ";", "i", "++", ")", "if", "(", "save_reg_p", "(", "CR0_REGNO", "+", "i", ")", ")", "{", "rtx", "insn", "=", "emit_insn", "(", "gen_movsi_to_cr_one", "(", "gen_rtx_REG", "(", "CCmode", ",", "CR0_REGNO", "+", "i", ")", ",", "reg", ")", ")", ";", "if", "(", "!", "exit_func", "&&", "DEFAULT_ABI", "==", "ABI_ELFv2", "&&", "flag_shrink_wrap", ")", "{", "add_reg_note", "(", "insn", ",", "REG_CFA_RESTORE", ",", "gen_rtx_REG", "(", "SImode", ",", "CR0_REGNO", "+", "i", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "}", "if", "(", "!", "exit_func", "&&", "DEFAULT_ABI", "!=", "ABI_ELFv2", "&&", "(", "DEFAULT_ABI", "==", "ABI_V4", "||", "flag_shrink_wrap", ")", ")", "{", "rtx_insn", "*", "insn", "=", "get_last_insn", "(", ")", ";", "rtx", "cr", "=", "gen_rtx_REG", "(", "SImode", ",", "CR2_REGNO", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_RESTORE", ",", "cr", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "}", ""], "natrual_language": ["Reload", "CR", "from", "REG", "."], "TS_V_token": ["rs6000", "0", "0", "8", "1", "0", "0", "8", "2", "0", "1", "1", "7", "0", "8", "1", "0", "8", "1", "1"], "File": "rs6000-logue", "Func": "restore_saved_cr", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 728, "Length": 391, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "X86TargetLowering", "::", "getSqrtEstimate", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ",", "int", "Enabled", ",", "int", "&", "RefinementSteps", ",", "bool", "&", "UseOneConstNR", ",", "bool", "Reciprocal", ")", "const", "{", "SDLoc", "DL", "(", "Op", ")", ";", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "if", "(", "(", "VT", "==", "MVT", "::", "f32", "&&", "Subtarget", ".", "hasSSE1", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "v4f32", "&&", "Subtarget", ".", "hasSSE1", "(", ")", "&&", "Reciprocal", ")", "||", "(", "VT", "==", "MVT", "::", "v4f32", "&&", "Subtarget", ".", "hasSSE2", "(", ")", "&&", "!", "Reciprocal", ")", "||", "(", "VT", "==", "MVT", "::", "v8f32", "&&", "Subtarget", ".", "hasAVX", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "v16f32", "&&", "Subtarget", ".", "useAVX512Regs", "(", ")", ")", ")", "{", "if", "(", "RefinementSteps", "==", "ReciprocalEstimate", "::", "Unspecified", ")", "RefinementSteps", "=", "1", ";", "UseOneConstNR", "=", "false", ";", "unsigned", "Opcode", "=", "VT", "==", "MVT", "::", "v16f32", "?", "X86ISD", "::", "RSQRT14", ":", "X86ISD", "::", "FRSQRT", ";", "SDValue", "Estimate", "=", "DAG", ".", "getNode", "(", "Opcode", ",", "DL", ",", "VT", ",", "Op", ")", ";", "if", "(", "RefinementSteps", "==", "0", "&&", "!", "Reciprocal", ")", "Estimate", "=", "DAG", ".", "getNode", "(", "ISD", "::", "FMUL", ",", "DL", ",", "VT", ",", "Op", ",", "Estimate", ")", ";", "return", "Estimate", ";", "}", "if", "(", "VT", ".", "getScalarType", "(", ")", "==", "MVT", "::", "f16", "&&", "isTypeLegal", "(", "VT", ")", "&&", "Subtarget", ".", "hasFP16", "(", ")", ")", "{", "assert", "(", "Reciprocal", "&&", "\"Don't replace SQRT with RSQRT for half type\"", ")", ";", "if", "(", "RefinementSteps", "==", "ReciprocalEstimate", "::", "Unspecified", ")", "RefinementSteps", "=", "0", ";", "if", "(", "VT", "==", "MVT", "::", "f16", ")", "{", "SDValue", "Zero", "=", "DAG", ".", "getIntPtrConstant", "(", "0", ",", "DL", ")", ";", "SDValue", "Undef", "=", "DAG", ".", "getUNDEF", "(", "MVT", "::", "v8f16", ")", ";", "Op", "=", "DAG", ".", "getNode", "(", "ISD", "::", "SCALAR_TO_VECTOR", ",", "DL", ",", "MVT", "::", "v8f16", ",", "Op", ")", ";", "Op", "=", "DAG", ".", "getNode", "(", "X86ISD", "::", "RSQRT14S", ",", "DL", ",", "MVT", "::", "v8f16", ",", "Undef", ",", "Op", ")", ";", "return", "DAG", ".", "getNode", "(", "ISD", "::", "EXTRACT_VECTOR_ELT", ",", "DL", ",", "MVT", "::", "f16", ",", "Op", ",", "Zero", ")", ";", "}", "return", "DAG", ".", "getNode", "(", "X86ISD", "::", "RSQRT14", ",", "DL", ",", "VT", ",", "Op", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Hooks", "for", "building", "estimates", "in", "place", "of", "slower", "divisions", "and", "square", "roots", "."], "TS_V_token": ["X86", "X86", "MVT::f32", "MVT::v4f32", "MVT::v4f32", "MVT::v8f32", "MVT::v16f32", "1", "MVT::v16f32", "X86ISD::RSQRT14", "X86ISD::FRSQRT", "0", "ISD::FMUL", "MVT::f16", "\"Don't replace SQRT with RSQRT for half type\"", "0", "MVT::f16", "0", "MVT::v8f16", "ISD::SCALAR_TO_VECTOR", "MVT::v8f16", "X86ISD::RSQRT14S", "MVT::v8f16", "ISD::EXTRACT_VECTOR_ELT", "MVT::f16", "X86ISD::RSQRT14"], "File": "X86ISelLowering100", "Func": "getSqrtEstimate", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 729, "Length": 362, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "ds_t", "ia64_get_insn_checked_ds", "(", "rtx_insn", "*", "insn", ")", "{", "int", "code", "=", "get_insn_spec_code", "(", "insn", ")", ";", "switch", "(", "code", ")", "{", "case", "UNSPEC_LDA", ":", "return", "BEGIN_DATA", "|", "BEGIN_CONTROL", ";", "case", "UNSPEC_LDS", ":", "return", "BEGIN_CONTROL", ";", "case", "UNSPEC_LDS_A", ":", "case", "UNSPEC_LDSA", ":", "return", "BEGIN_DATA", "|", "BEGIN_CONTROL", ";", "default", ":", "return", "0", ";", "}", "}", ""], "natrual_language": ["If", "INSN", "is", "a", "speculative", "load", "return", "a", "ds", "with", "the", "speculation", "types", "that", "will", "be", "checked", ".", "Otherwise", "[", "if", "INSN", "is", "a", "normal", "instruction", "]", "return", "0", "."], "TS_V_token": ["ia64", "0"], "File": "ia64", "Func": "ia64_get_insn_checked_ds", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 730, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "OperandMatchResultTy", "RISCVAsmParser", "::", "tryParseRegister", "(", "unsigned", "&", "RegNo", ",", "SMLoc", "&", "StartLoc", ",", "SMLoc", "&", "EndLoc", ")", "{", "const", "AsmToken", "&", "Tok", "=", "getParser", "(", ")", ".", "getTok", "(", ")", ";", "StartLoc", "=", "Tok", ".", "getLoc", "(", ")", ";", "EndLoc", "=", "Tok", ".", "getEndLoc", "(", ")", ";", "RegNo", "=", "0", ";", "StringRef", "Name", "=", "getLexer", "(", ")", ".", "getTok", "(", ")", ".", "getIdentifier", "(", ")", ";", "if", "(", "matchRegisterNameHelper", "(", "isRV32E", "(", ")", ",", "(", "Register", "&", ")", "RegNo", ",", "Name", ")", ")", "return", "MatchOperand_NoMatch", ";", "getParser", "(", ")", ".", "Lex", "(", ")", ";", "return", "MatchOperand_Success", ";", "}", ""], "natrual_language": ["tryParseRegister", "-", "parse", "one", "register", "if", "possible"], "TS_V_token": ["RISCV", "RISCV", "0"], "File": "RISCVAsmParser13", "Func": "tryParseRegister", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 731, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64PassConfig", "::", "addGlobalInstructionSelect", "(", ")", "{", "addPass", "(", "new", "InstructionSelect", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["This", "method", "should", "install", "a", "(", "global", ")", "instruction", "selector", "pass", ",", "which", "converts", "possibly", "generic", "instructions", "to", "fully", "target-specific", "instructions", ",", "thereby", "constraining", "all", "generic", "virtual", "registers", "to", "register", "classes", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64TargetMachine (2)3", "Func": "addGlobalInstructionSelect", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 732, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIPreAllocateWWMRegs", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"SIPreAllocateWWMRegs: function \"", "<<", "MF", ".", "getName", "(", ")", "<<", "\"\\n\"", ")", ";", "const", "GCNSubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "&", "TII", "->", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "LIS", "=", "&", "getAnalysis", "<", "LiveIntervals", ">", "(", ")", ";", "Matrix", "=", "&", "getAnalysis", "<", "LiveRegMatrix", ">", "(", ")", ";", "VRM", "=", "&", "getAnalysis", "<", "VirtRegMap", ">", "(", ")", ";", "RegClassInfo", ".", "runOnMachineFunction", "(", "MF", ")", ";", "bool", "RegsAssigned", "=", "false", ";", "ReversePostOrderTraversal", "<", "MachineFunction", "*", ">", "RPOT", "(", "&", "MF", ")", ";", "for", "(", "MachineBasicBlock", "*", "MBB", ":", "RPOT", ")", "{", "bool", "InWWM", "=", "false", ";", "for", "(", "MachineInstr", "&", "MI", ":", "*", "MBB", ")", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "AMDGPU", "::", "V_SET_INACTIVE_B32", "||", "MI", ".", "getOpcode", "(", ")", "==", "AMDGPU", "::", "V_SET_INACTIVE_B64", ")", "RegsAssigned", "|=", "processDef", "(", "MI", ".", "getOperand", "(", "0", ")", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "AMDGPU", "::", "ENTER_WWM", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"entering WWM region: \"", "<<", "MI", "<<", "\"\\n\"", ")", ";", "InWWM", "=", "true", ";", "continue", ";", "}", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "AMDGPU", "::", "EXIT_WWM", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"exiting WWM region: \"", "<<", "MI", "<<", "\"\\n\"", ")", ";", "InWWM", "=", "false", ";", "}", "if", "(", "!", "InWWM", ")", "continue", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"processing \"", "<<", "MI", "<<", "\"\\n\"", ")", ";", "for", "(", "MachineOperand", "&", "DefOpnd", ":", "MI", ".", "defs", "(", ")", ")", "{", "RegsAssigned", "|=", "processDef", "(", "DefOpnd", ")", ";", "}", "}", "}", "if", "(", "!", "RegsAssigned", ")", "return", "false", ";", "rewriteRegs", "(", "MF", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "SI", "\"SIPreAllocateWWMRegs: function \"", "\"\\n\"", "AMDGPU::V_SET_INACTIVE_B32", "AMDGPU::V_SET_INACTIVE_B64", "0", "AMDGPU::ENTER_WWM", "\"entering WWM region: \"", "\"\\n\"", "AMDGPU::EXIT_WWM", "\"exiting WWM region: \"", "\"\\n\"", "\"processing \"", "\"\\n\""], "File": "SIPreAllocateWWMRegs", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 733, "Length": 302, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "WebAssemblyAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"EmitInstruction: \"", "<<", "*", "MI", "<<", "'\\n'", ")", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "WebAssembly", "::", "ARGUMENT_i32", ":", "case", "WebAssembly", "::", "ARGUMENT_i32_S", ":", "case", "WebAssembly", "::", "ARGUMENT_i64", ":", "case", "WebAssembly", "::", "ARGUMENT_i64_S", ":", "case", "WebAssembly", "::", "ARGUMENT_f32", ":", "case", "WebAssembly", "::", "ARGUMENT_f32_S", ":", "case", "WebAssembly", "::", "ARGUMENT_f64", ":", "case", "WebAssembly", "::", "ARGUMENT_f64_S", ":", "case", "WebAssembly", "::", "ARGUMENT_v16i8", ":", "case", "WebAssembly", "::", "ARGUMENT_v16i8_S", ":", "case", "WebAssembly", "::", "ARGUMENT_v8i16", ":", "case", "WebAssembly", "::", "ARGUMENT_v8i16_S", ":", "case", "WebAssembly", "::", "ARGUMENT_v4i32", ":", "case", "WebAssembly", "::", "ARGUMENT_v4i32_S", ":", "case", "WebAssembly", "::", "ARGUMENT_v2i64", ":", "case", "WebAssembly", "::", "ARGUMENT_v2i64_S", ":", "case", "WebAssembly", "::", "ARGUMENT_v4f32", ":", "case", "WebAssembly", "::", "ARGUMENT_v4f32_S", ":", "case", "WebAssembly", "::", "ARGUMENT_v2f64", ":", "case", "WebAssembly", "::", "ARGUMENT_v2f64_S", ":", "break", ";", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_I32", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_I32_S", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_I64", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_I64_S", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_F32", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_F32_S", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_F64", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_F64_S", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_v16i8", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_v16i8_S", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_v8i16", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_v8i16_S", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_v4i32", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_v4i32_S", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_v2i64", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_v2i64_S", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_v4f32", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_v4f32_S", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_v2f64", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_v2f64_S", ":", "{", "if", "(", "isVerbose", "(", ")", ")", "{", "OutStreamer", "->", "AddComment", "(", "\"fallthrough-return-value\"", ")", ";", "OutStreamer", "->", "AddBlankLine", "(", ")", ";", "}", "break", ";", "}", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_VOID", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_VOID_S", ":", "if", "(", "isVerbose", "(", ")", ")", "{", "OutStreamer", "->", "AddComment", "(", "\"fallthrough-return-void\"", ")", ";", "OutStreamer", "->", "AddBlankLine", "(", ")", ";", "}", "break", ";", "default", ":", "{", "WebAssemblyMCInstLower", "MCInstLowering", "(", "OutContext", ",", "*", "this", ")", ";", "MCInst", "TmpInst", ";", "MCInstLowering", ".", "Lower", "(", "MI", ",", "TmpInst", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "TmpInst", ")", ";", "break", ";", "}", "}", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"EmitInstruction: \"", "WebAssembly::ARGUMENT_i32", "WebAssembly::ARGUMENT_i32_S", "WebAssembly::ARGUMENT_i64", "WebAssembly::ARGUMENT_i64_S", "WebAssembly::ARGUMENT_f32", "WebAssembly::ARGUMENT_f32_S", "WebAssembly::ARGUMENT_f64", "WebAssembly::ARGUMENT_f64_S", "WebAssembly::ARGUMENT_v16i8", "WebAssembly::ARGUMENT_v16i8_S", "WebAssembly::ARGUMENT_v8i16", "WebAssembly::ARGUMENT_v8i16_S", "WebAssembly::ARGUMENT_v4i32", "WebAssembly::ARGUMENT_v4i32_S", "WebAssembly::ARGUMENT_v2i64", "WebAssembly::ARGUMENT_v2i64_S", "WebAssembly::ARGUMENT_v4f32", "WebAssembly::ARGUMENT_v4f32_S", "WebAssembly::ARGUMENT_v2f64", "WebAssembly::ARGUMENT_v2f64_S", "WebAssembly::FALLTHROUGH_RETURN_I32", "WebAssembly::FALLTHROUGH_RETURN_I32_S", "WebAssembly::FALLTHROUGH_RETURN_I64", "WebAssembly::FALLTHROUGH_RETURN_I64_S", "WebAssembly::FALLTHROUGH_RETURN_F32", "WebAssembly::FALLTHROUGH_RETURN_F32_S", "WebAssembly::FALLTHROUGH_RETURN_F64", "WebAssembly::FALLTHROUGH_RETURN_F64_S", "WebAssembly::FALLTHROUGH_RETURN_v16i8", "WebAssembly::FALLTHROUGH_RETURN_v16i8_S", "WebAssembly::FALLTHROUGH_RETURN_v8i16", "WebAssembly::FALLTHROUGH_RETURN_v8i16_S", "WebAssembly::FALLTHROUGH_RETURN_v4i32", "WebAssembly::FALLTHROUGH_RETURN_v4i32_S", "WebAssembly::FALLTHROUGH_RETURN_v2i64", "WebAssembly::FALLTHROUGH_RETURN_v2i64_S", "WebAssembly::FALLTHROUGH_RETURN_v4f32", "WebAssembly::FALLTHROUGH_RETURN_v4f32_S", "WebAssembly::FALLTHROUGH_RETURN_v2f64", "WebAssembly::FALLTHROUGH_RETURN_v2f64_S", "\"fallthrough-return-value\"", "WebAssembly::FALLTHROUGH_RETURN_VOID", "WebAssembly::FALLTHROUGH_RETURN_VOID_S", "\"fallthrough-return-void\"", "WebAssembly"], "File": "WebAssemblyAsmPrinter (3)", "Func": "EmitInstruction", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 734, "Length": 331, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"XCore FRAME_TO_ARGS_OFFSET Elimination\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["XCore", "\"XCore FRAME_TO_ARGS_OFFSET Elimination\""], "File": "XCoreFrameToArgsOffsetElim1", "Func": "getPassName", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 735, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_reassociation_width", "(", "unsigned", "int", "opc", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ")", "{", "switch", "(", "rs6000_tune", ")", "{", "case", "PROCESSOR_POWER8", ":", "case", "PROCESSOR_POWER9", ":", "if", "(", "DECIMAL_FLOAT_MODE_P", "(", "mode", ")", ")", "return", "1", ";", "if", "(", "VECTOR_MODE_P", "(", "mode", ")", ")", "return", "4", ";", "if", "(", "INTEGRAL_MODE_P", "(", "mode", ")", ")", "return", "1", ";", "if", "(", "FLOAT_MODE_P", "(", "mode", ")", ")", "return", "4", ";", "break", ";", "default", ":", "break", ";", "}", "return", "1", ";", "}", ""], "natrual_language": ["Determine", "the", "reassociation", "width", "to", "be", "used", "in", "reassociate_bb", ".", "This", "takes", "into", "account", "how", "many", "parallel", "operations", "we", "can", "actually", "do", "of", "a", "given", "type", ",", "and", "also", "the", "latency", ".", "P8", ":", "int", "add/sub", "6/cycle", "mul", "2/cycle", "vect", "add/sub/mul", "2/cycle", "fp", "add/sub/mul", "2/cycle", "dfp", "1/cycle"], "TS_V_token": ["rs6000", "1", "4", "1", "4", "1"], "File": "rs60007", "Func": "rs6000_reassociation_width", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 736, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "s390_function_arg_float", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "if", "(", "s390_function_arg_size", "(", "mode", ",", "type", ")", ">", "8", ")", "return", "false", ";", "if", "(", "TARGET_SOFT_FLOAT", ")", "return", "false", ";", "if", "(", "!", "type", ")", "return", "mode", "==", "SFmode", "||", "mode", "==", "DFmode", "||", "mode", "==", "SDmode", "||", "mode", "==", "DDmode", ";", "if", "(", "!", "s390_single_field_struct_p", "(", "REAL_TYPE", ",", "type", ",", "false", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "function", "argument", "of", "type", "TYPE", "and", "mode", "MODE", "is", "to", "be", "passed", "in", "a", "floating-point", "register", ",", "if", "available", "."], "TS_V_token": ["s390", "8"], "File": "s390", "Func": "s390_function_arg_float", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 737, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SITargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", "AddrSpace", ",", "Align", "Alignment", ",", "MachineMemOperand", "::", "Flags", "Flags", ",", "bool", "*", "IsFast", ")", "const", "{", "if", "(", "IsFast", ")", "*", "IsFast", "=", "false", ";", "if", "(", "VT", "==", "MVT", "::", "Other", "||", "(", "VT", "!=", "MVT", "::", "Other", "&&", "VT", ".", "getSizeInBits", "(", ")", ">", "1024", "&&", "VT", ".", "getStoreSize", "(", ")", ">", "16", ")", ")", "{", "return", "false", ";", "}", "return", "allowsMisalignedMemoryAccessesImpl", "(", "VT", ".", "getSizeInBits", "(", ")", ",", "AddrSpace", ",", "Alignment", ",", "Flags", ",", "IsFast", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "allows", "unaligned", "memory", "accesses", "of", "the", "specified", "type", "."], "TS_V_token": ["AMDGPU", "SI", "MVT::Other", "MVT::Other", "1024", "16"], "File": "SIISelLowering10", "Func": "allowsMisalignedMemoryAccesses", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 738, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "pa_trampoline_adjust_address", "(", "rtx", "addr", ")", "{", "if", "(", "!", "TARGET_64BIT", ")", "addr", "=", "memory_address", "(", "Pmode", ",", "plus_constant", "(", "Pmode", ",", "addr", ",", "46", ")", ")", ";", "return", "addr", ";", "}", ""], "natrual_language": ["Perform", "any", "machine-specific", "adjustment", "in", "the", "address", "of", "the", "trampoline", ".", "ADDR", "contains", "the", "address", "that", "was", "passed", "to", "pa_trampoline_init", ".", "Adjust", "the", "trampoline", "address", "to", "point", "to", "the", "plabel", "at", "offset", "44", "."], "TS_V_token": ["pa", "46"], "File": "pa5", "Func": "pa_trampoline_adjust_address", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 739, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "ix86_build_const_vector", "(", "machine_mode", "mode", ",", "bool", "vect", ",", "rtx", "value", ")", "{", "int", "i", ",", "n_elt", ";", "rtvec", "v", ";", "machine_mode", "scalar_mode", ";", "switch", "(", "mode", ")", "{", "case", "E_V64QImode", ":", "case", "E_V32QImode", ":", "case", "E_V16QImode", ":", "case", "E_V32HImode", ":", "case", "E_V16HImode", ":", "case", "E_V8HImode", ":", "case", "E_V16SImode", ":", "case", "E_V8SImode", ":", "case", "E_V4SImode", ":", "case", "E_V2SImode", ":", "case", "E_V8DImode", ":", "case", "E_V4DImode", ":", "case", "E_V2DImode", ":", "gcc_assert", "(", "vect", ")", ";", "case", "E_V8HFmode", ":", "case", "E_V16HFmode", ":", "case", "E_V32HFmode", ":", "case", "E_V16SFmode", ":", "case", "E_V8SFmode", ":", "case", "E_V4SFmode", ":", "case", "E_V2SFmode", ":", "case", "E_V8DFmode", ":", "case", "E_V4DFmode", ":", "case", "E_V2DFmode", ":", "n_elt", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "v", "=", "rtvec_alloc", "(", "n_elt", ")", ";", "scalar_mode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "RTVEC_ELT", "(", "v", ",", "0", ")", "=", "value", ";", "for", "(", "i", "=", "1", ";", "i", "<", "n_elt", ";", "++", "i", ")", "RTVEC_ELT", "(", "v", ",", "i", ")", "=", "vect", "?", "value", ":", "CONST0_RTX", "(", "scalar_mode", ")", ";", "return", "gen_rtx_CONST_VECTOR", "(", "mode", ",", "v", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["A", "subroutine", "of", "ix86_build_signbit_mask", ".", "If", "VECT", "is", "true", ",", "then", "replicate", "the", "value", "for", "all", "elements", "of", "the", "vector", "register", "."], "TS_V_token": ["i386", "0", "1"], "File": "i386", "Func": "ix86_build_const_vector", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 740, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AnalyzeFormalArguments", "(", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "CCAssignFn", "Fn", ")", "{", "PreAnalyzeFormalArgumentsForF128", "(", "Ins", ")", ";", "CCState", "::", "AnalyzeFormalArguments", "(", "Ins", ",", "Fn", ")", ";", "OriginalArgWasFloat", ".", "clear", "(", ")", ";", "OriginalArgWasF128", ".", "clear", "(", ")", ";", "}", ""], "natrual_language": ["AnalyzeFormalArguments", "-", "Analyze", "an", "array", "of", "argument", "values", ",", "incorporating", "info", "about", "the", "formals", "into", "this", "state", "."], "TS_V_token": ["Mips", "ISD::InputArg"], "File": "MipsCCState", "Func": "AnalyzeFormalArguments", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 741, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 pseudo instruction expansion pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 pseudo instruction expansion pass\""], "File": "X86ExpandPseudo (2)1", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 742, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "LEGRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["LEG", "LEG"], "File": "LEGSubtarget", "Func": "getRegisterInfo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 743, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Z80InstrInfo", "::", "isReallyTriviallyReMaterializable", "(", "const", "MachineInstr", "&", "MI", ",", "AliasAnalysis", "*", "AA", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "Z80", "::", "LD8r0", ":", "case", "Z80", "::", "LD24r0", ":", "case", "Z80", "::", "LD24r_1", ":", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["For", "instructions", "with", "opcodes", "for", "which", "the", "M_REMATERIALIZABLE", "flag", "is", "set", ",", "this", "hook", "lets", "the", "target", "specify", "whether", "the", "instruction", "is", "actually", "trivially", "rematerializable", ",", "taking", "into", "consideration", "its", "operands", "."], "TS_V_token": ["Z80", "Z80", "Z80::LD8r0", "Z80::LD24r0", "Z80::LD24r_1"], "File": "Z80InstrInfo2", "Func": "isReallyTriviallyReMaterializable", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 744, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64FastISel", "::", "fastSelectInstruction", "(", "const", "Instruction", "*", "I", ")", "{", "switch", "(", "I", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Instruction", "::", "Add", ":", "case", "Instruction", "::", "Sub", ":", "return", "selectAddSub", "(", "I", ")", ";", "case", "Instruction", "::", "Mul", ":", "return", "selectMul", "(", "I", ")", ";", "case", "Instruction", "::", "SDiv", ":", "return", "selectSDiv", "(", "I", ")", ";", "case", "Instruction", "::", "SRem", ":", "if", "(", "!", "selectBinaryOp", "(", "I", ",", "ISD", "::", "SREM", ")", ")", "return", "selectRem", "(", "I", ",", "ISD", "::", "SREM", ")", ";", "return", "true", ";", "case", "Instruction", "::", "URem", ":", "if", "(", "!", "selectBinaryOp", "(", "I", ",", "ISD", "::", "UREM", ")", ")", "return", "selectRem", "(", "I", ",", "ISD", "::", "UREM", ")", ";", "return", "true", ";", "case", "Instruction", "::", "Shl", ":", "case", "Instruction", "::", "LShr", ":", "case", "Instruction", "::", "AShr", ":", "return", "selectShift", "(", "I", ")", ";", "case", "Instruction", "::", "And", ":", "case", "Instruction", "::", "Or", ":", "case", "Instruction", "::", "Xor", ":", "return", "selectLogicalOp", "(", "I", ")", ";", "case", "Instruction", "::", "Br", ":", "return", "selectBranch", "(", "I", ")", ";", "case", "Instruction", "::", "IndirectBr", ":", "return", "selectIndirectBr", "(", "I", ")", ";", "case", "Instruction", "::", "BitCast", ":", "if", "(", "!", "FastISel", "::", "selectBitCast", "(", "I", ")", ")", "return", "selectBitCast", "(", "I", ")", ";", "return", "true", ";", "case", "Instruction", "::", "FPToSI", ":", "if", "(", "!", "selectCast", "(", "I", ",", "ISD", "::", "FP_TO_SINT", ")", ")", "return", "selectFPToInt", "(", "I", ",", "true", ")", ";", "return", "true", ";", "case", "Instruction", "::", "FPToUI", ":", "return", "selectFPToInt", "(", "I", ",", "false", ")", ";", "case", "Instruction", "::", "ZExt", ":", "case", "Instruction", "::", "SExt", ":", "return", "selectIntExt", "(", "I", ")", ";", "case", "Instruction", "::", "Trunc", ":", "if", "(", "!", "selectCast", "(", "I", ",", "ISD", "::", "TRUNCATE", ")", ")", "return", "selectTrunc", "(", "I", ")", ";", "return", "true", ";", "case", "Instruction", "::", "FPExt", ":", "return", "selectFPExt", "(", "I", ")", ";", "case", "Instruction", "::", "FPTrunc", ":", "return", "selectFPTrunc", "(", "I", ")", ";", "case", "Instruction", "::", "SIToFP", ":", "if", "(", "!", "selectCast", "(", "I", ",", "ISD", "::", "SINT_TO_FP", ")", ")", "return", "selectIntToFP", "(", "I", ",", "true", ")", ";", "return", "true", ";", "case", "Instruction", "::", "UIToFP", ":", "return", "selectIntToFP", "(", "I", ",", "false", ")", ";", "case", "Instruction", "::", "Load", ":", "return", "selectLoad", "(", "I", ")", ";", "case", "Instruction", "::", "Store", ":", "return", "selectStore", "(", "I", ")", ";", "case", "Instruction", "::", "FCmp", ":", "case", "Instruction", "::", "ICmp", ":", "return", "selectCmp", "(", "I", ")", ";", "case", "Instruction", "::", "Select", ":", "return", "selectSelect", "(", "I", ")", ";", "case", "Instruction", "::", "Ret", ":", "return", "selectRet", "(", "I", ")", ";", "case", "Instruction", "::", "FRem", ":", "return", "selectFRem", "(", "I", ")", ";", "case", "Instruction", "::", "GetElementPtr", ":", "return", "selectGetElementPtr", "(", "I", ")", ";", "case", "Instruction", "::", "AtomicCmpXchg", ":", "return", "selectAtomicCmpXchg", "(", "cast", "<", "AtomicCmpXchgInst", ">", "(", "I", ")", ")", ";", "}", "return", "selectOperator", "(", "I", ",", "I", "->", "getOpcode", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "is", "called", "by", "target-independent", "code", "when", "the", "normal", "FastISel", "process", "fails", "to", "select", "an", "instruction", "."], "TS_V_token": ["AArch64", "AArch64", "ISD::SREM", "ISD::SREM", "ISD::UREM", "ISD::UREM", "ISD::FP_TO_SINT", "ISD::TRUNCATE", "ISD::SINT_TO_FP"], "File": "AArch64FastISel10", "Func": "fastSelectInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 745, "Length": 469, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86CallLowering", "::", "splitToValueTypes", "(", "const", "ArgInfo", "&", "OrigArg", ",", "SmallVectorImpl", "<", "ArgInfo", ">", "&", "SplitArgs", ",", "const", "DataLayout", "&", "DL", ",", "MachineRegisterInfo", "&", "MRI", ",", "SplitArgTy", "PerformArgSplit", ")", "const", "{", "const", "X86TargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "X86TargetLowering", ">", "(", ")", ";", "LLVMContext", "&", "Context", "=", "OrigArg", ".", "Ty", "->", "getContext", "(", ")", ";", "EVT", "VT", "=", "TLI", ".", "getValueType", "(", "DL", ",", "OrigArg", ".", "Ty", ")", ";", "unsigned", "NumParts", "=", "TLI", ".", "getNumRegisters", "(", "Context", ",", "VT", ")", ";", "if", "(", "NumParts", "==", "1", ")", "{", "SplitArgs", ".", "emplace_back", "(", "OrigArg", ".", "Reg", ",", "VT", ".", "getTypeForEVT", "(", "Context", ")", ",", "OrigArg", ".", "Flags", ",", "OrigArg", ".", "IsFixed", ")", ";", "return", ";", "}", "SmallVector", "<", "uint64_t", ",", "4", ">", "BitOffsets", ";", "SmallVector", "<", "unsigned", ",", "8", ">", "SplitRegs", ";", "EVT", "PartVT", "=", "TLI", ".", "getRegisterType", "(", "Context", ",", "VT", ")", ";", "Type", "*", "PartTy", "=", "PartVT", ".", "getTypeForEVT", "(", "Context", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "NumParts", ";", "++", "i", ")", "{", "ArgInfo", "Info", "=", "ArgInfo", "{", "MRI", ".", "createGenericVirtualRegister", "(", "getLLTForType", "(", "*", "PartTy", ",", "DL", ")", ")", ",", "PartTy", ",", "OrigArg", ".", "Flags", "}", ";", "SplitArgs", ".", "push_back", "(", "Info", ")", ";", "PerformArgSplit", "(", "Info", ".", "Reg", ",", "PartVT", ".", "getSizeInBits", "(", ")", "*", "i", ")", ";", "}", "}", ""], "natrual_language": ["Break", "OrigArgInfo", "into", "one", "or", "more", "pieces", "the", "calling", "convention", "can", "process", ",", "returned", "in", "SplitArgs", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "1", "4", "8", "0"], "File": "X86CallLowering28", "Func": "splitToValueTypes", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 746, "Length": 219, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "EnqueueExitsPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Func", ")", "{", "Func", ".", "enqueueExitBlock", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86"], "File": "X86EnqueueExits", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 747, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "nios2_large_offset_p", "(", "int", "unspec", ")", "{", "gcc_assert", "(", "nios2_unspec_reloc_name", "(", "unspec", ")", "!=", "NULL", ")", ";", "if", "(", "flag_pic", "==", "2", "&&", "(", "unspec", "==", "UNSPEC_PIC_SYM", "||", "unspec", "==", "UNSPEC_PIC_CALL_SYM", ")", ")", "return", "true", ";", "if", "(", "unspec", "==", "UNSPEC_PIC_GOTOFF_SYM", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "for", "large", "offsets", "requiring", "hiadj/lo", "relocation", "pairs", "."], "TS_V_token": ["nios2", "2"], "File": "nios2", "Func": "nios2_large_offset_p", "Target": "nios2", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 748, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "AArch64GOT", "&", "AArch64GNULDBackend", "::", "getGOT", "(", ")", "const", "{", "assert", "(", "m_pGOT", "!=", "NULL", "&&", "\"GOT section not exist\"", ")", ";", "return", "*", "m_pGOT", ";", "}", ""], "natrual_language": ["Return", "a", "pseudo", "source", "value", "referencing", "the", "global", "offset", "table", "(", "or", "something", "the", "like", ")", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "\"GOT section not exist\""], "File": "AArch64LDBackend", "Func": "getGOT", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 749, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"Dead register definitions\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM64", "\"Dead register definitions\""], "File": "ARM64DeadRegisterDefinitionsPass1", "Func": "getPassName", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 750, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sh_cfun_trap_exit_p", "(", "void", ")", "{", "return", "lookup_attribute", "(", "\"trap_exit\"", ",", "DECL_ATTRIBUTES", "(", "current_function_decl", ")", ")", "!=", "NULL_TREE", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "current", "function", "has", "a", "``", "trap_exit", "''", "attribute", "set", "."], "TS_V_token": ["sh", "\"trap_exit\""], "File": "sh", "Func": "sh_cfun_trap_exit_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 751, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arc_set_default_type_attributes", "(", "tree", "type", "ATTRIBUTE_UNUSED", ")", "{", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Set", "the", "default", "attributes", "for", "TYPE", "."], "TS_V_token": ["arc"], "File": "arc4", "Func": "arc_set_default_type_attributes", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 752, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"Patmos YAML/PML Module Export\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Patmos", "\"Patmos YAML/PML Module Export\""], "File": "PatmosExport", "Func": "getPassName", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 753, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "XCoreTargetMachine", "::", "XCoreTargetMachine", "(", "const", "Target", "&", "T", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Optional", "<", "Reloc", "::", "Model", ">", "RM", ",", "Optional", "<", "CodeModel", "::", "Model", ">", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "JIT", ")", ":", "LLVMTargetMachine", "(", "T", ",", "\"e-m:e-p:32:32-i1:8:32-i8:8:32-i16:16:32-i64:32-f64:32-a:0:32-n32\"", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "getEffectiveRelocModel", "(", "RM", ")", ",", "getEffectiveXCoreCodeModel", "(", "CM", ")", ",", "OL", ")", ",", "TLOF", "(", "llvm", "::", "make_unique", "<", "XCoreTargetObjectFile", ">", "(", ")", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "*", "this", ")", "{", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "ILP32", "architecture", "model", "."], "TS_V_token": ["XCore", "XCore", "XCore", "\"e-m:e-p:32:32-i1:8:32-i8:8:32-i16:16:32-i64:32-f64:32-a:0:32-n32\"", "XCore", "XCore"], "File": "XCoreTargetMachine", "Func": "XCoreTargetMachine", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 754, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64AdvSIMDScalar", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "mf", ")", "{", "bool", "Changed", "=", "false", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** AArch64AdvSIMDScalar *****\\n\"", ")", ";", "const", "TargetMachine", "&", "TM", "=", "mf", ".", "getTarget", "(", ")", ";", "MRI", "=", "&", "mf", ".", "getRegInfo", "(", ")", ";", "TII", "=", "static_cast", "<", "const", "AArch64InstrInfo", "*", ">", "(", "TM", ".", "getInstrInfo", "(", ")", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "I", "=", "mf", ".", "begin", "(", ")", ",", "E", "=", "mf", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "if", "(", "processMachineBasicBlock", "(", "I", ")", ")", "Changed", "=", "true", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "\"***** AArch64AdvSIMDScalar *****\\n\"", "AArch64"], "File": "AArch64AdvSIMDScalarPass19", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 755, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "nds32_have_prologue_p", "(", "void", ")", "{", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "28", ";", "i", "++", ")", "if", "(", "NDS32_REQUIRED_CALLEE_SAVED_P", "(", "i", ")", ")", "return", "true", ";", "return", "(", "flag_pic", "||", "NDS32_REQUIRED_CALLEE_SAVED_P", "(", "FP_REGNUM", ")", "||", "NDS32_REQUIRED_CALLEE_SAVED_P", "(", "LP_REGNUM", ")", ")", ";", "}", ""], "natrual_language": ["A", "helper", "function", "to", "check", "if", "this", "function", "should", "contain", "prologue", "."], "TS_V_token": ["nds32", "0", "28"], "File": "nds32-fp-as-gp", "Func": "nds32_have_prologue_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 756, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "BPFAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["BPF", "BPF"], "File": "BPFAsmParser", "Func": "ParseDirective", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 757, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "getExceptionSelectorRegister", "(", "const", "Constant", "*", "PersonalityFn", ")", "const", "override", "{", "return", "SystemZ", "::", "R7D", ";", "}", ""], "natrual_language": ["If", "a", "physical", "register", ",", "this", "returns", "the", "register", "that", "receives", "the", "exception", "typeid", "on", "entry", "to", "a", "landing", "pad", "."], "TS_V_token": ["SystemZ", "SystemZ::R7D"], "File": "SystemZISelLowering18", "Func": "getExceptionSelectorRegister", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 758, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64LegalizerInfo", "::", "legalizeCustom", "(", "LegalizerHelper", "&", "Helper", ",", "MachineInstr", "&", "MI", ")", "const", "{", "MachineIRBuilder", "&", "MIRBuilder", "=", "Helper", ".", "MIRBuilder", ";", "MachineRegisterInfo", "&", "MRI", "=", "*", "MIRBuilder", ".", "getMRI", "(", ")", ";", "GISelChangeObserver", "&", "Observer", "=", "Helper", ".", "Observer", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "TargetOpcode", "::", "G_VAARG", ":", "return", "legalizeVaArg", "(", "MI", ",", "MRI", ",", "MIRBuilder", ")", ";", "case", "TargetOpcode", "::", "G_LOAD", ":", "case", "TargetOpcode", "::", "G_STORE", ":", "return", "legalizeLoadStore", "(", "MI", ",", "MRI", ",", "MIRBuilder", ",", "Observer", ")", ";", "case", "TargetOpcode", "::", "G_SHL", ":", "case", "TargetOpcode", "::", "G_ASHR", ":", "case", "TargetOpcode", "::", "G_LSHR", ":", "return", "legalizeShlAshrLshr", "(", "MI", ",", "MRI", ",", "MIRBuilder", ",", "Observer", ")", ";", "case", "TargetOpcode", "::", "G_GLOBAL_VALUE", ":", "return", "legalizeSmallCMGlobalValue", "(", "MI", ",", "MRI", ",", "MIRBuilder", ",", "Observer", ")", ";", "case", "TargetOpcode", "::", "G_TRUNC", ":", "return", "legalizeVectorTrunc", "(", "MI", ",", "Helper", ")", ";", "case", "TargetOpcode", "::", "G_SBFX", ":", "case", "TargetOpcode", "::", "G_UBFX", ":", "return", "legalizeBitfieldExtract", "(", "MI", ",", "MRI", ",", "Helper", ")", ";", "case", "TargetOpcode", "::", "G_ROTR", ":", "return", "legalizeRotate", "(", "MI", ",", "MRI", ",", "Helper", ")", ";", "case", "TargetOpcode", "::", "G_CTPOP", ":", "return", "legalizeCTPOP", "(", "MI", ",", "MRI", ",", "Helper", ")", ";", "case", "TargetOpcode", "::", "G_ATOMIC_CMPXCHG", ":", "return", "legalizeAtomicCmpxchg128", "(", "MI", ",", "MRI", ",", "Helper", ")", ";", "case", "TargetOpcode", "::", "G_CTTZ", ":", "return", "legalizeCTTZ", "(", "MI", ",", "Helper", ")", ";", "}", "llvm_unreachable", "(", "\"expected switch to return\"", ")", ";", "}", ""], "natrual_language": ["Called", "for", "instructions", "with", "the", "Custom", "LegalizationAction", "."], "TS_V_token": ["AArch64", "AArch64", "\"expected switch to return\""], "File": "AArch64LegalizerInfo12", "Func": "legalizeCustom", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 759, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "allowPositionIndependentMovt", "(", ")", "const", "{", "return", "isROPI", "(", ")", "||", "!", "isTargetELF", "(", ")", ";", "}", ""], "natrual_language": ["Allow", "movt+movw", "for", "PIC", "global", "address", "calculation", "."], "TS_V_token": ["ARM"], "File": "ARMSubtarget (2)3", "Func": "allowPositionIndependentMovt", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 760, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "bfin_option_override", "(", "void", ")", "{", "if", "(", "bfin_cpu_type", "==", "BFIN_CPU_UNKNOWN", ")", "{", "int", "i", ";", "for", "(", "i", "=", "0", ";", "bfin_cpus", "[", "i", "]", ".", "name", "!=", "NULL", ";", "i", "++", ")", "bfin_workarounds", "|=", "bfin_cpus", "[", "i", "]", ".", "workarounds", ";", "bfin_si_revision", "=", "0xffff", ";", "}", "if", "(", "bfin_csync_anomaly", "==", "1", ")", "bfin_workarounds", "|=", "WA_SPECULATIVE_SYNCS", ";", "else", "if", "(", "bfin_csync_anomaly", "==", "0", ")", "bfin_workarounds", "&=", "~", "WA_SPECULATIVE_SYNCS", ";", "if", "(", "bfin_specld_anomaly", "==", "1", ")", "bfin_workarounds", "|=", "WA_SPECULATIVE_LOADS", ";", "else", "if", "(", "bfin_specld_anomaly", "==", "0", ")", "bfin_workarounds", "&=", "~", "WA_SPECULATIVE_LOADS", ";", "if", "(", "TARGET_OMIT_LEAF_FRAME_POINTER", ")", "flag_omit_frame_pointer", "=", "1", ";", "if", "(", "TARGET_FDPIC", ")", "error", "(", "\"-mfdpic is not supported, please use a bfin-linux-uclibc target\"", ")", ";", "if", "(", "global_options_set", ".", "x_bfin_library_id", "&&", "!", "TARGET_ID_SHARED_LIBRARY", ")", "error", "(", "\"-mshared-library-id= specified without -mid-shared-library\"", ")", ";", "if", "(", "stack_limit_rtx", "&&", "TARGET_FDPIC", ")", "{", "warning", "(", "0", ",", "\"-fstack-limit- options are ignored with -mfdpic; use -mstack-check-l1\"", ")", ";", "stack_limit_rtx", "=", "NULL_RTX", ";", "}", "if", "(", "stack_limit_rtx", "&&", "TARGET_STACK_CHECK_L1", ")", "error", "(", "\"can%'t use multiple stack checking methods together\"", ")", ";", "if", "(", "TARGET_ID_SHARED_LIBRARY", "&&", "TARGET_FDPIC", ")", "error", "(", "\"ID shared libraries and FD-PIC mode can%'t be used together\"", ")", ";", "if", "(", "TARGET_SEP_DATA", "&&", "TARGET_ID_SHARED_LIBRARY", ")", "error", "(", "\"cannot specify both -msep-data and -mid-shared-library\"", ")", ";", "if", "(", "TARGET_SEP_DATA", ")", "target_flags", "|=", "MASK_ID_SHARED_LIBRARY", "|", "MASK_LEAF_ID_SHARED_LIBRARY", ";", "if", "(", "TARGET_ID_SHARED_LIBRARY", "&&", "flag_pic", "==", "0", ")", "flag_pic", "=", "1", ";", "if", "(", "TARGET_FDPIC", ")", "targetm", ".", "asm_out", ".", "unaligned_op", ".", "si", "=", "0", ";", "if", "(", "flag_pic", "&&", "!", "TARGET_FDPIC", "&&", "!", "TARGET_ID_SHARED_LIBRARY", ")", "flag_pic", "=", "0", ";", "if", "(", "TARGET_MULTICORE", "&&", "bfin_cpu_type", "!=", "BFIN_CPU_BF561", ")", "error", "(", "\"-mmulticore can only be used with BF561\"", ")", ";", "if", "(", "TARGET_COREA", "&&", "!", "TARGET_MULTICORE", ")", "error", "(", "\"-mcorea should be used with -mmulticore\"", ")", ";", "if", "(", "TARGET_COREB", "&&", "!", "TARGET_MULTICORE", ")", "error", "(", "\"-mcoreb should be used with -mmulticore\"", ")", ";", "if", "(", "TARGET_COREA", "&&", "TARGET_COREB", ")", "error", "(", "\"-mcorea and -mcoreb can%'t be used together\"", ")", ";", "flag_schedule_insns", "=", "0", ";", "init_machine_status", "=", "bfin_init_machine_status", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_OPTION_OVERRIDE", "hook", "."], "TS_V_token": ["bfin", "0", "0xffff", "1", "0", "1", "0", "1", "\"-mfdpic is not supported, please use a bfin-linux-uclibc target\"", "\"-mshared-library-id= specified without -mid-shared-library\"", "0", "\"-fstack-limit- options are ignored with -mfdpic; use -mstack-check-l1\"", "\"can%'t use multiple stack checking methods together\"", "\"ID shared libraries and FD-PIC mode can%'t be used together\"", "\"cannot specify both -msep-data and -mid-shared-library\"", "0", "1", "0", "0", "\"-mmulticore can only be used with BF561\"", "\"-mcorea should be used with -mmulticore\"", "\"-mcoreb should be used with -mmulticore\"", "\"-mcorea and -mcoreb can%'t be used together\"", "0"], "File": "bfin3", "Func": "bfin_option_override", "Target": "bfin", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 761, "Length": 283, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "loongarch_expand_conditional_branch", "(", "rtx", "*", "operands", ")", "{", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "operands", "[", "0", "]", ")", ";", "rtx", "op0", "=", "operands", "[", "1", "]", ";", "rtx", "op1", "=", "operands", "[", "2", "]", ";", "rtx", "condition", ";", "if", "(", "FLOAT_MODE_P", "(", "GET_MODE", "(", "op1", ")", ")", ")", "loongarch_emit_float_compare", "(", "&", "code", ",", "&", "op0", ",", "&", "op1", ")", ";", "else", "loongarch_emit_int_compare", "(", "&", "code", ",", "&", "op0", ",", "&", "op1", ")", ";", "condition", "=", "gen_rtx_fmt_ee", "(", "code", ",", "VOIDmode", ",", "op0", ",", "op1", ")", ";", "emit_jump_insn", "(", "gen_condjump", "(", "condition", ",", "operands", "[", "3", "]", ")", ")", ";", "}", ""], "natrual_language": ["Compare", "OPERANDS", "[", "1", "]", "with", "OPERANDS", "[", "2", "]", "using", "comparison", "code", "CODE", "and", "jump", "to", "OPERANDS", "[", "3", "]", "if", "the", "condition", "holds", "."], "TS_V_token": ["loongarch", "0", "1", "2", "3"], "File": "loongarch", "Func": "loongarch_expand_conditional_branch", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 762, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "P2AsmPrinter", "::", "emitStartOfAsmFile", "(", "Module", "&", "M", ")", "{", "}", ""], "natrual_language": ["This", "virtual", "method", "can", "be", "overridden", "by", "targets", "that", "want", "to", "emit", "something", "at", "the", "start", "of", "their", "file", "."], "TS_V_token": ["P2", "P2"], "File": "P2AsmPrinter", "Func": "emitStartOfAsmFile", "Target": "P2", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 763, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "BPFAsmBackend", "::", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsResolved", ")", "const", "{", "if", "(", "Fixup", ".", "getKind", "(", ")", "==", "FK_SecRel_4", "||", "Fixup", ".", "getKind", "(", ")", "==", "FK_SecRel_8", ")", "{", "assert", "(", "Value", "==", "0", ")", ";", "}", "else", "if", "(", "Fixup", ".", "getKind", "(", ")", "==", "FK_Data_4", ")", "{", "support", "::", "endian", "::", "write", "<", "uint32_t", ">", "(", "&", "Data", "[", "Fixup", ".", "getOffset", "(", ")", "]", ",", "Value", ",", "Endian", ")", ";", "}", "else", "if", "(", "Fixup", ".", "getKind", "(", ")", "==", "FK_Data_8", ")", "{", "support", "::", "endian", "::", "write", "<", "uint64_t", ">", "(", "&", "Data", "[", "Fixup", ".", "getOffset", "(", ")", "]", ",", "Value", ",", "Endian", ")", ";", "}", "else", "if", "(", "Fixup", ".", "getKind", "(", ")", "==", "FK_PCRel_4", ")", "{", "Value", "=", "(", "uint32_t", ")", "(", "(", "Value", "-", "8", ")", "/", "8", ")", ";", "if", "(", "Endian", "==", "support", "::", "little", ")", "{", "Data", "[", "Fixup", ".", "getOffset", "(", ")", "+", "1", "]", "=", "0x10", ";", "support", "::", "endian", "::", "write32le", "(", "&", "Data", "[", "Fixup", ".", "getOffset", "(", ")", "+", "4", "]", ",", "Value", ")", ";", "}", "else", "{", "Data", "[", "Fixup", ".", "getOffset", "(", ")", "+", "1", "]", "=", "0x1", ";", "support", "::", "endian", "::", "write32be", "(", "&", "Data", "[", "Fixup", ".", "getOffset", "(", ")", "+", "4", "]", ",", "Value", ")", ";", "}", "}", "else", "{", "assert", "(", "Fixup", ".", "getKind", "(", ")", "==", "FK_PCRel_2", ")", ";", "Value", "=", "(", "uint16_t", ")", "(", "(", "Value", "-", "8", ")", "/", "8", ")", ";", "support", "::", "endian", "::", "write", "<", "uint16_t", ">", "(", "&", "Data", "[", "Fixup", ".", "getOffset", "(", ")", "+", "2", "]", ",", "Value", ",", "Endian", ")", ";", "}", "}", ""], "natrual_language": ["Apply", "the", "Value", "for", "given", "Fixup", "into", "the", "provided", "data", "fragment", ",", "at", "the", "offset", "specified", "by", "the", "fixup", "and", "following", "the", "fixup", "kind", "as", "appropriate", "."], "TS_V_token": ["BPF", "BPF", "0", "support::endian", "support::endian", "8", "8", "support::little", "1", "0x10", "support::endian", "4", "1", "0x1", "support::endian", "4", "8", "8", "support::endian", "2"], "File": "BPFAsmBackend5", "Func": "applyFixup", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 764, "Length": 300, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "ARMBaseRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameInfo", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "ARM", "::", "SP", ")", ";", "Reserved", ".", "set", "(", "ARM", "::", "PC", ")", ";", "Reserved", ".", "set", "(", "ARM", "::", "FPSCR", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "FramePtr", ")", ";", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "BasePtr", ")", ";", "if", "(", "STI", ".", "isR9Reserved", "(", ")", ")", "Reserved", ".", "set", "(", "ARM", "::", "R9", ")", ";", "return", "Reserved", ";", "}", ""], "natrual_language": ["getReservedRegs", "-", "Returns", "a", "bitset", "indexed", "by", "physical", "register", "number", "indicating", "if", "a", "register", "is", "a", "special", "register", "that", "has", "particular", "uses", "and", "should", "be", "considered", "unavailable", "at", "all", "times", ",", "e.g", "."], "TS_V_token": ["ARM", "ARM", "ARM::SP", "ARM::PC", "ARM::FPSCR", "ARM::R9"], "File": "ARMBaseRegisterInfo36", "Func": "getReservedRegs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 765, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "hasReservedCallFrame", "(", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["hasReservedCallFrame", "-", "Under", "normal", "circumstances", ",", "when", "a", "frame", "pointer", "is", "not", "required", ",", "we", "reserve", "argument", "space", "for", "call", "sites", "in", "the", "function", "immediately", "on", "entry", "to", "the", "current", "function", "."], "TS_V_token": ["SystemZ"], "File": "SystemZRegisterInfo23", "Func": "hasReservedCallFrame", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 766, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "F", ".", "getFnAttribute", "(", "\"fentry-call\"", ")", ".", "getValueAsString", "(", ")", "!=", "\"true\"", ")", "{", "if", "(", "F", ".", "hasFnAttribute", "(", "\"mnop-mcount\"", ")", ")", "report_fatal_error", "(", "\"mnop-mcount only supported with fentry-call\"", ")", ";", "if", "(", "F", ".", "hasFnAttribute", "(", "\"mrecord-mcount\"", ")", ")", "report_fatal_error", "(", "\"mrecord-mcount only supported with fentry-call\"", ")", ";", "}", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "SystemZSubtarget", ">", "(", ")", ";", "return", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["SystemZ", "\"fentry-call\"", "\"true\"", "\"mnop-mcount\"", "\"mnop-mcount only supported with fentry-call\"", "\"mrecord-mcount\"", "\"mrecord-mcount only supported with fentry-call\"", "SystemZ"], "File": "SystemZISelDAGToDAG2", "Func": "runOnMachineFunction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 767, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "XCoreTargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "assert", "(", "0", "&&", "\"Don't know how to custom expand this!\"", ")", ";", "return", ";", "case", "ISD", "::", "ADD", ":", "case", "ISD", "::", "SUB", ":", "Results", ".", "push_back", "(", "ExpandADDSUB", "(", "N", ",", "DAG", ")", ")", ";", "return", ";", "}", "}", ""], "natrual_language": ["ReplaceNodeResults", "-", "Replace", "the", "results", "of", "node", "with", "an", "illegal", "result", "type", "with", "new", "values", "built", "out", "of", "custom", "code", "."], "TS_V_token": ["XCore", "XCore", "0", "\"Don't know how to custom expand this!\"", "ISD::ADD", "ISD::SUB"], "File": "XCoreISelLowering17", "Func": "ReplaceNodeResults", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 768, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcTargetLowering", "::", "LowerAsmOperandForConstraint", "(", "SDValue", "Op", ",", "std", "::", "string", "&", "Constraint", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "Ops", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDValue", "Result", "(", "0", ",", "0", ")", ";", "if", "(", "Constraint", ".", "length", "(", ")", ">", "1", ")", "return", ";", "char", "ConstraintLetter", "=", "Constraint", "[", "0", "]", ";", "switch", "(", "ConstraintLetter", ")", "{", "default", ":", "break", ";", "case", "'I'", ":", "if", "(", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "{", "if", "(", "isInt", "<", "13", ">", "(", "C", "->", "getSExtValue", "(", ")", ")", ")", "{", "Result", "=", "DAG", ".", "getTargetConstant", "(", "C", "->", "getSExtValue", "(", ")", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "}", "return", ";", "}", "}", "if", "(", "Result", ".", "getNode", "(", ")", ")", "{", "Ops", ".", "push_back", "(", "Result", ")", ";", "return", ";", "}", "TargetLowering", "::", "LowerAsmOperandForConstraint", "(", "Op", ",", "Constraint", ",", "Ops", ",", "DAG", ")", ";", "}", ""], "natrual_language": ["Lower", "the", "specified", "operand", "into", "the", "Ops", "vector", "."], "TS_V_token": ["Sparc", "Sparc", "0", "0", "1", "0", "13"], "File": "SparcISelLowering35", "Func": "LowerAsmOperandForConstraint", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 769, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVInsertVSETVLI", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "RISCVSubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ";", "if", "(", "!", "ST", ".", "hasVInstructions", "(", ")", ")", "return", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Entering InsertVSETVLI for \"", "<<", "MF", ".", "getName", "(", ")", "<<", "\"\\n\"", ")", ";", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "assert", "(", "BlockInfo", ".", "empty", "(", ")", "&&", "\"Expect empty block infos\"", ")", ";", "BlockInfo", ".", "resize", "(", "MF", ".", "getNumBlockIDs", "(", ")", ")", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "doLocalPrepass", "(", "MBB", ")", ";", "bool", "HaveVectorOp", "=", "false", ";", "for", "(", "const", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "HaveVectorOp", "|=", "computeVLVTYPEChanges", "(", "MBB", ")", ";", "BlockData", "&", "BBInfo", "=", "BlockInfo", "[", "MBB", ".", "getNumber", "(", ")", "]", ";", "BBInfo", ".", "Exit", "=", "BBInfo", ".", "Change", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Initial exit state of \"", "<<", "printMBBReference", "(", "MBB", ")", "<<", "\" is \"", "<<", "BBInfo", ".", "Exit", "<<", "\"\\n\"", ")", ";", "}", "if", "(", "!", "HaveVectorOp", ")", "{", "BlockInfo", ".", "clear", "(", ")", ";", "return", "false", ";", "}", "for", "(", "const", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "WorkList", ".", "push", "(", "&", "MBB", ")", ";", "BlockInfo", "[", "MBB", ".", "getNumber", "(", ")", "]", ".", "InQueue", "=", "true", ";", "}", "while", "(", "!", "WorkList", ".", "empty", "(", ")", ")", "{", "const", "MachineBasicBlock", "&", "MBB", "=", "*", "WorkList", ".", "front", "(", ")", ";", "WorkList", ".", "pop", "(", ")", ";", "computeIncomingVLVTYPE", "(", "MBB", ")", ";", "}", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "doPRE", "(", "MBB", ")", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "emitVSETVLIs", "(", "MBB", ")", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "doLocalPostpass", "(", "MBB", ")", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "for", "(", "MachineInstr", "&", "MI", ":", "MBB", ")", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "PseudoVSETVLI", "||", "MI", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "PseudoVSETIVLI", ")", "{", "Register", "VRegDef", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "if", "(", "VRegDef", "!=", "RISCV", "::", "X0", "&&", "MRI", "->", "use_nodbg_empty", "(", "VRegDef", ")", ")", "MI", ".", "getOperand", "(", "0", ")", ".", "setReg", "(", "RISCV", "::", "X0", ")", ";", "}", "}", "}", "BlockInfo", ".", "clear", "(", ")", ";", "return", "HaveVectorOp", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "RISCV", "\"Entering InsertVSETVLI for \"", "\"\\n\"", "\"Expect empty block infos\"", "\"Initial exit state of \"", "\" is \"", "\"\\n\"", "RISCV::PseudoVSETVLI", "RISCV::PseudoVSETIVLI", "0", "RISCV::X0", "0", "RISCV::X0"], "File": "RISCVInsertVSETVLI6", "Func": "runOnMachineFunction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 770, "Length": 389, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MipsSETargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "LOAD", ":", "return", "lowerLOAD", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "lowerSTORE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SMUL_LOHI", ":", "return", "lowerMulDiv", "(", "Op", ",", "MipsISD", "::", "Mult", ",", "true", ",", "true", ",", "DAG", ")", ";", "case", "ISD", "::", "UMUL_LOHI", ":", "return", "lowerMulDiv", "(", "Op", ",", "MipsISD", "::", "Multu", ",", "true", ",", "true", ",", "DAG", ")", ";", "case", "ISD", "::", "MULHS", ":", "return", "lowerMulDiv", "(", "Op", ",", "MipsISD", "::", "Mult", ",", "false", ",", "true", ",", "DAG", ")", ";", "case", "ISD", "::", "MULHU", ":", "return", "lowerMulDiv", "(", "Op", ",", "MipsISD", "::", "Multu", ",", "false", ",", "true", ",", "DAG", ")", ";", "case", "ISD", "::", "MUL", ":", "return", "lowerMulDiv", "(", "Op", ",", "MipsISD", "::", "Mult", ",", "true", ",", "false", ",", "DAG", ")", ";", "case", "ISD", "::", "SDIVREM", ":", "return", "lowerMulDiv", "(", "Op", ",", "MipsISD", "::", "DivRem", ",", "true", ",", "true", ",", "DAG", ")", ";", "case", "ISD", "::", "UDIVREM", ":", "return", "lowerMulDiv", "(", "Op", ",", "MipsISD", "::", "DivRemU", ",", "true", ",", "true", ",", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "lowerINTRINSIC_WO_CHAIN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_W_CHAIN", ":", "return", "lowerINTRINSIC_W_CHAIN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_VOID", ":", "return", "lowerINTRINSIC_VOID", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "EXTRACT_VECTOR_ELT", ":", "return", "lowerEXTRACT_VECTOR_ELT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BUILD_VECTOR", ":", "return", "lowerBUILD_VECTOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VECTOR_SHUFFLE", ":", "return", "lowerVECTOR_SHUFFLE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "lowerSELECT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BITCAST", ":", "return", "lowerBITCAST", "(", "Op", ",", "DAG", ")", ";", "}", "return", "MipsTargetLowering", "::", "LowerOperation", "(", "Op", ",", "DAG", ")", ";", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["Mips", "Mips", "ISD::LOAD", "ISD::STORE", "ISD::SMUL_LOHI", "MipsISD::Mult", "ISD::UMUL_LOHI", "MipsISD::Multu", "ISD::MULHS", "MipsISD::Mult", "ISD::MULHU", "MipsISD::Multu", "ISD::MUL", "MipsISD::Mult", "ISD::SDIVREM", "MipsISD::DivRem", "ISD::UDIVREM", "MipsISD::DivRemU", "ISD::INTRINSIC_WO_CHAIN", "ISD::INTRINSIC_W_CHAIN", "ISD::INTRINSIC_VOID", "ISD::EXTRACT_VECTOR_ELT", "ISD::BUILD_VECTOR", "ISD::VECTOR_SHUFFLE", "ISD::SELECT", "ISD::BITCAST", "Mips"], "File": "MipsSEISelLowering18", "Func": "LowerOperation", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 771, "Length": 312, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "std", "::", "unique_ptr", "<", "AArch64Operand", ">", "CreateReg", "(", "unsigned", "RegNum", ",", "RegKind", "Kind", ",", "SMLoc", "S", ",", "SMLoc", "E", ",", "MCContext", "&", "Ctx", ",", "RegConstraintEqualityTy", "EqTy", "=", "RegConstraintEqualityTy", "::", "EqualsReg", ",", "AArch64_AM", "::", "ShiftExtendType", "ExtTy", "=", "AArch64_AM", "::", "LSL", ",", "unsigned", "ShiftAmount", "=", "0", ",", "unsigned", "HasExplicitAmount", "=", "false", ")", "{", "auto", "Op", "=", "std", "::", "make_unique", "<", "AArch64Operand", ">", "(", "k_Register", ",", "Ctx", ")", ";", "Op", "->", "Reg", ".", "RegNum", "=", "RegNum", ";", "Op", "->", "Reg", ".", "Kind", "=", "Kind", ";", "Op", "->", "Reg", ".", "ElementWidth", "=", "0", ";", "Op", "->", "Reg", ".", "EqualityTy", "=", "EqTy", ";", "Op", "->", "Reg", ".", "ShiftExtend", ".", "Type", "=", "ExtTy", ";", "Op", "->", "Reg", ".", "ShiftExtend", ".", "Amount", "=", "ShiftAmount", ";", "Op", "->", "Reg", ".", "ShiftExtend", ".", "HasExplicitAmount", "=", "HasExplicitAmount", ";", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "E", ";", "return", "Op", ";", "}", ""], "natrual_language": ["CreateReg", "-", "Allocate", "a", "single", "virtual", "register", "for", "the", "given", "type", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64_AM::ShiftExtendType", "AArch64_AM::LSL", "0", "AArch64", "0"], "File": "AArch64AsmParser1", "Func": "CreateReg", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 772, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "struct", "machine_function", "*", "tilegx_init_machine_status", "(", "void", ")", "{", "return", "ggc_cleared_alloc", "<", "machine_function", ">", "(", ")", ";", "}", ""], "natrual_language": ["Functions", "to", "save", "and", "restore", "machine-specific", "function", "data", "."], "TS_V_token": ["tilegx"], "File": "tilegx", "Func": "tilegx_init_machine_status", "Target": "tilegx", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 773, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "CAHPFrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "unsigned", "&", "FrameReg", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetRegisterInfo", "*", "RI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", ".", "getCalleeSavedInfo", "(", ")", ";", "int", "MinCSFI", "=", "0", ";", "int", "MaxCSFI", "=", "-", "1", ";", "int", "Offset", "=", "MFI", ".", "getObjectOffset", "(", "FI", ")", "-", "getOffsetOfLocalArea", "(", ")", "+", "MFI", ".", "getOffsetAdjustment", "(", ")", ";", "if", "(", "CSI", ".", "size", "(", ")", ")", "{", "MinCSFI", "=", "CSI", "[", "0", "]", ".", "getFrameIdx", "(", ")", ";", "MaxCSFI", "=", "CSI", "[", "CSI", ".", "size", "(", ")", "-", "1", "]", ".", "getFrameIdx", "(", ")", ";", "}", "FrameReg", "=", "RI", "->", "getFrameRegister", "(", "MF", ")", ";", "if", "(", "(", "FI", ">=", "MinCSFI", "&&", "FI", "<=", "MaxCSFI", ")", "||", "!", "hasFP", "(", "MF", ")", ")", "{", "FrameReg", "=", "CAHP", "::", "X1", ";", "Offset", "+=", "MF", ".", "getFrameInfo", "(", ")", ".", "getStackSize", "(", ")", ";", "}", "return", "Offset", ";", "}", ""], "natrual_language": ["getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "."], "TS_V_token": ["CAHP", "CAHP", "0", "1", "0", "1", "CAHP::X1"], "File": "CAHPFrameLowering", "Func": "getFrameIndexReference", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 774, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "csky_asm_trampoline_template", "(", "FILE", "*", "f", ")", "{", "if", "(", "CSKY_ISA_FEATURE", "(", "2E3", ")", ")", "{", "fprintf", "(", "f", ",", "\"\\tlrw\\t%s, [.Lstatic_chain]\\n\"", ",", "reg_names", "[", "STATIC_CHAIN_REGNUM", "]", ")", ";", "fprintf", "(", "f", ",", "\"\\tjmpi\\t[.Lfunc_address]\\n\"", ")", ";", "}", "else", "if", "(", "CSKY_TARGET_ARCH", "(", "CK801", ")", ")", "{", "sorry", "(", "\"Nested function trampolines not supported on CK801.\"", ")", ";", "}", "else", "{", "fprintf", "(", "f", ",", "\"\\tlrw\\t%s, [.Lfunc_address]\\n\"", ",", "reg_names", "[", "CSKY_T1_REGNUM", "]", ")", ";", "fprintf", "(", "f", ",", "\"\\tlrw\\t%s, [.Lstatic_chain]\\n\"", ",", "reg_names", "[", "STATIC_CHAIN_REGNUM", "]", ")", ";", "fprintf", "(", "f", ",", "\"\\tjmp\\t%s\\n\"", ",", "reg_names", "[", "CSKY_T1_REGNUM", "]", ")", ";", "fprintf", "(", "f", ",", "\"\\t.align 2\\n\"", ")", ";", "}", "fprintf", "(", "f", ",", "\".Lstatic_chain:\\n\"", ")", ";", "fprintf", "(", "f", ",", "\"\\t.long 0\\n\"", ")", ";", "fprintf", "(", "f", ",", "\".Lfunc_address:\\n\"", ")", ";", "fprintf", "(", "f", ",", "\"\\t.long 0\\n\"", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_ASM_TRAMPOLINE_TEMPLATE", ".", "Output", "assembler", "code", "for", "a", "block", "containing", "the", "constant", "parts", "of", "a", "trampoline", ",", "leaving", "space", "for", "the", "variable", "parts", ".", "Note", "that", "STATIC_CHAIN_REGNUM", "is", "t1", "(", "aka", "r12", ")", "on", "ck801", "and", "t1", "(", "r13", ")", "otherwise", "."], "TS_V_token": ["csky", "2E3", "\"\\tlrw\\t%s, [.Lstatic_chain]\\n\"", "\"\\tjmpi\\t[.Lfunc_address]\\n\"", "\"Nested function trampolines not supported on CK801.\"", "\"\\tlrw\\t%s, [.Lfunc_address]\\n\"", "\"\\tlrw\\t%s, [.Lstatic_chain]\\n\"", "\"\\tjmp\\t%s\\n\"", "\"\\t.align 2\\n\"", "\".Lstatic_chain:\\n\"", "\"\\t.long 0\\n\"", "\".Lfunc_address:\\n\"", "\"\\t.long 0\\n\""], "File": "csky", "Func": "csky_asm_trampoline_template", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 775, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIInstrInfo", "::", "hasVALU32BitEncoding", "(", "unsigned", "Opcode", ")", "const", "{", "return", "AMDGPU", "::", "getVOPe32", "(", "Opcode", ")", "!=", "-", "1", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "64-bit", "VALU", "instruction", "has", "a", "32-bit", "encoding", "."], "TS_V_token": ["R600", "SI", "1"], "File": "SIInstrInfo116", "Func": "hasVALU32BitEncoding", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 776, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SMLoc", "getEndLoc", "(", ")", "const", "override", "{", "return", "EndLoc", ";", "}", ""], "natrual_language": ["getEndLoc", "-", "Get", "the", "location", "of", "the", "last", "token", "of", "this", "operand", "."], "TS_V_token": ["MINA32"], "File": "MINA32AsmParser", "Func": "getEndLoc", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 777, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "CJGInstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["CJG", "CJG"], "File": "CJGSubtarget", "Func": "getInstrInfo", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 778, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "bfin_expand_strmov", "(", "rtx", "dst", ",", "rtx", "src", ",", "rtx", "count_exp", ",", "rtx", "align_exp", ")", "{", "rtx", "srcreg", ",", "destreg", ",", "countreg", ";", "HOST_WIDE_INT", "align", "=", "0", ";", "unsigned", "HOST_WIDE_INT", "count", "=", "0", ";", "if", "(", "GET_CODE", "(", "align_exp", ")", "==", "CONST_INT", ")", "align", "=", "INTVAL", "(", "align_exp", ")", ";", "if", "(", "GET_CODE", "(", "count_exp", ")", "==", "CONST_INT", ")", "{", "count", "=", "INTVAL", "(", "count_exp", ")", ";", "if", "(", "!", "TARGET_INLINE_ALL_STRINGOPS", "&&", "count", ">", "64", ")", "return", "false", ";", "}", "if", "(", "optimize_size", ")", "{", "if", "(", "count", "==", "2", "&&", "align", "<", "2", ")", "return", "false", ";", "if", "(", "count", "==", "4", "&&", "align", "<", "4", ")", "return", "false", ";", "if", "(", "count", "!=", "1", "&&", "count", "!=", "2", "&&", "count", "!=", "4", ")", "return", "false", ";", "}", "if", "(", "align", "<", "2", "&&", "count", "!=", "1", ")", "return", "false", ";", "destreg", "=", "copy_to_mode_reg", "(", "Pmode", ",", "XEXP", "(", "dst", ",", "0", ")", ")", ";", "if", "(", "destreg", "!=", "XEXP", "(", "dst", ",", "0", ")", ")", "dst", "=", "replace_equiv_address_nv", "(", "dst", ",", "destreg", ")", ";", "srcreg", "=", "copy_to_mode_reg", "(", "Pmode", ",", "XEXP", "(", "src", ",", "0", ")", ")", ";", "if", "(", "srcreg", "!=", "XEXP", "(", "src", ",", "0", ")", ")", "src", "=", "replace_equiv_address_nv", "(", "src", ",", "srcreg", ")", ";", "if", "(", "count", "!=", "0", "&&", "align", ">=", "2", ")", "{", "unsigned", "HOST_WIDE_INT", "offset", "=", "0", ";", "if", "(", "align", ">=", "4", ")", "{", "if", "(", "(", "count", "&", "~", "3", ")", "==", "4", ")", "{", "single_move_for_strmov", "(", "dst", ",", "src", ",", "SImode", ",", "offset", ")", ";", "offset", "=", "4", ";", "}", "else", "if", "(", "count", "&", "~", "3", ")", "{", "HOST_WIDE_INT", "new_count", "=", "(", "(", "count", ">>", "2", ")", "&", "0x3fffffff", ")", "-", "1", ";", "countreg", "=", "copy_to_mode_reg", "(", "Pmode", ",", "GEN_INT", "(", "new_count", ")", ")", ";", "emit_insn", "(", "gen_rep_movsi", "(", "destreg", ",", "srcreg", ",", "countreg", ",", "destreg", ",", "srcreg", ")", ")", ";", "}", "if", "(", "count", "&", "2", ")", "{", "single_move_for_strmov", "(", "dst", ",", "src", ",", "HImode", ",", "offset", ")", ";", "offset", "+=", "2", ";", "}", "}", "else", "{", "if", "(", "(", "count", "&", "~", "1", ")", "==", "2", ")", "{", "single_move_for_strmov", "(", "dst", ",", "src", ",", "HImode", ",", "offset", ")", ";", "offset", "=", "2", ";", "}", "else", "if", "(", "count", "&", "~", "1", ")", "{", "HOST_WIDE_INT", "new_count", "=", "(", "(", "count", ">>", "1", ")", "&", "0x7fffffff", ")", "-", "1", ";", "countreg", "=", "copy_to_mode_reg", "(", "Pmode", ",", "GEN_INT", "(", "new_count", ")", ")", ";", "emit_insn", "(", "gen_rep_movhi", "(", "destreg", ",", "srcreg", ",", "countreg", ",", "destreg", ",", "srcreg", ")", ")", ";", "}", "}", "if", "(", "count", "&", "1", ")", "{", "single_move_for_strmov", "(", "dst", ",", "src", ",", "QImode", ",", "offset", ")", ";", "}", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Expand", "a", "string", "move", "operation", "of", "COUNT_EXP", "bytes", "from", "SRC", "to", "DST", ",", "with", "alignment", "ALIGN_EXP", ".", "Return", "true", "if", "successful", ",", "false", "if", "we", "should", "fall", "back", "on", "a", "different", "method", "."], "TS_V_token": ["bfin", "0", "0", "64", "2", "2", "4", "4", "1", "2", "4", "2", "1", "0", "0", "0", "0", "0", "2", "0", "4", "3", "4", "4", "3", "2", "0x3fffffff", "1", "2", "2", "1", "2", "2", "1", "1", "0x7fffffff", "1", "1"], "File": "bfin2", "Func": "bfin_expand_strmov", "Target": "bfin", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 779, "Length": 450, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUInstructionSelector", "::", "select", "(", "MachineInstr", "&", "I", ",", "CodeGenCoverage", "&", "CoverageInfo", ")", "const", "{", "if", "(", "!", "isPreISelGenericOpcode", "(", "I", ".", "getOpcode", "(", ")", ")", ")", "return", "true", ";", "switch", "(", "I", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "TargetOpcode", "::", "G_FPTOUI", ":", "case", "TargetOpcode", "::", "G_OR", ":", "return", "selectImpl", "(", "I", ",", "CoverageInfo", ")", ";", "case", "TargetOpcode", "::", "G_ADD", ":", "return", "selectG_ADD", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_BITCAST", ":", "return", "selectCOPY", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_CONSTANT", ":", "case", "TargetOpcode", "::", "G_FCONSTANT", ":", "return", "selectG_CONSTANT", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_GEP", ":", "return", "selectG_GEP", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_LOAD", ":", "return", "selectG_LOAD", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_STORE", ":", "return", "selectG_STORE", "(", "I", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Select", "the", "(", "possibly", "generic", ")", "instruction", "I", "to", "only", "use", "target-specific", "opcodes", "."], "TS_V_token": ["AMDGPU", "AMDGPU"], "File": "AMDGPUInstructionSelector11", "Func": "select", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 780, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "RISCVTargetLowering", "::", "ConstraintType", "RISCVTargetLowering", "::", "getConstraintType", "(", "StringRef", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'f'", ":", "return", "C_RegisterClass", ";", "case", "'I'", ":", "case", "'J'", ":", "case", "'K'", ":", "return", "C_Immediate", ";", "case", "'A'", ":", "return", "C_Memory", ";", "}", "}", "return", "TargetLowering", "::", "getConstraintType", "(", "Constraint", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constraint", "letter", ",", "return", "the", "type", "of", "constraint", "for", "this", "target", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "1", "0"], "File": "RISCVISelLowering11", "Func": "getConstraintType", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 781, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "isLegalBroadcastLoad", "(", "Type", "*", "ElementTy", ",", "unsigned", "NumElements", ")", "const", "{", "return", "ST", "->", "hasSSE3", "(", ")", "&&", "NumElements", "==", "2", "&&", "ElementTy", "==", "Type", "::", "getDoubleTy", "(", "ElementTy", "->", "getContext", "(", ")", ")", ";", "}", ""], "natrual_language": ["\\Returns", "true", "if", "the", "target", "supports", "broadcasting", "a", "load", "to", "a", "vector", "of", "type", "<", "NumElements", "x", "ElementTy", ">", "."], "TS_V_token": ["X86", "X86", "2"], "File": "X86TargetTransformInfo10", "Func": "isLegalBroadcastLoad", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 782, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "NyuziInstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["Nyuzi", "Nyuzi"], "File": "NyuziSubtarget", "Func": "getInstrInfo", "Target": "Nyuzi", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 783, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "s390_fn_types_compatible", "(", "enum", "s390_builtin_ov_type_index", "typeindex", ",", "vec", "<", "tree", ",", "va_gc", ">", "*", "arglist", ")", "{", "unsigned", "int", "i", ";", "int", "match_type", "=", "0", ";", "for", "(", "i", "=", "0", ";", "i", "<", "vec_safe_length", "(", "arglist", ")", ";", "i", "++", ")", "{", "tree", "b_arg_type", "=", "s390_builtin_types", "[", "s390_builtin_ov_types", "[", "typeindex", "]", "[", "i", "+", "1", "]", "]", ";", "tree", "in_arg", "=", "(", "*", "arglist", ")", "[", "i", "]", ";", "tree", "in_type", "=", "TREE_TYPE", "(", "in_arg", ")", ";", "if", "(", "TREE_CODE", "(", "b_arg_type", ")", "==", "VECTOR_TYPE", ")", "{", "if", "(", "b_arg_type", "!=", "in_type", "&&", "TYPE_MAIN_VARIANT", "(", "b_arg_type", ")", "!=", "TYPE_MAIN_VARIANT", "(", "in_type", ")", ")", "goto", "mismatch", ";", "}", "if", "(", "lang_hooks", ".", "types_compatible_p", "(", "in_type", ",", "b_arg_type", ")", ")", "continue", ";", "if", "(", "lang_hooks", ".", "types_compatible_p", "(", "lang_hooks", ".", "types", ".", "type_promotes_to", "(", "in_type", ")", ",", "lang_hooks", ".", "types", ".", "type_promotes_to", "(", "b_arg_type", ")", ")", ")", "{", "match_type", "++", ";", "continue", ";", "}", "if", "(", "TREE_CODE", "(", "b_arg_type", ")", "==", "INTEGER_TYPE", "&&", "TREE_CODE", "(", "in_type", ")", "==", "INTEGER_TYPE", ")", "{", "match_type", "++", ";", "continue", ";", "}", "if", "(", "POINTER_TYPE_P", "(", "b_arg_type", ")", "&&", "POINTER_TYPE_P", "(", "in_type", ")", "&&", "!", "(", "TYPE_QUALS", "(", "TREE_TYPE", "(", "in_type", ")", ")", "&", "~", "TYPE_QUALS", "(", "TREE_TYPE", "(", "b_arg_type", ")", ")", ")", "&&", "(", "TYPE_QUALS", "(", "TREE_TYPE", "(", "b_arg_type", ")", ")", "&", "~", "TYPE_QUALS", "(", "TREE_TYPE", "(", "in_type", ")", ")", ")", ")", "{", "tree", "qual_in_type", "=", "build_qualified_type", "(", "TREE_TYPE", "(", "in_type", ")", ",", "TYPE_QUALS", "(", "TREE_TYPE", "(", "b_arg_type", ")", ")", ")", ";", "if", "(", "lang_hooks", ".", "types_compatible_p", "(", "qual_in_type", ",", "TREE_TYPE", "(", "b_arg_type", ")", ")", ")", "{", "match_type", "++", ";", "continue", ";", "}", "}", "mismatch", ":", "if", "(", "TARGET_DEBUG_ARG", ")", "{", "fprintf", "(", "stderr", ",", "\" mismatch in operand: %d incoming: \"", ",", "i", "+", "1", ")", ";", "print_generic_expr", "(", "stderr", ",", "in_type", ",", "TDF_VOPS", "|", "TDF_MEMSYMS", ")", ";", "fprintf", "(", "stderr", ",", "\" expected: \"", ")", ";", "print_generic_expr", "(", "stderr", ",", "b_arg_type", ",", "TDF_VOPS", "|", "TDF_MEMSYMS", ")", ";", "fprintf", "(", "stderr", ",", "\"\\n\"", ")", ";", "}", "return", "INT_MAX", ";", "}", "return", "match_type", ";", "}", ""], "natrual_language": ["Check", "whether", "the", "arguments", "in", "ARGLIST", "match", "the", "function", "type", "DEF_TYPE", ".", "Return", "the", "number", "of", "argument", "types", "which", "required", "conversion/promotion", "in", "order", "to", "make", "it", "match", ".", "0", "stands", "for", "a", "perfect", "match", "-", "all", "operand", "types", "match", "without", "changes", "INT_MAX", "stands", "for", "a", "mismatch", "."], "TS_V_token": ["s390", "0", "0", "1", "\" mismatch in operand: %d incoming: \"", "1", "\" expected: \"", "\"\\n\""], "File": "s390-c", "Func": "s390_fn_types_compatible", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 784, "Length": 333, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsFunctionInfo", "::", "getGlobalBaseReg", "(", ")", "{", "if", "(", "GlobalBaseReg", ")", "return", "GlobalBaseReg", ";", "const", "MipsSubtarget", "&", "ST", "=", "MF", ".", "getTarget", "(", ")", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "ST", ".", "inMips16Mode", "(", ")", "?", "&", "Mips", "::", "CPU16RegsRegClass", ":", "ST", ".", "isABI_N64", "(", ")", "?", "&", "Mips", "::", "GPR64RegClass", ":", "&", "Mips", "::", "GPR32RegClass", ";", "return", "GlobalBaseReg", "=", "MF", ".", "getRegInfo", "(", ")", ".", "createVirtualRegister", "(", "RC", ")", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips::CPU16RegsRegClass", "Mips::GPR64RegClass", "Mips::GPR32RegClass"], "File": "MipsMachineFunction35", "Func": "getGlobalBaseReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 785, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "bfin_hard_regno_rename_ok", "(", "unsigned", "int", "old_reg", "ATTRIBUTE_UNUSED", ",", "unsigned", "int", "new_reg", ")", "{", "if", "(", "funkind", "(", "TREE_TYPE", "(", "current_function_decl", ")", ")", "!=", "SUBROUTINE", "&&", "!", "regs_ever_live", "[", "new_reg", "]", ")", "return", "0", ";", "return", "1", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "register", "OLD_REG", "can", "be", "renamed", "to", "register", "NEW_REG", "."], "TS_V_token": ["bfin", "0", "1"], "File": "bfin2", "Func": "bfin_hard_regno_rename_ok", "Target": "bfin", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 786, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "vfp3_const_double_for_bits", "(", "rtx", "x", ")", "{", "const", "REAL_VALUE_TYPE", "*", "r", ";", "if", "(", "!", "CONST_DOUBLE_P", "(", "x", ")", ")", "return", "-", "1", ";", "r", "=", "CONST_DOUBLE_REAL_VALUE", "(", "x", ")", ";", "if", "(", "REAL_VALUE_NEGATIVE", "(", "*", "r", ")", "||", "REAL_VALUE_ISNAN", "(", "*", "r", ")", "||", "REAL_VALUE_ISINF", "(", "*", "r", ")", "||", "!", "real_isinteger", "(", "r", ",", "SFmode", ")", ")", "return", "-", "1", ";", "HOST_WIDE_INT", "hwint", "=", "exact_log2", "(", "real_to_integer", "(", "r", ")", ")", ";", "if", "(", "!", "IN_RANGE", "(", "hwint", ",", "1", ",", "32", ")", ")", "return", "-", "1", ";", "return", "hwint", ";", "}", ""], "natrual_language": ["If", "X", "is", "a", "CONST_DOUBLE", "with", "a", "value", "that", "is", "a", "power", "of", "2", "whose", "log2", "is", "in", "[", "1", ",", "32", "]", ",", "return", "that", "log2", ".", "Otherwise", "return", "-1", ".", "This", "is", "used", "in", "the", "patterns", "for", "vcvt.s32.f32", "floating-point", "to", "fixed-point", "conversions", "."], "TS_V_token": ["arm", "1", "1", "1", "32", "1"], "File": "arm", "Func": "vfp3_const_double_for_bits", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 787, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Initialize", "(", "MCContext", "&", "ctx", ",", "const", "TargetMachine", "&", "TM", ")", "override", "{", "TargetLoweringObjectFile", "::", "Initialize", "(", "ctx", ",", "TM", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["SPIRV"], "File": "SPIRVTargetObjectFile", "Func": "Initialize", "Target": "SPIRV", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 788, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emitSPUpdate", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "const", "TargetInstrInfo", "&", "TII", ",", "DebugLoc", "dl", ",", "const", "Thumb1RegisterInfo", "&", "MRI", ",", "int", "NumBytes", ",", "unsigned", "MIFlags", "=", "MachineInstr", "::", "NoFlags", ")", "{", "emitThumbRegPlusImmediate", "(", "MBB", ",", "MBBI", ",", "dl", ",", "ARM", "::", "SP", ",", "ARM", "::", "SP", ",", "NumBytes", ",", "TII", ",", "MRI", ",", "MIFlags", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "series", "of", "instructions", "to", "increment", "/", "decrement", "the", "stack", "pointer", "by", "a", "constant", "value", "."], "TS_V_token": ["ARM", "ARM::SP", "ARM::SP"], "File": "Thumb1FrameLowering", "Func": "emitSPUpdate", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 789, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "HexagonInstrInfo", "::", "reduceLoopCount", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "&", "PreHeader", ",", "MachineInstr", "*", "IndVar", ",", "MachineInstr", "&", "Cmp", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "SmallVectorImpl", "<", "MachineInstr", "*", ">", "&", "PrevInsts", ",", "unsigned", "Iter", ",", "unsigned", "MaxIter", ")", "const", "{", "assert", "(", "(", "!", "IndVar", ")", "&&", "isEndLoopN", "(", "Cmp", ".", "getOpcode", "(", ")", ")", "&&", "\"Expecting a hardware loop\"", ")", ";", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "DebugLoc", "DL", "=", "Cmp", ".", "getDebugLoc", "(", ")", ";", "SmallPtrSet", "<", "MachineBasicBlock", "*", ",", "8", ">", "VisitedBBs", ";", "MachineInstr", "*", "Loop", "=", "findLoopInstr", "(", "&", "MBB", ",", "Cmp", ".", "getOpcode", "(", ")", ",", "Cmp", ".", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ",", "VisitedBBs", ")", ";", "if", "(", "!", "Loop", ")", "return", "0", ";", "if", "(", "Loop", "->", "getOpcode", "(", ")", "==", "Hexagon", "::", "J2_loop0i", "||", "Loop", "->", "getOpcode", "(", ")", "==", "Hexagon", "::", "J2_loop1i", ")", "{", "int64_t", "Offset", "=", "Loop", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "if", "(", "Offset", "<=", "1", ")", "Loop", "->", "eraseFromParent", "(", ")", ";", "else", "Loop", "->", "getOperand", "(", "1", ")", ".", "setImm", "(", "Offset", "-", "1", ")", ";", "return", "Offset", "-", "1", ";", "}", "assert", "(", "Loop", "->", "getOpcode", "(", ")", "==", "Hexagon", "::", "J2_loop0r", "&&", "\"Unexpected instruction\"", ")", ";", "unsigned", "LoopCount", "=", "Loop", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "unsigned", "LoopEnd", "=", "createVR", "(", "MF", ",", "MVT", "::", "i1", ")", ";", "MachineInstr", "*", "NewCmp", "=", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "Hexagon", "::", "C2_cmpgtui", ")", ",", "LoopEnd", ")", ".", "addReg", "(", "LoopCount", ")", ".", "addImm", "(", "1", ")", ";", "unsigned", "NewLoopCount", "=", "createVR", "(", "MF", ",", "MVT", "::", "i32", ")", ";", "MachineInstr", "*", "NewAdd", "=", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "Hexagon", "::", "A2_addi", ")", ",", "NewLoopCount", ")", ".", "addReg", "(", "LoopCount", ")", ".", "addImm", "(", "-", "1", ")", ";", "const", "HexagonRegisterInfo", "&", "HRI", "=", "*", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "for", "(", "SmallVectorImpl", "<", "MachineInstr", "*", ">", "::", "iterator", "I", "=", "PrevInsts", ".", "begin", "(", ")", ",", "E", "=", "PrevInsts", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "(", "*", "I", ")", "->", "substituteRegister", "(", "LoopCount", ",", "NewLoopCount", ",", "0", ",", "HRI", ")", ";", "PrevInsts", ".", "clear", "(", ")", ";", "PrevInsts", ".", "push_back", "(", "NewCmp", ")", ";", "PrevInsts", ".", "push_back", "(", "NewAdd", ")", ";", "if", "(", "Iter", "==", "MaxIter", ")", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "Hexagon", "::", "J2_loop0r", ")", ")", ".", "addMBB", "(", "Loop", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ")", ".", "addReg", "(", "NewLoopCount", ")", ";", "if", "(", "Iter", "==", "0", ")", "Loop", "->", "eraseFromParent", "(", ")", ";", "Cond", ".", "push_back", "(", "MachineOperand", "::", "CreateImm", "(", "Hexagon", "::", "J2_jumpf", ")", ")", ";", "Cond", ".", "push_back", "(", "NewCmp", "->", "getOperand", "(", "0", ")", ")", ";", "return", "NewLoopCount", ";", "}", ""], "natrual_language": ["Generate", "code", "to", "reduce", "the", "loop", "iteration", "by", "one", "and", "check", "if", "the", "loop", "is", "finished", "."], "TS_V_token": ["Hexagon", "Hexagon", "\"Expecting a hardware loop\"", "8", "0", "0", "Hexagon::J2_loop0i", "Hexagon::J2_loop1i", "1", "1", "1", "1", "1", "Hexagon::J2_loop0r", "\"Unexpected instruction\"", "1", "MVT::i1", "Hexagon::C2_cmpgtui", "1", "MVT::i32", "Hexagon::A2_addi", "1", "Hexagon", "0", "Hexagon::J2_loop0r", "0", "0", "Hexagon::J2_jumpf", "0"], "File": "HexagonInstrInfo14", "Func": "reduceLoopCount", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 790, "Length": 476, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "make_type_sizeless", "(", "tree", "type", ")", "{", "TYPE_ATTRIBUTES", "(", "type", ")", "=", "tree_cons", "(", "get_identifier", "(", "\"RVV sizeless type\"", ")", ",", "NULL_TREE", ",", "TYPE_ATTRIBUTES", "(", "type", ")", ")", ";", "}", ""], "natrual_language": ["Force", "TYPE", "to", "be", "a", "sizeless", "type", "."], "TS_V_token": ["riscv", "\"RVV sizeless type\""], "File": "riscv-vector-builtins", "Func": "make_type_sizeless", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 791, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DEBUG_FUNCTION", "static", "void", "debug_dispatch_window_file", "(", "FILE", "*", "file", ",", "int", "window_num", ")", "{", "dispatch_windows", "*", "list", ";", "int", "i", ";", "if", "(", "window_num", "==", "0", ")", "list", "=", "dispatch_window_list", ";", "else", "list", "=", "dispatch_window_list1", ";", "fprintf", "(", "file", ",", "\"Window #%d:\\n\"", ",", "list", "->", "window_num", ")", ";", "fprintf", "(", "file", ",", "\" num_insn = %d, num_uops = %d, window_size = %d\\n\"", ",", "list", "->", "num_insn", ",", "list", "->", "num_uops", ",", "list", "->", "window_size", ")", ";", "fprintf", "(", "file", ",", "\" num_imm = %d, num_imm_32 = %d, num_imm_64 = %d, imm_size = %d\\n\"", ",", "list", "->", "num_imm", ",", "list", "->", "num_imm_32", ",", "list", "->", "num_imm_64", ",", "list", "->", "imm_size", ")", ";", "fprintf", "(", "file", ",", "\" num_loads = %d, num_stores = %d\\n\"", ",", "list", "->", "num_loads", ",", "list", "->", "num_stores", ")", ";", "fprintf", "(", "file", ",", "\" insn info:\\n\"", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "MAX_INSN", ";", "i", "++", ")", "{", "if", "(", "!", "list", "->", "window", "[", "i", "]", ".", "insn", ")", "break", ";", "fprintf", "(", "file", ",", "\" group[%d] = %s, insn[%d] = %p, path[%d] = %d byte_len[%d] = %d, imm_bytes[%d] = %d\\n\"", ",", "i", ",", "group_name", "[", "list", "->", "window", "[", "i", "]", ".", "group", "]", ",", "i", ",", "(", "void", "*", ")", "list", "->", "window", "[", "i", "]", ".", "insn", ",", "i", ",", "list", "->", "window", "[", "i", "]", ".", "path", ",", "i", ",", "list", "->", "window", "[", "i", "]", ".", "byte_len", ",", "i", ",", "list", "->", "window", "[", "i", "]", ".", "imm_bytes", ")", ";", "}", "}", ""], "natrual_language": ["Print", "the", "dispatch", "window", ",", "WINDOW_NUM", ",", "to", "FILE", "."], "TS_V_token": ["i386", "0", "\"Window #%d:\\n\"", "\" num_insn = %d, num_uops = %d, window_size = %d\\n\"", "\" num_imm = %d, num_imm_32 = %d, num_imm_64 = %d, imm_size = %d\\n\"", "\" num_loads = %d, num_stores = %d\\n\"", "\" insn info:\\n\"", "0", "\" group[%d] = %s, insn[%d] = %p, path[%d] = %d byte_len[%d] = %d, imm_bytes[%d] = %d\\n\""], "File": "i3864", "Func": "debug_dispatch_window_file", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 792, "Length": 209, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "increment_stack", "(", "signed", "int", "amount", ",", "bool", "in_prologue", ")", "{", "rtx", "inc", ";", "if", "(", "amount", "==", "0", ")", "return", ";", "inc", "=", "GEN_INT", "(", "amount", ")", ";", "if", "(", "!", "CONST_OK_FOR_K", "(", "amount", ")", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "12", ")", ";", "inc", "=", "emit_move_insn", "(", "reg", ",", "inc", ")", ";", "if", "(", "in_prologue", ")", "F", "(", "inc", ")", ";", "inc", "=", "reg", ";", "}", "inc", "=", "emit_insn", "(", "gen_addsi3_clobber_flags", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "inc", ")", ")", ";", "if", "(", "in_prologue", ")", "F", "(", "inc", ")", ";", "}", ""], "natrual_language": ["Common", "code", "to", "change", "the", "stack", "pointer", "."], "TS_V_token": ["v850", "0", "12"], "File": "v850", "Func": "increment_stack", "Target": "v850", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 793, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPassConfig", "::", "addPreISel", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "Aggressive", ")", "addPass", "(", "createGlobalMergePass", "(", "TM", ",", "127", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["ARM", "ARM", "127"], "File": "ARMTargetMachine52", "Func": "addPreISel", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 794, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "BlackfinTargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getTarget", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_Blackfin", ")", ";", "if", "(", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "liveout_empty", "(", ")", ")", "{", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "addLiveOut", "(", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ")", ";", "}", "SDValue", "Flag", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Can only return in registers!\"", ")", ";", "SDValue", "Opi", "=", "OutVals", "[", "i", "]", ";", "switch", "(", "VA", ".", "getLocInfo", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown loc info!\"", ")", ";", "case", "CCValAssign", "::", "Full", ":", "break", ";", "case", "CCValAssign", "::", "SExt", ":", "Opi", "=", "DAG", ".", "getNode", "(", "ISD", "::", "SIGN_EXTEND", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "Opi", ")", ";", "break", ";", "case", "CCValAssign", "::", "ZExt", ":", "Opi", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ZERO_EXTEND", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "Opi", ")", ";", "break", ";", "case", "CCValAssign", "::", "AExt", ":", "Opi", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ANY_EXTEND", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "Opi", ")", ";", "break", ";", "}", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "Opi", ",", "SDValue", "(", ")", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "}", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "{", "return", "DAG", ".", "getNode", "(", "BFISD", "::", "RET_FLAG", ",", "dl", ",", "MVT", "::", "Other", ",", "Chain", ",", "Flag", ")", ";", "}", "else", "{", "return", "DAG", ".", "getNode", "(", "BFISD", "::", "RET_FLAG", ",", "dl", ",", "MVT", "::", "Other", ",", "Chain", ")", ";", "}", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "outgoing", "return", "values", ",", "described", "by", "the", "Outs", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["Blackfin", "ISD::OutputArg", "16", "0", "0", "\"Can only return in registers!\"", "\"Unknown loc info!\"", "ISD::SIGN_EXTEND", "ISD::ZERO_EXTEND", "ISD::ANY_EXTEND", "1", "BFISD::RET_FLAG", "MVT::Other", "BFISD::RET_FLAG", "MVT::Other"], "File": "BlackfinISelLowering5", "Func": "LowerReturn", "Target": "Blackfin", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 795, "Length": 384, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcMCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "verifyInstructionPredicates", "(", "MI", ",", "computeAvailableFeatures", "(", "STI", ".", "getFeatureBits", "(", ")", ")", ")", ";", "unsigned", "Bits", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "if", "(", "Ctx", ".", "getAsmInfo", "(", ")", "->", "isLittleEndian", "(", ")", ")", "{", "support", "::", "endian", "::", "Writer", "<", "support", "::", "little", ">", "(", "OS", ")", ".", "write", "<", "uint32_t", ">", "(", "Bits", ")", ";", "}", "else", "{", "support", "::", "endian", "::", "Writer", "<", "support", "::", "big", ">", "(", "OS", ")", ".", "write", "<", "uint32_t", ">", "(", "Bits", ")", ";", "}", "unsigned", "tlsOpNo", "=", "0", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "SP", "::", "TLS_CALL", ":", "tlsOpNo", "=", "1", ";", "break", ";", "case", "SP", "::", "TLS_ADDrr", ":", "case", "SP", "::", "TLS_ADDXrr", ":", "case", "SP", "::", "TLS_LDrr", ":", "case", "SP", "::", "TLS_LDXrr", ":", "tlsOpNo", "=", "3", ";", "break", ";", "}", "if", "(", "tlsOpNo", "!=", "0", ")", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "tlsOpNo", ")", ";", "uint64_t", "op", "=", "getMachineOpValue", "(", "MI", ",", "MO", ",", "Fixups", ",", "STI", ")", ";", "assert", "(", "op", "==", "0", "&&", "\"Unexpected operand value!\"", ")", ";", "(", "void", ")", "op", ";", "}", "++", "MCNumEmitted", ";", "}", ""], "natrual_language": ["Encode", "the", "given", "Inst", "to", "bytes", "and", "append", "to", "CB", "."], "TS_V_token": ["Sparc", "Sparc", "support::endian", "support::little", "support::endian", "support::big", "0", "SP::TLS_CALL", "1", "SP::TLS_ADDrr", "SP::TLS_ADDXrr", "SP::TLS_LDrr", "SP::TLS_LDXrr", "3", "0", "0", "\"Unexpected operand value!\""], "File": "SparcMCCodeEmitter10", "Func": "encodeInstruction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 796, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "DataLayout", "*", "getDataLayout", "(", ")", "const", "override", "{", "return", "&", "DL", ";", "}", ""], "natrual_language": ["Return", "the", "DataLayout", "associated", "with", "the", "module", "this", "SCEV", "instance", "is", "operating", "on", "."], "TS_V_token": ["Mips"], "File": "MipsTargetMachine26", "Func": "getDataLayout", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 797, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SITargetLowering", "::", "AdjustInstrPostInstrSelection", "(", "MachineInstr", "&", "MI", ",", "SDNode", "*", "Node", ")", "const", "{", "const", "SIInstrInfo", "*", "TII", "=", "getSubtarget", "(", ")", "->", "getInstrInfo", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "if", "(", "TII", "->", "isVOP3", "(", "MI", ".", "getOpcode", "(", ")", ")", ")", "{", "TII", "->", "legalizeOperandsVOP3", "(", "MRI", ",", "MI", ")", ";", "if", "(", "const", "MCOperandInfo", "*", "OpInfo", "=", "MI", ".", "getDesc", "(", ")", ".", "OpInfo", ")", "{", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "const", "SIRegisterInfo", "*", "TRI", "=", "Subtarget", "->", "getRegisterInfo", "(", ")", ";", "for", "(", "auto", "I", ":", "{", "AMDGPU", "::", "getNamedOperandIdx", "(", "Opc", ",", "AMDGPU", "::", "OpName", "::", "src0", ")", ",", "AMDGPU", "::", "getNamedOperandIdx", "(", "Opc", ",", "AMDGPU", "::", "OpName", "::", "src1", ")", "}", ")", "{", "if", "(", "I", "==", "-", "1", ")", "break", ";", "MachineOperand", "&", "Op", "=", "MI", ".", "getOperand", "(", "I", ")", ";", "if", "(", "(", "OpInfo", "[", "I", "]", ".", "RegClass", "!=", "llvm", "::", "AMDGPU", "::", "AV_64RegClassID", "&&", "OpInfo", "[", "I", "]", ".", "RegClass", "!=", "llvm", "::", "AMDGPU", "::", "AV_32RegClassID", ")", "||", "!", "Op", ".", "getReg", "(", ")", ".", "isVirtual", "(", ")", "||", "!", "TRI", "->", "isAGPR", "(", "MRI", ",", "Op", ".", "getReg", "(", ")", ")", ")", "continue", ";", "auto", "*", "Src", "=", "MRI", ".", "getUniqueVRegDef", "(", "Op", ".", "getReg", "(", ")", ")", ";", "if", "(", "!", "Src", "||", "!", "Src", "->", "isCopy", "(", ")", "||", "!", "TRI", "->", "isSGPRReg", "(", "MRI", ",", "Src", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ")", "continue", ";", "auto", "*", "RC", "=", "TRI", "->", "getRegClassForReg", "(", "MRI", ",", "Op", ".", "getReg", "(", ")", ")", ";", "auto", "*", "NewRC", "=", "TRI", "->", "getEquivalentVGPRClass", "(", "RC", ")", ";", "MRI", ".", "setRegClass", "(", "Op", ".", "getReg", "(", ")", ",", "NewRC", ")", ";", "}", "}", "return", ";", "}", "int", "NoRetAtomicOp", "=", "AMDGPU", "::", "getAtomicNoRetOp", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "if", "(", "NoRetAtomicOp", "!=", "-", "1", ")", "{", "if", "(", "!", "Node", "->", "hasAnyUseOfValue", "(", "0", ")", ")", "{", "MI", ".", "setDesc", "(", "TII", "->", "get", "(", "NoRetAtomicOp", ")", ")", ";", "MI", ".", "RemoveOperand", "(", "0", ")", ";", "return", ";", "}", "if", "(", "(", "Node", "->", "hasNUsesOfValue", "(", "1", ",", "0", ")", "&&", "Node", "->", "use_begin", "(", ")", "->", "isMachineOpcode", "(", ")", "&&", "Node", "->", "use_begin", "(", ")", "->", "getMachineOpcode", "(", ")", "==", "AMDGPU", "::", "EXTRACT_SUBREG", "&&", "!", "Node", "->", "use_begin", "(", ")", "->", "hasAnyUseOfValue", "(", "0", ")", ")", ")", "{", "Register", "Def", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "MI", ".", "setDesc", "(", "TII", "->", "get", "(", "NoRetAtomicOp", ")", ")", ";", "MI", ".", "RemoveOperand", "(", "0", ")", ";", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "MI", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "AMDGPU", "::", "IMPLICIT_DEF", ")", ",", "Def", ")", ";", "}", "return", ";", "}", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'hasPostISelHook", "'", "flag", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "AMDGPU::getNamedOperandIdx", "AMDGPU::OpName", "AMDGPU::getNamedOperandIdx", "AMDGPU::OpName", "1", "AMDGPU::AV_64RegClassID", "AMDGPU::AV_32RegClassID", "1", "AMDGPU::getAtomicNoRetOp", "1", "0", "0", "1", "0", "AMDGPU::EXTRACT_SUBREG", "0", "0", "0", "AMDGPU::IMPLICIT_DEF"], "File": "SIISelLowering120", "Func": "AdjustInstrPostInstrSelection", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 798, "Length": 482, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "MCSection", "*", "getExplicitSectionGlobal", "(", "const", "GlobalValue", "*", "GV", ",", "SectionKind", "Kind", ",", "Mangler", "*", "Mang", ",", "const", "TargetMachine", "&", "TM", ")", "const", "{", "return", "DataSection", ";", "}", ""], "natrual_language": ["Targets", "should", "implement", "this", "method", "to", "assign", "a", "section", "to", "globals", "with", "an", "explicit", "section", "specfied", "."], "TS_V_token": ["Z80"], "File": "Z80TargetObjectFile", "Func": "getExplicitSectionGlobal", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 799, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsRegisterBankInfo", "::", "applyMappingImpl", "(", "const", "OperandsMapper", "&", "OpdMapper", ")", "const", "{", "MachineInstr", "&", "MI", "=", "OpdMapper", ".", "getMI", "(", ")", ";", "InstListTy", "NewInstrs", ";", "MachineIRBuilder", "B", "(", "MI", ")", ";", "MachineFunction", "*", "MF", "=", "MI", ".", "getMF", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "OpdMapper", ".", "getMRI", "(", ")", ";", "InstManager", "NewInstrObserver", "(", "NewInstrs", ")", ";", "GISelObserverWrapper", "WrapperObserver", "(", "&", "NewInstrObserver", ")", ";", "LegalizerHelper", "Helper", "(", "*", "MF", ",", "WrapperObserver", ",", "B", ")", ";", "LegalizationArtifactCombiner", "ArtCombiner", "(", "B", ",", "MF", "->", "getRegInfo", "(", ")", ",", "*", "MF", "->", "getSubtarget", "(", ")", ".", "getLegalizerInfo", "(", ")", ")", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "TargetOpcode", "::", "G_LOAD", ":", "case", "TargetOpcode", "::", "G_STORE", ":", "case", "TargetOpcode", "::", "G_PHI", ":", "case", "TargetOpcode", "::", "G_SELECT", ":", "case", "TargetOpcode", "::", "G_IMPLICIT_DEF", ":", "{", "Helper", ".", "narrowScalar", "(", "MI", ",", "0", ",", "LLT", "::", "scalar", "(", "32", ")", ")", ";", "while", "(", "!", "NewInstrs", ".", "empty", "(", ")", ")", "{", "MachineInstr", "*", "NewMI", "=", "NewInstrs", ".", "pop_back_val", "(", ")", ";", "if", "(", "NewMI", "->", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "G_UNMERGE_VALUES", ")", "{", "SmallVector", "<", "MachineInstr", "*", ",", "2", ">", "DeadInstrs", ";", "ArtCombiner", ".", "tryCombineMerges", "(", "*", "NewMI", ",", "DeadInstrs", ")", ";", "for", "(", "MachineInstr", "*", "DeadMI", ":", "DeadInstrs", ")", "DeadMI", "->", "eraseFromParent", "(", ")", ";", "}", "else", "if", "(", "NewMI", "->", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "G_MERGE_VALUES", ")", "continue", ";", "else", "for", "(", "auto", "Op", ":", "NewMI", "->", "operands", "(", ")", ")", "{", "if", "(", "Op", ".", "isReg", "(", ")", ")", "{", "assert", "(", "MRI", ".", "getType", "(", "Op", ".", "getReg", "(", ")", ")", ".", "getSizeInBits", "(", ")", "==", "32", "&&", "\"Only 32 bit gprb is handled here.\\n\"", ")", ";", "MRI", ".", "setRegBank", "(", "Op", ".", "getReg", "(", ")", ",", "getRegBank", "(", "Mips", "::", "GPRBRegBankID", ")", ")", ";", "}", "}", "}", "return", ";", "}", "case", "TargetOpcode", "::", "G_UNMERGE_VALUES", ":", "{", "SmallVector", "<", "MachineInstr", "*", ",", "2", ">", "DeadInstrs", ";", "ArtCombiner", ".", "tryCombineMerges", "(", "MI", ",", "DeadInstrs", ")", ";", "for", "(", "MachineInstr", "*", "DeadMI", ":", "DeadInstrs", ")", "DeadMI", "->", "eraseFromParent", "(", ")", ";", "return", ";", "}", "default", ":", "break", ";", "}", "return", "applyDefaultMapping", "(", "OpdMapper", ")", ";", "}", ""], "natrual_language": ["See", "RegisterBankInfo", ":", ":applyMapping", "."], "TS_V_token": ["Mips", "Mips", "0", "32", "2", "32", "\"Only 32 bit gprb is handled here.\\n\"", "Mips::GPRBRegBankID", "2"], "File": "MipsRegisterBankInfo36", "Func": "applyMappingImpl", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 800, "Length": 352, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_compare_version_priority", "(", "tree", "decl1", ",", "tree", "decl2", ")", "{", "unsigned", "int", "priority1", "=", "get_builtin_code_for_version", "(", "decl1", ",", "NULL", ")", ";", "unsigned", "int", "priority2", "=", "get_builtin_code_for_version", "(", "decl2", ",", "NULL", ")", ";", "return", "(", "int", ")", "priority1", "-", "(", "int", ")", "priority2", ";", "}", ""], "natrual_language": ["This", "compares", "the", "priority", "of", "target", "features", "in", "function", "DECL1", "and", "DECL2", ".", "It", "returns", "positive", "value", "if", "DECL1", "is", "higher", "priority", ",", "negative", "value", "if", "DECL2", "is", "higher", "priority", "and", "0", "if", "they", "are", "the", "same", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "ix86_compare_version_priority", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 801, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumberOfRegisters", "(", "bool", "Vector", ")", "const", "{", "if", "(", "Vector", ")", "{", "if", "(", "ST", "->", "hasNEON", "(", ")", ")", "return", "32", ";", "return", "0", ";", "}", "return", "32", ";", "}", ""], "natrual_language": ["\ufffd", "?", "Vector", "TTI", "begin", "\ufffd", "?"], "TS_V_token": ["AArch64", "32", "0", "32"], "File": "AArch64TargetTransformInfo19", "Func": "getNumberOfRegisters", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 802, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "MCInst", "&", "Res", ")", "const", "LLVM_OVERRIDE", "{", "llvm_unreachable", "(", "\"SystemZ does do not have assembler relaxation\"", ")", ";", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["SystemZ", "\"SystemZ does do not have assembler relaxation\""], "File": "SystemZMCAsmBackend29", "Func": "relaxInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 803, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64RegisterInfo", "::", "needsFrameBaseReg", "(", "MachineInstr", "*", "MI", ",", "int64_t", "Offset", ")", "const", "{", "for", "(", "unsigned", "i", "=", "0", ";", "!", "MI", "->", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ";", "++", "i", ")", "assert", "(", "i", "<", "MI", "->", "getNumOperands", "(", ")", "&&", "\"Instr doesn't have FrameIndex operand!\"", ")", ";", "if", "(", "!", "MI", "->", "mayLoad", "(", ")", "&&", "!", "MI", "->", "mayStore", "(", ")", ")", "return", "false", ";", "MachineFunction", "&", "MF", "=", "*", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "AArch64FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "int64_t", "FPOffset", "=", "Offset", "-", "16", "*", "20", ";", "Offset", "+=", "MFI", ".", "getLocalFrameSize", "(", ")", ";", "Offset", "+=", "128", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", "&&", "isFrameOffsetLegal", "(", "MI", ",", "AArch64", "::", "FP", ",", "FPOffset", ")", ")", "return", "false", ";", "if", "(", "isFrameOffsetLegal", "(", "MI", ",", "AArch64", "::", "SP", ",", "Offset", ")", ")", "return", "false", ";", "if", "(", "!", "isFrameOffsetLegal", "(", "MI", ",", "AArch64", "::", "SP", ",", "0", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "instruction", "'s", "frame", "index", "reference", "would", "be", "better", "served", "by", "a", "base", "register", "other", "than", "FP", "or", "SP", "."], "TS_V_token": ["AArch64", "AArch64", "0", "\"Instr doesn't have FrameIndex operand!\"", "AArch64", "16", "20", "128", "AArch64::FP", "AArch64::SP", "AArch64::SP", "0"], "File": "AArch64RegisterInfo12", "Func": "needsFrameBaseReg", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 804, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "unsigned", "*", "MSP430RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "static", "const", "unsigned", "CalleeSavedRegs", "[", "]", "=", "{", "MSP430", "::", "FPW", ",", "MSP430", "::", "R5W", ",", "MSP430", "::", "R6W", ",", "MSP430", "::", "R7W", ",", "MSP430", "::", "R8W", ",", "MSP430", "::", "R9W", ",", "MSP430", "::", "R10W", ",", "MSP430", "::", "R11W", ",", "0", "}", ";", "return", "CalleeSavedRegs", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["MSP430", "MSP430", "MSP430::FPW", "MSP430::R5W", "MSP430::R6W", "MSP430::R7W", "MSP430::R8W", "MSP430::R9W", "MSP430::R10W", "MSP430::R11W", "0"], "File": "MSP430RegisterInfo11", "Func": "getCalleeSavedRegs", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 805, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCInstrInfo", "::", "getInstSizeInBytes", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "Opcode", "==", "PPC", "::", "INLINEASM", ")", "{", "const", "MachineFunction", "*", "MF", "=", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "char", "*", "AsmStr", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getSymbolName", "(", ")", ";", "return", "getInlineAsmLength", "(", "AsmStr", ",", "*", "MF", "->", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", ")", ";", "}", "else", "if", "(", "Opcode", "==", "TargetOpcode", "::", "STACKMAP", ")", "{", "return", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "}", "else", "if", "(", "Opcode", "==", "TargetOpcode", "::", "PATCHPOINT", ")", "{", "PatchPointOpers", "Opers", "(", "&", "MI", ")", ";", "return", "Opers", ".", "getMetaOper", "(", "PatchPointOpers", "::", "NBytesPos", ")", ".", "getImm", "(", ")", ";", "}", "else", "{", "const", "MCInstrDesc", "&", "Desc", "=", "get", "(", "Opcode", ")", ";", "return", "Desc", ".", "getSize", "(", ")", ";", "}", "}", ""], "natrual_language": ["Returns", "the", "size", "in", "bytes", "of", "the", "specified", "MachineInstr", ",", "or", "~0U", "when", "this", "function", "is", "not", "implemented", "by", "a", "target", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::INLINEASM", "0", "1"], "File": "PPCInstrInfo100", "Func": "getInstSizeInBytes", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 806, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getGlobalBaseReg", "(", ")", "const", "{", "return", "GlobalBaseReg", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["MBlaze"], "File": "MBlazeMachineFunction1", "Func": "getGlobalBaseReg", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 807, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "OpenRISCRegisterInfo", "::", "getPointerRegClass", "(", "unsigned", "Kind", ")", "const", "{", "assert", "(", "0", "&&", "\"Unimplemented\"", ")", ";", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["OpenRISC", "OpenRISC", "0", "\"Unimplemented\""], "File": "OpenRISCRegisterInfo", "Func": "getPointerRegClass", "Target": "OpenRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 808, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "WebAssemblyTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "static_cast", "<", "WebAssemblyISD", "::", "NodeType", ">", "(", "Opcode", ")", ")", "{", "case", "WebAssemblyISD", "::", "FIRST_NUMBER", ":", "break", ";", "case", "WebAssemblyISD", "::", "NODE", ":", "\\", "return", "\"WebAssemblyISD::\"", "#", "NODE", ";", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["WebAssembly", "WebAssembly", "WebAssemblyISD::NodeType", "WebAssemblyISD::FIRST_NUMBER", "WebAssemblyISD::NODE", "\"WebAssemblyISD::\""], "File": "WebAssemblyISelLowering (2)1", "Func": "getTargetNodeName", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 809, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "unsigned", "int", "execute", "(", "function", "*", ")", "{", "func_fma_steering", "*", "fma_steering", "=", "new", "func_fma_steering", ";", "fma_steering", "->", "execute_fma_steering", "(", ")", ";", "delete", "fma_steering", ";", "return", "0", ";", "}", ""], "natrual_language": ["Main", "entry", "point", "for", "this", "pass", "."], "TS_V_token": ["aarch64", "0"], "File": "cortex-a57-fma-steering", "Func": "execute", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 810, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "arm_size_return_regs", "(", "void", ")", "{", "machine_mode", "mode", ";", "if", "(", "crtl", "->", "return_rtx", "!=", "0", ")", "mode", "=", "GET_MODE", "(", "crtl", "->", "return_rtx", ")", ";", "else", "mode", "=", "DECL_MODE", "(", "DECL_RESULT", "(", "current_function_decl", ")", ")", ";", "return", "GET_MODE_SIZE", "(", "mode", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "size", "of", "the", "return", "value", "that", "is", "passed", "in", "registers", "."], "TS_V_token": ["arm", "0"], "File": "arm", "Func": "arm_size_return_regs", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 811, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVGatherScatterLowering", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "skipFunction", "(", "F", ")", ")", "return", "false", ";", "auto", "&", "TPC", "=", "getAnalysis", "<", "TargetPassConfig", ">", "(", ")", ";", "auto", "&", "TM", "=", "TPC", ".", "getTM", "<", "RISCVTargetMachine", ">", "(", ")", ";", "ST", "=", "&", "TM", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", "F", ")", ";", "if", "(", "!", "ST", "->", "hasVInstructions", "(", ")", "||", "!", "ST", "->", "useRVVForFixedLengthVectors", "(", ")", ")", "return", "false", ";", "TLI", "=", "ST", "->", "getTargetLowering", "(", ")", ";", "DL", "=", "&", "F", ".", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ";", "LI", "=", "&", "getAnalysis", "<", "LoopInfoWrapperPass", ">", "(", ")", ".", "getLoopInfo", "(", ")", ";", "StridedAddrs", ".", "clear", "(", ")", ";", "SmallVector", "<", "IntrinsicInst", "*", ",", "4", ">", "Gathers", ";", "SmallVector", "<", "IntrinsicInst", "*", ",", "4", ">", "Scatters", ";", "bool", "Changed", "=", "false", ";", "for", "(", "BasicBlock", "&", "BB", ":", "F", ")", "{", "for", "(", "Instruction", "&", "I", ":", "BB", ")", "{", "IntrinsicInst", "*", "II", "=", "dyn_cast", "<", "IntrinsicInst", ">", "(", "&", "I", ")", ";", "if", "(", "II", "&&", "II", "->", "getIntrinsicID", "(", ")", "==", "Intrinsic", "::", "masked_gather", "&&", "isa", "<", "FixedVectorType", ">", "(", "II", "->", "getType", "(", ")", ")", ")", "{", "Gathers", ".", "push_back", "(", "II", ")", ";", "}", "else", "if", "(", "II", "&&", "II", "->", "getIntrinsicID", "(", ")", "==", "Intrinsic", "::", "masked_scatter", "&&", "isa", "<", "FixedVectorType", ">", "(", "II", "->", "getArgOperand", "(", "0", ")", "->", "getType", "(", ")", ")", ")", "{", "Scatters", ".", "push_back", "(", "II", ")", ";", "}", "}", "}", "for", "(", "auto", "*", "II", ":", "Gathers", ")", "Changed", "|=", "tryCreateStridedLoadStore", "(", "II", ",", "II", "->", "getType", "(", ")", ",", "II", "->", "getArgOperand", "(", "0", ")", ",", "II", "->", "getArgOperand", "(", "1", ")", ")", ";", "for", "(", "auto", "*", "II", ":", "Scatters", ")", "Changed", "|=", "tryCreateStridedLoadStore", "(", "II", ",", "II", "->", "getArgOperand", "(", "0", ")", "->", "getType", "(", ")", ",", "II", "->", "getArgOperand", "(", "1", ")", ",", "II", "->", "getArgOperand", "(", "2", ")", ")", ";", "while", "(", "!", "MaybeDeadPHIs", ".", "empty", "(", ")", ")", "{", "if", "(", "auto", "*", "Phi", "=", "dyn_cast_or_null", "<", "PHINode", ">", "(", "MaybeDeadPHIs", ".", "pop_back_val", "(", ")", ")", ")", "RecursivelyDeleteDeadPHINode", "(", "Phi", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "RISCV", "4", "4", "Intrinsic::masked_gather", "Intrinsic::masked_scatter", "0", "0", "1", "0", "1", "2"], "File": "RISCVGatherScatterLowering2", "Func": "runOnFunction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 812, "Length": 362, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_return_in_memory", "(", "const_tree", "type", ",", "const_tree", "fntype", "ATTRIBUTE_UNUSED", ")", "{", "const", "machine_mode", "mode", "=", "type_natural_mode", "(", "type", ",", "NULL", ",", "true", ")", ";", "HOST_WIDE_INT", "size", ";", "if", "(", "TARGET_64BIT", ")", "{", "if", "(", "ix86_function_type_abi", "(", "fntype", ")", "==", "MS_ABI", ")", "{", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "if", "(", "(", "!", "type", "||", "VECTOR_INTEGER_TYPE_P", "(", "type", ")", "||", "INTEGRAL_TYPE_P", "(", "type", ")", "||", "VECTOR_FLOAT_TYPE_P", "(", "type", ")", ")", "&&", "(", "SCALAR_INT_MODE_P", "(", "mode", ")", "||", "VECTOR_MODE_P", "(", "mode", ")", ")", "&&", "!", "COMPLEX_MODE_P", "(", "mode", ")", "&&", "(", "GET_MODE_SIZE", "(", "mode", ")", "==", "16", "||", "size", "==", "16", ")", ")", "return", "false", ";", "return", "size", "!=", "1", "&&", "size", "!=", "2", "&&", "size", "!=", "4", "&&", "size", "!=", "8", ";", "}", "else", "{", "int", "needed_intregs", ",", "needed_sseregs", ";", "return", "examine_argument", "(", "mode", ",", "type", ",", "1", ",", "&", "needed_intregs", ",", "&", "needed_sseregs", ")", ";", "}", "}", "else", "{", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "if", "(", "TARGET_IAMCU", ")", "return", "VECTOR_MODE_P", "(", "mode", ")", "||", "size", "<", "0", "||", "size", ">", "8", ";", "if", "(", "mode", "==", "BLKmode", ")", "return", "true", ";", "if", "(", "MS_AGGREGATE_RETURN", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", "&&", "size", "<=", "8", ")", "return", "false", ";", "if", "(", "VECTOR_MODE_P", "(", "mode", ")", "||", "mode", "==", "TImode", ")", "{", "if", "(", "size", "<", "8", ")", "return", "false", ";", "if", "(", "size", "==", "8", ")", "return", "TARGET_VECT8_RETURNS", "||", "!", "TARGET_MMX", ";", "if", "(", "size", "==", "16", ")", "return", "!", "TARGET_SSE", ";", "if", "(", "size", "==", "32", ")", "return", "!", "TARGET_AVX", ";", "if", "(", "size", "==", "64", ")", "return", "!", "TARGET_AVX512F", ";", "}", "if", "(", "mode", "==", "XFmode", ")", "return", "false", ";", "if", "(", "size", ">", "12", ")", "return", "true", ";", "gcc_assert", "(", "mode", "!=", "OImode", ")", ";", "return", "false", ";", "}", "}", ""], "natrual_language": ["Return", "false", "iff", "type", "is", "returned", "in", "memory", "."], "TS_V_token": ["i386", "16", "16", "1", "2", "4", "8", "1", "0", "8", "8", "8", "8", "16", "32", "64", "12"], "File": "i386", "Func": "ix86_return_in_memory", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 813, "Length": 295, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"SI Whole Quad Mode\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AMDGPU", "\"SI Whole Quad Mode\""], "File": "SIWholeQuadMode22", "Func": "getPassName", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 814, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "arm_barrier_cost", "(", "rtx", "insn", ")", "{", "int", "base_cost", "=", "50", ";", "rtx", "next", "=", "next_nonnote_insn", "(", "insn", ")", ";", "if", "(", "next", "!=", "NULL", "&&", "GET_CODE", "(", "next", ")", "==", "CODE_LABEL", ")", "base_cost", "-=", "20", ";", "switch", "(", "GET_CODE", "(", "insn", ")", ")", "{", "case", "CODE_LABEL", ":", "return", "50", ";", "case", "INSN", ":", "case", "CALL_INSN", ":", "return", "base_cost", ";", "case", "JUMP_INSN", ":", "return", "base_cost", "-", "10", ";", "default", ":", "return", "base_cost", "+", "10", ";", "}", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "forcibly", "inserting", "a", "barrier", "after", "INSN", "."], "TS_V_token": ["arm", "50", "20", "50", "10", "10"], "File": "arm3", "Func": "arm_barrier_cost", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 815, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesAll", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["WebAssembly"], "File": "Relooper3", "Func": "getAnalysisUsage", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 816, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "bool", "Res", "=", "false", ";", "const", "MCInst", "*", "NewMI", "=", "MI", ";", "MCInst", "UncompressedMI", ";", "if", "(", "!", "NoAliases", ")", "Res", "=", "uncompressInst", "(", "UncompressedMI", ",", "*", "MI", ",", "MRI", ",", "STI", ")", ";", "if", "(", "Res", ")", "NewMI", "=", "const_cast", "<", "MCInst", "*", ">", "(", "&", "UncompressedMI", ")", ";", "if", "(", "NoAliases", "||", "!", "printAliasInstr", "(", "NewMI", ",", "STI", ",", "O", ")", ")", "printInstruction", "(", "NewMI", ",", "STI", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVInstPrinter2", "Func": "printInst", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 817, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_use_sched_lookahead", "(", "void", ")", "{", "switch", "(", "rs6000_cpu_attr", ")", "{", "case", "CPU_PPC8540", ":", "case", "CPU_PPC8548", ":", "return", "4", ";", "case", "CPU_CELL", ":", "return", "(", "reload_completed", "?", "8", ":", "0", ")", ";", "default", ":", "return", "0", ";", "}", "}", ""], "natrual_language": ["Return", "how", "many", "instructions", "to", "look", "ahead", "for", "better", "insn", "scheduling", "."], "TS_V_token": ["powerpcspe", "4", "8", "0", "0"], "File": "powerpcspe", "Func": "rs6000_use_sched_lookahead", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 818, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "find_gr_spill", "(", "enum", "ia64_frame_regs", "r", ",", "int", "try_locals", ")", "{", "int", "regno", ";", "if", "(", "emitted_frame_related_regs", "[", "r", "]", "!=", "0", ")", "{", "regno", "=", "emitted_frame_related_regs", "[", "r", "]", ";", "if", "(", "regno", ">=", "LOC_REG", "(", "0", ")", "&&", "regno", "<", "LOC_REG", "(", "80", "-", "frame_pointer_needed", ")", "&&", "current_frame_info", ".", "n_local_regs", "<", "regno", "-", "LOC_REG", "(", "0", ")", "+", "1", ")", "current_frame_info", ".", "n_local_regs", "=", "regno", "-", "LOC_REG", "(", "0", ")", "+", "1", ";", "else", "if", "(", "crtl", "->", "is_leaf", "&&", "regno", ">=", "GR_REG", "(", "1", ")", "&&", "regno", "<=", "GR_REG", "(", "31", ")", ")", "current_frame_info", ".", "gr_used_mask", "|=", "1", "<<", "regno", ";", "return", "regno", ";", "}", "if", "(", "crtl", "->", "is_leaf", ")", "{", "for", "(", "regno", "=", "GR_REG", "(", "1", ")", ";", "regno", "<=", "GR_REG", "(", "31", ")", ";", "regno", "++", ")", "if", "(", "!", "df_regs_ever_live_p", "(", "regno", ")", "&&", "call_used_regs", "[", "regno", "]", "&&", "!", "fixed_regs", "[", "regno", "]", "&&", "!", "global_regs", "[", "regno", "]", "&&", "(", "(", "current_frame_info", ".", "gr_used_mask", ">>", "regno", ")", "&", "1", ")", "==", "0", "&&", "!", "is_emitted", "(", "regno", ")", ")", "{", "current_frame_info", ".", "gr_used_mask", "|=", "1", "<<", "regno", ";", "return", "regno", ";", "}", "}", "if", "(", "try_locals", ")", "{", "regno", "=", "current_frame_info", ".", "n_local_regs", ";", "while", "(", "regno", "<", "(", "80", "-", "frame_pointer_needed", ")", ")", "if", "(", "!", "is_emitted", "(", "LOC_REG", "(", "regno", "++", ")", ")", ")", "{", "current_frame_info", ".", "n_local_regs", "=", "regno", ";", "return", "LOC_REG", "(", "regno", "-", "1", ")", ";", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "ia64_compute_frame_size", ":", "find", "an", "appropriate", "general", "register", "to", "spill", "some", "special", "register", "to", ".", "SPECIAL_SPILL_MASK", "contains", "bits", "in", "GR0", "to", "GR31", "that", "have", "already", "been", "allocated", "by", "this", "routine", ".", "TRY_LOCALS", "is", "true", "if", "we", "should", "attempt", "to", "locate", "a", "local", "regnum", "."], "TS_V_token": ["ia64", "0", "0", "80", "0", "1", "0", "1", "1", "31", "1", "1", "31", "1", "0", "1", "80", "1", "0"], "File": "ia644", "Func": "find_gr_spill", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 819, "Length": 248, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64AsmPrinter", "::", "emitStartOfAsmFile", "(", "Module", "&", "M", ")", "{", "const", "Triple", "&", "TT", "=", "TM", ".", "getTargetTriple", "(", ")", ";", "if", "(", "TT", ".", "isOSBinFormatCOFF", "(", ")", ")", "{", "MCSymbol", "*", "S", "=", "MMI", "->", "getContext", "(", ")", ".", "getOrCreateSymbol", "(", "StringRef", "(", "\"@feat.00\"", ")", ")", ";", "OutStreamer", "->", "BeginCOFFSymbolDef", "(", "S", ")", ";", "OutStreamer", "->", "emitCOFFSymbolStorageClass", "(", "COFF", "::", "IMAGE_SYM_CLASS_STATIC", ")", ";", "OutStreamer", "->", "emitCOFFSymbolType", "(", "COFF", "::", "IMAGE_SYM_DTYPE_NULL", ")", ";", "OutStreamer", "->", "EndCOFFSymbolDef", "(", ")", ";", "int64_t", "Feat00Flags", "=", "0", ";", "if", "(", "M", ".", "getModuleFlag", "(", "\"cfguard\"", ")", ")", "{", "Feat00Flags", "|=", "0x800", ";", "}", "if", "(", "M", ".", "getModuleFlag", "(", "\"ehcontguard\"", ")", ")", "{", "Feat00Flags", "|=", "0x4000", ";", "}", "OutStreamer", "->", "emitSymbolAttribute", "(", "S", ",", "MCSA_Global", ")", ";", "OutStreamer", "->", "emitAssignment", "(", "S", ",", "MCConstantExpr", "::", "create", "(", "Feat00Flags", ",", "MMI", "->", "getContext", "(", ")", ")", ")", ";", "}", "if", "(", "!", "TT", ".", "isOSBinFormatELF", "(", ")", ")", "return", ";", "unsigned", "Flags", "=", "0", ";", "if", "(", "const", "auto", "*", "BTE", "=", "mdconst", "::", "extract_or_null", "<", "ConstantInt", ">", "(", "M", ".", "getModuleFlag", "(", "\"branch-target-enforcement\"", ")", ")", ")", "if", "(", "BTE", "->", "getZExtValue", "(", ")", ")", "Flags", "|=", "ELF", "::", "GNU_PROPERTY_AARCH64_FEATURE_1_BTI", ";", "if", "(", "const", "auto", "*", "Sign", "=", "mdconst", "::", "extract_or_null", "<", "ConstantInt", ">", "(", "M", ".", "getModuleFlag", "(", "\"sign-return-address\"", ")", ")", ")", "if", "(", "Sign", "->", "getZExtValue", "(", ")", ")", "Flags", "|=", "ELF", "::", "GNU_PROPERTY_AARCH64_FEATURE_1_PAC", ";", "if", "(", "Flags", "==", "0", ")", "return", ";", "if", "(", "auto", "*", "TS", "=", "static_cast", "<", "AArch64TargetStreamer", "*", ">", "(", "OutStreamer", "->", "getTargetStreamer", "(", ")", ")", ")", "TS", "->", "emitNoteSection", "(", "Flags", ")", ";", "}", ""], "natrual_language": ["This", "virtual", "method", "can", "be", "overridden", "by", "targets", "that", "want", "to", "emit", "something", "at", "the", "start", "of", "their", "file", "."], "TS_V_token": ["AArch64", "AArch64", "\"@feat.00\"", "0", "\"cfguard\"", "0x800", "\"ehcontguard\"", "0x4000", "0", "\"branch-target-enforcement\"", "\"sign-return-address\"", "0", "AArch64"], "File": "AArch64AsmPrinter34", "Func": "emitStartOfAsmFile", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 820, "Length": 267, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "PTXDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "return", "SelectCode", "(", "Node", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["PTX", "PTX"], "File": "PTXISelDAGToDAG2", "Func": "Select", "Target": "PTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 821, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "MipsTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "case", "MipsISD", "::", "JmpLink", ":", "return", "\"MipsISD::JmpLink\"", ";", "case", "MipsISD", "::", "Hi", ":", "return", "\"MipsISD::Hi\"", ";", "case", "MipsISD", "::", "Lo", ":", "return", "\"MipsISD::Lo\"", ";", "case", "MipsISD", "::", "GPRel", ":", "return", "\"MipsISD::GPRel\"", ";", "case", "MipsISD", "::", "TlsGd", ":", "return", "\"MipsISD::TlsGd\"", ";", "case", "MipsISD", "::", "TprelHi", ":", "return", "\"MipsISD::TprelHi\"", ";", "case", "MipsISD", "::", "TprelLo", ":", "return", "\"MipsISD::TprelLo\"", ";", "case", "MipsISD", "::", "ThreadPointer", ":", "return", "\"MipsISD::ThreadPointer\"", ";", "case", "MipsISD", "::", "Ret", ":", "return", "\"MipsISD::Ret\"", ";", "case", "MipsISD", "::", "FPBrcond", ":", "return", "\"MipsISD::FPBrcond\"", ";", "case", "MipsISD", "::", "FPCmp", ":", "return", "\"MipsISD::FPCmp\"", ";", "case", "MipsISD", "::", "CMovFP_T", ":", "return", "\"MipsISD::CMovFP_T\"", ";", "case", "MipsISD", "::", "CMovFP_F", ":", "return", "\"MipsISD::CMovFP_F\"", ";", "case", "MipsISD", "::", "FPRound", ":", "return", "\"MipsISD::FPRound\"", ";", "case", "MipsISD", "::", "MAdd", ":", "return", "\"MipsISD::MAdd\"", ";", "case", "MipsISD", "::", "MAddu", ":", "return", "\"MipsISD::MAddu\"", ";", "case", "MipsISD", "::", "MSub", ":", "return", "\"MipsISD::MSub\"", ";", "case", "MipsISD", "::", "MSubu", ":", "return", "\"MipsISD::MSubu\"", ";", "case", "MipsISD", "::", "DivRem", ":", "return", "\"MipsISD::DivRem\"", ";", "case", "MipsISD", "::", "DivRemU", ":", "return", "\"MipsISD::DivRemU\"", ";", "case", "MipsISD", "::", "BuildPairF64", ":", "return", "\"MipsISD::BuildPairF64\"", ";", "case", "MipsISD", "::", "ExtractElementF64", ":", "return", "\"MipsISD::ExtractElementF64\"", ";", "case", "MipsISD", "::", "WrapperPIC", ":", "return", "\"MipsISD::WrapperPIC\"", ";", "case", "MipsISD", "::", "DynAlloc", ":", "return", "\"MipsISD::DynAlloc\"", ";", "case", "MipsISD", "::", "Sync", ":", "return", "\"MipsISD::Sync\"", ";", "case", "MipsISD", "::", "Ext", ":", "return", "\"MipsISD::Ext\"", ";", "case", "MipsISD", "::", "Ins", ":", "return", "\"MipsISD::Ins\"", ";", "default", ":", "return", "NULL", ";", "}", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["Mips", "Mips", "MipsISD::JmpLink", "\"MipsISD::JmpLink\"", "MipsISD::Hi", "\"MipsISD::Hi\"", "MipsISD::Lo", "\"MipsISD::Lo\"", "MipsISD::GPRel", "\"MipsISD::GPRel\"", "MipsISD::TlsGd", "\"MipsISD::TlsGd\"", "MipsISD::TprelHi", "\"MipsISD::TprelHi\"", "MipsISD::TprelLo", "\"MipsISD::TprelLo\"", "MipsISD::ThreadPointer", "\"MipsISD::ThreadPointer\"", "MipsISD::Ret", "\"MipsISD::Ret\"", "MipsISD::FPBrcond", "\"MipsISD::FPBrcond\"", "MipsISD::FPCmp", "\"MipsISD::FPCmp\"", "MipsISD::CMovFP_T", "\"MipsISD::CMovFP_T\"", "MipsISD::CMovFP_F", "\"MipsISD::CMovFP_F\"", "MipsISD::FPRound", "\"MipsISD::FPRound\"", "MipsISD::MAdd", "\"MipsISD::MAdd\"", "MipsISD::MAddu", "\"MipsISD::MAddu\"", "MipsISD::MSub", "\"MipsISD::MSub\"", "MipsISD::MSubu", "\"MipsISD::MSubu\"", "MipsISD::DivRem", "\"MipsISD::DivRem\"", "MipsISD::DivRemU", "\"MipsISD::DivRemU\"", "MipsISD::BuildPairF64", "\"MipsISD::BuildPairF64\"", "MipsISD::ExtractElementF64", "\"MipsISD::ExtractElementF64\"", "MipsISD::WrapperPIC", "\"MipsISD::WrapperPIC\"", "MipsISD::DynAlloc", "\"MipsISD::DynAlloc\"", "MipsISD::Sync", "\"MipsISD::Sync\"", "MipsISD::Ext", "\"MipsISD::Ext\"", "MipsISD::Ins", "\"MipsISD::Ins\""], "File": "MipsISelLowering109", "Func": "getTargetNodeName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 822, "Length": 240, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "const", "TargetRegisterInfo", "*", "RI", "=", "TM", ".", "getRegisterInfo", "(", ")", ";", "return", "(", "DisableFramePointerElim", "(", "MF", ")", "||", "RI", "->", "needsStackRealignment", "(", "MF", ")", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", "||", "MFI", "->", "isFrameAddressTaken", "(", ")", "||", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "getForceFramePointer", "(", ")", "||", "MMI", ".", "callsUnwindInit", "(", ")", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86FrameLowering113", "Func": "hasFP", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 823, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sh_emit_scc_to_t", "(", "enum", "rtx_code", "code", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "rtx", "t_reg", "=", "get_t_reg_rtx", "(", ")", ";", "enum", "rtx_code", "oldcode", "=", "code", ";", "machine_mode", "mode", ";", "switch", "(", "code", ")", "{", "case", "NE", ":", "gcc_unreachable", "(", ")", ";", "case", "LT", ":", "code", "=", "GT", ";", "break", ";", "case", "LE", ":", "code", "=", "GE", ";", "break", ";", "case", "LTU", ":", "code", "=", "GTU", ";", "break", ";", "case", "LEU", ":", "code", "=", "GEU", ";", "break", ";", "default", ":", "break", ";", "}", "if", "(", "code", "!=", "oldcode", ")", "std", "::", "swap", "(", "op0", ",", "op1", ")", ";", "mode", "=", "GET_MODE", "(", "op0", ")", ";", "if", "(", "mode", "==", "VOIDmode", ")", "mode", "=", "GET_MODE", "(", "op1", ")", ";", "op0", "=", "force_reg", "(", "mode", ",", "op0", ")", ";", "if", "(", "(", "code", "!=", "EQ", "&&", "code", "!=", "NE", "&&", "(", "op1", "!=", "const0_rtx", "||", "code", "==", "GTU", "||", "code", "==", "GEU", "||", "code", "==", "LTU", "||", "code", "==", "LEU", ")", ")", "||", "(", "mode", "==", "DImode", "&&", "op1", "!=", "const0_rtx", ")", "||", "(", "TARGET_SH2E", "&&", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", ")", ")", "op1", "=", "force_reg", "(", "mode", ",", "op1", ")", ";", "sh_emit_set_t_insn", "(", "gen_rtx_SET", "(", "t_reg", ",", "gen_rtx_fmt_ee", "(", "code", ",", "SImode", ",", "op0", ",", "op1", ")", ")", ",", "mode", ")", ";", "}", ""], "natrual_language": ["Prepare", "the", "operands", "for", "an", "scc", "instruction", ";", "make", "sure", "that", "the", "compare", "has", "been", "done", "and", "the", "result", "is", "in", "T_REG", "."], "TS_V_token": ["sh"], "File": "sh5", "Func": "sh_emit_scc_to_t", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 824, "Length": 213, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "setupMF", "(", "MachineFunction", "&", "MF", ",", "GISelKnownBits", "&", "KB", ",", "CodeGenCoverage", "&", "CoverageInfo", ")", "override", "{", "InstructionSelector", "::", "setupMF", "(", "MF", ",", "KB", ",", "CoverageInfo", ")", ";", "ProduceNonFlagSettingCondBr", "=", "!", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "Attribute", "::", "SpeculativeLoadHardening", ")", ";", "MFReturnAddr", "=", "Register", "(", ")", ";", "processPHIs", "(", "MF", ")", ";", "}", ""], "natrual_language": ["Setup", "per-MF", "executor", "state", "."], "TS_V_token": ["AArch64"], "File": "AArch64InstructionSelector10", "Func": "setupMF", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 825, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "NVPTXTargetStreamer", "::", "changeSection", "(", "const", "MCSection", "*", "CurSection", ",", "MCSection", "*", "Section", ",", "const", "MCExpr", "*", "SubSection", ",", "raw_ostream", "&", "OS", ")", "{", "assert", "(", "!", "SubSection", "&&", "\"SubSection is not null!\"", ")", ";", "const", "MCObjectFileInfo", "*", "FI", "=", "getStreamer", "(", ")", ".", "getContext", "(", ")", ".", "getObjectFileInfo", "(", ")", ";", "if", "(", "isDwarfSection", "(", "FI", ",", "CurSection", ")", ")", "OS", "<<", "\"//\\t}\\n\"", ";", "if", "(", "isDwarfSection", "(", "FI", ",", "Section", ")", ")", "{", "outputDwarfFileDirectives", "(", ")", ";", "OS", "<<", "\"//\\t.section\"", ";", "Section", "->", "PrintSwitchToSection", "(", "*", "getStreamer", "(", ")", ".", "getContext", "(", ")", ".", "getAsmInfo", "(", ")", ",", "FI", "->", "getTargetTriple", "(", ")", ",", "OS", ",", "SubSection", ")", ";", "OS", "<<", "\"//\\t{\\n\"", ";", "}", "}", ""], "natrual_language": ["Update", "streamer", "for", "a", "new", "active", "section", "."], "TS_V_token": ["NVPTX", "NVPTX", "\"SubSection is not null!\"", "\"//\\t}\\n\"", "\"//\\t.section\"", "\"//\\t{\\n\""], "File": "NVPTXTargetStreamer (2)", "Func": "changeSection", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 826, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MandarinTargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InFlag", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "SDLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "AnalyzeReturnValues", "(", "CCInfo", ",", "RVLocs", ",", "Ins", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ",", "RVLocs", "[", "i", "]", ".", "getValVT", "(", ")", ",", "InFlag", ")", ".", "getValue", "(", "1", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "2", ")", ";", "InVals", ".", "push_back", "(", "Chain", ".", "getValue", "(", "0", ")", ")", ";", "}", "return", "Chain", ";", "}", ""], "natrual_language": ["LowerCallResult", "-", "Lower", "the", "result", "values", "of", "an", "ISD", ":", ":CALL", "into", "the", "appropriate", "copies", "out", "of", "appropriate", "physical", "registers", "."], "TS_V_token": ["Mandarin", "ISD::InputArg", "16", "0", "1", "2", "0"], "File": "MandarinISelLowering", "Func": "LowerCallResult", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 827, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "cygwin_d_handle_target_object_format", "(", "void", ")", "{", "const", "char", "*", "objfmt", "=", "\"coff\"", ";", "return", "build_string_literal", "(", "strlen", "(", "objfmt", ")", "+", "1", ",", "objfmt", ")", ";", "}", ""], "natrual_language": ["Handle", "a", "call", "to", "`", "__traits", "(", "getTargetInfo", ",", "``", "objectFormat", "''", ")", "'", "."], "TS_V_token": ["i386", "\"coff\"", "1"], "File": "cygwin-d", "Func": "cygwin_d_handle_target_object_format", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 828, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_encode_call_attribute", "(", "tree", "decl", ",", "int", "flag", ")", "{", "const", "char", "*", "str", "=", "XSTR", "(", "XEXP", "(", "DECL_RTL", "(", "decl", ")", ",", "0", ")", ",", "0", ")", ";", "int", "len", "=", "strlen", "(", "str", ")", ";", "char", "*", "newstr", ";", "if", "(", "DECL_WEAK", "(", "decl", ")", "&&", "flag", "==", "SHORT_CALL_FLAG_CHAR", ")", "return", ";", "newstr", "=", "alloca", "(", "len", "+", "2", ")", ";", "newstr", "[", "0", "]", "=", "flag", ";", "strcpy", "(", "newstr", "+", "1", ",", "str", ")", ";", "newstr", "=", "(", "char", "*", ")", "ggc_alloc_string", "(", "newstr", ",", "len", "+", "1", ")", ";", "XSTR", "(", "XEXP", "(", "DECL_RTL", "(", "decl", ")", ",", "0", ")", ",", "0", ")", "=", "newstr", ";", "}", ""], "natrual_language": ["Encode", "long_call", "or", "short_call", "attribute", "by", "prefixing", "symbol", "name", "in", "DECL", "with", "a", "special", "character", "FLAG", "."], "TS_V_token": ["arm", "0", "0", "2", "0", "1", "1", "0", "0"], "File": "arm3", "Func": "arm_encode_call_attribute", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 829, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"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": 830, "Length": 179, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64AsmParser", "::", "validateTargetOperandClass", "(", "MCParsedAsmOperand", "&", "AsmOp", ",", "unsigned", "Kind", ")", "{", "AArch64Operand", "&", "Op", "=", "static_cast", "<", "AArch64Operand", "&", ">", "(", "AsmOp", ")", ";", "int64_t", "ExpectedVal", ";", "switch", "(", "Kind", ")", "{", "default", ":", "return", "Match_InvalidOperand", ";", "case", "MCK__35_0", ":", "ExpectedVal", "=", "0", ";", "break", ";", "case", "MCK__35_1", ":", "ExpectedVal", "=", "1", ";", "break", ";", "case", "MCK__35_12", ":", "ExpectedVal", "=", "12", ";", "break", ";", "case", "MCK__35_16", ":", "ExpectedVal", "=", "16", ";", "break", ";", "case", "MCK__35_2", ":", "ExpectedVal", "=", "2", ";", "break", ";", "case", "MCK__35_24", ":", "ExpectedVal", "=", "24", ";", "break", ";", "case", "MCK__35_3", ":", "ExpectedVal", "=", "3", ";", "break", ";", "case", "MCK__35_32", ":", "ExpectedVal", "=", "32", ";", "break", ";", "case", "MCK__35_4", ":", "ExpectedVal", "=", "4", ";", "break", ";", "case", "MCK__35_48", ":", "ExpectedVal", "=", "48", ";", "break", ";", "case", "MCK__35_6", ":", "ExpectedVal", "=", "6", ";", "break", ";", "case", "MCK__35_64", ":", "ExpectedVal", "=", "64", ";", "break", ";", "case", "MCK__35_8", ":", "ExpectedVal", "=", "8", ";", "break", ";", "}", "if", "(", "!", "Op", ".", "isImm", "(", ")", ")", "return", "Match_InvalidOperand", ";", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Op", ".", "getImm", "(", ")", ")", ";", "if", "(", "!", "CE", ")", "return", "Match_InvalidOperand", ";", "if", "(", "CE", "->", "getValue", "(", ")", "==", "ExpectedVal", ")", "return", "Match_Success", ";", "return", "Match_InvalidOperand", ";", "}", ""], "natrual_language": ["Allow", "a", "target", "to", "add", "special", "case", "operand", "matching", "for", "things", "that", "tblgen", "doesn't/ca", "n't", "handle", "effectively", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "0", "1", "12", "16", "2", "24", "3", "32", "4", "48", "6", "64", "8"], "File": "AArch64AsmParser (2)1", "Func": "validateTargetOperandClass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 831, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_emit_epilogue_components", "(", "sbitmap", "components", ")", "{", "rs6000_stack_t", "*", "info", "=", "rs6000_stack_info", "(", ")", ";", "rtx", "ptr_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "frame_pointer_needed", "?", "HARD_FRAME_POINTER_REGNUM", ":", "STACK_POINTER_REGNUM", ")", ";", "machine_mode", "reg_mode", "=", "Pmode", ";", "int", "reg_size", "=", "TARGET_32BIT", "?", "4", ":", "8", ";", "machine_mode", "fp_reg_mode", "=", "TARGET_HARD_FLOAT", "?", "DFmode", ":", "SFmode", ";", "int", "fp_reg_size", "=", "8", ";", "int", "offset", "=", "info", "->", "fp_save_offset", ";", "if", "(", "info", "->", "push_p", ")", "offset", "+=", "info", "->", "total_size", ";", "for", "(", "int", "i", "=", "info", "->", "first_fp_reg_save", ";", "i", "<", "64", ";", "i", "++", ")", "{", "if", "(", "bitmap_bit_p", "(", "components", ",", "i", ")", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "fp_reg_mode", ",", "i", ")", ";", "rtx_insn", "*", "insn", "=", "emit_insn", "(", "gen_frame_load", "(", "reg", ",", "ptr_reg", ",", "offset", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_RESTORE", ",", "reg", ")", ";", "}", "offset", "+=", "fp_reg_size", ";", "}", "offset", "=", "info", "->", "gp_save_offset", ";", "if", "(", "info", "->", "push_p", ")", "offset", "+=", "info", "->", "total_size", ";", "for", "(", "int", "i", "=", "info", "->", "first_gp_reg_save", ";", "i", "<", "32", ";", "i", "++", ")", "{", "if", "(", "bitmap_bit_p", "(", "components", ",", "i", ")", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "reg_mode", ",", "i", ")", ";", "rtx_insn", "*", "insn", "=", "emit_insn", "(", "gen_frame_load", "(", "reg", ",", "ptr_reg", ",", "offset", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_RESTORE", ",", "reg", ")", ";", "}", "offset", "+=", "reg_size", ";", "}", "if", "(", "bitmap_bit_p", "(", "components", ",", "0", ")", ")", "{", "int", "offset", "=", "info", "->", "lr_save_offset", ";", "if", "(", "info", "->", "push_p", ")", "offset", "+=", "info", "->", "total_size", ";", "rtx", "reg", "=", "gen_rtx_REG", "(", "reg_mode", ",", "0", ")", ";", "rtx_insn", "*", "insn", "=", "emit_insn", "(", "gen_frame_load", "(", "reg", ",", "ptr_reg", ",", "offset", ")", ")", ";", "rtx", "lr", "=", "gen_rtx_REG", "(", "Pmode", ",", "LR_REGNO", ")", ";", "insn", "=", "emit_move_insn", "(", "lr", ",", "reg", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_RESTORE", ",", "lr", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_SHRINK_WRAP_EMIT_EPILOGUE_COMPONENTS", "."], "TS_V_token": ["rs6000", "4", "8", "8", "64", "1", "32", "1", "0", "0", "1"], "File": "rs60008", "Func": "rs6000_emit_epilogue_components", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 832, "Length": 337, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "X86RegisterInfo", "::", "getPointerRegClass", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Kind", ")", "const", "{", "const", "X86Subtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "switch", "(", "Kind", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected Kind in getPointerRegClass!\"", ")", ";", "case", "0", ":", "if", "(", "Subtarget", ".", "isTarget64BitLP64", "(", ")", ")", "return", "&", "X86", "::", "GR64RegClass", ";", "return", "&", "X86", "::", "GR32RegClass", ";", "case", "1", ":", "if", "(", "Subtarget", ".", "isTarget64BitLP64", "(", ")", ")", "return", "&", "X86", "::", "GR64_NOSPRegClass", ";", "return", "&", "X86", "::", "GR32_NOSPRegClass", ";", "case", "2", ":", "if", "(", "Subtarget", ".", "isTarget64BitLP64", "(", ")", ")", "return", "&", "X86", "::", "GR64_NOREXRegClass", ";", "return", "&", "X86", "::", "GR32_NOREXRegClass", ";", "case", "3", ":", "if", "(", "Subtarget", ".", "isTarget64BitLP64", "(", ")", ")", "return", "&", "X86", "::", "GR64_NOREX_NOSPRegClass", ";", "return", "&", "X86", "::", "GR32_NOREX_NOSPRegClass", ";", "case", "4", ":", "return", "getGPRsForTailCall", "(", "MF", ")", ";", "}", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "\"Unexpected Kind in getPointerRegClass!\"", "0", "X86::GR64RegClass", "X86::GR32RegClass", "1", "X86::GR64_NOSPRegClass", "X86::GR32_NOSPRegClass", "2", "X86::GR64_NOREXRegClass", "X86::GR32_NOREXRegClass", "3", "X86::GR64_NOREX_NOSPRegClass", "X86::GR32_NOREX_NOSPRegClass", "4"], "File": "X86RegisterInfo (2)", "Func": "getPointerRegClass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 833, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "pa_legitimate_constant_p", "(", "machine_mode", "mode", ",", "rtx", "x", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", "&&", "x", "!=", "CONST0_RTX", "(", "mode", ")", ")", "return", "false", ";", "if", "(", "!", "NEW_HP_ASSEMBLER", "&&", "!", "TARGET_GAS", "&&", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", ")", "return", "false", ";", "if", "(", "tls_referenced_p", "(", "x", ")", ")", "return", "false", ";", "if", "(", "TARGET_64BIT", "&&", "GET_CODE", "(", "x", ")", "==", "CONST_DOUBLE", ")", "return", "false", ";", "if", "(", "TARGET_64BIT", "&&", "HOST_BITS_PER_WIDE_INT", ">", "32", "&&", "GET_CODE", "(", "x", ")", "==", "CONST_INT", "&&", "!", "reload_in_progress", "&&", "!", "reload_completed", "&&", "!", "LEGITIMATE_64BIT_CONST_INT_P", "(", "INTVAL", "(", "x", ")", ")", "&&", "!", "pa_cint_ok_for_move", "(", "UINTVAL", "(", "x", ")", ")", ")", "return", "false", ";", "if", "(", "function_label_operand", "(", "x", ",", "mode", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "TARGET_LEGITIMATE_CONSTANT_P", ".", "In", "64-bit", "mode", ",", "we", "reject", "CONST_DOUBLES", ".", "We", "also", "reject", "CONST_INTS", "that", "need", "more", "than", "three", "instructions", "to", "load", "prior", "to", "reload", ".", "This", "limit", "is", "somewhat", "arbitrary", ".", "It", "takes", "three", "instructions", "to", "load", "a", "CONST_INT", "from", "memory", "but", "two", "are", "memory", "accesses", ".", "It", "may", "be", "better", "to", "increase", "the", "allowed", "range", "for", "CONST_INTS", ".", "We", "may", "also", "be", "able", "to", "handle", "CONST_DOUBLES", "."], "TS_V_token": ["pa", "32"], "File": "pa", "Func": "pa_legitimate_constant_p", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 834, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_return", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "crtl", "->", "calls_eh_return", ")", "{", "gcc_assert", "(", "!", "final_sequence", ")", ";", "if", "(", "flag_delayed_branch", ")", "{", "if", "(", "!", "TARGET_FLAT", "&&", "TARGET_V9", ")", "fputs", "(", "\"\\treturn\\t%i7+8\\n\"", ",", "asm_out_file", ")", ";", "else", "{", "if", "(", "!", "TARGET_FLAT", ")", "fputs", "(", "\"\\trestore\\n\"", ",", "asm_out_file", ")", ";", "fputs", "(", "\"\\tjmp\\t%o7+8\\n\"", ",", "asm_out_file", ")", ";", "}", "fputs", "(", "\"\\t add\\t%sp, %g1, %sp\\n\"", ",", "asm_out_file", ")", ";", "}", "else", "{", "if", "(", "!", "TARGET_FLAT", ")", "fputs", "(", "\"\\trestore\\n\"", ",", "asm_out_file", ")", ";", "fputs", "(", "\"\\tadd\\t%sp, %g1, %sp\\n\"", ",", "asm_out_file", ")", ";", "fputs", "(", "\"\\tjmp\\t%o7+8\\n\\t nop\\n\"", ",", "asm_out_file", ")", ";", "}", "}", "else", "if", "(", "sparc_leaf_function_p", "||", "TARGET_FLAT", ")", "{", "return", "\"jmp\\t%%o7+%)%#\"", ";", "}", "else", "{", "if", "(", "final_sequence", ")", "{", "rtx_insn", "*", "delay", ";", "rtx", "pat", ";", "delay", "=", "NEXT_INSN", "(", "insn", ")", ";", "gcc_assert", "(", "delay", ")", ";", "pat", "=", "PATTERN", "(", "delay", ")", ";", "if", "(", "TARGET_V9", "&&", "!", "epilogue_renumber", "(", "&", "pat", ",", "1", ")", ")", "{", "epilogue_renumber", "(", "&", "pat", ",", "0", ")", ";", "return", "\"return\\t%%i7+%)%#\"", ";", "}", "else", "{", "output_asm_insn", "(", "\"jmp\\t%%i7+%)\"", ",", "NULL", ")", ";", "PATTERN", "(", "delay", ")", "=", "gen_blockage", "(", ")", ";", "INSN_CODE", "(", "delay", ")", "=", "-", "1", ";", "final_scan_insn", "(", "delay", ",", "asm_out_file", ",", "optimize", ",", "0", ",", "NULL", ")", ";", "INSN_LOCATION", "(", "delay", ")", "=", "UNKNOWN_LOCATION", ";", "output_restore", "(", "pat", ")", ";", "}", "}", "else", "{", "if", "(", "TARGET_V9", ")", "return", "\"return\\t%%i7+%)\\n\\t nop\"", ";", "else", "if", "(", "flag_delayed_branch", ")", "return", "\"jmp\\t%%i7+%)\\n\\t restore\"", ";", "else", "return", "\"restore\\n\\tjmp\\t%%o7+%)\\n\\t nop\"", ";", "}", "}", "return", "\"\"", ";", "}", ""], "natrual_language": ["Output", "a", "return", "."], "TS_V_token": ["sparc", "\"\\treturn\\t%i7+8\\n\"", "\"\\trestore\\n\"", "\"\\tjmp\\t%o7+8\\n\"", "\"\\t add\\t%sp, %g1, %sp\\n\"", "\"\\trestore\\n\"", "\"\\tadd\\t%sp, %g1, %sp\\n\"", "\"\\tjmp\\t%o7+8\\n\\t nop\\n\"", "\"jmp\\t%%o7+%)%#\"", "1", "0", "\"return\\t%%i7+%)%#\"", "\"jmp\\t%%i7+%)\"", "1", "0", "\"return\\t%%i7+%)\\n\\t nop\"", "\"jmp\\t%%i7+%)\\n\\t restore\"", "\"restore\\n\\tjmp\\t%%o7+%)\\n\\t nop\"", "\"\""], "File": "sparc", "Func": "output_return", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 835, "Length": 253, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "R600InstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "if", "(", "AMDGPU", "::", "R600_Reg128RegClass", ".", "contains", "(", "DestReg", ")", "&&", "AMDGPU", "::", "R600_Reg128RegClass", ".", "contains", "(", "SrcReg", ")", ")", "{", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "4", ";", "I", "++", ")", "{", "unsigned", "SubRegIndex", "=", "RI", ".", "getSubRegFromChannel", "(", "I", ")", ";", "buildDefaultInstruction", "(", "MBB", ",", "MI", ",", "AMDGPU", "::", "MOV", ",", "RI", ".", "getSubReg", "(", "DestReg", ",", "SubRegIndex", ")", ",", "RI", ".", "getSubReg", "(", "SrcReg", ",", "SubRegIndex", ")", ")", ".", "addReg", "(", "DestReg", ",", "RegState", "::", "Define", "|", "RegState", "::", "Implicit", ")", ";", "}", "}", "else", "{", "assert", "(", "!", "AMDGPU", "::", "R600_Reg128RegClass", ".", "contains", "(", "DestReg", ")", "&&", "!", "AMDGPU", "::", "R600_Reg128RegClass", ".", "contains", "(", "SrcReg", ")", ")", ";", "MachineInstr", "*", "NewMI", "=", "buildDefaultInstruction", "(", "MBB", ",", "MI", ",", "AMDGPU", "::", "MOV", ",", "DestReg", ",", "SrcReg", ")", ";", "NewMI", "->", "getOperand", "(", "getOperandIdx", "(", "*", "NewMI", ",", "R600Operands", "::", "SRC0", ")", ")", ".", "setIsKill", "(", "KillSrc", ")", ";", "}", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["R600", "0", "4", "R600Operands::SRC0"], "File": "R600InstrInfo", "Func": "copyPhysReg", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 836, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcTargetLowering", "::", "computeKnownBitsForTargetNode", "(", "const", "SDValue", "Op", ",", "KnownBits", "&", "Known", ",", "const", "APInt", "&", "DemandedElts", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "KnownBits", "Known2", ";", "Known", ".", "resetAll", "(", ")", ";", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "SPISD", "::", "SELECT_ICC", ":", "case", "SPISD", "::", "SELECT_XCC", ":", "case", "SPISD", "::", "SELECT_FCC", ":", "DAG", ".", "computeKnownBits", "(", "Op", ".", "getOperand", "(", "1", ")", ",", "Known", ",", "Depth", "+", "1", ")", ";", "DAG", ".", "computeKnownBits", "(", "Op", ".", "getOperand", "(", "0", ")", ",", "Known2", ",", "Depth", "+", "1", ")", ";", "Known", ".", "One", "&=", "Known2", ".", "One", ";", "Known", ".", "Zero", "&=", "Known2", ".", "Zero", ";", "break", ";", "}", "}", ""], "natrual_language": ["Determine", "which", "of", "the", "bits", "specified", "in", "Mask", "are", "known", "to", "be", "either", "zero", "or", "one", "and", "return", "them", "in", "the", "KnownZero/KnownOne", "bitsets", "."], "TS_V_token": ["Sparc", "Sparc", "SPISD::SELECT_ICC", "SPISD::SELECT_XCC", "SPISD::SELECT_FCC", "1", "1", "0", "1"], "File": "SparcISelLowering14", "Func": "computeKnownBitsForTargetNode", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 837, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "sequent_regs_live", "(", "void", ")", "{", "int", "live_seq", "=", "0", ";", "int", "cur_seq", "=", "0", ";", "for", "(", "int", "reg", "=", "0", ";", "reg", "<=", "LAST_CALLEE_SAVED_REG", ";", "++", "reg", ")", "{", "if", "(", "fixed_regs", "[", "reg", "]", ")", "{", "if", "(", "live_seq", "!=", "0", ")", "return", "0", ";", "else", "continue", ";", "}", "if", "(", "!", "call_used_regs", "[", "reg", "]", ")", "{", "if", "(", "df_regs_ever_live_p", "(", "reg", ")", ")", "{", "++", "live_seq", ";", "++", "cur_seq", ";", "}", "else", "cur_seq", "=", "0", ";", "}", "}", "if", "(", "!", "frame_pointer_needed", ")", "{", "if", "(", "df_regs_ever_live_p", "(", "REG_Y", ")", ")", "{", "++", "live_seq", ";", "++", "cur_seq", ";", "}", "else", "cur_seq", "=", "0", ";", "if", "(", "df_regs_ever_live_p", "(", "REG_Y", "+", "1", ")", ")", "{", "++", "live_seq", ";", "++", "cur_seq", ";", "}", "else", "cur_seq", "=", "0", ";", "}", "else", "{", "cur_seq", "+=", "2", ";", "live_seq", "+=", "2", ";", "}", "return", "(", "cur_seq", "==", "live_seq", ")", "?", "live_seq", ":", "0", ";", "}", ""], "natrual_language": ["This", "function", "checks", "sequence", "of", "live", "registers"], "TS_V_token": ["avr", "0", "0", "0", "0", "0", "0", "0", "1", "0", "2", "2", "0"], "File": "avr6", "Func": "sequent_regs_live", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 838, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "M68kCallLowering", "::", "lowerCall", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "CallLoweringInfo", "&", "Info", ")", "const", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "auto", "&", "DL", "=", "F", ".", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ";", "const", "M68kTargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "M68kTargetLowering", ">", "(", ")", ";", "const", "M68kSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "M68kSubtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "const", "M68kRegisterInfo", "*", "TRI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "SmallVector", "<", "ArgInfo", ",", "8", ">", "OutArgs", ";", "for", "(", "auto", "&", "OrigArg", ":", "Info", ".", "OrigArgs", ")", "splitToValueTypes", "(", "OrigArg", ",", "OutArgs", ",", "DL", ",", "Info", ".", "CallConv", ")", ";", "SmallVector", "<", "ArgInfo", ",", "8", ">", "InArgs", ";", "if", "(", "!", "Info", ".", "OrigRet", ".", "Ty", "->", "isVoidTy", "(", ")", ")", "splitToValueTypes", "(", "Info", ".", "OrigRet", ",", "InArgs", ",", "DL", ",", "Info", ".", "CallConv", ")", ";", "unsigned", "AdjStackDown", "=", "TII", ".", "getCallFrameSetupOpcode", "(", ")", ";", "auto", "CallSeqStart", "=", "MIRBuilder", ".", "buildInstr", "(", "AdjStackDown", ")", ";", "unsigned", "Opc", "=", "TLI", ".", "getTargetMachine", "(", ")", ".", "isPositionIndependent", "(", ")", "?", "M68k", "::", "CALLq", ":", "Info", ".", "Callee", ".", "isReg", "(", ")", "?", "M68k", "::", "CALLj", ":", "M68k", "::", "CALLb", ";", "auto", "MIB", "=", "MIRBuilder", ".", "buildInstrNoInsert", "(", "Opc", ")", ".", "add", "(", "Info", ".", "Callee", ")", ".", "addRegMask", "(", "TRI", "->", "getCallPreservedMask", "(", "MF", ",", "Info", ".", "CallConv", ")", ")", ";", "CCAssignFn", "*", "AssignFn", "=", "TLI", ".", "getCCAssignFn", "(", "Info", ".", "CallConv", ",", "false", ",", "Info", ".", "IsVarArg", ")", ";", "OutgoingValueAssigner", "Assigner", "(", "AssignFn", ")", ";", "M68kOutgoingArgHandler", "Handler", "(", "MIRBuilder", ",", "MRI", ",", "MIB", ")", ";", "if", "(", "!", "determineAndHandleAssignments", "(", "Handler", ",", "Assigner", ",", "OutArgs", ",", "MIRBuilder", ",", "Info", ".", "CallConv", ",", "Info", ".", "IsVarArg", ")", ")", "return", "false", ";", "if", "(", "Info", ".", "Callee", ".", "isReg", "(", ")", ")", "constrainOperandRegClass", "(", "MF", ",", "*", "TRI", ",", "MRI", ",", "*", "STI", ".", "getInstrInfo", "(", ")", ",", "*", "STI", ".", "getRegBankInfo", "(", ")", ",", "*", "MIB", ",", "MIB", "->", "getDesc", "(", ")", ",", "Info", ".", "Callee", ",", "0", ")", ";", "MIRBuilder", ".", "insertInstr", "(", "MIB", ")", ";", "if", "(", "!", "Info", ".", "OrigRet", ".", "Ty", "->", "isVoidTy", "(", ")", ")", "{", "CCAssignFn", "*", "RetAssignFn", "=", "TLI", ".", "getCCAssignFn", "(", "Info", ".", "CallConv", ",", "true", ",", "Info", ".", "IsVarArg", ")", ";", "OutgoingValueAssigner", "Assigner", "(", "RetAssignFn", ",", "RetAssignFn", ")", ";", "CallReturnHandler", "Handler", "(", "MIRBuilder", ",", "MRI", ",", "MIB", ")", ";", "if", "(", "!", "determineAndHandleAssignments", "(", "Handler", ",", "Assigner", ",", "InArgs", ",", "MIRBuilder", ",", "Info", ".", "CallConv", ",", "Info", ".", "IsVarArg", ")", ")", "return", "false", ";", "}", "CallSeqStart", ".", "addImm", "(", "Assigner", ".", "StackOffset", ")", ".", "addImm", "(", "0", ")", ";", "unsigned", "AdjStackUp", "=", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", ";", "MIRBuilder", ".", "buildInstr", "(", "AdjStackUp", ")", ".", "addImm", "(", "Assigner", ".", "StackOffset", ")", ".", "addImm", "(", "0", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "given", "call", "instruction", ",", "including", "argument", "and", "return", "value", "marshalling", "."], "TS_V_token": ["M68k", "M68k", "M68k", "M68k", "M68k", "M68k", "M68k", "8", "8", "M68k::CALLq", "M68k::CALLj", "M68k::CALLb", "M68k", "0", "0", "0"], "File": "M68kCallLowering1", "Func": "lowerCall", "Target": "M68k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 839, "Length": 498, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64FrameLowering", "::", "hasReservedCallFrame", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "!", "(", "hasFP", "(", "MF", ")", "&&", "MFI", "->", "hasVarSizedObjects", "(", ")", ")", ";", "}", ""], "natrual_language": ["hasReservedCallFrame", "-", "Under", "normal", "circumstances", ",", "when", "a", "frame", "pointer", "is", "not", "required", ",", "we", "reserve", "argument", "space", "for", "call", "sites", "in", "the", "function", "immediately", "on", "entry", "to", "the", "current", "function", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64FrameLowering1", "Func": "hasReservedCallFrame", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 840, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "SDLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "if", "(", "PPCSubTarget", ".", "isSVR4ABI", "(", ")", ")", "{", "if", "(", "PPCSubTarget", ".", "isPPC64", "(", ")", ")", "return", "LowerFormalArguments_64SVR4", "(", "Chain", ",", "CallConv", ",", "isVarArg", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ")", ";", "else", "return", "LowerFormalArguments_32SVR4", "(", "Chain", ",", "CallConv", ",", "isVarArg", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ")", ";", "}", "else", "{", "return", "LowerFormalArguments_Darwin", "(", "Chain", ",", "CallConv", ",", "isVarArg", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ")", ";", "}", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "the", "Ins", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["PowerPC", "PPC", "ISD::InputArg", "PPC", "PPC", "PPC"], "File": "PPCISelLowering (2)", "Func": "LowerFormalArguments", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 841, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "ARMBaseRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "ARMSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "STI", ".", "getFrameLowering", "(", ")", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "ARM", "::", "SP", ")", ";", "Reserved", ".", "set", "(", "ARM", "::", "PC", ")", ";", "Reserved", ".", "set", "(", "ARM", "::", "FPSCR", ")", ";", "Reserved", ".", "set", "(", "ARM", "::", "APSR_NZCV", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "getFramePointerReg", "(", "STI", ")", ")", ";", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "BasePtr", ")", ";", "if", "(", "STI", ".", "isR9Reserved", "(", ")", ")", "Reserved", ".", "set", "(", "ARM", "::", "R9", ")", ";", "if", "(", "!", "STI", ".", "hasVFP3", "(", ")", "||", "STI", ".", "hasD16", "(", ")", ")", "{", "assert", "(", "ARM", "::", "D31", "==", "ARM", "::", "D16", "+", "15", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "16", ";", "++", "i", ")", "Reserved", ".", "set", "(", "ARM", "::", "D16", "+", "i", ")", ";", "}", "const", "TargetRegisterClass", "*", "RC", "=", "&", "ARM", "::", "GPRPairRegClass", ";", "for", "(", "TargetRegisterClass", "::", "iterator", "I", "=", "RC", "->", "begin", "(", ")", ",", "E", "=", "RC", "->", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "for", "(", "MCSubRegIterator", "SI", "(", "*", "I", ",", "this", ")", ";", "SI", ".", "isValid", "(", ")", ";", "++", "SI", ")", "if", "(", "Reserved", ".", "test", "(", "*", "SI", ")", ")", "Reserved", ".", "set", "(", "*", "I", ")", ";", "return", "Reserved", ";", "}", ""], "natrual_language": ["getReservedRegs", "-", "Returns", "a", "bitset", "indexed", "by", "physical", "register", "number", "indicating", "if", "a", "register", "is", "a", "special", "register", "that", "has", "particular", "uses", "and", "should", "be", "considered", "unavailable", "at", "all", "times", ",", "e.g", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM::SP", "ARM::PC", "ARM::FPSCR", "ARM::APSR_NZCV", "ARM::R9", "ARM::D31", "ARM::D16", "15", "0", "16", "ARM::D16", "ARM::GPRPairRegClass"], "File": "ARMBaseRegisterInfo22", "Func": "getReservedRegs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 842, "Length": 266, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "GCNPassConfig", "::", "addRegBankSelect", "(", ")", "{", "return", "false", ";", "}", ""], "natrual_language": ["This", "method", "should", "install", "a", "register", "bank", "selector", "pass", ",", "which", "assigns", "register", "banks", "to", "virtual", "registers", "without", "a", "register", "class", "or", "register", "banks", "."], "TS_V_token": ["AMDGPU"], "File": "AMDGPUTargetMachine103", "Func": "addRegBankSelect", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 843, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MOSPostRAScavenging", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "TargetRegisterInfo", "&", "TRI", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "if", "(", "MF", ".", "getProperties", "(", ")", ".", "hasProperty", "(", "MachineFunctionProperties", "::", "Property", "::", "NoVRegs", ")", ")", "return", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "for", "(", "MachineInstr", "&", "MI", ":", "MBB", ")", "if", "(", "MI", ".", "definesRegister", "(", "MOS", "::", "NZ", ")", ")", "{", "auto", "Succ", "=", "++", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ";", "if", "(", "Succ", "!=", "MBB", ".", "end", "(", ")", "&&", "Succ", "->", "readsRegister", "(", "MOS", "::", "NZ", ",", "&", "TRI", ")", ")", "{", "MI", ".", "bundleWithSucc", "(", ")", ";", "for", "(", "MachineOperand", "&", "MO", ":", "Succ", "->", "operands", "(", ")", ")", "if", "(", "MO", ".", "isReg", "(", ")", "&&", "(", "MO", ".", "getReg", "(", ")", "==", "MOS", "::", "N", "||", "MO", ".", "getReg", "(", ")", "==", "MOS", "::", "Z", ")", ")", "MO", ".", "setIsInternalRead", "(", ")", ";", "}", "}", "RegScavenger", "RS", ";", "scavengeFrameVirtualRegs", "(", "MF", ",", "RS", ")", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "for", "(", "MachineInstr", "&", "MI", ":", "MBB", ".", "instrs", "(", ")", ")", "if", "(", "MI", ".", "isBundledWithPred", "(", ")", ")", "{", "MI", ".", "unbundleFromPred", "(", ")", ";", "for", "(", "MachineOperand", "&", "MO", ":", "MI", ".", "operands", "(", ")", ")", "if", "(", "MO", ".", "isReg", "(", ")", "&&", "MO", ".", "isInternalRead", "(", ")", ")", "MO", ".", "setIsInternalRead", "(", "false", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["MOS", "MOS", "MOS::NZ", "MOS::NZ", "MOS::N", "MOS::Z"], "File": "MOSPostRAScavenging", "Func": "runOnMachineFunction", "Target": "MOS", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 844, "Length": 247, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "pru_get_return_address", "(", "int", "count", ")", "{", "if", "(", "count", "!=", "0", ")", "return", "NULL_RTX", ";", "return", "get_hard_reg_initial_val", "(", "HImode", ",", "RA_REGNUM", ")", ";", "}", ""], "natrual_language": ["Implement", "RETURN_ADDR_RTX", ".", "Note", ",", "we", "do", "not", "support", "moving", "back", "to", "a", "previous", "frame", "."], "TS_V_token": ["pru", "0"], "File": "pru", "Func": "pru_get_return_address", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 845, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_xcoff_declare_object_name", "(", "FILE", "*", "file", ",", "const", "char", "*", "name", ",", "tree", "decl", ")", "{", "struct", "declare_alias_data", "data", "=", "{", "file", ",", "false", "}", ";", "ASM_OUTPUT_LABEL", "(", "file", ",", "name", ")", ";", "symtab_node", "::", "get_create", "(", "decl", ")", "->", "call_for_symbol_and_aliases", "(", "rs6000_declare_alias", ",", "&", "data", ",", "true", ")", ";", "}", ""], "natrual_language": ["This", "macro", "produces", "the", "initial", "definition", "of", "a", "object", "(", "variable", ")", "name", ".", "Because", "AIX", "assembler", "'s", ".set", "command", "has", "unexpected", "semantics", ",", "we", "output", "all", "aliases", "as", "alternative", "labels", "in", "front", "of", "the", "definition", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_xcoff_declare_object_name", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 846, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "fma_root_node", "::", "dump_info", "(", "fma_forest", "*", "forest", ")", "{", "gcc_assert", "(", "dump_file", ")", ";", "if", "(", "this", "==", "forest", "->", "get_roots", "(", ")", "->", "front", "(", ")", ")", "fprintf", "(", "dump_file", ",", "\"Instruction(s) at root of forest #%d:\"", ",", "forest", "->", "get_id", "(", ")", ")", ";", "fprintf", "(", "dump_file", ",", "\" %d\"", ",", "INSN_UID", "(", "this", "->", "m_insn", ")", ")", ";", "if", "(", "this", "==", "forest", "->", "get_roots", "(", ")", "->", "back", "(", ")", ")", "fprintf", "(", "dump_file", ",", "\"\\n\"", ")", ";", "}", ""], "natrual_language": ["Dump", "information", "about", "the", "roots", "of", "forest", "FOREST", "."], "TS_V_token": ["aarch64", "\"Instruction(s) at root of forest #%d:\"", "\" %d\"", "\"\\n\""], "File": "cortex-a57-fma-steering", "Func": "dump_info", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 847, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "HexagonTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "(", "HexagonISD", "::", "NodeType", ")", "Opcode", ")", "{", "case", "HexagonISD", "::", "ALLOCA", ":", "return", "\"HexagonISD::ALLOCA\"", ";", "case", "HexagonISD", "::", "AT_GOT", ":", "return", "\"HexagonISD::AT_GOT\"", ";", "case", "HexagonISD", "::", "AT_PCREL", ":", "return", "\"HexagonISD::AT_PCREL\"", ";", "case", "HexagonISD", "::", "BARRIER", ":", "return", "\"HexagonISD::BARRIER\"", ";", "case", "HexagonISD", "::", "CALL", ":", "return", "\"HexagonISD::CALL\"", ";", "case", "HexagonISD", "::", "CALLnr", ":", "return", "\"HexagonISD::CALLnr\"", ";", "case", "HexagonISD", "::", "CALLR", ":", "return", "\"HexagonISD::CALLR\"", ";", "case", "HexagonISD", "::", "COMBINE", ":", "return", "\"HexagonISD::COMBINE\"", ";", "case", "HexagonISD", "::", "CONST32_GP", ":", "return", "\"HexagonISD::CONST32_GP\"", ";", "case", "HexagonISD", "::", "CONST32", ":", "return", "\"HexagonISD::CONST32\"", ";", "case", "HexagonISD", "::", "CP", ":", "return", "\"HexagonISD::CP\"", ";", "case", "HexagonISD", "::", "DCFETCH", ":", "return", "\"HexagonISD::DCFETCH\"", ";", "case", "HexagonISD", "::", "EH_RETURN", ":", "return", "\"HexagonISD::EH_RETURN\"", ";", "case", "HexagonISD", "::", "TSTBIT", ":", "return", "\"HexagonISD::TSTBIT\"", ";", "case", "HexagonISD", "::", "EXTRACTU", ":", "return", "\"HexagonISD::EXTRACTU\"", ";", "case", "HexagonISD", "::", "INSERT", ":", "return", "\"HexagonISD::INSERT\"", ";", "case", "HexagonISD", "::", "JT", ":", "return", "\"HexagonISD::JT\"", ";", "case", "HexagonISD", "::", "RET_FLAG", ":", "return", "\"HexagonISD::RET_FLAG\"", ";", "case", "HexagonISD", "::", "TC_RETURN", ":", "return", "\"HexagonISD::TC_RETURN\"", ";", "case", "HexagonISD", "::", "VASL", ":", "return", "\"HexagonISD::VASL\"", ";", "case", "HexagonISD", "::", "VASR", ":", "return", "\"HexagonISD::VASR\"", ";", "case", "HexagonISD", "::", "VLSR", ":", "return", "\"HexagonISD::VLSR\"", ";", "case", "HexagonISD", "::", "VSPLAT", ":", "return", "\"HexagonISD::VSPLAT\"", ";", "case", "HexagonISD", "::", "VEXTRACTW", ":", "return", "\"HexagonISD::VEXTRACTW\"", ";", "case", "HexagonISD", "::", "VINSERTW0", ":", "return", "\"HexagonISD::VINSERTW0\"", ";", "case", "HexagonISD", "::", "VROR", ":", "return", "\"HexagonISD::VROR\"", ";", "case", "HexagonISD", "::", "READCYCLE", ":", "return", "\"HexagonISD::READCYCLE\"", ";", "case", "HexagonISD", "::", "VZERO", ":", "return", "\"HexagonISD::VZERO\"", ";", "case", "HexagonISD", "::", "D2P", ":", "return", "\"HexagonISD::D2P\"", ";", "case", "HexagonISD", "::", "P2D", ":", "return", "\"HexagonISD::P2D\"", ";", "case", "HexagonISD", "::", "V2Q", ":", "return", "\"HexagonISD::V2Q\"", ";", "case", "HexagonISD", "::", "Q2V", ":", "return", "\"HexagonISD::Q2V\"", ";", "case", "HexagonISD", "::", "QCAT", ":", "return", "\"HexagonISD::QCAT\"", ";", "case", "HexagonISD", "::", "QTRUE", ":", "return", "\"HexagonISD::QTRUE\"", ";", "case", "HexagonISD", "::", "QFALSE", ":", "return", "\"HexagonISD::QFALSE\"", ";", "case", "HexagonISD", "::", "TYPECAST", ":", "return", "\"HexagonISD::TYPECAST\"", ";", "case", "HexagonISD", "::", "VALIGNADDR", ":", "return", "\"HexagonISD::VALIGNADDR\"", ";", "case", "HexagonISD", "::", "OP_END", ":", "break", ";", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["Hexagon", "Hexagon", "HexagonISD::NodeType", "HexagonISD::ALLOCA", "\"HexagonISD::ALLOCA\"", "HexagonISD::AT_GOT", "\"HexagonISD::AT_GOT\"", "HexagonISD::AT_PCREL", "\"HexagonISD::AT_PCREL\"", "HexagonISD::BARRIER", "\"HexagonISD::BARRIER\"", "HexagonISD::CALL", "\"HexagonISD::CALL\"", "HexagonISD::CALLnr", "\"HexagonISD::CALLnr\"", "HexagonISD::CALLR", "\"HexagonISD::CALLR\"", "HexagonISD::COMBINE", "\"HexagonISD::COMBINE\"", "HexagonISD::CONST32_GP", "\"HexagonISD::CONST32_GP\"", "HexagonISD::CONST32", "\"HexagonISD::CONST32\"", "HexagonISD::CP", "\"HexagonISD::CP\"", "HexagonISD::DCFETCH", "\"HexagonISD::DCFETCH\"", "HexagonISD::EH_RETURN", "\"HexagonISD::EH_RETURN\"", "HexagonISD::TSTBIT", "\"HexagonISD::TSTBIT\"", "HexagonISD::EXTRACTU", "\"HexagonISD::EXTRACTU\"", "HexagonISD::INSERT", "\"HexagonISD::INSERT\"", "HexagonISD::JT", "\"HexagonISD::JT\"", "HexagonISD::RET_FLAG", "\"HexagonISD::RET_FLAG\"", "HexagonISD::TC_RETURN", "\"HexagonISD::TC_RETURN\"", "HexagonISD::VASL", "\"HexagonISD::VASL\"", "HexagonISD::VASR", "\"HexagonISD::VASR\"", "HexagonISD::VLSR", "\"HexagonISD::VLSR\"", "HexagonISD::VSPLAT", "\"HexagonISD::VSPLAT\"", "HexagonISD::VEXTRACTW", "\"HexagonISD::VEXTRACTW\"", "HexagonISD::VINSERTW0", "\"HexagonISD::VINSERTW0\"", "HexagonISD::VROR", "\"HexagonISD::VROR\"", "HexagonISD::READCYCLE", "\"HexagonISD::READCYCLE\"", "HexagonISD::VZERO", "\"HexagonISD::VZERO\"", "HexagonISD::D2P", "\"HexagonISD::D2P\"", "HexagonISD::P2D", "\"HexagonISD::P2D\"", "HexagonISD::V2Q", "\"HexagonISD::V2Q\"", "HexagonISD::Q2V", "\"HexagonISD::Q2V\"", "HexagonISD::QCAT", "\"HexagonISD::QCAT\"", "HexagonISD::QTRUE", "\"HexagonISD::QTRUE\"", "HexagonISD::QFALSE", "\"HexagonISD::QFALSE\"", "HexagonISD::TYPECAST", "\"HexagonISD::TYPECAST\"", "HexagonISD::VALIGNADDR", "\"HexagonISD::VALIGNADDR\"", "HexagonISD::OP_END"], "File": "HexagonISelLowering35", "Func": "getTargetNodeName", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 848, "Length": 330, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "tilegx_sched_adjust_cost", "(", "rtx_insn", "*", "insn", ",", "rtx", "link", ",", "rtx_insn", "*", "dep_insn", ",", "int", "cost", ")", "{", "if", "(", "CALL_P", "(", "insn", ")", "&&", "REG_NOTE_KIND", "(", "link", ")", "==", "REG_DEP_TRUE", ")", "{", "rtx", "target", "=", "get_jump_target", "(", "insn", ")", ";", "if", "(", "!", "REG_P", "(", "target", ")", "||", "!", "set_of", "(", "target", ",", "dep_insn", ")", ")", "return", "0", ";", "}", "return", "cost", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SCHED_ADJUST_COST", "."], "TS_V_token": ["tilegx", "0"], "File": "tilegx2", "Func": "tilegx_sched_adjust_cost", "Target": "tilegx", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 849, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "nds32_long_call_p", "(", "rtx", "symbol", ")", "{", "if", "(", "nds32_indirect_call_referenced_p", "(", "symbol", ")", ")", "return", "TARGET_ICT_MODEL_LARGE", ";", "else", "return", "TARGET_CMODEL_LARGE", ";", "}", ""], "natrual_language": ["Return", "true", "X", "is", "need", "use", "long", "call", "."], "TS_V_token": ["nds32"], "File": "nds32-md-auxiliary", "Func": "nds32_long_call_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 850, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PTXDAGToDAGISel", "::", "isImm", "(", "const", "SDValue", "&", "operand", ")", "{", "return", "ConstantSDNode", "::", "classof", "(", "operand", ".", "getNode", "(", ")", ")", ";", "}", ""], "natrual_language": ["isImm", "-", "Is", "this", "an", "immediate", "operand", "?"], "TS_V_token": ["PTX", "PTX"], "File": "PTXISelDAGToDAG", "Func": "isImm", "Target": "PTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 851, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "XCoreInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", "&&", "!", "I", "->", "isDebugValue", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "*", "MF", "->", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", "->", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "FrameIndex", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FrameIndex", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FrameIndex", ")", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "XCore", "::", "LDWFI", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["XCore", "XCore", "XCore::LDWFI", "0"], "File": "XCoreInstrInfo", "Func": "loadRegFromStackSlot", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 852, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "XCoreTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalTLSAddress", ":", "return", "LowerGlobalTLSAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "LowerConstantPool", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "JumpTable", ":", "return", "LowerJumpTable", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "LOAD", ":", "return", "LowerLOAD", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "LowerSTORE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VAARG", ":", "return", "LowerVAARG", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ADD", ":", "case", "ISD", "::", "SUB", ":", "return", "ExpandADDSUB", "(", "Op", ".", "getNode", "(", ")", ",", "DAG", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "LowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "default", ":", "llvm_unreachable", "(", "\"unimplemented operand\"", ")", ";", "return", "SDValue", "(", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["XCore", "XCore", "ISD::GlobalAddress", "ISD::GlobalTLSAddress", "ISD::ConstantPool", "ISD::JumpTable", "ISD::LOAD", "ISD::STORE", "ISD::SELECT_CC", "ISD::VAARG", "ISD::VASTART", "ISD::ADD", "ISD::SUB", "ISD::FRAMEADDR", "\"unimplemented operand\""], "File": "XCoreISelLowering59", "Func": "LowerOperation", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 853, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "initializePPCVSXFMAMutatePass", "(", "*", "PassRegistry", "::", "getPassRegistry", "(", ")", ")", ";", "insertPass", "(", "VSXFMAMutateEarly", "?", "&", "RegisterCoalescerID", ":", "&", "MachineSchedulerID", ",", "&", "PPCVSXFMAMutateID", ")", ";", "}", "if", "(", "getPPCTargetMachine", "(", ")", ".", "isPositionIndependent", "(", ")", ")", "{", "addPass", "(", "&", "LiveVariablesID", ",", "false", ")", ";", "addPass", "(", "createPPCTLSDynamicCallPass", "(", ")", ")", ";", "}", "if", "(", "EnableExtraTOCRegDeps", ")", "addPass", "(", "createPPCTOCRegDepsPass", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "&", "MachinePipelinerID", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC"], "File": "PPCTargetMachine1", "Func": "addPreRegAlloc", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 854, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PIC16InstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "PIC16TargetLowering", "*", "PTLI", "=", "TM", ".", "getTargetLowering", "(", ")", ";", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "const", "Function", "*", "Func", "=", "MBB", ".", "getParent", "(", ")", "->", "getFunction", "(", ")", ";", "const", "std", "::", "string", "FuncName", "=", "Func", "->", "getName", "(", ")", ";", "const", "char", "*", "tmpName", "=", "createESName", "(", "PAN", "::", "getTempdataLabel", "(", "FuncName", ")", ")", ";", "if", "(", "RC", "==", "PIC16", "::", "GPRRegisterClass", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "PIC16", "::", "movwf", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addImm", "(", "PTLI", "->", "GetTmpOffsetForFI", "(", "FI", ",", "1", ")", ")", ".", "addExternalSymbol", "(", "tmpName", ")", ".", "addImm", "(", "1", ")", ";", "}", "else", "if", "(", "RC", "==", "PIC16", "::", "FSR16RegisterClass", ")", "{", "unsigned", "opcode", "=", "(", "SrcReg", "==", "PIC16", "::", "FSR0", ")", "?", "PIC16", "::", "save_fsr0", ":", "PIC16", "::", "save_fsr1", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "opcode", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addImm", "(", "PTLI", "->", "GetTmpOffsetForFI", "(", "FI", ",", "3", ")", ")", ".", "addExternalSymbol", "(", "tmpName", ")", ".", "addImm", "(", "1", ")", ";", "}", "else", "llvm_unreachable", "(", "\"Can't store this register to stack slot\"", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["PIC16", "PIC16", "PIC16", "PIC16::GPRRegisterClass", "PIC16::movwf", "1", "1", "PIC16::FSR16RegisterClass", "PIC16::FSR0", "PIC16::save_fsr0", "PIC16::save_fsr1", "3", "1", "\"Can't store this register to stack slot\""], "File": "PIC16InstrInfo1", "Func": "storeRegToStackSlot", "Target": "PIC16", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 855, "Length": 250, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsRegisterInfo", "::", "canRealignStack", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "!", "TargetRegisterInfo", "::", "canRealignStack", "(", "MF", ")", ")", "return", "false", ";", "const", "MipsSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "unsigned", "FP", "=", "Subtarget", ".", "isGP32bit", "(", ")", "?", "Mips", "::", "FP", ":", "Mips", "::", "FP_64", ";", "unsigned", "BP", "=", "Subtarget", ".", "isGP32bit", "(", ")", "?", "Mips", "::", "S7", ":", "Mips", "::", "S7_64", ";", "if", "(", "Subtarget", ".", "inMips16Mode", "(", ")", ")", "return", "false", ";", "if", "(", "!", "MF", ".", "getRegInfo", "(", ")", ".", "canReserveReg", "(", "FP", ")", ")", "return", "false", ";", "if", "(", "Subtarget", ".", "getFrameLowering", "(", ")", "->", "hasReservedCallFrame", "(", "MF", ")", ")", "return", "true", ";", "return", "MF", ".", "getRegInfo", "(", ")", ".", "canReserveReg", "(", "BP", ")", ";", "}", ""], "natrual_language": ["True", "if", "the", "stack", "can", "be", "realigned", "for", "the", "target", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips::FP", "Mips::FP_64", "Mips::S7", "Mips::S7_64", "Mips"], "File": "MipsRegisterInfo (2)2", "Func": "canRealignStack", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 856, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "legitimize_reload_address", "(", "rtx", "ad", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "int", "opnum", ",", "int", "type", ")", "{", "if", "(", "!", "optimize", "||", "TARGET_LONG_DISPLACEMENT", ")", "return", "NULL_RTX", ";", "if", "(", "GET_CODE", "(", "ad", ")", "==", "PLUS", ")", "{", "rtx", "tem", "=", "simplify_binary_operation", "(", "PLUS", ",", "Pmode", ",", "XEXP", "(", "ad", ",", "0", ")", ",", "XEXP", "(", "ad", ",", "1", ")", ")", ";", "if", "(", "tem", ")", "ad", "=", "tem", ";", "}", "if", "(", "GET_CODE", "(", "ad", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "ad", ",", "0", ")", ")", "==", "REG", "&&", "GET_CODE", "(", "XEXP", "(", "ad", ",", "1", ")", ")", "==", "CONST_INT", "&&", "!", "DISP_IN_RANGE", "(", "INTVAL", "(", "XEXP", "(", "ad", ",", "1", ")", ")", ")", ")", "{", "HOST_WIDE_INT", "lower", "=", "INTVAL", "(", "XEXP", "(", "ad", ",", "1", ")", ")", "&", "0xfff", ";", "HOST_WIDE_INT", "upper", "=", "INTVAL", "(", "XEXP", "(", "ad", ",", "1", ")", ")", "^", "lower", ";", "rtx", "cst", ",", "tem", ",", "new_rtx", ";", "cst", "=", "GEN_INT", "(", "upper", ")", ";", "if", "(", "!", "legitimate_reload_constant_p", "(", "cst", ")", ")", "cst", "=", "force_const_mem", "(", "Pmode", ",", "cst", ")", ";", "tem", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "XEXP", "(", "ad", ",", "0", ")", ",", "cst", ")", ";", "new_rtx", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "tem", ",", "GEN_INT", "(", "lower", ")", ")", ";", "push_reload", "(", "XEXP", "(", "tem", ",", "1", ")", ",", "0", ",", "&", "XEXP", "(", "tem", ",", "1", ")", ",", "0", ",", "BASE_REG_CLASS", ",", "Pmode", ",", "VOIDmode", ",", "0", ",", "0", ",", "opnum", ",", "(", "enum", "reload_type", ")", "type", ")", ";", "return", "new_rtx", ";", "}", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Try", "a", "machine-dependent", "way", "of", "reloading", "an", "illegitimate", "address", "AD", "operand", ".", "If", "we", "find", "one", ",", "push", "the", "reload", "and", "and", "return", "the", "new", "address", ".", "MODE", "is", "the", "mode", "of", "the", "enclosing", "MEM", ".", "OPNUM", "is", "the", "operand", "number", "and", "TYPE", "is", "the", "reload", "type", "of", "the", "current", "reload", "."], "TS_V_token": ["s390", "0", "1", "0", "1", "1", "1", "0xfff", "1", "0", "1", "0", "1", "0", "0", "0"], "File": "s390", "Func": "legitimize_reload_address", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 857, "Length": 257, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SystemZTargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "const", "SDLoc", "&", "DL", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "if", "(", "Subtarget", ".", "hasVector", "(", ")", ")", "VerifyVectorTypes", "(", "Outs", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RetLocs", ";", "CCState", "RetCCInfo", "(", "CallConv", ",", "IsVarArg", ",", "MF", ",", "RetLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "RetCCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_SystemZ", ")", ";", "if", "(", "RetLocs", ".", "empty", "(", ")", ")", "return", "DAG", ".", "getNode", "(", "SystemZISD", "::", "RET_FLAG", ",", "DL", ",", "MVT", "::", "Other", ",", "Chain", ")", ";", "SDValue", "Glue", ";", "SmallVector", "<", "SDValue", ",", "4", ">", "RetOps", ";", "RetOps", ".", "push_back", "(", "Chain", ")", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "RetLocs", ".", "size", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "CCValAssign", "&", "VA", "=", "RetLocs", "[", "I", "]", ";", "SDValue", "RetValue", "=", "OutVals", "[", "I", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Can only return in registers!\"", ")", ";", "RetValue", "=", "convertValVTToLocVT", "(", "DAG", ",", "DL", ",", "VA", ",", "RetValue", ")", ";", "unsigned", "Reg", "=", "VA", ".", "getLocReg", "(", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "Reg", ",", "RetValue", ",", "Glue", ")", ";", "Glue", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "Reg", ",", "VA", ".", "getLocVT", "(", ")", ")", ")", ";", "}", "RetOps", "[", "0", "]", "=", "Chain", ";", "if", "(", "Glue", ".", "getNode", "(", ")", ")", "RetOps", ".", "push_back", "(", "Glue", ")", ";", "return", "DAG", ".", "getNode", "(", "SystemZISD", "::", "RET_FLAG", ",", "DL", ",", "MVT", "::", "Other", ",", "RetOps", ")", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "outgoing", "return", "values", ",", "described", "by", "the", "Outs", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["SystemZ", "SystemZ", "ISD::OutputArg", "16", "SystemZ", "SystemZISD::RET_FLAG", "MVT::Other", "4", "0", "\"Can only return in registers!\"", "1", "0", "SystemZISD::RET_FLAG", "MVT::Other"], "File": "SystemZISelLowering", "Func": "LowerReturn", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 858, "Length": 307, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SITargetLowering", "::", "isShuffleMaskLegal", "(", "const", "SmallVectorImpl", "<", "int", ">", "&", ",", "EVT", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Targets", "can", "use", "this", "to", "indicate", "that", "they", "only", "support", "some", "VECTOR_SHUFFLE", "operations", ",", "those", "with", "specific", "masks", "."], "TS_V_token": ["AMDGPU", "SI"], "File": "SIISelLowering (2)", "Func": "isShuffleMaskLegal", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 859, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "vr4130_avoid_branch_rt_conflict", "(", "rtx_insn", "*", "insn", ")", "{", "rtx_insn", "*", "first", ",", "*", "second", ";", "first", "=", "SEQ_BEGIN", "(", "insn", ")", ";", "second", "=", "SEQ_END", "(", "insn", ")", ";", "if", "(", "JUMP_P", "(", "first", ")", "&&", "NONJUMP_INSN_P", "(", "second", ")", "&&", "GET_CODE", "(", "PATTERN", "(", "first", ")", ")", "==", "SET", "&&", "GET_CODE", "(", "SET_DEST", "(", "PATTERN", "(", "first", ")", ")", ")", "==", "PC", "&&", "GET_CODE", "(", "SET_SRC", "(", "PATTERN", "(", "first", ")", ")", ")", "==", "IF_THEN_ELSE", ")", "{", "rtx", "cond", "=", "XEXP", "(", "SET_SRC", "(", "PATTERN", "(", "first", ")", ")", ",", "0", ")", ";", "if", "(", "(", "GET_CODE", "(", "cond", ")", "==", "EQ", "||", "GET_CODE", "(", "cond", ")", "==", "NE", ")", "&&", "REG_P", "(", "XEXP", "(", "cond", ",", "0", ")", ")", "&&", "REG_P", "(", "XEXP", "(", "cond", ",", "1", ")", ")", "&&", "reg_referenced_p", "(", "XEXP", "(", "cond", ",", "1", ")", ",", "PATTERN", "(", "second", ")", ")", "&&", "!", "reg_referenced_p", "(", "XEXP", "(", "cond", ",", "0", ")", ",", "PATTERN", "(", "second", ")", ")", ")", "{", "rtx", "tmp", "=", "XEXP", "(", "cond", ",", "0", ")", ";", "XEXP", "(", "cond", ",", "0", ")", "=", "XEXP", "(", "cond", ",", "1", ")", ";", "XEXP", "(", "cond", ",", "1", ")", "=", "tmp", ";", "}", "}", "}", ""], "natrual_language": ["The", "VR4130", "pipeline", "issues", "aligned", "pairs", "of", "instructions", "together", ",", "but", "it", "stalls", "the", "second", "instruction", "if", "it", "depends", "on", "the", "first", ".", "In", "order", "to", "cut", "down", "the", "amount", "of", "logic", "required", ",", "this", "dependence", "check", "is", "not", "based", "on", "a", "full", "instruction", "decode", ".", "Instead", ",", "any", "non-SPECIAL", "instruction", "is", "assumed", "to", "modify", "the", "register", "specified", "by", "bits", "20-16", "(", "which", "is", "usually", "the", "``", "rt", "''", "field", ")", ".", "In", "beq", ",", "beql", ",", "bne", "and", "bnel", "instructions", ",", "the", "rt", "field", "is", "actually", "an", "input", ",", "so", "we", "can", "end", "up", "with", "a", "false", "dependence", "between", "the", "branch", "and", "its", "delay", "slot", ".", "If", "this", "situation", "occurs", "in", "instruction", "INSN", ",", "try", "to", "avoid", "it", "by", "swapping", "rs", "and", "rt", "."], "TS_V_token": ["mips", "0", "0", "1", "1", "0", "0", "0", "1", "1"], "File": "mips", "Func": "vr4130_avoid_branch_rt_conflict", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 860, "Length": 201, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print_address_operand", "(", "FILE", "*", "file", ",", "rtx", "x", ")", "{", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "PLUS", ":", "output_address", "(", "VOIDmode", ",", "XEXP", "(", "x", ",", "0", ")", ")", ";", "fprintf", "(", "file", ",", "\"+\"", ")", ";", "output_address", "(", "VOIDmode", ",", "XEXP", "(", "x", ",", "1", ")", ")", ";", "break", ";", "case", "PRE_DEC", ":", "fprintf", "(", "file", ",", "\"--\"", ")", ";", "output_address", "(", "VOIDmode", ",", "XEXP", "(", "x", ",", "0", ")", ")", ";", "break", ";", "case", "POST_INC", ":", "output_address", "(", "VOIDmode", ",", "XEXP", "(", "x", ",", "0", ")", ")", ";", "fprintf", "(", "file", ",", "\"++\"", ")", ";", "break", ";", "case", "POST_DEC", ":", "output_address", "(", "VOIDmode", ",", "XEXP", "(", "x", ",", "0", ")", ")", ";", "fprintf", "(", "file", ",", "\"--\"", ")", ";", "break", ";", "default", ":", "gcc_assert", "(", "GET_CODE", "(", "x", ")", "!=", "MEM", ")", ";", "print_operand", "(", "file", ",", "x", ",", "0", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["Subroutine", "of", "print_operand", ";", "used", "to", "print", "a", "memory", "reference", "X", "to", "FILE", "."], "TS_V_token": ["bfin", "0", "\"+\"", "1", "\"--\"", "0", "0", "\"++\"", "0", "\"--\"", "0"], "File": "bfin", "Func": "print_address_operand", "Target": "bfin", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 861, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "PredicateInstruction", "(", "MachineInstr", "&", "MI", ",", "ArrayRef", "<", "MachineOperand", ">", "Pred", ")", "const", "{", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "isUncondBranchOpcode", "(", "Opc", ")", ")", "{", "MI", ".", "setDesc", "(", "get", "(", "getMatchingCondBranchOpcode", "(", "Opc", ")", ")", ")", ";", "MachineInstrBuilder", "(", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ",", "MI", ")", ".", "addImm", "(", "Pred", "[", "0", "]", ".", "getImm", "(", ")", ")", ".", "addReg", "(", "Pred", "[", "1", "]", ".", "getReg", "(", ")", ")", ";", "return", "true", ";", "}", "int", "PIdx", "=", "MI", ".", "findFirstPredOperandIdx", "(", ")", ";", "if", "(", "PIdx", "!=", "-", "1", ")", "{", "MachineOperand", "&", "PMO", "=", "MI", ".", "getOperand", "(", "PIdx", ")", ";", "PMO", ".", "setImm", "(", "Pred", "[", "0", "]", ".", "getImm", "(", ")", ")", ";", "MI", ".", "getOperand", "(", "PIdx", "+", "1", ")", ".", "setReg", "(", "Pred", "[", "1", "]", ".", "getReg", "(", ")", ")", ";", "const", "MCInstrDesc", "&", "MCID", "=", "MI", ".", "getDesc", "(", ")", ";", "if", "(", "MCID", ".", "TSFlags", "&", "ARMII", "::", "ThumbArithFlagSetting", ")", "{", "assert", "(", "MCID", ".", "OpInfo", "[", "1", "]", ".", "isOptionalDef", "(", ")", "&&", "\"CPSR def isn't expected operand\"", ")", ";", "assert", "(", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "isDead", "(", ")", "||", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "!=", "ARM", "::", "CPSR", ")", "&&", "\"if conversion tried to stop defining used CPSR\"", ")", ";", "MI", ".", "getOperand", "(", "1", ")", ".", "setReg", "(", "ARM", "::", "NoRegister", ")", ";", "}", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Convert", "the", "instruction", "into", "a", "predicated", "instruction", "."], "TS_V_token": ["ARM", "ARM", "0", "1", "1", "0", "1", "1", "ARMII::ThumbArithFlagSetting", "1", "\"CPSR def isn't expected operand\"", "1", "1", "ARM::CPSR", "\"if conversion tried to stop defining used CPSR\"", "1", "ARM::NoRegister"], "File": "ARMBaseInstrInfo110", "Func": "PredicateInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 862, "Length": 248, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_register_move_cost", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "reg_class_t", "from", ",", "reg_class_t", "to", ")", "{", "if", "(", "TARGET_32BIT", ")", "{", "if", "(", "(", "IS_VFP_CLASS", "(", "from", ")", "&&", "!", "IS_VFP_CLASS", "(", "to", ")", ")", "||", "(", "!", "IS_VFP_CLASS", "(", "from", ")", "&&", "IS_VFP_CLASS", "(", "to", ")", ")", ")", "return", "15", ";", "else", "if", "(", "(", "from", "==", "IWMMXT_REGS", "&&", "to", "!=", "IWMMXT_REGS", ")", "||", "(", "from", "!=", "IWMMXT_REGS", "&&", "to", "==", "IWMMXT_REGS", ")", ")", "return", "4", ";", "else", "if", "(", "from", "==", "IWMMXT_GR_REGS", "||", "to", "==", "IWMMXT_GR_REGS", ")", "return", "20", ";", "else", "return", "2", ";", "}", "else", "{", "if", "(", "from", "==", "HI_REGS", "||", "to", "==", "HI_REGS", ")", "return", "4", ";", "else", "return", "2", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_REGISTER_MOVE_COST", ".", "Moves", "between", "VFP_REGS", "and", "GENERAL_REGS", "are", "a", "single", "insn", ",", "but", "it", "is", "typically", "more", "expensive", "than", "a", "single", "memory", "access", ".", "We", "set", "the", "cost", "to", "less", "than", "two", "memory", "accesses", "so", "that", "floating", "point", "to", "integer", "conversion", "does", "not", "go", "through", "memory", "."], "TS_V_token": ["arm", "15", "4", "20", "2", "4", "2"], "File": "arm", "Func": "arm_register_move_cost", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 863, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_darwin_file_start", "(", "void", ")", "{", "static", "const", "struct", "{", "const", "char", "*", "arg", ";", "const", "char", "*", "name", ";", "HOST_WIDE_INT", "if_set", ";", "}", "mapping", "[", "]", "=", "{", "{", "\"ppc64\"", ",", "\"ppc64\"", ",", "MASK_64BIT", "}", ",", "{", "\"970\"", ",", "\"ppc970\"", ",", "MASK_PPC_GPOPT", "|", "MASK_MFCRF", "|", "MASK_POWERPC64", "}", ",", "{", "\"power4\"", ",", "\"ppc970\"", ",", "0", "}", ",", "{", "\"G5\"", ",", "\"ppc970\"", ",", "0", "}", ",", "{", "\"7450\"", ",", "\"ppc7450\"", ",", "0", "}", ",", "{", "\"7400\"", ",", "\"ppc7400\"", ",", "MASK_ALTIVEC", "}", ",", "{", "\"G4\"", ",", "\"ppc7400\"", ",", "0", "}", ",", "{", "\"750\"", ",", "\"ppc750\"", ",", "0", "}", ",", "{", "\"740\"", ",", "\"ppc750\"", ",", "0", "}", ",", "{", "\"G3\"", ",", "\"ppc750\"", ",", "0", "}", ",", "{", "\"604e\"", ",", "\"ppc604e\"", ",", "0", "}", ",", "{", "\"604\"", ",", "\"ppc604\"", ",", "0", "}", ",", "{", "\"603e\"", ",", "\"ppc603\"", ",", "0", "}", ",", "{", "\"603\"", ",", "\"ppc603\"", ",", "0", "}", ",", "{", "\"601\"", ",", "\"ppc601\"", ",", "0", "}", ",", "{", "NULL", ",", "\"ppc\"", ",", "0", "}", "}", ";", "const", "char", "*", "cpu_id", "=", "\"\"", ";", "size_t", "i", ";", "rs6000_file_start", "(", ")", ";", "darwin_file_start", "(", ")", ";", "if", "(", "rs6000_default_cpu", "!=", "0", "&&", "rs6000_default_cpu", "[", "0", "]", "!=", "'\\0'", ")", "cpu_id", "=", "rs6000_default_cpu", ";", "if", "(", "OPTION_SET_P", "(", "rs6000_cpu_index", ")", ")", "cpu_id", "=", "processor_target_table", "[", "rs6000_cpu_index", "]", ".", "name", ";", "i", "=", "0", ";", "while", "(", "mapping", "[", "i", "]", ".", "arg", "!=", "NULL", "&&", "strcmp", "(", "mapping", "[", "i", "]", ".", "arg", ",", "cpu_id", ")", "!=", "0", "&&", "(", "mapping", "[", "i", "]", ".", "if_set", "&", "rs6000_isa_flags", ")", "==", "0", ")", "i", "++", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.machine %s\\n\"", ",", "mapping", "[", "i", "]", ".", "name", ")", ";", "}", ""], "natrual_language": ["Output", "a", ".machine", "directive", "for", "the", "Darwin", "assembler", ",", "and", "call", "the", "generic", "start_file", "routine", "."], "TS_V_token": ["rs6000", "\"ppc64\"", "\"ppc64\"", "\"970\"", "\"ppc970\"", "\"power4\"", "\"ppc970\"", "0", "\"G5\"", "\"ppc970\"", "0", "\"7450\"", "\"ppc7450\"", "0", "\"7400\"", "\"ppc7400\"", "\"G4\"", "\"ppc7400\"", "0", "\"750\"", "\"ppc750\"", "0", "\"740\"", "\"ppc750\"", "0", "\"G3\"", "\"ppc750\"", "0", "\"604e\"", "\"ppc604e\"", "0", "\"604\"", "\"ppc604\"", "0", "\"603e\"", "\"ppc603\"", "0", "\"603\"", "\"ppc603\"", "0", "\"601\"", "\"ppc601\"", "0", "\"ppc\"", "0", "\"\"", "0", "0", "0", "0", "0", "\"\\t.machine %s\\n\""], "File": "rs6000", "Func": "rs6000_darwin_file_start", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 864, "Length": 274, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LC3bFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["LC3b", "LC3b"], "File": "LC3bFrameLowering", "Func": "emitPrologue", "Target": "LC3b", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 865, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "XCoreRegisterInfo", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "if", "(", "!", "TFI", "->", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "MachineInstr", "*", "Old", "=", "I", ";", "uint64_t", "Amount", "=", "Old", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "Amount", "!=", "0", ")", "{", "unsigned", "Align", "=", "TFI", "->", "getStackAlignment", "(", ")", ";", "Amount", "=", "(", "Amount", "+", "Align", "-", "1", ")", "/", "Align", "*", "Align", ";", "assert", "(", "Amount", "%", "4", "==", "0", ")", ";", "Amount", "/=", "4", ";", "bool", "isU6", "=", "isImmU6", "(", "Amount", ")", ";", "if", "(", "!", "isU6", "&&", "!", "isImmU16", "(", "Amount", ")", ")", "{", "errs", "(", ")", "<<", "\"eliminateCallFramePseudoInstr size too big: \"", "<<", "Amount", "<<", "\"\\n\"", ";", "llvm_unreachable", "(", "0", ")", ";", "}", "MachineInstr", "*", "New", ";", "if", "(", "Old", "->", "getOpcode", "(", ")", "==", "XCore", "::", "ADJCALLSTACKDOWN", ")", "{", "int", "Opcode", "=", "isU6", "?", "XCore", "::", "EXTSP_u6", ":", "XCore", "::", "EXTSP_lu6", ";", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "Opcode", ")", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Old", "->", "getOpcode", "(", ")", "==", "XCore", "::", "ADJCALLSTACKUP", ")", ";", "int", "Opcode", "=", "isU6", "?", "XCore", "::", "LDAWSP_ru6_RRegs", ":", "XCore", "::", "LDAWSP_lru6_RRegs", ";", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "Opcode", ")", ",", "XCore", "::", "SP", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "MBB", ".", "insert", "(", "I", ",", "New", ")", ";", "}", "}", "MBB", ".", "erase", "(", "I", ")", ";", "}", ""], "natrual_language": ["This", "method", "is", "called", "during", "prolog/epilog", "code", "insertion", "to", "eliminate", "call", "frame", "setup", "and", "destroy", "pseudo", "instructions", "(", "but", "only", "if", "the", "Target", "is", "using", "them", ")", "."], "TS_V_token": ["XCore", "XCore", "0", "0", "1", "4", "0", "4", "\"eliminateCallFramePseudoInstr size too big: \"", "\"\\n\"", "0", "XCore::ADJCALLSTACKDOWN", "XCore::EXTSP_u6", "XCore::EXTSP_lu6", "XCore::ADJCALLSTACKUP", "XCore::LDAWSP_ru6_RRegs", "XCore::LDAWSP_lru6_RRegs", "XCore::SP"], "File": "XCoreRegisterInfo12", "Func": "eliminateCallFramePseudoInstr", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 866, "Length": 278, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_sim_reset", "(", "struct", "mips_sim", "*", "state", ")", "{", "state", "->", "time", "=", "0", ";", "state", "->", "insns_left", "=", "state", "->", "issue_rate", ";", "memset", "(", "&", "state", "->", "last_set", ",", "0", ",", "sizeof", "(", "state", "->", "last_set", ")", ")", ";", "state_reset", "(", "state", "->", "dfa_state", ")", ";", "}", ""], "natrual_language": ["Reset", "STATE", "to", "the", "initial", "simulation", "state", "."], "TS_V_token": ["mips", "0", "0"], "File": "mips3", "Func": "mips_sim_reset", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 867, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "avr_fold_absfx", "(", "tree", "tval", ")", "{", "if", "(", "FIXED_CST", "!=", "TREE_CODE", "(", "tval", ")", ")", "return", "NULL_TREE", ";", "FIXED_VALUE_TYPE", "fval", "=", "TREE_FIXED_CST", "(", "tval", ")", ";", "unsigned", "int", "bits", "=", "GET_MODE_BITSIZE", "(", "fval", ".", "mode", ")", ";", "double_int", "ival", "=", "fval", ".", "data", ".", "sext", "(", "bits", ")", ";", "if", "(", "!", "ival", ".", "is_negative", "(", ")", ")", "return", "tval", ";", "fval", ".", "data", "=", "(", "ival", "==", "double_int", "::", "min_value", "(", "bits", ",", "false", ")", ".", "sext", "(", "bits", ")", ")", "?", "double_int", "::", "max_value", "(", "bits", ",", "false", ")", ":", "-", "ival", ";", "return", "build_fixed", "(", "TREE_TYPE", "(", "tval", ")", ",", "fval", ")", ";", "}", ""], "natrual_language": ["Helper", "for", "`", "avr_fold_builtin", "'", "that", "folds", "absfx", "(", "FIXED_CST", ")", "."], "TS_V_token": ["avr"], "File": "avr", "Func": "avr_fold_absfx", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 868, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_expand_divmod_libfunc", "(", "rtx", "libfunc", ",", "machine_mode", "mode", ",", "rtx", "op0", ",", "rtx", "op1", ",", "rtx", "*", "quot_p", ",", "rtx", "*", "rem_p", ")", "{", "if", "(", "mode", "==", "SImode", ")", "gcc_assert", "(", "!", "TARGET_IDIV", ")", ";", "machine_mode", "libval_mode", "=", "smallest_mode_for_size", "(", "2", "*", "GET_MODE_BITSIZE", "(", "mode", ")", ",", "MODE_INT", ")", ";", "rtx", "libval", "=", "emit_library_call_value", "(", "libfunc", ",", "NULL_RTX", ",", "LCT_CONST", ",", "libval_mode", ",", "2", ",", "op0", ",", "GET_MODE", "(", "op0", ")", ",", "op1", ",", "GET_MODE", "(", "op1", ")", ")", ";", "rtx", "quotient", "=", "simplify_gen_subreg", "(", "mode", ",", "libval", ",", "libval_mode", ",", "0", ")", ";", "rtx", "remainder", "=", "simplify_gen_subreg", "(", "mode", ",", "libval", ",", "libval_mode", ",", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "gcc_assert", "(", "quotient", ")", ";", "gcc_assert", "(", "remainder", ")", ";", "*", "quot_p", "=", "quotient", ";", "*", "rem_p", "=", "remainder", ";", "}", ""], "natrual_language": ["Generate", "call", "to", "__aeabi_", "[", "mode", "]", "divmod", "(", "op0", ",", "op1", ")", "."], "TS_V_token": ["arm", "2", "2", "0"], "File": "arm6", "Func": "arm_expand_divmod_libfunc", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 869, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUTargetLowering", "::", "isNarrowingProfitable", "(", "EVT", "SrcVT", ",", "EVT", "DestVT", ")", "const", "{", "return", "SrcVT", ".", "getSizeInBits", "(", ")", ">", "32", "&&", "DestVT", ".", "getSizeInBits", "(", ")", "==", "32", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "'s", "profitable", "to", "narrow", "operations", "of", "type", "SrcVT", "to", "DestVT", "."], "TS_V_token": ["R600", "32", "32"], "File": "AMDGPUISelLowering100", "Func": "isNarrowingProfitable", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 870, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "loongarch_legitimize_tls_address", "(", "rtx", "loc", ")", "{", "rtx", "dest", ",", "tp", ",", "tmp", ",", "tmp1", ",", "tmp2", ",", "tmp3", ";", "enum", "tls_model", "model", "=", "SYMBOL_REF_TLS_MODEL", "(", "loc", ")", ";", "rtx_insn", "*", "insn", ";", "switch", "(", "model", ")", "{", "case", "TLS_MODEL_LOCAL_DYNAMIC", ":", "tmp", "=", "gen_rtx_REG", "(", "Pmode", ",", "GP_RETURN", ")", ";", "dest", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "insn", "=", "loongarch_call_tls_get_addr", "(", "loc", ",", "SYMBOL_TLSLDM", ",", "tmp", ")", ";", "emit_libcall_block", "(", "insn", ",", "dest", ",", "tmp", ",", "loc", ")", ";", "break", ";", "case", "TLS_MODEL_GLOBAL_DYNAMIC", ":", "tmp", "=", "gen_rtx_REG", "(", "Pmode", ",", "GP_RETURN", ")", ";", "dest", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "insn", "=", "loongarch_call_tls_get_addr", "(", "loc", ",", "SYMBOL_TLSGD", ",", "tmp", ")", ";", "emit_libcall_block", "(", "insn", ",", "dest", ",", "tmp", ",", "loc", ")", ";", "break", ";", "case", "TLS_MODEL_INITIAL_EXEC", ":", "{", "tp", "=", "gen_rtx_REG", "(", "Pmode", ",", "THREAD_POINTER_REGNUM", ")", ";", "tmp1", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "dest", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "if", "(", "TARGET_EXPLICIT_RELOCS", ")", "{", "tmp2", "=", "loongarch_unspec_address", "(", "loc", ",", "SYMBOL_TLS_IE", ")", ";", "tmp3", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "rtx", "high", "=", "gen_rtx_HIGH", "(", "Pmode", ",", "copy_rtx", "(", "tmp2", ")", ")", ";", "high", "=", "loongarch_force_temporary", "(", "tmp3", ",", "high", ")", ";", "if", "(", "TARGET_CMODEL_EXTREME", ")", "{", "gcc_assert", "(", "TARGET_EXPLICIT_RELOCS", ")", ";", "rtx", "tmp3", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "gen_tls_low", "(", "Pmode", ",", "tmp3", ",", "gen_rtx_REG", "(", "Pmode", ",", "0", ")", ",", "tmp2", ")", ")", ";", "emit_insn", "(", "gen_lui_h_lo20", "(", "tmp3", ",", "tmp3", ",", "tmp2", ")", ")", ";", "emit_insn", "(", "gen_lui_h_hi12", "(", "tmp3", ",", "tmp3", ",", "tmp2", ")", ")", ";", "emit_move_insn", "(", "tmp1", ",", "gen_rtx_MEM", "(", "Pmode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "high", ",", "tmp3", ")", ")", ")", ";", "}", "else", "emit_insn", "(", "gen_ld_from_got", "(", "Pmode", ",", "tmp1", ",", "high", ",", "tmp2", ")", ")", ";", "}", "else", "emit_insn", "(", "loongarch_got_load_tls_ie", "(", "tmp1", ",", "loc", ")", ")", ";", "emit_insn", "(", "gen_add3_insn", "(", "dest", ",", "tmp1", ",", "tp", ")", ")", ";", "}", "break", ";", "case", "TLS_MODEL_LOCAL_EXEC", ":", "{", "tp", "=", "gen_rtx_REG", "(", "Pmode", ",", "THREAD_POINTER_REGNUM", ")", ";", "tmp1", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "dest", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "if", "(", "TARGET_EXPLICIT_RELOCS", ")", "{", "tmp2", "=", "loongarch_unspec_address", "(", "loc", ",", "SYMBOL_TLS_LE", ")", ";", "tmp3", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "rtx", "high", "=", "gen_rtx_HIGH", "(", "Pmode", ",", "copy_rtx", "(", "tmp2", ")", ")", ";", "high", "=", "loongarch_force_temporary", "(", "tmp3", ",", "high", ")", ";", "emit_insn", "(", "gen_ori_l_lo12", "(", "Pmode", ",", "tmp1", ",", "high", ",", "tmp2", ")", ")", ";", "if", "(", "TARGET_CMODEL_EXTREME", ")", "{", "gcc_assert", "(", "TARGET_EXPLICIT_RELOCS", ")", ";", "emit_insn", "(", "gen_lui_h_lo20", "(", "tmp1", ",", "tmp1", ",", "tmp2", ")", ")", ";", "emit_insn", "(", "gen_lui_h_hi12", "(", "tmp1", ",", "tmp1", ",", "tmp2", ")", ")", ";", "}", "}", "else", "emit_insn", "(", "loongarch_got_load_tls_le", "(", "tmp1", ",", "loc", ")", ")", ";", "emit_insn", "(", "gen_add3_insn", "(", "dest", ",", "tmp1", ",", "tp", ")", ")", ";", "}", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "dest", ";", "}", ""], "natrual_language": ["Generate", "the", "code", "to", "access", "LOC", ",", "a", "thread-local", "SYMBOL_REF", ",", "and", "return", "its", "address", ".", "The", "return", "value", "will", "be", "both", "a", "valid", "address", "and", "a", "valid", "SET_SRC", "(", "either", "a", "REG", "or", "a", "LO_SUM", ")", "."], "TS_V_token": ["loongarch", "0"], "File": "loongarch1", "Func": "loongarch_legitimize_tls_address", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 871, "Length": 475, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "BPFAbstractMemberAccess", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** Abstract Member Accesses **********\\n\"", ")", ";", "if", "(", "M", ".", "debug_compile_units", "(", ")", ".", "empty", "(", ")", ")", "return", "false", ";", "return", "doTransformation", "(", "M", ")", ";", "}", ""], "natrual_language": ["runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "."], "TS_V_token": ["BPF", "BPF", "\"********** Abstract Member Accesses **********\\n\""], "File": "BPFAbstractMemberAccess20", "Func": "runOnModule", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 872, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RISCVInstrInfo", "::", "insertIndirectBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "&", "DestBB", ",", "const", "DebugLoc", "&", "DL", ",", "int64_t", "BrOffset", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "RS", "&&", "\"RegScavenger required for long branching\"", ")", ";", "assert", "(", "MBB", ".", "empty", "(", ")", "&&", "\"new block should be inserted for expanding unconditional branch\"", ")", ";", "assert", "(", "MBB", ".", "pred_size", "(", ")", "==", "1", ")", ";", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", "->", "getRegInfo", "(", ")", ";", "const", "auto", "&", "TM", "=", "static_cast", "<", "const", "RISCVTargetMachine", "&", ">", "(", "MF", "->", "getTarget", "(", ")", ")", ";", "if", "(", "TM", ".", "isPositionIndependent", "(", ")", ")", "report_fatal_error", "(", "\"Unable to insert indirect branch\"", ")", ";", "if", "(", "!", "isInt", "<", "32", ">", "(", "BrOffset", ")", ")", "report_fatal_error", "(", "\"Branch offsets outside of the signed 32-bit range not supported\"", ")", ";", "unsigned", "ScratchReg", "=", "MRI", ".", "createVirtualRegister", "(", "&", "RISCV", "::", "GPRRegClass", ")", ";", "auto", "II", "=", "MBB", ".", "end", "(", ")", ";", "MachineInstr", "&", "LuiMI", "=", "*", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "get", "(", "RISCV", "::", "LUI", ")", ",", "ScratchReg", ")", ".", "addMBB", "(", "&", "DestBB", ",", "RISCVII", "::", "MO_HI", ")", ";", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "get", "(", "RISCV", "::", "PseudoBRIND", ")", ")", ".", "addReg", "(", "ScratchReg", ",", "RegState", "::", "Kill", ")", ".", "addMBB", "(", "&", "DestBB", ",", "RISCVII", "::", "MO_LO", ")", ";", "RS", "->", "enterBasicBlockEnd", "(", "MBB", ")", ";", "unsigned", "Scav", "=", "RS", "->", "scavengeRegisterBackwards", "(", "RISCV", "::", "GPRRegClass", ",", "MachineBasicBlock", "::", "iterator", "(", "LuiMI", ")", ",", "false", ",", "0", ")", ";", "MRI", ".", "replaceRegWith", "(", "ScratchReg", ",", "Scav", ")", ";", "MRI", ".", "clearVirtRegs", "(", ")", ";", "RS", "->", "setRegUsed", "(", "Scav", ")", ";", "return", "8", ";", "}", ""], "natrual_language": ["Insert", "an", "unconditional", "indirect", "branch", "at", "the", "end", "of", "MBB", "to", "NewDestBB", "."], "TS_V_token": ["RISCV", "RISCV", "\"RegScavenger required for long branching\"", "\"new block should be inserted for expanding unconditional branch\"", "1", "RISCV", "\"Unable to insert indirect branch\"", "32", "\"Branch offsets outside of the signed 32-bit range not supported\"", "RISCV::GPRRegClass", "RISCV::LUI", "RISCVII::MO_HI", "RISCV::PseudoBRIND", "RISCVII::MO_LO", "RISCV::GPRRegClass", "0", "8"], "File": "RISCVInstrInfo", "Func": "insertIndirectBranch", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 873, "Length": 270, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "ARMBaseRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "const", "ARMSubtarget", "&", "STI", "=", "MF", "->", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "bool", "UseSplitPush", "=", "STI", ".", "splitFramePushPop", "(", "*", "MF", ")", ";", "const", "MCPhysReg", "*", "RegList", "=", "STI", ".", "isTargetDarwin", "(", ")", "?", "CSR_iOS_SaveList", ":", "(", "UseSplitPush", "?", "CSR_AAPCS_SplitPush_SaveList", ":", "CSR_AAPCS_SaveList", ")", ";", "const", "Function", "&", "F", "=", "MF", "->", "getFunction", "(", ")", ";", "if", "(", "F", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "GHC", ")", "{", "return", "CSR_NoRegs_SaveList", ";", "}", "else", "if", "(", "F", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "CFGuard_Check", ")", "{", "return", "CSR_Win_AAPCS_CFGuard_Check_SaveList", ";", "}", "else", "if", "(", "F", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "SwiftTail", ")", "{", "return", "STI", ".", "isTargetDarwin", "(", ")", "?", "CSR_iOS_SwiftTail_SaveList", ":", "(", "UseSplitPush", "?", "CSR_AAPCS_SplitPush_SwiftTail_SaveList", ":", "CSR_AAPCS_SwiftTail_SaveList", ")", ";", "}", "else", "if", "(", "F", ".", "hasFnAttribute", "(", "\"interrupt\"", ")", ")", "{", "if", "(", "STI", ".", "isMClass", "(", ")", ")", "{", "return", "UseSplitPush", "?", "CSR_AAPCS_SplitPush_SaveList", ":", "CSR_AAPCS_SaveList", ";", "}", "else", "if", "(", "F", ".", "getFnAttribute", "(", "\"interrupt\"", ")", ".", "getValueAsString", "(", ")", "==", "\"FIQ\"", ")", "{", "return", "CSR_FIQ_SaveList", ";", "}", "else", "{", "return", "CSR_GenericInt_SaveList", ";", "}", "}", "if", "(", "STI", ".", "getTargetLowering", "(", ")", "->", "supportSwiftError", "(", ")", "&&", "F", ".", "getAttributes", "(", ")", ".", "hasAttrSomewhere", "(", "Attribute", "::", "SwiftError", ")", ")", "{", "if", "(", "STI", ".", "isTargetDarwin", "(", ")", ")", "return", "CSR_iOS_SwiftError_SaveList", ";", "return", "UseSplitPush", "?", "CSR_AAPCS_SplitPush_SwiftError_SaveList", ":", "CSR_AAPCS_SwiftError_SaveList", ";", "}", "if", "(", "STI", ".", "isTargetDarwin", "(", ")", "&&", "F", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "CXX_FAST_TLS", ")", "return", "MF", "->", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", "->", "isSplitCSR", "(", ")", "?", "CSR_iOS_CXX_TLS_PE_SaveList", ":", "CSR_iOS_CXX_TLS_SaveList", ";", "return", "RegList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "\"interrupt\"", "\"interrupt\"", "\"FIQ\"", "ARM"], "File": "ARMBaseRegisterInfo", "Func": "getCalleeSavedRegs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 874, "Length": 279, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "unsigned", ">", "AArch64InstrInfo", "::", "decomposeMachineOperandsTargetFlags", "(", "unsigned", "TF", ")", "const", "{", "const", "unsigned", "Mask", "=", "AArch64II", "::", "MO_FRAGMENT", ";", "return", "std", "::", "make_pair", "(", "TF", "&", "Mask", ",", "TF", "&", "~", "Mask", ")", ";", "}", ""], "natrual_language": ["Decompose", "the", "machine", "operand", "'s", "target", "flags", "into", "two", "values", "-", "the", "direct", "target", "flag", "value", "and", "any", "of", "bit", "flags", "that", "are", "applied", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64II::MO_FRAGMENT"], "File": "AArch64InstrInfo (2)", "Func": "decomposeMachineOperandsTargetFlags", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 875, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "ARMTargetLowering", "::", "getRegisterByName", "(", "const", "char", "*", "RegName", ",", "EVT", "VT", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "Register", "Reg", "=", "StringSwitch", "<", "unsigned", ">", "(", "RegName", ")", ".", "Case", "(", "\"sp\"", ",", "ARM", "::", "SP", ")", ".", "Default", "(", "0", ")", ";", "if", "(", "Reg", ")", "return", "Reg", ";", "report_fatal_error", "(", "Twine", "(", "\"Invalid register name \\\"\"", "+", "StringRef", "(", "RegName", ")", "+", "\"\\\".\"", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "register", "ID", "of", "the", "name", "passed", "in", "."], "TS_V_token": ["ARM", "ARM", "\"sp\"", "ARM::SP", "0", "\"Invalid register name \\\"\"", "\"\\\".\""], "File": "ARMISelLowering (2)6", "Func": "getRegisterByName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 876, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsRegisterBankInfo", "::", "applyMappingImpl", "(", "const", "OperandsMapper", "&", "OpdMapper", ")", "const", "{", "MachineInstr", "&", "MI", "=", "OpdMapper", ".", "getMI", "(", ")", ";", "InstListTy", "NewInstrs", ";", "MachineFunction", "*", "MF", "=", "MI", ".", "getMF", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "OpdMapper", ".", "getMRI", "(", ")", ";", "const", "LegalizerInfo", "&", "LegInfo", "=", "*", "MF", "->", "getSubtarget", "(", ")", ".", "getLegalizerInfo", "(", ")", ";", "InstManager", "NewInstrObserver", "(", "NewInstrs", ")", ";", "MachineIRBuilder", "B", "(", "MI", ",", "NewInstrObserver", ")", ";", "LegalizerHelper", "Helper", "(", "*", "MF", ",", "NewInstrObserver", ",", "B", ")", ";", "LegalizationArtifactCombiner", "ArtCombiner", "(", "B", ",", "MF", "->", "getRegInfo", "(", ")", ",", "LegInfo", ")", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "TargetOpcode", "::", "G_LOAD", ":", "case", "TargetOpcode", "::", "G_STORE", ":", "case", "TargetOpcode", "::", "G_PHI", ":", "case", "TargetOpcode", "::", "G_SELECT", ":", "case", "TargetOpcode", "::", "G_IMPLICIT_DEF", ":", "{", "Helper", ".", "narrowScalar", "(", "MI", ",", "0", ",", "LLT", "::", "scalar", "(", "32", ")", ")", ";", "while", "(", "!", "NewInstrs", ".", "empty", "(", ")", ")", "{", "MachineInstr", "*", "NewMI", "=", "NewInstrs", ".", "pop_back_val", "(", ")", ";", "if", "(", "auto", "*", "Unmerge", "=", "dyn_cast", "<", "GUnmerge", ">", "(", "NewMI", ")", ")", "combineAwayG_UNMERGE_VALUES", "(", "ArtCombiner", ",", "*", "Unmerge", ",", "NewInstrObserver", ")", ";", "else", "if", "(", "NewMI", "->", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "G_MERGE_VALUES", ")", "continue", ";", "else", "setRegBank", "(", "*", "NewMI", ",", "MRI", ")", ";", "}", "return", ";", "}", "case", "TargetOpcode", "::", "G_UNMERGE_VALUES", ":", "combineAwayG_UNMERGE_VALUES", "(", "ArtCombiner", ",", "cast", "<", "GUnmerge", ">", "(", "MI", ")", ",", "NewInstrObserver", ")", ";", "return", ";", "default", ":", "break", ";", "}", "return", "applyDefaultMapping", "(", "OpdMapper", ")", ";", "}", ""], "natrual_language": ["See", "RegisterBankInfo", ":", ":applyMapping", "."], "TS_V_token": ["Mips", "Mips", "0", "32"], "File": "MipsRegisterBankInfo10", "Func": "applyMappingImpl", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 877, "Length": 257, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "RISCVTargetLowering", "::", "getExceptionPointerRegister", "(", "const", "Constant", "*", "PersonalityFn", ")", "const", "{", "return", "RISCV", "::", "X10", ";", "}", ""], "natrual_language": ["If", "a", "physical", "register", ",", "this", "returns", "the", "register", "that", "receives", "the", "exception", "address", "on", "entry", "to", "an", "EH", "pad", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::X10"], "File": "RISCVISelLowering1", "Func": "getExceptionPointerRegister", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 878, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "microblaze_block_move_straight", "(", "rtx", "dest", ",", "rtx", "src", ",", "HOST_WIDE_INT", "length", ")", "{", "HOST_WIDE_INT", "offset", ",", "delta", ";", "unsigned", "HOST_WIDE_INT", "bits", ";", "int", "i", ";", "machine_mode", "mode", ";", "rtx", "*", "regs", ";", "bits", "=", "BITS_PER_WORD", ";", "mode", "=", "int_mode_for_size", "(", "bits", ",", "0", ")", ".", "require", "(", ")", ";", "delta", "=", "bits", "/", "BITS_PER_UNIT", ";", "regs", "=", "XALLOCAVEC", "(", "rtx", ",", "length", "/", "delta", ")", ";", "for", "(", "offset", "=", "0", ",", "i", "=", "0", ";", "offset", "+", "delta", "<=", "length", ";", "offset", "+=", "delta", ",", "i", "++", ")", "{", "regs", "[", "i", "]", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_move_insn", "(", "regs", "[", "i", "]", ",", "adjust_address", "(", "src", ",", "mode", ",", "offset", ")", ")", ";", "}", "for", "(", "offset", "=", "0", ",", "i", "=", "0", ";", "offset", "+", "delta", "<=", "length", ";", "offset", "+=", "delta", ",", "i", "++", ")", "emit_move_insn", "(", "adjust_address", "(", "dest", ",", "mode", ",", "offset", ")", ",", "regs", "[", "i", "]", ")", ";", "if", "(", "offset", "<", "length", ")", "{", "src", "=", "adjust_address", "(", "src", ",", "BLKmode", ",", "offset", ")", ";", "dest", "=", "adjust_address", "(", "dest", ",", "BLKmode", ",", "offset", ")", ";", "move_by_pieces", "(", "dest", ",", "src", ",", "length", "-", "offset", ",", "MIN", "(", "MEM_ALIGN", "(", "src", ")", ",", "MEM_ALIGN", "(", "dest", ")", ")", ",", "RETURN_BEGIN", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "straight-line", "code", "to", "move", "LENGTH", "bytes", "from", "SRC", "to", "DEST", ".", "Assume", "that", "the", "areas", "do", "not", "overlap", "."], "TS_V_token": ["microblaze", "0", "0", "0", "0", "0"], "File": "microblaze", "Func": "microblaze_block_move_straight", "Target": "microblaze", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 879, "Length": 216, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "create_TOC_reference", "(", "rtx", "symbol", ",", "rtx", "largetoc_reg", ")", "{", "rtx", "tocrel", ",", "tocreg", ",", "hi", ";", "if", "(", "TARGET_DEBUG_ADDR", ")", "{", "if", "(", "GET_CODE", "(", "symbol", ")", "==", "SYMBOL_REF", ")", "fprintf", "(", "stderr", ",", "\"\\ncreate_TOC_reference, (symbol_ref %s)\\n\"", ",", "XSTR", "(", "symbol", ",", "0", ")", ")", ";", "else", "{", "fprintf", "(", "stderr", ",", "\"\\ncreate_TOC_reference, code %s:\\n\"", ",", "GET_RTX_NAME", "(", "GET_CODE", "(", "symbol", ")", ")", ")", ";", "debug_rtx", "(", "symbol", ")", ";", "}", "}", "if", "(", "!", "can_create_pseudo_p", "(", ")", ")", "df_set_regs_ever_live", "(", "TOC_REGISTER", ",", "true", ")", ";", "tocreg", "=", "gen_rtx_REG", "(", "Pmode", ",", "TOC_REGISTER", ")", ";", "tocrel", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "2", ",", "symbol", ",", "tocreg", ")", ",", "UNSPEC_TOCREL", ")", ";", "if", "(", "TARGET_CMODEL", "==", "CMODEL_SMALL", "||", "can_create_pseudo_p", "(", ")", ")", "return", "tocrel", ";", "hi", "=", "gen_rtx_HIGH", "(", "Pmode", ",", "copy_rtx", "(", "tocrel", ")", ")", ";", "if", "(", "largetoc_reg", "!=", "NULL", ")", "{", "emit_move_insn", "(", "largetoc_reg", ",", "hi", ")", ";", "hi", "=", "largetoc_reg", ";", "}", "return", "gen_rtx_LO_SUM", "(", "Pmode", ",", "hi", ",", "tocrel", ")", ";", "}", ""], "natrual_language": ["Create", "a", "TOC", "reference", "for", "symbol_ref", "SYMBOL", ".", "If", "LARGETOC_REG", "is", "non-null", ",", "use", "that", "as", "the", "register", "to", "put", "the", "HIGH", "value", "into", "if", "register", "allocation", "is", "already", "done", "."], "TS_V_token": ["powerpcspe", "\"\\ncreate_TOC_reference, (symbol_ref %s)\\n\"", "0", "\"\\ncreate_TOC_reference, code %s:\\n\"", "2"], "File": "powerpcspe", "Func": "create_TOC_reference", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 880, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "function_checker", "::", "argument_exists_p", "(", "unsigned", "int", "argno", ")", "{", "gcc_assert", "(", "argno", "<", "(", "unsigned", "int", ")", "type_num_arguments", "(", "m_fntype", ")", ")", ";", "return", "argno", "<", "m_nargs", ";", "}", ""], "natrual_language": ["Return", "true", "if", "argument", "ARGNO", "exists", ".", "which", "it", "might", "not", "for", "erroneous", "calls", ".", "It", "is", "safe", "to", "wave", "through", "checks", "if", "this", "function", "returns", "false", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "argument_exists_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 881, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "DestReg", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "SIMachineFunctionInfo", "*", "MFI", "=", "MF", "->", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "MachineFrameInfo", "*", "FrameInfo", "=", "MF", "->", "getFrameInfo", "(", ")", ";", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "int", "Opcode", "=", "-", "1", ";", "if", "(", "RI", ".", "isSGPRClass", "(", "RC", ")", ")", "{", "switch", "(", "RC", "->", "getSize", "(", ")", "*", "8", ")", "{", "case", "32", ":", "Opcode", "=", "AMDGPU", "::", "SI_SPILL_S32_RESTORE", ";", "break", ";", "case", "64", ":", "Opcode", "=", "AMDGPU", "::", "SI_SPILL_S64_RESTORE", ";", "break", ";", "case", "128", ":", "Opcode", "=", "AMDGPU", "::", "SI_SPILL_S128_RESTORE", ";", "break", ";", "case", "256", ":", "Opcode", "=", "AMDGPU", "::", "SI_SPILL_S256_RESTORE", ";", "break", ";", "case", "512", ":", "Opcode", "=", "AMDGPU", "::", "SI_SPILL_S512_RESTORE", ";", "break", ";", "}", "}", "else", "if", "(", "RI", ".", "hasVGPRs", "(", "RC", ")", "&&", "ST", ".", "isVGPRSpillingEnabled", "(", "MFI", ")", ")", "{", "switch", "(", "RC", "->", "getSize", "(", ")", "*", "8", ")", "{", "case", "32", ":", "Opcode", "=", "AMDGPU", "::", "SI_SPILL_V32_RESTORE", ";", "break", ";", "case", "64", ":", "Opcode", "=", "AMDGPU", "::", "SI_SPILL_V64_RESTORE", ";", "break", ";", "case", "96", ":", "Opcode", "=", "AMDGPU", "::", "SI_SPILL_V96_RESTORE", ";", "break", ";", "case", "128", ":", "Opcode", "=", "AMDGPU", "::", "SI_SPILL_V128_RESTORE", ";", "break", ";", "case", "256", ":", "Opcode", "=", "AMDGPU", "::", "SI_SPILL_V256_RESTORE", ";", "break", ";", "case", "512", ":", "Opcode", "=", "AMDGPU", "::", "SI_SPILL_V512_RESTORE", ";", "break", ";", "}", "}", "if", "(", "Opcode", "!=", "-", "1", ")", "{", "unsigned", "Align", "=", "4", ";", "FrameInfo", "->", "setObjectAlignment", "(", "FrameIndex", ",", "Align", ")", ";", "unsigned", "Size", "=", "FrameInfo", "->", "getObjectSize", "(", "FrameIndex", ")", ";", "MachinePointerInfo", "PtrInfo", "=", "MachinePointerInfo", "::", "getFixedStack", "(", "*", "MF", ",", "FrameIndex", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", "->", "getMachineMemOperand", "(", "PtrInfo", ",", "MachineMemOperand", "::", "MOLoad", ",", "Size", ",", "Align", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opcode", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addReg", "(", "AMDGPU", "::", "SGPR0_SGPR1_SGPR2_SGPR3", ",", "RegState", "::", "Undef", ")", ".", "addReg", "(", "AMDGPU", "::", "SGPR0", ",", "RegState", "::", "Undef", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", "else", "{", "LLVMContext", "&", "Ctx", "=", "MF", "->", "getFunction", "(", ")", "->", "getContext", "(", ")", ";", "Ctx", ".", "emitError", "(", "\"SIInstrInfo::loadRegFromStackSlot - Do not know how to\"", "\" restore register\"", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "AMDGPU", "::", "IMPLICIT_DEF", ")", ",", "DestReg", ")", ";", "}", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "1", "8", "32", "AMDGPU::SI_SPILL_S32_RESTORE", "64", "AMDGPU::SI_SPILL_S64_RESTORE", "128", "AMDGPU::SI_SPILL_S128_RESTORE", "256", "AMDGPU::SI_SPILL_S256_RESTORE", "512", "AMDGPU::SI_SPILL_S512_RESTORE", "8", "32", "AMDGPU::SI_SPILL_V32_RESTORE", "64", "AMDGPU::SI_SPILL_V64_RESTORE", "96", "AMDGPU::SI_SPILL_V96_RESTORE", "128", "AMDGPU::SI_SPILL_V128_RESTORE", "256", "AMDGPU::SI_SPILL_V256_RESTORE", "512", "AMDGPU::SI_SPILL_V512_RESTORE", "1", "4", "AMDGPU::SGPR0_SGPR1_SGPR2_SGPR3", "AMDGPU::SGPR0", "\"SIInstrInfo::loadRegFromStackSlot - Do not know how to\"", "\" restore register\"", "AMDGPU::IMPLICIT_DEF"], "File": "SIInstrInfo", "Func": "loadRegFromStackSlot", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 882, "Length": 414, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsSEInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "unsigned", "Opc", "=", "MI", "->", "getOpcode", "(", ")", ";", "if", "(", "(", "Opc", "==", "Mips", "::", "SW", ")", "||", "(", "Opc", "==", "Mips", "::", "SW_P8", ")", "||", "(", "Opc", "==", "Mips", "::", "SD", ")", "||", "(", "Opc", "==", "Mips", "::", "SD_P8", ")", "||", "(", "Opc", "==", "Mips", "::", "SWC1", ")", "||", "(", "Opc", "==", "Mips", "::", "SWC1_P8", ")", "||", "(", "Opc", "==", "Mips", "::", "SDC1", ")", "||", "(", "Opc", "==", "Mips", "::", "SDC164", ")", "||", "(", "Opc", "==", "Mips", "::", "SDC164_P8", ")", ")", "{", "if", "(", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "isFI", "(", ")", ")", "&&", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", ")", "&&", "(", "isZeroImm", "(", "MI", "->", "getOperand", "(", "2", ")", ")", ")", ")", "{", "FrameIndex", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getIndex", "(", ")", ";", "return", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["isStoreToStackSlot", "-", "If", "the", "specified", "machine", "instruction", "is", "a", "direct", "store", "to", "a", "stack", "slot", ",", "return", "the", "virtual", "or", "physical", "register", "number", "of", "the", "source", "reg", "along", "with", "the", "FrameIndex", "of", "the", "loaded", "stack", "slot", "."], "TS_V_token": ["Mips", "Mips", "Mips::SW", "Mips::SW_P8", "Mips::SD", "Mips::SD_P8", "Mips::SWC1", "Mips::SWC1_P8", "Mips::SDC1", "Mips::SDC164", "Mips::SDC164_P8", "1", "2", "2", "1", "0", "0"], "File": "MipsSEInstrInfo1", "Func": "isStoreToStackSlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 883, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AnalyzeCallOperands", "(", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "CCAssignFn", "Fn", ",", "std", "::", "vector", "<", "TargetLowering", "::", "ArgListEntry", ">", "&", "FuncArgs", ",", "const", "char", "*", "Func", ")", "{", "PreAnalyzeCallOperands", "(", "Outs", ",", "Fn", ",", "FuncArgs", ",", "Func", ")", ";", "CCState", "::", "AnalyzeCallOperands", "(", "Outs", ",", "Fn", ")", ";", "}", ""], "natrual_language": ["AnalyzeCallOperands", "-", "Same", "as", "above", "except", "it", "takes", "vectors", "of", "types", "and", "argument", "flags", "."], "TS_V_token": ["Mips", "ISD::OutputArg"], "File": "MipsCCState8", "Func": "AnalyzeCallOperands", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 884, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "isProfitableToIfCvt", "(", "MachineBasicBlock", "&", "MBB", ",", "unsigned", "NumCycles", ",", "unsigned", "ExtraPredCycles", ",", "BranchProbability", "Probability", ")", "const", "{", "if", "(", "MBB", ".", "succ_empty", "(", ")", "&&", "Probability", "<", "BranchProbability", "(", "1", ",", "8", ")", ")", "return", "false", ";", "return", "NumCycles", "==", "1", ";", "}", ""], "natrual_language": ["Second", "variant", "of", "isProfitableToIfCvt", "."], "TS_V_token": ["SystemZ", "SystemZ", "1", "8", "1"], "File": "SystemZInstrInfo49", "Func": "isProfitableToIfCvt", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 885, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLoweringBase", "::", "LegalizeTypeAction", "NVPTXTargetLowering", "::", "getPreferredVectorAction", "(", "MVT", "VT", ")", "const", "{", "if", "(", "VT", ".", "getVectorNumElements", "(", ")", "!=", "1", "&&", "VT", ".", "getScalarType", "(", ")", "==", "MVT", "::", "i1", ")", "return", "TypeSplitVector", ";", "if", "(", "VT", "==", "MVT", "::", "v2f16", ")", "return", "TypeLegal", ";", "return", "TargetLoweringBase", "::", "getPreferredVectorAction", "(", "VT", ")", ";", "}", ""], "natrual_language": ["Customize", "the", "preferred", "legalization", "strategy", "for", "certain", "types", "."], "TS_V_token": ["NVPTX", "NVPTX", "1", "MVT::i1", "MVT::v2f16"], "File": "NVPTXISelLowering (2)2", "Func": "getPreferredVectorAction", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 886, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "HexagonMCInst", "::", "getMaxValue", "(", "void", ")", "const", "{", "const", "uint64_t", "F", "=", "MCID", "->", "TSFlags", ";", "unsigned", "isSigned", "=", "(", "F", ">>", "HexagonII", "::", "ExtentSignedPos", ")", "&", "HexagonII", "::", "ExtentSignedMask", ";", "unsigned", "bits", "=", "(", "F", ">>", "HexagonII", "::", "ExtentBitsPos", ")", "&", "HexagonII", "::", "ExtentBitsMask", ";", "if", "(", "isSigned", ")", "return", "~", "(", "-", "1U", "<<", "(", "bits", "-", "1", ")", ")", ";", "else", "return", "~", "(", "-", "1U", "<<", "bits", ")", ";", "}", ""], "natrual_language": ["Return", "the", "maximal", "unsigned", "value", "possible", "given", "these", "KnownBits", "."], "TS_V_token": ["Hexagon", "Hexagon", "HexagonII::ExtentSignedPos", "HexagonII::ExtentSignedMask", "HexagonII::ExtentBitsPos", "HexagonII::ExtentBitsMask", "1U", "1", "1U"], "File": "HexagonMCInst2", "Func": "getMaxValue", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 887, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "m68k_can_eliminate", "(", "const", "int", "from", "ATTRIBUTE_UNUSED", ",", "const", "int", "to", ")", "{", "return", "(", "to", "==", "STACK_POINTER_REGNUM", "?", "!", "frame_pointer_needed", ":", "true", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_CAN_ELIMINATE", "."], "TS_V_token": ["m68k"], "File": "m68k", "Func": "m68k_can_eliminate", "Target": "m68k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 888, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonPassConfig", "::", "addPostRegAlloc", "(", ")", "{", "addPass", "(", "createHexagonCFGOptimizer", "(", "getHexagonTargetMachine", "(", ")", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "after", "register", "allocation", "pass", "pipeline", "but", "before", "prolog-epilog", "insertion", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "Hexagon"], "File": "HexagonTargetMachine22", "Func": "addPostRegAlloc", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 889, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstructionSelector", "::", "select", "(", "MachineInstr", "&", "I", ",", "CodeGenCoverage", "&", "CoverageInfo", ")", "const", "{", "assert", "(", "I", ".", "getParent", "(", ")", "&&", "\"Instruction should be in a basic block!\"", ")", ";", "assert", "(", "I", ".", "getParent", "(", ")", "->", "getParent", "(", ")", "&&", "\"Instruction should be in a function!\"", ")", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "I", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "unsigned", "Opcode", "=", "I", ".", "getOpcode", "(", ")", ";", "if", "(", "!", "isPreISelGenericOpcode", "(", "Opcode", ")", ")", "{", "if", "(", "Opcode", "==", "TargetOpcode", "::", "LOAD_STACK_GUARD", ")", "return", "false", ";", "if", "(", "I", ".", "isCopy", "(", ")", ")", "return", "selectCopy", "(", "I", ",", "MRI", ")", ";", "return", "true", ";", "}", "assert", "(", "I", ".", "getNumOperands", "(", ")", "==", "I", ".", "getNumExplicitOperands", "(", ")", "&&", "\"Generic instruction has unexpected implicit operands\\n\"", ")", ";", "if", "(", "selectImpl", "(", "I", ",", "CoverageInfo", ")", ")", "return", "true", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\" C++ instruction selection: \"", ";", "I", ".", "print", "(", "dbgs", "(", ")", ")", ")", ";", "switch", "(", "I", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "TargetOpcode", "::", "G_STORE", ":", "case", "TargetOpcode", "::", "G_LOAD", ":", "return", "selectLoadStoreOp", "(", "I", ",", "MRI", ",", "MF", ")", ";", "case", "TargetOpcode", "::", "G_GEP", ":", "case", "TargetOpcode", "::", "G_FRAME_INDEX", ":", "return", "selectFrameIndexOrGep", "(", "I", ",", "MRI", ",", "MF", ")", ";", "case", "TargetOpcode", "::", "G_GLOBAL_VALUE", ":", "return", "selectGlobalValue", "(", "I", ",", "MRI", ",", "MF", ")", ";", "case", "TargetOpcode", "::", "G_CONSTANT", ":", "return", "selectConstant", "(", "I", ",", "MRI", ",", "MF", ")", ";", "case", "TargetOpcode", "::", "G_FCONSTANT", ":", "return", "materializeFP", "(", "I", ",", "MRI", ",", "MF", ")", ";", "case", "TargetOpcode", "::", "G_PTRTOINT", ":", "case", "TargetOpcode", "::", "G_TRUNC", ":", "return", "selectTruncOrPtrToInt", "(", "I", ",", "MRI", ",", "MF", ")", ";", "case", "TargetOpcode", "::", "G_INTTOPTR", ":", "return", "selectCopy", "(", "I", ",", "MRI", ")", ";", "case", "TargetOpcode", "::", "G_ZEXT", ":", "return", "selectZext", "(", "I", ",", "MRI", ",", "MF", ")", ";", "case", "TargetOpcode", "::", "G_ANYEXT", ":", "return", "selectAnyext", "(", "I", ",", "MRI", ",", "MF", ")", ";", "case", "TargetOpcode", "::", "G_ICMP", ":", "return", "selectCmp", "(", "I", ",", "MRI", ",", "MF", ")", ";", "case", "TargetOpcode", "::", "G_UADDE", ":", "return", "selectUadde", "(", "I", ",", "MRI", ",", "MF", ")", ";", "case", "TargetOpcode", "::", "G_UNMERGE_VALUES", ":", "return", "selectUnmergeValues", "(", "I", ",", "MRI", ",", "MF", ",", "CoverageInfo", ")", ";", "case", "TargetOpcode", "::", "G_MERGE_VALUES", ":", "return", "selectMergeValues", "(", "I", ",", "MRI", ",", "MF", ",", "CoverageInfo", ")", ";", "case", "TargetOpcode", "::", "G_EXTRACT", ":", "return", "selectExtract", "(", "I", ",", "MRI", ",", "MF", ")", ";", "case", "TargetOpcode", "::", "G_INSERT", ":", "return", "selectInsert", "(", "I", ",", "MRI", ",", "MF", ")", ";", "case", "TargetOpcode", "::", "G_BRCOND", ":", "return", "selectCondBranch", "(", "I", ",", "MRI", ",", "MF", ")", ";", "case", "TargetOpcode", "::", "G_IMPLICIT_DEF", ":", "case", "TargetOpcode", "::", "G_PHI", ":", "return", "selectImplicitDefOrPHI", "(", "I", ",", "MRI", ")", ";", "case", "TargetOpcode", "::", "G_SHL", ":", "case", "TargetOpcode", "::", "G_ASHR", ":", "case", "TargetOpcode", "::", "G_LSHR", ":", "return", "selectShift", "(", "I", ",", "MRI", ",", "MF", ")", ";", "case", "TargetOpcode", "::", "G_SDIV", ":", "return", "selectSDiv", "(", "I", ",", "MRI", ",", "MF", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Select", "the", "(", "possibly", "generic", ")", "instruction", "I", "to", "only", "use", "target-specific", "opcodes", "."], "TS_V_token": ["X86", "X86", "\"Instruction should be in a basic block!\"", "\"Instruction should be in a function!\"", "\"Generic instruction has unexpected implicit operands\\n\"", "\" C++ instruction selection: \""], "File": "X86InstructionSelector11", "Func": "select", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 890, "Length": 503, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb1InstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "assert", "(", "(", "RC", "==", "ARM", "::", "tGPRRegisterClass", "||", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "SrcReg", ")", "&&", "isARMLowRegister", "(", "SrcReg", ")", ")", ")", "&&", "\"Unknown regclass!\"", ")", ";", "if", "(", "RC", "==", "ARM", "::", "tGPRRegisterClass", "||", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "SrcReg", ")", "&&", "isARMLowRegister", "(", "SrcReg", ")", ")", ")", "{", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "*", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "FI", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ")", ";", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "tSTRspi", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ")", ";", "}", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["ARM", "ARM::tGPRRegisterClass", "ARM", "\"Unknown regclass!\"", "ARM::tGPRRegisterClass", "ARM", "ARM::tSTRspi", "0"], "File": "Thumb1InstrInfo4", "Func": "storeRegToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 891, "Length": 208, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMLowOverheadLoops", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "mf", ")", "{", "const", "ARMSubtarget", "&", "ST", "=", "static_cast", "<", "const", "ARMSubtarget", "&", ">", "(", "mf", ".", "getSubtarget", "(", ")", ")", ";", "if", "(", "!", "ST", ".", "hasLOB", "(", ")", ")", "return", "false", ";", "MF", "=", "&", "mf", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"ARM Loops on \"", "<<", "MF", "->", "getName", "(", ")", "<<", "\" ------------- \\n\"", ")", ";", "MLI", "=", "&", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "RDA", "=", "&", "getAnalysis", "<", "ReachingDefAnalysis", ">", "(", ")", ";", "MF", "->", "getProperties", "(", ")", ".", "set", "(", "MachineFunctionProperties", "::", "Property", "::", "TracksLiveness", ")", ";", "MRI", "=", "&", "MF", "->", "getRegInfo", "(", ")", ";", "TII", "=", "static_cast", "<", "const", "ARMBaseInstrInfo", "*", ">", "(", "ST", ".", "getInstrInfo", "(", ")", ")", ";", "BBUtils", "=", "std", "::", "unique_ptr", "<", "ARMBasicBlockUtils", ">", "(", "new", "ARMBasicBlockUtils", "(", "*", "MF", ")", ")", ";", "BBUtils", "->", "computeAllBlockSizes", "(", ")", ";", "BBUtils", "->", "adjustBBOffsetsAfter", "(", "&", "MF", "->", "front", "(", ")", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "ML", ":", "*", "MLI", ")", "{", "if", "(", "!", "ML", "->", "getParentLoop", "(", ")", ")", "Changed", "|=", "ProcessLoop", "(", "ML", ")", ";", "}", "Changed", "|=", "RevertNonLoops", "(", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "\"ARM Loops on \"", "\" ------------- \\n\"", "ARM", "ARM", "ARM"], "File": "ARMLowOverheadLoops38", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 892, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "::", "HazardType", "HexagonHazardRecognizer", "::", "getHazardType", "(", "SUnit", "*", "SU", ",", "int", "stalls", ")", "{", "MachineInstr", "*", "MI", "=", "SU", "->", "getInstr", "(", ")", ";", "if", "(", "!", "MI", "||", "TII", "->", "isZeroCost", "(", "MI", "->", "getOpcode", "(", ")", ")", ")", "return", "NoHazard", ";", "if", "(", "!", "Resources", "->", "canReserveResources", "(", "*", "MI", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"*** Hazard in cycle \"", "<<", "PacketNum", "<<", "\", \"", "<<", "*", "MI", ")", ";", "HazardType", "RetVal", "=", "Hazard", ";", "if", "(", "TII", "->", "mayBeNewStore", "(", "*", "MI", ")", ")", "{", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "MI", "->", "getNumOperands", "(", ")", "-", "1", ")", ";", "if", "(", "!", "MO", ".", "isReg", "(", ")", "||", "RegDefs", ".", "count", "(", "MO", ".", "getReg", "(", ")", ")", "==", "0", ")", "return", "Hazard", ";", "MachineFunction", "*", "MF", "=", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "MachineInstr", "*", "NewMI", "=", "MF", "->", "CreateMachineInstr", "(", "TII", "->", "get", "(", "TII", "->", "getDotNewOp", "(", "*", "MI", ")", ")", ",", "MI", "->", "getDebugLoc", "(", ")", ")", ";", "if", "(", "Resources", "->", "canReserveResources", "(", "*", "NewMI", ")", ")", "RetVal", "=", "NoHazard", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"*** Try .new version? \"", "<<", "(", "RetVal", "==", "NoHazard", ")", "<<", "\"\\n\"", ")", ";", "MF", "->", "deleteMachineInstr", "(", "NewMI", ")", ";", "}", "return", "RetVal", ";", "}", "if", "(", "SU", "==", "UsesDotCur", "&&", "DotCurPNum", "!=", "(", "int", ")", "PacketNum", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"*** .cur Hazard in cycle \"", "<<", "PacketNum", "<<", "\", \"", "<<", "*", "MI", ")", ";", "return", "Hazard", ";", "}", "return", "NoHazard", ";", "}", ""], "natrual_language": ["getHazardType", "-", "Return", "the", "hazard", "type", "of", "emitting", "this", "node", "."], "TS_V_token": ["Hexagon", "Hexagon", "\"*** Hazard in cycle \"", "\", \"", "1", "0", "\"*** Try .new version? \"", "\"\\n\"", "\"*** .cur Hazard in cycle \"", "\", \""], "File": "HexagonHazardRecognizer9", "Func": "getHazardType", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 893, "Length": 253, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "AArch64", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["AArch64", "AArch64::NumTargetFixupKinds"], "File": "AArch64AsmBackend (2)", "Func": "getNumFixupKinds", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 894, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "getOpcodeAfterMemoryUnfold", "(", "unsigned", "Opc", ",", "bool", "UnfoldLoad", ",", "bool", "UnfoldStore", ")", "const", "{", "DenseMap", "<", "unsigned", "*", ",", "std", "::", "pair", "<", "unsigned", ",", "unsigned", ">", ">", "::", "iterator", "I", "=", "MemOp2RegOpTable", ".", "find", "(", "(", "unsigned", "*", ")", "Opc", ")", ";", "if", "(", "I", "==", "MemOp2RegOpTable", ".", "end", "(", ")", ")", "return", "0", ";", "bool", "FoldedLoad", "=", "I", "->", "second", ".", "second", "&", "(", "1", "<<", "4", ")", ";", "bool", "FoldedStore", "=", "I", "->", "second", ".", "second", "&", "(", "1", "<<", "5", ")", ";", "if", "(", "UnfoldLoad", "&&", "!", "FoldedLoad", ")", "return", "0", ";", "if", "(", "UnfoldStore", "&&", "!", "FoldedStore", ")", "return", "0", ";", "return", "I", "->", "second", ".", "first", ";", "}", ""], "natrual_language": ["getOpcodeAfterMemoryUnfold", "-", "Returns", "the", "opcode", "of", "the", "would", "be", "new", "instruction", "after", "load", "/", "store", "are", "unfolded", "from", "an", "instruction", "of", "the", "specified", "opcode", "."], "TS_V_token": ["X86", "X86", "0", "1", "4", "1", "5", "0", "0"], "File": "X86InstrInfo101", "Func": "getOpcodeAfterMemoryUnfold", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 895, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "unsigned", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "llvm_unreachable", "(", "\"PTX does not have a frame register\"", ")", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["PTX", "\"PTX does not have a frame register\""], "File": "PTXRegisterInfo", "Func": "getFrameRegister", "Target": "PTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 896, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_emit_vector_compare", "(", "enum", "rtx_code", "rcode", ",", "rtx", "op0", ",", "rtx", "op1", ",", "machine_mode", "dmode", ")", "{", "rtx", "mask", ";", "bool", "swap_operands", "=", "false", ";", "bool", "try_again", "=", "false", ";", "gcc_assert", "(", "VECTOR_UNIT_ALTIVEC_OR_VSX_P", "(", "dmode", ")", ")", ";", "gcc_assert", "(", "GET_MODE", "(", "op0", ")", "==", "GET_MODE", "(", "op1", ")", ")", ";", "mask", "=", "rs6000_emit_vector_compare_inner", "(", "rcode", ",", "op0", ",", "op1", ")", ";", "if", "(", "mask", ")", "return", "mask", ";", "switch", "(", "rcode", ")", "{", "case", "LT", ":", "rcode", "=", "GT", ";", "swap_operands", "=", "true", ";", "try_again", "=", "true", ";", "break", ";", "case", "LTU", ":", "rcode", "=", "GTU", ";", "swap_operands", "=", "true", ";", "try_again", "=", "true", ";", "break", ";", "case", "NE", ":", "case", "UNLE", ":", "case", "UNLT", ":", "case", "UNGE", ":", "case", "UNGT", ":", "{", "enum", "rtx_code", "rev_code", ";", "enum", "insn_code", "nor_code", ";", "rtx", "mask2", ";", "rev_code", "=", "reverse_condition_maybe_unordered", "(", "rcode", ")", ";", "if", "(", "rev_code", "==", "UNKNOWN", ")", "return", "NULL_RTX", ";", "nor_code", "=", "optab_handler", "(", "one_cmpl_optab", ",", "dmode", ")", ";", "if", "(", "nor_code", "==", "CODE_FOR_nothing", ")", "return", "NULL_RTX", ";", "mask2", "=", "rs6000_emit_vector_compare", "(", "rev_code", ",", "op0", ",", "op1", ",", "dmode", ")", ";", "if", "(", "!", "mask2", ")", "return", "NULL_RTX", ";", "mask", "=", "gen_reg_rtx", "(", "dmode", ")", ";", "emit_insn", "(", "GEN_FCN", "(", "nor_code", ")", "(", "mask", ",", "mask2", ")", ")", ";", "return", "mask", ";", "}", "break", ";", "case", "GE", ":", "case", "GEU", ":", "case", "LE", ":", "case", "LEU", ":", "{", "rtx", "c_rtx", ",", "eq_rtx", ";", "enum", "insn_code", "ior_code", ";", "enum", "rtx_code", "new_code", ";", "switch", "(", "rcode", ")", "{", "case", "GE", ":", "new_code", "=", "GT", ";", "break", ";", "case", "GEU", ":", "new_code", "=", "GTU", ";", "break", ";", "case", "LE", ":", "new_code", "=", "LT", ";", "break", ";", "case", "LEU", ":", "new_code", "=", "LTU", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "ior_code", "=", "optab_handler", "(", "ior_optab", ",", "dmode", ")", ";", "if", "(", "ior_code", "==", "CODE_FOR_nothing", ")", "return", "NULL_RTX", ";", "c_rtx", "=", "rs6000_emit_vector_compare", "(", "new_code", ",", "op0", ",", "op1", ",", "dmode", ")", ";", "if", "(", "!", "c_rtx", ")", "return", "NULL_RTX", ";", "eq_rtx", "=", "rs6000_emit_vector_compare", "(", "EQ", ",", "op0", ",", "op1", ",", "dmode", ")", ";", "if", "(", "!", "eq_rtx", ")", "return", "NULL_RTX", ";", "mask", "=", "gen_reg_rtx", "(", "dmode", ")", ";", "emit_insn", "(", "GEN_FCN", "(", "ior_code", ")", "(", "mask", ",", "c_rtx", ",", "eq_rtx", ")", ")", ";", "return", "mask", ";", "}", "break", ";", "default", ":", "return", "NULL_RTX", ";", "}", "if", "(", "try_again", ")", "{", "if", "(", "swap_operands", ")", "std", "::", "swap", "(", "op0", ",", "op1", ")", ";", "mask", "=", "rs6000_emit_vector_compare_inner", "(", "rcode", ",", "op0", ",", "op1", ")", ";", "if", "(", "mask", ")", "return", "mask", ";", "}", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Emit", "vector", "compare", "for", "operands", "OP0", "and", "OP1", "using", "code", "RCODE", ".", "DMODE", "is", "expected", "destination", "mode", ".", "This", "is", "a", "recursive", "function", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_emit_vector_compare", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 897, "Length": 426, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVRegisterInfo", "::", "hasReservedSpillSlot", "(", "const", "MachineFunction", "&", "MF", ",", "Register", "Reg", ",", "int", "&", "FrameIdx", ")", "const", "{", "const", "auto", "*", "RVFI", "=", "MF", ".", "getInfo", "<", "RISCVMachineFunctionInfo", ">", "(", ")", ";", "if", "(", "!", "RVFI", "->", "useSaveRestoreLibCalls", "(", "MF", ")", ")", "return", "false", ";", "auto", "FII", "=", "FixedCSRFIMap", ".", "find", "(", "Reg", ")", ";", "if", "(", "FII", "==", "FixedCSRFIMap", ".", "end", "(", ")", ")", "return", "false", ";", "FrameIdx", "=", "FII", "->", "second", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "target", "has", "reserved", "a", "spill", "slot", "in", "the", "stack", "frame", "of", "the", "given", "function", "for", "the", "specified", "register", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV"], "File": "RISCVRegisterInfo1", "Func": "hasReservedSpillSlot", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 898, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getReg", "(", ")", "const", "{", "assert", "(", "isReg", "(", ")", "&&", "\"Wrong CountValue accessor\"", ")", ";", "return", "Contents", ".", "R", ".", "Reg", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "associated", "with", "this", "edge", "."], "TS_V_token": ["RI5CY", "\"Wrong CountValue accessor\""], "File": "PULPHardwareLoops", "Func": "getReg", "Target": "RI5CY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 899, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "shouldLocalize", "(", "const", "MachineInstr", "&", "MI", ",", "const", "TargetTransformInfo", "*", "TTI", ")", "const", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "G_GLOBAL_VALUE", ")", "{", "const", "GlobalValue", "&", "GV", "=", "*", "MI", ".", "getOperand", "(", "1", ")", ".", "getGlobal", "(", ")", ";", "if", "(", "GV", ".", "isThreadLocal", "(", ")", "&&", "Subtarget", "->", "isTargetMachO", "(", ")", ")", "return", "false", ";", "}", "return", "TargetLoweringBase", "::", "shouldLocalize", "(", "MI", ",", "TTI", ")", ";", "}", ""], "natrual_language": ["Check", "whether", "or", "not", "MI", "needs", "to", "be", "moved", "close", "to", "its", "uses", "."], "TS_V_token": ["AArch64", "AArch64", "1"], "File": "AArch64ISelLowering154", "Func": "shouldLocalize", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 900, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_emit_save_regs", "(", "void", ")", "{", "unsigned", "int", "regno", ";", "rtx", "insn", ";", "for", "(", "regno", "=", "FIRST_PSEUDO_REGISTER", ";", "regno", "--", ">", "0", ";", ")", "if", "(", "ix86_save_reg", "(", "regno", ",", "true", ")", ")", "{", "insn", "=", "emit_insn", "(", "gen_push", "(", "gen_rtx_REG", "(", "Pmode", ",", "regno", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "}", ""], "natrual_language": ["Emit", "code", "to", "save", "registers", "in", "the", "prologue", "."], "TS_V_token": ["i386", "0", "1"], "File": "i3863", "Func": "ix86_emit_save_regs", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 901, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isTruncateFree", "(", "EVT", "VT1", ",", "EVT", "VT2", ")", "const", "{", "if", "(", "!", "VT1", ".", "isInteger", "(", ")", "||", "!", "VT2", ".", "isInteger", "(", ")", ")", "return", "false", ";", "unsigned", "NumBits1", "=", "VT1", ".", "getSizeInBits", "(", ")", ";", "unsigned", "NumBits2", "=", "VT2", ".", "getSizeInBits", "(", ")", ";", "if", "(", "NumBits1", "<=", "NumBits2", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "'s", "free", "to", "truncate", "a", "value", "of", "type", "Ty1", "to", "type", "Ty2", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64ISelLowering109", "Func": "isTruncateFree", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 902, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "PTXInstPrinter", "::", "getOpcodeName", "(", "unsigned", "Opcode", ")", "const", "{", "return", "getInstructionName", "(", "Opcode", ")", ";", "}", ""], "natrual_language": ["Return", "a", "string", "representation", "for", "an", "opcode", "."], "TS_V_token": ["PTX", "PTX"], "File": "PTXInstPrinter", "Func": "getOpcodeName", "Target": "PTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 903, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "unicosmk_output_common", "(", "FILE", "*", "file", ",", "const", "char", "*", "name", ",", "int", "size", ",", "int", "align", ")", "{", "tree", "name_tree", ";", "printf", "(", "\"T3E__: common %s\\n\"", ",", "name", ")", ";", "common_section", "(", ")", ";", "fputs", "(", "\"\\t.endp\\n\\n\\t.psect \"", ",", "file", ")", ";", "assemble_name", "(", "file", ",", "name", ")", ";", "fprintf", "(", "file", ",", "\",%d,common\\n\"", ",", "floor_log2", "(", "align", "/", "BITS_PER_UNIT", ")", ")", ";", "fprintf", "(", "file", ",", "\"\\t.byte\\t0:%d\\n\"", ",", "size", ")", ";", "name_tree", "=", "get_identifier", "(", "name", ")", ";", "TREE_ASM_WRITTEN", "(", "name_tree", ")", "=", "1", ";", "}", ""], "natrual_language": ["Output", "the", "definition", "of", "a", "common", "variable", "."], "TS_V_token": ["alpha", "\"T3E__: common %s\\n\"", "\"\\t.endp\\n\\n\\t.psect \"", "\",%d,common\\n\"", "\"\\t.byte\\t0:%d\\n\"", "1"], "File": "alpha3", "Func": "unicosmk_output_common", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 904, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ")", "const", "{", "assert", "(", "0", "&&", "\"UNIMP\"", ")", ";", "}", ""], "natrual_language": ["Apply", "the", "Value", "for", "given", "Fixup", "into", "the", "provided", "data", "fragment", ",", "at", "the", "offset", "specified", "by", "the", "fixup", "and", "following", "the", "fixup", "kind", "as", "appropriate", "."], "TS_V_token": ["PowerPC", "0", "\"UNIMP\""], "File": "PPCAsmBackend38", "Func": "applyFixup", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 905, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ScheduleDAGPostRA", "::", "finalizeSchedule", "(", ")", "{", "ScheduleDAGInstrs", "::", "finalizeSchedule", "(", ")", ";", "finalizeBundles", "(", "MF", ")", ";", "}", ""], "natrual_language": ["After", "the", "schedule", "has", "been", "formed", ",", "call", "this", "function", "to", "combine", "the", "instructions", "from", "the", "different", "stages/cycles", "."], "TS_V_token": ["Patmos"], "File": "PatmosPostRAScheduler", "Func": "finalizeSchedule", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 906, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "output_dbcc_and_branch", "(", "rtx", "*", "operands", ")", "{", "switch", "(", "GET_CODE", "(", "operands", "[", "3", "]", ")", ")", "{", "case", "EQ", ":", "output_asm_insn", "(", "MOTOROLA", "?", "\"dbeq %0,%l1\\n\\tjbeq %l2\"", ":", "\"dbeq %0,%l1\\n\\tjeq %l2\"", ",", "operands", ")", ";", "break", ";", "case", "NE", ":", "output_asm_insn", "(", "MOTOROLA", "?", "\"dbne %0,%l1\\n\\tjbne %l2\"", ":", "\"dbne %0,%l1\\n\\tjne %l2\"", ",", "operands", ")", ";", "break", ";", "case", "GT", ":", "output_asm_insn", "(", "MOTOROLA", "?", "\"dbgt %0,%l1\\n\\tjbgt %l2\"", ":", "\"dbgt %0,%l1\\n\\tjgt %l2\"", ",", "operands", ")", ";", "break", ";", "case", "GTU", ":", "output_asm_insn", "(", "MOTOROLA", "?", "\"dbhi %0,%l1\\n\\tjbhi %l2\"", ":", "\"dbhi %0,%l1\\n\\tjhi %l2\"", ",", "operands", ")", ";", "break", ";", "case", "LT", ":", "output_asm_insn", "(", "MOTOROLA", "?", "\"dblt %0,%l1\\n\\tjblt %l2\"", ":", "\"dblt %0,%l1\\n\\tjlt %l2\"", ",", "operands", ")", ";", "break", ";", "case", "LTU", ":", "output_asm_insn", "(", "MOTOROLA", "?", "\"dbcs %0,%l1\\n\\tjbcs %l2\"", ":", "\"dbcs %0,%l1\\n\\tjcs %l2\"", ",", "operands", ")", ";", "break", ";", "case", "GE", ":", "output_asm_insn", "(", "MOTOROLA", "?", "\"dbge %0,%l1\\n\\tjbge %l2\"", ":", "\"dbge %0,%l1\\n\\tjge %l2\"", ",", "operands", ")", ";", "break", ";", "case", "GEU", ":", "output_asm_insn", "(", "MOTOROLA", "?", "\"dbcc %0,%l1\\n\\tjbcc %l2\"", ":", "\"dbcc %0,%l1\\n\\tjcc %l2\"", ",", "operands", ")", ";", "break", ";", "case", "LE", ":", "output_asm_insn", "(", "MOTOROLA", "?", "\"dble %0,%l1\\n\\tjble %l2\"", ":", "\"dble %0,%l1\\n\\tjle %l2\"", ",", "operands", ")", ";", "break", ";", "case", "LEU", ":", "output_asm_insn", "(", "MOTOROLA", "?", "\"dbls %0,%l1\\n\\tjbls %l2\"", ":", "\"dbls %0,%l1\\n\\tjls %l2\"", ",", "operands", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "switch", "(", "GET_MODE", "(", "operands", "[", "0", "]", ")", ")", "{", "case", "SImode", ":", "output_asm_insn", "(", "MOTOROLA", "?", "\"clr%.w %0\\n\\tsubq%.l #1,%0\\n\\tjbpl %l1\"", ":", "\"clr%.w %0\\n\\tsubq%.l #1,%0\\n\\tjpl %l1\"", ",", "operands", ")", ";", "break", ";", "case", "HImode", ":", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Output", "a", "dbCC", ";", "jCC", "sequence", ".", "Note", "we", "do", "not", "handle", "the", "floating", "point", "version", "of", "this", "sequence", "(", "Fdbcc", ")", ".", "We", "also", "do", "not", "handle", "alternative", "conditions", "when", "CC_NO_OVERFLOW", "is", "set", ".", "It", "is", "assumed", "that", "valid_dbcc_comparison_p", "and", "flags_in_68881", "will", "kick", "those", "out", "before", "we", "get", "here", "."], "TS_V_token": ["m68k", "3", "\"dbeq %0,%l1\\n\\tjbeq %l2\"", "\"dbeq %0,%l1\\n\\tjeq %l2\"", "\"dbne %0,%l1\\n\\tjbne %l2\"", "\"dbne %0,%l1\\n\\tjne %l2\"", "\"dbgt %0,%l1\\n\\tjbgt %l2\"", "\"dbgt %0,%l1\\n\\tjgt %l2\"", "\"dbhi %0,%l1\\n\\tjbhi %l2\"", "\"dbhi %0,%l1\\n\\tjhi %l2\"", "\"dblt %0,%l1\\n\\tjblt %l2\"", "\"dblt %0,%l1\\n\\tjlt %l2\"", "\"dbcs %0,%l1\\n\\tjbcs %l2\"", "\"dbcs %0,%l1\\n\\tjcs %l2\"", "\"dbge %0,%l1\\n\\tjbge %l2\"", "\"dbge %0,%l1\\n\\tjge %l2\"", "\"dbcc %0,%l1\\n\\tjbcc %l2\"", "\"dbcc %0,%l1\\n\\tjcc %l2\"", "\"dble %0,%l1\\n\\tjble %l2\"", "\"dble %0,%l1\\n\\tjle %l2\"", "\"dbls %0,%l1\\n\\tjbls %l2\"", "\"dbls %0,%l1\\n\\tjls %l2\"", "0", "\"clr%.w %0\\n\\tsubq%.l #1,%0\\n\\tjbpl %l1\"", "\"clr%.w %0\\n\\tsubq%.l #1,%0\\n\\tjpl %l1\""], "File": "m68k3", "Func": "output_dbcc_and_branch", "Target": "m68k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 907, "Length": 226, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "getUndefRegClearance", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "OpNum", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "const", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNum", ")", ";", "if", "(", "Register", "::", "isPhysicalRegister", "(", "MO", ".", "getReg", "(", ")", ")", "&&", "hasUndefRegUpdate", "(", "MI", ".", "getOpcode", "(", ")", ",", "OpNum", ")", ")", "return", "UndefRegClearance", ";", "return", "0", ";", "}", ""], "natrual_language": ["Inform", "the", "BreakFalseDeps", "pass", "how", "many", "idle", "instructions", "we", "would", "like", "before", "certain", "undef", "register", "reads", "."], "TS_V_token": ["X86", "X86", "0"], "File": "X86InstrInfo (2)3", "Func": "getUndefRegClearance", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 908, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "X86TargetLowering", "::", "getSDagStackGuard", "(", "const", "Module", "&", "M", ")", "const", "{", "if", "(", "Subtarget", ".", "getTargetTriple", "(", ")", ".", "isOSMSVCRT", "(", ")", ")", "return", "M", ".", "getGlobalVariable", "(", "\"__security_cookie\"", ")", ";", "return", "TargetLowering", "::", "getSDagStackGuard", "(", "M", ")", ";", "}", ""], "natrual_language": ["Return", "the", "variable", "that", "'s", "previously", "inserted", "by", "insertSSPDeclarations", ",", "if", "any", ",", "otherwise", "return", "nullptr", "."], "TS_V_token": ["X86", "X86", "\"__security_cookie\""], "File": "X86ISelLowering (3)", "Func": "getSDagStackGuard", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 909, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_sim_reset", "(", "struct", "mips_sim", "*", "state", ")", "{", "curr_state", "=", "state", "->", "dfa_state", ";", "state", "->", "time", "=", "0", ";", "state", "->", "insns_left", "=", "state", "->", "issue_rate", ";", "memset", "(", "&", "state", "->", "last_set", ",", "0", ",", "sizeof", "(", "state", "->", "last_set", ")", ")", ";", "state_reset", "(", "curr_state", ")", ";", "targetm", ".", "sched", ".", "init", "(", "0", ",", "false", ",", "0", ")", ";", "advance_state", "(", "curr_state", ")", ";", "}", ""], "natrual_language": ["Reset", "STATE", "to", "the", "initial", "simulation", "state", "."], "TS_V_token": ["mips", "0", "0", "0", "0"], "File": "mips", "Func": "mips_sim_reset", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 910, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "BPFMISimplifyPatchable", "::", "initialize", "(", "MachineFunction", "&", "MFParm", ")", "{", "MF", "=", "&", "MFParm", ";", "TII", "=", "MF", "->", "getSubtarget", "<", "BPFSubtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"*** BPF simplify patchable insts pass ***\\n\\n\"", ")", ";", "}", ""], "natrual_language": ["Initialize", "the", "strategy", "after", "building", "the", "DAG", "for", "a", "new", "region", "."], "TS_V_token": ["BPF", "BPF", "BPF", "\"*** BPF simplify patchable insts pass ***\\n\\n\""], "File": "BPFMISimplifyPatchable", "Func": "initialize", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 911, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "gen_conditional_branch", "(", "rtx", "operands", "[", "]", ",", "machine_mode", "mode", ")", "{", "enum", "rtx_code", "test_code", "=", "GET_CODE", "(", "operands", "[", "0", "]", ")", ";", "rtx", "cmp0", "=", "operands", "[", "1", "]", ";", "rtx", "cmp1", "=", "operands", "[", "2", "]", ";", "rtx", "reg", ";", "int", "invert", ";", "rtx", "label1", ",", "label2", ";", "invert", "=", "0", ";", "reg", "=", "gen_int_relational", "(", "test_code", ",", "NULL_RTX", ",", "cmp0", ",", "cmp1", ",", "&", "invert", ")", ";", "if", "(", "reg", ")", "{", "cmp0", "=", "reg", ";", "cmp1", "=", "const0_rtx", ";", "test_code", "=", "NE", ";", "}", "else", "if", "(", "GET_CODE", "(", "cmp1", ")", "==", "CONST_INT", "&&", "INTVAL", "(", "cmp1", ")", "!=", "0", ")", "cmp1", "=", "force_reg", "(", "mode", ",", "cmp1", ")", ";", "label1", "=", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "operands", "[", "3", "]", ")", ";", "label2", "=", "pc_rtx", ";", "if", "(", "invert", ")", "{", "label2", "=", "label1", ";", "label1", "=", "pc_rtx", ";", "}", "emit_jump_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "pc_rtx", ",", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "gen_rtx_fmt_ee", "(", "test_code", ",", "VOIDmode", ",", "cmp0", ",", "cmp1", ")", ",", "label1", ",", "label2", ")", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "the", "common", "code", "for", "doing", "conditional", "branches", ".", "operand", "[", "0", "]", "is", "the", "label", "to", "jump", "to", ".", "The", "comparison", "operands", "are", "saved", "away", "by", "cmp", "{", "si", ",", "di", ",", "sf", ",", "df", "}", "."], "TS_V_token": ["iq2000", "0", "1", "2", "0", "0", "3"], "File": "iq20003", "Func": "gen_conditional_branch", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 912, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ia64_function_arg_words", "(", "tree", "type", ",", "enum", "machine_mode", "mode", ")", "{", "int", "words", ";", "if", "(", "mode", "==", "BLKmode", ")", "words", "=", "int_size_in_bytes", "(", "type", ")", ";", "else", "words", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "return", "(", "words", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "words", "required", "to", "hold", "a", "quantity", "of", "TYPE", "and", "MODE", "when", "passed", "as", "an", "argument", "."], "TS_V_token": ["ia64", "1"], "File": "ia643", "Func": "ia64_function_arg_words", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 913, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "generate_set_vrsave", "(", "rtx", "reg", ",", "rs6000_stack_t", "*", "info", ",", "int", "epiloguep", ")", "{", "int", "nclobs", ",", "i", ";", "rtx", "insn", ",", "clobs", "[", "TOTAL_ALTIVEC_REGS", "+", "1", "]", ";", "rtx", "vrsave", "=", "gen_rtx_REG", "(", "SImode", ",", "VRSAVE_REGNO", ")", ";", "clobs", "[", "0", "]", "=", "gen_rtx_SET", "(", "vrsave", ",", "gen_rtx_UNSPEC_VOLATILE", "(", "SImode", ",", "gen_rtvec", "(", "2", ",", "reg", ",", "vrsave", ")", ",", "UNSPECV_SET_VRSAVE", ")", ")", ";", "nclobs", "=", "1", ";", "for", "(", "i", "=", "FIRST_ALTIVEC_REGNO", ";", "i", "<=", "LAST_ALTIVEC_REGNO", ";", "++", "i", ")", "if", "(", "info", "->", "vrsave_mask", "&", "ALTIVEC_REG_BIT", "(", "i", ")", ")", "{", "if", "(", "!", "epiloguep", "||", "call_used_regs", "[", "i", "]", ")", "clobs", "[", "nclobs", "++", "]", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "V4SImode", ",", "i", ")", ")", ";", "else", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "V4SImode", ",", "i", ")", ";", "clobs", "[", "nclobs", "++", "]", "=", "gen_rtx_SET", "(", "reg", ",", "gen_rtx_UNSPEC", "(", "V4SImode", ",", "gen_rtvec", "(", "1", ",", "reg", ")", ",", "27", ")", ")", ";", "}", "}", "insn", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "nclobs", ")", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nclobs", ";", "++", "i", ")", "XVECEXP", "(", "insn", ",", "0", ",", "i", ")", "=", "clobs", "[", "i", "]", ";", "return", "insn", ";", "}", ""], "natrual_language": ["Returns", "an", "insn", "that", "has", "a", "vrsave", "set", "operation", "with", "the", "appropriate", "CLOBBERs", "."], "TS_V_token": ["rs6000", "1", "0", "2", "1", "1", "27", "0", "0"], "File": "rs60005", "Func": "generate_set_vrsave", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 914, "Length": 205, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUUnifyMetadata", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "return", "unifyMetadataImpl", "(", "M", ")", ";", "}", ""], "natrual_language": ["runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "."], "TS_V_token": ["AMDGPU", "AMDGPU"], "File": "AMDGPUUnifyMetadata1", "Func": "runOnModule", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 915, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"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": 916, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "HOST_WIDE_INT", "rs6000_builtin_mask_calculate", "(", "void", ")", "{", "return", "(", "(", "(", "TARGET_ALTIVEC", ")", "?", "RS6000_BTM_ALTIVEC", ":", "0", ")", "|", "(", "(", "TARGET_CMPB", ")", "?", "RS6000_BTM_CMPB", ":", "0", ")", "|", "(", "(", "TARGET_VSX", ")", "?", "RS6000_BTM_VSX", ":", "0", ")", "|", "(", "(", "TARGET_FRE", ")", "?", "RS6000_BTM_FRE", ":", "0", ")", "|", "(", "(", "TARGET_FRES", ")", "?", "RS6000_BTM_FRES", ":", "0", ")", "|", "(", "(", "TARGET_FRSQRTE", ")", "?", "RS6000_BTM_FRSQRTE", ":", "0", ")", "|", "(", "(", "TARGET_FRSQRTES", ")", "?", "RS6000_BTM_FRSQRTES", ":", "0", ")", "|", "(", "(", "TARGET_POPCNTD", ")", "?", "RS6000_BTM_POPCNTD", ":", "0", ")", "|", "(", "(", "rs6000_cpu", "==", "PROCESSOR_CELL", ")", "?", "RS6000_BTM_CELL", ":", "0", ")", "|", "(", "(", "TARGET_P8_VECTOR", ")", "?", "RS6000_BTM_P8_VECTOR", ":", "0", ")", "|", "(", "(", "TARGET_P9_VECTOR", ")", "?", "RS6000_BTM_P9_VECTOR", ":", "0", ")", "|", "(", "(", "TARGET_P9_MISC", ")", "?", "RS6000_BTM_P9_MISC", ":", "0", ")", "|", "(", "(", "TARGET_MODULO", ")", "?", "RS6000_BTM_MODULO", ":", "0", ")", "|", "(", "(", "TARGET_64BIT", ")", "?", "RS6000_BTM_64BIT", ":", "0", ")", "|", "(", "(", "TARGET_POWERPC64", ")", "?", "RS6000_BTM_POWERPC64", ":", "0", ")", "|", "(", "(", "TARGET_CRYPTO", ")", "?", "RS6000_BTM_CRYPTO", ":", "0", ")", "|", "(", "(", "TARGET_HTM", ")", "?", "RS6000_BTM_HTM", ":", "0", ")", "|", "(", "(", "TARGET_DFP", ")", "?", "RS6000_BTM_DFP", ":", "0", ")", "|", "(", "(", "TARGET_HARD_FLOAT", ")", "?", "RS6000_BTM_HARD_FLOAT", ":", "0", ")", "|", "(", "(", "TARGET_LONG_DOUBLE_128", "&&", "TARGET_HARD_FLOAT", "&&", "!", "TARGET_IEEEQUAD", ")", "?", "RS6000_BTM_LDBL128", ":", "0", ")", "|", "(", "(", "TARGET_FLOAT128_TYPE", ")", "?", "RS6000_BTM_FLOAT128", ":", "0", ")", "|", "(", "(", "TARGET_FLOAT128_HW", ")", "?", "RS6000_BTM_FLOAT128_HW", ":", "0", ")", "|", "(", "(", "TARGET_MMA", ")", "?", "RS6000_BTM_MMA", ":", "0", ")", "|", "(", "(", "TARGET_POWER10", ")", "?", "RS6000_BTM_P10", ":", "0", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "builtin", "mask", "of", "the", "various", "options", "used", "that", "could", "affect", "which", "builtins", "were", "used", ".", "In", "the", "past", "we", "used", "target_flags", ",", "but", "we", "'ve", "run", "out", "of", "bits", ",", "and", "some", "options", "like", "PAIRED", "are", "no", "longer", "in", "target_flags", "."], "TS_V_token": ["rs6000", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"], "File": "rs6000", "Func": "rs6000_builtin_mask_calculate", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 917, "Length": 257, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "s390_split_ok_p", "(", "rtx", "dst", ",", "rtx", "src", ",", "machine_mode", "mode", ",", "int", "first_subword", ")", "{", "if", "(", "FP_REG_P", "(", "src", ")", "||", "FP_REG_P", "(", "dst", ")", ")", "return", "false", ";", "if", "(", "s_operand", "(", "src", ",", "mode", ")", "||", "s_operand", "(", "dst", ",", "mode", ")", ")", "return", "false", ";", "if", "(", "(", "GET_CODE", "(", "src", ")", "==", "MEM", "&&", "!", "offsettable_memref_p", "(", "src", ")", ")", "||", "(", "GET_CODE", "(", "dst", ")", "==", "MEM", "&&", "!", "offsettable_memref_p", "(", "dst", ")", ")", ")", "return", "false", ";", "if", "(", "register_operand", "(", "dst", ",", "mode", ")", ")", "{", "rtx", "subreg", "=", "operand_subword", "(", "dst", ",", "first_subword", ",", "0", ",", "mode", ")", ";", "if", "(", "reg_overlap_mentioned_p", "(", "subreg", ",", "src", ")", ")", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Check", "whether", "we", "can", "(", "and", "want", "to", ")", "split", "a", "double-word", "move", "in", "mode", "MODE", "from", "SRC", "to", "DST", "into", "two", "single-word", "moves", ",", "moving", "the", "subword", "FIRST_SUBWORD", "first", "."], "TS_V_token": ["s390", "0"], "File": "s3904", "Func": "s390_split_ok_p", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 918, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FixAllFDIVSQRT", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "SparcSubtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "Subtarget", "->", "getInstrInfo", "(", ")", ";", "DebugLoc", "DL", "=", "DebugLoc", "(", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "for", "(", "auto", "MBBI", "=", "MBB", ".", "begin", "(", ")", ",", "E", "=", "MBB", ".", "end", "(", ")", ";", "MBBI", "!=", "E", ";", "++", "MBBI", ")", "{", "MachineInstr", "&", "MI", "=", "*", "MBBI", ";", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "Opcode", "==", "SP", "::", "FSQRTD", "||", "Opcode", "==", "SP", "::", "FDIVD", ")", "{", "for", "(", "int", "InsertedCount", "=", "0", ";", "InsertedCount", "<", "5", ";", "InsertedCount", "++", ")", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "SP", "::", "NOP", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "NMBBI", "=", "std", "::", "next", "(", "MBBI", ")", ";", "for", "(", "int", "InsertedCount", "=", "0", ";", "InsertedCount", "<", "28", ";", "InsertedCount", "++", ")", "BuildMI", "(", "MBB", ",", "NMBBI", ",", "DL", ",", "TII", ".", "get", "(", "SP", "::", "NOP", ")", ")", ";", "Modified", "=", "true", ";", "}", "}", "}", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Sparc", "Sparc", "SP::FSQRTD", "SP::FDIVD", "0", "5", "SP::NOP", "0", "28", "SP::NOP"], "File": "LeonPasses9", "Func": "runOnMachineFunction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 919, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ix86_attr_length_address_default", "(", "rtx_insn", "*", "insn", ")", "{", "int", "i", ";", "if", "(", "get_attr_type", "(", "insn", ")", "==", "TYPE_LEA", ")", "{", "rtx", "set", "=", "PATTERN", "(", "insn", ")", ",", "addr", ";", "if", "(", "GET_CODE", "(", "set", ")", "==", "PARALLEL", ")", "set", "=", "XVECEXP", "(", "set", ",", "0", ",", "0", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "set", ")", "==", "SET", ")", ";", "addr", "=", "SET_SRC", "(", "set", ")", ";", "return", "memory_address_length", "(", "addr", ",", "true", ")", ";", "}", "extract_insn_cached", "(", "insn", ")", ";", "for", "(", "i", "=", "recog_data", ".", "n_operands", "-", "1", ";", "i", ">=", "0", ";", "--", "i", ")", "if", "(", "MEM_P", "(", "recog_data", ".", "operand", "[", "i", "]", ")", ")", "{", "constrain_operands_cached", "(", "insn", ",", "reload_completed", ")", ";", "if", "(", "which_alternative", "!=", "-", "1", ")", "{", "const", "char", "*", "constraints", "=", "recog_data", ".", "constraints", "[", "i", "]", ";", "int", "alt", "=", "which_alternative", ";", "while", "(", "*", "constraints", "==", "'='", "||", "*", "constraints", "==", "'+'", ")", "constraints", "++", ";", "while", "(", "alt", "--", ">", "0", ")", "while", "(", "*", "constraints", "++", "!=", "','", ")", ";", "if", "(", "*", "constraints", "==", "'X'", ")", "continue", ";", "}", "return", "memory_address_length", "(", "XEXP", "(", "recog_data", ".", "operand", "[", "i", "]", ",", "0", ")", ",", "false", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Compute", "default", "value", "for", "``", "length_address", "''", "attribute", "."], "TS_V_token": ["i386", "0", "0", "1", "0", "1", "0", "0", "0"], "File": "i3864", "Func": "ix86_attr_length_address_default", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 920, "Length": 208, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SUnit", "*", "R600SchedStrategy", "::", "pickNode", "(", "bool", "&", "IsTopNode", ")", "{", "SUnit", "*", "SU", "=", "0", ";", "IsTopNode", "=", "true", ";", "NextInstKind", "=", "IDOther", ";", "bool", "AllowSwitchToAlu", "=", "(", "CurInstKind", "==", "IDOther", ")", "||", "(", "CurEmitted", ">", "InstKindLimit", "[", "CurInstKind", "]", ")", "||", "(", "Available", "[", "CurInstKind", "]", "->", "empty", "(", ")", ")", ";", "bool", "AllowSwitchFromAlu", "=", "(", "CurEmitted", ">", "InstKindLimit", "[", "CurInstKind", "]", ")", "&&", "(", "!", "Available", "[", "IDFetch", "]", "->", "empty", "(", ")", "||", "!", "Available", "[", "IDOther", "]", "->", "empty", "(", ")", ")", ";", "if", "(", "(", "AllowSwitchToAlu", "&&", "CurInstKind", "!=", "IDAlu", ")", "||", "(", "!", "AllowSwitchFromAlu", "&&", "CurInstKind", "==", "IDAlu", ")", ")", "{", "SU", "=", "pickAlu", "(", ")", ";", "if", "(", "SU", ")", "{", "if", "(", "CurEmitted", ">", "InstKindLimit", "[", "IDAlu", "]", ")", "CurEmitted", "=", "0", ";", "NextInstKind", "=", "IDAlu", ";", "}", "}", "if", "(", "!", "SU", ")", "{", "SU", "=", "pickOther", "(", "IDFetch", ")", ";", "if", "(", "SU", ")", "NextInstKind", "=", "IDFetch", ";", "}", "if", "(", "!", "SU", ")", "{", "SU", "=", "pickOther", "(", "IDOther", ")", ";", "if", "(", "SU", ")", "NextInstKind", "=", "IDOther", ";", "}", "DEBUG", "(", "if", "(", "SU", ")", "{", "dbgs", "(", ")", "<<", "\"picked node: \"", ";", "SU", "->", "dump", "(", "DAG", ")", ";", "}", "else", "{", "dbgs", "(", ")", "<<", "\"NO NODE \"", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "IDLast", ";", "++", "i", ")", "{", "Available", "[", "i", "]", "->", "dump", "(", ")", ";", "Pending", "[", "i", "]", "->", "dump", "(", ")", ";", "}", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "DAG", "->", "SUnits", ".", "size", "(", ")", ";", "i", "++", ")", "{", "const", "SUnit", "&", "S", "=", "DAG", "->", "SUnits", "[", "i", "]", ";", "if", "(", "!", "S", ".", "isScheduled", ")", "S", ".", "dump", "(", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["Pick", "the", "next", "node", "to", "schedule", ",", "or", "return", "NULL", "."], "TS_V_token": ["R600", "0", "0", "\"picked node: \"", "\"NO NODE \"", "0", "0"], "File": "R600MachineScheduler", "Func": "pickNode", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 921, "Length": 294, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TTIImpl", "::", "areInlineCompatible", "(", "const", "Function", "*", "Caller", ",", "const", "Function", "*", "Callee", ")", "const", "{", "const", "TargetMachine", "&", "TM", "=", "getTLI", "(", ")", "->", "getTargetMachine", "(", ")", ";", "const", "FeatureBitset", "&", "CallerBits", "=", "TM", ".", "getSubtargetImpl", "(", "*", "Caller", ")", "->", "getFeatureBits", "(", ")", ";", "const", "FeatureBitset", "&", "CalleeBits", "=", "TM", ".", "getSubtargetImpl", "(", "*", "Callee", ")", "->", "getFeatureBits", "(", ")", ";", "return", "(", "CallerBits", "&", "CalleeBits", ")", "==", "CalleeBits", ";", "}", ""], "natrual_language": ["Determine", "whether", "a", "callee", "with", "the", "given", "TLI", "can", "be", "inlined", "into", "caller", "with", "this", "TLI", ",", "based", "on", "'nobuiltin", "'", "attributes", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64TargetTransformInfo", "Func": "areInlineCompatible", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 922, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isScalarFPTypeInSSEReg", "(", "EVT", "VT", ")", "const", "{", "return", "(", "VT", "==", "MVT", "::", "f64", "&&", "X86ScalarSSEf64", ")", "||", "(", "VT", "==", "MVT", "::", "f32", "&&", "X86ScalarSSEf32", ")", "||", "(", "VT", "==", "MVT", "::", "f16", "&&", "X86ScalarSSEf16", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "scalar", "FP", "type", "is", "computed", "in", "an", "SSE", "register", ",", "not", "on", "the", "X87", "floating", "point", "stack", "."], "TS_V_token": ["X86", "MVT::f64", "X86", "MVT::f32", "X86", "MVT::f16", "X86"], "File": "X86FastISel114", "Func": "isScalarFPTypeInSSEReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 923, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "alpha_pass_by_reference", "(", "cumulative_args_t", "ca", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ",", "const_tree", "type", "ATTRIBUTE_UNUSED", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "return", "mode", "==", "TFmode", "||", "mode", "==", "TCmode", ";", "}", ""], "natrual_language": ["Return", "true", "if", "TYPE", "should", "be", "passed", "by", "invisible", "reference", "."], "TS_V_token": ["alpha"], "File": "alpha4", "Func": "alpha_pass_by_reference", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 924, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPassConfig", "::", "addPreISel", "(", ")", "{", "if", "(", "!", "getARMSubtarget", "(", ")", ".", "isTargetNaCl", "(", ")", "&&", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createGlobalMergePass", "(", "TM", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMTargetMachine97", "Func": "addPreISel", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 925, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "main", "(", "void", ")", "{", "for", "(", "const", "avr_mcu_t", "*", "mcu", "=", "avr_mcu_types", ";", "mcu", "->", "name", ";", "mcu", "++", ")", "print_mcu", "(", "mcu", ")", ";", "return", "EXIT_SUCCESS", ";", "}", ""], "natrual_language": ["Main", "program", "to", "convert", "flat", "files", "into", "built-in", "initialization", "code", "."], "TS_V_token": ["avr"], "File": "gen-avr-mmcu-specs", "Func": "main", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 926, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "struct", "machine_function", "*", "m32c_init_machine_status", "(", "void", ")", "{", "return", "ggc_cleared_alloc", "<", "machine_function", ">", "(", ")", ";", "}", ""], "natrual_language": ["The", "usual", ";", "we", "set", "up", "our", "machine_function", "data", "."], "TS_V_token": ["m32c"], "File": "m32c", "Func": "m32c_init_machine_status", "Target": "m32c", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 927, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_pragma_target_parse", "(", "tree", "args", ",", "tree", "pop_target", ")", "{", "tree", "prev_tree", "=", "target_option_current_node", ";", "tree", "cur_tree", ";", "struct", "cl_target_option", "*", "prev_opt", ";", "struct", "cl_target_option", "*", "cur_opt", ";", "if", "(", "!", "args", ")", "{", "cur_tree", "=", "(", "(", "pop_target", ")", "?", "pop_target", ":", "target_option_default_node", ")", ";", "cl_target_option_restore", "(", "&", "global_options", ",", "TREE_TARGET_OPTION", "(", "cur_tree", ")", ")", ";", "}", "else", "{", "cur_tree", "=", "arm_valid_target_attribute_tree", "(", "args", ",", "&", "global_options", ",", "&", "global_options_set", ")", ";", "if", "(", "cur_tree", "==", "NULL_TREE", ")", "{", "cl_target_option_restore", "(", "&", "global_options", ",", "TREE_TARGET_OPTION", "(", "prev_tree", ")", ")", ";", "return", "false", ";", "}", "target_option_current_node", "=", "cur_tree", ";", "}", "prev_opt", "=", "TREE_TARGET_OPTION", "(", "prev_tree", ")", ";", "cur_opt", "=", "TREE_TARGET_OPTION", "(", "cur_tree", ")", ";", "gcc_assert", "(", "prev_opt", ")", ";", "gcc_assert", "(", "cur_opt", ")", ";", "if", "(", "cur_opt", "!=", "prev_opt", ")", "{", "cpp_options", "*", "cpp_opts", "=", "cpp_get_options", "(", "parse_in", ")", ";", "unsigned", "char", "saved_warn_unused_macros", "=", "cpp_opts", "->", "warn_unused_macros", ";", "cpp_opts", "->", "warn_unused_macros", "=", "0", ";", "gcc_assert", "(", "cur_opt", "->", "x_target_flags", "==", "target_flags", ")", ";", "tree", "acond_macro", "=", "get_identifier", "(", "\"__ARM_NEON_FP\"", ")", ";", "C_CPP_HASHNODE", "(", "acond_macro", ")", "->", "flags", "|=", "NODE_CONDITIONAL", ";", "acond_macro", "=", "get_identifier", "(", "\"__ARM_FP\"", ")", ";", "C_CPP_HASHNODE", "(", "acond_macro", ")", "->", "flags", "|=", "NODE_CONDITIONAL", ";", "acond_macro", "=", "get_identifier", "(", "\"__ARM_FEATURE_LDREX\"", ")", ";", "C_CPP_HASHNODE", "(", "acond_macro", ")", "->", "flags", "|=", "NODE_CONDITIONAL", ";", "arm_cpu_builtins", "(", "parse_in", ")", ";", "cpp_opts", "->", "warn_unused_macros", "=", "saved_warn_unused_macros", ";", "arm_reset_previous_fndecl", "(", ")", ";", "if", "(", "cur_tree", "==", "target_option_default_node", ")", "save_restore_target_globals", "(", "cur_tree", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Hook", "to", "validate", "the", "current", "#", "pragma", "GCC", "target", "and", "set", "the", "arch", "custom", "mode", "state", ".", "If", "ARGS", "is", "NULL", ",", "then", "POP_TARGET", "is", "used", "to", "reset", "the", "options", "."], "TS_V_token": ["arm", "0", "\"__ARM_NEON_FP\"", "\"__ARM_FP\"", "\"__ARM_FEATURE_LDREX\""], "File": "arm-c3", "Func": "arm_pragma_target_parse", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 928, "Length": 244, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_emit_restore_regs_using_mov", "(", "HOST_WIDE_INT", "cfa_offset", ",", "bool", "maybe_eh_return", ")", "{", "struct", "machine_function", "*", "m", "=", "cfun", "->", "machine", ";", "unsigned", "int", "regno", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "GENERAL_REGNO_P", "(", "regno", ")", "&&", "ix86_save_reg", "(", "regno", ",", "maybe_eh_return", ",", "true", ")", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "word_mode", ",", "regno", ")", ";", "rtx", "mem", ";", "rtx_insn", "*", "insn", ";", "mem", "=", "choose_baseaddr", "(", "cfa_offset", ",", "NULL", ")", ";", "mem", "=", "gen_frame_mem", "(", "word_mode", ",", "mem", ")", ";", "insn", "=", "emit_move_insn", "(", "reg", ",", "mem", ")", ";", "if", "(", "m", "->", "fs", ".", "cfa_reg", "==", "crtl", "->", "drap_reg", "&&", "regno", "==", "REGNO", "(", "crtl", "->", "drap_reg", ")", ")", "{", "add_reg_note", "(", "insn", ",", "REG_CFA_DEF_CFA", ",", "reg", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "m", "->", "fs", ".", "drap_valid", "=", "true", ";", "}", "else", "ix86_add_cfa_restore_note", "(", "NULL", ",", "reg", ",", "cfa_offset", ")", ";", "cfa_offset", "-=", "UNITS_PER_WORD", ";", "}", "}", ""], "natrual_language": ["Emit", "code", "to", "restore", "saved", "registers", "using", "MOV", "insns", ".", "First", "register", "is", "restored", "from", "POINTER", "+", "OFFSET", "."], "TS_V_token": ["i386", "0", "1"], "File": "i386", "Func": "ix86_emit_restore_regs_using_mov", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 929, "Length": 161, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SICRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "SICFunctionInfo", "*", "SICFI", "=", "MF", ".", "getInfo", "<", "SICFunctionInfo", ">", "(", ")", ";", "unsigned", "i", "=", "0", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "\"Instr doesn't have FrameIndex operand!\"", ")", ";", "}", "DEBUG", "(", "errs", "(", ")", "<<", "\"\\nFunction : \"", "<<", "MF", ".", "getFunction", "(", ")", "->", "getName", "(", ")", "<<", "\"\\n\"", ";", "errs", "(", ")", "<<", "\"<--------->\\n\"", "<<", "MI", ")", ";", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "i", ")", ".", "getIndex", "(", ")", ";", "uint64_t", "stackSize", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", ";", "int64_t", "spOffset", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectOffset", "(", "FrameIndex", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "\"FrameIndex : \"", "<<", "FrameIndex", "<<", "\"\\n\"", "<<", "\"spOffset : \"", "<<", "spOffset", "<<", "\"\\n\"", "<<", "\"stackSize : \"", "<<", "stackSize", "<<", "\"\\n\"", ")", ";", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", "->", "getCalleeSavedInfo", "(", ")", ";", "int", "MinCSFI", "=", "0", ";", "int", "MaxCSFI", "=", "-", "1", ";", "if", "(", "CSI", ".", "size", "(", ")", ")", "{", "MinCSFI", "=", "CSI", "[", "0", "]", ".", "getFrameIdx", "(", ")", ";", "MaxCSFI", "=", "CSI", "[", "CSI", ".", "size", "(", ")", "-", "1", "]", ".", "getFrameIdx", "(", ")", ";", "}", "unsigned", "FrameReg", ";", "FrameReg", "=", "SIC", "::", "X", ";", "int64_t", "Offset", ";", "Offset", "=", "spOffset", "+", "(", "int64_t", ")", "stackSize", ";", "Offset", "+=", "MI", ".", "getOperand", "(", "i", "+", "1", ")", ".", "getImm", "(", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "\"Offset : \"", "<<", "Offset", "<<", "\"\\n\"", "<<", "\"<--------->\\n\"", ")", ";", "if", "(", "!", "isUIntN", "(", "12", ",", "Offset", ")", ")", "{", "assert", "(", "\"(!MI.isDebugValue() && !isInt<12>(Offset))\"", ")", ";", "}", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "FrameReg", ",", "false", ")", ";", "MI", ".", "getOperand", "(", "i", "+", "1", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["SIC", "SIC", "SIC", "SIC", "SIC", "0", "\"Instr doesn't have FrameIndex operand!\"", "\"\\nFunction : \"", "\"\\n\"", "\"<--------->\\n\"", "\"FrameIndex : \"", "\"\\n\"", "\"spOffset : \"", "\"\\n\"", "\"stackSize : \"", "\"\\n\"", "0", "1", "0", "1", "SIC::X", "1", "\"Offset : \"", "\"\\n\"", "\"<--------->\\n\"", "12", "\"(!MI.isDebugValue() && !isInt<12>(Offset))\"", "1"], "File": "SICRegisterInfo", "Func": "eliminateFrameIndex", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 930, "Length": 361, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetIRAnalysis", "ARMBaseTargetMachine", "::", "getTargetIRAnalysis", "(", ")", "{", "return", "TargetIRAnalysis", "(", "[", "this", "]", "(", "Function", "&", "F", ")", "{", "return", "TargetTransformInfo", "(", "ARMTTIImpl", "(", "this", ",", "F", ")", ")", ";", "}", ")", ";", "}", ""], "natrual_language": ["Get", "a", "TargetIRAnalysis", "appropriate", "for", "the", "target", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMTargetMachine25", "Func": "getTargetIRAnalysis", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 931, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "LC3bRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["LC3b", "LC3b"], "File": "LC3bTargetMachine", "Func": "getRegisterInfo", "Target": "LC3b", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 932, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseInstrInfo", "::", "getNumLDMAddresses", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "unsigned", "Size", "=", "0", ";", "for", "(", "MachineInstr", "::", "mmo_iterator", "I", "=", "MI", "->", "memoperands_begin", "(", ")", ",", "E", "=", "MI", "->", "memoperands_end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "Size", "+=", "(", "*", "I", ")", "->", "getSize", "(", ")", ";", "}", "return", "Size", "/", "4", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "addresses", "by", "LDM", "or", "VLDM", "or", "zero", "for", "unknown", "."], "TS_V_token": ["ARM", "ARM", "0", "4"], "File": "ARMBaseInstrInfo (2)", "Func": "getNumLDMAddresses", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 933, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMFrameInfo", "::", "canSimplifyCallFramePseudos", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "hasReservedCallFrame", "(", "MF", ")", "||", "MF", ".", "getFrameInfo", "(", ")", "->", "hasVarSizedObjects", "(", ")", ";", "}", ""], "natrual_language": ["canSimplifyCallFramePseudos", "-", "If", "there", "is", "a", "reserved", "call", "frame", ",", "the", "call", "frame", "pseudos", "can", "be", "simplified", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMFrameInfo", "Func": "canSimplifyCallFramePseudos", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 934, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmBackend", "::", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "for", "(", "uint64_t", "i", "=", "0", ",", "e", "=", "Count", "%", "4", ";", "i", "!=", "e", ";", "++", "i", ")", "OW", "->", "Write8", "(", "0", ")", ";", "uint64_t", "NumNops", "=", "Count", "/", "4", ";", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "!=", "NumNops", ";", "++", "i", ")", "OW", "->", "Write32", "(", "0", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["Mips", "Mips", "0", "4", "0", "4", "0", "0"], "File": "MipsAsmBackend13", "Func": "writeNopData", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 935, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "void", "classify_registers", "(", "const_tree", ",", "HOST_WIDE_INT", "bitpos", ",", "bool", "fp", ",", "classify_data_t", "*", "data", ")", "{", "if", "(", "fp", ")", "{", "data", "->", "fp_regs", "=", "true", ";", "if", "(", "bitpos", "<", "BITS_PER_WORD", ")", "data", "->", "fp_regs_in_first_word", "=", "true", ";", "}", "}", ""], "natrual_language": ["A", "subroutine", "of", "function_arg_slotno", ".", "Classify", "the", "field", "."], "TS_V_token": ["sparc"], "File": "sparc6", "Func": "classify_registers", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 936, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseInstrInfo", "::", "breakPartialRegDependency", "(", "MachineInstr", "&", "MI", ",", "unsigned", "OpNum", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "assert", "(", "OpNum", "<", "MI", ".", "getDesc", "(", ")", ".", "getNumDefs", "(", ")", "&&", "\"OpNum is not a def\"", ")", ";", "assert", "(", "TRI", "&&", "\"Need TRI instance\"", ")", ";", "const", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNum", ")", ";", "unsigned", "Reg", "=", "MO", ".", "getReg", "(", ")", ";", "assert", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "Reg", ")", "&&", "\"Can't break virtual register dependencies.\"", ")", ";", "unsigned", "DReg", "=", "Reg", ";", "if", "(", "ARM", "::", "SPRRegClass", ".", "contains", "(", "Reg", ")", ")", "{", "DReg", "=", "ARM", "::", "D0", "+", "(", "Reg", "-", "ARM", "::", "S0", ")", "/", "2", ";", "assert", "(", "TRI", "->", "isSuperRegister", "(", "Reg", ",", "DReg", ")", "&&", "\"Register enums broken\"", ")", ";", "}", "assert", "(", "ARM", "::", "DPRRegClass", ".", "contains", "(", "DReg", ")", "&&", "\"Can only break D-reg deps\"", ")", ";", "assert", "(", "MI", ".", "definesRegister", "(", "DReg", ",", "TRI", ")", "&&", "\"MI doesn't clobber full D-reg\"", ")", ";", "AddDefaultPred", "(", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "MI", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "get", "(", "ARM", "::", "FCONSTD", ")", ",", "DReg", ")", ".", "addImm", "(", "96", ")", ")", ";", "MI", ".", "addRegisterKilled", "(", "DReg", ",", "TRI", ",", "true", ")", ";", "}", ""], "natrual_language": ["Insert", "a", "dependency-breaking", "instruction", "before", "MI", "to", "eliminate", "an", "unwanted", "dependency", "on", "OpNum", "."], "TS_V_token": ["ARM", "ARM", "\"OpNum is not a def\"", "\"Need TRI instance\"", "\"Can't break virtual register dependencies.\"", "ARM::SPRRegClass", "ARM::D0", "ARM::S0", "2", "\"Register enums broken\"", "ARM::DPRRegClass", "\"Can only break D-reg deps\"", "\"MI doesn't clobber full D-reg\"", "ARM::FCONSTD", "96"], "File": "ARMBaseInstrInfo (2)2", "Func": "breakPartialRegDependency", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 937, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "hasModifiers", "(", ")", "const", "{", "assert", "(", "isRegKind", "(", ")", ")", ";", "return", "Reg", ".", "Modifiers", "!=", "-", "1", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "instruction", "has", "any", "modifiers", "."], "TS_V_token": ["R600", "1"], "File": "AMDGPUAsmParser60", "Func": "hasModifiers", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 938, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_code_end", "(", "void", ")", "{", "mips_finish_stub", "(", "&", "mips16_rdhwr_stub", ")", ";", "mips_finish_stub", "(", "&", "mips16_get_fcsr_stub", ")", ";", "mips_finish_stub", "(", "&", "mips16_set_fcsr_stub", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_CODE_END", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_code_end", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 939, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "avr_popcount_each_byte", "(", "rtx", "xval", ",", "int", "n_bytes", ",", "int", "pop_mask", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "xval", ")", ";", "if", "(", "VOIDmode", "==", "mode", ")", "mode", "=", "SImode", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "n_bytes", ";", "i", "++", ")", "{", "rtx", "xval8", "=", "simplify_gen_subreg", "(", "QImode", ",", "xval", ",", "mode", ",", "i", ")", ";", "unsigned", "int", "val8", "=", "UINTVAL", "(", "xval8", ")", "&", "GET_MODE_MASK", "(", "QImode", ")", ";", "if", "(", "0", "==", "(", "pop_mask", "&", "(", "1", "<<", "popcount_hwi", "(", "val8", ")", ")", ")", ")", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Constraint", "helper", "function", ".", "XVAL", "is", "a", "CONST_INT", "or", "a", "CONST_DOUBLE", ".", "Return", "true", "if", "the", "least", "significant", "N_BYTES", "bytes", "of", "XVAL", "all", "have", "a", "popcount", "in", "POP_MASK", "and", "false", ",", "otherwise", ".", "POP_MASK", "represents", "a", "subset", "of", "integers", "which", "contains", "an", "integer", "N", "iff", "bit", "N", "of", "POP_MASK", "is", "set", "."], "TS_V_token": ["avr", "0", "0", "1"], "File": "avr6", "Func": "avr_popcount_each_byte", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 940, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "s390_vector_alignment", "(", "const_tree", "type", ")", "{", "tree", "size", "=", "TYPE_SIZE", "(", "type", ")", ";", "if", "(", "!", "TARGET_VX_ABI", ")", "return", "default_vector_alignment", "(", "type", ")", ";", "if", "(", "TYPE_USER_ALIGN", "(", "type", ")", ")", "return", "TYPE_ALIGN", "(", "type", ")", ";", "if", "(", "tree_fits_uhwi_p", "(", "size", ")", "&&", "tree_to_uhwi", "(", "size", ")", "<", "BIGGEST_ALIGNMENT", ")", "return", "tree_to_uhwi", "(", "size", ")", ";", "return", "BIGGEST_ALIGNMENT", ";", "}", ""], "natrual_language": ["The", "vector", "ABI", "requires", "vector", "types", "to", "be", "aligned", "on", "an", "8", "byte", "boundary", "(", "our", "stack", "alignment", ")", ".", "However", ",", "we", "allow", "this", "to", "be", "overriden", "by", "the", "user", ",", "while", "this", "definitely", "breaks", "the", "ABI", "."], "TS_V_token": ["s390"], "File": "s390", "Func": "s390_vector_alignment", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 941, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64LoadStoreOpt", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "if", "(", "skipFunction", "(", "Fn", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "Subtarget", "=", "&", "static_cast", "<", "const", "AArch64Subtarget", "&", ">", "(", "Fn", ".", "getSubtarget", "(", ")", ")", ";", "TII", "=", "static_cast", "<", "const", "AArch64InstrInfo", "*", ">", "(", "Subtarget", "->", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "Subtarget", "->", "getRegisterInfo", "(", ")", ";", "AA", "=", "&", "getAnalysis", "<", "AAResultsWrapperPass", ">", "(", ")", ".", "getAAResults", "(", ")", ";", "ModifiedRegUnits", ".", "init", "(", "*", "TRI", ")", ";", "UsedRegUnits", ".", "init", "(", "*", "TRI", ")", ";", "bool", "Modified", "=", "false", ";", "bool", "enableNarrowZeroStOpt", "=", "!", "Subtarget", "->", "requiresStrictAlign", "(", ")", ";", "for", "(", "auto", "&", "MBB", ":", "Fn", ")", "Modified", "|=", "optimizeBlock", "(", "MBB", ",", "enableNarrowZeroStOpt", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64LoadStoreOptimizer43", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 942, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "rs6000_md_asm_clobbers", "(", "tree", ",", "tree", ",", "tree", "clobbers", ")", "{", "tree", "s", "=", "build_string", "(", "strlen", "(", "reg_names", "[", "CA_REGNO", "]", ")", ",", "reg_names", "[", "CA_REGNO", "]", ")", ";", "return", "tree_cons", "(", "NULL_TREE", ",", "s", ",", "clobbers", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MD_ASM_CLOBBERS", ".", "All", "asm", "statements", "are", "considered", "to", "clobber", "the", "XER", "[", "CA", "]", "bit", "because", "clobbering", "that", "bit", "without", "telling", "the", "compiler", "worked", "just", "fine", "with", "versions", "of", "GCC", "before", "GCC", "5", ",", "and", "breaking", "a", "lot", "of", "older", "code", "in", "ways", "that", "are", "hard", "to", "track", "down", "is", "not", "such", "a", "great", "idea", "."], "TS_V_token": ["rs6000"], "File": "rs60004", "Func": "rs6000_md_asm_clobbers", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 943, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "HOST_WIDE_INT", "ix86_initial_elimination_offset", "(", "int", "from", ",", "int", "to", ")", "{", "struct", "ix86_frame", "frame", ";", "ix86_compute_frame_layout", "(", "&", "frame", ")", ";", "if", "(", "from", "==", "ARG_POINTER_REGNUM", "&&", "to", "==", "HARD_FRAME_POINTER_REGNUM", ")", "return", "frame", ".", "hard_frame_pointer_offset", ";", "else", "if", "(", "from", "==", "FRAME_POINTER_REGNUM", "&&", "to", "==", "HARD_FRAME_POINTER_REGNUM", ")", "return", "frame", ".", "hard_frame_pointer_offset", "-", "frame", ".", "frame_pointer_offset", ";", "else", "{", "gcc_assert", "(", "to", "==", "STACK_POINTER_REGNUM", ")", ";", "if", "(", "from", "==", "ARG_POINTER_REGNUM", ")", "return", "frame", ".", "stack_pointer_offset", ";", "gcc_assert", "(", "from", "==", "FRAME_POINTER_REGNUM", ")", ";", "return", "frame", ".", "stack_pointer_offset", "-", "frame", ".", "frame_pointer_offset", ";", "}", "}", ""], "natrual_language": ["Return", "the", "offset", "between", "two", "registers", ",", "one", "to", "be", "eliminated", ",", "and", "the", "other", "its", "replacement", ",", "at", "the", "start", "of", "a", "routine", "."], "TS_V_token": ["i386"], "File": "i3863", "Func": "ix86_initial_elimination_offset", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 944, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "iterator", "begin", "(", ")", "const", "{", "return", "Masks", ".", "begin", "(", ")", ";", "}", ""], "natrual_language": ["Recipe", "iterator", "methods", "."], "TS_V_token": ["Hexagon"], "File": "RDFGraph11", "Func": "begin", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 945, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "bfin_dsp_memref_p", "(", "rtx", "x", ")", "{", "if", "(", "!", "MEM_P", "(", "x", ")", ")", "return", "false", ";", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "POST_INC", "||", "GET_CODE", "(", "x", ")", "==", "PRE_INC", "||", "GET_CODE", "(", "x", ")", "==", "POST_DEC", "||", "GET_CODE", "(", "x", ")", "==", "PRE_DEC", ")", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "return", "IREG_P", "(", "x", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "X", "is", "a", "memory", "reference", "using", "an", "I", "register", "."], "TS_V_token": ["bfin", "0", "0"], "File": "bfin", "Func": "bfin_dsp_memref_p", "Target": "bfin", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 946, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_emit_vfp_multi_reg_pop", "(", "int", "first_reg", ",", "int", "num_regs", ",", "rtx", "base_reg", ")", "{", "int", "i", ",", "j", ";", "rtx", "par", ";", "rtx", "dwarf", "=", "NULL_RTX", ";", "rtx", "tmp", ",", "reg", ";", "gcc_assert", "(", "num_regs", "&&", "num_regs", "<=", "32", ")", ";", "if", "(", "num_regs", "==", "2", "&&", "!", "arm_arch6", ")", "{", "if", "(", "first_reg", "==", "15", ")", "first_reg", "--", ";", "num_regs", "++", ";", "}", "if", "(", "num_regs", ">", "16", ")", "{", "arm_emit_vfp_multi_reg_pop", "(", "first_reg", ",", "16", ",", "base_reg", ")", ";", "arm_emit_vfp_multi_reg_pop", "(", "first_reg", "+", "16", ",", "num_regs", "-", "16", ",", "base_reg", ")", ";", "return", ";", "}", "par", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "num_regs", "+", "1", ")", ")", ";", "tmp", "=", "gen_rtx_SET", "(", "base_reg", ",", "plus_constant", "(", "Pmode", ",", "base_reg", ",", "8", "*", "num_regs", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "tmp", ")", "=", "1", ";", "XVECEXP", "(", "par", ",", "0", ",", "0", ")", "=", "tmp", ";", "for", "(", "j", "=", "0", ",", "i", "=", "first_reg", ";", "j", "<", "num_regs", ";", "i", "+=", "2", ")", "{", "reg", "=", "gen_rtx_REG", "(", "DFmode", ",", "i", ")", ";", "tmp", "=", "gen_rtx_SET", "(", "reg", ",", "gen_frame_mem", "(", "DFmode", ",", "plus_constant", "(", "Pmode", ",", "base_reg", ",", "8", "*", "j", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "tmp", ")", "=", "1", ";", "XVECEXP", "(", "par", ",", "0", ",", "j", "+", "1", ")", "=", "tmp", ";", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg", ",", "dwarf", ")", ";", "j", "++", ";", "}", "par", "=", "emit_insn", "(", "par", ")", ";", "REG_NOTES", "(", "par", ")", "=", "dwarf", ";", "if", "(", "TARGET_VFP", "&&", "REGNO", "(", "base_reg", ")", "==", "IP_REGNUM", ")", "{", "RTX_FRAME_RELATED_P", "(", "par", ")", "=", "1", ";", "add_reg_note", "(", "par", ",", "REG_CFA_DEF_CFA", ",", "hard_frame_pointer_rtx", ")", ";", "}", "else", "arm_add_cfa_adjust_cfa_note", "(", "par", ",", "2", "*", "UNITS_PER_WORD", "*", "num_regs", ",", "base_reg", ",", "base_reg", ")", ";", "}", ""], "natrual_language": ["Generate", "and", "emit", "an", "insn", "pattern", "that", "we", "will", "recognize", "as", "a", "pop_multi", "of", "NUM_REGS", "consecutive", "VFP", "regs", ",", "starting", "at", "FIRST_REG", ".", "Unfortunately", ",", "since", "this", "insn", "does", "not", "reflect", "very", "well", "the", "actual", "semantics", "of", "the", "operation", ",", "we", "need", "to", "annotate", "the", "insn", "for", "the", "benefit", "of", "DWARF2", "frame", "unwind", "information", "."], "TS_V_token": ["arm", "32", "2", "15", "16", "16", "16", "16", "1", "8", "1", "0", "0", "0", "2", "8", "1", "0", "1", "1", "2"], "File": "arm5", "Func": "arm_emit_vfp_multi_reg_pop", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 947, "Length": 292, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "optimizeCall", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineInstr", "&", "MI", ",", "const", "MachineRegisterInfo", "&", "MRI", ",", "MachineDominatorTree", "&", "MDT", ",", "LiveIntervals", "&", "LIS", ",", "const", "WebAssemblyTargetLowering", "&", "TLI", ",", "const", "TargetLibraryInfo", "&", "LibInfo", ")", "{", "MachineOperand", "&", "Op1", "=", "MI", ".", "getOperand", "(", "1", ")", ";", "if", "(", "!", "Op1", ".", "isSymbol", "(", ")", ")", "return", "false", ";", "StringRef", "Name", "(", "Op1", ".", "getSymbolName", "(", ")", ")", ";", "bool", "callReturnsInput", "=", "Name", "==", "TLI", ".", "getLibcallName", "(", "RTLIB", "::", "MEMCPY", ")", "||", "Name", "==", "TLI", ".", "getLibcallName", "(", "RTLIB", "::", "MEMMOVE", ")", "||", "Name", "==", "TLI", ".", "getLibcallName", "(", "RTLIB", "::", "MEMSET", ")", ";", "if", "(", "!", "callReturnsInput", ")", "return", "false", ";", "LibFunc", "Func", ";", "if", "(", "!", "LibInfo", ".", "getLibFunc", "(", "Name", ",", "Func", ")", ")", "return", "false", ";", "unsigned", "FromReg", "=", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ";", "unsigned", "ToReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "if", "(", "MRI", ".", "getRegClass", "(", "FromReg", ")", "!=", "MRI", ".", "getRegClass", "(", "ToReg", ")", ")", "report_fatal_error", "(", "\"Memory Intrinsic results: call to builtin function \"", "\"with wrong signature, from/to mismatch\"", ")", ";", "return", "ReplaceDominatedUses", "(", "MBB", ",", "MI", ",", "FromReg", ",", "ToReg", ",", "MRI", ",", "MDT", ",", "LIS", ")", ";", "}", ""], "natrual_language": ["optimizeCall", "-", "Take", "the", "given", "call", "instruction", "and", "return", "a", "more", "optimal", "value", "to", "replace", "the", "instruction", "with", "or", "0", "if", "a", "more", "optimal", "form", "ca", "n't", "be", "found", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "1", "2", "0", "\"Memory Intrinsic results: call to builtin function \"", "\"with wrong signature, from/to mismatch\""], "File": "WebAssemblyMemIntrinsicResults", "Func": "optimizeCall", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 948, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "romp_sa_size", "(", ")", "{", "int", "size", ";", "int", "i", ";", "size", "=", "4", "+", "4", "+", "1", "+", "(", "16", "-", "first_reg_to_save", "(", ")", ")", ";", "for", "(", "i", "=", "2", "+", "(", "TARGET_FP_REGS", "!=", "0", ")", ";", "i", "<=", "7", ";", "i", "++", ")", "if", "(", "regs_ever_live", "[", "i", "+", "17", "]", ")", "{", "size", "+=", "18", ";", "break", ";", "}", "return", "size", "*", "4", ";", "}", ""], "natrual_language": ["Compute", "the", "size", "of", "the", "save", "area", "in", "the", "stack", ",", "including", "the", "space", "for", "the", "first", "four", "incoming", "arguments", "."], "TS_V_token": ["romp", "4", "4", "1", "16", "2", "0", "7", "17", "18", "4"], "File": "romp", "Func": "romp_sa_size", "Target": "romp", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 949, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "if", "(", "skipFunction", "(", "*", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "TII", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "bool", "Changed", "=", "false", ";", "if", "(", "MF", ".", "size", "(", ")", "<", "2", ")", "return", "Changed", ";", "for", "(", "MachineFunction", "::", "iterator", "I", "=", "MF", ".", "begin", "(", ")", ";", "I", "!=", "MF", ".", "end", "(", ")", ";", ")", "{", "MachineBasicBlock", "&", "B", "=", "*", "I", "++", ";", "if", "(", "processBlock", "(", "B", ")", ")", "Changed", "=", "true", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["PowerPC", "2"], "File": "PPCEarlyReturn2", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 950, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "{", "if", "(", "ExtraCode", "[", "1", "]", "!=", "0", ")", "return", "true", ";", "switch", "(", "ExtraCode", "[", "0", "]", ")", "{", "default", ":", "return", "true", ";", "case", "'r'", ":", "break", ";", "}", "}", "printOperand", "(", "MI", ",", "OpNo", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["Sparc", "Sparc", "0", "1", "0", "0"], "File": "SparcAsmPrinter15", "Func": "PrintAsmOperand", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 951, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sparc_split_reg_mem", "(", "rtx", "dest", ",", "rtx", "src", ",", "machine_mode", "mode", ")", "{", "rtx", "high_part", "=", "gen_highpart", "(", "mode", ",", "dest", ")", ";", "rtx", "low_part", "=", "gen_lowpart", "(", "mode", ",", "dest", ")", ";", "rtx", "word0", "=", "adjust_address", "(", "src", ",", "mode", ",", "0", ")", ";", "rtx", "word1", "=", "adjust_address", "(", "src", ",", "mode", ",", "4", ")", ";", "if", "(", "reg_overlap_mentioned_p", "(", "high_part", ",", "word1", ")", ")", "{", "emit_move_insn_1", "(", "low_part", ",", "word1", ")", ";", "emit_move_insn_1", "(", "high_part", ",", "word0", ")", ";", "}", "else", "{", "emit_move_insn_1", "(", "high_part", ",", "word0", ")", ";", "emit_move_insn_1", "(", "low_part", ",", "word1", ")", ";", "}", "}", ""], "natrual_language": ["Split", "a", "REG", "<", "--", "MEM", "move", "into", "a", "pair", "of", "moves", "in", "MODE", "."], "TS_V_token": ["sparc", "0", "4"], "File": "sparc", "Func": "sparc_split_reg_mem", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 952, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ATTRIBUTE_UNUSED", "ix86_stack_protect_fail", "(", "void", ")", "{", "return", "TARGET_64BIT", "?", "default_external_stack_protect_fail", "(", ")", ":", "default_hidden_stack_protect_fail", "(", ")", ";", "}", ""], "natrual_language": ["For", "32-bit", "code", "we", "can", "save", "PIC", "register", "setup", "by", "using", "__stack_chk_fail_local", "hidden", "function", "instead", "of", "calling", "__stack_chk_fail", "directly", ".", "64-bit", "code", "does", "n't", "need", "to", "setup", "any", "PIC", "register", ",", "so", "it", "is", "better", "to", "call", "__stack_chk_fail", "directly", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_stack_protect_fail", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 953, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "M88kInstrInfo", "::", "insertNoop", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "DebugLoc", "DL", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "M88k", "::", "ORrr", ")", ",", "M88k", "::", "R0", ")", ".", "addReg", "(", "M88k", "::", "R0", ")", ".", "addReg", "(", "M88k", "::", "R0", ")", ";", "}", ""], "natrual_language": ["Insert", "a", "noop", "into", "the", "instruction", "stream", "at", "the", "specified", "point", "."], "TS_V_token": ["M88k", "M88k", "M88k::ORrr", "M88k::R0", "M88k::R0", "M88k::R0"], "File": "M88kInstrInfo", "Func": "insertNoop", "Target": "M88k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 954, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_assemble_visibility", "(", "tree", "decl", ",", "int", "vis", ")", "{", "if", "(", "DEFAULT_ABI", "==", "ABI_AIX", "&&", "DOT_SYMBOLS", "&&", "TREE_CODE", "(", "decl", ")", "==", "FUNCTION_DECL", ")", "{", "static", "const", "char", "*", "const", "visibility_types", "[", "]", "=", "{", "NULL", ",", "\"internal\"", ",", "\"hidden\"", ",", "\"protected\"", "}", ";", "const", "char", "*", "name", ",", "*", "type", ";", "name", "=", "(", "(", "*", "targetm", ".", "strip_name_encoding", ")", "(", "IDENTIFIER_POINTER", "(", "DECL_ASSEMBLER_NAME", "(", "decl", ")", ")", ")", ")", ";", "type", "=", "visibility_types", "[", "vis", "]", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.%s\\t%s\\n\"", ",", "type", ",", "name", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.%s\\t.%s\\n\"", ",", "type", ",", "name", ")", ";", "}", "else", "default_assemble_visibility", "(", "decl", ",", "vis", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "assembler", "directive", "to", "set", "symbol", "visibility", "for", "DECL", "to", "VISIBILITY_TYPE", "."], "TS_V_token": ["rs6000", "\"internal\"", "\"hidden\"", "\"protected\"", "\"\\t.%s\\t%s\\n\"", "\"\\t.%s\\t.%s\\n\""], "File": "rs60003", "Func": "rs6000_assemble_visibility", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 955, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "if", "(", "N", "->", "isMachineOpcode", "(", ")", ")", "return", "N", "->", "setNodeId", "(", "-", "1", ")", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "Constant", ":", "return", "SelectConstant", "(", "N", ")", ";", "case", "ISD", "::", "ConstantFP", ":", "return", "SelectConstantFP", "(", "N", ")", ";", "case", "ISD", "::", "FrameIndex", ":", "return", "SelectFrameIndex", "(", "N", ")", ";", "case", "ISD", "::", "BITCAST", ":", "return", "SelectBitcast", "(", "N", ")", ";", "case", "ISD", "::", "SHL", ":", "return", "SelectSHL", "(", "N", ")", ";", "case", "ISD", "::", "LOAD", ":", "return", "SelectLoad", "(", "N", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "SelectStore", "(", "N", ")", ";", "case", "ISD", "::", "MUL", ":", "return", "SelectMul", "(", "N", ")", ";", "case", "ISD", "::", "ZERO_EXTEND", ":", "return", "SelectZeroExtend", "(", "N", ")", ";", "case", "ISD", "::", "INTRINSIC_W_CHAIN", ":", "return", "SelectIntrinsicWChain", "(", "N", ")", ";", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "SelectIntrinsicWOChain", "(", "N", ")", ";", "}", "SelectCode", "(", "N", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["Hexagon", "Hexagon", "1", "ISD::Constant", "ISD::ConstantFP", "ISD::FrameIndex", "ISD::BITCAST", "ISD::SHL", "ISD::LOAD", "ISD::STORE", "ISD::MUL", "ISD::ZERO_EXTEND", "ISD::INTRINSIC_W_CHAIN", "ISD::INTRINSIC_WO_CHAIN"], "File": "HexagonISelDAGToDAG31", "Func": "Select", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 956, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMSubtarget", "::", "enableSubRegLiveness", "(", ")", "const", "{", "return", "EnableSubRegLiveness", ";", "}", ""], "natrual_language": ["Enable", "tracking", "of", "subregister", "liveness", "in", "register", "allocator", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMSubtarget37", "Func": "enableSubRegLiveness", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 957, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "nvptx_gen_vcast", "(", "rtx", "reg", ")", "{", "return", "nvptx_gen_shuffle", "(", "reg", ",", "reg", ",", "const0_rtx", ",", "SHUFFLE_IDX", ")", ";", "}", ""], "natrual_language": ["Generate", "an", "instruction", "or", "sequence", "to", "broadcast", "register", "REG", "across", "the", "vectors", "of", "a", "single", "warp", "."], "TS_V_token": ["nvptx"], "File": "nvptx3", "Func": "nvptx_gen_vcast", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 958, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "m32c_extra_constraint_p2", "(", "rtx", "value", ",", "char", "c", "ATTRIBUTE_UNUSED", ",", "const", "char", "*", "str", ")", "{", "encode_pattern", "(", "value", ")", ";", "if", "(", "memcmp", "(", "str", ",", "\"Sd\"", ",", "2", ")", "==", "0", ")", "{", "rtx", "r", ";", "if", "(", "GET_CODE", "(", "value", ")", "==", "MEM", "&&", "CONSTANT_P", "(", "XEXP", "(", "value", ",", "0", ")", ")", ")", "return", "1", ";", "if", "(", "RTX_IS", "(", "\"ms\"", ")", "||", "RTX_IS", "(", "\"m+si\"", ")", ")", "return", "1", ";", "if", "(", "RTX_IS", "(", "\"mr\"", ")", ")", "r", "=", "patternr", "[", "1", "]", ";", "else", "if", "(", "RTX_IS", "(", "\"m+ri\"", ")", "||", "RTX_IS", "(", "\"m+rs\"", ")", "||", "RTX_IS", "(", "\"m+r+si\"", ")", ")", "r", "=", "patternr", "[", "2", "]", ";", "else", "return", "0", ";", "if", "(", "REGNO", "(", "r", ")", "==", "SP_REGNO", ")", "return", "0", ";", "return", "m32c_legitimate_address_p", "(", "GET_MODE", "(", "value", ")", ",", "XEXP", "(", "value", ",", "0", ")", ",", "1", ")", ";", "}", "else", "if", "(", "memcmp", "(", "str", ",", "\"Sa\"", ",", "2", ")", "==", "0", ")", "{", "rtx", "r", ";", "if", "(", "RTX_IS", "(", "\"mr\"", ")", ")", "r", "=", "patternr", "[", "1", "]", ";", "else", "if", "(", "RTX_IS", "(", "\"m+ri\"", ")", ")", "r", "=", "patternr", "[", "2", "]", ";", "else", "return", "0", ";", "return", "(", "IS_REG", "(", "r", ",", "A0_REGNO", ")", "||", "IS_REG", "(", "r", ",", "A1_REGNO", ")", ")", ";", "}", "else", "if", "(", "memcmp", "(", "str", ",", "\"Si\"", ",", "2", ")", "==", "0", ")", "{", "return", "(", "RTX_IS", "(", "\"mi\"", ")", "||", "RTX_IS", "(", "\"ms\"", ")", "||", "RTX_IS", "(", "\"m+si\"", ")", ")", ";", "}", "else", "if", "(", "memcmp", "(", "str", ",", "\"Ss\"", ",", "2", ")", "==", "0", ")", "{", "return", "(", "(", "RTX_IS", "(", "\"mr\"", ")", "&&", "(", "IS_REG", "(", "patternr", "[", "1", "]", ",", "SP_REGNO", ")", ")", ")", "||", "(", "RTX_IS", "(", "\"m+ri\"", ")", "&&", "(", "IS_REG", "(", "patternr", "[", "2", "]", ",", "SP_REGNO", ")", ")", ")", ")", ";", "}", "else", "if", "(", "memcmp", "(", "str", ",", "\"Sf\"", ",", "2", ")", "==", "0", ")", "{", "return", "(", "(", "RTX_IS", "(", "\"mr\"", ")", "&&", "(", "IS_REG", "(", "patternr", "[", "1", "]", ",", "FB_REGNO", ")", ")", ")", "||", "(", "RTX_IS", "(", "\"m+ri\"", ")", "&&", "(", "IS_REG", "(", "patternr", "[", "2", "]", ",", "FB_REGNO", ")", ")", ")", ")", ";", "}", "else", "if", "(", "memcmp", "(", "str", ",", "\"Sb\"", ",", "2", ")", "==", "0", ")", "{", "return", "(", "(", "RTX_IS", "(", "\"mr\"", ")", "&&", "(", "IS_REG", "(", "patternr", "[", "1", "]", ",", "SB_REGNO", ")", ")", ")", "||", "(", "RTX_IS", "(", "\"m+ri\"", ")", "&&", "(", "IS_REG", "(", "patternr", "[", "2", "]", ",", "SB_REGNO", ")", ")", ")", ")", ";", "}", "else", "if", "(", "memcmp", "(", "str", ",", "\"S1\"", ",", "2", ")", "==", "0", ")", "{", "return", "r1h_operand", "(", "value", ",", "QImode", ")", ";", "}", "gcc_assert", "(", "str", "[", "0", "]", "!=", "'S'", ")", ";", "if", "(", "memcmp", "(", "str", ",", "\"Rpa\"", ",", "2", ")", "==", "0", ")", "return", "GET_CODE", "(", "value", ")", "==", "PARALLEL", ";", "return", "0", ";", "}", ""], "natrual_language": ["Implements", "EXTRA_CONSTRAINT_STR", "(", "see", "next", "function", "too", ")", ".", "'S", "'", "is", "for", "memory", "constraints", ",", "plus", "``", "Rpa", "''", "for", "PARALLEL", "rtx", "'s", "we", "use", "for", "call", "return", "values", "."], "TS_V_token": ["m32c", "\"Sd\"", "2", "0", "0", "1", "\"ms\"", "\"m+si\"", "1", "\"mr\"", "1", "\"m+ri\"", "\"m+rs\"", "\"m+r+si\"", "2", "0", "0", "0", "1", "\"Sa\"", "2", "0", "\"mr\"", "1", "\"m+ri\"", "2", "0", "\"Si\"", "2", "0", "\"mi\"", "\"ms\"", "\"m+si\"", "\"Ss\"", "2", "0", "\"mr\"", "1", "\"m+ri\"", "2", "\"Sf\"", "2", "0", "\"mr\"", "1", "\"m+ri\"", "2", "\"Sb\"", "2", "0", "\"mr\"", "1", "\"m+ri\"", "2", "\"S1\"", "2", "0", "0", "\"Rpa\"", "2", "0", "0"], "File": "m32c2", "Func": "m32c_extra_constraint_p2", "Target": "m32c", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 959, "Length": 482, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MOSSubtarget", "&", "MOSSubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetMachine", "&", "TM", ")", "{", "ParseSubtargetFeatures", "(", "CPU", ",", "CPU", ",", "FS", ")", ";", "EFlags", "=", "MOS_MC", "::", "makeEFlags", "(", "getFeatureBits", "(", ")", ")", ";", "return", "*", "this", ";", "}", ""], "natrual_language": ["initializeSubtargetDependencies", "-", "Initializes", "using", "a", "CPU", ",", "a", "TuneCPU", ",", "and", "feature", "string", "so", "that", "we", "can", "use", "initializer", "lists", "for", "subtarget", "initialization", "."], "TS_V_token": ["MOS", "MOS", "MOS", "MOS_MC::makeEFlags"], "File": "MOSSubtarget", "Func": "initializeSubtargetDependencies", "Target": "MOS", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 960, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getMaxPrefetchIterationsAhead", "(", ")", "const", "override", "{", "return", "MaxPrefetchIterationsAhead", ";", "}", ""], "natrual_language": ["Return", "the", "maximum", "prefetch", "distance", "in", "terms", "of", "loop", "iterations", "."], "TS_V_token": ["AArch64"], "File": "AArch64Subtarget (2)1", "Func": "getMaxPrefetchIterationsAhead", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 961, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "cr16_legitimize_address", "(", "rtx", "x", ",", "rtx", "orig_x", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "flag_pic", ")", "return", "legitimize_pic_address", "(", "orig_x", ",", "mode", ",", "NULL_RTX", ")", ";", "else", "return", "x", ";", "}", ""], "natrual_language": ["A", "C", "compound", "statement", "that", "attempts", "to", "replace", "X", "with", "a", "valid", "memory", "address", "for", "an", "operand", "of", "mode", "MODE", ".", "WIN", "will", "be", "a", "C", "statement", "label", "elsewhere", "in", "the", "code", ".", "X", "will", "always", "be", "the", "result", "of", "a", "call", "to", "break_out_memory_refs", "(", ")", ",", "and", "OLDX", "will", "be", "the", "operand", "that", "was", "given", "to", "that", "function", "to", "produce", "X", ".", "The", "code", "generated", "by", "this", "macro", "should", "not", "alter", "the", "substructure", "of", "X", ".", "If", "it", "transforms", "X", "into", "a", "more", "legitimate", "form", ",", "it", "should", "assign", "X", "(", "which", "will", "always", "be", "a", "C", "variable", ")", "a", "new", "value", "."], "TS_V_token": ["cr16"], "File": "cr16", "Func": "cr16_legitimize_address", "Target": "cr16", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 962, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "WebAssemblyTargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "SDLoc", "DL", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "if", "(", "!", "CallingConvSupported", "(", "CallConv", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly doesn't support non-C calling conventions\"", ")", ";", "MF", ".", "getRegInfo", "(", ")", ".", "addLiveIn", "(", "WebAssembly", "::", "ARGUMENTS", ")", ";", "for", "(", "const", "ISD", "::", "InputArg", "&", "In", ":", "Ins", ")", "{", "if", "(", "In", ".", "Flags", ".", "isByVal", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly hasn't implemented byval arguments\"", ")", ";", "if", "(", "In", ".", "Flags", ".", "isInAlloca", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly hasn't implemented inalloca arguments\"", ")", ";", "if", "(", "In", ".", "Flags", ".", "isNest", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly hasn't implemented nest arguments\"", ")", ";", "if", "(", "In", ".", "Flags", ".", "isInConsecutiveRegs", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly hasn't implemented cons regs arguments\"", ")", ";", "if", "(", "In", ".", "Flags", ".", "isInConsecutiveRegsLast", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly hasn't implemented cons regs last arguments\"", ")", ";", "InVals", ".", "push_back", "(", "In", ".", "Used", "?", "DAG", ".", "getNode", "(", "WebAssemblyISD", "::", "ARGUMENT", ",", "DL", ",", "In", ".", "VT", ",", "DAG", ".", "getTargetConstant", "(", "InVals", ".", "size", "(", ")", ",", "DL", ",", "MVT", "::", "i32", ")", ")", ":", "DAG", ".", "getUNDEF", "(", "In", ".", "VT", ")", ")", ";", "MF", ".", "getInfo", "<", "WebAssemblyFunctionInfo", ">", "(", ")", "->", "addParam", "(", "In", ".", "VT", ")", ";", "}", "return", "Chain", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "the", "Ins", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "ISD::InputArg", "\"WebAssembly doesn't support non-C calling conventions\"", "WebAssembly::ARGUMENTS", "ISD::InputArg", "\"WebAssembly hasn't implemented byval arguments\"", "\"WebAssembly hasn't implemented inalloca arguments\"", "\"WebAssembly hasn't implemented nest arguments\"", "\"WebAssembly hasn't implemented cons regs arguments\"", "\"WebAssembly hasn't implemented cons regs last arguments\"", "WebAssemblyISD::ARGUMENT", "MVT::i32", "WebAssembly"], "File": "WebAssemblyISelLowering (3)", "Func": "LowerFormalArguments", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 963, "Length": 259, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "getMemScale", "(", "MachineInstr", "*", "MI", ")", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Opcode has unknown scale!\"", ")", ";", "case", "AArch64", "::", "LDRBBui", ":", "case", "AArch64", "::", "STRBBui", ":", "return", "1", ";", "case", "AArch64", "::", "LDRHHui", ":", "case", "AArch64", "::", "STRHHui", ":", "return", "2", ";", "case", "AArch64", "::", "LDRSui", ":", "case", "AArch64", "::", "LDURSi", ":", "case", "AArch64", "::", "LDRSWui", ":", "case", "AArch64", "::", "LDURSWi", ":", "case", "AArch64", "::", "LDRWui", ":", "case", "AArch64", "::", "LDURWi", ":", "case", "AArch64", "::", "STRSui", ":", "case", "AArch64", "::", "STURSi", ":", "case", "AArch64", "::", "STRWui", ":", "case", "AArch64", "::", "STURWi", ":", "case", "AArch64", "::", "LDPSi", ":", "case", "AArch64", "::", "LDPSWi", ":", "case", "AArch64", "::", "LDPWi", ":", "case", "AArch64", "::", "STPSi", ":", "case", "AArch64", "::", "STPWi", ":", "return", "4", ";", "case", "AArch64", "::", "LDRDui", ":", "case", "AArch64", "::", "LDURDi", ":", "case", "AArch64", "::", "LDRXui", ":", "case", "AArch64", "::", "LDURXi", ":", "case", "AArch64", "::", "STRDui", ":", "case", "AArch64", "::", "STURDi", ":", "case", "AArch64", "::", "STRXui", ":", "case", "AArch64", "::", "STURXi", ":", "case", "AArch64", "::", "LDPDi", ":", "case", "AArch64", "::", "LDPXi", ":", "case", "AArch64", "::", "STPDi", ":", "case", "AArch64", "::", "STPXi", ":", "return", "8", ";", "case", "AArch64", "::", "LDRQui", ":", "case", "AArch64", "::", "LDURQi", ":", "case", "AArch64", "::", "STRQui", ":", "case", "AArch64", "::", "STURQi", ":", "case", "AArch64", "::", "LDPQi", ":", "case", "AArch64", "::", "STPQi", ":", "return", "16", ";", "}", "}", ""], "natrual_language": ["Scaling", "factor", "for", "(", "scaled", "or", "unscaled", ")", "load", "or", "store", "."], "TS_V_token": ["AArch64", "\"Opcode has unknown scale!\"", "AArch64::LDRBBui", "AArch64::STRBBui", "1", "AArch64::LDRHHui", "AArch64::STRHHui", "2", "AArch64::LDRSui", "AArch64::LDURSi", "AArch64::LDRSWui", "AArch64::LDURSWi", "AArch64::LDRWui", "AArch64::LDURWi", "AArch64::STRSui", "AArch64::STURSi", "AArch64::STRWui", "AArch64::STURWi", "AArch64::LDPSi", "AArch64::LDPSWi", "AArch64::LDPWi", "AArch64::STPSi", "AArch64::STPWi", "4", "AArch64::LDRDui", "AArch64::LDURDi", "AArch64::LDRXui", "AArch64::LDURXi", "AArch64::STRDui", "AArch64::STURDi", "AArch64::STRXui", "AArch64::STURXi", "AArch64::LDPDi", "AArch64::LDPXi", "AArch64::STPDi", "AArch64::STPXi", "8", "AArch64::LDRQui", "AArch64::LDURQi", "AArch64::STRQui", "AArch64::STURQi", "AArch64::LDPQi", "AArch64::STPQi", "16"], "File": "AArch64LoadStoreOptimizer31", "Func": "getMemScale", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 964, "Length": 227, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "h8300_handle_fndecl_attribute", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", "args", "ATTRIBUTE_UNUSED", ",", "int", "flags", "ATTRIBUTE_UNUSED", ",", "bool", "*", "no_add_attrs", ")", "{", "if", "(", "TREE_CODE", "(", "*", "node", ")", "!=", "FUNCTION_DECL", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qs attribute only applies to functions\"", ",", "IDENTIFIER_POINTER", "(", "name", ")", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Handle", "an", "attribute", "requiring", "a", "FUNCTION_DECL", ";", "arguments", "as", "in", "struct", "attribute_spec.handler", "."], "TS_V_token": ["h8300", "\"%qs attribute only applies to functions\""], "File": "h83003", "Func": "h8300_handle_fndecl_attribute", "Target": "h8300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 965, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "HexagonInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Hexagon", "::", "L2_loadri_io", ":", "case", "Hexagon", "::", "L2_loadrd_io", ":", "case", "Hexagon", "::", "V6_vL32b_ai", ":", "case", "Hexagon", "::", "V6_vL32b_ai_128B", ":", "case", "Hexagon", "::", "V6_vL32Ub_ai", ":", "case", "Hexagon", "::", "V6_vL32Ub_ai_128B", ":", "case", "Hexagon", "::", "LDriw_pred", ":", "case", "Hexagon", "::", "LDriw_mod", ":", "case", "Hexagon", "::", "PS_vloadrq_ai", ":", "case", "Hexagon", "::", "PS_vloadrw_ai", ":", "case", "Hexagon", "::", "PS_vloadrq_ai_128B", ":", "case", "Hexagon", "::", "PS_vloadrw_ai_128B", ":", "{", "const", "MachineOperand", "OpFI", "=", "MI", ".", "getOperand", "(", "1", ")", ";", "if", "(", "!", "OpFI", ".", "isFI", "(", ")", ")", "return", "0", ";", "const", "MachineOperand", "OpOff", "=", "MI", ".", "getOperand", "(", "2", ")", ";", "if", "(", "!", "OpOff", ".", "isImm", "(", ")", "||", "OpOff", ".", "getImm", "(", ")", "!=", "0", ")", "return", "0", ";", "FrameIndex", "=", "OpFI", ".", "getIndex", "(", ")", ";", "return", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "}", "case", "Hexagon", "::", "L2_ploadrit_io", ":", "case", "Hexagon", "::", "L2_ploadrif_io", ":", "case", "Hexagon", "::", "L2_ploadrdt_io", ":", "case", "Hexagon", "::", "L2_ploadrdf_io", ":", "{", "const", "MachineOperand", "OpFI", "=", "MI", ".", "getOperand", "(", "2", ")", ";", "if", "(", "!", "OpFI", ".", "isFI", "(", ")", ")", "return", "0", ";", "const", "MachineOperand", "OpOff", "=", "MI", ".", "getOperand", "(", "3", ")", ";", "if", "(", "!", "OpOff", ".", "isImm", "(", ")", "||", "OpOff", ".", "getImm", "(", ")", "!=", "0", ")", "return", "0", ";", "FrameIndex", "=", "OpFI", ".", "getIndex", "(", ")", ";", "return", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["isLoadFromStackSlot", "-", "If", "the", "specified", "machine", "instruction", "is", "a", "direct", "load", "from", "a", "stack", "slot", ",", "return", "the", "virtual", "or", "physical", "register", "number", "of", "the", "destination", "along", "with", "the", "FrameIndex", "of", "the", "loaded", "stack", "slot", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon::L2_loadri_io", "Hexagon::L2_loadrd_io", "Hexagon::V6_vL32b_ai", "Hexagon::V6_vL32b_ai_128B", "Hexagon::V6_vL32Ub_ai", "Hexagon::V6_vL32Ub_ai_128B", "Hexagon::LDriw_pred", "Hexagon::LDriw_mod", "Hexagon::PS_vloadrq_ai", "Hexagon::PS_vloadrw_ai", "Hexagon::PS_vloadrq_ai_128B", "Hexagon::PS_vloadrw_ai_128B", "1", "0", "2", "0", "0", "0", "Hexagon::L2_ploadrit_io", "Hexagon::L2_ploadrif_io", "Hexagon::L2_ploadrdt_io", "Hexagon::L2_ploadrdf_io", "2", "0", "3", "0", "0", "0", "0"], "File": "HexagonInstrInfo10", "Func": "isLoadFromStackSlot", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 966, "Length": 266, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CSKYFrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "ArrayRef", "<", "CalleeSavedInfo", ">", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "true", ";", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", "->", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "DL", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", "&&", "!", "MI", "->", "isDebugInstr", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "for", "(", "auto", "&", "CS", ":", "CSI", ")", "{", "Register", "Reg", "=", "CS", ".", "getReg", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "TII", ".", "storeRegToStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "true", ",", "CS", ".", "getFrameIdx", "(", ")", ",", "RC", ",", "TRI", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["spillCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "spill", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "store", "instructions", "via", "storeRegToStackSlot", "(", ")", "."], "TS_V_token": ["CSKY", "CSKY"], "File": "CSKYFrameLowering1", "Func": "spillCalleeSavedRegisters", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 967, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_init_libfuncs", "(", "void", ")", "{", "if", "(", "TARGET_FIX_VR4120", ")", "{", "set_optab_libfunc", "(", "sdiv_optab", ",", "SImode", ",", "\"__vr4120_divsi3\"", ")", ";", "set_optab_libfunc", "(", "smod_optab", ",", "SImode", ",", "\"__vr4120_modsi3\"", ")", ";", "}", "if", "(", "TARGET_MIPS16", "&&", "TARGET_HARD_FLOAT_ABI", ")", "{", "set_optab_libfunc", "(", "add_optab", ",", "SFmode", ",", "\"__mips16_addsf3\"", ")", ";", "set_optab_libfunc", "(", "sub_optab", ",", "SFmode", ",", "\"__mips16_subsf3\"", ")", ";", "set_optab_libfunc", "(", "smul_optab", ",", "SFmode", ",", "\"__mips16_mulsf3\"", ")", ";", "set_optab_libfunc", "(", "sdiv_optab", ",", "SFmode", ",", "\"__mips16_divsf3\"", ")", ";", "set_optab_libfunc", "(", "eq_optab", ",", "SFmode", ",", "\"__mips16_eqsf2\"", ")", ";", "set_optab_libfunc", "(", "ne_optab", ",", "SFmode", ",", "\"__mips16_nesf2\"", ")", ";", "set_optab_libfunc", "(", "gt_optab", ",", "SFmode", ",", "\"__mips16_gtsf2\"", ")", ";", "set_optab_libfunc", "(", "ge_optab", ",", "SFmode", ",", "\"__mips16_gesf2\"", ")", ";", "set_optab_libfunc", "(", "lt_optab", ",", "SFmode", ",", "\"__mips16_ltsf2\"", ")", ";", "set_optab_libfunc", "(", "le_optab", ",", "SFmode", ",", "\"__mips16_lesf2\"", ")", ";", "set_optab_libfunc", "(", "unord_optab", ",", "SFmode", ",", "\"__mips16_unordsf2\"", ")", ";", "set_conv_libfunc", "(", "sfix_optab", ",", "SImode", ",", "SFmode", ",", "\"__mips16_fix_truncsfsi\"", ")", ";", "set_conv_libfunc", "(", "sfloat_optab", ",", "SFmode", ",", "SImode", ",", "\"__mips16_floatsisf\"", ")", ";", "set_conv_libfunc", "(", "ufloat_optab", ",", "SFmode", ",", "SImode", ",", "\"__mips16_floatunsisf\"", ")", ";", "if", "(", "TARGET_DOUBLE_FLOAT", ")", "{", "set_optab_libfunc", "(", "add_optab", ",", "DFmode", ",", "\"__mips16_adddf3\"", ")", ";", "set_optab_libfunc", "(", "sub_optab", ",", "DFmode", ",", "\"__mips16_subdf3\"", ")", ";", "set_optab_libfunc", "(", "smul_optab", ",", "DFmode", ",", "\"__mips16_muldf3\"", ")", ";", "set_optab_libfunc", "(", "sdiv_optab", ",", "DFmode", ",", "\"__mips16_divdf3\"", ")", ";", "set_optab_libfunc", "(", "eq_optab", ",", "DFmode", ",", "\"__mips16_eqdf2\"", ")", ";", "set_optab_libfunc", "(", "ne_optab", ",", "DFmode", ",", "\"__mips16_nedf2\"", ")", ";", "set_optab_libfunc", "(", "gt_optab", ",", "DFmode", ",", "\"__mips16_gtdf2\"", ")", ";", "set_optab_libfunc", "(", "ge_optab", ",", "DFmode", ",", "\"__mips16_gedf2\"", ")", ";", "set_optab_libfunc", "(", "lt_optab", ",", "DFmode", ",", "\"__mips16_ltdf2\"", ")", ";", "set_optab_libfunc", "(", "le_optab", ",", "DFmode", ",", "\"__mips16_ledf2\"", ")", ";", "set_optab_libfunc", "(", "unord_optab", ",", "DFmode", ",", "\"__mips16_unorddf2\"", ")", ";", "set_conv_libfunc", "(", "sext_optab", ",", "DFmode", ",", "SFmode", ",", "\"__mips16_extendsfdf2\"", ")", ";", "set_conv_libfunc", "(", "trunc_optab", ",", "SFmode", ",", "DFmode", ",", "\"__mips16_truncdfsf2\"", ")", ";", "set_conv_libfunc", "(", "sfix_optab", ",", "SImode", ",", "DFmode", ",", "\"__mips16_fix_truncdfsi\"", ")", ";", "set_conv_libfunc", "(", "sfloat_optab", ",", "DFmode", ",", "SImode", ",", "\"__mips16_floatsidf\"", ")", ";", "set_conv_libfunc", "(", "ufloat_optab", ",", "DFmode", ",", "SImode", ",", "\"__mips16_floatunsidf\"", ")", ";", "}", "}", "if", "(", "TARGET_MIPS16", ")", "{", "synchronize_libfunc", "=", "init_one_libfunc", "(", "\"__sync_synchronize\"", ")", ";", "init_sync_libfuncs", "(", "UNITS_PER_WORD", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_INIT_LIBFUNCS", "."], "TS_V_token": ["mips", "\"__vr4120_divsi3\"", "\"__vr4120_modsi3\"", "\"__mips16_addsf3\"", "\"__mips16_subsf3\"", "\"__mips16_mulsf3\"", "\"__mips16_divsf3\"", "\"__mips16_eqsf2\"", "\"__mips16_nesf2\"", "\"__mips16_gtsf2\"", "\"__mips16_gesf2\"", "\"__mips16_ltsf2\"", "\"__mips16_lesf2\"", "\"__mips16_unordsf2\"", "\"__mips16_fix_truncsfsi\"", "\"__mips16_floatsisf\"", "\"__mips16_floatunsisf\"", "\"__mips16_adddf3\"", "\"__mips16_subdf3\"", "\"__mips16_muldf3\"", "\"__mips16_divdf3\"", "\"__mips16_eqdf2\"", "\"__mips16_nedf2\"", "\"__mips16_gtdf2\"", "\"__mips16_gedf2\"", "\"__mips16_ltdf2\"", "\"__mips16_ledf2\"", "\"__mips16_unorddf2\"", "\"__mips16_extendsfdf2\"", "\"__mips16_truncdfsf2\"", "\"__mips16_fix_truncdfsi\"", "\"__mips16_floatsidf\"", "\"__mips16_floatunsidf\"", "\"__sync_synchronize\""], "File": "mips", "Func": "mips_init_libfuncs", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 968, "Length": 350, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCFrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "const", "PPCRegisterInfo", "*", "RegInfo", "=", "static_cast", "<", "const", "PPCRegisterInfo", "*", ">", "(", "Subtarget", ".", "getRegisterInfo", "(", ")", ")", ";", "PPCFunctionInfo", "*", "FI", "=", "MF", ".", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", ";", "unsigned", "LR", "=", "RegInfo", "->", "getRARegister", "(", ")", ";", "FI", "->", "setMustSaveLR", "(", "MustSaveLR", "(", "MF", ",", "LR", ")", ")", ";", "SavedRegs", ".", "reset", "(", "LR", ")", ";", "int", "FPSI", "=", "FI", "->", "getFramePointerSaveIndex", "(", ")", ";", "bool", "isPPC64", "=", "Subtarget", ".", "isPPC64", "(", ")", ";", "bool", "isDarwinABI", "=", "Subtarget", ".", "isDarwinABI", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "if", "(", "!", "FPSI", "&&", "needsFP", "(", "MF", ")", ")", "{", "int", "FPOffset", "=", "getFramePointerSaveOffset", "(", ")", ";", "FPSI", "=", "MFI", ".", "CreateFixedObject", "(", "isPPC64", "?", "8", ":", "4", ",", "FPOffset", ",", "true", ")", ";", "FI", "->", "setFramePointerSaveIndex", "(", "FPSI", ")", ";", "}", "int", "BPSI", "=", "FI", "->", "getBasePointerSaveIndex", "(", ")", ";", "if", "(", "!", "BPSI", "&&", "RegInfo", "->", "hasBasePointer", "(", "MF", ")", ")", "{", "int", "BPOffset", "=", "getBasePointerSaveOffset", "(", ")", ";", "BPSI", "=", "MFI", ".", "CreateFixedObject", "(", "isPPC64", "?", "8", ":", "4", ",", "BPOffset", ",", "true", ")", ";", "FI", "->", "setBasePointerSaveIndex", "(", "BPSI", ")", ";", "}", "if", "(", "FI", "->", "usesPICBase", "(", ")", ")", "{", "int", "PBPSI", "=", "MFI", ".", "CreateFixedObject", "(", "4", ",", "-", "8", ",", "true", ")", ";", "FI", "->", "setPICBasePointerSaveIndex", "(", "PBPSI", ")", ";", "}", "if", "(", "needsFP", "(", "MF", ")", ")", "SavedRegs", ".", "reset", "(", "isPPC64", "?", "PPC", "::", "X31", ":", "PPC", "::", "R31", ")", ";", "if", "(", "RegInfo", "->", "hasBasePointer", "(", "MF", ")", ")", "SavedRegs", ".", "reset", "(", "RegInfo", "->", "getBaseRegister", "(", "MF", ")", ")", ";", "if", "(", "FI", "->", "usesPICBase", "(", ")", ")", "SavedRegs", ".", "reset", "(", "PPC", "::", "R30", ")", ";", "int", "TCSPDelta", "=", "0", ";", "if", "(", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "GuaranteedTailCallOpt", "&&", "(", "TCSPDelta", "=", "FI", "->", "getTailCallSPDelta", "(", ")", ")", "<", "0", ")", "{", "MFI", ".", "CreateFixedObject", "(", "-", "1", "*", "TCSPDelta", ",", "TCSPDelta", ",", "true", ")", ";", "}", "if", "(", "!", "isPPC64", "&&", "!", "isDarwinABI", "&&", "(", "SavedRegs", ".", "test", "(", "PPC", "::", "CR2", ")", "||", "SavedRegs", ".", "test", "(", "PPC", "::", "CR3", ")", "||", "SavedRegs", ".", "test", "(", "PPC", "::", "CR4", ")", ")", ")", "{", "int", "FrameIdx", "=", "MFI", ".", "CreateFixedObject", "(", "(", "uint64_t", ")", "4", ",", "(", "int64_t", ")", "-", "4", ",", "true", ")", ";", "FI", "->", "setCRSpillFrameIndex", "(", "FrameIdx", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "determines", "which", "of", "the", "registers", "reported", "by", "TargetRegisterInfo", ":", ":getCalleeSavedRegs", "(", ")", "should", "actually", "get", "saved", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC", "8", "4", "PPC", "8", "4", "4", "8", "PPC", "PPC::X31", "PPC::R31", "PPC::R30", "0", "0", "1", "PPC", "PPC::CR2", "PPC::CR3", "PPC::CR4", "4", "4"], "File": "PPCFrameLowering23", "Func": "determineCalleeSaves", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 969, "Length": 429, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "XCoreRegisterInfo", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "TargetFrameInfo", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", ";", "if", "(", "!", "TFI", "->", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "MachineInstr", "*", "Old", "=", "I", ";", "uint64_t", "Amount", "=", "Old", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "Amount", "!=", "0", ")", "{", "unsigned", "Align", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", "->", "getStackAlignment", "(", ")", ";", "Amount", "=", "(", "Amount", "+", "Align", "-", "1", ")", "/", "Align", "*", "Align", ";", "assert", "(", "Amount", "%", "4", "==", "0", ")", ";", "Amount", "/=", "4", ";", "bool", "isU6", "=", "isImmU6", "(", "Amount", ")", ";", "if", "(", "!", "isU6", "&&", "!", "isImmU16", "(", "Amount", ")", ")", "{", "errs", "(", ")", "<<", "\"eliminateCallFramePseudoInstr size too big: \"", "<<", "Amount", "<<", "\"\\n\"", ";", "llvm_unreachable", "(", "0", ")", ";", "}", "MachineInstr", "*", "New", ";", "if", "(", "Old", "->", "getOpcode", "(", ")", "==", "XCore", "::", "ADJCALLSTACKDOWN", ")", "{", "int", "Opcode", "=", "isU6", "?", "XCore", "::", "EXTSP_u6", ":", "XCore", "::", "EXTSP_lu6", ";", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "Opcode", ")", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Old", "->", "getOpcode", "(", ")", "==", "XCore", "::", "ADJCALLSTACKUP", ")", ";", "int", "Opcode", "=", "isU6", "?", "XCore", "::", "LDAWSP_ru6_RRegs", ":", "XCore", "::", "LDAWSP_lru6_RRegs", ";", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "Opcode", ")", ",", "XCore", "::", "SP", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "MBB", ".", "insert", "(", "I", ",", "New", ")", ";", "}", "}", "MBB", ".", "erase", "(", "I", ")", ";", "}", ""], "natrual_language": ["This", "method", "is", "called", "during", "prolog/epilog", "code", "insertion", "to", "eliminate", "call", "frame", "setup", "and", "destroy", "pseudo", "instructions", "(", "but", "only", "if", "the", "Target", "is", "using", "them", ")", "."], "TS_V_token": ["XCore", "XCore", "0", "0", "1", "4", "0", "4", "\"eliminateCallFramePseudoInstr size too big: \"", "\"\\n\"", "0", "XCore::ADJCALLSTACKDOWN", "XCore::EXTSP_u6", "XCore::EXTSP_lu6", "XCore::ADJCALLSTACKUP", "XCore::LDAWSP_ru6_RRegs", "XCore::LDAWSP_lru6_RRegs", "XCore::SP"], "File": "XCoreRegisterInfo19", "Func": "eliminateCallFramePseudoInstr", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 970, "Length": 286, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TVMFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "LLVMContext", "&", "C", "=", "MF", ".", "getFunction", "(", ")", ".", "getContext", "(", ")", ";", "const", "auto", "*", "TII", "=", "MF", ".", "getSubtarget", "<", "TVMSubtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "auto", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "auto", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "StackSize", "==", "0", "&&", "!", "TraceCalls", ")", "return", ";", "auto", "InsertPt", "=", "MBB", ".", "getFirstTerminator", "(", ")", ";", "DebugLoc", "DL", ";", "if", "(", "InsertPt", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "InsertPt", "->", "getDebugLoc", "(", ")", ";", "unsigned", "RegFrameBase", "=", "MRI", ".", "createVirtualRegister", "(", "&", "TVM", "::", "I257RegClass", ")", ";", "BuildMI", "(", "MBB", ",", "InsertPt", ",", "DL", ",", "TII", "->", "get", "(", "TVM", "::", "GETGLOB", ")", ",", "RegFrameBase", ")", ".", "addImm", "(", "5", ")", ";", "unsigned", "RegFrameBaseNew", "=", "MRI", ".", "createVirtualRegister", "(", "&", "TVM", "::", "I257RegClass", ")", ";", "if", "(", "StackSize", "<=", "127", ")", "{", "BuildMI", "(", "MBB", ",", "InsertPt", ",", "DL", ",", "TII", "->", "get", "(", "TVM", "::", "ADDCONST", ")", ",", "RegFrameBaseNew", ")", ".", "addReg", "(", "RegFrameBase", ")", ".", "addImm", "(", "StackSize", ")", ";", "}", "else", "{", "unsigned", "RegStSize", "=", "MRI", ".", "createVirtualRegister", "(", "&", "TVM", "::", "I257RegClass", ")", ";", "BuildMI", "(", "MBB", ",", "InsertPt", ",", "DL", ",", "TII", "->", "get", "(", "TVM", "::", "CONST_I257", ")", ",", "RegStSize", ")", ".", "addCImm", "(", "cimm", "(", "C", ",", "StackSize", ")", ")", ";", "BuildMI", "(", "MBB", ",", "InsertPt", ",", "DL", ",", "TII", "->", "get", "(", "TVM", "::", "ADD", ")", ",", "RegFrameBaseNew", ")", ".", "addReg", "(", "RegFrameBase", ")", ".", "addReg", "(", "RegStSize", ")", ";", "}", "BuildMI", "(", "MBB", ",", "InsertPt", ",", "DL", ",", "TII", "->", "get", "(", "TVM", "::", "SETGLOB", ")", ")", ".", "addReg", "(", "RegFrameBaseNew", ")", ".", "addImm", "(", "5", ")", ";", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["TVM", "TVM", "TVM", "0", "TVM::I257RegClass", "TVM::GETGLOB", "5", "TVM::I257RegClass", "127", "TVM::ADDCONST", "TVM::I257RegClass", "TVM::CONST_I257", "TVM::ADD", "TVM::SETGLOB", "5"], "File": "TVMFrameLowering", "Func": "emitEpilogue", "Target": "TVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 971, "Length": 311, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isReachable", "(", "const", "MachineInstr", "*", "From", ",", "const", "MachineInstr", "*", "To", ",", "const", "MachineBasicBlock", "*", "CutOff", ",", "MachineDominatorTree", "&", "MDT", ")", "{", "if", "(", "MDT", ".", "dominates", "(", "From", ",", "To", ")", ")", "return", "true", ";", "const", "MachineBasicBlock", "*", "MBBFrom", "=", "From", "->", "getParent", "(", ")", ";", "const", "MachineBasicBlock", "*", "MBBTo", "=", "To", "->", "getParent", "(", ")", ";", "if", "(", "MBBFrom", "==", "MBBTo", ")", "return", "false", ";", "return", "searchPredecessors", "(", "MBBTo", ",", "CutOff", ",", "[", "MBBFrom", "]", "(", "const", "MachineBasicBlock", "*", "MBB", ")", "{", "return", "MBB", "==", "MBBFrom", ";", "}", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "instruction", "is", "reachable", "from", "entry", "."], "TS_V_token": ["AMDGPU"], "File": "SIFixSGPRCopies10", "Func": "isReachable", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 972, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pro_epilogue_adjust_stack", "(", "rtx", "dest", ",", "rtx", "src", ",", "rtx", "offset", ",", "int", "style", ",", "bool", "set_cfa", ")", "{", "struct", "machine_function", "*", "m", "=", "cfun", "->", "machine", ";", "rtx", "insn", ";", "bool", "add_frame_related_expr", "=", "false", ";", "if", "(", "Pmode", "==", "SImode", ")", "insn", "=", "gen_pro_epilogue_adjust_stack_si_add", "(", "dest", ",", "src", ",", "offset", ")", ";", "else", "if", "(", "x86_64_immediate_operand", "(", "offset", ",", "DImode", ")", ")", "insn", "=", "gen_pro_epilogue_adjust_stack_di_add", "(", "dest", ",", "src", ",", "offset", ")", ";", "else", "{", "rtx", "tmp", ";", "if", "(", "style", ")", "tmp", "=", "gen_rtx_REG", "(", "DImode", ",", "R11_REG", ")", ";", "else", "{", "gcc_assert", "(", "src", "!=", "hard_frame_pointer_rtx", "&&", "dest", "!=", "hard_frame_pointer_rtx", ")", ";", "tmp", "=", "hard_frame_pointer_rtx", ";", "}", "insn", "=", "emit_insn", "(", "gen_rtx_SET", "(", "DImode", ",", "tmp", ",", "offset", ")", ")", ";", "if", "(", "style", "<", "0", ")", "add_frame_related_expr", "=", "true", ";", "insn", "=", "gen_pro_epilogue_adjust_stack_di_add", "(", "dest", ",", "src", ",", "tmp", ")", ";", "}", "insn", "=", "emit_insn", "(", "insn", ")", ";", "if", "(", "style", ">=", "0", ")", "ix86_add_queued_cfa_restore_notes", "(", "insn", ")", ";", "if", "(", "set_cfa", ")", "{", "rtx", "r", ";", "gcc_assert", "(", "m", "->", "fs", ".", "cfa_reg", "==", "src", ")", ";", "m", "->", "fs", ".", "cfa_offset", "+=", "INTVAL", "(", "offset", ")", ";", "m", "->", "fs", ".", "cfa_reg", "=", "dest", ";", "r", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "src", ",", "offset", ")", ";", "r", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "r", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_ADJUST_CFA", ",", "r", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "else", "if", "(", "style", "<", "0", ")", "{", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "if", "(", "add_frame_related_expr", ")", "{", "rtx", "r", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "src", ",", "offset", ")", ";", "r", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "r", ")", ";", "add_reg_note", "(", "insn", ",", "REG_FRAME_RELATED_EXPR", ",", "r", ")", ";", "}", "}", "if", "(", "dest", "==", "stack_pointer_rtx", ")", "{", "HOST_WIDE_INT", "ooffset", "=", "m", "->", "fs", ".", "sp_offset", ";", "bool", "valid", "=", "m", "->", "fs", ".", "sp_valid", ";", "if", "(", "src", "==", "hard_frame_pointer_rtx", ")", "{", "valid", "=", "m", "->", "fs", ".", "fp_valid", ";", "ooffset", "=", "m", "->", "fs", ".", "fp_offset", ";", "}", "else", "if", "(", "src", "==", "crtl", "->", "drap_reg", ")", "{", "valid", "=", "m", "->", "fs", ".", "drap_valid", ";", "ooffset", "=", "0", ";", "}", "else", "{", "gcc_checking_assert", "(", "src", "==", "stack_pointer_rtx", "||", "offset", "==", "const0_rtx", ")", ";", "}", "m", "->", "fs", ".", "sp_offset", "=", "ooffset", "-", "INTVAL", "(", "offset", ")", ";", "m", "->", "fs", ".", "sp_valid", "=", "valid", ";", "}", "}", ""], "natrual_language": ["Expand", "prologue", "or", "epilogue", "stack", "adjustment", ".", "The", "pattern", "exist", "to", "put", "a", "dependency", "on", "all", "ebp-based", "memory", "accesses", ".", "STYLE", "should", "be", "negative", "if", "instructions", "should", "be", "marked", "as", "frame", "related", ",", "zero", "if", "%", "r11", "register", "is", "live", "and", "can", "not", "be", "freely", "used", "and", "positive", "otherwise", "."], "TS_V_token": ["i386", "0", "0", "1", "0", "1", "0"], "File": "i3864", "Func": "pro_epilogue_adjust_stack", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 973, "Length": 405, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "char", "X86Subtarget", "::", "classifyLocalReference", "(", "const", "GlobalValue", "*", "GV", ")", "const", "{", "if", "(", "AllowTaggedGlobals", "&&", "TM", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Small", "&&", "GV", "&&", "!", "isa", "<", "Function", ">", "(", "GV", ")", ")", "return", "X86II", "::", "MO_GOTPCREL_NORELAX", ";", "if", "(", "!", "isPositionIndependent", "(", ")", ")", "return", "X86II", "::", "MO_NO_FLAG", ";", "if", "(", "is64Bit", "(", ")", ")", "{", "if", "(", "isTargetELF", "(", ")", ")", "{", "switch", "(", "TM", ".", "getCodeModel", "(", ")", ")", "{", "case", "CodeModel", "::", "Tiny", ":", "llvm_unreachable", "(", "\"Tiny codesize model not supported on X86\"", ")", ";", "case", "CodeModel", "::", "Small", ":", "case", "CodeModel", "::", "Kernel", ":", "return", "X86II", "::", "MO_NO_FLAG", ";", "case", "CodeModel", "::", "Large", ":", "return", "X86II", "::", "MO_GOTOFF", ";", "case", "CodeModel", "::", "Medium", ":", "if", "(", "isa_and_nonnull", "<", "Function", ">", "(", "GV", ")", ")", "return", "X86II", "::", "MO_NO_FLAG", ";", "return", "X86II", "::", "MO_GOTOFF", ";", "}", "llvm_unreachable", "(", "\"invalid code model\"", ")", ";", "}", "return", "X86II", "::", "MO_NO_FLAG", ";", "}", "if", "(", "isTargetCOFF", "(", ")", ")", "return", "X86II", "::", "MO_NO_FLAG", ";", "if", "(", "isTargetDarwin", "(", ")", ")", "{", "if", "(", "GV", "&&", "(", "GV", "->", "isDeclarationForLinker", "(", ")", "||", "GV", "->", "hasCommonLinkage", "(", ")", ")", ")", "return", "X86II", "::", "MO_DARWIN_NONLAZY_PIC_BASE", ";", "return", "X86II", "::", "MO_PIC_BASE_OFFSET", ";", "}", "return", "X86II", "::", "MO_GOTOFF", ";", "}", ""], "natrual_language": ["Classify", "a", "global", "variable", "reference", "for", "the", "current", "subtarget", "according", "to", "how", "we", "should", "reference", "it", "in", "a", "non-pcrel", "context", "."], "TS_V_token": ["X86", "X86", "X86II::MO_GOTPCREL_NORELAX", "X86II::MO_NO_FLAG", "\"Tiny codesize model not supported on X86\"", "X86II::MO_NO_FLAG", "X86II::MO_GOTOFF", "X86II::MO_NO_FLAG", "X86II::MO_GOTOFF", "\"invalid code model\"", "X86II::MO_NO_FLAG", "X86II::MO_NO_FLAG", "X86II::MO_DARWIN_NONLAZY_PIC_BASE", "X86II::MO_PIC_BASE_OFFSET", "X86II::MO_GOTOFF"], "File": "X86Subtarget41", "Func": "classifyLocalReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 974, "Length": 204, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TOYSubtarget", "*", "getSubtargetImpl", "(", "const", "Function", "&", ")", "const", "override", "{", "return", "&", "Subtarget", ";", "}", ""], "natrual_language": ["Virtual", "method", "implemented", "by", "subclasses", "that", "returns", "a", "reference", "to", "that", "target", "'s", "TargetSubtargetInfo-derived", "member", "variable", "."], "TS_V_token": ["TOY", "TOY"], "File": "TOYTargetMachine1", "Func": "getSubtargetImpl", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 975, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "addarg", "(", "const", "char", "*", "str", ")", "{", "int", "l", "=", "strlen", "(", "str", ")", ";", "if", "(", "link_cmd_len", "+", "l", ">=", "link_cmd_maxlen", ")", "{", "link_cmd_maxlen", "=", "link_cmd_len", "+", "l", "+", "1024", ";", "link_cmd", "=", "XRESIZEVEC", "(", "char", ",", "link_cmd", ",", "link_cmd_maxlen", ")", ";", "}", "memcpy", "(", "link_cmd", "+", "link_cmd_len", ",", "str", ",", "l", ")", ";", "link_cmd_len", "+=", "l", ";", "}", ""], "natrual_language": ["Append", "STR", "to", "the", "command", "line", "to", "invoke", "the", "linker", ".", "Expand", "the", "line", "as", "necessary", "to", "accommodate", "."], "TS_V_token": ["vms", "1024"], "File": "vms-ld", "Func": "addarg", "Target": "vms", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 976, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "match", "(", "const", "MachineRegisterInfo", "&", "MRI", ",", "Register", "Reg", ")", "{", "if", "(", "!", "MRI", ".", "hasOneNonDBGUse", "(", "Reg", ")", ")", "return", "false", ";", "MachineInstr", "&", "StoreMI", "=", "*", "MRI", ".", "use_instr_nodbg_begin", "(", "Reg", ")", ";", "IncDec", "=", "getDefIgnoringCopies", "(", "Reg", ",", "MRI", ")", ";", "switch", "(", "IncDec", "->", "getOpcode", "(", ")", ")", "{", "case", "MOS", "::", "G_INC", ":", "case", "MOS", "::", "G_DEC", ":", "case", "MOS", "::", "G_INC_TMP", ":", "case", "MOS", "::", "G_DEC_TMP", ":", "break", ";", "default", ":", "return", "false", ";", "}", "unsigned", "DstIdx", "=", "0", ";", "unsigned", "SrcIdx", "=", "IncDec", "->", "getNumExplicitDefs", "(", ")", ";", "while", "(", "IncDec", "->", "getOperand", "(", "DstIdx", ")", ".", "getReg", "(", ")", "!=", "Reg", ")", "{", "if", "(", "IncDec", "->", "getOperand", "(", "SrcIdx", ")", ".", "isReg", "(", ")", ")", "++", "DstIdx", ";", "++", "SrcIdx", ";", "}", "if", "(", "!", "mi_match", "(", "IncDec", "->", "getOperand", "(", "SrcIdx", ")", ".", "getReg", "(", ")", ",", "MRI", ",", "m_all_of", "(", "m_MInstr", "(", "Load", ")", ",", "m_FoldedLdAbs", "(", "StoreMI", ",", "Addr", ",", "AA", ")", ")", ")", ")", "return", "false", ";", "return", "Addr", ".", "isIdenticalTo", "(", "StoreMI", ".", "getOperand", "(", "1", ")", ")", ";", "}", ""], "natrual_language": ["matches", "-", "Match", "the", "regex", "against", "a", "given", "String", "."], "TS_V_token": ["MOS", "MOS::G_INC", "MOS::G_DEC", "MOS::G_INC_TMP", "MOS::G_DEC_TMP", "0", "1"], "File": "MOSInstructionSelector", "Func": "match", "Target": "MOS", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 977, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mayNeedRelaxation", "(", "const", "MCInst", "&", "Inst", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["Check", "whether", "the", "given", "instruction", "may", "need", "relaxation", "."], "TS_V_token": ["TOY"], "File": "TOYAsmBackend1", "Func": "mayNeedRelaxation", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 978, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_expand_sve_const_pred_trn", "(", "rtx", "target", ",", "rtx_vector_builder", "&", "builder", ",", "unsigned", "int", "elt_size", ",", "unsigned", "int", "permute_size", ")", "{", "unsigned", "int", "a_elt_size", "=", "GET_MODE_SIZE", "(", "DImode", ")", ";", "unsigned", "int", "b_elt_size", "=", "GET_MODE_SIZE", "(", "DImode", ")", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "builder", ".", "encoded_nelts", "(", ")", ";", "i", "+=", "elt_size", ")", "if", "(", "INTVAL", "(", "builder", ".", "elt", "(", "i", ")", ")", "!=", "0", ")", "{", "if", "(", "i", "&", "permute_size", ")", "b_elt_size", "|=", "i", "-", "permute_size", ";", "else", "a_elt_size", "|=", "i", ";", "}", "a_elt_size", "&=", "-", "a_elt_size", ";", "b_elt_size", "&=", "-", "b_elt_size", ";", "rtx_vector_builder", "a_builder", "(", "VNx16BImode", ",", "builder", ".", "npatterns", "(", ")", ",", "builder", ".", "nelts_per_pattern", "(", ")", ")", ";", "rtx_vector_builder", "b_builder", "(", "VNx16BImode", ",", "builder", ".", "npatterns", "(", ")", ",", "builder", ".", "nelts_per_pattern", "(", ")", ")", ";", "unsigned", "int", "nelts", "=", "builder", ".", "encoded_nelts", "(", ")", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "nelts", ";", "++", "i", ")", "if", "(", "i", "&", "(", "elt_size", "-", "1", ")", ")", "{", "a_builder", ".", "quick_push", "(", "const0_rtx", ")", ";", "b_builder", ".", "quick_push", "(", "const0_rtx", ")", ";", "}", "else", "if", "(", "(", "i", "&", "permute_size", ")", "==", "0", ")", "{", "a_builder", ".", "quick_push", "(", "builder", ".", "elt", "(", "i", ")", ")", ";", "b_builder", ".", "quick_push", "(", "builder", ".", "elt", "(", "i", "+", "permute_size", ")", ")", ";", "}", "else", "{", "if", "(", "a_elt_size", ">", "permute_size", ")", "a_builder", ".", "quick_push", "(", "const0_rtx", ")", ";", "else", "a_builder", ".", "quick_push", "(", "a_builder", ".", "elt", "(", "i", "-", "a_elt_size", ")", ")", ";", "if", "(", "b_elt_size", ">", "permute_size", ")", "b_builder", ".", "quick_push", "(", "const0_rtx", ")", ";", "else", "b_builder", ".", "quick_push", "(", "b_builder", ".", "elt", "(", "i", "-", "b_elt_size", ")", ")", ";", "}", "a_builder", ".", "finalize", "(", ")", ";", "b_builder", ".", "finalize", "(", ")", ";", "rtx_insn", "*", "last", "=", "get_last_insn", "(", ")", ";", "rtx", "a", "=", "aarch64_expand_sve_const_pred_1", "(", "NULL_RTX", ",", "a_builder", ",", "false", ")", ";", "if", "(", "!", "a", ")", "return", "NULL_RTX", ";", "rtx", "b", "=", "a", ";", "if", "(", "a_builder", "!=", "b_builder", ")", "{", "b", "=", "aarch64_expand_sve_const_pred_1", "(", "NULL_RTX", ",", "b_builder", ",", "false", ")", ";", "if", "(", "!", "b", ")", "{", "delete_insns_since", "(", "last", ")", ";", "return", "NULL_RTX", ";", "}", "}", "machine_mode", "mode", "=", "aarch64_sve_pred_mode", "(", "permute_size", ")", ".", "require", "(", ")", ";", "target", "=", "aarch64_target_reg", "(", "target", ",", "GET_MODE", "(", "a", ")", ")", ";", "rtx", "type_reg", "=", "CONST0_RTX", "(", "mode", ")", ";", "emit_insn", "(", "gen_aarch64_sve_trn1_conv", "(", "mode", ",", "target", ",", "a", ",", "b", ",", "type_reg", ")", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["BUILDER", "is", "a", "constant", "predicate", "in", "which", "the", "index", "of", "every", "set", "bit", "is", "a", "multiple", "of", "ELT_SIZE", "(", "which", "is", "<", "=", "8", ")", ".", "Try", "to", "load", "the", "constant", "using", "a", "TRN1", "of", "size", "PERMUTE_SIZE", ",", "which", "is", ">", "=", "ELT_SIZE", ".", "Return", "the", "register", "on", "success", ",", "otherwise", "return", "null", ".", "Use", "TARGET", "as", "the", "register", "if", "nonnull", "and", "convenient", "."], "TS_V_token": ["aarch64", "0", "0", "0", "1", "0"], "File": "aarch641", "Func": "aarch64_expand_sve_const_pred_trn", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 979, "Length": 417, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "h8300_hard_regno_scratch_ok", "(", "unsigned", "int", "regno", ")", "{", "if", "(", "h8300_current_function_interrupt_function_p", "(", ")", "&&", "!", "WORD_REG_USED", "(", "regno", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "register", "REGNO", "is", "safe", "to", "be", "allocated", "as", "a", "scratch", "register", "in", "the", "current", "function", "."], "TS_V_token": ["h8300"], "File": "h8300", "Func": "h8300_hard_regno_scratch_ok", "Target": "h8300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 980, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "gen_varargs_mem", "(", "machine_mode", "mode", ",", "rtx", "addr", ")", "{", "rtx", "mem", "=", "gen_rtx_MEM", "(", "mode", ",", "addr", ")", ";", "MEM_NOTRAP_P", "(", "mem", ")", "=", "1", ";", "set_mem_alias_set", "(", "mem", ",", "get_varargs_alias_set", "(", ")", ")", ";", "return", "mem", ";", "}", ""], "natrual_language": ["Generate", "a", "MEM", "referring", "to", "a", "varargs", "argument", "slot", "."], "TS_V_token": ["epiphany", "1"], "File": "epiphany", "Func": "gen_varargs_mem", "Target": "epiphany", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 981, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "preprocess_args", "(", "int", "*", "p_argc", ",", "char", "*", "*", "argv", ")", "{", "int", "i", ";", "for", "(", "i", "=", "1", ";", "i", "<", "*", "p_argc", ";", "i", "++", ")", "if", "(", "strlen", "(", "argv", "[", "i", "]", ")", ">=", "6", "&&", "strncmp", "(", "argv", "[", "i", "]", ",", "\"-shared\"", ",", "7", ")", "==", "0", ")", "share", "=", "1", ";", "for", "(", "i", "=", "1", ";", "i", "<", "*", "p_argc", ";", "i", "++", ")", "if", "(", "strcmp", "(", "argv", "[", "i", "]", ",", "\"-o\"", ")", "==", "0", ")", "{", "char", "*", "buff", ",", "*", "ptr", ";", "int", "out_len", ";", "int", "len", ";", "i", "++", ";", "ptr", "=", "to_host_file_spec", "(", "argv", "[", "i", "]", ")", ";", "exefilename", "=", "xstrdup", "(", "ptr", ")", ";", "out_len", "=", "strlen", "(", "ptr", ")", ";", "buff", "=", "xmalloc", "(", "out_len", "+", "18", ")", ";", "if", "(", "share", ")", "strcpy", "(", "buff", ",", "\"/share=\"", ")", ";", "else", "strcpy", "(", "buff", ",", "\"/exe=\"", ")", ";", "strcat", "(", "buff", ",", "ptr", ")", ";", "addarg", "(", "buff", ")", ";", "if", "(", "share", ")", "{", "sharefilename", "=", "xmalloc", "(", "out_len", "+", "5", ")", ";", "if", "(", "ptr", "==", "strchr", "(", "argv", "[", "i", "]", ",", "']'", ")", ")", "strcpy", "(", "sharefilename", ",", "++", "ptr", ")", ";", "else", "if", "(", "ptr", "==", "strchr", "(", "argv", "[", "i", "]", ",", "':'", ")", ")", "strcpy", "(", "sharefilename", ",", "++", "ptr", ")", ";", "else", "if", "(", "ptr", "==", "strrchr", "(", "argv", "[", "i", "]", ",", "'/'", ")", ")", "strcpy", "(", "sharefilename", ",", "++", "ptr", ")", ";", "else", "strcpy", "(", "sharefilename", ",", "argv", "[", "i", "]", ")", ";", "len", "=", "strlen", "(", "sharefilename", ")", ";", "if", "(", "strncasecmp", "(", "&", "sharefilename", "[", "len", "-", "4", "]", ",", "\".exe\"", ",", "4", ")", "==", "0", ")", "sharefilename", "[", "len", "-", "4", "]", "=", "0", ";", "for", "(", "ptr", "=", "sharefilename", ";", "*", "ptr", ";", "ptr", "++", ")", "*", "ptr", "=", "TOUPPER", "(", "*", "ptr", ")", ";", "}", "}", "}", ""], "natrual_language": ["Preprocess", "the", "number", "of", "args", "P_ARGC", "in", "ARGV", ".", "Look", "for", "special", "flags", ",", "etc", ".", "that", "must", "be", "handled", "first", "."], "TS_V_token": ["alpha", "1", "6", "\"-shared\"", "7", "0", "1", "1", "\"-o\"", "0", "18", "\"/share=\"", "\"/exe=\"", "5", "4", "\".exe\"", "4", "0", "4", "0"], "File": "vms-ld1", "Func": "preprocess_args", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 982, "Length": 322, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addIRPasses", "(", ")", "{", "addPass", "(", "createAtomicExpandPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableAtomicTidy", ")", "addPass", "(", "createCFGSimplificationPass", "(", "1", ",", "true", ",", "true", ",", "false", ",", "true", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "if", "(", "EnableLoopDataPrefetch", ")", "addPass", "(", "createLoopDataPrefetchPass", "(", ")", ")", ";", "if", "(", "EnableFalkorHWPFFix", ")", "addPass", "(", "createFalkorMarkStridedAccessesPass", "(", ")", ")", ";", "}", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createInterleavedLoadCombinePass", "(", ")", ")", ";", "addPass", "(", "createInterleavedAccessPass", "(", ")", ")", ";", "}", "if", "(", "TM", "->", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "Aggressive", "&&", "EnableGEPOpt", ")", "{", "addPass", "(", "createSeparateConstOffsetFromGEPPass", "(", "true", ")", ")", ";", "addPass", "(", "createEarlyCSEPass", "(", ")", ")", ";", "addPass", "(", "createLICMPass", "(", ")", ")", ";", "}", "addPass", "(", "createAArch64StackTaggingPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["AArch64", "AArch64", "1", "AArch64"], "File": "AArch64TargetMachine13", "Func": "addIRPasses", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 983, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "DCPU16InstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "*", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "FrameIdx", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "MFI", ".", "getObjectSize", "(", "FrameIdx", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FrameIdx", ")", ")", ";", "if", "(", "RC", "==", "&", "DCPU16", "::", "GR16RegClass", "||", "RC", "==", "&", "DCPU16", "::", "GEXR16RegClass", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "DCPU16", "::", "MOV16mr", ")", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "else", "llvm_unreachable", "(", "\"Cannot store this register to stack slot!\"", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["Dcpu16", "DCPU16", "DCPU16::GR16RegClass", "DCPU16::GEXR16RegClass", "DCPU16::MOV16mr", "0", "\"Cannot store this register to stack slot!\""], "File": "Dcpu16InstrInfo", "Func": "storeRegToStackSlot", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 984, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "getIntImmCostInst", "(", "unsigned", "Opc", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "{", "return", "getIntImmCost", "(", "Imm", ",", "Ty", ")", ";", "}", ""], "natrual_language": ["Return", "the", "expected", "cost", "of", "materialization", "for", "the", "given", "integer", "immediate", "of", "the", "specified", "type", "for", "a", "given", "instruction", "."], "TS_V_token": ["Lanai"], "File": "LanaiTargetTransformInfo8", "Func": "getIntImmCostInst", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 985, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonTTIImpl", "::", "getUnrollingPreferences", "(", "Loop", "*", "L", ",", "ScalarEvolution", "&", "SE", ",", "TTI", "::", "UnrollingPreferences", "&", "UP", ",", "OptimizationRemarkEmitter", "*", "ORE", ")", "{", "UP", ".", "Runtime", "=", "UP", ".", "Partial", "=", "true", ";", "}", ""], "natrual_language": ["Get", "target-customized", "preferences", "for", "the", "generic", "loop", "unrolling", "transformation", "."], "TS_V_token": ["Hexagon", "Hexagon"], "File": "HexagonTargetTransformInfo16", "Func": "getUnrollingPreferences", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 986, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "release_scratch_register_on_entry", "(", "struct", "scratch_reg", "*", "sr", ")", "{", "if", "(", "sr", "->", "saved", ")", "{", "struct", "machine_function", "*", "m", "=", "cfun", "->", "machine", ";", "rtx", "x", ",", "insn", "=", "emit_insn", "(", "gen_pop", "(", "sr", "->", "reg", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "x", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "UNITS_PER_WORD", ")", ")", ";", "x", "=", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "x", ")", ";", "add_reg_note", "(", "insn", ",", "REG_FRAME_RELATED_EXPR", ",", "x", ")", ";", "m", "->", "fs", ".", "sp_offset", "-=", "UNITS_PER_WORD", ";", "}", "}", ""], "natrual_language": ["Release", "a", "scratch", "register", "obtained", "from", "the", "preceding", "function", ".", "If", "RELEASE_VIA_POP", "is", "true", ",", "we", "just", "pop", "the", "register", "off", "the", "stack", "to", "release", "it", ".", "This", "is", "what", "non-Linux", "systems", "use", "with", "-fstack-check", ".", "Otherwise", "we", "use", "OFFSET", "to", "locate", "the", "saved", "register", "and", "the", "allocated", "stack", "space", "becomes", "part", "of", "the", "local", "frame", "and", "is", "deallocated", "by", "the", "epilogue", "."], "TS_V_token": ["i386", "1"], "File": "i3865", "Func": "release_scratch_register_on_entry", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 987, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "PTXSubtarget", "&", "PTXDAGToDAGISel", "::", "getSubtarget", "(", ")", "const", "{", "return", "TM", ".", "getSubtarget", "<", "PTXSubtarget", ">", "(", ")", ";", "}", ""], "natrual_language": ["getSubtarget", "-", "Return", "the", "subtarget", "for", "which", "this", "machine", "code", "is", "being", "compiled", "."], "TS_V_token": ["PTX", "PTX", "PTX", "PTX"], "File": "PTXISelDAGToDAG", "Func": "getSubtarget", "Target": "PTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 988, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64TargetLowering", "::", "combineRepeatedFPDivisors", "(", ")", "const", "{", "return", "3", ";", "}", ""], "natrual_language": ["Indicate", "whether", "this", "target", "prefers", "to", "combine", "FDIVs", "with", "the", "same", "divisor", "."], "TS_V_token": ["AArch64", "AArch64", "3"], "File": "AArch64ISelLowering (2)", "Func": "combineRepeatedFPDivisors", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 989, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "NVPTXPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "addPass", "(", "createNVPTXProxyRegErasurePass", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["NVPTX", "NVPTX", "NVPTX"], "File": "NVPTXTargetMachine (2)1", "Func": "addPreRegAlloc", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 990, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getUnits", "(", ")", "const", "{", "return", "(", "Slots", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "choice", "of", "FUs", "."], "TS_V_token": ["Hexagon"], "File": "HexagonShuffler", "Func": "getUnits", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 991, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86OptimizeLEAPass", "::", "isReplaceable", "(", "const", "MachineInstr", "&", "First", ",", "const", "MachineInstr", "&", "Last", ",", "int64_t", "&", "AddrDispShift", ")", "const", "{", "assert", "(", "isLEA", "(", "First", ")", "&&", "isLEA", "(", "Last", ")", "&&", "\"The function works only with LEA instructions\"", ")", ";", "if", "(", "MRI", "->", "getRegClass", "(", "First", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", "!=", "MRI", "->", "getRegClass", "(", "Last", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", "return", "false", ";", "AddrDispShift", "=", "getAddrDispShift", "(", "Last", ",", "1", ",", "First", ",", "1", ")", ";", "for", "(", "auto", "&", "MO", ":", "MRI", "->", "use_nodbg_operands", "(", "Last", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", "{", "MachineInstr", "&", "MI", "=", "*", "MO", ".", "getParent", "(", ")", ";", "const", "MCInstrDesc", "&", "Desc", "=", "MI", ".", "getDesc", "(", ")", ";", "int", "MemOpNo", "=", "X86II", "::", "getMemoryOperandNo", "(", "Desc", ".", "TSFlags", ")", ";", "if", "(", "MemOpNo", "<", "0", ")", "return", "false", ";", "MemOpNo", "+=", "X86II", "::", "getOperandBias", "(", "Desc", ")", ";", "if", "(", "!", "isIdenticalOp", "(", "MI", ".", "getOperand", "(", "MemOpNo", "+", "X86", "::", "AddrBaseReg", ")", ",", "MO", ")", ")", "return", "false", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "MI", ".", "getNumOperands", "(", ")", ";", "i", "++", ")", "if", "(", "i", "!=", "(", "unsigned", ")", "(", "MemOpNo", "+", "X86", "::", "AddrBaseReg", ")", "&&", "isIdenticalOp", "(", "MI", ".", "getOperand", "(", "i", ")", ",", "MO", ")", ")", "return", "false", ";", "if", "(", "MI", ".", "getOperand", "(", "MemOpNo", "+", "X86", "::", "AddrDisp", ")", ".", "isImm", "(", ")", "&&", "!", "isInt", "<", "32", ">", "(", "MI", ".", "getOperand", "(", "MemOpNo", "+", "X86", "::", "AddrDisp", ")", ".", "getImm", "(", ")", "+", "AddrDispShift", ")", ")", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Check", "whether", "metadata", "is", "replaceable", "."], "TS_V_token": ["X86", "X86", "\"The function works only with LEA instructions\"", "0", "0", "1", "1", "0", "X86II::getMemoryOperandNo", "0", "X86II::getOperandBias", "X86::AddrBaseReg", "0", "X86::AddrBaseReg", "X86::AddrDisp", "32", "X86::AddrDisp"], "File": "X86OptimizeLEAs10", "Func": "isReplaceable", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 992, "Length": 280, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "s390_compare_and_branch_condition_mask", "(", "rtx", "code", ")", "{", "const", "int", "CC0", "=", "1", "<<", "3", ";", "const", "int", "CC1", "=", "1", "<<", "2", ";", "const", "int", "CC2", "=", "1", "<<", "1", ";", "switch", "(", "GET_CODE", "(", "code", ")", ")", "{", "case", "EQ", ":", "return", "CC0", ";", "case", "NE", ":", "return", "CC1", "|", "CC2", ";", "case", "LT", ":", "case", "LTU", ":", "return", "CC1", ";", "case", "GT", ":", "case", "GTU", ":", "return", "CC2", ";", "case", "LE", ":", "case", "LEU", ":", "return", "CC0", "|", "CC1", ";", "case", "GE", ":", "case", "GEU", ":", "return", "CC0", "|", "CC2", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "-", "1", ";", "}", ""], "natrual_language": ["Return", "branch", "condition", "mask", "to", "implement", "a", "compare", "and", "branch", "specified", "by", "CODE", ".", "Return", "-1", "for", "invalid", "comparisons", "."], "TS_V_token": ["s390", "1", "3", "1", "2", "1", "1", "1"], "File": "s390", "Func": "s390_compare_and_branch_condition_mask", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 993, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "PPCRegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "if", "(", "CC", "==", "CallingConv", "::", "AnyReg", ")", "{", "if", "(", "Subtarget", ".", "hasVSX", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "isAIXABI", "(", ")", "&&", "!", "TM", ".", "getAIXExtendedAltivecABI", "(", ")", ")", "return", "CSR_64_AllRegs_AIX_Dflt_VSX_RegMask", ";", "return", "CSR_64_AllRegs_VSX_RegMask", ";", "}", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "isAIXABI", "(", ")", "&&", "!", "TM", ".", "getAIXExtendedAltivecABI", "(", ")", ")", "return", "CSR_64_AllRegs_AIX_Dflt_Altivec_RegMask", ";", "return", "CSR_64_AllRegs_Altivec_RegMask", ";", "}", "return", "CSR_64_AllRegs_RegMask", ";", "}", "if", "(", "Subtarget", ".", "isAIXABI", "(", ")", ")", "{", "return", "TM", ".", "isPPC64", "(", ")", "?", "(", "(", "Subtarget", ".", "hasAltivec", "(", ")", "&&", "TM", ".", "getAIXExtendedAltivecABI", "(", ")", ")", "?", "CSR_PPC64_Altivec_RegMask", ":", "CSR_PPC64_RegMask", ")", ":", "(", "(", "Subtarget", ".", "hasAltivec", "(", ")", "&&", "TM", ".", "getAIXExtendedAltivecABI", "(", ")", ")", "?", "CSR_AIX32_Altivec_RegMask", ":", "CSR_AIX32_RegMask", ")", ";", "}", "if", "(", "CC", "==", "CallingConv", "::", "Cold", ")", "{", "return", "TM", ".", "isPPC64", "(", ")", "?", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_SVR64_ColdCC_Altivec_RegMask", ":", "CSR_SVR64_ColdCC_RegMask", ")", ":", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_SVR32_ColdCC_Altivec_RegMask", ":", "(", "Subtarget", ".", "hasSPE", "(", ")", "?", "CSR_SVR32_ColdCC_SPE_RegMask", ":", "CSR_SVR32_ColdCC_RegMask", ")", ")", ";", "}", "return", "TM", ".", "isPPC64", "(", ")", "?", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_PPC64_Altivec_RegMask", ":", "CSR_PPC64_RegMask", ")", ":", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_SVR432_Altivec_RegMask", ":", "(", "Subtarget", ".", "hasSPE", "(", ")", "?", "CSR_SVR432_SPE_RegMask", ":", "CSR_SVR432_RegMask", ")", ")", ";", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC"], "File": "PPCRegisterInfo34", "Func": "getCallPreservedMask", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 994, "Length": 258, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZFrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "MutableArrayRef", "<", "CalleeSavedInfo", ">", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "*", "TII", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "SystemZMachineFunctionInfo", "*", "ZFI", "=", "MF", ".", "getInfo", "<", "SystemZMachineFunctionInfo", ">", "(", ")", ";", "bool", "HasFP", "=", "hasFP", "(", "MF", ")", ";", "DebugLoc", "DL", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "CSI", ".", "size", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "I", "]", ".", "getReg", "(", ")", ";", "if", "(", "SystemZ", "::", "FP64BitRegClass", ".", "contains", "(", "Reg", ")", ")", "TII", "->", "loadRegFromStackSlot", "(", "MBB", ",", "MBBI", ",", "Reg", ",", "CSI", "[", "I", "]", ".", "getFrameIdx", "(", ")", ",", "&", "SystemZ", "::", "FP64BitRegClass", ",", "TRI", ")", ";", "if", "(", "SystemZ", "::", "VR128BitRegClass", ".", "contains", "(", "Reg", ")", ")", "TII", "->", "loadRegFromStackSlot", "(", "MBB", ",", "MBBI", ",", "Reg", ",", "CSI", "[", "I", "]", ".", "getFrameIdx", "(", ")", ",", "&", "SystemZ", "::", "VR128BitRegClass", ",", "TRI", ")", ";", "}", "SystemZ", "::", "GPRRegs", "RestoreGPRs", "=", "ZFI", "->", "getRestoreGPRRegs", "(", ")", ";", "if", "(", "RestoreGPRs", ".", "LowGPR", ")", "{", "assert", "(", "RestoreGPRs", ".", "LowGPR", "!=", "RestoreGPRs", ".", "HighGPR", "&&", "\"Should be loading %r15 and something else\"", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "SystemZ", "::", "LMG", ")", ")", ";", "MIB", ".", "addReg", "(", "RestoreGPRs", ".", "LowGPR", ",", "RegState", "::", "Define", ")", ";", "MIB", ".", "addReg", "(", "RestoreGPRs", ".", "HighGPR", ",", "RegState", "::", "Define", ")", ";", "MIB", ".", "addReg", "(", "HasFP", "?", "SystemZ", "::", "R11D", ":", "SystemZ", "::", "R15D", ")", ";", "MIB", ".", "addImm", "(", "RestoreGPRs", ".", "GPROffset", ")", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "CSI", ".", "size", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "I", "]", ".", "getReg", "(", ")", ";", "if", "(", "Reg", "!=", "RestoreGPRs", ".", "LowGPR", "&&", "Reg", "!=", "RestoreGPRs", ".", "HighGPR", "&&", "SystemZ", "::", "GR64BitRegClass", ".", "contains", "(", "Reg", ")", ")", "MIB", ".", "addReg", "(", "Reg", ",", "RegState", "::", "ImplicitDefine", ")", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["restoreCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "restore", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "load", "instructions", "via", "loadRegToStackSlot", "(", ")", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "0", "SystemZ::FP64BitRegClass", "SystemZ::FP64BitRegClass", "SystemZ::VR128BitRegClass", "SystemZ::VR128BitRegClass", "SystemZ::GPRRegs", "\"Should be loading %r15 and something else\"", "SystemZ::LMG", "SystemZ::R11D", "SystemZ::R15D", "0", "SystemZ::GR64BitRegClass"], "File": "SystemZFrameLowering1", "Func": "restoreCalleeSavedRegisters", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 995, "Length": 395, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZPassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createSystemZElimComparePass", "(", "getSystemZTargetMachine", "(", ")", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createSystemZShortenInstPass", "(", "getSystemZTargetMachine", "(", ")", ")", ")", ";", "addPass", "(", "createSystemZLongBranchPass", "(", "getSystemZTargetMachine", "(", ")", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ"], "File": "SystemZTargetMachine", "Func": "addPreEmitPass", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 996, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "tilepro_libcall_value", "(", "machine_mode", "mode", ",", "const_rtx", "fun", "ATTRIBUTE_UNUSED", ")", "{", "return", "gen_rtx_REG", "(", "mode", ",", "0", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_LIBCALL_VALUE", "."], "TS_V_token": ["tilepro", "0"], "File": "tilepro", "Func": "tilepro_libcall_value", "Target": "tilepro", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 997, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_decompose_di_binop", "(", "rtx", "op1", ",", "rtx", "op2", ",", "rtx", "*", "lo_op1", ",", "rtx", "*", "hi_op1", ",", "rtx", "*", "lo_op2", ",", "rtx", "*", "hi_op2", ")", "{", "*", "lo_op1", "=", "gen_lowpart", "(", "SImode", ",", "op1", ")", ";", "*", "hi_op1", "=", "gen_highpart", "(", "SImode", ",", "op1", ")", ";", "*", "lo_op2", "=", "simplify_gen_subreg", "(", "SImode", ",", "op2", ",", "DImode", ",", "subreg_lowpart_offset", "(", "SImode", ",", "DImode", ")", ")", ";", "*", "hi_op2", "=", "simplify_gen_subreg", "(", "SImode", ",", "op2", ",", "DImode", ",", "subreg_highpart_offset", "(", "SImode", ",", "DImode", ")", ")", ";", "}", ""], "natrual_language": ["Decompose", "operands", "for", "a", "64-bit", "binary", "operation", "in", "OP1", "and", "OP2", "into", "its", "component", "32-bit", "subregs", ".", "OP2", "may", "be", "an", "immediate", "constant", "and", "we", "want", "to", "simplify", "it", "in", "that", "case", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_decompose_di_binop", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 998, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "unsigned", ">", "SIInstrInfo", "::", "decomposeMachineOperandsTargetFlags", "(", "unsigned", "TF", ")", "const", "{", "return", "std", "::", "make_pair", "(", "TF", "&", "MO_MASK", ",", "TF", "&", "~", "MO_MASK", ")", ";", "}", ""], "natrual_language": ["Decompose", "the", "machine", "operand", "'s", "target", "flags", "into", "two", "values", "-", "the", "direct", "target", "flag", "value", "and", "any", "of", "bit", "flags", "that", "are", "applied", "."], "TS_V_token": ["AMDGPU", "SI"], "File": "SIInstrInfo (2)", "Func": "decomposeMachineOperandsTargetFlags", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 999, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IdLoc", ",", "unsigned", "&", "Opcode", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "uint64_t", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "MCInst", "Inst", ";", "SMLoc", "ErrorLoc", ";", "switch", "(", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ")", "{", "case", "Match_Success", ":", "Out", ".", "emitInstruction", "(", "Inst", ",", "SubtargetInfo", ")", ";", "Opcode", "=", "Inst", ".", "getOpcode", "(", ")", ";", "return", "false", ";", "case", "Match_MissingFeature", ":", "return", "Error", "(", "IdLoc", ",", "\"Instruction use requires option to be enabled\"", ")", ";", "case", "Match_MnemonicFail", ":", "return", "Error", "(", "IdLoc", ",", "\"Unrecognized instruction mnemonic\"", ")", ";", "case", "Match_InvalidOperand", ":", "{", "ErrorLoc", "=", "IdLoc", ";", "if", "(", "ErrorInfo", "!=", "~", "0U", ")", "{", "if", "(", "ErrorInfo", ">=", "Operands", ".", "size", "(", ")", ")", "return", "Error", "(", "IdLoc", ",", "\"Too few operands for instruction\"", ")", ";", "ErrorLoc", "=", "(", "(", "LanaiOperand", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ")", ".", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IdLoc", ";", "}", "return", "Error", "(", "ErrorLoc", ",", "\"Invalid operand for instruction\"", ")", ";", "}", "default", ":", "break", ";", "}", "llvm_unreachable", "(", "\"Unknown match type detected!\"", ")", ";", "}", ""], "natrual_language": ["MatchAndEmitInstruction", "-", "Recognize", "a", "series", "of", "operands", "of", "a", "parsed", "instruction", "as", "an", "actual", "MCInst", "and", "emit", "it", "to", "the", "specified", "MCStreamer", "."], "TS_V_token": ["Lanai", "Lanai", "\"Instruction use requires option to be enabled\"", "\"Unrecognized instruction mnemonic\"", "0U", "\"Too few operands for instruction\"", "Lanai", "\"Invalid operand for instruction\"", "\"Unknown match type detected!\""], "File": "LanaiAsmParser10", "Func": "MatchAndEmitInstruction", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1000, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "arc_cpu_to_as", "(", "int", "argc", ",", "const", "char", "*", "*", "argv", ")", "{", "const", "char", "*", "name", "=", "NULL", ";", "const", "arc_cpu_t", "*", "arc_selected_cpu", ";", "if", "(", "argc", "==", "0", ")", "{", "arc_selected_cpu", "=", "&", "arc_cpu_types", "[", "(", "int", ")", "TARGET_CPU_DEFAULT", "]", ";", "}", "else", "{", "name", "=", "argv", "[", "0", "]", ";", "for", "(", "arc_selected_cpu", "=", "arc_cpu_types", ";", "arc_selected_cpu", "->", "name", ";", "arc_selected_cpu", "++", ")", "{", "if", "(", "strcmp", "(", "arc_selected_cpu", "->", "name", ",", "name", ")", "==", "0", ")", "break", ";", "}", "}", "switch", "(", "arc_selected_cpu", "->", "arch_info", "->", "arch_id", ")", "{", "case", "BASE_ARCH_em", ":", "if", "(", "arc_selected_cpu", "->", "flags", "&", "FL_CD", ")", "name", "=", "\"-mcode-density\"", ";", "else", "name", "=", "\"\"", ";", "if", "(", "arc_selected_cpu", "->", "flags", "&", "FL_FPUDA", ")", "name", "=", "concat", "(", "\"-mfpuda \"", ",", "name", ",", "NULL", ")", ";", "if", "(", "arc_selected_cpu", "->", "flags", "&", "FL_SPFP", ")", "name", "=", "concat", "(", "\"-mspfp \"", ",", "name", ",", "NULL", ")", ";", "if", "(", "arc_selected_cpu", "->", "flags", "&", "FL_DPFP", ")", "name", "=", "concat", "(", "\"-mdpfp \"", ",", "name", ",", "NULL", ")", ";", "return", "concat", "(", "\"-mcpu=arcem \"", ",", "name", ",", "NULL", ")", ";", "case", "BASE_ARCH_hs", ":", "return", "\"-mcpu=archs\"", ";", "case", "BASE_ARCH_700", ":", "if", "(", "arc_selected_cpu", "->", "processor", "==", "PROCESSOR_nps400", ")", "return", "\"-mcpu=nps400 -mEA\"", ";", "else", "return", "\"-mcpu=arc700 -mEA\"", ";", "case", "BASE_ARCH_6xx", ":", "if", "(", "arc_selected_cpu", "->", "flags", "&", "FL_MUL64", ")", "return", "\"-mcpu=arc600 -mmul64 -mnorm\"", ";", "if", "(", "arc_selected_cpu", "->", "flags", "&", "FL_MUL32x16", ")", "return", "\"-mcpu=arc600 -mdsp-packa -mnorm\"", ";", "return", "\"-mcpu=arc600 -mnorm\"", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "NULL", ";", "}", ""], "natrual_language": ["Returns", "command", "line", "parameters", "to", "pass", "to", "as", "."], "TS_V_token": ["arc", "0", "0", "0", "\"-mcode-density\"", "\"\"", "\"-mfpuda \"", "\"-mspfp \"", "\"-mdpfp \"", "\"-mcpu=arcem \"", "\"-mcpu=archs\"", "\"-mcpu=nps400 -mEA\"", "\"-mcpu=arc700 -mEA\"", "\"-mcpu=arc600 -mmul64 -mnorm\"", "\"-mcpu=arc600 -mdsp-packa -mnorm\"", "\"-mcpu=arc600 -mnorm\""], "File": "driver-arc", "Func": "arc_cpu_to_as", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1001, "Length": 245, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSymbol", "*", "XNCMMCInstLower", "::", "GetBlockAddressSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", "{", "switch", "(", "MO", ".", "getTargetFlags", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown target flag on GV operand\"", ")", ";", "case", "0", ":", "break", ";", "}", "return", "Printer", ".", "GetBlockAddressSymbol", "(", "MO", ".", "getBlockAddress", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "MCSymbol", "used", "to", "satisfy", "BlockAddress", "uses", "of", "the", "specified", "basic", "block", "."], "TS_V_token": ["XNCM", "XNCM", "\"Unknown target flag on GV operand\"", "0"], "File": "XNCMMCInstLower", "Func": "GetBlockAddressSymbol", "Target": "XNCM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1002, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "tree", "def_builtin_pure", "(", "HOST_WIDE_INT", "mask", ",", "HOST_WIDE_INT", "mask2", ",", "const", "char", "*", "name", ",", "enum", "ix86_builtin_func_type", "tcode", ",", "enum", "ix86_builtins", "code", ")", "{", "tree", "decl", "=", "def_builtin", "(", "mask", ",", "mask2", ",", "name", ",", "tcode", ",", "code", ")", ";", "if", "(", "decl", ")", "DECL_PURE_P", "(", "decl", ")", "=", "1", ";", "else", "ix86_builtins_isa", "[", "(", "int", ")", "code", "]", ".", "pure_p", "=", "true", ";", "return", "decl", ";", "}", ""], "natrual_language": ["Like", "def_builtin", ",", "but", "also", "marks", "the", "function", "decl", "``", "pure", "''", "."], "TS_V_token": ["i386", "1"], "File": "i386-builtins", "Func": "def_builtin_pure", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1003, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AtomicExpansionKind", "shouldCastAtomicLoadInIR", "(", "LoadInst", "*", "LI", ")", "const", "override", "{", "return", "AtomicExpansionKind", "::", "None", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "given", "(", "atomic", ")", "load", "should", "be", "cast", "by", "the", "IR-level", "AtomicExpand", "pass", "."], "TS_V_token": ["NVPTX"], "File": "NVPTXISelLowering21", "Func": "shouldCastAtomicLoadInIR", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1004, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "DestReg", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "SIMachineFunctionInfo", "*", "MFI", "=", "MF", "->", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "MachineFrameInfo", "&", "FrameInfo", "=", "MF", "->", "getFrameInfo", "(", ")", ";", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "unsigned", "Align", "=", "FrameInfo", ".", "getObjectAlignment", "(", "FrameIndex", ")", ";", "unsigned", "Size", "=", "FrameInfo", ".", "getObjectSize", "(", "FrameIndex", ")", ";", "unsigned", "SpillSize", "=", "TRI", "->", "getSpillSize", "(", "*", "RC", ")", ";", "MachinePointerInfo", "PtrInfo", "=", "MachinePointerInfo", "::", "getFixedStack", "(", "*", "MF", ",", "FrameIndex", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", "->", "getMachineMemOperand", "(", "PtrInfo", ",", "MachineMemOperand", "::", "MOLoad", ",", "Size", ",", "Align", ")", ";", "if", "(", "RI", ".", "isSGPRClass", "(", "RC", ")", ")", "{", "const", "MCInstrDesc", "&", "OpDesc", "=", "get", "(", "getSGPRSpillRestoreOpcode", "(", "SpillSize", ")", ")", ";", "if", "(", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "DestReg", ")", "&&", "SpillSize", "==", "4", ")", "{", "MachineRegisterInfo", "&", "MRI", "=", "MF", "->", "getRegInfo", "(", ")", ";", "MRI", ".", "constrainRegClass", "(", "DestReg", ",", "&", "AMDGPU", "::", "SReg_32_XM0RegClass", ")", ";", "}", "FrameInfo", ".", "setStackID", "(", "FrameIndex", ",", "SIStackID", "::", "SGPR_SPILL", ")", ";", "MachineInstrBuilder", "Spill", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "OpDesc", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addMemOperand", "(", "MMO", ")", ".", "addReg", "(", "MFI", "->", "getScratchRSrcReg", "(", ")", ",", "RegState", "::", "Implicit", ")", ".", "addReg", "(", "MFI", "->", "getFrameOffsetReg", "(", ")", ",", "RegState", "::", "Implicit", ")", ";", "if", "(", "ST", ".", "hasScalarStores", "(", ")", ")", "{", "Spill", ".", "addReg", "(", "AMDGPU", "::", "M0", ",", "RegState", "::", "ImplicitDefine", "|", "RegState", "::", "Dead", ")", ";", "}", "return", ";", "}", "if", "(", "!", "ST", ".", "isVGPRSpillingEnabled", "(", "MF", "->", "getFunction", "(", ")", ")", ")", "{", "LLVMContext", "&", "Ctx", "=", "MF", "->", "getFunction", "(", ")", ".", "getContext", "(", ")", ";", "Ctx", ".", "emitError", "(", "\"SIInstrInfo::loadRegFromStackSlot - Do not know how to\"", "\" restore register\"", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "AMDGPU", "::", "IMPLICIT_DEF", ")", ",", "DestReg", ")", ";", "return", ";", "}", "assert", "(", "RI", ".", "hasVGPRs", "(", "RC", ")", "&&", "\"Only VGPR spilling expected\"", ")", ";", "unsigned", "Opcode", "=", "getVGPRSpillRestoreOpcode", "(", "SpillSize", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opcode", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addReg", "(", "MFI", "->", "getScratchRSrcReg", "(", ")", ")", ".", "addReg", "(", "MFI", "->", "getFrameOffsetReg", "(", ")", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "4", "AMDGPU::SReg_32_XM0RegClass", "SIStackID::SGPR_SPILL", "AMDGPU::M0", "\"SIInstrInfo::loadRegFromStackSlot - Do not know how to\"", "\" restore register\"", "AMDGPU::IMPLICIT_DEF", "\"Only VGPR spilling expected\"", "0"], "File": "SIInstrInfo17", "Func": "loadRegFromStackSlot", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1005, "Length": 420, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mcore_num_zeros", "(", "HOST_WIDE_INT", "mask", ")", "{", "return", "32", "-", "mcore_num_ones", "(", "mask", ")", ";", "}", ""], "natrual_language": ["Count", "the", "number", "of", "zeros", "in", "mask", "."], "TS_V_token": ["mcore", "32"], "File": "mcore", "Func": "mcore_num_zeros", "Target": "mcore", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1006, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "s390_label_align", "(", "rtx_insn", "*", "label", ")", "{", "rtx_insn", "*", "prev_insn", "=", "prev_active_insn", "(", "label", ")", ";", "rtx", "set", ",", "src", ";", "if", "(", "prev_insn", "==", "NULL_RTX", ")", "goto", "old", ";", "set", "=", "single_set", "(", "prev_insn", ")", ";", "if", "(", "set", "==", "NULL_RTX", ")", "goto", "old", ";", "src", "=", "SET_SRC", "(", "set", ")", ";", "if", "(", "GET_CODE", "(", "src", ")", "==", "UNSPEC", "&&", "XINT", "(", "src", ",", "1", ")", "==", "UNSPEC_MAIN_BASE", ")", "return", "0", ";", "old", ":", "return", "align_labels", ".", "levels", "[", "0", "]", ".", "log", ";", "}", ""], "natrual_language": ["Return", "the", "alignment", "for", "LABEL", ".", "We", "default", "to", "the", "-falign-labels", "value", "except", "for", "the", "literal", "pool", "base", "label", "."], "TS_V_token": ["s390", "1", "0", "0"], "File": "s390", "Func": "s390_label_align", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1007, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_expand_vec_ext_builtin", "(", "tree", "exp", ",", "rtx", "target", ")", "{", "machine_mode", "tmode", ",", "mode0", ";", "tree", "arg0", ",", "arg1", ";", "int", "elt", ";", "rtx", "op0", ";", "arg0", "=", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ";", "arg1", "=", "CALL_EXPR_ARG", "(", "exp", ",", "1", ")", ";", "op0", "=", "expand_normal", "(", "arg0", ")", ";", "elt", "=", "get_element_number", "(", "TREE_TYPE", "(", "arg0", ")", ",", "arg1", ")", ";", "tmode", "=", "TYPE_MODE", "(", "TREE_TYPE", "(", "TREE_TYPE", "(", "arg0", ")", ")", ")", ";", "mode0", "=", "TYPE_MODE", "(", "TREE_TYPE", "(", "arg0", ")", ")", ";", "gcc_assert", "(", "VECTOR_MODE_P", "(", "mode0", ")", ")", ";", "op0", "=", "force_reg", "(", "mode0", ",", "op0", ")", ";", "if", "(", "optimize", "||", "!", "target", "||", "!", "register_operand", "(", "target", ",", "tmode", ")", ")", "target", "=", "gen_reg_rtx", "(", "tmode", ")", ";", "ix86_expand_vector_extract", "(", "true", ",", "target", ",", "op0", ",", "elt", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "ix86_expand_builtin", ".", "These", "builtins", "are", "a", "wrapper", "around", "ix86_expand_vector_extract", ".", "They", "would", "be", "redundant", "(", "for", "non-MMX", ")", "if", "we", "had", "a", "language-level", "syntax", "for", "referencing", "vector", "elements", "."], "TS_V_token": ["i386", "0", "1"], "File": "i386-expand", "Func": "ix86_expand_vec_ext_builtin", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1008, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "FISCAsmParser", "::", "getReg", "(", "int", "RC", ",", "int", "RegNo", ")", "{", "return", "*", "(", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", "->", "getRegClass", "(", "RC", ")", ".", "begin", "(", ")", "+", "RegNo", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "associated", "with", "this", "edge", "."], "TS_V_token": ["FISC", "FISC"], "File": "FISCAsmParser", "Func": "getReg", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1009, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "M88kMCExpr", "*", "M88kMCExpr", "::", "create", "(", "VariantKind", "Kind", ",", "const", "MCExpr", "*", "Expr", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "(", "Ctx", ")", "M88kMCExpr", "(", "Kind", ",", "Expr", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["M88k", "M88k", "M88k", "M88k"], "File": "M88kMCExpr", "Func": "create", "Target": "M88k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1010, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "SIInstrInfo", "::", "commuteInstructionImpl", "(", "MachineInstr", "*", "MI", ",", "bool", "NewMI", ",", "unsigned", "OpIdx0", ",", "unsigned", "OpIdx1", ")", "const", "{", "int", "CommutedOpcode", "=", "commuteOpcode", "(", "*", "MI", ")", ";", "if", "(", "CommutedOpcode", "==", "-", "1", ")", "return", "nullptr", ";", "int", "Src0Idx", "=", "AMDGPU", "::", "getNamedOperandIdx", "(", "MI", "->", "getOpcode", "(", ")", ",", "AMDGPU", "::", "OpName", "::", "src0", ")", ";", "MachineOperand", "&", "Src0", "=", "MI", "->", "getOperand", "(", "Src0Idx", ")", ";", "if", "(", "!", "Src0", ".", "isReg", "(", ")", ")", "return", "nullptr", ";", "int", "Src1Idx", "=", "AMDGPU", "::", "getNamedOperandIdx", "(", "MI", "->", "getOpcode", "(", ")", ",", "AMDGPU", "::", "OpName", "::", "src1", ")", ";", "if", "(", "(", "OpIdx0", "!=", "static_cast", "<", "unsigned", ">", "(", "Src0Idx", ")", "||", "OpIdx1", "!=", "static_cast", "<", "unsigned", ">", "(", "Src1Idx", ")", ")", "&&", "(", "OpIdx0", "!=", "static_cast", "<", "unsigned", ">", "(", "Src1Idx", ")", "||", "OpIdx1", "!=", "static_cast", "<", "unsigned", ">", "(", "Src0Idx", ")", ")", ")", "return", "nullptr", ";", "MachineOperand", "&", "Src1", "=", "MI", "->", "getOperand", "(", "Src1Idx", ")", ";", "if", "(", "isVOP2", "(", "*", "MI", ")", "||", "isVOPC", "(", "*", "MI", ")", ")", "{", "const", "MCInstrDesc", "&", "InstrDesc", "=", "MI", "->", "getDesc", "(", ")", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "if", "(", "!", "isLegalRegOperand", "(", "MRI", ",", "InstrDesc", ".", "OpInfo", "[", "Src1Idx", "]", ",", "Src0", ")", ")", "return", "nullptr", ";", "}", "if", "(", "!", "Src1", ".", "isReg", "(", ")", ")", "{", "if", "(", "NewMI", "||", "!", "Src1", ".", "isImm", "(", ")", "||", "(", "!", "isVOP2", "(", "*", "MI", ")", "&&", "!", "isVOP3", "(", "*", "MI", ")", ")", ")", "{", "return", "nullptr", ";", "}", "if", "(", "MachineOperand", "*", "Src0Mods", "=", "getNamedOperand", "(", "*", "MI", ",", "AMDGPU", "::", "OpName", "::", "src0_modifiers", ")", ")", "{", "MachineOperand", "*", "Src1Mods", "=", "getNamedOperand", "(", "*", "MI", ",", "AMDGPU", "::", "OpName", "::", "src1_modifiers", ")", ";", "int", "Src0ModsVal", "=", "Src0Mods", "->", "getImm", "(", ")", ";", "if", "(", "!", "Src1Mods", "&&", "Src0ModsVal", "!=", "0", ")", "return", "nullptr", ";", "int", "Src1ModsVal", "=", "Src1Mods", "->", "getImm", "(", ")", ";", "assert", "(", "(", "Src1ModsVal", "==", "0", ")", "&&", "\"Not expecting modifiers with immediates\"", ")", ";", "Src1Mods", "->", "setImm", "(", "Src0ModsVal", ")", ";", "Src0Mods", "->", "setImm", "(", "Src1ModsVal", ")", ";", "}", "unsigned", "Reg", "=", "Src0", ".", "getReg", "(", ")", ";", "unsigned", "SubReg", "=", "Src0", ".", "getSubReg", "(", ")", ";", "if", "(", "Src1", ".", "isImm", "(", ")", ")", "Src0", ".", "ChangeToImmediate", "(", "Src1", ".", "getImm", "(", ")", ")", ";", "else", "llvm_unreachable", "(", "\"Should only have immediates\"", ")", ";", "Src1", ".", "ChangeToRegister", "(", "Reg", ",", "false", ")", ";", "Src1", ".", "setSubReg", "(", "SubReg", ")", ";", "}", "else", "{", "MI", "=", "TargetInstrInfo", "::", "commuteInstructionImpl", "(", "MI", ",", "NewMI", ",", "OpIdx0", ",", "OpIdx1", ")", ";", "}", "if", "(", "MI", ")", "MI", "->", "setDesc", "(", "get", "(", "CommutedOpcode", ")", ")", ";", "return", "MI", ";", "}", ""], "natrual_language": ["Commutes", "the", "operands", "in", "the", "given", "instruction", "by", "changing", "the", "operands", "order", "and/or", "changing", "the", "instruction", "'s", "opcode", "and/or", "the", "immediate", "value", "operand", "."], "TS_V_token": ["AMDGPU", "SI", "1", "AMDGPU::getNamedOperandIdx", "AMDGPU::OpName", "AMDGPU::getNamedOperandIdx", "AMDGPU::OpName", "AMDGPU::OpName", "AMDGPU::OpName", "0", "0", "\"Not expecting modifiers with immediates\"", "\"Should only have immediates\""], "File": "SIInstrInfo128", "Func": "commuteInstructionImpl", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1011, "Length": 458, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ArrayRef", "<", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">>", "X86InstrInfo", "::", "getSerializableDirectMachineOperandTargetFlags", "(", ")", "const", "{", "using", "namespace", "X86II", ";", "static", "const", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">", "TargetFlags", "[", "]", "=", "{", "{", "MO_GOT_ABSOLUTE_ADDRESS", ",", "\"x86-got-absolute-address\"", "}", ",", "{", "MO_PIC_BASE_OFFSET", ",", "\"x86-pic-base-offset\"", "}", ",", "{", "MO_GOT", ",", "\"x86-got\"", "}", ",", "{", "MO_GOTOFF", ",", "\"x86-gotoff\"", "}", ",", "{", "MO_GOTPCREL", ",", "\"x86-gotpcrel\"", "}", ",", "{", "MO_PLT", ",", "\"x86-plt\"", "}", ",", "{", "MO_TLSGD", ",", "\"x86-tlsgd\"", "}", ",", "{", "MO_TLSLD", ",", "\"x86-tlsld\"", "}", ",", "{", "MO_TLSLDM", ",", "\"x86-tlsldm\"", "}", ",", "{", "MO_GOTTPOFF", ",", "\"x86-gottpoff\"", "}", ",", "{", "MO_INDNTPOFF", ",", "\"x86-indntpoff\"", "}", ",", "{", "MO_TPOFF", ",", "\"x86-tpoff\"", "}", ",", "{", "MO_DTPOFF", ",", "\"x86-dtpoff\"", "}", ",", "{", "MO_NTPOFF", ",", "\"x86-ntpoff\"", "}", ",", "{", "MO_GOTNTPOFF", ",", "\"x86-gotntpoff\"", "}", ",", "{", "MO_DLLIMPORT", ",", "\"x86-dllimport\"", "}", ",", "{", "MO_DARWIN_STUB", ",", "\"x86-darwin-stub\"", "}", ",", "{", "MO_DARWIN_NONLAZY", ",", "\"x86-darwin-nonlazy\"", "}", ",", "{", "MO_DARWIN_NONLAZY_PIC_BASE", ",", "\"x86-darwin-nonlazy-pic-base\"", "}", ",", "{", "MO_DARWIN_HIDDEN_NONLAZY_PIC_BASE", ",", "\"x86-darwin-hidden-nonlazy-pic-base\"", "}", ",", "{", "MO_TLVP", ",", "\"x86-tlvp\"", "}", ",", "{", "MO_TLVP_PIC_BASE", ",", "\"x86-tlvp-pic-base\"", "}", ",", "{", "MO_SECREL", ",", "\"x86-secrel\"", "}", "}", ";", "return", "makeArrayRef", "(", "TargetFlags", ")", ";", "}", ""], "natrual_language": ["Return", "an", "array", "that", "contains", "the", "direct", "target", "flag", "values", "and", "their", "names", "."], "TS_V_token": ["X86", "X86", "X86", "\"x86-got-absolute-address\"", "\"x86-pic-base-offset\"", "\"x86-got\"", "\"x86-gotoff\"", "\"x86-gotpcrel\"", "\"x86-plt\"", "\"x86-tlsgd\"", "\"x86-tlsld\"", "\"x86-tlsldm\"", "\"x86-gottpoff\"", "\"x86-indntpoff\"", "\"x86-tpoff\"", "\"x86-dtpoff\"", "\"x86-ntpoff\"", "\"x86-gotntpoff\"", "\"x86-dllimport\"", "\"x86-darwin-stub\"", "\"x86-darwin-nonlazy\"", "\"x86-darwin-nonlazy-pic-base\"", "\"x86-darwin-hidden-nonlazy-pic-base\"", "\"x86-tlvp\"", "\"x86-tlvp-pic-base\"", "\"x86-secrel\""], "File": "X86InstrInfo (2)2", "Func": "getSerializableDirectMachineOperandTargetFlags", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1012, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTTIImpl", "::", "isHardwareLoopProfitable", "(", "Loop", "*", "L", ",", "ScalarEvolution", "&", "SE", ",", "AssumptionCache", "&", "AC", ",", "TargetLibraryInfo", "*", "LibInfo", ",", "HardwareLoopInfo", "&", "HWLoopInfo", ")", "{", "if", "(", "!", "ST", "->", "hasLOB", "(", ")", "||", "DisableLowOverheadLoops", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"ARMHWLoops: Disabled\\n\"", ")", ";", "return", "false", ";", "}", "if", "(", "!", "SE", ".", "hasLoopInvariantBackedgeTakenCount", "(", "L", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"ARMHWLoops: No BETC\\n\"", ")", ";", "return", "false", ";", "}", "const", "SCEV", "*", "BackedgeTakenCount", "=", "SE", ".", "getBackedgeTakenCount", "(", "L", ")", ";", "if", "(", "isa", "<", "SCEVCouldNotCompute", ">", "(", "BackedgeTakenCount", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"ARMHWLoops: Uncomputable BETC\\n\"", ")", ";", "return", "false", ";", "}", "const", "SCEV", "*", "TripCountSCEV", "=", "SE", ".", "getAddExpr", "(", "BackedgeTakenCount", ",", "SE", ".", "getOne", "(", "BackedgeTakenCount", "->", "getType", "(", ")", ")", ")", ";", "if", "(", "SE", ".", "getUnsignedRangeMax", "(", "TripCountSCEV", ")", ".", "getBitWidth", "(", ")", ">", "32", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"ARMHWLoops: Trip count does not fit into 32bits\\n\"", ")", ";", "return", "false", ";", "}", "auto", "IsHardwareLoopIntrinsic", "=", "[", "]", "(", "Instruction", "&", "I", ")", "{", "if", "(", "auto", "*", "Call", "=", "dyn_cast", "<", "IntrinsicInst", ">", "(", "&", "I", ")", ")", "{", "switch", "(", "Call", "->", "getIntrinsicID", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Intrinsic", "::", "start_loop_iterations", ":", "case", "Intrinsic", "::", "test_start_loop_iterations", ":", "case", "Intrinsic", "::", "loop_decrement", ":", "case", "Intrinsic", "::", "loop_decrement_reg", ":", "return", "true", ";", "}", "}", "return", "false", ";", "}", ";", "bool", "IsTailPredLoop", "=", "false", ";", "auto", "ScanLoop", "=", "[", "&", "]", "(", "Loop", "*", "L", ")", "{", "for", "(", "auto", "*", "BB", ":", "L", "->", "getBlocks", "(", ")", ")", "{", "for", "(", "auto", "&", "I", ":", "*", "BB", ")", "{", "if", "(", "maybeLoweredToCall", "(", "I", ")", "||", "IsHardwareLoopIntrinsic", "(", "I", ")", "||", "isa", "<", "InlineAsm", ">", "(", "I", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"ARMHWLoops: Bad instruction: \"", "<<", "I", "<<", "\"\\n\"", ")", ";", "return", "false", ";", "}", "if", "(", "auto", "*", "II", "=", "dyn_cast", "<", "IntrinsicInst", ">", "(", "&", "I", ")", ")", "IsTailPredLoop", "|=", "II", "->", "getIntrinsicID", "(", ")", "==", "Intrinsic", "::", "get_active_lane_mask", "||", "II", "->", "getIntrinsicID", "(", ")", "==", "Intrinsic", "::", "arm_mve_vctp8", "||", "II", "->", "getIntrinsicID", "(", ")", "==", "Intrinsic", "::", "arm_mve_vctp16", "||", "II", "->", "getIntrinsicID", "(", ")", "==", "Intrinsic", "::", "arm_mve_vctp32", "||", "II", "->", "getIntrinsicID", "(", ")", "==", "Intrinsic", "::", "arm_mve_vctp64", ";", "}", "}", "return", "true", ";", "}", ";", "for", "(", "auto", "Inner", ":", "*", "L", ")", "if", "(", "!", "ScanLoop", "(", "Inner", ")", ")", "return", "false", ";", "if", "(", "!", "ScanLoop", "(", "L", ")", ")", "return", "false", ";", "LLVMContext", "&", "C", "=", "L", "->", "getHeader", "(", ")", "->", "getContext", "(", ")", ";", "HWLoopInfo", ".", "CounterInReg", "=", "true", ";", "HWLoopInfo", ".", "IsNestingLegal", "=", "false", ";", "HWLoopInfo", ".", "PerformEntryTest", "=", "AllowWLSLoops", "&&", "!", "IsTailPredLoop", ";", "HWLoopInfo", ".", "CountType", "=", "Type", "::", "getInt32Ty", "(", "C", ")", ";", "HWLoopInfo", ".", "LoopDecrement", "=", "ConstantInt", "::", "get", "(", "HWLoopInfo", ".", "CountType", ",", "1", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Query", "the", "target", "whether", "it", "would", "be", "profitable", "to", "convert", "the", "given", "loop", "into", "a", "hardware", "loop", "."], "TS_V_token": ["ARM", "ARM", "\"ARMHWLoops: Disabled\\n\"", "\"ARMHWLoops: No BETC\\n\"", "\"ARMHWLoops: Uncomputable BETC\\n\"", "32", "\"ARMHWLoops: Trip count does not fit into 32bits\\n\"", "Intrinsic::start_loop_iterations", "Intrinsic::test_start_loop_iterations", "Intrinsic::loop_decrement", "Intrinsic::loop_decrement_reg", "\"ARMHWLoops: Bad instruction: \"", "\"\\n\"", "Intrinsic::get_active_lane_mask", "Intrinsic::arm_mve_vctp8", "Intrinsic::arm_mve_vctp16", "Intrinsic::arm_mve_vctp32", "Intrinsic::arm_mve_vctp64", "1"], "File": "ARMTargetTransformInfo14", "Func": "isHardwareLoopProfitable", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1013, "Length": 480, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isVectorShiftByScalarCheap", "(", "Type", "*", "Ty", ")", "const", "{", "unsigned", "Bits", "=", "Ty", "->", "getScalarSizeInBits", "(", ")", ";", "if", "(", "Bits", "==", "8", ")", "return", "false", ";", "if", "(", "Subtarget", ".", "hasAVX2", "(", ")", "&&", "(", "Bits", "==", "32", "||", "Bits", "==", "64", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "is", "used", "to", "enable", "splatted", "operand", "transforms", "for", "vector", "shifts", "and", "vector", "funnel", "shifts", "."], "TS_V_token": ["X86", "X86", "8", "32", "64"], "File": "X86ISelLowering184", "Func": "isVectorShiftByScalarCheap", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1014, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CSKYMCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCInstrDesc", "&", "Desc", "=", "MII", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "unsigned", "Size", "=", "Desc", ".", "getSize", "(", ")", ";", "uint32_t", "Bin", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "uint16_t", "LO16", "=", "static_cast", "<", "uint16_t", ">", "(", "Bin", ")", ";", "uint16_t", "HI16", "=", "static_cast", "<", "uint16_t", ">", "(", "Bin", ">>", "16", ")", ";", "if", "(", "Size", "==", "4", ")", "support", "::", "endian", "::", "write", "<", "uint16_t", ">", "(", "OS", ",", "HI16", ",", "support", "::", "little", ")", ";", "support", "::", "endian", "::", "write", "<", "uint16_t", ">", "(", "OS", ",", "LO16", ",", "support", "::", "little", ")", ";", "++", "MCNumEmitted", ";", "}", ""], "natrual_language": ["Encode", "the", "given", "Inst", "to", "bytes", "and", "append", "to", "CB", "."], "TS_V_token": ["CSKY", "CSKY", "16", "4", "support::endian", "support::little", "support::endian", "support::little"], "File": "CSKYMCCodeEmitter2", "Func": "encodeInstruction", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1015, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 pseudo instruction expansion pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 pseudo instruction expansion pass\""], "File": "X86ExpandPseudo", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1016, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "ARMTTIImpl", "::", "getIntImmCost", "(", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "unsigned", "Bits", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "Bits", "==", "0", "||", "Imm", ".", "getActiveBits", "(", ")", ">=", "64", ")", "return", "4", ";", "int64_t", "SImmVal", "=", "Imm", ".", "getSExtValue", "(", ")", ";", "uint64_t", "ZImmVal", "=", "Imm", ".", "getZExtValue", "(", ")", ";", "if", "(", "!", "ST", "->", "isThumb", "(", ")", ")", "{", "if", "(", "(", "SImmVal", ">=", "0", "&&", "SImmVal", "<", "65536", ")", "||", "(", "ARM_AM", "::", "getSOImmVal", "(", "ZImmVal", ")", "!=", "-", "1", ")", "||", "(", "ARM_AM", "::", "getSOImmVal", "(", "~", "ZImmVal", ")", "!=", "-", "1", ")", ")", "return", "1", ";", "return", "ST", "->", "hasV6T2Ops", "(", ")", "?", "2", ":", "3", ";", "}", "if", "(", "ST", "->", "isThumb2", "(", ")", ")", "{", "if", "(", "(", "SImmVal", ">=", "0", "&&", "SImmVal", "<", "65536", ")", "||", "(", "ARM_AM", "::", "getT2SOImmVal", "(", "ZImmVal", ")", "!=", "-", "1", ")", "||", "(", "ARM_AM", "::", "getT2SOImmVal", "(", "~", "ZImmVal", ")", "!=", "-", "1", ")", ")", "return", "1", ";", "return", "ST", "->", "hasV6T2Ops", "(", ")", "?", "2", ":", "3", ";", "}", "if", "(", "Bits", "==", "8", "||", "(", "SImmVal", ">=", "0", "&&", "SImmVal", "<", "256", ")", ")", "return", "1", ";", "if", "(", "(", "~", "SImmVal", "<", "256", ")", "||", "ARM_AM", "::", "isThumbImmShiftedVal", "(", "ZImmVal", ")", ")", "return", "2", ";", "return", "3", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "."], "TS_V_token": ["ARM", "ARM", "0", "64", "4", "0", "65536", "ARM_AM::getSOImmVal", "1", "ARM_AM::getSOImmVal", "1", "1", "2", "3", "0", "65536", "ARM_AM::getT2SOImmVal", "1", "ARM_AM::getT2SOImmVal", "1", "1", "2", "3", "8", "0", "256", "1", "256", "ARM_AM::isThumbImmShiftedVal", "2", "3"], "File": "ARMTargetTransformInfo14", "Func": "getIntImmCost", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1017, "Length": 238, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "h8300_push_pop", "(", "int", "regno", ",", "int", "nregs", ",", "bool", "pop_p", ",", "bool", "return_p", ")", "{", "int", "i", ",", "j", ";", "rtvec", "vec", ";", "rtx", "sp", ",", "offset", ",", "x", ";", "if", "(", "!", "return_p", "&&", "nregs", "==", "1", ")", "{", "if", "(", "pop_p", ")", "pop", "(", "regno", ")", ";", "else", "push", "(", "regno", ")", ";", "return", ";", "}", "vec", "=", "rtvec_alloc", "(", "(", "return_p", "?", "1", ":", "0", ")", "+", "nregs", "+", "1", ")", ";", "sp", "=", "stack_pointer_rtx", ";", "i", "=", "0", ";", "if", "(", "return_p", ")", "{", "RTVEC_ELT", "(", "vec", ",", "i", ")", "=", "ret_rtx", ";", "i", "++", ";", "}", "for", "(", "j", "=", "0", ";", "j", "<", "nregs", ";", "j", "++", ")", "{", "rtx", "lhs", ",", "rhs", ";", "if", "(", "pop_p", ")", "{", "lhs", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", "+", "j", ")", ";", "rhs", "=", "gen_rtx_MEM", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "sp", ",", "(", "nregs", "-", "j", "-", "1", ")", "*", "4", ")", ")", ";", "}", "else", "{", "lhs", "=", "gen_rtx_MEM", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "sp", ",", "(", "j", "+", "1", ")", "*", "-", "4", ")", ")", ";", "rhs", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", "+", "j", ")", ";", "}", "RTVEC_ELT", "(", "vec", ",", "i", "+", "j", ")", "=", "gen_rtx_SET", "(", "lhs", ",", "rhs", ")", ";", "}", "offset", "=", "GEN_INT", "(", "(", "pop_p", "?", "nregs", ":", "-", "nregs", ")", "*", "4", ")", ";", "RTVEC_ELT", "(", "vec", ",", "i", "+", "j", ")", "=", "gen_rtx_SET", "(", "sp", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "sp", ",", "offset", ")", ")", ";", "x", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "vec", ")", ";", "if", "(", "!", "pop_p", ")", "x", "=", "Fpa", "(", "x", ")", ";", "if", "(", "return_p", ")", "emit_jump_insn", "(", "x", ")", ";", "else", "emit_insn", "(", "x", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "instruction", "to", "push", "or", "pop", "NREGS", "consecutive", "registers", "starting", "at", "register", "REGNO", ".", "POP_P", "selects", "a", "pop", "rather", "than", "a", "push", "and", "RETURN_P", "is", "true", "if", "the", "instruction", "should", "return", ".", "It", "must", "be", "possible", "to", "do", "the", "requested", "operation", "in", "a", "single", "instruction", ".", "If", "NREGS", "==", "1", "&", "&", "!", "RETURN_P", ",", "use", "a", "normal", "push", "or", "pop", "insn", ".", "Otherwise", "emit", "a", "parallel", "of", "the", "form", ":", "(", "parallel", "[", "(", "return", ")", ";", ";", "if", "RETURN_P", "(", "save", "or", "restore", "REGNO", ")", "(", "save", "or", "restore", "REGNO", "+", "1", ")", "...", "(", "save", "or", "restore", "REGNO", "+", "NREGS", "-", "1", ")", "(", "set", "sp", "(", "plus", "sp", "(", "const_int", "adjust", ")", ")", ")", "]"], "TS_V_token": ["h8300", "1", "1", "0", "1", "0", "0", "1", "4", "1", "4", "4"], "File": "h8300", "Func": "h8300_push_pop", "Target": "h8300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1018, "Length": 293, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "mprocTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "EVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'r'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "mproc", "::", "GR8RegClass", ")", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["mproc", "mproc", "1", "0", "0U", "mproc::GR8RegClass"], "File": "mprocISelLowering", "Func": "getRegForInlineAsmConstraint", "Target": "mproc", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1019, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineSDNode", "*", "SITargetLowering", "::", "buildRSRC", "(", "SelectionDAG", "&", "DAG", ",", "SDLoc", "DL", ",", "SDValue", "Ptr", ",", "uint32_t", "RsrcDword1", ",", "uint64_t", "RsrcDword2And3", ")", "const", "{", "SDValue", "PtrLo", "=", "DAG", ".", "getTargetExtractSubreg", "(", "AMDGPU", "::", "sub0", ",", "DL", ",", "MVT", "::", "i32", ",", "Ptr", ")", ";", "SDValue", "PtrHi", "=", "DAG", ".", "getTargetExtractSubreg", "(", "AMDGPU", "::", "sub1", ",", "DL", ",", "MVT", "::", "i32", ",", "Ptr", ")", ";", "if", "(", "RsrcDword1", ")", "{", "PtrHi", "=", "SDValue", "(", "DAG", ".", "getMachineNode", "(", "AMDGPU", "::", "S_OR_B32", ",", "DL", ",", "MVT", "::", "i32", ",", "PtrHi", ",", "DAG", ".", "getConstant", "(", "RsrcDword1", ",", "MVT", "::", "i32", ")", ")", ",", "0", ")", ";", "}", "SDValue", "DataLo", "=", "buildSMovImm32", "(", "DAG", ",", "DL", ",", "RsrcDword2And3", "&", "UINT64_C", "(", "0xFFFFFFFF", ")", ")", ";", "SDValue", "DataHi", "=", "buildSMovImm32", "(", "DAG", ",", "DL", ",", "RsrcDword2And3", ">>", "32", ")", ";", "const", "SDValue", "Ops", "[", "]", "=", "{", "DAG", ".", "getTargetConstant", "(", "AMDGPU", "::", "SReg_128RegClassID", ",", "MVT", "::", "i32", ")", ",", "PtrLo", ",", "DAG", ".", "getTargetConstant", "(", "AMDGPU", "::", "sub0", ",", "MVT", "::", "i32", ")", ",", "PtrHi", ",", "DAG", ".", "getTargetConstant", "(", "AMDGPU", "::", "sub1", ",", "MVT", "::", "i32", ")", ",", "DataLo", ",", "DAG", ".", "getTargetConstant", "(", "AMDGPU", "::", "sub2", ",", "MVT", "::", "i32", ")", ",", "DataHi", ",", "DAG", ".", "getTargetConstant", "(", "AMDGPU", "::", "sub3", ",", "MVT", "::", "i32", ")", "}", ";", "return", "DAG", ".", "getMachineNode", "(", "AMDGPU", "::", "REG_SEQUENCE", ",", "DL", ",", "MVT", "::", "v4i32", ",", "Ops", ")", ";", "}", ""], "natrual_language": ["Return", "a", "resource", "descriptor", "with", "the", "'Add", "TID", "'", "bit", "enabled", "The", "TID", "(", "Thread", "ID", ")", "is", "multiplied", "by", "the", "stride", "value", "(", "bits", "[", "61:48", "]", "of", "the", "resource", "descriptor", ")", "to", "create", "an", "offset", ",", "which", "is", "added", "to", "the", "resource", "pointer", "."], "TS_V_token": ["R600", "SI", "MVT::i32", "MVT::i32", "MVT::i32", "MVT::i32", "0", "0xFFFFFFFF", "32", "MVT::i32", "MVT::i32", "MVT::i32", "MVT::i32", "MVT::i32", "MVT::v4i32"], "File": "SIISelLowering127", "Func": "buildRSRC", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1020, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "ix86_loop_unroll_adjust", "(", "unsigned", "nunroll", ",", "struct", "loop", "*", "loop", ")", "{", "basic_block", "*", "bbs", ";", "rtx_insn", "*", "insn", ";", "unsigned", "i", ";", "unsigned", "mem_count", "=", "0", ";", "if", "(", "!", "TARGET_ADJUST_UNROLL", ")", "return", "nunroll", ";", "subrtx_iterator", "::", "array_type", "array", ";", "bbs", "=", "get_loop_body", "(", "loop", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "loop", "->", "num_nodes", ";", "i", "++", ")", "FOR_BB_INSNS", "(", "bbs", "[", "i", "]", ",", "insn", ")", "if", "(", "NONDEBUG_INSN_P", "(", "insn", ")", ")", "FOR_EACH_SUBRTX", "(", "iter", ",", "array", ",", "PATTERN", "(", "insn", ")", ",", "NONCONST", ")", "if", "(", "const_rtx", "x", "=", "*", "iter", ")", "if", "(", "MEM_P", "(", "x", ")", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "x", ")", ";", "unsigned", "int", "n_words", "=", "GET_MODE_SIZE", "(", "mode", ")", "/", "UNITS_PER_WORD", ";", "if", "(", "n_words", ">", "4", ")", "mem_count", "+=", "2", ";", "else", "mem_count", "+=", "1", ";", "}", "free", "(", "bbs", ")", ";", "if", "(", "mem_count", "&&", "mem_count", "<=", "32", ")", "return", "MIN", "(", "nunroll", ",", "32", "/", "mem_count", ")", ";", "return", "nunroll", ";", "}", ""], "natrual_language": ["This", "function", "adjusts", "the", "unroll", "factor", "based", "on", "the", "hardware", "capabilities", ".", "For", "ex", ",", "bdver3", "has", "a", "loop", "buffer", "which", "makes", "unrolling", "of", "smaller", "loops", "less", "important", ".", "This", "function", "decides", "the", "unroll", "factor", "using", "number", "of", "memory", "references", "(", "value", "32", "is", "used", ")", "as", "a", "heuristic", "."], "TS_V_token": ["i386", "0", "0", "4", "2", "1", "32", "32"], "File": "i3867", "Func": "ix86_loop_unroll_adjust", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1021, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "moxie_arg_partial_bytes", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "tree", "type", ",", "bool", "named", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "int", "bytes_left", ",", "size", ";", "if", "(", "*", "cum", ">=", "8", ")", "return", "0", ";", "if", "(", "moxie_pass_by_reference", "(", "cum_v", ",", "mode", ",", "type", ",", "named", ")", ")", "size", "=", "4", ";", "else", "if", "(", "type", ")", "{", "if", "(", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "return", "0", ";", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "}", "else", "size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "bytes_left", "=", "(", "4", "*", "6", ")", "-", "(", "(", "*", "cum", "-", "2", ")", "*", "4", ")", ";", "if", "(", "size", ">", "bytes_left", ")", "return", "bytes_left", ";", "else", "return", "0", ";", "}", ""], "natrual_language": ["Some", "function", "arguments", "will", "only", "partially", "fit", "in", "the", "registers", "that", "hold", "arguments", ".", "Given", "a", "new", "arg", ",", "return", "the", "number", "of", "bytes", "that", "fit", "in", "argument", "passing", "registers", "."], "TS_V_token": ["moxie", "8", "0", "4", "0", "4", "6", "2", "4", "0"], "File": "moxie2", "Func": "moxie_arg_partial_bytes", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1022, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "XCoreFTAOElim", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "XCoreInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "XCoreInstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "unsigned", "StackSize", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getStackSize", "(", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "MFI", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "MFI", "!=", "E", ";", "++", "MFI", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MFI", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ",", "EE", "=", "MBB", ".", "end", "(", ")", ";", "MBBI", "!=", "EE", ";", "++", "MBBI", ")", "{", "if", "(", "MBBI", "->", "getOpcode", "(", ")", "==", "XCore", "::", "FRAME_TO_ARGS_OFFSET", ")", "{", "MachineInstr", "&", "OldInst", "=", "*", "MBBI", ";", "Register", "Reg", "=", "OldInst", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "MBBI", "=", "TII", ".", "loadImmediate", "(", "MBB", ",", "MBBI", ",", "Reg", ",", "StackSize", ")", ";", "OldInst", ".", "eraseFromParent", "(", ")", ";", "}", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["XCore", "XCore", "XCore", "XCore", "XCore::FRAME_TO_ARGS_OFFSET", "0"], "File": "XCoreFrameToArgsOffsetElim10", "Func": "runOnMachineFunction", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1023, "Length": 174, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AVRSubtarget", "::", "AVRSubtarget", "(", "const", "Triple", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "AVRTargetMachine", "&", "TM", ")", ":", "AVRGenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "InstrInfo", "(", ")", ",", "FrameLowering", "(", ")", ",", "TLInfo", "(", "TM", ")", ",", "TSInfo", "(", ")", ",", "m_hasSRAM", "(", "false", ")", ",", "m_hasJMPCALL", "(", "false", ")", ",", "m_hasIJMPCALL", "(", "false", ")", ",", "m_hasEIJMPCALL", "(", "false", ")", ",", "m_hasADDSUBIW", "(", "false", ")", ",", "m_hasSmallStack", "(", "false", ")", ",", "m_hasMOVW", "(", "false", ")", ",", "m_hasLPM", "(", "false", ")", ",", "m_hasLPMX", "(", "false", ")", ",", "m_hasELPM", "(", "false", ")", ",", "m_hasELPMX", "(", "false", ")", ",", "m_hasSPM", "(", "false", ")", ",", "m_hasSPMX", "(", "false", ")", ",", "m_hasDES", "(", "false", ")", ",", "m_supportsRMW", "(", "false", ")", ",", "m_supportsMultiplication", "(", "false", ")", ",", "m_hasBREAK", "(", "false", ")", ",", "m_hasTinyEncoding", "(", "false", ")", ",", "ELFArch", "(", "false", ")", ",", "m_FeatureSetDummy", "(", "false", ")", "{", "ParseSubtargetFeatures", "(", "CPU", ",", "FS", ")", ";", "}", ""], "natrual_language": ["Creates", "an", "AVR", "subtarget", "."], "TS_V_token": ["AVR", "AVR", "AVR", "AVR", "AVR"], "File": "AVRSubtarget6", "Func": "AVRSubtarget", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1024, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "frv_sort_insn_group", "(", "enum", "frv_insn_group", "group", ")", "{", "struct", "frv_packet_group", "*", "packet_group", ";", "unsigned", "int", "first", ",", "i", ",", "nop", ",", "max_unit", ",", "num_slots", ";", "state_t", "state", ",", "test_state", ";", "size_t", "dfa_size", ";", "packet_group", "=", "&", "frv_packet", ".", "groups", "[", "group", "]", ";", "packet_group", "->", "nop", "=", "0", ";", "if", "(", "packet_group", "->", "num_insns", "==", "0", ")", "return", ";", "memcpy", "(", "packet_group", "->", "sorted", ",", "packet_group", "->", "insns", ",", "sizeof", "(", "rtx", ")", "*", "packet_group", "->", "num_insns", ")", ";", "if", "(", "packet_group", "->", "num_insns", ">", "1", ")", "qsort", "(", "packet_group", "->", "sorted", ",", "packet_group", "->", "num_insns", ",", "sizeof", "(", "rtx", ")", ",", "frv_compare_insns", ")", ";", "if", "(", "group", "==", "GROUP_B", "||", "group", "==", "GROUP_C", ")", "return", ";", "dfa_size", "=", "state_size", "(", ")", ";", "state", "=", "alloca", "(", "dfa_size", ")", ";", "test_state", "=", "alloca", "(", "dfa_size", ")", ";", "state_reset", "(", "test_state", ")", ";", "for", "(", "first", "=", "0", ";", "first", "<", "packet_group", "->", "num_insns", ";", "first", "++", ")", "{", "memcpy", "(", "state", ",", "test_state", ",", "dfa_size", ")", ";", "if", "(", "state_transition", "(", "test_state", ",", "packet_group", "->", "sorted", "[", "first", "]", ")", ">=", "0", "||", "!", "cpu_unit_reservation_p", "(", "test_state", ",", "NTH_UNIT", "(", "group", ",", "first", ")", ")", ")", "break", ";", "}", "if", "(", "first", "==", "packet_group", "->", "num_insns", ")", "return", ";", "for", "(", "nop", "=", "0", ";", "nop", "<", "frv_num_nops", ";", "nop", "++", ")", "{", "max_unit", "=", "frv_insn_unit", "(", "frv_nops", "[", "nop", "]", ")", ";", "if", "(", "frv_unit_groups", "[", "max_unit", "]", "==", "group", ")", "{", "packet_group", "->", "nop", "=", "frv_nops", "[", "nop", "]", ";", "num_slots", "=", "UNIT_NUMBER", "(", "max_unit", ")", "+", "1", ";", "for", "(", "i", "=", "packet_group", "->", "num_insns", ";", "i", "<", "num_slots", ";", "i", "++", ")", "packet_group", "->", "sorted", "[", "i", "]", "=", "frv_nops", "[", "nop", "]", ";", "if", "(", "frv_sort_insn_group_1", "(", "group", ",", "first", ",", "num_slots", ",", "(", "1", "<<", "first", ")", "-", "1", ",", "num_slots", ",", "state", ")", ")", "return", ";", "}", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Copy", "frv_packet.groups", "[", "GROUP", "]", ".insns", "[", "]", "to", "frv_packet.groups", "[", "GROUP", "]", ".sorted", "[", "]", "and", "sort", "it", "into", "assembly", "language", "order", ".", "See", "frv.md", "for", "a", "description", "of", "the", "algorithm", "."], "TS_V_token": ["frv", "0", "0", "1", "0", "0", "0", "1", "1", "1"], "File": "frv", "Func": "frv_sort_insn_group", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 1025, "Length": 321, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "reverseBranchCondition", "(", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ")", "const", "{", "assert", "(", "Cond", ".", "size", "(", ")", "==", "1", "&&", "\"Invalid X86 branch condition!\"", ")", ";", "X86", "::", "CondCode", "CC", "=", "static_cast", "<", "X86", "::", "CondCode", ">", "(", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ")", ";", "Cond", "[", "0", "]", ".", "setImm", "(", "GetOppositeBranchCondition", "(", "CC", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Reverses", "the", "branch", "condition", "of", "the", "specified", "condition", "list", ",", "returning", "false", "on", "success", "and", "true", "if", "it", "can", "not", "be", "reversed", "."], "TS_V_token": ["X86", "X86", "1", "\"Invalid X86 branch condition!\"", "X86::CondCode", "X86::CondCode", "0", "0"], "File": "X86InstrInfo (2)3", "Func": "reverseBranchCondition", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1026, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "m32r_pass_by_reference", "(", "cumulative_args_t", ",", "const", "function_arg_info", "&", "arg", ")", "{", "int", "size", "=", "arg", ".", "type_size_in_bytes", "(", ")", ";", "return", "(", "size", "<", "0", "||", "size", ">", "8", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "TYPE", "must", "be", "passed", "by", "indirect", "reference", "."], "TS_V_token": ["m32r", "0", "8"], "File": "m32r", "Func": "m32r_pass_by_reference", "Target": "m32r", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1027, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "doFinalization", "(", "Module", "&", "M", ")", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["doFinalization", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "any", "necessary", "clean", "up", "after", "all", "passes", "have", "run", "."], "TS_V_token": ["TPC"], "File": "AttributeAdjuster", "Func": "doFinalization", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1028, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_gen_loadwb_pair", "(", "machine_mode", "mode", ",", "rtx", "base", ",", "rtx", "reg", ",", "rtx", "reg2", ",", "HOST_WIDE_INT", "adjustment", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_DImode", ":", "return", "gen_loadwb_pairdi_di", "(", "base", ",", "base", ",", "reg", ",", "reg2", ",", "GEN_INT", "(", "adjustment", ")", ",", "GEN_INT", "(", "UNITS_PER_WORD", ")", ")", ";", "case", "E_DFmode", ":", "return", "gen_loadwb_pairdf_di", "(", "base", ",", "base", ",", "reg", ",", "reg2", ",", "GEN_INT", "(", "adjustment", ")", ",", "GEN_INT", "(", "UNITS_PER_WORD", ")", ")", ";", "case", "E_TFmode", ":", "return", "gen_loadwb_pairtf_di", "(", "base", ",", "base", ",", "reg", ",", "reg2", ",", "GEN_INT", "(", "adjustment", ")", ",", "GEN_INT", "(", "UNITS_PER_VREG", ")", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Load", "the", "pair", "of", "register", "REG", ",", "REG2", "of", "mode", "MODE", "from", "stack", "location", "BASE", ",", "adjusting", "it", "by", "ADJUSTMENT", "afterwards", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_gen_loadwb_pair", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1029, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_use_simple_return_insn_p", "(", "void", ")", "{", "if", "(", "aarch64_simd_decl_p", "(", "cfun", "->", "decl", ")", "&&", "!", "crtl", "->", "is_leaf", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "false", "for", "non-leaf", "SIMD", "functions", "in", "order", "to", "avoid", "shrink-wrapping", "them", ".", "Doing", "this", "will", "lose", "the", "necessary", "save/restore", "of", "FP", "registers", "."], "TS_V_token": ["aarch64"], "File": "aarch646", "Func": "aarch64_use_simple_return_insn_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1030, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "small_data_operand", "(", "rtx", "op", "ATTRIBUTE_UNUSED", ",", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "rtx", "sym_ref", ";", "if", "(", "rs6000_sdata", "==", "SDATA_NONE", "||", "rs6000_sdata", "==", "SDATA_DATA", ")", "return", "0", ";", "if", "(", "DEFAULT_ABI", "!=", "ABI_V4", ")", "return", "0", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "SYMBOL_REF", ")", "sym_ref", "=", "op", ";", "else", "if", "(", "GET_CODE", "(", "op", ")", "!=", "CONST", "||", "GET_CODE", "(", "XEXP", "(", "op", ",", "0", ")", ")", "!=", "PLUS", "||", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "op", ",", "0", ")", ",", "0", ")", ")", "!=", "SYMBOL_REF", "||", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "op", ",", "0", ")", ",", "1", ")", ")", "!=", "CONST_INT", ")", "return", "0", ";", "else", "{", "rtx", "sum", "=", "XEXP", "(", "op", ",", "0", ")", ";", "HOST_WIDE_INT", "summand", ";", "summand", "=", "INTVAL", "(", "XEXP", "(", "sum", ",", "1", ")", ")", ";", "if", "(", "summand", "<", "0", "||", "(", "unsigned", "HOST_WIDE_INT", ")", "summand", ">", "g_switch_value", ")", "return", "0", ";", "sym_ref", "=", "XEXP", "(", "sum", ",", "0", ")", ";", "}", "return", "SYMBOL_REF_SMALL_P", "(", "sym_ref", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Return", "1", "for", "an", "operand", "in", "small", "memory", "on", "V.4/eabi", "."], "TS_V_token": ["rs6000", "0", "0", "0", "0", "0", "0", "1", "0", "0", "1", "0", "0", "0", "0"], "File": "rs60003", "Func": "small_data_operand", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1031, "Length": 174, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMFrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetRegisterInfo", "*", "RegInfo", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "if", "(", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", ")", "return", "true", ";", "return", "(", "RegInfo", "->", "hasStackRealignment", "(", "MF", ")", "||", "MFI", ".", "hasVarSizedObjects", "(", ")", "||", "MFI", ".", "isFrameAddressTaken", "(", ")", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMFrameLowering100", "Func": "hasFP", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1032, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SystemZSubtarget", "&", "SystemZSubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "StringRef", "CPUName", "=", "CPU", ";", "if", "(", "CPUName", ".", "empty", "(", ")", ")", "CPUName", "=", "\"generic\"", ";", "ParseSubtargetFeatures", "(", "CPUName", ",", "CPUName", ",", "FS", ")", ";", "if", "(", "HasSoftFloat", ")", "HasVector", "=", "false", ";", "if", "(", "!", "HasVector", ")", "{", "HasVectorEnhancements1", "=", "false", ";", "HasVectorEnhancements2", "=", "false", ";", "HasVectorPackedDecimal", "=", "false", ";", "HasVectorPackedDecimalEnhancement", "=", "false", ";", "}", "return", "*", "this", ";", "}", ""], "natrual_language": ["initializeSubtargetDependencies", "-", "Initializes", "using", "a", "CPU", ",", "a", "TuneCPU", ",", "and", "feature", "string", "so", "that", "we", "can", "use", "initializer", "lists", "for", "subtarget", "initialization", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "\"generic\""], "File": "SystemZSubtarget11", "Func": "initializeSubtargetDependencies", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1033, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isLegalAddressingMode", "(", "const", "DataLayout", "&", "DL", ",", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ",", "Instruction", "*", "I", ")", "const", "{", "if", "(", "AM", ".", "BaseGV", ")", "return", "false", ";", "if", "(", "AM", ".", "HasBaseReg", "&&", "AM", ".", "BaseOffs", "&&", "AM", ".", "Scale", ")", "return", "false", ";", "uint64_t", "NumBytes", "=", "0", ";", "if", "(", "Ty", "->", "isSized", "(", ")", ")", "{", "uint64_t", "NumBits", "=", "DL", ".", "getTypeSizeInBits", "(", "Ty", ")", ";", "NumBytes", "=", "NumBits", "/", "8", ";", "if", "(", "!", "isPowerOf2_64", "(", "NumBits", ")", ")", "NumBytes", "=", "0", ";", "}", "if", "(", "!", "AM", ".", "Scale", ")", "{", "int64_t", "Offset", "=", "AM", ".", "BaseOffs", ";", "if", "(", "isInt", "<", "9", ">", "(", "Offset", ")", ")", "return", "true", ";", "unsigned", "shift", "=", "Log2_64", "(", "NumBytes", ")", ";", "if", "(", "NumBytes", "&&", "Offset", ">", "0", "&&", "(", "Offset", "/", "NumBytes", ")", "<=", "(", "1LL", "<<", "12", ")", "-", "1", "&&", "(", "Offset", ">>", "shift", ")", "<<", "shift", "==", "Offset", ")", "return", "true", ";", "return", "false", ";", "}", "return", "AM", ".", "Scale", "==", "1", "||", "(", "AM", ".", "Scale", ">", "0", "&&", "(", "uint64_t", ")", "AM", ".", "Scale", "==", "NumBytes", ")", ";", "}", ""], "natrual_language": ["isLegalAddressingMode", "-", "Return", "true", "if", "the", "addressing", "mode", "represented", "by", "AM", "is", "legal", "for", "this", "target", ",", "for", "a", "load/store", "of", "the", "specified", "type", "."], "TS_V_token": ["AArch64", "AArch64", "0", "8", "0", "9", "0", "1LL", "12", "1", "1", "0"], "File": "AArch64ISelLowering (2)3", "Func": "isLegalAddressingMode", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1034, "Length": 197, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsSEInstrInfo", "::", "adjustStackPtr", "(", "unsigned", "SP", ",", "int64_t", "Amount", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "MipsABIInfo", "ABI", "=", "Subtarget", ".", "getABI", "(", ")", ";", "DebugLoc", "DL", ";", "unsigned", "ADDu", "=", "ABI", ".", "GetPtrAdduOp", "(", ")", ";", "unsigned", "ADDiu", "=", "ABI", ".", "GetPtrAddiuOp", "(", ")", ";", "if", "(", "Amount", "==", "0", ")", "return", ";", "if", "(", "isInt", "<", "16", ">", "(", "Amount", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ADDiu", ")", ",", "SP", ")", ".", "addReg", "(", "SP", ")", ".", "addImm", "(", "Amount", ")", ";", "else", "{", "unsigned", "Reg", "=", "loadImmediate", "(", "Amount", ",", "MBB", ",", "I", ",", "DL", ",", "nullptr", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ADDu", ")", ",", "SP", ")", ".", "addReg", "(", "SP", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ";", "}", "}", ""], "natrual_language": ["Adjust", "SP", "by", "Amount", "bytes", "."], "TS_V_token": ["Mips", "Mips", "Mips", "0", "16"], "File": "MipsSEInstrInfo", "Func": "adjustStackPtr", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1035, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MSP430FrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "(", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "||", "MF", ".", "getFrameInfo", "(", ")", "->", "hasVarSizedObjects", "(", ")", "||", "MFI", "->", "isFrameAddressTaken", "(", ")", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["MSP430", "MSP430"], "File": "MSP430FrameLowering1", "Func": "hasFP", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1036, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "expand_set_up_frame_pointer", "(", "void", ")", "{", "int", "offset", ";", "if", "(", "!", "frame_pointer_needed", ")", "return", ";", "INITIAL_ELIMINATION_OFFSET", "(", "HARD_FRAME_POINTER_REGNUM", ",", "STACK_POINTER_REGNUM", ",", "offset", ")", ";", "emit_frame_insn", "(", "gen_MOVEI", "(", "hard_frame_pointer_rtx", ",", "plus_constant", "(", "stack_pointer_rtx", ",", "offset", ")", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "instruction", "to", "set", "up", "the", "frame", "pointer", "."], "TS_V_token": ["pdp10"], "File": "pdp10", "Func": "expand_set_up_frame_pointer", "Target": "pdp10", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1037, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "long", "thumb1_compute_save_reg_mask", "(", "void", ")", "{", "unsigned", "long", "mask", ";", "unsigned", "reg", ";", "mask", "=", "0", ";", "for", "(", "reg", "=", "0", ";", "reg", "<", "12", ";", "reg", "++", ")", "if", "(", "df_regs_ever_live_p", "(", "reg", ")", "&&", "callee_saved_reg_p", "(", "reg", ")", ")", "mask", "|=", "1", "<<", "reg", ";", "if", "(", "flag_pic", "&&", "!", "TARGET_SINGLE_PIC_BASE", "&&", "arm_pic_register", "!=", "INVALID_REGNUM", "&&", "crtl", "->", "uses_pic_offset_table", ")", "mask", "|=", "1", "<<", "PIC_OFFSET_TABLE_REGNUM", ";", "if", "(", "!", "frame_pointer_needed", "&&", "CALLER_INTERWORKING_SLOT_SIZE", ">", "0", ")", "mask", "|=", "1", "<<", "ARM_HARD_FRAME_POINTER_REGNUM", ";", "if", "(", "mask", "&", "0xff", "||", "thumb_force_lr_save", "(", ")", ")", "mask", "|=", "(", "1", "<<", "LR_REGNUM", ")", ";", "if", "(", "(", "mask", "&", "0xff", ")", "==", "0", "&&", "(", "(", "mask", "&", "0x0f00", ")", "||", "TARGET_BACKTRACE", ")", ")", "{", "reg", "=", "thumb_find_work_register", "(", "1", "<<", "LAST_LO_REGNUM", ")", ";", "if", "(", "reg", "*", "UNITS_PER_WORD", "<=", "(", "unsigned", ")", "arm_size_return_regs", "(", ")", ")", "reg", "=", "LAST_LO_REGNUM", ";", "if", "(", "callee_saved_reg_p", "(", "reg", ")", ")", "mask", "|=", "1", "<<", "reg", ";", "}", "if", "(", "(", "CALLER_INTERWORKING_SLOT_SIZE", "+", "ROUND_UP_WORD", "(", "get_frame_size", "(", ")", ")", "+", "crtl", "->", "outgoing_args_size", ")", ">=", "504", ")", "{", "for", "(", "reg", "=", "LAST_ARG_REGNUM", "+", "1", ";", "reg", "<=", "LAST_LO_REGNUM", ";", "reg", "++", ")", "if", "(", "mask", "&", "(", "1", "<<", "reg", ")", ")", "break", ";", "if", "(", "reg", ">", "LAST_LO_REGNUM", ")", "{", "mask", "|=", "1", "<<", "LAST_LO_REGNUM", ";", "}", "}", "return", "mask", ";", "}", ""], "natrual_language": ["Compute", "a", "bit", "mask", "of", "which", "registers", "need", "to", "be", "saved", "on", "the", "stack", "for", "the", "current", "function", "."], "TS_V_token": ["arm", "0", "0", "12", "1", "1", "0", "1", "0xff", "1", "0xff", "0", "0x0f00", "1", "1", "504", "1", "1", "1"], "File": "arm4", "Func": "thumb1_compute_save_reg_mask", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1038, "Length": 231, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "Fragment", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "."], "TS_V_token": ["SystemZ"], "File": "SystemZMCAsmBackend", "Func": "fixupNeedsRelaxation", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1039, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "AArch64FrameLowering", "::", "getFrameIndexReferencePreferSP", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "Register", "&", "FrameReg", ",", "bool", "IgnoreSPUpdates", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "if", "(", "IgnoreSPUpdates", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Offset from the SP for \"", "<<", "FI", "<<", "\" is \"", "<<", "MFI", ".", "getObjectOffset", "(", "FI", ")", "<<", "\"\\n\"", ")", ";", "FrameReg", "=", "AArch64", "::", "SP", ";", "return", "MFI", ".", "getObjectOffset", "(", "FI", ")", ";", "}", "return", "getFrameIndexReference", "(", "MF", ",", "FI", ",", "FrameReg", ")", ";", "}", ""], "natrual_language": ["Same", "as", "getFrameIndexReference", ",", "except", "that", "the", "stack", "pointer", "(", "as", "opposed", "to", "the", "frame", "pointer", ")", "will", "be", "the", "preferred", "value", "for", "FrameReg", "."], "TS_V_token": ["AArch64", "AArch64", "\"Offset from the SP for \"", "\" is \"", "\"\\n\"", "AArch64::SP"], "File": "AArch64FrameLowering100", "Func": "getFrameIndexReferencePreferSP", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1040, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsSEFrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "ArrayRef", "<", "CalleeSavedInfo", ">", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "for", "(", "const", "CalleeSavedInfo", "&", "I", ":", "CSI", ")", "{", "unsigned", "Reg", "=", "I", ".", "getReg", "(", ")", ";", "bool", "IsRAAndRetAddrIsTaken", "=", "(", "Reg", "==", "Mips", "::", "RA", "||", "Reg", "==", "Mips", "::", "RA_64", ")", "&&", "MF", "->", "getFrameInfo", "(", ")", ".", "isReturnAddressTaken", "(", ")", ";", "if", "(", "!", "IsRAAndRetAddrIsTaken", ")", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "bool", "IsLOHI", "=", "(", "Reg", "==", "Mips", "::", "LO0", "||", "Reg", "==", "Mips", "::", "LO0_64", "||", "Reg", "==", "Mips", "::", "HI0", "||", "Reg", "==", "Mips", "::", "HI0_64", ")", ";", "const", "Function", "&", "Func", "=", "MBB", ".", "getParent", "(", ")", "->", "getFunction", "(", ")", ";", "if", "(", "IsLOHI", "&&", "Func", ".", "hasFnAttribute", "(", "\"interrupt\"", ")", ")", "{", "DebugLoc", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "unsigned", "Op", "=", "0", ";", "if", "(", "!", "STI", ".", "getABI", "(", ")", ".", "ArePtrs64bit", "(", ")", ")", "{", "Op", "=", "(", "Reg", "==", "Mips", "::", "HI0", ")", "?", "Mips", "::", "MFHI", ":", "Mips", "::", "MFLO", ";", "Reg", "=", "Mips", "::", "K0", ";", "}", "else", "{", "Op", "=", "(", "Reg", "==", "Mips", "::", "HI0", ")", "?", "Mips", "::", "MFHI64", ":", "Mips", "::", "MFLO64", ";", "Reg", "=", "Mips", "::", "K0_64", ";", "}", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "Op", ")", ",", "Mips", "::", "K0", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "bool", "IsKill", "=", "!", "IsRAAndRetAddrIsTaken", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "TII", ".", "storeRegToStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "IsKill", ",", "I", ".", "getFrameIdx", "(", ")", ",", "RC", ",", "TRI", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["spillCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "spill", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "store", "instructions", "via", "storeRegToStackSlot", "(", ")", "."], "TS_V_token": ["Mips", "Mips", "Mips::RA", "Mips::RA_64", "Mips::LO0", "Mips::LO0_64", "Mips::HI0", "Mips::HI0_64", "\"interrupt\"", "0", "Mips::HI0", "Mips::MFHI", "Mips::MFLO", "Mips::K0", "Mips::HI0", "Mips::MFHI64", "Mips::MFLO64", "Mips::K0_64", "Mips::K0"], "File": "MipsSEFrameLowering64", "Func": "spillCalleeSavedRegisters", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1041, "Length": 317, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_expand_sse_ptest", "(", "const", "struct", "builtin_description", "*", "d", ",", "tree", "exp", ",", "rtx", "target", ")", "{", "rtx", "pat", ";", "tree", "arg0", "=", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ";", "tree", "arg1", "=", "CALL_EXPR_ARG", "(", "exp", ",", "1", ")", ";", "rtx", "op0", "=", "expand_normal", "(", "arg0", ")", ";", "rtx", "op1", "=", "expand_normal", "(", "arg1", ")", ";", "machine_mode", "mode0", "=", "insn_data", "[", "d", "->", "icode", "]", ".", "operand", "[", "0", "]", ".", "mode", ";", "machine_mode", "mode1", "=", "insn_data", "[", "d", "->", "icode", "]", ".", "operand", "[", "1", "]", ".", "mode", ";", "enum", "rtx_code", "comparison", "=", "d", "->", "comparison", ";", "if", "(", "VECTOR_MODE_P", "(", "mode0", ")", ")", "op0", "=", "safe_vector_operand", "(", "op0", ",", "mode0", ")", ";", "if", "(", "VECTOR_MODE_P", "(", "mode1", ")", ")", "op1", "=", "safe_vector_operand", "(", "op1", ",", "mode1", ")", ";", "target", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_move_insn", "(", "target", ",", "const0_rtx", ")", ";", "target", "=", "gen_rtx_SUBREG", "(", "QImode", ",", "target", ",", "0", ")", ";", "if", "(", "(", "optimize", "&&", "!", "register_operand", "(", "op0", ",", "mode0", ")", ")", "||", "!", "insn_data", "[", "d", "->", "icode", "]", ".", "operand", "[", "0", "]", ".", "predicate", "(", "op0", ",", "mode0", ")", ")", "op0", "=", "copy_to_mode_reg", "(", "mode0", ",", "op0", ")", ";", "if", "(", "(", "optimize", "&&", "!", "register_operand", "(", "op1", ",", "mode1", ")", ")", "||", "!", "insn_data", "[", "d", "->", "icode", "]", ".", "operand", "[", "1", "]", ".", "predicate", "(", "op1", ",", "mode1", ")", ")", "op1", "=", "copy_to_mode_reg", "(", "mode1", ",", "op1", ")", ";", "pat", "=", "GEN_FCN", "(", "d", "->", "icode", ")", "(", "op0", ",", "op1", ")", ";", "if", "(", "!", "pat", ")", "return", "0", ";", "emit_insn", "(", "pat", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "gen_rtx_STRICT_LOW_PART", "(", "VOIDmode", ",", "target", ")", ",", "gen_rtx_fmt_ee", "(", "comparison", ",", "QImode", ",", "SET_DEST", "(", "pat", ")", ",", "const0_rtx", ")", ")", ")", ";", "return", "SUBREG_REG", "(", "target", ")", ";", "}", ""], "natrual_language": ["Subroutine", "of", "ix86_expand_builtin", "to", "take", "care", "of", "ptest", "insns", "."], "TS_V_token": ["i386", "0", "1", "0", "1", "0", "0", "1", "0"], "File": "i3864", "Func": "ix86_expand_sse_ptest", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1042, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "frv_return_addr_rtx", "(", "int", "count", ",", "rtx", "frame", ")", "{", "if", "(", "count", "!=", "0", ")", "return", "const0_rtx", ";", "cfun", "->", "machine", "->", "frame_needed", "=", "1", ";", "return", "gen_rtx_MEM", "(", "Pmode", ",", "plus_constant", "(", "Pmode", ",", "frame", ",", "8", ")", ")", ";", "}", ""], "natrual_language": ["A", "C", "expression", "whose", "value", "is", "RTL", "representing", "the", "value", "of", "the", "return", "address", "for", "the", "frame", "COUNT", "steps", "up", "from", "the", "current", "frame", ",", "after", "the", "prologue", ".", "FRAMEADDR", "is", "the", "frame", "pointer", "of", "the", "COUNT", "frame", ",", "or", "the", "frame", "pointer", "of", "the", "COUNT", "-", "1", "frame", "if", "`", "RETURN_ADDR_IN_PREVIOUS_FRAME", "'", "is", "defined", ".", "The", "value", "of", "the", "expression", "must", "always", "be", "the", "correct", "address", "when", "COUNT", "is", "zero", ",", "but", "may", "be", "`", "NULL_RTX", "'", "if", "there", "is", "not", "way", "to", "determine", "the", "return", "address", "of", "other", "frames", "."], "TS_V_token": ["frv", "0", "1", "8"], "File": "frv", "Func": "frv_return_addr_rtx", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 1043, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARCompactRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "SPAdj", "==", "0", "&&", "\"Unexpected non-zero adjustment!\"", ")", ";", "unsigned", "i", "=", "0", ";", "MachineInstr", "&", "MI", "=", "*", "II", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "\"Instr doesn't have FrameIndex operand!\"", ")", ";", "}", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "i", ")", ".", "getIndex", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "int", "Offset", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectOffset", "(", "FrameIndex", ")", "+", "MI", ".", "getOperand", "(", "i", "+", "1", ")", ".", "getImm", "(", ")", ";", "if", "(", "IsStore", "(", "MI", ")", ")", "{", "if", "(", "Offset", ">=", "-", "256", "&&", "Offset", "<=", "255", ")", "{", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "ARC", "::", "FP", ",", "false", ")", ";", "MI", ".", "getOperand", "(", "i", "+", "1", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "}", "else", "{", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "ARC", "::", "FP", ",", "false", ")", ";", "MI", ".", "getOperand", "(", "i", "+", "1", ")", ".", "ChangeToImmediate", "(", "255", ")", ";", "}", "}", "else", "{", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "ARC", "::", "FP", ",", "false", ")", ";", "MI", ".", "getOperand", "(", "i", "+", "1", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["ARCompact", "ARC", "0", "\"Unexpected non-zero adjustment!\"", "0", "\"Instr doesn't have FrameIndex operand!\"", "1", "256", "255", "ARC::FP", "1", "ARC::FP", "1", "255", "ARC::FP", "1"], "File": "ARCompactRegisterInfo", "Func": "eliminateFrameIndex", "Target": "ARCompact", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1044, "Length": 247, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "get_jump_cycle", "(", "int", "n", ")", "{", "if", "(", "n", ">=", "12", ")", "return", "0", ";", "n", "+=", "ss", ".", "jump_cycle_index", ";", "if", "(", "n", ">=", "12", ")", "n", "-=", "12", ";", "return", "ss", ".", "jump_cycles", "[", "n", "]", ";", "}", ""], "natrual_language": ["Look", "up", "the", "jump", "cycle", "with", "index", "N.", "For", "an", "out-of-bounds", "N", ",", "we", "return", "0", ",", "so", "the", "caller", "does", "not", "specifically", "have", "to", "test", "for", "it", "."], "TS_V_token": ["c6x", "12", "0", "12", "12"], "File": "c6x", "Func": "get_jump_cycle", "Target": "c6x", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 1045, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "reg_class", "rs6000_debug_preferred_reload_class", "(", "rtx", "x", ",", "enum", "reg_class", "rclass", ")", "{", "enum", "reg_class", "ret", "=", "rs6000_preferred_reload_class", "(", "x", ",", "rclass", ")", ";", "fprintf", "(", "stderr", ",", "\"\\nrs6000_preferred_reload_class, return %s, rclass = %s, \"", "\"mode = %s, x:\\n\"", ",", "reg_class_names", "[", "ret", "]", ",", "reg_class_names", "[", "rclass", "]", ",", "GET_MODE_NAME", "(", "GET_MODE", "(", "x", ")", ")", ")", ";", "debug_rtx", "(", "x", ")", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Debug", "version", "of", "rs6000_preferred_reload_class", "."], "TS_V_token": ["rs6000", "\"\\nrs6000_preferred_reload_class, return %s, rclass = %s, \"", "\"mode = %s, x:\\n\""], "File": "rs6000", "Func": "rs6000_debug_preferred_reload_class", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1046, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "CreateReg", "(", "OwningPtr", "<", "ARMOperand", ">", "&", "Op", ",", "unsigned", "RegNum", ",", "bool", "Writeback", ",", "SMLoc", "S", ",", "SMLoc", "E", ")", "{", "Op", ".", "reset", "(", "new", "ARMOperand", ")", ";", "Op", "->", "Kind", "=", "Register", ";", "Op", "->", "Reg", ".", "RegNum", "=", "RegNum", ";", "Op", "->", "Reg", ".", "Writeback", "=", "Writeback", ";", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "E", ";", "}", ""], "natrual_language": ["CreateReg", "-", "Allocate", "a", "single", "virtual", "register", "for", "the", "given", "type", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMAsmParser13", "Func": "CreateReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1047, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_expand_vec_unpack", "(", "rtx", "operands", "[", "2", "]", ",", "bool", "unsigned_p", ",", "bool", "high_p", ")", "{", "machine_mode", "imode", "=", "GET_MODE", "(", "operands", "[", "1", "]", ")", ";", "rtx", "(", "*", "unpack", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ";", "rtx", "(", "*", "cmpFunc", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ";", "rtx", "tmp", ",", "dest", ",", "zero", ";", "if", "(", "ISA_HAS_MSA", ")", "{", "switch", "(", "imode", ")", "{", "case", "V4SImode", ":", "if", "(", "BYTES_BIG_ENDIAN", "!=", "high_p", ")", "unpack", "=", "gen_msa_ilvl_w", ";", "else", "unpack", "=", "gen_msa_ilvr_w", ";", "cmpFunc", "=", "gen_msa_clt_s_w", ";", "break", ";", "case", "V8HImode", ":", "if", "(", "BYTES_BIG_ENDIAN", "!=", "high_p", ")", "unpack", "=", "gen_msa_ilvl_h", ";", "else", "unpack", "=", "gen_msa_ilvr_h", ";", "cmpFunc", "=", "gen_msa_clt_s_h", ";", "break", ";", "case", "V16QImode", ":", "if", "(", "BYTES_BIG_ENDIAN", "!=", "high_p", ")", "unpack", "=", "gen_msa_ilvl_b", ";", "else", "unpack", "=", "gen_msa_ilvr_b", ";", "cmpFunc", "=", "gen_msa_clt_s_b", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "break", ";", "}", "if", "(", "!", "unsigned_p", ")", "{", "tmp", "=", "gen_reg_rtx", "(", "imode", ")", ";", "emit_insn", "(", "cmpFunc", "(", "tmp", ",", "operands", "[", "1", "]", ",", "CONST0_RTX", "(", "imode", ")", ")", ")", ";", "}", "else", "tmp", "=", "force_reg", "(", "imode", ",", "CONST0_RTX", "(", "imode", ")", ")", ";", "dest", "=", "gen_reg_rtx", "(", "imode", ")", ";", "emit_insn", "(", "unpack", "(", "dest", ",", "operands", "[", "1", "]", ",", "tmp", ")", ")", ";", "emit_move_insn", "(", "operands", "[", "0", "]", ",", "gen_lowpart", "(", "GET_MODE", "(", "operands", "[", "0", "]", ")", ",", "dest", ")", ")", ";", "return", ";", "}", "switch", "(", "imode", ")", "{", "case", "V8QImode", ":", "if", "(", "high_p", ")", "unpack", "=", "gen_loongson_punpckhbh", ";", "else", "unpack", "=", "gen_loongson_punpcklbh", ";", "cmpFunc", "=", "gen_loongson_pcmpgtb", ";", "break", ";", "case", "V4HImode", ":", "if", "(", "high_p", ")", "unpack", "=", "gen_loongson_punpckhhw", ";", "else", "unpack", "=", "gen_loongson_punpcklhw", ";", "cmpFunc", "=", "gen_loongson_pcmpgth", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "zero", "=", "force_reg", "(", "imode", ",", "CONST0_RTX", "(", "imode", ")", ")", ";", "if", "(", "unsigned_p", ")", "tmp", "=", "zero", ";", "else", "{", "tmp", "=", "gen_reg_rtx", "(", "imode", ")", ";", "emit_insn", "(", "cmpFunc", "(", "tmp", ",", "zero", ",", "operands", "[", "1", "]", ")", ")", ";", "}", "dest", "=", "gen_reg_rtx", "(", "imode", ")", ";", "emit_insn", "(", "unpack", "(", "dest", ",", "operands", "[", "1", "]", ",", "tmp", ")", ")", ";", "emit_move_insn", "(", "operands", "[", "0", "]", ",", "gen_lowpart", "(", "GET_MODE", "(", "operands", "[", "0", "]", ")", ",", "dest", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "an", "integral", "vector", "unpack", "operation", "."], "TS_V_token": ["mips", "2", "1", "1", "1", "0", "0", "1", "1", "0", "0"], "File": "mips6", "Func": "mips_expand_vec_unpack", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1048, "Length": 387, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "getPostIndexedAddressParts", "(", "SDNode", "*", "N", ",", "SDNode", "*", "Op", ",", "SDValue", "&", "Base", ",", "SDValue", "&", "Offset", ",", "ISD", "::", "MemIndexedMode", "&", "AM", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "EVT", "VT", ";", "SDValue", "Ptr", ";", "unsigned", "Align", ";", "bool", "isSEXTLoad", "=", "false", ",", "isNonExt", ";", "if", "(", "LoadSDNode", "*", "LD", "=", "dyn_cast", "<", "LoadSDNode", ">", "(", "N", ")", ")", "{", "VT", "=", "LD", "->", "getMemoryVT", "(", ")", ";", "Ptr", "=", "LD", "->", "getBasePtr", "(", ")", ";", "Align", "=", "LD", "->", "getAlignment", "(", ")", ";", "isSEXTLoad", "=", "LD", "->", "getExtensionType", "(", ")", "==", "ISD", "::", "SEXTLOAD", ";", "isNonExt", "=", "LD", "->", "getExtensionType", "(", ")", "==", "ISD", "::", "NON_EXTLOAD", ";", "}", "else", "if", "(", "StoreSDNode", "*", "ST", "=", "dyn_cast", "<", "StoreSDNode", ">", "(", "N", ")", ")", "{", "VT", "=", "ST", "->", "getMemoryVT", "(", ")", ";", "Ptr", "=", "ST", "->", "getBasePtr", "(", ")", ";", "Align", "=", "ST", "->", "getAlignment", "(", ")", ";", "isNonExt", "=", "!", "ST", "->", "isTruncatingStore", "(", ")", ";", "}", "else", "return", "false", ";", "if", "(", "Subtarget", "->", "isThumb1Only", "(", ")", ")", "{", "assert", "(", "Op", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i32", "&&", "\"Non-i32 post-inc op?!\"", ")", ";", "if", "(", "Op", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "ADD", "||", "!", "isNonExt", ")", "return", "false", ";", "auto", "*", "RHS", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", "->", "getOperand", "(", "1", ")", ")", ";", "if", "(", "!", "RHS", "||", "RHS", "->", "getZExtValue", "(", ")", "!=", "4", ")", "return", "false", ";", "Offset", "=", "Op", "->", "getOperand", "(", "1", ")", ";", "Base", "=", "Op", "->", "getOperand", "(", "0", ")", ";", "AM", "=", "ISD", "::", "POST_INC", ";", "return", "true", ";", "}", "bool", "isInc", ";", "bool", "isLegal", "=", "false", ";", "if", "(", "VT", ".", "isVector", "(", ")", ")", "isLegal", "=", "Subtarget", "->", "hasMVEIntegerOps", "(", ")", "&&", "getMVEIndexedAddressParts", "(", "Op", ",", "VT", ",", "Align", ",", "isSEXTLoad", ",", "Subtarget", "->", "isLittle", "(", ")", ",", "Base", ",", "Offset", ",", "isInc", ",", "DAG", ")", ";", "else", "{", "if", "(", "Subtarget", "->", "isThumb2", "(", ")", ")", "isLegal", "=", "getT2IndexedAddressParts", "(", "Op", ",", "VT", ",", "isSEXTLoad", ",", "Base", ",", "Offset", ",", "isInc", ",", "DAG", ")", ";", "else", "isLegal", "=", "getARMIndexedAddressParts", "(", "Op", ",", "VT", ",", "isSEXTLoad", ",", "Base", ",", "Offset", ",", "isInc", ",", "DAG", ")", ";", "}", "if", "(", "!", "isLegal", ")", "return", "false", ";", "if", "(", "Ptr", "!=", "Base", ")", "{", "if", "(", "Ptr", "==", "Offset", "&&", "Op", "->", "getOpcode", "(", ")", "==", "ISD", "::", "ADD", "&&", "!", "Subtarget", "->", "isThumb2", "(", ")", ")", "std", "::", "swap", "(", "Base", ",", "Offset", ")", ";", "if", "(", "Ptr", "!=", "Base", ")", "return", "false", ";", "}", "AM", "=", "isInc", "?", "ISD", "::", "POST_INC", ":", "ISD", "::", "POST_DEC", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "by", "value", ",", "base", "pointer", "and", "offset", "pointer", "and", "addressing", "mode", "by", "reference", "if", "this", "node", "can", "be", "combined", "with", "a", "load", "/", "store", "to", "form", "a", "post-indexed", "load", "/", "store", "."], "TS_V_token": ["ARM", "ARM", "ISD::MemIndexedMode", "ISD::SEXTLOAD", "ISD::NON_EXTLOAD", "0", "MVT::i32", "\"Non-i32 post-inc op?!\"", "ISD::ADD", "1", "4", "1", "0", "ISD::POST_INC", "ARM", "ISD::ADD", "ISD::POST_INC", "ISD::POST_DEC"], "File": "ARMISelLowering101", "Func": "getPostIndexedAddressParts", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1049, "Length": 443, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIFoldOperands", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "ST", "=", "&", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "TII", "=", "ST", "->", "getInstrInfo", "(", ")", ";", "TRI", "=", "&", "TII", "->", "getRegisterInfo", "(", ")", ";", "MFI", "=", "MF", ".", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "bool", "IsIEEEMode", "=", "MFI", "->", "getMode", "(", ")", ".", "IEEE", ";", "bool", "HasNSZ", "=", "MFI", "->", "hasNoSignedZerosFPMath", "(", ")", ";", "for", "(", "MachineBasicBlock", "*", "MBB", ":", "depth_first", "(", "&", "MF", ")", ")", "{", "MachineBasicBlock", "::", "iterator", "I", ",", "Next", ";", "MachineOperand", "*", "CurrentKnownM0Val", "=", "nullptr", ";", "for", "(", "I", "=", "MBB", "->", "begin", "(", ")", ";", "I", "!=", "MBB", "->", "end", "(", ")", ";", "I", "=", "Next", ")", "{", "Next", "=", "std", "::", "next", "(", "I", ")", ";", "MachineInstr", "&", "MI", "=", "*", "I", ";", "tryFoldInst", "(", "TII", ",", "&", "MI", ")", ";", "if", "(", "!", "TII", "->", "isFoldableCopy", "(", "MI", ")", ")", "{", "if", "(", "CurrentKnownM0Val", "&&", "MI", ".", "modifiesRegister", "(", "AMDGPU", "::", "M0", ",", "TRI", ")", ")", "CurrentKnownM0Val", "=", "nullptr", ";", "if", "(", "IsIEEEMode", "||", "(", "!", "HasNSZ", "&&", "!", "MI", ".", "getFlag", "(", "MachineInstr", "::", "FmNsz", ")", ")", "||", "!", "tryFoldOMod", "(", "MI", ")", ")", "tryFoldClamp", "(", "MI", ")", ";", "continue", ";", "}", "if", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "==", "AMDGPU", "::", "M0", ")", "{", "MachineOperand", "&", "NewM0Val", "=", "MI", ".", "getOperand", "(", "1", ")", ";", "if", "(", "CurrentKnownM0Val", "&&", "CurrentKnownM0Val", "->", "isIdenticalTo", "(", "NewM0Val", ")", ")", "{", "MI", ".", "eraseFromParent", "(", ")", ";", "continue", ";", "}", "CurrentKnownM0Val", "=", "(", "NewM0Val", ".", "isReg", "(", ")", "&&", "NewM0Val", ".", "getReg", "(", ")", ".", "isPhysical", "(", ")", ")", "?", "nullptr", ":", "&", "NewM0Val", ";", "continue", ";", "}", "MachineOperand", "&", "OpToFold", "=", "MI", ".", "getOperand", "(", "1", ")", ";", "bool", "FoldingImm", "=", "OpToFold", ".", "isImm", "(", ")", "||", "OpToFold", ".", "isFI", "(", ")", "||", "OpToFold", ".", "isGlobal", "(", ")", ";", "if", "(", "!", "FoldingImm", "&&", "!", "OpToFold", ".", "isReg", "(", ")", ")", "continue", ";", "if", "(", "OpToFold", ".", "isReg", "(", ")", "&&", "!", "OpToFold", ".", "getReg", "(", ")", ".", "isVirtual", "(", ")", ")", "continue", ";", "MachineOperand", "&", "Dst", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "if", "(", "Dst", ".", "isReg", "(", ")", "&&", "!", "Dst", ".", "getReg", "(", ")", ".", "isVirtual", "(", ")", ")", "continue", ";", "foldInstOperand", "(", "MI", ",", "OpToFold", ")", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "AMDGPU::M0", "0", "AMDGPU::M0", "1", "1", "0"], "File": "SIFoldOperands31", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1050, "Length": 419, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "GBZ80InstrInfo", "::", "getInstSizeInBytes", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "{", "const", "MCInstrDesc", "&", "Desc", "=", "get", "(", "Opcode", ")", ";", "return", "Desc", ".", "getSize", "(", ")", ";", "}", "case", "TargetOpcode", "::", "EH_LABEL", ":", "case", "TargetOpcode", "::", "IMPLICIT_DEF", ":", "case", "TargetOpcode", "::", "KILL", ":", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "return", "0", ";", "case", "TargetOpcode", "::", "INLINEASM", ":", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "GBZ80TargetMachine", "&", "TM", "=", "static_cast", "<", "const", "GBZ80TargetMachine", "&", ">", "(", "MF", ".", "getTarget", "(", ")", ")", ";", "const", "GBZ80Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "GBZ80Subtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "return", "TII", ".", "getInlineAsmLength", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getSymbolName", "(", ")", ",", "*", "TM", ".", "getMCAsmInfo", "(", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["Returns", "the", "size", "in", "bytes", "of", "the", "specified", "MachineInstr", ",", "or", "~0U", "when", "this", "function", "is", "not", "implemented", "by", "a", "target", "."], "TS_V_token": ["GBZ80", "GB", "0", "GB", "GB", "GB", "GB", "0"], "File": "GBZ80InstrInfo", "Func": "getInstSizeInBytes", "Target": "GBZ80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1051, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rs6000_special_adjust_field_align_p", "(", "tree", "type", ",", "unsigned", "int", "computed", ")", "{", "if", "(", "TARGET_ALTIVEC", "&&", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", ")", "{", "if", "(", "computed", "!=", "128", ")", "{", "static", "bool", "warned", ";", "if", "(", "!", "warned", "&&", "warn_psabi", ")", "{", "warned", "=", "true", ";", "inform", "(", "input_location", ",", "\"the layout of aggregates containing vectors with\"", "\" %d-byte alignment has changed in GCC 5\"", ",", "computed", "/", "BITS_PER_UNIT", ")", ";", "}", "}", "return", "false", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Previous", "GCC", "releases", "forced", "all", "vector", "types", "to", "have", "16-byte", "alignment", "."], "TS_V_token": ["rs6000", "128", "\"the layout of aggregates containing vectors with\"", "\" %d-byte alignment has changed in GCC 5\""], "File": "rs6000", "Func": "rs6000_special_adjust_field_align_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1052, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "scalar_chain", "::", "convert_compare", "(", "rtx", "op1", ",", "rtx", "op2", ",", "rtx_insn", "*", "insn", ")", "{", "rtx", "src", ",", "tmp", ";", "if", "(", "op2", "!=", "const0_rtx", ")", "{", "convert_op", "(", "&", "op1", ",", "insn", ")", ";", "convert_op", "(", "&", "op2", ",", "insn", ")", ";", "if", "(", "MEM_P", "(", "op1", ")", "&&", "MEM_P", "(", "op2", ")", ")", "{", "tmp", "=", "gen_reg_rtx", "(", "vmode", ")", ";", "emit_insn_before", "(", "gen_rtx_SET", "(", "tmp", ",", "op1", ")", ",", "insn", ")", ";", "src", "=", "tmp", ";", "}", "else", "src", "=", "op1", ";", "src", "=", "gen_rtx_XOR", "(", "vmode", ",", "src", ",", "op2", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "op1", ")", "==", "AND", "&&", "GET_CODE", "(", "XEXP", "(", "op1", ",", "0", ")", ")", "==", "NOT", ")", "{", "rtx", "op11", "=", "XEXP", "(", "XEXP", "(", "op1", ",", "0", ")", ",", "0", ")", ";", "rtx", "op12", "=", "XEXP", "(", "op1", ",", "1", ")", ";", "convert_op", "(", "&", "op11", ",", "insn", ")", ";", "convert_op", "(", "&", "op12", ",", "insn", ")", ";", "if", "(", "!", "REG_P", "(", "op11", ")", ")", "{", "tmp", "=", "gen_reg_rtx", "(", "vmode", ")", ";", "emit_insn_before", "(", "gen_rtx_SET", "(", "tmp", ",", "op11", ")", ",", "insn", ")", ";", "op11", "=", "tmp", ";", "}", "src", "=", "gen_rtx_AND", "(", "vmode", ",", "gen_rtx_NOT", "(", "vmode", ",", "op11", ")", ",", "op12", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "op1", ")", "==", "AND", ")", "{", "rtx", "op11", "=", "XEXP", "(", "op1", ",", "0", ")", ";", "rtx", "op12", "=", "XEXP", "(", "op1", ",", "1", ")", ";", "convert_op", "(", "&", "op11", ",", "insn", ")", ";", "convert_op", "(", "&", "op12", ",", "insn", ")", ";", "if", "(", "!", "REG_P", "(", "op11", ")", ")", "{", "tmp", "=", "gen_reg_rtx", "(", "vmode", ")", ";", "emit_insn_before", "(", "gen_rtx_SET", "(", "tmp", ",", "op11", ")", ",", "insn", ")", ";", "op11", "=", "tmp", ";", "}", "return", "gen_rtx_UNSPEC", "(", "CCmode", ",", "gen_rtvec", "(", "2", ",", "op11", ",", "op12", ")", ",", "UNSPEC_PTEST", ")", ";", "}", "else", "{", "convert_op", "(", "&", "op1", ",", "insn", ")", ";", "src", "=", "op1", ";", "}", "if", "(", "!", "REG_P", "(", "src", ")", ")", "{", "tmp", "=", "gen_reg_rtx", "(", "vmode", ")", ";", "emit_insn_before", "(", "gen_rtx_SET", "(", "tmp", ",", "src", ")", ",", "insn", ")", ";", "src", "=", "tmp", ";", "}", "if", "(", "vmode", "==", "V2DImode", ")", "{", "tmp", "=", "gen_reg_rtx", "(", "vmode", ")", ";", "emit_insn_before", "(", "gen_vec_interleave_lowv2di", "(", "tmp", ",", "src", ",", "src", ")", ",", "insn", ")", ";", "src", "=", "tmp", ";", "}", "else", "if", "(", "vmode", "==", "V4SImode", ")", "{", "tmp", "=", "gen_reg_rtx", "(", "vmode", ")", ";", "emit_insn_before", "(", "gen_sse2_pshufd", "(", "tmp", ",", "src", ",", "const0_rtx", ")", ",", "insn", ")", ";", "src", "=", "tmp", ";", "}", "return", "gen_rtx_UNSPEC", "(", "CCmode", ",", "gen_rtvec", "(", "2", ",", "src", ",", "src", ")", ",", "UNSPEC_PTEST", ")", ";", "}", ""], "natrual_language": ["Convert", "COMPARE", "to", "vector", "mode", "."], "TS_V_token": ["i386", "0", "0", "0", "1", "0", "1", "2", "2"], "File": "i386-features1", "Func": "convert_compare", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1053, "Length": 443, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "if", "(", "MI", "->", "isDebugValue", "(", ")", ")", "{", "SmallString", "<", "128", ">", "Str", ";", "raw_svector_ostream", "OS", "(", "Str", ")", ";", "PrintDebugValueComment", "(", "MI", ",", "OS", ")", ";", "return", ";", "}", "if", "(", "emitPseudoExpansionLowering", "(", "OutStreamer", ",", "MI", ")", ")", "return", ";", "MachineBasicBlock", "::", "const_instr_iterator", "I", "=", "MI", ";", "MachineBasicBlock", "::", "const_instr_iterator", "E", "=", "MI", "->", "getParent", "(", ")", "->", "instr_end", "(", ")", ";", "do", "{", "MCInst", "TmpInst0", ";", "MCInstLowering", ".", "Lower", "(", "I", "++", ",", "TmpInst0", ")", ";", "if", "(", "!", "OutStreamer", ".", "hasRawTextSupport", "(", ")", ")", "{", "switch", "(", "TmpInst0", ".", "getOpcode", "(", ")", ")", "{", "case", "Mips", "::", "DSLL", ":", "case", "Mips", "::", "DSRL", ":", "case", "Mips", "::", "DSRA", ":", "Mips", "::", "LowerLargeShift", "(", "TmpInst0", ")", ";", "break", ";", "case", "Mips", "::", "DEXT", ":", "case", "Mips", "::", "DINS", ":", "Mips", "::", "LowerDextDins", "(", "TmpInst0", ")", ";", "}", "}", "OutStreamer", ".", "EmitInstruction", "(", "TmpInst0", ")", ";", "}", "while", "(", "(", "I", "!=", "E", ")", "&&", "I", "->", "isInsideBundle", "(", ")", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["Mips", "Mips", "128", "Mips::DSLL", "Mips::DSRL", "Mips::DSRA", "Mips::LowerLargeShift", "Mips::DEXT", "Mips::DINS", "Mips::LowerDextDins"], "File": "MipsAsmPrinter75", "Func": "EmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1054, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "gen_prefix", "(", "tree", "decl", ")", "{", "if", "(", "DECL_ONE_ONLY", "(", "decl", ")", ")", "return", "NULL", ";", "if", "(", "has_attr", "(", "\"section\"", ",", "decl", ")", ")", "return", "NULL", ";", "if", "(", "has_section_name", "(", "\".lowtext\"", ",", "decl", ")", ")", "return", "NULL", ";", "if", "(", "has_attr", "(", "ATTR_LOWER", ",", "decl", ")", ")", "return", "lower_prefix", ";", "if", "(", "!", "msp430x", ")", "return", "NULL", ";", "if", "(", "has_attr", "(", "ATTR_UPPER", ",", "decl", ")", ")", "return", "upper_prefix", ";", "if", "(", "has_attr", "(", "ATTR_EITHER", ",", "decl", ")", ")", "return", "either_prefix", ";", "if", "(", "TREE_CODE", "(", "decl", ")", "==", "FUNCTION_DECL", ")", "{", "if", "(", "msp430_code_region", "==", "MSP430_REGION_LOWER", ")", "return", "lower_prefix", ";", "if", "(", "msp430_code_region", "==", "MSP430_REGION_UPPER", ")", "return", "upper_prefix", ";", "if", "(", "msp430_code_region", "==", "MSP430_REGION_EITHER", ")", "return", "either_prefix", ";", "}", "else", "{", "if", "(", "msp430_data_region", "==", "MSP430_REGION_LOWER", ")", "return", "lower_prefix", ";", "if", "(", "msp430_data_region", "==", "MSP430_REGION_UPPER", ")", "return", "upper_prefix", ";", "if", "(", "msp430_data_region", "==", "MSP430_REGION_EITHER", ")", "return", "either_prefix", ";", "}", "return", "NULL", ";", "}", ""], "natrual_language": ["Generate", "a", "prefix", "for", "a", "section", "name", ",", "based", "upon", "the", "region", "into", "which", "the", "object", "should", "be", "placed", "."], "TS_V_token": ["msp430", "\"section\"", "\".lowtext\""], "File": "msp4305", "Func": "gen_prefix", "Target": "msp430", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1055, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "HexagonTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "(", "HexagonISD", "::", "NodeType", ")", "Opcode", ")", "{", "case", "HexagonISD", "::", "ALLOCA", ":", "return", "\"HexagonISD::ALLOCA\"", ";", "case", "HexagonISD", "::", "AT_GOT", ":", "return", "\"HexagonISD::AT_GOT\"", ";", "case", "HexagonISD", "::", "AT_PCREL", ":", "return", "\"HexagonISD::AT_PCREL\"", ";", "case", "HexagonISD", "::", "BARRIER", ":", "return", "\"HexagonISD::BARRIER\"", ";", "case", "HexagonISD", "::", "CALL", ":", "return", "\"HexagonISD::CALL\"", ";", "case", "HexagonISD", "::", "CALLnr", ":", "return", "\"HexagonISD::CALLnr\"", ";", "case", "HexagonISD", "::", "CALLR", ":", "return", "\"HexagonISD::CALLR\"", ";", "case", "HexagonISD", "::", "COMBINE", ":", "return", "\"HexagonISD::COMBINE\"", ";", "case", "HexagonISD", "::", "CONST32_GP", ":", "return", "\"HexagonISD::CONST32_GP\"", ";", "case", "HexagonISD", "::", "CONST32", ":", "return", "\"HexagonISD::CONST32\"", ";", "case", "HexagonISD", "::", "CP", ":", "return", "\"HexagonISD::CP\"", ";", "case", "HexagonISD", "::", "DCFETCH", ":", "return", "\"HexagonISD::DCFETCH\"", ";", "case", "HexagonISD", "::", "EH_RETURN", ":", "return", "\"HexagonISD::EH_RETURN\"", ";", "case", "HexagonISD", "::", "EXTRACTU", ":", "return", "\"HexagonISD::EXTRACTU\"", ";", "case", "HexagonISD", "::", "EXTRACTURP", ":", "return", "\"HexagonISD::EXTRACTURP\"", ";", "case", "HexagonISD", "::", "INSERT", ":", "return", "\"HexagonISD::INSERT\"", ";", "case", "HexagonISD", "::", "INSERTRP", ":", "return", "\"HexagonISD::INSERTRP\"", ";", "case", "HexagonISD", "::", "JT", ":", "return", "\"HexagonISD::JT\"", ";", "case", "HexagonISD", "::", "PACKHL", ":", "return", "\"HexagonISD::PACKHL\"", ";", "case", "HexagonISD", "::", "RET_FLAG", ":", "return", "\"HexagonISD::RET_FLAG\"", ";", "case", "HexagonISD", "::", "TC_RETURN", ":", "return", "\"HexagonISD::TC_RETURN\"", ";", "case", "HexagonISD", "::", "VCOMBINE", ":", "return", "\"HexagonISD::VCOMBINE\"", ";", "case", "HexagonISD", "::", "VPACKE", ":", "return", "\"HexagonISD::VPACKE\"", ";", "case", "HexagonISD", "::", "VPACKO", ":", "return", "\"HexagonISD::VPACKO\"", ";", "case", "HexagonISD", "::", "VASL", ":", "return", "\"HexagonISD::VASL\"", ";", "case", "HexagonISD", "::", "VASR", ":", "return", "\"HexagonISD::VASR\"", ";", "case", "HexagonISD", "::", "VLSR", ":", "return", "\"HexagonISD::VLSR\"", ";", "case", "HexagonISD", "::", "VSPLAT", ":", "return", "\"HexagonISD::VSPLAT\"", ";", "case", "HexagonISD", "::", "READCYCLE", ":", "return", "\"HexagonISD::READCYCLE\"", ";", "case", "HexagonISD", "::", "OP_END", ":", "break", ";", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["Hexagon", "Hexagon", "HexagonISD::NodeType", "HexagonISD::ALLOCA", "\"HexagonISD::ALLOCA\"", "HexagonISD::AT_GOT", "\"HexagonISD::AT_GOT\"", "HexagonISD::AT_PCREL", "\"HexagonISD::AT_PCREL\"", "HexagonISD::BARRIER", "\"HexagonISD::BARRIER\"", "HexagonISD::CALL", "\"HexagonISD::CALL\"", "HexagonISD::CALLnr", "\"HexagonISD::CALLnr\"", "HexagonISD::CALLR", "\"HexagonISD::CALLR\"", "HexagonISD::COMBINE", "\"HexagonISD::COMBINE\"", "HexagonISD::CONST32_GP", "\"HexagonISD::CONST32_GP\"", "HexagonISD::CONST32", "\"HexagonISD::CONST32\"", "HexagonISD::CP", "\"HexagonISD::CP\"", "HexagonISD::DCFETCH", "\"HexagonISD::DCFETCH\"", "HexagonISD::EH_RETURN", "\"HexagonISD::EH_RETURN\"", "HexagonISD::EXTRACTU", "\"HexagonISD::EXTRACTU\"", "HexagonISD::EXTRACTURP", "\"HexagonISD::EXTRACTURP\"", "HexagonISD::INSERT", "\"HexagonISD::INSERT\"", "HexagonISD::INSERTRP", "\"HexagonISD::INSERTRP\"", "HexagonISD::JT", "\"HexagonISD::JT\"", "HexagonISD::PACKHL", "\"HexagonISD::PACKHL\"", "HexagonISD::RET_FLAG", "\"HexagonISD::RET_FLAG\"", "HexagonISD::TC_RETURN", "\"HexagonISD::TC_RETURN\"", "HexagonISD::VCOMBINE", "\"HexagonISD::VCOMBINE\"", "HexagonISD::VPACKE", "\"HexagonISD::VPACKE\"", "HexagonISD::VPACKO", "\"HexagonISD::VPACKO\"", "HexagonISD::VASL", "\"HexagonISD::VASL\"", "HexagonISD::VASR", "\"HexagonISD::VASR\"", "HexagonISD::VLSR", "\"HexagonISD::VLSR\"", "HexagonISD::VSPLAT", "\"HexagonISD::VSPLAT\"", "HexagonISD::READCYCLE", "\"HexagonISD::READCYCLE\"", "HexagonISD::OP_END"], "File": "HexagonISelLowering22", "Func": "getTargetNodeName", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1056, "Length": 266, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "OperandMatchResultTy", "MSP430AsmParser", "::", "tryParseRegister", "(", "unsigned", "&", "RegNo", ",", "SMLoc", "&", "StartLoc", ",", "SMLoc", "&", "EndLoc", ")", "{", "if", "(", "getLexer", "(", ")", ".", "getKind", "(", ")", "==", "AsmToken", "::", "Identifier", ")", "{", "auto", "Name", "=", "getLexer", "(", ")", ".", "getTok", "(", ")", ".", "getIdentifier", "(", ")", ".", "lower", "(", ")", ";", "RegNo", "=", "MatchRegisterName", "(", "Name", ")", ";", "if", "(", "RegNo", "==", "MSP430", "::", "NoRegister", ")", "{", "RegNo", "=", "MatchRegisterAltName", "(", "Name", ")", ";", "if", "(", "RegNo", "==", "MSP430", "::", "NoRegister", ")", "return", "MatchOperand_NoMatch", ";", "}", "AsmToken", "const", "&", "T", "=", "getParser", "(", ")", ".", "getTok", "(", ")", ";", "StartLoc", "=", "T", ".", "getLoc", "(", ")", ";", "EndLoc", "=", "T", ".", "getEndLoc", "(", ")", ";", "getLexer", "(", ")", ".", "Lex", "(", ")", ";", "return", "MatchOperand_Success", ";", "}", "return", "MatchOperand_ParseFail", ";", "}", ""], "natrual_language": ["tryParseRegister", "-", "parse", "one", "register", "if", "possible"], "TS_V_token": ["MSP430", "MSP430", "MSP430::NoRegister", "MSP430::NoRegister"], "File": "MSP430AsmParser10", "Func": "tryParseRegister", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1057, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "tilegx_output_mi_thunk", "(", "FILE", "*", "file", ",", "tree", "thunk_fndecl", "ATTRIBUTE_UNUSED", ",", "HOST_WIDE_INT", "delta", ",", "HOST_WIDE_INT", "vcall_offset", ",", "tree", "function", ")", "{", "const", "char", "*", "fnname", "=", "IDENTIFIER_POINTER", "(", "DECL_ASSEMBLER_NAME", "(", "thunk_fndecl", ")", ")", ";", "rtx", "this_rtx", ",", "funexp", ",", "addend", ";", "rtx_insn", "*", "insn", ";", "reload_completed", "=", "1", ";", "emit_note", "(", "NOTE_INSN_PROLOGUE_END", ")", ";", "if", "(", "aggregate_value_p", "(", "TREE_TYPE", "(", "TREE_TYPE", "(", "function", ")", ")", ",", "function", ")", ")", "this_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ";", "else", "this_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "0", ")", ";", "if", "(", "!", "(", "delta", ">=", "-", "32868", "&&", "delta", "<=", "32767", ")", ")", "{", "addend", "=", "gen_rtx_REG", "(", "Pmode", ",", "29", ")", ";", "emit_move_insn", "(", "addend", ",", "GEN_INT", "(", "delta", ")", ")", ";", "}", "else", "addend", "=", "GEN_INT", "(", "delta", ")", ";", "if", "(", "TARGET_32BIT", ")", "emit_insn", "(", "gen_addsi3", "(", "this_rtx", ",", "this_rtx", ",", "addend", ")", ")", ";", "else", "emit_insn", "(", "gen_adddi3", "(", "this_rtx", ",", "this_rtx", ",", "addend", ")", ")", ";", "if", "(", "vcall_offset", ")", "{", "rtx", "tmp", ";", "tmp", "=", "gen_rtx_REG", "(", "Pmode", ",", "29", ")", ";", "emit_move_insn", "(", "tmp", ",", "gen_rtx_MEM", "(", "Pmode", ",", "this_rtx", ")", ")", ";", "if", "(", "!", "(", "vcall_offset", ">=", "-", "32868", "&&", "vcall_offset", "<=", "32767", ")", ")", "{", "addend", "=", "gen_rtx_REG", "(", "Pmode", ",", "28", ")", ";", "emit_move_insn", "(", "addend", ",", "GEN_INT", "(", "vcall_offset", ")", ")", ";", "}", "else", "addend", "=", "GEN_INT", "(", "vcall_offset", ")", ";", "if", "(", "TARGET_32BIT", ")", "emit_insn", "(", "gen_addsi3", "(", "tmp", ",", "tmp", ",", "addend", ")", ")", ";", "else", "emit_insn", "(", "gen_adddi3", "(", "tmp", ",", "tmp", ",", "addend", ")", ")", ";", "emit_move_insn", "(", "tmp", ",", "gen_rtx_MEM", "(", "Pmode", ",", "tmp", ")", ")", ";", "if", "(", "TARGET_32BIT", ")", "emit_insn", "(", "gen_addsi3", "(", "this_rtx", ",", "this_rtx", ",", "tmp", ")", ")", ";", "else", "emit_insn", "(", "gen_adddi3", "(", "this_rtx", ",", "this_rtx", ",", "tmp", ")", ")", ";", "}", "if", "(", "!", "TREE_USED", "(", "function", ")", ")", "{", "assemble_external", "(", "function", ")", ";", "TREE_USED", "(", "function", ")", "=", "1", ";", "}", "funexp", "=", "XEXP", "(", "DECL_RTL", "(", "function", ")", ",", "0", ")", ";", "funexp", "=", "gen_rtx_MEM", "(", "FUNCTION_MODE", ",", "funexp", ")", ";", "insn", "=", "emit_call_insn", "(", "gen_sibcall", "(", "funexp", ",", "const0_rtx", ")", ")", ";", "SIBLING_CALL_P", "(", "insn", ")", "=", "1", ";", "insn", "=", "get_insns", "(", ")", ";", "shorten_branches", "(", "insn", ")", ";", "assemble_start_function", "(", "thunk_fndecl", ",", "fnname", ")", ";", "final_start_function", "(", "insn", ",", "file", ",", "1", ")", ";", "final", "(", "insn", ",", "file", ",", "1", ")", ";", "final_end_function", "(", ")", ";", "assemble_end_function", "(", "thunk_fndecl", ",", "fnname", ")", ";", "reload_completed", "=", "0", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_OUTPUT_MI_THUNK", "."], "TS_V_token": ["tilegx", "1", "1", "0", "32868", "32767", "29", "29", "32868", "32767", "28", "1", "0", "1", "1", "1", "0"], "File": "tilegx", "Func": "tilegx_output_mi_thunk", "Target": "tilegx", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 1058, "Length": 418, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_reorg_process_insns", "(", "void", ")", "{", "rtx_insn", "*", "insn", ",", "*", "last_insn", ",", "*", "subinsn", ",", "*", "next_insn", ";", "rtx", "lo_reg", ",", "delayed_reg", ";", "int", "hilo_delay", ";", "split_all_insns_noflow", "(", ")", ";", "cfun", "->", "machine", "->", "ignore_hazard_length_p", "=", "true", ";", "shorten_branches", "(", "get_insns", "(", ")", ")", ";", "cfun", "->", "machine", "->", "all_noreorder_p", "=", "true", ";", "if", "(", "TARGET_MIPS16", ")", "cfun", "->", "machine", "->", "all_noreorder_p", "=", "false", ";", "if", "(", "!", "TARGET_EXPLICIT_RELOCS", ")", "cfun", "->", "machine", "->", "all_noreorder_p", "=", "false", ";", "if", "(", "crtl", "->", "profile", ")", "cfun", "->", "machine", "->", "all_noreorder_p", "=", "false", ";", "if", "(", "TARGET_FIX_VR4120", "||", "TARGET_FIX_RM7000", "||", "TARGET_FIX_24K", "||", "TARGET_MIPS5900", ")", "cfun", "->", "machine", "->", "all_noreorder_p", "=", "false", ";", "if", "(", "TARGET_FIX_VR4130", "&&", "!", "ISA_HAS_MACCHI", ")", "cfun", "->", "machine", "->", "all_noreorder_p", "=", "false", ";", "mips_offset_table", "htab", "(", "37", ")", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", "!=", "0", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "FOR_EACH_SUBINSN", "(", "subinsn", ",", "insn", ")", "if", "(", "USEFUL_INSN_P", "(", "subinsn", ")", ")", "{", "rtx", "body", "=", "PATTERN", "(", "insn", ")", ";", "int", "noperands", "=", "asm_noperands", "(", "body", ")", ";", "if", "(", "noperands", ">=", "0", ")", "{", "rtx", "*", "ops", "=", "XALLOCAVEC", "(", "rtx", ",", "noperands", ")", ";", "bool", "*", "used", "=", "XALLOCAVEC", "(", "bool", ",", "noperands", ")", ";", "const", "char", "*", "string", "=", "decode_asm_operands", "(", "body", ",", "ops", ",", "NULL", ",", "NULL", ",", "NULL", ",", "NULL", ")", ";", "get_referenced_operands", "(", "string", ",", "used", ",", "noperands", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "noperands", ";", "++", "i", ")", "if", "(", "used", "[", "i", "]", ")", "mips_record_lo_sums", "(", "ops", "[", "i", "]", ",", "&", "htab", ")", ";", "}", "else", "mips_record_lo_sums", "(", "PATTERN", "(", "subinsn", ")", ",", "&", "htab", ")", ";", "}", "last_insn", "=", "0", ";", "hilo_delay", "=", "2", ";", "delayed_reg", "=", "0", ";", "lo_reg", "=", "gen_rtx_REG", "(", "SImode", ",", "LO_REGNUM", ")", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", "!=", "0", ";", "insn", "=", "next_insn", ")", "{", "next_insn", "=", "NEXT_INSN", "(", "insn", ")", ";", "if", "(", "USEFUL_INSN_P", "(", "insn", ")", ")", "{", "if", "(", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "SEQUENCE", ")", "{", "FOR_EACH_SUBINSN", "(", "subinsn", ",", "insn", ")", "if", "(", "INSN_P", "(", "subinsn", ")", ")", "{", "if", "(", "mips_orphaned_high_part_p", "(", "&", "htab", ",", "subinsn", ")", ")", "{", "PATTERN", "(", "subinsn", ")", "=", "gen_nop", "(", ")", ";", "INSN_CODE", "(", "subinsn", ")", "=", "CODE_FOR_nop", ";", "}", "mips_avoid_hazard", "(", "last_insn", ",", "subinsn", ",", "&", "hilo_delay", ",", "&", "delayed_reg", ",", "lo_reg", ")", ";", "}", "last_insn", "=", "insn", ";", "}", "else", "{", "if", "(", "mips_orphaned_high_part_p", "(", "&", "htab", ",", "insn", ")", ")", "delete_insn", "(", "insn", ")", ";", "else", "if", "(", "recog_memoized", "(", "insn", ")", "==", "CODE_FOR_r10k_cache_barrier", "&&", "last_insn", "&&", "JUMP_P", "(", "SEQ_BEGIN", "(", "last_insn", ")", ")", "&&", "INSN_ANNULLED_BRANCH_P", "(", "SEQ_BEGIN", "(", "last_insn", ")", ")", ")", "delete_insn", "(", "insn", ")", ";", "else", "{", "mips_avoid_hazard", "(", "last_insn", ",", "insn", ",", "&", "hilo_delay", ",", "&", "delayed_reg", ",", "lo_reg", ")", ";", "last_insn", "=", "insn", ";", "}", "}", "}", "}", "}", ""], "natrual_language": ["Go", "through", "the", "instruction", "stream", "and", "insert", "nops", "where", "necessary", ".", "Also", "delete", "any", "high-part", "relocations", "whose", "partnering", "low", "parts", "are", "now", "all", "dead", ".", "See", "if", "the", "whole", "function", "can", "then", "be", "put", "into", ".set", "noreorder", "and", ".set", "nomacro", "."], "TS_V_token": ["mips", "37", "0", "0", "0", "0", "2", "0", "0"], "File": "mips4", "Func": "mips_reorg_process_insns", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1059, "Length": 491, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "std", "::", "unique_ptr", "<", "ARMOperand", ">", "CreateMem", "(", "unsigned", "BaseRegNum", ",", "const", "MCConstantExpr", "*", "OffsetImm", ",", "unsigned", "OffsetRegNum", ",", "ARM_AM", "::", "ShiftOpc", "ShiftType", ",", "unsigned", "ShiftImm", ",", "unsigned", "Alignment", ",", "bool", "isNegative", ",", "SMLoc", "S", ",", "SMLoc", "E", ",", "SMLoc", "AlignmentLoc", "=", "SMLoc", "(", ")", ")", "{", "auto", "Op", "=", "make_unique", "<", "ARMOperand", ">", "(", "k_Memory", ")", ";", "Op", "->", "Memory", ".", "BaseRegNum", "=", "BaseRegNum", ";", "Op", "->", "Memory", ".", "OffsetImm", "=", "OffsetImm", ";", "Op", "->", "Memory", ".", "OffsetRegNum", "=", "OffsetRegNum", ";", "Op", "->", "Memory", ".", "ShiftType", "=", "ShiftType", ";", "Op", "->", "Memory", ".", "ShiftImm", "=", "ShiftImm", ";", "Op", "->", "Memory", ".", "Alignment", "=", "Alignment", ";", "Op", "->", "Memory", ".", "isNegative", "=", "isNegative", ";", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "E", ";", "Op", "->", "AlignmentLoc", "=", "AlignmentLoc", ";", "return", "Op", ";", "}", ""], "natrual_language": ["Create", "a", "generalized", "memory", "operand", "."], "TS_V_token": ["ARM", "ARM", "ARM_AM::ShiftOpc", "ARM"], "File": "ARMAsmParser (2)2", "Func": "CreateMem", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1060, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_fixup_binary_operands_no_copy", "(", "enum", "rtx_code", "code", ",", "enum", "machine_mode", "mode", ",", "rtx", "operands", "[", "]", ")", "{", "rtx", "dst", "=", "ix86_fixup_binary_operands", "(", "code", ",", "mode", ",", "operands", ")", ";", "gcc_assert", "(", "dst", "==", "operands", "[", "0", "]", ")", ";", "}", ""], "natrual_language": ["Similarly", ",", "but", "assume", "that", "the", "destination", "has", "already", "been", "set", "up", "properly", "."], "TS_V_token": ["i386", "0"], "File": "i3863", "Func": "ix86_fixup_binary_operands_no_copy", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1061, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "umips_output_save_restore", "(", "bool", "save_p", ",", "rtx", "pattern", ")", "{", "static", "char", "buffer", "[", "300", "]", ";", "char", "*", "s", ";", "int", "n", ";", "HOST_WIDE_INT", "offset", ";", "rtx", "base", ",", "mem", ",", "set", ",", "last_set", ",", "last_reg", ";", "gcc_assert", "(", "umips_save_restore_pattern_p", "(", "save_p", ",", "pattern", ")", ")", ";", "s", "=", "strcpy", "(", "buffer", ",", "save_p", "?", "\"swm\\t\"", ":", "\"lwm\\t\"", ")", ";", "s", "+=", "strlen", "(", "s", ")", ";", "n", "=", "XVECLEN", "(", "pattern", ",", "0", ")", ";", "set", "=", "XVECEXP", "(", "pattern", ",", "0", ",", "0", ")", ";", "mem", "=", "save_p", "?", "SET_DEST", "(", "set", ")", ":", "SET_SRC", "(", "set", ")", ";", "mips_split_plus", "(", "XEXP", "(", "mem", ",", "0", ")", ",", "&", "base", ",", "&", "offset", ")", ";", "last_set", "=", "XVECEXP", "(", "pattern", ",", "0", ",", "n", "-", "1", ")", ";", "last_reg", "=", "save_p", "?", "SET_SRC", "(", "last_set", ")", ":", "SET_DEST", "(", "last_set", ")", ";", "if", "(", "REGNO", "(", "last_reg", ")", "==", "31", ")", "n", "--", ";", "gcc_assert", "(", "n", "<=", "9", ")", ";", "if", "(", "n", "==", "0", ")", ";", "else", "if", "(", "n", "==", "1", ")", "s", "+=", "sprintf", "(", "s", ",", "\"%s,\"", ",", "reg_names", "[", "16", "]", ")", ";", "else", "if", "(", "n", "<", "9", ")", "s", "+=", "sprintf", "(", "s", ",", "\"%s-%s,\"", ",", "reg_names", "[", "16", "]", ",", "reg_names", "[", "15", "+", "n", "]", ")", ";", "else", "if", "(", "n", "==", "9", ")", "s", "+=", "sprintf", "(", "s", ",", "\"%s-%s,%s,\"", ",", "reg_names", "[", "16", "]", ",", "reg_names", "[", "23", "]", ",", "reg_names", "[", "30", "]", ")", ";", "if", "(", "REGNO", "(", "last_reg", ")", "==", "31", ")", "s", "+=", "sprintf", "(", "s", ",", "\"%s,\"", ",", "reg_names", "[", "31", "]", ")", ";", "s", "+=", "sprintf", "(", "s", ",", "\"%d(%s)\"", ",", "(", "int", ")", "offset", ",", "reg_names", "[", "REGNO", "(", "base", ")", "]", ")", ";", "return", "buffer", ";", "}", ""], "natrual_language": ["Return", "the", "assembly", "instruction", "for", "microMIPS", "LWM", "or", "SWM", ".", "SAVE_P", "and", "PATTERN", "are", "as", "for", "umips_save_restore_pattern_p", "."], "TS_V_token": ["mips", "300", "\"swm\\t\"", "\"lwm\\t\"", "0", "0", "0", "0", "0", "1", "31", "9", "0", "1", "\"%s,\"", "16", "9", "\"%s-%s,\"", "16", "15", "9", "\"%s-%s,%s,\"", "16", "23", "30", "31", "\"%s,\"", "31", "\"%d(%s)\""], "File": "mips", "Func": "umips_output_save_restore", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1062, "Length": 302, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "if", "(", "MI", "->", "isDebugValue", "(", ")", ")", "{", "SmallString", "<", "128", ">", "Str", ";", "raw_svector_ostream", "OS", "(", "Str", ")", ";", "PrintDebugValueComment", "(", "MI", ",", "OS", ")", ";", "return", ";", "}", "MachineBasicBlock", "::", "const_instr_iterator", "I", "=", "MI", ";", "MachineBasicBlock", "::", "const_instr_iterator", "E", "=", "MI", "->", "getParent", "(", ")", "->", "instr_end", "(", ")", ";", "do", "{", "if", "(", "emitPseudoExpansionLowering", "(", "OutStreamer", ",", "&", "*", "I", ")", ")", "continue", ";", "MCInst", "TmpInst0", ";", "MCInstLowering", ".", "Lower", "(", "I", ",", "TmpInst0", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "TmpInst0", ")", ";", "}", "while", "(", "(", "++", "I", "!=", "E", ")", "&&", "I", "->", "isInsideBundle", "(", ")", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["Mips", "Mips", "128"], "File": "MipsAsmPrinter47", "Func": "EmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1063, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "M88kFrameLowering", "::", "assignCalleeSavedSpillSlots", "(", "MachineFunction", "&", "MF", ",", "const", "TargetRegisterInfo", "*", "TRI", ",", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ")", "const", "{", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "int64_t", "CurOffset", "=", "-", "4", ";", "for", "(", "auto", "&", "CS", ":", "CSI", ")", "{", "Register", "Reg", "=", "CS", ".", "getReg", "(", ")", ";", "if", "(", "M88k", "::", "GPRRCRegClass", ".", "contains", "(", "Reg", ")", ")", "{", "CS", ".", "setFrameIdx", "(", "MFI", ".", "CreateFixedSpillStackObject", "(", "4", ",", "CurOffset", ")", ")", ";", "CurOffset", "-=", "4", ";", "}", "else", "{", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "Align", "Alignment", "=", "TRI", "->", "getSpillAlign", "(", "*", "RC", ")", ";", "unsigned", "Size", "=", "TRI", "->", "getSpillSize", "(", "*", "RC", ")", ";", "Alignment", "=", "std", "::", "min", "(", "Alignment", ",", "getStackAlign", "(", ")", ")", ";", "CS", ".", "setFrameIdx", "(", "MFI", ".", "CreateSpillStackObject", "(", "Size", ",", "Alignment", ")", ")", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["This", "function", "will", "assign", "callee", "saved", "gprs", "to", "volatile", "vector", "registers", "for", "prologue", "spills", "when", "applicable", "."], "TS_V_token": ["M88k", "M88k", "4", "M88k::GPRRCRegClass", "4", "4"], "File": "M88kFrameLowering", "Func": "assignCalleeSavedSpillSlots", "Target": "M88k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1064, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_expand_sve_const_pred_trn", "(", "rtx", "target", ",", "rtx_vector_builder", "&", "builder", ",", "unsigned", "int", "elt_size", ",", "unsigned", "int", "permute_size", ")", "{", "unsigned", "int", "a_elt_size", "=", "GET_MODE_SIZE", "(", "DImode", ")", ";", "unsigned", "int", "b_elt_size", "=", "GET_MODE_SIZE", "(", "DImode", ")", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "builder", ".", "encoded_nelts", "(", ")", ";", "i", "+=", "elt_size", ")", "if", "(", "INTVAL", "(", "builder", ".", "elt", "(", "i", ")", ")", "!=", "0", ")", "{", "if", "(", "i", "&", "permute_size", ")", "b_elt_size", "|=", "i", "-", "permute_size", ";", "else", "a_elt_size", "|=", "i", ";", "}", "a_elt_size", "&=", "-", "a_elt_size", ";", "b_elt_size", "&=", "-", "b_elt_size", ";", "rtx_vector_builder", "a_builder", "(", "VNx16BImode", ",", "builder", ".", "npatterns", "(", ")", ",", "builder", ".", "nelts_per_pattern", "(", ")", ")", ";", "rtx_vector_builder", "b_builder", "(", "VNx16BImode", ",", "builder", ".", "npatterns", "(", ")", ",", "builder", ".", "nelts_per_pattern", "(", ")", ")", ";", "unsigned", "int", "nelts", "=", "builder", ".", "encoded_nelts", "(", ")", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "nelts", ";", "++", "i", ")", "if", "(", "i", "&", "(", "elt_size", "-", "1", ")", ")", "{", "a_builder", ".", "quick_push", "(", "const0_rtx", ")", ";", "b_builder", ".", "quick_push", "(", "const0_rtx", ")", ";", "}", "else", "if", "(", "(", "i", "&", "permute_size", ")", "==", "0", ")", "{", "a_builder", ".", "quick_push", "(", "builder", ".", "elt", "(", "i", ")", ")", ";", "b_builder", ".", "quick_push", "(", "builder", ".", "elt", "(", "i", "+", "permute_size", ")", ")", ";", "}", "else", "{", "if", "(", "a_elt_size", ">", "permute_size", ")", "a_builder", ".", "quick_push", "(", "const0_rtx", ")", ";", "else", "a_builder", ".", "quick_push", "(", "a_builder", ".", "elt", "(", "i", "-", "a_elt_size", ")", ")", ";", "if", "(", "b_elt_size", ">", "permute_size", ")", "b_builder", ".", "quick_push", "(", "const0_rtx", ")", ";", "else", "b_builder", ".", "quick_push", "(", "b_builder", ".", "elt", "(", "i", "-", "b_elt_size", ")", ")", ";", "}", "a_builder", ".", "finalize", "(", ")", ";", "b_builder", ".", "finalize", "(", ")", ";", "rtx_insn", "*", "last", "=", "get_last_insn", "(", ")", ";", "rtx", "a", "=", "aarch64_expand_sve_const_pred_1", "(", "NULL_RTX", ",", "a_builder", ",", "false", ")", ";", "if", "(", "!", "a", ")", "return", "NULL_RTX", ";", "rtx", "b", "=", "a", ";", "if", "(", "a_builder", "!=", "b_builder", ")", "{", "b", "=", "aarch64_expand_sve_const_pred_1", "(", "NULL_RTX", ",", "b_builder", ",", "false", ")", ";", "if", "(", "!", "b", ")", "{", "delete_insns_since", "(", "last", ")", ";", "return", "NULL_RTX", ";", "}", "}", "machine_mode", "mode", "=", "aarch64_sve_pred_mode", "(", "permute_size", ")", ".", "require", "(", ")", ";", "target", "=", "aarch64_target_reg", "(", "target", ",", "mode", ")", ";", "emit_insn", "(", "gen_aarch64_sve", "(", "UNSPEC_TRN1", ",", "mode", ",", "target", ",", "gen_lowpart", "(", "mode", ",", "a", ")", ",", "gen_lowpart", "(", "mode", ",", "b", ")", ")", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["BUILDER", "is", "a", "constant", "predicate", "in", "which", "the", "index", "of", "every", "set", "bit", "is", "a", "multiple", "of", "ELT_SIZE", "(", "which", "is", "<", "=", "8", ")", ".", "Try", "to", "load", "the", "constant", "using", "a", "TRN1", "of", "size", "PERMUTE_SIZE", ",", "which", "is", ">", "=", "ELT_SIZE", ".", "Return", "the", "register", "on", "success", ",", "otherwise", "return", "null", ".", "Use", "TARGET", "as", "the", "register", "if", "nonnull", "and", "convenient", "."], "TS_V_token": ["aarch64", "0", "0", "0", "1", "0"], "File": "aarch64", "Func": "aarch64_expand_sve_const_pred_trn", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1065, "Length": 416, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VideoCore4FrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["spillCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "spill", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "store", "instructions", "via", "storeRegToStackSlot", "(", ")", "."], "TS_V_token": ["VideoCore4", "VideoCore4"], "File": "VideoCore4FrameLowering", "Func": "spillCalleeSavedRegisters", "Target": "VideoCore4", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1066, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLoweringObjectFile", "*", "getObjFileLowering", "(", ")", "const", "override", "{", "return", "TLOF", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["Return", "information", "about", "object", "file", "lowering", "."], "TS_V_token": ["UPT"], "File": "UPTTargetMachine", "Func": "getObjFileLowering", "Target": "UPT", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1067, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86RegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "FrameIndexValue", "*", "Value", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "SPAdj", "==", "0", "&&", "\"Unexpected\"", ")", ";", "unsigned", "i", "=", "0", ";", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "\"Instr doesn't have FrameIndex operand!\"", ")", ";", "}", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "i", ")", ".", "getIndex", "(", ")", ";", "unsigned", "BasePtr", ";", "if", "(", "needsStackRealignment", "(", "MF", ")", ")", "BasePtr", "=", "(", "FrameIndex", "<", "0", "?", "FramePtr", ":", "StackPtr", ")", ";", "else", "BasePtr", "=", "(", "hasFP", "(", "MF", ")", "?", "FramePtr", ":", "StackPtr", ")", ";", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "BasePtr", ",", "false", ")", ";", "if", "(", "MI", ".", "getOperand", "(", "i", "+", "3", ")", ".", "isImm", "(", ")", ")", "{", "int", "Offset", "=", "getFrameIndexOffset", "(", "MF", ",", "FrameIndex", ")", "+", "(", "int", ")", "(", "MI", ".", "getOperand", "(", "i", "+", "3", ")", ".", "getImm", "(", ")", ")", ";", "MI", ".", "getOperand", "(", "i", "+", "3", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "}", "else", "{", "uint64_t", "Offset", "=", "getFrameIndexOffset", "(", "MF", ",", "FrameIndex", ")", "+", "(", "uint64_t", ")", "MI", ".", "getOperand", "(", "i", "+", "3", ")", ".", "getOffset", "(", ")", ";", "MI", ".", "getOperand", "(", "i", "+", "3", ")", ".", "setOffset", "(", "Offset", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["X86", "X86", "0", "\"Unexpected\"", "0", "\"Instr doesn't have FrameIndex operand!\"", "0", "3", "3", "3", "3", "3", "0"], "File": "X86RegisterInfo11", "Func": "eliminateFrameIndex", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1068, "Length": 261, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "OR1KRegisterInfo", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "MBB", ".", "erase", "(", "I", ")", ";", "}", ""], "natrual_language": ["This", "method", "is", "called", "during", "prolog/epilog", "code", "insertion", "to", "eliminate", "call", "frame", "setup", "and", "destroy", "pseudo", "instructions", "(", "but", "only", "if", "the", "Target", "is", "using", "them", ")", "."], "TS_V_token": ["OR1K", "OR1K"], "File": "OR1KRegisterInfo", "Func": "eliminateCallFramePseudoInstr", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1069, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "AArch64AuthMCExpr", "*", "AArch64AuthMCExpr", "::", "create", "(", "const", "MCExpr", "*", "Expr", ",", "uint16_t", "Discriminator", ",", "AArch64PACKey", "::", "ID", "Key", ",", "bool", "HasAddressDiversity", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "(", "Ctx", ")", "AArch64AuthMCExpr", "(", "Expr", ",", "Discriminator", ",", "Key", ",", "HasAddressDiversity", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64PACKey::ID", "AArch64"], "File": "AArch64MCExpr17", "Func": "create", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1070, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_function_specific_print", "(", "FILE", "*", "file", ",", "int", "indent", ",", "struct", "cl_target_option", "*", "ptr", ")", "{", "char", "*", "target_string", "=", "ix86_target_string", "(", "ptr", "->", "x_ix86_isa_flags", ",", "ptr", "->", "x_ix86_isa_flags2", ",", "ptr", "->", "x_target_flags", ",", "ptr", "->", "x_ix86_target_flags", ",", "NULL", ",", "NULL", ",", "ptr", "->", "x_ix86_fpmath", ",", "false", ",", "true", ")", ";", "gcc_assert", "(", "ptr", "->", "arch", "<", "PROCESSOR_max", ")", ";", "fprintf", "(", "file", ",", "\"%*sarch = %d (%s)\\n\"", ",", "indent", ",", "\"\"", ",", "ptr", "->", "arch", ",", "processor_names", "[", "ptr", "->", "arch", "]", ")", ";", "gcc_assert", "(", "ptr", "->", "tune", "<", "PROCESSOR_max", ")", ";", "fprintf", "(", "file", ",", "\"%*stune = %d (%s)\\n\"", ",", "indent", ",", "\"\"", ",", "ptr", "->", "tune", ",", "processor_names", "[", "ptr", "->", "tune", "]", ")", ";", "fprintf", "(", "file", ",", "\"%*sbranch_cost = %d\\n\"", ",", "indent", ",", "\"\"", ",", "ptr", "->", "branch_cost", ")", ";", "if", "(", "target_string", ")", "{", "fprintf", "(", "file", ",", "\"%*s%s\\n\"", ",", "indent", ",", "\"\"", ",", "target_string", ")", ";", "free", "(", "target_string", ")", ";", "}", "}", ""], "natrual_language": ["Print", "the", "current", "options"], "TS_V_token": ["i386", "\"%*sarch = %d (%s)\\n\"", "\"\"", "\"%*stune = %d (%s)\\n\"", "\"\"", "\"%*sbranch_cost = %d\\n\"", "\"\"", "\"%*s%s\\n\"", "\"\""], "File": "i3868", "Func": "ix86_function_specific_print", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1071, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_report_v_required", "(", "void", ")", "{", "static", "bool", "reported_p", "=", "false", ";", "if", "(", "reported_p", ")", "return", ";", "error", "(", "\"this operation requires the RVV ISA extension\"", ")", ";", "inform", "(", "input_location", ",", "\"you can enable RVV using the command-line\"", "\" option %<-march%>, or by using the %\"", "\" attribute or pragma\"", ")", ";", "reported_p", "=", "true", ";", "}", ""], "natrual_language": ["Report", "when", "we", "try", "to", "do", "something", "that", "requires", "vector", "when", "vector", "is", "disabled", ".", "This", "is", "an", "error", "of", "last", "resort", "and", "is", "n't", "very", "high-quality", ".", "It", "usually", "involves", "attempts", "to", "measure", "the", "vector", "length", "in", "some", "way", "."], "TS_V_token": ["riscv", "\"this operation requires the RVV ISA extension\"", "\"you can enable RVV using the command-line\"", "\" option %<-march%>, or by using the %\"", "\" attribute or pragma\""], "File": "riscv1", "Func": "riscv_report_v_required", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1072, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "HSAILTargetLowering", "::", "getSetCCResultType", "(", "const", "DataLayout", "&", "DL", ",", "LLVMContext", "&", "Context", ",", "EVT", "VT", ")", "const", "{", "return", "MVT", "::", "i1", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["HSAIL", "HSAIL", "MVT::i1"], "File": "HSAILISelLowering", "Func": "getSetCCResultType", "Target": "HSAIL", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1073, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "note_invalid_constants", "(", "rtx_insn", "*", "insn", ",", "HOST_WIDE_INT", "address", ",", "int", "do_pushes", ")", "{", "int", "opno", ";", "extract_constrain_insn", "(", "insn", ")", ";", "if", "(", "recog_data", ".", "n_alternatives", "==", "0", ")", "return", ";", "preprocess_constraints", "(", "insn", ")", ";", "const", "operand_alternative", "*", "op_alt", "=", "which_op_alt", "(", ")", ";", "for", "(", "opno", "=", "0", ";", "opno", "<", "recog_data", ".", "n_operands", ";", "opno", "++", ")", "{", "if", "(", "recog_data", ".", "operand_type", "[", "opno", "]", "!=", "OP_IN", ")", "continue", ";", "if", "(", "op_alt", "[", "opno", "]", ".", "memory_ok", ")", "{", "rtx", "op", "=", "recog_data", ".", "operand", "[", "opno", "]", ";", "if", "(", "CONSTANT_P", "(", "op", ")", ")", "{", "if", "(", "do_pushes", ")", "push_minipool_fix", "(", "insn", ",", "address", ",", "recog_data", ".", "operand_loc", "[", "opno", "]", ",", "recog_data", ".", "operand_mode", "[", "opno", "]", ",", "op", ")", ";", "}", "else", "if", "(", "MEM_P", "(", "op", ")", "&&", "GET_CODE", "(", "XEXP", "(", "op", ",", "0", ")", ")", "==", "SYMBOL_REF", "&&", "CONSTANT_POOL_ADDRESS_P", "(", "XEXP", "(", "op", ",", "0", ")", ")", ")", "{", "if", "(", "do_pushes", ")", "{", "rtx", "cop", "=", "avoid_constant_pool_reference", "(", "op", ")", ";", "if", "(", "op", "==", "cop", ")", "cop", "=", "get_pool_constant", "(", "XEXP", "(", "op", ",", "0", ")", ")", ";", "push_minipool_fix", "(", "insn", ",", "address", ",", "recog_data", ".", "operand_loc", "[", "opno", "]", ",", "recog_data", ".", "operand_mode", "[", "opno", "]", ",", "cop", ")", ";", "}", "}", "}", "}", "return", ";", "}", ""], "natrual_language": ["Scan", "INSN", "and", "note", "any", "of", "its", "operands", "that", "need", "fixing", ".", "If", "DO_PUSHES", "is", "false", "we", "do", "not", "actually", "push", "any", "of", "the", "fixups", "needed", ".", "The", "function", "returns", "TRUE", "if", "any", "fixups", "were", "needed/pushed", ".", "This", "is", "used", "by", "arm_memory_load_p", "(", ")", "which", "needs", "to", "know", "about", "loads", "of", "constants", "that", "will", "be", "converted", "into", "minipool", "loads", "."], "TS_V_token": ["arm", "0", "0", "0", "0", "0"], "File": "arm", "Func": "note_invalid_constants", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1074, "Length": 224, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "frv_expand_set_builtin", "(", "enum", "insn_code", "icode", ",", "tree", "arglist", ",", "rtx", "target", ")", "{", "rtx", "pat", ";", "rtx", "op0", "=", "frv_read_argument", "(", "&", "arglist", ")", ";", "if", "(", "!", "frv_check_constant_argument", "(", "icode", ",", "1", ",", "op0", ")", ")", "return", "NULL_RTX", ";", "target", "=", "frv_legitimize_target", "(", "icode", ",", "target", ")", ";", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op0", ")", ";", "if", "(", "!", "pat", ")", "return", "NULL_RTX", ";", "emit_insn", "(", "pat", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Expand", "builtins", "that", "take", "a", "single", ",", "constant", "argument", ".", "At", "the", "moment", ",", "only", "MHDSETS", "falls", "into", "this", "category", "."], "TS_V_token": ["frv", "1"], "File": "frv2", "Func": "frv_expand_set_builtin", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 1075, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MipsTargetLowering", "::", "ConstraintType", "MipsTargetLowering", "::", "getConstraintType", "(", "const", "std", "::", "string", "&", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'d'", ":", "case", "'y'", ":", "case", "'f'", ":", "case", "'c'", ":", "case", "'l'", ":", "case", "'x'", ":", "return", "C_RegisterClass", ";", "}", "}", "return", "TargetLowering", "::", "getConstraintType", "(", "Constraint", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constraint", "letter", ",", "return", "the", "type", "of", "constraint", "for", "this", "target", "."], "TS_V_token": ["Mips", "Mips", "Mips", "1", "0"], "File": "MipsISelLowering101", "Func": "getConstraintType", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1076, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "M88kRegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["M88k", "M88k"], "File": "M88kInstrInfo", "Func": "getRegisterInfo", "Target": "M88k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1077, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "add_compiler_branch_island", "(", "tree", "label_name", ",", "tree", "function_name", ",", "int", "line_number", ")", "{", "tree", "branch_island", "=", "build_tree_list", "(", "function_name", ",", "label_name", ")", ";", "TREE_TYPE", "(", "branch_island", ")", "=", "build_int_cst", "(", "NULL_TREE", ",", "line_number", ")", ";", "TREE_CHAIN", "(", "branch_island", ")", "=", "branch_island_list", ";", "branch_island_list", "=", "branch_island", ";", "}", ""], "natrual_language": ["Remember", "to", "generate", "a", "branch", "island", "for", "far", "calls", "to", "the", "given", "function", "."], "TS_V_token": ["rs6000"], "File": "rs60003", "Func": "add_compiler_branch_island", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1078, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "h8300_saveall_function_p", "(", "tree", "func", ")", "{", "tree", "a", ";", "if", "(", "TREE_CODE", "(", "func", ")", "!=", "FUNCTION_DECL", ")", "return", "0", ";", "a", "=", "lookup_attribute", "(", "\"saveall\"", ",", "DECL_ATTRIBUTES", "(", "func", ")", ")", ";", "return", "a", "!=", "NULL_TREE", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "FUNC", "is", "a", "saveall", "function", "as", "specified", "by", "the", "``", "saveall", "''", "attribute", "."], "TS_V_token": ["h8300", "0", "\"saveall\""], "File": "h8300", "Func": "h8300_saveall_function_p", "Target": "h8300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1079, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_load_bounds", "(", "rtx", "slot", ",", "rtx", "ptr", ",", "rtx", "slot_no", ")", "{", "rtx", "reg", "=", "gen_reg_rtx", "(", "BNDmode", ")", ";", "rtx", "addr", ";", "addr", "=", "ix86_get_arg_address_for_bt", "(", "slot", ",", "slot_no", ",", "arg_pointer_rtx", ")", ";", "if", "(", "!", "ptr", ")", "{", "gcc_assert", "(", "MEM_P", "(", "slot", ")", ")", ";", "ptr", "=", "copy_addr_to_reg", "(", "slot", ")", ";", "}", "if", "(", "!", "register_operand", "(", "ptr", ",", "Pmode", ")", ")", "ptr", "=", "ix86_zero_extend_to_Pmode", "(", "ptr", ")", ";", "emit_insn", "(", "BNDmode", "==", "BND64mode", "?", "gen_bnd64_ldx", "(", "reg", ",", "addr", ",", "ptr", ")", ":", "gen_bnd32_ldx", "(", "reg", ",", "addr", ",", "ptr", ")", ")", ";", "return", "reg", ";", "}", ""], "natrual_language": ["Expand", "pass", "uses", "this", "hook", "to", "load", "bounds", "for", "function", "parameter", "PTR", "passed", "in", "SLOT", "in", "case", "its", "bounds", "are", "not", "passed", "in", "a", "register", ".", "If", "SLOT", "is", "a", "memory", ",", "then", "bounds", "are", "loaded", "as", "for", "regular", "pointer", "loaded", "from", "memory", ".", "PTR", "may", "be", "NULL", "in", "case", "SLOT", "is", "a", "memory", ".", "In", "such", "case", "value", "of", "PTR", "(", "if", "required", ")", "may", "be", "loaded", "from", "SLOT", ".", "If", "SLOT", "is", "NULL", "or", "a", "register", "then", "SLOT_NO", "is", "an", "integer", "constant", "holding", "number", "of", "the", "target", "dependent", "special", "slot", "which", "should", "be", "used", "to", "obtain", "bounds", ".", "Return", "loaded", "bounds", "."], "TS_V_token": ["i386"], "File": "i3865", "Func": "ix86_load_bounds", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1080, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emit_cfa_restores", "(", "rtx", "cfa_restores", ")", "{", "rtx_insn", "*", "insn", "=", "get_last_insn", "(", ")", ";", "rtx", "*", "loc", "=", "&", "REG_NOTES", "(", "insn", ")", ";", "while", "(", "*", "loc", ")", "loc", "=", "&", "XEXP", "(", "*", "loc", ",", "1", ")", ";", "*", "loc", "=", "cfa_restores", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", ""], "natrual_language": ["Append", "CFA_RESTORES", "to", "any", "existing", "REG_NOTES", "on", "the", "last", "insn", "."], "TS_V_token": ["powerpcspe", "1", "1"], "File": "powerpcspe", "Func": "emit_cfa_restores", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1081, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "MCS51RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "const", "MCS51MachineFunctionInfo", "*", "AFI", "=", "MF", "->", "getInfo", "<", "MCS51MachineFunctionInfo", ">", "(", ")", ";", "return", "AFI", "->", "isInterruptOrSignalHandler", "(", ")", "?", "CSR_Interrupts_SaveList", ":", "CSR_Normal_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["MCS51", "MCS51", "MCS51", "MCS51"], "File": "MCS51RegisterInfo", "Func": "getCalleeSavedRegs", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1082, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "rs6000_frame_related", "(", "rtx_insn", "*", "insn", ",", "rtx", "reg", ",", "HOST_WIDE_INT", "val", ",", "rtx", "reg2", ",", "rtx", "repl2", ")", "{", "rtx", "repl", ";", "if", "(", "REGNO", "(", "reg", ")", "==", "STACK_POINTER_REGNUM", ")", "{", "gcc_checking_assert", "(", "val", "==", "0", ")", ";", "repl", "=", "NULL_RTX", ";", "}", "else", "repl", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "gen_rtx_REG", "(", "Pmode", ",", "STACK_POINTER_REGNUM", ")", ",", "GEN_INT", "(", "val", ")", ")", ";", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "!", "repl", "&&", "!", "reg2", ")", "{", "if", "(", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", ")", "for", "(", "int", "i", "=", "0", ";", "i", "<", "XVECLEN", "(", "pat", ",", "0", ")", ";", "i", "++", ")", "if", "(", "GET_CODE", "(", "XVECEXP", "(", "pat", ",", "0", ",", "i", ")", ")", "==", "SET", ")", "{", "rtx", "set", "=", "XVECEXP", "(", "pat", ",", "0", ",", "i", ")", ";", "if", "(", "!", "REG_P", "(", "SET_SRC", "(", "set", ")", ")", "||", "interesting_frame_related_regno", "(", "REGNO", "(", "SET_SRC", "(", "set", ")", ")", ")", ")", "RTX_FRAME_RELATED_P", "(", "set", ")", "=", "1", ";", "}", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "return", "insn", ";", "}", "set_used_flags", "(", "pat", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "SET", ")", "{", "if", "(", "repl", ")", "pat", "=", "simplify_replace_rtx", "(", "pat", ",", "reg", ",", "repl", ")", ";", "if", "(", "reg2", ")", "pat", "=", "simplify_replace_rtx", "(", "pat", ",", "reg2", ",", "repl2", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", ")", "{", "pat", "=", "shallow_copy_rtx", "(", "pat", ")", ";", "XVEC", "(", "pat", ",", "0", ")", "=", "shallow_copy_rtvec", "(", "XVEC", "(", "pat", ",", "0", ")", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "XVECLEN", "(", "pat", ",", "0", ")", ";", "i", "++", ")", "if", "(", "GET_CODE", "(", "XVECEXP", "(", "pat", ",", "0", ",", "i", ")", ")", "==", "SET", ")", "{", "rtx", "set", "=", "XVECEXP", "(", "pat", ",", "0", ",", "i", ")", ";", "if", "(", "repl", ")", "set", "=", "simplify_replace_rtx", "(", "set", ",", "reg", ",", "repl", ")", ";", "if", "(", "reg2", ")", "set", "=", "simplify_replace_rtx", "(", "set", ",", "reg2", ",", "repl2", ")", ";", "XVECEXP", "(", "pat", ",", "0", ",", "i", ")", "=", "set", ";", "if", "(", "!", "REG_P", "(", "SET_SRC", "(", "set", ")", ")", "||", "interesting_frame_related_regno", "(", "REGNO", "(", "SET_SRC", "(", "set", ")", ")", ")", ")", "RTX_FRAME_RELATED_P", "(", "set", ")", "=", "1", ";", "}", "}", "else", "gcc_unreachable", "(", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "add_reg_note", "(", "insn", ",", "REG_FRAME_RELATED_EXPR", ",", "copy_rtx_if_shared", "(", "pat", ")", ")", ";", "return", "insn", ";", "}", ""], "natrual_language": ["Add", "to", "'insn", "'", "a", "note", "which", "is", "PATTERN", "(", "INSN", ")", "but", "with", "REG", "replaced", "with", "(", "plus", ":", "P", "(", "reg", "1", ")", "VAL", ")", ",", "and", "with", "REG2", "replaced", "with", "RREG", "if", "REG2", "is", "not", "NULL", ".", "It", "would", "be", "nice", "if", "dwarf2out_frame_debug_expr", "could", "deduce", "these", "equivalences", "by", "itself", "so", "it", "was", "n't", "necessary", "to", "hold", "its", "hand", "so", "much", ".", "Do", "n't", "be", "tempted", "to", "always", "supply", "d2_f_d_e", "with", "the", "actual", "cfa", "register", ",", "ie", ".", "r31", "when", "we", "are", "using", "a", "hard", "frame", "pointer", ".", "That", "fails", "when", "saving", "regs", "off", "r1", ",", "and", "sched", "moves", "the", "r31", "setup", "past", "the", "reg", "saves", "."], "TS_V_token": ["rs6000", "0", "0", "0", "0", "0", "1", "1", "0", "0", "0", "0", "0", "0", "0", "1", "1"], "File": "rs6000-logue", "Func": "rs6000_frame_related", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1083, "Length": 411, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "aarch64_gen_compare_reg", "(", "RTX_CODE", "code", ",", "rtx", "x", ",", "rtx", "y", ")", "{", "machine_mode", "mode", "=", "SELECT_CC_MODE", "(", "code", ",", "x", ",", "y", ")", ";", "rtx", "cc_reg", "=", "gen_rtx_REG", "(", "mode", ",", "CC_REGNUM", ")", ";", "emit_set_insn", "(", "cc_reg", ",", "gen_rtx_COMPARE", "(", "mode", ",", "x", ",", "y", ")", ")", ";", "return", "cc_reg", ";", "}", ""], "natrual_language": ["X", "and", "Y", "are", "two", "things", "to", "compare", "using", "CODE", ".", "Emit", "the", "compare", "insn", "and", "return", "the", "rtx", "for", "register", "0", "in", "the", "proper", "mode", "."], "TS_V_token": ["aarch64"], "File": "aarch642", "Func": "aarch64_gen_compare_reg", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1084, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "umips_load_store_pair_p_1", "(", "bool", "load_p", ",", "bool", "swap_p", ",", "rtx", "first_reg", ",", "rtx", "mem1", ",", "rtx", "mem2", ")", "{", "rtx", "base1", ",", "base2", ";", "HOST_WIDE_INT", "offset1", ",", "offset2", ";", "if", "(", "!", "MEM_P", "(", "mem1", ")", "||", "!", "MEM_P", "(", "mem2", ")", ")", "return", "false", ";", "mips_split_plus", "(", "XEXP", "(", "mem1", ",", "0", ")", ",", "&", "base1", ",", "&", "offset1", ")", ";", "mips_split_plus", "(", "XEXP", "(", "mem2", ",", "0", ")", ",", "&", "base2", ",", "&", "offset2", ")", ";", "if", "(", "!", "REG_P", "(", "base1", ")", "||", "!", "rtx_equal_p", "(", "base1", ",", "base2", ")", ")", "return", "false", ";", "if", "(", "load_p", "&&", "REGNO", "(", "first_reg", ")", "==", "REGNO", "(", "base1", ")", ")", "return", "false", ";", "if", "(", "load_p", "&&", "swap_p", "&&", "REGNO", "(", "first_reg", ")", "+", "1", "==", "REGNO", "(", "base1", ")", ")", "return", "false", ";", "if", "(", "offset2", "!=", "offset1", "+", "4", ")", "return", "false", ";", "if", "(", "!", "UMIPS_12BIT_OFFSET_P", "(", "offset1", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "MEM1", "and", "MEM2", "use", "the", "same", "base", "register", ",", "and", "the", "offset", "of", "MEM2", "equals", "the", "offset", "of", "MEM1", "plus", "4", ".", "FIRST_REG", "is", "the", "register", "into", "(", "from", ")", "which", "the", "contents", "of", "MEM1", "will", "be", "loaded", "(", "stored", ")", ",", "depending", "on", "the", "value", "of", "LOAD_P", ".", "SWAP_P", "is", "true", "when", "the", "1st", "and", "2nd", "instructions", "are", "swapped", "."], "TS_V_token": ["mips", "0", "0", "1", "4"], "File": "mips", "Func": "umips_load_store_pair_p_1", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1085, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "rs6000_arg_partial_bytes", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "bool", "passed_in_gprs", "=", "true", ";", "int", "ret", "=", "0", ";", "int", "align_words", ";", "machine_mode", "elt_mode", ";", "int", "n_elts", ";", "rs6000_discover_homogeneous_aggregate", "(", "arg", ".", "mode", ",", "arg", ".", "type", ",", "&", "elt_mode", ",", "&", "n_elts", ")", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_V4", ")", "return", "0", ";", "if", "(", "USE_ALTIVEC_FOR_ARG_P", "(", "cum", ",", "elt_mode", ",", "arg", ".", "named", ")", ")", "{", "if", "(", "TARGET_64BIT", "&&", "!", "cum", "->", "prototype", "&&", "(", "!", "cum", "->", "libcall", "||", "!", "FLOAT128_VECTOR_P", "(", "elt_mode", ")", ")", ")", "return", "0", ";", "passed_in_gprs", "=", "false", ";", "if", "(", "cum", "->", "vregno", "+", "n_elts", ">", "ALTIVEC_ARG_MAX_REG", "+", "1", ")", "ret", "=", "(", "ALTIVEC_ARG_MAX_REG", "+", "1", "-", "cum", "->", "vregno", ")", "*", "16", ";", "}", "if", "(", "TARGET_MACHO", "&&", "rs6000_darwin64_struct_check_p", "(", "arg", ".", "mode", ",", "arg", ".", "type", ")", ")", "return", "0", ";", "align_words", "=", "rs6000_parm_start", "(", "arg", ".", "mode", ",", "arg", ".", "type", ",", "cum", "->", "words", ")", ";", "if", "(", "USE_FP_FOR_ARG_P", "(", "cum", ",", "elt_mode", ")", "&&", "!", "(", "TARGET_AIX", "&&", "!", "TARGET_ELF", "&&", "arg", ".", "aggregate_type_p", "(", ")", ")", ")", "{", "unsigned", "long", "n_fpreg", "=", "(", "GET_MODE_SIZE", "(", "elt_mode", ")", "+", "7", ")", ">>", "3", ";", "if", "(", "arg", ".", "type", "&&", "(", "cum", "->", "nargs_prototype", "<=", "0", "||", "(", "(", "DEFAULT_ABI", "==", "ABI_AIX", "||", "DEFAULT_ABI", "==", "ABI_ELFv2", ")", "&&", "TARGET_XL_COMPAT", "&&", "align_words", ">=", "GP_ARG_NUM_REG", ")", ")", ")", "return", "0", ";", "passed_in_gprs", "=", "false", ";", "if", "(", "cum", "->", "fregno", "+", "n_elts", "*", "n_fpreg", ">", "FP_ARG_MAX_REG", "+", "1", ")", "{", "int", "fpr", "=", "(", "(", "FP_ARG_MAX_REG", "+", "1", "-", "cum", "->", "fregno", ")", "*", "MIN", "(", "8", ",", "GET_MODE_SIZE", "(", "elt_mode", ")", ")", ")", ";", "int", "fpr_words", "=", "fpr", "/", "(", "TARGET_32BIT", "?", "4", ":", "8", ")", ";", "if", "(", "align_words", "+", "fpr_words", "<", "GP_ARG_NUM_REG", ")", "passed_in_gprs", "=", "true", ";", "else", "ret", "=", "fpr", ";", "}", "}", "if", "(", "passed_in_gprs", "&&", "align_words", "<", "GP_ARG_NUM_REG", "&&", "GP_ARG_NUM_REG", "<", "align_words", "+", "rs6000_arg_size", "(", "arg", ".", "mode", ",", "arg", ".", "type", ")", ")", "ret", "=", "(", "GP_ARG_NUM_REG", "-", "align_words", ")", "*", "(", "TARGET_32BIT", "?", "4", ":", "8", ")", ";", "if", "(", "ret", "!=", "0", "&&", "TARGET_DEBUG_ARG", ")", "fprintf", "(", "stderr", ",", "\"rs6000_arg_partial_bytes: %d\\n\"", ",", "ret", ")", ";", "return", "ret", ";", "}", ""], "natrual_language": ["For", "an", "arg", "passed", "partly", "in", "registers", "and", "partly", "in", "memory", ",", "this", "is", "the", "number", "of", "bytes", "passed", "in", "registers", ".", "For", "args", "passed", "entirely", "in", "registers", "or", "entirely", "in", "memory", ",", "zero", ".", "When", "an", "arg", "is", "described", "by", "a", "PARALLEL", ",", "perhaps", "using", "more", "than", "one", "register", "type", ",", "this", "function", "returns", "the", "number", "of", "bytes", "used", "by", "the", "first", "element", "of", "the", "PARALLEL", "."], "TS_V_token": ["rs6000", "0", "0", "0", "1", "1", "16", "0", "7", "3", "0", "0", "1", "1", "8", "4", "8", "4", "8", "0", "\"rs6000_arg_partial_bytes: %d\\n\""], "File": "rs6000-call", "Func": "rs6000_arg_partial_bytes", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1086, "Length": 381, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "unsigned", "*", "ARMBaseRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "return", "(", "STI", ".", "isTargetIOS", "(", ")", ")", "?", "CSR_iOS_SaveList", ":", "CSR_AAPCS_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["ARM", "ARM"], "File": "ARMBaseRegisterInfo55", "Func": "getCalleeSavedRegs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1087, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SNESMCExpr", "*", "SNESMCExpr", "::", "create", "(", "VariantKind", "Kind", ",", "const", "MCExpr", "*", "Expr", ",", "bool", "Negated", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "(", "Ctx", ")", "SNESMCExpr", "(", "Kind", ",", "Expr", ",", "Negated", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["SNES", "SNES", "SNES", "SNES"], "File": "SNESMCExpr", "Func": "create", "Target": "SNES", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1088, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_gimple_fold_builtin", "(", "gimple_stmt_iterator", "*", "gsi", ")", "{", "gimple", "*", "stmt", "=", "gsi_stmt", "(", "*", "gsi", ")", ";", "tree", "fndecl", "=", "gimple_call_fndecl", "(", "stmt", ")", ";", "gcc_checking_assert", "(", "fndecl", "&&", "DECL_BUILT_IN_CLASS", "(", "fndecl", ")", "==", "BUILT_IN_MD", ")", ";", "int", "n_args", "=", "gimple_call_num_args", "(", "stmt", ")", ";", "enum", "ix86_builtins", "fn_code", "=", "(", "enum", "ix86_builtins", ")", "DECL_FUNCTION_CODE", "(", "fndecl", ")", ";", "tree", "decl", "=", "NULL_TREE", ";", "tree", "arg0", ",", "arg1", ";", "switch", "(", "fn_code", ")", "{", "case", "IX86_BUILTIN_TZCNT32", ":", "decl", "=", "builtin_decl_implicit", "(", "BUILT_IN_CTZ", ")", ";", "goto", "fold_tzcnt_lzcnt", ";", "case", "IX86_BUILTIN_TZCNT64", ":", "decl", "=", "builtin_decl_implicit", "(", "BUILT_IN_CTZLL", ")", ";", "goto", "fold_tzcnt_lzcnt", ";", "case", "IX86_BUILTIN_LZCNT32", ":", "decl", "=", "builtin_decl_implicit", "(", "BUILT_IN_CLZ", ")", ";", "goto", "fold_tzcnt_lzcnt", ";", "case", "IX86_BUILTIN_LZCNT64", ":", "decl", "=", "builtin_decl_implicit", "(", "BUILT_IN_CLZLL", ")", ";", "goto", "fold_tzcnt_lzcnt", ";", "fold_tzcnt_lzcnt", ":", "gcc_assert", "(", "n_args", "==", "1", ")", ";", "arg0", "=", "gimple_call_arg", "(", "stmt", ",", "0", ")", ";", "if", "(", "TREE_CODE", "(", "arg0", ")", "==", "SSA_NAME", "&&", "decl", "&&", "gimple_call_lhs", "(", "stmt", ")", ")", "{", "int", "prec", "=", "TYPE_PRECISION", "(", "TREE_TYPE", "(", "arg0", ")", ")", ";", "if", "(", "!", "expr_not_equal_to", "(", "arg0", ",", "wi", "::", "zero", "(", "prec", ")", ")", ")", "return", "false", ";", "location_t", "loc", "=", "gimple_location", "(", "stmt", ")", ";", "gimple", "*", "g", "=", "gimple_build_call", "(", "decl", ",", "1", ",", "arg0", ")", ";", "gimple_set_location", "(", "g", ",", "loc", ")", ";", "tree", "lhs", "=", "make_ssa_name", "(", "integer_type_node", ")", ";", "gimple_call_set_lhs", "(", "g", ",", "lhs", ")", ";", "gsi_insert_before", "(", "gsi", ",", "g", ",", "GSI_SAME_STMT", ")", ";", "g", "=", "gimple_build_assign", "(", "gimple_call_lhs", "(", "stmt", ")", ",", "NOP_EXPR", ",", "lhs", ")", ";", "gimple_set_location", "(", "g", ",", "loc", ")", ";", "gsi_replace", "(", "gsi", ",", "g", ",", "false", ")", ";", "return", "true", ";", "}", "break", ";", "case", "IX86_BUILTIN_BZHI32", ":", "case", "IX86_BUILTIN_BZHI64", ":", "gcc_assert", "(", "n_args", "==", "2", ")", ";", "arg1", "=", "gimple_call_arg", "(", "stmt", ",", "1", ")", ";", "if", "(", "tree_fits_uhwi_p", "(", "arg1", ")", "&&", "gimple_call_lhs", "(", "stmt", ")", ")", "{", "unsigned", "int", "idx", "=", "tree_to_uhwi", "(", "arg1", ")", "&", "0xff", ";", "arg0", "=", "gimple_call_arg", "(", "stmt", ",", "0", ")", ";", "if", "(", "idx", "<", "TYPE_PRECISION", "(", "TREE_TYPE", "(", "arg0", ")", ")", ")", "break", ";", "location_t", "loc", "=", "gimple_location", "(", "stmt", ")", ";", "gimple", "*", "g", "=", "gimple_build_assign", "(", "gimple_call_lhs", "(", "stmt", ")", ",", "arg0", ")", ";", "gimple_set_location", "(", "g", ",", "loc", ")", ";", "gsi_replace", "(", "gsi", ",", "g", ",", "false", ")", ";", "return", "true", ";", "}", "break", ";", "case", "IX86_BUILTIN_PDEP32", ":", "case", "IX86_BUILTIN_PDEP64", ":", "case", "IX86_BUILTIN_PEXT32", ":", "case", "IX86_BUILTIN_PEXT64", ":", "gcc_assert", "(", "n_args", "==", "2", ")", ";", "arg1", "=", "gimple_call_arg", "(", "stmt", ",", "1", ")", ";", "if", "(", "integer_all_onesp", "(", "arg1", ")", "&&", "gimple_call_lhs", "(", "stmt", ")", ")", "{", "location_t", "loc", "=", "gimple_location", "(", "stmt", ")", ";", "arg0", "=", "gimple_call_arg", "(", "stmt", ",", "0", ")", ";", "gimple", "*", "g", "=", "gimple_build_assign", "(", "gimple_call_lhs", "(", "stmt", ")", ",", "arg0", ")", ";", "gimple_set_location", "(", "g", ",", "loc", ")", ";", "gsi_replace", "(", "gsi", ",", "g", ",", "false", ")", ";", "return", "true", ";", "}", "break", ";", "default", ":", "break", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Fold", "a", "MD", "builtin", "(", "use", "ix86_fold_builtin", "for", "folding", "into", "constant", ")", "in", "GIMPLE", "."], "TS_V_token": ["i386", "1", "0", "1", "2", "1", "0xff", "0", "2", "1", "0"], "File": "i3866", "Func": "ix86_gimple_fold_builtin", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1089, "Length": 494, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSymbol", "*", "M680x0MCInstLower", "::", "GetSymbolFromOperand", "(", "const", "MachineOperand", "&", "MO", ")", "const", "{", "assert", "(", "(", "MO", ".", "isGlobal", "(", ")", "||", "MO", ".", "isSymbol", "(", ")", "||", "MO", ".", "isMBB", "(", ")", ")", "&&", "\"Isn't a symbol reference\"", ")", ";", "const", "DataLayout", "&", "DL", "=", "MF", ".", "getDataLayout", "(", ")", ";", "MCSymbol", "*", "Sym", "=", "nullptr", ";", "SmallString", "<", "128", ">", "Name", ";", "StringRef", "Suffix", ";", "if", "(", "!", "Suffix", ".", "empty", "(", ")", ")", "Name", "+=", "DL", ".", "getPrivateGlobalPrefix", "(", ")", ";", "if", "(", "MO", ".", "isGlobal", "(", ")", ")", "{", "const", "GlobalValue", "*", "GV", "=", "MO", ".", "getGlobal", "(", ")", ";", "AsmPrinter", ".", "getNameWithPrefix", "(", "Name", ",", "GV", ")", ";", "}", "else", "if", "(", "MO", ".", "isSymbol", "(", ")", ")", "{", "Mangler", "::", "getNameWithPrefix", "(", "Name", ",", "MO", ".", "getSymbolName", "(", ")", ",", "DL", ")", ";", "}", "else", "if", "(", "MO", ".", "isMBB", "(", ")", ")", "{", "assert", "(", "Suffix", ".", "empty", "(", ")", ")", ";", "Sym", "=", "MO", ".", "getMBB", "(", ")", "->", "getSymbol", "(", ")", ";", "}", "Name", "+=", "Suffix", ";", "if", "(", "!", "Sym", ")", "Sym", "=", "Ctx", ".", "getOrCreateSymbol", "(", "Name", ")", ";", "return", "Sym", ";", "}", ""], "natrual_language": ["Lower", "an", "MO_GlobalAddress", "or", "MO_ExternalSymbol", "operand", "to", "an", "MCSymbol", "."], "TS_V_token": ["M680x0", "M680x0", "\"Isn't a symbol reference\"", "128"], "File": "M680x0MCInstLower", "Func": "GetSymbolFromOperand", "Target": "M680x0", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1090, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ia64_split_tmode_move", "(", "rtx", "operands", "[", "]", ")", "{", "rtx", "in", "[", "2", "]", ",", "out", "[", "2", "]", ",", "insn", ";", "rtx", "fixup", "[", "2", "]", ";", "bool", "dead", "=", "false", ";", "bool", "reversed", "=", "false", ";", "if", "(", "GET_CODE", "(", "operands", "[", "1", "]", ")", "==", "MEM", "&&", "reg_overlap_mentioned_p", "(", "operands", "[", "0", "]", ",", "operands", "[", "1", "]", ")", ")", "{", "rtx", "base", "=", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ";", "while", "(", "GET_CODE", "(", "base", ")", "!=", "REG", ")", "base", "=", "XEXP", "(", "base", ",", "0", ")", ";", "if", "(", "REGNO", "(", "base", ")", "==", "REGNO", "(", "operands", "[", "0", "]", ")", ")", "reversed", "=", "true", ";", "dead", "=", "true", ";", "}", "if", "(", "GET_CODE", "(", "operands", "[", "0", "]", ")", "==", "REG", "&&", "GET_CODE", "(", "operands", "[", "1", "]", ")", "==", "REG", "&&", "REGNO", "(", "operands", "[", "0", "]", ")", "==", "REGNO", "(", "operands", "[", "1", "]", ")", "+", "1", ")", "reversed", "=", "true", ";", "fixup", "[", "0", "]", "=", "ia64_split_tmode", "(", "in", ",", "operands", "[", "1", "]", ",", "reversed", ",", "dead", ")", ";", "fixup", "[", "1", "]", "=", "ia64_split_tmode", "(", "out", ",", "operands", "[", "0", "]", ",", "reversed", ",", "dead", ")", ";", "if", "(", "GET_CODE", "(", "EXP", ")", "==", "MEM", "\\", "&&", "(", "GET_CODE", "(", "XEXP", "(", "EXP", ",", "0", ")", ")", "==", "POST_MODIFY", "\\", "||", "GET_CODE", "(", "XEXP", "(", "EXP", ",", "0", ")", ")", "==", "POST_INC", "\\", "||", "GET_CODE", "(", "XEXP", "(", "EXP", ",", "0", ")", ")", "==", "POST_DEC", ")", ")", "\\", "REG_NOTES", "(", "INSN", ")", "=", "gen_rtx_EXPR_LIST", "(", "REG_INC", ",", "\\", "XEXP", "(", "XEXP", "(", "EXP", ",", "0", ")", ",", "0", ")", ",", "\\", "REG_NOTES", "(", "INSN", ")", ")", "insn", "=", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "out", "[", "0", "]", ",", "in", "[", "0", "]", ")", ")", ";", "MAYBE_ADD_REG_INC_NOTE", "(", "insn", ",", "in", "[", "0", "]", ")", ";", "MAYBE_ADD_REG_INC_NOTE", "(", "insn", ",", "out", "[", "0", "]", ")", ";", "insn", "=", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "out", "[", "1", "]", ",", "in", "[", "1", "]", ")", ")", ";", "MAYBE_ADD_REG_INC_NOTE", "(", "insn", ",", "in", "[", "1", "]", ")", ";", "MAYBE_ADD_REG_INC_NOTE", "(", "insn", ",", "out", "[", "1", "]", ")", ";", "if", "(", "fixup", "[", "0", "]", ")", "emit_insn", "(", "fixup", "[", "0", "]", ")", ";", "if", "(", "fixup", "[", "1", "]", ")", "emit_insn", "(", "fixup", "[", "1", "]", ")", ";", "}", ""], "natrual_language": ["Split", "a", "TImode", "or", "TFmode", "move", "instruction", "after", "reload", ".", "This", "is", "used", "by", "*", "movtf_internal", "and", "*", "movti_internal", "."], "TS_V_token": ["ia64", "2", "2", "2", "1", "0", "1", "1", "0", "0", "0", "0", "1", "0", "1", "1", "0", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "1", "1", "0", "0", "1", "1"], "File": "ia643", "Func": "ia64_split_tmode_move", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1091, "Length": 391, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "avr_out_movmem", "(", "rtx_insn", "*", "insn", "ATTRIBUTE_UNUSED", ",", "rtx", "*", "op", ",", "int", "*", "plen", ")", "{", "addr_space_t", "as", "=", "(", "addr_space_t", ")", "INTVAL", "(", "op", "[", "0", "]", ")", ";", "machine_mode", "loop_mode", "=", "GET_MODE", "(", "op", "[", "1", "]", ")", ";", "bool", "sbiw_p", "=", "test_hard_reg_class", "(", "ADDW_REGS", ",", "op", "[", "1", "]", ")", ";", "rtx", "xop", "[", "3", "]", ";", "if", "(", "plen", ")", "*", "plen", "=", "0", ";", "xop", "[", "0", "]", "=", "op", "[", "0", "]", ";", "xop", "[", "1", "]", "=", "op", "[", "1", "]", ";", "xop", "[", "2", "]", "=", "tmp_reg_rtx", ";", "avr_asm_len", "(", "\"0:\"", ",", "xop", ",", "plen", ",", "0", ")", ";", "switch", "(", "as", ")", "{", "default", ":", "gcc_unreachable", "(", ")", ";", "case", "ADDR_SPACE_GENERIC", ":", "avr_asm_len", "(", "\"ld %2,Z+\"", ",", "xop", ",", "plen", ",", "1", ")", ";", "break", ";", "case", "ADDR_SPACE_FLASH", ":", "if", "(", "AVR_HAVE_LPMX", ")", "avr_asm_len", "(", "\"lpm %2,Z+\"", ",", "xop", ",", "plen", ",", "1", ")", ";", "else", "avr_asm_len", "(", "\"lpm\"", "CR_TAB", "\"adiw r30,1\"", ",", "xop", ",", "plen", ",", "2", ")", ";", "break", ";", "case", "ADDR_SPACE_FLASH1", ":", "case", "ADDR_SPACE_FLASH2", ":", "case", "ADDR_SPACE_FLASH3", ":", "case", "ADDR_SPACE_FLASH4", ":", "case", "ADDR_SPACE_FLASH5", ":", "if", "(", "AVR_HAVE_ELPMX", ")", "avr_asm_len", "(", "\"elpm %2,Z+\"", ",", "xop", ",", "plen", ",", "1", ")", ";", "else", "avr_asm_len", "(", "\"elpm\"", "CR_TAB", "\"adiw r30,1\"", ",", "xop", ",", "plen", ",", "2", ")", ";", "break", ";", "}", "avr_asm_len", "(", "\"st X+,%2\"", ",", "xop", ",", "plen", ",", "1", ")", ";", "if", "(", "QImode", "==", "loop_mode", ")", "{", "avr_asm_len", "(", "\"dec %1\"", ",", "xop", ",", "plen", ",", "1", ")", ";", "}", "else", "if", "(", "sbiw_p", ")", "{", "avr_asm_len", "(", "\"sbiw %1,1\"", ",", "xop", ",", "plen", ",", "1", ")", ";", "}", "else", "{", "avr_asm_len", "(", "\"subi %A1,1\"", "CR_TAB", "\"sbci %B1,0\"", ",", "xop", ",", "plen", ",", "2", ")", ";", "}", "return", "avr_asm_len", "(", "\"brne 0b\"", ",", "xop", ",", "plen", ",", "1", ")", ";", "}", ""], "natrual_language": ["Print", "assembler", "for", "movmem_qi", ",", "movmem_hi", "insns", "...", "$", "0", ":", "Address", "Space", "$", "1", ",", "$", "2", ":", "Loop", "register", "Z", ":", "Source", "address", "X", ":", "Destination", "address"], "TS_V_token": ["avr", "0", "1", "1", "3", "0", "0", "0", "1", "1", "2", "\"0:\"", "0", "\"ld %2,Z+\"", "1", "\"lpm %2,Z+\"", "1", "\"lpm\"", "\"adiw r30,1\"", "2", "\"elpm %2,Z+\"", "1", "\"elpm\"", "\"adiw r30,1\"", "2", "\"st X+,%2\"", "1", "\"dec %1\"", "1", "\"sbiw %1,1\"", "1", "\"subi %A1,1\"", "\"sbci %B1,0\"", "2", "\"brne 0b\"", "1"], "File": "avr4", "Func": "avr_out_movmem", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1092, "Length": 295, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "frv_output_dwarf_dtprel", "(", "FILE", "*", "file", ",", "int", "size", ",", "rtx", "x", ")", "{", "gcc_assert", "(", "size", "==", "4", ")", ";", "fputs", "(", "\"\\t.picptr\\ttlsmoff(\"", ",", "file", ")", ";", "output_addr_const", "(", "file", ",", "plus_constant", "(", "x", ",", "TLS_BIAS", ")", ")", ";", "fputs", "(", "\")\"", ",", "file", ")", ";", "}", ""], "natrual_language": ["This", "is", "called", "from", "dwarf2out.cc", "via", "TARGET_ASM_OUTPUT_DWARF_DTPREL", ".", "We", "need", "to", "emit", "DTP-relative", "relocations", "."], "TS_V_token": ["frv", "4", "\"\\t.picptr\\ttlsmoff(\"", "\")\""], "File": "frv2", "Func": "frv_output_dwarf_dtprel", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 1093, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "reg_class_t", "reduce_class", "(", "reg_class_t", "original_class", ",", "reg_class_t", "limiting_class", ",", "reg_class_t", "returned_if_empty", ")", "{", "HARD_REG_SET", "cc", ";", "int", "i", ";", "reg_class_t", "best", "=", "NO_REGS", ";", "unsigned", "int", "best_size", "=", "0", ";", "if", "(", "original_class", "==", "limiting_class", ")", "return", "original_class", ";", "cc", "=", "reg_class_contents", "[", "original_class", "]", "&", "reg_class_contents", "[", "limiting_class", "]", ";", "for", "(", "i", "=", "0", ";", "i", "<", "LIM_REG_CLASSES", ";", "i", "++", ")", "{", "if", "(", "hard_reg_set_subset_p", "(", "reg_class_contents", "[", "i", "]", ",", "cc", ")", ")", "if", "(", "best_size", "<", "reg_class_size", "[", "i", "]", ")", "{", "best", "=", "(", "reg_class_t", ")", "i", ";", "best_size", "=", "reg_class_size", "[", "i", "]", ";", "}", "}", "if", "(", "best", "==", "NO_REGS", ")", "return", "returned_if_empty", ";", "return", "best", ";", "}", ""], "natrual_language": ["Given", "two", "register", "classes", ",", "find", "the", "largest", "intersection", "between", "them", ".", "If", "there", "is", "no", "intersection", ",", "return", "RETURNED_IF_EMPTY", "instead", "."], "TS_V_token": ["m32c", "0", "0"], "File": "m32c", "Func": "reduce_class", "Target": "m32c", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1094, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "pa_can_change_mode_class", "(", "machine_mode", "from", ",", "machine_mode", "to", ",", "reg_class_t", "rclass", ")", "{", "if", "(", "from", "==", "to", ")", "return", "true", ";", "if", "(", "GET_MODE_SIZE", "(", "from", ")", "==", "GET_MODE_SIZE", "(", "to", ")", ")", "return", "true", ";", "if", "(", "!", "GET_MODE_SIZE", "(", "from", ")", "||", "!", "GET_MODE_SIZE", "(", "to", ")", ")", "return", "false", ";", "if", "(", "COMPLEX_MODE_P", "(", "from", ")", "||", "VECTOR_MODE_P", "(", "from", ")", "||", "COMPLEX_MODE_P", "(", "to", ")", "||", "VECTOR_MODE_P", "(", "to", ")", ")", "return", "false", ";", "if", "(", "MAYBE_FP_REG_CLASS_P", "(", "rclass", ")", ")", "return", "false", ";", "if", "(", "GET_MODE_SIZE", "(", "to", ")", ">", "UNITS_PER_WORD", "&&", "GET_MODE_SIZE", "(", "to", ")", ">", "GET_MODE_SIZE", "(", "from", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CAN_CHANGE_MODE_CLASS", "."], "TS_V_token": ["pa"], "File": "pa7", "Func": "pa_can_change_mode_class", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1095, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "m68hc11_valid_addressing_p", "(", "rtx", "operand", ",", "enum", "machine_mode", "mode", ",", "int", "addr_mode", ")", "{", "rtx", "base", ",", "offset", ";", "switch", "(", "GET_CODE", "(", "operand", ")", ")", "{", "case", "MEM", ":", "if", "(", "(", "addr_mode", "&", "ADDR_INDIRECT", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", "<=", "2", ")", "return", "m68hc11_valid_addressing_p", "(", "XEXP", "(", "operand", ",", "0", ")", ",", "mode", ",", "addr_mode", "&", "(", "ADDR_STRICT", "|", "ADDR_OFFSET", ")", ")", ";", "return", "0", ";", "case", "POST_INC", ":", "case", "PRE_INC", ":", "case", "POST_DEC", ":", "case", "PRE_DEC", ":", "if", "(", "addr_mode", "&", "ADDR_INCDEC", ")", "return", "m68hc11_valid_addressing_p", "(", "XEXP", "(", "operand", ",", "0", ")", ",", "mode", ",", "addr_mode", "&", "ADDR_STRICT", ")", ";", "return", "0", ";", "case", "PLUS", ":", "base", "=", "XEXP", "(", "operand", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "base", ")", "==", "MEM", ")", "return", "0", ";", "offset", "=", "XEXP", "(", "operand", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "offset", ")", "==", "MEM", ")", "return", "0", ";", "if", "(", "GET_CODE", "(", "base", ")", "==", "REG", "&&", "GET_CODE", "(", "offset", ")", "==", "REG", ")", "{", "if", "(", "!", "(", "addr_mode", "&", "ADDR_INDEXED", ")", ")", "return", "0", ";", "addr_mode", "&=", "ADDR_STRICT", ";", "if", "(", "REGNO_OK_FOR_BASE_P2", "(", "REGNO", "(", "base", ")", ",", "addr_mode", ")", "&&", "REGNO_OK_FOR_INDEX_P2", "(", "REGNO", "(", "offset", ")", ",", "addr_mode", ")", ")", "return", "1", ";", "if", "(", "REGNO_OK_FOR_BASE_P2", "(", "REGNO", "(", "offset", ")", ",", "addr_mode", ")", "&&", "REGNO_OK_FOR_INDEX_P2", "(", "REGNO", "(", "base", ")", ",", "addr_mode", ")", ")", "return", "1", ";", "return", "0", ";", "}", "if", "(", "!", "(", "addr_mode", "&", "ADDR_OFFSET", ")", ")", "return", "0", ";", "if", "(", "GET_CODE", "(", "base", ")", "==", "REG", ")", "{", "if", "(", "!", "VALID_CONSTANT_OFFSET_P", "(", "offset", ",", "mode", ")", ")", "return", "0", ";", "if", "(", "!", "(", "addr_mode", "&", "ADDR_STRICT", ")", ")", "return", "1", ";", "return", "REGNO_OK_FOR_BASE_P2", "(", "REGNO", "(", "base", ")", ",", "1", ")", ";", "}", "if", "(", "GET_CODE", "(", "offset", ")", "==", "REG", ")", "{", "if", "(", "!", "VALID_CONSTANT_OFFSET_P", "(", "base", ",", "mode", ")", ")", "return", "0", ";", "if", "(", "!", "(", "addr_mode", "&", "ADDR_STRICT", ")", ")", "return", "1", ";", "return", "REGNO_OK_FOR_BASE_P2", "(", "REGNO", "(", "offset", ")", ",", "1", ")", ";", "}", "return", "0", ";", "case", "REG", ":", "return", "REGNO_OK_FOR_BASE_P2", "(", "REGNO", "(", "operand", ")", ",", "addr_mode", "&", "ADDR_STRICT", ")", ";", "case", "CONST_INT", ":", "if", "(", "addr_mode", "&", "ADDR_CONST", ")", "return", "VALID_CONSTANT_OFFSET_P", "(", "operand", ",", "mode", ")", ";", "return", "0", ";", "default", ":", "return", "0", ";", "}", "}", ""], "natrual_language": ["Return", "1", "if", "the", "operand", "is", "a", "valid", "indexed", "addressing", "mode", ".", "For", "68hc11", ":", "n", ",", "r", "with", "n", "in", "[", "0", "..", "255", "]", "and", "r", "in", "A_REGS", "class", "For", "68hc12", ":", "n", ",", "r", "no", "constraint", "on", "the", "constant", ",", "r", "in", "A_REGS", "class", "."], "TS_V_token": ["m68hc11", "2", "0", "0", "0", "0", "0", "0", "1", "0", "0", "1", "1", "0", "0", "0", "1", "1", "0", "1", "1", "0", "0", "0"], "File": "m68hc111", "Func": "m68hc11_valid_addressing_p", "Target": "m68hc11", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1096, "Length": 391, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SNESTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Don't know how to custom lower this!\"", ")", ";", "case", "ISD", "::", "SHL", ":", "case", "ISD", "::", "SRA", ":", "case", "ISD", "::", "SRL", ":", "case", "ISD", "::", "ROTL", ":", "case", "ISD", "::", "ROTR", ":", "return", "LowerShifts", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "LowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BR_CC", ":", "return", "LowerBR_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SETCC", ":", "return", "LowerSETCC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SDIVREM", ":", "case", "ISD", "::", "UDIVREM", ":", "return", "LowerDivRem", "(", "Op", ",", "DAG", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["SNES", "SNES", "\"Don't know how to custom lower this!\"", "ISD::SHL", "ISD::SRA", "ISD::SRL", "ISD::ROTL", "ISD::ROTR", "ISD::GlobalAddress", "ISD::BlockAddress", "ISD::BR_CC", "ISD::SELECT_CC", "ISD::SETCC", "ISD::VASTART", "ISD::SDIVREM", "ISD::UDIVREM"], "File": "SNESISelLowering", "Func": "LowerOperation", "Target": "SNES", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1097, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "const", "AMDGPUSubtarget", "*", "AMDGPUTargetMachine", "::", "getSubtargetImpl", "(", "const", "Function", "&", "F", ")", "const", "{", "if", "(", "getTargetTriple", "(", ")", ".", "getArch", "(", ")", "==", "Triple", "::", "amdgcn", ")", "return", "static_cast", "<", "const", "GCNTargetMachine", "*", ">", "(", "this", ")", "->", "getSubtargetImpl", "(", "F", ")", ";", "return", "static_cast", "<", "const", "R600TargetMachine", "*", ">", "(", "this", ")", "->", "getSubtargetImpl", "(", "F", ")", ";", "}", ""], "natrual_language": ["Virtual", "method", "implemented", "by", "subclasses", "that", "returns", "a", "reference", "to", "that", "target", "'s", "TargetSubtargetInfo-derived", "member", "variable", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU", "R600"], "File": "AMDGPUTargetMachine46", "Func": "getSubtargetImpl", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1098, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseRegisterInfo", "::", "isInlineAsmReadOnlyReg", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "PhysReg", ")", "const", "{", "const", "ARMSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "const", "ARMFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "markSuperRegs", "(", "Reserved", ",", "ARM", "::", "PC", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "STI", ".", "getFramePointerReg", "(", ")", ")", ";", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "BasePtr", ")", ";", "assert", "(", "checkAllSuperRegsMarked", "(", "Reserved", ")", ")", ";", "return", "Reserved", ".", "test", "(", "PhysReg", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "PhysReg", "can", "not", "be", "written", "to", "in", "inline", "asm", "statements", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM", "ARM::PC"], "File": "ARMBaseRegisterInfo", "Func": "isInlineAsmReadOnlyReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1099, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "ARM64TargetLowering", "::", "emitLoadLinked", "(", "IRBuilder", "<", ">", "&", "Builder", ",", "Value", "*", "Addr", ",", "AtomicOrdering", "Ord", ")", "const", "{", "Module", "*", "M", "=", "Builder", ".", "GetInsertBlock", "(", ")", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "Type", "*", "ValTy", "=", "cast", "<", "PointerType", ">", "(", "Addr", "->", "getType", "(", ")", ")", "->", "getElementType", "(", ")", ";", "bool", "IsAcquire", "=", "Ord", "==", "Acquire", "||", "Ord", "==", "AcquireRelease", "||", "Ord", "==", "SequentiallyConsistent", ";", "if", "(", "ValTy", "->", "getPrimitiveSizeInBits", "(", ")", "==", "128", ")", "{", "Intrinsic", "::", "ID", "Int", "=", "IsAcquire", "?", "Intrinsic", "::", "arm64_ldaxp", ":", "Intrinsic", "::", "arm64_ldxp", ";", "Function", "*", "Ldxr", "=", "llvm", "::", "Intrinsic", "::", "getDeclaration", "(", "M", ",", "Int", ")", ";", "Addr", "=", "Builder", ".", "CreateBitCast", "(", "Addr", ",", "Type", "::", "getInt8PtrTy", "(", "M", "->", "getContext", "(", ")", ")", ")", ";", "Value", "*", "LoHi", "=", "Builder", ".", "CreateCall", "(", "Ldxr", ",", "Addr", ",", "\"lohi\"", ")", ";", "Value", "*", "Lo", "=", "Builder", ".", "CreateExtractValue", "(", "LoHi", ",", "0", ",", "\"lo\"", ")", ";", "Value", "*", "Hi", "=", "Builder", ".", "CreateExtractValue", "(", "LoHi", ",", "1", ",", "\"hi\"", ")", ";", "Lo", "=", "Builder", ".", "CreateZExt", "(", "Lo", ",", "ValTy", ",", "\"lo64\"", ")", ";", "Hi", "=", "Builder", ".", "CreateZExt", "(", "Hi", ",", "ValTy", ",", "\"hi64\"", ")", ";", "return", "Builder", ".", "CreateOr", "(", "Lo", ",", "Builder", ".", "CreateShl", "(", "Hi", ",", "ConstantInt", "::", "get", "(", "ValTy", ",", "64", ")", ")", ",", "\"val64\"", ")", ";", "}", "Type", "*", "Tys", "[", "]", "=", "{", "Addr", "->", "getType", "(", ")", "}", ";", "Intrinsic", "::", "ID", "Int", "=", "IsAcquire", "?", "Intrinsic", "::", "arm64_ldaxr", ":", "Intrinsic", "::", "arm64_ldxr", ";", "Function", "*", "Ldxr", "=", "llvm", "::", "Intrinsic", "::", "getDeclaration", "(", "M", ",", "Int", ",", "Tys", ")", ";", "return", "Builder", ".", "CreateTruncOrBitCast", "(", "Builder", ".", "CreateCall", "(", "Ldxr", ",", "Addr", ")", ",", "cast", "<", "PointerType", ">", "(", "Addr", "->", "getType", "(", ")", ")", "->", "getElementType", "(", ")", ")", ";", "}", ""], "natrual_language": ["Perform", "a", "load-linked", "operation", "on", "Addr", ",", "returning", "a", "``", "Value", "*", "''", "with", "the", "corresponding", "pointee", "type", "."], "TS_V_token": ["ARM64", "ARM64", "128", "Intrinsic::ID", "Intrinsic::arm64_ldaxp", "Intrinsic::arm64_ldxp", "Intrinsic::getDeclaration", "\"lohi\"", "0", "\"lo\"", "1", "\"hi\"", "\"lo64\"", "\"hi64\"", "64", "\"val64\"", "Intrinsic::ID", "Intrinsic::arm64_ldaxr", "Intrinsic::arm64_ldxr", "Intrinsic::getDeclaration"], "File": "ARM64ISelLowering", "Func": "emitLoadLinked", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1100, "Length": 311, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "BlackfinTargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "unsigned", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "getTargetMachine", "(", ")", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AllocateStack", "(", "12", ",", "4", ")", ";", "CCInfo", ".", "AnalyzeFormalArguments", "(", "Ins", ",", "CC_Blackfin", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "ArgLocs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "ArgLocs", "[", "i", "]", ";", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "{", "EVT", "RegVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "TargetRegisterClass", "*", "RC", "=", "VA", ".", "getLocReg", "(", ")", "==", "BF", "::", "P0", "?", "BF", "::", "PRegisterClass", ":", "BF", "::", "DRegisterClass", ";", "assert", "(", "RC", "->", "contains", "(", "VA", ".", "getLocReg", "(", ")", ")", "&&", "\"Unexpected regclass in CCState\"", ")", ";", "assert", "(", "RC", "->", "hasType", "(", "RegVT", ")", "&&", "\"Unexpected regclass in CCState\"", ")", ";", "unsigned", "Reg", "=", "MF", ".", "getRegInfo", "(", ")", ".", "createVirtualRegister", "(", "RC", ")", ";", "MF", ".", "getRegInfo", "(", ")", ".", "addLiveIn", "(", "VA", ".", "getLocReg", "(", ")", ",", "Reg", ")", ";", "SDValue", "ArgValue", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "Reg", ",", "RegVT", ")", ";", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "SExt", ")", "ArgValue", "=", "DAG", ".", "getNode", "(", "ISD", "::", "AssertSext", ",", "dl", ",", "RegVT", ",", "ArgValue", ",", "DAG", ".", "getValueType", "(", "VA", ".", "getValVT", "(", ")", ")", ")", ";", "else", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "ZExt", ")", "ArgValue", "=", "DAG", ".", "getNode", "(", "ISD", "::", "AssertZext", ",", "dl", ",", "RegVT", ",", "ArgValue", ",", "DAG", ".", "getValueType", "(", "VA", ".", "getValVT", "(", ")", ")", ")", ";", "if", "(", "VA", ".", "getLocInfo", "(", ")", "!=", "CCValAssign", "::", "Full", ")", "ArgValue", "=", "DAG", ".", "getNode", "(", "ISD", "::", "TRUNCATE", ",", "dl", ",", "VA", ".", "getValVT", "(", ")", ",", "ArgValue", ")", ";", "InVals", ".", "push_back", "(", "ArgValue", ")", ";", "}", "else", "{", "assert", "(", "VA", ".", "isMemLoc", "(", ")", "&&", "\"CCValAssign must be RegLoc or MemLoc\"", ")", ";", "unsigned", "ObjSize", "=", "VA", ".", "getLocVT", "(", ")", ".", "getStoreSizeInBits", "(", ")", "/", "8", ";", "int", "FI", "=", "MFI", "->", "CreateFixedObject", "(", "ObjSize", ",", "VA", ".", "getLocMemOffset", "(", ")", ")", ";", "SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "MVT", "::", "i32", ")", ";", "InVals", ".", "push_back", "(", "DAG", ".", "getLoad", "(", "VA", ".", "getValVT", "(", ")", ",", "dl", ",", "Chain", ",", "FIN", ",", "NULL", ",", "0", ")", ")", ";", "}", "}", "return", "Chain", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "the", "Ins", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["Blackfin", "ISD::InputArg", "16", "12", "4", "0", "BF::P0", "BF::PRegisterClass", "BF::DRegisterClass", "\"Unexpected regclass in CCState\"", "\"Unexpected regclass in CCState\"", "ISD::AssertSext", "ISD::AssertZext", "ISD::TRUNCATE", "\"CCValAssign must be RegLoc or MemLoc\"", "8", "MVT::i32", "0"], "File": "BlackfinISelLowering4", "Func": "LowerFormalArguments", "Target": "Blackfin", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1101, "Length": 465, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "MutableArrayRef", "<", "CalleeSavedInfo", ">", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", "&&", "isFuncletReturnInstr", "(", "*", "MI", ")", "&&", "STI", ".", "isOSWindows", "(", ")", ")", "{", "if", "(", "STI", ".", "is32Bit", "(", ")", ")", "return", "true", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "X86", "::", "CATCHRET", ")", "{", "const", "Function", "&", "F", "=", "MBB", ".", "getParent", "(", ")", "->", "getFunction", "(", ")", ";", "bool", "IsSEH", "=", "isAsynchronousEHPersonality", "(", "classifyEHPersonality", "(", "F", ".", "getPersonalityFn", "(", ")", ")", ")", ";", "if", "(", "IsSEH", ")", "return", "true", ";", "}", "}", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "if", "(", "X86", "::", "GR64RegClass", ".", "contains", "(", "Reg", ")", "||", "X86", "::", "GR32RegClass", ".", "contains", "(", "Reg", ")", ")", "continue", ";", "MVT", "VT", "=", "MVT", "::", "Other", ";", "if", "(", "X86", "::", "VK16RegClass", ".", "contains", "(", "Reg", ")", ")", "VT", "=", "STI", ".", "hasBWI", "(", ")", "?", "MVT", "::", "v64i1", ":", "MVT", "::", "v16i1", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ",", "VT", ")", ";", "TII", ".", "loadRegFromStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "CSI", "[", "i", "]", ".", "getFrameIdx", "(", ")", ",", "RC", ",", "TRI", ")", ";", "}", "unsigned", "Opc", "=", "STI", ".", "is64Bit", "(", ")", "?", "X86", "::", "POP64r", ":", "X86", "::", "POP32r", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "if", "(", "!", "X86", "::", "GR64RegClass", ".", "contains", "(", "Reg", ")", "&&", "!", "X86", "::", "GR32RegClass", ".", "contains", "(", "Reg", ")", ")", "continue", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "Reg", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameDestroy", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["restoreCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "restore", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "load", "instructions", "via", "loadRegToStackSlot", "(", ")", "."], "TS_V_token": ["X86", "X86", "X86::CATCHRET", "0", "X86::GR64RegClass", "X86::GR32RegClass", "MVT::Other", "X86::VK16RegClass", "MVT::v64i1", "MVT::v16i1", "X86::POP64r", "X86::POP32r", "0", "X86::GR64RegClass", "X86::GR32RegClass"], "File": "X86FrameLowering1", "Func": "restoreCalleeSavedRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1102, "Length": 370, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86RegisterInfo", "::", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "unsigned", "FPDiff", "=", "TFI", "->", "hasFP", "(", "MF", ")", "?", "1", ":", "0", ";", "switch", "(", "RC", "->", "getID", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "X86", "::", "GR32RegClassID", ":", "return", "4", "-", "FPDiff", ";", "case", "X86", "::", "GR64RegClassID", ":", "return", "12", "-", "FPDiff", ";", "case", "X86", "::", "VR128RegClassID", ":", "return", "Is64Bit", "?", "10", ":", "4", ";", "case", "X86", "::", "VR64RegClassID", ":", "return", "4", ";", "}", "}", ""], "natrual_language": ["Return", "the", "register", "pressure", "``", "high", "water", "mark", "''", "for", "the", "specific", "register", "class", "."], "TS_V_token": ["X86", "X86", "1", "0", "0", "X86::GR32RegClassID", "4", "X86::GR64RegClassID", "12", "X86::VR128RegClassID", "10", "4", "X86::VR64RegClassID", "4"], "File": "X86RegisterInfo37", "Func": "getRegPressureLimit", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1103, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mep_vliw_mode_match", "(", "rtx", "tgt", ")", "{", "bool", "src_vliw", "=", "mep_vliw_function_p", "(", "cfun", "->", "decl", ")", ";", "bool", "tgt_vliw", "=", "INTVAL", "(", "tgt", ")", ";", "return", "src_vliw", "==", "tgt_vliw", ";", "}", ""], "natrual_language": ["Irritatingly", ",", "the", "``", "jsrv", "''", "insn", "*", "toggles", "*", "PSW.OM", "rather", "than", "set", "it", "to", "one", "specific", "value", ".", "So", "the", "insn", "chosen", "depends", "on", "whether", "the", "source", "and", "destination", "modes", "match", "."], "TS_V_token": ["mep"], "File": "mep", "Func": "mep_vliw_mode_match", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1104, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "tilegx_expand_tablejump", "(", "rtx", "op0", ",", "rtx", "op1", ")", "{", "if", "(", "flag_pic", ")", "{", "rtx", "temp", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "rtx", "temp2", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "tilegx_compute_pcrel_address", "(", "temp", ",", "gen_rtx_LABEL_REF", "(", "Pmode", ",", "op1", ")", ")", ";", "emit_move_insn", "(", "temp2", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "convert_to_mode", "(", "Pmode", ",", "op0", ",", "false", ")", ",", "temp", ")", ")", ";", "op0", "=", "temp2", ";", "}", "emit_jump_insn", "(", "gen_tablejump_aux", "(", "op0", ",", "op1", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "the", "tablejump", "pattern", "."], "TS_V_token": ["tilegx"], "File": "tilegx", "Func": "tilegx_expand_tablejump", "Target": "tilegx", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 1105, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "nds32_merge_decl_attributes", "(", "tree", "olddecl", ",", "tree", "newdecl", ")", "{", "tree", "combined_attrs", ";", "combined_attrs", "=", "merge_attributes", "(", "DECL_ATTRIBUTES", "(", "olddecl", ")", ",", "DECL_ATTRIBUTES", "(", "newdecl", ")", ")", ";", "if", "(", "TREE_CODE", "(", "olddecl", ")", "==", "FUNCTION_DECL", ")", "{", "nds32_check_isr_attrs_conflict", "(", "olddecl", ",", "combined_attrs", ")", ";", "}", "return", "combined_attrs", ";", "}", ""], "natrual_language": ["Add", "some", "checking", "after", "merging", "attributes", "."], "TS_V_token": ["nds32"], "File": "nds32", "Func": "nds32_merge_decl_attributes", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1106, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "."], "TS_V_token": ["MSP430"], "File": "MSP430AsmBackend", "Func": "fixupNeedsRelaxation", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1107, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HSAILRegisterInfo", "::", "saveScavengerRegister", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "MachineBasicBlock", "::", "iterator", "&", "UseMI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "unsigned", "Reg", ")", "const", "{", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "HSAILMachineFunctionInfo", "*", "Info", "=", "MF", "->", "getInfo", "<", "HSAILMachineFunctionInfo", ">", "(", ")", ";", "MCContext", "&", "Ctx", "=", "MF", "->", "getContext", "(", ")", ";", "const", "HSAILInstrInfo", "*", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "assert", "(", "RC", "==", "&", "HSAIL", "::", "GPR32RegClass", "&&", "\"Only expecting s register spills during emergencies\"", ")", ";", "DebugLoc", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "Info", "->", "setHasScavengerSpill", "(", ")", ";", "MCSymbol", "*", "Sym", "=", "Ctx", ".", "getOrCreateSymbol", "(", "StringRef", "(", "\"%___spillScavenge\"", ")", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "TII", "->", "get", "(", "HSAIL", "::", "ST_U32", ")", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ".", "addSym", "(", "Sym", ")", ".", "addReg", "(", "HSAIL", "::", "NoRegister", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "BRIG_TYPE_U32", ")", ".", "addImm", "(", "HSAILAS", "::", "SPILL_ADDRESS", ")", ".", "addImm", "(", "RC", "->", "getAlignment", "(", ")", ")", ";", "BuildMI", "(", "MBB", ",", "UseMI", ",", "DL", ",", "TII", "->", "get", "(", "HSAIL", "::", "LD_U32", ")", ",", "Reg", ")", ".", "addSym", "(", "Sym", ")", ".", "addReg", "(", "HSAIL", "::", "NoRegister", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "BRIG_TYPE_U32", ")", ".", "addImm", "(", "HSAILAS", "::", "SPILL_ADDRESS", ")", ".", "addImm", "(", "RC", "->", "getAlignment", "(", ")", ")", ".", "addImm", "(", "BRIG_WIDTH_1", ")", ".", "addImm", "(", "0", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Spill", "the", "register", "so", "it", "can", "be", "used", "by", "the", "register", "scavenger", "."], "TS_V_token": ["HSAIL", "HSAIL", "HSAIL", "HSAIL", "HSAIL", "HSAIL::GPR32RegClass", "\"Only expecting s register spills during emergencies\"", "\"%___spillScavenge\"", "HSAIL::ST_U32", "HSAIL::NoRegister", "0", "HSAILAS::SPILL_ADDRESS", "HSAIL::LD_U32", "HSAIL::NoRegister", "0", "HSAILAS::SPILL_ADDRESS", "0"], "File": "HSAILRegisterInfo", "Func": "saveScavengerRegister", "Target": "HSAIL", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1108, "Length": 252, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "X86TargetLowering", "::", "getRecipEstimate", "(", "SDValue", "Op", ",", "DAGCombinerInfo", "&", "DCI", ",", "unsigned", "&", "RefinementSteps", ")", "const", "{", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "const", "char", "*", "RecipOp", ";", "if", "(", "VT", "==", "MVT", "::", "f32", "&&", "Subtarget", ".", "hasSSE1", "(", ")", ")", "RecipOp", "=", "\"divf\"", ";", "else", "if", "(", "(", "VT", "==", "MVT", "::", "v4f32", "&&", "Subtarget", ".", "hasSSE1", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "v8f32", "&&", "Subtarget", ".", "hasAVX", "(", ")", ")", ")", "RecipOp", "=", "\"vec-divf\"", ";", "else", "return", "SDValue", "(", ")", ";", "TargetRecip", "Recips", "=", "DCI", ".", "DAG", ".", "getTarget", "(", ")", ".", "Options", ".", "Reciprocals", ";", "if", "(", "!", "Recips", ".", "isEnabled", "(", "RecipOp", ")", ")", "return", "SDValue", "(", ")", ";", "RefinementSteps", "=", "Recips", ".", "getRefinementSteps", "(", "RecipOp", ")", ";", "return", "DCI", ".", "DAG", ".", "getNode", "(", "X86ISD", "::", "FRCP", ",", "SDLoc", "(", "Op", ")", ",", "VT", ",", "Op", ")", ";", "}", ""], "natrual_language": ["Return", "a", "reciprocal", "estimate", "value", "for", "the", "input", "operand", "."], "TS_V_token": ["X86", "X86", "MVT::f32", "\"divf\"", "MVT::v4f32", "MVT::v8f32", "\"vec-divf\"", "X86ISD::FRCP"], "File": "X86ISelLowering (3)", "Func": "getRecipEstimate", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1109, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_avx256_split_vector_move_misalign", "(", "rtx", "op0", ",", "rtx", "op1", ")", "{", "rtx", "m", ";", "rtx", "(", "*", "extract", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ";", "machine_mode", "mode", ";", "if", "(", "(", "MEM_P", "(", "op1", ")", "&&", "!", "TARGET_AVX256_SPLIT_UNALIGNED_LOAD", ")", "||", "(", "MEM_P", "(", "op0", ")", "&&", "!", "TARGET_AVX256_SPLIT_UNALIGNED_STORE", ")", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "op0", ",", "op1", ")", ")", ";", "return", ";", "}", "rtx", "orig_op0", "=", "NULL_RTX", ";", "mode", "=", "GET_MODE", "(", "op0", ")", ";", "switch", "(", "GET_MODE_CLASS", "(", "mode", ")", ")", "{", "case", "MODE_VECTOR_INT", ":", "case", "MODE_INT", ":", "if", "(", "mode", "!=", "V32QImode", ")", "{", "if", "(", "!", "MEM_P", "(", "op0", ")", ")", "{", "orig_op0", "=", "op0", ";", "op0", "=", "gen_reg_rtx", "(", "V32QImode", ")", ";", "}", "else", "op0", "=", "gen_lowpart", "(", "V32QImode", ",", "op0", ")", ";", "op1", "=", "gen_lowpart", "(", "V32QImode", ",", "op1", ")", ";", "mode", "=", "V32QImode", ";", "}", "break", ";", "case", "MODE_VECTOR_FLOAT", ":", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "switch", "(", "mode", ")", "{", "default", ":", "gcc_unreachable", "(", ")", ";", "case", "E_V32QImode", ":", "extract", "=", "gen_avx_vextractf128v32qi", ";", "mode", "=", "V16QImode", ";", "break", ";", "case", "E_V16HFmode", ":", "extract", "=", "gen_avx_vextractf128v16hf", ";", "mode", "=", "V8HFmode", ";", "break", ";", "case", "E_V8SFmode", ":", "extract", "=", "gen_avx_vextractf128v8sf", ";", "mode", "=", "V4SFmode", ";", "break", ";", "case", "E_V4DFmode", ":", "extract", "=", "gen_avx_vextractf128v4df", ";", "mode", "=", "V2DFmode", ";", "break", ";", "}", "if", "(", "MEM_P", "(", "op1", ")", ")", "{", "rtx", "r", "=", "gen_reg_rtx", "(", "mode", ")", ";", "m", "=", "adjust_address", "(", "op1", ",", "mode", ",", "0", ")", ";", "emit_move_insn", "(", "r", ",", "m", ")", ";", "m", "=", "adjust_address", "(", "op1", ",", "mode", ",", "16", ")", ";", "r", "=", "gen_rtx_VEC_CONCAT", "(", "GET_MODE", "(", "op0", ")", ",", "r", ",", "m", ")", ";", "emit_move_insn", "(", "op0", ",", "r", ")", ";", "}", "else", "if", "(", "MEM_P", "(", "op0", ")", ")", "{", "m", "=", "adjust_address", "(", "op0", ",", "mode", ",", "0", ")", ";", "emit_insn", "(", "extract", "(", "m", ",", "op1", ",", "const0_rtx", ")", ")", ";", "m", "=", "adjust_address", "(", "op0", ",", "mode", ",", "16", ")", ";", "emit_insn", "(", "extract", "(", "m", ",", "copy_rtx", "(", "op1", ")", ",", "const1_rtx", ")", ")", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "if", "(", "orig_op0", ")", "emit_move_insn", "(", "orig_op0", ",", "gen_lowpart", "(", "GET_MODE", "(", "orig_op0", ")", ",", "op0", ")", ")", ";", "}", ""], "natrual_language": ["Split", "32-byte", "AVX", "unaligned", "load", "and", "store", "if", "needed", "."], "TS_V_token": ["i386", "0", "16", "0", "16"], "File": "i386-expand", "Func": "ix86_avx256_split_vector_move_misalign", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1110, "Length": 373, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "printPCRelImm", "(", "const", "MCInst", "*", "MI", ",", "uint64_t", ",", "unsigned", "OpNo", ",", "raw_ostream", "&", "O", ")", "{", "printPCRelImm", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "}", ""], "natrual_language": ["value", "(", "e.g", "."], "TS_V_token": ["MCS51"], "File": "MCS51InstPrinter", "Func": "printPCRelImm", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1111, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MachineConstPropagator", "::", "run", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "MF", ".", "print", "(", "dbgs", "(", ")", "<<", "\"Starting MachineConstPropagator\\n\"", ",", "nullptr", ")", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "Cells", ".", "clear", "(", ")", ";", "EdgeExec", ".", "clear", "(", ")", ";", "InstrExec", ".", "clear", "(", ")", ";", "assert", "(", "FlowQ", ".", "empty", "(", ")", ")", ";", "propagate", "(", "MF", ")", ";", "bool", "Changed", "=", "rewrite", "(", "MF", ")", ";", "LLVM_DEBUG", "(", "{", "dbgs", "(", ")", "<<", "\"End of MachineConstPropagator (Changed=\"", "<<", "Changed", "<<", "\")\\n\"", ";", "if", "(", "Changed", ")", "MF", ".", "print", "(", "dbgs", "(", ")", ",", "nullptr", ")", ";", "}", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["Run", "the", "analysis", "pass", "over", "a", "function", "and", "produce", "a", "dominator", "tree", "."], "TS_V_token": ["Hexagon", "\"Starting MachineConstPropagator\\n\"", "\"End of MachineConstPropagator (Changed=\"", "\")\\n\""], "File": "HexagonConstPropagation10", "Func": "run", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1112, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MSP430TargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "SDLoc", "dl", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "if", "(", "CallConv", "==", "CallingConv", "::", "MSP430_INTR", "&&", "!", "Outs", ".", "empty", "(", ")", ")", "report_fatal_error", "(", "\"ISRs cannot return any value\"", ")", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "AnalyzeReturnValues", "(", "CCInfo", ",", "RVLocs", ",", "Outs", ")", ";", "SDValue", "Flag", ";", "SmallVector", "<", "SDValue", ",", "4", ">", "RetOps", "(", "1", ",", "Chain", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Can only return in registers!\"", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "OutVals", "[", "i", "]", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "VA", ".", "getLocReg", "(", ")", ",", "VA", ".", "getLocVT", "(", ")", ")", ")", ";", "}", "unsigned", "Opc", "=", "(", "CallConv", "==", "CallingConv", "::", "MSP430_INTR", "?", "MSP430ISD", "::", "RETI_FLAG", ":", "MSP430ISD", "::", "RET_FLAG", ")", ";", "RetOps", "[", "0", "]", "=", "Chain", ";", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "RetOps", ".", "push_back", "(", "Flag", ")", ";", "return", "DAG", ".", "getNode", "(", "Opc", ",", "dl", ",", "MVT", "::", "Other", ",", "RetOps", ")", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "outgoing", "return", "values", ",", "described", "by", "the", "Outs", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["MSP430", "MSP430", "ISD::OutputArg", "16", "MSP430", "\"ISRs cannot return any value\"", "4", "1", "0", "\"Can only return in registers!\"", "1", "MSP430", "MSP430ISD::RETI_FLAG", "MSP430ISD::RET_FLAG", "0", "MVT::Other"], "File": "MSP430ISelLowering2", "Func": "LowerReturn", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1113, "Length": 276, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PatmosFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetInstrInfo", "*", "TII", "=", "STC", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "MachineInstr", "*", "MI", "=", "emitSTC", "(", "MF", ",", "MBB", ",", "MBBI", ",", "Patmos", "::", "SFREEi", ")", ";", "if", "(", "MI", ")", "MI", "->", "setFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "unsigned", "stackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "stackSize", ")", "{", "if", "(", "stackSize", "<=", "0xFFF", ")", "{", "MachineInstr", "*", "MI", "=", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", "->", "get", "(", "Patmos", "::", "ADDi", ")", ",", "Patmos", "::", "RSP", ")", ")", ".", "addReg", "(", "Patmos", "::", "RSP", ")", ".", "addImm", "(", "stackSize", ")", ";", "MI", "->", "setFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "else", "{", "MachineInstr", "*", "MI", "=", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", "->", "get", "(", "Patmos", "::", "ADDl", ")", ",", "Patmos", "::", "RSP", ")", ")", ".", "addReg", "(", "Patmos", "::", "RSP", ")", ".", "addImm", "(", "stackSize", ")", ";", "MI", "->", "setFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Patmos", "Patmos", "Patmos::SFREEi", "0xFFF", "Patmos::ADDi", "Patmos::RSP", "Patmos::RSP", "Patmos::ADDl", "Patmos::RSP", "Patmos::RSP"], "File": "PatmosFrameLowering1", "Func": "emitEpilogue", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 1114, "Length": 213, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PatmosSubtarget", "::", "enablePostRAScheduler", "(", ")", "const", "{", "return", "hasPostRAScheduler", "(", "OptLevel", ")", ";", "}", ""], "natrual_language": ["True", "if", "the", "subtarget", "should", "run", "a", "scheduler", "after", "register", "allocation", "."], "TS_V_token": ["Patmos", "Patmos"], "File": "PatmosSubtarget1", "Func": "enablePostRAScheduler", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 1115, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "applyMnemonicAliases", "(", "Name", ",", "getAvailableFeatures", "(", ")", ",", "getMAIAssemblerDialect", "(", ")", ")", ";", "Operands", ".", "push_back", "(", "SystemZOperand", "::", "createToken", "(", "Name", ",", "NameLoc", ")", ")", ";", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "if", "(", "parseOperand", "(", "Operands", ",", "Name", ")", ")", "{", "return", "true", ";", "}", "while", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "isParsingHLASM", "(", ")", "&&", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Space", ")", ")", "return", "Error", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ",", "\"No space allowed between comma that separates operand entries\"", ")", ";", "if", "(", "parseOperand", "(", "Operands", ",", "Name", ")", ")", "{", "return", "true", ";", "}", "}", "if", "(", "isParsingHLASM", "(", ")", "&&", "getTok", "(", ")", ".", "is", "(", "AsmToken", "::", "Space", ")", ")", "{", "StringRef", "Remark", "(", "getLexer", "(", ")", ".", "LexUntilEndOfStatement", "(", ")", ")", ";", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "Remark", ".", "size", "(", ")", ")", "getStreamer", "(", ")", ".", "AddComment", "(", "Remark", ")", ";", "}", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "return", "Error", "(", "Loc", ",", "\"unexpected token in argument list\"", ")", ";", "}", "}", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "\"No space allowed between comma that separates operand entries\"", "\"unexpected token in argument list\""], "File": "SystemZAsmParser1", "Func": "ParseInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1116, "Length": 242, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_process_one_target_attr", "(", "char", "*", "arg_str", ",", "const", "char", "*", "pragma_or_attr", ")", "{", "bool", "invert", "=", "false", ";", "size_t", "len", "=", "strlen", "(", "arg_str", ")", ";", "if", "(", "len", "==", "0", ")", "{", "error", "(", "\"malformed target %s\"", ",", "pragma_or_attr", ")", ";", "return", "false", ";", "}", "char", "*", "str_to_check", "=", "(", "char", "*", ")", "alloca", "(", "len", "+", "1", ")", ";", "strcpy", "(", "str_to_check", ",", "arg_str", ")", ";", "while", "(", "*", "str_to_check", "==", "' '", "||", "*", "str_to_check", "==", "'\\t'", ")", "str_to_check", "++", ";", "if", "(", "*", "str_to_check", "==", "'+'", ")", "return", "aarch64_handle_attr_isa_flags", "(", "str_to_check", ",", "pragma_or_attr", ")", ";", "if", "(", "len", ">", "3", "&&", "strncmp", "(", "str_to_check", ",", "\"no-\"", ",", "3", ")", "==", "0", ")", "{", "invert", "=", "true", ";", "str_to_check", "+=", "3", ";", "}", "char", "*", "arg", "=", "strchr", "(", "str_to_check", ",", "'='", ")", ";", "if", "(", "arg", ")", "{", "*", "arg", "=", "'\\0'", ";", "arg", "++", ";", "}", "const", "struct", "aarch64_attribute_info", "*", "p_attr", ";", "bool", "found", "=", "false", ";", "for", "(", "p_attr", "=", "aarch64_attributes", ";", "p_attr", "->", "name", ";", "p_attr", "++", ")", "{", "if", "(", "strcmp", "(", "str_to_check", ",", "p_attr", "->", "name", ")", "!=", "0", ")", "continue", ";", "found", "=", "true", ";", "bool", "attr_need_arg_p", "=", "p_attr", "->", "attr_type", "==", "aarch64_attr_custom", "||", "p_attr", "->", "attr_type", "==", "aarch64_attr_enum", ";", "if", "(", "attr_need_arg_p", "^", "(", "arg", "!=", "NULL", ")", ")", "{", "error", "(", "\"target %s %qs does not accept an argument\"", ",", "pragma_or_attr", ",", "str_to_check", ")", ";", "return", "false", ";", "}", "if", "(", "invert", "&&", "!", "p_attr", "->", "allow_neg", ")", "{", "error", "(", "\"target %s %qs does not allow a negated form\"", ",", "pragma_or_attr", ",", "str_to_check", ")", ";", "return", "false", ";", "}", "switch", "(", "p_attr", "->", "attr_type", ")", "{", "case", "aarch64_attr_custom", ":", "gcc_assert", "(", "p_attr", "->", "handler", ")", ";", "if", "(", "!", "p_attr", "->", "handler", "(", "arg", ",", "pragma_or_attr", ")", ")", "return", "false", ";", "break", ";", "case", "aarch64_attr_bool", ":", "{", "struct", "cl_decoded_option", "decoded", ";", "generate_option", "(", "p_attr", "->", "opt_num", ",", "NULL", ",", "!", "invert", ",", "CL_TARGET", ",", "&", "decoded", ")", ";", "aarch64_handle_option", "(", "&", "global_options", ",", "&", "global_options_set", ",", "&", "decoded", ",", "input_location", ")", ";", "break", ";", "}", "case", "aarch64_attr_mask", ":", "{", "struct", "cl_decoded_option", "decoded", ";", "decoded", ".", "opt_index", "=", "p_attr", "->", "opt_num", ";", "decoded", ".", "value", "=", "!", "invert", ";", "aarch64_handle_option", "(", "&", "global_options", ",", "&", "global_options_set", ",", "&", "decoded", ",", "input_location", ")", ";", "break", ";", "}", "case", "aarch64_attr_enum", ":", "{", "gcc_assert", "(", "arg", ")", ";", "bool", "valid", ";", "int", "value", ";", "valid", "=", "opt_enum_arg_to_value", "(", "p_attr", "->", "opt_num", ",", "arg", ",", "&", "value", ",", "CL_TARGET", ")", ";", "if", "(", "valid", ")", "{", "set_option", "(", "&", "global_options", ",", "NULL", ",", "p_attr", "->", "opt_num", ",", "value", ",", "NULL", ",", "DK_UNSPECIFIED", ",", "input_location", ",", "global_dc", ")", ";", "}", "else", "{", "error", "(", "\"target %s %s=%s is not valid\"", ",", "pragma_or_attr", ",", "str_to_check", ",", "arg", ")", ";", "}", "break", ";", "}", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "return", "found", ";", "}", ""], "natrual_language": ["Parse", "ARG_STR", "which", "contains", "the", "definition", "of", "one", "target", "attribute", ".", "Show", "appropriate", "errors", "if", "any", "or", "return", "true", "if", "the", "attribute", "is", "valid", ".", "PRAGMA_OR_ATTR", "holds", "the", "string", "to", "use", "in", "error", "messages", "about", "whether", "we", "'re", "processing", "a", "target", "attribute", "or", "pragma", "."], "TS_V_token": ["aarch64", "0", "\"malformed target %s\"", "1", "3", "\"no-\"", "3", "0", "3", "0", "\"target %s %qs does not accept an argument\"", "\"target %s %qs does not allow a negated form\"", "\"target %s %s=%s is not valid\""], "File": "aarch643", "Func": "aarch64_process_one_target_attr", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1117, "Length": 459, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "CCAssignFn", "*", "AArch64TargetLowering", "::", "CCAssignFnForCall", "(", "CallingConv", "::", "ID", "CC", ",", "bool", "IsVarArg", ")", "const", "{", "switch", "(", "CC", ")", "{", "default", ":", "report_fatal_error", "(", "\"Unsupported calling convention.\"", ")", ";", "case", "CallingConv", "::", "AArch64_SVE_VectorCall", ":", "report_fatal_error", "(", "\"Unsupported calling convention.\"", ")", ";", "case", "CallingConv", "::", "WebKit_JS", ":", "return", "CC_AArch64_WebKit_JS", ";", "case", "CallingConv", "::", "GHC", ":", "return", "CC_AArch64_GHC", ";", "case", "CallingConv", "::", "C", ":", "case", "CallingConv", "::", "Fast", ":", "case", "CallingConv", "::", "PreserveMost", ":", "case", "CallingConv", "::", "CXX_FAST_TLS", ":", "case", "CallingConv", "::", "Swift", ":", "if", "(", "Subtarget", "->", "isTargetWindows", "(", ")", "&&", "IsVarArg", ")", "return", "CC_AArch64_Win64_VarArg", ";", "if", "(", "!", "Subtarget", "->", "isTargetDarwin", "(", ")", ")", "return", "CC_AArch64_AAPCS", ";", "if", "(", "!", "IsVarArg", ")", "return", "CC_AArch64_DarwinPCS", ";", "return", "Subtarget", "->", "isTargetILP32", "(", ")", "?", "CC_AArch64_DarwinPCS_ILP32_VarArg", ":", "CC_AArch64_DarwinPCS_VarArg", ";", "case", "CallingConv", "::", "Win64", ":", "return", "IsVarArg", "?", "CC_AArch64_Win64_VarArg", ":", "CC_AArch64_AAPCS", ";", "case", "CallingConv", "::", "CFGuard_Check", ":", "return", "CC_AArch64_Win64_CFGuard_Check", ";", "case", "CallingConv", "::", "AArch64_VectorCall", ":", "return", "CC_AArch64_AAPCS", ";", "}", "}", ""], "natrual_language": ["Selects", "the", "correct", "CCAssignFn", "for", "a", "given", "CallingConvention", "value", "."], "TS_V_token": ["AArch64", "AArch64", "\"Unsupported calling convention.\"", "AArch64", "\"Unsupported calling convention.\"", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64ISelLowering (2)3", "Func": "CCAssignFnForCall", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1118, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_push_regs", "(", "unsigned", "regno1", ",", "unsigned", "regno2", ",", "HOST_WIDE_INT", "adjustment", ")", "{", "rtx_insn", "*", "insn", ";", "machine_mode", "mode", "=", "(", "regno1", "<=", "R30_REGNUM", ")", "?", "DImode", ":", "DFmode", ";", "if", "(", "regno2", "==", "INVALID_REGNUM", ")", "return", "aarch64_pushwb_single_reg", "(", "mode", ",", "regno1", ",", "adjustment", ")", ";", "rtx", "reg1", "=", "gen_rtx_REG", "(", "mode", ",", "regno1", ")", ";", "rtx", "reg2", "=", "gen_rtx_REG", "(", "mode", ",", "regno2", ")", ";", "insn", "=", "emit_insn", "(", "aarch64_gen_storewb_pair", "(", "mode", ",", "stack_pointer_rtx", ",", "reg1", ",", "reg2", ",", "adjustment", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "XVECEXP", "(", "PATTERN", "(", "insn", ")", ",", "0", ",", "2", ")", ")", "=", "1", ";", "RTX_FRAME_RELATED_P", "(", "XVECEXP", "(", "PATTERN", "(", "insn", ")", ",", "0", ",", "1", ")", ")", "=", "1", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", ""], "natrual_language": ["Push", "registers", "numbered", "REGNO1", "and", "REGNO2", "to", "the", "stack", ",", "adjusting", "the", "stack", "pointer", "by", "ADJUSTMENT", "."], "TS_V_token": ["aarch64", "0", "2", "1", "0", "1", "1", "1"], "File": "aarch644", "Func": "aarch64_push_regs", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1119, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "GCNPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "const", "AMDGPUSubtarget", "&", "ST", "=", "*", "getAMDGPUTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", ";", "if", "(", "getOptLevel", "(", ")", ">", "CodeGenOpt", "::", "None", ")", "{", "insertPass", "(", "&", "MachineSchedulerID", ",", "&", "SIFixControlFlowLiveIntervalsID", ")", ";", "}", "if", "(", "getOptLevel", "(", ")", ">", "CodeGenOpt", "::", "None", "&&", "ST", ".", "loadStoreOptEnabled", "(", ")", ")", "{", "insertPass", "(", "&", "MachineSchedulerID", ",", "&", "SILoadStoreOptimizerID", ")", ";", "insertPass", "(", "&", "MachineSchedulerID", ",", "&", "RegisterCoalescerID", ")", ";", "}", "addPass", "(", "createSIShrinkInstructionsPass", "(", ")", ",", "false", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU", "SI", "SI", "SI"], "File": "AMDGPUTargetMachine (2)", "Func": "addPreRegAlloc", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1120, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ATTRIBUTE_UNUSED", "loongarch_output_dwarf_dtprel", "(", "FILE", "*", "file", ",", "int", "size", ",", "rtx", "x", ")", "{", "switch", "(", "size", ")", "{", "case", "4", ":", "fputs", "(", "\"\\t.dtprelword\\t\"", ",", "file", ")", ";", "break", ";", "case", "8", ":", "fputs", "(", "\"\\t.dtpreldword\\t\"", ",", "file", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "output_addr_const", "(", "file", ",", "x", ")", ";", "fputs", "(", "\"+0x8000\"", ",", "file", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_OUTPUT_DWARF_DTPREL", "."], "TS_V_token": ["loongarch", "4", "\"\\t.dtprelword\\t\"", "8", "\"\\t.dtpreldword\\t\"", "\"+0x8000\""], "File": "loongarch", "Func": "loongarch_output_dwarf_dtprel", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1121, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMConstantIslands", "::", "isBBInRange", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "DestBB", ",", "unsigned", "MaxDisp", ")", "{", "unsigned", "PCAdj", "=", "isThumb", "?", "4", ":", "8", ";", "unsigned", "BrOffset", "=", "getOffsetOf", "(", "MI", ")", "+", "PCAdj", ";", "unsigned", "DestOffset", "=", "BBInfo", "[", "DestBB", "->", "getNumber", "(", ")", "]", ".", "Offset", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Branch of destination \"", "<<", "printMBBReference", "(", "*", "DestBB", ")", "<<", "\" from \"", "<<", "printMBBReference", "(", "*", "MI", "->", "getParent", "(", ")", ")", "<<", "\" max delta=\"", "<<", "MaxDisp", "<<", "\" from \"", "<<", "getOffsetOf", "(", "MI", ")", "<<", "\" to \"", "<<", "DestOffset", "<<", "\" offset \"", "<<", "int", "(", "DestOffset", "-", "BrOffset", ")", "<<", "\"\\t\"", "<<", "*", "MI", ")", ";", "if", "(", "BrOffset", "<=", "DestOffset", ")", "{", "if", "(", "DestOffset", "-", "BrOffset", "<=", "MaxDisp", ")", "return", "true", ";", "}", "else", "{", "if", "(", "BrOffset", "-", "DestOffset", "<=", "MaxDisp", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["isBBInRange", "-", "Returns", "true", "if", "the", "distance", "between", "specific", "MI", "and", "specific", "BB", "can", "fit", "in", "MI", "'s", "displacement", "field", "."], "TS_V_token": ["ARM", "ARM", "4", "8", "\"Branch of destination \"", "\" from \"", "\" max delta=\"", "\" from \"", "\" to \"", "\" offset \"", "\"\\t\""], "File": "ARMConstantIslandPass", "Func": "isBBInRange", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1122, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TVMTargetLowering", "::", "CanLowerReturn", "(", "CallingConv", "::", "ID", ",", "MachineFunction", "&", ",", "bool", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", ",", "LLVMContext", "&", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["This", "hook", "should", "be", "implemented", "to", "check", "whether", "the", "return", "values", "described", "by", "the", "Outs", "array", "can", "fit", "into", "the", "return", "registers", "."], "TS_V_token": ["TVM", "TVM", "ISD::OutputArg"], "File": "TVMISelLowering", "Func": "CanLowerReturn", "Target": "TVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1123, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "Region", "*", "getRegionFor", "(", "const", "MachineBasicBlock", "*", "MBB", ")", "{", "const", "auto", "*", "ML", "=", "MLI", ".", "getLoopFor", "(", "MBB", ")", ";", "const", "auto", "*", "WE", "=", "WEI", ".", "getExceptionFor", "(", "MBB", ")", ";", "if", "(", "!", "ML", "&&", "!", "WE", ")", "return", "nullptr", ";", "if", "(", "(", "ML", "&&", "!", "WE", ")", "||", "(", "ML", "&&", "WE", "&&", "ML", "->", "getNumBlocks", "(", ")", "<", "WE", "->", "getNumBlocks", "(", ")", ")", ")", "{", "if", "(", "LoopMap", ".", "count", "(", "ML", ")", ")", "return", "LoopMap", "[", "ML", "]", ".", "get", "(", ")", ";", "LoopMap", "[", "ML", "]", "=", "std", "::", "make_unique", "<", "ConcreteRegion", "<", "MachineLoop", ">>", "(", "ML", ")", ";", "return", "LoopMap", "[", "ML", "]", ".", "get", "(", ")", ";", "}", "else", "{", "if", "(", "ExceptionMap", ".", "count", "(", "WE", ")", ")", "return", "ExceptionMap", "[", "WE", "]", ".", "get", "(", ")", ";", "ExceptionMap", "[", "WE", "]", "=", "std", "::", "make_unique", "<", "ConcreteRegion", "<", "WebAssemblyException", ">>", "(", "WE", ")", ";", "return", "ExceptionMap", "[", "WE", "]", ".", "get", "(", ")", ";", "}", "}", ""], "natrual_language": ["Get", "the", "smallest", "region", "that", "contains", "a", "BasicBlock", "."], "TS_V_token": ["WebAssembly", "WebAssembly"], "File": "WebAssemblyCFGSort15", "Func": "getRegionFor", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1124, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AlphaInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "RC", "==", "Alpha", "::", "F4RCRegisterClass", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Alpha", "::", "STS", ")", ")", ".", "addReg", "(", "SrcReg", ",", "false", ",", "false", ",", "isKill", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "Alpha", "::", "F31", ")", ";", "else", "if", "(", "RC", "==", "Alpha", "::", "F8RCRegisterClass", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Alpha", "::", "STT", ")", ")", ".", "addReg", "(", "SrcReg", ",", "false", ",", "false", ",", "isKill", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "Alpha", "::", "F31", ")", ";", "else", "if", "(", "RC", "==", "Alpha", "::", "GPRCRegisterClass", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Alpha", "::", "STQ", ")", ")", ".", "addReg", "(", "SrcReg", ",", "false", ",", "false", ",", "isKill", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "Alpha", "::", "F31", ")", ";", "else", "abort", "(", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["Alpha", "Alpha", "Alpha::F4RCRegisterClass", "Alpha::STS", "Alpha::F31", "Alpha::F8RCRegisterClass", "Alpha::STT", "Alpha::F31", "Alpha::GPRCRegisterClass", "Alpha::STQ", "Alpha::F31"], "File": "AlphaInstrInfo6", "Func": "storeRegToStackSlot", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1125, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nvptx_globalize_label", "(", "FILE", "*", ",", "const", "char", "*", ")", "{", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_GLOBALIZE_LABEL", "by", "doing", "nothing", "."], "TS_V_token": ["nvptx"], "File": "nvptx", "Func": "nvptx_globalize_label", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 1126, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "neon_split_vcombine", "(", "rtx", "operands", "[", "3", "]", ")", "{", "unsigned", "int", "dest", "=", "REGNO", "(", "operands", "[", "0", "]", ")", ";", "unsigned", "int", "src1", "=", "REGNO", "(", "operands", "[", "1", "]", ")", ";", "unsigned", "int", "src2", "=", "REGNO", "(", "operands", "[", "2", "]", ")", ";", "machine_mode", "halfmode", "=", "GET_MODE", "(", "operands", "[", "1", "]", ")", ";", "unsigned", "int", "halfregs", "=", "REG_NREGS", "(", "operands", "[", "1", "]", ")", ";", "rtx", "destlo", ",", "desthi", ";", "if", "(", "src1", "==", "dest", "&&", "src2", "==", "dest", "+", "halfregs", ")", "{", "emit_note", "(", "NOTE_INSN_DELETED", ")", ";", "return", ";", "}", "destlo", "=", "gen_rtx_REG_offset", "(", "operands", "[", "0", "]", ",", "halfmode", ",", "dest", ",", "0", ")", ";", "desthi", "=", "gen_rtx_REG_offset", "(", "operands", "[", "0", "]", ",", "halfmode", ",", "dest", "+", "halfregs", ",", "GET_MODE_SIZE", "(", "halfmode", ")", ")", ";", "if", "(", "src2", "==", "dest", "&&", "src1", "==", "dest", "+", "halfregs", ")", "{", "rtx", "x", "=", "gen_rtx_SET", "(", "destlo", ",", "operands", "[", "1", "]", ")", ";", "rtx", "y", "=", "gen_rtx_SET", "(", "desthi", ",", "operands", "[", "2", "]", ")", ";", "emit_insn", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "x", ",", "y", ")", ")", ")", ";", "return", ";", "}", "if", "(", "!", "reg_overlap_mentioned_p", "(", "operands", "[", "2", "]", ",", "destlo", ")", ")", "{", "if", "(", "src1", "!=", "dest", ")", "emit_move_insn", "(", "destlo", ",", "operands", "[", "1", "]", ")", ";", "if", "(", "src2", "!=", "dest", "+", "halfregs", ")", "emit_move_insn", "(", "desthi", ",", "operands", "[", "2", "]", ")", ";", "}", "else", "{", "if", "(", "src2", "!=", "dest", "+", "halfregs", ")", "emit_move_insn", "(", "desthi", ",", "operands", "[", "2", "]", ")", ";", "if", "(", "src1", "!=", "dest", ")", "emit_move_insn", "(", "destlo", ",", "operands", "[", "1", "]", ")", ";", "}", "}", ""], "natrual_language": ["Split", "operands", "into", "moves", "from", "op", "[", "1", "]", "+", "op", "[", "2", "]", "into", "op", "[", "0", "]", "."], "TS_V_token": ["arm", "3", "0", "1", "2", "1", "1", "0", "0", "0", "1", "2", "2", "2", "1", "2", "2", "1"], "File": "arm", "Func": "neon_split_vcombine", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1127, "Length": 278, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arc_address_cost", "(", "rtx", "addr", ",", "machine_mode", ",", "addr_space_t", ",", "bool", "speed", ")", "{", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "case", "REG", ":", "return", "speed", "||", "satisfies_constraint_Rcq", "(", "addr", ")", "?", "0", ":", "1", ";", "case", "PRE_INC", ":", "case", "PRE_DEC", ":", "case", "POST_INC", ":", "case", "POST_DEC", ":", "case", "PRE_MODIFY", ":", "case", "POST_MODIFY", ":", "return", "!", "speed", ";", "case", "LABEL_REF", ":", "case", "SYMBOL_REF", ":", "case", "CONST", ":", "if", "(", "TARGET_NPS_CMEM", "&&", "cmem_address", "(", "addr", ",", "SImode", ")", ")", "return", "0", ";", "return", "COSTS_N_INSNS", "(", "1", ")", ";", "case", "PLUS", ":", "{", "register", "rtx", "plus0", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "register", "rtx", "plus1", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "plus0", ")", "!=", "REG", "&&", "(", "GET_CODE", "(", "plus0", ")", "!=", "MULT", "||", "!", "CONST_INT_P", "(", "XEXP", "(", "plus0", ",", "1", ")", ")", "||", "(", "INTVAL", "(", "XEXP", "(", "plus0", ",", "1", ")", ")", "!=", "2", "&&", "INTVAL", "(", "XEXP", "(", "plus0", ",", "1", ")", ")", "!=", "4", ")", ")", ")", "break", ";", "switch", "(", "GET_CODE", "(", "plus1", ")", ")", "{", "case", "CONST_INT", ":", "return", "(", "!", "RTX_OK_FOR_OFFSET_P", "(", "SImode", ",", "plus1", ")", "?", "COSTS_N_INSNS", "(", "1", ")", ":", "speed", "?", "0", ":", "(", "satisfies_constraint_Rcq", "(", "plus0", ")", "&&", "satisfies_constraint_O", "(", "plus1", ")", ")", "?", "0", ":", "1", ")", ";", "case", "REG", ":", "return", "(", "speed", "<", "1", "?", "0", ":", "(", "satisfies_constraint_Rcq", "(", "plus0", ")", "&&", "satisfies_constraint_Rcq", "(", "plus1", ")", ")", "?", "0", ":", "1", ")", ";", "case", "CONST", ":", "case", "SYMBOL_REF", ":", "case", "LABEL_REF", ":", "return", "COSTS_N_INSNS", "(", "1", ")", ";", "default", ":", "break", ";", "}", "break", ";", "}", "default", ":", "break", ";", "}", "return", "4", ";", "}", ""], "natrual_language": ["Provide", "the", "costs", "of", "an", "addressing", "mode", "that", "contains", "ADDR", ".", "If", "ADDR", "is", "not", "a", "valid", "address", ",", "its", "cost", "is", "irrelevant", "."], "TS_V_token": ["arc", "0", "1", "0", "1", "0", "1", "1", "1", "2", "1", "4", "1", "0", "0", "1", "1", "0", "0", "1", "1", "4"], "File": "arc6", "Func": "arc_address_cost", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1128, "Length": 278, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSymbol", "*", "TLCS900MCInstLower", "::", "GetExternalSymbolSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", "{", "switch", "(", "MO", ".", "getTargetFlags", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown target flag on GV operand\"", ")", ";", "case", "0", ":", "break", ";", "}", "return", "Printer", ".", "GetExternalSymbolSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "MCSymbol", "for", "the", "specified", "ExternalSymbol", "."], "TS_V_token": ["TLCS900", "TLCS900", "\"Unknown target flag on GV operand\"", "0"], "File": "TLCS900MCInstLower", "Func": "GetExternalSymbolSymbol", "Target": "TLCS900", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1129, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "avr_out_cpymem", "(", "rtx_insn", "*", "insn", "ATTRIBUTE_UNUSED", ",", "rtx", "*", "op", ",", "int", "*", "plen", ")", "{", "addr_space_t", "as", "=", "(", "addr_space_t", ")", "INTVAL", "(", "op", "[", "0", "]", ")", ";", "machine_mode", "loop_mode", "=", "GET_MODE", "(", "op", "[", "1", "]", ")", ";", "bool", "sbiw_p", "=", "test_hard_reg_class", "(", "ADDW_REGS", ",", "op", "[", "1", "]", ")", ";", "rtx", "xop", "[", "3", "]", ";", "if", "(", "plen", ")", "*", "plen", "=", "0", ";", "xop", "[", "0", "]", "=", "op", "[", "0", "]", ";", "xop", "[", "1", "]", "=", "op", "[", "1", "]", ";", "xop", "[", "2", "]", "=", "tmp_reg_rtx", ";", "avr_asm_len", "(", "\"0:\"", ",", "xop", ",", "plen", ",", "0", ")", ";", "switch", "(", "as", ")", "{", "default", ":", "gcc_unreachable", "(", ")", ";", "case", "ADDR_SPACE_GENERIC", ":", "avr_asm_len", "(", "\"ld %2,Z+\"", ",", "xop", ",", "plen", ",", "1", ")", ";", "break", ";", "case", "ADDR_SPACE_FLASH", ":", "if", "(", "AVR_HAVE_LPMX", ")", "avr_asm_len", "(", "\"lpm %2,Z+\"", ",", "xop", ",", "plen", ",", "1", ")", ";", "else", "avr_asm_len", "(", "\"lpm\"", "CR_TAB", "\"adiw r30,1\"", ",", "xop", ",", "plen", ",", "2", ")", ";", "break", ";", "case", "ADDR_SPACE_FLASH1", ":", "case", "ADDR_SPACE_FLASH2", ":", "case", "ADDR_SPACE_FLASH3", ":", "case", "ADDR_SPACE_FLASH4", ":", "case", "ADDR_SPACE_FLASH5", ":", "if", "(", "AVR_HAVE_ELPMX", ")", "avr_asm_len", "(", "\"elpm %2,Z+\"", ",", "xop", ",", "plen", ",", "1", ")", ";", "else", "avr_asm_len", "(", "\"elpm\"", "CR_TAB", "\"adiw r30,1\"", ",", "xop", ",", "plen", ",", "2", ")", ";", "break", ";", "}", "avr_asm_len", "(", "\"st X+,%2\"", ",", "xop", ",", "plen", ",", "1", ")", ";", "if", "(", "QImode", "==", "loop_mode", ")", "{", "avr_asm_len", "(", "\"dec %1\"", ",", "xop", ",", "plen", ",", "1", ")", ";", "}", "else", "if", "(", "sbiw_p", ")", "{", "avr_asm_len", "(", "\"sbiw %1,1\"", ",", "xop", ",", "plen", ",", "1", ")", ";", "}", "else", "{", "avr_asm_len", "(", "\"subi %A1,1\"", "CR_TAB", "\"sbci %B1,0\"", ",", "xop", ",", "plen", ",", "2", ")", ";", "}", "return", "avr_asm_len", "(", "\"brne 0b\"", ",", "xop", ",", "plen", ",", "1", ")", ";", "}", ""], "natrual_language": ["Print", "assembler", "for", "cpymem_qi", ",", "cpymem_hi", "insns", "...", "$", "0", ":", "Address", "Space", "$", "1", ",", "$", "2", ":", "Loop", "register", "Z", ":", "Source", "address", "X", ":", "Destination", "address"], "TS_V_token": ["avr", "0", "1", "1", "3", "0", "0", "0", "1", "1", "2", "\"0:\"", "0", "\"ld %2,Z+\"", "1", "\"lpm %2,Z+\"", "1", "\"lpm\"", "\"adiw r30,1\"", "2", "\"elpm %2,Z+\"", "1", "\"elpm\"", "\"adiw r30,1\"", "2", "\"st X+,%2\"", "1", "\"dec %1\"", "1", "\"sbiw %1,1\"", "1", "\"subi %A1,1\"", "\"sbci %B1,0\"", "2", "\"brne 0b\"", "1"], "File": "avr", "Func": "avr_out_cpymem", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1130, "Length": 295, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "classof", "(", "const", "CAHPMCExpr", "*", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["Methods", "for", "support", "type", "inquiry", "through", "isa", ",", "cast", ",", "and", "dyn_cast", ":"], "TS_V_token": ["CAHP", "CAHP"], "File": "CAHPMCExpr", "Func": "classof", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1131, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86DAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "char", "ConstraintCode", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "SDValue", "Op0", ",", "Op1", ",", "Op2", ",", "Op3", ",", "Op4", ";", "switch", "(", "ConstraintCode", ")", "{", "case", "'o'", ":", "case", "'v'", ":", "default", ":", "return", "true", ";", "case", "'m'", ":", "if", "(", "!", "SelectAddr", "(", "nullptr", ",", "Op", ",", "Op0", ",", "Op1", ",", "Op2", ",", "Op3", ",", "Op4", ")", ")", "return", "true", ";", "break", ";", "}", "OutOps", ".", "push_back", "(", "Op0", ")", ";", "OutOps", ".", "push_back", "(", "Op1", ")", ";", "OutOps", ".", "push_back", "(", "Op2", ")", ";", "OutOps", ".", "push_back", "(", "Op3", ")", ";", "OutOps", ".", "push_back", "(", "Op4", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["SelectInlineAsmMemoryOperand", "-", "Select", "the", "specified", "address", "as", "a", "target", "addressing", "mode", ",", "according", "to", "the", "specified", "constraint", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelDAGToDAG100", "Func": "SelectInlineAsmMemoryOperand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1132, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcTargetMachine", "::", "addInstSelector", "(", "PassManagerBase", "&", "PM", ",", "bool", "Fast", ")", "{", "PM", ".", "add", "(", "createSparcISelDag", "(", "*", "this", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc"], "File": "SparcTargetMachine37", "Func": "addInstSelector", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1133, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_return_in_msb", "(", "tree", "valtype", ")", "{", "tree", "fields", "[", "2", "]", ";", "return", "(", "TARGET_NEWABI", "&&", "TARGET_BIG_ENDIAN", "&&", "AGGREGATE_TYPE_P", "(", "valtype", ")", "&&", "mips_fpr_return_fields", "(", "valtype", ",", "fields", ")", "==", "0", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_RETURN_IN_MSB", ".", "For", "n32", "&", "n64", ",", "we", "should", "return", "a", "value", "in", "the", "most", "significant", "part", "of", "$", "2/", "$", "3", "if", ":", "-", "the", "target", "is", "big-endian", ";", "-", "the", "value", "has", "a", "structure", "or", "union", "type", "(", "we", "generalize", "this", "to", "cover", "aggregates", "from", "other", "languages", "too", ")", ";", "and", "-", "the", "structure", "is", "not", "returned", "in", "floating-point", "registers", "."], "TS_V_token": ["mips", "2", "0"], "File": "mips3", "Func": "mips_return_in_msb", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1134, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "GBZ80InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "DestReg", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "dl", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "dl", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "RC", "==", "&", "GBZ80", "::", "GR8RegClass", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "dl", ",", "get", "(", "GBZ80", "::", "LD8rr", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addImm", "(", "0", ")", ";", "else", "if", "(", "RC", "==", "&", "GBZ80", "::", "GR16RegClass", "||", "GBZ80", "::", "GR16RegClass", ".", "contains", "(", "DestReg", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "dl", ",", "get", "(", "GBZ80", "::", "LD16rm", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addImm", "(", "0", ")", ";", "}", "else", "llvm_unreachable", "(", "\"Can't load this register from stack slot\"", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["GBZ80", "GB", "GBZ80::GR8RegClass", "GBZ80::LD8rr", "0", "GBZ80::GR16RegClass", "GBZ80::GR16RegClass", "GBZ80::LD16rm", "0", "\"Can't load this register from stack slot\""], "File": "GBZ80InstrInfo (2)", "Func": "loadRegFromStackSlot", "Target": "GBZ80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1135, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "make_resolver_func", "(", "const", "tree", "default_decl", ",", "const", "tree", "dispatch_decl", ",", "basic_block", "*", "empty_bb", ")", "{", "char", "*", "resolver_name", ";", "tree", "decl", ",", "type", ",", "decl_name", ",", "t", ";", "bool", "is_uniq", "=", "false", ";", "if", "(", "TREE_PUBLIC", "(", "default_decl", ")", "==", "0", ")", "is_uniq", "=", "true", ";", "resolver_name", "=", "make_name", "(", "default_decl", ",", "\"resolver\"", ",", "is_uniq", ")", ";", "type", "=", "build_function_type_list", "(", "ptr_type_node", ",", "NULL_TREE", ")", ";", "decl", "=", "build_fn_decl", "(", "resolver_name", ",", "type", ")", ";", "decl_name", "=", "get_identifier", "(", "resolver_name", ")", ";", "SET_DECL_ASSEMBLER_NAME", "(", "decl", ",", "decl_name", ")", ";", "DECL_NAME", "(", "decl", ")", "=", "decl_name", ";", "TREE_USED", "(", "decl", ")", "=", "1", ";", "DECL_ARTIFICIAL", "(", "decl", ")", "=", "1", ";", "DECL_IGNORED_P", "(", "decl", ")", "=", "0", ";", "TREE_PUBLIC", "(", "decl", ")", "=", "1", ";", "DECL_UNINLINABLE", "(", "decl", ")", "=", "1", ";", "DECL_EXTERNAL", "(", "decl", ")", "=", "0", ";", "DECL_EXTERNAL", "(", "dispatch_decl", ")", "=", "0", ";", "DECL_CONTEXT", "(", "decl", ")", "=", "NULL_TREE", ";", "DECL_INITIAL", "(", "decl", ")", "=", "make_node", "(", "BLOCK", ")", ";", "DECL_STATIC_CONSTRUCTOR", "(", "decl", ")", "=", "0", ";", "if", "(", "DECL_COMDAT_GROUP", "(", "default_decl", ")", "||", "TREE_PUBLIC", "(", "default_decl", ")", ")", "{", "DECL_COMDAT", "(", "decl", ")", "=", "1", ";", "make_decl_one_only", "(", "decl", ",", "DECL_ASSEMBLER_NAME", "(", "decl", ")", ")", ";", "}", "t", "=", "build_decl", "(", "UNKNOWN_LOCATION", ",", "RESULT_DECL", ",", "NULL_TREE", ",", "ptr_type_node", ")", ";", "DECL_ARTIFICIAL", "(", "t", ")", "=", "1", ";", "DECL_IGNORED_P", "(", "t", ")", "=", "1", ";", "DECL_RESULT", "(", "decl", ")", "=", "t", ";", "gimplify_function_tree", "(", "decl", ")", ";", "push_cfun", "(", "DECL_STRUCT_FUNCTION", "(", "decl", ")", ")", ";", "*", "empty_bb", "=", "init_lowered_empty_function", "(", "decl", ",", "false", ",", "0", ")", ";", "cgraph_node", "::", "add_new_function", "(", "decl", ",", "true", ")", ";", "symtab", "->", "call_cgraph_insertion_hooks", "(", "cgraph_node", "::", "get_create", "(", "decl", ")", ")", ";", "pop_cfun", "(", ")", ";", "gcc_assert", "(", "dispatch_decl", "!=", "NULL", ")", ";", "DECL_ATTRIBUTES", "(", "dispatch_decl", ")", "=", "make_attribute", "(", "\"ifunc\"", ",", "resolver_name", ",", "DECL_ATTRIBUTES", "(", "dispatch_decl", ")", ")", ";", "cgraph_node", "::", "create_same_body_alias", "(", "dispatch_decl", ",", "decl", ")", ";", "XDELETEVEC", "(", "resolver_name", ")", ";", "return", "decl", ";", "}", ""], "natrual_language": ["Make", "the", "resolver", "function", "decl", "to", "dispatch", "the", "versions", "of", "a", "multi-", "versioned", "function", ",", "DEFAULT_DECL", ".", "Create", "an", "empty", "basic", "block", "in", "the", "resolver", "and", "store", "the", "pointer", "in", "EMPTY_BB", ".", "Return", "the", "decl", "of", "the", "resolver", "function", "."], "TS_V_token": ["i386", "0", "\"resolver\"", "1", "1", "0", "1", "1", "0", "0", "0", "1", "1", "1", "0", "\"ifunc\""], "File": "i3864", "Func": "make_resolver_func", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1136, "Length": 328, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "GCNMaxOccupancySchedStrategy", "::", "pickNodeFromQueue", "(", "SchedBoundary", "&", "Zone", ",", "const", "CandPolicy", "&", "ZonePolicy", ",", "const", "RegPressureTracker", "&", "RPTracker", ",", "SchedCandidate", "&", "Cand", ")", "{", "const", "SISubtarget", "&", "ST", "=", "DAG", "->", "MF", ".", "getSubtarget", "<", "SISubtarget", ">", "(", ")", ";", "const", "SIRegisterInfo", "*", "SRI", "=", "static_cast", "<", "const", "SIRegisterInfo", "*", ">", "(", "TRI", ")", ";", "ArrayRef", "<", "unsigned", ">", "Pressure", "=", "RPTracker", ".", "getRegSetPressureAtPos", "(", ")", ";", "unsigned", "SGPRPressure", "=", "Pressure", "[", "SRI", "->", "getSGPRPressureSet", "(", ")", "]", ";", "unsigned", "VGPRPressure", "=", "Pressure", "[", "SRI", "->", "getVGPRPressureSet", "(", ")", "]", ";", "unsigned", "SGPRExcessLimit", "=", "Context", "->", "RegClassInfo", "->", "getNumAllocatableRegs", "(", "&", "AMDGPU", "::", "SGPR_32RegClass", ")", ";", "unsigned", "VGPRExcessLimit", "=", "Context", "->", "RegClassInfo", "->", "getNumAllocatableRegs", "(", "&", "AMDGPU", "::", "VGPR_32RegClass", ")", ";", "unsigned", "MaxWaves", "=", "getMaxWaves", "(", "SGPRPressure", ",", "VGPRPressure", ",", "DAG", "->", "MF", ")", ";", "unsigned", "SGPRCriticalLimit", "=", "SRI", "->", "getMaxNumSGPRs", "(", "ST", ",", "MaxWaves", ",", "true", ")", ";", "unsigned", "VGPRCriticalLimit", "=", "SRI", "->", "getMaxNumVGPRs", "(", "MaxWaves", ")", ";", "ReadyQueue", "&", "Q", "=", "Zone", ".", "Available", ";", "for", "(", "SUnit", "*", "SU", ":", "Q", ")", "{", "SchedCandidate", "TryCand", "(", "ZonePolicy", ")", ";", "initCandidate", "(", "TryCand", ",", "SU", ",", "Zone", ".", "isTop", "(", ")", ",", "RPTracker", ",", "SRI", ",", "SGPRPressure", ",", "VGPRPressure", ",", "SGPRExcessLimit", ",", "VGPRExcessLimit", ",", "SGPRCriticalLimit", ",", "VGPRCriticalLimit", ")", ";", "SchedBoundary", "*", "ZoneArg", "=", "Cand", ".", "AtTop", "==", "TryCand", ".", "AtTop", "?", "&", "Zone", ":", "nullptr", ";", "GenericScheduler", "::", "tryCandidate", "(", "Cand", ",", "TryCand", ",", "ZoneArg", ")", ";", "if", "(", "TryCand", ".", "Reason", "!=", "NoCand", ")", "{", "if", "(", "TryCand", ".", "ResDelta", "==", "SchedResourceDelta", "(", ")", ")", "TryCand", ".", "initResourceDelta", "(", "Zone", ".", "DAG", ",", "SchedModel", ")", ";", "Cand", ".", "setBest", "(", "TryCand", ")", ";", "}", "}", "}", ""], "natrual_language": ["Pick", "the", "best", "candidate", "from", "the", "queue", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "SI", "AMDGPU::SGPR_32RegClass", "AMDGPU::VGPR_32RegClass"], "File": "GCNSchedStrategy20", "Func": "pickNodeFromQueue", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1137, "Length": 279, "Cover_Rate": 1.0, "Template_token": []}
{"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": 1138, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86PassConfig", "::", "addPostRegAlloc", "(", ")", "{", "PM", "->", "add", "(", "createX86FloatingPointStackifierPass", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "after", "register", "allocation", "pass", "pipeline", "but", "before", "prolog-epilog", "insertion", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86TargetMachine87", "Func": "addPostRegAlloc", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1139, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WinEHStatePass", "::", "doFinalization", "(", "Module", "&", "M", ")", "{", "assert", "(", "TheModule", "==", "&", "M", ")", ";", "TheModule", "=", "nullptr", ";", "EHLinkRegistrationTy", "=", "nullptr", ";", "CXXEHRegistrationTy", "=", "nullptr", ";", "SEHRegistrationTy", "=", "nullptr", ";", "FrameEscape", "=", "nullptr", ";", "FrameRecover", "=", "nullptr", ";", "FrameAddress", "=", "nullptr", ";", "return", "false", ";", "}", ""], "natrual_language": ["doFinalization", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "any", "necessary", "clean", "up", "after", "all", "passes", "have", "run", "."], "TS_V_token": ["X86"], "File": "X86WinEHState (2)", "Func": "doFinalization", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1140, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMem", "(", ")", "const", "{", "return", "Kind", "==", "K_Memory", ";", "}", ""], "natrual_language": ["isMem", "-", "Is", "this", "a", "memory", "operand", "?"], "TS_V_token": ["Nyuzi"], "File": "NyuziAsmParser", "Func": "isMem", "Target": "Nyuzi", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1141, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"ARM Execution Dependency Fix\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "\"ARM Execution Dependency Fix\""], "File": "ARMTargetMachine14", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1142, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getReg", "(", ")", "const", "{", "assert", "(", "isReg", "(", ")", "&&", "\"Wrong CountValue accessor\"", ")", ";", "return", "Contents", ".", "R", ".", "Reg", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "associated", "with", "this", "edge", "."], "TS_V_token": ["Hexagon", "\"Wrong CountValue accessor\""], "File": "HexagonHardwareLoops", "Func": "getReg", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1143, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseRegisterInfo", "::", "isInlineAsmReadOnlyReg", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "PhysReg", ")", "const", "{", "const", "ARMSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "const", "ARMFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "markSuperRegs", "(", "Reserved", ",", "ARM", "::", "PC", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "getFramePointerReg", "(", "STI", ")", ")", ";", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "markSuperRegs", "(", "Reserved", ",", "BasePtr", ")", ";", "assert", "(", "checkAllSuperRegsMarked", "(", "Reserved", ")", ")", ";", "return", "Reserved", ".", "test", "(", "PhysReg", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "PhysReg", "can", "not", "be", "written", "to", "in", "inline", "asm", "statements", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM", "ARM::PC"], "File": "ARMBaseRegisterInfo11", "Func": "isInlineAsmReadOnlyReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1144, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "SPAdj", "==", "0", "&&", "\"Unexpected non-zero SPAdj value\"", ")", ";", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "const", "RISCVInstrInfo", "*", "TII", "=", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "DL", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "getIndex", "(", ")", ";", "Register", "FrameReg", ";", "int", "Offset", "=", "getFrameLowering", "(", "MF", ")", "->", "getFrameIndexReference", "(", "MF", ",", "FrameIndex", ",", "FrameReg", ")", ".", "getFixed", "(", ")", "+", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "1", ")", ".", "getImm", "(", ")", ";", "if", "(", "!", "isInt", "<", "32", ">", "(", "Offset", ")", ")", "{", "report_fatal_error", "(", "\"Frame offsets outside of the signed 32-bit range not supported\"", ")", ";", "}", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "bool", "FrameRegIsKill", "=", "false", ";", "if", "(", "!", "isInt", "<", "12", ">", "(", "Offset", ")", ")", "{", "assert", "(", "isInt", "<", "32", ">", "(", "Offset", ")", "&&", "\"Int32 expected\"", ")", ";", "Register", "ScratchReg", "=", "MRI", ".", "createVirtualRegister", "(", "&", "RISCV", "::", "GPRRegClass", ")", ";", "TII", "->", "movImm", "(", "MBB", ",", "II", ",", "DL", ",", "ScratchReg", ",", "Offset", ")", ";", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "TII", "->", "get", "(", "RISCV", "::", "ADD", ")", ",", "ScratchReg", ")", ".", "addReg", "(", "FrameReg", ")", ".", "addReg", "(", "ScratchReg", ",", "RegState", "::", "Kill", ")", ";", "Offset", "=", "0", ";", "FrameReg", "=", "ScratchReg", ";", "FrameRegIsKill", "=", "true", ";", "}", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "FrameReg", ",", "false", ",", "false", ",", "FrameRegIsKill", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "1", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["RISCV", "RISCV", "0", "\"Unexpected non-zero SPAdj value\"", "RISCV", "RISCV", "1", "32", "\"Frame offsets outside of the signed 32-bit range not supported\"", "12", "32", "\"Int32 expected\"", "RISCV::GPRRegClass", "RISCV::ADD", "0", "1"], "File": "RISCVRegisterInfo1", "Func": "eliminateFrameIndex", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1145, "Length": 308, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "riscv_mangle_type", "(", "const_tree", "type", ")", "{", "if", "(", "TREE_CODE", "(", "type", ")", "==", "REAL_TYPE", "&&", "TYPE_PRECISION", "(", "type", ")", "==", "16", ")", "return", "\"DF16_\"", ";", "if", "(", "TYPE_NAME", "(", "type", ")", "!=", "NULL", ")", "{", "const", "char", "*", "res", "=", "riscv_vector", "::", "mangle_builtin_type", "(", "type", ")", ";", "if", "(", "res", ")", "return", "res", ";", "}", "return", "NULL", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MANGLE_TYPE", "."], "TS_V_token": ["riscv", "16", "\"DF16_\"", "riscv_vector::mangle_builtin_type"], "File": "riscv1", "Func": "riscv_mangle_type", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1146, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMCallLowering", "::", "lowerFormalArguments", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Function", "&", "F", ",", "ArrayRef", "<", "unsigned", ">", "VRegs", ")", "const", "{", "auto", "&", "TLI", "=", "*", "getTLI", "<", "ARMTargetLowering", ">", "(", ")", ";", "auto", "Subtarget", "=", "TLI", ".", "getSubtarget", "(", ")", ";", "if", "(", "Subtarget", "->", "isThumb", "(", ")", ")", "return", "false", ";", "if", "(", "F", ".", "arg_empty", "(", ")", ")", "return", "true", ";", "if", "(", "F", ".", "isVarArg", "(", ")", ")", "return", "false", ";", "auto", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "auto", "&", "MBB", "=", "MIRBuilder", ".", "getMBB", "(", ")", ";", "auto", "DL", "=", "MF", ".", "getDataLayout", "(", ")", ";", "for", "(", "auto", "&", "Arg", ":", "F", ".", "args", "(", ")", ")", "if", "(", "!", "isSupportedType", "(", "DL", ",", "TLI", ",", "Arg", ".", "getType", "(", ")", ")", ")", "return", "false", ";", "CCAssignFn", "*", "AssignFn", "=", "TLI", ".", "CCAssignFnForCall", "(", "F", ".", "getCallingConv", "(", ")", ",", "F", ".", "isVarArg", "(", ")", ")", ";", "FormalArgHandler", "ArgHandler", "(", "MIRBuilder", ",", "MIRBuilder", ".", "getMF", "(", ")", ".", "getRegInfo", "(", ")", ",", "AssignFn", ")", ";", "SmallVector", "<", "ArgInfo", ",", "8", ">", "ArgInfos", ";", "SmallVector", "<", "unsigned", ",", "4", ">", "SplitRegs", ";", "unsigned", "Idx", "=", "0", ";", "for", "(", "auto", "&", "Arg", ":", "F", ".", "args", "(", ")", ")", "{", "ArgInfo", "AInfo", "(", "VRegs", "[", "Idx", "]", ",", "Arg", ".", "getType", "(", ")", ")", ";", "setArgFlags", "(", "AInfo", ",", "Idx", "+", "AttributeList", "::", "FirstArgIndex", ",", "DL", ",", "F", ")", ";", "SplitRegs", ".", "clear", "(", ")", ";", "splitToValueTypes", "(", "AInfo", ",", "ArgInfos", ",", "MF", ",", "[", "&", "]", "(", "unsigned", "Reg", ",", "uint64_t", "Offset", ")", "{", "SplitRegs", ".", "push_back", "(", "Reg", ")", ";", "}", ")", ";", "if", "(", "!", "SplitRegs", ".", "empty", "(", ")", ")", "MIRBuilder", ".", "buildMerge", "(", "VRegs", "[", "Idx", "]", ",", "SplitRegs", ")", ";", "Idx", "++", ";", "}", "if", "(", "!", "MBB", ".", "empty", "(", ")", ")", "MIRBuilder", ".", "setInstr", "(", "*", "MBB", ".", "begin", "(", ")", ")", ";", "return", "handleAssignments", "(", "MIRBuilder", ",", "ArgInfos", ",", "ArgHandler", ")", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "VRegs", ",", "for", "GlobalISel", "."], "TS_V_token": ["ARM", "ARM", "ARM", "8", "4", "0"], "File": "ARMCallLowering26", "Func": "lowerFormalArguments", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1147, "Length": 331, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64TTI", "::", "getUnrollingPreferences", "(", "const", "Function", "*", "F", ",", "Loop", "*", "L", ",", "UnrollingPreferences", "&", "UP", ")", "const", "{", "UP", ".", "PartialOptSizeThreshold", "=", "0", ";", "}", ""], "natrual_language": ["Get", "target-customized", "preferences", "for", "the", "generic", "loop", "unrolling", "transformation", "."], "TS_V_token": ["AArch64", "AArch64", "0"], "File": "AArch64TargetTransformInfo68", "Func": "getUnrollingPreferences", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1148, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "loongarch_zero_if_equal", "(", "rtx", "cmp0", ",", "rtx", "cmp1", ")", "{", "if", "(", "cmp1", "==", "const0_rtx", ")", "return", "cmp0", ";", "if", "(", "uns_arith_operand", "(", "cmp1", ",", "VOIDmode", ")", ")", "return", "expand_binop", "(", "GET_MODE", "(", "cmp0", ")", ",", "xor_optab", ",", "cmp0", ",", "cmp1", ",", "0", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "return", "expand_binop", "(", "GET_MODE", "(", "cmp0", ")", ",", "sub_optab", ",", "cmp0", ",", "cmp1", ",", "0", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "}", ""], "natrual_language": ["Return", "a", "register", "that", "is", "zero", "if", "CMP0", "and", "CMP1", "are", "equal", ".", "The", "register", "will", "have", "the", "same", "mode", "as", "CMP0", "."], "TS_V_token": ["loongarch", "0", "0", "0", "0"], "File": "loongarch", "Func": "loongarch_zero_if_equal", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1149, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "invalidate", "(", "Function", "&", ",", "const", "PreservedAnalyses", "&", ",", "FunctionAnalysisManager", "::", "Invalidator", "&", "Inv", ")", "{", "return", "false", ";", "}", ""], "natrual_language": ["Handle", "invalidation", "events", "from", "the", "new", "pass", "manager", "."], "TS_V_token": ["AMDGPU"], "File": "AMDGPUAliasAnalysis (2)", "Func": "invalidate", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1150, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_save_gp_to_cprestore_slot", "(", "rtx", "mem", ",", "rtx", "offset", ",", "rtx", "gp", ",", "rtx", "temp", ")", "{", "if", "(", "TARGET_CPRESTORE_DIRECTIVE", ")", "{", "gcc_assert", "(", "gp", "==", "pic_offset_table_rtx", ")", ";", "emit_insn", "(", "PMODE_INSN", "(", "gen_cprestore", ",", "(", "mem", ",", "offset", ")", ")", ")", ";", "}", "else", "mips_emit_move", "(", "mips_cprestore_slot", "(", "temp", ",", "false", ")", ",", "gp", ")", ";", "}", ""], "natrual_language": ["Emit", "instructions", "to", "save", "global", "pointer", "value", "GP", "into", "cprestore", "slot", "MEM", ".", "OFFSET", "is", "the", "offset", "that", "MEM", "applies", "to", "the", "base", "register", ".", "MEM", "may", "not", "be", "a", "legitimate", "address", ".", "If", "it", "is", "n't", ",", "TEMP", "is", "a", "temporary", "register", "that", "can", "be", "used", ",", "otherwise", "it", "is", "a", "SCRATCH", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_save_gp_to_cprestore_slot", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1151, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "csky_hard_regno_nregs", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "regno", ">=", "CSKY_FIRST_VFP_REGNUM", "&&", "!", "CSKY_TARGET_ARCH", "(", "CK803", ")", ")", "return", "1", ";", "else", "return", "CSKY_NUM_REGS", "(", "mode", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_HARD_REGNO_NREGS", "."], "TS_V_token": ["csky", "1"], "File": "csky", "Func": "csky_hard_regno_nregs", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1152, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "nvptx_declare_object_name", "(", "FILE", "*", "file", ",", "const", "char", "*", "name", ",", "const_tree", "decl", ")", "{", "if", "(", "decl", "&&", "DECL_SIZE", "(", "decl", ")", ")", "{", "tree", "type", "=", "TREE_TYPE", "(", "decl", ")", ";", "unsigned", "HOST_WIDE_INT", "size", ";", "init_output_initializer", "(", "file", ",", "name", ",", "type", ",", "TREE_PUBLIC", "(", "decl", ")", ")", ";", "size", "=", "tree_to_uhwi", "(", "DECL_SIZE_UNIT", "(", "decl", ")", ")", ";", "const", "char", "*", "section", "=", "nvptx_section_for_decl", "(", "decl", ")", ";", "fprintf", "(", "file", ",", "\"\\t%s%s .align %d .u%d \"", ",", "TREE_PUBLIC", "(", "decl", ")", "?", "\" .visible\"", ":", "\"\"", ",", "section", ",", "DECL_ALIGN", "(", "decl", ")", "/", "BITS_PER_UNIT", ",", "decl_chunk_size", "*", "BITS_PER_UNIT", ")", ";", "assemble_name", "(", "file", ",", "name", ")", ";", "if", "(", "size", ">", "0", ")", "fprintf", "(", "file", ",", "\"[\"", "HOST_WIDE_INT_PRINT_DEC", "\"]\"", ",", "(", "size", "+", "decl_chunk_size", "-", "1", ")", "/", "decl_chunk_size", ")", ";", "else", "object_finished", "=", "true", ";", "object_size", "=", "size", ";", "}", "}", ""], "natrual_language": ["Implement", "the", "ASM_DECLARE_OBJECT_NAME", "macro", ".", "Used", "to", "start", "writing", "a", "variable", "DECL", "with", "NAME", "to", "FILE", "."], "TS_V_token": ["nvptx", "\"\\t%s%s .align %d .u%d \"", "\" .visible\"", "\"\"", "0", "\"[\"", "\"]\"", "1"], "File": "nvptx2", "Func": "nvptx_declare_object_name", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 1153, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "pa_expand_compare_and_swap_loop", "(", "rtx", "mem", ",", "rtx", "old_reg", ",", "rtx", "new_reg", ",", "rtx", "seq", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "rtx_code_label", "*", "label", ";", "rtx", "cmp_reg", ",", "success", ",", "oldval", ";", "label", "=", "gen_label_rtx", "(", ")", ";", "cmp_reg", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_move_insn", "(", "cmp_reg", ",", "mem", ")", ";", "emit_label", "(", "label", ")", ";", "emit_move_insn", "(", "old_reg", ",", "cmp_reg", ")", ";", "if", "(", "seq", ")", "emit_insn", "(", "seq", ")", ";", "success", "=", "NULL_RTX", ";", "oldval", "=", "cmp_reg", ";", "if", "(", "!", "expand_atomic_compare_and_swap", "(", "&", "success", ",", "&", "oldval", ",", "mem", ",", "old_reg", ",", "new_reg", ",", "false", ",", "MEMMODEL_SYNC_SEQ_CST", ",", "MEMMODEL_RELAXED", ")", ")", "return", "false", ";", "if", "(", "oldval", "!=", "cmp_reg", ")", "emit_move_insn", "(", "cmp_reg", ",", "oldval", ")", ";", "emit_cmp_and_jump_insns", "(", "success", ",", "const0_rtx", ",", "EQ", ",", "const0_rtx", ",", "GET_MODE", "(", "success", ")", ",", "1", ",", "label", ",", "0", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "is", "a", "helper", "function", "for", "the", "other", "atomic", "operations", ".", "This", "function", "emits", "a", "loop", "that", "contains", "SEQ", "that", "iterates", "until", "a", "compare-and-swap", "operation", "at", "the", "end", "succeeds", ".", "MEM", "is", "the", "memory", "to", "be", "modified", ".", "SEQ", "is", "a", "set", "of", "instructions", "that", "takes", "a", "value", "from", "OLD_REG", "as", "an", "input", "and", "produces", "a", "value", "in", "NEW_REG", "as", "an", "output", ".", "Before", "SEQ", ",", "OLD_REG", "will", "be", "set", "to", "the", "current", "contents", "of", "MEM", ".", "After", "SEQ", ",", "a", "compare-and-swap", "will", "attempt", "to", "update", "MEM", "with", "NEW_REG", ".", "The", "function", "returns", "true", "when", "the", "loop", "was", "generated", "successfully", "."], "TS_V_token": ["pa", "1", "0"], "File": "pa5", "Func": "pa_expand_compare_and_swap_loop", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1154, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MCS51InstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "uint64_t", "Address", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "raw_ostream", "&", "O", ")", "{", "unsigned", "Opcode", "=", "MI", "->", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "case", "MCS51", "::", "LDRdPtr", ":", "case", "MCS51", "::", "LDRdPtrPi", ":", "case", "MCS51", "::", "LDRdPtrPd", ":", "O", "<<", "\"\\tld\\t\"", ";", "printOperand", "(", "MI", ",", "0", ",", "O", ")", ";", "O", "<<", "\", \"", ";", "if", "(", "Opcode", "==", "MCS51", "::", "LDRdPtrPd", ")", "O", "<<", "'-'", ";", "printOperand", "(", "MI", ",", "1", ",", "O", ")", ";", "if", "(", "Opcode", "==", "MCS51", "::", "LDRdPtrPi", ")", "O", "<<", "'+'", ";", "break", ";", "case", "MCS51", "::", "STPtrRr", ":", "O", "<<", "\"\\tst\\t\"", ";", "printOperand", "(", "MI", ",", "0", ",", "O", ")", ";", "O", "<<", "\", \"", ";", "printOperand", "(", "MI", ",", "1", ",", "O", ")", ";", "break", ";", "case", "MCS51", "::", "STPtrPiRr", ":", "case", "MCS51", "::", "STPtrPdRr", ":", "O", "<<", "\"\\tst\\t\"", ";", "if", "(", "Opcode", "==", "MCS51", "::", "STPtrPdRr", ")", "O", "<<", "'-'", ";", "printOperand", "(", "MI", ",", "1", ",", "O", ")", ";", "if", "(", "Opcode", "==", "MCS51", "::", "STPtrPiRr", ")", "O", "<<", "'+'", ";", "O", "<<", "\", \"", ";", "printOperand", "(", "MI", ",", "2", ",", "O", ")", ";", "break", ";", "default", ":", "if", "(", "!", "printAliasInstr", "(", "MI", ",", "Address", ",", "O", ")", ")", "printInstruction", "(", "MI", ",", "Address", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["MCS51", "MCS51", "MCS51::LDRdPtr", "MCS51::LDRdPtrPi", "MCS51::LDRdPtrPd", "\"\\tld\\t\"", "0", "\", \"", "MCS51::LDRdPtrPd", "1", "MCS51::LDRdPtrPi", "MCS51::STPtrRr", "\"\\tst\\t\"", "0", "\", \"", "1", "MCS51::STPtrPiRr", "MCS51::STPtrPdRr", "\"\\tst\\t\"", "MCS51::STPtrPdRr", "1", "MCS51::STPtrPiRr", "\", \"", "2"], "File": "MCS51InstPrinter", "Func": "printInst", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1155, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "SystemZMCAsmBackend", "::", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "SystemZ", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"FK_390_PC12DBL\"", ",", "4", ",", "12", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"FK_390_PC16DBL\"", ",", "0", ",", "16", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"FK_390_PC24DBL\"", ",", "0", ",", "24", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"FK_390_PC32DBL\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"FK_390_TLS_CALL\"", ",", "0", ",", "0", ",", "0", "}", ",", "{", "\"FK_390_12\"", ",", "4", ",", "12", ",", "0", "}", ",", "{", "\"FK_390_20\"", ",", "4", ",", "20", ",", "0", "}", "}", ";", "if", "(", "Kind", ">=", "FirstLiteralRelocationKind", ")", "return", "MCAsmBackend", "::", "getFixupKindInfo", "(", "FK_NONE", ")", ";", "if", "(", "Kind", "<", "FirstTargetFixupKind", ")", "return", "MCAsmBackend", "::", "getFixupKindInfo", "(", "Kind", ")", ";", "assert", "(", "unsigned", "(", "Kind", "-", "FirstTargetFixupKind", ")", "<", "getNumFixupKinds", "(", ")", "&&", "\"Invalid kind!\"", ")", ";", "return", "Infos", "[", "Kind", "-", "FirstTargetFixupKind", "]", ";", "}", ""], "natrual_language": ["Get", "information", "on", "a", "fixup", "kind", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ::NumTargetFixupKinds", "\"FK_390_PC12DBL\"", "4", "12", "\"FK_390_PC16DBL\"", "0", "16", "\"FK_390_PC24DBL\"", "0", "24", "\"FK_390_PC32DBL\"", "0", "32", "\"FK_390_TLS_CALL\"", "0", "0", "0", "\"FK_390_12\"", "4", "12", "0", "\"FK_390_20\"", "4", "20", "0", "\"Invalid kind!\""], "File": "SystemZMCAsmBackend10", "Func": "getFixupKindInfo", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1156, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "direct_return", "(", "void", ")", "{", "if", "(", "reload_completed", ")", "{", "rs6000_stack_t", "*", "info", "=", "rs6000_stack_info", "(", ")", ";", "if", "(", "info", "->", "first_gp_reg_save", "==", "32", "&&", "info", "->", "first_fp_reg_save", "==", "64", "&&", "info", "->", "first_altivec_reg_save", "==", "LAST_ALTIVEC_REGNO", "+", "1", "&&", "!", "info", "->", "lr_save_p", "&&", "!", "info", "->", "cr_save_p", "&&", "info", "->", "vrsave_mask", "==", "0", "&&", "!", "info", "->", "push_p", ")", "return", "1", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "non-zero", "if", "this", "function", "is", "known", "to", "have", "a", "null", "epilogue", "."], "TS_V_token": ["rs6000", "32", "64", "1", "0", "1", "0"], "File": "rs60003", "Func": "direct_return", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1157, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rvexAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "rvexFI", "=", "MF", ".", "getInfo", "<", "rvexFunctionInfo", ">", "(", ")", ";", "AsmPrinter", "::", "runOnMachineFunction", "(", "MF", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["rvex", "rvex", "rvex", "rvex"], "File": "rvexAsmPrinter", "Func": "runOnMachineFunction", "Target": "rvex", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 1158, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsInstrInfo", "::", "insertNoop", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Mips", "::", "NOP", ")", ")", ";", "}", ""], "natrual_language": ["Insert", "a", "noop", "into", "the", "instruction", "stream", "at", "the", "specified", "point", "."], "TS_V_token": ["Mips", "Mips", "Mips::NOP"], "File": "MipsInstrInfo19", "Func": "insertNoop", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1159, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "null_epilogue", "(", ")", "{", "return", "(", "reload_completed", "&&", "first_reg_to_save", "(", ")", "==", "16", "&&", "!", "romp_pushes_stack", "(", ")", ")", ";", "}", ""], "natrual_language": ["return", "1", "if", "there", "is", "n't", "anything", "tricky", "to", "do"], "TS_V_token": ["romp", "16"], "File": "romp", "Func": "null_epilogue", "Target": "romp", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1160, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "frv_must_pass_in_stack", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "if", "(", "mode", "==", "BLKmode", ")", "return", "true", ";", "if", "(", "type", "==", "NULL", ")", "return", "false", ";", "return", "AGGREGATE_TYPE_P", "(", "type", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "we", "should", "pass", "an", "argument", "on", "the", "stack", "rather", "than", "in", "registers", "."], "TS_V_token": ["frv"], "File": "frv3", "Func": "frv_must_pass_in_stack", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 1161, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "pa_c_mode_for_suffix", "(", "char", "suffix", ")", "{", "if", "(", "HPUX_LONG_DOUBLE_LIBRARY", ")", "{", "if", "(", "suffix", "==", "'q'", ")", "return", "TFmode", ";", "}", "return", "VOIDmode", ";", "}", ""], "natrual_language": ["Target", "hook", "for", "c_mode_for_suffix", "."], "TS_V_token": ["pa"], "File": "pa", "Func": "pa_c_mode_for_suffix", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1162, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "getPreIndexedAddressParts", "(", "SDNode", "*", "N", ",", "SDValue", "&", "Base", ",", "SDValue", "&", "Offset", ",", "ISD", "::", "MemIndexedMode", "&", "AM", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "if", "(", "Subtarget", "->", "isThumb1Only", "(", ")", ")", "return", "false", ";", "const", "bool", "restrict_addressing_modes_for_nacl", "=", "Subtarget", "->", "isTargetNaCl", "(", ")", "&&", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "LOAD", "||", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "STORE", ")", ";", "if", "(", "restrict_addressing_modes_for_nacl", ")", "{", "return", "false", ";", "}", "EVT", "VT", ";", "SDValue", "Ptr", ";", "bool", "isSEXTLoad", "=", "false", ";", "if", "(", "LoadSDNode", "*", "LD", "=", "dyn_cast", "<", "LoadSDNode", ">", "(", "N", ")", ")", "{", "Ptr", "=", "LD", "->", "getBasePtr", "(", ")", ";", "VT", "=", "LD", "->", "getMemoryVT", "(", ")", ";", "isSEXTLoad", "=", "LD", "->", "getExtensionType", "(", ")", "==", "ISD", "::", "SEXTLOAD", ";", "}", "else", "if", "(", "StoreSDNode", "*", "ST", "=", "dyn_cast", "<", "StoreSDNode", ">", "(", "N", ")", ")", "{", "Ptr", "=", "ST", "->", "getBasePtr", "(", ")", ";", "VT", "=", "ST", "->", "getMemoryVT", "(", ")", ";", "}", "else", "return", "false", ";", "bool", "isInc", ";", "bool", "isLegal", "=", "false", ";", "if", "(", "Subtarget", "->", "isThumb2", "(", ")", ")", "isLegal", "=", "getT2IndexedAddressParts", "(", "Ptr", ".", "getNode", "(", ")", ",", "VT", ",", "isSEXTLoad", ",", "Base", ",", "Offset", ",", "isInc", ",", "DAG", ")", ";", "else", "isLegal", "=", "getARMIndexedAddressParts", "(", "Ptr", ".", "getNode", "(", ")", ",", "VT", ",", "isSEXTLoad", ",", "Base", ",", "Offset", ",", "isInc", ",", "DAG", ")", ";", "if", "(", "!", "isLegal", ")", "return", "false", ";", "AM", "=", "isInc", "?", "ISD", "::", "PRE_INC", ":", "ISD", "::", "PRE_DEC", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "by", "value", ",", "base", "pointer", "and", "offset", "pointer", "and", "addressing", "mode", "by", "reference", "if", "the", "node", "'s", "address", "can", "be", "legally", "represented", "as", "pre-indexed", "load", "/", "store", "address", "."], "TS_V_token": ["ARM", "ARM", "ISD::MemIndexedMode", "ISD::LOAD", "ISD::STORE", "ISD::SEXTLOAD", "ARM", "ISD::PRE_INC", "ISD::PRE_DEC"], "File": "ARMISelLowering153", "Func": "getPreIndexedAddressParts", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1163, "Length": 260, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetLowering", "::", "HandleByVal", "(", "CCState", "*", "State", ",", "unsigned", "&", "Size", ",", "unsigned", "Align", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFL", "=", "Subtarget", ".", "getFrameLowering", "(", ")", ";", "assert", "(", "Size", "&&", "\"Byval argument's size shouldn't be 0.\"", ")", ";", "Align", "=", "std", "::", "min", "(", "Align", ",", "TFL", "->", "getStackAlignment", "(", ")", ")", ";", "unsigned", "FirstReg", "=", "0", ";", "unsigned", "NumRegs", "=", "0", ";", "if", "(", "State", "->", "getCallingConv", "(", ")", "!=", "CallingConv", "::", "Fast", ")", "{", "unsigned", "RegSizeInBytes", "=", "Subtarget", ".", "getGPRSizeInBytes", "(", ")", ";", "const", "ArrayRef", "<", "MCPhysReg", ">", "IntArgRegs", "=", "ABI", ".", "GetByValArgRegs", "(", ")", ";", "const", "MCPhysReg", "*", "ShadowRegs", "=", "ABI", ".", "IsO32", "(", ")", "?", "IntArgRegs", ".", "data", "(", ")", ":", "Mips64DPRegs", ";", "assert", "(", "!", "(", "Align", "%", "RegSizeInBytes", ")", "&&", "\"Byval argument's alignment should be a multiple of\"", "\"RegSizeInBytes.\"", ")", ";", "FirstReg", "=", "State", "->", "getFirstUnallocated", "(", "IntArgRegs", ")", ";", "if", "(", "(", "Align", ">", "RegSizeInBytes", ")", "&&", "(", "FirstReg", "%", "2", ")", ")", "{", "State", "->", "AllocateReg", "(", "IntArgRegs", "[", "FirstReg", "]", ",", "ShadowRegs", "[", "FirstReg", "]", ")", ";", "++", "FirstReg", ";", "}", "Size", "=", "RoundUpToAlignment", "(", "Size", ",", "RegSizeInBytes", ")", ";", "for", "(", "unsigned", "I", "=", "FirstReg", ";", "Size", ">", "0", "&&", "(", "I", "<", "IntArgRegs", ".", "size", "(", ")", ")", ";", "Size", "-=", "RegSizeInBytes", ",", "++", "I", ",", "++", "NumRegs", ")", "State", "->", "AllocateReg", "(", "IntArgRegs", "[", "I", "]", ",", "ShadowRegs", "[", "I", "]", ")", ";", "}", "State", "->", "addInRegsParamInfo", "(", "FirstReg", ",", "FirstReg", "+", "NumRegs", ")", ";", "}", ""], "natrual_language": ["Target-specific", "cleanup", "for", "formal", "ByVal", "parameters", "."], "TS_V_token": ["Mips", "Mips", "\"Byval argument's size shouldn't be 0.\"", "0", "0", "Mips", "\"Byval argument's alignment should be a multiple of\"", "\"RegSizeInBytes.\"", "2", "0"], "File": "MipsISelLowering105", "Func": "HandleByVal", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1164, "Length": 239, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonTargetLowering", "::", "isFPImmLegal", "(", "const", "APFloat", "&", "Imm", ",", "EVT", "VT", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "can", "instruction", "select", "the", "specified", "FP", "immediate", "natively", "."], "TS_V_token": ["Hexagon", "Hexagon"], "File": "HexagonISelLowering1", "Func": "isFPImmLegal", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1165, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "scalar_chain", "::", "add_to_queue", "(", "unsigned", "insn_uid", ")", "{", "if", "(", "bitmap_bit_p", "(", "insns", ",", "insn_uid", ")", "||", "bitmap_bit_p", "(", "queue", ",", "insn_uid", ")", ")", "return", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\" Adding insn %d into chain's #%d queue\\n\"", ",", "insn_uid", ",", "chain_id", ")", ";", "bitmap_set_bit", "(", "queue", ",", "insn_uid", ")", ";", "}", ""], "natrual_language": ["Add", "instruction", "into", "chains", "'", "queue", "."], "TS_V_token": ["i386", "\" Adding insn %d into chain's #%d queue\\n\""], "File": "i386-features", "Func": "add_to_queue", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1166, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "XtensaAsmBackend", "::", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsResolved", ",", "const", "MCSubtargetInfo", "*", "STI", ")", "const", "{", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ",", "&", "Asm", ".", "getContext", "(", ")", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "MCFixupKindInfo", "Info", "=", "getFixupKindInfo", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "Value", "<<=", "Info", ".", "TargetOffset", ";", "unsigned", "NumBytes", "=", "getFixupKindNumBytes", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "uint32_t", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "assert", "(", "Offset", "+", "NumBytes", "<=", "Data", ".", "size", "(", ")", "&&", "\"Invalid fixup offset!\"", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "Data", "[", "Offset", "+", "i", "]", "|=", "static_cast", "<", "uint8_t", ">", "(", "(", "Value", ">>", "(", "i", "*", "8", ")", ")", "&", "0xff", ")", ";", "}", ""], "natrual_language": ["Apply", "the", "Value", "for", "given", "Fixup", "into", "the", "provided", "data", "fragment", ",", "at", "the", "offset", "specified", "by", "the", "fixup", "and", "following", "the", "fixup", "kind", "as", "appropriate", "."], "TS_V_token": ["Xtensa", "Xtensa", "\"Invalid fixup offset!\"", "0", "8", "0xff"], "File": "XtensaAsmBackend", "Func": "applyFixup", "Target": "Xtensa", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1167, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86DAGToDAGISel", "::", "PostprocessISelDAG", "(", ")", "{", "if", "(", "TM", ".", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "None", ")", "return", ";", "SelectionDAG", "::", "allnodes_iterator", "Position", "(", "CurDAG", "->", "getRoot", "(", ")", ".", "getNode", "(", ")", ")", ";", "++", "Position", ";", "while", "(", "Position", "!=", "CurDAG", "->", "allnodes_begin", "(", ")", ")", "{", "SDNode", "*", "N", "=", "&", "*", "--", "Position", ";", "if", "(", "N", "->", "use_empty", "(", ")", "||", "!", "N", "->", "isMachineOpcode", "(", ")", ")", "continue", ";", "if", "(", "N", "->", "getMachineOpcode", "(", ")", "!=", "TargetOpcode", "::", "SUBREG_TO_REG", ")", "continue", ";", "unsigned", "SubRegIdx", "=", "N", "->", "getConstantOperandVal", "(", "2", ")", ";", "if", "(", "SubRegIdx", "!=", "X86", "::", "sub_xmm", "&&", "SubRegIdx", "!=", "X86", "::", "sub_ymm", ")", "continue", ";", "SDValue", "Move", "=", "N", "->", "getOperand", "(", "1", ")", ";", "if", "(", "!", "Move", ".", "isMachineOpcode", "(", ")", ")", "continue", ";", "switch", "(", "Move", ".", "getMachineOpcode", "(", ")", ")", "{", "default", ":", "continue", ";", "case", "X86", "::", "VMOVAPDrr", ":", "case", "X86", "::", "VMOVUPDrr", ":", "case", "X86", "::", "VMOVAPSrr", ":", "case", "X86", "::", "VMOVUPSrr", ":", "case", "X86", "::", "VMOVDQArr", ":", "case", "X86", "::", "VMOVDQUrr", ":", "case", "X86", "::", "VMOVAPDYrr", ":", "case", "X86", "::", "VMOVUPDYrr", ":", "case", "X86", "::", "VMOVAPSYrr", ":", "case", "X86", "::", "VMOVUPSYrr", ":", "case", "X86", "::", "VMOVDQAYrr", ":", "case", "X86", "::", "VMOVDQUYrr", ":", "case", "X86", "::", "VMOVAPDZ128rr", ":", "case", "X86", "::", "VMOVUPDZ128rr", ":", "case", "X86", "::", "VMOVAPSZ128rr", ":", "case", "X86", "::", "VMOVUPSZ128rr", ":", "case", "X86", "::", "VMOVDQA32Z128rr", ":", "case", "X86", "::", "VMOVDQU32Z128rr", ":", "case", "X86", "::", "VMOVDQA64Z128rr", ":", "case", "X86", "::", "VMOVDQU64Z128rr", ":", "case", "X86", "::", "VMOVAPDZ256rr", ":", "case", "X86", "::", "VMOVUPDZ256rr", ":", "case", "X86", "::", "VMOVAPSZ256rr", ":", "case", "X86", "::", "VMOVUPSZ256rr", ":", "case", "X86", "::", "VMOVDQA32Z256rr", ":", "case", "X86", "::", "VMOVDQU32Z256rr", ":", "case", "X86", "::", "VMOVDQA64Z256rr", ":", "case", "X86", "::", "VMOVDQU64Z256rr", ":", "break", ";", "}", "SDValue", "In", "=", "Move", ".", "getOperand", "(", "0", ")", ";", "if", "(", "!", "In", ".", "isMachineOpcode", "(", ")", "||", "In", ".", "getMachineOpcode", "(", ")", "<=", "TargetOpcode", "::", "GENERIC_OP_END", ")", "continue", ";", "uint64_t", "TSFlags", "=", "getInstrInfo", "(", ")", "->", "get", "(", "In", ".", "getMachineOpcode", "(", ")", ")", ".", "TSFlags", ";", "if", "(", "(", "TSFlags", "&", "X86II", "::", "EncodingMask", ")", "!=", "X86II", "::", "VEX", "&&", "(", "TSFlags", "&", "X86II", "::", "EncodingMask", ")", "!=", "X86II", "::", "EVEX", "&&", "(", "TSFlags", "&", "X86II", "::", "EncodingMask", ")", "!=", "X86II", "::", "XOP", ")", "continue", ";", "CurDAG", "->", "UpdateNodeOperands", "(", "N", ",", "N", "->", "getOperand", "(", "0", ")", ",", "In", ",", "N", "->", "getOperand", "(", "2", ")", ")", ";", "if", "(", "Move", ".", "getNode", "(", ")", "->", "use_empty", "(", ")", ")", "CurDAG", "->", "RemoveDeadNode", "(", "Move", ".", "getNode", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["PostprocessISelDAG", "(", ")", "-", "This", "hook", "allows", "the", "target", "to", "hack", "on", "the", "graph", "right", "after", "selection", "."], "TS_V_token": ["X86", "X86", "2", "X86::sub_xmm", "X86::sub_ymm", "1", "X86::VMOVAPDrr", "X86::VMOVUPDrr", "X86::VMOVAPSrr", "X86::VMOVUPSrr", "X86::VMOVDQArr", "X86::VMOVDQUrr", "X86::VMOVAPDYrr", "X86::VMOVUPDYrr", "X86::VMOVAPSYrr", "X86::VMOVUPSYrr", "X86::VMOVDQAYrr", "X86::VMOVDQUYrr", "X86::VMOVAPDZ128rr", "X86::VMOVUPDZ128rr", "X86::VMOVAPSZ128rr", "X86::VMOVUPSZ128rr", "X86::VMOVDQA32Z128rr", "X86::VMOVDQU32Z128rr", "X86::VMOVDQA64Z128rr", "X86::VMOVDQU64Z128rr", "X86::VMOVAPDZ256rr", "X86::VMOVUPDZ256rr", "X86::VMOVAPSZ256rr", "X86::VMOVUPSZ256rr", "X86::VMOVDQA32Z256rr", "X86::VMOVDQU32Z256rr", "X86::VMOVDQA64Z256rr", "X86::VMOVDQU64Z256rr", "0", "X86II::EncodingMask", "X86II::VEX", "X86II::EncodingMask", "X86II::EVEX", "X86II::EncodingMask", "X86II::XOP", "0", "2"], "File": "X86ISelDAGToDAG", "Func": "PostprocessISelDAG", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1168, "Length": 431, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "X86InstrInfo", "::", "optimizeLoadInstr", "(", "MachineInstr", "*", "MI", ",", "const", "MachineRegisterInfo", "*", "MRI", ",", "unsigned", "&", "FoldAsLoadDefReg", ",", "MachineInstr", "*", "&", "DefMI", ")", "const", "{", "if", "(", "FoldAsLoadDefReg", "==", "0", ")", "return", "nullptr", ";", "if", "(", "MI", "->", "mayLoad", "(", ")", ")", "{", "FoldAsLoadDefReg", "=", "0", ";", "return", "nullptr", ";", "}", "DefMI", "=", "MRI", "->", "getVRegDef", "(", "FoldAsLoadDefReg", ")", ";", "assert", "(", "DefMI", ")", ";", "bool", "SawStore", "=", "false", ";", "if", "(", "!", "DefMI", "->", "isSafeToMove", "(", "nullptr", ",", "SawStore", ")", ")", "return", "nullptr", ";", "unsigned", "SrcOperandId", "=", "0", ";", "bool", "FoundSrcOperand", "=", "false", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "MI", "->", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "i", ")", ";", "if", "(", "!", "MO", ".", "isReg", "(", ")", ")", "continue", ";", "unsigned", "Reg", "=", "MO", ".", "getReg", "(", ")", ";", "if", "(", "Reg", "!=", "FoldAsLoadDefReg", ")", "continue", ";", "if", "(", "MO", ".", "getSubReg", "(", ")", "||", "MO", ".", "isDef", "(", ")", "||", "FoundSrcOperand", ")", "return", "nullptr", ";", "SrcOperandId", "=", "i", ";", "FoundSrcOperand", "=", "true", ";", "}", "if", "(", "!", "FoundSrcOperand", ")", "return", "nullptr", ";", "MachineInstr", "*", "FoldMI", "=", "foldMemoryOperand", "(", "MI", ",", "SrcOperandId", ",", "DefMI", ")", ";", "if", "(", "FoldMI", ")", "{", "FoldAsLoadDefReg", "=", "0", ";", "return", "FoldMI", ";", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["optimizeLoadInstr", "-", "Try", "to", "remove", "the", "load", "by", "folding", "it", "to", "a", "register", "operand", "at", "the", "use", "."], "TS_V_token": ["X86", "X86", "0", "0", "0", "0", "0"], "File": "X86InstrInfo (2)2", "Func": "optimizeLoadInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1169, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "fp_regs_to_save", "(", "void", ")", "{", "int", "i", ",", "n", "=", "0", ";", "if", "(", "!", "TARGET_AM33_2", ")", "return", "0", ";", "for", "(", "i", "=", "FIRST_FP_REGNUM", ";", "i", "<=", "LAST_FP_REGNUM", ";", "++", "i", ")", "if", "(", "regs_ever_live", "[", "i", "]", "&&", "!", "call_used_regs", "[", "i", "]", ")", "++", "n", ";", "return", "n", ";", "}", ""], "natrual_language": ["Count", "the", "number", "of", "FP", "registers", "that", "have", "to", "be", "saved", "."], "TS_V_token": ["mn10300", "0", "0"], "File": "mn103003", "Func": "fp_regs_to_save", "Target": "mn10300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1170, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arc_is_longcall_p", "(", "rtx", "sym_ref", ")", "{", "if", "(", "GET_CODE", "(", "sym_ref", ")", "!=", "SYMBOL_REF", ")", "return", "false", ";", "return", "(", "SYMBOL_REF_LONG_CALL_P", "(", "sym_ref", ")", "||", "(", "TARGET_LONG_CALLS_SET", "&&", "!", "SYMBOL_REF_SHORT_CALL_P", "(", "sym_ref", ")", "&&", "!", "SYMBOL_REF_MEDIUM_CALL_P", "(", "sym_ref", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "32", "bit", "``", "long_call", "''", "should", "be", "generated", "for", "this", "calling", "SYM_REF", ".", "We", "generate", "a", "long_call", "if", "the", "function", ":", "a.", "has", "an", "__attribute__", "(", "(", "long", "call", ")", ")", "or", "b.", "the", "-mlong-calls", "command", "line", "switch", "has", "been", "specified", "However", "we", "do", "not", "generate", "a", "long", "call", "if", "the", "function", "has", "an", "__attribute__", "(", "(", "short_call", ")", ")", "or", "__attribute__", "(", "(", "medium_call", ")", ")", "This", "function", "will", "be", "called", "by", "C", "fragments", "contained", "in", "the", "machine", "description", "file", "."], "TS_V_token": ["arc"], "File": "arc", "Func": "arc_is_longcall_p", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1171, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "getTgtMemIntrinsic", "(", "IntrinsicInfo", "&", "Info", ",", "const", "CallInst", "&", "I", ",", "MachineFunction", "&", "MF", ",", "unsigned", "Intrinsic", ")", "const", "{", "auto", "&", "DL", "=", "I", ".", "getModule", "(", ")", "->", "getDataLayout", "(", ")", ";", "switch", "(", "Intrinsic", ")", "{", "default", ":", "return", "false", ";", "case", "Intrinsic", "::", "riscv_masked_atomicrmw_xchg_i32", ":", "case", "Intrinsic", "::", "riscv_masked_atomicrmw_add_i32", ":", "case", "Intrinsic", "::", "riscv_masked_atomicrmw_sub_i32", ":", "case", "Intrinsic", "::", "riscv_masked_atomicrmw_nand_i32", ":", "case", "Intrinsic", "::", "riscv_masked_atomicrmw_max_i32", ":", "case", "Intrinsic", "::", "riscv_masked_atomicrmw_min_i32", ":", "case", "Intrinsic", "::", "riscv_masked_atomicrmw_umax_i32", ":", "case", "Intrinsic", "::", "riscv_masked_atomicrmw_umin_i32", ":", "case", "Intrinsic", "::", "riscv_masked_cmpxchg_i32", ":", "{", "PointerType", "*", "PtrTy", "=", "cast", "<", "PointerType", ">", "(", "I", ".", "getArgOperand", "(", "0", ")", "->", "getType", "(", ")", ")", ";", "Info", ".", "opc", "=", "ISD", "::", "INTRINSIC_W_CHAIN", ";", "Info", ".", "memVT", "=", "MVT", "::", "getVT", "(", "PtrTy", "->", "getElementType", "(", ")", ")", ";", "Info", ".", "ptrVal", "=", "I", ".", "getArgOperand", "(", "0", ")", ";", "Info", ".", "offset", "=", "0", ";", "Info", ".", "align", "=", "Align", "(", "4", ")", ";", "Info", ".", "flags", "=", "MachineMemOperand", "::", "MOLoad", "|", "MachineMemOperand", "::", "MOStore", "|", "MachineMemOperand", "::", "MOVolatile", ";", "return", "true", ";", "}", "case", "Intrinsic", "::", "riscv_masked_strided_load", ":", "Info", ".", "opc", "=", "ISD", "::", "INTRINSIC_W_CHAIN", ";", "Info", ".", "ptrVal", "=", "I", ".", "getArgOperand", "(", "1", ")", ";", "Info", ".", "memVT", "=", "getValueType", "(", "DL", ",", "I", ".", "getType", "(", ")", "->", "getScalarType", "(", ")", ")", ";", "Info", ".", "align", "=", "Align", "(", "DL", ".", "getTypeSizeInBits", "(", "I", ".", "getType", "(", ")", "->", "getScalarType", "(", ")", ")", "/", "8", ")", ";", "Info", ".", "size", "=", "MemoryLocation", "::", "UnknownSize", ";", "Info", ".", "flags", "|=", "MachineMemOperand", "::", "MOLoad", ";", "return", "true", ";", "case", "Intrinsic", "::", "riscv_masked_strided_store", ":", "Info", ".", "opc", "=", "ISD", "::", "INTRINSIC_VOID", ";", "Info", ".", "ptrVal", "=", "I", ".", "getArgOperand", "(", "1", ")", ";", "Info", ".", "memVT", "=", "getValueType", "(", "DL", ",", "I", ".", "getArgOperand", "(", "0", ")", "->", "getType", "(", ")", "->", "getScalarType", "(", ")", ")", ";", "Info", ".", "align", "=", "Align", "(", "DL", ".", "getTypeSizeInBits", "(", "I", ".", "getArgOperand", "(", "0", ")", "->", "getType", "(", ")", "->", "getScalarType", "(", ")", ")", "/", "8", ")", ";", "Info", ".", "size", "=", "MemoryLocation", "::", "UnknownSize", ";", "Info", ".", "flags", "|=", "MachineMemOperand", "::", "MOStore", ";", "return", "true", ";", "}", "}", ""], "natrual_language": ["Given", "an", "intrinsic", ",", "checks", "if", "on", "the", "target", "the", "intrinsic", "will", "need", "to", "map", "to", "a", "MemIntrinsicNode", "(", "touches", "memory", ")", "."], "TS_V_token": ["RISCV", "RISCV", "Intrinsic::riscv_masked_atomicrmw_xchg_i32", "Intrinsic::riscv_masked_atomicrmw_add_i32", "Intrinsic::riscv_masked_atomicrmw_sub_i32", "Intrinsic::riscv_masked_atomicrmw_nand_i32", "Intrinsic::riscv_masked_atomicrmw_max_i32", "Intrinsic::riscv_masked_atomicrmw_min_i32", "Intrinsic::riscv_masked_atomicrmw_umax_i32", "Intrinsic::riscv_masked_atomicrmw_umin_i32", "Intrinsic::riscv_masked_cmpxchg_i32", "0", "ISD::INTRINSIC_W_CHAIN", "MVT::getVT", "0", "0", "4", "Intrinsic::riscv_masked_strided_load", "ISD::INTRINSIC_W_CHAIN", "1", "8", "Intrinsic::riscv_masked_strided_store", "ISD::INTRINSIC_VOID", "1", "0", "0", "8"], "File": "RISCVISelLowering1", "Func": "getTgtMemIntrinsic", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1172, "Length": 367, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ia64_struct_retval_addr_is_first_parm_p", "(", "tree", "fntype", ")", "{", "tree", "ret_type", "=", "TREE_TYPE", "(", "fntype", ")", ";", "return", "(", "abi_version_at_least", "(", "2", ")", "&&", "ret_type", "&&", "TYPE_MODE", "(", "ret_type", ")", "==", "BLKmode", "&&", "TREE_ADDRESSABLE", "(", "ret_type", ")", "&&", "lang_GNU_CXX", "(", ")", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "FNTYPE", "(", "a", "FUNCTION_TYPE", "or", "a", "METHOD_TYPE", ")", "returns", "a", "structure", "type", "and", "that", "the", "address", "of", "that", "type", "should", "be", "passed", "in", "out0", ",", "rather", "than", "in", "r8", "."], "TS_V_token": ["ia64", "2"], "File": "ia64", "Func": "ia64_struct_retval_addr_is_first_parm_p", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1173, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MBlazeIntrinsicInfo", "::", "lookupName", "(", "const", "char", "*", "Name", ",", "unsigned", "Len", ")", "const", "{", "if", "(", "Len", "<", "5", "||", "Name", "[", "4", "]", "!=", "'.'", "||", "Name", "[", "0", "]", "!=", "'l'", "||", "Name", "[", "1", "]", "!=", "'l'", "||", "Name", "[", "2", "]", "!=", "'v'", "||", "Name", "[", "3", "]", "!=", "'m'", ")", "return", "0", ";", "return", "0", ";", "}", ""], "natrual_language": ["Look", "up", "target", "intrinsic", "by", "name", "."], "TS_V_token": ["MBlaze", "MBlaze", "5", "4", "0", "1", "2", "3", "0", "0"], "File": "MBlazeIntrinsicInfo", "Func": "lookupName", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1174, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyPassConfig", "::", "addPreISel", "(", ")", "{", "return", "false", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["WebAssembly", "WebAssembly"], "File": "WebAssemblyTargetMachine2", "Func": "addPreISel", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1175, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseInstrInfo", "::", "insertBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "TBB", ",", "MachineBasicBlock", "*", "FBB", ",", "ArrayRef", "<", "MachineOperand", ">", "Cond", ",", "const", "DebugLoc", "&", "DL", ",", "int", "*", "BytesAdded", ")", "const", "{", "assert", "(", "!", "BytesAdded", "&&", "\"code size not handled\"", ")", ";", "ARMFunctionInfo", "*", "AFI", "=", "MBB", ".", "getParent", "(", ")", "->", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "int", "BOpc", "=", "!", "AFI", "->", "isThumbFunction", "(", ")", "?", "ARM", "::", "B", ":", "(", "AFI", "->", "isThumb2Function", "(", ")", "?", "ARM", "::", "t2B", ":", "ARM", "::", "tB", ")", ";", "int", "BccOpc", "=", "!", "AFI", "->", "isThumbFunction", "(", ")", "?", "ARM", "::", "Bcc", ":", "(", "AFI", "->", "isThumb2Function", "(", ")", "?", "ARM", "::", "t2Bcc", ":", "ARM", "::", "tBcc", ")", ";", "bool", "isThumb", "=", "AFI", "->", "isThumbFunction", "(", ")", "||", "AFI", "->", "isThumb2Function", "(", ")", ";", "assert", "(", "TBB", "&&", "\"insertBranch must not be told to insert a fallthrough\"", ")", ";", "assert", "(", "(", "Cond", ".", "size", "(", ")", "==", "2", "||", "Cond", ".", "size", "(", ")", "==", "0", ")", "&&", "\"ARM branch conditions have two components!\"", ")", ";", "if", "(", "!", "FBB", ")", "{", "if", "(", "Cond", ".", "empty", "(", ")", ")", "{", "if", "(", "isThumb", ")", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "BOpc", ")", ")", ".", "addMBB", "(", "TBB", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "else", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "BOpc", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "}", "else", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "BccOpc", ")", ")", ".", "addMBB", "(", "TBB", ")", ".", "addImm", "(", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ")", ".", "add", "(", "Cond", "[", "1", "]", ")", ";", "return", "1", ";", "}", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "BccOpc", ")", ")", ".", "addMBB", "(", "TBB", ")", ".", "addImm", "(", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ")", ".", "add", "(", "Cond", "[", "1", "]", ")", ";", "if", "(", "isThumb", ")", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "BOpc", ")", ")", ".", "addMBB", "(", "FBB", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "else", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "BOpc", ")", ")", ".", "addMBB", "(", "FBB", ")", ";", "return", "2", ";", "}", ""], "natrual_language": ["Insert", "branch", "code", "into", "the", "end", "of", "the", "specified", "MachineBasicBlock", "."], "TS_V_token": ["ARM", "ARM", "\"code size not handled\"", "ARM", "ARM", "ARM::B", "ARM::t2B", "ARM::tB", "ARM::Bcc", "ARM::t2Bcc", "ARM::tBcc", "\"insertBranch must not be told to insert a fallthrough\"", "2", "0", "\"ARM branch conditions have two components!\"", "ARMCC::AL", "0", "1", "1", "0", "1", "ARMCC::AL", "2"], "File": "ARMBaseInstrInfo1", "Func": "insertBranch", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1176, "Length": 367, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "isFMAFasterThanFMulAndFAdd", "(", "EVT", "VT", ")", "const", "{", "VT", "=", "VT", ".", "getScalarType", "(", ")", ";", "if", "(", "!", "VT", ".", "isSimple", "(", ")", ")", "return", "false", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "case", "MVT", "::", "f32", ":", "case", "MVT", "::", "f64", ":", "return", "true", ";", "case", "MVT", "::", "f128", ":", "return", "(", "EnableQuadPrecision", "&&", "Subtarget", ".", "hasP9Vector", "(", ")", ")", ";", "default", ":", "break", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "an", "FMA", "operation", "is", "faster", "than", "a", "pair", "of", "fmul", "and", "fadd", "instructions", "."], "TS_V_token": ["PowerPC", "PPC", "MVT::f32", "MVT::f64", "MVT::f128"], "File": "PPCISelLowering (2)7", "Func": "isFMAFasterThanFMulAndFAdd", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1177, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "build_sv_offset", "(", "function_builder", "&", "b", ",", "const", "char", "*", "signature", ",", "const", "function_group_info", "&", "group", ")", "{", "build_32_64", "(", "b", ",", "signature", ",", "group", ",", "MODE_s32offset", ",", "MODE_s64offset", ")", ";", "build_32_64", "(", "b", ",", "signature", ",", "group", ",", "MODE_u32offset", ",", "MODE_u64offset", ")", ";", "}", ""], "natrual_language": ["Like", "build_sv_index", ",", "but", "taking", "vector", "byte", "offsets", "instead", "of", "vector", "array", "indices", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins-shapes", "Func": "build_sv_offset", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1178, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TargetLowering", "::", "getNumRegistersForCallingConv", "(", "LLVMContext", "&", "Context", ",", "CallingConv", "::", "ID", "CC", ",", "EVT", "VT", ")", "const", "{", "if", "(", "VT", ".", "isVector", "(", ")", "&&", "VT", ".", "getVectorElementType", "(", ")", "==", "MVT", "::", "i1", "&&", "Subtarget", ".", "hasAVX512", "(", ")", ")", "{", "unsigned", "NumElts", "=", "VT", ".", "getVectorNumElements", "(", ")", ";", "MVT", "RegisterVT", ";", "unsigned", "NumRegisters", ";", "std", "::", "tie", "(", "RegisterVT", ",", "NumRegisters", ")", "=", "handleMaskRegisterForCallingConv", "(", "NumElts", ",", "CC", ",", "Subtarget", ")", ";", "if", "(", "RegisterVT", "!=", "MVT", "::", "INVALID_SIMPLE_VALUE_TYPE", ")", "return", "NumRegisters", ";", "}", "if", "(", "VT", "==", "MVT", "::", "v3f16", "&&", "Subtarget", ".", "hasFP16", "(", ")", ")", "return", "1", ";", "if", "(", "!", "Subtarget", ".", "is64Bit", "(", ")", "&&", "!", "Subtarget", ".", "hasX87", "(", ")", ")", "{", "if", "(", "VT", "==", "MVT", "::", "f64", ")", "return", "2", ";", "if", "(", "VT", "==", "MVT", "::", "f80", ")", "return", "3", ";", "}", "return", "TargetLowering", "::", "getNumRegistersForCallingConv", "(", "Context", ",", "CC", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Certain", "targets", "require", "unusual", "breakdowns", "of", "certain", "types", "."], "TS_V_token": ["X86", "X86", "MVT::i1", "MVT::INVALID_SIMPLE_VALUE_TYPE", "MVT::v3f16", "1", "MVT::f64", "2", "MVT::f80", "3"], "File": "X86ISelLowering100", "Func": "getNumRegistersForCallingConv", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1179, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isReg", "(", ")", "const", "{", "return", "Kind", "==", "k_Register", ";", "}", ""], "natrual_language": ["isReg", "-", "Is", "this", "a", "register", "operand", "?"], "TS_V_token": ["AVR"], "File": "AVRAsmParser", "Func": "isReg", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1180, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "clear", "(", ")", "{", "Map", ".", "clear", "(", ")", ";", "}", ""], "natrual_language": ["Clear", "all", "timers", "in", "this", "group", "."], "TS_V_token": ["Hexagon"], "File": "HexagonCommonGEP", "Func": "clear", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1181, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getSize", "(", ")", "const", "{", "return", "size", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "bytes", "in", "the", "encoding", "of", "this", "instruction", ",", "or", "zero", "if", "the", "encoding", "size", "can", "not", "be", "known", "from", "the", "opcode", "."], "TS_V_token": ["Patmos"], "File": "PatmosInstrInfo", "Func": "getSize", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 1182, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "ARMBaseRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "return", "(", "STI", ".", "isTargetIOS", "(", ")", "&&", "!", "STI", ".", "isAAPCS_ABI", "(", ")", ")", "?", "CSR_iOS_SaveList", ":", "CSR_AAPCS_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["ARM", "ARM"], "File": "ARMBaseRegisterInfo32", "Func": "getCalleeSavedRegs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1183, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTTIImpl", "::", "preferPredicateOverEpilogue", "(", "Loop", "*", "L", ",", "LoopInfo", "*", "LI", ",", "ScalarEvolution", "&", "SE", ",", "AssumptionCache", "&", "AC", ",", "TargetLibraryInfo", "*", "TLI", ",", "DominatorTree", "*", "DT", ",", "const", "LoopAccessInfo", "*", "LAI", ")", "{", "if", "(", "DisableTailPredication", ")", "return", "false", ";", "if", "(", "!", "ST", "->", "hasMVEIntegerOps", "(", ")", ")", "return", "false", ";", "if", "(", "L", "->", "getNumBlocks", "(", ")", ">", "1", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"preferPredicateOverEpilogue: not a single block \"", "\"loop.\\n\"", ")", ";", "return", "false", ";", "}", "assert", "(", "L", "->", "empty", "(", ")", "&&", "\"preferPredicateOverEpilogue: inner-loop expected\"", ")", ";", "HardwareLoopInfo", "HWLoopInfo", "(", "L", ")", ";", "if", "(", "!", "HWLoopInfo", ".", "canAnalyze", "(", "*", "LI", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"preferPredicateOverEpilogue: hardware-loop is not \"", "\"analyzable.\\n\"", ")", ";", "return", "false", ";", "}", "if", "(", "!", "isHardwareLoopProfitable", "(", "L", ",", "SE", ",", "AC", ",", "TLI", ",", "HWLoopInfo", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"preferPredicateOverEpilogue: hardware-loop is not \"", "\"profitable.\\n\"", ")", ";", "return", "false", ";", "}", "if", "(", "!", "HWLoopInfo", ".", "isHardwareLoopCandidate", "(", "SE", ",", "*", "LI", ",", "*", "DT", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"preferPredicateOverEpilogue: hardware-loop is not \"", "\"a candidate.\\n\"", ")", ";", "return", "false", ";", "}", "return", "canTailPredicateLoop", "(", "L", ",", "LI", ",", "SE", ",", "DL", ",", "LAI", ")", ";", "}", ""], "natrual_language": ["Query", "the", "target", "whether", "it", "would", "be", "prefered", "to", "create", "a", "predicated", "vector", "loop", ",", "which", "can", "avoid", "the", "need", "to", "emit", "a", "scalar", "epilogue", "loop", "."], "TS_V_token": ["ARM", "ARM", "1", "\"preferPredicateOverEpilogue: not a single block \"", "\"loop.\\n\"", "\"preferPredicateOverEpilogue: inner-loop expected\"", "\"preferPredicateOverEpilogue: hardware-loop is not \"", "\"analyzable.\\n\"", "\"preferPredicateOverEpilogue: hardware-loop is not \"", "\"profitable.\\n\"", "\"preferPredicateOverEpilogue: hardware-loop is not \"", "\"a candidate.\\n\""], "File": "ARMTargetTransformInfo1", "Func": "preferPredicateOverEpilogue", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1184, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "SMLoc", "getStartLoc", "(", ")", "const", "LLVM_OVERRIDE", "{", "return", "StartLoc", ";", "}", ""], "natrual_language": ["getStartLoc", "-", "Get", "the", "location", "of", "the", "first", "token", "of", "this", "operand", "."], "TS_V_token": ["Videocore"], "File": "VideocoreAsmParser", "Func": "getStartLoc", "Target": "Videocore", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1185, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "avr_function_arg_regno_p", "(", "int", "r", ")", "{", "return", "(", "AVR_TINY", "?", "r", ">=", "20", "&&", "r", "<=", "25", ":", "r", ">=", "8", "&&", "r", "<=", "25", ")", ";", "}", ""], "natrual_language": ["Returns", "nonzero", "if", "REGNO", "is", "the", "number", "of", "a", "hard", "register", "in", "which", "function", "arguments", "are", "sometimes", "passed", "."], "TS_V_token": ["avr", "20", "25", "8", "25"], "File": "avr4", "Func": "avr_function_arg_regno_p", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1186, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "SPAdj", "==", "0", "&&", "\"Unxpected\"", ")", ";", "unsigned", "i", "=", "0", ";", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "\"Instr doesn't have FrameIndex operand!\"", ")", ";", "}", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "i", ")", ".", "getIndex", "(", ")", ";", "unsigned", "BasePtr", "=", "(", "hasFP", "(", "MF", ")", "?", "SystemZ", "::", "R11D", ":", "SystemZ", "::", "R15D", ")", ";", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "BasePtr", ",", "false", ")", ";", "int", "Offset", "=", "getFrameIndexOffset", "(", "MF", ",", "FrameIndex", ")", "+", "MI", ".", "getOperand", "(", "i", "+", "1", ")", ".", "getImm", "(", ")", ";", "MI", ".", "setDesc", "(", "TII", ".", "getMemoryInstr", "(", "MI", ".", "getOpcode", "(", ")", ",", "Offset", ")", ")", ";", "MI", ".", "getOperand", "(", "i", "+", "1", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["SystemZ", "SystemZ", "0", "\"Unxpected\"", "0", "\"Instr doesn't have FrameIndex operand!\"", "SystemZ::R11D", "SystemZ::R15D", "1", "1"], "File": "SystemZRegisterInfo13", "Func": "eliminateFrameIndex", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1187, "Length": 189, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "valid_bL_string_p", "(", "const", "char", "*", "*", "core", ",", "const", "char", "*", "bL_string", ")", "{", "return", "strstr", "(", "bL_string", ",", "core", "[", "0", "]", ")", "!=", "NULL", "&&", "strstr", "(", "bL_string", ",", "core", "[", "1", "]", ")", "!=", "NULL", ";", "}", ""], "natrual_language": ["Check", "wether", "the", "string", "CORE", "contains", "the", "same", "CPU", "part", "numbers", "as", "BL_STRING", ".", "For", "example", "CORE=", "''", "{", "0xd03", ",", "0xd07", "}", "''", "and", "BL_STRING=", "''", "0xd07.0xd03", "''", "should", "return", "true", "."], "TS_V_token": ["aarch64", "0", "1"], "File": "driver-aarch642", "Func": "valid_bL_string_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1188, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_setup_incoming_varargs", "(", "cumulative_args_t", "cum", ",", "const", "function_arg_info", "&", "arg", ",", "int", "*", "pretend_size", "ATTRIBUTE_UNUSED", ",", "int", "no_rtl", ")", "{", "CUMULATIVE_ARGS", "local_cum", ";", "int", "gp_saved", ";", "local_cum", "=", "*", "get_cumulative_args", "(", "cum", ")", ";", "riscv_function_arg_advance", "(", "pack_cumulative_args", "(", "&", "local_cum", ")", ",", "arg", ")", ";", "gp_saved", "=", "MAX_ARGS_IN_REGISTERS", "-", "local_cum", ".", "num_gprs", ";", "if", "(", "!", "no_rtl", "&&", "gp_saved", ">", "0", ")", "{", "rtx", "ptr", "=", "plus_constant", "(", "Pmode", ",", "virtual_incoming_args_rtx", ",", "REG_PARM_STACK_SPACE", "(", "cfun", "->", "decl", ")", "-", "gp_saved", "*", "UNITS_PER_WORD", ")", ";", "rtx", "mem", "=", "gen_frame_mem", "(", "BLKmode", ",", "ptr", ")", ";", "set_mem_alias_set", "(", "mem", ",", "get_varargs_alias_set", "(", ")", ")", ";", "move_block_from_reg", "(", "local_cum", ".", "num_gprs", "+", "GP_ARG_FIRST", ",", "mem", ",", "gp_saved", ")", ";", "}", "if", "(", "REG_PARM_STACK_SPACE", "(", "cfun", "->", "decl", ")", "==", "0", ")", "cfun", "->", "machine", "->", "varargs_size", "=", "gp_saved", "*", "UNITS_PER_WORD", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SETUP_INCOMING_VARARGS", "."], "TS_V_token": ["riscv", "0", "0"], "File": "riscv", "Func": "riscv_setup_incoming_varargs", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1189, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstrBuilder", "SIInstrInfo", "::", "buildIndirectRead", "(", "MachineBasicBlock", "*", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "ValueReg", ",", "unsigned", "Address", ",", "unsigned", "OffsetReg", ")", "const", "{", "const", "DebugLoc", "&", "DL", "=", "MBB", "->", "findDebugLoc", "(", "I", ")", ";", "unsigned", "IndirectBaseReg", "=", "AMDGPU", "::", "VGPR_32RegClass", ".", "getRegister", "(", "getIndirectIndexBegin", "(", "*", "MBB", "->", "getParent", "(", ")", ")", ")", ";", "return", "BuildMI", "(", "*", "MBB", ",", "I", ",", "DL", ",", "get", "(", "AMDGPU", "::", "SI_INDIRECT_SRC_V1", ")", ")", ".", "addOperand", "(", "I", "->", "getOperand", "(", "0", ")", ")", ".", "addOperand", "(", "I", "->", "getOperand", "(", "1", ")", ")", ".", "addReg", "(", "IndirectBaseReg", ")", ".", "addReg", "(", "OffsetReg", ")", ".", "addImm", "(", "0", ")", ";", "}", ""], "natrual_language": ["Build", "instruction", "(", "s", ")", "for", "an", "indirect", "register", "read", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU::VGPR_32RegClass", "AMDGPU::SI_INDIRECT_SRC_V1", "0", "1", "0"], "File": "SIInstrInfo (3)", "Func": "buildIndirectRead", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1190, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleDAGInstrs", "*", "createMachineScheduler", "(", "MachineSchedContext", "*", "C", ")", "const", "override", "{", "return", "createVLIWMachineSched", "(", "C", ")", ";", "}", ""], "natrual_language": ["Create", "an", "instance", "of", "ScheduleDAGInstrs", "to", "be", "run", "within", "the", "standard", "MachineScheduler", "pass", "for", "this", "function", "and", "target", "at", "the", "current", "optimization", "level", "."], "TS_V_token": ["Hexagon"], "File": "HexagonTargetMachine (2)", "Func": "createMachineScheduler", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1191, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "tilegx_emit_fp_setcc", "(", "rtx", "res", ",", "enum", "rtx_code", "code", ",", "machine_mode", "mode", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "rtx", "flags", ";", "int", "flag_index", ";", "rtx", "a", "=", "force_reg", "(", "DImode", ",", "gen_lowpart", "(", "DImode", ",", "op0", ")", ")", ";", "rtx", "b", "=", "force_reg", "(", "DImode", ",", "gen_lowpart", "(", "DImode", ",", "op1", ")", ")", ";", "flags", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "if", "(", "mode", "==", "SFmode", ")", "{", "emit_insn", "(", "gen_insn_fsingle_add1", "(", "flags", ",", "a", ",", "b", ")", ")", ";", "}", "else", "{", "gcc_assert", "(", "mode", "==", "DFmode", ")", ";", "emit_insn", "(", "gen_insn_fdouble_add_flags", "(", "flags", ",", "a", ",", "b", ")", ")", ";", "}", "switch", "(", "code", ")", "{", "case", "EQ", ":", "flag_index", "=", "30", ";", "break", ";", "case", "NE", ":", "flag_index", "=", "31", ";", "break", ";", "case", "LE", ":", "flag_index", "=", "27", ";", "break", ";", "case", "LT", ":", "flag_index", "=", "26", ";", "break", ";", "case", "GE", ":", "flag_index", "=", "29", ";", "break", ";", "case", "GT", ":", "flag_index", "=", "28", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "gcc_assert", "(", "GET_MODE", "(", "res", ")", "==", "DImode", ")", ";", "emit_move_insn", "(", "res", ",", "gen_rtx_ZERO_EXTRACT", "(", "DImode", ",", "flags", ",", "GEN_INT", "(", "1", ")", ",", "GEN_INT", "(", "flag_index", ")", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Produce", "the", "rtx", "yielding", "a", "bool", "for", "a", "floating", "point", "comparison", "."], "TS_V_token": ["tilegx", "30", "31", "27", "26", "29", "28", "1"], "File": "tilegx", "Func": "tilegx_emit_fp_setcc", "Target": "tilegx", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 1192, "Length": 208, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Mips16FrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "MachineBasicBlock", "*", "EntryBlock", "=", "&", "MF", "->", "front", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "bool", "IsRAAndRetAddrIsTaken", "=", "(", "Reg", "==", "Mips", "::", "RA", ")", "&&", "MF", "->", "getFrameInfo", "(", ")", "->", "isReturnAddressTaken", "(", ")", ";", "if", "(", "!", "IsRAAndRetAddrIsTaken", ")", "EntryBlock", "->", "addLiveIn", "(", "Reg", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["spillCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "spill", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "store", "instructions", "via", "storeRegToStackSlot", "(", ")", "."], "TS_V_token": ["Mips", "Mips", "0", "Mips::RA"], "File": "Mips16FrameLowering20", "Func": "spillCalleeSavedRegisters", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1193, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCSection", "*", "TMS320C64XTargetObjectFileELF", "::", "getSectionForConstant", "(", "SectionKind", "Kind", ")", "const", "{", "assert", "(", "Kind", ".", "isReadOnly", "(", ")", ")", ";", "return", "getDataSection", "(", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constant", "with", "the", "SectionKind", ",", "return", "a", "section", "that", "it", "should", "be", "placed", "in", "."], "TS_V_token": ["TMS320C64X", "TMS320C64X"], "File": "TMS320C64XTargetObjectFile", "Func": "getSectionForConstant", "Target": "TMS320C64X", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 1194, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "msp430_output_labelref", "(", "FILE", "*", "file", ",", "const", "char", "*", "name", ")", "{", "int", "i", ";", "for", "(", "i", "=", "0", ";", "helper_function_name_mappings", "[", "i", "]", ".", "gcc_name", ";", "i", "++", ")", "if", "(", "strcmp", "(", "helper_function_name_mappings", "[", "i", "]", ".", "gcc_name", ",", "name", ")", "==", "0", ")", "{", "name", "=", "helper_function_name_mappings", "[", "i", "]", ".", "ti_name", ";", "break", ";", "}", "if", "(", "msp430_hwmult_type", "!=", "MSP430_HWMULT_NONE", ")", "{", "if", "(", "strcmp", "(", "\"__mspabi_mpyi\"", ",", "name", ")", "==", "0", ")", "{", "if", "(", "msp430_use_f5_series_hwmult", "(", ")", ")", "name", "=", "\"__mulhi2_f5\"", ";", "else", "if", "(", "!", "msp430_no_hwmult", "(", ")", ")", "name", "=", "\"__mulhi2\"", ";", "}", "else", "if", "(", "strcmp", "(", "\"__mspabi_mpyl\"", ",", "name", ")", "==", "0", ")", "{", "if", "(", "msp430_use_f5_series_hwmult", "(", ")", ")", "name", "=", "\"__mulsi2_f5\"", ";", "else", "if", "(", "use_32bit_hwmult", "(", ")", ")", "name", "=", "\"__mulsi2_hw32\"", ";", "else", "if", "(", "!", "msp430_no_hwmult", "(", ")", ")", "name", "=", "\"__mulsi2\"", ";", "}", "}", "if", "(", "user_label_prefix", "[", "0", "]", "!=", "0", ")", "fputs", "(", "user_label_prefix", ",", "file", ")", ";", "fputs", "(", "name", ",", "file", ")", ";", "}", ""], "natrual_language": ["This", "function", "does", "the", "same", "as", "the", "default", ",", "but", "it", "will", "replace", "GCC", "function", "names", "with", "the", "MSPABI-specified", "ones", "."], "TS_V_token": ["msp430", "0", "0", "\"__mspabi_mpyi\"", "0", "\"__mulhi2_f5\"", "\"__mulhi2\"", "\"__mspabi_mpyl\"", "0", "\"__mulsi2_f5\"", "\"__mulsi2_hw32\"", "\"__mulsi2\"", "0", "0"], "File": "msp4306", "Func": "msp430_output_labelref", "Target": "msp430", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1195, "Length": 175, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "Position", ",", "unsigned", "DestinationRegister", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RegisterClass", ",", "const", "TargetRegisterInfo", "*", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "Position", "!=", "MBB", ".", "end", "(", ")", ")", "{", "DL", "=", "Position", "->", "getDebugLoc", "(", ")", ";", "}", "if", "(", "!", "Lanai", "::", "GPRRegClass", ".", "hasSubClassEq", "(", "RegisterClass", ")", ")", "{", "llvm_unreachable", "(", "\"Can't load this register from stack slot\"", ")", ";", "}", "BuildMI", "(", "MBB", ",", "Position", ",", "DL", ",", "get", "(", "Lanai", "::", "LDW_RI", ")", ",", "DestinationRegister", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "LPAC", "::", "ADD", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai::GPRRegClass", "\"Can't load this register from stack slot\"", "Lanai::LDW_RI", "0"], "File": "LanaiInstrInfo (2)", "Func": "loadRegFromStackSlot", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1196, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "epiphany_init", "(", "void", ")", "{", "pass_mode_switch_use", "=", "make_pass_mode_switch_use", "(", "g", ")", ";", "struct", "register_pass_info", "insert_use_info", "=", "{", "pass_mode_switch_use", ",", "\"mode_sw\"", ",", "1", ",", "PASS_POS_INSERT_AFTER", "}", ";", "opt_pass", "*", "mode_sw2", "=", "g", "->", "get_passes", "(", ")", "->", "get_pass_mode_switching", "(", ")", "->", "clone", "(", ")", ";", "struct", "register_pass_info", "mode_sw2_info", "=", "{", "mode_sw2", ",", "\"mode_sw\"", ",", "1", ",", "PASS_POS_INSERT_AFTER", "}", ";", "opt_pass", "*", "mode_sw3", "=", "make_pass_resolve_sw_modes", "(", "g", ")", ";", "struct", "register_pass_info", "mode_sw3_info", "=", "{", "mode_sw3", ",", "\"mode_sw\"", ",", "1", ",", "PASS_POS_INSERT_AFTER", "}", ";", "opt_pass", "*", "mode_sw4", "=", "g", "->", "get_passes", "(", ")", "->", "get_pass_split_all_insns", "(", ")", "->", "clone", "(", ")", ";", "struct", "register_pass_info", "mode_sw4_info", "=", "{", "mode_sw4", ",", "\"mode_sw\"", ",", "1", ",", "PASS_POS_INSERT_AFTER", "}", ";", "static", "const", "int", "num_modes", "[", "]", "=", "NUM_MODES_FOR_MODE_SWITCHING", ";", "epiphany_init_reg_tables", "(", ")", ";", "memset", "(", "epiphany_punct_chars", ",", "0", ",", "sizeof", "(", "epiphany_punct_chars", ")", ")", ";", "epiphany_punct_chars", "[", "'-'", "]", "=", "1", ";", "epiphany_normal_fp_rounding", "=", "(", "epiphany_normal_fp_mode", "==", "FP_MODE_ROUND_TRUNC", "?", "FP_MODE_ROUND_TRUNC", ":", "FP_MODE_ROUND_NEAREST", ")", ";", "register_pass", "(", "&", "mode_sw4_info", ")", ";", "register_pass", "(", "&", "mode_sw2_info", ")", ";", "register_pass", "(", "&", "mode_sw3_info", ")", ";", "register_pass", "(", "&", "insert_use_info", ")", ";", "register_pass", "(", "&", "mode_sw2_info", ")", ";", "gcc_assert", "(", "N_ENTITIES", "==", "EPIPHANY_MSW_ENTITY_NUM", ")", ";", "{", "opt_pass", "*", "extra_peephole2", "=", "g", "->", "get_passes", "(", ")", "->", "get_pass_peephole2", "(", ")", "->", "clone", "(", ")", ";", "struct", "register_pass_info", "peep2_2_info", "=", "{", "extra_peephole2", ",", "\"peephole2\"", ",", "1", ",", "PASS_POS_INSERT_AFTER", "}", ";", "register_pass", "(", "&", "peep2_2_info", ")", ";", "}", "}", ""], "natrual_language": ["Called", "from", "epiphany_override_options", ".", "We", "use", "this", "to", "initialize", "various", "things", "."], "TS_V_token": ["epiphany", "\"mode_sw\"", "1", "\"mode_sw\"", "1", "\"mode_sw\"", "1", "\"mode_sw\"", "1", "0", "1", "\"peephole2\"", "1"], "File": "epiphany", "Func": "epiphany_init", "Target": "epiphany", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1197, "Length": 237, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "s390_cannot_force_const_mem", "(", "machine_mode", "mode", ",", "rtx", "x", ")", "{", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "CONST_INT", ":", "case", "CONST_DOUBLE", ":", "case", "CONST_WIDE_INT", ":", "case", "CONST_VECTOR", ":", "return", "false", ";", "case", "LABEL_REF", ":", "return", "flag_pic", "!=", "0", ";", "case", "SYMBOL_REF", ":", "if", "(", "tls_symbolic_operand", "(", "x", ")", ")", "return", "true", ";", "else", "return", "flag_pic", "!=", "0", ";", "case", "CONST", ":", "return", "s390_cannot_force_const_mem", "(", "mode", ",", "XEXP", "(", "x", ",", "0", ")", ")", ";", "case", "PLUS", ":", "case", "MINUS", ":", "return", "s390_cannot_force_const_mem", "(", "mode", ",", "XEXP", "(", "x", ",", "0", ")", ")", "||", "s390_cannot_force_const_mem", "(", "mode", ",", "XEXP", "(", "x", ",", "1", ")", ")", ";", "case", "UNSPEC", ":", "switch", "(", "XINT", "(", "x", ",", "1", ")", ")", "{", "case", "UNSPEC_LTREL_OFFSET", ":", "case", "UNSPEC_GOT", ":", "case", "UNSPEC_GOTOFF", ":", "case", "UNSPEC_PLTOFF", ":", "case", "UNSPEC_TLSGD", ":", "case", "UNSPEC_TLSLDM", ":", "case", "UNSPEC_NTPOFF", ":", "case", "UNSPEC_DTPOFF", ":", "case", "UNSPEC_GOTNTPOFF", ":", "case", "UNSPEC_INDNTPOFF", ":", "return", "false", ";", "case", "UNSPEC_INSN", ":", "return", "TARGET_CPU_ZARCH", ";", "default", ":", "return", "true", ";", "}", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Determine", "if", "it", "'s", "legal", "to", "put", "X", "into", "the", "constant", "pool", ".", "This", "is", "not", "possible", "if", "X", "contains", "the", "address", "of", "a", "symbol", "that", "is", "not", "constant", "(", "TLS", ")", "or", "not", "known", "at", "final", "link", "time", "(", "PIC", ")", "."], "TS_V_token": ["s390", "0", "0", "0", "0", "1", "1"], "File": "s3905", "Func": "s390_cannot_force_const_mem", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1198, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int64_t", "getOffset", "(", ")", "const", "{", "return", "Offset", ";", "}", ""], "natrual_language": ["Get", "the", "offest", "of", "a", "string", "in", "the", "string", "table", "."], "TS_V_token": ["WebAssembly"], "File": "WebAssemblyFastISel (2)2", "Func": "getOffset", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1199, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "AnalyzeArguments", "(", "CCState", "&", "State", ",", "SmallVectorImpl", "<", "CCValAssign", ">", "&", "ArgLocs", ",", "const", "SmallVectorImpl", "<", "ArgT", ">", "&", "Args", ")", "{", "static", "const", "MCPhysReg", "RegList", "[", "]", "=", "{", "FISC", "::", "X10", ",", "FISC", "::", "X11", ",", "FISC", "::", "X12", ",", "FISC", "::", "X13", ",", "FISC", "::", "X14", ",", "FISC", "::", "X15", ",", "FISC", "::", "X26", ",", "FISC", "::", "X27", ",", "FISC", "::", "X18", "}", ";", "static", "const", "unsigned", "NbRegs", "=", "array_lengthof", "(", "RegList", ")", ";", "SmallVector", "<", "unsigned", ",", "4", ">", "ArgsParts", ";", "ParseFunctionArgs", "(", "Args", ",", "ArgsParts", ")", ";", "if", "(", "State", ".", "isVarArg", "(", ")", ")", "{", "unsigned", "ValNo", "=", "0", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "ArgsParts", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "i", "++", ")", "{", "MVT", "ArgVT", "=", "Args", "[", "ValNo", "]", ".", "VT", ";", "MVT", "LocVT", "=", "ArgVT", ";", "CCValAssign", "::", "LocInfo", "LocInfo", "=", "CCValAssign", "::", "Full", ";", "for", "(", "unsigned", "j", "=", "0", ";", "j", "<", "ArgsParts", "[", "i", "]", ";", "j", "++", ")", "{", "if", "(", "i", "==", "0", "&&", "j", "==", "0", ")", "State", ".", "addLoc", "(", "CCValAssign", "::", "getCustomMem", "(", "ValNo", "++", ",", "ArgVT", ",", "State", ".", "AllocateStack", "(", "8", ",", "8", ")", ",", "LocVT", ",", "LocInfo", ")", ")", ";", "else", "State", ".", "addLoc", "(", "CCValAssign", "::", "getCustomMem", "(", "ValNo", "++", ",", "ArgVT", ",", "State", ".", "AllocateStack", "(", "8", ",", "8", ")", ",", "LocVT", ",", "LocInfo", ")", ")", ";", "}", "}", "return", ";", "}", "unsigned", "RegsLeft", "=", "NbRegs", ";", "bool", "UseStack", "=", "false", ";", "unsigned", "ValNo", "=", "0", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "ArgsParts", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "i", "++", ")", "{", "MVT", "ArgVT", "=", "Args", "[", "ValNo", "]", ".", "VT", ";", "ISD", "::", "ArgFlagsTy", "ArgFlags", "=", "Args", "[", "ValNo", "]", ".", "Flags", ";", "MVT", "LocVT", "=", "ArgVT", ";", "CCValAssign", "::", "LocInfo", "LocInfo", "=", "CCValAssign", "::", "Full", ";", "if", "(", "ArgFlags", ".", "isByVal", "(", ")", ")", "{", "State", ".", "HandleByVal", "(", "ValNo", "++", ",", "ArgVT", ",", "LocVT", ",", "LocInfo", ",", "8", ",", "8", ",", "ArgFlags", ")", ";", "continue", ";", "}", "unsigned", "Parts", "=", "ArgsParts", "[", "i", "]", ";", "if", "(", "!", "UseStack", "&&", "Parts", "<=", "RegsLeft", ")", "{", "unsigned", "FirstVal", "=", "ValNo", ";", "for", "(", "unsigned", "j", "=", "0", ";", "j", "<", "Parts", ";", "j", "++", ")", "{", "unsigned", "Reg", "=", "State", ".", "AllocateReg", "(", "RegList", ")", ";", "State", ".", "addLoc", "(", "CCValAssign", "::", "getReg", "(", "ValNo", "++", ",", "ArgVT", ",", "Reg", ",", "LocVT", ",", "LocInfo", ")", ")", ";", "RegsLeft", "--", ";", "}", "SmallVectorImpl", "<", "CCValAssign", ">", "::", "iterator", "B", "=", "ArgLocs", ".", "begin", "(", ")", "+", "FirstVal", ";", "std", "::", "reverse", "(", "B", ",", "B", "+", "Parts", ")", ";", "}", "else", "{", "UseStack", "=", "true", ";", "for", "(", "unsigned", "j", "=", "0", ";", "j", "<", "Parts", ";", "j", "++", ")", "CC_FISC", "(", "ValNo", "++", ",", "ArgVT", ",", "LocVT", ",", "LocInfo", ",", "ArgFlags", ",", "State", ")", ";", "}", "}", "}", ""], "natrual_language": ["The", "function", "will", "invoke", "AnalyzeCallOperands", "."], "TS_V_token": ["FISC", "FISC::X10", "FISC::X11", "FISC::X12", "FISC::X13", "FISC::X14", "FISC::X15", "FISC::X26", "FISC::X27", "FISC::X18", "4", "0", "0", "0", "0", "0", "8", "8", "8", "8", "0", "0", "ISD::ArgFlagsTy", "8", "8", "0", "0", "FISC"], "File": "FISCISelLowering", "Func": "AnalyzeArguments", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1200, "Length": 491, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "getIORegRAMPZ", "(", "void", ")", "const", "{", "return", "0x3b", ";", "}", ""], "natrual_language": ["Get", "I/O", "register", "addresses", "."], "TS_V_token": ["AVR", "0x3b"], "File": "AVRSubtarget5", "Func": "getIORegRAMPZ", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1201, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonInstrInfo", "::", "getBaseAndOffsetPosition", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "&", "BasePos", ",", "unsigned", "&", "OffsetPos", ")", "const", "{", "if", "(", "!", "isAddrModeWithOffset", "(", "MI", ")", "&&", "!", "isPostIncrement", "(", "MI", ")", ")", "return", "false", ";", "if", "(", "isMemOp", "(", "MI", ")", ")", "{", "BasePos", "=", "0", ";", "OffsetPos", "=", "1", ";", "}", "else", "if", "(", "MI", ".", "mayStore", "(", ")", ")", "{", "BasePos", "=", "0", ";", "OffsetPos", "=", "1", ";", "}", "else", "if", "(", "MI", ".", "mayLoad", "(", ")", ")", "{", "BasePos", "=", "1", ";", "OffsetPos", "=", "2", ";", "}", "else", "return", "false", ";", "if", "(", "isPredicated", "(", "MI", ")", ")", "{", "BasePos", "++", ";", "OffsetPos", "++", ";", "}", "if", "(", "isPostIncrement", "(", "MI", ")", ")", "{", "BasePos", "++", ";", "OffsetPos", "++", ";", "}", "if", "(", "!", "MI", ".", "getOperand", "(", "BasePos", ")", ".", "isReg", "(", ")", "||", "!", "MI", ".", "getOperand", "(", "OffsetPos", ")", ".", "isImm", "(", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "instruction", "contains", "a", "base", "register", "and", "offset", "."], "TS_V_token": ["Hexagon", "Hexagon", "0", "1", "0", "1", "1", "2"], "File": "HexagonInstrInfo (2)2", "Func": "getBaseAndOffsetPosition", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1202, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sparc_flat_expand_prologue", "(", "void", ")", "{", "HOST_WIDE_INT", "size", ";", "rtx_insn", "*", "insn", ";", "sparc_leaf_function_p", "=", "optimize", ">", "0", "&&", "crtl", "->", "is_leaf", ";", "size", "=", "sparc_compute_frame_size", "(", "get_frame_size", "(", ")", ",", "sparc_leaf_function_p", ")", ";", "if", "(", "flag_stack_usage_info", ")", "current_function_static_stack_size", "=", "size", ";", "if", "(", "flag_stack_check", "==", "STATIC_BUILTIN_STACK_CHECK", ")", "{", "if", "(", "crtl", "->", "is_leaf", "&&", "!", "cfun", "->", "calls_alloca", ")", "{", "if", "(", "size", ">", "PROBE_INTERVAL", "&&", "size", ">", "STACK_CHECK_PROTECT", ")", "sparc_emit_probe_stack_range", "(", "STACK_CHECK_PROTECT", ",", "size", "-", "STACK_CHECK_PROTECT", ")", ";", "}", "else", "if", "(", "size", ">", "0", ")", "sparc_emit_probe_stack_range", "(", "STACK_CHECK_PROTECT", ",", "size", ")", ";", "}", "if", "(", "sparc_save_local_in_regs_p", ")", "emit_save_or_restore_local_in_regs", "(", "stack_pointer_rtx", ",", "SPARC_STACK_BIAS", ",", "SORR_SAVE", ")", ";", "if", "(", "size", "==", "0", ")", ";", "else", "{", "rtx", "size_int_rtx", ",", "size_rtx", ";", "size_rtx", "=", "size_int_rtx", "=", "GEN_INT", "(", "-", "size", ")", ";", "if", "(", "size", "<=", "4096", ")", "insn", "=", "emit_insn", "(", "gen_stack_pointer_inc", "(", "size_int_rtx", ")", ")", ";", "else", "if", "(", "size", "<=", "8192", "&&", "!", "frame_pointer_needed", ")", "{", "insn", "=", "emit_insn", "(", "gen_stack_pointer_inc", "(", "GEN_INT", "(", "-", "4096", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "insn", "=", "emit_insn", "(", "gen_stack_pointer_inc", "(", "GEN_INT", "(", "4096", "-", "size", ")", ")", ")", ";", "}", "else", "{", "size_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ";", "emit_move_insn", "(", "size_rtx", ",", "size_int_rtx", ")", ";", "insn", "=", "emit_insn", "(", "gen_stack_pointer_inc", "(", "size_rtx", ")", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_ADJUST_CFA", ",", "gen_stack_pointer_inc", "(", "size_int_rtx", ")", ")", ";", "}", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "if", "(", "frame_pointer_needed", ")", "{", "insn", "=", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "hard_frame_pointer_rtx", ",", "gen_rtx_MINUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "size_rtx", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_ADJUST_CFA", ",", "gen_rtx_SET", "(", "VOIDmode", ",", "hard_frame_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "size", ")", ")", ")", ";", "}", "if", "(", "return_addr_reg_needed_p", "(", "sparc_leaf_function_p", ")", ")", "{", "rtx", "o7", "=", "gen_rtx_REG", "(", "Pmode", ",", "INCOMING_RETURN_ADDR_REGNUM", ")", ";", "rtx", "i7", "=", "gen_rtx_REG", "(", "Pmode", ",", "RETURN_ADDR_REGNUM", ")", ";", "insn", "=", "emit_move_insn", "(", "i7", ",", "o7", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_REGISTER", ",", "gen_rtx_SET", "(", "VOIDmode", ",", "i7", ",", "o7", ")", ")", ";", "emit_use", "(", "i7", ")", ";", "}", "}", "if", "(", "frame_pointer_needed", ")", "{", "sparc_frame_base_reg", "=", "hard_frame_pointer_rtx", ";", "sparc_frame_base_offset", "=", "SPARC_STACK_BIAS", ";", "}", "else", "{", "sparc_frame_base_reg", "=", "stack_pointer_rtx", ";", "sparc_frame_base_offset", "=", "size", "+", "SPARC_STACK_BIAS", ";", "}", "if", "(", "sparc_n_global_fp_regs", ">", "0", ")", "emit_save_or_restore_global_fp_regs", "(", "sparc_frame_base_reg", ",", "sparc_frame_base_offset", "-", "sparc_apparent_frame_size", ",", "SORR_SAVE", ")", ";", "if", "(", "crtl", "->", "uses_pic_offset_table", ")", "load_got_register", "(", ")", ";", "sparc_prologue_data_valid_p", "=", "true", ";", "}", ""], "natrual_language": ["Expand", "the", "function", "prologue", ".", "The", "prologue", "is", "responsible", "for", "reserving", "storage", "for", "the", "frame", ",", "saving", "the", "call-saved", "registers", "and", "loading", "the", "GOT", "register", "if", "needed", "."], "TS_V_token": ["sparc", "0", "0", "0", "4096", "8192", "4096", "1", "4096", "1", "1", "1", "1", "0"], "File": "sparc4", "Func": "sparc_flat_expand_prologue", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1203, "Length": 435, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "bool", "isAligned", "=", "(", "RI", ".", "getStackAlignment", "(", ")", ">=", "16", ")", "||", "RI", ".", "needsStackRealignment", "(", "MF", ")", ";", "unsigned", "Opc", "=", "getStoreRegOpcode", "(", "SrcReg", ",", "RC", ",", "isAligned", ",", "TM", ")", ";", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "addFrameReference", "(", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opc", ")", ")", ",", "FrameIdx", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["X86", "X86", "16"], "File": "X86InstrInfo108", "Func": "storeRegToStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1204, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "XCoreAsmPrinter", "::", "emitFunctionBodyStart", "(", ")", "{", "MCInstLowering", ".", "Initialize", "(", "&", "MF", "->", "getContext", "(", ")", ")", ";", "}", ""], "natrual_language": ["Targets", "can", "override", "this", "to", "emit", "stuff", "before", "the", "first", "basic", "block", "in", "the", "function", "."], "TS_V_token": ["XCore", "XCore"], "File": "XCoreAsmPrinter10", "Func": "emitFunctionBodyStart", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1205, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "Register", "DstReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "unsigned", "Opcode", ";", "if", "(", "RISCV", "::", "GPRRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "TRI", "->", "getRegSizeInBits", "(", "RISCV", "::", "GPRRegClass", ")", "==", "32", "?", "RISCV", "::", "LW", ":", "RISCV", "::", "LD", ";", "else", "if", "(", "RISCV", "::", "FPR32RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "RISCV", "::", "FLW", ";", "else", "if", "(", "RISCV", "::", "FPR64RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opcode", "=", "RISCV", "::", "FLD", ";", "else", "llvm_unreachable", "(", "\"Can't load this register from stack slot\"", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opcode", ")", ",", "DstReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::GPRRegClass", "RISCV::GPRRegClass", "32", "RISCV::LW", "RISCV::LD", "RISCV::FPR32RegClass", "RISCV::FLW", "RISCV::FPR64RegClass", "RISCV::FLD", "\"Can't load this register from stack slot\"", "0"], "File": "RISCVInstrInfo11", "Func": "loadRegFromStackSlot", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1206, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"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": 1207, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "DestSourcePair", ">", "X86InstrInfo", "::", "isCopyInstrImpl", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "MI", ".", "isMoveReg", "(", ")", ")", "return", "DestSourcePair", "{", "MI", ".", "getOperand", "(", "0", ")", ",", "MI", ".", "getOperand", "(", "1", ")", "}", ";", "return", "None", ";", "}", ""], "natrual_language": ["If", "the", "specific", "machine", "instruction", "is", "a", "instruction", "that", "moves/copies", "value", "from", "one", "register", "to", "another", "register", "return", "destination", "and", "source", "registers", "as", "machine", "operands", "."], "TS_V_token": ["X86", "X86", "0", "1"], "File": "X86InstrInfo (2)3", "Func": "isCopyInstrImpl", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1208, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_vect_float_const_representable_p", "(", "rtx", "x", ")", "{", "int", "i", "=", "0", ";", "REAL_VALUE_TYPE", "r0", ",", "ri", ";", "rtx", "x0", ",", "xi", ";", "if", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "x", ")", ")", "!=", "MODE_VECTOR_FLOAT", ")", "return", "false", ";", "x0", "=", "CONST_VECTOR_ELT", "(", "x", ",", "0", ")", ";", "if", "(", "!", "CONST_DOUBLE_P", "(", "x0", ")", ")", "return", "false", ";", "REAL_VALUE_FROM_CONST_DOUBLE", "(", "r0", ",", "x0", ")", ";", "for", "(", "i", "=", "1", ";", "i", "<", "CONST_VECTOR_NUNITS", "(", "x", ")", ";", "i", "++", ")", "{", "xi", "=", "CONST_VECTOR_ELT", "(", "x", ",", "i", ")", ";", "if", "(", "!", "CONST_DOUBLE_P", "(", "xi", ")", ")", "return", "false", ";", "REAL_VALUE_FROM_CONST_DOUBLE", "(", "ri", ",", "xi", ")", ";", "if", "(", "!", "REAL_VALUES_EQUAL", "(", "r0", ",", "ri", ")", ")", "return", "false", ";", "}", "return", "aarch64_float_const_representable_p", "(", "x0", ")", ";", "}", ""], "natrual_language": ["Return", "true", "iff", "x", "is", "a", "uniform", "vector", "of", "floating-point", "constants", ",", "and", "the", "constant", "can", "be", "represented", "in", "quarter-precision", "form", ".", "Note", ",", "as", "aarch64_float_const_representable", "rejects", "both", "+0.0", "and", "-0.0", ",", "we", "will", "also", "reject", "+0.0", "and", "-0.0", "."], "TS_V_token": ["aarch64", "0", "0", "1"], "File": "aarch642", "Func": "aarch64_vect_float_const_representable_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1209, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCSubtarget", "::", "isPPC64", "(", ")", "const", "{", "return", "TM", ".", "isPPC64", "(", ")", ";", "}", ""], "natrual_language": ["Tests", "whether", "the", "target", "is", "64-bit", "PowerPC", "(", "little", "and", "big", "endian", ")", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC"], "File": "PPCSubtarget (2)", "Func": "isPPC64", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1210, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCSection", "*", "getSectionForConstant", "(", "SectionKind", "Kind", ",", "const", "Constant", "*", "C", ")", "const", "override", "{", "return", "ReadOnlySection", ";", "}", ""], "natrual_language": ["Given", "a", "constant", "with", "the", "SectionKind", ",", "return", "a", "section", "that", "it", "should", "be", "placed", "in", "."], "TS_V_token": ["NVPTX"], "File": "NVPTXTargetObjectFile2", "Func": "getSectionForConstant", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1211, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCTargetLowering", "::", "initializeSplitCSR", "(", "MachineBasicBlock", "*", "Entry", ")", "const", "{", "if", "(", "Subtarget", ".", "isDarwinABI", "(", ")", ")", "return", ";", "if", "(", "!", "Subtarget", ".", "isPPC64", "(", ")", ")", "return", ";", "PPCFunctionInfo", "*", "PFI", "=", "Entry", "->", "getParent", "(", ")", "->", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", ";", "PFI", "->", "setIsSplitCSR", "(", "true", ")", ";", "}", ""], "natrual_language": ["Perform", "necessary", "initialization", "to", "handle", "a", "subset", "of", "CSRs", "explicitly", "via", "copies", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC"], "File": "PPCISelLowering (2)7", "Func": "initializeSplitCSR", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1212, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCTargetLowering", "::", "LowerAsmOperandForConstraint", "(", "SDValue", "Op", ",", "std", "::", "string", "&", "Constraint", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "Ops", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDValue", "Result", ";", "if", "(", "Constraint", ".", "length", "(", ")", ">", "1", ")", "return", ";", "char", "Letter", "=", "Constraint", "[", "0", "]", ";", "switch", "(", "Letter", ")", "{", "default", ":", "break", ";", "case", "'I'", ":", "case", "'J'", ":", "case", "'K'", ":", "case", "'L'", ":", "case", "'M'", ":", "case", "'N'", ":", "case", "'O'", ":", "case", "'P'", ":", "{", "ConstantSDNode", "*", "CST", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ";", "if", "(", "!", "CST", ")", "return", ";", "SDLoc", "dl", "(", "Op", ")", ";", "int64_t", "Value", "=", "CST", "->", "getSExtValue", "(", ")", ";", "EVT", "TCVT", "=", "MVT", "::", "i64", ";", "switch", "(", "Letter", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown constraint letter!\"", ")", ";", "case", "'I'", ":", "if", "(", "isInt", "<", "16", ">", "(", "Value", ")", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "dl", ",", "TCVT", ")", ";", "break", ";", "case", "'J'", ":", "if", "(", "isShiftedUInt", "<", "16", ",", "16", ">", "(", "Value", ")", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "dl", ",", "TCVT", ")", ";", "break", ";", "case", "'L'", ":", "if", "(", "isShiftedInt", "<", "16", ",", "16", ">", "(", "Value", ")", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "dl", ",", "TCVT", ")", ";", "break", ";", "case", "'K'", ":", "if", "(", "isUInt", "<", "16", ">", "(", "Value", ")", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "dl", ",", "TCVT", ")", ";", "break", ";", "case", "'M'", ":", "if", "(", "Value", ">", "31", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "dl", ",", "TCVT", ")", ";", "break", ";", "case", "'N'", ":", "if", "(", "Value", ">", "0", "&&", "isPowerOf2_64", "(", "Value", ")", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "dl", ",", "TCVT", ")", ";", "break", ";", "case", "'O'", ":", "if", "(", "Value", "==", "0", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "dl", ",", "TCVT", ")", ";", "break", ";", "case", "'P'", ":", "if", "(", "isInt", "<", "16", ">", "(", "-", "Value", ")", ")", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Value", ",", "dl", ",", "TCVT", ")", ";", "break", ";", "}", "break", ";", "}", "}", "if", "(", "Result", ".", "getNode", "(", ")", ")", "{", "Ops", ".", "push_back", "(", "Result", ")", ";", "return", ";", "}", "TargetLowering", "::", "LowerAsmOperandForConstraint", "(", "Op", ",", "Constraint", ",", "Ops", ",", "DAG", ")", ";", "}", ""], "natrual_language": ["Lower", "the", "specified", "operand", "into", "the", "Ops", "vector", "."], "TS_V_token": ["PowerPC", "PPC", "1", "0", "MVT::i64", "\"Unknown constraint letter!\"", "16", "16", "16", "16", "16", "16", "31", "0", "0", "16"], "File": "PPCISelLowering (2)2", "Func": "LowerAsmOperandForConstraint", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1213, "Length": 399, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AZPRFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\">> AZPRFrameLowering::emitPrologue <<\\n\"", ")", ";", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "AZPRInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "AZPRInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "uint64_t", "StackSize", "=", "4", "*", "16", ";", "MFI", "->", "setStackSize", "(", "StackSize", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "AZPR", "::", "ADDUI", ")", ",", "AZPR", "::", "r30", ")", ".", "addReg", "(", "AZPR", "::", "r30", ")", ".", "addImm", "(", "-", "StackSize", ")", ";", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["AZPR", "AZPR", "\">> AZPRFrameLowering::emitPrologue <<\\n\"", "AZPR", "AZPR", "4", "16", "AZPR::ADDUI", "AZPR::r30", "AZPR::r30"], "File": "AZPRFrameLowering", "Func": "emitPrologue", "Target": "AZPR", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1214, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonInstrInfo", "::", "isValidOffset", "(", "const", "int", "Opcode", ",", "const", "int", "Offset", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "case", "Hexagon", "::", "LDriw", ":", "case", "Hexagon", "::", "STriw", ":", "assert", "(", "(", "Offset", "%", "4", "==", "0", ")", "&&", "\"Offset has incorrect alignment\"", ")", ";", "return", "(", "Offset", ">=", "Hexagon_MEMW_OFFSET_MIN", ")", "&&", "(", "Offset", "<=", "Hexagon_MEMW_OFFSET_MAX", ")", ";", "case", "Hexagon", "::", "LDrid", ":", "case", "Hexagon", "::", "STrid", ":", "assert", "(", "(", "Offset", "%", "8", "==", "0", ")", "&&", "\"Offset has incorrect alignment\"", ")", ";", "return", "(", "Offset", ">=", "Hexagon_MEMD_OFFSET_MIN", ")", "&&", "(", "Offset", "<=", "Hexagon_MEMD_OFFSET_MAX", ")", ";", "case", "Hexagon", "::", "LDrih", ":", "case", "Hexagon", "::", "LDriuh", ":", "case", "Hexagon", "::", "STrih", ":", "case", "Hexagon", "::", "LDrih_ae", ":", "assert", "(", "(", "Offset", "%", "2", "==", "0", ")", "&&", "\"Offset has incorrect alignment\"", ")", ";", "return", "(", "Offset", ">=", "Hexagon_MEMH_OFFSET_MIN", ")", "&&", "(", "Offset", "<=", "Hexagon_MEMH_OFFSET_MAX", ")", ";", "case", "Hexagon", "::", "LDrib", ":", "case", "Hexagon", "::", "STrib", ":", "case", "Hexagon", "::", "LDriub", ":", "case", "Hexagon", "::", "LDriubit", ":", "case", "Hexagon", "::", "LDrib_ae", ":", "case", "Hexagon", "::", "LDriub_ae", ":", "return", "(", "Offset", ">=", "Hexagon_MEMB_OFFSET_MIN", ")", "&&", "(", "Offset", "<=", "Hexagon_MEMB_OFFSET_MAX", ")", ";", "case", "Hexagon", "::", "ADD_ri", ":", "case", "Hexagon", "::", "TFR_FI", ":", "return", "(", "Offset", ">=", "Hexagon_ADDI_OFFSET_MIN", ")", "&&", "(", "Offset", "<=", "Hexagon_ADDI_OFFSET_MAX", ")", ";", "case", "Hexagon", "::", "MEMw_ADDSUBi_indexed_MEM_V4", ":", "case", "Hexagon", "::", "MEMw_ADDi_indexed_MEM_V4", ":", "case", "Hexagon", "::", "MEMw_SUBi_indexed_MEM_V4", ":", "case", "Hexagon", "::", "MEMw_ADDr_indexed_MEM_V4", ":", "case", "Hexagon", "::", "MEMw_SUBr_indexed_MEM_V4", ":", "case", "Hexagon", "::", "MEMw_ANDr_indexed_MEM_V4", ":", "case", "Hexagon", "::", "MEMw_ORr_indexed_MEM_V4", ":", "case", "Hexagon", "::", "MEMw_ADDSUBi_MEM_V4", ":", "case", "Hexagon", "::", "MEMw_ADDi_MEM_V4", ":", "case", "Hexagon", "::", "MEMw_SUBi_MEM_V4", ":", "case", "Hexagon", "::", "MEMw_ADDr_MEM_V4", ":", "case", "Hexagon", "::", "MEMw_SUBr_MEM_V4", ":", "case", "Hexagon", "::", "MEMw_ANDr_MEM_V4", ":", "case", "Hexagon", "::", "MEMw_ORr_MEM_V4", ":", "assert", "(", "(", "Offset", "%", "4", ")", "==", "0", "&&", "\"MEMOPw offset is not aligned correctly.\"", ")", ";", "return", "(", "0", "<=", "Offset", "&&", "Offset", "<=", "255", ")", ";", "case", "Hexagon", "::", "MEMh_ADDSUBi_indexed_MEM_V4", ":", "case", "Hexagon", "::", "MEMh_ADDi_indexed_MEM_V4", ":", "case", "Hexagon", "::", "MEMh_SUBi_indexed_MEM_V4", ":", "case", "Hexagon", "::", "MEMh_ADDr_indexed_MEM_V4", ":", "case", "Hexagon", "::", "MEMh_SUBr_indexed_MEM_V4", ":", "case", "Hexagon", "::", "MEMh_ANDr_indexed_MEM_V4", ":", "case", "Hexagon", "::", "MEMh_ORr_indexed_MEM_V4", ":", "case", "Hexagon", "::", "MEMh_ADDSUBi_MEM_V4", ":", "case", "Hexagon", "::", "MEMh_ADDi_MEM_V4", ":", "case", "Hexagon", "::", "MEMh_SUBi_MEM_V4", ":", "case", "Hexagon", "::", "MEMh_ADDr_MEM_V4", ":", "case", "Hexagon", "::", "MEMh_SUBr_MEM_V4", ":", "case", "Hexagon", "::", "MEMh_ANDr_MEM_V4", ":", "case", "Hexagon", "::", "MEMh_ORr_MEM_V4", ":", "assert", "(", "(", "Offset", "%", "2", ")", "==", "0", "&&", "\"MEMOPh offset is not aligned correctly.\"", ")", ";", "return", "(", "0", "<=", "Offset", "&&", "Offset", "<=", "127", ")", ";", "case", "Hexagon", "::", "MEMb_ADDSUBi_indexed_MEM_V4", ":", "case", "Hexagon", "::", "MEMb_ADDi_indexed_MEM_V4", ":", "case", "Hexagon", "::", "MEMb_SUBi_indexed_MEM_V4", ":", "case", "Hexagon", "::", "MEMb_ADDr_indexed_MEM_V4", ":", "case", "Hexagon", "::", "MEMb_SUBr_indexed_MEM_V4", ":", "case", "Hexagon", "::", "MEMb_ANDr_indexed_MEM_V4", ":", "case", "Hexagon", "::", "MEMb_ORr_indexed_MEM_V4", ":", "case", "Hexagon", "::", "MEMb_ADDSUBi_MEM_V4", ":", "case", "Hexagon", "::", "MEMb_ADDi_MEM_V4", ":", "case", "Hexagon", "::", "MEMb_SUBi_MEM_V4", ":", "case", "Hexagon", "::", "MEMb_ADDr_MEM_V4", ":", "case", "Hexagon", "::", "MEMb_SUBr_MEM_V4", ":", "case", "Hexagon", "::", "MEMb_ANDr_MEM_V4", ":", "case", "Hexagon", "::", "MEMb_ORr_MEM_V4", ":", "return", "(", "0", "<=", "Offset", "&&", "Offset", "<=", "63", ")", ";", "case", "Hexagon", "::", "STriw_pred", ":", "case", "Hexagon", "::", "LDriw_pred", ":", "return", "true", ";", "case", "Hexagon", "::", "INLINEASM", ":", "return", "true", ";", "}", "llvm_unreachable", "(", "\"No offset range is defined for this opcode. \"", "\"Please define it in the above switch statement!\"", ")", ";", "}", ""], "natrual_language": ["Test", "the", "validity", "of", "offset", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon::LDriw", "Hexagon::STriw", "4", "0", "\"Offset has incorrect alignment\"", "Hexagon", "Hexagon", "Hexagon::LDrid", "Hexagon::STrid", "8", "0", "\"Offset has incorrect alignment\"", "Hexagon", "Hexagon", "Hexagon::LDrih", "Hexagon::LDriuh", "Hexagon::STrih", "Hexagon::LDrih_ae", "2", "0", "\"Offset has incorrect alignment\"", "Hexagon", "Hexagon", "Hexagon::LDrib", "Hexagon::STrib", "Hexagon::LDriub", "Hexagon::LDriubit", "Hexagon::LDrib_ae", "Hexagon::LDriub_ae", "Hexagon", "Hexagon", "Hexagon::ADD_ri", "Hexagon::TFR_FI", "Hexagon", "Hexagon", "Hexagon::MEMw_ADDSUBi_indexed_MEM_V4", "Hexagon::MEMw_ADDi_indexed_MEM_V4", "Hexagon::MEMw_SUBi_indexed_MEM_V4", "Hexagon::MEMw_ADDr_indexed_MEM_V4", "Hexagon::MEMw_SUBr_indexed_MEM_V4", "Hexagon::MEMw_ANDr_indexed_MEM_V4", "Hexagon::MEMw_ORr_indexed_MEM_V4", "Hexagon::MEMw_ADDSUBi_MEM_V4", "Hexagon::MEMw_ADDi_MEM_V4", "Hexagon::MEMw_SUBi_MEM_V4", "Hexagon::MEMw_ADDr_MEM_V4", "Hexagon::MEMw_SUBr_MEM_V4", "Hexagon::MEMw_ANDr_MEM_V4", "Hexagon::MEMw_ORr_MEM_V4", "4", "0", "\"MEMOPw offset is not aligned correctly.\"", "0", "255", "Hexagon::MEMh_ADDSUBi_indexed_MEM_V4", "Hexagon::MEMh_ADDi_indexed_MEM_V4", "Hexagon::MEMh_SUBi_indexed_MEM_V4", "Hexagon::MEMh_ADDr_indexed_MEM_V4", "Hexagon::MEMh_SUBr_indexed_MEM_V4", "Hexagon::MEMh_ANDr_indexed_MEM_V4", "Hexagon::MEMh_ORr_indexed_MEM_V4", "Hexagon::MEMh_ADDSUBi_MEM_V4", "Hexagon::MEMh_ADDi_MEM_V4", "Hexagon::MEMh_SUBi_MEM_V4", "Hexagon::MEMh_ADDr_MEM_V4", "Hexagon::MEMh_SUBr_MEM_V4", "Hexagon::MEMh_ANDr_MEM_V4", "Hexagon::MEMh_ORr_MEM_V4", "2", "0", "\"MEMOPh offset is not aligned correctly.\"", "0", "127", "Hexagon::MEMb_ADDSUBi_indexed_MEM_V4", "Hexagon::MEMb_ADDi_indexed_MEM_V4", "Hexagon::MEMb_SUBi_indexed_MEM_V4", "Hexagon::MEMb_ADDr_indexed_MEM_V4", "Hexagon::MEMb_SUBr_indexed_MEM_V4", "Hexagon::MEMb_ANDr_indexed_MEM_V4", "Hexagon::MEMb_ORr_indexed_MEM_V4", "Hexagon::MEMb_ADDSUBi_MEM_V4", "Hexagon::MEMb_ADDi_MEM_V4", "Hexagon::MEMb_SUBi_MEM_V4", "Hexagon::MEMb_ADDr_MEM_V4", "Hexagon::MEMb_SUBr_MEM_V4", "Hexagon::MEMb_ANDr_MEM_V4", "Hexagon::MEMb_ORr_MEM_V4", "0", "63", "Hexagon::STriw_pred", "Hexagon::LDriw_pred", "Hexagon::INLINEASM", "\"No offset range is defined for this opcode. \"", "\"Please define it in the above switch statement!\""], "File": "HexagonInstrInfo25", "Func": "isValidOffset", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1215, "Length": 502, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "addExpr", "(", "MCInst", "&", "Inst", ",", "const", "MCExpr", "*", "Expr", ")", "const", "{", "if", "(", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Expr", ")", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "CE", "->", "getValue", "(", ")", ")", ")", ";", "else", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateExpr", "(", "Expr", ")", ")", ";", "}", ""], "natrual_language": ["Add", "a", "new", "MCExpr", "operand", "."], "TS_V_token": ["AArch64"], "File": "AArch64AsmParser13", "Func": "addExpr", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1216, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "iq2000_va_start", "(", "tree", "valist", ",", "rtx", "nextarg", ")", "{", "int", "int_arg_words", ";", "int", "gpr_save_area_size", ";", "int_arg_words", "=", "current_function_args_info", ".", "arg_words", ";", "if", "(", "int_arg_words", "<", "8", ")", "gpr_save_area_size", "=", "(", "8", "-", "int_arg_words", ")", "*", "UNITS_PER_WORD", ";", "else", "gpr_save_area_size", "=", "0", ";", "nextarg", "=", "plus_constant", "(", "nextarg", ",", "-", "gpr_save_area_size", ")", ";", "std_expand_builtin_va_start", "(", "valist", ",", "nextarg", ")", ";", "}", ""], "natrual_language": ["Implement", "va_start", "."], "TS_V_token": ["iq2000", "8", "8", "0"], "File": "iq20002", "Func": "iq2000_va_start", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1217, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "AMDGPUTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "(", "AMDGPUISD", "::", "NodeType", ")", "Opcode", ")", "{", "case", "AMDGPUISD", "::", "FIRST_NUMBER", ":", "break", ";", "NODE_NAME_CASE", "(", "UMUL", ")", ";", "NODE_NAME_CASE", "(", "BRANCH_COND", ")", ";", "NODE_NAME_CASE", "(", "IF", ")", "NODE_NAME_CASE", "(", "ELSE", ")", "NODE_NAME_CASE", "(", "LOOP", ")", "NODE_NAME_CASE", "(", "CALL", ")", "NODE_NAME_CASE", "(", "RET_FLAG", ")", "NODE_NAME_CASE", "(", "RETURN_TO_EPILOG", ")", "NODE_NAME_CASE", "(", "ENDPGM", ")", "NODE_NAME_CASE", "(", "DWORDADDR", ")", "NODE_NAME_CASE", "(", "FRACT", ")", "NODE_NAME_CASE", "(", "SETCC", ")", "NODE_NAME_CASE", "(", "SETREG", ")", "NODE_NAME_CASE", "(", "FMA_W_CHAIN", ")", "NODE_NAME_CASE", "(", "FMUL_W_CHAIN", ")", "NODE_NAME_CASE", "(", "CLAMP", ")", "NODE_NAME_CASE", "(", "COS_HW", ")", "NODE_NAME_CASE", "(", "SIN_HW", ")", "NODE_NAME_CASE", "(", "FMAX_LEGACY", ")", "NODE_NAME_CASE", "(", "FMIN_LEGACY", ")", "NODE_NAME_CASE", "(", "FMAX3", ")", "NODE_NAME_CASE", "(", "SMAX3", ")", "NODE_NAME_CASE", "(", "UMAX3", ")", "NODE_NAME_CASE", "(", "FMIN3", ")", "NODE_NAME_CASE", "(", "SMIN3", ")", "NODE_NAME_CASE", "(", "UMIN3", ")", "NODE_NAME_CASE", "(", "FMED3", ")", "NODE_NAME_CASE", "(", "SMED3", ")", "NODE_NAME_CASE", "(", "UMED3", ")", "NODE_NAME_CASE", "(", "URECIP", ")", "NODE_NAME_CASE", "(", "DIV_SCALE", ")", "NODE_NAME_CASE", "(", "DIV_FMAS", ")", "NODE_NAME_CASE", "(", "DIV_FIXUP", ")", "NODE_NAME_CASE", "(", "FMAD_FTZ", ")", "NODE_NAME_CASE", "(", "TRIG_PREOP", ")", "NODE_NAME_CASE", "(", "RCP", ")", "NODE_NAME_CASE", "(", "RSQ", ")", "NODE_NAME_CASE", "(", "RCP_LEGACY", ")", "NODE_NAME_CASE", "(", "RSQ_LEGACY", ")", "NODE_NAME_CASE", "(", "FMUL_LEGACY", ")", "NODE_NAME_CASE", "(", "RSQ_CLAMP", ")", "NODE_NAME_CASE", "(", "LDEXP", ")", "NODE_NAME_CASE", "(", "FP_CLASS", ")", "NODE_NAME_CASE", "(", "DOT4", ")", "NODE_NAME_CASE", "(", "CARRY", ")", "NODE_NAME_CASE", "(", "BORROW", ")", "NODE_NAME_CASE", "(", "BFE_U32", ")", "NODE_NAME_CASE", "(", "BFE_I32", ")", "NODE_NAME_CASE", "(", "BFI", ")", "NODE_NAME_CASE", "(", "BFM", ")", "NODE_NAME_CASE", "(", "FFBH_U32", ")", "NODE_NAME_CASE", "(", "FFBH_I32", ")", "NODE_NAME_CASE", "(", "MUL_U24", ")", "NODE_NAME_CASE", "(", "MUL_I24", ")", "NODE_NAME_CASE", "(", "MULHI_U24", ")", "NODE_NAME_CASE", "(", "MULHI_I24", ")", "NODE_NAME_CASE", "(", "MUL_LOHI_U24", ")", "NODE_NAME_CASE", "(", "MUL_LOHI_I24", ")", "NODE_NAME_CASE", "(", "MAD_U24", ")", "NODE_NAME_CASE", "(", "MAD_I24", ")", "NODE_NAME_CASE", "(", "TEXTURE_FETCH", ")", "NODE_NAME_CASE", "(", "EXPORT", ")", "NODE_NAME_CASE", "(", "EXPORT_DONE", ")", "NODE_NAME_CASE", "(", "R600_EXPORT", ")", "NODE_NAME_CASE", "(", "CONST_ADDRESS", ")", "NODE_NAME_CASE", "(", "REGISTER_LOAD", ")", "NODE_NAME_CASE", "(", "REGISTER_STORE", ")", "NODE_NAME_CASE", "(", "SAMPLE", ")", "NODE_NAME_CASE", "(", "SAMPLEB", ")", "NODE_NAME_CASE", "(", "SAMPLED", ")", "NODE_NAME_CASE", "(", "SAMPLEL", ")", "NODE_NAME_CASE", "(", "CVT_F32_UBYTE0", ")", "NODE_NAME_CASE", "(", "CVT_F32_UBYTE1", ")", "NODE_NAME_CASE", "(", "CVT_F32_UBYTE2", ")", "NODE_NAME_CASE", "(", "CVT_F32_UBYTE3", ")", "NODE_NAME_CASE", "(", "CVT_PKRTZ_F16_F32", ")", "NODE_NAME_CASE", "(", "FP_TO_FP16", ")", "NODE_NAME_CASE", "(", "FP16_ZEXT", ")", "NODE_NAME_CASE", "(", "BUILD_VERTICAL_VECTOR", ")", "NODE_NAME_CASE", "(", "CONST_DATA_PTR", ")", "NODE_NAME_CASE", "(", "PC_ADD_REL_OFFSET", ")", "NODE_NAME_CASE", "(", "KILL", ")", "NODE_NAME_CASE", "(", "DUMMY_CHAIN", ")", "case", "AMDGPUISD", "::", "FIRST_MEM_OPCODE_NUMBER", ":", "break", ";", "NODE_NAME_CASE", "(", "SENDMSG", ")", "NODE_NAME_CASE", "(", "SENDMSGHALT", ")", "NODE_NAME_CASE", "(", "INTERP_MOV", ")", "NODE_NAME_CASE", "(", "INTERP_P1", ")", "NODE_NAME_CASE", "(", "INTERP_P2", ")", "NODE_NAME_CASE", "(", "STORE_MSKOR", ")", "NODE_NAME_CASE", "(", "LOAD_CONSTANT", ")", "NODE_NAME_CASE", "(", "TBUFFER_STORE_FORMAT", ")", "NODE_NAME_CASE", "(", "ATOMIC_CMP_SWAP", ")", "NODE_NAME_CASE", "(", "ATOMIC_INC", ")", "NODE_NAME_CASE", "(", "ATOMIC_DEC", ")", "NODE_NAME_CASE", "(", "BUFFER_LOAD", ")", "NODE_NAME_CASE", "(", "BUFFER_LOAD_FORMAT", ")", "case", "AMDGPUISD", "::", "LAST_AMDGPU_ISD_NUMBER", ":", "break", ";", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPUISD::NodeType", "AMDGPUISD::FIRST_NUMBER", "SI", "R600", "AMDGPUISD::FIRST_MEM_OPCODE_NUMBER", "AMDGPUISD::LAST_AMDGPU_ISD_NUMBER"], "File": "AMDGPUISelLowering103", "Func": "getTargetNodeName", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1218, "Length": 434, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "XCoreTargetMachine", "::", "addInstSelector", "(", "PassManagerBase", "&", "PM", ",", "bool", "Fast", ")", "{", "PM", ".", "add", "(", "createXCoreISelDag", "(", "*", "this", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["XCore", "XCore", "XCore"], "File": "XCoreTargetMachine34", "Func": "addInstSelector", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1219, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "InstrItineraryData", "*", "getInstrItineraryData", "(", ")", "const", "override", "{", "return", "&", "InstrItins", ";", "}", ""], "natrual_language": ["getInstrItineraryData", "-", "Returns", "instruction", "itinerary", "data", "for", "the", "target", "or", "specific", "subtarget", "."], "TS_V_token": ["X86"], "File": "X86Subtarget (2)", "Func": "getInstrItineraryData", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1220, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ShortInstrPeephole", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "bool", "Changed", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "for", "(", "MachineInstr", "&", "MI", ":", "MBB", ")", "{", "Changed", "|=", "runOnInstruction", "(", "MI", ")", ";", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AAP"], "File": "AAPShortInstrPeephole", "Func": "runOnMachineFunction", "Target": "AAP", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1221, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseRegisterInfo", "::", "getRegAllocationHints", "(", "unsigned", "VirtReg", ",", "ArrayRef", "<", "MCPhysReg", ">", "Order", ",", "SmallVectorImpl", "<", "MCPhysReg", ">", "&", "Hints", ",", "const", "MachineFunction", "&", "MF", ",", "const", "VirtRegMap", "*", "VRM", ",", "const", "LiveRegMatrix", "*", "Matrix", ")", "const", "{", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "std", "::", "pair", "<", "unsigned", ",", "unsigned", ">", "Hint", "=", "MRI", ".", "getRegAllocationHint", "(", "VirtReg", ")", ";", "unsigned", "Odd", ";", "switch", "(", "Hint", ".", "first", ")", "{", "case", "ARMRI", "::", "RegPairEven", ":", "Odd", "=", "0", ";", "break", ";", "case", "ARMRI", "::", "RegPairOdd", ":", "Odd", "=", "1", ";", "break", ";", "default", ":", "TargetRegisterInfo", "::", "getRegAllocationHints", "(", "VirtReg", ",", "Order", ",", "Hints", ",", "MF", ",", "VRM", ")", ";", "return", ";", "}", "unsigned", "Paired", "=", "Hint", ".", "second", ";", "if", "(", "Paired", "==", "0", ")", "return", ";", "unsigned", "PairedPhys", "=", "0", ";", "if", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "Paired", ")", ")", "{", "PairedPhys", "=", "Paired", ";", "}", "else", "if", "(", "VRM", "&&", "VRM", "->", "hasPhys", "(", "Paired", ")", ")", "{", "PairedPhys", "=", "getPairedGPR", "(", "VRM", "->", "getPhys", "(", "Paired", ")", ",", "Odd", ",", "this", ")", ";", "}", "if", "(", "PairedPhys", "&&", "is_contained", "(", "Order", ",", "PairedPhys", ")", ")", "Hints", ".", "push_back", "(", "PairedPhys", ")", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "Order", ".", "size", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "unsigned", "Reg", "=", "Order", "[", "I", "]", ";", "if", "(", "Reg", "==", "PairedPhys", "||", "(", "getEncodingValue", "(", "Reg", ")", "&", "1", ")", "!=", "Odd", ")", "continue", ";", "unsigned", "Paired", "=", "getPairedGPR", "(", "Reg", ",", "!", "Odd", ",", "this", ")", ";", "if", "(", "!", "Paired", "||", "MRI", ".", "isReserved", "(", "Paired", ")", ")", "continue", ";", "Hints", ".", "push_back", "(", "Reg", ")", ";", "}", "}", ""], "natrual_language": ["Get", "a", "list", "of", "'hint", "'", "registers", "that", "the", "register", "allocator", "should", "try", "first", "when", "allocating", "a", "physical", "register", "for", "the", "virtual", "register", "VirtReg", "."], "TS_V_token": ["ARM", "ARM", "ARMRI::RegPairEven", "0", "ARMRI::RegPairOdd", "1", "0", "0", "0", "1"], "File": "ARMBaseRegisterInfo10", "Func": "getRegAllocationHints", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1222, "Length": 287, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "frv_volatile_memref", "(", "machine_mode", "mode", ",", "rtx", "arg", ")", "{", "rtx", "mem", ";", "mem", "=", "gen_rtx_MEM", "(", "mode", ",", "memory_address", "(", "mode", ",", "arg", ")", ")", ";", "MEM_VOLATILE_P", "(", "mem", ")", "=", "1", ";", "return", "mem", ";", "}", ""], "natrual_language": ["Return", "a", "volatile", "memory", "reference", "of", "mode", "MODE", "whose", "address", "is", "ARG", "."], "TS_V_token": ["frv", "1"], "File": "frv", "Func": "frv_volatile_memref", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 1223, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addPreEmitPass2", "(", ")", "{", "const", "Triple", "&", "TT", "=", "TM", "->", "getTargetTriple", "(", ")", ";", "const", "MCAsmInfo", "*", "MAI", "=", "TM", "->", "getMCAsmInfo", "(", ")", ";", "addPass", "(", "createX86SpeculativeExecutionSideEffectSuppression", "(", ")", ")", ";", "addPass", "(", "createX86IndirectThunksPass", "(", ")", ")", ";", "if", "(", "TT", ".", "isOSWindows", "(", ")", "&&", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ")", "addPass", "(", "createX86AvoidTrailingCallPass", "(", ")", ")", ";", "if", "(", "!", "TT", ".", "isOSDarwin", "(", ")", "&&", "(", "!", "TT", ".", "isOSWindows", "(", ")", "||", "MAI", "->", "getExceptionHandlingType", "(", ")", "==", "ExceptionHandling", "::", "DwarfCFI", ")", ")", "addPass", "(", "createCFIInstrInserter", "(", ")", ")", ";", "if", "(", "TT", ".", "isOSWindows", "(", ")", ")", "{", "addPass", "(", "createCFGuardLongjmpPass", "(", ")", ")", ";", "addPass", "(", "createEHContGuardCatchretPass", "(", ")", ")", ";", "}", "addPass", "(", "createX86LoadValueInjectionRetHardeningPass", "(", ")", ")", ";", "addPass", "(", "createPseudoProbeInserter", "(", ")", ")", ";", "}", ""], "natrual_language": ["Targets", "may", "add", "passes", "immediately", "before", "machine", "code", "is", "emitted", "in", "this", "callback", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86"], "File": "X86TargetMachine114", "Func": "addPreEmitPass2", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1224, "Length": 142, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonTargetLowering", "::", "isLegalAddressingMode", "(", "const", "DataLayout", "&", "DL", ",", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ",", "Instruction", "*", "I", ")", "const", "{", "if", "(", "Ty", "->", "isSized", "(", ")", ")", "{", "Align", "A", "=", "DL", ".", "getABITypeAlign", "(", "Ty", ")", ";", "if", "(", "!", "isAligned", "(", "A", ",", "AM", ".", "BaseOffs", ")", ")", "return", "false", ";", "if", "(", "!", "isInt", "<", "11", ">", "(", "AM", ".", "BaseOffs", ">>", "Log2", "(", "A", ")", ")", ")", "return", "false", ";", "}", "if", "(", "AM", ".", "BaseGV", ")", "return", "false", ";", "int", "Scale", "=", "AM", ".", "Scale", ";", "if", "(", "Scale", "<", "0", ")", "Scale", "=", "-", "Scale", ";", "switch", "(", "Scale", ")", "{", "case", "0", ":", "break", ";", "default", ":", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["isLegalAddressingMode", "-", "Return", "true", "if", "the", "addressing", "mode", "represented", "by", "AM", "is", "legal", "for", "this", "target", ",", "for", "a", "load/store", "of", "the", "specified", "type", "."], "TS_V_token": ["Hexagon", "Hexagon", "11", "0", "0"], "File": "HexagonISelLowering100", "Func": "isLegalAddressingMode", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1225, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsFastISel", "::", "fastMaterializeConstant", "(", "const", "Constant", "*", "C", ")", "{", "EVT", "CEVT", "=", "TLI", ".", "getValueType", "(", "C", "->", "getType", "(", ")", ",", "true", ")", ";", "if", "(", "!", "CEVT", ".", "isSimple", "(", ")", ")", "return", "0", ";", "MVT", "VT", "=", "CEVT", ".", "getSimpleVT", "(", ")", ";", "if", "(", "const", "ConstantFP", "*", "CFP", "=", "dyn_cast", "<", "ConstantFP", ">", "(", "C", ")", ")", "return", "MaterializeFP", "(", "CFP", ",", "VT", ")", ";", "else", "if", "(", "const", "GlobalValue", "*", "GV", "=", "dyn_cast", "<", "GlobalValue", ">", "(", "C", ")", ")", "return", "MaterializeGV", "(", "GV", ",", "VT", ")", ";", "else", "if", "(", "isa", "<", "ConstantInt", ">", "(", "C", ")", ")", "return", "MaterializeInt", "(", "C", ",", "VT", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Emit", "a", "constant", "in", "a", "register", "using", "target-specific", "logic", ",", "such", "as", "constant", "pool", "loads", "."], "TS_V_token": ["Mips", "Mips", "0", "0"], "File": "MipsFastISel45", "Func": "fastMaterializeConstant", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1226, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "XCoreTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalTLSAddress", ":", "return", "LowerGlobalTLSAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "LowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "LowerConstantPool", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BR_JT", ":", "return", "LowerBR_JT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "LOAD", ":", "return", "LowerLOAD", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "LowerSTORE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VAARG", ":", "return", "LowerVAARG", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SMUL_LOHI", ":", "return", "LowerSMUL_LOHI", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "UMUL_LOHI", ":", "return", "LowerUMUL_LOHI", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ADD", ":", "case", "ISD", "::", "SUB", ":", "return", "ExpandADDSUB", "(", "Op", ".", "getNode", "(", ")", ",", "DAG", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "LowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "default", ":", "llvm_unreachable", "(", "\"unimplemented operand\"", ")", ";", "return", "SDValue", "(", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["XCore", "XCore", "ISD::GlobalAddress", "ISD::GlobalTLSAddress", "ISD::BlockAddress", "ISD::ConstantPool", "ISD::BR_JT", "ISD::LOAD", "ISD::STORE", "ISD::SELECT_CC", "ISD::VAARG", "ISD::VASTART", "ISD::SMUL_LOHI", "ISD::UMUL_LOHI", "ISD::ADD", "ISD::SUB", "ISD::FRAMEADDR", "\"unimplemented operand\""], "File": "XCoreISelLowering15", "Func": "LowerOperation", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1227, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "reset", "(", "size_type", "Idx", ")", "{", "V", ".", "reset", "(", "Idx", ")", ";", "}", ""], "natrual_language": ["Reset", "an", "existing", "scalar", "value", "for", "Def", "and", "a", "given", "Instance", "."], "TS_V_token": ["X86"], "File": "ImmutableGraph", "Func": "reset", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1228, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "s390_offset_p", "(", "rtx", "mem1", ",", "rtx", "mem2", ",", "rtx", "delta", ")", "{", "rtx", "addr1", ",", "addr2", ",", "addr_delta", ";", "if", "(", "GET_CODE", "(", "mem1", ")", "!=", "MEM", "||", "GET_CODE", "(", "mem2", ")", "!=", "MEM", ")", "return", "false", ";", "addr1", "=", "XEXP", "(", "mem1", ",", "0", ")", ";", "addr2", "=", "XEXP", "(", "mem2", ",", "0", ")", ";", "addr_delta", "=", "simplify_binary_operation", "(", "MINUS", ",", "Pmode", ",", "addr2", ",", "addr1", ")", ";", "if", "(", "!", "addr_delta", "||", "!", "rtx_equal_p", "(", "addr_delta", ",", "delta", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Check", "whether", "the", "address", "of", "memory", "reference", "MEM2", "equals", "exactly", "the", "address", "of", "memory", "reference", "MEM1", "plus", "DELTA", ".", "Return", "true", "if", "we", "can", "prove", "this", "to", "be", "the", "case", ",", "false", "otherwise", "."], "TS_V_token": ["s390", "0", "0"], "File": "s390", "Func": "s390_offset_p", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1229, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "override", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "]", "=", "{", "{", "\"fixup_riscv_hi20\"", ",", "12", ",", "20", ",", "0", "}", ",", "{", "\"fixup_riscv_lo12_i\"", ",", "20", ",", "12", ",", "0", "}", ",", "{", "\"fixup_riscv_lo12_s\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_riscv_pcrel_hi20\"", ",", "12", ",", "20", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_riscv_pcrel_lo12_i\"", ",", "20", ",", "12", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_riscv_pcrel_lo12_s\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_riscv_got_hi20\"", ",", "12", ",", "20", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_riscv_jal\"", ",", "12", ",", "20", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_riscv_branch\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_riscv_rvc_jump\"", ",", "2", ",", "11", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_riscv_rvc_branch\"", ",", "0", ",", "16", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_riscv_call\"", ",", "0", ",", "64", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_riscv_relax\"", ",", "0", ",", "0", ",", "0", "}", ",", "{", "\"fixup_riscv_align\"", ",", "0", ",", "0", ",", "0", "}", "}", ";", "static_assert", "(", "(", "array_lengthof", "(", "Infos", ")", ")", "==", "RISCV", "::", "NumTargetFixupKinds", ",", "\"Not all fixup kinds added to Infos array\"", ")", ";", "if", "(", "Kind", "<", "FirstTargetFixupKind", ")", "return", "MCAsmBackend", "::", "getFixupKindInfo", "(", "Kind", ")", ";", "assert", "(", "unsigned", "(", "Kind", "-", "FirstTargetFixupKind", ")", "<", "getNumFixupKinds", "(", ")", "&&", "\"Invalid kind!\"", ")", ";", "return", "Infos", "[", "Kind", "-", "FirstTargetFixupKind", "]", ";", "}", ""], "natrual_language": ["Get", "information", "on", "a", "fixup", "kind", "."], "TS_V_token": ["RISCV", "\"fixup_riscv_hi20\"", "12", "20", "0", "\"fixup_riscv_lo12_i\"", "20", "12", "0", "\"fixup_riscv_lo12_s\"", "0", "32", "0", "\"fixup_riscv_pcrel_hi20\"", "12", "20", "\"fixup_riscv_pcrel_lo12_i\"", "20", "12", "\"fixup_riscv_pcrel_lo12_s\"", "0", "32", "\"fixup_riscv_got_hi20\"", "12", "20", "\"fixup_riscv_jal\"", "12", "20", "\"fixup_riscv_branch\"", "0", "32", "\"fixup_riscv_rvc_jump\"", "2", "11", "\"fixup_riscv_rvc_branch\"", "0", "16", "\"fixup_riscv_call\"", "0", "64", "\"fixup_riscv_relax\"", "0", "0", "0", "\"fixup_riscv_align\"", "0", "0", "0", "RISCV::NumTargetFixupKinds", "\"Not all fixup kinds added to Infos array\"", "\"Invalid kind!\""], "File": "RISCVAsmBackend14", "Func": "getFixupKindInfo", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1230, "Length": 233, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "iq2000_check_split", "(", "rtx", "address", ",", "enum", "machine_mode", "mode", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", ">", "(", "unsigned", ")", "UNITS_PER_WORD", ")", "return", "0", ";", "if", "(", "(", "GET_CODE", "(", "address", ")", "==", "SYMBOL_REF", ")", "||", "(", "GET_CODE", "(", "address", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "address", ",", "0", ")", ",", "0", ")", ")", "==", "SYMBOL_REF", ")", "||", "GET_CODE", "(", "address", ")", "==", "LABEL_REF", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "we", "split", "the", "address", "into", "high", "and", "low", "parts", "."], "TS_V_token": ["iq2000", "0", "0", "0", "1", "0"], "File": "iq20002", "Func": "iq2000_check_split", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1231, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "c6x_save_reg", "(", "unsigned", "int", "regno", ")", "{", "return", "(", "(", "df_regs_ever_live_p", "(", "regno", ")", "&&", "!", "call_used_or_fixed_reg_p", "(", "regno", ")", ")", "||", "(", "regno", "==", "RETURN_ADDR_REGNO", "&&", "(", "df_regs_ever_live_p", "(", "regno", ")", "||", "!", "crtl", "->", "is_leaf", ")", ")", "||", "(", "regno", "==", "PIC_OFFSET_TABLE_REGNUM", "&&", "must_reload_pic_reg_p", "(", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "1", "if", "we", "need", "to", "save", "REGNO", "."], "TS_V_token": ["c6x"], "File": "c6x", "Func": "c6x_save_reg", "Target": "c6x", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 1232, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIInstrInfo", "::", "isSchedulingBoundary", "(", "const", "MachineInstr", "&", "MI", ",", "const", "MachineBasicBlock", "*", "MBB", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "MI", ".", "isTerminator", "(", ")", "||", "MI", ".", "isPosition", "(", ")", ")", "return", "true", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "INLINEASM_BR", ")", "return", "true", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "AMDGPU", "::", "SCHED_BARRIER", "&&", "MI", ".", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", "==", "0", ")", "return", "true", ";", "return", "MI", ".", "modifiesRegister", "(", "AMDGPU", "::", "EXEC", ",", "&", "RI", ")", "||", "MI", ".", "getOpcode", "(", ")", "==", "AMDGPU", "::", "S_SETREG_IMM32_B32", "||", "MI", ".", "getOpcode", "(", ")", "==", "AMDGPU", "::", "S_SETREG_B32", "||", "changesVGPRIndexingMode", "(", "MI", ")", ";", "}", ""], "natrual_language": ["isSchedulingBoundary", "-", "Overrides", "the", "isSchedulingBoundary", "from", "Codegen/TargetInstrInfo.cpp", "to", "make", "it", "capable", "of", "identifying", "ENDBR", "intructions", "and", "prevent", "it", "from", "being", "re-scheduled", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU::SCHED_BARRIER", "0", "0", "AMDGPU::EXEC", "AMDGPU::S_SETREG_IMM32_B32", "AMDGPU::S_SETREG_B32"], "File": "SIInstrInfo54", "Func": "isSchedulingBoundary", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1233, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "AGCRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "RegInfo", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["AGC", "AGC"], "File": "AGCSubtarget", "Func": "getRegisterInfo", "Target": "AGC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1234, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "pa_encode_label", "(", "rtx", "sym", ")", "{", "const", "char", "*", "str", "=", "XSTR", "(", "sym", ",", "0", ")", ";", "int", "len", "=", "strlen", "(", "str", ")", "+", "1", ";", "char", "*", "newstr", ",", "*", "p", ";", "p", "=", "newstr", "=", "XALLOCAVEC", "(", "char", ",", "len", "+", "1", ")", ";", "*", "p", "++", "=", "'@'", ";", "strcpy", "(", "p", ",", "str", ")", ";", "XSTR", "(", "sym", ",", "0", ")", "=", "ggc_alloc_string", "(", "newstr", ",", "len", ")", ";", "}", ""], "natrual_language": ["In", "HPUX", "8.0", "'s", "shared", "library", "scheme", ",", "special", "relocations", "are", "needed", "for", "function", "labels", "if", "they", "might", "be", "passed", "to", "a", "function", "in", "a", "shared", "library", "(", "because", "shared", "libraries", "do", "n't", "live", "in", "code", "space", ")", ",", "and", "special", "magic", "is", "needed", "to", "construct", "their", "address", "."], "TS_V_token": ["pa", "0", "1", "1", "0"], "File": "pa", "Func": "pa_encode_label", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1235, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SNESFrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "{", "return", "false", ";", "}", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "SNESSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "SNESSubtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "for", "(", "const", "CalleeSavedInfo", "&", "CCSI", ":", "CSI", ")", "{", "unsigned", "Reg", "=", "CCSI", ".", "getReg", "(", ")", ";", "assert", "(", "TRI", "->", "getRegSizeInBits", "(", "*", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ")", "==", "16", "&&", "\"Invalid register size\"", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "SNES", "::", "POPRd", ")", ",", "Reg", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["restoreCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "restore", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "load", "instructions", "via", "loadRegToStackSlot", "(", ")", "."], "TS_V_token": ["SNES", "SNES", "SNES", "SNES", "16", "\"Invalid register size\"", "SNES::POPRd"], "File": "SNESFrameLowering", "Func": "restoreCalleeSavedRegisters", "Target": "SNES", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1236, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "OR1KTargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InFlag", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC_OR1K32", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ",", "RVLocs", "[", "i", "]", ".", "getValVT", "(", ")", ",", "InFlag", ")", ".", "getValue", "(", "1", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "2", ")", ";", "InVals", ".", "push_back", "(", "Chain", ".", "getValue", "(", "0", ")", ")", ";", "}", "return", "Chain", ";", "}", ""], "natrual_language": ["LowerCallResult", "-", "Lower", "the", "result", "values", "of", "an", "ISD", ":", ":CALL", "into", "the", "appropriate", "copies", "out", "of", "appropriate", "physical", "registers", "."], "TS_V_token": ["OR1K", "OR1K", "ISD::InputArg", "16", "OR1K", "0", "1", "2", "0"], "File": "OR1KISelLowering", "Func": "LowerCallResult", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1237, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "HexagonRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "Hexagon", "::", "R29", ")", ";", "Reserved", ".", "set", "(", "Hexagon", "::", "R30", ")", ";", "Reserved", ".", "set", "(", "Hexagon", "::", "R31", ")", ";", "Reserved", ".", "set", "(", "Hexagon", "::", "PC", ")", ";", "Reserved", ".", "set", "(", "Hexagon", "::", "D14", ")", ";", "Reserved", ".", "set", "(", "Hexagon", "::", "D15", ")", ";", "Reserved", ".", "set", "(", "Hexagon", "::", "LC0", ")", ";", "Reserved", ".", "set", "(", "Hexagon", "::", "LC1", ")", ";", "Reserved", ".", "set", "(", "Hexagon", "::", "SA0", ")", ";", "Reserved", ".", "set", "(", "Hexagon", "::", "SA1", ")", ";", "Reserved", ".", "set", "(", "Hexagon", "::", "UGP", ")", ";", "Reserved", ".", "set", "(", "Hexagon", "::", "GP", ")", ";", "Reserved", ".", "set", "(", "Hexagon", "::", "CS0", ")", ";", "Reserved", ".", "set", "(", "Hexagon", "::", "CS1", ")", ";", "Reserved", ".", "set", "(", "Hexagon", "::", "CS", ")", ";", "return", "Reserved", ";", "}", ""], "natrual_language": ["getReservedRegs", "-", "Returns", "a", "bitset", "indexed", "by", "physical", "register", "number", "indicating", "if", "a", "register", "is", "a", "special", "register", "that", "has", "particular", "uses", "and", "should", "be", "considered", "unavailable", "at", "all", "times", ",", "e.g", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon::R29", "Hexagon::R30", "Hexagon::R31", "Hexagon::PC", "Hexagon::D14", "Hexagon::D15", "Hexagon::LC0", "Hexagon::LC1", "Hexagon::SA0", "Hexagon::SA1", "Hexagon::UGP", "Hexagon::GP", "Hexagon::CS0", "Hexagon::CS1", "Hexagon::CS"], "File": "HexagonRegisterInfo35", "Func": "getReservedRegs", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1238, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "xstormy16_expand_prologue", "(", "void", ")", "{", "struct", "xstormy16_stack_layout", "layout", ";", "int", "regno", ";", "rtx", "insn", ";", "rtx", "mem_push_rtx", ";", "const", "int", "ifun", "=", "xstormy16_interrupt_function_p", "(", ")", ";", "mem_push_rtx", "=", "gen_rtx_POST_INC", "(", "Pmode", ",", "stack_pointer_rtx", ")", ";", "mem_push_rtx", "=", "gen_rtx_MEM", "(", "HImode", ",", "mem_push_rtx", ")", ";", "layout", "=", "xstormy16_compute_stack_layout", "(", ")", ";", "if", "(", "layout", ".", "locals_size", ">=", "32768", ")", "error", "(", "\"local variable memory requirements exceed capacity\"", ")", ";", "if", "(", "flag_stack_usage_info", ")", "current_function_static_stack_size", "=", "layout", ".", "frame_size", ";", "if", "(", "layout", ".", "stdarg_save_size", ")", "for", "(", "regno", "=", "FIRST_ARGUMENT_REGISTER", ";", "regno", "<", "FIRST_ARGUMENT_REGISTER", "+", "NUM_ARGUMENT_REGISTERS", ";", "regno", "++", ")", "{", "rtx", "dwarf", ";", "rtx", "reg", "=", "gen_rtx_REG", "(", "HImode", ",", "regno", ")", ";", "insn", "=", "emit_move_insn", "(", "mem_push_rtx", ",", "reg", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "dwarf", "=", "gen_rtx_SEQUENCE", "(", "VOIDmode", ",", "rtvec_alloc", "(", "2", ")", ")", ";", "XVECEXP", "(", "dwarf", ",", "0", ",", "0", ")", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "gen_rtx_MEM", "(", "Pmode", ",", "stack_pointer_rtx", ")", ",", "reg", ")", ";", "XVECEXP", "(", "dwarf", ",", "0", ",", "1", ")", "=", "gen_rtx_SET", "(", "Pmode", ",", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "GET_MODE_SIZE", "(", "Pmode", ")", ")", ")", ";", "add_reg_note", "(", "insn", ",", "REG_FRAME_RELATED_EXPR", ",", "dwarf", ")", ";", "RTX_FRAME_RELATED_P", "(", "XVECEXP", "(", "dwarf", ",", "0", ",", "0", ")", ")", "=", "1", ";", "RTX_FRAME_RELATED_P", "(", "XVECEXP", "(", "dwarf", ",", "0", ",", "1", ")", ")", "=", "1", ";", "}", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "REG_NEEDS_SAVE", "(", "regno", ",", "ifun", ")", ")", "{", "rtx", "dwarf", ";", "rtx", "reg", "=", "gen_rtx_REG", "(", "HImode", ",", "regno", ")", ";", "insn", "=", "emit_move_insn", "(", "mem_push_rtx", ",", "reg", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "dwarf", "=", "gen_rtx_SEQUENCE", "(", "VOIDmode", ",", "rtvec_alloc", "(", "2", ")", ")", ";", "XVECEXP", "(", "dwarf", ",", "0", ",", "0", ")", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "gen_rtx_MEM", "(", "Pmode", ",", "stack_pointer_rtx", ")", ",", "reg", ")", ";", "XVECEXP", "(", "dwarf", ",", "0", ",", "1", ")", "=", "gen_rtx_SET", "(", "Pmode", ",", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "GET_MODE_SIZE", "(", "Pmode", ")", ")", ")", ";", "add_reg_note", "(", "insn", ",", "REG_FRAME_RELATED_EXPR", ",", "dwarf", ")", ";", "RTX_FRAME_RELATED_P", "(", "XVECEXP", "(", "dwarf", ",", "0", ",", "0", ")", ")", "=", "1", ";", "RTX_FRAME_RELATED_P", "(", "XVECEXP", "(", "dwarf", ",", "0", ",", "1", ")", ")", "=", "1", ";", "}", "if", "(", "frame_pointer_needed", "&&", "layout", ".", "sp_minus_fp", "==", "layout", ".", "locals_size", ")", "{", "insn", "=", "emit_move_insn", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "if", "(", "layout", ".", "locals_size", ")", "{", "insn", "=", "emit_addhi3_postreload", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "layout", ".", "locals_size", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "if", "(", "frame_pointer_needed", "&&", "layout", ".", "sp_minus_fp", "!=", "layout", ".", "locals_size", ")", "{", "insn", "=", "emit_move_insn", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "if", "(", "layout", ".", "sp_minus_fp", ")", "{", "insn", "=", "emit_addhi3_postreload", "(", "hard_frame_pointer_rtx", ",", "hard_frame_pointer_rtx", ",", "GEN_INT", "(", "-", "layout", ".", "sp_minus_fp", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "}", "}", ""], "natrual_language": ["Called", "after", "register", "allocation", "to", "add", "any", "instructions", "needed", "for", "the", "prologue", ".", "Using", "a", "prologue", "insn", "is", "favored", "compared", "to", "putting", "all", "of", "the", "instructions", "in", "the", "TARGET_ASM_FUNCTION_PROLOGUE", "macro", ",", "since", "it", "allows", "the", "scheduler", "to", "intermix", "instructions", "with", "the", "saves", "of", "the", "caller", "saved", "registers", ".", "In", "some", "cases", ",", "it", "might", "be", "necessary", "to", "emit", "a", "barrier", "instruction", "as", "the", "last", "insn", "to", "prevent", "such", "scheduling", ".", "Also", "any", "insns", "generated", "here", "should", "have", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", "so", "that", "the", "debug", "info", "generation", "code", "can", "handle", "them", "properly", "."], "TS_V_token": ["stormy16", "32768", "\"local variable memory requirements exceed capacity\"", "1", "2", "0", "0", "0", "1", "0", "0", "1", "0", "1", "1", "0", "1", "2", "0", "0", "0", "1", "0", "0", "1", "0", "1", "1", "1", "1", "1", "1"], "File": "stormy164", "Func": "xstormy16_expand_prologue", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1239, "Length": 503, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseRegisterInfo", "::", "shouldCoalesce", "(", "MachineInstr", "*", "MI", ",", "const", "TargetRegisterClass", "*", "SrcRC", ",", "unsigned", "SubReg", ",", "const", "TargetRegisterClass", "*", "DstRC", ",", "unsigned", "DstSubReg", ",", "const", "TargetRegisterClass", "*", "NewRC", ")", "const", "{", "auto", "MBB", "=", "MI", "->", "getParent", "(", ")", ";", "auto", "MF", "=", "MBB", "->", "getParent", "(", ")", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", "->", "getRegInfo", "(", ")", ";", "if", "(", "!", "DstSubReg", ")", "return", "true", ";", "if", "(", "getRegSizeInBits", "(", "*", "NewRC", ")", "<", "256", "&&", "getRegSizeInBits", "(", "*", "DstRC", ")", "<", "256", "&&", "getRegSizeInBits", "(", "*", "SrcRC", ")", "<", "256", ")", "return", "true", ";", "auto", "NewRCWeight", "=", "MRI", ".", "getTargetRegisterInfo", "(", ")", "->", "getRegClassWeight", "(", "NewRC", ")", ";", "auto", "SrcRCWeight", "=", "MRI", ".", "getTargetRegisterInfo", "(", ")", "->", "getRegClassWeight", "(", "SrcRC", ")", ";", "auto", "DstRCWeight", "=", "MRI", ".", "getTargetRegisterInfo", "(", ")", "->", "getRegClassWeight", "(", "DstRC", ")", ";", "if", "(", "SrcRCWeight", ".", "RegWeight", ">", "NewRCWeight", ".", "RegWeight", ")", "return", "true", ";", "if", "(", "DstRCWeight", ".", "RegWeight", ">", "NewRCWeight", ".", "RegWeight", ")", "return", "true", ";", "auto", "AFI", "=", "MF", "->", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "auto", "It", "=", "AFI", "->", "getCoalescedWeight", "(", "MBB", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"\\tARM::shouldCoalesce - Coalesced Weight: \"", "<<", "It", "->", "second", "<<", "\"\\n\"", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"\\tARM::shouldCoalesce - Reg Weight: \"", "<<", "NewRCWeight", ".", "RegWeight", "<<", "\"\\n\"", ")", ";", "unsigned", "SizeMultiplier", "=", "MBB", "->", "size", "(", ")", "/", "100", ";", "SizeMultiplier", "=", "SizeMultiplier", "?", "SizeMultiplier", ":", "1", ";", "if", "(", "It", "->", "second", "<", "NewRCWeight", ".", "WeightLimit", "*", "SizeMultiplier", ")", "{", "It", "->", "second", "+=", "NewRCWeight", ".", "RegWeight", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Subtarget", "Hooks", "."], "TS_V_token": ["ARM", "ARM", "256", "256", "256", "ARM", "\"\\tARM::shouldCoalesce - Coalesced Weight: \"", "\"\\n\"", "\"\\tARM::shouldCoalesce - Reg Weight: \"", "\"\\n\"", "100", "1"], "File": "ARMBaseRegisterInfo10", "Func": "shouldCoalesce", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1240, "Length": 266, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "M680x0InstrInfo", "::", "ExpandMOVX_RR", "(", "MachineInstrBuilder", "&", "MIB", ",", "MVT", "MVTDst", ",", "MVT", "MVTSrc", ")", "const", "{", "unsigned", "SubIdx", ";", "unsigned", "Move", "=", "MVTDst", "==", "MVT", "::", "i16", "?", "M680x0", "::", "MOV16rr", ":", "M680x0", "::", "MOV32rr", ";", "if", "(", "MVTSrc", "==", "MVT", "::", "i8", ")", "{", "SubIdx", "=", "M680x0", "::", "MxSubRegIndex8Lo", ";", "}", "else", "{", "SubIdx", "=", "M680x0", "::", "MxSubRegIndex16Lo", ";", "}", "unsigned", "Dst", "=", "MIB", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "unsigned", "Src", "=", "MIB", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "assert", "(", "Dst", "!=", "Src", "&&", "\"You cannot use the same Regs with MOVX_RR\"", ")", ";", "auto", "TRI", "=", "getRegisterInfo", "(", ")", ";", "auto", "RCDst", "=", "TRI", ".", "getMaximalPhysRegClass", "(", "Dst", ",", "MVTDst", ")", ";", "auto", "RCSrc", "=", "TRI", ".", "getMaximalPhysRegClass", "(", "Src", ",", "MVTSrc", ")", ";", "assert", "(", "RCDst", "&&", "RCSrc", "&&", "\"Wrong use of MOVX_RR\"", ")", ";", "assert", "(", "RCDst", "!=", "RCSrc", "&&", "\"You cannot use the same Reg Classes with MOVX_RR\"", ")", ";", "unsigned", "SSrc", "=", "RI", ".", "getMatchingMegaReg", "(", "Src", ",", "RCDst", ")", ";", "assert", "(", "SSrc", "&&", "\"No viable MEGA register available\"", ")", ";", "DebugLoc", "DL", "=", "MIB", "->", "getDebugLoc", "(", ")", ";", "if", "(", "Dst", "==", "SSrc", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Remove \"", "<<", "*", "MIB", ".", "getInstr", "(", ")", "<<", "'\\n'", ")", ";", "MIB", "->", "eraseFromParent", "(", ")", ";", "}", "else", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Expand \"", "<<", "*", "MIB", ".", "getInstr", "(", ")", "<<", "\" to MOV\\n\"", ")", ";", "MIB", "->", "setDesc", "(", "get", "(", "Move", ")", ")", ";", "MIB", "->", "getOperand", "(", "1", ")", ".", "setReg", "(", "SSrc", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Move", "across", "register", "classes", "without", "extension", "."], "TS_V_token": ["M680x0", "M680x0", "MVT::i16", "M680x0::MOV16rr", "M680x0::MOV32rr", "MVT::i8", "M680x0::MxSubRegIndex8Lo", "M680x0::MxSubRegIndex16Lo", "0", "1", "\"You cannot use the same Regs with MOVX_RR\"", "\"Wrong use of MOVX_RR\"", "\"You cannot use the same Reg Classes with MOVX_RR\"", "\"No viable MEGA register available\"", "\"Remove \"", "\"Expand \"", "\" to MOV\\n\"", "1"], "File": "M680x0InstrInfo", "Func": "ExpandMOVX_RR", "Target": "M680x0", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1241, "Length": 255, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "mips_gen_const_int_vector", "(", "machine_mode", "mode", ",", "HOST_WIDE_INT", "val", ")", "{", "int", "nunits", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "rtvec", "v", "=", "rtvec_alloc", "(", "nunits", ")", ";", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nunits", ";", "i", "++", ")", "RTVEC_ELT", "(", "v", ",", "i", ")", "=", "gen_int_mode", "(", "val", ",", "GET_MODE_INNER", "(", "mode", ")", ")", ";", "return", "gen_rtx_CONST_VECTOR", "(", "mode", ",", "v", ")", ";", "}", ""], "natrual_language": ["Return", "a", "const_int", "vector", "of", "VAL", "with", "mode", "MODE", "."], "TS_V_token": ["mips", "0"], "File": "mips6", "Func": "mips_gen_const_int_vector", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1242, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCInstFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "."], "TS_V_token": ["OR1K"], "File": "OR1KAsmBackend", "Func": "fixupNeedsRelaxation", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1243, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isFI", "(", ")", "const", "{", "return", "Kind", "==", "MachineOperand", "::", "MO_FrameIndex", ";", "}", ""], "natrual_language": ["isFI", "-", "Tests", "if", "this", "is", "a", "MO_FrameIndex", "operand", "."], "TS_V_token": ["AMDGPU"], "File": "SIFoldOperands", "Func": "isFI", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1244, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "ARMCC", "::", "CondCodes", "getPredicate", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "&", "PredReg", ")", "{", "unsigned", "Opc", "=", "MI", "->", "getOpcode", "(", ")", ";", "if", "(", "Opc", "==", "ARM", "::", "tBcc", "||", "Opc", "==", "ARM", "::", "t2Bcc", ")", "return", "ARMCC", "::", "AL", ";", "return", "llvm", "::", "getInstrPredicate", "(", "MI", ",", "PredReg", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "comparison", "predicate", "underlying", "the", "intrinsic", "."], "TS_V_token": ["ARM", "ARMCC::CondCodes", "ARM::tBcc", "ARM::t2Bcc", "ARMCC::AL"], "File": "Thumb2ITBlockPass39", "Func": "getPredicate", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1245, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "BPFInstrInfo", "::", "removeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "int", "*", "BytesRemoved", ")", "const", "{", "assert", "(", "!", "BytesRemoved", "&&", "\"code size not handled\"", ")", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "end", "(", ")", ";", "unsigned", "Count", "=", "0", ";", "while", "(", "I", "!=", "MBB", ".", "begin", "(", ")", ")", "{", "--", "I", ";", "if", "(", "I", "->", "isDebugInstr", "(", ")", ")", "continue", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "!=", "BPF", "::", "JMP", ")", "break", ";", "I", "->", "eraseFromParent", "(", ")", ";", "I", "=", "MBB", ".", "end", "(", ")", ";", "++", "Count", ";", "}", "return", "Count", ";", "}", ""], "natrual_language": ["Remove", "the", "branching", "code", "at", "the", "end", "of", "the", "specific", "MBB", "."], "TS_V_token": ["BPF", "BPF", "\"code size not handled\"", "0", "BPF::JMP"], "File": "BPFInstrInfo12", "Func": "removeBranch", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1246, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "const", "X86TargetMachine", "*", "TM", "=", "static_cast", "<", "const", "X86TargetMachine", "*", ">", "(", "&", "MF", ".", "getTarget", "(", ")", ")", ";", "if", "(", "TM", "->", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", ")", "return", "false", ";", "if", "(", "TM", "->", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "PIC_", ")", "return", "false", ";", "X86MachineFunctionInfo", "*", "X86FI", "=", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "unsigned", "GlobalBaseReg", "=", "X86FI", "->", "getGlobalBaseReg", "(", ")", ";", "if", "(", "GlobalBaseReg", "==", "0", ")", "return", "false", ";", "MachineBasicBlock", "&", "FirstMBB", "=", "MF", ".", "front", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "FirstMBB", ".", "begin", "(", ")", ";", "DebugLoc", "DL", "=", "FirstMBB", ".", "findDebugLoc", "(", "MBBI", ")", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", ".", "getRegInfo", "(", ")", ";", "const", "X86InstrInfo", "*", "TII", "=", "TM", "->", "getInstrInfo", "(", ")", ";", "unsigned", "PC", ";", "if", "(", "TM", "->", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "isPICStyleGOT", "(", ")", ")", "PC", "=", "RegInfo", ".", "createVirtualRegister", "(", "&", "X86", "::", "GR32RegClass", ")", ";", "else", "PC", "=", "GlobalBaseReg", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "X86", "::", "MOVPC32r", ")", ",", "PC", ")", ".", "addImm", "(", "0", ")", ";", "if", "(", "TM", "->", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "isPICStyleGOT", "(", ")", ")", "{", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "X86", "::", "ADD32ri", ")", ",", "GlobalBaseReg", ")", ".", "addReg", "(", "PC", ")", ".", "addExternalSymbol", "(", "\"_GLOBAL_OFFSET_TABLE_\"", ",", "X86II", "::", "MO_GOT_ABSOLUTE_ADDRESS", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "0", "X86", "X86", "X86::GR32RegClass", "X86::MOVPC32r", "0", "X86", "X86::ADD32ri", "\"_GLOBAL_OFFSET_TABLE_\"", "X86II::MO_GOT_ABSOLUTE_ADDRESS"], "File": "X86InstrInfo142", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1247, "Length": 260, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getReg", "(", ")", "const", "{", "assert", "(", "(", "Kind", "==", "k_Register", "||", "Kind", "==", "k_CCOut", ")", "&&", "\"Invalid access!\"", ")", ";", "return", "Reg", ".", "RegNum", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "associated", "with", "this", "edge", "."], "TS_V_token": ["ARM", "\"Invalid access!\""], "File": "ARMAsmParser (2)1", "Func": "getReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1248, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCFragment", "*", "findAssociatedFragment", "(", ")", "const", "override", "{", "return", "getSubExpr", "(", ")", "->", "findAssociatedFragment", "(", ")", ";", "}", ""], "natrual_language": ["Find", "the", "``", "associated", "section", "''", "for", "this", "expression", ",", "which", "is", "currently", "defined", "as", "the", "absolute", "section", "for", "constants", ",", "or", "otherwise", "the", "section", "associated", "with", "the", "first", "defined", "symbol", "in", "the", "expression", "."], "TS_V_token": ["PowerPC"], "File": "PPCMCExpr10", "Func": "findAssociatedFragment", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1249, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "hasUnscaledLdStOffset", "(", "MachineInstr", "&", "MI", ")", "{", "return", "hasUnscaledLdStOffset", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "has", "an", "unscaled", "load/store", "offset", "."], "TS_V_token": ["AArch64"], "File": "AArch64InstrInfo30", "Func": "hasUnscaledLdStOffset", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1250, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FixupLEAPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Func", ")", "{", "if", "(", "skipFunction", "(", "*", "Func", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "MF", "=", "&", "Func", ";", "const", "X86Subtarget", "&", "ST", "=", "Func", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "OptIncDec", "=", "!", "ST", ".", "slowIncDec", "(", ")", "||", "Func", ".", "getFunction", "(", ")", "->", "optForMinSize", "(", ")", ";", "OptLEA", "=", "ST", ".", "LEAusesAG", "(", ")", "||", "ST", ".", "slowLEA", "(", ")", "||", "ST", ".", "slow3OpsLEA", "(", ")", ";", "if", "(", "!", "OptLEA", "&&", "!", "OptIncDec", ")", "return", "false", ";", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Start X86FixupLEAs\\n\"", ";", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "I", "=", "Func", ".", "begin", "(", ")", ",", "E", "=", "Func", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "processBasicBlock", "(", "Func", ",", "I", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"End X86FixupLEAs\\n\"", ";", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "\"Start X86FixupLEAs\\n\"", "\"End X86FixupLEAs\\n\""], "File": "X86FixupLEAs20", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1251, "Length": 161, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_file_end", "(", "void", ")", "{", "rtx", "xops", "[", "2", "]", ";", "int", "regno", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "8", ";", "++", "regno", ")", "{", "char", "name", "[", "32", "]", ";", "if", "(", "!", "(", "(", "pic_labels_used", ">>", "regno", ")", "&", "1", ")", ")", "continue", ";", "get_pc_thunk_name", "(", "name", ",", "regno", ")", ";", "if", "(", "USE_HIDDEN_LINKONCE", ")", "{", "tree", "decl", ";", "decl", "=", "build_decl", "(", "FUNCTION_DECL", ",", "get_identifier", "(", "name", ")", ",", "error_mark_node", ")", ";", "TREE_PUBLIC", "(", "decl", ")", "=", "1", ";", "TREE_STATIC", "(", "decl", ")", "=", "1", ";", "DECL_ONE_ONLY", "(", "decl", ")", "=", "1", ";", "(", "*", "targetm", ".", "asm_out", ".", "unique_section", ")", "(", "decl", ",", "0", ")", ";", "named_section", "(", "decl", ",", "NULL", ",", "0", ")", ";", "(", "*", "targetm", ".", "asm_out", ".", "globalize_label", ")", "(", "asm_out_file", ",", "name", ")", ";", "fputs", "(", "\"\\t.hidden\\t\"", ",", "asm_out_file", ")", ";", "assemble_name", "(", "asm_out_file", ",", "name", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "ASM_DECLARE_FUNCTION_NAME", "(", "asm_out_file", ",", "name", ",", "decl", ")", ";", "}", "else", "{", "text_section", "(", ")", ";", "ASM_OUTPUT_LABEL", "(", "asm_out_file", ",", "name", ")", ";", "}", "xops", "[", "0", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ";", "xops", "[", "1", "]", "=", "gen_rtx_MEM", "(", "SImode", ",", "stack_pointer_rtx", ")", ";", "output_asm_insn", "(", "\"mov{l}\\t{%1, %0|%0, %1}\"", ",", "xops", ")", ";", "output_asm_insn", "(", "\"ret\"", ",", "xops", ")", ";", "}", "if", "(", "NEED_INDICATE_EXEC_STACK", ")", "file_end_indicate_exec_stack", "(", ")", ";", "}", ""], "natrual_language": ["This", "function", "generates", "code", "for", "-fpic", "that", "loads", "%", "ebx", "with", "the", "return", "address", "of", "the", "caller", "and", "then", "returns", "."], "TS_V_token": ["i386", "2", "0", "8", "32", "1", "1", "1", "1", "0", "0", "\"\\t.hidden\\t\"", "0", "1", "\"mov{l}\\t{%1, %0|%0, %1}\"", "\"ret\""], "File": "i3863", "Func": "ix86_file_end", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1252, "Length": 230, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "PIC16RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "return", "Reserved", ";", "}", ""], "natrual_language": ["getReservedRegs", "-", "Returns", "a", "bitset", "indexed", "by", "physical", "register", "number", "indicating", "if", "a", "register", "is", "a", "special", "register", "that", "has", "particular", "uses", "and", "should", "be", "considered", "unavailable", "at", "all", "times", ",", "e.g", "."], "TS_V_token": ["PIC16", "PIC16"], "File": "PIC16RegisterInfo", "Func": "getReservedRegs", "Target": "PIC16", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1253, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "resolve_vec_step", "(", "resolution", "*", "res", ",", "vec", "<", "tree", ",", "va_gc", ">", "*", "arglist", ",", "unsigned", "nargs", ")", "{", "if", "(", "nargs", "!=", "1", ")", "{", "error", "(", "\"builtin %qs only accepts 1 argument\"", ",", "\"vec_step\"", ")", ";", "*", "res", "=", "resolved", ";", "return", "error_mark_node", ";", "}", "tree", "arg0", "=", "(", "*", "arglist", ")", "[", "0", "]", ";", "tree", "arg0_type", "=", "TREE_TYPE", "(", "arg0", ")", ";", "if", "(", "TREE_CODE", "(", "arg0_type", ")", "!=", "VECTOR_TYPE", ")", "{", "*", "res", "=", "resolved_bad", ";", "return", "error_mark_node", ";", "}", "*", "res", "=", "resolved", ";", "return", "build_int_cst", "(", "NULL_TREE", ",", "TYPE_VECTOR_SUBPARTS", "(", "arg0_type", ")", ")", ";", "}", ""], "natrual_language": ["Resolve", "an", "overloaded", "vec_step", "call", "and", "return", "a", "tree", "expression", "for", "the", "resolved", "call", "if", "successful", ".", "NARGS", "is", "the", "number", "of", "arguments", "to", "the", "call", ".", "ARGLIST", "contains", "the", "arguments", ".", "RES", "must", "be", "set", "to", "indicate", "the", "status", "of", "the", "resolution", "attempt", "."], "TS_V_token": ["rs6000", "1", "\"builtin %qs only accepts 1 argument\"", "\"vec_step\"", "0"], "File": "rs6000-c", "Func": "resolve_vec_step", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1254, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TriCoreRegisterInfo", "::", "requiresRegisterScavenging", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "requires", "(", "and", "can", "make", "use", "of", ")", "the", "register", "scavenger", "."], "TS_V_token": ["TriCore", "TriCore"], "File": "TriCoreRegisterInfo (2)", "Func": "requiresRegisterScavenging", "Target": "TriCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1255, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isVectorLoadExtDesirable", "(", "SDValue", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "folding", "a", "vector", "load", "into", "ExtVal", "(", "a", "sign", ",", "zero", ",", "or", "any", "extend", "node", ")", "is", "profitable", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering (2)3", "Func": "isVectorLoadExtDesirable", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1256, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "n9_3r2w_consumed_by_ex_dep_p", "(", "rtx_insn", "*", "consumer", ",", "rtx", "def_reg", ")", "{", "rtx", "use_rtx", ";", "switch", "(", "get_attr_type", "(", "consumer", ")", ")", "{", "case", "TYPE_ALU", ":", "case", "TYPE_PBSAD", ":", "case", "TYPE_MUL", ":", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "break", ";", "case", "TYPE_ALU_SHIFT", ":", "use_rtx", "=", "extract_shift_reg", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_PBSADA", ":", "return", "pbsada_insn_ra_rb_dep_reg_p", "(", "consumer", ",", "def_reg", ")", ";", "case", "TYPE_MAC", ":", "use_rtx", "=", "extract_mac_non_acc_rtx", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_DIV", ":", "if", "(", "divmod_p", "(", "consumer", ")", ")", "use_rtx", "=", "SET_SRC", "(", "parallel_element", "(", "consumer", ",", "0", ")", ")", ";", "else", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "break", ";", "case", "TYPE_MMU", ":", "if", "(", "GET_CODE", "(", "PATTERN", "(", "consumer", ")", ")", "==", "SET", ")", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "else", "return", "true", ";", "break", ";", "case", "TYPE_LOAD", ":", "case", "TYPE_STORE", ":", "use_rtx", "=", "extract_mem_rtx", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_LOAD_MULTIPLE", ":", "case", "TYPE_STORE_MULTIPLE", ":", "use_rtx", "=", "extract_base_reg", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_BRANCH", ":", "use_rtx", "=", "PATTERN", "(", "consumer", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "reg_overlap_p", "(", "def_reg", ",", "use_rtx", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Check", "the", "dependency", "between", "the", "producer", "defining", "DEF_REG", "and", "CONSUMER", "requiring", "input", "operand", "at", "EX", "."], "TS_V_token": ["nds32", "0"], "File": "nds32-pipelines-auxiliary", "Func": "n9_3r2w_consumed_by_ex_dep_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1257, "Length": 209, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "_Unwind_Reason_Code", "get_eit_entry", "(", "_Unwind_Control_Block", "*", "ucbp", ",", "_uw", "return_address", ")", "{", "const", "__EIT_entry", "*", "eitp", ";", "int", "nrec", ";", "return_address", "-=", "2", ";", "if", "(", "__gnu_Unwind_Find_exidx", ")", "{", "eitp", "=", "(", "const", "__EIT_entry", "*", ")", "__gnu_Unwind_Find_exidx", "(", "return_address", ",", "&", "nrec", ")", ";", "if", "(", "!", "eitp", ")", "{", "UCB_PR_ADDR", "(", "ucbp", ")", "=", "0", ";", "return", "_URC_FAILURE", ";", "}", "}", "else", "{", "eitp", "=", "&", "__exidx_start", ";", "nrec", "=", "&", "__exidx_end", "-", "&", "__exidx_start", ";", "}", "eitp", "=", "search_EIT_table", "(", "eitp", ",", "nrec", ",", "return_address", ")", ";", "if", "(", "!", "eitp", ")", "{", "UCB_PR_ADDR", "(", "ucbp", ")", "=", "0", ";", "return", "_URC_FAILURE", ";", "}", "ucbp", "->", "pr_cache", ".", "fnstart", "=", "selfrel_offset31", "(", "&", "eitp", "->", "fnoffset", ")", ";", "if", "(", "eitp", "->", "content", "==", "EXIDX_CANTUNWIND", ")", "{", "UCB_PR_ADDR", "(", "ucbp", ")", "=", "0", ";", "return", "_URC_END_OF_STACK", ";", "}", "if", "(", "eitp", "->", "content", "&", "uint32_highbit", ")", "{", "ucbp", "->", "pr_cache", ".", "ehtp", "=", "(", "_Unwind_EHT_Header", "*", ")", "&", "eitp", "->", "content", ";", "ucbp", "->", "pr_cache", ".", "additional", "=", "1", ";", "}", "else", "{", "ucbp", "->", "pr_cache", ".", "ehtp", "=", "(", "_Unwind_EHT_Header", "*", ")", "selfrel_offset31", "(", "&", "eitp", "->", "content", ")", ";", "ucbp", "->", "pr_cache", ".", "additional", "=", "0", ";", "}", "if", "(", "*", "ucbp", "->", "pr_cache", ".", "ehtp", "&", "(", "1u", "<<", "31", ")", ")", "{", "_uw", "idx", "=", "(", "*", "(", "_uw", "*", ")", "ucbp", "->", "pr_cache", ".", "ehtp", ">>", "24", ")", "&", "0xf", ";", "if", "(", "idx", "==", "0", ")", "UCB_PR_ADDR", "(", "ucbp", ")", "=", "(", "_uw", ")", "&", "__aeabi_unwind_cpp_pr0", ";", "else", "if", "(", "idx", "==", "1", ")", "UCB_PR_ADDR", "(", "ucbp", ")", "=", "(", "_uw", ")", "&", "__aeabi_unwind_cpp_pr1", ";", "else", "if", "(", "idx", "==", "2", ")", "UCB_PR_ADDR", "(", "ucbp", ")", "=", "(", "_uw", ")", "&", "__aeabi_unwind_cpp_pr2", ";", "else", "{", "UCB_PR_ADDR", "(", "ucbp", ")", "=", "0", ";", "return", "_URC_FAILURE", ";", "}", "}", "else", "{", "UCB_PR_ADDR", "(", "ucbp", ")", "=", "selfrel_offset31", "(", "ucbp", "->", "pr_cache", ".", "ehtp", ")", ";", "}", "return", "_URC_OK", ";", "}", ""], "natrual_language": ["Find", "the", "exception", "index", "table", "eintry", "for", "the", "given", "address", ".", "Fill", "in", "the", "relevant", "fields", "of", "the", "UCB", ".", "Returns", "_URC_FAILURE", "if", "an", "error", "occurred", ",", "_URC_OK", "on", "success", "."], "TS_V_token": ["arm", "2", "0", "0", "0", "1", "0", "1u", "31", "24", "0xf", "0", "1", "2", "0"], "File": "unwind-arm", "Func": "get_eit_entry", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1258, "Length": 326, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "poly_int64", "m68k_push_rounding", "(", "poly_int64", "bytes", ")", "{", "if", "(", "TARGET_COLDFIRE", ")", "return", "bytes", ";", "return", "(", "bytes", "+", "1", ")", "&", "~", "1", ";", "}", ""], "natrual_language": ["Implement", "PUSH_ROUNDING", ".", "On", "the", "680x0", ",", "sp", "@", "-", "in", "a", "byte", "insn", "really", "pushes", "a", "word", ".", "On", "the", "ColdFire", ",", "sp", "@", "-", "in", "a", "byte", "insn", "pushes", "just", "a", "byte", "."], "TS_V_token": ["m68k", "1", "1"], "File": "m68k", "Func": "m68k_push_rounding", "Target": "m68k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1259, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "function_checker", "::", "require_immediate_range", "(", "unsigned", "int", "rel_argno", ",", "HOST_WIDE_INT", "min", ",", "HOST_WIDE_INT", "max", ")", "{", "unsigned", "int", "argno", "=", "m_base_arg", "+", "rel_argno", ";", "if", "(", "!", "argument_exists_p", "(", "argno", ")", ")", "return", "true", ";", "gcc_assert", "(", "min", ">=", "0", "&&", "min", "<=", "max", ")", ";", "HOST_WIDE_INT", "actual", ";", "if", "(", "!", "require_immediate", "(", "argno", ",", "actual", ")", ")", "return", "false", ";", "if", "(", "!", "IN_RANGE", "(", "actual", ",", "min", ",", "max", ")", ")", "{", "report_out_of_range", "(", "location", ",", "fndecl", ",", "argno", ",", "actual", ",", "min", ",", "max", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Check", "that", "argument", "REL_ARGNO", "is", "an", "integer", "constant", "expression", "in", "the", "range", "[", "MIN", ",", "MAX", "]", ".", "REL_ARGNO", "counts", "from", "the", "end", "of", "the", "predication", "arguments", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64-sve-builtins", "Func": "require_immediate_range", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1260, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "char", "riscv_class_max_nregs", "(", "reg_class_t", "rclass", ",", "machine_mode", "mode", ")", "{", "if", "(", "reg_class_subset_p", "(", "rclass", ",", "FP_REGS", ")", ")", "return", "riscv_hard_regno_nregs", "(", "FP_REG_FIRST", ",", "mode", ")", ";", "if", "(", "reg_class_subset_p", "(", "rclass", ",", "GR_REGS", ")", ")", "return", "riscv_hard_regno_nregs", "(", "GP_REG_FIRST", ",", "mode", ")", ";", "if", "(", "reg_class_subset_p", "(", "rclass", ",", "V_REGS", ")", ")", "return", "riscv_hard_regno_nregs", "(", "V_REG_FIRST", ",", "mode", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Implement", "CLASS_MAX_NREGS", "."], "TS_V_token": ["riscv", "0"], "File": "riscv1", "Func": "riscv_class_max_nregs", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1261, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIInstrInfo", "::", "legalizeOpWithMove", "(", "MachineInstr", "&", "MI", ",", "unsigned", "OpIdx", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "I", "=", "MI", ";", "MachineBasicBlock", "*", "MBB", "=", "MI", ".", "getParent", "(", ")", ";", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpIdx", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MBB", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "SIRegisterInfo", "*", "TRI", "=", "static_cast", "<", "const", "SIRegisterInfo", "*", ">", "(", "MRI", ".", "getTargetRegisterInfo", "(", ")", ")", ";", "unsigned", "RCID", "=", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ".", "OpInfo", "[", "OpIdx", "]", ".", "RegClass", ";", "const", "TargetRegisterClass", "*", "RC", "=", "RI", ".", "getRegClass", "(", "RCID", ")", ";", "unsigned", "Size", "=", "TRI", "->", "getRegSizeInBits", "(", "*", "RC", ")", ";", "unsigned", "Opcode", "=", "(", "Size", "==", "64", ")", "?", "AMDGPU", "::", "V_MOV_B64_PSEUDO", ":", "AMDGPU", "::", "V_MOV_B32_e32", ";", "if", "(", "MO", ".", "isReg", "(", ")", ")", "Opcode", "=", "AMDGPU", "::", "COPY", ";", "else", "if", "(", "RI", ".", "isSGPRClass", "(", "RC", ")", ")", "Opcode", "=", "(", "Size", "==", "64", ")", "?", "AMDGPU", "::", "S_MOV_B64", ":", "AMDGPU", "::", "S_MOV_B32", ";", "const", "TargetRegisterClass", "*", "VRC", "=", "RI", ".", "getEquivalentVGPRClass", "(", "RC", ")", ";", "if", "(", "RI", ".", "getCommonSubClass", "(", "&", "AMDGPU", "::", "VReg_64RegClass", ",", "VRC", ")", ")", "VRC", "=", "&", "AMDGPU", "::", "VReg_64RegClass", ";", "else", "VRC", "=", "&", "AMDGPU", "::", "VGPR_32RegClass", ";", "unsigned", "Reg", "=", "MRI", ".", "createVirtualRegister", "(", "VRC", ")", ";", "DebugLoc", "DL", "=", "MBB", "->", "findDebugLoc", "(", "I", ")", ";", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "I", ",", "DL", ",", "get", "(", "Opcode", ")", ",", "Reg", ")", ".", "add", "(", "MO", ")", ";", "MO", ".", "ChangeToRegister", "(", "Reg", ",", "false", ")", ";", "}", ""], "natrual_language": ["Legalize", "the", "OpIndex", "operand", "of", "this", "instruction", "by", "inserting", "a", "MOV", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "64", "AMDGPU::V_MOV_B64_PSEUDO", "AMDGPU::V_MOV_B32_e32", "AMDGPU::COPY", "64", "AMDGPU::S_MOV_B64", "AMDGPU::S_MOV_B32", "AMDGPU::VReg_64RegClass", "AMDGPU::VReg_64RegClass", "AMDGPU::VGPR_32RegClass"], "File": "SIInstrInfo110", "Func": "legalizeOpWithMove", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1262, "Length": 271, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_relayout_function", "(", "tree", "fndecl", ")", "{", "if", "(", "DECL_USER_ALIGN", "(", "fndecl", ")", ")", "return", ";", "tree", "callee_tree", "=", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "fndecl", ")", ";", "if", "(", "!", "callee_tree", ")", "callee_tree", "=", "target_option_default_node", ";", "DECL_ALIGN", "(", "fndecl", ")", "=", "FUNCTION_BOUNDARY_P", "(", "TREE_TARGET_OPTION", "(", "callee_tree", ")", "->", "x_target_flags", ")", ";", "}", ""], "natrual_language": ["Hook", "to", "fix", "function", "'s", "alignment", "affected", "by", "target", "attribute", "."], "TS_V_token": ["arm"], "File": "arm5", "Func": "arm_relayout_function", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1263, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx_insn", "*", "mips_expand_call", "(", "enum", "mips_call_type", "type", ",", "rtx", "result", ",", "rtx", "addr", ",", "rtx", "args_size", ",", "rtx", "aux", ",", "bool", "lazy_p", ")", "{", "rtx", "orig_addr", ",", "pattern", ";", "rtx_insn", "*", "insn", ";", "int", "fp_code", ";", "fp_code", "=", "aux", "==", "0", "?", "0", ":", "(", "int", ")", "GET_MODE", "(", "aux", ")", ";", "insn", "=", "mips16_build_call_stub", "(", "result", ",", "&", "addr", ",", "args_size", ",", "fp_code", ")", ";", "if", "(", "insn", ")", "{", "gcc_assert", "(", "!", "lazy_p", "&&", "type", "==", "MIPS_CALL_NORMAL", ")", ";", "return", "insn", ";", "}", "orig_addr", "=", "addr", ";", "if", "(", "!", "call_insn_operand", "(", "addr", ",", "VOIDmode", ")", ")", "{", "if", "(", "type", "==", "MIPS_CALL_EPILOGUE", ")", "addr", "=", "MIPS_EPILOGUE_TEMP", "(", "Pmode", ")", ";", "else", "addr", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "lazy_p", "|=", "mips_load_call_address", "(", "type", ",", "addr", ",", "orig_addr", ")", ";", "}", "if", "(", "result", "==", "0", ")", "{", "rtx", "(", "*", "fn", ")", "(", "rtx", ",", "rtx", ")", ";", "if", "(", "type", "==", "MIPS_CALL_SIBCALL", ")", "fn", "=", "gen_sibcall_internal", ";", "else", "fn", "=", "gen_call_internal", ";", "pattern", "=", "fn", "(", "addr", ",", "args_size", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "result", ")", "==", "PARALLEL", "&&", "XVECLEN", "(", "result", ",", "0", ")", "==", "2", ")", "{", "rtx", "(", "*", "fn", ")", "(", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ")", ";", "rtx", "reg1", ",", "reg2", ";", "if", "(", "type", "==", "MIPS_CALL_SIBCALL", ")", "fn", "=", "gen_sibcall_value_multiple_internal", ";", "else", "fn", "=", "gen_call_value_multiple_internal", ";", "reg1", "=", "XEXP", "(", "XVECEXP", "(", "result", ",", "0", ",", "0", ")", ",", "0", ")", ";", "reg2", "=", "XEXP", "(", "XVECEXP", "(", "result", ",", "0", ",", "1", ")", ",", "0", ")", ";", "pattern", "=", "fn", "(", "reg1", ",", "addr", ",", "args_size", ",", "reg2", ")", ";", "}", "else", "{", "rtx", "(", "*", "fn", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ";", "if", "(", "type", "==", "MIPS_CALL_SIBCALL", ")", "fn", "=", "gen_sibcall_value_internal", ";", "else", "fn", "=", "gen_call_value_internal", ";", "if", "(", "GET_CODE", "(", "result", ")", "==", "PARALLEL", "&&", "XVECLEN", "(", "result", ",", "0", ")", "==", "1", ")", "result", "=", "XEXP", "(", "XVECEXP", "(", "result", ",", "0", ",", "0", ")", ",", "0", ")", ";", "pattern", "=", "fn", "(", "result", ",", "addr", ",", "args_size", ")", ";", "}", "return", "mips_emit_call_insn", "(", "pattern", ",", "orig_addr", ",", "addr", ",", "lazy_p", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "call", "or", "call_value", "instruction", ".", "RESULT", "is", "where", "the", "result", "will", "go", "(", "null", "for", "calls", ")", ",", "ADDR", "is", "the", "address", "of", "the", "function", ",", "ARGS_SIZE", "is", "the", "size", "of", "the", "arguments", "and", "AUX", "is", "the", "value", "passed", "to", "us", "by", "mips_function_arg", ".", "SIBCALL_P", "is", "true", "if", "we", "are", "expanding", "a", "sibling", "call", ",", "false", "if", "we", "'re", "expanding", "a", "normal", "call", "."], "TS_V_token": ["mips", "0", "0", "0", "0", "2", "0", "0", "0", "0", "1", "0", "0", "1", "0", "0", "0"], "File": "mips", "Func": "mips_expand_call", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1264, "Length": 366, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addIRPasses", "(", ")", "{", "addPass", "(", "createAtomicExpandPass", "(", ")", ")", ";", "if", "(", "EnableSVEIntrinsicOpts", "&&", "TM", "->", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "Aggressive", ")", "addPass", "(", "createSVEIntrinsicOptsPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableAtomicTidy", ")", "addPass", "(", "createCFGSimplificationPass", "(", "1", ",", "true", ",", "true", ",", "false", ",", "true", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "if", "(", "EnableLoopDataPrefetch", ")", "addPass", "(", "createLoopDataPrefetchPass", "(", ")", ")", ";", "if", "(", "EnableFalkorHWPFFix", ")", "addPass", "(", "createFalkorMarkStridedAccessesPass", "(", ")", ")", ";", "}", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createInterleavedLoadCombinePass", "(", ")", ")", ";", "addPass", "(", "createInterleavedAccessPass", "(", ")", ")", ";", "}", "if", "(", "TM", "->", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "Aggressive", "&&", "EnableGEPOpt", ")", "{", "addPass", "(", "createSeparateConstOffsetFromGEPPass", "(", "true", ")", ")", ";", "addPass", "(", "createEarlyCSEPass", "(", ")", ")", ";", "addPass", "(", "createLICMPass", "(", ")", ")", ";", "}", "addPass", "(", "createAArch64StackTaggingPass", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", ")", ";", "if", "(", "TM", "->", "getTargetTriple", "(", ")", ".", "isOSWindows", "(", ")", ")", "addPass", "(", "createCFGuardCheckPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["AArch64", "AArch64", "1", "AArch64"], "File": "AArch64TargetMachine42", "Func": "addIRPasses", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1265, "Length": 209, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb2ITBlockPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "const", "TargetMachine", "&", "TM", "=", "Fn", ".", "getTarget", "(", ")", ";", "AFI", "=", "Fn", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "TII", "=", "static_cast", "<", "const", "Thumb2InstrInfo", "*", ">", "(", "TM", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "TM", ".", "getRegisterInfo", "(", ")", ";", "restrictIT", "=", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "restrictIT", "(", ")", ";", "if", "(", "!", "AFI", "->", "isThumbFunction", "(", ")", ")", "return", "false", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineFunction", "::", "iterator", "MFI", "=", "Fn", ".", "begin", "(", ")", ",", "E", "=", "Fn", ".", "end", "(", ")", ";", "MFI", "!=", "E", ";", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MFI", ";", "++", "MFI", ";", "Modified", "|=", "InsertITInstructions", "(", "MBB", ")", ";", "}", "if", "(", "Modified", ")", "AFI", "->", "setHasITBlocks", "(", "true", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "Thumb2ITBlockPass2", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1266, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "std", "::", "pair", "<", "rtx_insn", "*", ",", "rtx_insn", "*", ">", "sh_try_split_insn_simple", "(", "rtx_insn", "*", "i", ",", "rtx_insn", "*", "curr_insn", ",", "int", "n", "=", "0", ")", "{", "if", "(", "dump_file", ")", "{", "fprintf", "(", "dump_file", ",", "\"sh_try_split_insn_simple n = %d i = \\n\"", ",", "n", ")", ";", "print_rtl_single", "(", "dump_file", ",", "i", ")", ";", "fprintf", "(", "dump_file", ",", "\"\\n\"", ")", ";", "}", "rtx_insn", "*", "seq", "=", "safe_as_a", "<", "rtx_insn", "*", ">", "(", "split_insns", "(", "PATTERN", "(", "i", ")", ",", "curr_insn", ")", ")", ";", "if", "(", "seq", "==", "NULL", ")", "return", "std", "::", "make_pair", "(", "i", ",", "i", ")", ";", "for", "(", "rtx_insn", "*", "s", "=", "seq", ";", "s", "!=", "NULL", ";", "s", "=", "NEXT_INSN", "(", "s", ")", ")", "if", "(", "INSN_P", "(", "s", ")", "&&", "rtx_equal_p", "(", "PATTERN", "(", "s", ")", ",", "PATTERN", "(", "i", ")", ")", ")", "return", "std", "::", "make_pair", "(", "i", ",", "i", ")", ";", "unshare_all_rtl_in_chain", "(", "seq", ")", ";", "rtx_insn", "*", "seqlast", "=", "seq", ";", "while", "(", "NEXT_INSN", "(", "seqlast", ")", "!=", "NULL", ")", "seqlast", "=", "NEXT_INSN", "(", "seqlast", ")", ";", "if", "(", "rtx_insn", "*", "iprev", "=", "PREV_INSN", "(", "i", ")", ")", "SET_NEXT_INSN", "(", "iprev", ")", "=", "seq", ";", "if", "(", "rtx_insn", "*", "inext", "=", "NEXT_INSN", "(", "i", ")", ")", "SET_PREV_INSN", "(", "inext", ")", "=", "seqlast", ";", "SET_PREV_INSN", "(", "seq", ")", "=", "PREV_INSN", "(", "i", ")", ";", "SET_NEXT_INSN", "(", "seqlast", ")", "=", "NEXT_INSN", "(", "i", ")", ";", "SET_PREV_INSN", "(", "i", ")", "=", "NULL", ";", "SET_NEXT_INSN", "(", "i", ")", "=", "NULL", ";", "for", "(", "i", "=", "seq", ";", ";", "i", "=", "NEXT_INSN", "(", "i", ")", ")", "{", "std", "::", "pair", "<", "rtx_insn", "*", ",", "rtx_insn", "*", ">", "ii", "=", "sh_try_split_insn_simple", "(", "i", ",", "curr_insn", ",", "n", "+", "1", ")", ";", "if", "(", "i", "==", "seq", ")", "seq", "=", "ii", ".", "first", ";", "if", "(", "i", "==", "seqlast", ")", "{", "seqlast", "=", "ii", ".", "second", ";", "break", ";", "}", "i", "=", "ii", ".", "first", ";", "}", "return", "std", "::", "make_pair", "(", "seq", ",", "seqlast", ")", ";", "}", ""], "natrual_language": ["Given", "an", "rtx", "x", ",", "which", "is", "assumed", "to", "be", "some", "expression", "that", "has", "been", "matched", "by", "the", "'treg_set_expr", "'", "predicate", "before", ",", "split", "and", "emit", "the", "insns", "that", "are", "necessary", "to", "calculate", "the", "expression", "and", "store", "the", "result", "in", "the", "T", "bit", ".", "The", "splitting", "is", "done", "recursively", "similar", "to", "'try_split", "'", "in", "emit-rt.c", ".", "Unfortunately", "we", "ca", "n't", "use", "'try_split", "'", "here", "directly", ",", "as", "it", "tries", "to", "invoke", "'delete_insn", "'", "which", "then", "causes", "the", "DF", "parts", "to", "bail", "out", ",", "because", "we", "currently", "are", "inside", "another", "gen_split", "*", "function", "and", "would", "invoke", "'try_split", "'", "in", "a", "reentrant", "way", "."], "TS_V_token": ["sh", "0", "\"sh_try_split_insn_simple n = %d i = \\n\"", "\"\\n\"", "1"], "File": "sh4", "Func": "sh_try_split_insn_simple", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1267, "Length": 323, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ix86_dependencies_evaluation_hook", "static", "int", "ix86_reassociation_width", "(", "unsigned", "int", "op", ",", "machine_mode", "mode", ")", "{", "int", "width", "=", "1", ";", "if", "(", "VECTOR_MODE_P", "(", "mode", ")", ")", "{", "int", "div", "=", "1", ";", "if", "(", "INTEGRAL_MODE_P", "(", "mode", ")", ")", "width", "=", "ix86_cost", "->", "reassoc_vec_int", ";", "else", "if", "(", "FLOAT_MODE_P", "(", "mode", ")", ")", "width", "=", "ix86_cost", "->", "reassoc_vec_fp", ";", "if", "(", "width", "==", "1", ")", "return", "1", ";", "if", "(", "(", "ix86_tune", "==", "PROCESSOR_ZNVER1", "||", "ix86_tune", "==", "PROCESSOR_ZNVER2", ")", "&&", "INTEGRAL_MODE_P", "(", "mode", ")", "&&", "op", "!=", "PLUS", "&&", "op", "!=", "MINUS", ")", "return", "1", ";", "if", "(", "TARGET_AVX128_OPTIMAL", "&&", "GET_MODE_BITSIZE", "(", "mode", ")", ">", "128", ")", "div", "=", "GET_MODE_BITSIZE", "(", "mode", ")", "/", "128", ";", "else", "if", "(", "TARGET_SSE_SPLIT_REGS", "&&", "GET_MODE_BITSIZE", "(", "mode", ")", ">", "64", ")", "div", "=", "GET_MODE_BITSIZE", "(", "mode", ")", "/", "64", ";", "width", "=", "(", "width", "+", "div", "-", "1", ")", "/", "div", ";", "}", "else", "if", "(", "INTEGRAL_MODE_P", "(", "mode", ")", ")", "width", "=", "ix86_cost", "->", "reassoc_int", ";", "else", "if", "(", "FLOAT_MODE_P", "(", "mode", ")", ")", "width", "=", "ix86_cost", "->", "reassoc_fp", ";", "if", "(", "!", "TARGET_64BIT", "&&", "width", ">", "2", ")", "width", "=", "2", ";", "return", "width", ";", "}", ""], "natrual_language": ["Implementation", "of", "reassociation_width", "target", "hook", "used", "by", "reassoc", "phase", "to", "identify", "parallelism", "level", "in", "reassociated", "tree", ".", "Statements", "tree_code", "is", "passed", "in", "OPC", ".", "Arguments", "type", "is", "passed", "in", "MODE", ".", "Currently", "parallel", "reassociation", "is", "enabled", "for", "Atom", "processors", "only", "and", "we", "set", "reassociation", "width", "to", "be", "2", "because", "Atom", "may", "issue", "up", "to", "2", "instructions", "per", "cycle", ".", "Return", "value", "should", "be", "fixed", "if", "parallel", "reassociation", "is", "enabled", "for", "other", "processors", "."], "TS_V_token": ["i386", "1", "1", "1", "1", "1", "128", "128", "64", "64", "1", "2", "2"], "File": "i3868", "Func": "ix86_reassociation_width", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1268, "Length": 194, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["OR1K"], "File": "OR1KInstrInfo", "Func": "getAnalysisUsage", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1269, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SIInstrInfo", "::", "readlaneVGPRToSGPR", "(", "unsigned", "SrcReg", ",", "MachineInstr", "&", "UseMI", ",", "MachineRegisterInfo", "&", "MRI", ")", "const", "{", "const", "TargetRegisterClass", "*", "VRC", "=", "MRI", ".", "getRegClass", "(", "SrcReg", ")", ";", "const", "TargetRegisterClass", "*", "SRC", "=", "RI", ".", "getEquivalentSGPRClass", "(", "VRC", ")", ";", "unsigned", "DstReg", "=", "MRI", ".", "createVirtualRegister", "(", "SRC", ")", ";", "unsigned", "SubRegs", "=", "RI", ".", "getRegSizeInBits", "(", "*", "VRC", ")", "/", "32", ";", "if", "(", "SubRegs", "==", "1", ")", "{", "BuildMI", "(", "*", "UseMI", ".", "getParent", "(", ")", ",", "UseMI", ",", "UseMI", ".", "getDebugLoc", "(", ")", ",", "get", "(", "AMDGPU", "::", "V_READFIRSTLANE_B32", ")", ",", "DstReg", ")", ".", "addReg", "(", "SrcReg", ")", ";", "return", "DstReg", ";", "}", "SmallVector", "<", "unsigned", ",", "8", ">", "SRegs", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "SubRegs", ";", "++", "i", ")", "{", "unsigned", "SGPR", "=", "MRI", ".", "createVirtualRegister", "(", "&", "AMDGPU", "::", "SGPR_32RegClass", ")", ";", "BuildMI", "(", "*", "UseMI", ".", "getParent", "(", ")", ",", "UseMI", ",", "UseMI", ".", "getDebugLoc", "(", ")", ",", "get", "(", "AMDGPU", "::", "V_READFIRSTLANE_B32", ")", ",", "SGPR", ")", ".", "addReg", "(", "SrcReg", ",", "0", ",", "RI", ".", "getSubRegFromChannel", "(", "i", ")", ")", ";", "SRegs", ".", "push_back", "(", "SGPR", ")", ";", "}", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "*", "UseMI", ".", "getParent", "(", ")", ",", "UseMI", ",", "UseMI", ".", "getDebugLoc", "(", ")", ",", "get", "(", "AMDGPU", "::", "REG_SEQUENCE", ")", ",", "DstReg", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "SubRegs", ";", "++", "i", ")", "{", "MIB", ".", "addReg", "(", "SRegs", "[", "i", "]", ")", ";", "MIB", ".", "addImm", "(", "RI", ".", "getSubRegFromChannel", "(", "i", ")", ")", ";", "}", "return", "DstReg", ";", "}", ""], "natrual_language": ["Copy", "a", "value", "from", "a", "VGPR", "(", "SrcReg", ")", "to", "SGPR", "."], "TS_V_token": ["AMDGPU", "SI", "32", "1", "AMDGPU::V_READFIRSTLANE_B32", "8", "0", "AMDGPU::SGPR_32RegClass", "AMDGPU::V_READFIRSTLANE_B32", "0", "AMDGPU::REG_SEQUENCE", "0"], "File": "SIInstrInfo1", "Func": "readlaneVGPRToSGPR", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1270, "Length": 265, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "SystemZRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "SystemZFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "{", "Reserved", ".", "set", "(", "SystemZ", "::", "R11D", ")", ";", "Reserved", ".", "set", "(", "SystemZ", "::", "R11L", ")", ";", "Reserved", ".", "set", "(", "SystemZ", "::", "R11H", ")", ";", "Reserved", ".", "set", "(", "SystemZ", "::", "R10Q", ")", ";", "}", "Reserved", ".", "set", "(", "SystemZ", "::", "R15D", ")", ";", "Reserved", ".", "set", "(", "SystemZ", "::", "R15L", ")", ";", "Reserved", ".", "set", "(", "SystemZ", "::", "R15H", ")", ";", "Reserved", ".", "set", "(", "SystemZ", "::", "R14Q", ")", ";", "return", "Reserved", ";", "}", ""], "natrual_language": ["getReservedRegs", "-", "Returns", "a", "bitset", "indexed", "by", "physical", "register", "number", "indicating", "if", "a", "register", "is", "a", "special", "register", "that", "has", "particular", "uses", "and", "should", "be", "considered", "unavailable", "at", "all", "times", ",", "e.g", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ::R11D", "SystemZ::R11L", "SystemZ::R11H", "SystemZ::R10Q", "SystemZ::R15D", "SystemZ::R15L", "SystemZ::R15H", "SystemZ::R14Q"], "File": "SystemZRegisterInfo (2)", "Func": "getReservedRegs", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1271, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "Cpu0SETargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "return", "Cpu0TargetLowering", "::", "LowerOperation", "(", "Op", ",", "DAG", ")", ";", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0"], "File": "Cpu0SEISelLowering", "Func": "LowerOperation", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1272, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ";", "if", "(", "isDarwin", "(", ")", ")", "{", "if", "(", "IDVal", "==", "\".machine\"", ")", "ParseDarwinDirectiveMachine", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "return", "true", ";", "}", "else", "if", "(", "IDVal", "==", "\".word\"", ")", "ParseDirectiveWord", "(", "2", ",", "DirectiveID", ")", ";", "else", "if", "(", "IDVal", "==", "\".llong\"", ")", "ParseDirectiveWord", "(", "8", ",", "DirectiveID", ")", ";", "else", "if", "(", "IDVal", "==", "\".tc\"", ")", "ParseDirectiveTC", "(", "isPPC64", "(", ")", "?", "8", ":", "4", ",", "DirectiveID", ")", ";", "else", "if", "(", "IDVal", "==", "\".machine\"", ")", "ParseDirectiveMachine", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".abiversion\"", ")", "ParseDirectiveAbiVersion", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".localentry\"", ")", "ParseDirectiveLocalEntry", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["PowerPC", "PPC", "\".machine\"", "\".word\"", "2", "\".llong\"", "8", "\".tc\"", "PPC", "8", "4", "\".machine\"", "\".abiversion\"", "\".localentry\""], "File": "PPCAsmParser (2)3", "Func": "ParseDirective", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1273, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "if", "(", "AFI", "->", "getGlobalBaseReg", "(", ")", "==", "0", ")", "return", "false", ";", "const", "ARMTargetMachine", "*", "TM", "=", "static_cast", "<", "const", "ARMTargetMachine", "*", ">", "(", "&", "MF", ".", "getTarget", "(", ")", ")", ";", "if", "(", "TM", "->", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "PIC_", ")", "return", "false", ";", "LLVMContext", "*", "Context", "=", "&", "MF", ".", "getFunction", "(", ")", "->", "getContext", "(", ")", ";", "unsigned", "ARMPCLabelIndex", "=", "AFI", "->", "createPICLabelUId", "(", ")", ";", "unsigned", "PCAdj", "=", "TM", "->", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "isThumb", "(", ")", "?", "4", ":", "8", ";", "ARMConstantPoolValue", "*", "CPV", "=", "ARMConstantPoolSymbol", "::", "Create", "(", "*", "Context", ",", "\"_GLOBAL_OFFSET_TABLE_\"", ",", "ARMPCLabelIndex", ",", "PCAdj", ")", ";", "unsigned", "Align", "=", "TM", "->", "getDataLayout", "(", ")", "->", "getPrefTypeAlignment", "(", "Type", "::", "getInt32PtrTy", "(", "*", "Context", ")", ")", ";", "unsigned", "Idx", "=", "MF", ".", "getConstantPool", "(", ")", "->", "getConstantPoolIndex", "(", "CPV", ",", "Align", ")", ";", "MachineBasicBlock", "&", "FirstMBB", "=", "MF", ".", "front", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "FirstMBB", ".", "begin", "(", ")", ";", "DebugLoc", "DL", "=", "FirstMBB", ".", "findDebugLoc", "(", "MBBI", ")", ";", "unsigned", "TempReg", "=", "MF", ".", "getRegInfo", "(", ")", ".", "createVirtualRegister", "(", "&", "ARM", "::", "rGPRRegClass", ")", ";", "unsigned", "Opc", "=", "TM", "->", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "isThumb2", "(", ")", "?", "ARM", "::", "t2LDRpci", ":", "ARM", "::", "LDRcp", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "TM", "->", "getInstrInfo", "(", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "TempReg", ")", ".", "addConstantPoolIndex", "(", "Idx", ")", ";", "if", "(", "Opc", "==", "ARM", "::", "LDRcp", ")", "MIB", ".", "addImm", "(", "0", ")", ";", "AddDefaultPred", "(", "MIB", ")", ";", "unsigned", "GlobalBaseReg", "=", "AFI", "->", "getGlobalBaseReg", "(", ")", ";", "Opc", "=", "TM", "->", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "isThumb2", "(", ")", "?", "ARM", "::", "tPICADD", ":", "ARM", "::", "PICADD", ";", "MIB", "=", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "GlobalBaseReg", ")", ".", "addReg", "(", "TempReg", ")", ".", "addImm", "(", "ARMPCLabelIndex", ")", ";", "if", "(", "Opc", "==", "ARM", "::", "PICADD", ")", "AddDefaultPred", "(", "MIB", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM", "0", "ARM", "ARM", "ARM", "ARM", "4", "8", "ARM", "ARM", "\"_GLOBAL_OFFSET_TABLE_\"", "ARM", "ARM::rGPRRegClass", "ARM", "ARM::t2LDRpci", "ARM::LDRcp", "ARM::LDRcp", "0", "ARM", "ARM::tPICADD", "ARM::PICADD", "ARM", "ARM::PICADD"], "File": "ARMInstrInfo2", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1274, "Length": 377, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARCInstrInfo", "::", "getInstSizeInBytes", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "MI", ".", "isInlineAsm", "(", ")", ")", "{", "const", "MachineFunction", "*", "MF", "=", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "char", "*", "AsmStr", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getSymbolName", "(", ")", ";", "return", "getInlineAsmLength", "(", "AsmStr", ",", "*", "MF", "->", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", ")", ";", "}", "return", "MI", ".", "getDesc", "(", ")", ".", "getSize", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "size", "in", "bytes", "of", "the", "specified", "MachineInstr", ",", "or", "~0U", "when", "this", "function", "is", "not", "implemented", "by", "a", "target", "."], "TS_V_token": ["ARC", "ARC", "0"], "File": "ARCInstrInfo1", "Func": "getInstSizeInBytes", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1275, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "PPCTargetLowering", "::", "getOptimalMemOpType", "(", "uint64_t", "Size", ",", "unsigned", "DstAlign", ",", "unsigned", "SrcAlign", ",", "bool", "IsZeroVal", ",", "bool", "MemcpyStrSrc", ",", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "this", "->", "PPCSubTarget", ".", "isPPC64", "(", ")", ")", "{", "return", "MVT", "::", "i64", ";", "}", "else", "{", "return", "MVT", "::", "i32", ";", "}", "}", ""], "natrual_language": ["It", "returns", "EVT", ":", ":Other", "if", "the", "type", "should", "be", "determined", "using", "generic", "target-independent", "logic", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "MVT::i64", "MVT::i32"], "File": "PPCISelLowering105", "Func": "getOptimalMemOpType", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1276, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "MCSymbol", "*", "GetSymbolFromOperand", "(", "const", "MachineOperand", "&", "MO", ",", "AsmPrinter", "&", "AP", ")", "{", "const", "TargetMachine", "&", "TM", "=", "AP", ".", "TM", ";", "Mangler", "&", "Mang", "=", "TM", ".", "getObjFileLowering", "(", ")", "->", "getMangler", "(", ")", ";", "const", "DataLayout", "&", "DL", "=", "AP", ".", "getDataLayout", "(", ")", ";", "MCContext", "&", "Ctx", "=", "AP", ".", "OutContext", ";", "SmallString", "<", "128", ">", "Name", ";", "if", "(", "!", "MO", ".", "isGlobal", "(", ")", ")", "{", "assert", "(", "MO", ".", "isSymbol", "(", ")", "&&", "\"Isn't a symbol reference\"", ")", ";", "Mangler", "::", "getNameWithPrefix", "(", "Name", ",", "MO", ".", "getSymbolName", "(", ")", ",", "DL", ")", ";", "}", "else", "{", "const", "GlobalValue", "*", "GV", "=", "MO", ".", "getGlobal", "(", ")", ";", "TM", ".", "getNameWithPrefix", "(", "Name", ",", "GV", ",", "Mang", ")", ";", "}", "MCSymbol", "*", "Sym", "=", "Ctx", ".", "getOrCreateSymbol", "(", "Name", ")", ";", "return", "Sym", ";", "}", ""], "natrual_language": ["Lower", "an", "MO_GlobalAddress", "or", "MO_ExternalSymbol", "operand", "to", "an", "MCSymbol", "."], "TS_V_token": ["PowerPC", "128", "\"Isn't a symbol reference\""], "File": "PPCMCInstLower14", "Func": "GetSymbolFromOperand", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1277, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SMLoc", "getStartLoc", "(", ")", "const", "{", "return", "Start", ";", "}", ""], "natrual_language": ["getStartLoc", "-", "Get", "the", "location", "of", "the", "first", "token", "of", "this", "operand", "."], "TS_V_token": ["AVR"], "File": "AVRAsmParser", "Func": "getStartLoc", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1278, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RISCVMCExpr", "*", "RISCVMCExpr", "::", "create", "(", "RISCVMCExpr", "::", "VariantKind", "Kind", ",", "const", "MCExpr", "*", "Expr", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "(", "Ctx", ")", "RISCVMCExpr", "(", "Kind", ",", "Expr", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "RISCV", "RISCV"], "File": "RISCVMCExpr19", "Func": "create", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1279, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "RISCVRegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", ")", "const", "{", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "\"interrupt\"", ")", ")", "{", "if", "(", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ".", "hasStdExtD", "(", ")", ")", "return", "CSR_XLEN_F64_Interrupt_RegMask", ";", "if", "(", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ".", "hasStdExtF", "(", ")", ")", "return", "CSR_XLEN_F32_Interrupt_RegMask", ";", "return", "CSR_Interrupt_RegMask", ";", "}", "return", "CSR_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["RISCV", "RISCV", "\"interrupt\"", "RISCV", "RISCV"], "File": "RISCVRegisterInfo", "Func": "getCallPreservedMask", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1280, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCFragment", "*", "findAssociatedFragment", "(", ")", "const", "override", "{", "return", "getSubExpr", "(", ")", "->", "findAssociatedFragment", "(", ")", ";", "}", ""], "natrual_language": ["Find", "the", "``", "associated", "section", "''", "for", "this", "expression", ",", "which", "is", "currently", "defined", "as", "the", "absolute", "section", "for", "constants", ",", "or", "otherwise", "the", "section", "associated", "with", "the", "first", "defined", "symbol", "in", "the", "expression", "."], "TS_V_token": ["Nios2"], "File": "Nios2MCExpr", "Func": "findAssociatedFragment", "Target": "Nios2", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1281, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMFrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "bool", "isVarArg", "=", "AFI", "->", "getVarArgsRegSaveSize", "(", ")", ">", "0", ";", "unsigned", "PopOpc", "=", "AFI", "->", "isThumbFunction", "(", ")", "?", "ARM", "::", "t2LDMIA_UPD", ":", "ARM", "::", "LDMIA_UPD", ";", "unsigned", "LdrOpc", "=", "AFI", "->", "isThumbFunction", "(", ")", "?", "ARM", "::", "t2LDR_POST", ":", "ARM", "::", "LDR_POST", ";", "unsigned", "FltOpc", "=", "ARM", "::", "VLDMDIA_UPD", ";", "emitPopInst", "(", "MBB", ",", "MI", ",", "CSI", ",", "FltOpc", ",", "0", ",", "isVarArg", ",", "true", ",", "&", "isARMArea3Register", ")", ";", "emitPopInst", "(", "MBB", ",", "MI", ",", "CSI", ",", "PopOpc", ",", "LdrOpc", ",", "isVarArg", ",", "false", ",", "&", "isARMArea2Register", ")", ";", "emitPopInst", "(", "MBB", ",", "MI", ",", "CSI", ",", "PopOpc", ",", "LdrOpc", ",", "isVarArg", ",", "false", ",", "&", "isARMArea1Register", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["restoreCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "restore", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "load", "instructions", "via", "loadRegToStackSlot", "(", ")", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "0", "ARM::t2LDMIA_UPD", "ARM::LDMIA_UPD", "ARM::t2LDR_POST", "ARM::LDR_POST", "ARM::VLDMDIA_UPD", "0", "ARM", "ARM", "ARM"], "File": "ARMFrameLowering25", "Func": "restoreCalleeSavedRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1282, "Length": 182, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetIRAnalysis", "PPCTargetMachine", "::", "getTargetIRAnalysis", "(", ")", "{", "return", "TargetIRAnalysis", "(", "[", "this", "]", "(", "Function", "&", "F", ")", "{", "return", "TargetTransformInfo", "(", "PPCTTIImpl", "(", "this", ",", "F", ")", ")", ";", "}", ")", ";", "}", ""], "natrual_language": ["Get", "a", "TargetIRAnalysis", "appropriate", "for", "the", "target", "."], "TS_V_token": ["PowerPC", "PPC", "PPC"], "File": "PPCTargetMachine27", "Func": "getTargetIRAnalysis", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1283, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "xtensa_tls_symbol_p", "(", "rtx", "x", ")", "{", "if", "(", "!", "targetm", ".", "have_tls", ")", "return", "false", ";", "return", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", "!=", "0", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "X", "is", "a", "thread-local", "symbol", "."], "TS_V_token": ["xtensa", "0"], "File": "xtensa", "Func": "xtensa_tls_symbol_p", "Target": "xtensa", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1284, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getArithmeticInstrCost", "(", "unsigned", "Opcode", ",", "Type", "*", "Ty", ",", "TTI", "::", "OperandValueKind", "Opd1Info", "=", "TTI", "::", "OK_AnyValue", ",", "TTI", "::", "OperandValueKind", "Opd2Info", "=", "TTI", "::", "OK_AnyValue", ",", "TTI", "::", "OperandValueProperties", "Opd1PropInfo", "=", "TTI", "::", "OP_None", ",", "TTI", "::", "OperandValueProperties", "Opd2PropInfo", "=", "TTI", "::", "OP_None", ")", "{", "int", "ISD", "=", "TLI", "->", "InstructionOpcodeToISD", "(", "Opcode", ")", ";", "switch", "(", "ISD", ")", "{", "default", ":", "return", "BaseT", "::", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", ",", "Opd1Info", ",", "Opd2Info", ",", "Opd1PropInfo", ",", "Opd2PropInfo", ")", ";", "case", "ISD", "::", "MUL", ":", "case", "ISD", "::", "SDIV", ":", "case", "ISD", "::", "UDIV", ":", "case", "ISD", "::", "UREM", ":", "return", "64", "*", "BaseT", "::", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", ",", "Opd1Info", ",", "Opd2Info", ",", "Opd1PropInfo", ",", "Opd2PropInfo", ")", ";", "}", "}", ""], "natrual_language": ["This", "is", "an", "approximation", "of", "reciprocal", "throughput", "of", "a", "math/logic", "op", "."], "TS_V_token": ["Lanai", "ISD::MUL", "ISD::SDIV", "ISD::UDIV", "ISD::UREM", "64"], "File": "LanaiTargetTransformInfo1", "Func": "getArithmeticInstrCost", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1285, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["ARM64"], "File": "ARM64CleanupLocalDynamicTLSPass", "Func": "getAnalysisUsage", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1286, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64PassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createAArch64BranchRelaxation", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableCollectLOH", "&&", "TM", "->", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "isTargetMachO", "(", ")", ")", "addPass", "(", "createAArch64CollectLOHPass", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine3", "Func": "addPreEmitPass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1287, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZMCInstLower", "::", "lower", "(", "const", "MachineInstr", "*", "MI", ",", "MCInst", "&", "OutMI", ")", "const", "{", "unsigned", "Opcode", "=", "MI", "->", "getOpcode", "(", ")", ";", "if", "(", "!", "AsmPrinter", ".", "OutStreamer", ".", "hasRawTextSupport", "(", ")", ")", "Opcode", "=", "getShortenedInstr", "(", "Opcode", ")", ";", "OutMI", ".", "setOpcode", "(", "Opcode", ")", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "MI", "->", "getNumOperands", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "I", ")", ";", "MCOperand", "MCOp", "=", "lowerOperand", "(", "MO", ")", ";", "if", "(", "MCOp", ".", "isValid", "(", ")", ")", "OutMI", ".", "addOperand", "(", "MCOp", ")", ";", "}", "}", ""], "natrual_language": ["The", "instruction", "is", "lowered", "."], "TS_V_token": ["SystemZ", "SystemZ", "0"], "File": "SystemZMCInstLower", "Func": "lower", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1288, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_pwrite_stream", "&", "OS", ")", "const", "override", "{", "return", "createAMDGPUELFObjectWriter", "(", "Is64Bit", ",", "OS", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["AMDGPU", "AMDGPU"], "File": "AMDGPUAsmBackend (2)", "Func": "createObjectWriter", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1289, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseRegisterInfo", "::", "materializeFrameBaseRegister", "(", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "BaseReg", ",", "int", "FrameIdx", ",", "int64_t", "Offset", ")", "const", "{", "ARMFunctionInfo", "*", "AFI", "=", "I", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "unsigned", "ADDriOpc", "=", "!", "AFI", "->", "isThumbFunction", "(", ")", "?", "ARM", "::", "ADDri", ":", "(", "AFI", "->", "isThumb1OnlyFunction", "(", ")", "?", "ARM", "::", "tADDrSPi", ":", "ARM", "::", "t2ADDri", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "*", "I", "->", "getParent", "(", ")", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "ADDriOpc", ")", ",", "BaseReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addImm", "(", "Offset", ")", ";", "if", "(", "!", "AFI", "->", "isThumb1OnlyFunction", "(", ")", ")", "AddDefaultCC", "(", "AddDefaultPred", "(", "MIB", ")", ")", ";", "}", ""], "natrual_language": ["Insert", "defining", "instruction", "(", "s", ")", "for", "a", "pointer", "to", "FrameIdx", "before", "insertion", "point", "I", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM::ADDri", "ARM::tADDrSPi", "ARM::t2ADDri"], "File": "ARMBaseRegisterInfo29", "Func": "materializeFrameBaseRegister", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1290, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const_pointer", "get", "(", ")", "const", "SPIMPL_NOEXCEPT", "{", "return", "ptr_", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["Get", "the", "generated", "Value", "for", "a", "given", "VPValue", "and", "given", "Part", "and", "Lane", "."], "TS_V_token": ["Patmos"], "File": "spimpl", "Func": "get", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 1291, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rl78_expand_prologue", "(", "void", ")", "{", "int", "i", ",", "fs", ";", "rtx", "sp", "=", "gen_rtx_REG", "(", "HImode", ",", "STACK_POINTER_REGNUM", ")", ";", "rtx", "ax", "=", "gen_rtx_REG", "(", "HImode", ",", "AX_REG", ")", ";", "int", "rb", "=", "0", ";", "if", "(", "rl78_is_naked_func", "(", ")", ")", "return", ";", "rl78_compute_frame_info", "(", ")", ";", "if", "(", "flag_stack_usage_info", ")", "current_function_static_stack_size", "=", "cfun", "->", "machine", "->", "framesize", ";", "if", "(", "is_interrupt_func", "(", "cfun", "->", "decl", ")", "&&", "!", "TARGET_G10", ")", "for", "(", "i", "=", "0", ";", "i", "<", "4", ";", "i", "++", ")", "if", "(", "cfun", "->", "machine", "->", "need_to_push", "[", "i", "]", ")", "{", "emit_insn", "(", "gen_sel_rb", "(", "GEN_INT", "(", "0", ")", ")", ")", ";", "break", ";", "}", "for", "(", "i", "=", "0", ";", "i", "<", "16", ";", "i", "++", ")", "if", "(", "cfun", "->", "machine", "->", "need_to_push", "[", "i", "]", ")", "{", "int", "reg", "=", "i", "*", "2", ";", "if", "(", "TARGET_G10", ")", "{", "if", "(", "reg", ">=", "8", ")", "{", "emit_move_insn", "(", "ax", ",", "gen_rtx_REG", "(", "HImode", ",", "reg", ")", ")", ";", "reg", "=", "AX_REG", ";", "}", "}", "else", "{", "int", "need_bank", "=", "i", "/", "4", ";", "if", "(", "need_bank", "!=", "rb", ")", "{", "emit_insn", "(", "gen_sel_rb", "(", "GEN_INT", "(", "need_bank", ")", ")", ")", ";", "rb", "=", "need_bank", ";", "}", "}", "F", "(", "emit_insn", "(", "gen_push", "(", "gen_rtx_REG", "(", "HImode", ",", "reg", ")", ")", ")", ")", ";", "}", "if", "(", "rb", "!=", "0", ")", "emit_insn", "(", "gen_sel_rb", "(", "GEN_INT", "(", "0", ")", ")", ")", ";", "if", "(", "is_interrupt_func", "(", "cfun", "->", "decl", ")", "&&", "cfun", "->", "machine", "->", "uses_es", ")", "{", "emit_insn", "(", "gen_movqi_from_es", "(", "gen_rtx_REG", "(", "QImode", ",", "A_REG", ")", ")", ")", ";", "F", "(", "emit_insn", "(", "gen_push", "(", "ax", ")", ")", ")", ";", "}", "if", "(", "frame_pointer_needed", ")", "{", "F", "(", "emit_move_insn", "(", "ax", ",", "sp", ")", ")", ";", "F", "(", "emit_move_insn", "(", "gen_rtx_REG", "(", "HImode", ",", "FRAME_POINTER_REGNUM", ")", ",", "ax", ")", ")", ";", "}", "fs", "=", "cfun", "->", "machine", "->", "framesize_locals", "+", "cfun", "->", "machine", "->", "framesize_outgoing", ";", "if", "(", "fs", ">", "0", ")", "{", "if", "(", "fs", ">", "254", "*", "3", ")", "{", "rtx", "insn", ";", "emit_move_insn", "(", "ax", ",", "sp", ")", ";", "emit_insn", "(", "gen_subhi3", "(", "ax", ",", "ax", ",", "GEN_INT", "(", "fs", ")", ")", ")", ";", "insn", "=", "F", "(", "emit_move_insn", "(", "sp", ",", "ax", ")", ")", ";", "add_reg_note", "(", "insn", ",", "REG_FRAME_RELATED_EXPR", ",", "gen_rtx_SET", "(", "sp", ",", "gen_rtx_PLUS", "(", "HImode", ",", "sp", ",", "GEN_INT", "(", "-", "fs", ")", ")", ")", ")", ";", "}", "else", "{", "while", "(", "fs", ">", "0", ")", "{", "int", "fs_byte", "=", "(", "fs", ">", "254", ")", "?", "254", ":", "fs", ";", "F", "(", "emit_insn", "(", "gen_subhi3", "(", "sp", ",", "sp", ",", "GEN_INT", "(", "fs_byte", ")", ")", ")", ")", ";", "fs", "-=", "fs_byte", ";", "}", "}", "}", "}", ""], "natrual_language": ["Expand", "the", "function", "prologue", "(", "from", "the", "prologue", "pattern", ")", "."], "TS_V_token": ["rl78", "0", "0", "4", "0", "0", "16", "2", "8", "4", "0", "0", "0", "254", "3", "0", "254", "254"], "File": "rl783", "Func": "rl78_expand_prologue", "Target": "rl78", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1292, "Length": 453, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "P2RegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["P2", "P2"], "File": "P2InstrInfo", "Func": "getRegisterInfo", "Target": "P2", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1293, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "bpf_function_arg_advance", "(", "cumulative_args_t", "ca", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "ca", ")", ";", "unsigned", "num_bytes", "=", "arg", ".", "type_size_in_bytes", "(", ")", ";", "unsigned", "num_words", "=", "CEIL", "(", "num_bytes", ",", "UNITS_PER_WORD", ")", ";", "if", "(", "*", "cum", "<=", "5", "&&", "*", "cum", "+", "num_words", ">", "5", ")", "error", "(", "\"too many function arguments for eBPF\"", ")", ";", "*", "cum", "+=", "num_words", ";", "}", ""], "natrual_language": ["Update", "the", "summarizer", "variable", "pointed", "by", "CA", "to", "advance", "past", "an", "argument", "in", "the", "argument", "list", "."], "TS_V_token": ["bpf", "5", "5", "\"too many function arguments for eBPF\""], "File": "bpf", "Func": "bpf_function_arg_advance", "Target": "bpf", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 1294, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ix86_binary_operator_ok", "(", "enum", "rtx_code", "code", ",", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "operands", "[", "3", "]", ")", "{", "if", "(", "GET_CODE", "(", "operands", "[", "1", "]", ")", "==", "MEM", "&&", "GET_CODE", "(", "operands", "[", "2", "]", ")", "==", "MEM", ")", "return", "0", ";", "if", "(", "CONSTANT_P", "(", "operands", "[", "1", "]", ")", "&&", "GET_RTX_CLASS", "(", "code", ")", "!=", "RTX_COMM_ARITH", ")", "return", "0", ";", "if", "(", "GET_CODE", "(", "operands", "[", "0", "]", ")", "==", "MEM", "&&", "!", "(", "rtx_equal_p", "(", "operands", "[", "0", "]", ",", "operands", "[", "1", "]", ")", "||", "(", "GET_RTX_CLASS", "(", "code", ")", "==", "RTX_COMM_ARITH", "&&", "rtx_equal_p", "(", "operands", "[", "0", "]", ",", "operands", "[", "2", "]", ")", ")", ")", ")", "return", "0", ";", "if", "(", "GET_CODE", "(", "operands", "[", "1", "]", ")", "==", "MEM", "&&", "GET_RTX_CLASS", "(", "code", ")", "!=", "RTX_COMM_ARITH", "&&", "!", "rtx_equal_p", "(", "operands", "[", "0", "]", ",", "operands", "[", "1", "]", ")", ")", "return", "0", ";", "return", "1", ";", "}", ""], "natrual_language": ["Return", "TRUE", "or", "FALSE", "depending", "on", "whether", "the", "binary", "operator", "meets", "the", "appropriate", "constraints", "."], "TS_V_token": ["i386", "3", "1", "2", "0", "1", "0", "0", "0", "1", "0", "2", "0", "1", "0", "1", "0", "1"], "File": "i3863", "Func": "ix86_binary_operator_ok", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1295, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "Thumb1FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "Thumb1InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "Thumb1InstrInfo", "*", ">", "(", "STI", ".", "getInstrInfo", "(", ")", ")", ";", "const", "ThumbRegisterInfo", "*", "RegInfo", "=", "static_cast", "<", "const", "ThumbRegisterInfo", "*", ">", "(", "STI", ".", "getRegisterInfo", "(", ")", ")", ";", "if", "(", "!", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "MachineInstr", "&", "Old", "=", "*", "I", ";", "DebugLoc", "dl", "=", "Old", ".", "getDebugLoc", "(", ")", ";", "unsigned", "Amount", "=", "TII", ".", "getFrameSize", "(", "Old", ")", ";", "if", "(", "Amount", "!=", "0", ")", "{", "Amount", "=", "alignTo", "(", "Amount", ",", "getStackAlignment", "(", ")", ")", ";", "unsigned", "Opc", "=", "Old", ".", "getOpcode", "(", ")", ";", "if", "(", "Opc", "==", "ARM", "::", "ADJCALLSTACKDOWN", "||", "Opc", "==", "ARM", "::", "tADJCALLSTACKDOWN", ")", "{", "emitCallSPUpdate", "(", "MBB", ",", "I", ",", "TII", ",", "dl", ",", "*", "RegInfo", ",", "-", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Opc", "==", "ARM", "::", "ADJCALLSTACKUP", "||", "Opc", "==", "ARM", "::", "tADJCALLSTACKUP", ")", ";", "emitCallSPUpdate", "(", "MBB", ",", "I", ",", "TII", ",", "dl", ",", "*", "RegInfo", ",", "Amount", ")", ";", "}", "}", "}", "return", "MBB", ".", "erase", "(", "I", ")", ";", "}", ""], "natrual_language": ["This", "method", "is", "called", "during", "prolog/epilog", "code", "insertion", "to", "eliminate", "call", "frame", "setup", "and", "destroy", "pseudo", "instructions", "(", "but", "only", "if", "the", "Target", "is", "using", "them", ")", "."], "TS_V_token": ["ARM", "0", "ARM::ADJCALLSTACKDOWN", "ARM::tADJCALLSTACKDOWN", "ARM::ADJCALLSTACKUP", "ARM::tADJCALLSTACKUP"], "File": "Thumb1FrameLowering (2)1", "Func": "eliminateCallFramePseudoInstr", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1296, "Length": 201, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "set_ix86_tune_features", "(", "enum", "processor_type", "ix86_tune", ",", "bool", "dump", ")", "{", "unsigned", "HOST_WIDE_INT", "ix86_tune_mask", "=", "HOST_WIDE_INT_1U", "<<", "ix86_tune", ";", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "X86_TUNE_LAST", ";", "++", "i", ")", "{", "if", "(", "ix86_tune_no_default", ")", "ix86_tune_features", "[", "i", "]", "=", "0", ";", "else", "ix86_tune_features", "[", "i", "]", "=", "!", "!", "(", "initial_ix86_tune_features", "[", "i", "]", "&", "ix86_tune_mask", ")", ";", "}", "if", "(", "dump", ")", "{", "fprintf", "(", "stderr", ",", "\"List of x86 specific tuning parameter names:\\n\"", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "X86_TUNE_LAST", ";", "i", "++", ")", "fprintf", "(", "stderr", ",", "\"%s : %s\\n\"", ",", "ix86_tune_feature_names", "[", "i", "]", ",", "ix86_tune_features", "[", "i", "]", "?", "\"on\"", ":", "\"off\"", ")", ";", "}", "parse_mtune_ctrl_str", "(", "dump", ")", ";", "}", ""], "natrual_language": ["Helper", "function", "to", "set", "ix86_tune_features", ".", "IX86_TUNE", "is", "the", "processor", "type", "."], "TS_V_token": ["i386", "0", "0", "\"List of x86 specific tuning parameter names:\\n\"", "0", "\"%s : %s\\n\"", "\"on\"", "\"off\""], "File": "i3867", "Func": "set_ix86_tune_features", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1297, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetLowering", "::", "shouldSignExtendTypeInLibCall", "(", "EVT", "Type", ",", "bool", "IsSigned", ")", "const", "{", "if", "(", "(", "ABI", ".", "IsN32", "(", ")", "||", "ABI", ".", "IsN64", "(", ")", ")", "&&", "Type", "==", "MVT", "::", "i32", ")", "return", "true", ";", "return", "IsSigned", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "arguments", "should", "be", "sign-extended", "in", "lib", "calls", "."], "TS_V_token": ["Mips", "Mips", "MVT::i32"], "File": "MipsISelLowering (2)4", "Func": "shouldSignExtendTypeInLibCall", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1298, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "GenerateSgxCode", ")", "{", "addPass", "(", "createSgxMCPass", "(", ")", ")", ";", "addPass", "(", "createX86WinAllocaExpander", "(", ")", ")", ";", "return", ";", "}", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createX86FixupSetCC", "(", ")", ")", ";", "addPass", "(", "createX86OptimizeLEAs", "(", ")", ")", ";", "addPass", "(", "createX86CallFrameOptimization", "(", ")", ")", ";", "}", "addPass", "(", "createX86WinAllocaExpander", "(", ")", ")", ";", "addPass", "(", "createMachineInstPrint", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86", "X86"], "File": "X86TargetMachine4", "Func": "addPreRegAlloc", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1299, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "cr16_memory_move_cost", "(", "machine_mode", "mode", ",", "reg_class_t", "rclass", "ATTRIBUTE_UNUSED", ",", "bool", "in", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "reg_classes_intersect_p", "(", "rclass", ",", "GENERAL_REGS", ")", ")", "return", "(", "4", "*", "cr16_hard_regno_nregs", "(", "0", ",", "mode", ")", ")", ";", "else", "return", "(", "100", ")", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "moving", "data", "of", "mode", "MODE", "between", "a", "register", "of", "class", "CLASS", "and", "memory", ";", "IN", "is", "zero", "if", "the", "value", "is", "to", "be", "written", "to", "memory", ",", "nonzero", "if", "it", "is", "to", "be", "read", "in", ".", "This", "cost", "is", "relative", "to", "those", "in", "REGISTER_MOVE_COST", "."], "TS_V_token": ["cr16", "4", "0", "100"], "File": "cr16", "Func": "cr16_memory_move_cost", "Target": "cr16", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1300, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "thumb_pop", "(", "FILE", "*", "f", ",", "unsigned", "long", "mask", ")", "{", "int", "regno", ";", "int", "lo_mask", "=", "mask", "&", "0xFF", ";", "gcc_assert", "(", "mask", ")", ";", "if", "(", "lo_mask", "==", "0", "&&", "(", "mask", "&", "(", "1", "<<", "PC_REGNUM", ")", ")", ")", "{", "thumb_exit", "(", "f", ",", "-", "1", ")", ";", "return", ";", "}", "fprintf", "(", "f", ",", "\"\\tpop\\t{\"", ")", ";", "for", "(", "regno", "=", "0", ";", "regno", "<=", "LAST_LO_REGNUM", ";", "regno", "++", ",", "lo_mask", ">>=", "1", ")", "{", "if", "(", "lo_mask", "&", "1", ")", "{", "asm_fprintf", "(", "f", ",", "\"%r\"", ",", "regno", ")", ";", "if", "(", "(", "lo_mask", "&", "~", "1", ")", "!=", "0", ")", "fprintf", "(", "f", ",", "\", \"", ")", ";", "}", "}", "if", "(", "mask", "&", "(", "1", "<<", "PC_REGNUM", ")", ")", "{", "if", "(", "TARGET_INTERWORK", "||", "TARGET_BACKTRACE", "||", "crtl", "->", "calls_eh_return", "||", "IS_CMSE_ENTRY", "(", "arm_current_func_type", "(", ")", ")", ")", "{", "fprintf", "(", "f", ",", "\"}\\n\"", ")", ";", "thumb_exit", "(", "f", ",", "-", "1", ")", ";", "return", ";", "}", "else", "{", "if", "(", "mask", "&", "0xFF", ")", "fprintf", "(", "f", ",", "\", \"", ")", ";", "asm_fprintf", "(", "f", ",", "\"%r\"", ",", "PC_REGNUM", ")", ";", "}", "}", "fprintf", "(", "f", ",", "\"}\\n\"", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "push", "or", "pop", "registers", "to", "or", "from", "the", "stack", ".", "F", "is", "the", "assembly", "file", ".", "MASK", "is", "the", "registers", "to", "pop", "."], "TS_V_token": ["arm", "0xFF", "0", "1", "1", "\"\\tpop\\t{\"", "0", "1", "1", "\"%r\"", "1", "0", "\", \"", "1", "\"}\\n\"", "1", "0xFF", "\", \"", "\"%r\"", "\"}\\n\""], "File": "arm", "Func": "thumb_pop", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1301, "Length": 198, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "Cpu0MCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "MO", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "{", "unsigned", "Reg", "=", "MO", ".", "getReg", "(", ")", ";", "unsigned", "RegNo", "=", "Ctx", ".", "getRegisterInfo", "(", ")", "->", "getEncodingValue", "(", "Reg", ")", ";", "return", "RegNo", ";", "}", "else", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "}", "else", "if", "(", "MO", ".", "isFPImm", "(", ")", ")", "{", "return", "static_cast", "<", "unsigned", ">", "(", "APFloat", "(", "MO", ".", "getFPImm", "(", ")", ")", ".", "bitcastToAPInt", "(", ")", ".", "getHiBits", "(", "32", ")", ".", "getLimitedValue", "(", ")", ")", ";", "}", "assert", "(", "MO", ".", "isExpr", "(", ")", ")", ";", "return", "getExprOpValue", "(", "MO", ".", "getExpr", "(", ")", ",", "Fixups", ",", "STI", ")", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["Cpu0", "Cpu0", "32"], "File": "Cpu0MCCodeEmitter2", "Func": "getMachineOpValue", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1302, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsSEDAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "SDValue", "Base", ",", "Offset", ";", "switch", "(", "ConstraintID", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected asm memory constraint\"", ")", ";", "case", "InlineAsm", "::", "Constraint_m", ":", "case", "InlineAsm", "::", "Constraint_o", ":", "if", "(", "selectAddrRegImm16", "(", "Op", ",", "Base", ",", "Offset", ")", ")", "{", "OutOps", ".", "push_back", "(", "Base", ")", ";", "OutOps", ".", "push_back", "(", "Offset", ")", ";", "return", "false", ";", "}", "OutOps", ".", "push_back", "(", "Op", ")", ";", "OutOps", ".", "push_back", "(", "CurDAG", "->", "getTargetConstant", "(", "0", ",", "SDLoc", "(", "Op", ")", ",", "MVT", "::", "i32", ")", ")", ";", "return", "false", ";", "case", "InlineAsm", "::", "Constraint_R", ":", "if", "(", "selectAddrRegImm9", "(", "Op", ",", "Base", ",", "Offset", ")", ")", "{", "OutOps", ".", "push_back", "(", "Base", ")", ";", "OutOps", ".", "push_back", "(", "Offset", ")", ";", "return", "false", ";", "}", "OutOps", ".", "push_back", "(", "Op", ")", ";", "OutOps", ".", "push_back", "(", "CurDAG", "->", "getTargetConstant", "(", "0", ",", "SDLoc", "(", "Op", ")", ",", "MVT", "::", "i32", ")", ")", ";", "return", "false", ";", "case", "InlineAsm", "::", "Constraint_ZC", ":", "if", "(", "Subtarget", "->", "inMicroMipsMode", "(", ")", ")", "{", "if", "(", "selectAddrRegImm12", "(", "Op", ",", "Base", ",", "Offset", ")", ")", "{", "OutOps", ".", "push_back", "(", "Base", ")", ";", "OutOps", ".", "push_back", "(", "Offset", ")", ";", "return", "false", ";", "}", "}", "else", "if", "(", "Subtarget", "->", "hasMips32r6", "(", ")", ")", "{", "if", "(", "selectAddrRegImm9", "(", "Op", ",", "Base", ",", "Offset", ")", ")", "{", "OutOps", ".", "push_back", "(", "Base", ")", ";", "OutOps", ".", "push_back", "(", "Offset", ")", ";", "return", "false", ";", "}", "}", "else", "if", "(", "selectAddrRegImm16", "(", "Op", ",", "Base", ",", "Offset", ")", ")", "{", "OutOps", ".", "push_back", "(", "Base", ")", ";", "OutOps", ".", "push_back", "(", "Offset", ")", ";", "return", "false", ";", "}", "OutOps", ".", "push_back", "(", "Op", ")", ";", "OutOps", ".", "push_back", "(", "CurDAG", "->", "getTargetConstant", "(", "0", ",", "SDLoc", "(", "Op", ")", ",", "MVT", "::", "i32", ")", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["SelectInlineAsmMemoryOperand", "-", "Select", "the", "specified", "address", "as", "a", "target", "addressing", "mode", ",", "according", "to", "the", "specified", "constraint", "."], "TS_V_token": ["Mips", "Mips", "\"Unexpected asm memory constraint\"", "0", "MVT::i32", "0", "MVT::i32", "Mips", "Mips", "0", "MVT::i32"], "File": "MipsSEISelDAGToDAG10", "Func": "SelectInlineAsmMemoryOperand", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1303, "Length": 330, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "m68k_conditional_register_usage", "(", "void", ")", "{", "int", "i", ";", "HARD_REG_SET", "x", ";", "if", "(", "!", "TARGET_HARD_FLOAT", ")", "{", "COPY_HARD_REG_SET", "(", "x", ",", "reg_class_contents", "[", "(", "int", ")", "FP_REGS", "]", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "FIRST_PSEUDO_REGISTER", ";", "i", "++", ")", "if", "(", "TEST_HARD_REG_BIT", "(", "x", ",", "i", ")", ")", "fixed_regs", "[", "i", "]", "=", "call_used_regs", "[", "i", "]", "=", "1", ";", "}", "if", "(", "flag_pic", ")", "fixed_regs", "[", "PIC_REG", "]", "=", "call_used_regs", "[", "PIC_REG", "]", "=", "1", ";", "}", ""], "natrual_language": ["Make", "sure", "everything", "'s", "fine", "if", "we", "*", "do", "n't", "*", "have", "a", "given", "processor", ".", "This", "assumes", "that", "putting", "a", "register", "in", "fixed_regs", "will", "keep", "the", "compiler", "'s", "mitts", "completely", "off", "it", ".", "We", "do", "n't", "bother", "to", "zero", "it", "out", "of", "register", "classes", "."], "TS_V_token": ["m68k", "0", "1", "1"], "File": "m68k4", "Func": "m68k_conditional_register_usage", "Target": "m68k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1304, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "expand", "(", "function_expander", "&", "e", ")", "const", "OVERRIDE", "{", "int", "unspec", "=", "(", "e", ".", "type_suffix", "(", "1", ")", ".", "unsigned_p", "?", "m_unspec_for_uint", ":", "m_unspec_for_sint", ")", ";", "machine_mode", "pred_mode", "=", "e", ".", "vector_mode", "(", "0", ")", ";", "scalar_mode", "reg_mode", "=", "GET_MODE_INNER", "(", "e", ".", "vector_mode", "(", "1", ")", ")", ";", "return", "e", ".", "use_exact_insn", "(", "code_for_while", "(", "unspec", ",", "reg_mode", ",", "pred_mode", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "the", "call", "and", "return", "its", "lhs", "."], "TS_V_token": ["aarch64", "1", "0", "1"], "File": "aarch64-sve-builtins-functions", "Func": "expand", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1305, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "frv_ifcvt_add_insn", "(", "rtx", "pattern", ",", "rtx_insn", "*", "insn", ",", "int", "before_p", ")", "{", "rtx", "link", "=", "alloc_EXPR_LIST", "(", "VOIDmode", ",", "pattern", ",", "insn", ")", ";", "link", "->", "jump", "=", "before_p", ";", "frv_ifcvt", ".", "added_insns_list", "=", "alloc_EXPR_LIST", "(", "VOIDmode", ",", "link", ",", "frv_ifcvt", ".", "added_insns_list", ")", ";", "if", "(", "TARGET_DEBUG_COND_EXEC", ")", "{", "fprintf", "(", "stderr", ",", "\"\\n:::::::::: frv_ifcvt_add_insn: add the following %s insn %d:\\n\"", ",", "(", "before_p", ")", "?", "\"before\"", ":", "\"after\"", ",", "(", "int", ")", "INSN_UID", "(", "insn", ")", ")", ";", "debug_rtx", "(", "pattern", ")", ";", "}", "}", ""], "natrual_language": ["Internal", "function", "to", "add", "a", "potential", "insn", "to", "the", "list", "of", "insns", "to", "be", "inserted", "if", "the", "conditional", "execution", "conversion", "is", "successful", "."], "TS_V_token": ["frv", "\"\\n:::::::::: frv_ifcvt_add_insn: add the following %s insn %d:\\n\"", "\"before\"", "\"after\""], "File": "frv", "Func": "frv_ifcvt_add_insn", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 1306, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "{", "if", "(", "ExtraCode", "[", "1", "]", "!=", "0", ")", "return", "true", ";", "switch", "(", "ExtraCode", "[", "0", "]", ")", "{", "default", ":", "return", "AsmPrinter", "::", "PrintAsmOperand", "(", "MI", ",", "OpNo", ",", "AsmVariant", ",", "ExtraCode", ",", "O", ")", ";", "case", "'r'", ":", "break", ";", "}", "}", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["Sparc", "Sparc", "0", "1", "0", "0"], "File": "SparcAsmPrinter", "Func": "PrintAsmOperand", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1307, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "CCAssignFn", "*", "SNESTargetLowering", "::", "CCAssignFnForReturn", "(", "CallingConv", "::", "ID", "CC", ")", "const", "{", "switch", "(", "CC", ")", "{", "default", ":", "return", "RetCC_SNES", ";", "}", "}", ""], "natrual_language": ["Selects", "the", "correct", "CCAssignFn", "for", "a", "given", "CallingConvention", "value", "."], "TS_V_token": ["SNES", "SNES", "SNES"], "File": "SNESISelLowering", "Func": "CCAssignFnForReturn", "Target": "SNES", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1308, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "frame_move_inc", "(", "rtx", "dst", ",", "rtx", "src", ",", "rtx", "reg", ",", "rtx", "addr", ")", "{", "rtx", "insn", "=", "frame_move", "(", "dst", ",", "src", ")", ";", "if", "(", "!", "addr", "||", "GET_CODE", "(", "addr", ")", "==", "PRE_DEC", "||", "GET_CODE", "(", "addr", ")", "==", "POST_INC", "||", "GET_CODE", "(", "addr", ")", "==", "PRE_MODIFY", "||", "GET_CODE", "(", "addr", ")", "==", "POST_MODIFY", ")", "add_reg_note", "(", "insn", ",", "REG_INC", ",", "reg", ")", ";", "return", "insn", ";", "}", ""], "natrual_language": ["Like", "frame_move", ",", "but", "add", "a", "REG_INC", "note", "for", "REG", "if", "ADDR", "contains", "an", "auto", "increment", "address", ",", "or", "is", "zero", "."], "TS_V_token": ["arc"], "File": "arc", "Func": "frame_move_inc", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1309, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "shouldBuildLookupTablesForConstant", "(", "Constant", "*", "C", ")", "const", "{", "if", "(", "ST", "->", "isROPI", "(", ")", "||", "ST", "->", "isRWPI", "(", ")", ")", "return", "!", "C", "->", "needsDynamicRelocation", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "switches", "should", "be", "turned", "into", "lookup", "tables", "containing", "this", "constant", "value", "for", "the", "target", "."], "TS_V_token": ["ARM"], "File": "ARMTargetTransformInfo (2)1", "Func": "shouldBuildLookupTablesForConstant", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1310, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "xtensa_split_operand_pair", "(", "rtx", "operands", "[", "4", "]", ",", "machine_mode", "mode", ")", "{", "switch", "(", "GET_CODE", "(", "operands", "[", "1", "]", ")", ")", "{", "case", "REG", ":", "operands", "[", "3", "]", "=", "gen_rtx_REG", "(", "mode", ",", "REGNO", "(", "operands", "[", "1", "]", ")", "+", "1", ")", ";", "operands", "[", "2", "]", "=", "gen_rtx_REG", "(", "mode", ",", "REGNO", "(", "operands", "[", "1", "]", ")", ")", ";", "break", ";", "case", "MEM", ":", "operands", "[", "3", "]", "=", "adjust_address", "(", "operands", "[", "1", "]", ",", "mode", ",", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "operands", "[", "2", "]", "=", "adjust_address", "(", "operands", "[", "1", "]", ",", "mode", ",", "0", ")", ";", "break", ";", "case", "CONST_INT", ":", "case", "CONST_DOUBLE", ":", "split_double", "(", "operands", "[", "1", "]", ",", "&", "operands", "[", "2", "]", ",", "&", "operands", "[", "3", "]", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "switch", "(", "GET_CODE", "(", "operands", "[", "0", "]", ")", ")", "{", "case", "REG", ":", "operands", "[", "1", "]", "=", "gen_rtx_REG", "(", "mode", ",", "REGNO", "(", "operands", "[", "0", "]", ")", "+", "1", ")", ";", "operands", "[", "0", "]", "=", "gen_rtx_REG", "(", "mode", ",", "REGNO", "(", "operands", "[", "0", "]", ")", ")", ";", "break", ";", "case", "MEM", ":", "operands", "[", "1", "]", "=", "adjust_address", "(", "operands", "[", "0", "]", ",", "mode", ",", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "operands", "[", "0", "]", "=", "adjust_address", "(", "operands", "[", "0", "]", ",", "mode", ",", "0", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Split", "OP", "[", "1", "]", "into", "OP", "[", "2,3", "]", "and", "likewise", "for", "OP", "[", "0", "]", "into", "OP", "[", "0,1", "]", ".", "MODE", "is", "for", "the", "output", ",", "i.e.", ",", "the", "input", "operands", "are", "twice", "as", "big", "as", "MODE", "."], "TS_V_token": ["xtensa", "4", "1", "3", "1", "1", "2", "1", "3", "1", "2", "1", "0", "1", "2", "3", "0", "1", "0", "1", "0", "0", "1", "0", "0", "0", "0"], "File": "xtensa", "Func": "xtensa_split_operand_pair", "Target": "xtensa", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1311, "Length": 248, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "s390_z10_optimize_cmp", "(", "rtx_insn", "*", "insn", ")", "{", "rtx_insn", "*", "prev_insn", ",", "*", "next_insn", ";", "bool", "insn_added_p", "=", "false", ";", "rtx", "cond", ",", "*", "op0", ",", "*", "op1", ";", "if", "(", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "PARALLEL", ")", "{", "rtx", "pattern", "=", "single_set", "(", "insn", ")", ";", "if", "(", "!", "pattern", "||", "SET_DEST", "(", "pattern", ")", "!=", "pc_rtx", "||", "GET_CODE", "(", "SET_SRC", "(", "pattern", ")", ")", "!=", "IF_THEN_ELSE", ")", "return", "false", ";", "cond", "=", "XEXP", "(", "SET_SRC", "(", "pattern", ")", ",", "0", ")", ";", "op0", "=", "&", "XEXP", "(", "cond", ",", "0", ")", ";", "op1", "=", "&", "XEXP", "(", "cond", ",", "1", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "SET", ")", "{", "rtx", "src", ",", "dest", ";", "src", "=", "SET_SRC", "(", "PATTERN", "(", "insn", ")", ")", ";", "dest", "=", "SET_DEST", "(", "PATTERN", "(", "insn", ")", ")", ";", "if", "(", "!", "REG_P", "(", "dest", ")", "||", "!", "CC_REGNO_P", "(", "REGNO", "(", "dest", ")", ")", "||", "GET_CODE", "(", "src", ")", "!=", "COMPARE", ")", "return", "false", ";", "cond", "=", "NULL_RTX", ";", "op0", "=", "&", "XEXP", "(", "src", ",", "0", ")", ";", "op1", "=", "&", "XEXP", "(", "src", ",", "1", ")", ";", "}", "else", "return", "false", ";", "if", "(", "!", "REG_P", "(", "*", "op0", ")", "||", "!", "REG_P", "(", "*", "op1", ")", ")", "return", "false", ";", "if", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "*", "op0", ")", ")", "!=", "MODE_INT", ")", "return", "false", ";", "prev_insn", "=", "prev_active_insn", "(", "insn", ")", ";", "if", "(", "prev_insn", "!=", "NULL_RTX", "&&", "INSN_P", "(", "prev_insn", ")", "&&", "reg_referenced_p", "(", "*", "op1", ",", "PATTERN", "(", "prev_insn", ")", ")", ")", "s390_swap_cmp", "(", "cond", ",", "op0", ",", "op1", ",", "insn", ")", ";", "next_insn", "=", "next_active_insn", "(", "insn", ")", ";", "if", "(", "next_insn", "!=", "NULL_RTX", "&&", "INSN_P", "(", "next_insn", ")", "&&", "s390_non_addr_reg_read_p", "(", "*", "op1", ",", "next_insn", ")", ")", "{", "if", "(", "prev_insn", "!=", "NULL_RTX", "&&", "INSN_P", "(", "prev_insn", ")", "&&", "s390_non_addr_reg_read_p", "(", "*", "op0", ",", "prev_insn", ")", ")", "{", "if", "(", "REGNO", "(", "*", "op1", ")", "==", "0", ")", "emit_insn_after", "(", "gen_nop1", "(", ")", ",", "insn", ")", ";", "else", "emit_insn_after", "(", "gen_nop", "(", ")", ",", "insn", ")", ";", "insn_added_p", "=", "true", ";", "}", "else", "s390_swap_cmp", "(", "cond", ",", "op0", ",", "op1", ",", "insn", ")", ";", "}", "return", "insn_added_p", ";", "}", ""], "natrual_language": ["On", "z10", ",", "instructions", "of", "the", "compare-and-branch", "family", "have", "the", "property", "to", "access", "the", "register", "occurring", "as", "second", "operand", "with", "its", "bits", "complemented", ".", "If", "such", "a", "compare", "is", "grouped", "with", "a", "second", "instruction", "that", "accesses", "the", "same", "register", "non-complemented", ",", "and", "if", "that", "register", "'s", "value", "is", "delivered", "via", "a", "bypass", ",", "then", "the", "pipeline", "recycles", ",", "thereby", "causing", "significant", "performance", "decline", ".", "This", "function", "locates", "such", "situations", "and", "exchanges", "the", "two", "operands", "of", "the", "compare", ".", "The", "function", "return", "true", "whenever", "it", "added", "an", "insn", "."], "TS_V_token": ["s390", "0", "0", "1", "0", "1", "0"], "File": "s3904", "Func": "s390_z10_optimize_cmp", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1312, "Length": 377, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "c6x_gen_bundles", "(", "void", ")", "{", "basic_block", "bb", ";", "FOR_EACH_BB_FN", "(", "bb", ",", "cfun", ")", "{", "rtx_insn", "*", "insn", ",", "*", "next", ";", "rtx_insn", "*", "slot", "[", "15", "]", ";", "int", "n_filled", "=", "0", ";", "int", "first_slot", "=", "0", ";", "for", "(", "insn", "=", "BB_HEAD", "(", "bb", ")", ";", ";", "insn", "=", "next", ")", "{", "int", "at_end", ";", "rtx", "delete_this", "=", "NULL_RTX", ";", "if", "(", "NONDEBUG_INSN_P", "(", "insn", ")", ")", "{", "if", "(", "CALL_P", "(", "insn", ")", ")", "{", "first_slot", "++", ";", "if", "(", "n_filled", ")", "{", "memmove", "(", "&", "slot", "[", "1", "]", ",", "&", "slot", "[", "0", "]", ",", "n_filled", "*", "sizeof", "(", "slot", "[", "0", "]", ")", ")", ";", "}", "if", "(", "!", "shadow_p", "(", "insn", ")", ")", "{", "PUT_MODE", "(", "insn", ",", "TImode", ")", ";", "if", "(", "n_filled", ")", "PUT_MODE", "(", "slot", "[", "1", "]", ",", "VOIDmode", ")", ";", "}", "n_filled", "++", ";", "slot", "[", "0", "]", "=", "insn", ";", "}", "else", "{", "slot", "[", "n_filled", "++", "]", "=", "insn", ";", "}", "}", "next", "=", "NEXT_INSN", "(", "insn", ")", ";", "while", "(", "next", "&&", "insn", "!=", "BB_END", "(", "bb", ")", "&&", "!", "(", "NONDEBUG_INSN_P", "(", "next", ")", "&&", "GET_CODE", "(", "PATTERN", "(", "next", ")", ")", "!=", "USE", "&&", "GET_CODE", "(", "PATTERN", "(", "next", ")", ")", "!=", "CLOBBER", ")", ")", "{", "insn", "=", "next", ";", "next", "=", "NEXT_INSN", "(", "insn", ")", ";", "}", "at_end", "=", "insn", "==", "BB_END", "(", "bb", ")", ";", "if", "(", "delete_this", "==", "NULL_RTX", "&&", "(", "at_end", "||", "(", "GET_MODE", "(", "next", ")", "==", "TImode", "&&", "!", "(", "shadow_p", "(", "next", ")", "&&", "CALL_P", "(", "next", ")", ")", ")", ")", ")", "{", "if", "(", "n_filled", ">=", "2", ")", "gen_one_bundle", "(", "slot", ",", "n_filled", ",", "first_slot", ")", ";", "n_filled", "=", "0", ";", "first_slot", "=", "0", ";", "}", "if", "(", "at_end", ")", "break", ";", "}", "}", "}", ""], "natrual_language": ["Move", "all", "parallel", "instructions", "into", "SEQUENCEs", ",", "so", "that", "no", "subsequent", "passes", "try", "to", "insert", "labels", "in", "the", "middle", "."], "TS_V_token": ["c6x", "15", "0", "0", "1", "0", "0", "1", "0", "2", "0", "0"], "File": "c6x", "Func": "c6x_gen_bundles", "Target": "c6x", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 1313, "Length": 302, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "merge_unit_reqs", "(", "unit_req_table", "reqs", ")", "{", "int", "side", ";", "for", "(", "side", "=", "0", ";", "side", "<", "2", ";", "side", "++", ")", "{", "int", "d", "=", "reqs", "[", "side", "]", "[", "UNIT_REQ_D", "]", ";", "int", "l", "=", "reqs", "[", "side", "]", "[", "UNIT_REQ_L", "]", ";", "int", "s", "=", "reqs", "[", "side", "]", "[", "UNIT_REQ_S", "]", ";", "int", "dl", "=", "reqs", "[", "side", "]", "[", "UNIT_REQ_DL", "]", ";", "int", "ls", "=", "reqs", "[", "side", "]", "[", "UNIT_REQ_LS", "]", ";", "int", "ds", "=", "reqs", "[", "side", "]", "[", "UNIT_REQ_DS", "]", ";", "reqs", "[", "side", "]", "[", "UNIT_REQ_DL", "]", "+=", "d", ";", "reqs", "[", "side", "]", "[", "UNIT_REQ_DL", "]", "+=", "l", ";", "reqs", "[", "side", "]", "[", "UNIT_REQ_DS", "]", "+=", "d", ";", "reqs", "[", "side", "]", "[", "UNIT_REQ_DS", "]", "+=", "s", ";", "reqs", "[", "side", "]", "[", "UNIT_REQ_LS", "]", "+=", "l", ";", "reqs", "[", "side", "]", "[", "UNIT_REQ_LS", "]", "+=", "s", ";", "reqs", "[", "side", "]", "[", "UNIT_REQ_DLS", "]", "+=", "ds", "+", "dl", "+", "ls", "+", "d", "+", "l", "+", "s", ";", "}", "}", ""], "natrual_language": ["Update", "the", "table", "REQS", "by", "merging", "more", "specific", "unit", "reservations", "into", "more", "general", "ones", ",", "i.e", ".", "counting", "(", "for", "example", ")", "UNIT_REQ_D", "also", "in", "UNIT_REQ_DL", ",", "DS", ",", "and", "DLS", "."], "TS_V_token": ["c6x", "0", "2"], "File": "c6x", "Func": "merge_unit_reqs", "Target": "c6x", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 1314, "Length": 173, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ix86_build_builtin_va_list", "(", "void", ")", "{", "tree", "ret", "=", "ix86_build_builtin_va_list_abi", "(", "ix86_abi", ")", ";", "if", "(", "TARGET_64BIT", ")", "{", "tree", "t", ";", "if", "(", "ix86_abi", "==", "MS_ABI", ")", "{", "t", "=", "ix86_build_builtin_va_list_abi", "(", "SYSV_ABI", ")", ";", "if", "(", "TREE_CODE", "(", "t", ")", "!=", "RECORD_TYPE", ")", "t", "=", "build_variant_type_copy", "(", "t", ")", ";", "sysv_va_list_type_node", "=", "t", ";", "}", "else", "{", "t", "=", "ret", ";", "if", "(", "TREE_CODE", "(", "t", ")", "!=", "RECORD_TYPE", ")", "t", "=", "build_variant_type_copy", "(", "t", ")", ";", "sysv_va_list_type_node", "=", "t", ";", "}", "if", "(", "ix86_abi", "!=", "MS_ABI", ")", "{", "t", "=", "ix86_build_builtin_va_list_abi", "(", "MS_ABI", ")", ";", "if", "(", "TREE_CODE", "(", "t", ")", "!=", "RECORD_TYPE", ")", "t", "=", "build_variant_type_copy", "(", "t", ")", ";", "ms_va_list_type_node", "=", "t", ";", "}", "else", "{", "t", "=", "ret", ";", "if", "(", "TREE_CODE", "(", "t", ")", "!=", "RECORD_TYPE", ")", "t", "=", "build_variant_type_copy", "(", "t", ")", ";", "ms_va_list_type_node", "=", "t", ";", "}", "}", "return", "ret", ";", "}", ""], "natrual_language": ["Create", "the", "va_list", "data", "type", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "ix86_build_builtin_va_list", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1315, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "VERegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "switch", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", ")", "{", "default", ":", "return", "CSR_SaveList", ";", "case", "CallingConv", "::", "PreserveAll", ":", "return", "CSR_preserve_all_SaveList", ";", "}", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["VE", "VE"], "File": "VERegisterInfo", "Func": "getCalleeSavedRegs", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1316, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AMDGPUSubtarget", "&", "AMDGPUSubtarget", "::", "initializeSubtargetDependencies", "(", "const", "Triple", "&", "TT", ",", "StringRef", "GPU", ",", "StringRef", "FS", ")", "{", "SmallString", "<", "256", ">", "FullFS", "(", "\"+promote-alloca,+fp64-denormals,\"", ")", ";", "FullFS", "+=", "FS", ";", "if", "(", "GPU", "==", "\"\"", "&&", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "amdgcn", ")", "GPU", "=", "\"SI\"", ";", "ParseSubtargetFeatures", "(", "GPU", ",", "FullFS", ")", ";", "if", "(", "getGeneration", "(", ")", "<=", "AMDGPUSubtarget", "::", "NORTHERN_ISLANDS", ")", "{", "FP32Denormals", "=", "false", ";", "FP64Denormals", "=", "false", ";", "}", "return", "*", "this", ";", "}", ""], "natrual_language": ["initializeSubtargetDependencies", "-", "Initializes", "using", "a", "CPU", ",", "a", "TuneCPU", ",", "and", "feature", "string", "so", "that", "we", "can", "use", "initializer", "lists", "for", "subtarget", "initialization", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU", "256", "\"+promote-alloca,+fp64-denormals,\"", "\"\"", "\"SI\"", "AMDGPU"], "File": "AMDGPUSubtarget70", "Func": "initializeSubtargetDependencies", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1317, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "h8sx_shift_type", "h8sx_classify_shift", "(", "enum", "machine_mode", "mode", ",", "enum", "rtx_code", "code", ",", "rtx", "op", ")", "{", "if", "(", "!", "TARGET_H8300SX", ")", "return", "H8SX_SHIFT_NONE", ";", "switch", "(", "code", ")", "{", "case", "ASHIFT", ":", "case", "LSHIFTRT", ":", "if", "(", "GET_CODE", "(", "op", ")", "!=", "CONST_INT", ")", "return", "H8SX_SHIFT_BINARY", ";", "if", "(", "INTVAL", "(", "op", ")", "<=", "0", "||", "INTVAL", "(", "op", ")", ">=", "GET_MODE_BITSIZE", "(", "mode", ")", ")", "return", "H8SX_SHIFT_NONE", ";", "if", "(", "exact_log2", "(", "INTVAL", "(", "op", ")", ")", ">=", "0", ")", "return", "H8SX_SHIFT_UNARY", ";", "return", "H8SX_SHIFT_BINARY", ";", "case", "ASHIFTRT", ":", "if", "(", "op", "==", "const1_rtx", "||", "op", "==", "const2_rtx", ")", "return", "H8SX_SHIFT_UNARY", ";", "return", "H8SX_SHIFT_NONE", ";", "case", "ROTATE", ":", "if", "(", "GET_CODE", "(", "op", ")", "==", "CONST_INT", "&&", "(", "INTVAL", "(", "op", ")", "==", "1", "||", "INTVAL", "(", "op", ")", "==", "2", "||", "INTVAL", "(", "op", ")", "==", "GET_MODE_BITSIZE", "(", "mode", ")", "-", "2", "||", "INTVAL", "(", "op", ")", "==", "GET_MODE_BITSIZE", "(", "mode", ")", "-", "1", ")", ")", "return", "H8SX_SHIFT_UNARY", ";", "return", "H8SX_SHIFT_NONE", ";", "default", ":", "return", "H8SX_SHIFT_NONE", ";", "}", "}", ""], "natrual_language": ["Classify", "a", "shift", "with", "the", "given", "mode", "and", "code", ".", "OP", "is", "the", "shift", "amount", "."], "TS_V_token": ["h8300", "0", "0", "1", "2", "2", "1"], "File": "h83003", "Func": "h8sx_classify_shift", "Target": "h8300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1318, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TL45PassConfig", "::", "addPreEmitPass", "(", ")", "{", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["TL45", "TL45"], "File": "TL45TargetMachine", "Func": "addPreEmitPass", "Target": "TL45", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1319, "Length": 8, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "avr_handle_progmem_attribute", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", "args", "ATTRIBUTE_UNUSED", ",", "int", "flags", "ATTRIBUTE_UNUSED", ",", "bool", "*", "no_add_attrs", ")", "{", "if", "(", "DECL_P", "(", "*", "node", ")", ")", "{", "if", "(", "TREE_CODE", "(", "*", "node", ")", "==", "TYPE_DECL", ")", "{", "tree", "type", "=", "TREE_TYPE", "(", "*", "node", ")", ";", "tree", "attr", "=", "tree_cons", "(", "name", ",", "args", ",", "TYPE_ATTRIBUTES", "(", "type", ")", ")", ";", "tree", "newtype", "=", "build_type_attribute_variant", "(", "type", ",", "attr", ")", ";", "TYPE_MAIN_VARIANT", "(", "newtype", ")", "=", "TYPE_MAIN_VARIANT", "(", "type", ")", ";", "TREE_TYPE", "(", "*", "node", ")", "=", "newtype", ";", "*", "no_add_attrs", "=", "true", ";", "}", "else", "if", "(", "TREE_STATIC", "(", "*", "node", ")", "||", "DECL_EXTERNAL", "(", "*", "node", ")", ")", "{", "*", "no_add_attrs", "=", "false", ";", "}", "else", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qE attribute ignored\"", ",", "name", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Handle", "a", "``", "progmem", "''", "attribute", ";", "arguments", "as", "in", "struct", "attribute_spec.handler", "."], "TS_V_token": ["avr", "\"%qE attribute ignored\""], "File": "avr", "Func": "avr_handle_progmem_attribute", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1320, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "loongarch_expand_builtin", "(", "tree", "exp", ",", "rtx", "target", ",", "rtx", "subtarget", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "int", "ignore", "ATTRIBUTE_UNUSED", ")", "{", "tree", "fndecl", ";", "unsigned", "int", "fcode", ",", "avail", ";", "const", "struct", "loongarch_builtin_description", "*", "d", ";", "fndecl", "=", "TREE_OPERAND", "(", "CALL_EXPR_FN", "(", "exp", ")", ",", "0", ")", ";", "fcode", "=", "DECL_MD_FUNCTION_CODE", "(", "fndecl", ")", ";", "gcc_assert", "(", "fcode", "<", "ARRAY_SIZE", "(", "loongarch_builtins", ")", ")", ";", "d", "=", "&", "loongarch_builtins", "[", "fcode", "]", ";", "avail", "=", "d", "->", "avail", "(", ")", ";", "gcc_assert", "(", "avail", "!=", "0", ")", ";", "switch", "(", "d", "->", "builtin_type", ")", "{", "case", "LARCH_BUILTIN_DIRECT", ":", "return", "loongarch_expand_builtin_direct", "(", "d", "->", "icode", ",", "target", ",", "exp", ",", "true", ")", ";", "case", "LARCH_BUILTIN_DIRECT_NO_TARGET", ":", "return", "loongarch_expand_builtin_direct", "(", "d", "->", "icode", ",", "target", ",", "exp", ",", "false", ")", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_EXPAND_BUILTIN", "."], "TS_V_token": ["loongarch", "0", "0"], "File": "loongarch-builtins", "Func": "loongarch_expand_builtin", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1321, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "FPGATTIImpl", "::", "getNumberOfRegisters", "(", "bool", "Vector", ")", "{", "return", "std", "::", "numeric_limits", "<", "unsigned", ">", "::", "max", "(", ")", ">>", "2", ";", "}", ""], "natrual_language": ["\ufffd", "?", "Vector", "TTI", "begin", "\ufffd", "?"], "TS_V_token": ["FPGA", "FPGA", "2"], "File": "FPGATargetTransformInfo", "Func": "getNumberOfRegisters", "Target": "FPGA", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1322, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "arm_invalid_unary_op", "(", "int", "op", ",", "const_tree", "type", ")", "{", "if", "(", "element_mode", "(", "type", ")", "==", "BFmode", "&&", "op", "!=", "ADDR_EXPR", ")", "return", "N_", "(", "\"operation not permitted on type %\"", ")", ";", "return", "NULL", ";", "}", ""], "natrual_language": ["Return", "the", "diagnostic", "message", "string", "if", "the", "unary", "operation", "OP", "is", "not", "permitted", "on", "TYPE", ",", "NULL", "otherwise", "."], "TS_V_token": ["arm", "\"operation not permitted on type %\""], "File": "arm", "Func": "arm_invalid_unary_op", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1323, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createHexagonRemoveExtendOps", "(", "getHexagonTargetMachine", "(", ")", ")", ")", ";", "addPass", "(", "createHexagonISelDag", "(", "getHexagonTargetMachine", "(", ")", ")", ")", ";", "addPass", "(", "createHexagonPeephole", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon"], "File": "HexagonTargetMachine22", "Func": "addInstSelector", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1324, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emit_soft_tfmode_libcall", "(", "const", "char", "*", "func_name", ",", "int", "nargs", ",", "rtx", "*", "operands", ")", "{", "rtx", "ret_slot", "=", "NULL", ",", "arg", "[", "3", "]", ",", "func_sym", ";", "int", "i", ";", "gcc_assert", "(", "nargs", "==", "2", "||", "nargs", "==", "3", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nargs", ";", "++", "i", ")", "{", "rtx", "this_arg", "=", "operands", "[", "i", "]", ";", "rtx", "this_slot", ";", "if", "(", "GET_MODE", "(", "this_arg", ")", "==", "TFmode", ")", "{", "int", "force_stack_temp", ";", "force_stack_temp", "=", "0", ";", "if", "(", "TARGET_BUGGY_QP_LIB", "&&", "i", "==", "0", ")", "force_stack_temp", "=", "1", ";", "if", "(", "GET_CODE", "(", "this_arg", ")", "==", "MEM", "&&", "!", "force_stack_temp", ")", "this_arg", "=", "XEXP", "(", "this_arg", ",", "0", ")", ";", "else", "if", "(", "CONSTANT_P", "(", "this_arg", ")", "&&", "!", "force_stack_temp", ")", "{", "this_slot", "=", "force_const_mem", "(", "TFmode", ",", "this_arg", ")", ";", "this_arg", "=", "XEXP", "(", "this_slot", ",", "0", ")", ";", "}", "else", "{", "this_slot", "=", "assign_stack_temp", "(", "TFmode", ",", "GET_MODE_SIZE", "(", "TFmode", ")", ",", "0", ")", ";", "if", "(", "i", ">", "0", ")", "emit_move_insn", "(", "this_slot", ",", "this_arg", ")", ";", "else", "ret_slot", "=", "this_slot", ";", "this_arg", "=", "XEXP", "(", "this_slot", ",", "0", ")", ";", "}", "}", "arg", "[", "i", "]", "=", "this_arg", ";", "}", "func_sym", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "func_name", ")", ";", "if", "(", "GET_MODE", "(", "operands", "[", "0", "]", ")", "==", "TFmode", ")", "{", "if", "(", "nargs", "==", "2", ")", "emit_library_call", "(", "func_sym", ",", "LCT_NORMAL", ",", "VOIDmode", ",", "2", ",", "arg", "[", "0", "]", ",", "GET_MODE", "(", "arg", "[", "0", "]", ")", ",", "arg", "[", "1", "]", ",", "GET_MODE", "(", "arg", "[", "1", "]", ")", ")", ";", "else", "emit_library_call", "(", "func_sym", ",", "LCT_NORMAL", ",", "VOIDmode", ",", "3", ",", "arg", "[", "0", "]", ",", "GET_MODE", "(", "arg", "[", "0", "]", ")", ",", "arg", "[", "1", "]", ",", "GET_MODE", "(", "arg", "[", "1", "]", ")", ",", "arg", "[", "2", "]", ",", "GET_MODE", "(", "arg", "[", "2", "]", ")", ")", ";", "if", "(", "ret_slot", ")", "emit_move_insn", "(", "operands", "[", "0", "]", ",", "ret_slot", ")", ";", "}", "else", "{", "rtx", "ret", ";", "gcc_assert", "(", "nargs", "==", "2", ")", ";", "ret", "=", "emit_library_call_value", "(", "func_sym", ",", "operands", "[", "0", "]", ",", "LCT_NORMAL", ",", "GET_MODE", "(", "operands", "[", "0", "]", ")", ",", "1", ",", "arg", "[", "1", "]", ",", "GET_MODE", "(", "arg", "[", "1", "]", ")", ")", ";", "if", "(", "ret", "!=", "operands", "[", "0", "]", ")", "emit_move_insn", "(", "operands", "[", "0", "]", ",", "ret", ")", ";", "}", "}", ""], "natrual_language": ["Generate", "a", "call", "to", "FUNC", "with", "OPERANDS", ".", "Operand", "0", "is", "the", "return", "value", ".", "Unlike", "normal", "calls", ",", "TFmode", "operands", "are", "passed", "by", "reference", ".", "It", "is", "assumed", "that", "no", "more", "than", "3", "operands", "are", "required", "."], "TS_V_token": ["sparc", "3", "2", "3", "0", "0", "0", "1", "0", "0", "0", "0", "0", "0", "2", "2", "0", "0", "1", "1", "3", "0", "0", "1", "1", "2", "2", "0", "2", "0", "0", "1", "1", "1", "0", "0"], "File": "sparc3", "Func": "emit_soft_tfmode_libcall", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1325, "Length": 403, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "s390_loop_unroll_adjust", "(", "unsigned", "nunroll", ",", "struct", "loop", "*", "loop", ")", "{", "basic_block", "*", "bbs", ";", "rtx_insn", "*", "insn", ";", "unsigned", "i", ";", "unsigned", "mem_count", "=", "0", ";", "if", "(", "s390_tune", "!=", "PROCESSOR_2097_Z10", "&&", "s390_tune", "!=", "PROCESSOR_2817_Z196", "&&", "s390_tune", "!=", "PROCESSOR_2827_ZEC12", ")", "return", "nunroll", ";", "bbs", "=", "get_loop_body", "(", "loop", ")", ";", "subrtx_iterator", "::", "array_type", "array", ";", "for", "(", "i", "=", "0", ";", "i", "<", "loop", "->", "num_nodes", ";", "i", "++", ")", "FOR_BB_INSNS", "(", "bbs", "[", "i", "]", ",", "insn", ")", "if", "(", "INSN_P", "(", "insn", ")", "&&", "INSN_CODE", "(", "insn", ")", "!=", "-", "1", ")", "FOR_EACH_SUBRTX", "(", "iter", ",", "array", ",", "PATTERN", "(", "insn", ")", ",", "NONCONST", ")", "if", "(", "MEM_P", "(", "*", "iter", ")", ")", "mem_count", "+=", "1", ";", "free", "(", "bbs", ")", ";", "if", "(", "mem_count", "==", "0", ")", "return", "nunroll", ";", "switch", "(", "loop_depth", "(", "loop", ")", ")", "{", "case", "1", ":", "return", "MIN", "(", "nunroll", ",", "28", "/", "mem_count", ")", ";", "case", "2", ":", "return", "MIN", "(", "nunroll", ",", "22", "/", "mem_count", ")", ";", "default", ":", "return", "MIN", "(", "nunroll", ",", "16", "/", "mem_count", ")", ";", "}", "}", ""], "natrual_language": ["This", "target", "hook", "implementation", "for", "TARGET_LOOP_UNROLL_ADJUST", "calculates", "a", "new", "number", "struct", "loop", "*", "loop", "should", "be", "unrolled", "if", "tuned", "for", "cpus", "with", "a", "built-in", "stride", "prefetcher", ".", "The", "loop", "is", "analyzed", "for", "memory", "accesses", "by", "calling", "check_dpu", "for", "each", "rtx", "of", "the", "loop", ".", "Depending", "on", "the", "loop_depth", "and", "the", "amount", "of", "memory", "accesses", "a", "new", "number", "<", "=nunroll", "is", "returned", "to", "improve", "the", "behaviour", "of", "the", "hardware", "prefetch", "unit", "."], "TS_V_token": ["s390", "0", "0", "1", "1", "0", "1", "28", "2", "22", "16"], "File": "s3904", "Func": "s390_loop_unroll_adjust", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1326, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "m68k_sched_indexed_address_bypass_p", "(", "rtx_insn", "*", "pro", ",", "rtx_insn", "*", "con", ")", "{", "gcc_assert", "(", "sched_cfv4_bypass_data", ".", "pro", "==", "NULL", "&&", "sched_cfv4_bypass_data", ".", "con", "==", "NULL", "&&", "sched_cfv4_bypass_data", ".", "scale", "==", "0", ")", ";", "switch", "(", "sched_get_indexed_address_scale", "(", "pro", ",", "con", ")", ")", "{", "case", "1", ":", "sched_cfv4_bypass_data", ".", "pro", "=", "pro", ";", "sched_cfv4_bypass_data", ".", "con", "=", "con", ";", "sched_cfv4_bypass_data", ".", "scale", "=", "1", ";", "return", "0", ";", "case", "2", ":", "case", "4", ":", "return", "1", ";", "default", ":", "return", "0", ";", "}", "}", ""], "natrual_language": ["Return", "non-zero", "if", "PRO", "modifies", "register", "used", "as", "index", "with", "scale", "2", "or", "4", "in", "CON", "."], "TS_V_token": ["m68k", "0", "1", "1", "0", "2", "4", "1", "0"], "File": "m68k", "Func": "m68k_sched_indexed_address_bypass_p", "Target": "m68k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1327, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "HexagonTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "EVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'r'", ":", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "llvm_unreachable", "(", "\"getRegForInlineAsmConstraint Unhandled data type\"", ")", ";", "case", "MVT", "::", "i32", ":", "case", "MVT", "::", "i16", ":", "case", "MVT", "::", "i8", ":", "case", "MVT", "::", "f32", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Hexagon", "::", "IntRegsRegClass", ")", ";", "case", "MVT", "::", "i64", ":", "case", "MVT", "::", "f64", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Hexagon", "::", "DoubleRegsRegClass", ")", ";", "}", "default", ":", "llvm_unreachable", "(", "\"Unknown asm register class\"", ")", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["Hexagon", "Hexagon", "1", "0", "\"getRegForInlineAsmConstraint Unhandled data type\"", "MVT::i32", "MVT::i16", "MVT::i8", "MVT::f32", "0U", "Hexagon::IntRegsRegClass", "MVT::i64", "MVT::f64", "0U", "Hexagon::DoubleRegsRegClass", "\"Unknown asm register class\""], "File": "HexagonISelLowering112", "Func": "getRegForInlineAsmConstraint", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1328, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64PLT1", "*", "AArch64PLT", "::", "create", "(", ")", "{", "AArch64PLT1", "*", "plt1_entry", "=", "new", "(", "std", "::", "nothrow", ")", "AArch64PLT1", "(", "*", "m_pSectionData", ")", ";", "if", "(", "!", "plt1_entry", ")", "fatal", "(", "diag", "::", "fail_allocate_memory_plt", ")", ";", "return", "plt1_entry", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64PLT", "Func": "create", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1329, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZTargetLowering", "::", "isFPImmLegal", "(", "const", "APFloat", "&", "Imm", ",", "EVT", "VT", ")", "const", "{", "if", "(", "UseSoftFloat", "||", "(", "VT", "!=", "MVT", "::", "f32", "&&", "VT", "!=", "MVT", "::", "f64", ")", ")", "return", "false", ";", "return", "Imm", ".", "isZero", "(", ")", "||", "Imm", ".", "isNegZero", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "can", "instruction", "select", "the", "specified", "FP", "immediate", "natively", "."], "TS_V_token": ["SystemZ", "SystemZ", "MVT::f32", "MVT::f64"], "File": "SystemZISelLowering101", "Func": "isFPImmLegal", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1330, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "m68hc11_small_indexed_indirect_p", "(", "rtx", "operand", ",", "enum", "machine_mode", "mode", ")", "{", "rtx", "base", ",", "offset", ";", "int", "addr_mode", ";", "if", "(", "GET_CODE", "(", "operand", ")", "==", "REG", "&&", "reload_in_progress", "&&", "REGNO", "(", "operand", ")", ">=", "FIRST_PSEUDO_REGISTER", "&&", "reg_equiv_memory_loc", "[", "REGNO", "(", "operand", ")", "]", ")", "{", "operand", "=", "reg_equiv_memory_loc", "[", "REGNO", "(", "operand", ")", "]", ";", "operand", "=", "eliminate_regs", "(", "operand", ",", "0", ",", "NULL_RTX", ")", ";", "}", "if", "(", "GET_CODE", "(", "operand", ")", "!=", "MEM", ")", "return", "0", ";", "operand", "=", "XEXP", "(", "operand", ",", "0", ")", ";", "if", "(", "CONSTANT_ADDRESS_P", "(", "operand", ")", ")", "return", "1", ";", "if", "(", "PUSH_POP_ADDRESS_P", "(", "operand", ")", ")", "return", "1", ";", "addr_mode", "=", "m68hc11_mov_addr_mode", "|", "(", "reload_completed", "?", "ADDR_STRICT", ":", "0", ")", ";", "if", "(", "!", "m68hc11_valid_addressing_p", "(", "operand", ",", "mode", ",", "addr_mode", ")", ")", "return", "0", ";", "if", "(", "TARGET_M6812", "&&", "GET_CODE", "(", "operand", ")", "==", "PLUS", "&&", "(", "reload_completed", "|", "reload_in_progress", ")", ")", "{", "base", "=", "XEXP", "(", "operand", ",", "0", ")", ";", "offset", "=", "XEXP", "(", "operand", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "base", ")", "!=", "CONST_INT", "&&", "GET_CODE", "(", "offset", ")", "!=", "CONST_INT", ")", "return", "0", ";", "if", "(", "GET_CODE", "(", "base", ")", "==", "CONST_INT", ")", "offset", "=", "base", ";", "switch", "(", "GET_MODE_SIZE", "(", "mode", ")", ")", "{", "case", "8", ":", "if", "(", "INTVAL", "(", "offset", ")", "<", "-", "16", "+", "6", "||", "INTVAL", "(", "offset", ")", ">", "15", "-", "6", ")", "return", "0", ";", "break", ";", "case", "4", ":", "if", "(", "INTVAL", "(", "offset", ")", "<", "-", "16", "+", "2", "||", "INTVAL", "(", "offset", ")", ">", "15", "-", "2", ")", "return", "0", ";", "break", ";", "default", ":", "if", "(", "INTVAL", "(", "offset", ")", "<", "-", "16", "||", "INTVAL", "(", "offset", ")", ">", "15", ")", "return", "0", ";", "break", ";", "}", "}", "return", "1", ";", "}", ""], "natrual_language": ["Returns", "1", "if", "the", "operand", "fits", "in", "a", "68HC11", "indirect", "mode", "or", "in", "a", "68HC12", "1-byte", "index", "addressing", "mode", "."], "TS_V_token": ["m68hc11", "0", "0", "0", "1", "1", "0", "0", "0", "1", "0", "8", "16", "6", "15", "6", "0", "4", "16", "2", "15", "2", "0", "16", "15", "0", "1"], "File": "m68hc111", "Func": "m68hc11_small_indexed_indirect_p", "Target": "m68hc11", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1331, "Length": 300, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86CmovConverterPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "if", "(", "!", "EnableCmovConverter", ")", "return", "false", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** \"", "<<", "getPassName", "(", ")", "<<", "\" : \"", "<<", "MF", ".", "getName", "(", ")", "<<", "\"**********\\n\"", ")", ";", "bool", "Changed", "=", "false", ";", "MachineLoopInfo", "&", "MLI", "=", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "const", "TargetSubtargetInfo", "&", "STI", "=", "MF", ".", "getSubtarget", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "TII", "=", "STI", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "TSchedModel", ".", "init", "(", "STI", ".", "getSchedModel", "(", ")", ",", "&", "STI", ",", "TII", ")", ";", "if", "(", "ForceMemOperand", ")", "{", "CmovGroups", "AllCmovGroups", ";", "SmallVector", "<", "MachineBasicBlock", "*", ",", "4", ">", "Blocks", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "Blocks", ".", "push_back", "(", "&", "MBB", ")", ";", "if", "(", "collectCmovCandidates", "(", "Blocks", ",", "AllCmovGroups", ",", "true", ")", ")", "{", "for", "(", "auto", "&", "Group", ":", "AllCmovGroups", ")", "{", "if", "(", "!", "llvm", "::", "any_of", "(", "Group", ",", "[", "&", "]", "(", "MachineInstr", "*", "I", ")", "{", "return", "I", "->", "mayLoad", "(", ")", ";", "}", ")", ")", "continue", ";", "Changed", "=", "true", ";", "convertCmovInstsToBranches", "(", "Group", ")", ";", "}", "}", "}", "SmallVector", "<", "MachineLoop", "*", ",", "4", ">", "Loops", "(", "MLI", ".", "begin", "(", ")", ",", "MLI", ".", "end", "(", ")", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "(", "int", ")", "Loops", ".", "size", "(", ")", ";", "++", "i", ")", "for", "(", "MachineLoop", "*", "Child", ":", "Loops", "[", "i", "]", "->", "getSubLoops", "(", ")", ")", "Loops", ".", "push_back", "(", "Child", ")", ";", "for", "(", "MachineLoop", "*", "CurrLoop", ":", "Loops", ")", "{", "if", "(", "!", "CurrLoop", "->", "getSubLoops", "(", ")", ".", "empty", "(", ")", ")", "continue", ";", "CmovGroups", "CmovInstGroups", ";", "if", "(", "!", "collectCmovCandidates", "(", "CurrLoop", "->", "getBlocks", "(", ")", ",", "CmovInstGroups", ")", ")", "continue", ";", "if", "(", "!", "checkForProfitableCmovCandidates", "(", "CurrLoop", "->", "getBlocks", "(", ")", ",", "CmovInstGroups", ")", ")", "continue", ";", "Changed", "=", "true", ";", "for", "(", "auto", "&", "Group", ":", "CmovInstGroups", ")", "convertCmovInstsToBranches", "(", "Group", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "\"********** \"", "\" : \"", "\"**********\\n\"", "4", "4", "0"], "File": "X86CmovConversion13", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1332, "Length": 365, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sh_fix_range", "(", "const", "char", "*", "const_str", ")", "{", "char", "*", "str", "=", "strcpy", "(", "(", "char", "*", ")", "alloca", "(", "strlen", "(", "const_str", ")", "+", "1", ")", ",", "const_str", ")", ";", "while", "(", "1", ")", "{", "char", "*", "dash", "=", "strchr", "(", "str", ",", "'-'", ")", ";", "if", "(", "!", "dash", ")", "{", "warning", "(", "0", ",", "\"value of %<-mfixed-range%> must have form REG1-REG2\"", ")", ";", "return", ";", "}", "*", "dash", "=", "'\\0'", ";", "char", "*", "comma", "=", "strchr", "(", "dash", "+", "1", ",", "','", ")", ";", "if", "(", "comma", ")", "*", "comma", "=", "'\\0'", ";", "int", "first", "=", "decode_reg_name", "(", "str", ")", ";", "if", "(", "first", "<", "0", ")", "{", "warning", "(", "0", ",", "\"unknown register name: %s\"", ",", "str", ")", ";", "return", ";", "}", "int", "last", "=", "decode_reg_name", "(", "dash", "+", "1", ")", ";", "if", "(", "last", "<", "0", ")", "{", "warning", "(", "0", ",", "\"unknown register name: %s\"", ",", "dash", "+", "1", ")", ";", "return", ";", "}", "*", "dash", "=", "'-'", ";", "if", "(", "first", ">", "last", ")", "{", "warning", "(", "0", ",", "\"%s-%s is an empty range\"", ",", "str", ",", "dash", "+", "1", ")", ";", "return", ";", "}", "for", "(", "int", "i", "=", "first", ";", "i", "<=", "last", ";", "++", "i", ")", "fixed_regs", "[", "i", "]", "=", "call_used_regs", "[", "i", "]", "=", "1", ";", "if", "(", "!", "comma", ")", "break", ";", "*", "comma", "=", "','", ";", "str", "=", "comma", "+", "1", ";", "}", "}", ""], "natrual_language": ["Parse", "the", "-mfixed-range=", "option", "string", "."], "TS_V_token": ["sh", "1", "1", "0", "\"value of %<-mfixed-range%> must have form REG1-REG2\"", "1", "0", "0", "\"unknown register name: %s\"", "1", "0", "0", "\"unknown register name: %s\"", "1", "0", "\"%s-%s is an empty range\"", "1", "1", "1"], "File": "sh8", "Func": "sh_fix_range", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1333, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MipsTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "BRCOND", ":", "return", "LowerBRCOND", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "LowerConstantPool", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "DYNAMIC_STACKALLOC", ":", "return", "LowerDYNAMIC_STACKALLOC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "LowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalTLSAddress", ":", "return", "LowerGlobalTLSAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "JumpTable", ":", "return", "LowerJumpTable", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "LowerSELECT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FCOPYSIGN", ":", "return", "LowerFCOPYSIGN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "LowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "MEMBARRIER", ":", "return", "LowerMEMBARRIER", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ATOMIC_FENCE", ":", "return", "LowerATOMIC_FENCE", "(", "Op", ",", "DAG", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["Mips", "Mips", "ISD::BRCOND", "ISD::ConstantPool", "ISD::DYNAMIC_STACKALLOC", "ISD::GlobalAddress", "ISD::BlockAddress", "ISD::GlobalTLSAddress", "ISD::JumpTable", "ISD::SELECT", "ISD::VASTART", "ISD::FCOPYSIGN", "ISD::FRAMEADDR", "ISD::MEMBARRIER", "ISD::ATOMIC_FENCE"], "File": "MipsISelLowering109", "Func": "LowerOperation", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1334, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "MCAsmParser", "&", "Parser", "=", "getParser", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"ParseInstruction\\n\"", ")", ";", "getTargetStreamer", "(", ")", ".", "forbidModuleDirective", "(", ")", ";", "if", "(", "!", "mnemonicIsValid", "(", "Name", ",", "0", ")", ")", "{", "return", "Error", "(", "NameLoc", ",", "\"unknown instruction\"", ")", ";", "}", "Operands", ".", "push_back", "(", "MipsOperand", "::", "CreateToken", "(", "Name", ",", "NameLoc", ",", "*", "this", ")", ")", ";", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "if", "(", "parseOperand", "(", "Operands", ",", "Name", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "return", "Error", "(", "Loc", ",", "\"unexpected token in argument list\"", ")", ";", "}", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "LBrac", ")", "&&", "parseBracketSuffix", "(", "Name", ",", "Operands", ")", ")", "return", "true", ";", "while", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "parseOperand", "(", "Operands", ",", "Name", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "return", "Error", "(", "Loc", ",", "\"unexpected token in argument list\"", ")", ";", "}", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "LBrac", ")", ")", "{", "if", "(", "parseBracketSuffix", "(", "Name", ",", "Operands", ")", ")", "return", "true", ";", "}", "else", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "LParen", ")", "&&", "parseParenSuffix", "(", "Name", ",", "Operands", ")", ")", "return", "true", ";", "}", "}", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "return", "Error", "(", "Loc", ",", "\"unexpected token in argument list\"", ")", ";", "}", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["Mips", "Mips", "\"ParseInstruction\\n\"", "0", "\"unknown instruction\"", "MipsOperand::CreateToken", "\"unexpected token in argument list\"", "\"unexpected token in argument list\"", "\"unexpected token in argument list\""], "File": "MipsAsmParser2", "Func": "ParseInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1335, "Length": 296, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "addPass", "(", "createRISCVMergeBaseOffsetOptPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV"], "File": "RISCVTargetMachine", "Func": "addPreRegAlloc", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1336, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "WebAssemblyPassConfig", "::", "addPreEmitPass", "(", ")", "{", "TargetPassConfig", "::", "addPreEmitPass", "(", ")", ";", "addPass", "(", "createWebAssemblyReplacePhysRegs", "(", ")", ")", ";", "addPass", "(", "createWebAssemblyCallIndirectFixup", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createWebAssemblyPrepareForLiveIntervals", "(", ")", ")", ";", "addPass", "(", "createWebAssemblyOptimizeLiveIntervals", "(", ")", ")", ";", "addPass", "(", "createWebAssemblyStoreResults", "(", ")", ")", ";", "addPass", "(", "createWebAssemblyRegStackify", "(", ")", ")", ";", "addPass", "(", "createWebAssemblyRegColoring", "(", ")", ")", ";", "}", "addPass", "(", "createWebAssemblyExplicitLocals", "(", ")", ")", ";", "addPass", "(", "createWebAssemblyFixIrreducibleControlFlow", "(", ")", ")", ";", "addPass", "(", "createWebAssemblyCFGStackify", "(", ")", ")", ";", "addPass", "(", "createWebAssemblyLowerBrUnless", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createWebAssemblyPeephole", "(", ")", ")", ";", "addPass", "(", "createWebAssemblyRegNumbering", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly"], "File": "WebAssemblyTargetMachine12", "Func": "addPreEmitPass", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1337, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseRegisterInfo", "::", "needsFrameBaseReg", "(", "MachineInstr", "*", "MI", ",", "int64_t", "Offset", ")", "const", "{", "for", "(", "unsigned", "i", "=", "0", ";", "!", "MI", "->", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ";", "++", "i", ")", "{", "assert", "(", "i", "<", "MI", "->", "getNumOperands", "(", ")", "&&", "\"Instr doesn't have FrameIndex operand!\"", ")", ";", "}", "unsigned", "Opc", "=", "MI", "->", "getOpcode", "(", ")", ";", "switch", "(", "Opc", ")", "{", "case", "ARM", "::", "LDRi12", ":", "case", "ARM", "::", "LDRH", ":", "case", "ARM", "::", "LDRBi12", ":", "case", "ARM", "::", "STRi12", ":", "case", "ARM", "::", "STRH", ":", "case", "ARM", "::", "STRBi12", ":", "case", "ARM", "::", "t2LDRi12", ":", "case", "ARM", "::", "t2LDRi8", ":", "case", "ARM", "::", "t2STRi12", ":", "case", "ARM", "::", "t2STRi8", ":", "case", "ARM", "::", "VLDRS", ":", "case", "ARM", "::", "VLDRD", ":", "case", "ARM", "::", "VSTRS", ":", "case", "ARM", "::", "VSTRD", ":", "case", "ARM", "::", "tSTRspi", ":", "case", "ARM", "::", "tLDRspi", ":", "break", ";", "default", ":", "return", "false", ";", "}", "MachineFunction", "&", "MF", "=", "*", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "int64_t", "FPOffset", "=", "Offset", "-", "8", ";", "if", "(", "!", "AFI", "->", "isThumbFunction", "(", ")", "||", "!", "AFI", "->", "isThumb1OnlyFunction", "(", ")", ")", "FPOffset", "-=", "80", ";", "Offset", "=", "-", "Offset", ";", "Offset", "+=", "MFI", "->", "getLocalFrameSize", "(", ")", ";", "Offset", "+=", "128", ";", "unsigned", "StackAlign", "=", "TFI", "->", "getStackAlignment", "(", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", "&&", "!", "(", "(", "MFI", "->", "getLocalFrameMaxAlign", "(", ")", ">", "StackAlign", ")", "&&", "canRealignStack", "(", "MF", ")", ")", ")", "{", "if", "(", "isFrameOffsetLegal", "(", "MI", ",", "FPOffset", ")", ")", "return", "false", ";", "}", "if", "(", "!", "MFI", "->", "hasVarSizedObjects", "(", ")", "&&", "isFrameOffsetLegal", "(", "MI", ",", "Offset", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "instruction", "'s", "frame", "index", "reference", "would", "be", "better", "served", "by", "a", "base", "register", "other", "than", "FP", "or", "SP", "."], "TS_V_token": ["ARM", "ARM", "0", "\"Instr doesn't have FrameIndex operand!\"", "ARM::LDRi12", "ARM::LDRH", "ARM::LDRBi12", "ARM::STRi12", "ARM::STRH", "ARM::STRBi12", "ARM::t2LDRi12", "ARM::t2LDRi8", "ARM::t2STRi12", "ARM::t2STRi8", "ARM::VLDRS", "ARM::VLDRD", "ARM::VSTRS", "ARM::VSTRD", "ARM::tSTRspi", "ARM::tLDRspi", "ARM", "ARM", "8", "80", "128"], "File": "ARMBaseRegisterInfo15", "Func": "needsFrameBaseReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1338, "Length": 323, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MachineInstr", "&", "MI", ",", "const", "MachineOperand", "&", "MO", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "{", "assert", "(", "(", "MI", ".", "getOpcode", "(", ")", "!=", "PPC", "::", "MTOCRF", "&&", "MI", ".", "getOpcode", "(", ")", "!=", "PPC", "::", "MTOCRF8", "&&", "MI", ".", "getOpcode", "(", ")", "!=", "PPC", "::", "MFOCRF", "&&", "MI", ".", "getOpcode", "(", ")", "!=", "PPC", "::", "MFOCRF8", ")", "||", "MO", ".", "getReg", "(", ")", "<", "PPC", "::", "CR0", "||", "MO", ".", "getReg", "(", ")", ">", "PPC", "::", "CR7", ")", ";", "return", "TM", ".", "getRegisterInfo", "(", ")", "->", "getEncodingValue", "(", "MO", ".", "getReg", "(", ")", ")", ";", "}", "assert", "(", "MO", ".", "isImm", "(", ")", "&&", "\"Relocation required in an instruction that we cannot encode!\"", ")", ";", "return", "MO", ".", "getImm", "(", ")", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::MTOCRF", "PPC::MTOCRF8", "PPC::MFOCRF", "PPC::MFOCRF8", "PPC::CR0", "PPC::CR7", "\"Relocation required in an instruction that we cannot encode!\""], "File": "PPCCodeEmitter", "Func": "getMachineOpValue", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1339, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "generate_target_descr_file", "(", "const", "char", "*", "target_compiler", ")", "{", "char", "*", "dump_filename", "=", "concat", "(", "dumppfx", ",", "\"_target_descr.c\"", ",", "NULL", ")", ";", "const", "char", "*", "src_filename", "=", "save_temps", "?", "dump_filename", ":", "make_temp_file", "(", "\"_target_descr.c\"", ")", ";", "const", "char", "*", "obj_filename", "=", "save_temps", "?", "concat", "(", "dumppfx", ",", "\"_target_descr.o\"", ",", "NULL", ")", ":", "make_temp_file", "(", "\"_target_descr.o\"", ")", ";", "temp_files", "[", "num_temps", "++", "]", "=", "src_filename", ";", "temp_files", "[", "num_temps", "++", "]", "=", "obj_filename", ";", "FILE", "*", "src_file", "=", "fopen", "(", "src_filename", ",", "\"w\"", ")", ";", "if", "(", "!", "src_file", ")", "fatal_error", "(", "input_location", ",", "\"cannot open '%s'\"", ",", "src_filename", ")", ";", "fprintf", "(", "src_file", ",", "\"extern const void *const __offload_funcs_end[];\\n\"", "\"extern const void *const __offload_vars_end[];\\n\\n\"", "\"const void *const __offload_func_table[0]\\n\"", "\"__attribute__ ((__used__, visibility (\\\"hidden\\\"),\\n\"", "\"section (\\\".gnu.offload_funcs\\\"))) = { };\\n\\n\"", "\"const void *const __offload_var_table[0]\\n\"", "\"__attribute__ ((__used__, visibility (\\\"hidden\\\"),\\n\"", "\"section (\\\".gnu.offload_vars\\\"))) = { };\\n\\n\"", "\"const void *const __OFFLOAD_TARGET_TABLE__[]\\n\"", "\"__attribute__ ((__used__, visibility (\\\"hidden\\\"))) = {\\n\"", "\" &__offload_func_table, &__offload_funcs_end,\\n\"", "\" &__offload_var_table, &__offload_vars_end\\n\"", "\"};\\n\\n\"", ")", ";", "fprintf", "(", "src_file", ",", "\"#ifdef __cplusplus\\n\"", "\"extern \\\"C\\\"\\n\"", "\"#endif\\n\"", "\"void target_register_lib (const void *);\\n\\n\"", "\"__attribute__((constructor))\\n\"", "\"static void\\n\"", "\"init (void)\\n\"", "\"{\\n\"", "\" target_register_lib (__OFFLOAD_TARGET_TABLE__);\\n\"", "\"}\\n\"", ")", ";", "fclose", "(", "src_file", ")", ";", "struct", "obstack", "argv_obstack", ";", "obstack_init", "(", "&", "argv_obstack", ")", ";", "obstack_ptr_grow", "(", "&", "argv_obstack", ",", "target_compiler", ")", ";", "if", "(", "save_temps", ")", "obstack_ptr_grow", "(", "&", "argv_obstack", ",", "\"-save-temps\"", ")", ";", "if", "(", "verbose", ")", "obstack_ptr_grow", "(", "&", "argv_obstack", ",", "\"-v\"", ")", ";", "obstack_ptr_grow", "(", "&", "argv_obstack", ",", "\"-dumpdir\"", ")", ";", "obstack_ptr_grow", "(", "&", "argv_obstack", ",", "\"\"", ")", ";", "obstack_ptr_grow", "(", "&", "argv_obstack", ",", "\"-dumpbase\"", ")", ";", "obstack_ptr_grow", "(", "&", "argv_obstack", ",", "dump_filename", ")", ";", "obstack_ptr_grow", "(", "&", "argv_obstack", ",", "\"-dumpbase-ext\"", ")", ";", "obstack_ptr_grow", "(", "&", "argv_obstack", ",", "\".c\"", ")", ";", "obstack_ptr_grow", "(", "&", "argv_obstack", ",", "\"-c\"", ")", ";", "obstack_ptr_grow", "(", "&", "argv_obstack", ",", "\"-shared\"", ")", ";", "obstack_ptr_grow", "(", "&", "argv_obstack", ",", "\"-fPIC\"", ")", ";", "obstack_ptr_grow", "(", "&", "argv_obstack", ",", "src_filename", ")", ";", "obstack_ptr_grow", "(", "&", "argv_obstack", ",", "\"-o\"", ")", ";", "obstack_ptr_grow", "(", "&", "argv_obstack", ",", "obj_filename", ")", ";", "compile_for_target", "(", "&", "argv_obstack", ")", ";", "return", "obj_filename", ";", "}", ""], "natrual_language": ["Generates", "object", "file", "with", "the", "descriptor", "for", "the", "target", "library", "."], "TS_V_token": ["i386", "\"_target_descr.c\"", "\"_target_descr.c\"", "\"_target_descr.o\"", "\"_target_descr.o\"", "\"w\"", "\"cannot open '%s'\"", "\"extern const void *const __offload_funcs_end[];\\n\"", "\"extern const void *const __offload_vars_end[];\\n\\n\"", "\"const void *const __offload_func_table[0]\\n\"", "\"__attribute__ ((__used__, visibility (\\\"hidden\\\"),\\n\"", "\"section (\\\".gnu.offload_funcs\\\"))) = { };\\n\\n\"", "\"const void *const __offload_var_table[0]\\n\"", "\"__attribute__ ((__used__, visibility (\\\"hidden\\\"),\\n\"", "\"section (\\\".gnu.offload_vars\\\"))) = { };\\n\\n\"", "\"const void *const __OFFLOAD_TARGET_TABLE__[]\\n\"", "\"__attribute__ ((__used__, visibility (\\\"hidden\\\"))) = {\\n\"", "\" &__offload_func_table, &__offload_funcs_end,\\n\"", "\" &__offload_var_table, &__offload_vars_end\\n\"", "\"};\\n\\n\"", "\"#ifdef __cplusplus\\n\"", "\"extern \\\"C\\\"\\n\"", "\"#endif\\n\"", "\"void target_register_lib (const void *);\\n\\n\"", "\"__attribute__((constructor))\\n\"", "\"static void\\n\"", "\"init (void)\\n\"", "\"{\\n\"", "\" target_register_lib (__OFFLOAD_TARGET_TABLE__);\\n\"", "\"}\\n\"", "\"-save-temps\"", "\"-v\"", "\"-dumpdir\"", "\"\"", "\"-dumpbase\"", "\"-dumpbase-ext\"", "\".c\"", "\"-c\"", "\"-shared\"", "\"-fPIC\"", "\"-o\""], "File": "intelmic-mkoffload", "Func": "generate_target_descr_file", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1340, "Length": 289, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "rs6000_disable_incompatible_switches", "(", "void", ")", "{", "HOST_WIDE_INT", "ignore_masks", "=", "rs6000_isa_flags_explicit", ";", "size_t", "i", ",", "j", ";", "static", "const", "struct", "{", "const", "HOST_WIDE_INT", "no_flag", ";", "const", "HOST_WIDE_INT", "dep_flags", ";", "const", "char", "*", "const", "name", ";", "}", "flags", "[", "]", "=", "{", "{", "OPTION_MASK_P9_VECTOR", ",", "OTHER_P9_VECTOR_MASKS", ",", "\"power9-vector\"", "}", ",", "{", "OPTION_MASK_P8_VECTOR", ",", "OTHER_P8_VECTOR_MASKS", ",", "\"power8-vector\"", "}", ",", "{", "OPTION_MASK_VSX", ",", "OTHER_VSX_VECTOR_MASKS", ",", "\"vsx\"", "}", ",", "}", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "flags", ")", ";", "i", "++", ")", "{", "HOST_WIDE_INT", "no_flag", "=", "flags", "[", "i", "]", ".", "no_flag", ";", "if", "(", "(", "rs6000_isa_flags", "&", "no_flag", ")", "==", "0", "&&", "(", "rs6000_isa_flags_explicit", "&", "no_flag", ")", "!=", "0", ")", "{", "HOST_WIDE_INT", "dep_flags", "=", "flags", "[", "i", "]", ".", "dep_flags", ";", "HOST_WIDE_INT", "set_flags", "=", "(", "rs6000_isa_flags_explicit", "&", "rs6000_isa_flags", "&", "dep_flags", ")", ";", "if", "(", "set_flags", ")", "{", "for", "(", "j", "=", "0", ";", "j", "<", "ARRAY_SIZE", "(", "rs6000_opt_masks", ")", ";", "j", "++", ")", "if", "(", "(", "set_flags", "&", "rs6000_opt_masks", "[", "j", "]", ".", "mask", ")", "!=", "0", ")", "{", "set_flags", "&=", "~", "rs6000_opt_masks", "[", "j", "]", ".", "mask", ";", "error", "(", "\"%<-mno-%s%> turns off %<-m%s%>\"", ",", "flags", "[", "i", "]", ".", "name", ",", "rs6000_opt_masks", "[", "j", "]", ".", "name", ")", ";", "}", "gcc_assert", "(", "!", "set_flags", ")", ";", "}", "rs6000_isa_flags", "&=", "~", "dep_flags", ";", "ignore_masks", "|=", "no_flag", "|", "dep_flags", ";", "}", "}", "return", "ignore_masks", ";", "}", ""], "natrual_language": ["If", "the", "user", "used", "-mno-vsx", ",", "we", "need", "turn", "off", "all", "of", "the", "implicit", "ISA", "2.06", ",", "2.07", ",", "and", "3.0", "options", "that", "relate", "to", "the", "vector", "unit", "(", "-mdirect-move", ",", "-mupper-regs-df", ",", "etc.", ")", ".", "If", "the", "user", "used", "-mno-power8-vector", ",", "we", "need", "to", "turn", "off", "all", "of", "the", "implicit", "ISA", "2.07", "and", "3.0", "options", "that", "relate", "to", "the", "vector", "unit", ".", "If", "the", "user", "used", "-mno-power9-vector", ",", "we", "need", "to", "turn", "off", "all", "of", "the", "implicit", "ISA", "3.0", "options", "that", "relate", "to", "the", "vector", "unit", ".", "This", "function", "does", "not", "handle", "explicit", "options", "such", "as", "the", "user", "specifying", "-mdirect-move", ".", "These", "are", "handled", "in", "rs6000_option_override_internal", ",", "and", "the", "appropriate", "error", "is", "given", "if", "needed", ".", "We", "return", "a", "mask", "of", "all", "of", "the", "implicit", "options", "that", "should", "not", "be", "enabled", "by", "default", "."], "TS_V_token": ["rs6000", "\"power9-vector\"", "\"power8-vector\"", "\"vsx\"", "0", "0", "0", "0", "0", "\"%<-mno-%s%> turns off %<-m%s%>\""], "File": "rs60007", "Func": "rs6000_disable_incompatible_switches", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1341, "Length": 225, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "canInsertSelect", "(", "const", "MachineBasicBlock", "&", "MBB", ",", "ArrayRef", "<", "MachineOperand", ">", "Cond", ",", "Register", "DstReg", ",", "Register", "TrueReg", ",", "Register", "FalseReg", ",", "int", "&", "CondCycles", ",", "int", "&", "TrueCycles", ",", "int", "&", "FalseCycles", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "hasCMov", "(", ")", ")", "return", "false", ";", "if", "(", "Cond", ".", "size", "(", ")", "!=", "1", ")", "return", "false", ";", "if", "(", "(", "X86", "::", "CondCode", ")", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ">", "X86", "::", "LAST_VALID_COND", ")", "return", "false", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "RI", ".", "getCommonSubClass", "(", "MRI", ".", "getRegClass", "(", "TrueReg", ")", ",", "MRI", ".", "getRegClass", "(", "FalseReg", ")", ")", ";", "if", "(", "!", "RC", ")", "return", "false", ";", "if", "(", "X86", "::", "GR16RegClass", ".", "hasSubClassEq", "(", "RC", ")", "||", "X86", "::", "GR32RegClass", ".", "hasSubClassEq", "(", "RC", ")", "||", "X86", "::", "GR64RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "CondCycles", "=", "2", ";", "TrueCycles", "=", "2", ";", "FalseCycles", "=", "2", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "possible", "to", "insert", "a", "select", "instruction", "that", "chooses", "between", "TrueReg", "and", "FalseReg", "based", "on", "the", "condition", "code", "in", "Cond", "."], "TS_V_token": ["X86", "X86", "1", "X86::CondCode", "0", "X86::LAST_VALID_COND", "X86::GR16RegClass", "X86::GR32RegClass", "X86::GR64RegClass", "2", "2", "2"], "File": "X86InstrInfo (2)3", "Func": "canInsertSelect", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1342, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCInst", "const", "&", "getDesc", "(", ")", "const", "{", "return", "*", "ID", ";", "}", ""], "natrual_language": ["Returns", "the", "target", "instruction", "descriptor", "of", "this", "MachineInstr", "."], "TS_V_token": ["Hexagon"], "File": "HexagonShuffler", "Func": "getDesc", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1343, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "GBZ80InstrInfo", "::", "isReallyTriviallyReMaterializable", "(", "const", "MachineInstr", "&", "MI", ",", "AliasAnalysis", "*", "AI", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "GB", "::", "LD_r_n", ":", "case", "GB", "::", "LD_dd_nn", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["For", "instructions", "with", "opcodes", "for", "which", "the", "M_REMATERIALIZABLE", "flag", "is", "set", ",", "this", "hook", "lets", "the", "target", "specify", "whether", "the", "instruction", "is", "actually", "trivially", "rematerializable", ",", "taking", "into", "consideration", "its", "operands", "."], "TS_V_token": ["GBZ80", "GB", "GB::LD_r_n", "GB::LD_dd_nn"], "File": "GBZ80InstrInfo", "Func": "isReallyTriviallyReMaterializable", "Target": "GBZ80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1344, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "first_reg_to_save", "(", "void", ")", "{", "int", "first_reg", ";", "for", "(", "first_reg", "=", "13", ";", "first_reg", "<=", "31", ";", "first_reg", "++", ")", "if", "(", "save_reg_p", "(", "first_reg", ")", ")", "break", ";", "if", "(", "first_reg", ">", "RS6000_PIC_OFFSET_TABLE_REGNUM", "&&", "(", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "flag_pic", "!=", "0", ")", "||", "(", "DEFAULT_ABI", "==", "ABI_DARWIN", "&&", "flag_pic", ")", "||", "(", "TARGET_TOC", "&&", "TARGET_MINIMAL_TOC", ")", ")", "&&", "df_regs_ever_live_p", "(", "RS6000_PIC_OFFSET_TABLE_REGNUM", ")", ")", "first_reg", "=", "RS6000_PIC_OFFSET_TABLE_REGNUM", ";", "if", "(", "flag_pic", "&&", "crtl", "->", "uses_pic_offset_table", "&&", "first_reg", ">", "RS6000_PIC_OFFSET_TABLE_REGNUM", ")", "return", "RS6000_PIC_OFFSET_TABLE_REGNUM", ";", "return", "first_reg", ";", "}", ""], "natrual_language": ["Return", "the", "first", "register", "that", "is", "required", "to", "be", "saved", ".", "16", "if", "none", "."], "TS_V_token": ["rs6000", "13", "31", "0"], "File": "rs60004", "Func": "first_reg_to_save", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1345, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_expand_vec_perm_const_1", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "if", "(", "expand_vec_perm_1", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_pshuflw_pshufhw", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_palignr", "(", "d", ",", "false", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_interleave2", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_broadcast", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_vpermq_perm_1", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_vperm2f128", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_pblendv", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_even_odd_pack", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_2vperm2f128_vshuf", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_pshufb2", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_interleave3", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_vperm2f128_vblend", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_vpshufb2_vpermq", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_vpshufb2_vpermq_even_odd", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_vpermi2_vpshub2", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_even_odd", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_vpshufb4_vpermq2", "(", "d", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["The", "guts", "of", "ix86_expand_vec_perm_const", ",", "also", "used", "by", "the", "ok", "hook", ".", "With", "all", "of", "the", "interface", "bits", "taken", "care", "of", ",", "perform", "the", "expansion", "in", "D", "and", "return", "true", "on", "success", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "ix86_expand_vec_perm_const_1", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1346, "Length": 196, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_save_reg_p", "(", "unsigned", "int", "regno", ")", "{", "if", "(", "regno", "==", "GLOBAL_POINTER_REGNUM", ")", "return", "(", "TARGET_ABICALLS", "&&", "TARGET_NEWABI", "&&", "cfun", "->", "machine", "->", "global_pointer", "==", "regno", ")", ";", "if", "(", "regs_ever_live", "[", "regno", "]", "&&", "!", "call_used_regs", "[", "regno", "]", ")", "return", "true", ";", "if", "(", "regno", "==", "HARD_FRAME_POINTER_REGNUM", "&&", "frame_pointer_needed", ")", "return", "true", ";", "if", "(", "regno", "==", "GP_REG_FIRST", "+", "31", "&&", "regs_ever_live", "[", "regno", "]", ")", "return", "true", ";", "if", "(", "TARGET_MIPS16", ")", "{", "tree", "return_type", ";", "return_type", "=", "DECL_RESULT", "(", "current_function_decl", ")", ";", "if", "(", "regno", "==", "GP_REG_FIRST", "+", "18", "&&", "regs_ever_live", "[", "regno", "]", ")", "return", "true", ";", "if", "(", "regno", "==", "GP_REG_FIRST", "+", "31", "&&", "mips16_hard_float", "&&", "!", "aggregate_value_p", "(", "return_type", ",", "current_function_decl", ")", "&&", "GET_MODE_CLASS", "(", "DECL_MODE", "(", "return_type", ")", ")", "==", "MODE_FLOAT", "&&", "GET_MODE_SIZE", "(", "DECL_MODE", "(", "return_type", ")", ")", "<=", "UNITS_PER_FPVALUE", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "current", "function", "must", "save", "REGNO", "."], "TS_V_token": ["mips", "31", "18", "31"], "File": "mips3", "Func": "mips_save_reg_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1347, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86FrameLowering", "::", "orderFrameObjects", "(", "const", "MachineFunction", "&", "MF", ",", "SmallVectorImpl", "<", "int", ">", "&", "ObjectsToAllocate", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "if", "(", "ObjectsToAllocate", ".", "empty", "(", ")", ")", "return", ";", "std", "::", "vector", "<", "X86FrameSortingObject", ">", "SortingObjects", "(", "MFI", ".", "getObjectIndexEnd", "(", ")", ")", ";", "for", "(", "auto", "&", "Obj", ":", "ObjectsToAllocate", ")", "{", "SortingObjects", "[", "Obj", "]", ".", "IsValid", "=", "true", ";", "SortingObjects", "[", "Obj", "]", ".", "ObjectIndex", "=", "Obj", ";", "SortingObjects", "[", "Obj", "]", ".", "ObjectAlignment", "=", "MFI", ".", "getObjectAlignment", "(", "Obj", ")", ";", "int", "ObjectSize", "=", "MFI", ".", "getObjectSize", "(", "Obj", ")", ";", "if", "(", "ObjectSize", "==", "0", ")", "SortingObjects", "[", "Obj", "]", ".", "ObjectSize", "=", "4", ";", "else", "SortingObjects", "[", "Obj", "]", ".", "ObjectSize", "=", "ObjectSize", ";", "}", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "{", "if", "(", "MI", ".", "isDebugValue", "(", ")", ")", "continue", ";", "for", "(", "const", "MachineOperand", "&", "MO", ":", "MI", ".", "operands", "(", ")", ")", "{", "if", "(", "!", "MO", ".", "isFI", "(", ")", ")", "continue", ";", "int", "Index", "=", "MO", ".", "getIndex", "(", ")", ";", "if", "(", "Index", ">=", "0", "&&", "Index", "<", "MFI", ".", "getObjectIndexEnd", "(", ")", "&&", "SortingObjects", "[", "Index", "]", ".", "IsValid", ")", "SortingObjects", "[", "Index", "]", ".", "ObjectNumUses", "++", ";", "}", "}", "}", "std", "::", "stable_sort", "(", "SortingObjects", ".", "begin", "(", ")", ",", "SortingObjects", ".", "end", "(", ")", ",", "X86FrameSortingComparator", "(", ")", ")", ";", "int", "i", "=", "0", ";", "for", "(", "auto", "&", "Obj", ":", "SortingObjects", ")", "{", "if", "(", "!", "Obj", ".", "IsValid", ")", "break", ";", "ObjectsToAllocate", "[", "i", "++", "]", "=", "Obj", ".", "ObjectIndex", ";", "}", "if", "(", "!", "TRI", "->", "needsStackRealignment", "(", "MF", ")", "&&", "hasFP", "(", "MF", ")", ")", "std", "::", "reverse", "(", "ObjectsToAllocate", ".", "begin", "(", ")", ",", "ObjectsToAllocate", ".", "end", "(", ")", ")", ";", "}", ""], "natrual_language": ["Order", "the", "symbols", "in", "the", "local", "stack", "."], "TS_V_token": ["X86", "X86", "X86", "0", "4", "0", "X86", "0"], "File": "X86FrameLowering (2)2", "Func": "orderFrameObjects", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1348, "Length": 314, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "int", "avr_outgoing_args_size", "(", "void", ")", "{", "return", "(", "ACCUMULATE_OUTGOING_ARGS", "?", "(", "HOST_WIDE_INT", ")", "crtl", "->", "outgoing_args_size", ":", "0", ")", ";", "}", ""], "natrual_language": ["Report", "contribution", "of", "accumulated", "outgoing", "arguments", "to", "stack", "size", "."], "TS_V_token": ["avr", "0"], "File": "avr", "Func": "avr_outgoing_args_size", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1349, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "ix86_c_mode_for_suffix", "(", "char", "suffix", ")", "{", "if", "(", "suffix", "==", "'q'", ")", "return", "TFmode", ";", "if", "(", "suffix", "==", "'w'", ")", "return", "XFmode", ";", "return", "VOIDmode", ";", "}", ""], "natrual_language": ["Target", "hook", "for", "c_mode_for_suffix", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_c_mode_for_suffix", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1350, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "XtensaDisassembler", "::", "getInstruction", "(", "MCInst", "&", "Instr", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "VStream", ",", "raw_ostream", "&", "CStream", ")", "const", "{", "Size", "=", "0", ";", "size_t", "MinInstructionSize", "=", "2", ";", "if", "(", "Bytes", ".", "size", "(", ")", "<", "MinInstructionSize", ")", "return", "Fail", ";", "uint8_t", "firstByte", "=", "reinterpret_cast", "<", "const", "uint8_t", "*", ">", "(", "Bytes", ".", "data", "(", ")", ")", "[", "0", "]", ";", "if", "(", "firstByte", "&", "8", ")", "{", "Size", "=", "2", ";", "}", "else", "{", "if", "(", "Bytes", ".", "size", "(", ")", "<", "3", ")", "return", "Fail", ";", "Size", "=", "3", ";", "}", "uint32_t", "Insn", "{", "0", "}", ";", "Insn", "|=", "firstByte", "<<", "0", ";", "Insn", "|=", "reinterpret_cast", "<", "const", "uint8_t", "*", ">", "(", "Bytes", ".", "data", "(", ")", ")", "[", "1", "]", "<<", "8", ";", "if", "(", "Size", "==", "3", ")", "{", "Insn", "|=", "reinterpret_cast", "<", "const", "uint8_t", "*", ">", "(", "Bytes", ".", "data", "(", ")", ")", "[", "2", "]", "<<", "16", ";", "return", "decodeInstruction", "(", "DecoderTableXtensa24", ",", "Instr", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "}", "else", "{", "return", "decodeInstruction", "(", "DecoderTableXtensa16", ",", "Instr", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "}", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["Xtensa", "Xtensa", "0", "2", "0", "8", "2", "3", "3", "0", "0", "1", "8", "3", "2", "16", "Xtensa", "Xtensa"], "File": "XtensaDisassembler", "Func": "getInstruction", "Target": "Xtensa", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1351, "Length": 204, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "dump", "(", ")", "{", "dbgs", "(", ")", "<<", "\"X86ISelAddressMode \"", "<<", "this", "<<", "'\\n'", ";", "dbgs", "(", ")", "<<", "\"Base_Reg \"", ";", "if", "(", "Base_Reg", ".", "getNode", "(", ")", "!=", "0", ")", "Base_Reg", ".", "getNode", "(", ")", "->", "dump", "(", ")", ";", "else", "dbgs", "(", ")", "<<", "\"nul\"", ";", "dbgs", "(", ")", "<<", "\" Base.FrameIndex \"", "<<", "Base_FrameIndex", "<<", "'\\n'", "<<", "\" Scale\"", "<<", "Scale", "<<", "'\\n'", "<<", "\"IndexReg \"", ";", "if", "(", "IndexReg", ".", "getNode", "(", ")", "!=", "0", ")", "IndexReg", ".", "getNode", "(", ")", "->", "dump", "(", ")", ";", "else", "dbgs", "(", ")", "<<", "\"nul\"", ";", "dbgs", "(", ")", "<<", "\" Disp \"", "<<", "Disp", "<<", "'\\n'", "<<", "\"GV \"", ";", "if", "(", "GV", ")", "GV", "->", "dump", "(", ")", ";", "else", "dbgs", "(", ")", "<<", "\"nul\"", ";", "dbgs", "(", ")", "<<", "\" CP \"", ";", "if", "(", "CP", ")", "CP", "->", "dump", "(", ")", ";", "else", "dbgs", "(", ")", "<<", "\"nul\"", ";", "dbgs", "(", ")", "<<", "'\\n'", "<<", "\"ES \"", ";", "if", "(", "ES", ")", "dbgs", "(", ")", "<<", "ES", ";", "else", "dbgs", "(", ")", "<<", "\"nul\"", ";", "dbgs", "(", ")", "<<", "\" JT\"", "<<", "JT", "<<", "\" Align\"", "<<", "Align", "<<", "'\\n'", ";", "}", ""], "natrual_language": ["Dump", "the", "plan", "to", "stderr", "(", "for", "debugging", ")", "."], "TS_V_token": ["X86", "\"X86ISelAddressMode \"", "\"Base_Reg \"", "0", "\"nul\"", "\" Base.FrameIndex \"", "\" Scale\"", "\"IndexReg \"", "0", "\"nul\"", "\" Disp \"", "\"GV \"", "\"nul\"", "\" CP \"", "\"nul\"", "\"ES \"", "\"nul\"", "\" JT\"", "\" Align\""], "File": "X86ISelDAGToDAG103", "Func": "dump", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1352, "Length": 185, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "TL45RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "static", "const", "MCPhysReg", "ReservedGPR32", "[", "]", "=", "{", "TL45", "::", "r0", ",", "TL45", "::", "sp", ",", "TL45", "::", "bp", ",", "TL45", "::", "pc", ",", "TL45", "::", "eflags", "}", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "for", "(", "unsigned", "short", "I", ":", "ReservedGPR32", ")", "{", "Reserved", ".", "set", "(", "I", ")", ";", "}", "return", "Reserved", ";", "}", ""], "natrual_language": ["getReservedRegs", "-", "Returns", "a", "bitset", "indexed", "by", "physical", "register", "number", "indicating", "if", "a", "register", "is", "a", "special", "register", "that", "has", "particular", "uses", "and", "should", "be", "considered", "unavailable", "at", "all", "times", ",", "e.g", "."], "TS_V_token": ["TL45", "TL45", "TL45::r0", "TL45::sp", "TL45::bp", "TL45::pc", "TL45::eflags"], "File": "TL45RegisterInfo", "Func": "getReservedRegs", "Target": "TL45", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1353, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "MipsRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "static", "const", "MCPhysReg", "ReservedGPR32", "[", "]", "=", "{", "Mips", "::", "ZERO", ",", "Mips", "::", "K0", ",", "Mips", "::", "K1", ",", "Mips", "::", "SP", "}", ";", "static", "const", "MCPhysReg", "ReservedGPR64", "[", "]", "=", "{", "Mips", "::", "ZERO_64", ",", "Mips", "::", "K0_64", ",", "Mips", "::", "K1_64", ",", "Mips", "::", "SP_64", "}", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "array_lengthof", "(", "ReservedGPR32", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "ReservedGPR32", "[", "I", "]", ")", ";", "if", "(", "Subtarget", ".", "isTargetNaCl", "(", ")", ")", "{", "Reserved", ".", "set", "(", "Mips", "::", "T6", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "T7", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "T8", ")", ";", "}", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "array_lengthof", "(", "ReservedGPR64", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "ReservedGPR64", "[", "I", "]", ")", ";", "if", "(", "!", "Subtarget", ".", "isABICalls", "(", ")", ")", "{", "Reserved", ".", "set", "(", "Mips", "::", "GP", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "GP_64", ")", ";", "}", "if", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", "->", "hasFP", "(", "MF", ")", ")", "{", "if", "(", "Subtarget", ".", "inMips16Mode", "(", ")", ")", "Reserved", ".", "set", "(", "Mips", "::", "S0", ")", ";", "else", "{", "Reserved", ".", "set", "(", "Mips", "::", "FP", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "FP_64", ")", ";", "}", "}", "Reserved", ".", "set", "(", "Mips", "::", "HWR29", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "DSPPos", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "DSPSCount", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "DSPCarry", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "DSPEFI", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "DSPOutFlag", ")", ";", "if", "(", "Subtarget", ".", "inMips16Mode", "(", ")", ")", "{", "const", "MipsFunctionInfo", "*", "MipsFI", "=", "MF", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "RA", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "RA_64", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "T0", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "T1", ")", ";", "if", "(", "MF", ".", "getFunction", "(", ")", "->", "hasFnAttribute", "(", "\"saveS2\"", ")", "||", "MipsFI", "->", "hasSaveS2", "(", ")", ")", "Reserved", ".", "set", "(", "Mips", "::", "S2", ")", ";", "}", "if", "(", "Subtarget", ".", "useSmallSection", "(", ")", ")", "{", "Reserved", ".", "set", "(", "Mips", "::", "GP", ")", ";", "Reserved", ".", "set", "(", "Mips", "::", "GP_64", ")", ";", "}", "return", "Reserved", ";", "}", ""], "natrual_language": ["getReservedRegs", "-", "Returns", "a", "bitset", "indexed", "by", "physical", "register", "number", "indicating", "if", "a", "register", "is", "a", "special", "register", "that", "has", "particular", "uses", "and", "should", "be", "considered", "unavailable", "at", "all", "times", ",", "e.g", "."], "TS_V_token": ["Mips", "Mips", "Mips::ZERO", "Mips::K0", "Mips::K1", "Mips::SP", "Mips::ZERO_64", "Mips::K0_64", "Mips::K1_64", "Mips::SP_64", "0", "Mips::T6", "Mips::T7", "Mips::T8", "0", "Mips::GP", "Mips::GP_64", "Mips", "Mips::S0", "Mips::FP", "Mips::FP_64", "Mips::HWR29", "Mips::DSPPos", "Mips::DSPSCount", "Mips::DSPCarry", "Mips::DSPEFI", "Mips::DSPOutFlag", "Mips", "Mips", "Mips", "Mips", "Mips::RA", "Mips::RA_64", "Mips::T0", "Mips::T1", "\"saveS2\"", "Mips", "Mips::S2", "Mips::GP", "Mips::GP_64"], "File": "MipsRegisterInfo30", "Func": "getReservedRegs", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1354, "Length": 421, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ck807_ck810_rtx_costs", "(", "rtx", "x", ",", "int", "code", ",", "int", "outer_code", "ATTRIBUTE_UNUSED", ",", "int", "*", "total", ",", "bool", "speed", "ATTRIBUTE_UNUSED", ")", "{", "switch", "(", "code", ")", "{", "case", "MULT", ":", "if", "(", "REG_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "{", "HOST_WIDE_INT", "val", "=", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ";", "if", "(", "val", "%", "2", "==", "0", "&&", "val", "<", "0xffffffff", "&&", "val", ">", "0", ")", "{", "*", "total", "=", "COSTS_N_INSNS", "(", "1", ")", ";", "return", "true", ";", "}", "}", "return", "false", ";", "case", "CONST", ":", "case", "LABEL_REF", ":", "case", "SYMBOL_REF", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "3", ")", ";", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["TARGET_RTX_COSTS", "helper", "for", "ck807/ck810", "arches", "."], "TS_V_token": ["csky", "0", "1", "1", "2", "0", "0xffffffff", "0", "1", "3"], "File": "csky", "Func": "ck807_ck810_rtx_costs", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1355, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HSAILInstrInfo", "::", "verifyInstruction", "(", "const", "MachineInstr", "*", "MI", ",", "StringRef", "&", "ErrInfo", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Perform", "target-specific", "instruction", "verification", "."], "TS_V_token": ["HSAIL", "HSAIL"], "File": "HSAILInstrInfo", "Func": "verifyInstruction", "Target": "HSAIL", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1356, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonSubtarget", "::", "adjustSchedDependency", "(", "SUnit", "*", "Src", ",", "SUnit", "*", "Dst", ",", "SDep", "&", "Dep", ")", "const", "{", "MachineInstr", "*", "SrcInst", "=", "Src", "->", "getInstr", "(", ")", ";", "MachineInstr", "*", "DstInst", "=", "Dst", "->", "getInstr", "(", ")", ";", "if", "(", "!", "Src", "->", "isInstr", "(", ")", "||", "!", "Dst", "->", "isInstr", "(", ")", ")", "return", ";", "const", "HexagonInstrInfo", "*", "QII", "=", "getInstrInfo", "(", ")", ";", "SmallSet", "<", "SUnit", "*", ",", "4", ">", "ExclSrc", ";", "SmallSet", "<", "SUnit", "*", ",", "4", ">", "ExclDst", ";", "if", "(", "QII", "->", "canExecuteInBundle", "(", "*", "SrcInst", ",", "*", "DstInst", ")", "&&", "isBestZeroLatency", "(", "Src", ",", "Dst", ",", "QII", ",", "ExclSrc", ",", "ExclDst", ")", ")", "{", "Dep", ".", "setLatency", "(", "0", ")", ";", "return", ";", "}", "if", "(", "!", "hasV60TOps", "(", ")", ")", "return", ";", "if", "(", "DstInst", "->", "isRegSequence", "(", ")", "&&", "Dst", "->", "NumSuccs", "==", "1", ")", "{", "unsigned", "RSeqReg", "=", "DstInst", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "MachineInstr", "*", "RSeqDst", "=", "Dst", "->", "Succs", "[", "0", "]", ".", "getSUnit", "(", ")", "->", "getInstr", "(", ")", ";", "unsigned", "UseIdx", "=", "-", "1", ";", "for", "(", "unsigned", "OpNum", "=", "0", ";", "OpNum", "<", "RSeqDst", "->", "getNumOperands", "(", ")", ";", "OpNum", "++", ")", "{", "const", "MachineOperand", "&", "MO", "=", "RSeqDst", "->", "getOperand", "(", "OpNum", ")", ";", "if", "(", "MO", ".", "isReg", "(", ")", "&&", "MO", ".", "getReg", "(", ")", "&&", "MO", ".", "isUse", "(", ")", "&&", "MO", ".", "getReg", "(", ")", "==", "RSeqReg", ")", "{", "UseIdx", "=", "OpNum", ";", "break", ";", "}", "}", "unsigned", "RSeqLatency", "=", "(", "InstrInfo", ".", "getOperandLatency", "(", "&", "InstrItins", ",", "*", "SrcInst", ",", "0", ",", "*", "RSeqDst", ",", "UseIdx", ")", ")", ";", "Dep", ".", "setLatency", "(", "RSeqLatency", ")", ";", "}", "ExclSrc", ".", "clear", "(", ")", ";", "ExclDst", ".", "clear", "(", ")", ";", "if", "(", "EnableDotCurSched", "&&", "QII", "->", "isToBeScheduledASAP", "(", "*", "SrcInst", ",", "*", "DstInst", ")", "&&", "isBestZeroLatency", "(", "Src", ",", "Dst", ",", "QII", ",", "ExclSrc", ",", "ExclDst", ")", ")", "{", "Dep", ".", "setLatency", "(", "0", ")", ";", "return", ";", "}", "updateLatency", "(", "*", "SrcInst", ",", "*", "DstInst", ",", "Dep", ")", ";", "}", ""], "natrual_language": ["Perform", "target", "specific", "adjustments", "to", "the", "latency", "of", "a", "schedule", "dependency", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "4", "4", "0", "1", "0", "0", "1", "0", "0", "0"], "File": "HexagonSubtarget10", "Func": "adjustSchedDependency", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1357, "Length": 346, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "apply", "(", "ScheduleDAGInstrs", "*", "DAGInstrs", ")", "override", "{", "const", "GCNSubtarget", "&", "ST", "=", "DAGInstrs", "->", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "if", "(", "!", "ST", ".", "hasMAIInsts", "(", ")", "||", "DisablePowerSched", ")", "return", ";", "DAG", "=", "static_cast", "<", "ScheduleDAGMI", "*", ">", "(", "DAGInstrs", ")", ";", "const", "TargetSchedModel", "*", "TSchedModel", "=", "DAGInstrs", "->", "getSchedModel", "(", ")", ";", "if", "(", "!", "TSchedModel", "||", "DAG", "->", "SUnits", ".", "empty", "(", ")", ")", "return", ";", "auto", "LastSALU", "=", "DAG", "->", "SUnits", ".", "begin", "(", ")", ";", "auto", "E", "=", "DAG", "->", "SUnits", ".", "end", "(", ")", ";", "SmallPtrSet", "<", "SUnit", "*", ",", "32", ">", "Visited", ";", "for", "(", "SUnit", "&", "SU", ":", "DAG", "->", "SUnits", ")", "{", "MachineInstr", "&", "MAI", "=", "*", "SU", ".", "getInstr", "(", ")", ";", "if", "(", "!", "TII", "->", "isMAI", "(", "MAI", ")", "||", "MAI", ".", "getOpcode", "(", ")", "==", "AMDGPU", "::", "V_ACCVGPR_WRITE_B32_e64", "||", "MAI", ".", "getOpcode", "(", ")", "==", "AMDGPU", "::", "V_ACCVGPR_READ_B32_e64", ")", "continue", ";", "unsigned", "Lat", "=", "TSchedModel", "->", "computeInstrLatency", "(", "&", "MAI", ")", "-", "1", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Found MFMA: \"", ";", "DAG", "->", "dumpNode", "(", "SU", ")", ";", "dbgs", "(", ")", "<<", "\"Need \"", "<<", "Lat", "<<", "\" instructions to cover latency.\\n\"", ")", ";", "for", "(", ";", "Lat", "&&", "LastSALU", "!=", "E", ";", "++", "LastSALU", ")", "{", "if", "(", "Visited", ".", "count", "(", "&", "*", "LastSALU", ")", ")", "continue", ";", "if", "(", "!", "isSALU", "(", "&", "*", "LastSALU", ")", "||", "!", "canAddEdge", "(", "&", "*", "LastSALU", ",", "&", "SU", ")", ")", "continue", ";", "Lat", "-=", "linkSALUChain", "(", "&", "SU", ",", "&", "*", "LastSALU", ",", "Lat", ",", "Visited", ")", ";", "}", "}", "}", ""], "natrual_language": ["Apply", "the", "profile", "inference", "algorithm", "for", "a", "given", "function", "."], "TS_V_token": ["AMDGPU", "32", "AMDGPU::V_ACCVGPR_WRITE_B32_e64", "AMDGPU::V_ACCVGPR_READ_B32_e64", "1", "\"Found MFMA: \"", "\"Need \"", "\" instructions to cover latency.\\n\""], "File": "AMDGPUSubtarget1", "Func": "apply", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1358, "Length": 267, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mmix_output_register_setting", "(", "FILE", "*", "stream", ",", "int", "regno", ",", "int64_t", "value", ",", "int", "do_begin_end", ")", "{", "if", "(", "do_begin_end", ")", "fprintf", "(", "stream", ",", "\"\\t\"", ")", ";", "if", "(", "insn_const_int_ok_for_constraint", "(", "value", ",", "CONSTRAINT_K", ")", ")", "fprintf", "(", "stream", ",", "\"NEGU %s,0,%\"", "PRId64", ",", "reg_names", "[", "regno", "]", ",", "-", "value", ")", ";", "else", "if", "(", "mmix_shiftable_wyde_value", "(", "(", "uint64_t", ")", "value", ")", ")", "{", "mmix_output_shiftvalue_op_from_str", "(", "stream", ",", "\"SET\"", ",", "(", "uint64_t", ")", "value", ")", ";", "fprintf", "(", "stream", ",", "\" %s,\"", ",", "reg_names", "[", "regno", "]", ")", ";", "mmix_output_shifted_value", "(", "stream", ",", "(", "uint64_t", ")", "value", ")", ";", "}", "else", "if", "(", "mmix_shiftable_wyde_value", "(", "-", "(", "uint64_t", ")", "value", ")", ")", "{", "mmix_output_shiftvalue_op_from_str", "(", "stream", ",", "\"SET\"", ",", "-", "(", "uint64_t", ")", "value", ")", ";", "fprintf", "(", "stream", ",", "\" %s,\"", ",", "reg_names", "[", "regno", "]", ")", ";", "mmix_output_shifted_value", "(", "stream", ",", "-", "(", "uint64_t", ")", "value", ")", ";", "fprintf", "(", "stream", ",", "\"\\n\\tNEGU %s,0,%s\"", ",", "reg_names", "[", "regno", "]", ",", "reg_names", "[", "regno", "]", ")", ";", "}", "else", "if", "(", "mmix_shiftable_wyde_value", "(", "~", "(", "uint64_t", ")", "value", ")", ")", "{", "mmix_output_shiftvalue_op_from_str", "(", "stream", ",", "\"SET\"", ",", "~", "(", "uint64_t", ")", "value", ")", ";", "fprintf", "(", "stream", ",", "\" %s,\"", ",", "reg_names", "[", "regno", "]", ")", ";", "mmix_output_shifted_value", "(", "stream", ",", "~", "(", "uint64_t", ")", "value", ")", ";", "fprintf", "(", "stream", ",", "\"\\n\\tNOR %s,%s,0\"", ",", "reg_names", "[", "regno", "]", ",", "reg_names", "[", "regno", "]", ")", ";", "}", "else", "{", "static", "const", "char", "*", "const", "higher_parts", "[", "]", "=", "{", "\"L\"", ",", "\"ML\"", ",", "\"MH\"", ",", "\"H\"", "}", ";", "const", "char", "*", "op", "=", "\"SET\"", ";", "const", "char", "*", "line_begin", "=", "\"\"", ";", "int", "insns", "=", "0", ";", "int", "i", ";", "int64_t", "tmpvalue", "=", "value", ";", "for", "(", "i", "=", "0", ";", "i", "<", "4", "&&", "tmpvalue", "!=", "0", ";", "i", "++", ")", "{", "if", "(", "tmpvalue", "&", "65535", ")", "insns", "++", ";", "tmpvalue", ">>=", "16", ";", "}", "if", "(", "TARGET_BASE_ADDRESSES", "&&", "insns", "==", "3", ")", "{", "fprintf", "(", "stream", ",", "\"LDA %s,\"", ",", "reg_names", "[", "regno", "]", ")", ";", "mmix_output_octa", "(", "stream", ",", "value", ",", "0", ")", ";", "}", "else", "{", "for", "(", "i", "=", "0", ";", "i", "<", "4", "&&", "value", "!=", "0", ";", "i", "++", ")", "{", "if", "(", "value", "&", "65535", ")", "{", "fprintf", "(", "stream", ",", "\"%s%s%s %s,#%x\"", ",", "line_begin", ",", "op", ",", "higher_parts", "[", "i", "]", ",", "reg_names", "[", "regno", "]", ",", "(", "int", ")", "(", "value", "&", "65535", ")", ")", ";", "op", "=", "\"INC\"", ";", "line_begin", "=", "\"\\n\\t\"", ";", "}", "value", ">>=", "16", ";", "}", "}", "}", "if", "(", "do_begin_end", ")", "fprintf", "(", "stream", ",", "\"\\n\"", ")", ";", "}", ""], "natrual_language": ["Output", "an", "optimal", "sequence", "for", "setting", "a", "register", "to", "a", "specific", "constant", ".", "Used", "in", "an", "alternative", "for", "const_ints", "in", "movdi", ",", "and", "when", "using", "large", "stack-frame", "offsets", ".", "Use", "do_begin_end", "to", "say", "if", "a", "line-starting", "TAB", "and", "newline", "before", "the", "first", "insn", "and", "after", "the", "last", "insn", "is", "wanted", "."], "TS_V_token": ["mmix", "\"\\t\"", "\"NEGU %s,0,%\"", "\"SET\"", "\" %s,\"", "\"SET\"", "\" %s,\"", "\"\\n\\tNEGU %s,0,%s\"", "\"SET\"", "\" %s,\"", "\"\\n\\tNOR %s,%s,0\"", "\"L\"", "\"ML\"", "\"MH\"", "\"H\"", "\"SET\"", "\"\"", "0", "0", "4", "0", "65535", "16", "3", "\"LDA %s,\"", "0", "0", "4", "0", "65535", "\"%s%s%s %s,#%x\"", "65535", "\"INC\"", "\"\\n\\t\"", "16", "\"\\n\""], "File": "mmix4", "Func": "mmix_output_register_setting", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1359, "Length": 430, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isFPImmLegal", "(", "const", "APFloat", "&", "Imm", ",", "EVT", "VT", ",", "bool", "ForCodeSize", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "hasVFP3", "(", ")", ")", "return", "false", ";", "if", "(", "VT", "==", "MVT", "::", "f16", "&&", "Subtarget", "->", "hasFullFP16", "(", ")", ")", "return", "ARM_AM", "::", "getFP16Imm", "(", "Imm", ")", "!=", "-", "1", ";", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "return", "ARM_AM", "::", "getFP32Imm", "(", "Imm", ")", "!=", "-", "1", ";", "if", "(", "VT", "==", "MVT", "::", "f64", "&&", "!", "Subtarget", "->", "isFPOnlySP", "(", ")", ")", "return", "ARM_AM", "::", "getFP64Imm", "(", "Imm", ")", "!=", "-", "1", ";", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "can", "instruction", "select", "the", "specified", "FP", "immediate", "natively", "."], "TS_V_token": ["ARM", "ARM", "MVT::f16", "ARM_AM::getFP16Imm", "1", "MVT::f32", "ARM_AM::getFP32Imm", "1", "MVT::f64", "ARM_AM::getFP64Imm", "1"], "File": "ARMISelLowering158", "Func": "isFPImmLegal", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1360, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "predict_jump", "(", "int", "prob", ")", "{", "rtx_insn", "*", "insn", "=", "get_last_insn", "(", ")", ";", "gcc_assert", "(", "JUMP_P", "(", "insn", ")", ")", ";", "add_reg_br_prob_note", "(", "insn", ",", "profile_probability", "::", "from_reg_br_prob_base", "(", "prob", ")", ")", ";", "}", ""], "natrual_language": ["Predict", "just", "emitted", "jump", "instruction", "to", "be", "taken", "with", "probability", "PROB", "."], "TS_V_token": ["i386"], "File": "i386-expand", "Func": "predict_jump", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1361, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_df_reorg", "(", "void", ")", "{", "df_set_flags", "(", "DF_EQ_NOTES", ")", ";", "df_chain_add_problem", "(", "DF_UD_CHAIN", ")", ";", "df_analyze", "(", ")", ";", "if", "(", "TARGET_RELAX_PIC_CALLS", ")", "mips_annotate_pic_calls", "(", ")", ";", "if", "(", "mips_r10k_cache_barrier", "!=", "R10K_CACHE_BARRIER_NONE", ")", "r10k_insert_cache_barriers", "(", ")", ";", "df_finish_pass", "(", "false", ")", ";", "}", ""], "natrual_language": ["Subroutine", "of", "mips_reorg", "to", "manage", "passes", "that", "require", "DF", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_df_reorg", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1362, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "SNESTargetLowering", "::", "getSetCCResultType", "(", "const", "DataLayout", "&", "DL", ",", "LLVMContext", "&", ",", "EVT", "VT", ")", "const", "{", "assert", "(", "!", "VT", ".", "isVector", "(", ")", "&&", "\"No SNES SetCC type for vectors!\"", ")", ";", "return", "MVT", "::", "i8", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["SNES", "SNES", "\"No SNES SetCC type for vectors!\"", "MVT::i8"], "File": "SNESISelLowering", "Func": "getSetCCResultType", "Target": "SNES", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1363, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "getStackPointerBias", "(", ")", "override", "final", "{", "return", "0", ";", "}", ""], "natrual_language": ["The", "64-bit", "ABI", "uses", "biased", "stack", "and", "frame", "pointers", ",", "so", "the", "stack", "frame", "of", "the", "current", "function", "is", "the", "area", "from", "[", "sp+BIAS", "]", "to", "[", "fp+BIAS", "]", "."], "TS_V_token": ["SystemZ", "0"], "File": "SystemZRegisterInfo17", "Func": "getStackPointerBias", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1364, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_swap_registers", "(", "unsigned", "int", "i", ")", "{", "int", "tmpi", ";", "const", "char", "*", "tmps", ";", "SWAP_INT", "(", "fixed_regs", "[", "i", "]", ",", "fixed_regs", "[", "i", "+", "1", "]", ")", ";", "SWAP_INT", "(", "call_used_regs", "[", "i", "]", ",", "call_used_regs", "[", "i", "+", "1", "]", ")", ";", "SWAP_INT", "(", "call_really_used_regs", "[", "i", "]", ",", "call_really_used_regs", "[", "i", "+", "1", "]", ")", ";", "SWAP_STRING", "(", "reg_names", "[", "i", "]", ",", "reg_names", "[", "i", "+", "1", "]", ")", ";", "}", ""], "natrual_language": ["Swap", "the", "register", "information", "for", "registers", "I", "and", "I", "+", "1", ",", "which", "currently", "have", "the", "wrong", "endianness", ".", "Note", "that", "the", "registers", "'", "fixedness", "and", "call-clobberedness", "might", "have", "been", "set", "on", "the", "command", "line", "."], "TS_V_token": ["mips", "1", "1", "1", "1"], "File": "mips4", "Func": "mips_swap_registers", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1365, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "gcn_lockfull_update", "(", "location_t", "loc", ",", "gimple_stmt_iterator", "*", "gsi", ",", "tree", "ptr", ",", "tree", "var", ",", "tree_code", "op", ")", "{", "tree", "var_type", "=", "TREE_TYPE", "(", "var", ")", ";", "tree", "swap_fn", "=", "gcn_builtin_decl", "(", "GCN_BUILTIN_CMP_SWAP", ",", "true", ")", ";", "tree", "uns_unlocked", "=", "build_int_cst", "(", "unsigned_type_node", ",", "0", ")", ";", "tree", "uns_locked", "=", "build_int_cst", "(", "unsigned_type_node", ",", "1", ")", ";", "gimple", "*", "nop", "=", "gimple_build_nop", "(", ")", ";", "gsi_insert_before", "(", "gsi", ",", "nop", ",", "GSI_SAME_STMT", ")", ";", "basic_block", "entry_bb", "=", "gsi_bb", "(", "*", "gsi", ")", ";", "edge", "entry_edge", "=", "split_block", "(", "entry_bb", ",", "nop", ")", ";", "basic_block", "lock_bb", "=", "entry_edge", "->", "dest", ";", "*", "gsi", "=", "gsi_for_stmt", "(", "gsi_stmt", "(", "*", "gsi", ")", ")", ";", "gimple_seq", "lock_seq", "=", "NULL", ";", "tree", "lock_var", "=", "make_ssa_name", "(", "unsigned_type_node", ")", ";", "tree", "lock_expr", "=", "gcn_global_lock_addr", "(", ")", ";", "lock_expr", "=", "build_call_expr_loc", "(", "loc", ",", "swap_fn", ",", "3", ",", "lock_expr", ",", "uns_unlocked", ",", "uns_locked", ")", ";", "gimplify_assign", "(", "lock_var", ",", "lock_expr", ",", "&", "lock_seq", ")", ";", "gcond", "*", "cond", "=", "gimple_build_cond", "(", "EQ_EXPR", ",", "lock_var", ",", "uns_unlocked", ",", "NULL_TREE", ",", "NULL_TREE", ")", ";", "gimple_seq_add_stmt", "(", "&", "lock_seq", ",", "cond", ")", ";", "gimple", "*", "lock_end", "=", "gimple_seq_last", "(", "lock_seq", ")", ";", "gsi_insert_seq_before", "(", "gsi", ",", "lock_seq", ",", "GSI_SAME_STMT", ")", ";", "edge", "locked_edge", "=", "split_block", "(", "lock_bb", ",", "lock_end", ")", ";", "basic_block", "update_bb", "=", "locked_edge", "->", "dest", ";", "lock_bb", "=", "locked_edge", "->", "src", ";", "*", "gsi", "=", "gsi_for_stmt", "(", "gsi_stmt", "(", "*", "gsi", ")", ")", ";", "locked_edge", "->", "flags", "^=", "EDGE_TRUE_VALUE", "|", "EDGE_FALLTHRU", ";", "locked_edge", "->", "probability", "=", "profile_probability", "::", "even", "(", ")", ";", "edge", "loop_edge", "=", "make_edge", "(", "lock_bb", ",", "lock_bb", ",", "EDGE_FALSE_VALUE", ")", ";", "loop_edge", "->", "probability", "=", "profile_probability", "::", "even", "(", ")", ";", "set_immediate_dominator", "(", "CDI_DOMINATORS", ",", "lock_bb", ",", "entry_bb", ")", ";", "set_immediate_dominator", "(", "CDI_DOMINATORS", ",", "update_bb", ",", "lock_bb", ")", ";", "loop", "*", "lock_loop", "=", "alloc_loop", "(", ")", ";", "lock_loop", "->", "header", "=", "lock_bb", ";", "lock_loop", "->", "latch", "=", "lock_bb", ";", "lock_loop", "->", "nb_iterations_estimate", "=", "1", ";", "lock_loop", "->", "any_estimate", "=", "true", ";", "add_loop", "(", "lock_loop", ",", "entry_bb", "->", "loop_father", ")", ";", "gimple_seq", "red_seq", "=", "NULL", ";", "tree", "acc_in", "=", "make_ssa_name", "(", "var_type", ")", ";", "tree", "ref_in", "=", "build_simple_mem_ref", "(", "ptr", ")", ";", "TREE_THIS_VOLATILE", "(", "ref_in", ")", "=", "1", ";", "gimplify_assign", "(", "acc_in", ",", "ref_in", ",", "&", "red_seq", ")", ";", "tree", "acc_out", "=", "make_ssa_name", "(", "var_type", ")", ";", "tree", "update_expr", "=", "fold_build2", "(", "op", ",", "var_type", ",", "ref_in", ",", "var", ")", ";", "gimplify_assign", "(", "acc_out", ",", "update_expr", ",", "&", "red_seq", ")", ";", "tree", "ref_out", "=", "build_simple_mem_ref", "(", "ptr", ")", ";", "TREE_THIS_VOLATILE", "(", "ref_out", ")", "=", "1", ";", "gimplify_assign", "(", "ref_out", ",", "acc_out", ",", "&", "red_seq", ")", ";", "gsi_insert_seq_before", "(", "gsi", ",", "red_seq", ",", "GSI_SAME_STMT", ")", ";", "gimple_seq", "unlock_seq", "=", "NULL", ";", "tree", "unlock_expr", "=", "gcn_global_lock_addr", "(", ")", ";", "unlock_expr", "=", "build_call_expr_loc", "(", "loc", ",", "swap_fn", ",", "3", ",", "unlock_expr", ",", "uns_locked", ",", "uns_unlocked", ")", ";", "gimplify_and_add", "(", "unlock_expr", ",", "&", "unlock_seq", ")", ";", "gsi_insert_seq_before", "(", "gsi", ",", "unlock_seq", ",", "GSI_SAME_STMT", ")", ";", "return", "acc_out", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "gcn_reduction_update", ".", "Insert", "code", "to", "lockfully", "update", "*", "PTR", "with", "*", "PTR", "OP", "VAR", "just", "before", "GSI", ".", "This", "is", "necessary", "for", "types", "larger", "than", "64", "bits", ",", "where", "there", "is", "no", "cmp", "&", "swap", "instruction", "to", "implement", "a", "lockless", "scheme", ".", "We", "use", "a", "lock", "variable", "in", "global", "memory", ".", "while", "(", "cmp", "&", "swap", "(", "&", "lock_var", ",", "0", ",", "1", ")", ")", "continue", ";", "T", "accum", "=", "*", "ptr", ";", "accum", "=", "accum", "OP", "var", ";", "*", "ptr", "=", "accum", ";", "cmp", "&", "swap", "(", "&", "lock_var", ",", "1", ",", "0", ")", ";", "return", "accum", ";", "A", "lock", "in", "global", "memory", "is", "necessary", "to", "force", "execution", "engine", "descheduling", "and", "avoid", "resource", "starvation", "that", "can", "occur", "if", "the", "lock", "is", "in", "shared", "memory", "."], "TS_V_token": ["gcn", "0", "1", "3", "1", "1", "1", "3"], "File": "gcn-tree", "Func": "gcn_lockfull_update", "Target": "gcn", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 1366, "Length": 492, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "dump", "(", ")", "{", "cerr", "<<", "\"X86ISelAddressMode \"", "<<", "this", "<<", "\"\\n\"", ";", "cerr", "<<", "\"Base.Reg \"", ";", "if", "(", "Base", ".", "Reg", ".", "getNode", "(", ")", "!=", "0", ")", "Base", ".", "Reg", ".", "getNode", "(", ")", "->", "dump", "(", ")", ";", "else", "cerr", "<<", "\"nul\"", ";", "cerr", "<<", "\" Base.FrameIndex \"", "<<", "Base", ".", "FrameIndex", "<<", "\"\\n\"", ";", "cerr", "<<", "\"isRIPRel \"", "<<", "isRIPRel", "<<", "\" Scale\"", "<<", "Scale", "<<", "\"\\n\"", ";", "cerr", "<<", "\"IndexReg \"", ";", "if", "(", "IndexReg", ".", "getNode", "(", ")", "!=", "0", ")", "IndexReg", ".", "getNode", "(", ")", "->", "dump", "(", ")", ";", "else", "cerr", "<<", "\"nul\"", ";", "cerr", "<<", "\" Disp \"", "<<", "Disp", "<<", "\"\\n\"", ";", "cerr", "<<", "\"GV \"", ";", "if", "(", "GV", ")", "GV", "->", "dump", "(", ")", ";", "else", "cerr", "<<", "\"nul\"", ";", "cerr", "<<", "\" CP \"", ";", "if", "(", "CP", ")", "CP", "->", "dump", "(", ")", ";", "else", "cerr", "<<", "\"nul\"", ";", "cerr", "<<", "\"\\n\"", ";", "cerr", "<<", "\"ES \"", ";", "if", "(", "ES", ")", "cerr", "<<", "ES", ";", "else", "cerr", "<<", "\"nul\"", ";", "cerr", "<<", "\" JT\"", "<<", "JT", "<<", "\" Align\"", "<<", "Align", "<<", "\"\\n\"", ";", "}", ""], "natrual_language": ["Dump", "the", "plan", "to", "stderr", "(", "for", "debugging", ")", "."], "TS_V_token": ["X86", "\"X86ISelAddressMode \"", "\"\\n\"", "\"Base.Reg \"", "0", "\"nul\"", "\" Base.FrameIndex \"", "\"\\n\"", "\"isRIPRel \"", "\" Scale\"", "\"\\n\"", "\"IndexReg \"", "0", "\"nul\"", "\" Disp \"", "\"\\n\"", "\"GV \"", "\"nul\"", "\" CP \"", "\"nul\"", "\"\\n\"", "\"ES \"", "\"nul\"", "\" JT\"", "\" Align\"", "\"\\n\""], "File": "X86ISelDAGToDAG104", "Func": "dump", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1367, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachinePointerInfo", "MipsFunctionInfo", "::", "callPtrInfo", "(", "const", "GlobalValue", "*", "Val", ")", "{", "const", "MipsCallEntry", "*", "&", "E", "=", "GlobalCallEntries", "[", "Val", "]", ";", "if", "(", "!", "E", ")", "E", "=", "new", "MipsCallEntry", "(", "Val", ")", ";", "return", "MachinePointerInfo", "(", "E", ")", ";", "}", ""], "natrual_language": ["Create", "a", "MachinePointerInfo", "that", "has", "a", "GlobalValuePseudoSourceValue", "object", "representing", "a", "GOT", "entry", "for", "a", "global", "function", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips"], "File": "MipsMachineFunction", "Func": "callPtrInfo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1368, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"Hexagon Branch Relaxation\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Hexagon", "\"Hexagon Branch Relaxation\""], "File": "HexagonBranchRelaxation", "Func": "getPassName", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1369, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "BTFTypeFunc", "::", "completeType", "(", "BTFDebug", "&", "BDebug", ")", "{", "BTFType", ".", "NameOff", "=", "BDebug", ".", "addString", "(", "Name", ")", ";", "}", ""], "natrual_language": ["Complete", "BTF", "type", "generation", "after", "all", "related", "DebugInfo", "types", "have", "been", "visited", "so", "their", "BTF", "type", "id", "'s", "are", "available", "for", "cross", "referece", "."], "TS_V_token": ["BPF"], "File": "BTFDebug (2)", "Func": "completeType", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1370, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RV16KMCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCInstrDesc", "&", "Desc", "=", "MCII", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "RV16K", "::", "PseudoHLT", ")", "{", "expandHalt", "(", "MI", ",", "OS", ",", "Fixups", ",", "STI", ")", ";", "MCNumEmitted", "+=", "4", ";", "return", ";", "}", "unsigned", "Size", "=", "Desc", ".", "getSize", "(", ")", ";", "switch", "(", "Size", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unhandled encodeInstruction length!\"", ")", ";", "case", "2", ":", "{", "uint16_t", "Bits", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "support", "::", "endian", "::", "write", "<", "uint16_t", ">", "(", "OS", ",", "Bits", ",", "support", "::", "little", ")", ";", "break", ";", "}", "case", "4", ":", "{", "uint32_t", "Bits", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "support", "::", "endian", "::", "write", "(", "OS", ",", "Bits", ",", "support", "::", "little", ")", ";", "break", ";", "}", "}", "++", "MCNumEmitted", ";", "}", ""], "natrual_language": ["Encode", "the", "given", "Inst", "to", "bytes", "and", "append", "to", "CB", "."], "TS_V_token": ["RV16K", "RV16K", "RV16K::PseudoHLT", "4", "\"Unhandled encodeInstruction length!\"", "2", "support::endian", "support::little", "4", "support::endian", "support::little"], "File": "RV16KMCCodeEmitter", "Func": "encodeInstruction", "Target": "RV16K", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1371, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "if", "(", "!", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "MachineInstr", "&", "MI", "=", "*", "I", ";", "int", "Size", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "SP", "::", "ADJCALLSTACKDOWN", ")", "Size", "=", "-", "Size", ";", "if", "(", "Size", ")", "emitSPAdjustment", "(", "MF", ",", "MBB", ",", "I", ",", "Size", ",", "SP", "::", "ADDrr", ",", "SP", "::", "ADDri", ")", ";", "}", "MBB", ".", "erase", "(", "I", ")", ";", "}", ""], "natrual_language": ["This", "method", "is", "called", "during", "prolog/epilog", "code", "insertion", "to", "eliminate", "call", "frame", "setup", "and", "destroy", "pseudo", "instructions", "(", "but", "only", "if", "the", "Target", "is", "using", "them", ")", "."], "TS_V_token": ["WDC65816", "0", "SP::ADJCALLSTACKDOWN", "SP::ADDrr", "SP::ADDri"], "File": "WDC65816FrameLowering", "Func": "eliminateCallFramePseudoInstr", "Target": "WDC65816", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1372, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "darwin_rs6000_special_round_type_align", "(", "tree", "type", ",", "unsigned", "int", "computed", ",", "unsigned", "int", "specified", ")", "{", "unsigned", "int", "align", "=", "MAX", "(", "computed", ",", "specified", ")", ";", "if", "(", "TYPE_PACKED", "(", "type", ")", ")", "return", "align", ";", "do", "{", "tree", "field", "=", "TYPE_FIELDS", "(", "type", ")", ";", "while", "(", "field", "!=", "NULL", "&&", "(", "TREE_CODE", "(", "field", ")", "!=", "FIELD_DECL", "||", "DECL_FIELD_ABI_IGNORED", "(", "field", ")", ")", ")", "field", "=", "DECL_CHAIN", "(", "field", ")", ";", "if", "(", "!", "field", ")", "break", ";", "if", "(", "DECL_PACKED", "(", "field", ")", ")", "return", "align", ";", "type", "=", "TREE_TYPE", "(", "field", ")", ";", "while", "(", "TREE_CODE", "(", "type", ")", "==", "ARRAY_TYPE", ")", "type", "=", "TREE_TYPE", "(", "type", ")", ";", "}", "while", "(", "AGGREGATE_TYPE_P", "(", "type", ")", ")", ";", "if", "(", "!", "AGGREGATE_TYPE_P", "(", "type", ")", "&&", "type", "!=", "error_mark_node", ")", "align", "=", "MAX", "(", "align", ",", "TYPE_ALIGN", "(", "type", ")", ")", ";", "return", "align", ";", "}", ""], "natrual_language": ["Darwin", "increases", "record", "alignment", "to", "the", "natural", "alignment", "of", "the", "first", "field", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "darwin_rs6000_special_round_type_align", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1373, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CAHPDAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "switch", "(", "ConstraintID", ")", "{", "case", "InlineAsm", "::", "Constraint_i", ":", "case", "InlineAsm", "::", "Constraint_m", ":", "OutOps", ".", "push_back", "(", "Op", ")", ";", "return", "false", ";", "default", ":", "break", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["SelectInlineAsmMemoryOperand", "-", "Select", "the", "specified", "address", "as", "a", "target", "addressing", "mode", ",", "according", "to", "the", "specified", "constraint", "."], "TS_V_token": ["CAHP", "CAHP"], "File": "CAHPISelDAGToDAG", "Func": "SelectInlineAsmMemoryOperand", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1374, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "{", "if", "(", "ExtraCode", "[", "1", "]", "!=", "0", ")", "return", "true", ";", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ";", "switch", "(", "ExtraCode", "[", "0", "]", ")", "{", "default", ":", "return", "AsmPrinter", "::", "PrintAsmOperand", "(", "MI", ",", "OpNo", ",", "ExtraCode", ",", "O", ")", ";", "case", "'a'", ":", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "default", ":", "return", "true", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "O", "<<", "MO", ".", "getImm", "(", ")", ";", "return", "false", ";", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":", "case", "MachineOperand", "::", "MO_JumpTableIndex", ":", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "llvm_unreachable", "(", "\"unexpected operand type!\"", ")", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "PrintSymbolOperand", "(", "MO", ",", "O", ")", ";", "if", "(", "Subtarget", "->", "isPICStyleRIPRel", "(", ")", ")", "O", "<<", "\"(%rip)\"", ";", "return", "false", ";", "case", "MachineOperand", "::", "MO_Register", ":", "O", "<<", "'('", ";", "PrintOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "O", "<<", "')'", ";", "return", "false", ";", "}", "case", "'c'", ":", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "default", ":", "PrintOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "O", "<<", "MO", ".", "getImm", "(", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":", "case", "MachineOperand", "::", "MO_JumpTableIndex", ":", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "llvm_unreachable", "(", "\"unexpected operand type!\"", ")", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "PrintSymbolOperand", "(", "MO", ",", "O", ")", ";", "break", ";", "}", "return", "false", ";", "case", "'A'", ":", "if", "(", "MO", ".", "isReg", "(", ")", ")", "{", "O", "<<", "'*'", ";", "PrintOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "return", "false", ";", "}", "return", "true", ";", "case", "'b'", ":", "case", "'h'", ":", "case", "'w'", ":", "case", "'k'", ":", "case", "'q'", ":", "case", "'V'", ":", "if", "(", "MO", ".", "isReg", "(", ")", ")", "return", "printAsmMRegister", "(", "*", "this", ",", "MO", ",", "ExtraCode", "[", "0", "]", ",", "O", ")", ";", "PrintOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "return", "false", ";", "case", "'x'", ":", "case", "'t'", ":", "case", "'g'", ":", "if", "(", "MO", ".", "isReg", "(", ")", ")", "return", "printAsmVRegister", "(", "MO", ",", "ExtraCode", "[", "0", "]", ",", "O", ")", ";", "PrintOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "return", "false", ";", "case", "'P'", ":", "PrintPCRelImm", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "return", "false", ";", "case", "'n'", ":", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "O", "<<", "-", "MO", ".", "getImm", "(", ")", ";", "return", "false", ";", "}", "O", "<<", "'-'", ";", "}", "}", "PrintOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["X86", "X86", "0", "1", "0", "0", "\"unexpected operand type!\"", "\"(%rip)\"", "\"unexpected operand type!\"", "0", "0"], "File": "X86AsmPrinter17", "Func": "PrintAsmOperand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1375, "Length": 452, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCFrameLowering", "::", "getFramePointerSaveOffset", "(", ")", "const", "{", "if", "(", "Subtarget", ".", "isAIXABI", "(", ")", ")", "report_fatal_error", "(", "\"FramePointer is not implemented on AIX yet.\"", ")", ";", "return", "FramePointerSaveOffset", ";", "}", ""], "natrual_language": ["getFramePointerSaveOffset", "-", "Return", "the", "previous", "frame", "offset", "to", "save", "the", "frame", "pointer", "."], "TS_V_token": ["PowerPC", "PPC", "\"FramePointer is not implemented on AIX yet.\""], "File": "PPCFrameLowering64", "Func": "getFramePointerSaveOffset", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1376, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "LegalizerInfo", "*", "getLegalizerInfo", "(", ")", "const", "override", "{", "assert", "(", "GISel", "&&", "\"Access to GlobalISel APIs not set\"", ")", ";", "return", "GISel", "->", "getLegalizerInfo", "(", ")", ";", "}", ""], "natrual_language": ["Expose", "LegalizerInfo", "so", "the", "clients", "can", "re-use", "."], "TS_V_token": ["AMDGPU", "\"Access to GlobalISel APIs not set\""], "File": "AMDGPUSubtarget10", "Func": "getLegalizerInfo", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1377, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "XCoreInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "XCore", "::", "STWFI", ")", ")", ".", "addReg", "(", "SrcReg", ",", "false", ",", "false", ",", "isKill", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addImm", "(", "0", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["XCore", "XCore", "XCore::STWFI", "0"], "File": "XCoreInstrInfo30", "Func": "storeRegToStackSlot", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1378, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getAddressSpace", "(", ")", "const", "{", "return", "getSubclassData", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "address", "space", "of", "the", "Pointer", "type", "."], "TS_V_token": ["DirectX"], "File": "DXILPointerType", "Func": "getAddressSpace", "Target": "DirectX", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1379, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCRegisterInfo", "::", "isCallerPreservedPhysReg", "(", "unsigned", "PhysReg", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "assert", "(", "Register", "::", "isPhysicalRegister", "(", "PhysReg", ")", ")", ";", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "if", "(", "!", "TM", ".", "isPPC64", "(", ")", ")", "return", "false", ";", "if", "(", "!", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "return", "false", ";", "if", "(", "PhysReg", "==", "PPC", "::", "X2", ")", "return", "(", "getReservedRegs", "(", "MF", ")", ".", "test", "(", "PPC", "::", "X2", ")", ")", ";", "if", "(", "StackPtrConst", "&&", "(", "PhysReg", "==", "PPC", "::", "X1", ")", "&&", "!", "MFI", ".", "hasVarSizedObjects", "(", ")", "&&", "!", "MFI", ".", "hasOpaqueSPAdjustment", "(", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Physical", "registers", "that", "may", "be", "modified", "within", "a", "function", "but", "are", "guaranteed", "to", "be", "restored", "before", "any", "uses", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC::X2", "PPC::X2", "PPC::X1"], "File": "PPCRegisterInfo11", "Func": "isCallerPreservedPhysReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1380, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "bfin_load_pic_reg", "(", "rtx", "dest", ")", "{", "struct", "cgraph_local_info", "*", "i", "=", "NULL", ";", "rtx", "addr", ",", "insn", ";", "if", "(", "flag_unit_at_a_time", ")", "i", "=", "cgraph_local_info", "(", "current_function_decl", ")", ";", "if", "(", "i", "&&", "i", "->", "local", ")", "return", "pic_offset_table_rtx", ";", "if", "(", "bfin_lib_id_given", ")", "addr", "=", "plus_constant", "(", "pic_offset_table_rtx", ",", "-", "4", "-", "bfin_library_id", "*", "4", ")", ";", "else", "addr", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "pic_offset_table_rtx", ",", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "const0_rtx", ")", ",", "UNSPEC_LIBRARY_OFFSET", ")", ")", ";", "insn", "=", "emit_insn", "(", "gen_movsi", "(", "dest", ",", "gen_rtx_MEM", "(", "Pmode", ",", "addr", ")", ")", ")", ";", "REG_NOTES", "(", "insn", ")", "=", "gen_rtx_EXPR_LIST", "(", "REG_MAYBE_DEAD", ",", "const0_rtx", ",", "NULL", ")", ";", "return", "dest", ";", "}", ""], "natrual_language": ["Used", "while", "emitting", "the", "prologue", "to", "generate", "code", "to", "load", "the", "correct", "value", "into", "the", "PIC", "register", ",", "which", "is", "passed", "in", "DEST", "."], "TS_V_token": ["bfin", "4", "4", "1"], "File": "bfin2", "Func": "bfin_load_pic_reg", "Target": "bfin", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 1381, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "ARMTargetLowering", "::", "getOptimalMemOpType", "(", "uint64_t", "Size", ",", "unsigned", "DstAlign", ",", "unsigned", "SrcAlign", ",", "bool", "IsZeroVal", ",", "bool", "MemcpyStrSrc", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "Function", "*", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "IsZeroVal", "&&", "!", "F", "->", "hasFnAttr", "(", "Attribute", "::", "NoImplicitFloat", ")", "&&", "Subtarget", "->", "hasNEON", "(", ")", ")", "{", "if", "(", "memOpAlign", "(", "SrcAlign", ",", "DstAlign", ",", "16", ")", "&&", "Size", ">=", "16", ")", "{", "return", "MVT", "::", "v4i32", ";", "}", "else", "if", "(", "memOpAlign", "(", "SrcAlign", ",", "DstAlign", ",", "8", ")", "&&", "Size", ">=", "8", ")", "{", "return", "MVT", "::", "v2i32", ";", "}", "}", "if", "(", "Size", ">=", "4", ")", "{", "return", "MVT", "::", "i32", ";", "}", "else", "if", "(", "Size", ">=", "2", ")", "{", "return", "MVT", "::", "i16", ";", "}", "return", "MVT", "::", "Other", ";", "}", ""], "natrual_language": ["It", "returns", "EVT", ":", ":Other", "if", "the", "type", "should", "be", "determined", "using", "generic", "target-independent", "logic", "."], "TS_V_token": ["ARM", "ARM", "16", "16", "MVT::v4i32", "8", "8", "MVT::v2i32", "4", "MVT::i32", "2", "MVT::i16", "MVT::Other"], "File": "ARMISelLowering114", "Func": "getOptimalMemOpType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1382, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "SparcSubtarget", "::", "getAdjustedFrameSize", "(", "int", "frameSize", ")", "const", "{", "if", "(", "is64Bit", "(", ")", ")", "{", "frameSize", "+=", "128", ";", "assert", "(", "frameSize", "%", "16", "==", "0", "&&", "\"Stack size not 16-byte aligned\"", ")", ";", "}", "else", "{", "frameSize", "+=", "92", ";", "frameSize", "=", "RoundUpToAlignment", "(", "frameSize", ",", "8", ")", ";", "}", "return", "frameSize", ";", "}", ""], "natrual_language": ["Given", "a", "actual", "stack", "size", "as", "determined", "by", "FrameInfo", ",", "this", "function", "returns", "adjusted", "framesize", "which", "includes", "space", "for", "RSA", ",", "return", "address", ",", "and", "frame", "poitner", "."], "TS_V_token": ["WDC65816", "128", "16", "0", "\"Stack size not 16-byte aligned\"", "92", "8"], "File": "WDC65816Subtarget", "Func": "getAdjustedFrameSize", "Target": "WDC65816", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1383, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "visium_expand_prologue", "(", "void", ")", "{", "const", "int", "frame_size", "=", "visium_compute_frame_size", "(", "get_frame_size", "(", ")", ")", ";", "const", "int", "save_area_size", "=", "current_frame_info", ".", "save_area_size", ";", "const", "int", "reg_size1", "=", "current_frame_info", ".", "reg_size1", ";", "const", "int", "max_reg1", "=", "current_frame_info", ".", "max_reg1", ";", "const", "int", "reg_size2", "=", "current_frame_info", ".", "reg_size2", ";", "const", "int", "var_size", "=", "current_frame_info", ".", "var_size", ";", "const", "int", "save_fp", "=", "current_frame_info", ".", "save_fp", ";", "const", "int", "save_lr", "=", "current_frame_info", ".", "save_lr", ";", "const", "int", "lr_slot", "=", "current_frame_info", ".", "lr_slot", ";", "const", "int", "local_frame_offset", "=", "(", "save_fp", "+", "save_lr", "+", "lr_slot", ")", "*", "UNITS_PER_WORD", ";", "const", "int", "combine", "=", "current_frame_info", ".", "combine", ";", "int", "reg_size", ";", "int", "first_reg", ";", "int", "fsize", ";", "visium_frame_size", "=", "frame_size", ";", "if", "(", "flag_stack_usage_info", ")", "current_function_static_stack_size", "=", "frame_size", ";", "if", "(", "reg_size2", ")", "{", "visium_save_regs", "(", "reg_size1", "+", "save_area_size", ",", "reg_size1", ",", "0", ",", "max_reg1", ")", ";", "reg_size", "=", "reg_size2", ";", "first_reg", "=", "max_reg1", "+", "1", ";", "fsize", "=", "local_frame_offset", "+", "var_size", "+", "reg_size2", ";", "}", "else", "{", "reg_size", "=", "reg_size1", ";", "first_reg", "=", "0", ";", "fsize", "=", "local_frame_offset", "+", "var_size", "+", "reg_size1", "+", "save_area_size", ";", "}", "if", "(", "reg_size", "&&", "!", "combine", ")", "visium_save_regs", "(", "fsize", "-", "local_frame_offset", "-", "var_size", ",", "reg_size", ",", "first_reg", ",", "FIRST_PSEUDO_REGISTER", "-", "1", ")", ";", "if", "(", "reg_size", "&&", "combine", ")", "visium_save_regs", "(", "fsize", ",", "local_frame_offset", "+", "var_size", "+", "reg_size", ",", "first_reg", ",", "FIRST_PSEUDO_REGISTER", "-", "1", ")", ";", "else", "if", "(", "fsize", ")", "{", "const", "int", "alloc_size", "=", "reg_size", "?", "local_frame_offset", "+", "var_size", ":", "fsize", ";", "if", "(", "alloc_size", ">", "65535", ")", "{", "rtx", "tmp", "=", "gen_rtx_REG", "(", "SImode", ",", "PROLOGUE_TMP_REGNUM", ")", ",", "insn", ";", "emit_insn", "(", "gen_movsi", "(", "tmp", ",", "GEN_INT", "(", "alloc_size", ")", ")", ")", ";", "insn", "=", "emit_frame_insn", "(", "gen_subsi3_flags", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "tmp", ")", ")", ";", "add_reg_note", "(", "insn", ",", "REG_FRAME_RELATED_EXPR", ",", "gen_rtx_SET", "(", "VOIDmode", ",", "stack_pointer_rtx", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "-", "alloc_size", ")", ")", ")", ")", ";", "}", "else", "emit_frame_insn", "(", "gen_addsi3_flags", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "-", "alloc_size", ")", ")", ")", ";", "}", "if", "(", "save_fp", ")", "emit_frame_insn", "(", "gen_movsi", "(", "gen_frame_mem", "(", "SImode", ",", "stack_pointer_rtx", ")", ",", "hard_frame_pointer_rtx", ")", ")", ";", "if", "(", "frame_pointer_needed", ")", "emit_frame_insn", "(", "gen_stack_save", "(", ")", ")", ";", "if", "(", "save_lr", ")", "{", "rtx", "base_rtx", ",", "mem", ";", "if", "(", "cfun", "->", "machine", "->", "frame_needed", ")", "base_rtx", "=", "hard_frame_pointer_rtx", ";", "else", "base_rtx", "=", "stack_pointer_rtx", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "base_rtx", ",", "save_fp", "*", "UNITS_PER_WORD", ")", ")", ";", "emit_frame_insn", "(", "gen_movsi", "(", "mem", ",", "gen_rtx_REG", "(", "SImode", ",", "LINK_REGNUM", ")", ")", ")", ";", "}", "}", ""], "natrual_language": ["This", "function", "generates", "the", "code", "for", "function", "entry", "."], "TS_V_token": ["visium", "0", "1", "0", "1", "1", "65535"], "File": "visium2", "Func": "visium_expand_prologue", "Target": "visium", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 1384, "Length": 431, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rs6000_emit_set_const", "(", "rtx", "dest", ",", "rtx", "source", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "rtx", "temp", ",", "set", ";", "rtx_insn", "*", "insn", ";", "HOST_WIDE_INT", "c", ";", "gcc_checking_assert", "(", "CONST_INT_P", "(", "source", ")", ")", ";", "c", "=", "INTVAL", "(", "source", ")", ";", "switch", "(", "mode", ")", "{", "case", "QImode", ":", "case", "HImode", ":", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "source", ")", ")", ";", "return", "true", ";", "case", "SImode", ":", "temp", "=", "!", "can_create_pseudo_p", "(", ")", "?", "dest", ":", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "copy_rtx", "(", "temp", ")", ",", "GEN_INT", "(", "c", "&", "~", "(", "HOST_WIDE_INT", ")", "0xffff", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "gen_rtx_IOR", "(", "SImode", ",", "copy_rtx", "(", "temp", ")", ",", "GEN_INT", "(", "c", "&", "0xffff", ")", ")", ")", ")", ";", "break", ";", "case", "DImode", ":", "if", "(", "!", "TARGET_POWERPC64", ")", "{", "rtx", "hi", ",", "lo", ";", "hi", "=", "operand_subword_force", "(", "copy_rtx", "(", "dest", ")", ",", "WORDS_BIG_ENDIAN", "==", "0", ",", "DImode", ")", ";", "lo", "=", "operand_subword_force", "(", "dest", ",", "WORDS_BIG_ENDIAN", "!=", "0", ",", "DImode", ")", ";", "emit_move_insn", "(", "hi", ",", "GEN_INT", "(", "c", ">>", "32", ")", ")", ";", "c", "=", "(", "(", "c", "&", "0xffffffff", ")", "^", "0x80000000", ")", "-", "0x80000000", ";", "emit_move_insn", "(", "lo", ",", "GEN_INT", "(", "c", ")", ")", ";", "}", "else", "rs6000_emit_set_long_const", "(", "dest", ",", "c", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "insn", "=", "get_last_insn", "(", ")", ";", "set", "=", "single_set", "(", "insn", ")", ";", "if", "(", "!", "CONSTANT_P", "(", "SET_SRC", "(", "set", ")", ")", ")", "set_unique_reg_note", "(", "insn", ",", "REG_EQUAL", ",", "GEN_INT", "(", "c", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Try", "to", "output", "insns", "to", "set", "TARGET", "equal", "to", "the", "constant", "C", "if", "it", "can", "be", "done", "in", "less", "than", "N", "insns", ".", "Do", "all", "computations", "in", "MODE", ".", "Returns", "the", "place", "where", "the", "output", "has", "been", "placed", "if", "it", "can", "be", "done", "and", "the", "insns", "have", "been", "emitted", ".", "If", "it", "would", "take", "more", "than", "N", "insns", ",", "zero", "is", "returned", "and", "no", "insns", "and", "emitted", "."], "TS_V_token": ["rs6000", "0xffff", "0xffff", "0", "0", "32", "0xffffffff", "0x80000000", "0x80000000"], "File": "rs60005", "Func": "rs6000_emit_set_const", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1385, "Length": 272, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "aarch64_reg_save_mode", "(", "tree", "fndecl", ",", "unsigned", "regno", ")", "{", "return", "GP_REGNUM_P", "(", "regno", ")", "?", "E_DImode", ":", "(", "aarch64_simd_decl_p", "(", "fndecl", ")", "?", "E_TFmode", ":", "E_DFmode", ")", ";", "}", ""], "natrual_language": ["Return", "the", "mode", "a", "register", "save/restore", "should", "use", ".", "DImode", "for", "integer", "registers", ",", "DFmode", "for", "FP", "registers", "in", "non-SIMD", "functions", "(", "they", "only", "save", "the", "bottom", "half", "of", "a", "128", "bit", "register", ")", ",", "or", "TFmode", "for", "FP", "registers", "in", "SIMD", "functions", "."], "TS_V_token": ["aarch64"], "File": "aarch646", "Func": "aarch64_reg_save_mode", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1386, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "HexagonTargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InFlag", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "SDLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "SDValue", "Callee", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC_Hexagon", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "SDValue", "RetVal", ";", "if", "(", "RVLocs", "[", "i", "]", ".", "getValVT", "(", ")", "==", "MVT", "::", "i1", ")", "{", "auto", "&", "MRI", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ";", "SDValue", "FR0", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ",", "MVT", "::", "i32", ",", "InFlag", ")", ";", "unsigned", "PredR", "=", "MRI", ".", "createVirtualRegister", "(", "&", "Hexagon", "::", "PredRegsRegClass", ")", ";", "SDValue", "TPR", "=", "DAG", ".", "getCopyToReg", "(", "FR0", ".", "getValue", "(", "1", ")", ",", "dl", ",", "PredR", ",", "FR0", ".", "getValue", "(", "0", ")", ",", "FR0", ".", "getValue", "(", "2", ")", ")", ";", "RetVal", "=", "DAG", ".", "getCopyFromReg", "(", "TPR", ".", "getValue", "(", "0", ")", ",", "dl", ",", "PredR", ",", "MVT", "::", "i1", ",", "TPR", ".", "getValue", "(", "1", ")", ")", ";", "}", "else", "{", "RetVal", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ",", "RVLocs", "[", "i", "]", ".", "getValVT", "(", ")", ",", "InFlag", ")", ";", "}", "InVals", ".", "push_back", "(", "RetVal", ".", "getValue", "(", "0", ")", ")", ";", "Chain", "=", "RetVal", ".", "getValue", "(", "1", ")", ";", "InFlag", "=", "RetVal", ".", "getValue", "(", "2", ")", ";", "}", "return", "Chain", ";", "}", ""], "natrual_language": ["LowerCallResult", "-", "Lower", "the", "result", "values", "of", "an", "ISD", ":", ":CALL", "into", "the", "appropriate", "copies", "out", "of", "appropriate", "physical", "registers", "."], "TS_V_token": ["Hexagon", "Hexagon", "ISD::InputArg", "16", "Hexagon", "0", "MVT::i1", "MVT::i32", "Hexagon::PredRegsRegClass", "1", "0", "2", "0", "MVT::i1", "1", "0", "1", "2"], "File": "HexagonISelLowering13", "Func": "LowerCallResult", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1387, "Length": 320, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86TargetLowering", "::", "emitBitTestAtomicRMWIntrinsic", "(", "AtomicRMWInst", "*", "AI", ")", "const", "{", "IRBuilder", "<", ">", "Builder", "(", "AI", ")", ";", "Intrinsic", "::", "ID", "IID", "=", "Intrinsic", "::", "not_intrinsic", ";", "switch", "(", "AI", "->", "getOperation", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown atomic operation\"", ")", ";", "case", "AtomicRMWInst", "::", "Or", ":", "IID", "=", "Intrinsic", "::", "x86_atomic_bts", ";", "break", ";", "case", "AtomicRMWInst", "::", "Xor", ":", "IID", "=", "Intrinsic", "::", "x86_atomic_btc", ";", "break", ";", "case", "AtomicRMWInst", "::", "And", ":", "IID", "=", "Intrinsic", "::", "x86_atomic_btr", ";", "break", ";", "}", "Instruction", "*", "I", "=", "AI", "->", "user_back", "(", ")", ";", "LLVMContext", "&", "Ctx", "=", "AI", "->", "getContext", "(", ")", ";", "unsigned", "Imm", "=", "countTrailingZeros", "(", "cast", "<", "ConstantInt", ">", "(", "I", "->", "getOperand", "(", "1", ")", ")", "->", "getZExtValue", "(", ")", ")", ";", "Function", "*", "BitTest", "=", "Intrinsic", "::", "getDeclaration", "(", "AI", "->", "getModule", "(", ")", ",", "IID", ",", "AI", "->", "getType", "(", ")", ")", ";", "Value", "*", "Addr", "=", "Builder", ".", "CreatePointerCast", "(", "AI", "->", "getPointerOperand", "(", ")", ",", "Type", "::", "getInt8PtrTy", "(", "Ctx", ")", ")", ";", "Value", "*", "Result", "=", "Builder", ".", "CreateCall", "(", "BitTest", ",", "{", "Addr", ",", "Builder", ".", "getInt8", "(", "Imm", ")", "}", ")", ";", "I", "->", "replaceAllUsesWith", "(", "Result", ")", ";", "I", "->", "eraseFromParent", "(", ")", ";", "AI", "->", "eraseFromParent", "(", ")", ";", "}", ""], "natrual_language": ["Perform", "a", "bit", "test", "atomicrmw", "using", "a", "target-specific", "intrinsic", "."], "TS_V_token": ["X86", "X86", "Intrinsic::ID", "Intrinsic::not_intrinsic", "\"Unknown atomic operation\"", "Intrinsic::x86_atomic_bts", "Intrinsic::x86_atomic_btc", "Intrinsic::x86_atomic_btr", "1", "Intrinsic::getDeclaration"], "File": "X86ISelLowering100", "Func": "emitBitTestAtomicRMWIntrinsic", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1388, "Length": 214, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TLCS900FrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "TLCS900MachineFunctionInfo", "*", "TLCS900FI", "=", "MF", ".", "getInfo", "<", "TLCS900MachineFunctionInfo", ">", "(", ")", ";", "const", "TLCS900InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "TLCS900InstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "unsigned", "RetOpcode", "=", "MBBI", "->", "getOpcode", "(", ")", ";", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "switch", "(", "RetOpcode", ")", "{", "case", "TLCS900", "::", "RET", ":", "case", "TLCS900", "::", "RETI", ":", "break", ";", "default", ":", "llvm_unreachable", "(", "\"Can only insert epilog into returning blocks\"", ")", ";", "}", "uint64_t", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "unsigned", "CSSize", "=", "TLCS900FI", "->", "getCalleeSavedFrameSize", "(", ")", ";", "uint64_t", "NumBytes", "=", "0", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "uint64_t", "FrameSize", "=", "StackSize", "-", "2", ";", "NumBytes", "=", "FrameSize", "-", "CSSize", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "TLCS900", "::", "POP16r", ")", ",", "TLCS900", "::", "FPW", ")", ";", "}", "else", "NumBytes", "=", "StackSize", "-", "CSSize", ";", "while", "(", "MBBI", "!=", "MBB", ".", "begin", "(", ")", ")", "{", "MachineBasicBlock", "::", "iterator", "PI", "=", "prior", "(", "MBBI", ")", ";", "unsigned", "Opc", "=", "PI", "->", "getOpcode", "(", ")", ";", "if", "(", "Opc", "!=", "TLCS900", "::", "POP16r", "&&", "!", "PI", "->", "isTerminator", "(", ")", ")", "break", ";", "--", "MBBI", ";", "}", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "MFI", "->", "hasVarSizedObjects", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "TLCS900", "::", "MOV16rr", ")", ",", "TLCS900", "::", "SPW", ")", ".", "addReg", "(", "TLCS900", "::", "FPW", ")", ";", "if", "(", "CSSize", ")", "{", "MachineInstr", "*", "MI", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "TLCS900", "::", "SUB16ri", ")", ",", "TLCS900", "::", "SPW", ")", ".", "addReg", "(", "TLCS900", "::", "SPW", ")", ".", "addImm", "(", "CSSize", ")", ";", "MI", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "}", "}", "else", "{", "if", "(", "NumBytes", ")", "{", "MachineInstr", "*", "MI", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "TLCS900", "::", "ADD16ri", ")", ",", "TLCS900", "::", "SPW", ")", ".", "addReg", "(", "TLCS900", "::", "SPW", ")", ".", "addImm", "(", "NumBytes", ")", ";", "MI", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "}", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["TLCS900", "TLCS900", "TLCS900", "TLCS900", "TLCS900", "TLCS900", "TLCS900", "TLCS900::RET", "TLCS900::RETI", "\"Can only insert epilog into returning blocks\"", "TLCS900", "0", "2", "TLCS900::POP16r", "TLCS900::FPW", "TLCS900::POP16r", "TLCS900::MOV16rr", "TLCS900::SPW", "TLCS900::FPW", "TLCS900::SUB16ri", "TLCS900::SPW", "TLCS900::SPW", "3", "TLCS900::ADD16ri", "TLCS900::SPW", "TLCS900::SPW", "3"], "File": "TLCS900FrameLowering", "Func": "emitEpilogue", "Target": "TLCS900", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1389, "Length": 403, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SMLoc", "getEndLoc", "(", ")", "const", "override", "{", "return", "EndLoc", ";", "}", ""], "natrual_language": ["getEndLoc", "-", "Get", "the", "location", "of", "the", "last", "token", "of", "this", "operand", "."], "TS_V_token": ["X86"], "File": "X86Operand (2)", "Func": "getEndLoc", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1390, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmBackend", "::", "shouldForceRelocation", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ")", "{", "const", "MCSymbolRefExpr", "*", "A", "=", "Target", ".", "getSymA", "(", ")", ";", "const", "MCSymbol", "*", "Sym", "=", "A", "?", "&", "A", "->", "getSymbol", "(", ")", ":", "nullptr", ";", "const", "unsigned", "FixupKind", "=", "Fixup", ".", "getKind", "(", ")", ";", "if", "(", "FixupKind", "==", "FK_NONE", ")", "return", "true", ";", "if", "(", "FixupKind", "==", "ARM", "::", "fixup_arm_thumb_bl", ")", "{", "assert", "(", "Sym", "&&", "\"How did we resolve this?\"", ")", ";", "if", "(", "Sym", "->", "isExternal", "(", ")", ")", "return", "true", ";", "}", "if", "(", "Sym", "&&", "Sym", "->", "isELF", "(", ")", ")", "{", "unsigned", "Type", "=", "cast", "<", "MCSymbolELF", ">", "(", "Sym", ")", "->", "getType", "(", ")", ";", "if", "(", "(", "Type", "==", "ELF", "::", "STT_FUNC", "||", "Type", "==", "ELF", "::", "STT_GNU_IFUNC", ")", ")", "{", "if", "(", "Asm", ".", "isThumbFunc", "(", "Sym", ")", "&&", "(", "FixupKind", "==", "ARM", "::", "fixup_arm_uncondbranch", ")", ")", "return", "true", ";", "if", "(", "!", "Asm", ".", "isThumbFunc", "(", "Sym", ")", "&&", "(", "FixupKind", "==", "ARM", "::", "fixup_arm_thumb_br", "||", "FixupKind", "==", "ARM", "::", "fixup_arm_thumb_bl", "||", "FixupKind", "==", "ARM", "::", "fixup_t2_condbranch", "||", "FixupKind", "==", "ARM", "::", "fixup_t2_uncondbranch", ")", ")", "return", "true", ";", "}", "}", "if", "(", "A", "&&", "(", "FixupKind", "==", "ARM", "::", "fixup_arm_thumb_blx", "||", "FixupKind", "==", "ARM", "::", "fixup_arm_blx", "||", "FixupKind", "==", "ARM", "::", "fixup_arm_uncondbl", "||", "FixupKind", "==", "ARM", "::", "fixup_arm_condbl", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Hook", "to", "check", "if", "a", "relocation", "is", "needed", "for", "some", "target", "specific", "reason", "."], "TS_V_token": ["ARM", "ARM", "ARM::fixup_arm_thumb_bl", "\"How did we resolve this?\"", "ARM::fixup_arm_uncondbranch", "ARM::fixup_arm_thumb_br", "ARM::fixup_arm_thumb_bl", "ARM::fixup_t2_condbranch", "ARM::fixup_t2_uncondbranch", "ARM::fixup_arm_thumb_blx", "ARM::fixup_arm_blx", "ARM::fixup_arm_uncondbl", "ARM::fixup_arm_condbl"], "File": "ARMAsmBackend27", "Func": "shouldForceRelocation", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1391, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rbt_left_rotate", "(", "struct", "rbt_strings", "*", "t", ",", "struct", "rbt_string_node", "*", "node", ")", "{", "struct", "rbt_string_node", "*", "right", "=", "node", "->", "right", ";", "assert", "(", "right", ")", ";", "node", "->", "right", "=", "right", "->", "left", ";", "if", "(", "right", "->", "left", "!=", "t", "->", "rbt_nil", ")", "right", "->", "left", "->", "par", "=", "node", ";", "right", "->", "par", "=", "node", "->", "par", ";", "if", "(", "node", "->", "par", "==", "t", "->", "rbt_nil", ")", "t", "->", "rbt_root", "=", "right", ";", "else", "if", "(", "node", "==", "node", "->", "par", "->", "left", ")", "node", "->", "par", "->", "left", "=", "right", ";", "else", "node", "->", "par", "->", "right", "=", "right", ";", "right", "->", "left", "=", "node", ";", "node", "->", "par", "=", "right", ";", "}", ""], "natrual_language": ["Perform", "a", "left-rotate", "operation", "on", "NODE", "in", "the", "red-black", "tree", "."], "TS_V_token": ["rs6000"], "File": "rbtree", "Func": "rbt_left_rotate", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1392, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb2RegisterInfo", "::", "emitLoadConstPool", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "DebugLoc", "dl", ",", "unsigned", "DestReg", ",", "unsigned", "SubIdx", ",", "int", "Val", ",", "ARMCC", "::", "CondCodes", "Pred", ",", "unsigned", "PredReg", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineConstantPool", "*", "ConstantPool", "=", "MF", ".", "getConstantPool", "(", ")", ";", "const", "Constant", "*", "C", "=", "ConstantInt", "::", "get", "(", "Type", "::", "getInt32Ty", "(", "MBB", ".", "getParent", "(", ")", "->", "getFunction", "(", ")", "->", "getContext", "(", ")", ")", ",", "Val", ")", ";", "unsigned", "Idx", "=", "ConstantPool", "->", "getConstantPoolIndex", "(", "C", ",", "4", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ARM", "::", "t2LDRpci", ")", ")", ".", "addReg", "(", "DestReg", ",", "getDefRegState", "(", "true", ")", ",", "SubIdx", ")", ".", "addConstantPoolIndex", "(", "Idx", ")", ".", "addImm", "(", "(", "int64_t", ")", "ARMCC", "::", "AL", ")", ".", "addReg", "(", "0", ")", ";", "}", ""], "natrual_language": ["emitLoadConstPool", "-", "Emits", "a", "load", "from", "constpool", "to", "materialize", "the", "specified", "immediate", "."], "TS_V_token": ["ARM", "ARMCC::CondCodes", "4", "ARM::t2LDRpci", "ARMCC::AL", "0"], "File": "Thumb2RegisterInfo1", "Func": "emitLoadConstPool", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1393, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nvptx_emit_joining", "(", "unsigned", "mask", ",", "bool", "is_call", ")", "{", "mask", "&=", "(", "GOMP_DIM_MASK", "(", "GOMP_DIM_WORKER", ")", "|", "GOMP_DIM_MASK", "(", "GOMP_DIM_VECTOR", ")", ")", ";", "if", "(", "mask", ")", "{", "rtx", "op", "=", "GEN_INT", "(", "mask", "|", "(", "is_call", "<<", "GOMP_DIM_MAX", ")", ")", ";", "emit_insn", "(", "gen_nvptx_joining", "(", "op", ")", ")", ";", "emit_insn", "(", "gen_nvptx_join", "(", "op", ")", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "joining", "instructions", "for", "MASK", "."], "TS_V_token": ["nvptx"], "File": "nvptx", "Func": "nvptx_emit_joining", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 1394, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "is", "(", "unsigned", "T", ")", "const", "{", "assert", "(", "T", "==", "0", "||", "T", "==", "1", ")", ";", "return", "T", "==", "0", "?", "Type", "==", "Zero", ":", "(", "T", "==", "1", "?", "Type", "==", "One", ":", "false", ")", ";", "}", ""], "natrual_language": ["Check", "if", "the", "current", "token", "has", "kind", "K", "."], "TS_V_token": ["Hexagon", "0", "1", "0", "1"], "File": "BitTracker", "Func": "is", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1395, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "msp430_print_operand_addr", "(", "FILE", "*", "file", ",", "machine_mode", ",", "rtx", "addr", ")", "{", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "case", "PLUS", ":", "msp430_print_operand_raw", "(", "file", ",", "XEXP", "(", "addr", ",", "1", ")", ")", ";", "gcc_assert", "(", "REG_P", "(", "XEXP", "(", "addr", ",", "0", ")", ")", ")", ";", "fprintf", "(", "file", ",", "\"(%s)\"", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "]", ")", ";", "return", ";", "case", "REG", ":", "fprintf", "(", "file", ",", "\"@\"", ")", ";", "break", ";", "case", "CONST", ":", "case", "CONST_INT", ":", "case", "SYMBOL_REF", ":", "case", "LABEL_REF", ":", "fprintf", "(", "file", ",", "\"&\"", ")", ";", "break", ";", "default", ":", "break", ";", "}", "msp430_print_operand_raw", "(", "file", ",", "addr", ")", ";", "}", ""], "natrual_language": ["Output", "to", "stdio", "stream", "FILE", "the", "assembler", "syntax", "for", "an", "instruction", "operand", "that", "is", "a", "memory", "reference", "whose", "address", "is", "ADDR", "."], "TS_V_token": ["msp430", "1", "0", "\"(%s)\"", "0", "\"@\"", "\"&\""], "File": "msp4303", "Func": "msp430_print_operand_addr", "Target": "msp430", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1396, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ARMTargetLowering", "::", "getScalingFactorCost", "(", "const", "DataLayout", "&", "DL", ",", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ")", "const", "{", "if", "(", "isLegalAddressingMode", "(", "DL", ",", "AM", ",", "Ty", ",", "AS", ")", ")", "{", "if", "(", "Subtarget", "->", "hasFPAO", "(", ")", ")", "return", "AM", ".", "Scale", "<", "0", "?", "1", ":", "0", ";", "return", "0", ";", "}", "return", "-", "1", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "the", "scaling", "factor", "used", "in", "the", "addressing", "mode", "represented", "by", "AM", "for", "this", "target", ",", "for", "a", "load/store", "of", "the", "specified", "type", "."], "TS_V_token": ["ARM", "ARM", "0", "1", "0", "0", "1"], "File": "ARMISelLowering (2)6", "Func": "getScalingFactorCost", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1397, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVInstrInfo", "::", "buildOutlinedFrame", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineFunction", "&", "MF", ",", "const", "outliner", "::", "OutlinedFunction", "&", "OF", ")", "const", "{", "bool", "Changed", "=", "true", ";", "while", "(", "Changed", ")", "{", "Changed", "=", "false", ";", "auto", "I", "=", "MBB", ".", "begin", "(", ")", ";", "auto", "E", "=", "MBB", ".", "end", "(", ")", ";", "for", "(", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "I", "->", "isCFIInstruction", "(", ")", ")", "{", "I", "->", "removeFromParent", "(", ")", ";", "Changed", "=", "true", ";", "break", ";", "}", "}", "}", "MBB", ".", "insert", "(", "MBB", ".", "end", "(", ")", ",", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "RISCV", "::", "JALR", ")", ")", ".", "addReg", "(", "RISCV", "::", "X0", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "RISCV", "::", "X5", ")", ".", "addImm", "(", "0", ")", ")", ";", "}", ""], "natrual_language": ["Insert", "a", "custom", "frame", "for", "outlined", "functions", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::JALR", "RISCV::X0", "RISCV::X5", "0"], "File": "RISCVInstrInfo31", "Func": "buildOutlinedFrame", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1398, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mprocAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "return", "true", ";", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["mproc", "mproc", "0"], "File": "mprocAsmPrinter", "Func": "PrintAsmOperand", "Target": "mproc", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1399, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "Patmos", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"FK_Patmos_BO_7\"", ",", "25", ",", "7", ",", "0", "}", ",", "{", "\"FK_Patmos_SO_7\"", ",", "25", ",", "7", ",", "0", "}", ",", "{", "\"FK_Patmos_WO_7\"", ",", "25", ",", "7", ",", "0", "}", ",", "{", "\"FK_Patmos_abs_ALUi\"", ",", "20", ",", "12", ",", "0", "}", ",", "{", "\"FK_Patmos_abs_CFLi\"", ",", "10", ",", "22", ",", "0", "}", ",", "{", "\"FK_Patmos_abs_ALUl\"", ",", "32", ",", "32", ",", "0", "}", ",", "{", "\"FK_Patmos_stc\"", ",", "14", ",", "18", ",", "0", "}", ",", "{", "\"FK_Patmos_PCrel\"", ",", "10", ",", "22", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "}", ";", "if", "(", "Kind", "<", "FirstTargetFixupKind", ")", "return", "MCAsmBackend", "::", "getFixupKindInfo", "(", "Kind", ")", ";", "assert", "(", "unsigned", "(", "Kind", "-", "FirstTargetFixupKind", ")", "<", "getNumFixupKinds", "(", ")", "&&", "\"Invalid kind!\"", ")", ";", "return", "Infos", "[", "Kind", "-", "FirstTargetFixupKind", "]", ";", "}", ""], "natrual_language": ["Get", "information", "on", "a", "fixup", "kind", "."], "TS_V_token": ["Patmos", "Patmos::NumTargetFixupKinds", "\"FK_Patmos_BO_7\"", "25", "7", "0", "\"FK_Patmos_SO_7\"", "25", "7", "0", "\"FK_Patmos_WO_7\"", "25", "7", "0", "\"FK_Patmos_abs_ALUi\"", "20", "12", "0", "\"FK_Patmos_abs_CFLi\"", "10", "22", "0", "\"FK_Patmos_abs_ALUl\"", "32", "32", "0", "\"FK_Patmos_stc\"", "14", "18", "0", "\"FK_Patmos_PCrel\"", "10", "22", "\"Invalid kind!\""], "File": "PatmosAsmBackend", "Func": "getFixupKindInfo", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 1400, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsSEInstrInfo", "::", "getOppositeBranchOpc", "(", "unsigned", "Opc", ")", "const", "{", "switch", "(", "Opc", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Illegal opcode!\"", ")", ";", "case", "Mips", "::", "BEQ", ":", "return", "Mips", "::", "BNE", ";", "case", "Mips", "::", "BEQ_MM", ":", "return", "Mips", "::", "BNE_MM", ";", "case", "Mips", "::", "BNE", ":", "return", "Mips", "::", "BEQ", ";", "case", "Mips", "::", "BNE_MM", ":", "return", "Mips", "::", "BEQ_MM", ";", "case", "Mips", "::", "BGTZ", ":", "return", "Mips", "::", "BLEZ", ";", "case", "Mips", "::", "BGEZ", ":", "return", "Mips", "::", "BLTZ", ";", "case", "Mips", "::", "BLTZ", ":", "return", "Mips", "::", "BGEZ", ";", "case", "Mips", "::", "BLEZ", ":", "return", "Mips", "::", "BGTZ", ";", "case", "Mips", "::", "BEQ64", ":", "return", "Mips", "::", "BNE64", ";", "case", "Mips", "::", "BNE64", ":", "return", "Mips", "::", "BEQ64", ";", "case", "Mips", "::", "BGTZ64", ":", "return", "Mips", "::", "BLEZ64", ";", "case", "Mips", "::", "BGEZ64", ":", "return", "Mips", "::", "BLTZ64", ";", "case", "Mips", "::", "BLTZ64", ":", "return", "Mips", "::", "BGEZ64", ";", "case", "Mips", "::", "BLEZ64", ":", "return", "Mips", "::", "BGTZ64", ";", "case", "Mips", "::", "BC1T", ":", "return", "Mips", "::", "BC1F", ";", "case", "Mips", "::", "BC1F", ":", "return", "Mips", "::", "BC1T", ";", "case", "Mips", "::", "BEQZC_MM", ":", "return", "Mips", "::", "BNEZC_MM", ";", "case", "Mips", "::", "BNEZC_MM", ":", "return", "Mips", "::", "BEQZC_MM", ";", "case", "Mips", "::", "BEQZC", ":", "return", "Mips", "::", "BNEZC", ";", "case", "Mips", "::", "BNEZC", ":", "return", "Mips", "::", "BEQZC", ";", "case", "Mips", "::", "BEQC", ":", "return", "Mips", "::", "BNEC", ";", "case", "Mips", "::", "BNEC", ":", "return", "Mips", "::", "BEQC", ";", "case", "Mips", "::", "BGTZC", ":", "return", "Mips", "::", "BLEZC", ";", "case", "Mips", "::", "BGEZC", ":", "return", "Mips", "::", "BLTZC", ";", "case", "Mips", "::", "BLTZC", ":", "return", "Mips", "::", "BGEZC", ";", "case", "Mips", "::", "BLEZC", ":", "return", "Mips", "::", "BGTZC", ";", "case", "Mips", "::", "BEQZC64", ":", "return", "Mips", "::", "BNEZC64", ";", "case", "Mips", "::", "BNEZC64", ":", "return", "Mips", "::", "BEQZC64", ";", "case", "Mips", "::", "BEQC64", ":", "return", "Mips", "::", "BNEC64", ";", "case", "Mips", "::", "BNEC64", ":", "return", "Mips", "::", "BEQC64", ";", "case", "Mips", "::", "BGEC64", ":", "return", "Mips", "::", "BLTC64", ";", "case", "Mips", "::", "BGEUC64", ":", "return", "Mips", "::", "BLTUC64", ";", "case", "Mips", "::", "BLTC64", ":", "return", "Mips", "::", "BGEC64", ";", "case", "Mips", "::", "BLTUC64", ":", "return", "Mips", "::", "BGEUC64", ";", "case", "Mips", "::", "BGTZC64", ":", "return", "Mips", "::", "BLEZC64", ";", "case", "Mips", "::", "BGEZC64", ":", "return", "Mips", "::", "BLTZC64", ";", "case", "Mips", "::", "BLTZC64", ":", "return", "Mips", "::", "BGEZC64", ";", "case", "Mips", "::", "BLEZC64", ":", "return", "Mips", "::", "BGTZC64", ";", "}", "}", ""], "natrual_language": ["getOppositeBranchOpc", "-", "Return", "the", "inverse", "of", "the", "specified", "opcode", ",", "e.g", "."], "TS_V_token": ["Mips", "Mips", "\"Illegal opcode!\"", "Mips::BEQ", "Mips::BNE", "Mips::BEQ_MM", "Mips::BNE_MM", "Mips::BNE", "Mips::BEQ", "Mips::BNE_MM", "Mips::BEQ_MM", "Mips::BGTZ", "Mips::BLEZ", "Mips::BGEZ", "Mips::BLTZ", "Mips::BLTZ", "Mips::BGEZ", "Mips::BLEZ", "Mips::BGTZ", "Mips::BEQ64", "Mips::BNE64", "Mips::BNE64", "Mips::BEQ64", "Mips::BGTZ64", "Mips::BLEZ64", "Mips::BGEZ64", "Mips::BLTZ64", "Mips::BLTZ64", "Mips::BGEZ64", "Mips::BLEZ64", "Mips::BGTZ64", "Mips::BC1T", "Mips::BC1F", "Mips::BC1F", "Mips::BC1T", "Mips::BEQZC_MM", "Mips::BNEZC_MM", "Mips::BNEZC_MM", "Mips::BEQZC_MM", "Mips::BEQZC", "Mips::BNEZC", "Mips::BNEZC", "Mips::BEQZC", "Mips::BEQC", "Mips::BNEC", "Mips::BNEC", "Mips::BEQC", "Mips::BGTZC", "Mips::BLEZC", "Mips::BGEZC", "Mips::BLTZC", "Mips::BLTZC", "Mips::BGEZC", "Mips::BLEZC", "Mips::BGTZC", "Mips::BEQZC64", "Mips::BNEZC64", "Mips::BNEZC64", "Mips::BEQZC64", "Mips::BEQC64", "Mips::BNEC64", "Mips::BNEC64", "Mips::BEQC64", "Mips::BGEC64", "Mips::BLTC64", "Mips::BGEUC64", "Mips::BLTUC64", "Mips::BLTC64", "Mips::BGEC64", "Mips::BLTUC64", "Mips::BGEUC64", "Mips::BGTZC64", "Mips::BLEZC64", "Mips::BGEZC64", "Mips::BLTZC64", "Mips::BLTZC64", "Mips::BGEZC64", "Mips::BLEZC64", "Mips::BGTZC64"], "File": "MipsSEInstrInfo10", "Func": "getOppositeBranchOpc", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1401, "Length": 404, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonPassConfig", "::", "addPreSched2", "(", ")", "{", "addPass", "(", "createHexagonCopyToCombine", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "&", "IfConverterID", ")", ";", "addPass", "(", "createHexagonSplitConst32AndConst64", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "after", "prolog-epilog", "insertion", "and", "before", "the", "second", "instruction", "scheduling", "pass", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "Hexagon"], "File": "HexagonTargetMachine", "Func": "addPreSched2", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1402, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "v850_return_in_memory", "(", "tree", "type", ",", "tree", "fntype", "ATTRIBUTE_UNUSED", ")", "{", "return", "int_size_in_bytes", "(", "type", ")", ">", "8", "||", "TYPE_MODE", "(", "type", ")", "==", "BLKmode", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_RETURN_IN_MEMORY", "."], "TS_V_token": ["v850", "8"], "File": "v8503", "Func": "v850_return_in_memory", "Target": "v850", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1403, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "WebAssemblyInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "auto", "&", "MRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "DestReg", ")", "?", "MRI", ".", "getRegClass", "(", "DestReg", ")", ":", "MRI", ".", "getTargetRegisterInfo", "(", ")", "->", "getMinimalPhysRegClass", "(", "DestReg", ")", ";", "unsigned", "CopyLocalOpcode", ";", "if", "(", "RC", "==", "&", "WebAssembly", "::", "I32RegClass", ")", "CopyLocalOpcode", "=", "WebAssembly", "::", "COPY_LOCAL_I32", ";", "else", "if", "(", "RC", "==", "&", "WebAssembly", "::", "I64RegClass", ")", "CopyLocalOpcode", "=", "WebAssembly", "::", "COPY_LOCAL_I64", ";", "else", "if", "(", "RC", "==", "&", "WebAssembly", "::", "F32RegClass", ")", "CopyLocalOpcode", "=", "WebAssembly", "::", "COPY_LOCAL_F32", ";", "else", "if", "(", "RC", "==", "&", "WebAssembly", "::", "F64RegClass", ")", "CopyLocalOpcode", "=", "WebAssembly", "::", "COPY_LOCAL_F64", ";", "else", "llvm_unreachable", "(", "\"Unexpected register class\"", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "CopyLocalOpcode", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "KillSrc", "?", "RegState", "::", "Kill", ":", "0", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["WebAssembly", "WebAssembly", "WebAssembly::I32RegClass", "WebAssembly::COPY_LOCAL_I32", "WebAssembly::I64RegClass", "WebAssembly::COPY_LOCAL_I64", "WebAssembly::F32RegClass", "WebAssembly::COPY_LOCAL_F32", "WebAssembly::F64RegClass", "WebAssembly::COPY_LOCAL_F64", "\"Unexpected register class\"", "0"], "File": "WebAssemblyInstrInfo28", "Func": "copyPhysReg", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1404, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "VEInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "VE", "::", "STrii", "||", "MI", ".", "getOpcode", "(", ")", "==", "VE", "::", "STLrii", "||", "MI", ".", "getOpcode", "(", ")", "==", "VE", "::", "STUrii", "||", "MI", ".", "getOpcode", "(", ")", "==", "VE", "::", "STQrii", ")", "{", "if", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "isFI", "(", ")", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", "==", "0", "&&", "MI", ".", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", "&&", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "==", "0", ")", "{", "FrameIndex", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getIndex", "(", ")", ";", "return", "MI", ".", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", ";", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["isStoreToStackSlot", "-", "If", "the", "specified", "machine", "instruction", "is", "a", "direct", "store", "to", "a", "stack", "slot", ",", "return", "the", "virtual", "or", "physical", "register", "number", "of", "the", "source", "reg", "along", "with", "the", "FrameIndex", "of", "the", "loaded", "stack", "slot", "."], "TS_V_token": ["VE", "VE", "VE::STrii", "VE::STLrii", "VE::STUrii", "VE::STQrii", "0", "1", "1", "0", "2", "2", "0", "0", "3", "0"], "File": "VEInstrInfo", "Func": "isStoreToStackSlot", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1405, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64FrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "DL", ";", "SmallVector", "<", "RegPairInfo", ",", "8", ">", "RegPairs", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "bool", "NeedShadowCallStackProlog", "=", "false", ";", "computeCalleeSaveRegisterPairs", "(", "MF", ",", "CSI", ",", "TRI", ",", "RegPairs", ",", "NeedShadowCallStackProlog", ")", ";", "auto", "EmitMI", "=", "[", "&", "]", "(", "const", "RegPairInfo", "&", "RPI", ")", "{", "unsigned", "Reg1", "=", "RPI", ".", "Reg1", ";", "unsigned", "Reg2", "=", "RPI", ".", "Reg2", ";", "unsigned", "LdrOpc", ";", "if", "(", "RPI", ".", "IsGPR", ")", "LdrOpc", "=", "RPI", ".", "isPaired", "(", ")", "?", "AArch64", "::", "LDPXi", ":", "AArch64", "::", "LDRXui", ";", "else", "LdrOpc", "=", "RPI", ".", "isPaired", "(", ")", "?", "AArch64", "::", "LDPDi", ":", "AArch64", "::", "LDRDui", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"CSR restore: (\"", "<<", "printReg", "(", "Reg1", ",", "TRI", ")", ";", "if", "(", "RPI", ".", "isPaired", "(", ")", ")", "dbgs", "(", ")", "<<", "\", \"", "<<", "printReg", "(", "Reg2", ",", "TRI", ")", ";", "dbgs", "(", ")", "<<", "\") -> fi#(\"", "<<", "RPI", ".", "FrameIdx", ";", "if", "(", "RPI", ".", "isPaired", "(", ")", ")", "dbgs", "(", ")", "<<", "\", \"", "<<", "RPI", ".", "FrameIdx", "+", "1", ";", "dbgs", "(", ")", "<<", "\")\\n\"", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "LdrOpc", ")", ")", ";", "if", "(", "RPI", ".", "isPaired", "(", ")", ")", "{", "MIB", ".", "addReg", "(", "Reg2", ",", "getDefRegState", "(", "true", ")", ")", ";", "MIB", ".", "addMemOperand", "(", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "RPI", ".", "FrameIdx", "+", "1", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "8", ",", "8", ")", ")", ";", "}", "MIB", ".", "addReg", "(", "Reg1", ",", "getDefRegState", "(", "true", ")", ")", ".", "addReg", "(", "AArch64", "::", "SP", ")", ".", "addImm", "(", "RPI", ".", "Offset", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameDestroy", ")", ";", "MIB", ".", "addMemOperand", "(", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "RPI", ".", "FrameIdx", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "8", ",", "8", ")", ")", ";", "}", ";", "if", "(", "ReverseCSRRestoreSeq", ")", "for", "(", "const", "RegPairInfo", "&", "RPI", ":", "reverse", "(", "RegPairs", ")", ")", "EmitMI", "(", "RPI", ")", ";", "else", "for", "(", "const", "RegPairInfo", "&", "RPI", ":", "RegPairs", ")", "EmitMI", "(", "RPI", ")", ";", "if", "(", "NeedShadowCallStackProlog", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "AArch64", "::", "LDRXpre", ")", ")", ".", "addReg", "(", "AArch64", "::", "X18", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "AArch64", "::", "LR", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "AArch64", "::", "X18", ")", ".", "addImm", "(", "-", "8", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameDestroy", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["restoreCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "restore", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "load", "instructions", "via", "loadRegToStackSlot", "(", ")", "."], "TS_V_token": ["AArch64", "AArch64", "8", "AArch64::LDPXi", "AArch64::LDRXui", "AArch64::LDPDi", "AArch64::LDRDui", "\"CSR restore: (\"", "\", \"", "\") -> fi#(\"", "\", \"", "1", "\")\\n\"", "1", "8", "8", "AArch64::SP", "8", "8", "AArch64::LDRXpre", "AArch64::X18", "AArch64::LR", "AArch64::X18", "8"], "File": "AArch64FrameLowering10", "Func": "restoreCalleeSavedRegisters", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1406, "Length": 488, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "AArch64TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "TargetRegisterInfo", "*", "TRI", ",", "const", "std", "::", "string", "&", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'r'", ":", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "64", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "AArch64", "::", "GPR64commonRegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "AArch64", "::", "GPR32commonRegClass", ")", ";", "case", "'w'", ":", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "AArch64", "::", "FPR32RegClass", ")", ";", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "64", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "AArch64", "::", "FPR64RegClass", ")", ";", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "128", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "AArch64", "::", "FPR128RegClass", ")", ";", "break", ";", "case", "'x'", ":", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "128", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "AArch64", "::", "FPR128_loRegClass", ")", ";", "break", ";", "}", "}", "if", "(", "StringRef", "(", "\"{cc}\"", ")", ".", "equals_lower", "(", "Constraint", ")", ")", "return", "std", "::", "make_pair", "(", "unsigned", "(", "AArch64", "::", "NZCV", ")", ",", "&", "AArch64", "::", "CCRRegClass", ")", ";", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "Res", ";", "Res", "=", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "TRI", ",", "Constraint", ",", "VT", ")", ";", "if", "(", "!", "Res", ".", "second", ")", "{", "unsigned", "Size", "=", "Constraint", ".", "size", "(", ")", ";", "if", "(", "(", "Size", "==", "4", "||", "Size", "==", "5", ")", "&&", "Constraint", "[", "0", "]", "==", "'{'", "&&", "tolower", "(", "Constraint", "[", "1", "]", ")", "==", "'v'", "&&", "Constraint", "[", "Size", "-", "1", "]", "==", "'}'", ")", "{", "const", "std", "::", "string", "Reg", "=", "std", "::", "string", "(", "&", "Constraint", "[", "2", "]", ",", "&", "Constraint", "[", "Size", "-", "1", "]", ")", ";", "int", "RegNo", "=", "atoi", "(", "Reg", ".", "c_str", "(", ")", ")", ";", "if", "(", "RegNo", ">=", "0", "&&", "RegNo", "<=", "31", ")", "{", "Res", ".", "first", "=", "AArch64", "::", "FPR128RegClass", ".", "getRegister", "(", "RegNo", ")", ";", "Res", ".", "second", "=", "&", "AArch64", "::", "FPR128RegClass", ";", "}", "}", "}", "return", "Res", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["AArch64", "AArch64", "1", "0", "64", "0U", "AArch64::GPR64commonRegClass", "0U", "AArch64::GPR32commonRegClass", "MVT::f32", "0U", "AArch64::FPR32RegClass", "64", "0U", "AArch64::FPR64RegClass", "128", "0U", "AArch64::FPR128RegClass", "128", "0U", "AArch64::FPR128_loRegClass", "\"{cc}\"", "AArch64::NZCV", "AArch64::CCRRegClass", "4", "5", "0", "1", "1", "2", "1", "0", "31", "AArch64::FPR128RegClass", "AArch64::FPR128RegClass"], "File": "AArch64ISelLowering116", "Func": "getRegForInlineAsmConstraint", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1407, "Length": 379, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVFrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "SavedRegs", ".", "set", "(", "RISCV", "::", "X1", ")", ";", "SavedRegs", ".", "set", "(", "RISCV", "::", "X8", ")", ";", "}", "if", "(", "hasBP", "(", "MF", ")", ")", "SavedRegs", ".", "set", "(", "RISCVABI", "::", "getBPReg", "(", ")", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "\"interrupt\"", ")", "&&", "MFI", ".", "hasCalls", "(", ")", ")", "{", "static", "const", "MCPhysReg", "CSRegs", "[", "]", "=", "{", "RISCV", "::", "X1", ",", "RISCV", "::", "X5", ",", "RISCV", "::", "X6", ",", "RISCV", "::", "X7", ",", "RISCV", "::", "X10", ",", "RISCV", "::", "X11", ",", "RISCV", "::", "X12", ",", "RISCV", "::", "X13", ",", "RISCV", "::", "X14", ",", "RISCV", "::", "X15", ",", "RISCV", "::", "X16", ",", "RISCV", "::", "X17", ",", "RISCV", "::", "X28", ",", "RISCV", "::", "X29", ",", "RISCV", "::", "X30", ",", "RISCV", "::", "X31", ",", "0", "}", ";", "for", "(", "unsigned", "i", "=", "0", ";", "CSRegs", "[", "i", "]", ";", "++", "i", ")", "SavedRegs", ".", "set", "(", "CSRegs", "[", "i", "]", ")", ";", "if", "(", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ".", "hasStdExtF", "(", ")", ")", "{", "const", "MCPhysReg", "*", "Regs", "=", "MF", ".", "getRegInfo", "(", ")", ".", "getCalleeSavedRegs", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "Regs", "[", "i", "]", ";", "++", "i", ")", "if", "(", "RISCV", "::", "FPR16RegClass", ".", "contains", "(", "Regs", "[", "i", "]", ")", "||", "RISCV", "::", "FPR32RegClass", ".", "contains", "(", "Regs", "[", "i", "]", ")", "||", "RISCV", "::", "FPR64RegClass", ".", "contains", "(", "Regs", "[", "i", "]", ")", ")", "SavedRegs", ".", "set", "(", "Regs", "[", "i", "]", ")", ";", "}", "}", "}", ""], "natrual_language": ["This", "method", "determines", "which", "of", "the", "registers", "reported", "by", "TargetRegisterInfo", ":", ":getCalleeSavedRegs", "(", ")", "should", "actually", "get", "saved", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::X1", "RISCV::X8", "RISCVABI::getBPReg", "\"interrupt\"", "RISCV::X1", "RISCV::X5", "RISCV::X6", "RISCV::X7", "RISCV::X10", "RISCV::X11", "RISCV::X12", "RISCV::X13", "RISCV::X14", "RISCV::X15", "RISCV::X16", "RISCV::X17", "RISCV::X28", "RISCV::X29", "RISCV::X30", "RISCV::X31", "0", "0", "RISCV", "0", "RISCV::FPR16RegClass", "RISCV::FPR32RegClass", "RISCV::FPR64RegClass"], "File": "RISCVFrameLowering (2)", "Func": "determineCalleeSaves", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1408, "Length": 302, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "RISCVFunctionInfo", "*", "RISCVFI", "=", "MF", ".", "getInfo", "<", "RISCVFunctionInfo", ">", "(", ")", ";", "const", "RISCVRegisterInfo", "*", "RegInfo", "=", "static_cast", "<", "const", "RISCVRegisterInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "const", "RISCVInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "RISCVInstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "const", "RISCVSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ";", "unsigned", "SP", "=", "STI", ".", "isRV64", "(", ")", "?", "RISCV", "::", "sp_64", ":", "RISCV", "::", "sp", ";", "unsigned", "FP", "=", "STI", ".", "isRV64", "(", ")", "?", "RISCV", "::", "fp_64", ":", "RISCV", "::", "fp", ";", "unsigned", "ZERO", "=", "STI", ".", "isRV64", "(", ")", "?", "RISCV", "::", "zero_64", ":", "RISCV", "::", "zero", ";", "unsigned", "ADDu", "=", "STI", ".", "isRV64", "(", ")", "?", "RISCV", "::", "ADD64", ":", "RISCV", "::", "ADD", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "MachineBasicBlock", "::", "iterator", "I", "=", "MBBI", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "MFI", "->", "getCalleeSavedInfo", "(", ")", ".", "size", "(", ")", ";", "++", "i", ")", "--", "I", ";", "BuildMI", "(", "MBB", ",", "I", ",", "dl", ",", "TII", ".", "get", "(", "ADDu", ")", ",", "SP", ")", ".", "addReg", "(", "FP", ")", ".", "addReg", "(", "ZERO", ")", ";", "}", "if", "(", "RISCVFI", "->", "getCallsEhReturn", "(", ")", ")", "{", "const", "TargetRegisterClass", "*", "RC", "=", "&", "RISCV", "::", "GR32BitRegClass", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "MBBI", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "MFI", "->", "getCalleeSavedInfo", "(", ")", ".", "size", "(", ")", ";", "++", "i", ")", "--", "I", ";", "for", "(", "int", "J", "=", "0", ";", "J", "<", "4", ";", "++", "J", ")", "{", "TII", ".", "loadRegFromStackSlot", "(", "MBB", ",", "I", ",", "ehDataReg", "(", "J", ")", ",", "RISCVFI", "->", "getEhDataRegFI", "(", "J", ")", ",", "RC", ",", "RegInfo", ")", ";", "}", "}", "uint64_t", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "!", "StackSize", ")", "return", ";", "TII", ".", "adjustStackPtr", "(", "SP", ",", "StackSize", ",", "MBB", ",", "MBBI", ")", ";", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "RISCV", "RISCV", "RISCV", "RISCV", "RISCV", "RISCV", "RISCV", "RISCV", "RISCV::sp_64", "RISCV::sp", "RISCV::fp_64", "RISCV::fp", "RISCV::zero_64", "RISCV::zero", "RISCV::ADD64", "RISCV::ADD", "0", "RISCV", "RISCV::GR32BitRegClass", "0", "0", "4", "RISCV"], "File": "RISCVFrameLowering (2)1", "Func": "emitEpilogue", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1409, "Length": 379, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "expandPostRAPseudo", "(", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "Reloc", "::", "Model", "RM", "=", "MF", ".", "getTarget", "(", ")", ".", "getRelocationModel", "(", ")", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "LOAD_STACK_GUARD", ")", "{", "assert", "(", "getSubtarget", "(", ")", ".", "getTargetTriple", "(", ")", ".", "isOSBinFormatMachO", "(", ")", "&&", "\"LOAD_STACK_GUARD currently supported only for MachO.\"", ")", ";", "expandLoadStackGuard", "(", "MI", ",", "RM", ")", ";", "MI", "->", "getParent", "(", ")", "->", "erase", "(", "MI", ")", ";", "return", "true", ";", "}", "if", "(", "!", "WidenVMOVS", "||", "!", "MI", "->", "isCopy", "(", ")", "||", "Subtarget", ".", "isCortexA15", "(", ")", "||", "Subtarget", ".", "isFPOnlySP", "(", ")", ")", "return", "false", ";", "unsigned", "DstRegS", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "unsigned", "SrcRegS", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "if", "(", "!", "ARM", "::", "SPRRegClass", ".", "contains", "(", "DstRegS", ",", "SrcRegS", ")", ")", "return", "false", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "&", "getRegisterInfo", "(", ")", ";", "unsigned", "DstRegD", "=", "TRI", "->", "getMatchingSuperReg", "(", "DstRegS", ",", "ARM", "::", "ssub_0", ",", "&", "ARM", "::", "DPRRegClass", ")", ";", "unsigned", "SrcRegD", "=", "TRI", "->", "getMatchingSuperReg", "(", "SrcRegS", ",", "ARM", "::", "ssub_0", ",", "&", "ARM", "::", "DPRRegClass", ")", ";", "if", "(", "!", "DstRegD", "||", "!", "SrcRegD", ")", "return", "false", ";", "if", "(", "!", "MI", "->", "definesRegister", "(", "DstRegD", ",", "TRI", ")", "||", "MI", "->", "readsRegister", "(", "DstRegD", ",", "TRI", ")", ")", "return", "false", ";", "if", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "isDead", "(", ")", ")", "return", "false", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"widening: \"", "<<", "*", "MI", ")", ";", "MachineInstrBuilder", "MIB", "(", "*", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ",", "MI", ")", ";", "int", "ImpDefIdx", "=", "MI", "->", "findRegisterDefOperandIdx", "(", "DstRegD", ")", ";", "if", "(", "ImpDefIdx", "!=", "-", "1", ")", "MI", "->", "RemoveOperand", "(", "ImpDefIdx", ")", ";", "MI", "->", "setDesc", "(", "get", "(", "ARM", "::", "VMOVD", ")", ")", ";", "MI", "->", "getOperand", "(", "0", ")", ".", "setReg", "(", "DstRegD", ")", ";", "MI", "->", "getOperand", "(", "1", ")", ".", "setReg", "(", "SrcRegD", ")", ";", "AddDefaultPred", "(", "MIB", ")", ";", "MI", "->", "getOperand", "(", "1", ")", ".", "setIsUndef", "(", ")", ";", "MIB", ".", "addReg", "(", "SrcRegS", ",", "RegState", "::", "Implicit", ")", ";", "if", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "isKill", "(", ")", ")", "{", "MI", "->", "getOperand", "(", "1", ")", ".", "setIsKill", "(", "false", ")", ";", "MI", "->", "addRegisterKilled", "(", "SrcRegS", ",", "TRI", ",", "true", ")", ";", "}", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"replaced by: \"", "<<", "*", "MI", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "function", "is", "called", "for", "all", "pseudo", "instructions", "that", "remain", "after", "register", "allocation", "."], "TS_V_token": ["ARM", "ARM", "\"LOAD_STACK_GUARD currently supported only for MachO.\"", "0", "1", "ARM::SPRRegClass", "ARM::ssub_0", "ARM::DPRRegClass", "ARM::ssub_0", "ARM::DPRRegClass", "0", "\"widening: \"", "1", "ARM::VMOVD", "0", "1", "1", "1", "1", "\"replaced by: \""], "File": "ARMBaseInstrInfo105", "Func": "expandPostRAPseudo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1410, "Length": 435, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "assignValueToReg", "(", "unsigned", "ValVReg", ",", "unsigned", "PhysReg", ",", "CCValAssign", "&", "VA", ")", "override", "{", "MIRBuilder", ".", "getMBB", "(", ")", ".", "addLiveIn", "(", "PhysReg", ")", ";", "MIRBuilder", ".", "buildCopy", "(", "ValVReg", ",", "PhysReg", ")", ";", "}", ""], "natrual_language": ["The", "specified", "value", "has", "been", "assigned", "to", "a", "physical", "register", ",", "handle", "the", "appropriate", "COPY", "(", "either", "to", "or", "from", ")", "and", "mark", "any", "relevant", "uses/defines", "as", "needed", "."], "TS_V_token": ["X86"], "File": "X86CallLowering16", "Func": "assignValueToReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1411, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZTargetLowering", "::", "LowerOperationWrapper", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "ATOMIC_LOAD", ":", "{", "SDLoc", "DL", "(", "N", ")", ";", "SDVTList", "Tys", "=", "DAG", ".", "getVTList", "(", "MVT", "::", "Untyped", ",", "MVT", "::", "Other", ")", ";", "SDValue", "Ops", "[", "]", "=", "{", "N", "->", "getOperand", "(", "0", ")", ",", "N", "->", "getOperand", "(", "1", ")", "}", ";", "MachineMemOperand", "*", "MMO", "=", "cast", "<", "AtomicSDNode", ">", "(", "N", ")", "->", "getMemOperand", "(", ")", ";", "SDValue", "Res", "=", "DAG", ".", "getMemIntrinsicNode", "(", "SystemZISD", "::", "ATOMIC_LOAD_128", ",", "DL", ",", "Tys", ",", "Ops", ",", "MVT", "::", "i128", ",", "MMO", ")", ";", "Results", ".", "push_back", "(", "lowerGR128ToI128", "(", "DAG", ",", "Res", ")", ")", ";", "Results", ".", "push_back", "(", "Res", ".", "getValue", "(", "1", ")", ")", ";", "break", ";", "}", "case", "ISD", "::", "ATOMIC_STORE", ":", "{", "SDLoc", "DL", "(", "N", ")", ";", "SDVTList", "Tys", "=", "DAG", ".", "getVTList", "(", "MVT", "::", "Other", ")", ";", "SDValue", "Ops", "[", "]", "=", "{", "N", "->", "getOperand", "(", "0", ")", ",", "lowerI128ToGR128", "(", "DAG", ",", "N", "->", "getOperand", "(", "2", ")", ")", ",", "N", "->", "getOperand", "(", "1", ")", "}", ";", "MachineMemOperand", "*", "MMO", "=", "cast", "<", "AtomicSDNode", ">", "(", "N", ")", "->", "getMemOperand", "(", ")", ";", "SDValue", "Res", "=", "DAG", ".", "getMemIntrinsicNode", "(", "SystemZISD", "::", "ATOMIC_STORE_128", ",", "DL", ",", "Tys", ",", "Ops", ",", "MVT", "::", "i128", ",", "MMO", ")", ";", "if", "(", "cast", "<", "AtomicSDNode", ">", "(", "N", ")", "->", "getOrdering", "(", ")", "==", "AtomicOrdering", "::", "SequentiallyConsistent", ")", "Res", "=", "SDValue", "(", "DAG", ".", "getMachineNode", "(", "SystemZ", "::", "Serialize", ",", "DL", ",", "MVT", "::", "Other", ",", "Res", ")", ",", "0", ")", ";", "Results", ".", "push_back", "(", "Res", ")", ";", "break", ";", "}", "case", "ISD", "::", "ATOMIC_CMP_SWAP_WITH_SUCCESS", ":", "{", "SDLoc", "DL", "(", "N", ")", ";", "SDVTList", "Tys", "=", "DAG", ".", "getVTList", "(", "MVT", "::", "Untyped", ",", "MVT", "::", "Other", ",", "MVT", "::", "Glue", ")", ";", "SDValue", "Ops", "[", "]", "=", "{", "N", "->", "getOperand", "(", "0", ")", ",", "N", "->", "getOperand", "(", "1", ")", ",", "lowerI128ToGR128", "(", "DAG", ",", "N", "->", "getOperand", "(", "2", ")", ")", ",", "lowerI128ToGR128", "(", "DAG", ",", "N", "->", "getOperand", "(", "3", ")", ")", "}", ";", "MachineMemOperand", "*", "MMO", "=", "cast", "<", "AtomicSDNode", ">", "(", "N", ")", "->", "getMemOperand", "(", ")", ";", "SDValue", "Res", "=", "DAG", ".", "getMemIntrinsicNode", "(", "SystemZISD", "::", "ATOMIC_CMP_SWAP_128", ",", "DL", ",", "Tys", ",", "Ops", ",", "MVT", "::", "i128", ",", "MMO", ")", ";", "SDValue", "Success", "=", "emitSETCC", "(", "DAG", ",", "DL", ",", "Res", ".", "getValue", "(", "2", ")", ",", "SystemZ", "::", "CCMASK_CS", ",", "SystemZ", "::", "CCMASK_CS_EQ", ")", ";", "Success", "=", "DAG", ".", "getZExtOrTrunc", "(", "Success", ",", "DL", ",", "N", "->", "getValueType", "(", "1", ")", ")", ";", "Results", ".", "push_back", "(", "lowerGR128ToI128", "(", "DAG", ",", "Res", ")", ")", ";", "Results", ".", "push_back", "(", "Success", ")", ";", "Results", ".", "push_back", "(", "Res", ".", "getValue", "(", "1", ")", ")", ";", "break", ";", "}", "default", ":", "llvm_unreachable", "(", "\"Unexpected node to lower\"", ")", ";", "}", "}", ""], "natrual_language": ["This", "callback", "is", "invoked", "by", "the", "type", "legalizer", "to", "legalize", "nodes", "with", "an", "illegal", "operand", "type", "but", "legal", "result", "types", "."], "TS_V_token": ["SystemZ", "SystemZ", "ISD::ATOMIC_LOAD", "MVT::Untyped", "MVT::Other", "0", "1", "SystemZISD::ATOMIC_LOAD_128", "MVT::i128", "1", "ISD::ATOMIC_STORE", "MVT::Other", "0", "2", "1", "SystemZISD::ATOMIC_STORE_128", "MVT::i128", "SystemZ::Serialize", "MVT::Other", "0", "ISD::ATOMIC_CMP_SWAP_WITH_SUCCESS", "MVT::Untyped", "MVT::Other", "MVT::Glue", "0", "1", "2", "3", "SystemZISD::ATOMIC_CMP_SWAP_128", "MVT::i128", "2", "SystemZ::CCMASK_CS", "SystemZ::CCMASK_CS_EQ", "1", "1", "\"Unexpected node to lower\""], "File": "SystemZISelLowering121", "Func": "LowerOperationWrapper", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1412, "Length": 499, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "arm_get_vfp_saved_size", "(", "void", ")", "{", "unsigned", "int", "regno", ";", "int", "count", ";", "int", "saved", ";", "saved", "=", "0", ";", "if", "(", "TARGET_HARD_FLOAT", "&&", "TARGET_VFP", ")", "{", "count", "=", "0", ";", "for", "(", "regno", "=", "FIRST_VFP_REGNUM", ";", "regno", "<", "LAST_VFP_REGNUM", ";", "regno", "+=", "2", ")", "{", "if", "(", "(", "!", "df_regs_ever_live_p", "(", "regno", ")", "||", "call_used_regs", "[", "regno", "]", ")", "&&", "(", "!", "df_regs_ever_live_p", "(", "regno", "+", "1", ")", "||", "call_used_regs", "[", "regno", "+", "1", "]", ")", ")", "{", "if", "(", "count", ">", "0", ")", "{", "if", "(", "count", "==", "2", "&&", "!", "arm_arch6", ")", "count", "++", ";", "saved", "+=", "count", "*", "8", ";", "}", "count", "=", "0", ";", "}", "else", "count", "++", ";", "}", "if", "(", "count", ">", "0", ")", "{", "if", "(", "count", "==", "2", "&&", "!", "arm_arch6", ")", "count", "++", ";", "saved", "+=", "count", "*", "8", ";", "}", "}", "return", "saved", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "bytes", "required", "to", "save", "VFP", "registers", "."], "TS_V_token": ["arm", "0", "0", "2", "1", "1", "0", "2", "8", "0", "0", "2", "8"], "File": "arm4", "Func": "arm_get_vfp_saved_size", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1413, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "MCP", "=", "MF", ".", "getConstantPool", "(", ")", ";", "SetupMachineFunction", "(", "MF", ")", ";", "if", "(", "Subtarget", "->", "isTargetCOFF", "(", ")", ")", "{", "bool", "Internal", "=", "MF", ".", "getFunction", "(", ")", "->", "hasInternalLinkage", "(", ")", ";", "COFF", "::", "SymbolStorageClass", "Scl", "=", "Internal", "?", "COFF", "::", "IMAGE_SYM_CLASS_STATIC", ":", "COFF", "::", "IMAGE_SYM_CLASS_EXTERNAL", ";", "int", "Type", "=", "COFF", "::", "IMAGE_SYM_DTYPE_FUNCTION", "<<", "COFF", "::", "SCT_COMPLEX_TYPE_SHIFT", ";", "OutStreamer", ".", "BeginCOFFSymbolDef", "(", "CurrentFnSym", ")", ";", "OutStreamer", ".", "EmitCOFFSymbolStorageClass", "(", "Scl", ")", ";", "OutStreamer", ".", "EmitCOFFSymbolType", "(", "Type", ")", ";", "OutStreamer", ".", "EndCOFFSymbolDef", "(", ")", ";", "}", "EmitFunctionHeader", "(", ")", ";", "EmitFunctionBody", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMAsmPrinter1", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1414, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MSP430RegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "SPAdj", "==", "0", "&&", "\"Unexpected\"", ")", ";", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "MSP430FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "DebugLoc", "dl", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "getIndex", "(", ")", ";", "unsigned", "BasePtr", "=", "(", "TFI", "->", "hasFP", "(", "MF", ")", "?", "MSP430", "::", "FP", ":", "MSP430", "::", "SP", ")", ";", "int", "Offset", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getObjectOffset", "(", "FrameIndex", ")", ";", "Offset", "+=", "2", ";", "if", "(", "!", "TFI", "->", "hasFP", "(", "MF", ")", ")", "Offset", "+=", "MF", ".", "getFrameInfo", "(", ")", ".", "getStackSize", "(", ")", ";", "else", "Offset", "+=", "2", ";", "Offset", "+=", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "1", ")", ".", "getImm", "(", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "MSP430", "::", "ADD16ri", ")", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MI", ".", "setDesc", "(", "TII", ".", "get", "(", "MSP430", "::", "MOV16rr", ")", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "BasePtr", ",", "false", ")", ";", "if", "(", "Offset", "==", "0", ")", "return", ";", "unsigned", "DstReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "if", "(", "Offset", "<", "0", ")", "BuildMI", "(", "MBB", ",", "std", "::", "next", "(", "II", ")", ",", "dl", ",", "TII", ".", "get", "(", "MSP430", "::", "SUB16ri", ")", ",", "DstReg", ")", ".", "addReg", "(", "DstReg", ")", ".", "addImm", "(", "-", "Offset", ")", ";", "else", "BuildMI", "(", "MBB", ",", "std", "::", "next", "(", "II", ")", ",", "dl", ",", "TII", ".", "get", "(", "MSP430", "::", "ADD16ri", ")", ",", "DstReg", ")", ".", "addReg", "(", "DstReg", ")", ".", "addImm", "(", "Offset", ")", ";", "return", ";", "}", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "BasePtr", ",", "false", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "1", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["MSP430", "MSP430", "0", "\"Unexpected\"", "MSP430", "MSP430::FP", "MSP430::SP", "2", "2", "1", "MSP430::ADD16ri", "MSP430::MOV16rr", "0", "0", "0", "MSP430::SUB16ri", "MSP430::ADD16ri", "1"], "File": "MSP430RegisterInfo41", "Func": "eliminateFrameIndex", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1415, "Length": 362, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "TeakRegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", ")", "const", "{", "return", "CSR_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["Teak", "Teak"], "File": "TeakRegisterInfo", "Func": "getCallPreservedMask", "Target": "Teak", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1416, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "assign_csky_minipool_offsets", "(", "Mfix", "*", "barrier", ")", "{", "HOST_WIDE_INT", "offset", "=", "0", ";", "Mnode", "*", "mp", ";", "minipool_barrier", "=", "barrier", ";", "for", "(", "mp", "=", "minipool_vector_head", ";", "mp", "!=", "NULL", ";", "mp", "=", "mp", "->", "next", ")", "{", "mp", "->", "offset", "=", "offset", ";", "if", "(", "mp", "->", "refcount", ">", "0", ")", "offset", "+=", "mp", "->", "fix_size", ";", "}", "}", ""], "natrual_language": ["Fill", "in", "the", "offsets", "for", "minipool", "entries", "."], "TS_V_token": ["csky", "0", "0"], "File": "csky", "Func": "assign_csky_minipool_offsets", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1417, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isConditionalBranch", "(", "const", "MachineInstr", "&", "MI", ")", "{", "return", "(", "MI", ".", "getOpcode", "(", ")", "==", "TPC", "::", "JMPR", "||", "MI", ".", "getOpcode", "(", ")", "==", "TPC", "::", "JMPA", ")", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "!=", "TPC", "::", "SP0", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "is", "a", "branch", "which", "may", "fall", "through", "to", "the", "next", "instruction", "or", "may", "transfer", "control", "flow", "to", "some", "other", "block", "."], "TS_V_token": ["TPC", "TPC::JMPR", "TPC::JMPA", "1", "TPC::SP0"], "File": "TPCInstrInfo", "Func": "isConditionalBranch", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1418, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"ARM pseudo instruction expansion pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "\"ARM pseudo instruction expansion pass\""], "File": "ARMExpandPseudoInsts (2)", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1419, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIInstrInfo", "::", "isOperandLegal", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpIdx", ",", "const", "MachineOperand", "*", "MO", ")", "const", "{", "const", "MachineRegisterInfo", "&", "MRI", "=", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "MCInstrDesc", "&", "InstDesc", "=", "get", "(", "MI", "->", "getOpcode", "(", ")", ")", ";", "const", "MCOperandInfo", "&", "OpInfo", "=", "InstDesc", ".", "OpInfo", "[", "OpIdx", "]", ";", "const", "TargetRegisterClass", "*", "DefinedRC", "=", "OpInfo", ".", "RegClass", "!=", "-", "1", "?", "RI", ".", "getRegClass", "(", "OpInfo", ".", "RegClass", ")", ":", "nullptr", ";", "if", "(", "!", "MO", ")", "MO", "=", "&", "MI", "->", "getOperand", "(", "OpIdx", ")", ";", "if", "(", "isVALU", "(", "InstDesc", ".", "Opcode", ")", "&&", "usesConstantBus", "(", "MRI", ",", "*", "MO", ",", "DefinedRC", "->", "getSize", "(", ")", ")", ")", "{", "unsigned", "SGPRUsed", "=", "MO", "->", "isReg", "(", ")", "?", "MO", "->", "getReg", "(", ")", ":", "(", "unsigned", ")", "AMDGPU", "::", "NoRegister", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "MI", "->", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "if", "(", "i", "==", "OpIdx", ")", "continue", ";", "const", "MachineOperand", "&", "Op", "=", "MI", "->", "getOperand", "(", "i", ")", ";", "if", "(", "Op", ".", "isReg", "(", ")", "&&", "Op", ".", "getReg", "(", ")", "!=", "SGPRUsed", "&&", "usesConstantBus", "(", "MRI", ",", "Op", ",", "getOpSize", "(", "*", "MI", ",", "i", ")", ")", ")", "{", "return", "false", ";", "}", "}", "}", "if", "(", "MO", "->", "isReg", "(", ")", ")", "{", "assert", "(", "DefinedRC", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "MRI", ".", "getRegClass", "(", "MO", "->", "getReg", "(", ")", ")", ";", "return", "RI", ".", "getCommonSubClass", "(", "RC", ",", "RI", ".", "getRegClass", "(", "OpInfo", ".", "RegClass", ")", ")", "==", "RC", ";", "}", "assert", "(", "MO", "->", "isImm", "(", ")", "||", "MO", "->", "isTargetIndex", "(", ")", "||", "MO", "->", "isFI", "(", ")", ")", ";", "if", "(", "!", "DefinedRC", ")", "{", "return", "true", ";", "}", "return", "isImmOperandLegal", "(", "MI", ",", "OpIdx", ",", "*", "MO", ")", ";", "}", ""], "natrual_language": ["Check", "if", "MO", "is", "a", "legal", "operand", "if", "it", "was", "the", "OpIdx", "Operand", "for", "MI", "."], "TS_V_token": ["R600", "SI", "1", "0"], "File": "SIInstrInfo101", "Func": "isOperandLegal", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1420, "Length": 323, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "BlockWaitcntBrackets", "::", "print", "(", "raw_ostream", "&", "OS", ")", "{", "OS", "<<", "'\\n'", ";", "for", "(", "enum", "InstCounterType", "T", "=", "VM_CNT", ";", "T", "<", "NUM_INST_CNTS", ";", "T", "=", "(", "enum", "InstCounterType", ")", "(", "T", "+", "1", ")", ")", "{", "int", "LB", "=", "getScoreLB", "(", "T", ")", ";", "int", "UB", "=", "getScoreUB", "(", "T", ")", ";", "switch", "(", "T", ")", "{", "case", "VM_CNT", ":", "OS", "<<", "\" VM_CNT(\"", "<<", "UB", "-", "LB", "<<", "\"): \"", ";", "break", ";", "case", "LGKM_CNT", ":", "OS", "<<", "\" LGKM_CNT(\"", "<<", "UB", "-", "LB", "<<", "\"): \"", ";", "break", ";", "case", "EXP_CNT", ":", "OS", "<<", "\" EXP_CNT(\"", "<<", "UB", "-", "LB", "<<", "\"): \"", ";", "break", ";", "default", ":", "OS", "<<", "\" UNKNOWN(\"", "<<", "UB", "-", "LB", "<<", "\"): \"", ";", "break", ";", "}", "if", "(", "LB", "<", "UB", ")", "{", "for", "(", "int", "J", "=", "0", ";", "J", "<=", "getMaxVGPR", "(", ")", ";", "J", "++", ")", "{", "int", "RegScore", "=", "getRegScore", "(", "J", ",", "T", ")", ";", "if", "(", "RegScore", "<=", "LB", ")", "continue", ";", "int", "RelScore", "=", "RegScore", "-", "LB", "-", "1", ";", "if", "(", "J", "<", "SQ_MAX_PGM_VGPRS", "+", "EXTRA_VGPR_LDS", ")", "{", "OS", "<<", "RelScore", "<<", "\":v\"", "<<", "J", "<<", "\" \"", ";", "}", "else", "{", "OS", "<<", "RelScore", "<<", "\":ds \"", ";", "}", "}", "if", "(", "T", "==", "LGKM_CNT", ")", "{", "for", "(", "int", "J", "=", "0", ";", "J", "<=", "getMaxSGPR", "(", ")", ";", "J", "++", ")", "{", "int", "RegScore", "=", "getRegScore", "(", "J", "+", "NUM_ALL_VGPRS", ",", "LGKM_CNT", ")", ";", "if", "(", "RegScore", "<=", "LB", ")", "continue", ";", "int", "RelScore", "=", "RegScore", "-", "LB", "-", "1", ";", "OS", "<<", "RelScore", "<<", "\":s\"", "<<", "J", "<<", "\" \"", ";", "}", "}", "}", "OS", "<<", "'\\n'", ";", "}", "OS", "<<", "'\\n'", ";", "return", ";", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["AMDGPU", "1", "\" VM_CNT(\"", "\"): \"", "\" LGKM_CNT(\"", "\"): \"", "\" EXP_CNT(\"", "\"): \"", "\" UNKNOWN(\"", "\"): \"", "0", "1", "\":v\"", "\" \"", "\":ds \"", "0", "1", "\":s\"", "\" \""], "File": "SIInsertWaitcnts11", "Func": "print", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1421, "Length": 279, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "direct_move_p", "(", "rtx", "op0", ",", "rtx", "op1", ")", "{", "int", "regno0", ",", "regno1", ";", "if", "(", "!", "REG_P", "(", "op0", ")", "||", "!", "REG_P", "(", "op1", ")", ")", "return", "false", ";", "if", "(", "!", "TARGET_DIRECT_MOVE", "&&", "!", "TARGET_MFPGPR", ")", "return", "false", ";", "regno0", "=", "REGNO", "(", "op0", ")", ";", "regno1", "=", "REGNO", "(", "op1", ")", ";", "if", "(", "!", "HARD_REGISTER_NUM_P", "(", "regno0", ")", "||", "!", "HARD_REGISTER_NUM_P", "(", "regno1", ")", ")", "return", "false", ";", "if", "(", "INT_REGNO_P", "(", "regno0", ")", ")", "return", "(", "TARGET_DIRECT_MOVE", ")", "?", "VSX_REGNO_P", "(", "regno1", ")", ":", "FP_REGNO_P", "(", "regno1", ")", ";", "else", "if", "(", "INT_REGNO_P", "(", "regno1", ")", ")", "{", "if", "(", "TARGET_MFPGPR", "&&", "FP_REGNO_P", "(", "regno0", ")", ")", "return", "true", ";", "else", "if", "(", "TARGET_DIRECT_MOVE", "&&", "VSX_REGNO_P", "(", "regno0", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "is", "a", "move", "direct", "operation", "between", "GPR", "registers", "and", "floating", "point/VSX", "registers", "."], "TS_V_token": ["rs6000"], "File": "rs60008", "Func": "direct_move_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1422, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "unsigned", "Opc", "=", "STI", ".", "is64Bit", "(", ")", "?", "X86", "::", "PUSH64r", ":", "X86", "::", "PUSH32r", ";", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "0", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "1", "]", ".", "getReg", "(", ")", ";", "if", "(", "!", "X86", "::", "GR64RegClass", ".", "contains", "(", "Reg", ")", "&&", "!", "X86", "::", "GR32RegClass", ".", "contains", "(", "Reg", ")", ")", "continue", ";", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "0", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "1", "]", ".", "getReg", "(", ")", ";", "if", "(", "X86", "::", "GR64RegClass", ".", "contains", "(", "Reg", ")", "||", "X86", "::", "GR32RegClass", ".", "contains", "(", "Reg", ")", ")", "continue", ";", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "TII", ".", "storeRegToStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "true", ",", "CSI", "[", "i", "-", "1", "]", ".", "getFrameIdx", "(", ")", ",", "RC", ",", "TRI", ")", ";", "--", "MI", ";", "MI", "->", "setFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "++", "MI", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["spillCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "spill", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "store", "instructions", "via", "storeRegToStackSlot", "(", ")", "."], "TS_V_token": ["X86", "X86", "X86::PUSH64r", "X86::PUSH32r", "0", "1", "X86::GR64RegClass", "X86::GR32RegClass", "0", "1", "X86::GR64RegClass", "X86::GR32RegClass", "1"], "File": "X86FrameLowering103", "Func": "spillCalleeSavedRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1423, "Length": 277, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "alpha_split_complex_arg", "(", "tree", "type", ")", "{", "return", "TYPE_MODE", "(", "type", ")", "!=", "TCmode", ";", "}", ""], "natrual_language": ["TCmode", "complex", "values", "are", "passed", "by", "invisible", "reference", ".", "We", "should", "not", "split", "these", "values", "."], "TS_V_token": ["alpha"], "File": "alpha3", "Func": "alpha_split_complex_arg", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1424, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "pru_expand_epilogue", "(", "bool", "sibcall_p", ")", "{", "int", "total_frame_size", ";", "int", "sp_adjust", ",", "save_offset", ";", "int", "regno_start", ";", "if", "(", "!", "sibcall_p", "&&", "pru_can_use_return_insn", "(", ")", ")", "{", "emit_jump_insn", "(", "gen_return", "(", ")", ")", ";", "return", ";", "}", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "total_frame_size", "=", "cfun", "->", "machine", "->", "total_size", ";", "if", "(", "frame_pointer_needed", ")", "{", "pru_add3_frame_adjust", "(", "stack_pointer_rtx", ",", "hard_frame_pointer_rtx", ",", "-", "cfun", "->", "machine", "->", "save_reg_size", ",", "REG_CFA_ADJUST_CFA", ")", ";", "save_offset", "=", "0", ";", "sp_adjust", "=", "total_frame_size", "-", "cfun", "->", "machine", "->", "save_regs_offset", ";", "}", "else", "if", "(", "!", "UBYTE_INT", "(", "total_frame_size", ")", ")", "{", "pru_add_to_sp", "(", "cfun", "->", "machine", "->", "save_regs_offset", ",", "REG_CFA_ADJUST_CFA", ")", ";", "save_offset", "=", "0", ";", "sp_adjust", "=", "total_frame_size", "-", "cfun", "->", "machine", "->", "save_regs_offset", ";", "}", "else", "{", "save_offset", "=", "cfun", "->", "machine", "->", "save_regs_offset", ";", "sp_adjust", "=", "total_frame_size", ";", "}", "regno_start", "=", "0", ";", "do", "regno_start", "=", "xbbo_next_reg_cluster", "(", "regno_start", ",", "&", "save_offset", ",", "false", ")", ";", "while", "(", "regno_start", ">=", "0", ")", ";", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "if", "(", "sp_adjust", ")", "pru_add_to_sp", "(", "sp_adjust", ",", "REG_CFA_ADJUST_CFA", ")", ";", "if", "(", "!", "sibcall_p", ")", "emit_jump_insn", "(", "gen_simple_return", "(", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "function", "epilogue", "."], "TS_V_token": ["pru", "0", "0", "0", "0"], "File": "pru", "Func": "pru_expand_epilogue", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1425, "Length": 195, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "M680x0RegisterInfo", "::", "getMatchingMegaReg", "(", "unsigned", "Reg", ",", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "for", "(", "MCSuperRegIterator", "Super", "(", "Reg", ",", "this", ")", ";", "Super", ".", "isValid", "(", ")", ";", "++", "Super", ")", "if", "(", "RC", "->", "contains", "(", "*", "Super", ")", ")", "return", "*", "Super", ";", "return", "0", ";", "}", ""], "natrual_language": ["Return", "a", "mega-register", "of", "the", "specified", "register", "Reg", "so", "its", "sub-register", "of", "index", "SubIdx", "is", "Reg", ",", "its", "super", "(", "or", "mega", ")", "Reg", "."], "TS_V_token": ["M680x0", "M680x0", "0"], "File": "M680x0RegisterInfo", "Func": "getMatchingMegaReg", "Target": "M680x0", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1426, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "XCoreTargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "const", "SDLoc", "&", "dl", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "XCoreFunctionInfo", "*", "XFI", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getInfo", "<", "XCoreFunctionInfo", ">", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getFrameInfo", "(", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "if", "(", "!", "isVarArg", ")", "CCInfo", ".", "AllocateStack", "(", "XFI", "->", "getReturnStackOffset", "(", ")", ",", "4", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_XCore", ")", ";", "SDValue", "Flag", ";", "SmallVector", "<", "SDValue", ",", "4", ">", "RetOps", "(", "1", ",", "Chain", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getConstant", "(", "0", ",", "dl", ",", "MVT", "::", "i32", ")", ")", ";", "SmallVector", "<", "SDValue", ",", "4", ">", "MemOpChains", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "RVLocs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "continue", ";", "assert", "(", "VA", ".", "isMemLoc", "(", ")", ")", ";", "if", "(", "isVarArg", ")", "{", "report_fatal_error", "(", "\"Can't return value from vararg function in memory\"", ")", ";", "}", "int", "Offset", "=", "VA", ".", "getLocMemOffset", "(", ")", ";", "unsigned", "ObjSize", "=", "VA", ".", "getLocVT", "(", ")", ".", "getSizeInBits", "(", ")", "/", "8", ";", "int", "FI", "=", "MFI", ".", "CreateFixedObject", "(", "ObjSize", ",", "Offset", ",", "false", ")", ";", "SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "MVT", "::", "i32", ")", ";", "MemOpChains", ".", "push_back", "(", "DAG", ".", "getStore", "(", "Chain", ",", "dl", ",", "OutVals", "[", "i", "]", ",", "FIN", ",", "MachinePointerInfo", "::", "getFixedStack", "(", "DAG", ".", "getMachineFunction", "(", ")", ",", "FI", ")", ")", ")", ";", "}", "if", "(", "!", "MemOpChains", ".", "empty", "(", ")", ")", "Chain", "=", "DAG", ".", "getNode", "(", "ISD", "::", "TokenFactor", ",", "dl", ",", "MVT", "::", "Other", ",", "MemOpChains", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "RVLocs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "if", "(", "!", "VA", ".", "isRegLoc", "(", ")", ")", "continue", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "OutVals", "[", "i", "]", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "VA", ".", "getLocReg", "(", ")", ",", "VA", ".", "getLocVT", "(", ")", ")", ")", ";", "}", "RetOps", "[", "0", "]", "=", "Chain", ";", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "RetOps", ".", "push_back", "(", "Flag", ")", ";", "return", "DAG", ".", "getNode", "(", "XCoreISD", "::", "RETSP", ",", "dl", ",", "MVT", "::", "Other", ",", "RetOps", ")", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "outgoing", "return", "values", ",", "described", "by", "the", "Outs", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["XCore", "XCore", "ISD::OutputArg", "XCore", "XCore", "16", "4", "XCore", "4", "1", "0", "MVT::i32", "4", "0", "\"Can't return value from vararg function in memory\"", "8", "MVT::i32", "ISD::TokenFactor", "MVT::Other", "0", "1", "0", "XCoreISD::RETSP", "MVT::Other"], "File": "XCoreISelLowering (2)1", "Func": "LowerReturn", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1427, "Length": 493, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "LoongArchTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "(", "LoongArchISD", "::", "NodeType", ")", "Opcode", ")", "{", "case", "LoongArchISD", "::", "FIRST_NUMBER", ":", "break", ";", "case", "LoongArchISD", "::", "node", ":", "\\", "return", "\"LoongArchISD::\"", "#", "node", ";", "NODE_NAME_CASE", "(", "RET", ")", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["LoongArch", "LoongArch", "LoongArchISD::NodeType", "LoongArchISD::FIRST_NUMBER", "LoongArchISD::node", "\"LoongArchISD::\""], "File": "LoongArchISelLowering1", "Func": "getTargetNodeName", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1428, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "s390_activate_target_options", "(", "tree", "new_tree", ")", "{", "cl_target_option_restore", "(", "&", "global_options", ",", "&", "global_options_set", ",", "TREE_TARGET_OPTION", "(", "new_tree", ")", ")", ";", "if", "(", "TREE_TARGET_GLOBALS", "(", "new_tree", ")", ")", "restore_target_globals", "(", "TREE_TARGET_GLOBALS", "(", "new_tree", ")", ")", ";", "else", "if", "(", "new_tree", "==", "target_option_default_node", ")", "restore_target_globals", "(", "&", "default_target_globals", ")", ";", "else", "TREE_TARGET_GLOBALS", "(", "new_tree", ")", "=", "save_target_globals_default_opts", "(", ")", ";", "s390_previous_fndecl", "=", "NULL_TREE", ";", "}", ""], "natrual_language": ["Restore", "targets", "globals", "from", "NEW_TREE", "and", "invalidate", "s390_previous_fndecl", "cache", "."], "TS_V_token": ["s390"], "File": "s390", "Func": "s390_activate_target_options", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1429, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SITargetLowering", "::", "isLegalAddressingMode", "(", "const", "DataLayout", "&", "DL", ",", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ",", "Instruction", "*", "I", ")", "const", "{", "if", "(", "AM", ".", "BaseGV", ")", "return", "false", ";", "if", "(", "AS", "==", "AMDGPUAS", "::", "GLOBAL_ADDRESS", ")", "return", "isLegalGlobalAddressingMode", "(", "AM", ")", ";", "if", "(", "AS", "==", "AMDGPUAS", "::", "CONSTANT_ADDRESS", "||", "AS", "==", "AMDGPUAS", "::", "CONSTANT_ADDRESS_32BIT", "||", "AS", "==", "AMDGPUAS", "::", "BUFFER_FAT_POINTER", ")", "{", "if", "(", "AM", ".", "BaseOffs", "%", "4", "!=", "0", ")", "return", "isLegalMUBUFAddressingMode", "(", "AM", ")", ";", "if", "(", "Ty", "->", "isSized", "(", ")", "&&", "DL", ".", "getTypeStoreSize", "(", "Ty", ")", "<", "4", ")", "return", "isLegalGlobalAddressingMode", "(", "AM", ")", ";", "if", "(", "Subtarget", "->", "getGeneration", "(", ")", "==", "AMDGPUSubtarget", "::", "SOUTHERN_ISLANDS", ")", "{", "if", "(", "!", "isUInt", "<", "8", ">", "(", "AM", ".", "BaseOffs", "/", "4", ")", ")", "return", "false", ";", "}", "else", "if", "(", "Subtarget", "->", "getGeneration", "(", ")", "==", "AMDGPUSubtarget", "::", "SEA_ISLANDS", ")", "{", "if", "(", "!", "isUInt", "<", "32", ">", "(", "AM", ".", "BaseOffs", "/", "4", ")", ")", "return", "false", ";", "}", "else", "if", "(", "Subtarget", "->", "getGeneration", "(", ")", ">=", "AMDGPUSubtarget", "::", "VOLCANIC_ISLANDS", ")", "{", "if", "(", "!", "isUInt", "<", "20", ">", "(", "AM", ".", "BaseOffs", ")", ")", "return", "false", ";", "}", "else", "llvm_unreachable", "(", "\"unhandled generation\"", ")", ";", "if", "(", "AM", ".", "Scale", "==", "0", ")", "return", "true", ";", "if", "(", "AM", ".", "Scale", "==", "1", "&&", "AM", ".", "HasBaseReg", ")", "return", "true", ";", "return", "false", ";", "}", "else", "if", "(", "AS", "==", "AMDGPUAS", "::", "PRIVATE_ADDRESS", ")", "{", "return", "isLegalMUBUFAddressingMode", "(", "AM", ")", ";", "}", "else", "if", "(", "AS", "==", "AMDGPUAS", "::", "LOCAL_ADDRESS", "||", "AS", "==", "AMDGPUAS", "::", "REGION_ADDRESS", ")", "{", "if", "(", "!", "isUInt", "<", "16", ">", "(", "AM", ".", "BaseOffs", ")", ")", "return", "false", ";", "if", "(", "AM", ".", "Scale", "==", "0", ")", "return", "true", ";", "if", "(", "AM", ".", "Scale", "==", "1", "&&", "AM", ".", "HasBaseReg", ")", "return", "true", ";", "return", "false", ";", "}", "else", "if", "(", "AS", "==", "AMDGPUAS", "::", "FLAT_ADDRESS", "||", "AS", "==", "AMDGPUAS", "::", "UNKNOWN_ADDRESS_SPACE", ")", "{", "return", "isLegalFlatAddressingMode", "(", "AM", ")", ";", "}", "return", "isLegalGlobalAddressingMode", "(", "AM", ")", ";", "}", ""], "natrual_language": ["isLegalAddressingMode", "-", "Return", "true", "if", "the", "addressing", "mode", "represented", "by", "AM", "is", "legal", "for", "this", "target", ",", "for", "a", "load/store", "of", "the", "specified", "type", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "4", "0", "4", "AMDGPU", "8", "4", "AMDGPU", "32", "4", "AMDGPU", "20", "\"unhandled generation\"", "0", "1", "AMDGPU", "AMDGPU", "AMDGPU", "16", "0", "1", "AMDGPU", "AMDGPU"], "File": "SIISelLowering10", "Func": "isLegalAddressingMode", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1430, "Length": 352, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "useStackGuardXorFP", "(", ")", "const", "{", "return", "Subtarget", ".", "getTargetTriple", "(", ")", ".", "isOSMSVCRT", "(", ")", ";", "}", ""], "natrual_language": ["If", "this", "function", "returns", "true", ",", "stack", "protection", "checks", "should", "XOR", "the", "frame", "pointer", "(", "or", "whichever", "pointer", "is", "used", "to", "address", "locals", ")", "into", "the", "stack", "guard", "value", "before", "checking", "it", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering (2)7", "Func": "useStackGuardXorFP", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1431, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonTargetObjectFile", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "SmallDataSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".sdata\"", ",", "ELF", "::", "SHT_PROGBITS", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ",", "SectionKind", "::", "getDataRel", "(", ")", ")", ";", "SmallBSSSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".sbss\"", ",", "ELF", "::", "SHT_NOBITS", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ",", "SectionKind", "::", "getBSS", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["Hexagon", "Hexagon", "\".sdata\"", "\".sbss\""], "File": "HexagonTargetObjectFile17", "Func": "Initialize", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1432, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineRegisterInfo", "&", "getRegInfo", "(", "Block", "&", "MBB", ")", "{", "return", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegInfo", "-", "Return", "information", "about", "the", "registers", "currently", "in", "use", "."], "TS_V_token": ["MCS51"], "File": "MCS51ExpandPseudoInsts", "Func": "getRegInfo", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1433, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isImm", "(", ")", "const", "override", "{", "return", "Kind", "==", "Immediate", "||", "Kind", "==", "Expression", ";", "}", ""], "natrual_language": ["isImm", "-", "Is", "this", "an", "immediate", "operand", "?"], "TS_V_token": ["PowerPC"], "File": "PPCAsmParser (2)1", "Func": "isImm", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1434, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "tilegx_function_profiler", "(", "FILE", "*", "file", ",", "int", "labelno", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "tilegx_in_bundle", ")", "{", "fprintf", "(", "file", ",", "\"\\t}\\n\"", ")", ";", "}", "if", "(", "cfun", "->", "static_chain_decl", ")", "{", "fprintf", "(", "file", ",", "\"\\t{\\n\"", "\"\\taddi\\tsp, sp, -16\\n\"", "\"\\tst\\tsp, r10\\n\"", "\"\\t}\\n\"", ")", ";", "}", "if", "(", "flag_pic", ")", "{", "fprintf", "(", "file", ",", "\"\\t{\\n\"", "\"\\tmove\\tr10, lr\\n\"", "\"\\tjal\\tplt(%s)\\n\"", "\"\\t}\\n\"", ",", "MCOUNT_NAME", ")", ";", "}", "else", "{", "fprintf", "(", "file", ",", "\"\\t{\\n\"", "\"\\tmove\\tr10, lr\\n\"", "\"\\tjal\\t%s\\n\"", "\"\\t}\\n\"", ",", "MCOUNT_NAME", ")", ";", "}", "if", "(", "cfun", "->", "static_chain_decl", ")", "{", "fprintf", "(", "file", ",", "\"\\taddi\\tsp, sp, 16\\n\"", "\"\\tld\\tr10, sp\\n\"", ")", ";", "}", "tilegx_in_bundle", "=", "false", ";", "}", ""], "natrual_language": ["Output", "assembler", "code", "to", "FILE", "to", "increment", "profiler", "label", "#", "LABELNO", "for", "profiling", "a", "function", "entry", "."], "TS_V_token": ["tilegx", "\"\\t}\\n\"", "\"\\t{\\n\"", "\"\\taddi\\tsp, sp, -16\\n\"", "\"\\tst\\tsp, r10\\n\"", "\"\\t}\\n\"", "\"\\t{\\n\"", "\"\\tmove\\tr10, lr\\n\"", "\"\\tjal\\tplt(%s)\\n\"", "\"\\t}\\n\"", "\"\\t{\\n\"", "\"\\tmove\\tr10, lr\\n\"", "\"\\tjal\\t%s\\n\"", "\"\\t}\\n\"", "\"\\taddi\\tsp, sp, 16\\n\"", "\"\\tld\\tr10, sp\\n\""], "File": "tilegx", "Func": "tilegx_function_profiler", "Target": "tilegx", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 1435, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_init_fcmla_laneq_builtins", "(", "void", ")", "{", "unsigned", "int", "i", "=", "0", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "aarch64_fcmla_lane_builtin_data", ")", ";", "++", "i", ")", "{", "aarch64_fcmla_laneq_builtin_datum", "*", "d", "=", "&", "aarch64_fcmla_lane_builtin_data", "[", "i", "]", ";", "tree", "argtype", "=", "aarch64_lookup_simd_builtin_type", "(", "d", "->", "mode", ",", "qualifier_none", ")", ";", "machine_mode", "quadmode", "=", "GET_MODE_2XWIDER_MODE", "(", "d", "->", "mode", ")", ".", "require", "(", ")", ";", "tree", "quadtype", "=", "aarch64_lookup_simd_builtin_type", "(", "quadmode", ",", "qualifier_none", ")", ";", "tree", "lanetype", "=", "aarch64_simd_builtin_std_type", "(", "SImode", ",", "qualifier_lane_pair_index", ")", ";", "tree", "ftype", "=", "build_function_type_list", "(", "argtype", ",", "argtype", ",", "argtype", ",", "quadtype", ",", "lanetype", ",", "NULL_TREE", ")", ";", "tree", "attrs", "=", "aarch64_get_attributes", "(", "FLAG_FP", ",", "d", "->", "mode", ")", ";", "tree", "fndecl", "=", "aarch64_general_add_builtin", "(", "d", "->", "name", ",", "ftype", ",", "d", "->", "fcode", ",", "attrs", ")", ";", "aarch64_builtin_decls", "[", "d", "->", "fcode", "]", "=", "fndecl", ";", "}", "}", ""], "natrual_language": ["Due", "to", "the", "architecture", "not", "providing", "lane", "variant", "of", "the", "lane", "instructions", "for", "fcmla", "we", "ca", "n't", "use", "the", "standard", "simd", "builtin", "expansion", "code", ",", "but", "we", "still", "want", "the", "majority", "of", "the", "validation", "that", "would", "normally", "be", "done", "."], "TS_V_token": ["aarch64", "0", "0"], "File": "aarch64-builtins", "Func": "aarch64_init_fcmla_laneq_builtins", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1436, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLoweringObjectFile", "*", "getObjFileLowering", "(", ")", "const", "override", "{", "return", "TLOF", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["Return", "information", "about", "object", "file", "lowering", "."], "TS_V_token": ["Z80old"], "File": "Z80oldTargetMachine", "Func": "getObjFileLowering", "Target": "Z80old", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1437, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "iq2000_print_operand_address", "(", "FILE", "*", "file", ",", "rtx", "addr", ")", "{", "if", "(", "!", "addr", ")", "error", "(", "\"PRINT_OPERAND_ADDRESS, null pointer\"", ")", ";", "else", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "case", "REG", ":", "if", "(", "REGNO", "(", "addr", ")", "==", "ARG_POINTER_REGNUM", ")", "abort_with_insn", "(", "addr", ",", "\"Arg pointer not eliminated.\"", ")", ";", "fprintf", "(", "file", ",", "\"0(%s)\"", ",", "reg_names", "[", "REGNO", "(", "addr", ")", "]", ")", ";", "break", ";", "case", "LO_SUM", ":", "{", "rtx", "arg0", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "rtx", "arg1", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "arg0", ")", "!=", "REG", ")", "abort_with_insn", "(", "addr", ",", "\"PRINT_OPERAND_ADDRESS, LO_SUM with #1 not REG.\"", ")", ";", "fprintf", "(", "file", ",", "\"%%lo(\"", ")", ";", "iq2000_print_operand_address", "(", "file", ",", "arg1", ")", ";", "fprintf", "(", "file", ",", "\")(%s)\"", ",", "reg_names", "[", "REGNO", "(", "arg0", ")", "]", ")", ";", "}", "break", ";", "case", "PLUS", ":", "{", "rtx", "reg", "=", "0", ";", "rtx", "offset", "=", "0", ";", "rtx", "arg0", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "rtx", "arg1", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "arg0", ")", "==", "REG", ")", "{", "reg", "=", "arg0", ";", "offset", "=", "arg1", ";", "if", "(", "GET_CODE", "(", "offset", ")", "==", "REG", ")", "abort_with_insn", "(", "addr", ",", "\"PRINT_OPERAND_ADDRESS, 2 regs\"", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "arg1", ")", "==", "REG", ")", "reg", "=", "arg1", ",", "offset", "=", "arg0", ";", "else", "if", "(", "CONSTANT_P", "(", "arg0", ")", "&&", "CONSTANT_P", "(", "arg1", ")", ")", "{", "output_addr_const", "(", "file", ",", "addr", ")", ";", "break", ";", "}", "else", "abort_with_insn", "(", "addr", ",", "\"PRINT_OPERAND_ADDRESS, no regs\"", ")", ";", "if", "(", "!", "CONSTANT_P", "(", "offset", ")", ")", "abort_with_insn", "(", "addr", ",", "\"PRINT_OPERAND_ADDRESS, invalid insn #2\"", ")", ";", "if", "(", "REGNO", "(", "reg", ")", "==", "ARG_POINTER_REGNUM", ")", "abort_with_insn", "(", "addr", ",", "\"Arg pointer not eliminated.\"", ")", ";", "output_addr_const", "(", "file", ",", "offset", ")", ";", "fprintf", "(", "file", ",", "\"(%s)\"", ",", "reg_names", "[", "REGNO", "(", "reg", ")", "]", ")", ";", "}", "break", ";", "case", "LABEL_REF", ":", "case", "SYMBOL_REF", ":", "case", "CONST_INT", ":", "case", "CONST", ":", "output_addr_const", "(", "file", ",", "addr", ")", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "CONST_INT", ")", "fprintf", "(", "file", ",", "\"(%s)\"", ",", "reg_names", "[", "0", "]", ")", ";", "break", ";", "default", ":", "abort_with_insn", "(", "addr", ",", "\"PRINT_OPERAND_ADDRESS, invalid insn #1\"", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["A", "C", "compound", "statement", "to", "output", "to", "stdio", "stream", "STREAM", "the", "assembler", "syntax", "for", "an", "instruction", "operand", "that", "is", "a", "memory", "reference", "whose", "address", "is", "ADDR", ".", "ADDR", "is", "an", "RTL", "expression", "."], "TS_V_token": ["iq2000", "\"PRINT_OPERAND_ADDRESS, null pointer\"", "\"Arg pointer not eliminated.\"", "\"0(%s)\"", "0", "1", "\"PRINT_OPERAND_ADDRESS, LO_SUM with #1 not REG.\"", "\"%%lo(\"", "\")(%s)\"", "0", "0", "0", "1", "\"PRINT_OPERAND_ADDRESS, 2 regs\"", "\"PRINT_OPERAND_ADDRESS, no regs\"", "\"PRINT_OPERAND_ADDRESS, invalid insn #2\"", "\"Arg pointer not eliminated.\"", "\"(%s)\"", "\"(%s)\"", "0", "\"PRINT_OPERAND_ADDRESS, invalid insn #1\""], "File": "iq20003", "Func": "iq2000_print_operand_address", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1438, "Length": 369, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "dispatch_function_versions", "(", "tree", "dispatch_decl", ",", "void", "*", "fndecls_p", ",", "basic_block", "*", "empty_bb", ")", "{", "tree", "default_decl", ";", "gimple", "*", "ifunc_cpu_init_stmt", ";", "gimple_seq", "gseq", ";", "int", "ix", ";", "tree", "ele", ";", "vec", "<", "tree", ">", "*", "fndecls", ";", "unsigned", "int", "num_versions", "=", "0", ";", "unsigned", "int", "actual_versions", "=", "0", ";", "unsigned", "int", "i", ";", "struct", "_function_version_info", "{", "tree", "version_decl", ";", "tree", "predicate_chain", ";", "unsigned", "int", "dispatch_priority", ";", "}", "*", "function_version_info", ";", "gcc_assert", "(", "dispatch_decl", "!=", "NULL", "&&", "fndecls_p", "!=", "NULL", "&&", "empty_bb", "!=", "NULL", ")", ";", "fndecls", "=", "static_cast", "<", "vec", "<", "tree", ">", "*", ">", "(", "fndecls_p", ")", ";", "num_versions", "=", "fndecls", "->", "length", "(", ")", ";", "gcc_assert", "(", "num_versions", ">=", "2", ")", ";", "function_version_info", "=", "(", "struct", "_function_version_info", "*", ")", "XNEWVEC", "(", "struct", "_function_version_info", ",", "(", "num_versions", "-", "1", ")", ")", ";", "default_decl", "=", "(", "*", "fndecls", ")", "[", "0", "]", ";", "push_cfun", "(", "DECL_STRUCT_FUNCTION", "(", "dispatch_decl", ")", ")", ";", "gseq", "=", "bb_seq", "(", "*", "empty_bb", ")", ";", "ifunc_cpu_init_stmt", "=", "gimple_build_call_vec", "(", "get_ix86_builtin", "(", "IX86_BUILTIN_CPU_INIT", ")", ",", "vNULL", ")", ";", "gimple_seq_add_stmt", "(", "&", "gseq", ",", "ifunc_cpu_init_stmt", ")", ";", "gimple_set_bb", "(", "ifunc_cpu_init_stmt", ",", "*", "empty_bb", ")", ";", "set_bb_seq", "(", "*", "empty_bb", ",", "gseq", ")", ";", "pop_cfun", "(", ")", ";", "for", "(", "ix", "=", "1", ";", "fndecls", "->", "iterate", "(", "ix", ",", "&", "ele", ")", ";", "++", "ix", ")", "{", "tree", "version_decl", "=", "ele", ";", "tree", "predicate_chain", "=", "NULL_TREE", ";", "unsigned", "int", "priority", ";", "priority", "=", "get_builtin_code_for_version", "(", "version_decl", ",", "&", "predicate_chain", ")", ";", "if", "(", "predicate_chain", "==", "NULL_TREE", ")", "continue", ";", "function_version_info", "[", "actual_versions", "]", ".", "version_decl", "=", "version_decl", ";", "function_version_info", "[", "actual_versions", "]", ".", "predicate_chain", "=", "predicate_chain", ";", "function_version_info", "[", "actual_versions", "]", ".", "dispatch_priority", "=", "priority", ";", "actual_versions", "++", ";", "}", "qsort", "(", "function_version_info", ",", "actual_versions", ",", "sizeof", "(", "struct", "_function_version_info", ")", ",", "feature_compare", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "actual_versions", ";", "++", "i", ")", "*", "empty_bb", "=", "add_condition_to_bb", "(", "dispatch_decl", ",", "function_version_info", "[", "i", "]", ".", "version_decl", ",", "function_version_info", "[", "i", "]", ".", "predicate_chain", ",", "*", "empty_bb", ")", ";", "*", "empty_bb", "=", "add_condition_to_bb", "(", "dispatch_decl", ",", "default_decl", ",", "NULL", ",", "*", "empty_bb", ")", ";", "free", "(", "function_version_info", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["This", "function", "generates", "the", "dispatch", "function", "for", "multi-versioned", "functions", ".", "DISPATCH_DECL", "is", "the", "function", "which", "will", "contain", "the", "dispatch", "logic", ".", "FNDECLS", "are", "the", "function", "choices", "for", "dispatch", ",", "and", "is", "a", "tree", "chain", ".", "EMPTY_BB", "is", "the", "basic", "block", "pointer", "in", "DISPATCH_DECL", "in", "which", "the", "dispatch", "code", "is", "generated", "."], "TS_V_token": ["i386", "0", "0", "2", "1", "0", "1", "0", "0"], "File": "i386-features", "Func": "dispatch_function_versions", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1439, "Length": 361, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "expandPostRAPseudo", "(", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "bool", "HasAVX", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "hasAVX", "(", ")", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "X86", "::", "V_SET0", ":", "return", "Expand2AddrUndef", "(", "MI", ",", "get", "(", "HasAVX", "?", "X86", "::", "VPXORrr", ":", "X86", "::", "PXORrr", ")", ")", ";", "case", "X86", "::", "TEST8ri_NOREX", ":", "MI", "->", "setDesc", "(", "get", "(", "X86", "::", "TEST8ri", ")", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["This", "function", "is", "called", "for", "all", "pseudo", "instructions", "that", "remain", "after", "register", "allocation", "."], "TS_V_token": ["X86", "X86", "X86", "X86::V_SET0", "X86::VPXORrr", "X86::PXORrr", "X86::TEST8ri_NOREX", "X86::TEST8ri"], "File": "X86InstrInfo139", "Func": "expandPostRAPseudo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1440, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "i386_solaris_elf_named_section", "(", "const", "char", "*", "name", ",", "unsigned", "int", "flags", ",", "tree", "decl", ")", "{", "if", "(", "TARGET_64BIT", "&&", "strcmp", "(", "name", ",", "\".eh_frame\"", ")", "==", "0", ")", "{", "fprintf", "(", "asm_out_file", ",", "\"\\t.section\\t%s,\\\"%s\\\",@unwind\\n\"", ",", "name", ",", "flags", "&", "SECTION_WRITE", "?", "\"aw\"", ":", "\"a\"", ")", ";", "return", ";", "}", "default_elf_asm_named_section", "(", "name", ",", "flags", ",", "decl", ")", ";", "}", ""], "natrual_language": ["Solaris", "named-section", "hook", ".", "Parameters", "are", "as", "for", "named_section_real", "."], "TS_V_token": ["i386", "\".eh_frame\"", "0", "\"\\t.section\\t%s,\\\"%s\\\",@unwind\\n\"", "\"aw\"", "\"a\""], "File": "i3863", "Func": "i386_solaris_elf_named_section", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1441, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "shouldExpandAtomicCmpXchgInIR", "(", "AtomicCmpXchgInst", "*", "AI", ")", "const", "{", "if", "(", "Subtarget", "->", "hasLSE", "(", ")", ")", "return", "false", ";", "return", "getTargetMachine", "(", ")", ".", "getOptLevel", "(", ")", "!=", "0", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "given", "atomic", "cmpxchg", "should", "be", "expanded", "by", "the", "IR-level", "AtomicExpand", "pass", "."], "TS_V_token": ["AArch64", "AArch64", "0"], "File": "AArch64ISelLowering", "Func": "shouldExpandAtomicCmpXchgInIR", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1442, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsPassConfig", "::", "addPreSched2", "(", ")", "{", "addPass", "(", "createMipsExpandPseudoPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "after", "prolog-epilog", "insertion", "and", "before", "the", "second", "instruction", "scheduling", "pass", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsTargetMachine46", "Func": "addPreSched2", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1443, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_valid_attribute_p", "(", "tree", "fndecl", ",", "tree", "ARG_UNUSED", "(", "name", ")", ",", "tree", "args", ",", "int", "flags", ")", "{", "struct", "cl_target_option", "cur_target", ";", "bool", "ret", ";", "tree", "old_optimize", "=", "build_optimization_node", "(", "&", "global_options", ")", ";", "tree", "new_target", ",", "new_optimize", ";", "tree", "func_optimize", "=", "DECL_FUNCTION_SPECIFIC_OPTIMIZATION", "(", "fndecl", ")", ";", "gcc_assert", "(", "(", "fndecl", "!=", "NULL_TREE", ")", "&&", "(", "args", "!=", "NULL_TREE", ")", ")", ";", "if", "(", "TARGET_DEBUG_TARGET", ")", "{", "tree", "tname", "=", "DECL_NAME", "(", "fndecl", ")", ";", "fprintf", "(", "stderr", ",", "\"\\n==================== rs6000_valid_attribute_p:\\n\"", ")", ";", "if", "(", "tname", ")", "fprintf", "(", "stderr", ",", "\"function: %.*s\\n\"", ",", "(", "int", ")", "IDENTIFIER_LENGTH", "(", "tname", ")", ",", "IDENTIFIER_POINTER", "(", "tname", ")", ")", ";", "else", "fprintf", "(", "stderr", ",", "\"function: unknown\\n\"", ")", ";", "fprintf", "(", "stderr", ",", "\"args:\"", ")", ";", "rs6000_debug_target_options", "(", "args", ",", "\" \"", ")", ";", "fprintf", "(", "stderr", ",", "\"\\n\"", ")", ";", "if", "(", "flags", ")", "fprintf", "(", "stderr", ",", "\"flags: 0x%x\\n\"", ",", "flags", ")", ";", "fprintf", "(", "stderr", ",", "\"--------------------\\n\"", ")", ";", "}", "old_optimize", "=", "build_optimization_node", "(", "&", "global_options", ")", ";", "func_optimize", "=", "DECL_FUNCTION_SPECIFIC_OPTIMIZATION", "(", "fndecl", ")", ";", "if", "(", "func_optimize", "&&", "func_optimize", "!=", "old_optimize", ")", "cl_optimization_restore", "(", "&", "global_options", ",", "TREE_OPTIMIZATION", "(", "func_optimize", ")", ")", ";", "cl_target_option_save", "(", "&", "cur_target", ",", "&", "global_options", ")", ";", "rs6000_cpu_index", "=", "rs6000_tune_index", "=", "-", "1", ";", "ret", "=", "rs6000_inner_target_options", "(", "args", ",", "true", ")", ";", "if", "(", "ret", ")", "{", "ret", "=", "rs6000_option_override_internal", "(", "false", ")", ";", "new_target", "=", "build_target_option_node", "(", "&", "global_options", ")", ";", "}", "else", "new_target", "=", "NULL", ";", "new_optimize", "=", "build_optimization_node", "(", "&", "global_options", ")", ";", "if", "(", "!", "new_target", ")", "ret", "=", "false", ";", "else", "if", "(", "fndecl", ")", "{", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "fndecl", ")", "=", "new_target", ";", "if", "(", "old_optimize", "!=", "new_optimize", ")", "DECL_FUNCTION_SPECIFIC_OPTIMIZATION", "(", "fndecl", ")", "=", "new_optimize", ";", "}", "cl_target_option_restore", "(", "&", "global_options", ",", "&", "cur_target", ")", ";", "if", "(", "old_optimize", "!=", "new_optimize", ")", "cl_optimization_restore", "(", "&", "global_options", ",", "TREE_OPTIMIZATION", "(", "old_optimize", ")", ")", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Hook", "to", "validate", "attribute", "(", "(", "target", "(", "``", "...", "''", ")", ")", ")", "."], "TS_V_token": ["powerpcspe", "\"\\n==================== rs6000_valid_attribute_p:\\n\"", "\"function: %.*s\\n\"", "\"function: unknown\\n\"", "\"args:\"", "\" \"", "\"\\n\"", "\"flags: 0x%x\\n\"", "\"--------------------\\n\"", "1"], "File": "powerpcspe", "Func": "rs6000_valid_attribute_p", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1444, "Length": 317, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetMachine", "::", "addInstSelector", "(", "PassManagerBase", "&", "PM", ")", "{", "PM", ".", "add", "(", "createPPCISelDag", "(", "*", "this", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["PowerPC", "PPC", "PPC"], "File": "PPCTargetMachine64", "Func": "addInstSelector", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1445, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AMDGPUSubtarget", "::", "overrideSchedPolicy", "(", "MachineSchedPolicy", "&", "Policy", ",", "MachineInstr", "*", "begin", ",", "MachineInstr", "*", "end", ",", "unsigned", "NumRegionInstrs", ")", "const", "{", "if", "(", "getGeneration", "(", ")", ">=", "SOUTHERN_ISLANDS", ")", "{", "Policy", ".", "ShouldTrackPressure", "=", "true", ";", "Policy", ".", "OnlyTopDown", "=", "false", ";", "Policy", ".", "OnlyBottomUp", "=", "false", ";", "}", "}", ""], "natrual_language": ["Override", "generic", "scheduling", "policy", "within", "a", "region", "."], "TS_V_token": ["AMDGPU", "AMDGPU"], "File": "AMDGPUSubtarget (2)", "Func": "overrideSchedPolicy", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1446, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "NVPTXAsmPrinter", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "SmallString", "<", "128", ">", "Str1", ";", "raw_svector_ostream", "OS1", "(", "Str1", ")", ";", "MMI", "=", "getAnalysisIfAvailable", "<", "MachineModuleInfo", ">", "(", ")", ";", "MMI", "->", "AnalyzeModule", "(", "M", ")", ";", "const_cast", "<", "TargetLoweringObjectFile", "&", ">", "(", "getObjFileLowering", "(", ")", ")", ".", "Initialize", "(", "OutContext", ",", "TM", ")", ";", "Mang", "=", "new", "Mangler", "(", "OutContext", ",", "*", "TM", ".", "getTargetData", "(", ")", ")", ";", "emitHeader", "(", "M", ",", "OS1", ")", ";", "OutStreamer", ".", "EmitRawText", "(", "OS1", ".", "str", "(", ")", ")", ";", "if", "(", "nvptxSubtarget", ".", "getDrvInterface", "(", ")", "==", "NVPTX", "::", "CUDA", ")", "recordAndEmitFilenames", "(", "M", ")", ";", "SmallString", "<", "128", ">", "Str2", ";", "raw_svector_ostream", "OS2", "(", "Str2", ")", ";", "emitDeclarations", "(", "M", ",", "OS2", ")", ";", "for", "(", "Module", "::", "global_iterator", "I", "=", "M", ".", "global_begin", "(", ")", ",", "E", "=", "M", ".", "global_end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "printModuleLevelGV", "(", "I", ",", "OS2", ")", ";", "OS2", "<<", "'\\n'", ";", "OutStreamer", ".", "EmitRawText", "(", "OS2", ".", "str", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["NVPTX", "NVPTX", "128", "NVPTX::CUDA", "128"], "File": "NVPTXAsmPrinter68", "Func": "doInitialization", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1447, "Length": 179, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "workaround_uninit_method_2", "(", "void", ")", "{", "auto_bitmap", "entry_pseudo_uninit", ";", "{", "auto_bitmap", "not_pseudo", ";", "bitmap_set_range", "(", "not_pseudo", ",", "0", ",", "LAST_VIRTUAL_REGISTER", ")", ";", "bitmap", "entry_lr_in", "=", "DF_LR_IN", "(", "ENTRY_BLOCK_PTR_FOR_FN", "(", "cfun", ")", ")", ";", "bitmap_and_compl", "(", "entry_pseudo_uninit", ",", "entry_lr_in", ",", "not_pseudo", ")", ";", "}", "rtx_insn", "*", "first", "=", "get_insns", "(", ")", ";", "rtx_insn", "*", "insert_here", "=", "NULL", ";", "bitmap_iterator", "iterator", ";", "unsigned", "ix", ";", "EXECUTE_IF_SET_IN_BITMAP", "(", "entry_pseudo_uninit", ",", "0", ",", "ix", ",", "iterator", ")", "{", "rtx", "reg", "=", "regno_reg_rtx", "[", "ix", "]", ";", "gcc_assert", "(", "CONST0_RTX", "(", "GET_MODE", "(", "reg", ")", ")", ")", ";", "start_sequence", "(", ")", ";", "if", "(", "nvptx_comment", "&&", "first", "!=", "NULL", ")", "emit_insn", "(", "gen_comment", "(", "\"Start: Added by -minit-regs=2:\"", ")", ")", ";", "emit_move_insn", "(", "reg", ",", "CONST0_RTX", "(", "GET_MODE", "(", "reg", ")", ")", ")", ";", "rtx_insn", "*", "inits", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "if", "(", "dump_file", "&&", "(", "dump_flags", "&", "TDF_DETAILS", ")", ")", "for", "(", "rtx_insn", "*", "init", "=", "inits", ";", "init", "!=", "NULL", ";", "init", "=", "NEXT_INSN", "(", "init", ")", ")", "fprintf", "(", "dump_file", ",", "\"Missing init of reg %u inserted: insn %u\\n\"", ",", "ix", ",", "INSN_UID", "(", "init", ")", ")", ";", "if", "(", "first", "!=", "NULL", ")", "{", "insert_here", "=", "emit_insn_before", "(", "inits", ",", "first", ")", ";", "first", "=", "NULL", ";", "}", "else", "insert_here", "=", "emit_insn_after", "(", "inits", ",", "insert_here", ")", ";", "}", "if", "(", "nvptx_comment", "&&", "insert_here", "!=", "NULL", ")", "emit_insn_after", "(", "gen_comment", "(", "\"End: Added by -minit-regs=2\"", ")", ",", "insert_here", ")", ";", "}", ""], "natrual_language": ["Find", "uses", "of", "regs", "that", "are", "not", "defined", "on", "all", "incoming", "paths", ",", "and", "insert", "a", "corresponding", "def", "at", "function", "entry", ".", "Advantage", ":", "Simple", ".", "Disadvantage", ":", "Potentially", "creates", "long", "live", "ranges", ".", "May", "not", "catch", "all", "cases", ".", "F.i", ".", "a", "clobber", "cuts", "a", "live", "range", "in", "the", "compiler", "and", "may", "prevent", "entry_lr_in", "from", "being", "set", "for", "a", "reg", ",", "but", "the", "clobber", "does", "not", "translate", "to", "a", "ptx", "insn", ",", "so", "in", "ptx", "there", "still", "may", "be", "an", "uninitialized", "ptx", "reg", ".", "See", "f.i", ".", "gcc.c-torture/compile/20020926-1.c", "."], "TS_V_token": ["nvptx", "0", "0", "\"Start: Added by -minit-regs=2:\"", "\"Missing init of reg %u inserted: insn %u\\n\"", "\"End: Added by -minit-regs=2\""], "File": "nvptx", "Func": "workaround_uninit_method_2", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 1448, "Length": 233, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "MCFixupKind", ">", "ELFPPCAsmBackend", "::", "getFixupKind", "(", "StringRef", "Name", ")", "const", "{", "if", "(", "TT", ".", "isOSBinFormatELF", "(", ")", ")", "{", "unsigned", "Type", ";", "if", "(", "TT", ".", "isPPC64", "(", ")", ")", "{", "Type", "=", "llvm", "::", "StringSwitch", "<", "unsigned", ">", "(", "Name", ")", ".", "Case", "(", "\"BFD_RELOC_NONE\"", ",", "ELF", "::", "R_PPC64_NONE", ")", ".", "Case", "(", "\"BFD_RELOC_16\"", ",", "ELF", "::", "R_PPC64_ADDR16", ")", ".", "Case", "(", "\"BFD_RELOC_32\"", ",", "ELF", "::", "R_PPC64_ADDR32", ")", ".", "Case", "(", "\"BFD_RELOC_64\"", ",", "ELF", "::", "R_PPC64_ADDR64", ")", ".", "Default", "(", "-", "1u", ")", ";", "}", "else", "{", "Type", "=", "llvm", "::", "StringSwitch", "<", "unsigned", ">", "(", "Name", ")", ".", "Case", "(", "\"BFD_RELOC_NONE\"", ",", "ELF", "::", "R_PPC_NONE", ")", ".", "Case", "(", "\"BFD_RELOC_16\"", ",", "ELF", "::", "R_PPC_ADDR16", ")", ".", "Case", "(", "\"BFD_RELOC_32\"", ",", "ELF", "::", "R_PPC_ADDR32", ")", ".", "Default", "(", "-", "1u", ")", ";", "}", "if", "(", "Type", "!=", "-", "1u", ")", "return", "static_cast", "<", "MCFixupKind", ">", "(", "FirstLiteralRelocationKind", "+", "Type", ")", ";", "}", "return", "None", ";", "}", ""], "natrual_language": ["getFixupKind", "-", "Get", "the", "fixup", "kind", "of", "this", "expression", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "\"BFD_RELOC_NONE\"", "PPC", "\"BFD_RELOC_16\"", "PPC", "\"BFD_RELOC_32\"", "PPC", "\"BFD_RELOC_64\"", "PPC", "1u", "\"BFD_RELOC_NONE\"", "PPC", "\"BFD_RELOC_16\"", "PPC", "\"BFD_RELOC_32\"", "PPC", "1u", "1u"], "File": "PPCAsmBackend29", "Func": "getFixupKind", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1449, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SystemZTargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "{", "switch", "(", "CallConv", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unsupported calling convention\"", ")", ";", "case", "CallingConv", "::", "C", ":", "case", "CallingConv", "::", "Fast", ":", "return", "LowerCCCArguments", "(", "Chain", ",", "CallConv", ",", "isVarArg", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ")", ";", "}", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "the", "Ins", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["SystemZ", "SystemZ", "ISD::InputArg", "\"Unsupported calling convention\""], "File": "SystemZISelLowering101", "Func": "LowerFormalArguments", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1450, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "nds32_output_double", "(", "rtx", "*", "operands", ",", "bool", "load_p", ")", "{", "char", "pattern", "[", "100", "]", ";", "int", "reg", "=", "load_p", "?", "0", ":", "1", ";", "int", "mem", "=", "load_p", "?", "1", ":", "0", ";", "rtx", "otherops", "[", "3", "]", ";", "rtx", "addr", "=", "XEXP", "(", "operands", "[", "mem", "]", ",", "0", ")", ";", "otherops", "[", "0", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "REGNO", "(", "operands", "[", "reg", "]", ")", ")", ";", "otherops", "[", "1", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "REGNO", "(", "operands", "[", "reg", "]", ")", "+", "1", ")", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "POST_INC", ")", "{", "otherops", "[", "2", "]", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"%cmw.bim\\t%%0, [%%2], %%1, 0\"", ",", "load_p", "?", "'l'", ":", "'s'", ")", ";", "}", "else", "{", "otherops", "[", "2", "]", "=", "addr", ";", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"%cmw.bi\\t%%0, [%%2], %%1, 0\"", ",", "load_p", "?", "'l'", ":", "'s'", ")", ";", "}", "output_asm_insn", "(", "pattern", ",", "otherops", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Using", "multiple", "load/store", "instruction", "to", "output", "doubleword", "instruction", "."], "TS_V_token": ["nds32", "100", "0", "1", "1", "0", "3", "0", "0", "1", "1", "2", "0", "\"%cmw.bim\\t%%0, [%%2], %%1, 0\"", "2", "\"%cmw.bi\\t%%0, [%%2], %%1, 0\"", "\"\""], "File": "nds32-md-auxiliary", "Func": "nds32_output_double", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1451, "Length": 174, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SparcInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "SP", "::", "LDri", "||", "MI", "->", "getOpcode", "(", ")", "==", "SP", "::", "LDFri", "||", "MI", "->", "getOpcode", "(", ")", "==", "SP", "::", "LDDFri", ")", "{", "if", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "isFI", "(", ")", "&&", "MI", "->", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", "&&", "MI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "==", "0", ")", "{", "FrameIndex", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getIndex", "(", ")", ";", "return", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["isLoadFromStackSlot", "-", "If", "the", "specified", "machine", "instruction", "is", "a", "direct", "load", "from", "a", "stack", "slot", ",", "return", "the", "virtual", "or", "physical", "register", "number", "of", "the", "destination", "along", "with", "the", "FrameIndex", "of", "the", "loaded", "stack", "slot", "."], "TS_V_token": ["Sparc", "Sparc", "SP::LDri", "SP::LDFri", "SP::LDDFri", "1", "2", "2", "0", "1", "0", "0"], "File": "SparcInstrInfo16", "Func": "isLoadFromStackSlot", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1452, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "TLCS900TargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "SHL", ":", "case", "ISD", "::", "SRL", ":", "case", "ISD", "::", "SRA", ":", "return", "LowerShifts", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "LowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ExternalSymbol", ":", "return", "LowerExternalSymbol", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SETCC", ":", "return", "LowerSETCC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BR_CC", ":", "return", "LowerBR_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SIGN_EXTEND", ":", "return", "LowerSIGN_EXTEND", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "RETURNADDR", ":", "return", "LowerRETURNADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "LowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "default", ":", "llvm_unreachable", "(", "\"unimplemented operand\"", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["TLCS900", "TLCS900", "ISD::SHL", "ISD::SRL", "ISD::SRA", "ISD::GlobalAddress", "ISD::BlockAddress", "ISD::ExternalSymbol", "ISD::SETCC", "ISD::BR_CC", "ISD::SELECT_CC", "ISD::SIGN_EXTEND", "ISD::RETURNADDR", "ISD::FRAMEADDR", "\"unimplemented operand\""], "File": "TLCS900ISelLowering", "Func": "LowerOperation", "Target": "TLCS900", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1453, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_unary_operator", "(", "enum", "rtx_code", "code", ",", "machine_mode", "mode", ",", "rtx", "operands", "[", "]", ")", "{", "bool", "matching_memory", "=", "false", ";", "rtx", "src", ",", "dst", ",", "op", ",", "clob", ";", "dst", "=", "operands", "[", "0", "]", ";", "src", "=", "operands", "[", "1", "]", ";", "if", "(", "MEM_P", "(", "dst", ")", ")", "{", "if", "(", "rtx_equal_p", "(", "dst", ",", "src", ")", ")", "matching_memory", "=", "true", ";", "else", "dst", "=", "gen_reg_rtx", "(", "mode", ")", ";", "}", "if", "(", "MEM_P", "(", "src", ")", "&&", "!", "matching_memory", ")", "src", "=", "force_reg", "(", "mode", ",", "src", ")", ";", "op", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "dst", ",", "gen_rtx_fmt_e", "(", "code", ",", "mode", ",", "src", ")", ")", ";", "if", "(", "reload_in_progress", "||", "code", "==", "NOT", ")", "{", "gcc_assert", "(", "code", "==", "NOT", ")", ";", "emit_insn", "(", "op", ")", ";", "}", "else", "{", "clob", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "CCmode", ",", "FLAGS_REG", ")", ")", ";", "emit_insn", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "op", ",", "clob", ")", ")", ")", ";", "}", "if", "(", "dst", "!=", "operands", "[", "0", "]", ")", "emit_move_insn", "(", "operands", "[", "0", "]", ",", "dst", ")", ";", "}", ""], "natrual_language": ["Attempt", "to", "expand", "a", "unary", "operator", ".", "Make", "the", "expansion", "closer", "to", "the", "actual", "machine", ",", "then", "just", "general_operand", ",", "which", "will", "allow", "2", "separate", "memory", "references", "(", "one", "output", ",", "one", "input", ")", "in", "a", "single", "insn", "."], "TS_V_token": ["i386", "0", "1", "2", "0", "0"], "File": "i3864", "Func": "ix86_expand_unary_operator", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1454, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "M68kSubtarget", "::", "isLegalToCallImmediateAddr", "(", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "subtarget", "allows", "calls", "to", "immediate", "address", "."], "TS_V_token": ["M68k", "M68k"], "File": "M68kSubtarget", "Func": "isLegalToCallImmediateAddr", "Target": "M68k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1455, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_emit_le_vsx_store", "(", "rtx", "dest", ",", "rtx", "source", ",", "machine_mode", "mode", ")", "{", "rtx", "tmp", ",", "permute_src", ",", "permute_tmp", ";", "gcc_assert", "(", "!", "reload_in_progress", "&&", "!", "lra_in_progress", "&&", "!", "reload_completed", ")", ";", "if", "(", "mode", "==", "TImode", "||", "mode", "==", "V1TImode", ")", "{", "mode", "=", "V2DImode", ";", "dest", "=", "adjust_address", "(", "dest", ",", "V2DImode", ",", "0", ")", ";", "source", "=", "gen_lowpart", "(", "V2DImode", ",", "source", ")", ";", "}", "tmp", "=", "can_create_pseudo_p", "(", ")", "?", "gen_reg_rtx_and_attrs", "(", "source", ")", ":", "source", ";", "permute_src", "=", "rs6000_gen_le_vsx_permute", "(", "source", ",", "mode", ")", ";", "permute_tmp", "=", "rs6000_gen_le_vsx_permute", "(", "tmp", ",", "mode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "tmp", ",", "permute_src", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "permute_tmp", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "little-endian", "store", "to", "vector", "memory", "location", "DEST", "from", "VSX", "register", "SOURCE", "in", "mode", "MODE", ".", "The", "store", "is", "done", "with", "two", "permuting", "insn", "'s", "that", "represent", "an", "xxpermdi", "and", "an", "stxvd2x", "."], "TS_V_token": ["rs6000", "0"], "File": "rs60005", "Func": "rs6000_emit_le_vsx_store", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1456, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "assert", "(", "&", "MF", ".", "front", "(", ")", "==", "&", "MBB", "&&", "\"Shrink-wrapping not yet supported\"", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "LanaiInstrInfo", "&", "LII", "=", "*", "static_cast", "<", "const", "LanaiInstrInfo", "*", ">", "(", "STI", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "DL", ";", "determineFrameLayout", "(", "MF", ")", ";", "unsigned", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "LII", ".", "get", "(", "Lanai", "::", "SW_RI", ")", ")", ".", "addReg", "(", "Lanai", "::", "FP", ")", ".", "addReg", "(", "Lanai", "::", "SP", ")", ".", "addImm", "(", "-", "4", ")", ".", "addImm", "(", "LPAC", "::", "makePreOp", "(", "LPAC", "::", "ADD", ")", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "LII", ".", "get", "(", "Lanai", "::", "ADD_I_LO", ")", ",", "Lanai", "::", "FP", ")", ".", "addReg", "(", "Lanai", "::", "SP", ")", ".", "addImm", "(", "8", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "if", "(", "StackSize", "!=", "0", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "LII", ".", "get", "(", "Lanai", "::", "SUB_I_LO", ")", ",", "Lanai", "::", "SP", ")", ".", "addReg", "(", "Lanai", "::", "SP", ")", ".", "addImm", "(", "StackSize", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "if", "(", "MFI", ".", "hasVarSizedObjects", "(", ")", ")", "replaceAdjDynAllocPseudo", "(", "MF", ")", ";", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Lanai", "Lanai", "\"Shrink-wrapping not yet supported\"", "Lanai", "Lanai", "Lanai::SW_RI", "Lanai::FP", "Lanai::SP", "4", "Lanai::ADD_I_LO", "Lanai::FP", "Lanai::SP", "8", "0", "Lanai::SUB_I_LO", "Lanai::SP", "Lanai::SP"], "File": "LanaiFrameLowering1", "Func": "emitPrologue", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1457, "Length": 249, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "SIRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "AMDGPU", "::", "INDIRECT_BASE_ADDR", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "AMDGPU", "::", "EXEC", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "AMDGPU", "::", "FLAT_SCR", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "AMDGPU", "::", "SGPR102_SGPR103", ")", ";", "const", "AMDGPUSubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "AMDGPUSubtarget", ">", "(", ")", ";", "if", "(", "ST", ".", "getGeneration", "(", ")", ">=", "AMDGPUSubtarget", "::", "VOLCANIC_ISLANDS", ")", "{", "reserveRegisterTuples", "(", "Reserved", ",", "AMDGPU", "::", "SGPR98_SGPR99", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "AMDGPU", "::", "SGPR100_SGPR101", ")", ";", "if", "(", "ST", ".", "isXNACKEnabled", "(", ")", ")", "reserveRegisterTuples", "(", "Reserved", ",", "AMDGPU", "::", "SGPR96_SGPR97", ")", ";", "}", "if", "(", "ST", ".", "hasSGPRInitBug", "(", ")", ")", "{", "unsigned", "NumSGPRs", "=", "AMDGPU", "::", "SGPR_32RegClass", ".", "getNumRegs", "(", ")", ";", "unsigned", "Limit", "=", "AMDGPUSubtarget", "::", "FIXED_SGPR_COUNT_FOR_INIT_BUG", "-", "4", ";", "if", "(", "ST", ".", "isXNACKEnabled", "(", ")", ")", "Limit", "-=", "2", ";", "for", "(", "unsigned", "i", "=", "Limit", ";", "i", "<", "NumSGPRs", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "AMDGPU", "::", "SGPR_32RegClass", ".", "getRegister", "(", "i", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "Reg", ")", ";", "}", "}", "const", "SIMachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "unsigned", "ScratchWaveOffsetReg", "=", "MFI", "->", "getScratchWaveOffsetReg", "(", ")", ";", "if", "(", "ScratchWaveOffsetReg", "!=", "AMDGPU", "::", "NoRegister", ")", "{", "reserveRegisterTuples", "(", "Reserved", ",", "ScratchWaveOffsetReg", ")", ";", "}", "unsigned", "ScratchRSrcReg", "=", "MFI", "->", "getScratchRSrcReg", "(", ")", ";", "if", "(", "ScratchRSrcReg", "!=", "AMDGPU", "::", "NoRegister", ")", "{", "reserveRegisterTuples", "(", "Reserved", ",", "ScratchRSrcReg", ")", ";", "assert", "(", "!", "isSubRegister", "(", "ScratchRSrcReg", ",", "ScratchWaveOffsetReg", ")", ")", ";", "}", "return", "Reserved", ";", "}", ""], "natrual_language": ["getReservedRegs", "-", "Returns", "a", "bitset", "indexed", "by", "physical", "register", "number", "indicating", "if", "a", "register", "is", "a", "special", "register", "that", "has", "particular", "uses", "and", "should", "be", "considered", "unavailable", "at", "all", "times", ",", "e.g", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU::INDIRECT_BASE_ADDR", "AMDGPU::EXEC", "AMDGPU::FLAT_SCR", "AMDGPU::SGPR102_SGPR103", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU::SGPR98_SGPR99", "AMDGPU::SGPR100_SGPR101", "AMDGPU::SGPR96_SGPR97", "AMDGPU::SGPR_32RegClass", "AMDGPU", "4", "2", "AMDGPU::SGPR_32RegClass", "SI", "SI", "AMDGPU::NoRegister", "AMDGPU::NoRegister"], "File": "SIRegisterInfo (2)2", "Func": "getReservedRegs", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1458, "Length": 277, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVDAGToDAGISel", "::", "PostprocessISelDAG", "(", ")", "{", "doPeepholeLoadStoreADDI", "(", ")", ";", "doPeepholeBuildPairF64SplitF64", "(", ")", ";", "}", ""], "natrual_language": ["PostprocessISelDAG", "(", ")", "-", "This", "hook", "allows", "the", "target", "to", "hack", "on", "the", "graph", "right", "after", "selection", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVISelDAGToDAG33", "Func": "PostprocessISelDAG", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1459, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "char", "ConstraintCode", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "SDValue", "Op0", ",", "Op1", ";", "switch", "(", "ConstraintCode", ")", "{", "default", ":", "return", "true", ";", "case", "'m'", ":", "if", "(", "!", "SelectAddrIdx", "(", "Op", ",", "Op", ",", "Op0", ",", "Op1", ")", ")", "SelectAddrImm", "(", "Op", ",", "Op", ",", "Op0", ",", "Op1", ")", ";", "break", ";", "case", "'o'", ":", "if", "(", "!", "SelectAddrImm", "(", "Op", ",", "Op", ",", "Op0", ",", "Op1", ")", ")", "{", "Op0", "=", "Op", ";", "Op1", "=", "getSmallIPtrImm", "(", "0", ")", ";", "}", "break", ";", "case", "'v'", ":", "SelectAddrIdxOnly", "(", "Op", ",", "Op", ",", "Op0", ",", "Op1", ")", ";", "break", ";", "}", "OutOps", ".", "push_back", "(", "Op0", ")", ";", "OutOps", ".", "push_back", "(", "Op1", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["SelectInlineAsmMemoryOperand", "-", "Select", "the", "specified", "address", "as", "a", "target", "addressing", "mode", ",", "according", "to", "the", "specified", "constraint", "."], "TS_V_token": ["PowerPC", "0"], "File": "PPCISelDAGToDAG33", "Func": "SelectInlineAsmMemoryOperand", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1460, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssembly", "::", "mayThrow", "(", "const", "MachineInstr", "&", "MI", ")", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "WebAssembly", "::", "THROW", ":", "case", "WebAssembly", "::", "THROW_S", ":", "case", "WebAssembly", "::", "RETHROW", ":", "case", "WebAssembly", "::", "RETHROW_S", ":", "return", "true", ";", "}", "if", "(", "isCallIndirect", "(", "MI", ")", ")", "return", "true", ";", "if", "(", "!", "MI", ".", "isCall", "(", ")", ")", "return", "false", ";", "const", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "getCalleeOpNo", "(", "MI", ")", ")", ";", "assert", "(", "MO", ".", "isGlobal", "(", ")", ")", ";", "const", "auto", "*", "F", "=", "dyn_cast", "<", "Function", ">", "(", "MO", ".", "getGlobal", "(", ")", ")", ";", "if", "(", "!", "F", ")", "return", "true", ";", "if", "(", "F", "->", "doesNotThrow", "(", ")", ")", "return", "false", ";", "if", "(", "F", "->", "getName", "(", ")", "==", "CxaBeginCatchFn", "||", "F", "->", "getName", "(", ")", "==", "PersonalityWrapperFn", "||", "F", "->", "getName", "(", ")", "==", "ClangCallTerminateFn", "||", "F", "->", "getName", "(", ")", "==", "StdTerminateFn", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "instruction", "may", "throw", "an", "exception", "."], "TS_V_token": ["WebAssembly", "WebAssembly::mayThrow", "WebAssembly::THROW", "WebAssembly::THROW_S", "WebAssembly::RETHROW", "WebAssembly::RETHROW_S"], "File": "WebAssemblyUtilities18", "Func": "mayThrow", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1461, "Length": 167, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addIRPasses", "(", ")", "{", "addPass", "(", "createAtomicExpandPass", "(", "&", "getX86TargetMachine", "(", ")", ")", ")", ";", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createInterleavedAccessPass", "(", "TM", ")", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86TargetMachine108", "Func": "addIRPasses", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1462, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_evpc_neon_vext", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "int", "i", ",", "nelt", "=", "d", "->", "perm", ".", "length", "(", ")", ";", "rtx", "offset", ";", "unsigned", "int", "location", ";", "unsigned", "int", "next", "=", "d", "->", "perm", "[", "0", "]", "+", "1", ";", "if", "(", "BYTES_BIG_ENDIAN", ")", "return", "false", ";", "for", "(", "i", "=", "1", ";", "i", "<", "nelt", ";", "next", "++", ",", "i", "++", ")", "{", "if", "(", "next", "==", "2", "*", "nelt", ")", "return", "false", ";", "if", "(", "d", "->", "one_vector_p", "&&", "(", "next", "==", "nelt", ")", ")", "{", "if", "(", "(", "nelt", "==", "2", ")", "&&", "(", "d", "->", "vmode", "!=", "V2DImode", ")", ")", "return", "false", ";", "else", "next", "=", "0", ";", "}", "if", "(", "d", "->", "perm", "[", "i", "]", "!=", "next", ")", "return", "false", ";", "}", "location", "=", "d", "->", "perm", "[", "0", "]", ";", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "offset", "=", "GEN_INT", "(", "location", ")", ";", "if", "(", "d", "->", "vmode", "==", "E_DImode", ")", "return", "false", ";", "emit_insn", "(", "gen_neon_vext", "(", "d", "->", "vmode", ",", "d", "->", "target", ",", "d", "->", "op0", ",", "d", "->", "op1", ",", "offset", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Recognize", "patterns", "for", "the", "VEXT", "insns", "."], "TS_V_token": ["arm", "0", "1", "1", "2", "2", "0", "0"], "File": "arm", "Func": "arm_evpc_neon_vext", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1463, "Length": 196, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "MBlazeRegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["MBlaze", "MBlaze"], "File": "MBlazeInstrInfo", "Func": "getRegisterInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1464, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "GlobalBaseReg", "=", "0", ";", "PPCSubTarget", "=", "&", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "PPCLowering", "=", "PPCSubTarget", "->", "getTargetLowering", "(", ")", ";", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "if", "(", "!", "PPCSubTarget", "->", "isSVR4ABI", "(", ")", ")", "InsertVRSaveCode", "(", "MF", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["PowerPC", "0", "PPC", "PPC", "PPC", "PPC", "PPC"], "File": "PPCISelDAGToDAG (2)1", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1465, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "PPC", "::", "LD", ":", "case", "PPC", "::", "LWZ", ":", "case", "PPC", "::", "LFS", ":", "case", "PPC", "::", "LFD", ":", "case", "PPC", "::", "RESTORE_CR", ":", "case", "PPC", "::", "RESTORE_CRBIT", ":", "case", "PPC", "::", "LVX", ":", "case", "PPC", "::", "LXVD2X", ":", "case", "PPC", "::", "QVLFDX", ":", "case", "PPC", "::", "QVLFSXs", ":", "case", "PPC", "::", "QVLFDXb", ":", "case", "PPC", "::", "RESTORE_VRSAVE", ":", "if", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", "&&", "!", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", "&&", "MI", ".", "getOperand", "(", "2", ")", ".", "isFI", "(", ")", ")", "{", "FrameIndex", "=", "MI", ".", "getOperand", "(", "2", ")", ".", "getIndex", "(", ")", ";", "return", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "}", "break", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["isLoadFromStackSlot", "-", "If", "the", "specified", "machine", "instruction", "is", "a", "direct", "load", "from", "a", "stack", "slot", ",", "return", "the", "virtual", "or", "physical", "register", "number", "of", "the", "destination", "along", "with", "the", "FrameIndex", "of", "the", "loaded", "stack", "slot", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::LD", "PPC::LWZ", "PPC::LFS", "PPC::LFD", "PPC::RESTORE_CR", "PPC::RESTORE_CRBIT", "PPC::LVX", "PPC::LXVD2X", "PPC::QVLFDX", "PPC::QVLFSXs", "PPC::QVLFDXb", "PPC::RESTORE_VRSAVE", "1", "1", "2", "2", "0", "0"], "File": "PPCInstrInfo100", "Func": "isLoadFromStackSlot", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1466, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "RegisterBankInfo", "::", "InstructionMapping", "X86RegisterBankInfo", "::", "getInstrMapping", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "auto", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "!", "isPreISelGenericOpcode", "(", "Opc", ")", ")", "{", "InstructionMapping", "Mapping", "=", "getInstrMappingImpl", "(", "MI", ")", ";", "if", "(", "Mapping", ".", "isValid", "(", ")", ")", "return", "Mapping", ";", "}", "switch", "(", "Opc", ")", "{", "case", "TargetOpcode", "::", "G_ADD", ":", "return", "getOperandsMapping", "(", "MI", ",", "false", ")", ";", "break", ";", "default", ":", "return", "InstructionMapping", "{", "}", ";", "}", "return", "InstructionMapping", "{", "}", ";", "}", ""], "natrual_language": ["Get", "the", "mapping", "of", "the", "different", "operands", "of", "MI", "on", "the", "register", "bank", "."], "TS_V_token": ["X86", "X86"], "File": "X86RegisterBankInfo21", "Func": "getInstrMapping", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1467, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isValid", "(", "ReachingDefAnalysis", "&", "RDA", ")", "{", "for", "(", "auto", "&", "Block", ":", "Blocks", ")", "{", "if", "(", "isEntryPredicatedOnVCTP", "(", "Block", ",", "false", ")", "||", "hasImplicitlyValidVPT", "(", "Block", ",", "RDA", ")", ")", "continue", ";", "SmallVectorImpl", "<", "MachineInstr", "*", ">", "&", "Insts", "=", "Block", ".", "getInsts", "(", ")", ";", "for", "(", "auto", "*", "MI", ":", "Insts", ")", "{", "if", "(", "isVCTP", "(", "MI", ")", "&&", "getVPTInstrPredicate", "(", "*", "MI", ")", "!=", "ARMVCC", "::", "Then", ")", "return", "false", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "MVE_VPST", "||", "isVectorPredicate", "(", "MI", ")", ")", "continue", ";", "if", "(", "!", "isPredicatedOnVCTP", "(", "MI", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"ARM Loops: Can't convert: \"", "<<", "*", "MI", ")", ";", "return", "false", ";", "}", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "this", "iterator", "is", "still", "pointing", "at", "a", "valid", "entry", "."], "TS_V_token": ["ARM", "ARMVCC::Then", "ARM::MVE_VPST", "\"ARM Loops: Can't convert: \""], "File": "ARMLowOverheadLoops2", "Func": "isValid", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1468, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "assignValueToReg", "(", "Register", "ValVReg", ",", "Register", "PhysReg", ",", "CCValAssign", "&", "VA", ")", "override", "{", "markPhysRegUsed", "(", "PhysReg", ")", ";", "switch", "(", "VA", ".", "getLocInfo", "(", ")", ")", "{", "default", ":", "{", "unsigned", "PhysRegSize", "=", "MRI", ".", "getTargetRegisterInfo", "(", ")", "->", "getRegSizeInBits", "(", "PhysReg", ",", "MRI", ")", ";", "unsigned", "ValSize", "=", "VA", ".", "getValVT", "(", ")", ".", "getSizeInBits", "(", ")", ";", "unsigned", "LocSize", "=", "VA", ".", "getLocVT", "(", ")", ".", "getSizeInBits", "(", ")", ";", "if", "(", "PhysRegSize", ">", "ValSize", "&&", "LocSize", "==", "ValSize", ")", "{", "auto", "Copy", "=", "MIRBuilder", ".", "buildCopy", "(", "LLT", "::", "scalar", "(", "PhysRegSize", ")", ",", "PhysReg", ")", ";", "MIRBuilder", ".", "buildTrunc", "(", "ValVReg", ",", "Copy", ")", ";", "return", ";", "}", "MIRBuilder", ".", "buildCopy", "(", "ValVReg", ",", "PhysReg", ")", ";", "break", ";", "}", "case", "CCValAssign", "::", "LocInfo", "::", "SExt", ":", "case", "CCValAssign", "::", "LocInfo", "::", "ZExt", ":", "case", "CCValAssign", "::", "LocInfo", "::", "AExt", ":", "{", "auto", "Copy", "=", "MIRBuilder", ".", "buildCopy", "(", "LLT", "{", "VA", ".", "getLocVT", "(", ")", "}", ",", "PhysReg", ")", ";", "MIRBuilder", ".", "buildTrunc", "(", "ValVReg", ",", "Copy", ")", ";", "break", ";", "}", "}", "}", ""], "natrual_language": ["The", "specified", "value", "has", "been", "assigned", "to", "a", "physical", "register", ",", "handle", "the", "appropriate", "COPY", "(", "either", "to", "or", "from", ")", "and", "mark", "any", "relevant", "uses/defines", "as", "needed", "."], "TS_V_token": ["X86"], "File": "X86CallLowering1", "Func": "assignValueToReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1469, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "expand_save_restore", "(", "struct", "lm32_frame_info", "*", "info", ",", "int", "op", ")", "{", "unsigned", "int", "reg_save_mask", "=", "info", "->", "reg_save_mask", ";", "int", "regno", ";", "HOST_WIDE_INT", "offset", ";", "rtx", "insn", ";", "offset", "=", "info", "->", "args_size", "+", "info", "->", "callee_size", ";", "for", "(", "regno", "=", "0", ";", "regno", "<=", "31", ";", "regno", "++", ")", "{", "if", "(", "(", "reg_save_mask", "&", "(", "1", "<<", "regno", ")", ")", "!=", "0", ")", "{", "rtx", "offset_rtx", ";", "rtx", "mem", ";", "offset_rtx", "=", "GEN_INT", "(", "offset", ")", ";", "if", "(", "satisfies_constraint_K", "(", "offset_rtx", ")", ")", "{", "mem", "=", "gen_rtx_MEM", "(", "word_mode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset_rtx", ")", ")", ";", "}", "else", "{", "rtx", "r10", ";", "r10", "=", "gen_rtx_REG", "(", "word_mode", ",", "10", ")", ";", "insn", "=", "emit_move_insn", "(", "r10", ",", "offset_rtx", ")", ";", "if", "(", "op", "==", "0", ")", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "insn", "=", "emit_add", "(", "r10", ",", "r10", ",", "stack_pointer_rtx", ")", ";", "if", "(", "op", "==", "0", ")", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "mem", "=", "gen_rtx_MEM", "(", "word_mode", ",", "r10", ")", ";", "}", "if", "(", "op", "==", "0", ")", "insn", "=", "emit_move_insn", "(", "mem", ",", "gen_rtx_REG", "(", "word_mode", ",", "regno", ")", ")", ";", "else", "insn", "=", "emit_move_insn", "(", "gen_rtx_REG", "(", "word_mode", ",", "regno", ")", ",", "mem", ")", ";", "if", "(", "op", "==", "0", ")", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "offset", "-=", "UNITS_PER_WORD", ";", "}", "}", "}", ""], "natrual_language": ["Generate", "and", "emit", "RTL", "to", "save", "or", "restore", "callee", "save", "registers", "."], "TS_V_token": ["lm32", "0", "31", "1", "0", "10", "0", "1", "0", "1", "0", "0", "1"], "File": "lm32", "Func": "expand_save_restore", "Target": "lm32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1470, "Length": 232, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "A15SDOptimizer", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "const", "ARMSubtarget", "&", "STI", "=", "Fn", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "if", "(", "!", "(", "STI", ".", "isCortexA15", "(", ")", "&&", "STI", ".", "hasNEON", "(", ")", ")", ")", "return", "false", ";", "TII", "=", "STI", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "Fn", ".", "getRegInfo", "(", ")", ";", "bool", "Modified", "=", "false", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Running on function \"", "<<", "Fn", ".", "getName", "(", ")", "<<", "\"\\n\"", ")", ";", "DeadInstr", ".", "clear", "(", ")", ";", "Replacements", ".", "clear", "(", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "MFI", "=", "Fn", ".", "begin", "(", ")", ",", "E", "=", "Fn", ".", "end", "(", ")", ";", "MFI", "!=", "E", ";", "++", "MFI", ")", "{", "for", "(", "MachineBasicBlock", "::", "iterator", "MI", "=", "MFI", "->", "begin", "(", ")", ",", "ME", "=", "MFI", "->", "end", "(", ")", ";", "MI", "!=", "ME", ";", ")", "{", "Modified", "|=", "runOnInstruction", "(", "MI", "++", ")", ";", "}", "}", "for", "(", "std", "::", "set", "<", "MachineInstr", "*", ">", "::", "iterator", "I", "=", "DeadInstr", ".", "begin", "(", ")", ",", "E", "=", "DeadInstr", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "(", "*", "I", ")", "->", "eraseFromParent", "(", ")", ";", "}", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM", "\"Running on function \"", "\"\\n\""], "File": "A15SDOptimizer (2)1", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1471, "Length": 218, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "iamcu_alignment", "(", "tree", "type", ",", "int", "align", ")", "{", "enum", "machine_mode", "mode", ";", "if", "(", "align", "<", "32", "||", "TYPE_USER_ALIGN", "(", "type", ")", ")", "return", "align", ";", "mode", "=", "TYPE_MODE", "(", "strip_array_types", "(", "type", ")", ")", ";", "switch", "(", "GET_MODE_CLASS", "(", "mode", ")", ")", "{", "case", "MODE_INT", ":", "case", "MODE_COMPLEX_INT", ":", "case", "MODE_COMPLEX_FLOAT", ":", "case", "MODE_FLOAT", ":", "case", "MODE_DECIMAL_FLOAT", ":", "return", "32", ";", "default", ":", "return", "align", ";", "}", "}", ""], "natrual_language": ["Compute", "the", "alignment", "for", "a", "variable", "for", "Intel", "MCU", "psABI", ".", "TYPE", "is", "the", "data", "type", ",", "and", "ALIGN", "is", "the", "alignment", "that", "the", "object", "would", "ordinarily", "have", "."], "TS_V_token": ["i386", "32", "32"], "File": "i3865", "Func": "iamcu_alignment", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1472, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"SNES Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["SNES", "\"SNES Assembly Printer\""], "File": "SNESAsmPrinter", "Func": "getPassName", "Target": "SNES", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1473, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "mmix_data_section_asm_op", "(", ")", "{", "return", "\"\\t.data ! mmixal:= 8H LOC 9B\"", ";", "}", ""], "natrual_language": ["DATA_SECTION_ASM_OP", "."], "TS_V_token": ["mmix", "\"\\t.data ! mmixal:= 8H LOC 9B\""], "File": "mmix2", "Func": "mmix_data_section_asm_op", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1474, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "R600TargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "SelectionDAG", "&", "DAG", "=", "DCI", ".", "DAG", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "FP_ROUND", ":", "{", "SDValue", "Arg", "=", "N", "->", "getOperand", "(", "0", ")", ";", "if", "(", "Arg", ".", "getOpcode", "(", ")", "==", "ISD", "::", "UINT_TO_FP", "&&", "Arg", ".", "getValueType", "(", ")", "==", "MVT", "::", "f64", ")", "{", "return", "DAG", ".", "getNode", "(", "ISD", "::", "UINT_TO_FP", ",", "N", "->", "getDebugLoc", "(", ")", ",", "N", "->", "getValueType", "(", "0", ")", ",", "Arg", ".", "getOperand", "(", "0", ")", ")", ";", "}", "break", ";", "}", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["This", "method", "will", "be", "invoked", "for", "all", "target", "nodes", "and", "for", "any", "target-independent", "nodes", "that", "the", "target", "has", "registered", "with", "invoke", "it", "for", "."], "TS_V_token": ["R600", "ISD::FP_ROUND", "0", "ISD::UINT_TO_FP", "MVT::f64", "ISD::UINT_TO_FP", "0", "0"], "File": "R600ISelLowering63", "Func": "PerformDAGCombine", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1475, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_round", "(", "rtx", "operand0", ",", "rtx", "operand1", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "operand0", ")", ";", "rtx", "res", ",", "TWO52", ",", "xa", ",", "xi", ",", "half", ",", "mask", ";", "rtx_code_label", "*", "label", ";", "const", "struct", "real_format", "*", "fmt", ";", "REAL_VALUE_TYPE", "pred_half", ",", "half_minus_pred_half", ";", "res", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_move_insn", "(", "res", ",", "operand1", ")", ";", "TWO52", "=", "ix86_gen_TWO52", "(", "mode", ")", ";", "xa", "=", "ix86_expand_sse_fabs", "(", "res", ",", "&", "mask", ")", ";", "label", "=", "ix86_expand_sse_compare_and_jump", "(", "UNLE", ",", "TWO52", ",", "xa", ",", "false", ")", ";", "fmt", "=", "REAL_MODE_FORMAT", "(", "mode", ")", ";", "real_2expN", "(", "&", "half_minus_pred_half", ",", "-", "(", "fmt", "->", "p", ")", "-", "1", ",", "mode", ")", ";", "REAL_ARITHMETIC", "(", "pred_half", ",", "MINUS_EXPR", ",", "dconsthalf", ",", "half_minus_pred_half", ")", ";", "half", "=", "force_reg", "(", "mode", ",", "const_double_from_real_value", "(", "pred_half", ",", "mode", ")", ")", ";", "xa", "=", "expand_simple_binop", "(", "mode", ",", "PLUS", ",", "xa", ",", "half", ",", "NULL_RTX", ",", "0", ",", "OPTAB_DIRECT", ")", ";", "xi", "=", "gen_reg_rtx", "(", "mode", "==", "DFmode", "?", "DImode", ":", "SImode", ")", ";", "expand_fix", "(", "xi", ",", "xa", ",", "0", ")", ";", "expand_float", "(", "xa", ",", "xi", ",", "0", ")", ";", "ix86_sse_copysign_to_positive", "(", "res", ",", "xa", ",", "force_reg", "(", "mode", ",", "operand1", ")", ",", "mask", ")", ";", "emit_label", "(", "label", ")", ";", "LABEL_NUSES", "(", "label", ")", "=", "1", ";", "emit_move_insn", "(", "operand0", ",", "res", ")", ";", "}", ""], "natrual_language": ["Expand", "SSE", "sequence", "for", "computing", "round", "from", "OPERAND1", "storing", "into", "OPERAND0", "."], "TS_V_token": ["i386", "1", "0", "0", "0", "1"], "File": "i3864", "Func": "ix86_expand_round", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1476, "Length": 225, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "getFramePointerSaveOffset", "(", "bool", "isPPC64", ",", "bool", "isDarwinABI", ")", "{", "if", "(", "isDarwinABI", ")", "return", "isPPC64", "?", "-", "8U", ":", "-", "4U", ";", "return", "isPPC64", "?", "-", "8U", ":", "-", "4U", ";", "}", ""], "natrual_language": ["getFramePointerSaveOffset", "-", "Return", "the", "previous", "frame", "offset", "to", "save", "the", "frame", "pointer", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "8U", "4U", "PPC", "8U", "4U"], "File": "PPCFrameInfo1", "Func": "getFramePointerSaveOffset", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1477, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "std", "::", "unique_ptr", "<", "X86Operand", ">", "CreateMem", "(", "unsigned", "ModeSize", ",", "unsigned", "SegReg", ",", "const", "MCExpr", "*", "Disp", ",", "unsigned", "BaseReg", ",", "unsigned", "IndexReg", ",", "unsigned", "Scale", ",", "SMLoc", "StartLoc", ",", "SMLoc", "EndLoc", ",", "unsigned", "Size", "=", "0", ",", "unsigned", "DefaultBaseReg", "=", "X86", "::", "NoRegister", ",", "StringRef", "SymName", "=", "StringRef", "(", ")", ",", "void", "*", "OpDecl", "=", "nullptr", ",", "unsigned", "FrontendSize", "=", "0", ",", "bool", "UseUpRegs", "=", "false", ")", "{", "assert", "(", "(", "SegReg", "||", "BaseReg", "||", "IndexReg", "||", "DefaultBaseReg", ")", "&&", "\"Invalid memory operand!\"", ")", ";", "assert", "(", "(", "(", "Scale", "==", "1", "||", "Scale", "==", "2", "||", "Scale", "==", "4", "||", "Scale", "==", "8", ")", ")", "&&", "\"Invalid scale!\"", ")", ";", "auto", "Res", "=", "std", "::", "make_unique", "<", "X86Operand", ">", "(", "Memory", ",", "StartLoc", ",", "EndLoc", ")", ";", "Res", "->", "Mem", ".", "SegReg", "=", "SegReg", ";", "Res", "->", "Mem", ".", "Disp", "=", "Disp", ";", "Res", "->", "Mem", ".", "BaseReg", "=", "BaseReg", ";", "Res", "->", "Mem", ".", "DefaultBaseReg", "=", "DefaultBaseReg", ";", "Res", "->", "Mem", ".", "IndexReg", "=", "IndexReg", ";", "Res", "->", "Mem", ".", "Scale", "=", "Scale", ";", "Res", "->", "Mem", ".", "Size", "=", "Size", ";", "Res", "->", "Mem", ".", "ModeSize", "=", "ModeSize", ";", "Res", "->", "Mem", ".", "FrontendSize", "=", "FrontendSize", ";", "Res", "->", "UseUpRegs", "=", "UseUpRegs", ";", "Res", "->", "SymName", "=", "SymName", ";", "Res", "->", "OpDecl", "=", "OpDecl", ";", "Res", "->", "AddressOf", "=", "false", ";", "return", "Res", ";", "}", ""], "natrual_language": ["Create", "a", "generalized", "memory", "operand", "."], "TS_V_token": ["X86", "X86", "0", "X86::NoRegister", "0", "\"Invalid memory operand!\"", "1", "2", "4", "8", "\"Invalid scale!\"", "X86"], "File": "X86Operand15", "Func": "CreateMem", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1478, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "visium_rtx_costs", "(", "rtx", "x", ",", "machine_mode", "mode", ",", "int", "outer_code", "ATTRIBUTE_UNUSED", ",", "int", "opno", "ATTRIBUTE_UNUSED", ",", "int", "*", "total", ",", "bool", "speed", "ATTRIBUTE_UNUSED", ")", "{", "int", "code", "=", "GET_CODE", "(", "x", ")", ";", "switch", "(", "code", ")", "{", "case", "CONST_INT", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "!", "satisfies_constraint_J", "(", "x", ")", ")", ";", "return", "true", ";", "case", "CONST", ":", "case", "LABEL_REF", ":", "case", "SYMBOL_REF", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "2", ")", ";", "return", "true", ";", "case", "CONST_DOUBLE", ":", "{", "rtx", "high", ",", "low", ";", "split_double", "(", "x", ",", "&", "high", ",", "&", "low", ")", ";", "*", "total", "=", "COSTS_N_INSNS", "(", "!", "satisfies_constraint_J", "(", "high", ")", "+", "!", "satisfies_constraint_J", "(", "low", ")", ")", ";", "return", "true", ";", "}", "case", "MULT", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "3", ")", ";", "return", "false", ";", "case", "DIV", ":", "case", "UDIV", ":", "case", "MOD", ":", "case", "UMOD", ":", "if", "(", "mode", "==", "DImode", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "64", ")", ";", "else", "*", "total", "=", "COSTS_N_INSNS", "(", "32", ")", ";", "return", "false", ";", "case", "PLUS", ":", "case", "MINUS", ":", "case", "NEG", ":", "if", "(", "mode", "==", "DImode", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "2", ")", ";", "else", "*", "total", "=", "COSTS_N_INSNS", "(", "1", ")", ";", "return", "false", ";", "case", "ASHIFT", ":", "case", "ASHIFTRT", ":", "case", "LSHIFTRT", ":", "if", "(", "mode", "==", "DImode", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "3", ")", ";", "else", "*", "total", "=", "COSTS_N_INSNS", "(", "1", ")", ";", "return", "false", ";", "case", "COMPARE", ":", "if", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "ZERO_EXTRACT", "&&", "XEXP", "(", "x", ",", "1", ")", "==", "const0_rtx", "&&", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "1", ")", "==", "const1_rtx", "&&", "satisfies_constraint_K", "(", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "2", ")", ")", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "1", ")", ";", "return", "false", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Return", "the", "relative", "costs", "of", "expression", "X", "."], "TS_V_token": ["visium", "2", "3", "64", "32", "2", "1", "3", "1", "0", "1", "0", "1", "0", "2", "1"], "File": "visium", "Func": "visium_rtx_costs", "Target": "visium", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 1479, "Length": 315, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "scalar_int_mode", "spu_addr_space_pointer_mode", "(", "addr_space_t", "addrspace", ")", "{", "switch", "(", "addrspace", ")", "{", "case", "ADDR_SPACE_GENERIC", ":", "return", "ptr_mode", ";", "case", "ADDR_SPACE_EA", ":", "return", "EAmode", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "the", "appropriate", "mode", "for", "a", "named", "address", "pointer", "."], "TS_V_token": ["spu"], "File": "spu3", "Func": "spu_addr_space_pointer_mode", "Target": "spu", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1480, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mcore_gen_compare", "(", "enum", "rtx_code", "code", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "rtx", "cc_reg", "=", "gen_rtx_REG", "(", "CCmode", ",", "CC_REG", ")", ";", "bool", "invert", ";", "if", "(", "GET_CODE", "(", "op1", ")", "==", "CONST_INT", ")", "{", "HOST_WIDE_INT", "val", "=", "INTVAL", "(", "op1", ")", ";", "switch", "(", "code", ")", "{", "case", "GTU", ":", "if", "(", "val", "==", "0", ")", "code", "=", "NE", ";", "break", ";", "case", "GT", ":", "case", "LE", ":", "if", "(", "CONST_OK_FOR_J", "(", "val", "+", "1", ")", ")", "{", "op1", "=", "GEN_INT", "(", "val", "+", "1", ")", ";", "code", "=", "code", "==", "LE", "?", "LT", ":", "GE", ";", "}", "break", ";", "default", ":", "break", ";", "}", "}", "if", "(", "CONSTANT_P", "(", "op1", ")", "&&", "GET_CODE", "(", "op1", ")", "!=", "CONST_INT", ")", "op1", "=", "force_reg", "(", "SImode", ",", "op1", ")", ";", "invert", "=", "false", ";", "switch", "(", "code", ")", "{", "case", "EQ", ":", "code", "=", "NE", ";", "invert", "=", "true", ";", "case", "NE", ":", "if", "(", "GET_CODE", "(", "op1", ")", "==", "CONST_INT", "&&", "!", "CONST_OK_FOR_K", "(", "INTVAL", "(", "op1", ")", ")", ")", "op1", "=", "force_reg", "(", "SImode", ",", "op1", ")", ";", "break", ";", "case", "LE", ":", "code", "=", "GT", ";", "invert", "=", "true", ";", "case", "GT", ":", "if", "(", "GET_CODE", "(", "op1", ")", "==", "CONST_INT", ")", "op1", "=", "force_reg", "(", "SImode", ",", "op1", ")", ";", "break", ";", "case", "GE", ":", "code", "=", "LT", ";", "invert", "=", "true", ";", "case", "LT", ":", "if", "(", "GET_CODE", "(", "op1", ")", "==", "CONST_INT", "&&", "INTVAL", "(", "op1", ")", "!=", "0", "&&", "!", "CONST_OK_FOR_J", "(", "INTVAL", "(", "op1", ")", ")", ")", "op1", "=", "force_reg", "(", "SImode", ",", "op1", ")", ";", "break", ";", "case", "GTU", ":", "gcc_assert", "(", "GET_CODE", "(", "op1", ")", "!=", "CONST_INT", "||", "INTVAL", "(", "op1", ")", "!=", "0", ")", ";", "code", "=", "LEU", ";", "invert", "=", "true", ";", "case", "LEU", ":", "if", "(", "GET_CODE", "(", "op1", ")", "==", "CONST_INT", "&&", "INTVAL", "(", "op1", ")", "!=", "0", ")", "op1", "=", "force_reg", "(", "SImode", ",", "op1", ")", ";", "break", ";", "case", "LTU", ":", "code", "=", "GEU", ";", "invert", "=", "true", ";", "case", "GEU", ":", "if", "(", "GET_CODE", "(", "op1", ")", "==", "CONST_INT", "&&", "INTVAL", "(", "op1", ")", "!=", "0", ")", "op1", "=", "force_reg", "(", "SImode", ",", "op1", ")", ";", "break", ";", "default", ":", "break", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "cc_reg", ",", "gen_rtx_fmt_ee", "(", "code", ",", "CCmode", ",", "op0", ",", "op1", ")", ")", ")", ";", "return", "invert", ";", "}", ""], "natrual_language": ["Prepare", "the", "operands", "for", "a", "comparison", ".", "Return", "whether", "the", "branch/setcc", "should", "reverse", "the", "operands", "."], "TS_V_token": ["mcore", "0", "1", "1", "0", "0", "0", "0"], "File": "mcore", "Func": "mcore_gen_compare", "Target": "mcore", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1481, "Length": 395, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RegisterBankInfo", "*", "getRegBankInfo", "(", ")", "const", "override", "{", "return", "RegBankInfo", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["If", "the", "information", "for", "the", "register", "banks", "is", "available", ",", "return", "it", "."], "TS_V_token": ["ARM"], "File": "ARMSubtarget51", "Func": "getRegBankInfo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1482, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "XCoreInstrInfo", "::", "analyzeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "&", "TBB", ",", "MachineBasicBlock", "*", "&", "FBB", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "bool", "AllowModify", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "end", "(", ")", ")", "return", "false", ";", "if", "(", "!", "isUnpredicatedTerminator", "(", "*", "I", ")", ")", "return", "false", ";", "MachineInstr", "*", "LastInst", "=", "I", ";", "if", "(", "I", "==", "MBB", ".", "begin", "(", ")", "||", "!", "isUnpredicatedTerminator", "(", "*", "--", "I", ")", ")", "{", "if", "(", "IsBRU", "(", "LastInst", "->", "getOpcode", "(", ")", ")", ")", "{", "TBB", "=", "LastInst", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "return", "false", ";", "}", "XCore", "::", "CondCode", "BranchCode", "=", "GetCondFromBranchOpc", "(", "LastInst", "->", "getOpcode", "(", ")", ")", ";", "if", "(", "BranchCode", "==", "XCore", "::", "COND_INVALID", ")", "return", "true", ";", "TBB", "=", "LastInst", "->", "getOperand", "(", "1", ")", ".", "getMBB", "(", ")", ";", "Cond", ".", "push_back", "(", "MachineOperand", "::", "CreateImm", "(", "BranchCode", ")", ")", ";", "Cond", ".", "push_back", "(", "LastInst", "->", "getOperand", "(", "0", ")", ")", ";", "return", "false", ";", "}", "MachineInstr", "*", "SecondLastInst", "=", "I", ";", "if", "(", "SecondLastInst", "&&", "I", "!=", "MBB", ".", "begin", "(", ")", "&&", "isUnpredicatedTerminator", "(", "*", "--", "I", ")", ")", "return", "true", ";", "unsigned", "SecondLastOpc", "=", "SecondLastInst", "->", "getOpcode", "(", ")", ";", "XCore", "::", "CondCode", "BranchCode", "=", "GetCondFromBranchOpc", "(", "SecondLastOpc", ")", ";", "if", "(", "BranchCode", "!=", "XCore", "::", "COND_INVALID", "&&", "IsBRU", "(", "LastInst", "->", "getOpcode", "(", ")", ")", ")", "{", "TBB", "=", "SecondLastInst", "->", "getOperand", "(", "1", ")", ".", "getMBB", "(", ")", ";", "Cond", ".", "push_back", "(", "MachineOperand", "::", "CreateImm", "(", "BranchCode", ")", ")", ";", "Cond", ".", "push_back", "(", "SecondLastInst", "->", "getOperand", "(", "0", ")", ")", ";", "FBB", "=", "LastInst", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IsBRU", "(", "SecondLastInst", "->", "getOpcode", "(", ")", ")", "&&", "IsBRU", "(", "LastInst", "->", "getOpcode", "(", ")", ")", ")", "{", "TBB", "=", "SecondLastInst", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "I", "=", "LastInst", ";", "if", "(", "AllowModify", ")", "I", "->", "eraseFromParent", "(", ")", ";", "return", "false", ";", "}", "if", "(", "IsBR_JT", "(", "SecondLastInst", "->", "getOpcode", "(", ")", ")", "&&", "IsBRU", "(", "LastInst", "->", "getOpcode", "(", ")", ")", ")", "{", "I", "=", "LastInst", ";", "if", "(", "AllowModify", ")", "I", "->", "eraseFromParent", "(", ")", ";", "return", "true", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["analyzeBranch", "-", "Analyze", "the", "branching", "code", "at", "the", "end", "of", "MBB", ",", "returning", "true", "if", "it", "can", "not", "be", "understood", "(", "e.g", "."], "TS_V_token": ["XCore", "XCore", "0", "XCore::CondCode", "XCore::COND_INVALID", "1", "0", "XCore::CondCode", "XCore::COND_INVALID", "1", "0", "0", "0"], "File": "XCoreInstrInfo1", "Func": "analyzeBranch", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1483, "Length": 401, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "getBasePointerSaveOffset", "(", "bool", "isPPC64", ",", "bool", "isDarwinABI", ")", "{", "if", "(", "isDarwinABI", ")", "return", "isPPC64", "?", "-", "16U", ":", "-", "8U", ";", "return", "isPPC64", "?", "-", "16U", ":", "-", "8U", ";", "}", ""], "natrual_language": ["getBasePointerSaveOffset", "-", "Return", "the", "previous", "frame", "offset", "to", "save", "the", "base", "pointer", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "16U", "8U", "PPC", "16U", "8U"], "File": "PPCFrameLowering", "Func": "getBasePointerSaveOffset", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1484, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isConditionalBranch", "(", "MCInst", "const", "&", "Inst", ")", "const", "override", "{", "return", "MCInstrAnalysis", "::", "isConditionalBranch", "(", "Inst", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "is", "a", "branch", "which", "may", "fall", "through", "to", "the", "next", "instruction", "or", "may", "transfer", "control", "flow", "to", "some", "other", "block", "."], "TS_V_token": ["Hexagon"], "File": "HexagonMCTargetDesc", "Func": "isConditionalBranch", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1485, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "StringRef", "(", "\"LEG DAG->DAG Pattern Instruction Selection\"", ")", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["LEG", "\"LEG DAG->DAG Pattern Instruction Selection\""], "File": "LEGISelDAGToDAG", "Func": "getPassName", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1486, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "ExpandInlineAsm", "(", "CallInst", "*", "CI", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "hasV6Ops", "(", ")", ")", "return", "false", ";", "InlineAsm", "*", "IA", "=", "cast", "<", "InlineAsm", ">", "(", "CI", "->", "getCalledOperand", "(", ")", ")", ";", "std", "::", "string", "AsmStr", "=", "IA", "->", "getAsmString", "(", ")", ";", "SmallVector", "<", "StringRef", ",", "4", ">", "AsmPieces", ";", "SplitString", "(", "AsmStr", ",", "AsmPieces", ",", "\";\\n\"", ")", ";", "switch", "(", "AsmPieces", ".", "size", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "1", ":", "AsmStr", "=", "std", "::", "string", "(", "AsmPieces", "[", "0", "]", ")", ";", "AsmPieces", ".", "clear", "(", ")", ";", "SplitString", "(", "AsmStr", ",", "AsmPieces", ",", "\" \\t,\"", ")", ";", "if", "(", "AsmPieces", ".", "size", "(", ")", "==", "3", "&&", "AsmPieces", "[", "0", "]", "==", "\"rev\"", "&&", "AsmPieces", "[", "1", "]", "==", "\"$0\"", "&&", "AsmPieces", "[", "2", "]", "==", "\"$1\"", "&&", "IA", "->", "getConstraintString", "(", ")", ".", "compare", "(", "0", ",", "4", ",", "\"=l,l\"", ")", "==", "0", ")", "{", "IntegerType", "*", "Ty", "=", "dyn_cast", "<", "IntegerType", ">", "(", "CI", "->", "getType", "(", ")", ")", ";", "if", "(", "Ty", "&&", "Ty", "->", "getBitWidth", "(", ")", "==", "32", ")", "return", "IntrinsicLowering", "::", "LowerToByteSwap", "(", "CI", ")", ";", "}", "break", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["This", "hook", "allows", "the", "target", "to", "expand", "an", "inline", "asm", "call", "to", "be", "explicit", "llvm", "code", "if", "it", "wants", "to", "."], "TS_V_token": ["ARM", "ARM", "4", "\";\\n\"", "1", "0", "\" \\t,\"", "3", "0", "\"rev\"", "1", "\"$0\"", "2", "\"$1\"", "0", "4", "\"=l,l\"", "0", "32"], "File": "ARMISelLowering (2)5", "Func": "ExpandInlineAsm", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1487, "Length": 204, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"AArch64 pseudo instruction expansion pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64", "\"AArch64 pseudo instruction expansion pass\""], "File": "AArch64ExpandPseudoInsts", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1488, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "assignValueToAddress", "(", "unsigned", "ValVReg", ",", "unsigned", "Addr", ",", "uint64_t", "Size", ",", "MachinePointerInfo", "&", "MPO", ",", "CCValAssign", "&", "VA", ")", "override", "{", "llvm_unreachable", "(", "\"Don't know how to assign a value to an address yet\"", ")", ";", "}", ""], "natrual_language": ["An", "overload", "which", "takes", "an", "ArgInfo", "if", "additional", "information", "about", "the", "arg", "is", "needed", "."], "TS_V_token": ["X86", "\"Don't know how to assign a value to an address yet\""], "File": "X86CallLowering16", "Func": "assignValueToAddress", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1489, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLoweringBase", "::", "LegalizeTypeAction", "HexagonTargetLowering", "::", "getPreferredVectorAction", "(", "MVT", "VT", ")", "const", "{", "unsigned", "VecLen", "=", "VT", ".", "getVectorMinNumElements", "(", ")", ";", "MVT", "ElemTy", "=", "VT", ".", "getVectorElementType", "(", ")", ";", "if", "(", "VecLen", "==", "1", "||", "VT", ".", "isScalableVector", "(", ")", ")", "return", "TargetLoweringBase", "::", "TypeScalarizeVector", ";", "if", "(", "Subtarget", ".", "useHVXOps", "(", ")", ")", "{", "unsigned", "Action", "=", "getPreferredHvxVectorAction", "(", "VT", ")", ";", "if", "(", "Action", "!=", "~", "0u", ")", "return", "static_cast", "<", "TargetLoweringBase", "::", "LegalizeTypeAction", ">", "(", "Action", ")", ";", "}", "if", "(", "ElemTy", "==", "MVT", "::", "i1", ")", "return", "TargetLoweringBase", "::", "TypeWidenVector", ";", "return", "TargetLoweringBase", "::", "TypeSplitVector", ";", "}", ""], "natrual_language": ["Customize", "the", "preferred", "legalization", "strategy", "for", "certain", "types", "."], "TS_V_token": ["Hexagon", "Hexagon", "1", "0u", "MVT::i1"], "File": "HexagonISelLowering110", "Func": "getPreferredVectorAction", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1490, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_can_inline_p", "(", "tree", "caller", ",", "tree", "callee", ")", "{", "bool", "ret", "=", "false", ";", "tree", "caller_tree", "=", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "caller", ")", ";", "tree", "callee_tree", "=", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "callee", ")", ";", "if", "(", "!", "callee_tree", ")", "ret", "=", "true", ";", "else", "if", "(", "!", "caller_tree", ")", "ret", "=", "false", ";", "else", "{", "struct", "cl_target_option", "*", "caller_opts", "=", "TREE_TARGET_OPTION", "(", "caller_tree", ")", ";", "struct", "cl_target_option", "*", "callee_opts", "=", "TREE_TARGET_OPTION", "(", "callee_tree", ")", ";", "if", "(", "(", "caller_opts", "->", "x_rs6000_isa_flags", "&", "callee_opts", "->", "x_rs6000_isa_flags", ")", "==", "callee_opts", "->", "x_rs6000_isa_flags", ")", "ret", "=", "true", ";", "}", "if", "(", "TARGET_DEBUG_TARGET", ")", "fprintf", "(", "stderr", ",", "\"rs6000_can_inline_p:, caller %s, callee %s, %s inline\\n\"", ",", "(", "DECL_NAME", "(", "caller", ")", "?", "IDENTIFIER_POINTER", "(", "DECL_NAME", "(", "caller", ")", ")", ":", "\"\"", ")", ",", "(", "DECL_NAME", "(", "callee", ")", "?", "IDENTIFIER_POINTER", "(", "DECL_NAME", "(", "callee", ")", ")", ":", "\"\"", ")", ",", "(", "ret", "?", "\"can\"", ":", "\"cannot\"", ")", ")", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Hook", "to", "determine", "if", "one", "function", "can", "safely", "inline", "another", "."], "TS_V_token": ["powerpcspe", "\"rs6000_can_inline_p:, caller %s, callee %s, %s inline\\n\"", "\"\"", "\"\"", "\"can\"", "\"cannot\""], "File": "powerpcspe", "Func": "rs6000_can_inline_p", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1491, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SIInstrInfo", "::", "insertIndirectBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "&", "DestBB", ",", "const", "DebugLoc", "&", "DL", ",", "int64_t", "BrOffset", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "RS", "&&", "\"RegScavenger required for long branching\"", ")", ";", "assert", "(", "MBB", ".", "empty", "(", ")", "&&", "\"new block should be inserted for expanding unconditional branch\"", ")", ";", "assert", "(", "MBB", ".", "pred_size", "(", ")", "==", "1", ")", ";", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", "->", "getRegInfo", "(", ")", ";", "unsigned", "PCReg", "=", "MRI", ".", "createVirtualRegister", "(", "&", "AMDGPU", "::", "SReg_64RegClass", ")", ";", "auto", "I", "=", "MBB", ".", "end", "(", ")", ";", "MachineInstr", "*", "GetPC", "=", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "AMDGPU", "::", "S_GETPC_B64", ")", ",", "PCReg", ")", ";", "if", "(", "BrOffset", ">=", "0", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "AMDGPU", "::", "S_ADD_U32", ")", ")", ".", "addReg", "(", "PCReg", ",", "RegState", "::", "Define", ",", "AMDGPU", "::", "sub0", ")", ".", "addReg", "(", "PCReg", ",", "0", ",", "AMDGPU", "::", "sub0", ")", ".", "addMBB", "(", "&", "DestBB", ",", "MO_LONG_BRANCH_FORWARD", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "AMDGPU", "::", "S_ADDC_U32", ")", ")", ".", "addReg", "(", "PCReg", ",", "RegState", "::", "Define", ",", "AMDGPU", "::", "sub1", ")", ".", "addReg", "(", "PCReg", ",", "0", ",", "AMDGPU", "::", "sub1", ")", ".", "addImm", "(", "0", ")", ";", "}", "else", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "AMDGPU", "::", "S_SUB_U32", ")", ")", ".", "addReg", "(", "PCReg", ",", "RegState", "::", "Define", ",", "AMDGPU", "::", "sub0", ")", ".", "addReg", "(", "PCReg", ",", "0", ",", "AMDGPU", "::", "sub0", ")", ".", "addMBB", "(", "&", "DestBB", ",", "MO_LONG_BRANCH_BACKWARD", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "AMDGPU", "::", "S_SUBB_U32", ")", ")", ".", "addReg", "(", "PCReg", ",", "RegState", "::", "Define", ",", "AMDGPU", "::", "sub1", ")", ".", "addReg", "(", "PCReg", ",", "0", ",", "AMDGPU", "::", "sub1", ")", ".", "addImm", "(", "0", ")", ";", "}", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "AMDGPU", "::", "S_SETPC_B64", ")", ")", ".", "addReg", "(", "PCReg", ")", ";", "RS", "->", "enterBasicBlockEnd", "(", "MBB", ")", ";", "unsigned", "Scav", "=", "RS", "->", "scavengeRegisterBackwards", "(", "AMDGPU", "::", "SReg_64RegClass", ",", "MachineBasicBlock", "::", "iterator", "(", "GetPC", ")", ",", "false", ",", "0", ")", ";", "MRI", ".", "replaceRegWith", "(", "PCReg", ",", "Scav", ")", ";", "MRI", ".", "clearVirtRegs", "(", ")", ";", "RS", "->", "setRegUsed", "(", "Scav", ")", ";", "return", "4", "+", "8", "+", "4", "+", "4", ";", "}", ""], "natrual_language": ["Insert", "an", "unconditional", "indirect", "branch", "at", "the", "end", "of", "MBB", "to", "NewDestBB", "."], "TS_V_token": ["AMDGPU", "SI", "\"RegScavenger required for long branching\"", "\"new block should be inserted for expanding unconditional branch\"", "1", "AMDGPU::SReg_64RegClass", "AMDGPU::S_GETPC_B64", "0", "AMDGPU::S_ADD_U32", "AMDGPU::sub0", "0", "AMDGPU::sub0", "AMDGPU::S_ADDC_U32", "AMDGPU::sub1", "0", "AMDGPU::sub1", "0", "AMDGPU::S_SUB_U32", "AMDGPU::sub0", "0", "AMDGPU::sub0", "AMDGPU::S_SUBB_U32", "AMDGPU::sub1", "0", "AMDGPU::sub1", "0", "AMDGPU::S_SETPC_B64", "AMDGPU::SReg_64RegClass", "0", "4", "8", "4", "4"], "File": "SIInstrInfo110", "Func": "insertIndirectBranch", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1492, "Length": 399, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "neon_pairwise_reduce", "(", "rtx", "op0", ",", "rtx", "op1", ",", "machine_mode", "mode", ",", "rtx", "(", "*", "reduc", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ")", "{", "unsigned", "int", "i", ",", "parts", "=", "GET_MODE_SIZE", "(", "mode", ")", "/", "GET_MODE_UNIT_SIZE", "(", "mode", ")", ";", "rtx", "tmpsum", "=", "op1", ";", "for", "(", "i", "=", "parts", "/", "2", ";", "i", ">=", "1", ";", "i", "/=", "2", ")", "{", "rtx", "dest", "=", "(", "i", "==", "1", ")", "?", "op0", ":", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "reduc", "(", "dest", ",", "tmpsum", ",", "tmpsum", ")", ")", ";", "tmpsum", "=", "dest", ";", "}", "}", ""], "natrual_language": ["Output", "a", "sequence", "of", "pairwise", "operations", "to", "implement", "a", "reduction", ".", "NOTE", ":", "We", "do", "``", "too", "much", "work", "''", "here", ",", "because", "pairwise", "operations", "work", "on", "two", "registers-worth", "of", "operands", "in", "one", "go", ".", "Unfortunately", "we", "ca", "n't", "exploit", "those", "extra", "calculations", "to", "do", "the", "full", "operation", "in", "fewer", "steps", ",", "I", "do", "n't", "think", ".", "Although", "all", "vector", "elements", "of", "the", "result", "but", "the", "first", "are", "ignored", ",", "we", "actually", "calculate", "the", "same", "result", "in", "each", "of", "the", "elements", ".", "An", "alternative", "such", "as", "initially", "loading", "a", "vector", "with", "zero", "to", "use", "as", "each", "of", "the", "second", "operands", "would", "use", "up", "an", "additional", "register", "and", "take", "an", "extra", "instruction", ",", "for", "no", "particular", "gain", "."], "TS_V_token": ["arm", "2", "1", "2", "1"], "File": "arm", "Func": "neon_pairwise_reduce", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1493, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "lowerInterleavedStore", "(", "StoreInst", "*", "SI", ",", "ShuffleVectorInst", "*", "SVI", ",", "unsigned", "Factor", ")", "const", "{", "assert", "(", "Factor", ">=", "2", "&&", "Factor", "<=", "getMaxSupportedInterleaveFactor", "(", ")", "&&", "\"Invalid interleave factor\"", ")", ";", "assert", "(", "SVI", "->", "getType", "(", ")", "->", "getNumElements", "(", ")", "%", "Factor", "==", "0", "&&", "\"Invalid interleaved store\"", ")", ";", "SmallVector", "<", "unsigned", ",", "4", ">", "Indices", ";", "auto", "Mask", "=", "SVI", "->", "getShuffleMask", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Factor", ";", "i", "++", ")", "Indices", ".", "push_back", "(", "Mask", "[", "i", "]", ")", ";", "ArrayRef", "<", "ShuffleVectorInst", "*", ">", "Shuffles", "=", "makeArrayRef", "(", "SVI", ")", ";", "IRBuilder", "<", ">", "Builder", "(", "SI", ")", ";", "X86InterleavedAccessGroup", "Grp", "(", "SI", ",", "Shuffles", ",", "Indices", ",", "Factor", ",", "Subtarget", ",", "Builder", ")", ";", "return", "Grp", ".", "isSupported", "(", ")", "&&", "Grp", ".", "lowerIntoOptimizedSequence", "(", ")", ";", "}", ""], "natrual_language": ["Lower", "interleaved", "store", "(", "s", ")", "into", "target", "specific", "instructions/intrinsics", "."], "TS_V_token": ["X86", "X86", "2", "\"Invalid interleave factor\"", "0", "\"Invalid interleaved store\"", "4", "0", "X86"], "File": "X86InterleavedAccess14", "Func": "lowerInterleavedStore", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1494, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "compute_frame_size", "(", "poly_int64", "size", ",", "long", "*", "p_reg_saved", ")", "{", "return", "(", "size", "+", "compute_register_save_size", "(", "p_reg_saved", ")", "+", "crtl", "->", "outgoing_args_size", ")", ";", "}", ""], "natrual_language": ["Typical", "stack", "layout", "should", "looks", "like", "this", "after", "the", "function", "'s", "prologue", ":", "|", "|", "--", "^", "|", "|", "\\", "|", "|", "|", "arguments", "saved", "|", "Increasing", "|", "|", "on", "the", "stack", "|", "addresses", "PARENT", "arg", "pointer", "-", ">", "|", "|", "/", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "-", "|", "|", "-", "space", "for", "argument", "split", "between", "regs", "&", "stack", "--", "CHILD", "|", "|", "\\", "<", "--", "(", "return", "address", "here", ")", "|", "|", "other", "call", "|", "|", "saved", "registers", "|", "|", "/", "--", "frame", "pointer", "-", ">", "|", "|", "\\", "___", "|", "|", "local", "|", "|", "|", "variables", "|f", "|", "|", "/", "|r", "--", "|a", "|", "|", "\\", "|m", "|", "|", "outgoing", "|e", "|", "|", "arguments", "|", "|", "Decreasing", "(", "hard", ")", "frame", "pointer", "|", "|", "/", "|", "|", "addresses", "and", "stack", "pointer", "-", ">", "|", "|", "/", "_|_", "|", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "V"], "TS_V_token": ["v850"], "File": "v850", "Func": "compute_frame_size", "Target": "v850", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1495, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "aarch64_reassociation_width", "(", "unsigned", "opc", "ATTRIBUTE_UNUSED", ",", "enum", "machine_mode", "mode", ")", "{", "if", "(", "VECTOR_MODE_P", "(", "mode", ")", ")", "return", "aarch64_tune_params", ".", "vec_reassoc_width", ";", "if", "(", "INTEGRAL_MODE_P", "(", "mode", ")", ")", "return", "aarch64_tune_params", ".", "int_reassoc_width", ";", "if", "(", "FLOAT_MODE_P", "(", "mode", ")", ")", "return", "aarch64_tune_params", ".", "fp_reassoc_width", ";", "return", "1", ";", "}", ""], "natrual_language": ["Return", "the", "reassociation", "width", "of", "treeop", "OPC", "with", "mode", "MODE", "."], "TS_V_token": ["aarch64", "1"], "File": "aarch643", "Func": "aarch64_reassociation_width", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1496, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "MipsTargetLowering", "::", "getOptimalMemOpType", "(", "uint64_t", "Size", ",", "unsigned", "DstAlign", ",", "unsigned", "SrcAlign", ",", "bool", "IsMemset", ",", "bool", "ZeroMemset", ",", "bool", "MemcpyStrSrc", ",", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "Subtarget", ".", "hasMips64", "(", ")", ")", "return", "MVT", "::", "i64", ";", "return", "MVT", "::", "i32", ";", "}", ""], "natrual_language": ["It", "returns", "EVT", ":", ":Other", "if", "the", "type", "should", "be", "determined", "using", "generic", "target-independent", "logic", "."], "TS_V_token": ["Mips", "Mips", "Mips", "MVT::i64", "MVT::i32"], "File": "MipsISelLowering (2)5", "Func": "getOptimalMemOpType", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1497, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mn10300_function_arg", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "rtx", "result", "=", "NULL_RTX", ";", "int", "size", ";", "int", "nregs", "=", "2", ";", "if", "(", "mode", "==", "BLKmode", ")", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "else", "size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "cum", "->", "nbytes", "=", "(", "cum", "->", "nbytes", "+", "3", ")", "&", "~", "3", ";", "if", "(", "cum", "->", "nbytes", ">", "nregs", "*", "UNITS_PER_WORD", ")", "return", "result", ";", "if", "(", "type", "==", "NULL_TREE", "&&", "cum", "->", "nbytes", "+", "size", ">", "nregs", "*", "UNITS_PER_WORD", ")", "return", "result", ";", "switch", "(", "cum", "->", "nbytes", "/", "UNITS_PER_WORD", ")", "{", "case", "0", ":", "result", "=", "gen_rtx_REG", "(", "mode", ",", "FIRST_ARGUMENT_REGNUM", ")", ";", "break", ";", "case", "1", ":", "result", "=", "gen_rtx_REG", "(", "mode", ",", "FIRST_ARGUMENT_REGNUM", "+", "1", ")", ";", "break", ";", "default", ":", "break", ";", "}", "return", "result", ";", "}", ""], "natrual_language": ["Return", "an", "RTX", "to", "represent", "where", "a", "value", "with", "mode", "MODE", "will", "be", "returned", "from", "a", "function", ".", "If", "the", "result", "is", "NULL_RTX", ",", "the", "argument", "is", "pushed", "."], "TS_V_token": ["mn10300", "2", "3", "3", "0", "1", "1"], "File": "mn103004", "Func": "mn10300_function_arg", "Target": "mn10300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1498, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCFrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "return", "false", ";", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "PPCInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "PPCInstrInfo", "*", ">", "(", "MF", "->", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "bool", "CR2Spilled", "=", "false", ";", "bool", "CR3Spilled", "=", "false", ";", "bool", "CR4Spilled", "=", "false", ";", "unsigned", "CSIIndex", "=", "0", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "MI", ",", "BeforeI", "=", "I", ";", "bool", "AtStart", "=", "I", "==", "MBB", ".", "begin", "(", ")", ";", "if", "(", "!", "AtStart", ")", "--", "BeforeI", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "if", "(", "Reg", "==", "PPC", "::", "VRSAVE", "&&", "!", "Subtarget", ".", "isDarwinABI", "(", ")", ")", "continue", ";", "if", "(", "Reg", "==", "PPC", "::", "CR2", ")", "{", "CR2Spilled", "=", "true", ";", "CSIIndex", "=", "i", ";", "continue", ";", "}", "else", "if", "(", "Reg", "==", "PPC", "::", "CR3", ")", "{", "CR3Spilled", "=", "true", ";", "continue", ";", "}", "else", "if", "(", "Reg", "==", "PPC", "::", "CR4", ")", "{", "CR4Spilled", "=", "true", ";", "continue", ";", "}", "else", "{", "if", "(", "(", "CR2Spilled", "||", "CR3Spilled", "||", "CR4Spilled", ")", "&&", "!", "(", "PPC", "::", "CR2", "<=", "Reg", "&&", "Reg", "<=", "PPC", "::", "CR4", ")", ")", "{", "bool", "is31", "=", "needsFP", "(", "*", "MF", ")", ";", "restoreCRs", "(", "Subtarget", ".", "isPPC64", "(", ")", ",", "is31", ",", "CR2Spilled", ",", "CR3Spilled", ",", "CR4Spilled", ",", "MBB", ",", "I", ",", "CSI", ",", "CSIIndex", ")", ";", "CR2Spilled", "=", "CR3Spilled", "=", "CR4Spilled", "=", "false", ";", "}", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "TII", ".", "loadRegFromStackSlot", "(", "MBB", ",", "I", ",", "Reg", ",", "CSI", "[", "i", "]", ".", "getFrameIdx", "(", ")", ",", "RC", ",", "TRI", ")", ";", "assert", "(", "I", "!=", "MBB", ".", "begin", "(", ")", "&&", "\"loadRegFromStackSlot didn't insert any code!\"", ")", ";", "}", "if", "(", "AtStart", ")", "I", "=", "MBB", ".", "begin", "(", ")", ";", "else", "{", "I", "=", "BeforeI", ";", "++", "I", ";", "}", "}", "if", "(", "CR2Spilled", "||", "CR3Spilled", "||", "CR4Spilled", ")", "{", "bool", "is31", "=", "needsFP", "(", "*", "MF", ")", ";", "restoreCRs", "(", "Subtarget", ".", "isPPC64", "(", ")", ",", "is31", ",", "CR2Spilled", ",", "CR3Spilled", ",", "CR4Spilled", ",", "MBB", ",", "I", ",", "CSI", ",", "CSIIndex", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["restoreCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "restore", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "load", "instructions", "via", "loadRegToStackSlot", "(", ")", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "0", "0", "PPC::VRSAVE", "PPC::CR2", "PPC::CR3", "PPC::CR4", "PPC::CR2", "PPC::CR4", "PPC", "\"loadRegFromStackSlot didn't insert any code!\"", "PPC"], "File": "PPCFrameLowering18", "Func": "restoreCalleeSavedRegisters", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1499, "Length": 425, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "isReallyTriviallyReMaterializable", "(", "const", "MachineInstr", "&", "MI", ",", "AliasAnalysis", "*", "AA", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown rematerializable operation!\"", ")", ";", "break", ";", "case", "PPC", "::", "LI", ":", "case", "PPC", "::", "LI8", ":", "case", "PPC", "::", "LIS", ":", "case", "PPC", "::", "LIS8", ":", "case", "PPC", "::", "QVGPCI", ":", "case", "PPC", "::", "ADDIStocHA8", ":", "case", "PPC", "::", "ADDItocL", ":", "case", "PPC", "::", "LOAD_STACK_GUARD", ":", "case", "PPC", "::", "XXLXORz", ":", "case", "PPC", "::", "XXLXORspz", ":", "case", "PPC", "::", "XXLXORdpz", ":", "case", "PPC", "::", "XXLEQVOnes", ":", "case", "PPC", "::", "V_SET0B", ":", "case", "PPC", "::", "V_SET0H", ":", "case", "PPC", "::", "V_SET0", ":", "case", "PPC", "::", "V_SETALLONESB", ":", "case", "PPC", "::", "V_SETALLONESH", ":", "case", "PPC", "::", "V_SETALLONES", ":", "case", "PPC", "::", "CRSET", ":", "case", "PPC", "::", "CRUNSET", ":", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["For", "instructions", "with", "opcodes", "for", "which", "the", "M_REMATERIALIZABLE", "flag", "is", "set", ",", "this", "hook", "lets", "the", "target", "specify", "whether", "the", "instruction", "is", "actually", "trivially", "rematerializable", ",", "taking", "into", "consideration", "its", "operands", "."], "TS_V_token": ["PowerPC", "PPC", "\"Unknown rematerializable operation!\"", "PPC::LI", "PPC::LI8", "PPC::LIS", "PPC::LIS8", "PPC::QVGPCI", "PPC::ADDIStocHA8", "PPC::ADDItocL", "PPC::LOAD_STACK_GUARD", "PPC::XXLXORz", "PPC::XXLXORspz", "PPC::XXLXORdpz", "PPC::XXLEQVOnes", "PPC::V_SET0B", "PPC::V_SET0H", "PPC::V_SET0", "PPC::V_SETALLONESB", "PPC::V_SETALLONESH", "PPC::V_SETALLONES", "PPC::CRSET", "PPC::CRUNSET"], "File": "PPCInstrInfo118", "Func": "isReallyTriviallyReMaterializable", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1500, "Length": 142, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "valid_src_p", "(", "rtx", "src", ",", "rtx_insn", "*", "insn", ",", "struct", "loop", "*", "loop", ",", "bool", "*", "pre_post", ",", "rtx", "*", "base", ",", "rtx", "*", "offset", ",", "bool", "load_pair", ")", "{", "subrtx_var_iterator", "::", "array_type", "array", ";", "rtx", "x", "=", "NULL_RTX", ";", "FOR_EACH_SUBRTX_VAR", "(", "iter", ",", "array", ",", "src", ",", "NONCONST", ")", "if", "(", "MEM_P", "(", "*", "iter", ")", ")", "{", "x", "=", "*", "iter", ";", "break", ";", "}", "if", "(", "!", "x", ")", "return", "false", ";", "struct", "aarch64_address_info", "addr", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "x", ")", ";", "if", "(", "!", "aarch64_classify_address", "(", "&", "addr", ",", "XEXP", "(", "x", ",", "0", ")", ",", "mode", ",", "true", ")", ")", "return", "false", ";", "unsigned", "regno", "=", "REGNO", "(", "addr", ".", "base", ")", ";", "if", "(", "global_regs", "[", "regno", "]", "||", "fixed_regs", "[", "regno", "]", ")", "return", "false", ";", "if", "(", "addr", ".", "type", "==", "ADDRESS_REG_WB", ")", "{", "unsigned", "code", "=", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", ";", "*", "pre_post", "=", "true", ";", "*", "base", "=", "addr", ".", "base", ";", "if", "(", "code", "==", "PRE_MODIFY", "||", "code", "==", "POST_MODIFY", ")", "*", "offset", "=", "addr", ".", "offset", ";", "else", "{", "unsigned", "int_offset", "=", "GET_MODE_SIZE", "(", "mode", ")", ".", "to_constant", "(", ")", ";", "if", "(", "load_pair", "&&", "(", "code", "==", "POST_INC", "||", "code", "==", "POST_DEC", ")", ")", "int_offset", "*=", "2", ";", "*", "offset", "=", "GEN_INT", "(", "int_offset", ")", ";", "}", "return", "true", ";", "}", "else", "if", "(", "addr", ".", "type", "==", "ADDRESS_REG_IMM", "||", "addr", ".", "type", "==", "ADDRESS_REG_REG", ")", "{", "if", "(", "!", "iv_p", "(", "insn", ",", "addr", ".", "base", ",", "loop", ")", ")", "return", "false", ";", "*", "base", "=", "addr", ".", "base", ";", "*", "offset", "=", "addr", ".", "offset", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "SRC", "is", "a", "strided", "load", "in", "the", "LOOP", ",", "false", "otherwise", ".", "If", "it", "is", "a", "strided", "load", ",", "set", "the", "BASE", "and", "OFFSET", ".", "Also", ",", "if", "this", "is", "a", "pre/post", "increment", "load", ",", "set", "PRE_POST", "to", "true", "."], "TS_V_token": ["aarch64", "0", "0", "2"], "File": "falkor-tag-collision-avoidance2", "Func": "valid_src_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1501, "Length": 288, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "GCNHazardRecognizer", "::", "AdvanceCycle", "(", ")", "{", "if", "(", "!", "CurrCycleInstr", ")", "{", "EmittedInstrs", ".", "push_front", "(", "nullptr", ")", ";", "return", ";", "}", "if", "(", "CurrCycleInstr", "->", "isMetaInstruction", "(", ")", ")", "{", "CurrCycleInstr", "=", "nullptr", ";", "return", ";", "}", "if", "(", "CurrCycleInstr", "->", "isBundle", "(", ")", ")", "{", "processBundle", "(", ")", ";", "return", ";", "}", "unsigned", "NumWaitStates", "=", "TII", ".", "getNumWaitStates", "(", "*", "CurrCycleInstr", ")", ";", "EmittedInstrs", ".", "push_front", "(", "CurrCycleInstr", ")", ";", "for", "(", "unsigned", "i", "=", "1", ",", "e", "=", "std", "::", "min", "(", "NumWaitStates", ",", "getMaxLookAhead", "(", ")", ")", ";", "i", "<", "e", ";", "++", "i", ")", "{", "EmittedInstrs", ".", "push_front", "(", "nullptr", ")", ";", "}", "EmittedInstrs", ".", "resize", "(", "getMaxLookAhead", "(", ")", ")", ";", "CurrCycleInstr", "=", "nullptr", ";", "}", ""], "natrual_language": ["AdvanceCycle", "-", "This", "callback", "is", "invoked", "whenever", "the", "next", "top-down", "instruction", "to", "be", "scheduled", "can", "not", "issue", "in", "the", "current", "cycle", ",", "either", "because", "of", "latency", "or", "resource", "conflicts", "."], "TS_V_token": ["AMDGPU", "1"], "File": "GCNHazardRecognizer17", "Func": "AdvanceCycle", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1502, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "Cpu0TargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutsVals", ",", "const", "SDLoc", "&", "DL", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "MF", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "Cpu0CC", "Cpu0CCInfo", "(", "CallConv", ",", "ABI", ".", "IsO32", "(", ")", ",", "CCInfo", ")", ";", "Cpu0CCInfo", ".", "analyzeReturn", "(", "Outs", ",", "Subtarget", ".", "abiUsesSoftFloat", "(", ")", ",", "MF", ".", "getFunction", "(", ")", ".", "getReturnType", "(", ")", ")", ";", "SDValue", "Flag", ";", "SmallVector", "<", "SDValue", ",", "4", ">", "RetOps", "(", "1", ",", "Chain", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "SDValue", "Val", "=", "OutsVals", "[", "i", "]", ";", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Can only return in registers!\"", ")", ";", "if", "(", "RVLocs", "[", "i", "]", ".", "getValVT", "(", ")", "!=", "RVLocs", "[", "i", "]", ".", "getLocVT", "(", ")", ")", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "BITCAST", ",", "DL", ",", "RVLocs", "[", "i", "]", ".", "getLocVT", "(", ")", ",", "Val", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "VA", ".", "getLocReg", "(", ")", ",", "Val", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "VA", ".", "getLocReg", "(", ")", ",", "VA", ".", "getLocVT", "(", ")", ")", ")", ";", "}", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "hasStructRetAttr", "(", ")", ")", "{", "Cpu0MachineFunctionInfo", "*", "Cpu0FI", "=", "MF", ".", "getInfo", "<", "Cpu0MachineFunctionInfo", ">", "(", ")", ";", "unsigned", "Reg", "=", "Cpu0FI", "->", "getSRetReturnReg", "(", ")", ";", "if", "(", "!", "Reg", ")", "llvm_unreachable", "(", "\"sret virtual register not created in the entry block\"", ")", ";", "SDValue", "Val", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "DL", ",", "Reg", ",", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ")", ";", "unsigned", "V0", "=", "Cpu0", "::", "V0", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "V0", ",", "Val", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "V0", ",", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ")", ")", ";", "}", "RetOps", "[", "0", "]", "=", "Chain", ";", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "RetOps", ".", "push_back", "(", "Flag", ")", ";", "return", "DAG", ".", "getNode", "(", "Cpu0ISD", "::", "Ret", ",", "DL", ",", "MVT", "::", "Other", ",", "RetOps", ")", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "outgoing", "return", "values", ",", "described", "by", "the", "Outs", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["Cpu0", "Cpu0", "ISD::OutputArg", "16", "Cpu0", "Cpu0", "Cpu0", "4", "1", "0", "\"Can only return in registers!\"", "ISD::BITCAST", "1", "Cpu0", "Cpu0", "Cpu0", "Cpu0", "\"sret virtual register not created in the entry block\"", "Cpu0::V0", "1", "0", "Cpu0ISD::Ret", "MVT::Other"], "File": "Cpu0ISelLowering4", "Func": "LowerReturn", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1503, "Length": 443, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_conditional_register_usage", "(", "void", ")", "{", "if", "(", "!", "TARGET_HARD_FLOAT", ")", "{", "for", "(", "int", "regno", "=", "FP_REG_FIRST", ";", "regno", "<=", "FP_REG_LAST", ";", "regno", "++", ")", "fixed_regs", "[", "regno", "]", "=", "call_used_regs", "[", "regno", "]", "=", "1", ";", "}", "if", "(", "UNITS_PER_FP_ARG", "==", "0", ")", "{", "for", "(", "int", "regno", "=", "FP_REG_FIRST", ";", "regno", "<=", "FP_REG_LAST", ";", "regno", "++", ")", "call_used_regs", "[", "regno", "]", "=", "1", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_CONDITIONAL_REGISTER_USAGE", "."], "TS_V_token": ["riscv", "1", "0", "1"], "File": "riscv3", "Func": "riscv_conditional_register_usage", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1504, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"Patmos Delay Slot Filler\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Patmos", "\"Patmos Delay Slot Filler\""], "File": "PatmosDelaySlotFiller", "Func": "getPassName", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 1505, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AVRInstrInfo", "::", "getInstSizeInBytes", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "{", "const", "MCInstrDesc", "&", "Desc", "=", "get", "(", "Opcode", ")", ";", "return", "Desc", ".", "getSize", "(", ")", ";", "}", "case", "TargetOpcode", "::", "EH_LABEL", ":", "case", "TargetOpcode", "::", "IMPLICIT_DEF", ":", "case", "TargetOpcode", "::", "KILL", ":", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "return", "0", ";", "case", "TargetOpcode", "::", "INLINEASM", ":", "case", "TargetOpcode", "::", "INLINEASM_BR", ":", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "AVRTargetMachine", "&", "TM", "=", "static_cast", "<", "const", "AVRTargetMachine", "&", ">", "(", "MF", ".", "getTarget", "(", ")", ")", ";", "const", "AVRSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "AVRSubtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "return", "TII", ".", "getInlineAsmLength", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getSymbolName", "(", ")", ",", "*", "TM", ".", "getMCAsmInfo", "(", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["Returns", "the", "size", "in", "bytes", "of", "the", "specified", "MachineInstr", ",", "or", "~0U", "when", "this", "function", "is", "not", "implemented", "by", "a", "target", "."], "TS_V_token": ["AVR", "AVR", "0", "AVR", "AVR", "AVR", "AVR", "0"], "File": "AVRInstrInfo", "Func": "getInstSizeInBytes", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1506, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CAHPInstrInfo", "::", "analyzeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "&", "TBB", ",", "MachineBasicBlock", "*", "&", "FBB", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "bool", "AllowModify", ")", "const", "{", "TBB", "=", "FBB", "=", "nullptr", ";", "Cond", ".", "clear", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "if", "(", "I", "==", "MBB", ".", "end", "(", ")", "||", "!", "isUnpredicatedTerminator", "(", "*", "I", ")", ")", "return", "false", ";", "MachineBasicBlock", "::", "iterator", "FirstUncondOrIndirectBr", "=", "MBB", ".", "end", "(", ")", ";", "int", "NumTerminators", "=", "0", ";", "for", "(", "auto", "J", "=", "I", ".", "getReverse", "(", ")", ";", "J", "!=", "MBB", ".", "rend", "(", ")", "&&", "isUnpredicatedTerminator", "(", "*", "J", ")", ";", "J", "++", ")", "{", "NumTerminators", "++", ";", "if", "(", "J", "->", "getDesc", "(", ")", ".", "isUnconditionalBranch", "(", ")", "||", "J", "->", "getDesc", "(", ")", ".", "isIndirectBranch", "(", ")", ")", "{", "FirstUncondOrIndirectBr", "=", "J", ".", "getReverse", "(", ")", ";", "}", "}", "if", "(", "AllowModify", "&&", "FirstUncondOrIndirectBr", "!=", "MBB", ".", "end", "(", ")", ")", "{", "while", "(", "std", "::", "next", "(", "FirstUncondOrIndirectBr", ")", "!=", "MBB", ".", "end", "(", ")", ")", "{", "std", "::", "next", "(", "FirstUncondOrIndirectBr", ")", "->", "eraseFromParent", "(", ")", ";", "NumTerminators", "--", ";", "}", "I", "=", "FirstUncondOrIndirectBr", ";", "}", "if", "(", "I", "->", "getDesc", "(", ")", ".", "isIndirectBranch", "(", ")", ")", "return", "true", ";", "if", "(", "NumTerminators", ">", "2", ")", "return", "true", ";", "if", "(", "NumTerminators", "==", "1", "&&", "I", "->", "getDesc", "(", ")", ".", "isUnconditionalBranch", "(", ")", ")", "{", "TBB", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "return", "false", ";", "}", "if", "(", "NumTerminators", "==", "1", "&&", "I", "->", "getDesc", "(", ")", ".", "isConditionalBranch", "(", ")", ")", "{", "parseCondBranch", "(", "*", "I", ",", "TBB", ",", "Cond", ")", ";", "return", "false", ";", "}", "if", "(", "NumTerminators", "==", "2", "&&", "std", "::", "prev", "(", "I", ")", "->", "getDesc", "(", ")", ".", "isConditionalBranch", "(", ")", "&&", "I", "->", "getDesc", "(", ")", ".", "isUnconditionalBranch", "(", ")", ")", "{", "parseCondBranch", "(", "*", "std", "::", "prev", "(", "I", ")", ",", "TBB", ",", "Cond", ")", ";", "FBB", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["analyzeBranch", "-", "Analyze", "the", "branching", "code", "at", "the", "end", "of", "MBB", ",", "returning", "true", "if", "it", "can", "not", "be", "understood", "(", "e.g", "."], "TS_V_token": ["CAHP", "CAHP", "0", "2", "1", "0", "1", "2", "0"], "File": "CAHPInstrInfo", "Func": "analyzeBranch", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1507, "Length": 361, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetObjectFile", "::", "IsConstantInSmallSection", "(", "const", "DataLayout", "&", "DL", ",", "const", "Constant", "*", "CN", ",", "const", "TargetMachine", "&", "TM", ")", "const", "{", "return", "(", "static_cast", "<", "const", "MipsTargetMachine", "&", ">", "(", "TM", ")", ".", "getSubtargetImpl", "(", ")", "->", "useSmallSection", "(", ")", "&&", "LocalSData", "&&", "IsInSmallSection", "(", "DL", ".", "getTypeAllocSize", "(", "CN", "->", "getType", "(", ")", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "constant", "should", "be", "placed", "into", "small", "data", "section", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsTargetObjectFile", "Func": "IsConstantInSmallSection", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1508, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "estimateStackSize", "(", "MachineFunction", "&", "MF", ")", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "const", "TargetRegisterInfo", "*", "RegInfo", "=", "MF", ".", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "MaxAlign", "=", "MFI", "->", "getMaxAlignment", "(", ")", ";", "int", "Offset", "=", "0", ";", "for", "(", "int", "i", "=", "MFI", "->", "getObjectIndexBegin", "(", ")", ";", "i", "!=", "0", ";", "++", "i", ")", "{", "int", "FixedOff", "=", "-", "MFI", "->", "getObjectOffset", "(", "i", ")", ";", "if", "(", "FixedOff", ">", "Offset", ")", "Offset", "=", "FixedOff", ";", "}", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "MFI", "->", "getObjectIndexEnd", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "if", "(", "MFI", "->", "isDeadObjectIndex", "(", "i", ")", ")", "continue", ";", "Offset", "+=", "MFI", "->", "getObjectSize", "(", "i", ")", ";", "unsigned", "Align", "=", "MFI", "->", "getObjectAlignment", "(", "i", ")", ";", "Offset", "=", "(", "Offset", "+", "Align", "-", "1", ")", "/", "Align", "*", "Align", ";", "MaxAlign", "=", "std", "::", "max", "(", "Align", ",", "MaxAlign", ")", ";", "}", "if", "(", "MFI", "->", "adjustsStack", "(", ")", "&&", "TFI", "->", "hasReservedCallFrame", "(", "MF", ")", ")", "Offset", "+=", "MFI", "->", "getMaxCallFrameSize", "(", ")", ";", "unsigned", "StackAlign", ";", "if", "(", "MFI", "->", "adjustsStack", "(", ")", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", "||", "(", "RegInfo", "->", "needsStackRealignment", "(", "MF", ")", "&&", "MFI", "->", "getObjectIndexEnd", "(", ")", "!=", "0", ")", ")", "StackAlign", "=", "TFI", "->", "getStackAlignment", "(", ")", ";", "else", "StackAlign", "=", "TFI", "->", "getTransientStackAlignment", "(", ")", ";", "StackAlign", "=", "std", "::", "max", "(", "StackAlign", ",", "MaxAlign", ")", ";", "unsigned", "AlignMask", "=", "StackAlign", "-", "1", ";", "Offset", "=", "(", "Offset", "+", "AlignMask", ")", "&", "~", "uint64_t", "(", "AlignMask", ")", ";", "return", "(", "unsigned", ")", "Offset", ";", "}", ""], "natrual_language": ["Estimate", "and", "return", "the", "size", "of", "the", "stack", "frame", "."], "TS_V_token": ["ARM", "0", "0", "0", "1", "0", "1"], "File": "ARMFrameLowering104", "Func": "estimateStackSize", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1509, "Length": 297, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"AMDGPU Promote Alloca\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["R600", "\"AMDGPU Promote Alloca\""], "File": "AMDGPUPromoteAlloca19", "Func": "getPassName", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1510, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "SPURegisterInfo", "::", "getPointerRegClass", "(", "unsigned", "Kind", ")", "const", "{", "return", "&", "SPU", "::", "R32CRegClass", ";", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["CellSPU", "SPU", "SPU::R32CRegClass"], "File": "SPURegisterInfo1", "Func": "getPointerRegClass", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1511, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "WebAssemblyTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDLoc", "DL", "(", "Op", ")", ";", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"unimplemented operation lowering\"", ")", ";", "return", "SDValue", "(", ")", ";", "case", "ISD", "::", "FrameIndex", ":", "return", "LowerFrameIndex", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ExternalSymbol", ":", "return", "LowerExternalSymbol", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "JumpTable", ":", "return", "LowerJumpTable", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BR_JT", ":", "return", "LowerBR_JT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "case", "ISD", "::", "BRIND", ":", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly hasn't implemented computed gotos\"", ")", ";", "return", "SDValue", "(", ")", ";", "case", "ISD", "::", "RETURNADDR", ":", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly hasn't implemented __builtin_return_address\"", ")", ";", "return", "SDValue", "(", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "LowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "CopyToReg", ":", "return", "LowerCopyToReg", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "LowerINTRINSIC_WO_CHAIN", "(", "Op", ",", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"unimplemented operation lowering\"", "ISD::FrameIndex", "ISD::GlobalAddress", "ISD::ExternalSymbol", "ISD::JumpTable", "ISD::BR_JT", "ISD::VASTART", "ISD::BlockAddress", "ISD::BRIND", "\"WebAssembly hasn't implemented computed gotos\"", "ISD::RETURNADDR", "\"WebAssembly hasn't implemented __builtin_return_address\"", "ISD::FRAMEADDR", "ISD::CopyToReg", "ISD::INTRINSIC_WO_CHAIN"], "File": "WebAssemblyISelLowering", "Func": "LowerOperation", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1512, "Length": 203, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86RegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "SPAdj", "==", "0", "&&", "\"Unexpected\"", ")", ";", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "getIndex", "(", ")", ";", "unsigned", "BasePtr", ";", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "bool", "AfterFPPop", "=", "Opc", "==", "X86", "::", "TAILJMPm64", "||", "Opc", "==", "X86", "::", "TAILJMPm", ";", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "BasePtr", "=", "(", "FrameIndex", "<", "0", "?", "FramePtr", ":", "getBaseRegister", "(", ")", ")", ";", "else", "if", "(", "needsStackRealignment", "(", "MF", ")", ")", "BasePtr", "=", "(", "FrameIndex", "<", "0", "?", "FramePtr", ":", "StackPtr", ")", ";", "else", "if", "(", "AfterFPPop", ")", "BasePtr", "=", "StackPtr", ";", "else", "BasePtr", "=", "(", "TFI", "->", "hasFP", "(", "MF", ")", "?", "FramePtr", ":", "StackPtr", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "BasePtr", ",", "false", ")", ";", "int", "FIOffset", ";", "if", "(", "AfterFPPop", ")", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "FIOffset", "=", "MFI", "->", "getObjectOffset", "(", "FrameIndex", ")", "-", "TFI", "->", "getOffsetOfLocalArea", "(", ")", ";", "}", "else", "FIOffset", "=", "TFI", "->", "getFrameIndexOffset", "(", "MF", ",", "FrameIndex", ")", ";", "if", "(", "Opc", "==", "TargetOpcode", "::", "STACKMAP", "||", "Opc", "==", "TargetOpcode", "::", "PATCHPOINT", ")", "{", "assert", "(", "BasePtr", "==", "FramePtr", "&&", "\"Expected the FP as base register\"", ")", ";", "int64_t", "Offset", "=", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "1", ")", ".", "getImm", "(", ")", "+", "FIOffset", ";", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "1", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "return", ";", "}", "if", "(", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "3", ")", ".", "isImm", "(", ")", ")", "{", "int", "Imm", "=", "(", "int", ")", "(", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "3", ")", ".", "getImm", "(", ")", ")", ";", "int", "Offset", "=", "FIOffset", "+", "Imm", ";", "assert", "(", "(", "!", "Is64Bit", "||", "isInt", "<", "32", ">", "(", "(", "long", "long", ")", "FIOffset", "+", "Imm", ")", ")", "&&", "\"Requesting 64-bit offset in 32-bit immediate!\"", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "3", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "}", "else", "{", "uint64_t", "Offset", "=", "FIOffset", "+", "(", "uint64_t", ")", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "3", ")", ".", "getOffset", "(", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "3", ")", ".", "setOffset", "(", "Offset", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["X86", "X86", "0", "\"Unexpected\"", "X86::TAILJMPm64", "X86::TAILJMPm", "0", "0", "\"Expected the FP as base register\"", "1", "1", "3", "3", "32", "\"Requesting 64-bit offset in 32-bit immediate!\"", "3", "3", "3"], "File": "X86RegisterInfo2", "Func": "eliminateFrameIndex", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1513, "Length": 417, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "::", "HazardType", "GCNHazardRecognizer", "::", "getHazardType", "(", "SUnit", "*", "SU", ",", "int", "Stalls", ")", "{", "MachineInstr", "*", "MI", "=", "SU", "->", "getInstr", "(", ")", ";", "if", "(", "SIInstrInfo", "::", "isSMRD", "(", "*", "MI", ")", "&&", "checkSMRDHazards", "(", "MI", ")", ">", "0", ")", "return", "NoopHazard", ";", "if", "(", "(", "SIInstrInfo", "::", "isVMEM", "(", "*", "MI", ")", "||", "SIInstrInfo", "::", "isFLAT", "(", "*", "MI", ")", ")", "&&", "checkVMEMHazards", "(", "MI", ")", ">", "0", ")", "return", "NoopHazard", ";", "if", "(", "SIInstrInfo", "::", "isVALU", "(", "*", "MI", ")", "&&", "checkVALUHazards", "(", "MI", ")", ">", "0", ")", "return", "NoopHazard", ";", "if", "(", "SIInstrInfo", "::", "isDPP", "(", "*", "MI", ")", "&&", "checkDPPHazards", "(", "MI", ")", ">", "0", ")", "return", "NoopHazard", ";", "if", "(", "isDivFMas", "(", "MI", "->", "getOpcode", "(", ")", ")", "&&", "checkDivFMasHazards", "(", "MI", ")", ">", "0", ")", "return", "NoopHazard", ";", "if", "(", "isRWLane", "(", "MI", "->", "getOpcode", "(", ")", ")", "&&", "checkRWLaneHazards", "(", "MI", ")", ">", "0", ")", "return", "NoopHazard", ";", "if", "(", "isSGetReg", "(", "MI", "->", "getOpcode", "(", ")", ")", "&&", "checkGetRegHazards", "(", "MI", ")", ">", "0", ")", "return", "NoopHazard", ";", "if", "(", "isSSetReg", "(", "MI", "->", "getOpcode", "(", ")", ")", "&&", "checkSetRegHazards", "(", "MI", ")", ">", "0", ")", "return", "NoopHazard", ";", "if", "(", "isRFE", "(", "MI", "->", "getOpcode", "(", ")", ")", "&&", "checkRFEHazards", "(", "MI", ")", ">", "0", ")", "return", "NoopHazard", ";", "if", "(", "ST", ".", "hasReadM0MovRelInterpHazard", "(", ")", "&&", "(", "TII", ".", "isVINTRP", "(", "*", "MI", ")", "||", "isSMovRel", "(", "MI", "->", "getOpcode", "(", ")", ")", ")", "&&", "checkReadM0Hazards", "(", "MI", ")", ">", "0", ")", "return", "NoopHazard", ";", "if", "(", "ST", ".", "hasReadM0SendMsgHazard", "(", ")", "&&", "isSendMsgTraceDataOrGDS", "(", "TII", ",", "*", "MI", ")", "&&", "checkReadM0Hazards", "(", "MI", ")", ">", "0", ")", "return", "NoopHazard", ";", "if", "(", "MI", "->", "isInlineAsm", "(", ")", "&&", "checkInlineAsmHazards", "(", "MI", ")", ">", "0", ")", "return", "NoopHazard", ";", "if", "(", "checkAnyInstHazards", "(", "MI", ")", ">", "0", ")", "return", "NoopHazard", ";", "return", "NoHazard", ";", "}", ""], "natrual_language": ["getHazardType", "-", "Return", "the", "hazard", "type", "of", "emitting", "this", "node", "."], "TS_V_token": ["AMDGPU", "SI", "0", "SI", "SI", "0", "SI", "0", "SI", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"], "File": "GCNHazardRecognizer", "Func": "getHazardType", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1514, "Length": 317, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64Subtarget", "::", "mirFileLoaded", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "if", "(", "!", "MFI", ".", "isMaxCallFrameSizeComputed", "(", ")", ")", "MFI", ".", "computeMaxCallFrameSize", "(", "MF", ")", ";", "}", ""], "natrual_language": ["This", "is", "called", "after", "a", ".mir", "file", "was", "loaded", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64Subtarget (2)1", "Func": "mirFileLoaded", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1515, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "setPredicate", "(", "unsigned", "pred", ")", "{", "InstrPred", ".", "clear", "(", ")", ";", "for", "(", "auto", "instr_iter", "=", "MBB", "->", "instr_begin", "(", ")", ",", "end", "=", "MBB", "->", "instr_end", "(", ")", ";", "instr_iter", "!=", "end", ";", "instr_iter", "++", ")", "{", "MachineInstr", "*", "instr", "=", "&", "(", "*", "instr_iter", ")", ";", "assert", "(", "InstrPred", ".", "find", "(", "instr", ")", "==", "InstrPred", ".", "end", "(", ")", ")", ";", "InstrPred", ".", "insert", "(", "std", "::", "make_pair", "(", "instr", ",", "pred", ")", ")", ";", "}", "for", "(", "auto", "iter", "=", "Successors", ".", "begin", "(", ")", ",", "end", "=", "Successors", ".", "end", "(", ")", ";", "iter", "!=", "end", ";", "iter", "++", ")", "{", "iter", "->", "second", "=", "pred", ";", "}", "}", ""], "natrual_language": ["Set", "the", "predicate", "for", "this", "instruction", "to", "the", "specified", "value", "."], "TS_V_token": ["Patmos"], "File": "PredicatedBlock", "Func": "setPredicate", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 1516, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_sve_move_pred_via_while", "(", "rtx", "target", ",", "machine_mode", "mode", ",", "unsigned", "int", "vl", ")", "{", "rtx", "limit", "=", "force_reg", "(", "DImode", ",", "gen_int_mode", "(", "vl", ",", "DImode", ")", ")", ";", "target", "=", "aarch64_target_reg", "(", "target", ",", "mode", ")", ";", "emit_insn", "(", "gen_while", "(", "UNSPEC_WHILELO", ",", "DImode", ",", "mode", ",", "target", ",", "const0_rtx", ",", "limit", ")", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Use", "WHILE", "to", "set", "a", "predicate", "register", "of", "mode", "MODE", "in", "which", "the", "first", "VL", "bits", "are", "set", "and", "the", "rest", "are", "clear", ".", "Use", "TARGET", "for", "the", "register", "if", "it", "'s", "nonnull", "and", "convenient", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_sve_move_pred_via_while", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1517, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64Operand", "::", "print", "(", "raw_ostream", "&", "OS", ")", "const", "{", "switch", "(", "Kind", ")", "{", "case", "k_FPImm", ":", "OS", "<<", "\"\"", ";", "break", ";", "case", "k_Barrier", ":", "{", "StringRef", "Name", "=", "getBarrierName", "(", ")", ";", "if", "(", "!", "Name", ".", "empty", "(", ")", ")", "OS", "<<", "\"\"", ";", "else", "OS", "<<", "\"\"", ";", "break", ";", "}", "case", "k_Immediate", ":", "OS", "<<", "*", "getImm", "(", ")", ";", "break", ";", "case", "k_ShiftedImm", ":", "{", "unsigned", "Shift", "=", "getShiftedImmShift", "(", ")", ";", "OS", "<<", "\"\"", ";", "break", ";", "}", "case", "k_CondCode", ":", "OS", "<<", "\"\"", ";", "break", ";", "case", "k_VectorList", ":", "{", "OS", "<<", "\"\"", ";", "break", ";", "}", "case", "k_VectorIndex", ":", "OS", "<<", "\"\"", ";", "break", ";", "case", "k_SysReg", ":", "OS", "<<", "\"'", ";", "break", ";", "case", "k_Token", ":", "OS", "<<", "\"'\"", "<<", "getToken", "(", ")", "<<", "\"'\"", ";", "break", ";", "case", "k_SysCR", ":", "OS", "<<", "\"c\"", "<<", "getSysCR", "(", ")", ";", "break", ";", "case", "k_Prefetch", ":", "{", "StringRef", "Name", "=", "getPrefetchName", "(", ")", ";", "if", "(", "!", "Name", ".", "empty", "(", ")", ")", "OS", "<<", "\"\"", ";", "else", "OS", "<<", "\"\"", ";", "break", ";", "}", "case", "k_PSBHint", ":", "OS", "<<", "getPSBHintName", "(", ")", ";", "break", ";", "case", "k_Register", ":", "OS", "<<", "\"\"", ";", "if", "(", "!", "getShiftExtendAmount", "(", ")", "&&", "!", "hasShiftExtendAmount", "(", ")", ")", "break", ";", "LLVM_FALLTHROUGH", ";", "case", "k_ShiftExtend", ":", "OS", "<<", "\"<\"", "<<", "AArch64_AM", "::", "getShiftExtendName", "(", "getShiftExtendType", "(", ")", ")", "<<", "\" #\"", "<<", "getShiftExtendAmount", "(", ")", ";", "if", "(", "!", "hasShiftExtendAmount", "(", ")", ")", "OS", "<<", "\"\"", ";", "OS", "<<", "'>'", ";", "break", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["AArch64", "AArch64", "\"\"", "\"\"", "\"\"", "\"\"", "\"\"", "\"\"", "\"\"", "\"\"", "\"\"", "\"\"", "\"<\"", "AArch64_AM::getShiftExtendName", "\" #\"", "\"\""], "File": "AArch64AsmParser11", "Func": "print", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1518, "Length": 390, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_move_simode_const", "(", "rtx", "*", "operands", ")", "{", "if", "(", "operands", "[", "1", "]", "==", "const0_rtx", "&&", "(", "DATA_REG_P", "(", "operands", "[", "0", "]", ")", "||", "GET_CODE", "(", "operands", "[", "0", "]", ")", "==", "MEM", ")", "&&", "(", "(", "TARGET_68020", "||", "TARGET_COLDFIRE", ")", "||", "!", "(", "GET_CODE", "(", "operands", "[", "0", "]", ")", "==", "MEM", "&&", "MEM_VOLATILE_P", "(", "operands", "[", "0", "]", ")", ")", ")", ")", "return", "\"clr%.l %0\"", ";", "else", "if", "(", "(", "GET_MODE", "(", "operands", "[", "0", "]", ")", "==", "SImode", ")", "&&", "valid_mov3q_const", "(", "operands", "[", "1", "]", ")", ")", "return", "\"mov3q%.l %1,%0\"", ";", "else", "if", "(", "operands", "[", "1", "]", "==", "const0_rtx", "&&", "ADDRESS_REG_P", "(", "operands", "[", "0", "]", ")", ")", "return", "\"sub%.l %0,%0\"", ";", "else", "if", "(", "DATA_REG_P", "(", "operands", "[", "0", "]", ")", ")", "return", "output_move_const_into_data_reg", "(", "operands", ")", ";", "else", "if", "(", "ADDRESS_REG_P", "(", "operands", "[", "0", "]", ")", "&&", "INTVAL", "(", "operands", "[", "1", "]", ")", "<", "0x8000", "&&", "INTVAL", "(", "operands", "[", "1", "]", ")", ">=", "-", "0x8000", ")", "{", "if", "(", "valid_mov3q_const", "(", "operands", "[", "1", "]", ")", ")", "return", "\"mov3q%.l %1,%0\"", ";", "return", "\"move%.w %1,%0\"", ";", "}", "else", "if", "(", "GET_CODE", "(", "operands", "[", "0", "]", ")", "==", "MEM", "&&", "GET_CODE", "(", "XEXP", "(", "operands", "[", "0", "]", ",", "0", ")", ")", "==", "PRE_DEC", "&&", "REGNO", "(", "XEXP", "(", "XEXP", "(", "operands", "[", "0", "]", ",", "0", ")", ",", "0", ")", ")", "==", "STACK_POINTER_REGNUM", "&&", "INTVAL", "(", "operands", "[", "1", "]", ")", "<", "0x8000", "&&", "INTVAL", "(", "operands", "[", "1", "]", ")", ">=", "-", "0x8000", ")", "{", "if", "(", "valid_mov3q_const", "(", "operands", "[", "1", "]", ")", ")", "return", "\"mov3q%.l %1,%-\"", ";", "return", "\"pea %a1\"", ";", "}", "return", "\"move%.l %1,%0\"", ";", "}", ""], "natrual_language": ["Return", "an", "instruction", "to", "move", "CONST_INT", "OPERANDS", "[", "1", "]", "into", "OPERANDS", "[", "0", "]", ".", "I", "is", "the", "value", "of", "OPERANDS", "[", "1", "]", "."], "TS_V_token": ["m68k", "1", "0", "0", "0", "0", "\"clr%.l %0\"", "0", "1", "\"mov3q%.l %1,%0\"", "1", "0", "\"sub%.l %0,%0\"", "0", "0", "1", "0x8000", "1", "0x8000", "1", "\"mov3q%.l %1,%0\"", "\"move%.w %1,%0\"", "0", "0", "0", "0", "0", "0", "1", "0x8000", "1", "0x8000", "1", "\"mov3q%.l %1,%-\"", "\"pea %a1\"", "\"move%.l %1,%0\""], "File": "m68k3", "Func": "output_move_simode_const", "Target": "m68k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1519, "Length": 276, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "RISCVFrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "unsigned", "&", "FrameReg", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetRegisterInfo", "*", "RI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "const", "auto", "*", "RVFI", "=", "MF", ".", "getInfo", "<", "RISCVMachineFunctionInfo", ">", "(", ")", ";", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", ".", "getCalleeSavedInfo", "(", ")", ";", "int", "MinCSFI", "=", "0", ";", "int", "MaxCSFI", "=", "-", "1", ";", "int", "Offset", "=", "MFI", ".", "getObjectOffset", "(", "FI", ")", "-", "getOffsetOfLocalArea", "(", ")", "+", "MFI", ".", "getOffsetAdjustment", "(", ")", ";", "uint64_t", "FirstSPAdjustAmount", "=", "getFirstSPAdjustAmount", "(", "MF", ")", ";", "if", "(", "CSI", ".", "size", "(", ")", ")", "{", "MinCSFI", "=", "CSI", "[", "0", "]", ".", "getFrameIdx", "(", ")", ";", "MaxCSFI", "=", "CSI", "[", "CSI", ".", "size", "(", ")", "-", "1", "]", ".", "getFrameIdx", "(", ")", ";", "}", "if", "(", "FI", ">=", "MinCSFI", "&&", "FI", "<=", "MaxCSFI", ")", "{", "FrameReg", "=", "RISCV", "::", "X2", ";", "if", "(", "FirstSPAdjustAmount", ")", "Offset", "+=", "FirstSPAdjustAmount", ";", "else", "Offset", "+=", "MF", ".", "getFrameInfo", "(", ")", ".", "getStackSize", "(", ")", ";", "}", "else", "if", "(", "RI", "->", "needsStackRealignment", "(", "MF", ")", ")", "{", "assert", "(", "!", "MFI", ".", "hasVarSizedObjects", "(", ")", "&&", "\"Unexpected combination of stack realignment and varsized objects\"", ")", ";", "FrameReg", "=", "RISCV", "::", "X2", ";", "Offset", "+=", "MF", ".", "getFrameInfo", "(", ")", ".", "getStackSize", "(", ")", ";", "}", "else", "{", "FrameReg", "=", "RI", "->", "getFrameRegister", "(", "MF", ")", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "Offset", "+=", "RVFI", "->", "getVarArgsSaveSize", "(", ")", ";", "else", "Offset", "+=", "MF", ".", "getFrameInfo", "(", ")", ".", "getStackSize", "(", ")", ";", "}", "return", "Offset", ";", "}", ""], "natrual_language": ["getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "0", "1", "0", "1", "RISCV::X2", "\"Unexpected combination of stack realignment and varsized objects\"", "RISCV::X2"], "File": "RISCVFrameLowering3", "Func": "getFrameIndexReference", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1520, "Length": 277, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "expand_fusion_gpr_load", "(", "rtx", "*", "operands", ")", "{", "rtx", "addis_value", "=", "operands", "[", "1", "]", ";", "rtx", "target", "=", "operands", "[", "2", "]", ";", "rtx", "orig_mem", "=", "operands", "[", "3", "]", ";", "rtx", "new_addr", ",", "new_mem", ",", "orig_addr", ",", "offset", ";", "enum", "rtx_code", "plus_or_lo_sum", ";", "machine_mode", "target_mode", "=", "GET_MODE", "(", "target", ")", ";", "machine_mode", "extend_mode", "=", "target_mode", ";", "machine_mode", "ptr_mode", "=", "Pmode", ";", "enum", "rtx_code", "extend", "=", "UNKNOWN", ";", "if", "(", "GET_CODE", "(", "orig_mem", ")", "==", "ZERO_EXTEND", "||", "(", "TARGET_P8_FUSION_SIGN", "&&", "GET_CODE", "(", "orig_mem", ")", "==", "SIGN_EXTEND", ")", ")", "{", "extend", "=", "GET_CODE", "(", "orig_mem", ")", ";", "orig_mem", "=", "XEXP", "(", "orig_mem", ",", "0", ")", ";", "target_mode", "=", "GET_MODE", "(", "orig_mem", ")", ";", "}", "gcc_assert", "(", "MEM_P", "(", "orig_mem", ")", ")", ";", "orig_addr", "=", "XEXP", "(", "orig_mem", ",", "0", ")", ";", "plus_or_lo_sum", "=", "GET_CODE", "(", "orig_addr", ")", ";", "gcc_assert", "(", "plus_or_lo_sum", "==", "PLUS", "||", "plus_or_lo_sum", "==", "LO_SUM", ")", ";", "offset", "=", "XEXP", "(", "orig_addr", ",", "1", ")", ";", "new_addr", "=", "gen_rtx_fmt_ee", "(", "plus_or_lo_sum", ",", "ptr_mode", ",", "addis_value", ",", "offset", ")", ";", "new_mem", "=", "replace_equiv_address_nv", "(", "orig_mem", ",", "new_addr", ",", "false", ")", ";", "if", "(", "extend", "!=", "UNKNOWN", ")", "new_mem", "=", "gen_rtx_fmt_e", "(", "ZERO_EXTEND", ",", "extend_mode", ",", "new_mem", ")", ";", "new_mem", "=", "gen_rtx_UNSPEC", "(", "extend_mode", ",", "gen_rtvec", "(", "1", ",", "new_mem", ")", ",", "UNSPEC_FUSION_GPR", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "target", ",", "new_mem", ")", ")", ";", "if", "(", "extend", "==", "SIGN_EXTEND", ")", "{", "int", "sub_off", "=", "(", "(", "BYTES_BIG_ENDIAN", ")", "?", "GET_MODE_SIZE", "(", "extend_mode", ")", "-", "GET_MODE_SIZE", "(", "target_mode", ")", ":", "0", ")", ";", "rtx", "sign_reg", "=", "simplify_subreg", "(", "target_mode", ",", "target", ",", "extend_mode", ",", "sub_off", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "target", ",", "gen_rtx_SIGN_EXTEND", "(", "extend_mode", ",", "sign_reg", ")", ")", ")", ";", "}", "return", ";", "}", ""], "natrual_language": ["During", "the", "peephole2", "pass", ",", "adjust", "and", "expand", "the", "insns", "for", "a", "load", "fusion", "sequence", ".", "We", "adjust", "the", "addis", "register", "to", "use", "the", "target", "register", ".", "If", "the", "load", "sign", "extends", ",", "we", "adjust", "the", "code", "to", "do", "the", "zero", "extending", "load", ",", "and", "an", "explicit", "sign", "extension", "later", "since", "the", "fusion", "only", "covers", "zero", "extending", "loads", ".", "The", "operands", "are", ":", "operands", "[", "0", "]", "register", "set", "with", "addis", "(", "to", "be", "replaced", "with", "target", ")", "operands", "[", "1", "]", "value", "set", "via", "addis", "operands", "[", "2", "]", "target", "register", "being", "loaded", "operands", "[", "3", "]", "D-form", "memory", "reference", "using", "operands", "[", "0", "]", "."], "TS_V_token": ["rs6000", "1", "2", "3", "0", "0", "1", "1", "0"], "File": "rs6000", "Func": "expand_fusion_gpr_load", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1521, "Length": 286, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"Sparc Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Sparc", "\"Sparc Assembly Printer\""], "File": "SparcAsmPrinter10", "Func": "getPassName", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1522, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AVRInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "DebugLoc", "&", "DL", ",", "MCRegister", "DestReg", ",", "MCRegister", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "const", "AVRSubtarget", "&", "STI", "=", "MBB", ".", "getParent", "(", ")", "->", "getSubtarget", "<", "AVRSubtarget", ">", "(", ")", ";", "const", "AVRRegisterInfo", "&", "TRI", "=", "*", "STI", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "Opc", ";", "if", "(", "AVR", "::", "DREGSRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "if", "(", "STI", ".", "hasMOVW", "(", ")", "&&", "AVR", "::", "DREGSMOVWRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "AVR", "::", "MOVWRdRr", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", "else", "{", "Register", "DestLo", ",", "DestHi", ",", "SrcLo", ",", "SrcHi", ";", "TRI", ".", "splitReg", "(", "DestReg", ",", "DestLo", ",", "DestHi", ")", ";", "TRI", ".", "splitReg", "(", "SrcReg", ",", "SrcLo", ",", "SrcHi", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "AVR", "::", "MOVRdRr", ")", ",", "DestLo", ")", ".", "addReg", "(", "SrcLo", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "AVR", "::", "MOVRdRr", ")", ",", "DestHi", ")", ".", "addReg", "(", "SrcHi", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", "}", "else", "{", "if", "(", "AVR", "::", "GPR8RegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "Opc", "=", "AVR", "::", "MOVRdRr", ";", "}", "else", "if", "(", "SrcReg", "==", "AVR", "::", "SP", "&&", "AVR", "::", "DREGSRegClass", ".", "contains", "(", "DestReg", ")", ")", "{", "Opc", "=", "AVR", "::", "SPREAD", ";", "}", "else", "if", "(", "DestReg", "==", "AVR", "::", "SP", "&&", "AVR", "::", "DREGSRegClass", ".", "contains", "(", "SrcReg", ")", ")", "{", "Opc", "=", "AVR", "::", "SPWRITE", ";", "}", "else", "{", "llvm_unreachable", "(", "\"Impossible reg-to-reg copy\"", ")", ";", "}", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opc", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["AVR", "AVR", "AVR", "AVR", "AVR", "AVR::DREGSRegClass", "AVR::DREGSMOVWRegClass", "AVR::MOVWRdRr", "AVR::MOVRdRr", "AVR::MOVRdRr", "AVR::GPR8RegClass", "AVR::MOVRdRr", "AVR::SP", "AVR::DREGSRegClass", "AVR::SPREAD", "AVR::SP", "AVR::DREGSRegClass", "AVR::SPWRITE", "\"Impossible reg-to-reg copy\""], "File": "AVRInstrInfo", "Func": "copyPhysReg", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1523, "Length": 328, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "ATTRIBUTE_UNUSED", "x86_64_elf_section_type_flags", "(", "tree", "decl", ",", "const", "char", "*", "name", ",", "int", "reloc", ")", "{", "unsigned", "int", "flags", "=", "default_section_type_flags", "(", "decl", ",", "name", ",", "reloc", ")", ";", "if", "(", "ix86_in_large_data_p", "(", "decl", ")", ")", "flags", "|=", "SECTION_LARGE", ";", "if", "(", "decl", "==", "NULL_TREE", "&&", "(", "strcmp", "(", "name", ",", "\".ldata.rel.ro\"", ")", "==", "0", "||", "strcmp", "(", "name", ",", "\".ldata.rel.ro.local\"", ")", "==", "0", ")", ")", "flags", "|=", "SECTION_RELRO", ";", "if", "(", "strcmp", "(", "name", ",", "\".lbss\"", ")", "==", "0", "||", "strncmp", "(", "name", ",", "\".lbss.\"", ",", "5", ")", "==", "0", "||", "strncmp", "(", "name", ",", "\".gnu.linkonce.lb.\"", ",", "16", ")", "==", "0", ")", "flags", "|=", "SECTION_BSS", ";", "return", "flags", ";", "}", ""], "natrual_language": ["Select", "a", "set", "of", "attributes", "for", "section", "NAME", "based", "on", "the", "properties", "of", "DECL", "and", "whether", "or", "not", "RELOC", "indicates", "that", "DECL", "'s", "initializer", "might", "contain", "runtime", "relocations", "."], "TS_V_token": ["i386", "\".ldata.rel.ro\"", "0", "\".ldata.rel.ro.local\"", "0", "\".lbss\"", "0", "\".lbss.\"", "5", "0", "\".gnu.linkonce.lb.\"", "16", "0"], "File": "i3866", "Func": "x86_64_elf_section_type_flags", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1524, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "aarch64_symbol_type", "aarch64_classify_tls_symbol", "(", "rtx", "x", ")", "{", "enum", "tls_model", "tls_kind", "=", "tls_symbolic_operand_type", "(", "x", ")", ";", "switch", "(", "tls_kind", ")", "{", "case", "TLS_MODEL_GLOBAL_DYNAMIC", ":", "case", "TLS_MODEL_LOCAL_DYNAMIC", ":", "return", "TARGET_TLS_DESC", "?", "SYMBOL_SMALL_TLSDESC", ":", "SYMBOL_SMALL_TLSGD", ";", "case", "TLS_MODEL_INITIAL_EXEC", ":", "switch", "(", "aarch64_cmodel", ")", "{", "case", "AARCH64_CMODEL_TINY", ":", "case", "AARCH64_CMODEL_TINY_PIC", ":", "return", "SYMBOL_TINY_TLSIE", ";", "default", ":", "return", "SYMBOL_SMALL_TLSIE", ";", "}", "case", "TLS_MODEL_LOCAL_EXEC", ":", "if", "(", "aarch64_tls_size", "==", "12", ")", "return", "SYMBOL_TLSLE12", ";", "else", "if", "(", "aarch64_tls_size", "==", "24", ")", "return", "SYMBOL_TLSLE24", ";", "else", "if", "(", "aarch64_tls_size", "==", "32", ")", "return", "SYMBOL_TLSLE32", ";", "else", "if", "(", "aarch64_tls_size", "==", "48", ")", "return", "SYMBOL_TLSLE48", ";", "else", "gcc_unreachable", "(", ")", ";", "case", "TLS_MODEL_EMULATED", ":", "case", "TLS_MODEL_NONE", ":", "return", "SYMBOL_FORCE_TO_MEM", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Classify", "a", "TLS", "symbol", "into", "one", "of", "the", "TLS", "kinds", "."], "TS_V_token": ["aarch64", "12", "24", "32", "48"], "File": "aarch64", "Func": "aarch64_classify_tls_symbol", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1525, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "enableInterleavedAccessVectorization", "(", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["Enable", "matching", "of", "interleaved", "access", "groups", "."], "TS_V_token": ["ARM"], "File": "ARMTargetTransformInfo (2)1", "Func": "enableInterleavedAccessVectorization", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1526, "Length": 9, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_final_prescan_insn", "(", "rtx_insn", "*", "insn", ",", "rtx", "*", "opvec", ",", "int", "noperands", ")", "{", "if", "(", "mips_need_noat_wrapper_p", "(", "insn", ",", "opvec", ",", "noperands", ")", ")", "mips_push_asm_switch", "(", "&", "mips_noat", ")", ";", "}", ""], "natrual_language": ["Implement", "FINAL_PRESCAN_INSN", "."], "TS_V_token": ["mips"], "File": "mips4", "Func": "mips_final_prescan_insn", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1527, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "pad_direction", "spu_function_arg_padding", "(", "machine_mode", ",", "const_tree", ")", "{", "return", "PAD_UPWARD", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_ARG_PADDING", "."], "TS_V_token": ["spu"], "File": "spu3", "Func": "spu_function_arg_padding", "Target": "spu", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1528, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getReg", "(", ")", "const", "override", "{", "assert", "(", "Kind", "==", "Register", "&&", "\"Invalid access!\"", ")", ";", "return", "Reg", ".", "RegNo", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "associated", "with", "this", "edge", "."], "TS_V_token": ["X86", "\"Invalid access!\""], "File": "X86Operand (2)", "Func": "getReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1529, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "frv_legitimize_tls_address", "(", "rtx", "addr", ",", "enum", "tls_model", "model", ")", "{", "rtx", "dest", ",", "tp", "=", "gen_rtx_REG", "(", "Pmode", ",", "29", ")", ";", "rtx", "picreg", "=", "get_hard_reg_initial_val", "(", "Pmode", ",", "15", ")", ";", "switch", "(", "model", ")", "{", "case", "TLS_MODEL_INITIAL_EXEC", ":", "if", "(", "flag_pic", "==", "1", ")", "{", "dest", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "gen_tls_load_gottlsoff12", "(", "dest", ",", "addr", ",", "picreg", ")", ")", ";", "dest", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "tp", ",", "dest", ")", ";", "}", "else", "{", "rtx", "tmp", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "dest", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "gen_tlsoff_hilo", "(", "tmp", ",", "addr", ",", "GEN_INT", "(", "R_FRV_GOTTLSOFF_HI", ")", ")", ")", ";", "emit_insn", "(", "gen_tls_tlsoff_ld", "(", "dest", ",", "picreg", ",", "tmp", ",", "addr", ")", ")", ";", "dest", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "tp", ",", "dest", ")", ";", "}", "break", ";", "case", "TLS_MODEL_LOCAL_DYNAMIC", ":", "{", "rtx", "reg", ",", "retval", ";", "if", "(", "TARGET_INLINE_PLT", ")", "retval", "=", "gen_inlined_tls_plt", "(", "GEN_INT", "(", "0", ")", ")", ";", "else", "{", "retval", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "gen_call_gettlsoff", "(", "retval", ",", "GEN_INT", "(", "0", ")", ",", "picreg", ")", ")", ";", "}", "reg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "reg", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "retval", ",", "tp", ")", ")", ")", ";", "dest", "=", "gen_tlsmoff", "(", "addr", ",", "reg", ")", ";", "break", ";", "}", "case", "TLS_MODEL_LOCAL_EXEC", ":", "dest", "=", "gen_tlsmoff", "(", "addr", ",", "gen_rtx_REG", "(", "Pmode", ",", "29", ")", ")", ";", "break", ";", "case", "TLS_MODEL_GLOBAL_DYNAMIC", ":", "{", "rtx", "retval", ";", "if", "(", "TARGET_INLINE_PLT", ")", "retval", "=", "gen_inlined_tls_plt", "(", "addr", ")", ";", "else", "{", "retval", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "gen_call_gettlsoff", "(", "retval", ",", "addr", ",", "picreg", ")", ")", ";", "}", "dest", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "retval", ",", "tp", ")", ";", "break", ";", "}", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "dest", ";", "}", ""], "natrual_language": ["Generate", "code", "for", "a", "TLS", "address", "."], "TS_V_token": ["frv", "29", "15", "1", "0", "0", "29"], "File": "frv2", "Func": "frv_legitimize_tls_address", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 1530, "Length": 310, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mn10300_legitimize_address", "(", "rtx", "x", ",", "rtx", "oldx", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "flag_pic", "&&", "!", "mn10300_legitimate_pic_operand_p", "(", "x", ")", ")", "x", "=", "mn10300_legitimize_pic_address", "(", "oldx", ",", "NULL_RTX", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "mn10300_symbolic_operand", "(", "XEXP", "(", "x", ",", "1", ")", ",", "VOIDmode", ")", ")", "{", "rtx", "regx1", ",", "regy1", ",", "regy2", ",", "y", ";", "y", "=", "XEXP", "(", "x", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "y", ")", "==", "CONST", ")", "y", "=", "XEXP", "(", "y", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "y", ")", "==", "PLUS", "||", "GET_CODE", "(", "y", ")", "==", "MINUS", ")", "{", "regx1", "=", "force_reg", "(", "Pmode", ",", "force_operand", "(", "XEXP", "(", "x", ",", "0", ")", ",", "0", ")", ")", ";", "regy1", "=", "force_reg", "(", "Pmode", ",", "force_operand", "(", "XEXP", "(", "y", ",", "0", ")", ",", "0", ")", ")", ";", "regy2", "=", "force_reg", "(", "Pmode", ",", "force_operand", "(", "XEXP", "(", "y", ",", "1", ")", ",", "0", ")", ")", ";", "regx1", "=", "force_reg", "(", "Pmode", ",", "gen_rtx_fmt_ee", "(", "GET_CODE", "(", "y", ")", ",", "Pmode", ",", "regx1", ",", "regy2", ")", ")", ";", "return", "force_reg", "(", "Pmode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "regx1", ",", "regy1", ")", ")", ";", "}", "}", "return", "x", ";", "}", ""], "natrual_language": ["Try", "machine", "dependent", "ways", "of", "modifying", "an", "illegitimate", "address", "to", "be", "legitimate", ".", "If", "we", "find", "one", ",", "return", "the", "new", "valid", "address", ".", "This", "macro", "is", "used", "in", "only", "one", "place", ":", "`", "memory_address", "'", "in", "explow.cc", ".", "OLDX", "is", "the", "address", "as", "it", "was", "before", "break_out_memory_refs", "was", "called", ".", "In", "some", "cases", "it", "is", "useful", "to", "look", "at", "this", "to", "decide", "what", "needs", "to", "be", "done", ".", "Normally", "it", "is", "always", "safe", "for", "this", "macro", "to", "do", "nothing", ".", "It", "exists", "to", "recognize", "opportunities", "to", "optimize", "the", "output", ".", "But", "on", "a", "few", "ports", "with", "segmented", "architectures", "and", "indexed", "addressing", "(", "mn10300", ",", "hppa", ")", "it", "is", "used", "to", "rewrite", "certain", "problematical", "addresses", "."], "TS_V_token": ["mn10300", "1", "1", "0", "0", "0", "0", "0", "1", "0"], "File": "mn10300", "Func": "mn10300_legitimize_address", "Target": "mn10300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1531, "Length": 209, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonVExtract", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "HST", "=", "&", "MF", ".", "getSubtarget", "<", "HexagonSubtarget", ">", "(", ")", ";", "HII", "=", "HST", "->", "getInstrInfo", "(", ")", ";", "const", "auto", "&", "HRI", "=", "*", "HST", "->", "getRegisterInfo", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "std", "::", "map", "<", "unsigned", ",", "SmallVector", "<", "MachineInstr", "*", ",", "4", ">>", "VExtractMap", ";", "bool", "Changed", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "for", "(", "MachineInstr", "&", "MI", ":", "MBB", ")", "{", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "Opc", "!=", "Hexagon", "::", "V6_extractw", ")", "continue", ";", "unsigned", "VecR", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "VExtractMap", "[", "VecR", "]", ".", "push_back", "(", "&", "MI", ")", ";", "}", "}", "for", "(", "auto", "&", "P", ":", "VExtractMap", ")", "{", "unsigned", "VecR", "=", "P", ".", "first", ";", "if", "(", "P", ".", "second", ".", "size", "(", ")", "<=", "VExtractThreshold", ")", "continue", ";", "const", "auto", "&", "VecRC", "=", "*", "MRI", ".", "getRegClass", "(", "VecR", ")", ";", "int", "FI", "=", "MFI", ".", "CreateSpillStackObject", "(", "HRI", ".", "getSpillSize", "(", "VecRC", ")", ",", "HRI", ".", "getSpillAlignment", "(", "VecRC", ")", ")", ";", "MachineInstr", "*", "DefI", "=", "MRI", ".", "getVRegDef", "(", "VecR", ")", ";", "MachineBasicBlock", "::", "iterator", "At", "=", "std", "::", "next", "(", "DefI", "->", "getIterator", "(", ")", ")", ";", "MachineBasicBlock", "&", "DefB", "=", "*", "DefI", "->", "getParent", "(", ")", ";", "unsigned", "StoreOpc", "=", "VecRC", ".", "getID", "(", ")", "==", "Hexagon", "::", "HvxVRRegClassID", "?", "Hexagon", "::", "V6_vS32b_ai", ":", "Hexagon", "::", "PS_vstorerw_ai", ";", "BuildMI", "(", "DefB", ",", "At", ",", "DefI", "->", "getDebugLoc", "(", ")", ",", "HII", "->", "get", "(", "StoreOpc", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "VecR", ")", ";", "unsigned", "VecSize", "=", "HRI", ".", "getRegSizeInBits", "(", "VecRC", ")", "/", "8", ";", "for", "(", "MachineInstr", "*", "ExtI", ":", "P", ".", "second", ")", "{", "assert", "(", "ExtI", "->", "getOpcode", "(", ")", "==", "Hexagon", "::", "V6_extractw", ")", ";", "unsigned", "SR", "=", "ExtI", "->", "getOperand", "(", "1", ")", ".", "getSubReg", "(", ")", ";", "assert", "(", "ExtI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "VecR", ")", ";", "MachineBasicBlock", "&", "ExtB", "=", "*", "ExtI", "->", "getParent", "(", ")", ";", "DebugLoc", "DL", "=", "ExtI", "->", "getDebugLoc", "(", ")", ";", "unsigned", "BaseR", "=", "MRI", ".", "createVirtualRegister", "(", "&", "Hexagon", "::", "IntRegsRegClass", ")", ";", "BuildMI", "(", "ExtB", ",", "ExtI", ",", "DL", ",", "HII", "->", "get", "(", "Hexagon", "::", "PS_fi", ")", ",", "BaseR", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "SR", "==", "0", "?", "0", ":", "VecSize", "/", "2", ")", ";", "unsigned", "ElemR", "=", "genElemLoad", "(", "ExtI", ",", "BaseR", ",", "MRI", ")", ";", "unsigned", "ExtR", "=", "ExtI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "MRI", ".", "replaceRegWith", "(", "ExtR", ",", "ElemR", ")", ";", "ExtB", ".", "erase", "(", "ExtI", ")", ";", "Changed", "=", "true", ";", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "4", "Hexagon::V6_extractw", "1", "Hexagon::HvxVRRegClassID", "Hexagon::V6_vS32b_ai", "Hexagon::PS_vstorerw_ai", "0", "8", "Hexagon::V6_extractw", "1", "1", "Hexagon::IntRegsRegClass", "Hexagon::PS_fi", "0", "0", "2", "0"], "File": "HexagonVExtract3", "Func": "runOnMachineFunction", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1532, "Length": 494, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "loongarch_for_each_saved_reg", "(", "HOST_WIDE_INT", "sp_offset", ",", "loongarch_save_restore_fn", "fn", ")", "{", "HOST_WIDE_INT", "offset", ";", "offset", "=", "cfun", "->", "machine", "->", "frame", ".", "gp_sp_offset", "-", "sp_offset", ";", "for", "(", "int", "regno", "=", "GP_REG_FIRST", ";", "regno", "<=", "GP_REG_LAST", ";", "regno", "++", ")", "if", "(", "BITSET_P", "(", "cfun", "->", "machine", "->", "frame", ".", "mask", ",", "regno", "-", "GP_REG_FIRST", ")", ")", "{", "loongarch_save_restore_reg", "(", "word_mode", ",", "regno", ",", "offset", ",", "fn", ")", ";", "offset", "-=", "UNITS_PER_WORD", ";", "}", "offset", "=", "cfun", "->", "machine", "->", "frame", ".", "fp_sp_offset", "-", "sp_offset", ";", "for", "(", "int", "regno", "=", "FP_REG_FIRST", ";", "regno", "<=", "FP_REG_LAST", ";", "regno", "++", ")", "if", "(", "BITSET_P", "(", "cfun", "->", "machine", "->", "frame", ".", "fmask", ",", "regno", "-", "FP_REG_FIRST", ")", ")", "{", "machine_mode", "mode", "=", "TARGET_DOUBLE_FLOAT", "?", "DFmode", ":", "SFmode", ";", "loongarch_save_restore_reg", "(", "mode", ",", "regno", ",", "offset", ",", "fn", ")", ";", "offset", "-=", "GET_MODE_SIZE", "(", "mode", ")", ";", "}", "}", ""], "natrual_language": ["Call", "FN", "for", "each", "register", "that", "is", "saved", "by", "the", "current", "function", ".", "SP_OFFSET", "is", "the", "offset", "of", "the", "current", "stack", "pointer", "from", "the", "start", "of", "the", "frame", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_for_each_saved_reg", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1533, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "WebAssemblySubtarget", "::", "WebAssemblySubtarget", "(", "const", "Triple", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "const", "TargetMachine", "&", "TM", ")", ":", "WebAssemblyGenSubtargetInfo", "(", "TT", ",", "CPU", ",", "CPU", ",", "FS", ")", ",", "TargetTriple", "(", "TT", ")", ",", "FrameLowering", "(", ")", ",", "InstrInfo", "(", "initializeSubtargetDependencies", "(", "CPU", ",", "FS", ")", ")", ",", "TSInfo", "(", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", "{", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly"], "File": "WebAssemblySubtarget12", "Func": "WebAssemblySubtarget", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1534, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ia64_memory_move_cost", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "reg_class_t", "rclass", ",", "bool", "in", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "rclass", "==", "GENERAL_REGS", "||", "rclass", "==", "FR_REGS", "||", "rclass", "==", "FP_REGS", "||", "rclass", "==", "GR_AND_FR_REGS", ")", "return", "4", ";", "else", "return", "10", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "moving", "data", "of", "MODE", "from", "a", "register", "to", "or", "from", "memory", "."], "TS_V_token": ["ia64", "4", "10"], "File": "ia64", "Func": "ia64_memory_move_cost", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1535, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_parse_sve_width_string", "(", "const", "char", "*", "tune_string", ",", "struct", "tune_params", "*", "tune", ")", "{", "int", "width", "=", "-", "1", ";", "int", "n", "=", "sscanf", "(", "tune_string", ",", "\"%d\"", ",", "&", "width", ")", ";", "if", "(", "n", "==", "EOF", ")", "{", "error", "(", "\"invalid format for sve_width\"", ")", ";", "return", ";", "}", "switch", "(", "width", ")", "{", "case", "SVE_128", ":", "case", "SVE_256", ":", "case", "SVE_512", ":", "case", "SVE_1024", ":", "case", "SVE_2048", ":", "break", ";", "default", ":", "error", "(", "\"invalid sve_width value: %d\"", ",", "width", ")", ";", "}", "tune", "->", "sve_width", "=", "(", "enum", "aarch64_sve_vector_bits_enum", ")", "width", ";", "}", ""], "natrual_language": ["Parse", "the", "sve_width", "tuning", "moverride", "string", "in", "TUNE_STRING", ".", "Accept", "the", "valid", "SVE", "vector", "widths", "allowed", "by", "aarch64_sve_vector_bits_enum", "and", "use", "it", "to", "override", "sve_width", "in", "TUNE", "."], "TS_V_token": ["aarch64", "1", "\"%d\"", "\"invalid format for sve_width\"", "\"invalid sve_width value: %d\""], "File": "aarch64", "Func": "aarch64_parse_sve_width_string", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1536, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCAIXAsmPrinter", "::", "emitGlobalVariable", "(", "const", "GlobalVariable", "*", "GV", ")", "{", "if", "(", "isSpecialLLVMGlobalArrayToSkip", "(", "GV", ")", "||", "isSpecialLLVMGlobalArrayForStaticInit", "(", "GV", ")", ")", "return", ";", "assert", "(", "!", "GV", "->", "getName", "(", ")", ".", "startswith", "(", "\"llvm.\"", ")", "&&", "\"Unhandled intrinsic global variable.\"", ")", ";", "ValidateGV", "(", "GV", ")", ";", "MCSymbolXCOFF", "*", "GVSym", "=", "cast", "<", "MCSymbolXCOFF", ">", "(", "getSymbol", "(", "GV", ")", ")", ";", "if", "(", "GV", "->", "isDeclarationForLinker", "(", ")", ")", "{", "emitLinkage", "(", "GV", ",", "GVSym", ")", ";", "return", ";", "}", "SectionKind", "GVKind", "=", "getObjFileLowering", "(", ")", ".", "getKindForGlobal", "(", "GV", ",", "TM", ")", ";", "if", "(", "!", "GVKind", ".", "isGlobalWriteableData", "(", ")", "&&", "!", "GVKind", ".", "isReadOnly", "(", ")", ")", "report_fatal_error", "(", "\"Encountered a global variable kind that is \"", "\"not supported yet.\"", ")", ";", "MCSectionXCOFF", "*", "Csect", "=", "cast", "<", "MCSectionXCOFF", ">", "(", "getObjFileLowering", "(", ")", ".", "SectionForGlobal", "(", "GV", ",", "GVKind", ",", "TM", ")", ")", ";", "OutStreamer", "->", "SwitchSection", "(", "Csect", ")", ";", "const", "DataLayout", "&", "DL", "=", "GV", "->", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ";", "if", "(", "GVKind", ".", "isCommon", "(", ")", "||", "GVKind", ".", "isBSSLocal", "(", ")", ")", "{", "Align", "Alignment", "=", "GV", "->", "getAlign", "(", ")", ".", "getValueOr", "(", "DL", ".", "getPreferredAlign", "(", "GV", ")", ")", ";", "uint64_t", "Size", "=", "DL", ".", "getTypeAllocSize", "(", "GV", "->", "getType", "(", ")", "->", "getElementType", "(", ")", ")", ";", "GVSym", "->", "setStorageClass", "(", "TargetLoweringObjectFileXCOFF", "::", "getStorageClassForGlobal", "(", "GV", ")", ")", ";", "if", "(", "GVKind", ".", "isBSSLocal", "(", ")", ")", "OutStreamer", "->", "emitXCOFFLocalCommonSymbol", "(", "OutContext", ".", "getOrCreateSymbol", "(", "GVSym", "->", "getSymbolTableName", "(", ")", ")", ",", "Size", ",", "GVSym", ",", "Alignment", ".", "value", "(", ")", ")", ";", "else", "OutStreamer", "->", "emitCommonSymbol", "(", "GVSym", ",", "Size", ",", "Alignment", ".", "value", "(", ")", ")", ";", "return", ";", "}", "MCSymbol", "*", "EmittedInitSym", "=", "GVSym", ";", "emitLinkage", "(", "GV", ",", "EmittedInitSym", ")", ";", "emitAlignment", "(", "getGVAlignment", "(", "GV", ",", "DL", ")", ",", "GV", ")", ";", "OutStreamer", "->", "emitLabel", "(", "EmittedInitSym", ")", ";", "llvm", "::", "for_each", "(", "GOAliasMap", "[", "GV", "]", ",", "[", "this", "]", "(", "const", "GlobalAlias", "*", "Alias", ")", "{", "OutStreamer", "->", "emitLabel", "(", "getSymbol", "(", "Alias", ")", ")", ";", "}", ")", ";", "emitGlobalConstant", "(", "GV", "->", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ",", "GV", "->", "getInitializer", "(", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "the", "specified", "global", "variable", "to", "the", ".s", "file", "."], "TS_V_token": ["PowerPC", "PPC", "\"llvm.\"", "\"Unhandled intrinsic global variable.\"", "\"Encountered a global variable kind that is \"", "\"not supported yet.\""], "File": "PPCAsmPrinter67", "Func": "emitGlobalVariable", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1537, "Length": 363, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "end", "(", ")", "const", "{", "return", "++", "MachineBasicBlock", "::", "iterator", "(", "KillInst", "?", "KillInst", ":", "LastInst", ")", ";", "}", ""], "natrual_language": ["Get", "a", "const_iterator", "to", "the", "end", "of", "the", "symbol", "table", "."], "TS_V_token": ["AArch64"], "File": "AArch64A57FPLoadBalancing11", "Func": "end", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1538, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arc_adjust_reg_alloc_order", "(", "void", ")", "{", "const", "int", "arc_default_alloc_order", "[", "]", "=", "REG_ALLOC_ORDER", ";", "memcpy", "(", "reg_alloc_order", ",", "arc_default_alloc_order", ",", "sizeof", "(", "reg_alloc_order", ")", ")", ";", "if", "(", "optimize_size", ")", "memcpy", "(", "reg_alloc_order", ",", "size_alloc_order", ",", "sizeof", "(", "size_alloc_order", ")", ")", ";", "}", ""], "natrual_language": ["Adjust", "register", "allocation", "order", "when", "compiling", "for", "size", "."], "TS_V_token": ["arc"], "File": "arc", "Func": "arc_adjust_reg_alloc_order", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1539, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIMachineFunctionInfo", "::", "removeDeadFrameIndices", "(", "MachineFrameInfo", "&", "MFI", ")", "{", "for", "(", "auto", "&", "R", ":", "SGPRToVGPRSpills", ")", "{", "if", "(", "R", ".", "first", "!=", "FramePointerSaveIndex", ")", "MFI", ".", "RemoveStackObject", "(", "R", ".", "first", ")", ";", "}", "for", "(", "int", "i", "=", "MFI", ".", "getObjectIndexBegin", "(", ")", ",", "e", "=", "MFI", ".", "getObjectIndexEnd", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "if", "(", "i", "!=", "FramePointerSaveIndex", ")", "MFI", ".", "setStackID", "(", "i", ",", "TargetStackID", "::", "Default", ")", ";", "for", "(", "auto", "&", "R", ":", "VGPRToAGPRSpills", ")", "{", "if", "(", "R", ".", "second", ".", "FullyAllocated", ")", "MFI", ".", "RemoveStackObject", "(", "R", ".", "first", ")", ";", "}", "}", ""], "natrual_language": ["If", "ResetSGPRSpillStackIDs", "is", "true", ",", "reset", "the", "stack", "ID", "from", "sgpr-spill", "to", "the", "default", "stack", "."], "TS_V_token": ["AMDGPU", "SI"], "File": "SIMachineFunctionInfo13", "Func": "removeDeadFrameIndices", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1540, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CJGAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "MCInst", "TmpInst", ";", "MCInstLowering", ".", "Lower", "(", "MI", ",", "TmpInst", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "TmpInst", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["CJG", "CJG"], "File": "CJGAsmPrinter", "Func": "EmitInstruction", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1541, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "output_deferred_profile_counters", "(", "void", ")", "{", "unsigned", "int", "i", ";", "int", "align", ",", "n", ";", "if", "(", "funcdef_nos", ".", "is_empty", "(", ")", ")", "return", ";", "switch_to_section", "(", "data_section", ")", ";", "align", "=", "MIN", "(", "BIGGEST_ALIGNMENT", ",", "LONG_TYPE_SIZE", ")", ";", "ASM_OUTPUT_ALIGN", "(", "asm_out_file", ",", "floor_log2", "(", "align", "/", "BITS_PER_UNIT", ")", ")", ";", "for", "(", "i", "=", "0", ";", "funcdef_nos", ".", "iterate", "(", "i", ",", "&", "n", ")", ";", "i", "++", ")", "{", "targetm", ".", "asm_out", ".", "internal_label", "(", "asm_out_file", ",", "\"LP\"", ",", "n", ")", ";", "assemble_integer", "(", "const0_rtx", ",", "LONG_TYPE_SIZE", "/", "BITS_PER_UNIT", ",", "align", ",", "1", ")", ";", "}", "funcdef_nos", ".", "release", "(", ")", ";", "}", ""], "natrual_language": ["Output", "deferred", "profile", "counters", "."], "TS_V_token": ["pa", "0", "\"LP\"", "1"], "File": "pa", "Func": "output_deferred_profile_counters", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1542, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "*", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "Align", "=", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "PseudoSourceValue", "::", "getFixedStack", "(", "FI", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "0", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "Align", ")", ";", "if", "(", "RC", "==", "ARM", "::", "tGPRRegisterClass", ")", "RC", "=", "ARM", "::", "GPRRegisterClass", ";", "if", "(", "RC", "==", "ARM", "::", "GPRRegisterClass", ")", "{", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "LDR", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addReg", "(", "0", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ")", ";", "}", "else", "if", "(", "RC", "==", "ARM", "::", "DPRRegisterClass", "||", "RC", "==", "ARM", "::", "DPR_VFP2RegisterClass", "||", "RC", "==", "ARM", "::", "DPR_8RegisterClass", ")", "{", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "VLDRD", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ")", ";", "}", "else", "if", "(", "RC", "==", "ARM", "::", "SPRRegisterClass", ")", "{", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "VLDRS", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ")", ";", "}", "else", "{", "assert", "(", "(", "RC", "==", "ARM", "::", "QPRRegisterClass", "||", "RC", "==", "ARM", "::", "QPR_VFP2RegisterClass", "||", "RC", "==", "ARM", "::", "QPR_8RegisterClass", ")", "&&", "\"Unknown regclass!\"", ")", ";", "if", "(", "Align", ">=", "16", "&&", "(", "getRegisterInfo", "(", ")", ".", "canRealignStack", "(", "MF", ")", ")", ")", "{", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "VLD1q", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "128", ")", ".", "addMemOperand", "(", "MMO", ")", ")", ";", "}", "else", "{", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "VLDMQ", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "ARM_AM", "::", "getAM5Opc", "(", "ARM_AM", "::", "ia", ",", "4", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["ARM", "ARM", "0", "ARM::tGPRRegisterClass", "ARM::GPRRegisterClass", "ARM::GPRRegisterClass", "ARM::LDR", "0", "0", "ARM::DPRRegisterClass", "ARM::DPR_VFP2RegisterClass", "ARM::DPR_8RegisterClass", "ARM::VLDRD", "0", "ARM::SPRRegisterClass", "ARM::VLDRS", "0", "ARM::QPRRegisterClass", "ARM::QPR_VFP2RegisterClass", "ARM::QPR_8RegisterClass", "\"Unknown regclass!\"", "16", "ARM::VLD1q", "128", "ARM::VLDMQ", "ARM_AM::getAM5Opc", "ARM_AM::ia", "4"], "File": "ARMBaseInstrInfo16", "Func": "loadRegFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1543, "Length": 414, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "expand_block_move_2", "(", "rtx", "dst", ",", "rtx", "dst_reg", ",", "rtx", "src", ",", "rtx", "src_reg", ",", "rtx", "bytes_rtx", ")", "{", "const", "rtx", "sym", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "\"__wrd_memcpy\"", ")", ";", "unsigned", "HOST_WIDE_INT", "bytes", "=", "UINTVAL", "(", "bytes_rtx", ")", ";", "unsigned", "int", "rem", "=", "bytes", "%", "2", ";", "emit_library_call", "(", "sym", ",", "LCT_NORMAL", ",", "VOIDmode", ",", "3", ",", "dst_reg", ",", "Pmode", ",", "src_reg", ",", "Pmode", ",", "convert_to_mode", "(", "TYPE_MODE", "(", "sizetype", ")", ",", "GEN_INT", "(", "bytes", ">>", "1", ")", ",", "TYPE_UNSIGNED", "(", "sizetype", ")", ")", ",", "TYPE_MODE", "(", "sizetype", ")", ")", ";", "if", "(", "rem", "==", "0", ")", "return", ";", "dst", "=", "replace_equiv_address_nv", "(", "dst", ",", "dst_reg", ")", ";", "src", "=", "replace_equiv_address_nv", "(", "src", ",", "src_reg", ")", ";", "bytes", "-=", "rem", ";", "emit_move_insn", "(", "adjust_address_nv", "(", "dst", ",", "QImode", ",", "bytes", ")", ",", "adjust_address_nv", "(", "src", ",", "QImode", ",", "bytes", ")", ")", ";", "}", ""], "natrual_language": ["Generate", "a", "call", "to", "a", "library", "function", "to", "move", "BYTES_RTX", "bytes", "from", "SRC", "with", "address", "SRC_REG", "to", "DST", "with", "address", "DST_REG", "in", "2-bytes", "chunks", "."], "TS_V_token": ["visium", "\"__wrd_memcpy\"", "2", "3", "1", "0"], "File": "visium2", "Func": "expand_block_move_2", "Target": "visium", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 1544, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetMachine", "::", "resetSubtarget", "(", "MachineFunction", "*", "MF", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"resetSubtarget\\n\"", ")", ";", "Subtarget", "=", "const_cast", "<", "MipsSubtarget", "*", ">", "(", "getSubtargetImpl", "(", "MF", "->", "getFunction", "(", ")", ")", ")", ";", "MF", "->", "setSubtarget", "(", "Subtarget", ")", ";", "}", ""], "natrual_language": ["Reset", "the", "subtarget", "for", "the", "Mips", "target", "."], "TS_V_token": ["Mips", "Mips", "\"resetSubtarget\\n\"", "Mips"], "File": "MipsTargetMachine27", "Func": "resetSubtarget", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1545, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ia64_asm_unwind_emit", "(", "FILE", "*", "out_file", ",", "rtx_insn", "*", "insn", ")", "{", "bool", "unwind", "=", "ia64_except_unwind_info", "(", "&", "global_options", ")", "==", "UI_TARGET", ";", "bool", "frame", "=", "dwarf2out_do_frame", "(", ")", ";", "rtx", "note", ",", "pat", ";", "bool", "handled_one", ";", "if", "(", "!", "unwind", "&&", "!", "frame", ")", "return", ";", "if", "(", "NOTE_INSN_BASIC_BLOCK_P", "(", "insn", ")", ")", "{", "last_block", "=", "NOTE_BASIC_BLOCK", "(", "insn", ")", "->", "next_bb", "==", "EXIT_BLOCK_PTR_FOR_FN", "(", "cfun", ")", ";", "if", "(", "need_copy_state", ")", "{", "if", "(", "unwind", ")", "{", "fprintf", "(", "out_file", ",", "\"\\t.body\\n\"", ")", ";", "fprintf", "(", "out_file", ",", "\"\\t.copy_state %d\\n\"", ",", "cfun", "->", "machine", "->", "state_num", ")", ";", "}", "need_copy_state", "=", "false", ";", "}", "}", "if", "(", "NOTE_P", "(", "insn", ")", "||", "!", "RTX_FRAME_RELATED_P", "(", "insn", ")", ")", "return", ";", "if", "(", "INSN_CODE", "(", "insn", ")", "==", "CODE_FOR_alloc", ")", "{", "rtx", "dest", "=", "SET_DEST", "(", "XVECEXP", "(", "PATTERN", "(", "insn", ")", ",", "0", ",", "0", ")", ")", ";", "int", "dest_regno", "=", "REGNO", "(", "dest", ")", ";", "if", "(", "dest_regno", "==", "current_frame_info", ".", "r", "[", "reg_save_ar_pfs", "]", ")", "{", "if", "(", "unwind", ")", "fprintf", "(", "out_file", ",", "\"\\t.save ar.pfs, r%d\\n\"", ",", "ia64_debugger_regno", "(", "dest_regno", ")", ")", ";", "}", "else", "{", "if", "(", "current_frame_info", ".", "total_size", "==", "0", "&&", "!", "frame_pointer_needed", ")", "process_epilogue", "(", "out_file", ",", "insn", ",", "unwind", ",", "frame", ")", ";", "if", "(", "unwind", ")", "fprintf", "(", "out_file", ",", "\"\\t.prologue\\n\"", ")", ";", "}", "return", ";", "}", "handled_one", "=", "false", ";", "for", "(", "note", "=", "REG_NOTES", "(", "insn", ")", ";", "note", ";", "note", "=", "XEXP", "(", "note", ",", "1", ")", ")", "switch", "(", "REG_NOTE_KIND", "(", "note", ")", ")", "{", "case", "REG_CFA_ADJUST_CFA", ":", "pat", "=", "XEXP", "(", "note", ",", "0", ")", ";", "if", "(", "pat", "==", "NULL", ")", "pat", "=", "PATTERN", "(", "insn", ")", ";", "process_cfa_adjust_cfa", "(", "out_file", ",", "pat", ",", "insn", ",", "unwind", ",", "frame", ")", ";", "handled_one", "=", "true", ";", "break", ";", "case", "REG_CFA_OFFSET", ":", "pat", "=", "XEXP", "(", "note", ",", "0", ")", ";", "if", "(", "pat", "==", "NULL", ")", "pat", "=", "PATTERN", "(", "insn", ")", ";", "process_cfa_offset", "(", "out_file", ",", "pat", ",", "unwind", ")", ";", "handled_one", "=", "true", ";", "break", ";", "case", "REG_CFA_REGISTER", ":", "pat", "=", "XEXP", "(", "note", ",", "0", ")", ";", "if", "(", "pat", "==", "NULL", ")", "pat", "=", "PATTERN", "(", "insn", ")", ";", "process_cfa_register", "(", "out_file", ",", "pat", ",", "unwind", ")", ";", "handled_one", "=", "true", ";", "break", ";", "case", "REG_FRAME_RELATED_EXPR", ":", "case", "REG_CFA_DEF_CFA", ":", "case", "REG_CFA_EXPRESSION", ":", "case", "REG_CFA_RESTORE", ":", "case", "REG_CFA_SET_VDRAP", ":", "gcc_unreachable", "(", ")", ";", "default", ":", "break", ";", "}", "gcc_assert", "(", "handled_one", ")", ";", "}", ""], "natrual_language": ["This", "function", "looks", "at", "a", "single", "insn", "and", "emits", "any", "directives", "required", "to", "unwind", "this", "insn", "."], "TS_V_token": ["ia64", "\"\\t.body\\n\"", "\"\\t.copy_state %d\\n\"", "0", "0", "\"\\t.save ar.pfs, r%d\\n\"", "0", "\"\\t.prologue\\n\"", "1", "0", "0", "0"], "File": "ia641", "Func": "ia64_asm_unwind_emit", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1546, "Length": 413, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "rs6000_builtin_reciprocal", "(", "tree", "fndecl", ")", "{", "switch", "(", "DECL_FUNCTION_CODE", "(", "fndecl", ")", ")", "{", "case", "VSX_BUILTIN_XVSQRTDP", ":", "if", "(", "!", "RS6000_RECIP_AUTO_RSQRTE_P", "(", "V2DFmode", ")", ")", "return", "NULL_TREE", ";", "return", "rs6000_builtin_decls", "[", "VSX_BUILTIN_RSQRT_2DF", "]", ";", "case", "VSX_BUILTIN_XVSQRTSP", ":", "if", "(", "!", "RS6000_RECIP_AUTO_RSQRTE_P", "(", "V4SFmode", ")", ")", "return", "NULL_TREE", ";", "return", "rs6000_builtin_decls", "[", "VSX_BUILTIN_RSQRT_4SF", "]", ";", "default", ":", "return", "NULL_TREE", ";", "}", "}", ""], "natrual_language": ["Returns", "a", "code", "for", "a", "target-specific", "builtin", "that", "implements", "reciprocal", "of", "the", "function", ",", "or", "NULL_TREE", "if", "not", "available", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_builtin_reciprocal", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1547, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "arc_save_callee_saves", "(", "uint64_t", "gmask", ",", "bool", "save_blink", ",", "bool", "save_fp", ",", "HOST_WIDE_INT", "offset", ",", "bool", "emit_move", ")", "{", "rtx", "reg", ";", "int", "frame_allocated", "=", "0", ";", "int", "i", ";", "if", "(", "save_blink", ")", "{", "reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "RETURN_ADDR_REGNUM", ")", ";", "frame_allocated", "+=", "frame_save_reg", "(", "reg", ",", "offset", ")", ";", "offset", "=", "0", ";", "}", "if", "(", "gmask", ")", "for", "(", "i", "=", "GMASK_LEN", ";", "i", ">=", "0", ";", "i", "--", ")", "{", "machine_mode", "save_mode", "=", "SImode", ";", "if", "(", "TARGET_LL64", "&&", "(", "(", "i", "-", "1", ")", "%", "2", "==", "0", ")", "&&", "(", "(", "gmask", "&", "(", "1ULL", "<<", "i", ")", ")", "!=", "0", ")", "&&", "(", "(", "gmask", "&", "(", "1ULL", "<<", "(", "i", "-", "1", ")", ")", ")", "!=", "0", ")", ")", "{", "save_mode", "=", "DImode", ";", "--", "i", ";", "}", "else", "if", "(", "(", "gmask", "&", "(", "1ULL", "<<", "i", ")", ")", "==", "0", ")", "continue", ";", "reg", "=", "gen_rtx_REG", "(", "save_mode", ",", "i", ")", ";", "frame_allocated", "+=", "frame_save_reg", "(", "reg", ",", "offset", ")", ";", "offset", "=", "0", ";", "}", "if", "(", "save_fp", ")", "{", "frame_allocated", "+=", "frame_save_reg", "(", "hard_frame_pointer_rtx", ",", "offset", ")", ";", "offset", "=", "0", ";", "}", "if", "(", "emit_move", ")", "frame_move", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ")", ";", "return", "frame_allocated", ";", "}", ""], "natrual_language": ["ARC", "'s", "prologue", ",", "save", "any", "needed", "call-saved", "regs", "(", "and", "call-used", "if", "this", "is", "an", "interrupt", "handler", ")", "for", "ARCompact", "ISA", ",", "using", "ST/STD", "instructions", "."], "TS_V_token": ["arc", "0", "0", "0", "1", "2", "0", "1ULL", "0", "1ULL", "1", "0", "1ULL", "0", "0", "0"], "File": "arc", "Func": "arc_save_callee_saves", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1548, "Length": 213, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TTIImpl", "::", "getScalarizationOverhead", "(", "VectorType", "*", "Ty", ",", "const", "APInt", "&", "DemandedElts", ",", "bool", "Insert", ",", "bool", "Extract", ")", "{", "unsigned", "Cost", "=", "0", ";", "if", "(", "Insert", ")", "{", "std", "::", "pair", "<", "int", ",", "MVT", ">", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "DL", ",", "Ty", ")", ";", "MVT", "MScalarTy", "=", "LT", ".", "second", ".", "getScalarType", "(", ")", ";", "if", "(", "(", "MScalarTy", "==", "MVT", "::", "i16", "&&", "ST", "->", "hasSSE2", "(", ")", ")", "||", "(", "MScalarTy", ".", "isInteger", "(", ")", "&&", "ST", "->", "hasSSE41", "(", ")", ")", "||", "(", "MScalarTy", "==", "MVT", "::", "f32", "&&", "ST", "->", "hasSSE41", "(", ")", ")", ")", "{", "if", "(", "LT", ".", "second", ".", "getSizeInBits", "(", ")", "<=", "128", ")", "{", "Cost", "+=", "BaseT", "::", "getScalarizationOverhead", "(", "Ty", ",", "DemandedElts", ",", "Insert", ",", "false", ")", ";", "}", "else", "{", "unsigned", "NumSubVecs", "=", "LT", ".", "second", ".", "getSizeInBits", "(", ")", "/", "128", ";", "Cost", "+=", "(", "PowerOf2Ceil", "(", "NumSubVecs", ")", "-", "1", ")", "*", "LT", ".", "first", ";", "Cost", "+=", "DemandedElts", ".", "countPopulation", "(", ")", ";", "if", "(", "MScalarTy", "==", "MVT", "::", "f32", ")", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "Ty", "->", "getNumElements", "(", ")", ";", "i", "<", "e", ";", "i", "+=", "4", ")", "if", "(", "DemandedElts", "[", "i", "]", ")", "Cost", "--", ";", "}", "}", "else", "if", "(", "LT", ".", "second", ".", "isVector", "(", ")", ")", "{", "if", "(", "Ty", "->", "isIntOrIntVectorTy", "(", ")", ")", "Cost", "+=", "DemandedElts", ".", "countPopulation", "(", ")", ";", "unsigned", "NumElts", "=", "LT", ".", "second", ".", "getVectorNumElements", "(", ")", ";", "unsigned", "Pow2Elts", "=", "PowerOf2Ceil", "(", "Ty", "->", "getNumElements", "(", ")", ")", ";", "Cost", "+=", "(", "std", "::", "min", "<", "unsigned", ">", "(", "NumElts", ",", "Pow2Elts", ")", "-", "1", ")", "*", "LT", ".", "first", ";", "}", "}", "if", "(", "Extract", ")", "Cost", "+=", "BaseT", "::", "getScalarizationOverhead", "(", "Ty", ",", "DemandedElts", ",", "false", ",", "Extract", ")", ";", "return", "Cost", ";", "}", ""], "natrual_language": ["Estimate", "the", "overhead", "of", "scalarizing", "an", "instruction", "."], "TS_V_token": ["X86", "X86", "0", "MVT::i16", "MVT::f32", "128", "128", "1", "MVT::f32", "0", "4", "1"], "File": "X86TargetTransformInfo108", "Func": "getScalarizationOverhead", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1549, "Length": 314, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVFrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", "||", "MFI", "->", "isFrameAddressTaken", "(", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVFrameLowering (2)1", "Func": "hasFP", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1550, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CAHPInstrInfo", "::", "isBranchOffsetInRange", "(", "unsigned", "BranchOp", ",", "int64_t", "BrOffset", ")", "const", "{", "switch", "(", "BranchOp", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected opcode!\"", ")", ";", "case", "CAHP", "::", "BEQ", ":", "case", "CAHP", "::", "BNE", ":", "case", "CAHP", "::", "BLT", ":", "case", "CAHP", "::", "BLE", ":", "case", "CAHP", "::", "BLTU", ":", "case", "CAHP", "::", "BLEU", ":", "return", "isInt", "<", "10", ">", "(", "BrOffset", ")", ";", "case", "CAHP", "::", "JSAL", ":", "case", "CAHP", "::", "JS", ":", "return", "isInt", "<", "11", ">", "(", "BrOffset", ")", ";", "}", "}", ""], "natrual_language": ["Determine", "if", "the", "branch", "target", "is", "in", "range", "."], "TS_V_token": ["CAHP", "CAHP", "\"Unexpected opcode!\"", "CAHP::BEQ", "CAHP::BNE", "CAHP::BLT", "CAHP::BLE", "CAHP::BLTU", "CAHP::BLEU", "10", "CAHP::JSAL", "CAHP::JS", "11"], "File": "CAHPInstrInfo", "Func": "isBranchOffsetInRange", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1551, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "Z80TargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "const", "SDLoc", "&", "DL", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "switch", "(", "CallConv", ")", "{", "case", "CallingConv", "::", "C", ":", "case", "CallingConv", "::", "Fast", ":", "break", ";", "default", ":", "report_fatal_error", "(", "\"Unsupported calling conv: only FastCC and CCC is supported\"", ")", ";", "}", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "const", "Function", "&", "Func", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "Func", ".", "hasFnAttribute", "(", "\"interrupt\"", ")", ")", "{", "if", "(", "!", "Func", ".", "arg_empty", "(", ")", ")", "report_fatal_error", "(", "\"Functions with the interrupt attribute cannot have arguments!\"", ")", ";", "StringRef", "Kind", "=", "MF", ".", "getFunction", "(", ")", ".", "getFnAttribute", "(", "\"interrupt\"", ")", ".", "getValueAsString", "(", ")", ";", "}", "return", "Chain", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "the", "Ins", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["Z80", "Z80", "ISD::InputArg", "\"Unsupported calling conv: only FastCC and CCC is supported\"", "\"interrupt\"", "\"Functions with the interrupt attribute cannot have arguments!\"", "\"interrupt\""], "File": "Z80ISelLowering (3)", "Func": "LowerFormalArguments", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1552, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"Tile64 Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Tile64", "\"Tile64 Assembly Printer\""], "File": "Tile64AsmPrinter", "Func": "getPassName", "Target": "Tile64", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 1553, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "SmallString", "<", "128", ">", "Str", ";", "raw_svector_ostream", "OS", "(", "Str", ")", ";", "printInstruction", "(", "MI", ",", "OS", ")", ";", "OutStreamer", ".", "EmitRawText", "(", "OS", ".", "str", "(", ")", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["SystemZ", "SystemZ", "128"], "File": "SystemZAsmPrinter2", "Func": "EmitInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1554, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "ARMTargetLowering", "::", "PerformCMOVCombine", "(", "SDNode", "*", "N", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDValue", "Cmp", "=", "N", "->", "getOperand", "(", "4", ")", ";", "if", "(", "Cmp", ".", "getOpcode", "(", ")", "!=", "ARMISD", "::", "CMPZ", ")", "return", "SDValue", "(", ")", ";", "EVT", "VT", "=", "N", "->", "getValueType", "(", "0", ")", ";", "DebugLoc", "dl", "=", "N", "->", "getDebugLoc", "(", ")", ";", "SDValue", "LHS", "=", "Cmp", ".", "getOperand", "(", "0", ")", ";", "SDValue", "RHS", "=", "Cmp", ".", "getOperand", "(", "1", ")", ";", "SDValue", "FalseVal", "=", "N", "->", "getOperand", "(", "0", ")", ";", "SDValue", "TrueVal", "=", "N", "->", "getOperand", "(", "1", ")", ";", "SDValue", "ARMcc", "=", "N", "->", "getOperand", "(", "2", ")", ";", "ARMCC", "::", "CondCodes", "CC", "=", "(", "ARMCC", "::", "CondCodes", ")", "cast", "<", "ConstantSDNode", ">", "(", "ARMcc", ")", "->", "getZExtValue", "(", ")", ";", "SDValue", "Res", ";", "if", "(", "CC", "==", "ARMCC", "::", "NE", "&&", "FalseVal", "==", "RHS", "&&", "FalseVal", "!=", "LHS", ")", "{", "Res", "=", "DAG", ".", "getNode", "(", "ARMISD", "::", "CMOV", ",", "dl", ",", "VT", ",", "LHS", ",", "TrueVal", ",", "ARMcc", ",", "N", "->", "getOperand", "(", "3", ")", ",", "Cmp", ")", ";", "}", "else", "if", "(", "CC", "==", "ARMCC", "::", "EQ", "&&", "TrueVal", "==", "RHS", ")", "{", "SDValue", "ARMcc", ";", "SDValue", "NewCmp", "=", "getARMCmp", "(", "LHS", ",", "RHS", ",", "ISD", "::", "SETNE", ",", "ARMcc", ",", "DAG", ",", "dl", ")", ";", "Res", "=", "DAG", ".", "getNode", "(", "ARMISD", "::", "CMOV", ",", "dl", ",", "VT", ",", "LHS", ",", "FalseVal", ",", "ARMcc", ",", "N", "->", "getOperand", "(", "3", ")", ",", "NewCmp", ")", ";", "}", "if", "(", "Res", ".", "getNode", "(", ")", ")", "{", "APInt", "KnownZero", ",", "KnownOne", ";", "APInt", "Mask", "=", "APInt", "::", "getAllOnesValue", "(", "VT", ".", "getScalarType", "(", ")", ".", "getSizeInBits", "(", ")", ")", ";", "DAG", ".", "ComputeMaskedBits", "(", "SDValue", "(", "N", ",", "0", ")", ",", "Mask", ",", "KnownZero", ",", "KnownOne", ")", ";", "if", "(", "KnownZero", "==", "0xfffffffe", ")", "Res", "=", "DAG", ".", "getNode", "(", "ISD", "::", "AssertZext", ",", "dl", ",", "MVT", "::", "i32", ",", "Res", ",", "DAG", ".", "getValueType", "(", "MVT", "::", "i1", ")", ")", ";", "else", "if", "(", "KnownZero", "==", "0xffffff00", ")", "Res", "=", "DAG", ".", "getNode", "(", "ISD", "::", "AssertZext", ",", "dl", ",", "MVT", "::", "i32", ",", "Res", ",", "DAG", ".", "getValueType", "(", "MVT", "::", "i8", ")", ")", ";", "else", "if", "(", "KnownZero", "==", "0xffff0000", ")", "Res", "=", "DAG", ".", "getNode", "(", "ISD", "::", "AssertZext", ",", "dl", ",", "MVT", "::", "i32", ",", "Res", ",", "DAG", ".", "getValueType", "(", "MVT", "::", "i16", ")", ")", ";", "}", "return", "Res", ";", "}", ""], "natrual_language": ["PerformCMOVCombine", "-", "Target-specific", "DAG", "combining", "for", "ARMISD", ":", ":CMOV", "."], "TS_V_token": ["ARM", "ARM", "4", "ARMISD::CMPZ", "0", "0", "1", "0", "1", "ARM", "2", "ARMCC::CondCodes", "ARMCC::CondCodes", "ARM", "ARMCC::NE", "ARMISD::CMOV", "ARM", "3", "ARMCC::EQ", "ARM", "ARM", "ISD::SETNE", "ARM", "ARMISD::CMOV", "ARM", "3", "0", "0xfffffffe", "ISD::AssertZext", "MVT::i32", "MVT::i1", "0xffffff00", "ISD::AssertZext", "MVT::i32", "MVT::i8", "0xffff0000", "ISD::AssertZext", "MVT::i32", "MVT::i16"], "File": "ARMISelLowering114", "Func": "PerformCMOVCombine", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1555, "Length": 411, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "LanaiMCCodeEmitter", "::", "getBranchTargetOpValue", "(", "const", "MCInst", "&", "Inst", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "SubtargetInfo", ")", "const", "{", "const", "MCOperand", "&", "MCOp", "=", "Inst", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MCOp", ".", "isReg", "(", ")", "||", "MCOp", ".", "isImm", "(", ")", ")", "return", "getMachineOpValue", "(", "Inst", ",", "MCOp", ",", "Fixups", ",", "SubtargetInfo", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "MCOp", ".", "getExpr", "(", ")", ",", "static_cast", "<", "MCFixupKind", ">", "(", "Lanai", "::", "FIXUP_LANAI_25", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getBranchTargetOpValue", "-", "Return", "binary", "encoding", "of", "the", "branch", "target", "operand", "."], "TS_V_token": ["Lanai", "Lanai", "0", "Lanai::FIXUP_LANAI_25", "0"], "File": "LanaiMCCodeEmitter (2)", "Func": "getBranchTargetOpValue", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1556, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "h8300_expand_prologue", "(", "void", ")", "{", "int", "regno", ";", "int", "saved_regs", ";", "int", "n_regs", ";", "if", "(", "h8300_os_task_function_p", "(", "current_function_decl", ")", ")", "return", ";", "if", "(", "h8300_monitor_function_p", "(", "current_function_decl", ")", ")", "emit_insn", "(", "gen_monitor_prologue", "(", ")", ")", ";", "if", "(", "frame_pointer_needed", ")", "{", "push", "(", "HARD_FRAME_POINTER_REGNUM", ",", "true", ")", ";", "F", "(", "emit_move_insn", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ")", ",", "true", ")", ";", "}", "saved_regs", "=", "compute_saved_regs", "(", ")", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "+=", "n_regs", ")", "{", "n_regs", "=", "1", ";", "if", "(", "saved_regs", "&", "(", "1", "<<", "regno", ")", ")", "{", "if", "(", "TARGET_H8300S", ")", "{", "if", "(", "(", "!", "TARGET_H8300SX", "||", "(", "regno", "&", "3", ")", "==", "0", ")", "&&", "(", "(", "saved_regs", ">>", "regno", ")", "&", "0x0f", ")", "==", "0x0f", ")", "n_regs", "=", "4", ";", "else", "if", "(", "(", "!", "TARGET_H8300SX", "||", "(", "regno", "&", "3", ")", "==", "0", ")", "&&", "(", "(", "saved_regs", ">>", "regno", ")", "&", "0x07", ")", "==", "0x07", ")", "n_regs", "=", "3", ";", "else", "if", "(", "(", "!", "TARGET_H8300SX", "||", "(", "regno", "&", "1", ")", "==", "0", ")", "&&", "(", "(", "saved_regs", ">>", "regno", ")", "&", "0x03", ")", "==", "0x03", ")", "n_regs", "=", "2", ";", "}", "h8300_push_pop", "(", "regno", ",", "n_regs", ",", "false", ",", "false", ")", ";", "}", "}", "h8300_emit_stack_adjustment", "(", "-", "1", ",", "round_frame_size", "(", "get_frame_size", "(", ")", ")", ",", "true", ")", ";", "}", ""], "natrual_language": ["Generate", "RTL", "code", "for", "the", "function", "prologue", "."], "TS_V_token": ["h8300", "0", "1", "1", "3", "0", "0x0f", "0x0f", "4", "3", "0", "0x07", "0x07", "3", "1", "0", "0x03", "0x03", "2", "1"], "File": "h83004", "Func": "h8300_expand_prologue", "Target": "h8300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1557, "Length": 229, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "TriCoreTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "unsigned", "Opc", "=", "MI", "->", "getOpcode", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "BB", "->", "getParent", "(", ")", "->", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "dl", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "assert", "(", "Opc", "==", "TriCore", "::", "Select8", "&&", "\"Unexpected instr type to insert\"", ")", ";", "const", "BasicBlock", "*", "LLVM_BB", "=", "BB", "->", "getBasicBlock", "(", ")", ";", "MachineFunction", "::", "iterator", "I", "=", "BB", ";", "++", "I", ";", "MachineBasicBlock", "*", "thisMBB", "=", "BB", ";", "MachineFunction", "*", "F", "=", "BB", "->", "getParent", "(", ")", ";", "MachineBasicBlock", "*", "copy0MBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineBasicBlock", "*", "copy1MBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "F", "->", "insert", "(", "I", ",", "copy0MBB", ")", ";", "F", "->", "insert", "(", "I", ",", "copy1MBB", ")", ";", "copy1MBB", "->", "splice", "(", "copy1MBB", "->", "begin", "(", ")", ",", "BB", ",", "std", "::", "next", "(", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", ",", "BB", "->", "end", "(", ")", ")", ";", "copy1MBB", "->", "transferSuccessorsAndUpdatePHIs", "(", "BB", ")", ";", "BB", "->", "addSuccessor", "(", "copy0MBB", ")", ";", "BB", "->", "addSuccessor", "(", "copy1MBB", ")", ";", "MI", "->", "dump", "(", ")", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", ".", "get", "(", "TriCore", "::", "JNZsbr", ")", ")", ".", "addMBB", "(", "copy1MBB", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "4", ")", ".", "getReg", "(", ")", ")", ";", "BB", "=", "copy0MBB", ";", "BB", "->", "addSuccessor", "(", "copy1MBB", ")", ";", "BB", "=", "copy1MBB", ";", "BuildMI", "(", "*", "BB", ",", "BB", "->", "begin", "(", ")", ",", "dl", ",", "TII", ".", "get", "(", "TriCore", "::", "PHI", ")", ",", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "copy0MBB", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "thisMBB", ")", ";", "MI", "->", "eraseFromParent", "(", ")", ";", "return", "BB", ";", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "."], "TS_V_token": ["TriCore", "TriCore", "TriCore::Select8", "\"Unexpected instr type to insert\"", "TriCore::JNZsbr", "4", "TriCore::PHI", "0", "2", "1"], "File": "TriCoreISelLowering", "Func": "EmitInstrWithCustomInserter", "Target": "TriCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1558, "Length": 332, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Finish", "(", "MachineBasicBlock", "&", "MBB", ",", "MOVEMState", "&", "State", ")", "{", "auto", "MI", "=", "State", ".", "GetBegin", "(", ")", ";", "auto", "End", "=", "State", ".", "GetEnd", "(", ")", ";", "auto", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "std", "::", "next", "(", "MI", ")", "==", "End", ")", "{", "State", "=", "MOVEMState", "(", ")", ";", "return", ";", "}", "while", "(", "MI", "!=", "End", ")", "{", "auto", "Next", "=", "std", "::", "next", "(", "MI", ")", ";", "MBB", ".", "erase", "(", "MI", ")", ";", "MI", "=", "Next", ";", "}", "if", "(", "State", ".", "IsLoad", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "End", ",", "DL", ",", "TII", "->", "get", "(", "M680x0", "::", "MOVM32mp", ")", ")", ".", "addImm", "(", "State", ".", "GetMask", "(", ")", ")", ".", "addImm", "(", "State", ".", "GetFinalOffset", "(", ")", ")", ".", "addReg", "(", "State", ".", "GetBase", "(", ")", ")", ";", "}", "else", "{", "BuildMI", "(", "MBB", ",", "End", ",", "DL", ",", "TII", "->", "get", "(", "M680x0", "::", "MOVM32pm", ")", ")", ".", "addImm", "(", "State", ".", "GetFinalOffset", "(", ")", ")", ".", "addReg", "(", "State", ".", "GetBase", "(", ")", ")", ".", "addImm", "(", "State", ".", "GetMask", "(", ")", ")", ";", "}", "State", "=", "MOVEMState", "(", ")", ";", "}", ""], "natrual_language": ["Finish", "-", "Do", "final", "processing", "and", "write", "the", "object", "to", "the", "output", "stream", "."], "TS_V_token": ["M680x0", "M680x0::MOVM32mp", "M680x0::MOVM32pm"], "File": "M680x0CollapseMOVEMPass", "Func": "Finish", "Target": "M680x0", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1559, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_code_end", "(", "void", ")", "{", "rtx", "xops", "[", "2", "]", ";", "int", "regno", ";", "for", "(", "regno", "=", "AX_REG", ";", "regno", "<=", "SP_REG", ";", "regno", "++", ")", "{", "char", "name", "[", "32", "]", ";", "tree", "decl", ";", "if", "(", "!", "(", "pic_labels_used", "&", "(", "1", "<<", "regno", ")", ")", ")", "continue", ";", "get_pc_thunk_name", "(", "name", ",", "regno", ")", ";", "decl", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FUNCTION_DECL", ",", "get_identifier", "(", "name", ")", ",", "build_function_type_list", "(", "void_type_node", ",", "NULL_TREE", ")", ")", ";", "DECL_RESULT", "(", "decl", ")", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "RESULT_DECL", ",", "NULL_TREE", ",", "void_type_node", ")", ";", "TREE_PUBLIC", "(", "decl", ")", "=", "1", ";", "TREE_STATIC", "(", "decl", ")", "=", "1", ";", "DECL_IGNORED_P", "(", "decl", ")", "=", "1", ";", "if", "(", "TARGET_MACHO", ")", "{", "switch_to_section", "(", "darwin_sections", "[", "text_coal_section", "]", ")", ";", "fputs", "(", "\"\\t.weak_definition\\t\"", ",", "asm_out_file", ")", ";", "assemble_name", "(", "asm_out_file", ",", "name", ")", ";", "fputs", "(", "\"\\n\\t.private_extern\\t\"", ",", "asm_out_file", ")", ";", "assemble_name", "(", "asm_out_file", ",", "name", ")", ";", "putc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "ASM_OUTPUT_LABEL", "(", "asm_out_file", ",", "name", ")", ";", "DECL_WEAK", "(", "decl", ")", "=", "1", ";", "}", "else", "if", "(", "USE_HIDDEN_LINKONCE", ")", "{", "cgraph_node", "::", "create", "(", "decl", ")", "->", "set_comdat_group", "(", "DECL_ASSEMBLER_NAME", "(", "decl", ")", ")", ";", "targetm", ".", "asm_out", ".", "unique_section", "(", "decl", ",", "0", ")", ";", "switch_to_section", "(", "get_named_section", "(", "decl", ",", "NULL", ",", "0", ")", ")", ";", "targetm", ".", "asm_out", ".", "globalize_label", "(", "asm_out_file", ",", "name", ")", ";", "fputs", "(", "\"\\t.hidden\\t\"", ",", "asm_out_file", ")", ";", "assemble_name", "(", "asm_out_file", ",", "name", ")", ";", "putc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "ASM_DECLARE_FUNCTION_NAME", "(", "asm_out_file", ",", "name", ",", "decl", ")", ";", "}", "else", "{", "switch_to_section", "(", "text_section", ")", ";", "ASM_OUTPUT_LABEL", "(", "asm_out_file", ",", "name", ")", ";", "}", "DECL_INITIAL", "(", "decl", ")", "=", "make_node", "(", "BLOCK", ")", ";", "current_function_decl", "=", "decl", ";", "init_function_start", "(", "decl", ")", ";", "first_function_block_is_cold", "=", "false", ";", "final_start_function", "(", "emit_barrier", "(", ")", ",", "asm_out_file", ",", "1", ")", ";", "if", "(", "TARGET_PAD_SHORT_FUNCTION", ")", "{", "int", "i", "=", "8", ";", "while", "(", "i", "--", ")", "fputs", "(", "\"\\tnop\\n\"", ",", "asm_out_file", ")", ";", "}", "xops", "[", "0", "]", "=", "gen_rtx_REG", "(", "Pmode", ",", "regno", ")", ";", "xops", "[", "1", "]", "=", "gen_rtx_MEM", "(", "Pmode", ",", "stack_pointer_rtx", ")", ";", "output_asm_insn", "(", "\"mov%z0\\t{%1, %0|%0, %1}\"", ",", "xops", ")", ";", "output_asm_insn", "(", "\"%!ret\"", ",", "NULL", ")", ";", "final_end_function", "(", ")", ";", "init_insn_lengths", "(", ")", ";", "free_after_compilation", "(", "cfun", ")", ";", "set_cfun", "(", "NULL", ")", ";", "current_function_decl", "=", "NULL", ";", "}", "if", "(", "flag_split_stack", ")", "file_end_indicate_split_stack", "(", ")", ";", "}", ""], "natrual_language": ["This", "function", "generates", "code", "for", "-fpic", "that", "loads", "%", "ebx", "with", "the", "return", "address", "of", "the", "caller", "and", "then", "returns", "."], "TS_V_token": ["i386", "2", "32", "1", "1", "1", "1", "\"\\t.weak_definition\\t\"", "\"\\n\\t.private_extern\\t\"", "1", "0", "0", "\"\\t.hidden\\t\"", "1", "8", "\"\\tnop\\n\"", "0", "1", "\"mov%z0\\t{%1, %0|%0, %1}\"", "\"%!ret\""], "File": "i3864", "Func": "ix86_code_end", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1560, "Length": 410, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "MCInst", "MCB", ";", "MCB", ".", "setOpcode", "(", "Hexagon", "::", "BUNDLE", ")", ";", "MCB", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "0", ")", ")", ";", "const", "MCInstrInfo", "&", "MCII", "=", "*", "Subtarget", "->", "getInstrInfo", "(", ")", ";", "if", "(", "MI", "->", "isBundle", "(", ")", ")", "{", "assert", "(", "Subtarget", "->", "usePackets", "(", ")", "&&", "\"Support for packets is disabled\"", ")", ";", "const", "MachineBasicBlock", "*", "MBB", "=", "MI", "->", "getParent", "(", ")", ";", "MachineBasicBlock", "::", "const_instr_iterator", "MII", "=", "MI", "->", "getIterator", "(", ")", ";", "for", "(", "++", "MII", ";", "MII", "!=", "MBB", "->", "instr_end", "(", ")", "&&", "MII", "->", "isInsideBundle", "(", ")", ";", "++", "MII", ")", "if", "(", "!", "MII", "->", "isDebugInstr", "(", ")", "&&", "!", "MII", "->", "isImplicitDef", "(", ")", ")", "HexagonLowerToMC", "(", "MCII", ",", "&", "*", "MII", ",", "MCB", ",", "*", "this", ")", ";", "}", "else", "{", "HexagonLowerToMC", "(", "MCII", ",", "MI", ",", "MCB", ",", "*", "this", ")", ";", "}", "const", "MachineFunction", "&", "MF", "=", "*", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "auto", "&", "HII", "=", "*", "MF", ".", "getSubtarget", "<", "HexagonSubtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "if", "(", "MI", "->", "isBundle", "(", ")", "&&", "HII", ".", "getBundleNoShuf", "(", "*", "MI", ")", ")", "HexagonMCInstrInfo", "::", "setMemReorderDisabled", "(", "MCB", ")", ";", "MCContext", "&", "Ctx", "=", "OutStreamer", "->", "getContext", "(", ")", ";", "bool", "Ok", "=", "HexagonMCInstrInfo", "::", "canonicalizePacket", "(", "MCII", ",", "*", "Subtarget", ",", "Ctx", ",", "MCB", ",", "nullptr", ")", ";", "assert", "(", "Ok", ")", ";", "(", "void", ")", "Ok", ";", "if", "(", "HexagonMCInstrInfo", "::", "bundleSize", "(", "MCB", ")", "==", "0", ")", "return", ";", "OutStreamer", "->", "EmitInstruction", "(", "MCB", ",", "getSubtargetInfo", "(", ")", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon::BUNDLE", "0", "\"Support for packets is disabled\"", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "0"], "File": "HexagonAsmPrinter27", "Func": "EmitInstruction", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1561, "Length": 279, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PIC16TargetMachine", "::", "addInstSelector", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "PM", ".", "add", "(", "createPIC16ISelDag", "(", "*", "this", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["PIC16", "PIC16", "PIC16"], "File": "PIC16TargetMachine", "Func": "addInstSelector", "Target": "PIC16", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1562, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonMCShuffler", "::", "init", "(", "MCInst", "&", "MCB", ",", "MCInst", "const", "&", "AddMI", ",", "bool", "bInsertAtFront", ")", "{", "if", "(", "HexagonMCInstrInfo", "::", "isBundle", "(", "MCB", ")", ")", "{", "if", "(", "bInsertAtFront", ")", "append", "(", "AddMI", ",", "nullptr", ",", "HexagonMCInstrInfo", "::", "getUnits", "(", "MCII", ",", "STI", ",", "AddMI", ")", ")", ";", "MCInst", "const", "*", "Extender", "=", "nullptr", ";", "for", "(", "auto", "const", "&", "I", ":", "HexagonMCInstrInfo", "::", "bundleInstructions", "(", "MCB", ")", ")", "{", "assert", "(", "!", "HexagonMCInstrInfo", "::", "getDesc", "(", "MCII", ",", "*", "I", ".", "getInst", "(", ")", ")", ".", "isPseudo", "(", ")", ")", ";", "MCInst", "&", "MI", "=", "*", "const_cast", "<", "MCInst", "*", ">", "(", "I", ".", "getInst", "(", ")", ")", ";", "if", "(", "!", "HexagonMCInstrInfo", "::", "isImmext", "(", "MI", ")", ")", "{", "append", "(", "MI", ",", "Extender", ",", "HexagonMCInstrInfo", "::", "getUnits", "(", "MCII", ",", "STI", ",", "MI", ")", ")", ";", "Extender", "=", "nullptr", ";", "}", "else", "Extender", "=", "&", "MI", ";", "}", "if", "(", "!", "bInsertAtFront", ")", "append", "(", "AddMI", ",", "nullptr", ",", "HexagonMCInstrInfo", "::", "getUnits", "(", "MCII", ",", "STI", ",", "AddMI", ")", ")", ";", "}", "BundleFlags", "=", "MCB", ".", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "}", ""], "natrual_language": ["Initialize", "the", "machine", "model", "for", "instruction", "scheduling", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "0"], "File": "HexagonMCShuffler15", "Func": "init", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1563, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86FastPreTileConfig", "::", "spill", "(", "MachineBasicBlock", "::", "iterator", "Before", ",", "Register", "VirtReg", ",", "bool", "Kill", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Spilling \"", "<<", "printReg", "(", "VirtReg", ",", "TRI", ")", "<<", "\" \\n\"", ")", ";", "int", "FI", "=", "getStackSpaceFor", "(", "VirtReg", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\" to stack slot #\"", "<<", "FI", "<<", "'\\n'", ")", ";", "const", "TargetRegisterClass", "&", "RC", "=", "*", "MRI", "->", "getRegClass", "(", "VirtReg", ")", ";", "TII", "->", "storeRegToStackSlot", "(", "*", "MBB", ",", "Before", ",", "VirtReg", ",", "Kill", ",", "FI", ",", "&", "RC", ",", "TRI", ")", ";", "++", "NumStores", ";", "}", ""], "natrual_language": ["spill", "-", "Spill", "the", "LRE.getParent", "(", ")", "live", "interval", "."], "TS_V_token": ["X86", "X86", "\"Spilling \"", "\" \\n\"", "\" to stack slot #\""], "File": "X86FastPreTileConfig", "Func": "spill", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1564, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "tryAddingSymbolicOperand", "(", "int64_t", "Value", ",", "bool", "IsBranch", ",", "uint64_t", "Address", ",", "uint64_t", "Offset", ",", "uint64_t", "Width", ",", "MCInst", "&", "MI", ",", "const", "MCDisassembler", "*", "Decoder", ")", "{", "return", "Decoder", "->", "tryAddingSymbolicOperand", "(", "MI", ",", "Value", ",", "Address", ",", "IsBranch", ",", "Offset", ",", "Width", ",", "0", ")", ";", "}", ""], "natrual_language": ["Try", "to", "add", "a", "symbolic", "operand", "instead", "of", "Value", "to", "the", "MCInst", "."], "TS_V_token": ["Lanai", "0"], "File": "LanaiDisassembler (2)", "Func": "tryAddingSymbolicOperand", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1565, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "DCPU16AsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "DCPU16MCInstLower", "MCInstLowering", "(", "OutContext", ",", "*", "Mang", ",", "*", "this", ")", ";", "MCInst", "TmpInst", ";", "MCInstLowering", ".", "Lower", "(", "MI", ",", "TmpInst", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "TmpInst", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["Dcpu16", "DCPU16", "DCPU16"], "File": "Dcpu16AsmPrinter", "Func": "EmitInstruction", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1566, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isNull", "(", ")", "const", "{", "return", "isRegKind", "(", ")", "&&", "getReg", "(", ")", "==", "AMDGPU", "::", "SGPR_NULL", ";", "}", ""], "natrual_language": ["Test", "if", "the", "pointer", "held", "in", "the", "union", "is", "null", ",", "regardless", "of", "which", "type", "it", "is", "."], "TS_V_token": ["AMDGPU", "AMDGPU::SGPR_NULL"], "File": "AMDGPUAsmParser1", "Func": "isNull", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1567, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "msp430_init_cumulative_args", "(", "CUMULATIVE_ARGS", "*", "ca", ",", "tree", "fntype", "ATTRIBUTE_UNUSED", ",", "rtx", "libname", "ATTRIBUTE_UNUSED", ",", "tree", "fndecl", "ATTRIBUTE_UNUSED", ",", "int", "n_named_args", "ATTRIBUTE_UNUSED", ")", "{", "const", "char", "*", "fname", ";", "memset", "(", "ca", ",", "0", ",", "sizeof", "(", "*", "ca", ")", ")", ";", "ca", "->", "can_split", "=", "1", ";", "if", "(", "fndecl", ")", "fname", "=", "IDENTIFIER_POINTER", "(", "DECL_NAME", "(", "fndecl", ")", ")", ";", "else", "if", "(", "libname", ")", "fname", "=", "XSTR", "(", "libname", ",", "0", ")", ";", "else", "fname", "=", "NULL", ";", "if", "(", "fname", "&&", "msp430_special_register_convention_p", "(", "fname", ")", ")", "ca", "->", "special_p", "=", "1", ";", "}", ""], "natrual_language": ["Implements", "INIT_CUMULATIVE_ARGS", "."], "TS_V_token": ["msp430", "0", "1", "0", "1"], "File": "msp430", "Func": "msp430_init_cumulative_args", "Target": "msp430", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1568, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsCodeEmitter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "JTI", "=", "(", "(", "MipsTargetMachine", "&", ")", "MF", ".", "getTarget", "(", ")", ")", ".", "getJITInfo", "(", ")", ";", "II", "=", "(", "(", "const", "MipsTargetMachine", "&", ")", "MF", ".", "getTarget", "(", ")", ")", ".", "getInstrInfo", "(", ")", ";", "TD", "=", "(", "(", "const", "MipsTargetMachine", "&", ")", "MF", ".", "getTarget", "(", ")", ")", ".", "getTargetData", "(", ")", ";", "Subtarget", "=", "&", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "MCPEs", "=", "&", "MF", ".", "getConstantPool", "(", ")", "->", "getConstants", "(", ")", ";", "MJTEs", "=", "0", ";", "if", "(", "MF", ".", "getJumpTableInfo", "(", ")", ")", "MJTEs", "=", "&", "MF", ".", "getJumpTableInfo", "(", ")", "->", "getJumpTables", "(", ")", ";", "JTI", "->", "Initialize", "(", "MF", ",", "IsPIC", ")", ";", "MCE", ".", "setModuleInfo", "(", "&", "getAnalysis", "<", "MachineModuleInfo", ">", "(", ")", ")", ";", "do", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"JITTing function '\"", "<<", "MF", ".", "getName", "(", ")", "<<", "\"'\\n\"", ")", ";", "MCE", ".", "startFunction", "(", "MF", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "MBB", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "MBB", "!=", "E", ";", "++", "MBB", ")", "{", "MCE", ".", "StartMachineBasicBlock", "(", "MBB", ")", ";", "for", "(", "MachineBasicBlock", "::", "instr_iterator", "I", "=", "MBB", "->", "instr_begin", "(", ")", ",", "E", "=", "MBB", "->", "instr_end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "emitInstruction", "(", "*", "I", ")", ";", "}", "}", "while", "(", "MCE", ".", "finishFunction", "(", "MF", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "0", "\"JITTing function '\"", "\"'\\n\""], "File": "MipsCodeEmitter1", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1569, "Length": 250, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "function_resolver", "::", "resolve_unary", "(", "type_class_index", "merge_tclass", ",", "unsigned", "int", "merge_bits", ",", "bool", "treat_as_merge_p", ")", "{", "type_suffix_index", "type", ";", "if", "(", "pred", "==", "PRED_m", "||", "treat_as_merge_p", ")", "{", "if", "(", "!", "check_num_arguments", "(", "3", ")", ")", "return", "error_mark_node", ";", "if", "(", "merge_tclass", "==", "SAME_TYPE_CLASS", "&&", "merge_bits", "==", "SAME_SIZE", ")", "{", "if", "(", "(", "type", "=", "infer_vector_type", "(", "0", ")", ")", "==", "NUM_TYPE_SUFFIXES", "||", "!", "require_vector_type", "(", "1", ",", "VECTOR_TYPE_svbool_t", ")", "||", "!", "require_matching_vector_type", "(", "2", ",", "type", ")", ")", "return", "error_mark_node", ";", "}", "else", "{", "if", "(", "!", "require_vector_type", "(", "1", ",", "VECTOR_TYPE_svbool_t", ")", "||", "(", "type", "=", "infer_vector_type", "(", "2", ")", ")", "==", "NUM_TYPE_SUFFIXES", "||", "!", "require_derived_vector_type", "(", "0", ",", "2", ",", "type", ",", "merge_tclass", ",", "merge_bits", ")", ")", "return", "error_mark_node", ";", "}", "}", "else", "{", "unsigned", "int", "i", ",", "nargs", ";", "if", "(", "!", "check_gp_argument", "(", "1", ",", "i", ",", "nargs", ")", "||", "(", "type", "=", "infer_vector_type", "(", "i", ")", ")", "==", "NUM_TYPE_SUFFIXES", ")", "return", "error_mark_node", ";", "}", "if", "(", "type_suffix_ids", "[", "0", "]", "!=", "NUM_TYPE_SUFFIXES", ")", "return", "resolve_to", "(", "mode_suffix_id", ",", "type_suffix_ids", "[", "0", "]", ",", "type", ")", ";", "return", "resolve_to", "(", "mode_suffix_id", ",", "type", ")", ";", "}", ""], "natrual_language": ["Resolve", "a", "(", "possibly", "predicated", ")", "unary", "function", ".", "If", "the", "function", "uses", "merge", "predication", "or", "if", "TREAT_AS_MERGE_P", "is", "true", ",", "there", "is", "an", "extra", "vector", "argument", "before", "the", "governing", "predicate", "that", "specifies", "the", "values", "of", "inactive", "elements", ".", "This", "argument", "has", "the", "following", "properties", ":", "-", "the", "type", "class", "must", "be", "the", "same", "as", "for", "active", "elements", "if", "MERGE_TCLASS", "is", "SAME_TYPE_CLASS", ",", "otherwise", "it", "must", "be", "MERGE_TCLASS", "itself", ".", "-", "the", "element", "size", "must", "be", "the", "same", "as", "for", "active", "elements", "if", "MERGE_BITS", "is", "SAME_TYPE_SIZE", ",", "otherwise", "it", "must", "be", "MERGE_BITS", "itself", ".", "Return", "the", "function", "decl", "of", "the", "resolved", "function", "on", "success", ",", "otherwise", "report", "a", "suitable", "error", "and", "return", "error_mark_node", "."], "TS_V_token": ["aarch64", "3", "0", "1", "2", "1", "2", "0", "2", "1", "0", "0"], "File": "aarch64-sve-builtins", "Func": "resolve_unary", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1570, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mark_current_function_as_interrupt", "(", "void", ")", "{", "tree", "name", ";", "if", "(", "current_function_decl", "==", "NULL_TREE", ")", "{", "warning", "(", "0", ",", "\"cannot set interrupt attribute: no current function\"", ")", ";", "return", ";", "}", "name", "=", "get_identifier", "(", "\"interrupt\"", ")", ";", "if", "(", "name", "==", "NULL_TREE", "||", "TREE_CODE", "(", "name", ")", "!=", "IDENTIFIER_NODE", ")", "{", "warning", "(", "0", ",", "\"cannot set interrupt attribute: no such identifier\"", ")", ";", "return", ";", "}", "decl_attributes", "(", "&", "current_function_decl", ",", "tree_cons", "(", "name", ",", "NULL_TREE", ",", "NULL_TREE", ")", ",", "0", ")", ";", "}", ""], "natrual_language": ["Set", "the", "machine", "specific", "'interrupt", "'", "attribute", "on", "the", "current", "function", "."], "TS_V_token": ["v850", "0", "\"cannot set interrupt attribute: no current function\"", "\"interrupt\"", "0", "\"cannot set interrupt attribute: no such identifier\"", "0"], "File": "v850-c", "Func": "mark_current_function_as_interrupt", "Target": "v850", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1571, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "char", "get_content_index", "(", "rtx", "loc", ")", "{", "machine_mode", "mode", ";", "if", "(", "loc", "==", "NULL_RTX", ")", "return", "NOT_KNOWN", ";", "if", "(", "REG_P", "(", "loc", ")", ")", "{", "if", "(", "REGNO", "(", "loc", ")", "<", "32", ")", "return", "REGNO", "(", "loc", ")", ";", "return", "NOT_KNOWN", ";", "}", "mode", "=", "GET_MODE", "(", "loc", ")", ";", "if", "(", "!", "rl78_stack_based_mem", "(", "loc", ",", "mode", ")", ")", "return", "NOT_KNOWN", ";", "loc", "=", "XEXP", "(", "loc", ",", "0", ")", ";", "if", "(", "REG_P", "(", "loc", ")", ")", "return", "32", ";", "loc", "=", "XEXP", "(", "loc", ",", "1", ")", ";", "if", "(", "INTVAL", "(", "loc", ")", "<", "NUM_STACK_LOCS", ")", "return", "32", "+", "INTVAL", "(", "loc", ")", ";", "return", "NOT_KNOWN", ";", "}", ""], "natrual_language": ["Convert", "LOC", "into", "an", "index", "into", "the", "content_memory", "array", ".", "If", "LOC", "can", "not", "be", "converted", ",", "return", "NOT_KNOWN", "."], "TS_V_token": ["rl78", "32", "0", "32", "1", "32"], "File": "rl78", "Func": "get_content_index", "Target": "rl78", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1572, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "RISCV", "::", "FixupKind", "RISCVMCExpr", "::", "getFixupKind", "(", "RISCVMCExpr", "::", "VariantKind", "Kind", ")", "{", "switch", "(", "Kind", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unhandled RISCVMCExpr::VariantKind\"", ")", ";", "case", "VK_RISCV_LO12", ":", "return", "RISCV", "::", "fixup_riscv_lo12", ";", "case", "VK_RISCV_HI20", ":", "return", "RISCV", "::", "fixup_riscv_hi20", ";", "case", "VK_RISCV_PCREL_LO12", ":", "return", "RISCV", "::", "fixup_riscv_pcrel_lo12", ";", "case", "VK_RISCV_PCREL_HI20", ":", "return", "RISCV", "::", "fixup_riscv_pcrel_hi20", ";", "case", "VK_RISCV_TPREL_LO12", ":", "return", "RISCV", "::", "fixup_riscv_tprel_lo12", ";", "case", "VK_RISCV_TPREL_HI20", ":", "return", "RISCV", "::", "fixup_riscv_tprel_hi20", ";", "}", "}", ""], "natrual_language": ["getFixupKind", "-", "Get", "the", "fixup", "kind", "of", "this", "expression", "."], "TS_V_token": ["RISCV", "RISCV::FixupKind", "RISCV", "RISCV", "\"Unhandled RISCVMCExpr::VariantKind\"", "RISCV", "RISCV::fixup_riscv_lo12", "RISCV", "RISCV::fixup_riscv_hi20", "RISCV", "RISCV::fixup_riscv_pcrel_lo12", "RISCV", "RISCV::fixup_riscv_pcrel_hi20", "RISCV", "RISCV::fixup_riscv_tprel_lo12", "RISCV", "RISCV::fixup_riscv_tprel_hi20"], "File": "RISCVMCExpr19", "Func": "getFixupKind", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1573, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "WebAssemblyAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"EmitInstruction: \"", "<<", "*", "MI", "<<", "'\\n'", ")", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "WebAssembly", "::", "ARGUMENT_I32", ":", "case", "WebAssembly", "::", "ARGUMENT_I32_S", ":", "case", "WebAssembly", "::", "ARGUMENT_I64", ":", "case", "WebAssembly", "::", "ARGUMENT_I64_S", ":", "case", "WebAssembly", "::", "ARGUMENT_F32", ":", "case", "WebAssembly", "::", "ARGUMENT_F32_S", ":", "case", "WebAssembly", "::", "ARGUMENT_F64", ":", "case", "WebAssembly", "::", "ARGUMENT_F64_S", ":", "case", "WebAssembly", "::", "ARGUMENT_v16i8", ":", "case", "WebAssembly", "::", "ARGUMENT_v16i8_S", ":", "case", "WebAssembly", "::", "ARGUMENT_v8i16", ":", "case", "WebAssembly", "::", "ARGUMENT_v8i16_S", ":", "case", "WebAssembly", "::", "ARGUMENT_v4i32", ":", "case", "WebAssembly", "::", "ARGUMENT_v4i32_S", ":", "case", "WebAssembly", "::", "ARGUMENT_v2i64", ":", "case", "WebAssembly", "::", "ARGUMENT_v2i64_S", ":", "case", "WebAssembly", "::", "ARGUMENT_v4f32", ":", "case", "WebAssembly", "::", "ARGUMENT_v4f32_S", ":", "case", "WebAssembly", "::", "ARGUMENT_v2f64", ":", "case", "WebAssembly", "::", "ARGUMENT_v2f64_S", ":", "break", ";", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_I32", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_I32_S", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_I64", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_I64_S", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_F32", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_F32_S", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_F64", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_F64_S", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_v16i8", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_v16i8_S", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_v8i16", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_v8i16_S", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_v4i32", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_v4i32_S", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_v2i64", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_v2i64_S", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_v4f32", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_v4f32_S", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_v2f64", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_v2f64_S", ":", "{", "if", "(", "isVerbose", "(", ")", ")", "{", "OutStreamer", "->", "AddComment", "(", "\"fallthrough-return-value\"", ")", ";", "OutStreamer", "->", "AddBlankLine", "(", ")", ";", "}", "break", ";", "}", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_VOID", ":", "case", "WebAssembly", "::", "FALLTHROUGH_RETURN_VOID_S", ":", "if", "(", "isVerbose", "(", ")", ")", "{", "OutStreamer", "->", "AddComment", "(", "\"fallthrough-return-void\"", ")", ";", "OutStreamer", "->", "AddBlankLine", "(", ")", ";", "}", "break", ";", "default", ":", "{", "WebAssemblyMCInstLower", "MCInstLowering", "(", "OutContext", ",", "*", "this", ")", ";", "MCInst", "TmpInst", ";", "MCInstLowering", ".", "Lower", "(", "MI", ",", "TmpInst", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "TmpInst", ")", ";", "break", ";", "}", "}", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"EmitInstruction: \"", "WebAssembly::ARGUMENT_I32", "WebAssembly::ARGUMENT_I32_S", "WebAssembly::ARGUMENT_I64", "WebAssembly::ARGUMENT_I64_S", "WebAssembly::ARGUMENT_F32", "WebAssembly::ARGUMENT_F32_S", "WebAssembly::ARGUMENT_F64", "WebAssembly::ARGUMENT_F64_S", "WebAssembly::ARGUMENT_v16i8", "WebAssembly::ARGUMENT_v16i8_S", "WebAssembly::ARGUMENT_v8i16", "WebAssembly::ARGUMENT_v8i16_S", "WebAssembly::ARGUMENT_v4i32", "WebAssembly::ARGUMENT_v4i32_S", "WebAssembly::ARGUMENT_v2i64", "WebAssembly::ARGUMENT_v2i64_S", "WebAssembly::ARGUMENT_v4f32", "WebAssembly::ARGUMENT_v4f32_S", "WebAssembly::ARGUMENT_v2f64", "WebAssembly::ARGUMENT_v2f64_S", "WebAssembly::FALLTHROUGH_RETURN_I32", "WebAssembly::FALLTHROUGH_RETURN_I32_S", "WebAssembly::FALLTHROUGH_RETURN_I64", "WebAssembly::FALLTHROUGH_RETURN_I64_S", "WebAssembly::FALLTHROUGH_RETURN_F32", "WebAssembly::FALLTHROUGH_RETURN_F32_S", "WebAssembly::FALLTHROUGH_RETURN_F64", "WebAssembly::FALLTHROUGH_RETURN_F64_S", "WebAssembly::FALLTHROUGH_RETURN_v16i8", "WebAssembly::FALLTHROUGH_RETURN_v16i8_S", "WebAssembly::FALLTHROUGH_RETURN_v8i16", "WebAssembly::FALLTHROUGH_RETURN_v8i16_S", "WebAssembly::FALLTHROUGH_RETURN_v4i32", "WebAssembly::FALLTHROUGH_RETURN_v4i32_S", "WebAssembly::FALLTHROUGH_RETURN_v2i64", "WebAssembly::FALLTHROUGH_RETURN_v2i64_S", "WebAssembly::FALLTHROUGH_RETURN_v4f32", "WebAssembly::FALLTHROUGH_RETURN_v4f32_S", "WebAssembly::FALLTHROUGH_RETURN_v2f64", "WebAssembly::FALLTHROUGH_RETURN_v2f64_S", "\"fallthrough-return-value\"", "WebAssembly::FALLTHROUGH_RETURN_VOID", "WebAssembly::FALLTHROUGH_RETURN_VOID_S", "\"fallthrough-return-void\"", "WebAssembly"], "File": "WebAssemblyAsmPrinter20", "Func": "EmitInstruction", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1574, "Length": 331, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "register_svprfop", "(", ")", "{", "auto_vec", "<", "string_int_pair", ",", "16", ">", "values", ";", "values", ".", "quick_push", "(", "string_int_pair", "(", "\"SV_\"", "#", "UPPER", ",", "VALUE", ")", ")", ";", "AARCH64_FOR_SVPRFOP", "(", "PUSH", ")", "acle_svprfop", "=", "lang_hooks", ".", "types", ".", "simulate_enum_decl", "(", "input_location", ",", "\"svprfop\"", ",", "values", ")", ";", "}", ""], "natrual_language": ["Register", "the", "svprfop", "enum", "."], "TS_V_token": ["aarch64", "16", "\"SV_\"", "\"svprfop\""], "File": "aarch64-sve-builtins", "Func": "register_svprfop", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1575, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "xtensa_function_arg_1", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ",", "bool", "incoming_p", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "int", "regbase", ",", "words", ",", "max", ";", "int", "*", "arg_words", ";", "int", "regno", ";", "arg_words", "=", "&", "cum", "->", "arg_words", ";", "regbase", "=", "(", "incoming_p", "?", "GP_ARG_FIRST", ":", "GP_OUTGOING_ARG_FIRST", ")", ";", "max", "=", "MAX_ARGS_IN_REGISTERS", ";", "words", "=", "(", "(", "arg", ".", "promoted_size_in_bytes", "(", ")", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ")", ";", "if", "(", "arg", ".", "type", "&&", "(", "TYPE_ALIGN", "(", "arg", ".", "type", ")", ">", "BITS_PER_WORD", ")", ")", "{", "int", "align", "=", "MIN", "(", "TYPE_ALIGN", "(", "arg", ".", "type", ")", ",", "STACK_BOUNDARY", ")", "/", "BITS_PER_WORD", ";", "*", "arg_words", "=", "(", "*", "arg_words", "+", "align", "-", "1", ")", "&", "-", "align", ";", "}", "if", "(", "*", "arg_words", "+", "words", ">", "max", ")", "return", "(", "rtx", ")", "0", ";", "regno", "=", "regbase", "+", "*", "arg_words", ";", "if", "(", "cum", "->", "incoming", "&&", "regno", "<=", "A7_REG", "&&", "regno", "+", "words", ">", "A7_REG", ")", "cfun", "->", "machine", "->", "need_a7_copy", "=", "TARGET_WINDOWED_ABI", ";", "return", "gen_rtx_REG", "(", "arg", ".", "mode", ",", "regno", ")", ";", "}", ""], "natrual_language": ["Return", "an", "RTL", "expression", "containing", "the", "register", "for", "the", "given", "mode", ",", "or", "0", "if", "the", "argument", "is", "to", "be", "passed", "on", "the", "stack", ".", "INCOMING_P", "is", "nonzero", "if", "this", "is", "an", "incoming", "argument", "to", "the", "current", "function", "."], "TS_V_token": ["xtensa", "1", "1", "0"], "File": "xtensa", "Func": "xtensa_function_arg_1", "Target": "xtensa", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1576, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "getStackAddress", "(", "uint64_t", "Size", ",", "int64_t", "Offset", ",", "MachinePointerInfo", "&", "MPO", ")", "override", "{", "LLT", "p0", "=", "LLT", "::", "pointer", "(", "0", ",", "64", ")", ";", "LLT", "s64", "=", "LLT", "::", "scalar", "(", "64", ")", ";", "Register", "SPReg", "=", "MRI", ".", "createGenericVirtualRegister", "(", "p0", ")", ";", "MIRBuilder", ".", "buildCopy", "(", "SPReg", ",", "Register", "(", "AArch64", "::", "SP", ")", ")", ";", "Register", "OffsetReg", "=", "MRI", ".", "createGenericVirtualRegister", "(", "s64", ")", ";", "MIRBuilder", ".", "buildConstant", "(", "OffsetReg", ",", "Offset", ")", ";", "Register", "AddrReg", "=", "MRI", ".", "createGenericVirtualRegister", "(", "p0", ")", ";", "MIRBuilder", ".", "buildGEP", "(", "AddrReg", ",", "SPReg", ",", "OffsetReg", ")", ";", "MPO", "=", "MachinePointerInfo", "::", "getStack", "(", "MIRBuilder", ".", "getMF", "(", ")", ",", "Offset", ")", ";", "return", "AddrReg", ";", "}", ""], "natrual_language": ["Materialize", "a", "VReg", "containing", "the", "address", "of", "the", "specified", "stack-based", "object", "."], "TS_V_token": ["AArch64", "0", "64", "64", "AArch64::SP"], "File": "AArch64CallLowering14", "Func": "getStackAddress", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1577, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getPointerSize", "(", ")", "const", "{", "return", "4", ";", "}", ""], "natrual_language": ["Layout", "pointer", "size", "in", "bytes", ",", "rounded", "up", "to", "a", "whole", "number", "of", "bytes", "."], "TS_V_token": ["TriCore", "4"], "File": "TriCoreAsmBackend (2)", "Func": "getPointerSize", "Target": "TriCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1578, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "offsettable_ok_by_alignment", "(", "rtx", "op", ",", "HOST_WIDE_INT", "offset", ",", "machine_mode", "mode", ")", "{", "tree", "decl", ",", "type", ";", "unsigned", "HOST_WIDE_INT", "dsize", ",", "dalign", ",", "lsb", ",", "mask", ";", "if", "(", "GET_CODE", "(", "op", ")", "!=", "SYMBOL_REF", ")", "return", "false", ";", "dsize", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "decl", "=", "SYMBOL_REF_DECL", "(", "op", ")", ";", "if", "(", "!", "decl", ")", "{", "if", "(", "dsize", "==", "0", ")", "return", "false", ";", "dalign", "=", "BITS_PER_UNIT", ";", "if", "(", "SYMBOL_REF_HAS_BLOCK_INFO_P", "(", "op", ")", "&&", "SYMBOL_REF_ANCHOR_P", "(", "op", ")", "&&", "SYMBOL_REF_BLOCK", "(", "op", ")", "!=", "NULL", ")", "{", "struct", "object_block", "*", "block", "=", "SYMBOL_REF_BLOCK", "(", "op", ")", ";", "dalign", "=", "block", "->", "alignment", ";", "offset", "+=", "SYMBOL_REF_BLOCK_OFFSET", "(", "op", ")", ";", "}", "else", "if", "(", "CONSTANT_POOL_ADDRESS_P", "(", "op", ")", ")", "{", "machine_mode", "cmode", "=", "get_pool_mode", "(", "op", ")", ";", "dalign", "=", "GET_MODE_ALIGNMENT", "(", "cmode", ")", ";", "}", "}", "else", "if", "(", "DECL_P", "(", "decl", ")", ")", "{", "dalign", "=", "DECL_ALIGN", "(", "decl", ")", ";", "if", "(", "dsize", "==", "0", ")", "{", "if", "(", "!", "DECL_SIZE_UNIT", "(", "decl", ")", ")", "return", "false", ";", "if", "(", "!", "tree_fits_uhwi_p", "(", "DECL_SIZE_UNIT", "(", "decl", ")", ")", ")", "return", "false", ";", "dsize", "=", "tree_to_uhwi", "(", "DECL_SIZE_UNIT", "(", "decl", ")", ")", ";", "if", "(", "dsize", ">", "32768", ")", "return", "false", ";", "return", "dalign", "/", "BITS_PER_UNIT", ">=", "dsize", ";", "}", "}", "else", "{", "type", "=", "TREE_TYPE", "(", "decl", ")", ";", "dalign", "=", "TYPE_ALIGN", "(", "type", ")", ";", "if", "(", "CONSTANT_CLASS_P", "(", "decl", ")", ")", "dalign", "=", "CONSTANT_ALIGNMENT", "(", "decl", ",", "dalign", ")", ";", "else", "dalign", "=", "DATA_ALIGNMENT", "(", "decl", ",", "dalign", ")", ";", "if", "(", "dsize", "==", "0", ")", "{", "if", "(", "TREE_CODE", "(", "decl", ")", "==", "STRING_CST", ")", "dsize", "=", "TREE_STRING_LENGTH", "(", "decl", ")", ";", "else", "if", "(", "TYPE_SIZE_UNIT", "(", "type", ")", "&&", "tree_fits_uhwi_p", "(", "TYPE_SIZE_UNIT", "(", "type", ")", ")", ")", "dsize", "=", "tree_to_uhwi", "(", "TYPE_SIZE_UNIT", "(", "type", ")", ")", ";", "else", "return", "false", ";", "if", "(", "dsize", ">", "32768", ")", "return", "false", ";", "return", "dalign", "/", "BITS_PER_UNIT", ">=", "dsize", ";", "}", "}", "mask", "=", "dalign", "/", "BITS_PER_UNIT", "-", "1", ";", "lsb", "=", "offset", "&", "-", "offset", ";", "mask", "&=", "lsb", "-", "1", ";", "dalign", "=", "mask", "+", "1", ";", "return", "dalign", ">=", "dsize", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "MODE", "sized", "memory", "accesses", "to", "OP", "plus", "OFFSET", "is", "known", "to", "not", "straddle", "a", "32k", "boundary", "."], "TS_V_token": ["rs6000", "0", "0", "32768", "0", "32768", "1", "1", "1"], "File": "rs60004", "Func": "offsettable_ok_by_alignment", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1579, "Length": 366, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MOSLateOptimization", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "bool", "Changed", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "Changed", "|=", "lowerCMPTermZs", "(", "MBB", ")", ";", "Changed", "|=", "ldImmToInxyDexy", "(", "MBB", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["MOS", "MOS"], "File": "MOSLateOptimization", "Func": "runOnMachineFunction", "Target": "MOS", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1580, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arc_legitimate_constant_p", "(", "machine_mode", ",", "rtx", "x", ")", "{", "if", "(", "!", "flag_pic", ")", "return", "true", ";", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "CONST", ":", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "{", "if", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "!=", "CONST_INT", ")", "return", "false", ";", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "}", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", ")", "switch", "(", "XINT", "(", "x", ",", "1", ")", ")", "{", "case", "ARC_UNSPEC_PLT", ":", "case", "ARC_UNSPEC_GOTOFF", ":", "case", "ARC_UNSPEC_GOT", ":", "case", "UNSPEC_PROF", ":", "return", "true", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "arc_raw_symbolic_reference_mentioned_p", "(", "x", ",", "false", ")", ")", "return", "false", ";", "break", ";", "case", "LABEL_REF", ":", "case", "SYMBOL_REF", ":", "return", "false", ";", "default", ":", "break", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Determine", "if", "a", "given", "RTX", "is", "a", "valid", "constant", ".", "We", "already", "know", "this", "satisfies", "CONSTANT_P", "."], "TS_V_token": ["arc", "0", "1", "0", "1"], "File": "arc4", "Func": "arc_legitimate_constant_p", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1581, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "const_sint32_operand", "(", "rtx", "op", ",", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "return", "(", "GET_CODE", "(", "op", ")", "==", "CONST_INT", "&&", "(", "INTVAL", "(", "op", ")", ">=", "(", "-", "0x7fffffff", "-", "1", ")", "&&", "INTVAL", "(", "op", ")", "<=", "0x7fffffff", ")", ")", ";", "}", ""], "natrual_language": ["Accept", "integer", "operands", "in", "the", "range", "-0x80000000", "..", "0x7fffffff", ".", "We", "have", "to", "check", "the", "range", "carefully", "since", "this", "predicate", "is", "used", "in", "DImode", "contexts", "."], "TS_V_token": ["arc", "0x7fffffff", "1", "0x7fffffff"], "File": "arc3", "Func": "const_sint32_operand", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1582, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "rs6000_insn_for_insert_mask", "(", "machine_mode", "mode", ",", "rtx", "*", "operands", ",", "bool", "dot", ")", "{", "int", "nb", ",", "ne", ";", "if", "(", "!", "rs6000_is_valid_mask", "(", "operands", "[", "3", "]", ",", "&", "nb", ",", "&", "ne", ",", "mode", ")", ")", "gcc_unreachable", "(", ")", ";", "if", "(", "TARGET_POWERPC64", "&&", "(", "!", "dot", "||", "mode", "==", "DImode", ")", "&&", "GET_CODE", "(", "operands", "[", "4", "]", ")", "!=", "LSHIFTRT", "&&", "ne", "==", "INTVAL", "(", "operands", "[", "2", "]", ")", ")", "{", "operands", "[", "3", "]", "=", "GEN_INT", "(", "63", "-", "nb", ")", ";", "if", "(", "dot", ")", "return", "\"rldimi. %0,%1,%2,%3\"", ";", "return", "\"rldimi %0,%1,%2,%3\"", ";", "}", "if", "(", "nb", "<", "32", "&&", "ne", "<", "32", ")", "{", "if", "(", "GET_CODE", "(", "operands", "[", "4", "]", ")", "==", "LSHIFTRT", "&&", "INTVAL", "(", "operands", "[", "2", "]", ")", ")", "operands", "[", "2", "]", "=", "GEN_INT", "(", "32", "-", "INTVAL", "(", "operands", "[", "2", "]", ")", ")", ";", "operands", "[", "3", "]", "=", "GEN_INT", "(", "31", "-", "nb", ")", ";", "operands", "[", "4", "]", "=", "GEN_INT", "(", "31", "-", "ne", ")", ";", "if", "(", "dot", ")", "return", "\"rlwimi. %0,%1,%2,%3,%4\"", ";", "return", "\"rlwimi %0,%1,%2,%3,%4\"", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "instruction", "template", "for", "an", "insert", "with", "mask", "in", "mode", "MODE", ",", "with", "operands", "OPERANDS", ".", "If", "DOT", "is", "true", ",", "make", "it", "a", "record-form", "instruction", "."], "TS_V_token": ["rs6000", "3", "4", "2", "3", "63", "\"rldimi. %0,%1,%2,%3\"", "\"rldimi %0,%1,%2,%3\"", "32", "32", "4", "2", "2", "32", "2", "3", "31", "4", "31", "\"rlwimi. %0,%1,%2,%3,%4\"", "\"rlwimi %0,%1,%2,%3,%4\""], "File": "rs6000", "Func": "rs6000_insn_for_insert_mask", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1583, "Length": 190, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TL45AsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["TL45", "TL45"], "File": "TL45AsmParser", "Func": "ParseDirective", "Target": "TL45", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1584, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "pa_secondary_memory_needed", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "reg_class_t", "class1", "ATTRIBUTE_UNUSED", ",", "reg_class_t", "class2", "ATTRIBUTE_UNUSED", ")", "{", "return", "PA_SECONDARY_MEMORY_NEEDED", "(", "mode", ",", "class1", ",", "class2", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SECONDARY_MEMORY_NEEDED", "."], "TS_V_token": ["pa"], "File": "pa", "Func": "pa_secondary_memory_needed", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1585, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mmix_output_quoted_string", "(", "FILE", "*", "stream", ",", "const", "char", "*", "string", ",", "int", "length", ")", "{", "const", "char", "*", "string_end", "=", "string", "+", "length", ";", "static", "const", "char", "*", "const", "unwanted_chars", "=", "\"\\\"[]\\\\\"", ";", "while", "(", "string", "<", "string_end", ")", "{", "if", "(", "*", "string", "&&", "(", "unsigned", "char", ")", "*", "string", "<", "128", "&&", "!", "ISCNTRL", "(", "*", "string", ")", "&&", "strchr", "(", "unwanted_chars", ",", "*", "string", ")", "==", "NULL", ")", "{", "fputc", "(", "'\"'", ",", "stream", ")", ";", "while", "(", "*", "string", "&&", "(", "unsigned", "char", ")", "*", "string", "<", "128", "&&", "!", "ISCNTRL", "(", "*", "string", ")", "&&", "strchr", "(", "unwanted_chars", ",", "*", "string", ")", "==", "NULL", "&&", "string", "<", "string_end", ")", "{", "fputc", "(", "*", "string", ",", "stream", ")", ";", "string", "++", ";", "}", "fputc", "(", "'\"'", ",", "stream", ")", ";", "if", "(", "string", "<", "string_end", ")", "fprintf", "(", "stream", ",", "\",\"", ")", ";", "}", "if", "(", "string", "<", "string_end", ")", "{", "fprintf", "(", "stream", ",", "\"#%x\"", ",", "*", "string", "&", "255", ")", ";", "string", "++", ";", "if", "(", "string", "<", "string_end", ")", "fprintf", "(", "stream", ",", "\",\"", ")", ";", "}", "}", "}", ""], "natrual_language": ["OUTPUT_QUOTED_STRING", "."], "TS_V_token": ["mmix", "\"\\\"[]\\\\\"", "128", "128", "\",\"", "\"#%x\"", "255", "\",\""], "File": "mmix", "Func": "mmix_output_quoted_string", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1586, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Tile Register Pre-configure\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"Tile Register Pre-configure\""], "File": "X86PreTileConfig", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1587, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SITargetLowering", "::", "shouldConvertConstantLoadToIntImm", "(", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "const", "{", "const", "SIInstrInfo", "*", "TII", "=", "static_cast", "<", "const", "SIInstrInfo", "*", ">", "(", "getTargetMachine", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "return", "TII", "->", "isInlineConstant", "(", "Imm", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "it", "is", "beneficial", "to", "convert", "a", "load", "of", "a", "constant", "to", "just", "the", "constant", "itself", "."], "TS_V_token": ["R600", "SI", "SI", "SI"], "File": "SIISelLowering102", "Func": "shouldConvertConstantLoadToIntImm", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1588, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "avr_log_set_avr_log", "(", "void", ")", "{", "bool", "all", "=", "TARGET_ALL_DEBUG", "!=", "0", ";", "if", "(", "all", ")", "avr_log_details", "=", "\"all\"", ";", "if", "(", "all", "||", "avr_log_details", ")", "{", "char", "*", "str", "=", "(", "char", "*", ")", "alloca", "(", "3", "+", "strlen", "(", "avr_log_details", ")", ")", ";", "bool", "info", ";", "str", "[", "0", "]", "=", "','", ";", "strcat", "(", "stpcpy", "(", "str", "+", "1", ",", "avr_log_details", ")", ",", "\",\"", ")", ";", "all", "|=", "strstr", "(", "str", ",", "\",all,\"", ")", "!=", "NULL", ";", "info", "=", "strstr", "(", "str", ",", "\",?,\"", ")", "!=", "NULL", ";", "if", "(", "info", ")", "fprintf", "(", "stderr", ",", "\"\\n-mlog=\"", ")", ";", "do", "{", "\\", "avr_log", ".", "S", "=", "(", "all", "||", "strstr", "(", "str", ",", "\",\"", "#", "S", "\",\"", ")", "!=", "NULL", ")", ";", "\\", "if", "(", "info", ")", "\\", "fprintf", "(", "stderr", ",", "#", "S", "\",\"", ")", ";", "\\", "}", "while", "(", "0", ")", "SET_DUMP_DETAIL", "(", "address_cost", ")", ";", "SET_DUMP_DETAIL", "(", "builtin", ")", ";", "SET_DUMP_DETAIL", "(", "constraints", ")", ";", "SET_DUMP_DETAIL", "(", "insn_addresses", ")", ";", "SET_DUMP_DETAIL", "(", "legitimate_address_p", ")", ";", "SET_DUMP_DETAIL", "(", "legitimize_address", ")", ";", "SET_DUMP_DETAIL", "(", "legitimize_reload_address", ")", ";", "SET_DUMP_DETAIL", "(", "progmem", ")", ";", "SET_DUMP_DETAIL", "(", "rtx_costs", ")", ";", "if", "(", "info", ")", "fprintf", "(", "stderr", ",", "\"?\\n\\n\"", ")", ";", "}", "}", ""], "natrual_language": ["Called", "from", "avr.cc", ":", "avr_option_override", "(", ")", ".", "Parse", "argument", "of", "-mlog=", "and", "set", "respective", "fields", "in", "avr_log", "."], "TS_V_token": ["avr", "0", "\"all\"", "3", "0", "1", "\",\"", "\",all,\"", "\",?,\"", "\"\\n-mlog=\"", "\",\"", "\",\"", "\",\"", "0", "\"?\\n\\n\""], "File": "avr-log", "Func": "avr_log_set_avr_log", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1589, "Length": 205, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86IntelInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "OS", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "const", "MCInstrDesc", "&", "Desc", "=", "MII", ".", "get", "(", "MI", "->", "getOpcode", "(", ")", ")", ";", "uint64_t", "TSFlags", "=", "Desc", ".", "TSFlags", ";", "if", "(", "TSFlags", "&", "X86II", "::", "LOCK", ")", "OS", "<<", "\"\\tlock\\t\"", ";", "unsigned", "Flags", "=", "MI", "->", "getFlags", "(", ")", ";", "if", "(", "Flags", "&", "X86", "::", "IP_HAS_REPEAT_NE", ")", "OS", "<<", "\"\\trepne\\t\"", ";", "else", "if", "(", "Flags", "&", "X86", "::", "IP_HAS_REPEAT", ")", "OS", "<<", "\"\\trep\\t\"", ";", "printInstruction", "(", "MI", ",", "OS", ")", ";", "printAnnotation", "(", "OS", ",", "Annot", ")", ";", "if", "(", "CommentStream", ")", "EmitAnyX86InstComments", "(", "MI", ",", "*", "CommentStream", ",", "getRegisterName", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["X86", "X86", "X86II::LOCK", "\"\\tlock\\t\"", "X86::IP_HAS_REPEAT_NE", "\"\\trepne\\t\"", "X86::IP_HAS_REPEAT", "\"\\trep\\t\"", "X86"], "File": "X86IntelInstPrinter25", "Func": "printInst", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1590, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "register_tuple_type", "(", "unsigned", "int", "num_vectors", ",", "vector_type_index", "type", ")", "{", "tree", "tuple_type", "=", "lang_hooks", ".", "types", ".", "make_type", "(", "RECORD_TYPE", ")", ";", "tree", "vector_type", "=", "acle_vector_types", "[", "0", "]", "[", "type", "]", ";", "tree", "array_type", "=", "build_array_type_nelts", "(", "vector_type", ",", "num_vectors", ")", ";", "gcc_assert", "(", "VECTOR_MODE_P", "(", "TYPE_MODE", "(", "array_type", ")", ")", "&&", "TYPE_MODE_RAW", "(", "array_type", ")", "==", "TYPE_MODE", "(", "array_type", ")", "&&", "TYPE_ALIGN", "(", "array_type", ")", "==", "128", ")", ";", "tree", "field", "=", "build_decl", "(", "input_location", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"__val\"", ")", ",", "array_type", ")", ";", "DECL_FIELD_CONTEXT", "(", "field", ")", "=", "tuple_type", ";", "TYPE_FIELDS", "(", "tuple_type", ")", "=", "field", ";", "add_sve_type_attribute", "(", "tuple_type", ",", "num_vectors", ",", "0", ",", "NULL", ")", ";", "make_type_sizeless", "(", "tuple_type", ")", ";", "layout_type", "(", "tuple_type", ")", ";", "gcc_assert", "(", "VECTOR_MODE_P", "(", "TYPE_MODE", "(", "tuple_type", ")", ")", "&&", "TYPE_MODE_RAW", "(", "tuple_type", ")", "==", "TYPE_MODE", "(", "tuple_type", ")", "&&", "TYPE_ALIGN", "(", "tuple_type", ")", "==", "128", ")", ";", "char", "buffer", "[", "sizeof", "(", "\"svbfloat16x4_t\"", ")", "]", ";", "const", "char", "*", "vector_type_name", "=", "vector_types", "[", "type", "]", ".", "acle_name", ";", "snprintf", "(", "buffer", ",", "sizeof", "(", "buffer", ")", ",", "\"%.*sx%d_t\"", ",", "(", "int", ")", "strlen", "(", "vector_type_name", ")", "-", "2", ",", "vector_type_name", ",", "num_vectors", ")", ";", "tree", "decl", "=", "build_decl", "(", "input_location", ",", "TYPE_DECL", ",", "get_identifier", "(", "buffer", ")", ",", "tuple_type", ")", ";", "TYPE_NAME", "(", "tuple_type", ")", "=", "decl", ";", "TYPE_STUB_DECL", "(", "tuple_type", ")", "=", "decl", ";", "lang_hooks", ".", "decls", ".", "pushdecl", "(", "decl", ")", ";", "DECL_ORIGINAL_TYPE", "(", "decl", ")", "=", "NULL_TREE", ";", "acle_vector_types", "[", "num_vectors", "-", "1", "]", "[", "type", "]", "=", "tuple_type", ";", "}", ""], "natrual_language": ["Register", "the", "tuple", "type", "that", "contains", "NUM_VECTORS", "vectors", "of", "type", "TYPE", "."], "TS_V_token": ["aarch64", "0", "128", "\"__val\"", "0", "128", "\"svbfloat16x4_t\"", "\"%.*sx%d_t\"", "2", "1"], "File": "aarch64-sve-builtins", "Func": "register_tuple_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1591, "Length": 260, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "string", "getDataLayout", "(", ")", "const", "{", "const", "char", "*", "p", ";", "if", "(", "is64Bit", "(", ")", ")", "p", "=", "\"e-p:64:64-s:64-f64:64:64-i64:64:64-f80:128:128-n8:16:32:64\"", ";", "else", "if", "(", "isTargetDarwin", "(", ")", ")", "p", "=", "\"e-p:32:32-f64:32:64-i64:32:64-f80:128:128-n8:16:32\"", ";", "else", "if", "(", "isTargetMingw", "(", ")", "||", "isTargetWindows", "(", ")", ")", "p", "=", "\"e-p:32:32-f64:64:64-i64:64:64-f80:32:32-n8:16:32\"", ";", "else", "p", "=", "\"e-p:32:32-f64:32:64-i64:32:64-f80:32:32-n8:16:32\"", ";", "return", "std", "::", "string", "(", "p", ")", ";", "}", ""], "natrual_language": ["Return", "the", "DataLayout", "associated", "with", "the", "module", "this", "SCEV", "instance", "is", "operating", "on", "."], "TS_V_token": ["X86", "\"e-p:64:64-s:64-f64:64:64-i64:64:64-f80:128:128-n8:16:32:64\"", "\"e-p:32:32-f64:32:64-i64:32:64-f80:128:128-n8:16:32\"", "\"e-p:32:32-f64:64:64-i64:64:64-f80:32:32-n8:16:32\"", "\"e-p:32:32-f64:32:64-i64:32:64-f80:32:32-n8:16:32\""], "File": "X86Subtarget110", "Func": "getDataLayout", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1592, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "save_local_or_in_reg_p", "(", "unsigned", "int", "regno", ",", "int", "leaf_function", ")", "{", "if", "(", "!", "call_used_regs", "[", "regno", "]", "&&", "df_regs_ever_live_p", "(", "regno", ")", ")", "return", "true", ";", "if", "(", "regno", "==", "HARD_FRAME_POINTER_REGNUM", "&&", "frame_pointer_needed", ")", "return", "true", ";", "if", "(", "regno", "==", "RETURN_ADDR_REGNUM", "&&", "return_addr_reg_needed_p", "(", "leaf_function", ")", ")", "return", "true", ";", "if", "(", "regno", "==", "PIC_OFFSET_TABLE_REGNUM", "&&", "crtl", "->", "uses_pic_offset_table", ")", "return", "true", ";", "if", "(", "crtl", "->", "accesses_prior_frames", "&&", "(", "regno", "==", "HARD_FRAME_POINTER_REGNUM", "||", "regno", "==", "RETURN_ADDR_REGNUM", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "whether", "REGNO", ",", "a", "local", "or", "in", "register", ",", "must", "be", "saved/restored", "."], "TS_V_token": ["sparc"], "File": "sparc4", "Func": "save_local_or_in_reg_p", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1593, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "register_vector_type", "(", "vector_type_index", "type", ")", "{", "if", "(", "vector_types", "[", "type", "]", ".", "requires_float", "&&", "!", "TARGET_HAVE_MVE_FLOAT", ")", "return", ";", "tree", "vectype", "=", "abi_vector_types", "[", "type", "]", ";", "tree", "id", "=", "get_identifier", "(", "vector_types", "[", "type", "]", ".", "acle_name", ")", ";", "tree", "decl", "=", "build_decl", "(", "input_location", ",", "TYPE_DECL", ",", "id", ",", "vectype", ")", ";", "decl", "=", "lang_hooks", ".", "decls", ".", "pushdecl", "(", "decl", ")", ";", "if", "(", "decl", "&&", "TREE_CODE", "(", "decl", ")", "==", "TYPE_DECL", "&&", "TREE_TYPE", "(", "decl", ")", "!=", "error_mark_node", "&&", "TYPE_MAIN_VARIANT", "(", "TREE_TYPE", "(", "decl", ")", ")", "==", "vectype", ")", "vectype", "=", "TREE_TYPE", "(", "decl", ")", ";", "acle_vector_types", "[", "0", "]", "[", "type", "]", "=", "vectype", ";", "}", ""], "natrual_language": ["Register", "vector", "type", "TYPE", "under", "its", "risv_vector.h", "name", "."], "TS_V_token": ["arm", "0"], "File": "arm-mve-builtins", "Func": "register_vector_type", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1594, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MSP430InstrInfo", "::", "analyzeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "&", "TBB", ",", "MachineBasicBlock", "*", "&", "FBB", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "bool", "AllowModify", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "end", "(", ")", ";", "while", "(", "I", "!=", "MBB", ".", "begin", "(", ")", ")", "{", "--", "I", ";", "if", "(", "I", "->", "isDebugInstr", "(", ")", ")", "continue", ";", "if", "(", "!", "isUnpredicatedTerminator", "(", "*", "I", ")", ")", "break", ";", "if", "(", "!", "I", "->", "isBranch", "(", ")", ")", "return", "true", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "MSP430", "::", "Br", "||", "I", "->", "getOpcode", "(", ")", "==", "MSP430", "::", "Bm", ")", "return", "true", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "MSP430", "::", "JMP", ")", "{", "if", "(", "!", "AllowModify", ")", "{", "TBB", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "continue", ";", "}", "while", "(", "std", "::", "next", "(", "I", ")", "!=", "MBB", ".", "end", "(", ")", ")", "std", "::", "next", "(", "I", ")", "->", "eraseFromParent", "(", ")", ";", "Cond", ".", "clear", "(", ")", ";", "FBB", "=", "nullptr", ";", "if", "(", "MBB", ".", "isLayoutSuccessor", "(", "I", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ")", ")", "{", "TBB", "=", "nullptr", ";", "I", "->", "eraseFromParent", "(", ")", ";", "I", "=", "MBB", ".", "end", "(", ")", ";", "continue", ";", "}", "TBB", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "continue", ";", "}", "assert", "(", "I", "->", "getOpcode", "(", ")", "==", "MSP430", "::", "JCC", "&&", "\"Invalid conditional branch\"", ")", ";", "MSP430CC", "::", "CondCodes", "BranchCode", "=", "static_cast", "<", "MSP430CC", "::", "CondCodes", ">", "(", "I", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ")", ";", "if", "(", "BranchCode", "==", "MSP430CC", "::", "COND_INVALID", ")", "return", "true", ";", "if", "(", "Cond", ".", "empty", "(", ")", ")", "{", "FBB", "=", "TBB", ";", "TBB", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ";", "Cond", ".", "push_back", "(", "MachineOperand", "::", "CreateImm", "(", "BranchCode", ")", ")", ";", "continue", ";", "}", "assert", "(", "Cond", ".", "size", "(", ")", "==", "1", ")", ";", "assert", "(", "TBB", ")", ";", "if", "(", "TBB", "!=", "I", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ")", "return", "true", ";", "MSP430CC", "::", "CondCodes", "OldBranchCode", "=", "(", "MSP430CC", "::", "CondCodes", ")", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ";", "if", "(", "OldBranchCode", "==", "BranchCode", ")", "continue", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["analyzeBranch", "-", "Analyze", "the", "branching", "code", "at", "the", "end", "of", "MBB", ",", "returning", "true", "if", "it", "can", "not", "be", "understood", "(", "e.g", "."], "TS_V_token": ["MSP430", "MSP430", "MSP430::Br", "MSP430::Bm", "MSP430::JMP", "0", "0", "0", "MSP430::JCC", "\"Invalid conditional branch\"", "MSP430CC::CondCodes", "MSP430CC::CondCodes", "1", "MSP430CC::COND_INVALID", "0", "1", "0", "MSP430CC::CondCodes", "MSP430CC::CondCodes", "0"], "File": "MSP430InstrInfo10", "Func": "analyzeBranch", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1595, "Length": 401, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_secondary_memory_needed", "(", "machine_mode", "mode", ",", "reg_class_t", "class1", ",", "reg_class_t", "class2", ")", "{", "if", "(", "lra_in_progress", "&&", "(", "class1", "==", "NO_REGS", "||", "class2", "==", "NO_REGS", ")", ")", "return", "false", ";", "if", "(", "(", "(", "class1", "==", "FP_REGS", ")", "!=", "(", "class2", "==", "FP_REGS", ")", ")", "&&", "(", "(", "TARGET_FLOATXX", "&&", "!", "ISA_HAS_MXHC1", ")", "||", "TARGET_O32_FP64A_ABI", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", ">=", "8", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "SECONDARY_MEMORY_NEEDED", "."], "TS_V_token": ["mips", "8"], "File": "mips", "Func": "mips_secondary_memory_needed", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1596, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nds32_conditional_register_usage", "(", "void", ")", "{", "int", "regno", ";", "if", "(", "TARGET_LINUX_ABI", ")", "fixed_regs", "[", "TP_REGNUM", "]", "=", "1", ";", "if", "(", "TARGET_HARD_FLOAT", ")", "{", "for", "(", "regno", "=", "NDS32_FIRST_FPR_REGNUM", ";", "regno", "<=", "NDS32_LAST_FPR_REGNUM", ";", "regno", "++", ")", "{", "fixed_regs", "[", "regno", "]", "=", "0", ";", "if", "(", "regno", "<", "NDS32_FIRST_FPR_REGNUM", "+", "NDS32_MAX_FPR_REGS_FOR_ARGS", ")", "call_used_regs", "[", "regno", "]", "=", "1", ";", "else", "if", "(", "regno", ">=", "NDS32_FIRST_FPR_REGNUM", "+", "22", "&&", "regno", "<", "NDS32_FIRST_FPR_REGNUM", "+", "48", ")", "call_used_regs", "[", "regno", "]", "=", "1", ";", "else", "call_used_regs", "[", "regno", "]", "=", "0", ";", "}", "}", "else", "if", "(", "TARGET_FPU_SINGLE", "||", "TARGET_FPU_DOUBLE", ")", "{", "for", "(", "regno", "=", "NDS32_FIRST_FPR_REGNUM", ";", "regno", "<=", "NDS32_LAST_FPR_REGNUM", ";", "regno", "++", ")", "fixed_regs", "[", "regno", "]", "=", "0", ";", "}", "}", ""], "natrual_language": ["Register", "Usage", "."], "TS_V_token": ["nds32", "1", "0", "1", "22", "48", "1", "0", "0"], "File": "nds32", "Func": "nds32_conditional_register_usage", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1597, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "WebAssemblyAsmBackend", "::", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ",", "const", "MCSubtargetInfo", "*", "STI", ")", "const", "{", "const", "MCFixupKindInfo", "&", "Info", "=", "getFixupKindInfo", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "assert", "(", "Info", ".", "Flags", "==", "0", "&&", "\"WebAssembly does not use MCFixupKindInfo flags\"", ")", ";", "unsigned", "NumBytes", "=", "alignTo", "(", "Info", ".", "TargetSize", ",", "8", ")", "/", "8", ";", "if", "(", "Value", "==", "0", ")", "return", ";", "Value", "<<=", "Info", ".", "TargetOffset", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "assert", "(", "Offset", "+", "NumBytes", "<=", "Data", ".", "size", "(", ")", "&&", "\"Invalid fixup offset!\"", ")", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "!=", "NumBytes", ";", "++", "I", ")", "Data", "[", "Offset", "+", "I", "]", "|=", "uint8_t", "(", "(", "Value", ">>", "(", "I", "*", "8", ")", ")", "&", "0xff", ")", ";", "}", ""], "natrual_language": ["Apply", "the", "Value", "for", "given", "Fixup", "into", "the", "provided", "data", "fragment", ",", "at", "the", "offset", "specified", "by", "the", "fixup", "and", "following", "the", "fixup", "kind", "as", "appropriate", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "0", "\"WebAssembly does not use MCFixupKindInfo flags\"", "8", "8", "0", "\"Invalid fixup offset!\"", "0", "8", "0xff"], "File": "WebAssemblyAsmBackend1", "Func": "applyFixup", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1598, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "iq2000_annotate_frame_insn", "(", "rtx", "insn", ",", "rtx", "dwarf_pattern", ")", "{", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "REG_NOTES", "(", "insn", ")", "=", "alloc_EXPR_LIST", "(", "REG_FRAME_RELATED_EXPR", ",", "dwarf_pattern", ",", "REG_NOTES", "(", "insn", ")", ")", ";", "}", ""], "natrual_language": ["Make", "INSN", "frame", "related", "and", "note", "that", "it", "performs", "the", "frame-related", "operation", "DWARF_PATTERN", "."], "TS_V_token": ["iq2000", "1"], "File": "iq20002", "Func": "iq2000_annotate_frame_insn", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1599, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TMS320C64XInstrInfo", "::", "isPredicated", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "const", "int", "pred_idx", "=", "MI", "->", "findFirstPredOperandIdx", "(", ")", ";", "if", "(", "pred_idx", "==", "-", "1", ")", "return", "false", ";", "const", "int", "pred_val", "=", "MI", "->", "getOperand", "(", "pred_idx", ")", ".", "getImm", "(", ")", ";", "if", "(", "pred_val", "==", "-", "1", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "instruction", "is", "already", "predicated", "."], "TS_V_token": ["TMS320C64X", "TMS320C64X", "1", "1"], "File": "TMS320C64XInstrInfo", "Func": "isPredicated", "Target": "TMS320C64X", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 1600, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "frv_io_handle_set", "(", "rtx", "x", ",", "rtx", "pat", "ATTRIBUTE_UNUSED", ",", "void", "*", "data", ")", "{", "HARD_REG_SET", "*", "set", "=", "data", ";", "unsigned", "int", "regno", ";", "if", "(", "REG_P", "(", "x", ")", ")", "FOR_EACH_REGNO", "(", "regno", ",", "x", ")", "CLEAR_HARD_REG_BIT", "(", "*", "set", ",", "regno", ")", ";", "}", ""], "natrual_language": ["A", "note_stores", "callback", "for", "which", "DATA", "points", "to", "a", "HARD_REG_SET", ".", "Remove", "every", "modified", "register", "from", "the", "set", "."], "TS_V_token": ["frv"], "File": "frv2", "Func": "frv_io_handle_set", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 1601, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"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": 1602, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCFrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "return", "false", ";", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "PPCInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "PPCInstrInfo", "*", ">", "(", "Subtarget", ".", "getInstrInfo", "(", ")", ")", ";", "DebugLoc", "DL", ";", "bool", "CRSpilled", "=", "false", ";", "MachineInstrBuilder", "CRMIB", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "if", "(", "Reg", "==", "PPC", "::", "VRSAVE", "&&", "!", "Subtarget", ".", "isDarwinABI", "(", ")", ")", "continue", ";", "bool", "IsCRField", "=", "PPC", "::", "CR2", "<=", "Reg", "&&", "Reg", "<=", "PPC", "::", "CR4", ";", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "if", "(", "CRSpilled", "&&", "IsCRField", ")", "{", "CRMIB", ".", "addReg", "(", "Reg", ",", "RegState", "::", "ImplicitKill", ")", ";", "continue", ";", "}", "if", "(", "IsCRField", ")", "{", "PPCFunctionInfo", "*", "FuncInfo", "=", "MF", "->", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", ";", "if", "(", "Subtarget", ".", "isPPC64", "(", ")", ")", "{", "FuncInfo", "->", "addMustSaveCR", "(", "Reg", ")", ";", "}", "else", "{", "CRSpilled", "=", "true", ";", "FuncInfo", "->", "setSpillsCR", "(", ")", ";", "CRMIB", "=", "BuildMI", "(", "*", "MF", ",", "DL", ",", "TII", ".", "get", "(", "PPC", "::", "MFCR", ")", ",", "PPC", "::", "R12", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "ImplicitKill", ")", ";", "MBB", ".", "insert", "(", "MI", ",", "CRMIB", ")", ";", "MBB", ".", "insert", "(", "MI", ",", "addFrameReference", "(", "BuildMI", "(", "*", "MF", ",", "DL", ",", "TII", ".", "get", "(", "PPC", "::", "STW", ")", ")", ".", "addReg", "(", "PPC", "::", "R12", ",", "getKillRegState", "(", "true", ")", ")", ",", "CSI", "[", "i", "]", ".", "getFrameIdx", "(", ")", ")", ")", ";", "}", "}", "else", "{", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "TII", ".", "storeRegToStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "true", ",", "CSI", "[", "i", "]", ".", "getFrameIdx", "(", ")", ",", "RC", ",", "TRI", ")", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["spillCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "spill", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "store", "instructions", "via", "storeRegToStackSlot", "(", ")", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "0", "PPC::VRSAVE", "PPC::CR2", "PPC::CR4", "PPC", "PPC", "PPC", "PPC::MFCR", "PPC::R12", "PPC::STW", "PPC::R12"], "File": "PPCFrameLowering (2)", "Func": "spillCalleeSavedRegisters", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1603, "Length": 363, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "visium_adjust_cost", "(", "rtx_insn", "*", "insn", ",", "rtx", "link", ",", "rtx_insn", "*", "dep_insn", ",", "int", "cost", ")", "{", "enum", "attr_type", "attr_type", ";", "if", "(", "REG_NOTE_KIND", "(", "link", ")", "==", "REG_DEP_TRUE", ")", "{", "if", "(", "!", "reload_completed", "&&", "recog_memoized", "(", "insn", ")", ">=", "0", "&&", "get_attr_type", "(", "insn", ")", "==", "TYPE_CMP", ")", "{", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "pat", ")", "==", "SET", ")", ";", "rtx", "src", "=", "SET_SRC", "(", "pat", ")", ";", "if", "(", "GET_CODE", "(", "src", ")", "==", "IF_THEN_ELSE", "&&", "XEXP", "(", "XEXP", "(", "src", ",", "0", ")", ",", "1", ")", "==", "const0_rtx", "&&", "recog_memoized", "(", "dep_insn", ")", ">=", "0", ")", "{", "enum", "attr_type", "dep_attr_type", "=", "get_attr_type", "(", "dep_insn", ")", ";", "if", "(", "dep_attr_type", "==", "TYPE_LOGIC", "||", "(", "dep_attr_type", "==", "TYPE_ARITH", "&&", "visium_noov_operator", "(", "XEXP", "(", "src", ",", "0", ")", ",", "GET_MODE", "(", "XEXP", "(", "src", ",", "0", ")", ")", ")", ")", ")", "return", "0", ";", "}", "}", "return", "cost", ";", "}", "if", "(", "recog_memoized", "(", "insn", ")", "<", "0", ")", "return", "0", ";", "attr_type", "=", "get_attr_type", "(", "insn", ")", ";", "if", "(", "REG_NOTE_KIND", "(", "link", ")", "==", "REG_DEP_ANTI", ")", "{", "if", "(", "attr_type", "==", "TYPE_REG_FP", "&&", "visium_cpu", "==", "PROCESSOR_GR5", ")", "{", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "rtx", "dep_pat", "=", "PATTERN", "(", "dep_insn", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "!=", "SET", "||", "GET_CODE", "(", "dep_pat", ")", "!=", "SET", ")", "return", "0", ";", "if", "(", "reg_mentioned_p", "(", "SET_DEST", "(", "pat", ")", ",", "SET_SRC", "(", "dep_pat", ")", ")", ")", "{", "if", "(", "recog_memoized", "(", "dep_insn", ")", "<", "0", ")", "return", "0", ";", "switch", "(", "get_attr_type", "(", "dep_insn", ")", ")", "{", "case", "TYPE_FDIV", ":", "case", "TYPE_FSQRT", ":", "case", "TYPE_FTOI", ":", "case", "TYPE_ITOF", ":", "case", "TYPE_FP", ":", "case", "TYPE_FMOVE", ":", "return", "insn_default_latency", "(", "dep_insn", ")", ";", "default", ":", "return", "0", ";", "}", "}", "}", "else", "if", "(", "attr_type", "==", "TYPE_RET", "&&", "visium_cpu", "==", "PROCESSOR_GR6", ")", "{", "rtx", "dep_pat", "=", "PATTERN", "(", "dep_insn", ")", ";", "if", "(", "GET_CODE", "(", "dep_pat", ")", "==", "SET", "&&", "REG_P", "(", "SET_DEST", "(", "dep_pat", ")", ")", "&&", "REGNO", "(", "SET_DEST", "(", "dep_pat", ")", ")", "==", "LINK_REGNUM", ")", "return", "8", ";", "}", "return", "0", ";", "}", "else", "if", "(", "REG_NOTE_KIND", "(", "link", ")", "==", "REG_DEP_OUTPUT", ")", "{", "if", "(", "attr_type", "==", "TYPE_REG_FP", "&&", "visium_cpu", "==", "PROCESSOR_GR5", ")", "{", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "rtx", "dep_pat", "=", "PATTERN", "(", "dep_insn", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "!=", "SET", "||", "GET_CODE", "(", "dep_pat", ")", "!=", "SET", ")", "return", "0", ";", "if", "(", "reg_mentioned_p", "(", "SET_DEST", "(", "pat", ")", ",", "SET_DEST", "(", "dep_pat", ")", ")", ")", "{", "if", "(", "recog_memoized", "(", "dep_insn", ")", "<", "0", ")", "return", "0", ";", "switch", "(", "get_attr_type", "(", "dep_insn", ")", ")", "{", "case", "TYPE_FDIV", ":", "case", "TYPE_FSQRT", ":", "case", "TYPE_FTOI", ":", "case", "TYPE_ITOF", ":", "case", "TYPE_FP", ":", "case", "TYPE_FMOVE", ":", "return", "insn_default_latency", "(", "dep_insn", ")", ";", "default", ":", "return", "0", ";", "}", "}", "}", "return", "0", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Adjust", "the", "cost", "of", "a", "scheduling", "dependency", ".", "Return", "the", "new", "cost", "of", "a", "dependency", "LINK", "of", "INSN", "on", "DEP_INSN", ".", "COST", "is", "the", "current", "cost", "."], "TS_V_token": ["visium", "0", "0", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "8", "0", "0", "0", "0", "0", "0", "0"], "File": "visium2", "Func": "visium_adjust_cost", "Target": "visium", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 1604, "Length": 491, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "int", "mov_insn_alignment_mask", "(", "machine_mode", "mode", ",", "bool", "consider_sh2a", ")", "{", "const", "int", "mov_insn_sz", "=", "mov_insn_size", "(", "mode", ",", "consider_sh2a", ")", ";", "return", "mov_insn_sz", ">", "0", "?", "(", "mov_insn_sz", "-", "1", ")", ":", "0", ";", "}", ""], "natrual_language": ["Determine", "the", "alignment", "mask", "for", "a", "move", "insn", "of", "the", "specified", "mode", "."], "TS_V_token": ["sh", "0", "1", "0"], "File": "sh", "Func": "mov_insn_alignment_mask", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1605, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "SPUTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "SPUPassConfig", "(", "this", ",", "PM", ")", ";", "}", ""], "natrual_language": ["Create", "a", "pass", "configuration", "object", "to", "be", "used", "by", "addPassToEmitX", "methods", "for", "generating", "a", "pipeline", "of", "CodeGen", "passes", "."], "TS_V_token": ["CellSPU", "SPU", "SPU"], "File": "SPUTargetMachine11", "Func": "createPassConfig", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1606, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "rs6000_builtin_md_vectorized_function", "(", "tree", "fndecl", ",", "tree", "type_out", ",", "tree", "type_in", ")", "{", "machine_mode", "in_mode", ",", "out_mode", ";", "int", "in_n", ",", "out_n", ";", "if", "(", "TARGET_DEBUG_BUILTIN", ")", "fprintf", "(", "stderr", ",", "\"rs6000_builtin_md_vectorized_function (%s, %s, %s)\\n\"", ",", "IDENTIFIER_POINTER", "(", "DECL_NAME", "(", "fndecl", ")", ")", ",", "GET_MODE_NAME", "(", "TYPE_MODE", "(", "type_out", ")", ")", ",", "GET_MODE_NAME", "(", "TYPE_MODE", "(", "type_in", ")", ")", ")", ";", "if", "(", "TREE_CODE", "(", "type_out", ")", "!=", "VECTOR_TYPE", "||", "TREE_CODE", "(", "type_in", ")", "!=", "VECTOR_TYPE", ")", "return", "NULL_TREE", ";", "out_mode", "=", "TYPE_MODE", "(", "TREE_TYPE", "(", "type_out", ")", ")", ";", "out_n", "=", "TYPE_VECTOR_SUBPARTS", "(", "type_out", ")", ";", "in_mode", "=", "TYPE_MODE", "(", "TREE_TYPE", "(", "type_in", ")", ")", ";", "in_n", "=", "TYPE_VECTOR_SUBPARTS", "(", "type_in", ")", ";", "enum", "rs6000_builtins", "fn", "=", "(", "enum", "rs6000_builtins", ")", "DECL_FUNCTION_CODE", "(", "fndecl", ")", ";", "switch", "(", "fn", ")", "{", "case", "RS6000_BUILTIN_RSQRTF", ":", "if", "(", "VECTOR_UNIT_ALTIVEC_OR_VSX_P", "(", "V4SFmode", ")", "&&", "out_mode", "==", "SFmode", "&&", "out_n", "==", "4", "&&", "in_mode", "==", "SFmode", "&&", "in_n", "==", "4", ")", "return", "rs6000_builtin_decls", "[", "ALTIVEC_BUILTIN_VRSQRTFP", "]", ";", "break", ";", "case", "RS6000_BUILTIN_RSQRT", ":", "if", "(", "VECTOR_UNIT_VSX_P", "(", "V2DFmode", ")", "&&", "out_mode", "==", "DFmode", "&&", "out_n", "==", "2", "&&", "in_mode", "==", "DFmode", "&&", "in_n", "==", "2", ")", "return", "rs6000_builtin_decls", "[", "VSX_BUILTIN_RSQRT_2DF", "]", ";", "break", ";", "case", "RS6000_BUILTIN_RECIPF", ":", "if", "(", "VECTOR_UNIT_ALTIVEC_OR_VSX_P", "(", "V4SFmode", ")", "&&", "out_mode", "==", "SFmode", "&&", "out_n", "==", "4", "&&", "in_mode", "==", "SFmode", "&&", "in_n", "==", "4", ")", "return", "rs6000_builtin_decls", "[", "ALTIVEC_BUILTIN_VRECIPFP", "]", ";", "break", ";", "case", "RS6000_BUILTIN_RECIP", ":", "if", "(", "VECTOR_UNIT_VSX_P", "(", "V2DFmode", ")", "&&", "out_mode", "==", "DFmode", "&&", "out_n", "==", "2", "&&", "in_mode", "==", "DFmode", "&&", "in_n", "==", "2", ")", "return", "rs6000_builtin_decls", "[", "VSX_BUILTIN_RECIP_V2DF", "]", ";", "break", ";", "default", ":", "break", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Implement", "targetm.vectorize.builtin_md_vectorized_function", "."], "TS_V_token": ["rs6000", "\"rs6000_builtin_md_vectorized_function (%s, %s, %s)\\n\"", "4", "4", "2", "2", "4", "4", "2", "2"], "File": "rs60007", "Func": "rs6000_builtin_md_vectorized_function", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1607, "Length": 275, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addIRPasses", "(", ")", "{", "addPass", "(", "createAtomicExpandPass", "(", ")", ")", ";", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createInterleavedAccessPass", "(", ")", ")", ";", "addPass", "(", "createIndirectBrExpandPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["X86", "X86"], "File": "X86TargetMachine101", "Func": "addIRPasses", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1608, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "pad_direction", "aarch64_function_arg_padding", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "if", "(", "!", "BYTES_BIG_ENDIAN", ")", "return", "PAD_UPWARD", ";", "if", "(", "type", "?", "(", "INTEGRAL_TYPE_P", "(", "type", ")", "||", "SCALAR_FLOAT_TYPE_P", "(", "type", ")", "||", "POINTER_TYPE_P", "(", "type", ")", ")", ":", "(", "SCALAR_INT_MODE_P", "(", "mode", ")", "||", "SCALAR_FLOAT_MODE_P", "(", "mode", ")", ")", ")", "return", "PAD_DOWNWARD", ";", "return", "PAD_UPWARD", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_ARG_PADDING", ".", "Small", "aggregate", "types", "are", "placed", "in", "the", "lowest", "memory", "address", ".", "The", "related", "parameter", "passing", "rules", "are", "B.4", ",", "C.3", ",", "C.5", "and", "C.14", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_function_arg_padding", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1609, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arm_frame_pointer_required", "(", "void", ")", "{", "if", "(", "SUBTARGET_FRAME_POINTER_REQUIRED", ")", "return", "true", ";", "if", "(", "cfun", "->", "has_nonlocal_label", ")", "return", "true", ";", "if", "(", "TARGET_ARM", "&&", "TARGET_APCS_FRAME", "&&", "!", "leaf_function_p", "(", ")", ")", "return", "true", ";", "if", "(", "!", "IS_INTERRUPT", "(", "arm_current_func_type", "(", ")", ")", "&&", "flag_stack_check", "==", "STATIC_BUILTIN_STACK_CHECK", "&&", "arm_except_unwind_info", "(", "&", "global_options", ")", "==", "UI_TARGET", "&&", "cfun", "->", "can_throw_non_call_exceptions", ")", "{", "HOST_WIDE_INT", "size", "=", "get_frame_size", "(", ")", ";", "if", "(", "size", "<=", "0", ")", "return", "false", ";", "if", "(", "crtl", "->", "is_leaf", "&&", "!", "cfun", "->", "calls_alloca", ")", "{", "size", "+=", "32", "*", "UNITS_PER_WORD", ";", "if", "(", "size", ">", "PROBE_INTERVAL", "&&", "size", ">", "STACK_CHECK_PROTECT", ")", "return", "true", ";", "}", "else", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FRAME_POINTER_REQUIRED", "."], "TS_V_token": ["arm", "0", "32"], "File": "arm5", "Func": "arm_frame_pointer_required", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1610, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "FunctionType", "*", "getType", "(", "LLVMContext", "&", "Context", ",", "unsigned", "id", ")", "{", "Type", "*", "ResultTy", "=", "NULL", ";", "std", "::", "vector", "<", "Type", "*", ">", "ArgTys", ";", "bool", "IsVarArg", "=", "false", ";", "return", "FunctionType", "::", "get", "(", "ResultTy", ",", "ArgTys", ",", "IsVarArg", ")", ";", "}", ""], "natrual_language": ["Overload", "to", "return", "most", "specific", "vector", "type", "."], "TS_V_token": ["Blackfin"], "File": "BlackfinIntrinsicInfo2", "Func": "getType", "Target": "Blackfin", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1611, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AMDGPUMCInstLower", "::", "lower", "(", "const", "MachineInstr", "*", "MI", ",", "MCInst", "&", "OutMI", ")", "const", "{", "int", "MCOpcode", "=", "ST", ".", "getInstrInfo", "(", ")", "->", "pseudoToMCOpcode", "(", "MI", "->", "getOpcode", "(", ")", ")", ";", "if", "(", "MCOpcode", "==", "-", "1", ")", "{", "LLVMContext", "&", "C", "=", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getFunction", "(", ")", "->", "getContext", "(", ")", ";", "C", ".", "emitError", "(", "\"AMDGPUMCInstLower::lower - Pseudo instruction doesn't have \"", "\"a target-specific version: \"", "+", "Twine", "(", "MI", "->", "getOpcode", "(", ")", ")", ")", ";", "}", "OutMI", ".", "setOpcode", "(", "MCOpcode", ")", ";", "for", "(", "const", "MachineOperand", "&", "MO", ":", "MI", "->", "explicit_operands", "(", ")", ")", "{", "MCOperand", "MCOp", ";", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"unknown operand type\"", ")", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "MCOp", "=", "MCOperand", "::", "CreateImm", "(", "MO", ".", "getImm", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_Register", ":", "MCOp", "=", "MCOperand", "::", "CreateReg", "(", "MO", ".", "getReg", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "MCOp", "=", "MCOperand", "::", "CreateExpr", "(", "MCSymbolRefExpr", "::", "Create", "(", "MO", ".", "getMBB", "(", ")", "->", "getSymbol", "(", ")", ",", "Ctx", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "{", "const", "GlobalValue", "*", "GV", "=", "MO", ".", "getGlobal", "(", ")", ";", "MCSymbol", "*", "Sym", "=", "Ctx", ".", "GetOrCreateSymbol", "(", "StringRef", "(", "GV", "->", "getName", "(", ")", ")", ")", ";", "MCOp", "=", "MCOperand", "::", "CreateExpr", "(", "MCSymbolRefExpr", "::", "Create", "(", "Sym", ",", "Ctx", ")", ")", ";", "break", ";", "}", "case", "MachineOperand", "::", "MO_TargetIndex", ":", "{", "assert", "(", "MO", ".", "getIndex", "(", ")", "==", "AMDGPU", "::", "TI_CONSTDATA_START", ")", ";", "MCSymbol", "*", "Sym", "=", "Ctx", ".", "GetOrCreateSymbol", "(", "StringRef", "(", "END_OF_TEXT_LABEL_NAME", ")", ")", ";", "const", "MCSymbolRefExpr", "*", "Expr", "=", "MCSymbolRefExpr", "::", "Create", "(", "Sym", ",", "Ctx", ")", ";", "MCOp", "=", "MCOperand", "::", "CreateExpr", "(", "Expr", ")", ";", "break", ";", "}", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "{", "MCSymbol", "*", "Sym", "=", "Ctx", ".", "GetOrCreateSymbol", "(", "StringRef", "(", "MO", ".", "getSymbolName", "(", ")", ")", ")", ";", "const", "MCSymbolRefExpr", "*", "Expr", "=", "MCSymbolRefExpr", "::", "Create", "(", "Sym", ",", "Ctx", ")", ";", "MCOp", "=", "MCOperand", "::", "CreateExpr", "(", "Expr", ")", ";", "break", ";", "}", "}", "OutMI", ".", "addOperand", "(", "MCOp", ")", ";", "}", "}", ""], "natrual_language": ["The", "instruction", "is", "lowered", "."], "TS_V_token": ["R600", "1", "\"AMDGPUMCInstLower::lower - Pseudo instruction doesn't have \"", "\"a target-specific version: \"", "\"unknown operand type\""], "File": "AMDGPUMCInstLower14", "Func": "lower", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1612, "Length": 366, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SITargetLowering", "::", "getPrefLoopAlignment", "(", "MachineLoop", "*", "ML", ")", "const", "{", "const", "unsigned", "PrefAlign", "=", "TargetLowering", "::", "getPrefLoopAlignment", "(", "ML", ")", ";", "const", "unsigned", "CacheLineAlign", "=", "6", ";", "if", "(", "!", "ML", "||", "DisableLoopAlignment", "||", "(", "getSubtarget", "(", ")", "->", "getGeneration", "(", ")", "<", "AMDGPUSubtarget", "::", "GFX10", ")", "||", "getSubtarget", "(", ")", "->", "hasInstFwdPrefetchBug", "(", ")", ")", "return", "PrefAlign", ";", "const", "SIInstrInfo", "*", "TII", "=", "getSubtarget", "(", ")", "->", "getInstrInfo", "(", ")", ";", "const", "MachineBasicBlock", "*", "Header", "=", "ML", "->", "getHeader", "(", ")", ";", "if", "(", "Header", "->", "getAlignment", "(", ")", "!=", "PrefAlign", ")", "return", "Header", "->", "getAlignment", "(", ")", ";", "unsigned", "LoopSize", "=", "0", ";", "for", "(", "const", "MachineBasicBlock", "*", "MBB", ":", "ML", "->", "blocks", "(", ")", ")", "{", "if", "(", "MBB", "!=", "Header", ")", "LoopSize", "+=", "(", "1", "<<", "MBB", "->", "getAlignment", "(", ")", ")", "/", "2", ";", "for", "(", "const", "MachineInstr", "&", "MI", ":", "*", "MBB", ")", "{", "LoopSize", "+=", "TII", "->", "getInstSizeInBytes", "(", "MI", ")", ";", "if", "(", "LoopSize", ">", "192", ")", "return", "PrefAlign", ";", "}", "}", "if", "(", "LoopSize", "<=", "64", ")", "return", "PrefAlign", ";", "if", "(", "LoopSize", "<=", "128", ")", "return", "CacheLineAlign", ";", "for", "(", "MachineLoop", "*", "P", "=", "ML", "->", "getParentLoop", "(", ")", ";", "P", ";", "P", "=", "P", "->", "getParentLoop", "(", ")", ")", "{", "if", "(", "MachineBasicBlock", "*", "Exit", "=", "P", "->", "getExitBlock", "(", ")", ")", "{", "auto", "I", "=", "Exit", "->", "getFirstNonDebugInstr", "(", ")", ";", "if", "(", "I", "!=", "Exit", "->", "end", "(", ")", "&&", "I", "->", "getOpcode", "(", ")", "==", "AMDGPU", "::", "S_INST_PREFETCH", ")", "return", "CacheLineAlign", ";", "}", "}", "MachineBasicBlock", "*", "Pre", "=", "ML", "->", "getLoopPreheader", "(", ")", ";", "MachineBasicBlock", "*", "Exit", "=", "ML", "->", "getExitBlock", "(", ")", ";", "if", "(", "Pre", "&&", "Exit", ")", "{", "BuildMI", "(", "*", "Pre", ",", "Pre", "->", "getFirstTerminator", "(", ")", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "AMDGPU", "::", "S_INST_PREFETCH", ")", ")", ".", "addImm", "(", "1", ")", ";", "BuildMI", "(", "*", "Exit", ",", "Exit", "->", "getFirstNonDebugInstr", "(", ")", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "AMDGPU", "::", "S_INST_PREFETCH", ")", ")", ".", "addImm", "(", "2", ")", ";", "}", "return", "CacheLineAlign", ";", "}", ""], "natrual_language": ["Return", "the", "preferred", "loop", "alignment", "."], "TS_V_token": ["AMDGPU", "SI", "6", "AMDGPU", "SI", "0", "1", "2", "192", "64", "128", "AMDGPU::S_INST_PREFETCH", "AMDGPU::S_INST_PREFETCH", "1", "AMDGPU::S_INST_PREFETCH", "2"], "File": "SIISelLowering103", "Func": "getPrefLoopAlignment", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1613, "Length": 351, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HSAILIntrinsicInfo", "::", "isOverloaded", "(", "unsigned", "IntrID", ")", "const", "{", "if", "(", "!", "IntrID", ")", "return", "false", ";", "unsigned", "id", "=", "IntrID", "-", "Intrinsic", "::", "num_intrinsics", "+", "1", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "intrinsic", "can", "be", "overloaded", "."], "TS_V_token": ["HSAIL", "HSAIL", "Intrinsic::num_intrinsics", "1"], "File": "HSAILIntrinsicInfo", "Func": "isOverloaded", "Target": "HSAIL", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1614, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "nds32_can_use_bclr_p", "(", "int", "ival", ")", "{", "int", "one_bit_count", ";", "one_bit_count", "=", "popcount_hwi", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "(", "~", "ival", ")", ")", ";", "return", "(", "TARGET_PERF_EXT", "&&", "(", "one_bit_count", "==", "1", ")", ")", ";", "}", ""], "natrual_language": ["Function", "to", "check", "if", "'bclr", "'", "instruction", "can", "be", "used", "with", "IVAL", "."], "TS_V_token": ["nds32", "1"], "File": "nds32-predicates2", "Func": "nds32_can_use_bclr_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1615, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineMemOperand", "::", "Flags", "SITargetLowering", "::", "getTargetMMOFlags", "(", "const", "Instruction", "&", "I", ")", "const", "{", "if", "(", "I", ".", "getMetadata", "(", "\"amdgpu.noclobber\"", ")", ")", "return", "MONoClobber", ";", "return", "MachineMemOperand", "::", "MONone", ";", "}", ""], "natrual_language": ["This", "callback", "is", "used", "to", "inspect", "load/store", "instructions", "and", "add", "target-specific", "MachineMemOperand", "flags", "to", "them", "."], "TS_V_token": ["AMDGPU", "SI", "\"amdgpu.noclobber\""], "File": "SIISelLowering10", "Func": "getTargetMMOFlags", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1616, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "PatmosSubtarget", "*", "getSubtargetImpl", "(", ")", "const", "{", "return", "&", "Subtarget", ";", "}", ""], "natrual_language": ["Virtual", "method", "implemented", "by", "subclasses", "that", "returns", "a", "reference", "to", "that", "target", "'s", "TargetSubtargetInfo-derived", "member", "variable", "."], "TS_V_token": ["Patmos", "Patmos"], "File": "PatmosTargetMachine", "Func": "getSubtargetImpl", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 1617, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_override_options", "(", "void", ")", "{", "if", "(", "aarch64_cpu_string", ")", "{", "aarch64_parse_cpu", "(", ")", ";", "}", "if", "(", "aarch64_arch_string", ")", "{", "aarch64_parse_arch", "(", ")", ";", "}", "if", "(", "aarch64_tune_string", ")", "{", "aarch64_parse_tune", "(", ")", ";", "}", "if", "(", "TARGET_ILP32", ")", "error", "(", "\"Assembler does not support -mabi=ilp32\"", ")", ";", "initialize_aarch64_code_model", "(", ")", ";", "aarch64_build_bitmask_table", "(", ")", ";", "if", "(", "flag_strict_volatile_bitfields", "<", "0", "&&", "abi_version_at_least", "(", "2", ")", ")", "flag_strict_volatile_bitfields", "=", "1", ";", "if", "(", "!", "selected_cpu", ")", "{", "selected_cpu", "=", "&", "all_cores", "[", "TARGET_CPU_DEFAULT", "&", "0x3f", "]", ";", "aarch64_isa_flags", "=", "TARGET_CPU_DEFAULT", ">>", "6", ";", "}", "gcc_assert", "(", "selected_cpu", ")", ";", "if", "(", "!", "selected_tune", ")", "selected_tune", "=", "selected_cpu", ";", "aarch64_tune_flags", "=", "selected_tune", "->", "flags", ";", "aarch64_tune", "=", "selected_tune", "->", "core", ";", "aarch64_tune_params", "=", "selected_tune", "->", "tune", ";", "aarch64_architecture_version", "=", "selected_cpu", "->", "architecture_version", ";", "if", "(", "aarch64_fix_a53_err835769", "==", "2", ")", "{", "aarch64_fix_a53_err835769", "=", "1", ";", "aarch64_fix_a53_err835769", "=", "0", ";", "}", "if", "(", "!", "optimize_size", ")", "{", "if", "(", "align_loops", "<=", "0", ")", "align_loops", "=", "aarch64_tune_params", "->", "loop_align", ";", "if", "(", "align_jumps", "<=", "0", ")", "align_jumps", "=", "aarch64_tune_params", "->", "jump_align", ";", "if", "(", "align_functions", "<=", "0", ")", "align_functions", "=", "aarch64_tune_params", "->", "function_align", ";", "}", "aarch64_override_options_after_change", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_OPTION_OVERRIDE", "."], "TS_V_token": ["aarch64", "\"Assembler does not support -mabi=ilp32\"", "0", "2", "1", "0x3f", "6", "2", "1", "0", "0", "0", "0"], "File": "aarch642", "Func": "aarch64_override_options", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1618, "Length": 194, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "alpha_output_function_end_prologue", "(", "FILE", "*", "file", ")", "{", "if", "(", "TARGET_ABI_UNICOSMK", ")", ";", "else", "if", "(", "TARGET_ABI_OPEN_VMS", ")", "fputs", "(", "\"\\t.prologue\\n\"", ",", "file", ")", ";", "else", "if", "(", "TARGET_ABI_WINDOWS_NT", ")", "fputs", "(", "\"\\t.prologue 0\\n\"", ",", "file", ")", ";", "else", "if", "(", "!", "flag_inhibit_size_directive", ")", "fprintf", "(", "file", ",", "\"\\t.prologue %d\\n\"", ",", "alpha_function_needs_gp", "||", "current_function_is_thunk", ")", ";", "}", ""], "natrual_language": ["Emit", "the", ".prologue", "note", "at", "the", "scheduled", "end", "of", "the", "prologue", "."], "TS_V_token": ["alpha", "\"\\t.prologue\\n\"", "\"\\t.prologue 0\\n\"", "\"\\t.prologue %d\\n\""], "File": "alpha3", "Func": "alpha_output_function_end_prologue", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1619, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isFpMLxInstruction", "(", "unsigned", "Opcode", ")", "const", "{", "return", "MLxEntryMap", ".", "count", "(", "Opcode", ")", ";", "}", ""], "natrual_language": ["isFpMLxInstruction", "-", "This", "version", "also", "returns", "the", "multiply", "opcode", "and", "the", "addition", "/", "subtraction", "opcode", "to", "expand", "to", "."], "TS_V_token": ["ARM"], "File": "ARMBaseInstrInfo (2)1", "Func": "isFpMLxInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1620, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_restore_callee_saves", "(", "machine_mode", "mode", ",", "poly_int64", "start_offset", ",", "unsigned", "start", ",", "unsigned", "limit", ",", "bool", "skip_wb", ",", "rtx", "*", "cfi_ops", ")", "{", "rtx", "base_rtx", "=", "stack_pointer_rtx", ";", "unsigned", "regno", ";", "unsigned", "regno2", ";", "poly_int64", "offset", ";", "for", "(", "regno", "=", "aarch64_next_callee_save", "(", "start", ",", "limit", ")", ";", "regno", "<=", "limit", ";", "regno", "=", "aarch64_next_callee_save", "(", "regno", "+", "1", ",", "limit", ")", ")", "{", "if", "(", "cfun", "->", "machine", "->", "reg_is_wrapped_separately", "[", "regno", "]", ")", "continue", ";", "rtx", "reg", ",", "mem", ";", "if", "(", "skip_wb", "&&", "(", "regno", "==", "cfun", "->", "machine", "->", "frame", ".", "wb_candidate1", "||", "regno", "==", "cfun", "->", "machine", "->", "frame", ".", "wb_candidate2", ")", ")", "continue", ";", "reg", "=", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "offset", "=", "start_offset", "+", "cfun", "->", "machine", "->", "frame", ".", "reg_offset", "[", "regno", "]", ";", "mem", "=", "gen_frame_mem", "(", "mode", ",", "plus_constant", "(", "Pmode", ",", "base_rtx", ",", "offset", ")", ")", ";", "regno2", "=", "aarch64_next_callee_save", "(", "regno", "+", "1", ",", "limit", ")", ";", "if", "(", "regno2", "<=", "limit", "&&", "!", "cfun", "->", "machine", "->", "reg_is_wrapped_separately", "[", "regno2", "]", "&&", "(", "(", "cfun", "->", "machine", "->", "frame", ".", "reg_offset", "[", "regno", "]", "+", "UNITS_PER_WORD", ")", "==", "cfun", "->", "machine", "->", "frame", ".", "reg_offset", "[", "regno2", "]", ")", ")", "{", "rtx", "reg2", "=", "gen_rtx_REG", "(", "mode", ",", "regno2", ")", ";", "rtx", "mem2", ";", "offset", "=", "start_offset", "+", "cfun", "->", "machine", "->", "frame", ".", "reg_offset", "[", "regno2", "]", ";", "mem2", "=", "gen_frame_mem", "(", "mode", ",", "plus_constant", "(", "Pmode", ",", "base_rtx", ",", "offset", ")", ")", ";", "emit_insn", "(", "aarch64_gen_load_pair", "(", "mode", ",", "reg", ",", "mem", ",", "reg2", ",", "mem2", ")", ")", ";", "*", "cfi_ops", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg2", ",", "*", "cfi_ops", ")", ";", "regno", "=", "regno2", ";", "}", "else", "emit_move_insn", "(", "reg", ",", "mem", ")", ";", "*", "cfi_ops", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg", ",", "*", "cfi_ops", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "code", "to", "restore", "the", "callee", "registers", "of", "mode", "MODE", "from", "register", "number", "START", "up", "to", "and", "including", "LIMIT", ".", "Restore", "from", "the", "stack", "offset", "START_OFFSET", ",", "skipping", "any", "write-back", "candidates", "if", "SKIP_WB", "is", "true", ".", "Write", "the", "appropriate", "REG_CFA_RESTORE", "notes", "into", "CFI_OPS", "."], "TS_V_token": ["aarch64", "1", "1"], "File": "aarch645", "Func": "aarch64_restore_callee_saves", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1621, "Length": 308, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "arc_handle_uncached_attribute", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", "args", ",", "int", "flags", "ATTRIBUTE_UNUSED", ",", "bool", "*", "no_add_attrs", ")", "{", "if", "(", "DECL_P", "(", "*", "node", ")", "&&", "TREE_CODE", "(", "*", "node", ")", "!=", "TYPE_DECL", ")", "{", "error", "(", "\"%qE attribute only applies to types\"", ",", "name", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "else", "if", "(", "args", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"argument of %qE attribute ignored\"", ",", "name", ")", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Handle", "``", "uncached", "''", "qualifier", "."], "TS_V_token": ["arc", "\"%qE attribute only applies to types\"", "\"argument of %qE attribute ignored\""], "File": "arc", "Func": "arc_handle_uncached_attribute", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1622, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64FastISel", "::", "optimizeSelect", "(", "const", "SelectInst", "*", "SI", ")", "{", "if", "(", "!", "SI", "->", "getType", "(", ")", "->", "isIntegerTy", "(", "1", ")", ")", "return", "false", ";", "const", "Value", "*", "Src1Val", ",", "*", "Src2Val", ";", "unsigned", "Opc", "=", "0", ";", "bool", "NeedExtraOp", "=", "false", ";", "if", "(", "auto", "*", "CI", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "SI", "->", "getTrueValue", "(", ")", ")", ")", "{", "if", "(", "CI", "->", "isOne", "(", ")", ")", "{", "Src1Val", "=", "SI", "->", "getCondition", "(", ")", ";", "Src2Val", "=", "SI", "->", "getFalseValue", "(", ")", ";", "Opc", "=", "AArch64", "::", "ORRWrr", ";", "}", "else", "{", "assert", "(", "CI", "->", "isZero", "(", ")", ")", ";", "Src1Val", "=", "SI", "->", "getFalseValue", "(", ")", ";", "Src2Val", "=", "SI", "->", "getCondition", "(", ")", ";", "Opc", "=", "AArch64", "::", "BICWrr", ";", "}", "}", "else", "if", "(", "auto", "*", "CI", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "SI", "->", "getFalseValue", "(", ")", ")", ")", "{", "if", "(", "CI", "->", "isOne", "(", ")", ")", "{", "Src1Val", "=", "SI", "->", "getCondition", "(", ")", ";", "Src2Val", "=", "SI", "->", "getTrueValue", "(", ")", ";", "Opc", "=", "AArch64", "::", "ORRWrr", ";", "NeedExtraOp", "=", "true", ";", "}", "else", "{", "assert", "(", "CI", "->", "isZero", "(", ")", ")", ";", "Src1Val", "=", "SI", "->", "getCondition", "(", ")", ";", "Src2Val", "=", "SI", "->", "getTrueValue", "(", ")", ";", "Opc", "=", "AArch64", "::", "ANDWrr", ";", "}", "}", "if", "(", "!", "Opc", ")", "return", "false", ";", "Register", "Src1Reg", "=", "getRegForValue", "(", "Src1Val", ")", ";", "if", "(", "!", "Src1Reg", ")", "return", "false", ";", "Register", "Src2Reg", "=", "getRegForValue", "(", "Src2Val", ")", ";", "if", "(", "!", "Src2Reg", ")", "return", "false", ";", "if", "(", "NeedExtraOp", ")", "Src1Reg", "=", "emitLogicalOp_ri", "(", "ISD", "::", "XOR", ",", "MVT", "::", "i32", ",", "Src1Reg", ",", "1", ")", ";", "Register", "ResultReg", "=", "fastEmitInst_rr", "(", "Opc", ",", "&", "AArch64", "::", "GPR32RegClass", ",", "Src1Reg", ",", "Src2Reg", ")", ";", "updateValueMap", "(", "SI", ",", "ResultReg", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Given", "a", "select", "instruction", "that", "was", "understood", "by", "analyzeSelect", "and", "returned", "Optimizable", "=", "true", ",", "attempt", "to", "optimize", "MI", "by", "merging", "it", "with", "one", "of", "its", "operands", "."], "TS_V_token": ["AArch64", "AArch64", "1", "0", "AArch64::ORRWrr", "AArch64::BICWrr", "AArch64::ORRWrr", "AArch64::ANDWrr", "ISD::XOR", "MVT::i32", "1", "AArch64::GPR32RegClass"], "File": "AArch64FastISel18", "Func": "optimizeSelect", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1623, "Length": 312, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "ARMBaseRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", "->", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMTargetMachine", "Func": "getRegisterInfo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1624, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isAssociativeAndCommutative", "(", "const", "MachineInstr", "&", "Inst", ")", "const", "{", "switch", "(", "Inst", ".", "getOpcode", "(", ")", ")", "{", "case", "AArch64", "::", "FADDDrr", ":", "case", "AArch64", "::", "FADDSrr", ":", "case", "AArch64", "::", "FADDv2f32", ":", "case", "AArch64", "::", "FADDv2f64", ":", "case", "AArch64", "::", "FADDv4f32", ":", "case", "AArch64", "::", "FMULDrr", ":", "case", "AArch64", "::", "FMULSrr", ":", "case", "AArch64", "::", "FMULX32", ":", "case", "AArch64", "::", "FMULX64", ":", "case", "AArch64", "::", "FMULXv2f32", ":", "case", "AArch64", "::", "FMULXv2f64", ":", "case", "AArch64", "::", "FMULXv4f32", ":", "case", "AArch64", "::", "FMULv2f32", ":", "case", "AArch64", "::", "FMULv2f64", ":", "case", "AArch64", "::", "FMULv4f32", ":", "return", "Inst", ".", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getTarget", "(", ")", ".", "Options", ".", "UnsafeFPMath", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Return", "true", "when", "\\P", "Inst", "is", "both", "associative", "and", "commutative", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::FADDDrr", "AArch64::FADDSrr", "AArch64::FADDv2f32", "AArch64::FADDv2f64", "AArch64::FADDv4f32", "AArch64::FMULDrr", "AArch64::FMULSrr", "AArch64::FMULX32", "AArch64::FMULX64", "AArch64::FMULXv2f32", "AArch64::FMULXv2f64", "AArch64::FMULXv4f32", "AArch64::FMULv2f32", "AArch64::FMULv2f64", "AArch64::FMULv4f32"], "File": "AArch64InstrInfo (2)", "Func": "isAssociativeAndCommutative", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1625, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SITargetLowering", "::", "isOffsetFoldingLegal", "(", "const", "GlobalAddressSDNode", "*", "GA", ")", "const", "{", "if", "(", "GA", "->", "getAddressSpace", "(", ")", "!=", "AMDGPUAS", "::", "GLOBAL_ADDRESS", ")", "return", "false", ";", "return", "TargetLowering", "::", "isOffsetFoldingLegal", "(", "GA", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "folding", "a", "constant", "offset", "with", "the", "given", "GlobalAddress", "is", "legal", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU"], "File": "SIISelLowering110", "Func": "isOffsetFoldingLegal", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1626, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "convertSetCCLogicToBitwiseLogic", "(", "EVT", "VT", ")", "const", "override", "{", "return", "VT", ".", "isScalarInteger", "(", ")", ";", "}", ""], "natrual_language": ["Use", "bitwise", "logic", "to", "make", "pairs", "of", "compares", "more", "efficient", "."], "TS_V_token": ["RISCV"], "File": "RISCVISelLowering1", "Func": "convertSetCCLogicToBitwiseLogic", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1627, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "if", "(", "skipFunction", "(", "*", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "initialize", "(", "MF", ")", ";", "return", "simplifyCode", "(", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["PowerPC"], "File": "PPCMIPeephole26", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1628, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "n_pregs_to_save", "(", "bool", "is_inthandler", ")", "{", "unsigned", "i", ";", "for", "(", "i", "=", "REG_P0", ";", "i", "<=", "REG_P5", ";", "i", "++", ")", "if", "(", "(", "regs_ever_live", "[", "i", "]", "&&", "(", "is_inthandler", "||", "!", "call_used_regs", "[", "i", "]", ")", ")", "||", "(", "i", "==", "PIC_OFFSET_TABLE_REGNUM", "&&", "(", "current_function_uses_pic_offset_table", "||", "(", "TARGET_ID_SHARED_LIBRARY", "&&", "!", "current_function_is_leaf", ")", ")", ")", ")", "return", "REG_P5", "-", "i", "+", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["Like", "n_dregs_to_save", ",", "but", "compute", "number", "of", "PREGS", "to", "save", "."], "TS_V_token": ["bfin", "1", "0"], "File": "bfin2", "Func": "n_pregs_to_save", "Target": "bfin", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 1629, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "alpha_output_mi_thunk_osf", "(", "FILE", "*", "file", ",", "tree", "thunk_fndecl", "ATTRIBUTE_UNUSED", ",", "HOST_WIDE_INT", "delta", ",", "HOST_WIDE_INT", "vcall_offset", ",", "tree", "function", ")", "{", "HOST_WIDE_INT", "hi", ",", "lo", ";", "rtx", "this", ",", "insn", ",", "funexp", ";", "reset_block_changes", "(", ")", ";", "emit_insn", "(", "gen_prologue_ldgp", "(", ")", ")", ";", "emit_note", "(", "NOTE_INSN_PROLOGUE_END", ")", ";", "if", "(", "aggregate_value_p", "(", "TREE_TYPE", "(", "TREE_TYPE", "(", "function", ")", ")", ",", "function", ")", ")", "this", "=", "gen_rtx_REG", "(", "Pmode", ",", "17", ")", ";", "else", "this", "=", "gen_rtx_REG", "(", "Pmode", ",", "16", ")", ";", "lo", "=", "(", "(", "delta", "&", "0xffff", ")", "^", "0x8000", ")", "-", "0x8000", ";", "hi", "=", "(", "(", "(", "delta", "-", "lo", ")", "&", "0xffffffff", ")", "^", "0x80000000", ")", "-", "0x80000000", ";", "if", "(", "hi", "+", "lo", "==", "delta", ")", "{", "if", "(", "hi", ")", "emit_insn", "(", "gen_adddi3", "(", "this", ",", "this", ",", "GEN_INT", "(", "hi", ")", ")", ")", ";", "if", "(", "lo", ")", "emit_insn", "(", "gen_adddi3", "(", "this", ",", "this", ",", "GEN_INT", "(", "lo", ")", ")", ")", ";", "}", "else", "{", "rtx", "tmp", "=", "alpha_emit_set_long_const", "(", "gen_rtx_REG", "(", "Pmode", ",", "0", ")", ",", "delta", ",", "-", "(", "delta", "<", "0", ")", ")", ";", "emit_insn", "(", "gen_adddi3", "(", "this", ",", "this", ",", "tmp", ")", ")", ";", "}", "if", "(", "vcall_offset", ")", "{", "rtx", "tmp", ",", "tmp2", ";", "tmp", "=", "gen_rtx_REG", "(", "Pmode", ",", "0", ")", ";", "emit_move_insn", "(", "tmp", ",", "gen_rtx_MEM", "(", "Pmode", ",", "this", ")", ")", ";", "lo", "=", "(", "(", "vcall_offset", "&", "0xffff", ")", "^", "0x8000", ")", "-", "0x8000", ";", "hi", "=", "(", "(", "(", "vcall_offset", "-", "lo", ")", "&", "0xffffffff", ")", "^", "0x80000000", ")", "-", "0x80000000", ";", "if", "(", "hi", "+", "lo", "==", "vcall_offset", ")", "{", "if", "(", "hi", ")", "emit_insn", "(", "gen_adddi3", "(", "tmp", ",", "tmp", ",", "GEN_INT", "(", "hi", ")", ")", ")", ";", "}", "else", "{", "tmp2", "=", "alpha_emit_set_long_const", "(", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ",", "vcall_offset", ",", "-", "(", "vcall_offset", "<", "0", ")", ")", ";", "emit_insn", "(", "gen_adddi3", "(", "tmp", ",", "tmp", ",", "tmp2", ")", ")", ";", "lo", "=", "0", ";", "}", "if", "(", "lo", ")", "tmp2", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "tmp", ",", "GEN_INT", "(", "lo", ")", ")", ";", "else", "tmp2", "=", "tmp", ";", "emit_move_insn", "(", "tmp", ",", "gen_rtx_MEM", "(", "Pmode", ",", "tmp2", ")", ")", ";", "emit_insn", "(", "gen_adddi3", "(", "this", ",", "this", ",", "tmp", ")", ")", ";", "}", "if", "(", "!", "TREE_USED", "(", "function", ")", ")", "{", "assemble_external", "(", "function", ")", ";", "TREE_USED", "(", "function", ")", "=", "1", ";", "}", "funexp", "=", "XEXP", "(", "DECL_RTL", "(", "function", ")", ",", "0", ")", ";", "funexp", "=", "gen_rtx_MEM", "(", "FUNCTION_MODE", ",", "funexp", ")", ";", "insn", "=", "emit_call_insn", "(", "gen_sibcall", "(", "funexp", ",", "const0_rtx", ")", ")", ";", "SIBLING_CALL_P", "(", "insn", ")", "=", "1", ";", "insn", "=", "get_insns", "(", ")", ";", "insn_locators_initialize", "(", ")", ";", "shorten_branches", "(", "insn", ")", ";", "final_start_function", "(", "insn", ",", "file", ",", "1", ")", ";", "final", "(", "insn", ",", "file", ",", "1", ")", ";", "final_end_function", "(", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "tail", "call", "to", "FUNCTION", "after", "adjusting", "THIS", "by", "DELTA", ".", "In", "order", "to", "avoid", "the", "hordes", "of", "differences", "between", "generated", "code", "with", "and", "without", "TARGET_EXPLICIT_RELOCS", ",", "and", "to", "avoid", "duplicating", "lots", "of", "code", "loading", "up", "large", "constants", ",", "generate", "rtl", "and", "emit", "it", "instead", "of", "going", "straight", "to", "text", ".", "Not", "sure", "why", "this", "idea", "has", "n't", "been", "explored", "before", "..."], "TS_V_token": ["alpha", "17", "16", "0xffff", "0x8000", "0x8000", "0xffffffff", "0x80000000", "0x80000000", "0", "0", "0", "0xffff", "0x8000", "0x8000", "0xffffffff", "0x80000000", "0x80000000", "1", "0", "0", "1", "0", "1", "1", "1"], "File": "alpha3", "Func": "alpha_output_mi_thunk_osf", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1630, "Length": 481, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "JVMPostAllocationFixups", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MFN", ")", "{", "MF", "=", "&", "MFN", ";", "TII", "=", "static_cast", "<", "const", "JVMInstrInfo", "*", ">", "(", "MF", "->", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "static_cast", "<", "const", "JVMRegisterInfo", "*", ">", "(", "MF", "->", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "MRI", "=", "&", "MF", "->", "getRegInfo", "(", ")", ";", "DT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"\\n******** JVM Store/Dup insertion ********\\n\"", ")", ";", "PerformStoreInsertion", "(", "DT", "->", "getRootNode", "(", ")", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"\\n******** JVM Return Fixup ********\\n\"", ")", ";", "PerformReturnFixup", "(", "DT", "->", "getRootNode", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["JVM", "JVM", "JVM", "JVM", "\"\\n******** JVM Store/Dup insertion ********\\n\"", "\"\\n******** JVM Return Fixup ********\\n\""], "File": "JVMPostAllocationFixups", "Func": "runOnMachineFunction", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1631, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mayNeedRelaxation", "(", "const", "MCInst", "&", "Inst", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Check", "whether", "the", "given", "instruction", "may", "need", "relaxation", "."], "TS_V_token": ["OR1K"], "File": "OR1KAsmBackend", "Func": "mayNeedRelaxation", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1632, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "nds32_gen_dup_4_byte_to_word_value", "(", "rtx", "value", ")", "{", "rtx", "value4word", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "gcc_assert", "(", "GET_MODE", "(", "value", ")", "==", "QImode", "||", "CONST_INT_P", "(", "value", ")", ")", ";", "if", "(", "CONST_INT_P", "(", "value", ")", ")", "{", "unsigned", "HOST_WIDE_INT", "val", "=", "UINTVAL", "(", "value", ")", "&", "GET_MODE_MASK", "(", "QImode", ")", ";", "rtx", "new_val", "=", "gen_int_mode", "(", "val", "|", "(", "val", "<<", "8", ")", "|", "(", "val", "<<", "16", ")", "|", "(", "val", "<<", "24", ")", ",", "SImode", ")", ";", "emit_move_insn", "(", "value4word", ",", "new_val", ")", ";", "}", "else", "{", "rtx", "tmp1", ",", "tmp2", ",", "tmp3", ",", "tmp4", ",", "final_value", ";", "tmp1", "=", "expand_binop", "(", "SImode", ",", "and_optab", ",", "value", ",", "gen_int_mode", "(", "0xff", ",", "SImode", ")", ",", "NULL_RTX", ",", "0", ",", "OPTAB_WIDEN", ")", ";", "tmp2", "=", "expand_binop", "(", "SImode", ",", "ashl_optab", ",", "tmp1", ",", "gen_int_mode", "(", "8", ",", "SImode", ")", ",", "NULL_RTX", ",", "0", ",", "OPTAB_WIDEN", ")", ";", "tmp3", "=", "expand_binop", "(", "SImode", ",", "ior_optab", ",", "tmp1", ",", "tmp2", ",", "NULL_RTX", ",", "0", ",", "OPTAB_WIDEN", ")", ";", "tmp4", "=", "expand_binop", "(", "SImode", ",", "ashl_optab", ",", "tmp3", ",", "gen_int_mode", "(", "16", ",", "SImode", ")", ",", "NULL_RTX", ",", "0", ",", "OPTAB_WIDEN", ")", ";", "final_value", "=", "expand_binop", "(", "SImode", ",", "ior_optab", ",", "tmp3", ",", "tmp4", ",", "NULL_RTX", ",", "0", ",", "OPTAB_WIDEN", ")", ";", "emit_move_insn", "(", "value4word", ",", "final_value", ")", ";", "}", "return", "value4word", ";", "}", ""], "natrual_language": ["Auxiliary", "function", "for", "expand", "setmem", "pattern", "."], "TS_V_token": ["nds32", "8", "16", "24", "0xff", "0", "8", "0", "0", "16", "0", "0"], "File": "nds32-memory-manipulation5", "Func": "nds32_gen_dup_4_byte_to_word_value", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1633, "Length": 224, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PadShortFunc", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "MF", ".", "getFunction", "(", ")", "->", "optForSize", "(", ")", ")", "{", "return", "false", ";", "}", "STI", "=", "&", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "!", "STI", "->", "padShortFunctions", "(", ")", ")", "return", "false", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "ReturnBBs", ".", "clear", "(", ")", ";", "VisitedBBs", ".", "clear", "(", ")", ";", "findReturns", "(", "&", "MF", ".", "front", "(", ")", ")", ";", "bool", "MadeChange", "=", "false", ";", "MachineBasicBlock", "*", "MBB", ";", "unsigned", "int", "Cycles", "=", "0", ";", "for", "(", "DenseMap", "<", "MachineBasicBlock", "*", ",", "unsigned", "int", ">", "::", "iterator", "I", "=", "ReturnBBs", ".", "begin", "(", ")", ";", "I", "!=", "ReturnBBs", ".", "end", "(", ")", ";", "++", "I", ")", "{", "MBB", "=", "I", "->", "first", ";", "Cycles", "=", "I", "->", "second", ";", "if", "(", "Cycles", "<", "Threshold", ")", "{", "assert", "(", "MBB", "->", "size", "(", ")", ">", "0", "&&", "\"Basic block should contain at least a RET but is empty\"", ")", ";", "MachineBasicBlock", "::", "iterator", "ReturnLoc", "=", "--", "MBB", "->", "end", "(", ")", ";", "while", "(", "ReturnLoc", "->", "isDebugValue", "(", ")", ")", "--", "ReturnLoc", ";", "assert", "(", "ReturnLoc", "->", "isReturn", "(", ")", "&&", "!", "ReturnLoc", "->", "isCall", "(", ")", "&&", "\"Basic block does not end with RET\"", ")", ";", "addPadding", "(", "MBB", ",", "ReturnLoc", ",", "Threshold", "-", "Cycles", ")", ";", "NumBBsPadded", "++", ";", "MadeChange", "=", "true", ";", "}", "}", "return", "MadeChange", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "0", "0", "\"Basic block should contain at least a RET but is empty\"", "\"Basic block does not end with RET\""], "File": "X86PadShortFunction (2)", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1634, "Length": 225, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "iq2000_function_arg_advance", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "if", "(", "TARGET_DEBUG_D_MODE", ")", "{", "fprintf", "(", "stderr", ",", "\"function_adv({gp reg found = %d, arg # = %2d, words = %2d}, %4s, \"", ",", "cum", "->", "gp_reg_found", ",", "cum", "->", "arg_number", ",", "cum", "->", "arg_words", ",", "GET_MODE_NAME", "(", "arg", ".", "mode", ")", ")", ";", "fprintf", "(", "stderr", ",", "\"%p\"", ",", "(", "const", "void", "*", ")", "arg", ".", "type", ")", ";", "fprintf", "(", "stderr", ",", "\", %d )\\n\\n\"", ",", "arg", ".", "named", ")", ";", "}", "cum", "->", "arg_number", "++", ";", "switch", "(", "arg", ".", "mode", ")", "{", "case", "E_VOIDmode", ":", "break", ";", "default", ":", "gcc_assert", "(", "GET_MODE_CLASS", "(", "arg", ".", "mode", ")", "==", "MODE_COMPLEX_INT", "||", "GET_MODE_CLASS", "(", "arg", ".", "mode", ")", "==", "MODE_COMPLEX_FLOAT", ")", ";", "cum", "->", "gp_reg_found", "=", "1", ";", "cum", "->", "arg_words", "+=", "(", "(", "GET_MODE_SIZE", "(", "arg", ".", "mode", ")", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ")", ";", "break", ";", "case", "E_BLKmode", ":", "cum", "->", "gp_reg_found", "=", "1", ";", "cum", "->", "arg_words", "+=", "(", "(", "int_size_in_bytes", "(", "arg", ".", "type", ")", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ")", ";", "break", ";", "case", "E_SFmode", ":", "cum", "->", "arg_words", "++", ";", "if", "(", "!", "cum", "->", "gp_reg_found", "&&", "cum", "->", "arg_number", "<=", "2", ")", "cum", "->", "fp_code", "+=", "1", "<<", "(", "(", "cum", "->", "arg_number", "-", "1", ")", "*", "2", ")", ";", "break", ";", "case", "E_DFmode", ":", "cum", "->", "arg_words", "+=", "2", ";", "if", "(", "!", "cum", "->", "gp_reg_found", "&&", "cum", "->", "arg_number", "<=", "2", ")", "cum", "->", "fp_code", "+=", "2", "<<", "(", "(", "cum", "->", "arg_number", "-", "1", ")", "*", "2", ")", ";", "break", ";", "case", "E_DImode", ":", "cum", "->", "gp_reg_found", "=", "1", ";", "cum", "->", "arg_words", "+=", "2", ";", "break", ";", "case", "E_TImode", ":", "cum", "->", "gp_reg_found", "=", "1", ";", "cum", "->", "arg_words", "+=", "4", ";", "break", ";", "case", "E_QImode", ":", "case", "E_HImode", ":", "case", "E_SImode", ":", "cum", "->", "gp_reg_found", "=", "1", ";", "cum", "->", "arg_words", "++", ";", "break", ";", "}", "}", ""], "natrual_language": ["Advance", "the", "argument", "of", "type", "TYPE", "and", "mode", "MODE", "to", "the", "next", "argument", "position", "in", "CUM", "."], "TS_V_token": ["iq2000", "\"function_adv({gp reg found = %d, arg # = %2d, words = %2d}, %4s, \"", "\"%p\"", "\", %d )\\n\\n\"", "1", "1", "1", "1", "2", "1", "1", "2", "2", "2", "2", "1", "2", "1", "2", "1", "4", "1"], "File": "iq2000", "Func": "iq2000_function_arg_advance", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1635, "Length": 323, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLoweringBase", "::", "LegalizeTypeAction", "X86TargetLowering", "::", "getPreferredVectorAction", "(", "MVT", "VT", ")", "const", "{", "if", "(", "VT", "==", "MVT", "::", "v32i1", "&&", "Subtarget", ".", "hasAVX512", "(", ")", "&&", "!", "Subtarget", ".", "hasBWI", "(", ")", ")", "return", "TypeSplitVector", ";", "if", "(", "VT", ".", "getVectorNumElements", "(", ")", "!=", "1", "&&", "VT", ".", "getVectorElementType", "(", ")", "!=", "MVT", "::", "i1", ")", "return", "TypeWidenVector", ";", "return", "TargetLoweringBase", "::", "getPreferredVectorAction", "(", "VT", ")", ";", "}", ""], "natrual_language": ["Customize", "the", "preferred", "legalization", "strategy", "for", "certain", "types", "."], "TS_V_token": ["X86", "X86", "MVT::v32i1", "1", "MVT::i1"], "File": "X86ISelLowering (2)6", "Func": "getPreferredVectorAction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1636, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZFrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineFrameInfo", "&", "MFFrame", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "uint64_t", "StackSize", "=", "(", "MFFrame", ".", "estimateStackSize", "(", "MF", ")", "+", "SystemZMC", "::", "CallFrameSize", ")", ";", "int64_t", "MaxArgOffset", "=", "SystemZMC", "::", "CallFrameSize", ";", "for", "(", "int", "I", "=", "MFFrame", ".", "getObjectIndexBegin", "(", ")", ";", "I", "!=", "0", ";", "++", "I", ")", "if", "(", "MFFrame", ".", "getObjectOffset", "(", "I", ")", ">=", "0", ")", "{", "int64_t", "ArgOffset", "=", "SystemZMC", "::", "CallFrameSize", "+", "MFFrame", ".", "getObjectOffset", "(", "I", ")", "+", "MFFrame", ".", "getObjectSize", "(", "I", ")", ";", "MaxArgOffset", "=", "std", "::", "max", "(", "MaxArgOffset", ",", "ArgOffset", ")", ";", "}", "uint64_t", "MaxReach", "=", "StackSize", "+", "MaxArgOffset", ";", "if", "(", "!", "isUInt", "<", "12", ">", "(", "MaxReach", ")", ")", "{", "RS", "->", "addScavengingFrameIndex", "(", "MFFrame", ".", "CreateStackObject", "(", "8", ",", "8", ",", "false", ")", ")", ";", "RS", "->", "addScavengingFrameIndex", "(", "MFFrame", ".", "CreateStackObject", "(", "8", ",", "8", ",", "false", ")", ")", ";", "}", "}", ""], "natrual_language": ["processFunctionBeforeFrameFinalized", "-", "This", "method", "is", "called", "immediately", "before", "the", "specified", "function", "'s", "frame", "layout", "(", "MF.getFrameInfo", "(", ")", ")", "is", "finalized", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZMC::CallFrameSize", "SystemZMC::CallFrameSize", "0", "0", "SystemZMC::CallFrameSize", "12", "8", "8", "8", "8"], "File": "SystemZFrameLowering12", "Func": "processFunctionBeforeFrameFinalized", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1637, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "compute_vrsave_mask", "(", "void", ")", "{", "unsigned", "int", "i", ",", "mask", "=", "0", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_DARWIN", "&&", "crtl", "->", "calls_eh_return", "&&", "!", "TARGET_ALTIVEC", ")", "mask", "|=", "0xFFF", ";", "for", "(", "i", "=", "FIRST_ALTIVEC_REGNO", ";", "i", "<=", "LAST_ALTIVEC_REGNO", ";", "++", "i", ")", "if", "(", "df_regs_ever_live_p", "(", "i", ")", ")", "mask", "|=", "ALTIVEC_REG_BIT", "(", "i", ")", ";", "if", "(", "mask", "==", "0", ")", "return", "mask", ";", "for", "(", "i", "=", "ALTIVEC_ARG_MIN_REG", ";", "i", "<", "(", "unsigned", ")", "crtl", "->", "args", ".", "info", ".", "vregno", ";", "i", "++", ")", "mask", "&=", "~", "ALTIVEC_REG_BIT", "(", "i", ")", ";", "{", "bool", "yes", "=", "false", ";", "diddle_return_value", "(", "is_altivec_return_reg", ",", "&", "yes", ")", ";", "if", "(", "yes", ")", "mask", "&=", "~", "ALTIVEC_REG_BIT", "(", "ALTIVEC_ARG_RETURN", ")", ";", "}", "return", "mask", ";", "}", ""], "natrual_language": ["Return", "a", "32-bit", "mask", "of", "the", "AltiVec", "registers", "we", "need", "to", "set", "in", "VRSAVE", ".", "Bit", "n", "of", "the", "return", "value", "is", "1", "if", "Vn", "is", "live", ".", "The", "MSB", "in", "the", "32-bit", "word", "is", "0", "."], "TS_V_token": ["rs6000", "0", "0xFFF", "0"], "File": "rs6000-logue", "Func": "compute_vrsave_mask", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1638, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "CCAssignFn", "*", "AArch64TargetLowering", "::", "CCAssignFnForCall", "(", "CallingConv", "::", "ID", "CC", ",", "bool", "IsVarArg", ")", "const", "{", "switch", "(", "CC", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unsupported calling convention.\"", ")", ";", "case", "CallingConv", "::", "WebKit_JS", ":", "return", "CC_AArch64_WebKit_JS", ";", "case", "CallingConv", "::", "GHC", ":", "return", "CC_AArch64_GHC", ";", "case", "CallingConv", "::", "C", ":", "case", "CallingConv", "::", "Fast", ":", "if", "(", "!", "Subtarget", "->", "isTargetDarwin", "(", ")", ")", "return", "CC_AArch64_AAPCS", ";", "return", "IsVarArg", "?", "CC_AArch64_DarwinPCS_VarArg", ":", "CC_AArch64_DarwinPCS", ";", "}", "}", ""], "natrual_language": ["Selects", "the", "correct", "CCAssignFn", "for", "a", "given", "CallingConvention", "value", "."], "TS_V_token": ["AArch64", "AArch64", "\"Unsupported calling convention.\"", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64ISelLowering (2)1", "Func": "CCAssignFnForCall", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1639, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64RegisterInfo", "::", "isFrameOffsetLegal", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "BaseReg", ",", "int64_t", "Offset", ")", "const", "{", "assert", "(", "Offset", "<=", "INT_MAX", "&&", "\"Offset too big to fit in int.\"", ")", ";", "assert", "(", "MI", "&&", "\"Unable to get the legal offset for nil instruction.\"", ")", ";", "int", "SaveOffset", "=", "Offset", ";", "return", "isAArch64FrameOffsetLegal", "(", "*", "MI", ",", "SaveOffset", ")", "&", "AArch64FrameOffsetIsLegal", ";", "}", ""], "natrual_language": ["Determine", "whether", "a", "given", "base", "register", "plus", "offset", "immediate", "is", "encodable", "to", "resolve", "a", "frame", "index", "."], "TS_V_token": ["AArch64", "AArch64", "\"Offset too big to fit in int.\"", "\"Unable to get the legal offset for nil instruction.\"", "AArch64", "AArch64"], "File": "AArch64RegisterInfo (2)", "Func": "isFrameOffsetLegal", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1640, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "hsa_status_t", "get_kernarg_region", "(", "hsa_region_t", "region", ",", "void", "*", "data", "__attribute__", "(", "(", "unused", ")", ")", ")", "{", "return", "get_memory_region", "(", "region", ",", "&", "kernargs_region", ",", "HSA_REGION_GLOBAL_FLAG_KERNARG", ")", ";", "}", ""], "natrual_language": ["Callback", "of", "hsa_iterate_regions", ".", "Called", "once", "for", "each", "available", "memory", "region", ",", "and", "returns", "``", "break", "''", "when", "a", "suitable", "one", "has", "been", "found", "."], "TS_V_token": ["gcn"], "File": "gcn-run", "Func": "get_kernarg_region", "Target": "gcn", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 1641, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsSEInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "unsigned", "Opc", "=", "MI", "->", "getOpcode", "(", ")", ";", "if", "(", "(", "Opc", "==", "Mips", "::", "LW", ")", "||", "(", "Opc", "==", "Mips", "::", "LWC1", ")", "||", "(", "Opc", "==", "Mips", "::", "LDC1", ")", ")", "{", "if", "(", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "isFI", "(", ")", ")", "&&", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", ")", "&&", "(", "isZeroImm", "(", "MI", "->", "getOperand", "(", "2", ")", ")", ")", ")", "{", "FrameIndex", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getIndex", "(", ")", ";", "return", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["isLoadFromStackSlot", "-", "If", "the", "specified", "machine", "instruction", "is", "a", "direct", "load", "from", "a", "stack", "slot", ",", "return", "the", "virtual", "or", "physical", "register", "number", "of", "the", "destination", "along", "with", "the", "FrameIndex", "of", "the", "loaded", "stack", "slot", "."], "TS_V_token": ["Mips", "Mips", "Mips::LW", "Mips::LWC1", "Mips::LDC1", "1", "2", "2", "1", "0", "0"], "File": "MipsSEInstrInfo25", "Func": "isLoadFromStackSlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1642, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "ARMElfTargetObjectFile", "::", "getIndirectSymViaRWPI", "(", "const", "MCSymbol", "*", "Sym", ")", "const", "{", "return", "MCSymbolRefExpr", "::", "create", "(", "Sym", ",", "MCSymbolRefExpr", "::", "VK_ARM_SBREL", ",", "getContext", "(", ")", ")", ";", "}", ""], "natrual_language": ["Get", "the", "target", "specific", "RWPI", "relocation", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMTargetObjectFile11", "Func": "getIndirectSymViaRWPI", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1643, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "c6x_adjust_cost", "(", "rtx_insn", "*", "insn", ",", "rtx", "link", ",", "rtx_insn", "*", "dep_insn", ",", "int", "cost", ")", "{", "enum", "attr_type", "insn_type", "=", "TYPE_UNKNOWN", ",", "dep_insn_type", "=", "TYPE_UNKNOWN", ";", "int", "dep_insn_code_number", ",", "insn_code_number", ";", "int", "shadow_bonus", "=", "0", ";", "enum", "reg_note", "kind", ";", "dep_insn_code_number", "=", "recog_memoized", "(", "dep_insn", ")", ";", "insn_code_number", "=", "recog_memoized", "(", "insn", ")", ";", "if", "(", "dep_insn_code_number", ">=", "0", ")", "dep_insn_type", "=", "get_attr_type", "(", "dep_insn", ")", ";", "if", "(", "insn_code_number", ">=", "0", ")", "insn_type", "=", "get_attr_type", "(", "insn", ")", ";", "kind", "=", "REG_NOTE_KIND", "(", "link", ")", ";", "if", "(", "kind", "==", "0", ")", "{", "if", "(", "dep_insn_type", "==", "TYPE_LOAD", ")", "{", "rtx", "set", "=", "PATTERN", "(", "dep_insn", ")", ";", "if", "(", "GET_CODE", "(", "set", ")", "==", "COND_EXEC", ")", "set", "=", "COND_EXEC_CODE", "(", "set", ")", ";", "if", "(", "GET_CODE", "(", "set", ")", "==", "UNSPEC", ")", "cost", "=", "1", ";", "else", "{", "gcc_assert", "(", "GET_CODE", "(", "set", ")", "==", "SET", ")", ";", "if", "(", "!", "reg_overlap_mentioned_p", "(", "SET_DEST", "(", "set", ")", ",", "PATTERN", "(", "insn", ")", ")", ")", "cost", "=", "1", ";", "}", "}", "}", "if", "(", "shadow_type_p", "(", "insn_type", ")", ")", "shadow_bonus", "=", "1", ";", "if", "(", "kind", "!=", "0", ")", "{", "if", "(", "kind", "==", "REG_DEP_ANTI", "&&", "insn_type", "==", "TYPE_SHADOW", ")", "kind", "=", "REG_DEP_OUTPUT", ";", "switch", "(", "dep_insn_type", ")", "{", "case", "TYPE_CALLP", ":", "return", "1", ";", "case", "TYPE_BRANCH", ":", "case", "TYPE_CALL", ":", "if", "(", "get_attr_has_shadow", "(", "dep_insn", ")", "==", "HAS_SHADOW_Y", ")", "return", "0", ";", "return", "6", ";", "case", "TYPE_LOAD", ":", "case", "TYPE_LOADN", ":", "case", "TYPE_INTDP", ":", "if", "(", "kind", "==", "REG_DEP_OUTPUT", ")", "return", "5", "-", "shadow_bonus", ";", "return", "0", ";", "case", "TYPE_MPY4", ":", "case", "TYPE_FP4", ":", "if", "(", "kind", "==", "REG_DEP_OUTPUT", ")", "return", "4", "-", "shadow_bonus", ";", "return", "0", ";", "case", "TYPE_MPY2", ":", "if", "(", "kind", "==", "REG_DEP_OUTPUT", ")", "return", "2", "-", "shadow_bonus", ";", "return", "0", ";", "case", "TYPE_CMPDP", ":", "if", "(", "kind", "==", "REG_DEP_OUTPUT", ")", "return", "2", "-", "shadow_bonus", ";", "return", "2", ";", "case", "TYPE_ADDDP", ":", "case", "TYPE_MPYSPDP", ":", "if", "(", "kind", "==", "REG_DEP_OUTPUT", ")", "return", "7", "-", "shadow_bonus", ";", "return", "2", ";", "case", "TYPE_MPYSP2DP", ":", "if", "(", "kind", "==", "REG_DEP_OUTPUT", ")", "return", "5", "-", "shadow_bonus", ";", "return", "2", ";", "case", "TYPE_MPYI", ":", "if", "(", "kind", "==", "REG_DEP_OUTPUT", ")", "return", "9", "-", "shadow_bonus", ";", "return", "4", ";", "case", "TYPE_MPYID", ":", "case", "TYPE_MPYDP", ":", "if", "(", "kind", "==", "REG_DEP_OUTPUT", ")", "return", "10", "-", "shadow_bonus", ";", "return", "4", ";", "default", ":", "if", "(", "insn_type", "==", "TYPE_SPKERNEL", ")", "return", "0", ";", "if", "(", "kind", "==", "REG_DEP_OUTPUT", ")", "return", "1", "-", "shadow_bonus", ";", "return", "0", ";", "}", "}", "return", "cost", "-", "shadow_bonus", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_SCHED_ADJUST_COST", "hook", ".", "We", "need", "special", "handling", "for", "anti-", "and", "output", "dependencies", "."], "TS_V_token": ["c6x", "0", "0", "0", "0", "1", "1", "1", "0", "1", "0", "6", "5", "0", "4", "0", "2", "0", "2", "2", "7", "2", "5", "2", "9", "4", "10", "4", "0", "1", "0"], "File": "c6x2", "Func": "c6x_adjust_cost", "Target": "c6x", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 1644, "Length": 424, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "xstormy16_memory_move_cost", "(", "machine_mode", "mode", ",", "reg_class_t", "rclass", ",", "bool", "in", ")", "{", "return", "(", "5", "+", "memory_move_secondary_cost", "(", "mode", ",", "rclass", ",", "in", ")", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_MEMORY_MOVE_COST", "."], "TS_V_token": ["stormy16", "5"], "File": "stormy16", "Func": "xstormy16_memory_move_cost", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1645, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "free_label_states", "(", "struct", "unw_labeled_state", "*", "ls", ")", "{", "struct", "unw_labeled_state", "*", "next", ";", "for", "(", ";", "ls", ";", "ls", "=", "next", ")", "{", "next", "=", "ls", "->", "next", ";", "free_state_stack", "(", "&", "ls", "->", "saved_state", ")", ";", "free_label_state", "(", "ls", ")", ";", "}", "}", ""], "natrual_language": ["Free", "all", "labeled", "states", "."], "TS_V_token": ["ia64"], "File": "unwind-ia64", "Func": "free_label_states", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1646, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint32_t", "AMDGPUTargetLowering", "::", "getImplicitParameterOffset", "(", "const", "MachineFunction", "&", "MF", ",", "const", "ImplicitParameter", "Param", ")", "const", "{", "const", "AMDGPUMachineFunction", "*", "MFI", "=", "MF", ".", "getInfo", "<", "AMDGPUMachineFunction", ">", "(", ")", ";", "const", "AMDGPUSubtarget", "&", "ST", "=", "AMDGPUSubtarget", "::", "get", "(", "getTargetMachine", "(", ")", ",", "MF", ".", "getFunction", "(", ")", ")", ";", "unsigned", "ExplicitArgOffset", "=", "ST", ".", "getExplicitKernelArgOffset", "(", "MF", ".", "getFunction", "(", ")", ")", ";", "const", "Align", "Alignment", "=", "ST", ".", "getAlignmentForImplicitArgPtr", "(", ")", ";", "uint64_t", "ArgOffset", "=", "alignTo", "(", "MFI", "->", "getExplicitKernArgSize", "(", ")", ",", "Alignment", ")", "+", "ExplicitArgOffset", ";", "switch", "(", "Param", ")", "{", "case", "GRID_DIM", ":", "return", "ArgOffset", ";", "case", "GRID_OFFSET", ":", "return", "ArgOffset", "+", "4", ";", "}", "llvm_unreachable", "(", "\"unexpected implicit parameter type\"", ")", ";", "}", ""], "natrual_language": ["Helper", "function", "that", "returns", "the", "byte", "offset", "of", "the", "given", "type", "of", "implicit", "parameter", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "4", "\"unexpected implicit parameter type\""], "File": "AMDGPUISelLowering105", "Func": "getImplicitParameterOffset", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1647, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonInstrInfo", "::", "getBaseAndOffsetPosition", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "&", "BasePos", ",", "unsigned", "&", "OffsetPos", ")", "const", "{", "if", "(", "isMemOp", "(", "MI", ")", ")", "{", "assert", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "isReg", "(", ")", "&&", "MI", "->", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", "&&", "\"Bad Memop.\"", ")", ";", "BasePos", "=", "0", ";", "OffsetPos", "=", "1", ";", "}", "else", "if", "(", "MI", "->", "mayStore", "(", ")", ")", "{", "BasePos", "=", "0", ";", "OffsetPos", "=", "1", ";", "}", "else", "if", "(", "MI", "->", "mayLoad", "(", ")", ")", "{", "BasePos", "=", "1", ";", "OffsetPos", "=", "2", ";", "}", "else", "return", "false", ";", "if", "(", "isPredicated", "(", "MI", ")", ")", "{", "BasePos", "++", ";", "OffsetPos", "++", ";", "}", "if", "(", "isPostIncrement", "(", "MI", ")", ")", "{", "BasePos", "++", ";", "OffsetPos", "++", ";", "}", "if", "(", "!", "MI", "->", "getOperand", "(", "BasePos", ")", ".", "isReg", "(", ")", "||", "!", "MI", "->", "getOperand", "(", "OffsetPos", ")", ".", "isImm", "(", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "instruction", "contains", "a", "base", "register", "and", "offset", "."], "TS_V_token": ["Hexagon", "Hexagon", "0", "1", "\"Bad Memop.\"", "0", "1", "0", "1", "1", "2"], "File": "HexagonInstrInfo56", "Func": "getBaseAndOffsetPosition", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1648, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "LLVM_OVERRIDE", "{", "return", "\"X86 AT&T-Style Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 AT&T-Style Assembly Printer\""], "File": "X86AsmPrinter33", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1649, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "AArch64TargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "case", "AArch64ISD", "::", "BR_CC", ":", "return", "\"AArch64ISD::BR_CC\"", ";", "case", "AArch64ISD", "::", "Call", ":", "return", "\"AArch64ISD::Call\"", ";", "case", "AArch64ISD", "::", "FPMOV", ":", "return", "\"AArch64ISD::FPMOV\"", ";", "case", "AArch64ISD", "::", "GOTLoad", ":", "return", "\"AArch64ISD::GOTLoad\"", ";", "case", "AArch64ISD", "::", "BFI", ":", "return", "\"AArch64ISD::BFI\"", ";", "case", "AArch64ISD", "::", "EXTR", ":", "return", "\"AArch64ISD::EXTR\"", ";", "case", "AArch64ISD", "::", "Ret", ":", "return", "\"AArch64ISD::Ret\"", ";", "case", "AArch64ISD", "::", "SBFX", ":", "return", "\"AArch64ISD::SBFX\"", ";", "case", "AArch64ISD", "::", "SELECT_CC", ":", "return", "\"AArch64ISD::SELECT_CC\"", ";", "case", "AArch64ISD", "::", "SETCC", ":", "return", "\"AArch64ISD::SETCC\"", ";", "case", "AArch64ISD", "::", "TC_RETURN", ":", "return", "\"AArch64ISD::TC_RETURN\"", ";", "case", "AArch64ISD", "::", "THREAD_POINTER", ":", "return", "\"AArch64ISD::THREAD_POINTER\"", ";", "case", "AArch64ISD", "::", "TLSDESCCALL", ":", "return", "\"AArch64ISD::TLSDESCCALL\"", ";", "case", "AArch64ISD", "::", "WrapperSmall", ":", "return", "\"AArch64ISD::WrapperSmall\"", ";", "default", ":", "return", "NULL", ";", "}", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["AArch64", "AArch64", "AArch64ISD::BR_CC", "\"AArch64ISD::BR_CC\"", "AArch64ISD::Call", "\"AArch64ISD::Call\"", "AArch64ISD::FPMOV", "\"AArch64ISD::FPMOV\"", "AArch64ISD::GOTLoad", "\"AArch64ISD::GOTLoad\"", "AArch64ISD::BFI", "\"AArch64ISD::BFI\"", "AArch64ISD::EXTR", "\"AArch64ISD::EXTR\"", "AArch64ISD::Ret", "\"AArch64ISD::Ret\"", "AArch64ISD::SBFX", "\"AArch64ISD::SBFX\"", "AArch64ISD::SELECT_CC", "\"AArch64ISD::SELECT_CC\"", "AArch64ISD::SETCC", "\"AArch64ISD::SETCC\"", "AArch64ISD::TC_RETURN", "\"AArch64ISD::TC_RETURN\"", "AArch64ISD::THREAD_POINTER", "\"AArch64ISD::THREAD_POINTER\"", "AArch64ISD::TLSDESCCALL", "\"AArch64ISD::TLSDESCCALL\"", "AArch64ISD::WrapperSmall", "\"AArch64ISD::WrapperSmall\""], "File": "AArch64ISelLowering160", "Func": "getTargetNodeName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1650, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "XCoreInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", "&&", "!", "I", "->", "isDebugValue", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", "->", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", "->", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "*", "MF", ",", "FrameIndex", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "MFI", ".", "getObjectSize", "(", "FrameIndex", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FrameIndex", ")", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "XCore", "::", "STWFI", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["XCore", "XCore", "XCore::STWFI", "0"], "File": "XCoreInstrInfo21", "Func": "storeRegToStackSlot", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1651, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "lshrsi3_out", "(", "rtx_insn", "*", "insn", ",", "rtx", "operands", "[", "]", ",", "int", "*", "len", ")", "{", "if", "(", "CONST_INT_P", "(", "operands", "[", "2", "]", ")", ")", "{", "int", "k", ";", "int", "*", "t", "=", "len", ";", "if", "(", "!", "len", ")", "len", "=", "&", "k", ";", "switch", "(", "INTVAL", "(", "operands", "[", "2", "]", ")", ")", "{", "default", ":", "if", "(", "INTVAL", "(", "operands", "[", "2", "]", ")", "<", "32", ")", "break", ";", "if", "(", "AVR_HAVE_MOVW", ")", "return", "*", "len", "=", "3", ",", "(", "\"clr %D0\"", "CR_TAB", "\"clr %C0\"", "CR_TAB", "\"movw %A0,%C0\"", ")", ";", "*", "len", "=", "4", ";", "return", "(", "\"clr %D0\"", "CR_TAB", "\"clr %C0\"", "CR_TAB", "\"clr %B0\"", "CR_TAB", "\"clr %A0\"", ")", ";", "case", "8", ":", "{", "int", "reg0", "=", "true_regnum", "(", "operands", "[", "0", "]", ")", ";", "int", "reg1", "=", "true_regnum", "(", "operands", "[", "1", "]", ")", ";", "*", "len", "=", "4", ";", "if", "(", "reg0", "<=", "reg1", ")", "return", "(", "\"mov %A0,%B1\"", "CR_TAB", "\"mov %B0,%C1\"", "CR_TAB", "\"mov %C0,%D1\"", "CR_TAB", "\"clr %D0\"", ")", ";", "else", "return", "(", "\"clr %D0\"", "CR_TAB", "\"mov %C0,%D1\"", "CR_TAB", "\"mov %B0,%C1\"", "CR_TAB", "\"mov %A0,%B1\"", ")", ";", "}", "case", "16", ":", "{", "int", "reg0", "=", "true_regnum", "(", "operands", "[", "0", "]", ")", ";", "int", "reg1", "=", "true_regnum", "(", "operands", "[", "1", "]", ")", ";", "if", "(", "reg0", "==", "reg1", "+", "2", ")", "return", "*", "len", "=", "2", ",", "(", "\"clr %C0\"", "CR_TAB", "\"clr %D0\"", ")", ";", "if", "(", "AVR_HAVE_MOVW", ")", "return", "*", "len", "=", "3", ",", "(", "\"movw %A0,%C1\"", "CR_TAB", "\"clr %C0\"", "CR_TAB", "\"clr %D0\"", ")", ";", "else", "return", "*", "len", "=", "4", ",", "(", "\"mov %B0,%D1\"", "CR_TAB", "\"mov %A0,%C1\"", "CR_TAB", "\"clr %C0\"", "CR_TAB", "\"clr %D0\"", ")", ";", "}", "case", "24", ":", "return", "*", "len", "=", "4", ",", "(", "\"mov %A0,%D1\"", "CR_TAB", "\"clr %B0\"", "CR_TAB", "\"clr %C0\"", "CR_TAB", "\"clr %D0\"", ")", ";", "case", "31", ":", "*", "len", "=", "6", ";", "return", "(", "\"clr %A0\"", "CR_TAB", "\"sbrc %D0,7\"", "CR_TAB", "\"inc %A0\"", "CR_TAB", "\"clr %B0\"", "CR_TAB", "\"clr %C0\"", "CR_TAB", "\"clr %D0\"", ")", ";", "}", "len", "=", "t", ";", "}", "out_shift_with_cnt", "(", "\"lsr %D0\"", "CR_TAB", "\"ror %C0\"", "CR_TAB", "\"ror %B0\"", "CR_TAB", "\"ror %A0\"", ",", "insn", ",", "operands", ",", "len", ",", "4", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["32bit", "logic", "shift", "right", "(", "(", "unsigned", "int", ")", "x", ">", ">", "i", ")"], "TS_V_token": ["avr", "2", "2", "2", "32", "3", "\"clr %D0\"", "\"clr %C0\"", "\"movw %A0,%C0\"", "4", "\"clr %D0\"", "\"clr %C0\"", "\"clr %B0\"", "\"clr %A0\"", "8", "0", "1", "4", "\"mov %A0,%B1\"", "\"mov %B0,%C1\"", "\"mov %C0,%D1\"", "\"clr %D0\"", "\"clr %D0\"", "\"mov %C0,%D1\"", "\"mov %B0,%C1\"", "\"mov %A0,%B1\"", "16", "0", "1", "2", "2", "\"clr %C0\"", "\"clr %D0\"", "3", "\"movw %A0,%C1\"", "\"clr %C0\"", "\"clr %D0\"", "4", "\"mov %B0,%D1\"", "\"mov %A0,%C1\"", "\"clr %C0\"", "\"clr %D0\"", "24", "4", "\"mov %A0,%D1\"", "\"clr %B0\"", "\"clr %C0\"", "\"clr %D0\"", "31", "6", "\"clr %A0\"", "\"sbrc %D0,7\"", "\"inc %A0\"", "\"clr %B0\"", "\"clr %C0\"", "\"clr %D0\"", "\"lsr %D0\"", "\"ror %C0\"", "\"ror %B0\"", "\"ror %A0\"", "4", "\"\""], "File": "avr", "Func": "lshrsi3_out", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1652, "Length": 324, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "isFMAFasterThanFMulAndFAdd", "(", "const", "MachineFunction", "&", "MF", ",", "EVT", "VT", ")", "const", "{", "VT", "=", "VT", ".", "getScalarType", "(", ")", ";", "if", "(", "!", "VT", ".", "isSimple", "(", ")", ")", "return", "false", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "case", "MVT", "::", "f32", ":", "case", "MVT", "::", "f64", ":", "return", "true", ";", "case", "MVT", "::", "f128", ":", "return", "(", "EnableQuadPrecision", "&&", "Subtarget", ".", "hasP9Vector", "(", ")", ")", ";", "default", ":", "break", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "an", "FMA", "operation", "is", "faster", "than", "a", "pair", "of", "fmul", "and", "fadd", "instructions", "."], "TS_V_token": ["PowerPC", "PPC", "MVT::f32", "MVT::f64", "MVT::f128"], "File": "PPCISelLowering103", "Func": "isFMAFasterThanFMulAndFAdd", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1653, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64AsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ";", "if", "(", "IDVal", "==", "\".hword\"", ")", "return", "ParseDirectiveWord", "(", "2", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".word\"", ")", "return", "ParseDirectiveWord", "(", "4", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".xword\"", ")", "return", "ParseDirectiveWord", "(", "8", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".tlsdesccall\"", ")", "return", "ParseDirectiveTLSDescCall", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["AArch64", "AArch64", "\".hword\"", "2", "\".word\"", "4", "\".xword\"", "8", "\".tlsdesccall\""], "File": "AArch64AsmParser13", "Func": "ParseDirective", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1654, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "char", "*", "detect_caches_aix", "(", "void", ")", "{", "unsigned", "l1_sizekb", ",", "l1_line", ",", "l1_assoc", ",", "l2_sizekb", ";", "l1_sizekb", "=", "_system_configuration", ".", "dcache_size", "/", "1024", ";", "l1_line", "=", "_system_configuration", ".", "dcache_line", ";", "l1_assoc", "=", "_system_configuration", ".", "dcache_asc", ";", "l2_sizekb", "=", "_system_configuration", ".", "L2_cache_size", "/", "1024", ";", "return", "describe_cache", "(", "l1_sizekb", ",", "l1_line", ",", "l1_assoc", ",", "l2_sizekb", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "description", "of", "caches", "on", "AIX", "."], "TS_V_token": ["rs6000", "1024", "1024"], "File": "driver-rs6000", "Func": "detect_caches_aix", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1655, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "mprocTargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "outgoing", "return", "values", ",", "described", "by", "the", "Outs", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["mproc", "mproc", "ISD::OutputArg"], "File": "mprocISelLowering", "Func": "LowerReturn", "Target": "mproc", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1656, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getMinimumNopSize", "(", ")", "const", "override", "{", "return", "2", ";", "}", ""], "natrual_language": ["Returns", "the", "minimum", "size", "of", "a", "nop", "in", "bytes", "on", "this", "target", "."], "TS_V_token": ["AGC", "2"], "File": "AGCAsmBackend", "Func": "getMinimumNopSize", "Target": "AGC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1657, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86TargetLowering", "::", "getScalingFactorCost", "(", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ")", "const", "{", "if", "(", "isLegalAddressingMode", "(", "AM", ",", "Ty", ")", ")", "return", "AM", ".", "Scale", "!=", "0", ";", "return", "-", "1", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "the", "scaling", "factor", "used", "in", "the", "addressing", "mode", "represented", "by", "AM", "for", "this", "target", ",", "for", "a", "load/store", "of", "the", "specified", "type", "."], "TS_V_token": ["X86", "X86", "0", "1"], "File": "X86ISelLowering (2)", "Func": "getScalingFactorCost", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1658, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSection", "*", "XCoreTargetObjectFile", "::", "getSectionForConstant", "(", "const", "DataLayout", "&", "DL", ",", "SectionKind", "Kind", ",", "const", "Constant", "*", "C", ",", "Align", "&", "Alignment", ")", "const", "{", "if", "(", "Kind", ".", "isMergeableConst4", "(", ")", ")", "return", "MergeableConst4Section", ";", "if", "(", "Kind", ".", "isMergeableConst8", "(", ")", ")", "return", "MergeableConst8Section", ";", "if", "(", "Kind", ".", "isMergeableConst16", "(", ")", ")", "return", "MergeableConst16Section", ";", "assert", "(", "(", "Kind", ".", "isReadOnly", "(", ")", "||", "Kind", ".", "isReadOnlyWithRel", "(", ")", ")", "&&", "\"Unknown section kind\"", ")", ";", "return", "ReadOnlySection", ";", "}", ""], "natrual_language": ["Given", "a", "constant", "with", "the", "SectionKind", ",", "return", "a", "section", "that", "it", "should", "be", "placed", "in", "."], "TS_V_token": ["XCore", "XCore", "\"Unknown section kind\""], "File": "XCoreTargetObjectFile13", "Func": "getSectionForConstant", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1659, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Z80Operand", "::", "isMem", "(", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["isMem", "-", "Is", "this", "a", "memory", "operand", "?"], "TS_V_token": ["Z80", "Z80"], "File": "Z80Operand", "Func": "isMem", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1660, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "s390_cpu_cpp_builtins_internal", "(", "cpp_reader", "*", "pfile", ",", "struct", "cl_target_option", "*", "opts", ",", "const", "struct", "cl_target_option", "*", "old_opts", ")", "{", "s390_def_or_undef_macro", "(", "pfile", ",", "target_flag_set_p", "(", "MASK_OPT_HTM", ")", ",", "old_opts", ",", "opts", ",", "\"__HTM__\"", ",", "\"__HTM__\"", ")", ";", "s390_def_or_undef_macro", "(", "pfile", ",", "target_flag_set_p", "(", "MASK_OPT_VX", ")", ",", "old_opts", ",", "opts", ",", "\"__VX__\"", ",", "\"__VX__\"", ")", ";", "s390_def_or_undef_macro", "(", "pfile", ",", "target_flag_set_p", "(", "MASK_ZVECTOR", ")", ",", "old_opts", ",", "opts", ",", "\"__VEC__=10304\"", ",", "\"__VEC__\"", ")", ";", "s390_def_or_undef_macro", "(", "pfile", ",", "target_flag_set_p", "(", "MASK_ZVECTOR", ")", ",", "old_opts", ",", "opts", ",", "\"__vector=__attribute__((vector_size(16)))\"", ",", "\"__vector__\"", ")", ";", "s390_def_or_undef_macro", "(", "pfile", ",", "target_flag_set_p", "(", "MASK_ZVECTOR", ")", ",", "old_opts", ",", "opts", ",", "\"__bool=__attribute__((s390_vector_bool)) unsigned\"", ",", "\"__bool\"", ")", ";", "{", "char", "macro_def", "[", "64", "]", ";", "gcc_assert", "(", "s390_arch", "!=", "PROCESSOR_NATIVE", ")", ";", "sprintf", "(", "macro_def", ",", "\"__ARCH__=%d\"", ",", "processor_table", "[", "s390_arch", "]", ".", "arch_level", ")", ";", "cpp_undef", "(", "pfile", ",", "\"__ARCH__\"", ")", ";", "cpp_define", "(", "pfile", ",", "macro_def", ")", ";", "}", "s390_def_or_undef_macro", "(", "pfile", ",", "[", "]", "(", "const", "struct", "cl_target_option", "*", "opts", ")", "{", "return", "TARGET_VXE_P", "(", "opts", ")", ";", "}", ",", "old_opts", ",", "opts", ",", "\"__LONG_DOUBLE_VX__\"", ",", "\"__LONG_DOUBLE_VX__\"", ")", ";", "if", "(", "!", "flag_iso", ")", "{", "s390_def_or_undef_macro", "(", "pfile", ",", "target_flag_set_p", "(", "MASK_ZVECTOR", ")", ",", "old_opts", ",", "opts", ",", "\"__VECTOR_KEYWORD_SUPPORTED__\"", ",", "\"__VECTOR_KEYWORD_SUPPORTED__\"", ")", ";", "s390_def_or_undef_macro", "(", "pfile", ",", "target_flag_set_p", "(", "MASK_ZVECTOR", ")", ",", "old_opts", ",", "opts", ",", "\"vector=vector\"", ",", "\"vector\"", ")", ";", "s390_def_or_undef_macro", "(", "pfile", ",", "target_flag_set_p", "(", "MASK_ZVECTOR", ")", ",", "old_opts", ",", "opts", ",", "\"bool=bool\"", ",", "\"bool\"", ")", ";", "s390_def_or_undef_macro", "(", "pfile", ",", "target_flag_set_p", "(", "MASK_ZVECTOR", ")", ",", "old_opts", ",", "opts", ",", "\"_Bool=_Bool\"", ",", "\"_Bool\"", ")", ";", "if", "(", "TARGET_ZVECTOR_P", "(", "opts", "->", "x_target_flags", ")", "&&", "__vector_keyword", "==", "NULL", ")", "{", "__vector_keyword", "=", "get_identifier", "(", "\"__vector\"", ")", ";", "C_CPP_HASHNODE", "(", "__vector_keyword", ")", "->", "flags", "|=", "NODE_CONDITIONAL", ";", "vector_keyword", "=", "get_identifier", "(", "\"vector\"", ")", ";", "C_CPP_HASHNODE", "(", "vector_keyword", ")", "->", "flags", "|=", "NODE_CONDITIONAL", ";", "__bool_keyword", "=", "get_identifier", "(", "\"__bool\"", ")", ";", "C_CPP_HASHNODE", "(", "__bool_keyword", ")", "->", "flags", "|=", "NODE_CONDITIONAL", ";", "bool_keyword", "=", "get_identifier", "(", "\"bool\"", ")", ";", "C_CPP_HASHNODE", "(", "bool_keyword", ")", "->", "flags", "|=", "NODE_CONDITIONAL", ";", "_Bool_keyword", "=", "get_identifier", "(", "\"_Bool\"", ")", ";", "C_CPP_HASHNODE", "(", "_Bool_keyword", ")", "->", "flags", "|=", "NODE_CONDITIONAL", ";", "cpp_get_callbacks", "(", "pfile", ")", "->", "macro_to_expand", "=", "s390_macro_to_expand", ";", "}", "}", "}", ""], "natrual_language": ["Internal", "function", "to", "either", "define", "or", "undef", "the", "appropriate", "system", "macros", "."], "TS_V_token": ["s390", "\"__HTM__\"", "\"__HTM__\"", "\"__VX__\"", "\"__VX__\"", "\"__VEC__=10304\"", "\"__VEC__\"", "\"__vector=__attribute__((vector_size(16)))\"", "\"__vector__\"", "\"__bool=__attribute__((s390_vector_bool)) unsigned\"", "\"__bool\"", "64", "\"__ARCH__=%d\"", "\"__ARCH__\"", "\"__LONG_DOUBLE_VX__\"", "\"__LONG_DOUBLE_VX__\"", "\"__VECTOR_KEYWORD_SUPPORTED__\"", "\"__VECTOR_KEYWORD_SUPPORTED__\"", "\"vector=vector\"", "\"vector\"", "\"bool=bool\"", "\"bool\"", "\"_Bool=_Bool\"", "\"_Bool\"", "\"__vector\"", "\"vector\"", "\"__bool\"", "\"bool\"", "\"_Bool\""], "File": "s390-c", "Func": "s390_cpu_cpp_builtins_internal", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1661, "Length": 368, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86FastISel", "::", "fastMaterializeAlloca", "(", "const", "AllocaInst", "*", "C", ")", "{", "if", "(", "!", "FuncInfo", ".", "StaticAllocaMap", ".", "count", "(", "C", ")", ")", "return", "0", ";", "assert", "(", "C", "->", "isStaticAlloca", "(", ")", "&&", "\"dynamic alloca in the static alloca map?\"", ")", ";", "X86AddressMode", "AM", ";", "if", "(", "!", "X86SelectAddress", "(", "C", ",", "AM", ")", ")", "return", "0", ";", "unsigned", "Opc", "=", "TLI", ".", "getPointerTy", "(", "DL", ")", "==", "MVT", "::", "i32", "?", "(", "Subtarget", "->", "isTarget64BitILP32", "(", ")", "?", "X86", "::", "LEA64_32r", ":", "X86", "::", "LEA32r", ")", ":", "X86", "::", "LEA64r", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TLI", ".", "getRegClassFor", "(", "TLI", ".", "getPointerTy", "(", "DL", ")", ")", ";", "unsigned", "ResultReg", "=", "createResultReg", "(", "RC", ")", ";", "addFullAddress", "(", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "TII", ".", "get", "(", "Opc", ")", ",", "ResultReg", ")", ",", "AM", ")", ";", "return", "ResultReg", ";", "}", ""], "natrual_language": ["Emit", "an", "alloca", "address", "in", "a", "register", "using", "target-specific", "logic", "."], "TS_V_token": ["X86", "X86", "0", "\"dynamic alloca in the static alloca map?\"", "X86", "X86", "0", "MVT::i32", "X86::LEA64_32r", "X86::LEA32r", "X86::LEA64r"], "File": "X86FastISel (2)4", "Func": "fastMaterializeAlloca", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1662, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print_operand_address", "(", "FILE", "*", "file", ",", "rtx", "addr", ")", "{", "rtx", "lhs", ",", "rhs", ";", "retry", ":", ";", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "case", "MEM", ":", "fprintf", "(", "file", ",", "\"#\"", ")", ";", "addr", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "goto", "retry", ";", "case", "REG", ":", "fprintf", "(", "file", ",", "\"@%s\"", ",", "pointer_reg", "[", "REGNO", "(", "addr", ")", "]", ")", ";", "break", ";", "case", "PRE_DEC", ":", "fprintf", "(", "file", ",", "\"%s\"", ",", "pointer_reg", "[", "REGNO", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "]", ")", ";", "break", ";", "case", "POST_INC", ":", "fprintf", "(", "file", ",", "\"%s\"", ",", "pointer_reg", "[", "REGNO", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "]", ")", ";", "break", ";", "case", "PLUS", ":", "lhs", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "rhs", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "rhs", ")", "==", "REG", "&&", "GET_CODE", "(", "lhs", ")", "!=", "REG", ")", "{", "rtx", "swap", "=", "lhs", ";", "lhs", "=", "rhs", ";", "rhs", "=", "swap", ";", "}", "if", "(", "GET_CODE", "(", "rhs", ")", "==", "SIGN_EXTEND", "||", "GET_CODE", "(", "rhs", ")", "==", "TRUNCATE", ")", "{", "rtx", "swap", "=", "lhs", ";", "lhs", "=", "rhs", ";", "rhs", "=", "swap", ";", "}", "if", "(", "TARGET_BIG", "&&", "(", "inside_ba_p", "(", "addr", ",", "1", ")", "&&", "(", "STACK_REGISTER", "(", "REGNO", "(", "lhs", ")", ")", "||", "can_ba_bx", ")", "&&", "GET_CODE", "(", "rhs", ")", "==", "CONST_INT", ")", ")", "{", "int", "offset", "=", "INTVAL", "(", "rhs", ")", ";", "if", "(", "REGNO", "(", "lhs", ")", "==", "STACK_POINTER_REGNUM", "&&", "saved_reg_on_stack_hack", ")", "offset", "+=", "4", ";", "saved_reg_on_stack_hack", "=", "0", ";", "fprintf", "(", "file", ",", "\"%s(#\"", ",", "pointer_reg", "[", "REGNO", "(", "lhs", ")", "]", ")", ";", "fprintf", "(", "file", ",", "\"%d\"", ",", "offset", ")", ";", "fprintf", "(", "file", ",", "\")\"", ")", ";", "}", "else", "if", "(", "inside_bx_p", "(", "addr", ",", "1", ")", "&&", "(", "can_ba_bx", "||", "(", "STACK_REGISTER", "(", "REGNO", "(", "lhs", ")", ")", ")", ")", ")", "{", "rtx", "base", ";", "rtx", "disp", ";", "if", "(", "GET_CODE", "(", "lhs", ")", "==", "REG", ")", "{", "base", "=", "lhs", ";", "disp", "=", "rhs", ";", "}", "else", "{", "base", "=", "rhs", ";", "disp", "=", "lhs", ";", "}", "fprintf", "(", "file", ",", "\"%s(%s)\"", ",", "pointer_reg", "[", "REGNO", "(", "base", ")", "]", ",", "regname", "(", "REGNO", "(", "getreg", "(", "disp", ")", ")", ",", "HImode", ")", ")", ";", "}", "else", "if", "(", "inside_x_p", "(", "addr", ",", "1", ")", ")", "{", "int", "r", "=", "REGNO", "(", "lhs", ")", ";", "if", "(", "TARGET_BIG", ")", "{", "if", "(", "GET_MODE", "(", "lhs", ")", "==", "SImode", "||", "GET_MODE", "(", "lhs", ")", "==", "PSImode", ")", "r", "++", ";", "}", "output_address", "(", "rhs", ")", ";", "fprintf", "(", "file", ",", "\"(%s)\"", ",", "regname", "(", "r", ",", "HImode", ")", ")", ";", "}", "else", "{", "output_address", "(", "rhs", ")", ";", "fprintf", "(", "file", ",", "\"(%s)\"", ",", "regname", "(", "REGNO", "(", "lhs", ")", ",", "HImode", ")", ")", ";", "}", "break", ";", "default", ":", "output_addr_const", "(", "file", ",", "addr", ")", ";", "}", "}", ""], "natrual_language": ["Print", "the", "operand", "address", "represented", "by", "the", "rtx", "addr"], "TS_V_token": ["z8k", "\"#\"", "0", "\"@%s\"", "\"%s\"", "0", "\"%s\"", "0", "0", "1", "1", "4", "0", "\"%s(#\"", "\"%d\"", "\")\"", "1", "\"%s(%s)\"", "1", "\"(%s)\"", "\"(%s)\""], "File": "z8k", "Func": "print_operand_address", "Target": "z8k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1663, "Length": 486, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "DestReg", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "SIMachineFunctionInfo", "*", "MFI", "=", "MF", "->", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "MachineFrameInfo", "&", "FrameInfo", "=", "MF", "->", "getFrameInfo", "(", ")", ";", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "unsigned", "Align", "=", "FrameInfo", ".", "getObjectAlignment", "(", "FrameIndex", ")", ";", "unsigned", "Size", "=", "FrameInfo", ".", "getObjectSize", "(", "FrameIndex", ")", ";", "unsigned", "SpillSize", "=", "TRI", "->", "getSpillSize", "(", "*", "RC", ")", ";", "MachinePointerInfo", "PtrInfo", "=", "MachinePointerInfo", "::", "getFixedStack", "(", "*", "MF", ",", "FrameIndex", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", "->", "getMachineMemOperand", "(", "PtrInfo", ",", "MachineMemOperand", "::", "MOLoad", ",", "Size", ",", "Align", ")", ";", "if", "(", "RI", ".", "isSGPRClass", "(", "RC", ")", ")", "{", "const", "MCInstrDesc", "&", "OpDesc", "=", "get", "(", "getSGPRSpillRestoreOpcode", "(", "SpillSize", ")", ")", ";", "if", "(", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "DestReg", ")", "&&", "SpillSize", "==", "4", ")", "{", "MachineRegisterInfo", "&", "MRI", "=", "MF", "->", "getRegInfo", "(", ")", ";", "MRI", ".", "constrainRegClass", "(", "DestReg", ",", "&", "AMDGPU", "::", "SReg_32_XM0RegClass", ")", ";", "}", "FrameInfo", ".", "setStackID", "(", "FrameIndex", ",", "1", ")", ";", "MachineInstrBuilder", "Spill", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "OpDesc", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addMemOperand", "(", "MMO", ")", ".", "addReg", "(", "MFI", "->", "getScratchRSrcReg", "(", ")", ",", "RegState", "::", "Implicit", ")", ".", "addReg", "(", "MFI", "->", "getFrameOffsetReg", "(", ")", ",", "RegState", "::", "Implicit", ")", ";", "if", "(", "ST", ".", "hasScalarStores", "(", ")", ")", "{", "Spill", ".", "addReg", "(", "AMDGPU", "::", "M0", ",", "RegState", "::", "ImplicitDefine", "|", "RegState", "::", "Dead", ")", ";", "}", "return", ";", "}", "if", "(", "!", "ST", ".", "isVGPRSpillingEnabled", "(", "MF", "->", "getFunction", "(", ")", ")", ")", "{", "LLVMContext", "&", "Ctx", "=", "MF", "->", "getFunction", "(", ")", ".", "getContext", "(", ")", ";", "Ctx", ".", "emitError", "(", "\"SIInstrInfo::loadRegFromStackSlot - Do not know how to\"", "\" restore register\"", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "AMDGPU", "::", "IMPLICIT_DEF", ")", ",", "DestReg", ")", ";", "return", ";", "}", "assert", "(", "RI", ".", "hasVGPRs", "(", "RC", ")", "&&", "\"Only VGPR spilling expected\"", ")", ";", "unsigned", "Opcode", "=", "getVGPRSpillRestoreOpcode", "(", "SpillSize", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opcode", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addReg", "(", "MFI", "->", "getScratchRSrcReg", "(", ")", ")", ".", "addReg", "(", "MFI", "->", "getFrameOffsetReg", "(", ")", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "4", "AMDGPU::SReg_32_XM0RegClass", "1", "AMDGPU::M0", "\"SIInstrInfo::loadRegFromStackSlot - Do not know how to\"", "\" restore register\"", "AMDGPU::IMPLICIT_DEF", "\"Only VGPR spilling expected\"", "0"], "File": "SIInstrInfo (2)", "Func": "loadRegFromStackSlot", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1664, "Length": 418, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "x86_elf_aligned_decl_common", "(", "FILE", "*", "file", ",", "tree", "decl", ",", "const", "char", "*", "name", ",", "unsigned", "HOST_WIDE_INT", "size", ",", "unsigned", "align", ")", "{", "if", "(", "(", "ix86_cmodel", "==", "CM_MEDIUM", "||", "ix86_cmodel", "==", "CM_MEDIUM_PIC", ")", "&&", "size", ">", "(", "unsigned", "int", ")", "ix86_section_threshold", ")", "{", "switch_to_section", "(", "get_named_section", "(", "decl", ",", "\".lbss\"", ",", "0", ")", ")", ";", "fputs", "(", "LARGECOMM_SECTION_ASM_OP", ",", "file", ")", ";", "}", "else", "fputs", "(", "COMMON_ASM_OP", ",", "file", ")", ";", "assemble_name", "(", "file", ",", "name", ")", ";", "fprintf", "(", "file", ",", "\",\"", "HOST_WIDE_INT_PRINT_UNSIGNED", "\",%u\\n\"", ",", "size", ",", "align", "/", "BITS_PER_UNIT", ")", ";", "}", ""], "natrual_language": ["This", "says", "how", "to", "output", "assembler", "code", "to", "declare", "an", "uninitialized", "external", "linkage", "data", "object", ".", "For", "medium", "model", "x86-64", "we", "need", "to", "use", "LARGECOMM_SECTION_ASM_OP", "opcode", "for", "large", "objects", "."], "TS_V_token": ["i386", "\".lbss\"", "0", "\",\"", "\",%u\\n\""], "File": "i386", "Func": "x86_elf_aligned_decl_common", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1665, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "frv_io_handle_use_1", "(", "rtx", "*", "x", ",", "void", "*", "data", ")", "{", "HARD_REG_SET", "*", "set", "=", "data", ";", "unsigned", "int", "regno", ";", "if", "(", "REG_P", "(", "*", "x", ")", ")", "FOR_EACH_REGNO", "(", "regno", ",", "*", "x", ")", "SET_HARD_REG_BIT", "(", "*", "set", ",", "regno", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["A", "for_each_rtx", "callback", "for", "which", "DATA", "points", "to", "a", "HARD_REG_SET", ".", "Add", "every", "register", "in", "*", "X", "to", "the", "set", "."], "TS_V_token": ["frv", "0"], "File": "frv2", "Func": "frv_io_handle_use_1", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 1666, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "arm_needs_doubleword_align", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "if", "(", "!", "type", ")", "return", "GET_MODE_ALIGNMENT", "(", "mode", ")", ">", "PARM_BOUNDARY", ";", "if", "(", "!", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "return", "TYPE_ALIGN", "(", "TYPE_MAIN_VARIANT", "(", "type", ")", ")", ">", "PARM_BOUNDARY", ";", "if", "(", "TREE_CODE", "(", "type", ")", "==", "ARRAY_TYPE", ")", "return", "TYPE_ALIGN", "(", "TREE_TYPE", "(", "type", ")", ")", ">", "PARM_BOUNDARY", ";", "int", "ret", "=", "0", ";", "for", "(", "tree", "field", "=", "TYPE_FIELDS", "(", "type", ")", ";", "field", ";", "field", "=", "DECL_CHAIN", "(", "field", ")", ")", "if", "(", "DECL_ALIGN", "(", "field", ")", ">", "PARM_BOUNDARY", ")", "{", "if", "(", "TREE_CODE", "(", "field", ")", "==", "FIELD_DECL", ")", "return", "1", ";", "else", "ret", "=", "-", "1", ";", "}", "return", "ret", ";", "}", ""], "natrual_language": ["Return", "1", "if", "double", "word", "alignment", "is", "required", "for", "argument", "passing", ".", "Return", "-1", "if", "double", "word", "alignment", "used", "to", "be", "required", "for", "argument", "passing", "before", "PR77728", "ABI", "fix", ",", "but", "is", "not", "required", "anymore", ".", "Return", "0", "if", "double", "word", "alignment", "is", "not", "required", "and", "was", "n't", "requried", "before", "either", "."], "TS_V_token": ["arm", "0", "1", "1"], "File": "arm6", "Func": "arm_needs_doubleword_align", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1667, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "nvptx_function_arg_boundary", "(", "machine_mode", "mode", ",", "const_tree", "ARG_UNUSED", "(", "type", ")", ")", "{", "return", "GET_MODE_ALIGNMENT", "(", "mode", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_ARG_BOUNDARY", "."], "TS_V_token": ["nvptx"], "File": "nvptx", "Func": "nvptx_function_arg_boundary", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 1668, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "analyzeCompare", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "&", "SrcReg", ",", "unsigned", "&", "SrcReg2", ",", "int", "&", "CmpMask", ",", "int", "&", "CmpValue", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "AArch64", "::", "PTEST_PP", ":", "SrcReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "0", ";", "return", "true", ";", "case", "AArch64", "::", "SUBSWrr", ":", "case", "AArch64", "::", "SUBSWrs", ":", "case", "AArch64", "::", "SUBSWrx", ":", "case", "AArch64", "::", "SUBSXrr", ":", "case", "AArch64", "::", "SUBSXrs", ":", "case", "AArch64", "::", "SUBSXrx", ":", "case", "AArch64", "::", "ADDSWrr", ":", "case", "AArch64", "::", "ADDSWrs", ":", "case", "AArch64", "::", "ADDSWrx", ":", "case", "AArch64", "::", "ADDSXrr", ":", "case", "AArch64", "::", "ADDSXrs", ":", "case", "AArch64", "::", "ADDSXrx", ":", "SrcReg", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ";", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "0", ";", "return", "true", ";", "case", "AArch64", "::", "SUBSWri", ":", "case", "AArch64", "::", "ADDSWri", ":", "case", "AArch64", "::", "SUBSXri", ":", "case", "AArch64", "::", "ADDSXri", ":", "SrcReg", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "0", ";", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "!=", "0", ")", ";", "return", "true", ";", "case", "AArch64", "::", "ANDSWri", ":", "case", "AArch64", "::", "ANDSXri", ":", "SrcReg", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "0", ";", "CmpMask", "=", "~", "0", ";", "CmpValue", "=", "(", "AArch64_AM", "::", "decodeLogicalImmediate", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ",", "MI", "->", "getOpcode", "(", ")", "==", "AArch64", "::", "ANDSWri", "?", "32", ":", "64", ")", "!=", "0", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["analyzeCompare", "-", "For", "a", "comparison", "instruction", ",", "return", "the", "source", "registers", "in", "SrcReg", "and", "SrcReg2", "if", "having", "two", "register", "operands", ",", "and", "the", "value", "it", "compares", "against", "in", "CmpValue", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::PTEST_PP", "0", "1", "0", "0", "AArch64::SUBSWrr", "AArch64::SUBSWrs", "AArch64::SUBSWrx", "AArch64::SUBSXrr", "AArch64::SUBSXrs", "AArch64::SUBSXrx", "AArch64::ADDSWrr", "AArch64::ADDSWrs", "AArch64::ADDSWrx", "AArch64::ADDSXrr", "AArch64::ADDSXrs", "AArch64::ADDSXrx", "1", "2", "0", "0", "AArch64::SUBSWri", "AArch64::ADDSWri", "AArch64::SUBSXri", "AArch64::ADDSXri", "1", "0", "0", "2", "0", "AArch64::ANDSWri", "AArch64::ANDSXri", "1", "0", "0", "AArch64_AM::decodeLogicalImmediate", "2", "AArch64::ANDSWri", "32", "64", "0"], "File": "AArch64InstrInfo73", "Func": "analyzeCompare", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1669, "Length": 320, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "AVRRegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{", "return", "CSR_Normal_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["AVR", "AVR"], "File": "AVRRegisterInfo4", "Func": "getCallPreservedMask", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1670, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_harden_sls_retbr_p", "(", "void", ")", "{", "return", "aarch64_sls_hardening", "&", "SLS_RETBR", ";", "}", ""], "natrual_language": ["Return", "whether", "we", "should", "mitigatate", "Straight", "Line", "Speculation", "for", "the", "RET", "and", "BR", "instructions", "."], "TS_V_token": ["aarch64"], "File": "aarch641", "Func": "aarch64_harden_sls_retbr_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1671, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLoweringBase", "::", "LegalizeTypeAction", "getPreferredVectorAction", "(", "MVT", "VT", ")", "const", "override", "{", "if", "(", "VT", ".", "getScalarSizeInBits", "(", ")", "%", "8", "==", "0", ")", "return", "TypeWidenVector", ";", "return", "TargetLoweringBase", "::", "getPreferredVectorAction", "(", "VT", ")", ";", "}", ""], "natrual_language": ["Customize", "the", "preferred", "legalization", "strategy", "for", "certain", "types", "."], "TS_V_token": ["PowerPC", "8", "0"], "File": "PPCISelLowering (2)2", "Func": "getPreferredVectorAction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1672, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "DataLayout", "*", "getDataLayout", "(", ")", "const", "override", "{", "return", "&", "DL", ";", "}", ""], "natrual_language": ["Return", "the", "DataLayout", "associated", "with", "the", "module", "this", "SCEV", "instance", "is", "operating", "on", "."], "TS_V_token": ["Hexagon"], "File": "HexagonTargetMachine17", "Func": "getDataLayout", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1673, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isFPImmLegal", "(", "const", "APFloat", "&", "Imm", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "hasVFP3", "(", ")", ")", "return", "false", ";", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "return", "ARM_AM", "::", "getFP32Imm", "(", "Imm", ")", "!=", "-", "1", ";", "if", "(", "VT", "==", "MVT", "::", "f64", ")", "return", "ARM_AM", "::", "getFP64Imm", "(", "Imm", ")", "!=", "-", "1", ";", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "can", "instruction", "select", "the", "specified", "FP", "immediate", "natively", "."], "TS_V_token": ["ARM", "ARM", "MVT::f32", "ARM_AM::getFP32Imm", "1", "MVT::f64", "ARM_AM::getFP64Imm", "1"], "File": "ARMISelLowering (2)", "Func": "isFPImmLegal", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1674, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "avr_section_type_flags", "(", "tree", "decl", ",", "const", "char", "*", "name", ",", "int", "reloc", ")", "{", "unsigned", "int", "flags", "=", "default_section_type_flags", "(", "decl", ",", "name", ",", "reloc", ")", ";", "if", "(", "startswith", "(", "name", ",", "\".noinit\"", ")", ")", "{", "if", "(", "decl", "&&", "TREE_CODE", "(", "decl", ")", "==", "VAR_DECL", "&&", "DECL_INITIAL", "(", "decl", ")", "==", "NULL_TREE", ")", "flags", "|=", "SECTION_BSS", ";", "else", "warning", "(", "0", ",", "\"only uninitialized variables can be placed in the \"", "\"%<.noinit%> section\"", ")", ";", "}", "if", "(", "decl", "&&", "DECL_P", "(", "decl", ")", "&&", "avr_progmem_p", "(", "decl", ",", "DECL_ATTRIBUTES", "(", "decl", ")", ")", ")", "{", "addr_space_t", "as", "=", "TYPE_ADDR_SPACE", "(", "TREE_TYPE", "(", "decl", ")", ")", ";", "if", "(", "ADDR_SPACE_GENERIC_P", "(", "as", ")", ")", "as", "=", "ADDR_SPACE_FLASH", ";", "flags", "|=", "as", "*", "SECTION_MACH_DEP", ";", "flags", "&=", "~", "SECTION_WRITE", ";", "flags", "&=", "~", "SECTION_BSS", ";", "}", "return", "flags", ";", "}", ""], "natrual_language": ["Implement", "`", "TARGET_SECTION_TYPE_FLAGS", "'", "."], "TS_V_token": ["avr", "\".noinit\"", "0", "\"only uninitialized variables can be placed in the \"", "\"%<.noinit%> section\""], "File": "avr", "Func": "avr_section_type_flags", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1675, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips16_gp_pseudo_reg", "(", "void", ")", "{", "if", "(", "cfun", "->", "machine", "->", "mips16_gp_pseudo_rtx", "==", "NULL_RTX", ")", "{", "rtx", "unspec", ";", "rtx", "insn", ",", "scan", ";", "cfun", "->", "machine", "->", "mips16_gp_pseudo_rtx", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "start_sequence", "(", ")", ";", "unspec", "=", "gen_rtx_UNSPEC", "(", "VOIDmode", ",", "gen_rtvec", "(", "1", ",", "const0_rtx", ")", ",", "UNSPEC_GP", ")", ";", "emit_move_insn", "(", "cfun", "->", "machine", "->", "mips16_gp_pseudo_rtx", ",", "gen_rtx_CONST", "(", "Pmode", ",", "unspec", ")", ")", ";", "insn", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "push_topmost_sequence", "(", ")", ";", "for", "(", "scan", "=", "get_insns", "(", ")", ";", "scan", "!=", "NULL_RTX", ";", "scan", "=", "NEXT_INSN", "(", "scan", ")", ")", "if", "(", "NOTE_P", "(", "scan", ")", "&&", "NOTE_LINE_NUMBER", "(", "scan", ")", "==", "NOTE_INSN_FUNCTION_BEG", ")", "break", ";", "if", "(", "scan", "==", "NULL_RTX", ")", "scan", "=", "get_insns", "(", ")", ";", "insn", "=", "emit_insn_after", "(", "insn", ",", "scan", ")", ";", "pop_topmost_sequence", "(", ")", ";", "}", "return", "cfun", "->", "machine", "->", "mips16_gp_pseudo_rtx", ";", "}", ""], "natrual_language": ["If", "we", "can", "access", "small", "data", "directly", "(", "using", "gp-relative", "relocation", "operators", ")", "return", "the", "small", "data", "pointer", ",", "otherwise", "return", "null", ".", "For", "each", "mips16", "function", "which", "refers", "to", "GP", "relative", "symbols", ",", "we", "use", "a", "pseudo", "register", ",", "initialized", "at", "the", "start", "of", "the", "function", ",", "to", "hold", "the", "$", "gp", "value", "."], "TS_V_token": ["mips", "1"], "File": "mips3", "Func": "mips16_gp_pseudo_reg", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1676, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MipsTargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InFlag", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "SDLoc", "DL", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ",", "TargetLowering", "::", "CallLoweringInfo", "&", "CLI", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "MipsCCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC_Mips", ",", "CLI", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Can only return in registers!\"", ")", ";", "SDValue", "Val", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "DL", ",", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ",", "RVLocs", "[", "i", "]", ".", "getLocVT", "(", ")", ",", "InFlag", ")", ";", "Chain", "=", "Val", ".", "getValue", "(", "1", ")", ";", "InFlag", "=", "Val", ".", "getValue", "(", "2", ")", ";", "if", "(", "VA", ".", "isUpperBitsInLoc", "(", ")", ")", "{", "unsigned", "ValSizeInBits", "=", "Ins", "[", "i", "]", ".", "ArgVT", ".", "getSizeInBits", "(", ")", ";", "unsigned", "LocSizeInBits", "=", "VA", ".", "getLocVT", "(", ")", ".", "getSizeInBits", "(", ")", ";", "unsigned", "Shift", "=", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "ZExtUpper", "?", "ISD", "::", "SRL", ":", "ISD", "::", "SRA", ";", "Val", "=", "DAG", ".", "getNode", "(", "Shift", ",", "DL", ",", "VA", ".", "getLocVT", "(", ")", ",", "Val", ",", "DAG", ".", "getConstant", "(", "LocSizeInBits", "-", "ValSizeInBits", ",", "DL", ",", "VA", ".", "getLocVT", "(", ")", ")", ")", ";", "}", "switch", "(", "VA", ".", "getLocInfo", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown loc info!\"", ")", ";", "case", "CCValAssign", "::", "Full", ":", "break", ";", "case", "CCValAssign", "::", "BCvt", ":", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "BITCAST", ",", "DL", ",", "VA", ".", "getValVT", "(", ")", ",", "Val", ")", ";", "break", ";", "case", "CCValAssign", "::", "AExt", ":", "case", "CCValAssign", "::", "AExtUpper", ":", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "TRUNCATE", ",", "DL", ",", "VA", ".", "getValVT", "(", ")", ",", "Val", ")", ";", "break", ";", "case", "CCValAssign", "::", "ZExt", ":", "case", "CCValAssign", "::", "ZExtUpper", ":", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "AssertZext", ",", "DL", ",", "VA", ".", "getLocVT", "(", ")", ",", "Val", ",", "DAG", ".", "getValueType", "(", "VA", ".", "getValVT", "(", ")", ")", ")", ";", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "TRUNCATE", ",", "DL", ",", "VA", ".", "getValVT", "(", ")", ",", "Val", ")", ";", "break", ";", "case", "CCValAssign", "::", "SExt", ":", "case", "CCValAssign", "::", "SExtUpper", ":", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "AssertSext", ",", "DL", ",", "VA", ".", "getLocVT", "(", ")", ",", "Val", ",", "DAG", ".", "getValueType", "(", "VA", ".", "getValVT", "(", ")", ")", ")", ";", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "TRUNCATE", ",", "DL", ",", "VA", ".", "getValVT", "(", ")", ",", "Val", ")", ";", "break", ";", "}", "InVals", ".", "push_back", "(", "Val", ")", ";", "}", "return", "Chain", ";", "}", ""], "natrual_language": ["LowerCallResult", "-", "Lower", "the", "result", "values", "of", "an", "ISD", ":", ":CALL", "into", "the", "appropriate", "copies", "out", "of", "appropriate", "physical", "registers", "."], "TS_V_token": ["Mips", "Mips", "ISD::InputArg", "16", "Mips", "Mips", "0", "\"Can only return in registers!\"", "1", "2", "ISD::SRL", "ISD::SRA", "\"Unknown loc info!\"", "ISD::BITCAST", "ISD::TRUNCATE", "ISD::AssertZext", "ISD::TRUNCATE", "ISD::AssertSext", "ISD::TRUNCATE"], "File": "MipsISelLowering (2)5", "Func": "LowerCallResult", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1677, "Length": 503, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnFunction", "(", "Function", "&", "F", ")", "override", "{", "return", "BPFAbstractMemberAccess", "(", "TM", ")", ".", "run", "(", "F", ")", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["BPF", "BPF"], "File": "BPFAbstractMemberAccess1", "Func": "runOnFunction", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1678, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVFrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "const", "RISCVRegisterInfo", "*", "RegInfo", "=", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "&", "RISCV", "::", "GPRRegClass", ";", "auto", "*", "RVFI", "=", "MF", ".", "getInfo", "<", "RISCVMachineFunctionInfo", ">", "(", ")", ";", "int64_t", "RVVStackSize", "=", "assignRVVStackObjectOffsets", "(", "MFI", ")", ";", "RVFI", "->", "setRVVStackSize", "(", "RVVStackSize", ")", ";", "const", "RISCVInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "if", "(", "!", "isInt", "<", "11", ">", "(", "MFI", ".", "estimateStackSize", "(", "MF", ")", ")", "||", "hasRVVSpillWithFIs", "(", "MF", ",", "TII", ")", ")", "{", "int", "RegScavFI", "=", "MFI", ".", "CreateStackObject", "(", "RegInfo", "->", "getSpillSize", "(", "*", "RC", ")", ",", "RegInfo", "->", "getSpillAlign", "(", "*", "RC", ")", ",", "false", ")", ";", "RS", "->", "addScavengingFrameIndex", "(", "RegScavFI", ")", ";", "if", "(", "RVVStackSize", "!=", "0", ")", "{", "int", "RVVRegScavFI", "=", "MFI", ".", "CreateStackObject", "(", "RegInfo", "->", "getSpillSize", "(", "*", "RC", ")", ",", "RegInfo", "->", "getSpillAlign", "(", "*", "RC", ")", ",", "false", ")", ";", "RS", "->", "addScavengingFrameIndex", "(", "RVVRegScavFI", ")", ";", "}", "}", "if", "(", "MFI", ".", "getCalleeSavedInfo", "(", ")", ".", "empty", "(", ")", "||", "RVFI", "->", "useSaveRestoreLibCalls", "(", "MF", ")", ")", "{", "RVFI", "->", "setCalleeSavedStackSize", "(", "0", ")", ";", "return", ";", "}", "unsigned", "Size", "=", "0", ";", "for", "(", "const", "auto", "&", "Info", ":", "MFI", ".", "getCalleeSavedInfo", "(", ")", ")", "{", "int", "FrameIdx", "=", "Info", ".", "getFrameIdx", "(", ")", ";", "if", "(", "MFI", ".", "getStackID", "(", "FrameIdx", ")", "!=", "TargetStackID", "::", "Default", ")", "continue", ";", "Size", "+=", "MFI", ".", "getObjectSize", "(", "FrameIdx", ")", ";", "}", "RVFI", "->", "setCalleeSavedStackSize", "(", "Size", ")", ";", "if", "(", "RVVStackSize", "&&", "!", "hasFP", "(", "MF", ")", "&&", "Size", "%", "8", "!=", "0", ")", "{", "RVFI", "->", "setRVVPadding", "(", "getStackAlign", "(", ")", ".", "value", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["processFunctionBeforeFrameFinalized", "-", "This", "method", "is", "called", "immediately", "before", "the", "specified", "function", "'s", "frame", "layout", "(", "MF.getFrameInfo", "(", ")", ")", "is", "finalized", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "RISCV", "RISCV::GPRRegClass", "RISCV", "RISCV", "RISCV", "11", "0", "0", "0", "8", "0"], "File": "RISCVFrameLowering11", "Func": "processFunctionBeforeFrameFinalized", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1679, "Length": 321, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "struct", "constant_pool", "*", "s390_mainpool_start", "(", "void", ")", "{", "struct", "constant_pool", "*", "pool", ";", "rtx_insn", "*", "insn", ";", "pool", "=", "s390_alloc_pool", "(", ")", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "if", "(", "NONJUMP_INSN_P", "(", "insn", ")", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "SET", "&&", "GET_CODE", "(", "SET_SRC", "(", "PATTERN", "(", "insn", ")", ")", ")", "==", "UNSPEC_VOLATILE", "&&", "XINT", "(", "SET_SRC", "(", "PATTERN", "(", "insn", ")", ")", ",", "1", ")", "==", "UNSPECV_MAIN_POOL", ")", "{", "if", "(", "pool", "->", "pool_insn", ")", "{", "insn", "=", "PREV_INSN", "(", "insn", ")", ";", "delete_insn", "(", "NEXT_INSN", "(", "insn", ")", ")", ";", "continue", ";", "}", "pool", "->", "pool_insn", "=", "insn", ";", "}", "if", "(", "NONJUMP_INSN_P", "(", "insn", ")", "||", "CALL_P", "(", "insn", ")", ")", "{", "rtx", "pool_ref", "=", "NULL_RTX", ";", "find_constant_pool_ref", "(", "insn", ",", "&", "pool_ref", ")", ";", "if", "(", "pool_ref", ")", "{", "rtx", "constant", "=", "get_pool_constant", "(", "pool_ref", ")", ";", "machine_mode", "mode", "=", "get_pool_mode", "(", "pool_ref", ")", ";", "s390_add_constant", "(", "pool", ",", "constant", ",", "mode", ")", ";", "}", "}", "if", "(", "NOTE_P", "(", "insn", ")", "&&", "NOTE_KIND", "(", "insn", ")", "==", "NOTE_INSN_SWITCH_TEXT_SECTIONS", "&&", "!", "pool", "->", "emit_pool_after", ")", "pool", "->", "emit_pool_after", "=", "PREV_INSN", "(", "insn", ")", ";", "}", "gcc_assert", "(", "pool", "->", "pool_insn", "||", "pool", "->", "size", "==", "0", ")", ";", "if", "(", "pool", "->", "size", ">=", "4096", ")", "{", "remove_insn", "(", "pool", "->", "pool_insn", ")", ";", "s390_free_pool", "(", "pool", ")", ";", "pool", "=", "NULL", ";", "}", "if", "(", "pool", "&&", "!", "pool", "->", "emit_pool_after", ")", "pool", "->", "emit_pool_after", "=", "get_last_insn", "(", ")", ";", "return", "pool", ";", "}", ""], "natrual_language": ["Collect", "main", "literal", "pool", ".", "Return", "NULL", "on", "overflow", "."], "TS_V_token": ["s390", "1", "0", "4096"], "File": "s390", "Func": "s390_mainpool_start", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1680, "Length": 267, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MachineConstPropagator", "::", "propagate", "(", "MachineFunction", "&", "MF", ")", "{", "MachineBasicBlock", "*", "Entry", "=", "GraphTraits", "<", "MachineFunction", "*", ">", "::", "getEntryNode", "(", "&", "MF", ")", ";", "unsigned", "EntryNum", "=", "Entry", "->", "getNumber", "(", ")", ";", "FlowQ", ".", "push", "(", "CFGEdge", "(", "EntryNum", ",", "EntryNum", ")", ")", ";", "while", "(", "!", "FlowQ", ".", "empty", "(", ")", ")", "{", "CFGEdge", "Edge", "=", "FlowQ", ".", "front", "(", ")", ";", "FlowQ", ".", "pop", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Picked edge BB#\"", "<<", "Edge", ".", "first", "<<", "\"->BB#\"", "<<", "Edge", ".", "second", "<<", "'\\n'", ")", ";", "if", "(", "Edge", ".", "first", "!=", "EntryNum", ")", "if", "(", "EdgeExec", ".", "count", "(", "Edge", ")", ")", "continue", ";", "EdgeExec", ".", "insert", "(", "Edge", ")", ";", "MachineBasicBlock", "*", "SB", "=", "MF", ".", "getBlockNumbered", "(", "Edge", ".", "second", ")", ";", "MachineBasicBlock", "::", "const_iterator", "It", "=", "SB", "->", "begin", "(", ")", ",", "End", "=", "SB", "->", "end", "(", ")", ";", "while", "(", "It", "!=", "End", "&&", "It", "->", "isPHI", "(", ")", ")", "{", "InstrExec", ".", "insert", "(", "&", "*", "It", ")", ";", "visitPHI", "(", "*", "It", ")", ";", "++", "It", ";", "}", "while", "(", "It", "!=", "End", "&&", "It", "->", "isDebugValue", "(", ")", ")", "++", "It", ";", "assert", "(", "It", "==", "End", "||", "!", "It", "->", "isPHI", "(", ")", ")", ";", "if", "(", "It", "!=", "End", "&&", "InstrExec", ".", "count", "(", "&", "*", "It", ")", ")", "continue", ";", "while", "(", "It", "!=", "End", "&&", "!", "It", "->", "isBranch", "(", ")", ")", "{", "if", "(", "!", "It", "->", "isDebugValue", "(", ")", ")", "{", "InstrExec", ".", "insert", "(", "&", "*", "It", ")", ";", "visitNonBranch", "(", "*", "It", ")", ";", "}", "++", "It", ";", "}", "if", "(", "It", "!=", "End", ")", "{", "visitBranchesFrom", "(", "*", "It", ")", ";", "}", "else", "{", "unsigned", "SBN", "=", "SB", "->", "getNumber", "(", ")", ";", "for", "(", "const", "MachineBasicBlock", "*", "SSB", ":", "SB", "->", "successors", "(", ")", ")", "FlowQ", ".", "push", "(", "CFGEdge", "(", "SBN", ",", "SSB", "->", "getNumber", "(", ")", ")", ")", ";", "}", "}", "DEBUG", "(", "{", "dbgs", "(", ")", "<<", "\"Cells after propagation:\\n\"", ";", "Cells", ".", "print", "(", "dbgs", "(", ")", ",", "MCE", ".", "TRI", ")", ";", "dbgs", "(", ")", "<<", "\"Dead CFG edges:\\n\"", ";", "for", "(", "const", "MachineBasicBlock", "&", "B", ":", "MF", ")", "{", "unsigned", "BN", "=", "B", ".", "getNumber", "(", ")", ";", "for", "(", "const", "MachineBasicBlock", "*", "SB", ":", "B", ".", "successors", "(", ")", ")", "{", "unsigned", "SN", "=", "SB", "->", "getNumber", "(", ")", ";", "if", "(", "!", "EdgeExec", ".", "count", "(", "CFGEdge", "(", "BN", ",", "SN", ")", ")", ")", "dbgs", "(", ")", "<<", "\" BB#\"", "<<", "BN", "<<", "\" -> BB#\"", "<<", "SN", "<<", "'\\n'", ";", "}", "}", "}", ")", ";", "}", ""], "natrual_language": ["Propgate", "synthetic", "entry", "counts", "on", "a", "callgraph", "CG", "."], "TS_V_token": ["Hexagon", "\"Picked edge BB#\"", "\"->BB#\"", "\"Cells after propagation:\\n\"", "\"Dead CFG edges:\\n\"", "\" BB#\"", "\" -> BB#\""], "File": "HexagonConstPropagation", "Func": "propagate", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1681, "Length": 434, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CAHPDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"== \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ")", ";", "Node", "->", "setNodeId", "(", "-", "1", ")", ";", "return", ";", "}", "if", "(", "Node", "->", "getOpcode", "(", ")", "==", "ISD", "::", "FrameIndex", ")", "{", "SDLoc", "DL", "(", "Node", ")", ";", "SDValue", "Imm", "=", "CurDAG", "->", "getTargetConstant", "(", "0", ",", "DL", ",", "MVT", "::", "i16", ")", ";", "int", "FI", "=", "dyn_cast", "<", "FrameIndexSDNode", ">", "(", "Node", ")", "->", "getIndex", "(", ")", ";", "EVT", "VT", "=", "Node", "->", "getValueType", "(", "0", ")", ";", "SDValue", "TFI", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FI", ",", "VT", ")", ";", "ReplaceNode", "(", "Node", ",", "CurDAG", "->", "getMachineNode", "(", "CAHP", "::", "ADDI", ",", "DL", ",", "VT", ",", "TFI", ",", "Imm", ")", ")", ";", "return", ";", "}", "SelectCode", "(", "Node", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["CAHP", "CAHP", "\"== \"", "\"\\n\"", "1", "ISD::FrameIndex", "0", "MVT::i16", "0", "CAHP::ADDI"], "File": "CAHPISelDAGToDAG", "Func": "Select", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1682, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "MOSTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "MOSPassConfig", "(", "*", "this", ",", "PM", ")", ";", "}", ""], "natrual_language": ["Create", "a", "pass", "configuration", "object", "to", "be", "used", "by", "addPassToEmitX", "methods", "for", "generating", "a", "pipeline", "of", "CodeGen", "passes", "."], "TS_V_token": ["MOS", "MOS", "MOS"], "File": "MOSTargetMachine", "Func": "createPassConfig", "Target": "MOS", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1683, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCTTIImpl", "::", "getPrefetchDistance", "(", ")", "const", "{", "return", "300", ";", "}", ""], "natrual_language": ["Return", "the", "preferred", "prefetch", "distance", "in", "terms", "of", "instructions", "."], "TS_V_token": ["PowerPC", "PPC", "300"], "File": "PPCTargetTransformInfo1", "Func": "getPrefetchDistance", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1684, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nvptx_assemble_undefined_decl", "(", "FILE", "*", "file", ",", "const", "char", "*", "name", ",", "const_tree", "decl", ")", "{", "if", "(", "DECL_IN_CONSTANT_POOL", "(", "decl", ")", ")", "return", ";", "write_var_marker", "(", "file", ",", "false", ",", "TREE_PUBLIC", "(", "decl", ")", ",", "name", ")", ";", "fprintf", "(", "file", ",", "\"\\t.extern \"", ")", ";", "tree", "size", "=", "DECL_SIZE_UNIT", "(", "decl", ")", ";", "nvptx_assemble_decl_begin", "(", "file", ",", "name", ",", "section_for_decl", "(", "decl", ")", ",", "TREE_TYPE", "(", "decl", ")", ",", "size", "?", "tree_to_shwi", "(", "size", ")", ":", "0", ",", "DECL_ALIGN", "(", "decl", ")", ")", ";", "nvptx_assemble_decl_end", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_ASSEMBLE_UNDEFINED_DECL", ".", "Write", "an", "extern", "declaration", "only", "for", "variable", "DECL", "with", "NAME", "to", "FILE", "."], "TS_V_token": ["nvptx", "\"\\t.extern \"", "0"], "File": "nvptx3", "Func": "nvptx_assemble_undefined_decl", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 1685, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"Local Dynamic TLS Access Clean-up\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"Local Dynamic TLS Access Clean-up\""], "File": "X86InstrInfo103", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1686, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "ARM64NamedImmMapper", "::", "toString", "(", "uint32_t", "Value", ",", "bool", "&", "Valid", ")", "const", "{", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "NumPairs", ";", "++", "i", ")", "{", "if", "(", "Pairs", "[", "i", "]", ".", "Value", "==", "Value", ")", "{", "Valid", "=", "true", ";", "return", "Pairs", "[", "i", "]", ".", "Name", ";", "}", "}", "Valid", "=", "false", ";", "return", "StringRef", "(", ")", ";", "}", ""], "natrual_language": ["Convert", "to", "a", "decimal", "representation", "in", "a", "string", "."], "TS_V_token": ["ARM64", "ARM64", "0"], "File": "ARM64BaseInfo", "Func": "toString", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1687, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch_macro_fusion_pair_p", "(", "rtx_insn", "*", "prev", ",", "rtx_insn", "*", "curr", ")", "{", "rtx", "set_dest", ";", "rtx", "prev_set", "=", "single_set", "(", "prev", ")", ";", "rtx", "curr_set", "=", "single_set", "(", "curr", ")", ";", "if", "(", "!", "prev_set", "||", "!", "curr_set", ")", "return", "false", ";", "if", "(", "any_condjump_p", "(", "curr", ")", ")", "return", "false", ";", "if", "(", "!", "arm_macro_fusion_p", "(", ")", ")", "return", "false", ";", "if", "(", "current_tune", "->", "fusible_ops", "&", "tune_params", "::", "FUSE_AES_AESMC", "&&", "aarch_crypto_can_dual_issue", "(", "prev", ",", "curr", ")", ")", "return", "true", ";", "if", "(", "current_tune", "->", "fusible_ops", "&", "tune_params", "::", "FUSE_MOVW_MOVT", ")", "{", "set_dest", "=", "SET_DEST", "(", "curr_set", ")", ";", "if", "(", "GET_MODE", "(", "set_dest", ")", "!=", "SImode", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "set_dest", ")", "==", "ZERO_EXTRACT", ")", "{", "if", "(", "CONST_INT_P", "(", "SET_SRC", "(", "curr_set", ")", ")", "&&", "CONST_INT_P", "(", "SET_SRC", "(", "prev_set", ")", ")", "&&", "REG_P", "(", "XEXP", "(", "set_dest", ",", "0", ")", ")", "&&", "REG_P", "(", "SET_DEST", "(", "prev_set", ")", ")", "&&", "REGNO", "(", "XEXP", "(", "set_dest", ",", "0", ")", ")", "==", "REGNO", "(", "SET_DEST", "(", "prev_set", ")", ")", ")", "return", "true", ";", "}", "else", "if", "(", "GET_CODE", "(", "SET_SRC", "(", "curr_set", ")", ")", "==", "LO_SUM", "&&", "REG_P", "(", "SET_DEST", "(", "curr_set", ")", ")", "&&", "REG_P", "(", "SET_DEST", "(", "prev_set", ")", ")", "&&", "GET_CODE", "(", "SET_SRC", "(", "prev_set", ")", ")", "==", "HIGH", "&&", "REGNO", "(", "SET_DEST", "(", "curr_set", ")", ")", "==", "REGNO", "(", "SET_DEST", "(", "prev_set", ")", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SCHED_MACRO_FUSION_PAIR_P", ".", "Return", "true", "if", "PREV", "and", "CURR", "should", "be", "kept", "together", "during", "scheduling", "."], "TS_V_token": ["arm", "0", "0"], "File": "arm5", "Func": "aarch_macro_fusion_pair_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1688, "Length": 244, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "standard_sse_constant_p", "(", "rtx", "x", ",", "machine_mode", "pred_mode", ")", "{", "machine_mode", "mode", ";", "if", "(", "!", "TARGET_SSE", ")", "return", "0", ";", "mode", "=", "GET_MODE", "(", "x", ")", ";", "if", "(", "x", "==", "const0_rtx", "||", "const0_operand", "(", "x", ",", "mode", ")", ")", "return", "1", ";", "if", "(", "x", "==", "constm1_rtx", "||", "vector_all_ones_operand", "(", "x", ",", "mode", ")", "||", "(", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_FLOAT", "||", "GET_MODE_CLASS", "(", "pred_mode", ")", "==", "MODE_VECTOR_FLOAT", ")", "&&", "float_vector_all_ones_operand", "(", "x", ",", "mode", ")", ")", ")", "{", "if", "(", "mode", "==", "VOIDmode", ")", "mode", "=", "pred_mode", ";", "switch", "(", "GET_MODE_SIZE", "(", "mode", ")", ")", "{", "case", "64", ":", "if", "(", "TARGET_AVX512F", ")", "return", "2", ";", "break", ";", "case", "32", ":", "if", "(", "TARGET_AVX2", ")", "return", "2", ";", "break", ";", "case", "16", ":", "if", "(", "TARGET_SSE2", ")", "return", "2", ";", "break", ";", "case", "0", ":", "gcc_unreachable", "(", ")", ";", "default", ":", "break", ";", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "1", "if", "X", "is", "all", "0s", "and", "2", "if", "x", "is", "all", "1s", "in", "supported", "SSE/AVX", "vector", "mode", "."], "TS_V_token": ["i386", "0", "1", "64", "2", "32", "2", "16", "2", "0", "0"], "File": "i386", "Func": "standard_sse_constant_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1689, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "reset", "(", ")", "{", "MappingSymbolCounter", "=", "0", ";", "State", "=", "EMS_None", ";", "MCELFStreamer", "::", "reset", "(", ")", ";", "}", ""], "natrual_language": ["Reset", "an", "existing", "scalar", "value", "for", "Def", "and", "a", "given", "Instance", "."], "TS_V_token": ["CSKY", "0"], "File": "CSKYELFStreamer", "Func": "reset", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1690, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emit_soft_tfmode_binop", "(", "enum", "rtx_code", "code", ",", "rtx", "*", "operands", ")", "{", "const", "char", "*", "func", ";", "switch", "(", "code", ")", "{", "case", "PLUS", ":", "func", "=", "\"_Qp_add\"", ";", "break", ";", "case", "MINUS", ":", "func", "=", "\"_Qp_sub\"", ";", "break", ";", "case", "MULT", ":", "func", "=", "\"_Qp_mul\"", ";", "break", ";", "case", "DIV", ":", "func", "=", "\"_Qp_div\"", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "emit_soft_tfmode_libcall", "(", "func", ",", "3", ",", "operands", ")", ";", "}", ""], "natrual_language": ["Expand", "soft-float", "TFmode", "calls", "to", "sparc", "abi", "routines", "."], "TS_V_token": ["sparc", "\"_Qp_add\"", "\"_Qp_sub\"", "\"_Qp_mul\"", "\"_Qp_div\"", "3"], "File": "sparc", "Func": "emit_soft_tfmode_binop", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1691, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "analyzeCompare", "(", "const", "MachineInstr", "&", "MI", ",", "Register", "&", "SrcReg", ",", "Register", "&", "SrcReg2", ",", "int", "&", "Mask", ",", "int", "&", "Value", ")", "const", "{", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opc", ")", "{", "default", ":", "return", "false", ";", "case", "PPC", "::", "CMPWI", ":", "case", "PPC", "::", "CMPLWI", ":", "case", "PPC", "::", "CMPDI", ":", "case", "PPC", "::", "CMPLDI", ":", "SrcReg", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "0", ";", "Value", "=", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "Mask", "=", "0xFFFF", ";", "return", "true", ";", "case", "PPC", "::", "CMPW", ":", "case", "PPC", "::", "CMPLW", ":", "case", "PPC", "::", "CMPD", ":", "case", "PPC", "::", "CMPLD", ":", "case", "PPC", "::", "FCMPUS", ":", "case", "PPC", "::", "FCMPUD", ":", "SrcReg", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ";", "Value", "=", "0", ";", "Mask", "=", "0", ";", "return", "true", ";", "}", "}", ""], "natrual_language": ["analyzeCompare", "-", "For", "a", "comparison", "instruction", ",", "return", "the", "source", "registers", "in", "SrcReg", "and", "SrcReg2", "if", "having", "two", "register", "operands", ",", "and", "the", "value", "it", "compares", "against", "in", "CmpValue", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::CMPWI", "PPC::CMPLWI", "PPC::CMPDI", "PPC::CMPLDI", "1", "0", "2", "0xFFFF", "PPC::CMPW", "PPC::CMPLW", "PPC::CMPD", "PPC::CMPLD", "PPC::FCMPUS", "PPC::FCMPUD", "1", "2", "0", "0"], "File": "PPCInstrInfo128", "Func": "analyzeCompare", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1692, "Length": 173, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonEarlyIfConversion", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "*", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "auto", "&", "ST", "=", "MF", ".", "getSubtarget", "(", ")", ";", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "ST", ".", "getRegisterInfo", "(", ")", ";", "MFN", "=", "&", "MF", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "MDT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "MLI", "=", "&", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "MBPI", "=", "EnableHexagonBP", "?", "&", "getAnalysis", "<", "MachineBranchProbabilityInfo", ">", "(", ")", ":", "nullptr", ";", "Deleted", ".", "clear", "(", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "MachineLoopInfo", "::", "iterator", "I", "=", "MLI", "->", "begin", "(", ")", ",", "E", "=", "MLI", "->", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "Changed", "|=", "visitLoop", "(", "*", "I", ")", ";", "Changed", "|=", "visitLoop", "(", "0", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "0"], "File": "HexagonEarlyIfConv26", "Func": "runOnMachineFunction", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1693, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MCS51TargetLowering", "::", "isOffsetFoldingLegal", "(", "const", "GlobalAddressSDNode", "*", "GA", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "folding", "a", "constant", "offset", "with", "the", "given", "GlobalAddress", "is", "legal", "."], "TS_V_token": ["MCS51", "MCS51"], "File": "MCS51ISelLowering", "Func": "isOffsetFoldingLegal", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1694, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", ",", "unsigned", ",", "MachineMemOperand", "::", "Flags", ",", "bool", "*", "Fast", ")", "const", "{", "if", "(", "Fast", ")", "{", "switch", "(", "VT", ".", "getSizeInBits", "(", ")", ")", "{", "default", ":", "*", "Fast", "=", "true", ";", "break", ";", "case", "128", ":", "*", "Fast", "=", "!", "Subtarget", ".", "isUnalignedMem16Slow", "(", ")", ";", "break", ";", "case", "256", ":", "*", "Fast", "=", "!", "Subtarget", ".", "isUnalignedMem32Slow", "(", ")", ";", "break", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "allows", "unaligned", "memory", "accesses", "of", "the", "specified", "type", "."], "TS_V_token": ["X86", "X86", "128", "256"], "File": "X86ISelLowering177", "Func": "allowsMisalignedMemoryAccesses", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1695, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ScheduleDAGPostRA", "::", "canAddEdge", "(", "SUnit", "*", "SuccSU", ",", "SUnit", "*", "PredSU", ")", "{", "return", "SuccSU", "==", "&", "ExitSU", "||", "!", "Topo", ".", "IsReachable", "(", "PredSU", ",", "SuccSU", ")", ";", "}", ""], "natrual_language": ["True", "if", "an", "edge", "can", "be", "added", "from", "PredSU", "to", "SuccSU", "without", "creating", "a", "cycle", "."], "TS_V_token": ["Patmos"], "File": "PatmosPostRAScheduler", "Func": "canAddEdge", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 1696, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createPPCISelDag", "(", "getPPCTargetMachine", "(", ")", ")", ")", ";", "if", "(", "!", "DisableCTRLoops", "&&", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createPPCCTRLoopsVerify", "(", ")", ")", ";", "if", "(", "getPPCSubtarget", "(", ")", ".", "hasVSX", "(", ")", ")", "addPass", "(", "createPPCVSXCopyPass", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC"], "File": "PPCTargetMachine52", "Func": "addInstSelector", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1697, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sparc_expand_prologue", "(", "void", ")", "{", "rtx", "insn", ";", "int", "i", ";", "sparc_leaf_function_p", "=", "optimize", ">", "0", "&&", "leaf_function_p", "(", ")", "&&", "only_leaf_regs_used", "(", ")", ";", "actual_fsize", "=", "sparc_compute_frame_size", "(", "get_frame_size", "(", ")", ",", "sparc_leaf_function_p", ")", ";", "sparc_prologue_data_valid_p", "=", "true", ";", "if", "(", "sparc_leaf_function_p", ")", "{", "frame_base_reg", "=", "stack_pointer_rtx", ";", "frame_base_offset", "=", "actual_fsize", "+", "SPARC_STACK_BIAS", ";", "}", "else", "{", "frame_base_reg", "=", "hard_frame_pointer_rtx", ";", "frame_base_offset", "=", "SPARC_STACK_BIAS", ";", "}", "if", "(", "actual_fsize", "==", "0", ")", ";", "else", "if", "(", "sparc_leaf_function_p", ")", "{", "if", "(", "actual_fsize", "<=", "4096", ")", "insn", "=", "emit_insn", "(", "gen_stack_pointer_inc", "(", "GEN_INT", "(", "-", "actual_fsize", ")", ")", ")", ";", "else", "if", "(", "actual_fsize", "<=", "8192", ")", "{", "insn", "=", "emit_insn", "(", "gen_stack_pointer_inc", "(", "GEN_INT", "(", "-", "4096", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "insn", "=", "emit_insn", "(", "gen_stack_pointer_inc", "(", "GEN_INT", "(", "4096", "-", "actual_fsize", ")", ")", ")", ";", "}", "else", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ";", "emit_move_insn", "(", "reg", ",", "GEN_INT", "(", "-", "actual_fsize", ")", ")", ";", "insn", "=", "emit_insn", "(", "gen_stack_pointer_inc", "(", "reg", ")", ")", ";", "REG_NOTES", "(", "insn", ")", "=", "gen_rtx_EXPR_LIST", "(", "REG_FRAME_RELATED_EXPR", ",", "gen_stack_pointer_inc", "(", "GEN_INT", "(", "-", "actual_fsize", ")", ")", ",", "REG_NOTES", "(", "insn", ")", ")", ";", "}", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "else", "{", "if", "(", "actual_fsize", "<=", "4096", ")", "insn", "=", "emit_insn", "(", "gen_save_register_window", "(", "GEN_INT", "(", "-", "actual_fsize", ")", ")", ")", ";", "else", "if", "(", "actual_fsize", "<=", "8192", ")", "{", "insn", "=", "emit_insn", "(", "gen_save_register_window", "(", "GEN_INT", "(", "-", "4096", ")", ")", ")", ";", "emit_insn", "(", "gen_stack_pointer_inc", "(", "GEN_INT", "(", "4096", "-", "actual_fsize", ")", ")", ")", ";", "}", "else", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ";", "emit_move_insn", "(", "reg", ",", "GEN_INT", "(", "-", "actual_fsize", ")", ")", ";", "insn", "=", "emit_insn", "(", "gen_save_register_window", "(", "reg", ")", ")", ";", "}", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "for", "(", "i", "=", "0", ";", "i", "<", "XVECLEN", "(", "PATTERN", "(", "insn", ")", ",", "0", ")", ";", "i", "++", ")", "RTX_FRAME_RELATED_P", "(", "XVECEXP", "(", "PATTERN", "(", "insn", ")", ",", "0", ",", "i", ")", ")", "=", "1", ";", "}", "if", "(", "num_gfregs", ")", "emit_save_or_restore_regs", "(", "SORR_SAVE", ")", ";", "if", "(", "flag_pic", "&&", "current_function_uses_pic_offset_table", ")", "load_pic_register", "(", "false", ")", ";", "}", ""], "natrual_language": ["Expand", "the", "function", "prologue", ".", "The", "prologue", "is", "responsible", "for", "reserving", "storage", "for", "the", "frame", ",", "saving", "the", "call-saved", "registers", "and", "loading", "the", "PIC", "register", "if", "needed", "."], "TS_V_token": ["sparc", "0", "0", "4096", "8192", "4096", "1", "4096", "1", "1", "4096", "8192", "4096", "4096", "1", "1", "0", "0", "0", "1"], "File": "sparc3", "Func": "sparc_expand_prologue", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1698, "Length": 371, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "SystemZTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "BB", ",", "DenseMap", "<", "MachineBasicBlock", "*", ",", "MachineBasicBlock", "*", ">", "*", "EM", ")", "const", "{", "const", "SystemZInstrInfo", "&", "TII", "=", "*", "TM", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "dl", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "assert", "(", "(", "MI", "->", "getOpcode", "(", ")", "==", "SystemZ", "::", "Select32", "||", "MI", "->", "getOpcode", "(", ")", "==", "SystemZ", "::", "SelectF32", "||", "MI", "->", "getOpcode", "(", ")", "==", "SystemZ", "::", "Select64", "||", "MI", "->", "getOpcode", "(", ")", "==", "SystemZ", "::", "SelectF64", ")", "&&", "\"Unexpected instr type to insert\"", ")", ";", "const", "BasicBlock", "*", "LLVM_BB", "=", "BB", "->", "getBasicBlock", "(", ")", ";", "MachineFunction", "::", "iterator", "I", "=", "BB", ";", "++", "I", ";", "MachineBasicBlock", "*", "thisMBB", "=", "BB", ";", "MachineFunction", "*", "F", "=", "BB", "->", "getParent", "(", ")", ";", "MachineBasicBlock", "*", "copy0MBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineBasicBlock", "*", "copy1MBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "SystemZCC", "::", "CondCodes", "CC", "=", "(", "SystemZCC", "::", "CondCodes", ")", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", ".", "getBrCond", "(", "CC", ")", ")", ".", "addMBB", "(", "copy1MBB", ")", ";", "F", "->", "insert", "(", "I", ",", "copy0MBB", ")", ";", "F", "->", "insert", "(", "I", ",", "copy1MBB", ")", ";", "for", "(", "MachineBasicBlock", "::", "succ_iterator", "SI", "=", "BB", "->", "succ_begin", "(", ")", ",", "SE", "=", "BB", "->", "succ_end", "(", ")", ";", "SI", "!=", "SE", ";", "++", "SI", ")", "EM", "->", "insert", "(", "std", "::", "make_pair", "(", "*", "SI", ",", "copy1MBB", ")", ")", ";", "copy1MBB", "->", "transferSuccessors", "(", "BB", ")", ";", "BB", "->", "addSuccessor", "(", "copy0MBB", ")", ";", "BB", "->", "addSuccessor", "(", "copy1MBB", ")", ";", "BB", "=", "copy0MBB", ";", "BB", "->", "addSuccessor", "(", "copy1MBB", ")", ";", "BB", "=", "copy1MBB", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", ".", "get", "(", "SystemZ", "::", "PHI", ")", ",", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "copy0MBB", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "thisMBB", ")", ";", "F", "->", "DeleteMachineInstr", "(", "MI", ")", ";", "return", "BB", ";", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ::Select32", "SystemZ::SelectF32", "SystemZ::Select64", "SystemZ::SelectF64", "\"Unexpected instr type to insert\"", "SystemZCC::CondCodes", "SystemZCC::CondCodes", "3", "SystemZ::PHI", "0", "2", "1"], "File": "SystemZISelLowering101", "Func": "EmitInstrWithCustomInserter", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1699, "Length": 367, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_split_simd_combine", "(", "rtx", "dst", ",", "rtx", "src1", ",", "rtx", "src2", ")", "{", "machine_mode", "src_mode", "=", "GET_MODE", "(", "src1", ")", ";", "machine_mode", "dst_mode", "=", "GET_MODE", "(", "dst", ")", ";", "gcc_assert", "(", "VECTOR_MODE_P", "(", "dst_mode", ")", ")", ";", "if", "(", "REG_P", "(", "dst", ")", "&&", "REG_P", "(", "src1", ")", "&&", "REG_P", "(", "src2", ")", ")", "{", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ";", "switch", "(", "src_mode", ")", "{", "case", "V8QImode", ":", "gen", "=", "gen_aarch64_simd_combinev8qi", ";", "break", ";", "case", "V4HImode", ":", "gen", "=", "gen_aarch64_simd_combinev4hi", ";", "break", ";", "case", "V2SImode", ":", "gen", "=", "gen_aarch64_simd_combinev2si", ";", "break", ";", "case", "V4HFmode", ":", "gen", "=", "gen_aarch64_simd_combinev4hf", ";", "break", ";", "case", "V2SFmode", ":", "gen", "=", "gen_aarch64_simd_combinev2sf", ";", "break", ";", "case", "DImode", ":", "gen", "=", "gen_aarch64_simd_combinedi", ";", "break", ";", "case", "DFmode", ":", "gen", "=", "gen_aarch64_simd_combinedf", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "emit_insn", "(", "gen", "(", "dst", ",", "src1", ",", "src2", ")", ")", ";", "return", ";", "}", "}", ""], "natrual_language": ["Split", "a", "complex", "SIMD", "combine", "."], "TS_V_token": ["aarch64"], "File": "aarch643", "Func": "aarch64_split_simd_combine", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1700, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "RISCVInstrInfo", "::", "convertToThreeAddress", "(", "MachineInstr", "&", "MI", ",", "LiveVariables", "*", "LV", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "CASE_WIDEOP_OPCODE_LMULS", "(", "FWADD_WV", ")", ":", "case", "CASE_WIDEOP_OPCODE_LMULS", "(", "FWSUB_WV", ")", ":", "case", "CASE_WIDEOP_OPCODE_LMULS", "(", "WADD_WV", ")", ":", "case", "CASE_WIDEOP_OPCODE_LMULS", "(", "WADDU_WV", ")", ":", "case", "CASE_WIDEOP_OPCODE_LMULS", "(", "WSUB_WV", ")", ":", "case", "CASE_WIDEOP_OPCODE_LMULS", "(", "WSUBU_WV", ")", ":", "{", "unsigned", "NewOpc", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected opcode\"", ")", ";", "CASE_WIDEOP_CHANGE_OPCODE_LMULS", "(", "FWADD_WV", ")", "CASE_WIDEOP_CHANGE_OPCODE_LMULS", "(", "FWSUB_WV", ")", "CASE_WIDEOP_CHANGE_OPCODE_LMULS", "(", "WADD_WV", ")", "CASE_WIDEOP_CHANGE_OPCODE_LMULS", "(", "WADDU_WV", ")", "CASE_WIDEOP_CHANGE_OPCODE_LMULS", "(", "WSUB_WV", ")", "CASE_WIDEOP_CHANGE_OPCODE_LMULS", "(", "WSUBU_WV", ")", "}", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "get", "(", "NewOpc", ")", ")", ".", "add", "(", "MI", ".", "getOperand", "(", "0", ")", ")", ".", "add", "(", "MI", ".", "getOperand", "(", "1", ")", ")", ".", "add", "(", "MI", ".", "getOperand", "(", "2", ")", ")", ".", "add", "(", "MI", ".", "getOperand", "(", "3", ")", ")", ".", "add", "(", "MI", ".", "getOperand", "(", "4", ")", ")", ";", "MIB", ".", "copyImplicitOps", "(", "MI", ")", ";", "if", "(", "LV", ")", "{", "unsigned", "NumOps", "=", "MI", ".", "getNumOperands", "(", ")", ";", "for", "(", "unsigned", "I", "=", "1", ";", "I", "<", "NumOps", ";", "++", "I", ")", "{", "MachineOperand", "&", "Op", "=", "MI", ".", "getOperand", "(", "I", ")", ";", "if", "(", "Op", ".", "isReg", "(", ")", "&&", "Op", ".", "isKill", "(", ")", ")", "LV", "->", "replaceKillInstruction", "(", "Op", ".", "getReg", "(", ")", ",", "MI", ",", "*", "MIB", ")", ";", "}", "}", "return", "MIB", ";", "}", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["convertToThreeAddress", "-", "This", "method", "must", "be", "implemented", "by", "targets", "that", "set", "the", "M_CONVERTIBLE_TO_3_ADDR", "flag", "."], "TS_V_token": ["RISCV", "RISCV", "\"Unexpected opcode\"", "0", "1", "2", "3", "4", "1"], "File": "RISCVInstrInfo (2)", "Func": "convertToThreeAddress", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1701, "Length": 280, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SparcTargetLowering", "::", "ConstraintType", "SparcTargetLowering", "::", "getConstraintType", "(", "StringRef", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'r'", ":", "case", "'f'", ":", "case", "'e'", ":", "return", "C_RegisterClass", ";", "case", "'I'", ":", "return", "C_Other", ";", "}", "}", "return", "TargetLowering", "::", "getConstraintType", "(", "Constraint", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constraint", "letter", ",", "return", "the", "type", "of", "constraint", "for", "this", "target", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "1", "0"], "File": "SparcISelLowering102", "Func": "getConstraintType", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1702, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "c6x_libcall_value", "(", "machine_mode", "mode", ",", "const_rtx", "fun", "ATTRIBUTE_UNUSED", ")", "{", "return", "gen_rtx_REG", "(", "mode", ",", "REG_A4", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_LIBCALL_VALUE", "."], "TS_V_token": ["c6x"], "File": "c6x", "Func": "c6x_libcall_value", "Target": "c6x", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 1703, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "createExprForCAPIVariantKind", "(", "const", "MCExpr", "*", "SubExpr", ",", "unsigned", "VariantKind", ")", "override", "{", "switch", "(", "VariantKind", ")", "{", "case", "LLVMDisassembler_VariantKind_ARM_HI16", ":", "return", "ARMMCExpr", "::", "CreateUpper16", "(", "SubExpr", ",", "Ctx", ")", ";", "case", "LLVMDisassembler_VariantKind_ARM_LO16", ":", "return", "ARMMCExpr", "::", "CreateLower16", "(", "SubExpr", ",", "Ctx", ")", ";", "default", ":", "return", "MCRelocationInfo", "::", "createExprForCAPIVariantKind", "(", "SubExpr", ",", "VariantKind", ")", ";", "}", "}", ""], "natrual_language": ["Create", "an", "MCExpr", "for", "the", "target-specific", "VariantKind", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM"], "File": "ARMMachORelocationInfo6", "Func": "createExprForCAPIVariantKind", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1704, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUAAResult", "::", "pointsToConstantMemory", "(", "const", "MemoryLocation", "&", "Loc", ",", "bool", "OrLocal", ")", "{", "const", "Value", "*", "Base", "=", "GetUnderlyingObject", "(", "Loc", ".", "Ptr", ",", "DL", ")", ";", "if", "(", "Base", "->", "getType", "(", ")", "->", "getPointerAddressSpace", "(", ")", "==", "AS", ".", "CONSTANT_ADDRESS", ")", "{", "return", "true", ";", "}", "if", "(", "const", "GlobalVariable", "*", "GV", "=", "dyn_cast", "<", "GlobalVariable", ">", "(", "Base", ")", ")", "{", "if", "(", "GV", "->", "isConstant", "(", ")", ")", "return", "true", ";", "}", "else", "if", "(", "const", "Argument", "*", "Arg", "=", "dyn_cast", "<", "Argument", ">", "(", "Base", ")", ")", "{", "const", "Function", "*", "F", "=", "Arg", "->", "getParent", "(", ")", ";", "switch", "(", "F", "->", "getCallingConv", "(", ")", ")", "{", "default", ":", "return", "AAResultBase", "::", "pointsToConstantMemory", "(", "Loc", ",", "OrLocal", ")", ";", "case", "CallingConv", "::", "AMDGPU_VS", ":", "case", "CallingConv", "::", "AMDGPU_GS", ":", "case", "CallingConv", "::", "AMDGPU_PS", ":", "case", "CallingConv", "::", "AMDGPU_CS", ":", "case", "CallingConv", "::", "AMDGPU_KERNEL", ":", "case", "CallingConv", "::", "SPIR_KERNEL", ":", "break", ";", "}", "unsigned", "ArgNo", "=", "Arg", "->", "getArgNo", "(", ")", ";", "if", "(", "F", "->", "hasParamAttribute", "(", "ArgNo", ",", "Attribute", "::", "NoAlias", ")", "&&", "(", "F", "->", "hasParamAttribute", "(", "ArgNo", ",", "Attribute", "::", "ReadNone", ")", "||", "F", "->", "hasParamAttribute", "(", "ArgNo", ",", "Attribute", "::", "ReadOnly", ")", ")", ")", "{", "return", "true", ";", "}", "}", "return", "AAResultBase", "::", "pointsToConstantMemory", "(", "Loc", ",", "OrLocal", ")", ";", "}", ""], "natrual_language": ["A", "convenience", "wrapper", "around", "the", "primary", "pointsToConstantMemory", "interface", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU"], "File": "AMDGPUAliasAnalysis12", "Func": "pointsToConstantMemory", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1705, "Length": 222, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmPrinter", "::", "lowerOperand", "(", "const", "MachineOperand", "&", "MO", ",", "MCOperand", "&", "MCOp", ")", "{", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"unknown operand type\"", ")", ";", "case", "MachineOperand", "::", "MO_Register", ":", "if", "(", "MO", ".", "isImplicit", "(", ")", ")", "return", "false", ";", "assert", "(", "!", "MO", ".", "getSubReg", "(", ")", "&&", "\"Subregs should be eliminated!\"", ")", ";", "MCOp", "=", "MCOperand", "::", "createReg", "(", "MO", ".", "getReg", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "MCOp", "=", "MCOperand", "::", "createImm", "(", "MO", ".", "getImm", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "MCOp", "=", "MCOperand", "::", "createExpr", "(", "MCSymbolRefExpr", "::", "create", "(", "MO", ".", "getMBB", "(", ")", "->", "getSymbol", "(", ")", ",", "OutContext", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "MCOp", "=", "GetSymbolRef", "(", "MO", ",", "GetARMGVSymbol", "(", "MO", ".", "getGlobal", "(", ")", ",", "MO", ".", "getTargetFlags", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "MCOp", "=", "GetSymbolRef", "(", "MO", ",", "GetExternalSymbolSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_JumpTableIndex", ":", "MCOp", "=", "GetSymbolRef", "(", "MO", ",", "GetJTISymbol", "(", "MO", ".", "getIndex", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":", "if", "(", "Subtarget", "->", "genExecuteOnly", "(", ")", ")", "llvm_unreachable", "(", "\"execute-only should not generate constant pools\"", ")", ";", "MCOp", "=", "GetSymbolRef", "(", "MO", ",", "GetCPISymbol", "(", "MO", ".", "getIndex", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_BlockAddress", ":", "MCOp", "=", "GetSymbolRef", "(", "MO", ",", "GetBlockAddressSymbol", "(", "MO", ".", "getBlockAddress", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_FPImmediate", ":", "{", "APFloat", "Val", "=", "MO", ".", "getFPImm", "(", ")", "->", "getValueAPF", "(", ")", ";", "bool", "ignored", ";", "Val", ".", "convert", "(", "APFloat", "::", "IEEEdouble", "(", ")", ",", "APFloat", "::", "rmTowardZero", ",", "&", "ignored", ")", ";", "MCOp", "=", "MCOperand", "::", "createDFPImm", "(", "bit_cast", "<", "uint64_t", ">", "(", "Val", ".", "convertToDouble", "(", ")", ")", ")", ";", "break", ";", "}", "case", "MachineOperand", "::", "MO_RegisterMask", ":", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Wrapper", "for", "MCInstLowering.lowerOperand", "(", ")", "for", "the", "tblgen'erated", "pseudo", "lowering", "."], "TS_V_token": ["ARM", "ARM", "\"unknown operand type\"", "\"Subregs should be eliminated!\"", "ARM", "\"execute-only should not generate constant pools\""], "File": "ARMMCInstLower27", "Func": "lowerOperand", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1706, "Length": 334, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "FastISel", "*", "ARM", "::", "createFastISel", "(", "FunctionLoweringInfo", "&", "funcInfo", ",", "const", "TargetLibraryInfo", "*", "libInfo", ")", "{", "const", "TargetMachine", "&", "TM", "=", "funcInfo", ".", "MF", "->", "getTarget", "(", ")", ";", "const", "ARMSubtarget", "*", "Subtarget", "=", "&", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "bool", "UseFastISel", "=", "false", ";", "UseFastISel", "|=", "Subtarget", "->", "isTargetMachO", "(", ")", "&&", "!", "Subtarget", "->", "isThumb1Only", "(", ")", ";", "UseFastISel", "|=", "Subtarget", "->", "isTargetLinux", "(", ")", "&&", "!", "Subtarget", "->", "isThumb", "(", ")", ";", "UseFastISel", "|=", "Subtarget", "->", "isTargetNaCl", "(", ")", "&&", "!", "Subtarget", "->", "isThumb", "(", ")", ";", "if", "(", "UseFastISel", ")", "{", "TM", ".", "Options", ".", "NoFramePointerElim", "=", "true", ";", "return", "new", "ARMFastISel", "(", "funcInfo", ",", "libInfo", ")", ";", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["This", "method", "returns", "a", "target", "specific", "FastISel", "object", ",", "or", "null", "if", "the", "target", "does", "not", "support", "``", "fast", "''", "ISel", "."], "TS_V_token": ["ARM", "ARM::createFastISel", "ARM", "ARM", "ARM"], "File": "ARMFastISel35", "Func": "createFastISel", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1707, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "AtomicExpansionKind", "X86TargetLowering", "::", "shouldExpandAtomicLoadInIR", "(", "LoadInst", "*", "LI", ")", "const", "{", "auto", "PTy", "=", "cast", "<", "PointerType", ">", "(", "LI", "->", "getPointerOperandType", "(", ")", ")", ";", "return", "needsCmpXchgNb", "(", "PTy", "->", "getElementType", "(", ")", ")", "?", "AtomicExpansionKind", "::", "CmpXChg", ":", "AtomicExpansionKind", "::", "None", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "given", "(", "atomic", ")", "load", "should", "be", "expanded", "by", "the", "IR-level", "AtomicExpand", "pass", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering (2)8", "Func": "shouldExpandAtomicLoadInIR", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1708, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsSEInstrInfo", "::", "expandPostRAPseudo", "(", "MachineInstr", "&", "MI", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "bool", "isMicroMips", "=", "Subtarget", ".", "inMicroMipsMode", "(", ")", ";", "unsigned", "Opc", ";", "switch", "(", "MI", ".", "getDesc", "(", ")", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "Mips", "::", "RetRA", ":", "expandRetRA", "(", "MBB", ",", "MI", ")", ";", "break", ";", "case", "Mips", "::", "ERet", ":", "expandERet", "(", "MBB", ",", "MI", ")", ";", "break", ";", "case", "Mips", "::", "PseudoMFHI", ":", "expandPseudoMFHiLo", "(", "MBB", ",", "MI", ",", "Mips", "::", "MFHI", ")", ";", "break", ";", "case", "Mips", "::", "PseudoMFHI_MM", ":", "expandPseudoMFHiLo", "(", "MBB", ",", "MI", ",", "Mips", "::", "MFHI16_MM", ")", ";", "break", ";", "case", "Mips", "::", "PseudoMFLO", ":", "expandPseudoMFHiLo", "(", "MBB", ",", "MI", ",", "Mips", "::", "MFLO", ")", ";", "break", ";", "case", "Mips", "::", "PseudoMFLO_MM", ":", "expandPseudoMFHiLo", "(", "MBB", ",", "MI", ",", "Mips", "::", "MFLO16_MM", ")", ";", "break", ";", "case", "Mips", "::", "PseudoMFHI64", ":", "expandPseudoMFHiLo", "(", "MBB", ",", "MI", ",", "Mips", "::", "MFHI64", ")", ";", "break", ";", "case", "Mips", "::", "PseudoMFLO64", ":", "expandPseudoMFHiLo", "(", "MBB", ",", "MI", ",", "Mips", "::", "MFLO64", ")", ";", "break", ";", "case", "Mips", "::", "PseudoMTLOHI", ":", "expandPseudoMTLoHi", "(", "MBB", ",", "MI", ",", "Mips", "::", "MTLO", ",", "Mips", "::", "MTHI", ",", "false", ")", ";", "break", ";", "case", "Mips", "::", "PseudoMTLOHI64", ":", "expandPseudoMTLoHi", "(", "MBB", ",", "MI", ",", "Mips", "::", "MTLO64", ",", "Mips", "::", "MTHI64", ",", "false", ")", ";", "break", ";", "case", "Mips", "::", "PseudoMTLOHI_DSP", ":", "expandPseudoMTLoHi", "(", "MBB", ",", "MI", ",", "Mips", "::", "MTLO_DSP", ",", "Mips", "::", "MTHI_DSP", ",", "true", ")", ";", "break", ";", "case", "Mips", "::", "PseudoCVT_S_W", ":", "expandCvtFPInt", "(", "MBB", ",", "MI", ",", "Mips", "::", "CVT_S_W", ",", "Mips", "::", "MTC1", ",", "false", ")", ";", "break", ";", "case", "Mips", "::", "PseudoCVT_D32_W", ":", "Opc", "=", "isMicroMips", "?", "Mips", "::", "CVT_D32_W_MM", ":", "Mips", "::", "CVT_D32_W", ";", "expandCvtFPInt", "(", "MBB", ",", "MI", ",", "Opc", ",", "Mips", "::", "MTC1", ",", "false", ")", ";", "break", ";", "case", "Mips", "::", "PseudoCVT_S_L", ":", "expandCvtFPInt", "(", "MBB", ",", "MI", ",", "Mips", "::", "CVT_S_L", ",", "Mips", "::", "DMTC1", ",", "true", ")", ";", "break", ";", "case", "Mips", "::", "PseudoCVT_D64_W", ":", "Opc", "=", "isMicroMips", "?", "Mips", "::", "CVT_D64_W_MM", ":", "Mips", "::", "CVT_D64_W", ";", "expandCvtFPInt", "(", "MBB", ",", "MI", ",", "Opc", ",", "Mips", "::", "MTC1", ",", "true", ")", ";", "break", ";", "case", "Mips", "::", "PseudoCVT_D64_L", ":", "expandCvtFPInt", "(", "MBB", ",", "MI", ",", "Mips", "::", "CVT_D64_L", ",", "Mips", "::", "DMTC1", ",", "true", ")", ";", "break", ";", "case", "Mips", "::", "BuildPairF64", ":", "expandBuildPairF64", "(", "MBB", ",", "MI", ",", "isMicroMips", ",", "false", ")", ";", "break", ";", "case", "Mips", "::", "BuildPairF64_64", ":", "expandBuildPairF64", "(", "MBB", ",", "MI", ",", "isMicroMips", ",", "true", ")", ";", "break", ";", "case", "Mips", "::", "ExtractElementF64", ":", "expandExtractElementF64", "(", "MBB", ",", "MI", ",", "isMicroMips", ",", "false", ")", ";", "break", ";", "case", "Mips", "::", "ExtractElementF64_64", ":", "expandExtractElementF64", "(", "MBB", ",", "MI", ",", "isMicroMips", ",", "true", ")", ";", "break", ";", "case", "Mips", "::", "MIPSeh_return32", ":", "case", "Mips", "::", "MIPSeh_return64", ":", "expandEhReturn", "(", "MBB", ",", "MI", ")", ";", "break", ";", "}", "MBB", ".", "erase", "(", "MI", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "function", "is", "called", "for", "all", "pseudo", "instructions", "that", "remain", "after", "register", "allocation", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips::RetRA", "Mips::ERet", "Mips::PseudoMFHI", "Mips::MFHI", "Mips::PseudoMFHI_MM", "Mips::MFHI16_MM", "Mips::PseudoMFLO", "Mips::MFLO", "Mips::PseudoMFLO_MM", "Mips::MFLO16_MM", "Mips::PseudoMFHI64", "Mips::MFHI64", "Mips::PseudoMFLO64", "Mips::MFLO64", "Mips::PseudoMTLOHI", "Mips::MTLO", "Mips::MTHI", "Mips::PseudoMTLOHI64", "Mips::MTLO64", "Mips::MTHI64", "Mips::PseudoMTLOHI_DSP", "Mips::MTLO_DSP", "Mips::MTHI_DSP", "Mips::PseudoCVT_S_W", "Mips::CVT_S_W", "Mips::MTC1", "Mips::PseudoCVT_D32_W", "Mips", "Mips::CVT_D32_W_MM", "Mips::CVT_D32_W", "Mips::MTC1", "Mips::PseudoCVT_S_L", "Mips::CVT_S_L", "Mips::DMTC1", "Mips::PseudoCVT_D64_W", "Mips", "Mips::CVT_D64_W_MM", "Mips::CVT_D64_W", "Mips::MTC1", "Mips::PseudoCVT_D64_L", "Mips::CVT_D64_L", "Mips::DMTC1", "Mips::BuildPairF64", "Mips", "Mips::BuildPairF64_64", "Mips", "Mips::ExtractElementF64", "Mips", "Mips::ExtractElementF64_64", "Mips", "Mips::MIPSeh_return32", "Mips::MIPSeh_return64"], "File": "MipsSEInstrInfo37", "Func": "expandPostRAPseudo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1709, "Length": 503, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "auto", "HexagonVectorCombine", "::", "isUndef", "(", "const", "Value", "*", "Val", ")", "const", "->", "bool", "{", "return", "isa", "<", "UndefValue", ">", "(", "Val", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "result", "of", "this", "operation", "is", "always", "undefined", "."], "TS_V_token": ["Hexagon", "HexagonVectorCombine::isUndef"], "File": "HexagonVectorCombine", "Func": "isUndef", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1710, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCCTRLoops", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "skipFunction", "(", "F", ")", ")", "return", "false", ";", "LI", "=", "&", "getAnalysis", "<", "LoopInfoWrapperPass", ">", "(", ")", ".", "getLoopInfo", "(", ")", ";", "SE", "=", "&", "getAnalysis", "<", "ScalarEvolutionWrapperPass", ">", "(", ")", ".", "getSE", "(", ")", ";", "DT", "=", "&", "getAnalysis", "<", "DominatorTreeWrapperPass", ">", "(", ")", ".", "getDomTree", "(", ")", ";", "DL", "=", "&", "F", ".", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ";", "auto", "*", "TLIP", "=", "getAnalysisIfAvailable", "<", "TargetLibraryInfoWrapperPass", ">", "(", ")", ";", "LibInfo", "=", "TLIP", "?", "&", "TLIP", "->", "getTLI", "(", ")", ":", "nullptr", ";", "PreserveLCSSA", "=", "mustPreserveAnalysisID", "(", "LCSSAID", ")", ";", "bool", "MadeChange", "=", "false", ";", "for", "(", "LoopInfo", "::", "iterator", "I", "=", "LI", "->", "begin", "(", ")", ",", "E", "=", "LI", "->", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "Loop", "*", "L", "=", "*", "I", ";", "if", "(", "!", "L", "->", "getParentLoop", "(", ")", ")", "MadeChange", "|=", "convertToCTRLoop", "(", "L", ")", ";", "}", "return", "MadeChange", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCCTRLoops10", "Func": "runOnFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1711, "Length": 168, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isShuffleMaskLegal", "(", "const", "SmallVectorImpl", "<", "int", ">", "&", "M", ",", "EVT", "VT", ")", "const", "{", "if", "(", "VT", ".", "getVectorNumElements", "(", ")", "==", "4", "&&", "(", "VT", ".", "is128BitVector", "(", ")", "||", "VT", ".", "is64BitVector", "(", ")", ")", ")", "{", "unsigned", "PFIndexes", "[", "4", "]", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "4", ";", "++", "i", ")", "{", "if", "(", "M", "[", "i", "]", "<", "0", ")", "PFIndexes", "[", "i", "]", "=", "8", ";", "else", "PFIndexes", "[", "i", "]", "=", "M", "[", "i", "]", ";", "}", "unsigned", "PFTableIndex", "=", "PFIndexes", "[", "0", "]", "*", "9", "*", "9", "*", "9", "+", "PFIndexes", "[", "1", "]", "*", "9", "*", "9", "+", "PFIndexes", "[", "2", "]", "*", "9", "+", "PFIndexes", "[", "3", "]", ";", "unsigned", "PFEntry", "=", "PerfectShuffleTable", "[", "PFTableIndex", "]", ";", "unsigned", "Cost", "=", "(", "PFEntry", ">>", "30", ")", ";", "if", "(", "Cost", "<=", "4", ")", "return", "true", ";", "}", "bool", "ReverseVEXT", ";", "unsigned", "Imm", ",", "WhichResult", ";", "unsigned", "EltSize", "=", "VT", ".", "getVectorElementType", "(", ")", ".", "getSizeInBits", "(", ")", ";", "return", "(", "EltSize", ">=", "32", "||", "ShuffleVectorSDNode", "::", "isSplatMask", "(", "&", "M", "[", "0", "]", ",", "VT", ")", "||", "isVREVMask", "(", "M", ",", "VT", ",", "64", ")", "||", "isVREVMask", "(", "M", ",", "VT", ",", "32", ")", "||", "isVREVMask", "(", "M", ",", "VT", ",", "16", ")", "||", "isVEXTMask", "(", "M", ",", "VT", ",", "ReverseVEXT", ",", "Imm", ")", "||", "isVTBLMask", "(", "M", ",", "VT", ")", "||", "isVTRNMask", "(", "M", ",", "VT", ",", "WhichResult", ")", "||", "isVUZPMask", "(", "M", ",", "VT", ",", "WhichResult", ")", "||", "isVZIPMask", "(", "M", ",", "VT", ",", "WhichResult", ")", "||", "isVTRN_v_undef_Mask", "(", "M", ",", "VT", ",", "WhichResult", ")", "||", "isVUZP_v_undef_Mask", "(", "M", ",", "VT", ",", "WhichResult", ")", "||", "isVZIP_v_undef_Mask", "(", "M", ",", "VT", ",", "WhichResult", ")", ")", ";", "}", ""], "natrual_language": ["Targets", "can", "use", "this", "to", "indicate", "that", "they", "only", "support", "some", "VECTOR_SHUFFLE", "operations", ",", "those", "with", "specific", "masks", "."], "TS_V_token": ["ARM", "ARM", "4", "4", "0", "4", "0", "8", "0", "9", "9", "9", "1", "9", "9", "2", "9", "3", "30", "4", "32", "0", "64", "32", "16"], "File": "ARMISelLowering107", "Func": "isShuffleMaskLegal", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1712, "Length": 295, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "gen_compare_reg", "(", "rtx", "cmp", ")", "{", "return", "gen_compare_reg_1", "(", "GET_CODE", "(", "cmp", ")", ",", "XEXP", "(", "cmp", ",", "0", ")", ",", "XEXP", "(", "cmp", ",", "1", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "the", "compare", "insn", "and", "return", "the", "CC", "reg", "for", "the", "comparison", "in", "CMP", "."], "TS_V_token": ["sparc", "0", "1"], "File": "sparc", "Func": "gen_compare_reg", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1713, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "std", "::", "string", "NewOpcode", ";", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Plus", ")", ")", "{", "getLexer", "(", ")", ".", "Lex", "(", ")", ";", "NewOpcode", "=", "Name", ";", "NewOpcode", "+=", "'+'", ";", "Name", "=", "NewOpcode", ";", "}", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Minus", ")", ")", "{", "getLexer", "(", ")", ".", "Lex", "(", ")", ";", "NewOpcode", "=", "Name", ";", "NewOpcode", "+=", "'-'", ";", "Name", "=", "NewOpcode", ";", "}", "size_t", "Dot", "=", "Name", ".", "find", "(", "'.'", ")", ";", "StringRef", "Mnemonic", "=", "Name", ".", "slice", "(", "0", ",", "Dot", ")", ";", "if", "(", "!", "NewOpcode", ".", "empty", "(", ")", ")", "Operands", ".", "push_back", "(", "PPCOperand", "::", "CreateTokenWithStringCopy", "(", "Mnemonic", ",", "NameLoc", ",", "isPPC64", "(", ")", ")", ")", ";", "else", "Operands", ".", "push_back", "(", "PPCOperand", "::", "CreateToken", "(", "Mnemonic", ",", "NameLoc", ",", "isPPC64", "(", ")", ")", ")", ";", "if", "(", "Dot", "!=", "StringRef", "::", "npos", ")", "{", "SMLoc", "DotLoc", "=", "SMLoc", "::", "getFromPointer", "(", "NameLoc", ".", "getPointer", "(", ")", "+", "Dot", ")", ";", "StringRef", "DotStr", "=", "Name", ".", "slice", "(", "Dot", ",", "StringRef", "::", "npos", ")", ";", "if", "(", "!", "NewOpcode", ".", "empty", "(", ")", ")", "Operands", ".", "push_back", "(", "PPCOperand", "::", "CreateTokenWithStringCopy", "(", "DotStr", ",", "DotLoc", ",", "isPPC64", "(", ")", ")", ")", ";", "else", "Operands", ".", "push_back", "(", "PPCOperand", "::", "CreateToken", "(", "DotStr", ",", "DotLoc", ",", "isPPC64", "(", ")", ")", ")", ";", "}", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "return", "false", ";", "if", "(", "ParseOperand", "(", "Operands", ")", ")", "return", "true", ";", "while", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", "&&", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "getLexer", "(", ")", ".", "Lex", "(", ")", ";", "if", "(", "ParseOperand", "(", "Operands", ")", ")", "return", "true", ";", "}", "if", "(", "getSTI", "(", ")", ".", "getFeatureBits", "(", ")", "[", "PPC", "::", "FeatureBookE", "]", "&&", "Operands", ".", "size", "(", ")", "==", "4", "&&", "(", "Name", "==", "\"dcbt\"", "||", "Name", "==", "\"dcbtst\"", ")", ")", "{", "std", "::", "swap", "(", "Operands", "[", "1", "]", ",", "Operands", "[", "3", "]", ")", ";", "std", "::", "swap", "(", "Operands", "[", "2", "]", ",", "Operands", "[", "1", "]", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["PowerPC", "PPC", "0", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC::FeatureBookE", "4", "\"dcbt\"", "\"dcbtst\"", "1", "3", "2", "1"], "File": "PPCAsmParser (2)1", "Func": "ParseInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1714, "Length": 388, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MSP430FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "MSP430InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "MSP430InstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "unsigned", "StackAlign", "=", "getStackAlignment", "(", ")", ";", "if", "(", "!", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "MachineInstr", "*", "Old", "=", "I", ";", "uint64_t", "Amount", "=", "Old", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "Amount", "!=", "0", ")", "{", "Amount", "=", "(", "Amount", "+", "StackAlign", "-", "1", ")", "/", "StackAlign", "*", "StackAlign", ";", "MachineInstr", "*", "New", "=", "nullptr", ";", "if", "(", "Old", "->", "getOpcode", "(", ")", "==", "TII", ".", "getCallFrameSetupOpcode", "(", ")", ")", "{", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "MSP430", "::", "SUB16ri", ")", ",", "MSP430", "::", "SPW", ")", ".", "addReg", "(", "MSP430", "::", "SPW", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Old", "->", "getOpcode", "(", ")", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", ")", ";", "uint64_t", "CalleeAmt", "=", "Old", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "Amount", "-=", "CalleeAmt", ";", "if", "(", "Amount", ")", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "MSP430", "::", "ADD16ri", ")", ",", "MSP430", "::", "SPW", ")", ".", "addReg", "(", "MSP430", "::", "SPW", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "if", "(", "New", ")", "{", "New", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "MBB", ".", "insert", "(", "I", ",", "New", ")", ";", "}", "}", "}", "else", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", ")", "{", "if", "(", "uint64_t", "CalleeAmt", "=", "I", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ")", "{", "MachineInstr", "*", "Old", "=", "I", ";", "MachineInstr", "*", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "MSP430", "::", "SUB16ri", ")", ",", "MSP430", "::", "SPW", ")", ".", "addReg", "(", "MSP430", "::", "SPW", ")", ".", "addImm", "(", "CalleeAmt", ")", ";", "New", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "MBB", ".", "insert", "(", "I", ",", "New", ")", ";", "}", "}", "MBB", ".", "erase", "(", "I", ")", ";", "}", ""], "natrual_language": ["This", "method", "is", "called", "during", "prolog/epilog", "code", "insertion", "to", "eliminate", "call", "frame", "setup", "and", "destroy", "pseudo", "instructions", "(", "but", "only", "if", "the", "Target", "is", "using", "them", ")", "."], "TS_V_token": ["MSP430", "MSP430", "MSP430", "MSP430", "0", "0", "1", "MSP430::SUB16ri", "MSP430::SPW", "MSP430::SPW", "1", "MSP430::ADD16ri", "MSP430::SPW", "MSP430::SPW", "3", "1", "MSP430::SUB16ri", "MSP430::SPW", "MSP430::SPW", "3"], "File": "MSP430FrameLowering35", "Func": "eliminateCallFramePseudoInstr", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1715, "Length": 376, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "expand_mad", "(", "function_expander", "&", "e", ",", "unsigned", "int", "merge_argno", "=", "DEFAULT_MERGE_ARGNO", ")", "{", "if", "(", "e", ".", "pred", "==", "PRED_x", ")", "{", "insn_code", "icode", ";", "if", "(", "e", ".", "type_suffix", "(", "0", ")", ".", "integer_p", ")", "icode", "=", "code_for_aarch64_pred_fma", "(", "e", ".", "vector_mode", "(", "0", ")", ")", ";", "else", "icode", "=", "code_for_aarch64_pred", "(", "UNSPEC_COND_FMLA", ",", "e", ".", "vector_mode", "(", "0", ")", ")", ";", "return", "e", ".", "use_pred_x_insn", "(", "icode", ")", ";", "}", "insn_code", "icode", "=", "e", ".", "direct_optab_handler", "(", "cond_fma_optab", ")", ";", "return", "e", ".", "use_cond_insn", "(", "icode", ",", "merge_argno", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "call", "to", "svmad", ",", "or", "svmla", "after", "reordering", "its", "operands", ".", "Make", "_m", "forms", "merge", "with", "argument", "MERGE_ARGNO", "."], "TS_V_token": ["aarch64", "0", "0", "0"], "File": "aarch64-sve-builtins-base", "Func": "expand_mad", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1716, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "replace_swapped_aligned_load", "(", "swap_web_entry", "*", "insn_entry", ",", "rtx", "swap_insn", ")", "{", "unsigned", "uid", "=", "INSN_UID", "(", "swap_insn", ")", ";", "gcc_assert", "(", "insn_entry", "[", "uid", "]", ".", "is_swap", "&&", "!", "insn_entry", "[", "uid", "]", ".", "is_load", ")", ";", "struct", "df_insn_info", "*", "insn_info", "=", "DF_INSN_INFO_GET", "(", "swap_insn", ")", ";", "df_ref", "use", "=", "DF_INSN_INFO_USES", "(", "insn_info", ")", ";", "struct", "df_link", "*", "def_link", "=", "DF_REF_CHAIN", "(", "use", ")", ";", "gcc_assert", "(", "def_link", "&&", "!", "def_link", "->", "next", ")", ";", "gcc_assert", "(", "def_link", "&&", "def_link", "->", "ref", "&&", "!", "DF_REF_IS_ARTIFICIAL", "(", "def_link", "->", "ref", ")", "&&", "!", "def_link", "->", "next", ")", ";", "rtx_insn", "*", "def_insn", "=", "DF_REF_INSN", "(", "def_link", "->", "ref", ")", ";", "unsigned", "uid2", "=", "INSN_UID", "(", "def_insn", ")", ";", "gcc_assert", "(", "insn_entry", "[", "uid2", "]", ".", "is_load", "&&", "insn_entry", "[", "uid2", "]", ".", "is_swap", ")", ";", "rtx", "body", "=", "PATTERN", "(", "def_insn", ")", ";", "gcc_assert", "(", "(", "GET_CODE", "(", "body", ")", "==", "SET", ")", "&&", "(", "GET_CODE", "(", "SET_SRC", "(", "body", ")", ")", "==", "VEC_SELECT", "||", "pattern_is_rotate64", "(", "body", ")", ")", "&&", "MEM_P", "(", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ")", ")", ")", ";", "rtx", "src_exp", "=", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ")", ";", "enum", "machine_mode", "mode", "=", "GET_MODE", "(", "src_exp", ")", ";", "rtx", "lvx", "=", "rs6000_gen_lvx", "(", "mode", ",", "SET_DEST", "(", "body", ")", ",", "src_exp", ")", ";", "rtx_insn", "*", "new_insn", "=", "emit_insn_before", "(", "lvx", ",", "def_insn", ")", ";", "rtx", "new_body", "=", "PATTERN", "(", "new_insn", ")", ";", "gcc_assert", "(", "(", "GET_CODE", "(", "new_body", ")", "==", "SET", ")", "&&", "MEM_P", "(", "SET_SRC", "(", "new_body", ")", ")", ")", ";", "basic_block", "bb", "=", "BLOCK_FOR_INSN", "(", "def_insn", ")", ";", "set_block_for_insn", "(", "new_insn", ",", "bb", ")", ";", "if", "(", "cfun", "->", "can_throw_non_call_exceptions", "&&", "BB_END", "(", "bb", ")", "==", "def_insn", ")", "{", "rtx", "note", "=", "find_reg_note", "(", "def_insn", ",", "REG_EH_REGION", ",", "NULL_RTX", ")", ";", "if", "(", "note", ")", "add_reg_note", "(", "new_insn", ",", "REG_EH_REGION", ",", "XEXP", "(", "note", ",", "0", ")", ")", ";", "}", "df_insn_rescan", "(", "new_insn", ")", ";", "df_insn_delete", "(", "def_insn", ")", ";", "remove_insn", "(", "def_insn", ")", ";", "def_insn", "->", "set_deleted", "(", ")", ";", "mark_swaps_for_removal", "(", "insn_entry", ",", "uid", ")", ";", "replace_swap_with_copy", "(", "insn_entry", ",", "uid", ")", ";", "}", ""], "natrual_language": ["Given", "that", "SWAP_INSN", "represents", "a", "swap", "of", "an", "aligned", "load-with-swap", ",", "replace", "the", "load", "with", "an", "aligned", "load", "(", "without", "swap", ")", "and", "replace", "the", "swap", "with", "a", "copy", "insn", "."], "TS_V_token": ["rs6000", "0", "0", "0"], "File": "rs6000-p8swap1", "Func": "replace_swapped_aligned_load", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1717, "Length": 356, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "add", "(", "const", "Argument", "*", "Arg", ",", "MachineFunction", "*", "MF", ",", "Register", "R", ")", "{", "DT", ".", "add", "(", "Arg", ",", "MF", ",", "R", ")", ";", "}", ""], "natrual_language": ["Add", "a", "string", "to", "the", "builder", "."], "TS_V_token": ["SPIRV"], "File": "SPIRVGlobalRegistry1", "Func": "add", "Target": "SPIRV", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1718, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUAnnotateKernelFeatures", "::", "doInitialization", "(", "CallGraph", "&", "CG", ")", "{", "auto", "*", "TPC", "=", "getAnalysisIfAvailable", "<", "TargetPassConfig", ">", "(", ")", ";", "if", "(", "!", "TPC", ")", "report_fatal_error", "(", "\"TargetMachine is required\"", ")", ";", "AS", "=", "AMDGPU", "::", "getAMDGPUAS", "(", "CG", ".", "getModule", "(", ")", ")", ";", "TM", "=", "&", "TPC", "->", "getTM", "<", "TargetMachine", ">", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "\"TargetMachine is required\"", "AMDGPU::getAMDGPUAS"], "File": "AMDGPUAnnotateKernelFeatures20", "Func": "doInitialization", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1719, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TPCTargetLowering", "::", "isFPImmLegal", "(", "const", "APFloat", "&", "Imm", ",", "EVT", "VT", ",", "bool", "ForCodeSize", ")", "const", "{", "return", "VT", "==", "MVT", "::", "f32", "||", "VT", "==", "MVT", "::", "f16", "||", "VT", "==", "MVT", "::", "bf16", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "can", "instruction", "select", "the", "specified", "FP", "immediate", "natively", "."], "TS_V_token": ["TPC", "TPC", "MVT::f32", "MVT::f16", "MVT::bf16"], "File": "TPCISelLowering", "Func": "isFPImmLegal", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1720, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonBranchRelaxation", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"****** Hexagon Branch Relaxation ******\\n\"", ")", ";", "auto", "&", "HST", "=", "MF", ".", "getSubtarget", "<", "HexagonSubtarget", ">", "(", ")", ";", "HII", "=", "HST", ".", "getInstrInfo", "(", ")", ";", "HRI", "=", "HST", ".", "getRegisterInfo", "(", ")", ";", "bool", "Changed", "=", "false", ";", "Changed", "=", "relaxBranches", "(", "MF", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Hexagon", "Hexagon", "\"****** Hexagon Branch Relaxation ******\\n\"", "Hexagon"], "File": "HexagonBranchRelaxation10", "Func": "runOnMachineFunction", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1721, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCRegisterInfo", "::", "needsFrameBaseReg", "(", "MachineInstr", "*", "MI", ",", "int64_t", "Offset", ")", "const", "{", "assert", "(", "Offset", "<", "0", "&&", "\"Local offset must be negative\"", ")", ";", "unsigned", "OpC", "=", "MI", "->", "getOpcode", "(", ")", ";", "if", "(", "!", "ImmToIdxMap", ".", "count", "(", "OpC", ")", ")", "return", "false", ";", "if", "(", "(", "OpC", "==", "PPC", "::", "ADDI", "||", "OpC", "==", "PPC", "::", "ADDI8", ")", "&&", "MI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "==", "0", ")", "return", "false", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", "->", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "PPCFrameLowering", "*", "PPCFI", "=", "static_cast", "<", "const", "PPCFrameLowering", "*", ">", "(", "Subtarget", ".", "getFrameLowering", "(", ")", ")", ";", "unsigned", "StackEst", "=", "PPCFI", "->", "determineFrameLayout", "(", "MF", ",", "false", ",", "true", ")", ";", "if", "(", "!", "StackEst", ")", "return", "false", ";", "Offset", "+=", "StackEst", ";", "return", "!", "isFrameOffsetLegal", "(", "MI", ",", "Offset", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "instruction", "'s", "frame", "index", "reference", "would", "be", "better", "served", "by", "a", "base", "register", "other", "than", "FP", "or", "SP", "."], "TS_V_token": ["PowerPC", "PPC", "0", "\"Local offset must be negative\"", "PPC::ADDI", "PPC::ADDI8", "2", "0", "PPC", "PPC", "PPC", "PPC"], "File": "PPCRegisterInfo22", "Func": "needsFrameBaseReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1722, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "AArch64TargetLowering", "::", "getRegisterByName", "(", "const", "char", "*", "RegName", ",", "LLT", "VT", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "Register", "Reg", "=", "MatchRegisterName", "(", "RegName", ")", ";", "if", "(", "AArch64", "::", "X1", "<=", "Reg", "&&", "Reg", "<=", "AArch64", "::", "X28", ")", "{", "const", "MCRegisterInfo", "*", "MRI", "=", "Subtarget", "->", "getRegisterInfo", "(", ")", ";", "unsigned", "DwarfRegNum", "=", "MRI", "->", "getDwarfRegNum", "(", "Reg", ",", "false", ")", ";", "if", "(", "!", "Subtarget", "->", "isXRegisterReserved", "(", "DwarfRegNum", ")", ")", "Reg", "=", "0", ";", "}", "if", "(", "Reg", ")", "return", "Reg", ";", "report_fatal_error", "(", "Twine", "(", "\"Invalid register name \\\"\"", "+", "StringRef", "(", "RegName", ")", "+", "\"\\\".\"", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "register", "ID", "of", "the", "name", "passed", "in", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::X1", "AArch64::X28", "0", "\"Invalid register name \\\"\"", "\"\\\".\""], "File": "AArch64ISelLowering (2)2", "Func": "getRegisterByName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1723, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "invalid_arg_for_unprototyped_fn", "(", "tree", "typelist", ",", "tree", "funcdecl", ",", "tree", "val", ")", "{", "return", "(", "!", "rs6000_darwin64_abi", "&&", "typelist", "==", "0", "&&", "TREE_CODE", "(", "TREE_TYPE", "(", "val", ")", ")", "==", "VECTOR_TYPE", "&&", "(", "funcdecl", "==", "NULL_TREE", "||", "(", "TREE_CODE", "(", "funcdecl", ")", "==", "FUNCTION_DECL", "&&", "DECL_BUILT_IN_CLASS", "(", "funcdecl", ")", "!=", "BUILT_IN_MD", ")", ")", ")", "?", "N_", "(", "\"AltiVec argument passed to unprototyped function\"", ")", ":", "NULL", ";", "}", ""], "natrual_language": ["Target", "hook", "for", "invalid_arg_for_unprototyped_fn", "."], "TS_V_token": ["rs6000", "0", "\"AltiVec argument passed to unprototyped function\""], "File": "rs60003", "Func": "invalid_arg_for_unprototyped_fn", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1724, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "z8k_regno_ok_for_index_p", "(", "int", "regno", ",", "bool", "strict_p", ")", "{", "if", "(", "regno", "<", "FIRST_PSEUDO_REGISTER", ")", "{", "if", "(", "!", "strict_p", ")", "return", "true", ";", "if", "(", "!", "reg_renumber", ")", "return", "false", ";", "regno", "=", "reg_renumber", "[", "regno", "]", ";", "}", "return", "regno", "<", "FIRST_PSEUDO_REGISTER", "&&", "regno", ">=", "0", ";", "}", ""], "natrual_language": ["These", "assume", "that", "REGNO", "is", "a", "hard", "or", "pseudo", "reg", "number", ".", "They", "give", "nonzero", "only", "if", "REGNO", "is", "a", "hard", "reg", "of", "the", "suitable", "class", "or", "a", "pseudo", "reg", "currently", "allocated", "to", "a", "suitable", "hard", "reg", ".", "Since", "they", "use", "reg_renumber", ",", "they", "are", "safe", "only", "once", "reg_renumber", "has", "been", "allocated", ",", "which", "happens", "in", "local-alloc.c", "."], "TS_V_token": ["z8k", "0"], "File": "z8k", "Func": "z8k_regno_ok_for_index_p", "Target": "z8k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1725, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "iq2000_hard_regno_mode_ok", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "return", "(", "REGNO_REG_CLASS", "(", "regno", ")", "==", "GR_REGS", "?", "(", "regno", "&", "1", ")", "==", "0", "||", "GET_MODE_SIZE", "(", "mode", ")", "<=", "4", ":", "(", "regno", "&", "1", ")", "==", "0", "||", "GET_MODE_SIZE", "(", "mode", ")", "==", "4", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_HARD_REGNO_MODE_OK", "."], "TS_V_token": ["iq2000", "1", "0", "4", "1", "0", "4"], "File": "iq2000", "Func": "iq2000_hard_regno_mode_ok", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1726, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "addExpr", "(", "MCInst", "&", "Inst", ",", "const", "MCExpr", "*", "Expr", ")", "const", "{", "if", "(", "Expr", "==", "nullptr", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "0", ")", ")", ";", "else", "if", "(", "const", "MCConstantExpr", "*", "ConstExpr", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Expr", ")", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "static_cast", "<", "int32_t", ">", "(", "ConstExpr", "->", "getValue", "(", ")", ")", ")", ")", ";", "else", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createExpr", "(", "Expr", ")", ")", ";", "}", ""], "natrual_language": ["Add", "a", "new", "MCExpr", "operand", "."], "TS_V_token": ["Lanai", "0"], "File": "LanaiAsmParser (2)", "Func": "addExpr", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1727, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "m32r_rtx_costs", "(", "rtx", "x", ",", "int", "code", ",", "int", "outer_code", "ATTRIBUTE_UNUSED", ",", "int", "*", "total", ")", "{", "switch", "(", "code", ")", "{", "case", "CONST_INT", ":", "if", "(", "INT16_P", "(", "INTVAL", "(", "x", ")", ")", ")", "{", "*", "total", "=", "0", ";", "return", "true", ";", "}", "case", "CONST", ":", "case", "LABEL_REF", ":", "case", "SYMBOL_REF", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "1", ")", ";", "return", "true", ";", "case", "CONST_DOUBLE", ":", "{", "rtx", "high", ",", "low", ";", "split_double", "(", "x", ",", "&", "high", ",", "&", "low", ")", ";", "*", "total", "=", "COSTS_N_INSNS", "(", "!", "INT16_P", "(", "INTVAL", "(", "high", ")", ")", "+", "!", "INT16_P", "(", "INTVAL", "(", "low", ")", ")", ")", ";", "return", "true", ";", "}", "case", "MULT", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "3", ")", ";", "return", "true", ";", "case", "DIV", ":", "case", "UDIV", ":", "case", "MOD", ":", "case", "UMOD", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "10", ")", ";", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Cost", "functions", "."], "TS_V_token": ["m32r", "0", "1", "3", "10"], "File": "m32r3", "Func": "m32r_rtx_costs", "Target": "m32r", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1728, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "legitimate_address_p", "(", "enum", "machine_mode", "mode", ",", "rtx", "x", ",", "int", "strict", ")", "{", "if", "(", "CONSTANT_ADDRESS_P", "(", "x", ")", "&&", "(", "!", "flag_pic", "||", "legitimate_pic_operand_p", "(", "x", ")", ")", ")", "return", "TRUE", ";", "if", "(", "RTX_OK_FOR_BASE_P", "(", "x", ",", "strict", ")", ")", "return", "TRUE", ";", "if", "(", "TARGET_AM33", "&&", "GET_CODE", "(", "x", ")", "==", "POST_INC", "&&", "RTX_OK_FOR_BASE_P", "(", "XEXP", "(", "x", ",", "0", ")", ",", "strict", ")", "&&", "(", "mode", "==", "SImode", "||", "mode", "==", "SFmode", "||", "mode", "==", "HImode", ")", ")", "return", "TRUE", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "{", "rtx", "base", "=", "0", ",", "index", "=", "0", ";", "if", "(", "REG_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "REGNO_STRICT_OK_FOR_BASE_P", "(", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", ",", "strict", ")", ")", "{", "base", "=", "XEXP", "(", "x", ",", "0", ")", ";", "index", "=", "XEXP", "(", "x", ",", "1", ")", ";", "}", "if", "(", "REG_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", "&&", "REGNO_STRICT_OK_FOR_BASE_P", "(", "REGNO", "(", "XEXP", "(", "x", ",", "1", ")", ")", ",", "strict", ")", ")", "{", "base", "=", "XEXP", "(", "x", ",", "1", ")", ";", "index", "=", "XEXP", "(", "x", ",", "0", ")", ";", "}", "if", "(", "base", "!=", "0", "&&", "index", "!=", "0", ")", "{", "if", "(", "GET_CODE", "(", "index", ")", "==", "CONST_INT", ")", "return", "TRUE", ";", "if", "(", "GET_CODE", "(", "index", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "index", ",", "0", ")", ")", "!=", "PLUS", "&&", "(", "!", "flag_pic", "||", "legitimate_pic_operand_p", "(", "index", ")", ")", ")", "return", "TRUE", ";", "}", "}", "return", "FALSE", ";", "}", ""], "natrual_language": ["legitimate_address_p", "returns", "1", "if", "it", "recognizes", "an", "RTL", "expression", "``", "x", "''", "that", "is", "a", "valid", "memory", "address", "for", "an", "instruction", ".", "The", "MODE", "argument", "is", "the", "machine", "mode", "for", "the", "MEM", "expression", "that", "wants", "to", "use", "this", "address", "."], "TS_V_token": ["mn10300", "0", "0", "0", "0", "0", "0", "1", "1", "1", "1", "0", "0", "0", "0"], "File": "mn103003", "Func": "legitimate_address_p", "Target": "mn10300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1729, "Length": 262, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "void", "assign_registers", "(", "const_tree", "field", ",", "int", "bitpos", ",", "bool", "fp", ",", "assign_data_t", "*", "data", ")", "{", "if", "(", "fp", ")", "{", "assign_int_registers", "(", "bitpos", ",", "data", ")", ";", "assign_fp_registers", "(", "field", ",", "bitpos", ",", "data", ")", ";", "}", "else", "{", "if", "(", "data", "->", "intoffset", "<", "0", ")", "data", "->", "intoffset", "=", "bitpos", ";", "}", "}", ""], "natrual_language": ["A", "subroutine", "of", "function_arg_record_value", ".", "Assign", "FIELD", "and", "the", "bits", "of", "the", "structure", "between", "PARMS-", ">", "intoffset", "and", "BITPOS", "to", "registers", "."], "TS_V_token": ["sparc", "0"], "File": "sparc", "Func": "assign_registers", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1730, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "UPTMCInstLower", "::", "Initialize", "(", "MCContext", "*", "C", ")", "{", "Ctx", "=", "C", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["UPT", "UPT"], "File": "UPTMCInstLower", "Func": "Initialize", "Target": "UPT", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1731, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "long", "compute_frame_size", "(", "int", "size", ")", "{", "int", "regno", ";", "if", "(", "reload_completed", "&&", "cfun", "->", "machine", "->", "frame_laid_out", ")", "return", "cfun", "->", "machine", "->", "current_frame_size", ";", "if", "(", "cfun", "->", "static_chain_decl", "!=", "NULL", ")", "size", "+=", "(", "1", "*", "UNITS_PER_WORD", ")", ";", "cfun", "->", "machine", "->", "callee_save_size", "=", "0", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "++", "regno", ")", "{", "if", "(", "xtensa_call_save_reg", "(", "regno", ")", ")", "cfun", "->", "machine", "->", "callee_save_size", "+=", "UNITS_PER_WORD", ";", "}", "cfun", "->", "machine", "->", "current_frame_size", "=", "XTENSA_STACK_ALIGN", "(", "size", "+", "cfun", "->", "machine", "->", "callee_save_size", "+", "crtl", "->", "outgoing_args_size", "+", "(", "WINDOW_SIZE", "*", "UNITS_PER_WORD", ")", ")", ";", "cfun", "->", "machine", "->", "callee_save_size", "=", "XTENSA_STACK_ALIGN", "(", "cfun", "->", "machine", "->", "callee_save_size", ")", ";", "cfun", "->", "machine", "->", "frame_laid_out", "=", "true", ";", "return", "cfun", "->", "machine", "->", "current_frame_size", ";", "}", ""], "natrual_language": ["Typical", "stack", "layout", "should", "looks", "like", "this", "after", "the", "function", "'s", "prologue", ":", "|", "|", "--", "^", "|", "|", "\\", "|", "|", "|", "arguments", "saved", "|", "Increasing", "|", "|", "on", "the", "stack", "|", "addresses", "PARENT", "arg", "pointer", "-", ">", "|", "|", "/", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "-", "|", "|", "-", "space", "for", "argument", "split", "between", "regs", "&", "stack", "--", "CHILD", "|", "|", "\\", "<", "--", "(", "return", "address", "here", ")", "|", "|", "other", "call", "|", "|", "saved", "registers", "|", "|", "/", "--", "frame", "pointer", "-", ">", "|", "|", "\\", "___", "|", "|", "local", "|", "|", "|", "variables", "|f", "|", "|", "/", "|r", "--", "|a", "|", "|", "\\", "|m", "|", "|", "outgoing", "|e", "|", "|", "arguments", "|", "|", "Decreasing", "(", "hard", ")", "frame", "pointer", "|", "|", "/", "|", "|", "addresses", "and", "stack", "pointer", "-", ">", "|", "|", "/", "_|_", "|", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "V"], "TS_V_token": ["xtensa", "1", "0", "0"], "File": "xtensa6", "Func": "compute_frame_size", "Target": "xtensa", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1732, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ia64_ld_address_bypass_p", "(", "rtx_insn", "*", "producer", ",", "rtx_insn", "*", "consumer", ")", "{", "rtx", "dest", ",", "src", ",", "reg", ",", "mem", ";", "gcc_assert", "(", "producer", "&&", "consumer", ")", ";", "dest", "=", "ia64_single_set", "(", "producer", ")", ";", "gcc_assert", "(", "dest", ")", ";", "reg", "=", "SET_DEST", "(", "dest", ")", ";", "gcc_assert", "(", "reg", ")", ";", "if", "(", "GET_CODE", "(", "reg", ")", "==", "SUBREG", ")", "reg", "=", "SUBREG_REG", "(", "reg", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "reg", ")", "==", "REG", ")", ";", "src", "=", "ia64_single_set", "(", "consumer", ")", ";", "gcc_assert", "(", "src", ")", ";", "mem", "=", "SET_SRC", "(", "src", ")", ";", "gcc_assert", "(", "mem", ")", ";", "if", "(", "GET_CODE", "(", "mem", ")", "==", "UNSPEC", "&&", "XVECLEN", "(", "mem", ",", "0", ")", ">", "0", ")", "mem", "=", "XVECEXP", "(", "mem", ",", "0", ",", "0", ")", ";", "else", "if", "(", "GET_CODE", "(", "mem", ")", "==", "IF_THEN_ELSE", ")", "{", "gcc_assert", "(", "XINT", "(", "XEXP", "(", "XEXP", "(", "mem", ",", "0", ")", ",", "0", ")", ",", "1", ")", "==", "UNSPEC_LDCCLR", ")", ";", "mem", "=", "XEXP", "(", "mem", ",", "1", ")", ";", "}", "while", "(", "GET_CODE", "(", "mem", ")", "==", "SUBREG", "||", "GET_CODE", "(", "mem", ")", "==", "ZERO_EXTEND", ")", "mem", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "mem", ")", "==", "UNSPEC", ")", "{", "int", "c", "=", "XINT", "(", "mem", ",", "1", ")", ";", "gcc_assert", "(", "c", "==", "UNSPEC_LDA", "||", "c", "==", "UNSPEC_LDS", "||", "c", "==", "UNSPEC_LDS_A", "||", "c", "==", "UNSPEC_LDSA", ")", ";", "mem", "=", "XVECEXP", "(", "mem", ",", "0", ",", "0", ")", ";", "}", "gcc_assert", "(", "GET_CODE", "(", "mem", ")", "==", "LO_SUM", "||", "GET_CODE", "(", "mem", ")", "==", "MEM", ")", ";", "return", "reg_mentioned_p", "(", "reg", ",", "mem", ")", ";", "}", ""], "natrual_language": ["The", "following", "function", "returns", "TRUE", "if", "PRODUCER", "(", "of", "type", "ilog", "or", "ld", ")", "produces", "address", "for", "CONSUMER", "(", "of", "type", "ld", "or", "fld", ")", "."], "TS_V_token": ["ia64", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "0", "0"], "File": "ia64", "Func": "ia64_ld_address_bypass_p", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1733, "Length": 276, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nios2_setup_incoming_varargs", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ",", "int", "*", "pretend_size", ",", "int", "second_time", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "CUMULATIVE_ARGS", "local_cum", ";", "cumulative_args_t", "local_cum_v", "=", "pack_cumulative_args", "(", "&", "local_cum", ")", ";", "int", "regs_to_push", ";", "int", "pret_size", ";", "cfun", "->", "machine", "->", "uses_anonymous_args", "=", "1", ";", "local_cum", "=", "*", "cum", ";", "nios2_function_arg_advance", "(", "local_cum_v", ",", "arg", ")", ";", "regs_to_push", "=", "NUM_ARG_REGS", "-", "local_cum", ".", "regs_used", ";", "if", "(", "!", "TARGET_HAS_CDX", "&&", "!", "second_time", "&&", "regs_to_push", ">", "0", ")", "{", "rtx", "ptr", "=", "virtual_incoming_args_rtx", ";", "rtx", "mem", "=", "gen_rtx_MEM", "(", "BLKmode", ",", "ptr", ")", ";", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "move_block_from_reg", "(", "local_cum", ".", "regs_used", "+", "FIRST_ARG_REGNO", ",", "mem", ",", "regs_to_push", ")", ";", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "}", "pret_size", "=", "regs_to_push", "*", "UNITS_PER_WORD", ";", "if", "(", "pret_size", ")", "*", "pretend_size", "=", "pret_size", ";", "}", ""], "natrual_language": ["TODO", ":", "It", "may", "be", "possible", "to", "eliminate", "the", "copyback", "and", "implement", "own", "va_arg", "type", "."], "TS_V_token": ["nios2", "1", "0"], "File": "nios2", "Func": "nios2_setup_incoming_varargs", "Target": "nios2", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1734, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", "Opcode", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "uint64_t", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "if", "(", "!", "InBrackets", ")", "{", "MCB", ".", "clear", "(", ")", ";", "MCB", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "0", ")", ")", ";", "}", "HexagonOperand", "&", "FirstOperand", "=", "static_cast", "<", "HexagonOperand", "&", ">", "(", "*", "Operands", "[", "0", "]", ")", ";", "if", "(", "FirstOperand", ".", "isToken", "(", ")", "&&", "FirstOperand", ".", "getToken", "(", ")", "==", "\"{\"", ")", "{", "assert", "(", "Operands", ".", "size", "(", ")", "==", "1", "&&", "\"Brackets should be by themselves\"", ")", ";", "if", "(", "InBrackets", ")", "{", "getParser", "(", ")", ".", "Error", "(", "IDLoc", ",", "\"Already in a packet\"", ")", ";", "return", "true", ";", "}", "InBrackets", "=", "true", ";", "return", "false", ";", "}", "if", "(", "FirstOperand", ".", "isToken", "(", ")", "&&", "FirstOperand", ".", "getToken", "(", ")", "==", "\"}\"", ")", "{", "assert", "(", "Operands", ".", "size", "(", ")", "==", "1", "&&", "\"Brackets should be by themselves\"", ")", ";", "if", "(", "!", "InBrackets", ")", "{", "getParser", "(", ")", ".", "Error", "(", "IDLoc", ",", "\"Not in a packet\"", ")", ";", "return", "true", ";", "}", "InBrackets", "=", "false", ";", "if", "(", "matchBundleOptions", "(", ")", ")", "return", "true", ";", "return", "finishBundle", "(", "IDLoc", ",", "Out", ")", ";", "}", "MCInst", "*", "SubInst", "=", "new", "(", "getParser", "(", ")", ".", "getContext", "(", ")", ")", "MCInst", ";", "bool", "MustExtend", "=", "false", ";", "if", "(", "matchOneInstruction", "(", "*", "SubInst", ",", "IDLoc", ",", "Operands", ",", "ErrorInfo", ",", "MatchingInlineAsm", ",", "MustExtend", ")", ")", "return", "true", ";", "HexagonMCInstrInfo", "::", "extendIfNeeded", "(", "getParser", "(", ")", ".", "getContext", "(", ")", ",", "MCII", ",", "MCB", ",", "*", "SubInst", ",", "HexagonMCInstrInfo", "::", "isExtended", "(", "MCII", ",", "*", "SubInst", ")", "||", "MustExtend", ")", ";", "MCB", ".", "addOperand", "(", "MCOperand", "::", "createInst", "(", "SubInst", ")", ")", ";", "if", "(", "!", "InBrackets", ")", "return", "finishBundle", "(", "IDLoc", ",", "Out", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["MatchAndEmitInstruction", "-", "Recognize", "a", "series", "of", "operands", "of", "a", "parsed", "instruction", "as", "an", "actual", "MCInst", "and", "emit", "it", "to", "the", "specified", "MCStreamer", "."], "TS_V_token": ["Hexagon", "Hexagon", "0", "Hexagon", "Hexagon", "0", "\"{\"", "1", "\"Brackets should be by themselves\"", "\"Already in a packet\"", "\"}\"", "1", "\"Brackets should be by themselves\"", "\"Not in a packet\"", "Hexagon", "Hexagon"], "File": "HexagonAsmParser (2)", "Func": "MatchAndEmitInstruction", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1735, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "legitimize_pic_address", "(", "rtx", "orig", ",", "enum", "machine_mode", "mode", ",", "rtx", "reg", ")", "{", "if", "(", "GET_CODE", "(", "orig", ")", "==", "SYMBOL_REF", "||", "GET_CODE", "(", "orig", ")", "==", "LABEL_REF", ")", "{", "rtx", "pic_ref", ",", "address", ";", "rtx", "insn", ";", "int", "subregs", "=", "0", ";", "if", "(", "reg", "==", "0", ")", "{", "gcc_assert", "(", "!", "no_new_pseudos", ")", ";", "reg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "subregs", "=", "1", ";", "}", "insn", "=", "emit_insn", "(", "gen_pic_load_addr_based", "(", "reg", ",", "orig", ")", ")", ";", "if", "(", "subregs", ")", "address", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "else", "address", "=", "reg", ";", "if", "(", "TARGET_ARM", ")", "emit_insn", "(", "gen_pic_load_addr_arm", "(", "address", ",", "orig", ")", ")", ";", "else", "emit_insn", "(", "gen_pic_load_addr_thumb", "(", "address", ",", "orig", ")", ")", ";", "if", "(", "(", "GET_CODE", "(", "orig", ")", "==", "LABEL_REF", "||", "(", "GET_CODE", "(", "orig", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_LOCAL_P", "(", "orig", ")", ")", ")", "&&", "NEED_GOT_RELOC", ")", "pic_ref", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "pic_offset_table_rtx", ",", "address", ")", ";", "else", "{", "pic_ref", "=", "gen_const_mem", "(", "Pmode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "pic_offset_table_rtx", ",", "address", ")", ")", ";", "}", "insn", "=", "emit_move_insn", "(", "reg", ",", "pic_ref", ")", ";", "current_function_uses_pic_offset_table", "=", "1", ";", "REG_NOTES", "(", "insn", ")", "=", "gen_rtx_EXPR_LIST", "(", "REG_EQUAL", ",", "orig", ",", "REG_NOTES", "(", "insn", ")", ")", ";", "return", "reg", ";", "}", "else", "if", "(", "GET_CODE", "(", "orig", ")", "==", "CONST", ")", "{", "rtx", "base", ",", "offset", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "orig", ",", "0", ")", ")", "==", "PLUS", "&&", "XEXP", "(", "XEXP", "(", "orig", ",", "0", ")", ",", "0", ")", "==", "pic_offset_table_rtx", ")", "return", "orig", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "orig", ",", "0", ")", ")", "==", "UNSPEC", "&&", "XINT", "(", "XEXP", "(", "orig", ",", "0", ")", ",", "1", ")", "==", "UNSPEC_TLS", ")", "return", "orig", ";", "if", "(", "reg", "==", "0", ")", "{", "gcc_assert", "(", "!", "no_new_pseudos", ")", ";", "reg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "}", "gcc_assert", "(", "GET_CODE", "(", "XEXP", "(", "orig", ",", "0", ")", ")", "==", "PLUS", ")", ";", "base", "=", "legitimize_pic_address", "(", "XEXP", "(", "XEXP", "(", "orig", ",", "0", ")", ",", "0", ")", ",", "Pmode", ",", "reg", ")", ";", "offset", "=", "legitimize_pic_address", "(", "XEXP", "(", "XEXP", "(", "orig", ",", "0", ")", ",", "1", ")", ",", "Pmode", ",", "base", "==", "reg", "?", "0", ":", "reg", ")", ";", "if", "(", "GET_CODE", "(", "offset", ")", "==", "CONST_INT", ")", "{", "if", "(", "!", "arm_legitimate_index_p", "(", "mode", ",", "offset", ",", "SET", ",", "0", ")", ")", "{", "gcc_assert", "(", "!", "no_new_pseudos", ")", ";", "offset", "=", "force_reg", "(", "Pmode", ",", "offset", ")", ";", "}", "if", "(", "GET_CODE", "(", "offset", ")", "==", "CONST_INT", ")", "return", "plus_constant", "(", "base", ",", "INTVAL", "(", "offset", ")", ")", ";", "}", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", ">", "4", "&&", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_INT", "||", "TARGET_SOFT_FLOAT", ")", ")", "{", "emit_insn", "(", "gen_addsi3", "(", "reg", ",", "base", ",", "offset", ")", ")", ";", "return", "reg", ";", "}", "return", "gen_rtx_PLUS", "(", "Pmode", ",", "base", ",", "offset", ")", ";", "}", "return", "orig", ";", "}", ""], "natrual_language": ["Legitimize", "PIC", "addresses", ".", "If", "the", "address", "is", "already", "position-independent", ",", "we", "return", "ORIG", ".", "Newly", "generated", "position-independent", "addresses", "go", "into", "a", "reg", ".", "This", "is", "REG", "if", "nonzero", ",", "otherwise", "we", "allocate", "register", "(", "s", ")", "as", "necessary", "."], "TS_V_token": ["arm", "0", "0", "1", "1", "0", "0", "0", "0", "0", "1", "0", "0", "0", "0", "0", "1", "0", "0", "4"], "File": "arm3", "Func": "legitimize_pic_address", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1736, "Length": 489, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mcore_mark_dllimport", "(", "tree", "decl", ")", "{", "const", "char", "*", "oldname", ";", "char", "*", "newname", ";", "tree", "idp", ";", "rtx", "rtlname", ";", "rtx", "newrtl", ";", "rtlname", "=", "XEXP", "(", "DECL_RTL", "(", "decl", ")", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "rtlname", ")", "==", "MEM", ")", "rtlname", "=", "XEXP", "(", "rtlname", ",", "0", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "rtlname", ")", "==", "SYMBOL_REF", ")", ";", "oldname", "=", "XSTR", "(", "rtlname", ",", "0", ")", ";", "gcc_assert", "(", "!", "mcore_dllexport_name_p", "(", "oldname", ")", ")", ";", "if", "(", "mcore_dllimport_name_p", "(", "oldname", ")", ")", "return", ";", "if", "(", "TREE_CODE", "(", "decl", ")", "==", "VAR_DECL", "&&", "!", "DECL_VIRTUAL_P", "(", "decl", ")", "&&", "DECL_INITIAL", "(", "decl", ")", ")", "{", "error", "(", "\"initialized variable %q+D is marked dllimport\"", ",", "decl", ")", ";", "return", ";", "}", "if", "(", "TREE_CODE", "(", "decl", ")", "==", "VAR_DECL", "&&", "!", "DECL_VIRTUAL_P", "(", "decl", ")", ")", "{", "DECL_EXTERNAL", "(", "decl", ")", "=", "1", ";", "TREE_PUBLIC", "(", "decl", ")", "=", "1", ";", "}", "newname", "=", "XALLOCAVEC", "(", "char", ",", "strlen", "(", "oldname", ")", "+", "11", ")", ";", "sprintf", "(", "newname", ",", "\"@i.__imp_%s\"", ",", "oldname", ")", ";", "idp", "=", "get_identifier", "(", "newname", ")", ";", "newrtl", "=", "gen_rtx_MEM", "(", "Pmode", ",", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "IDENTIFIER_POINTER", "(", "idp", ")", ")", ")", ";", "XEXP", "(", "DECL_RTL", "(", "decl", ")", ",", "0", ")", "=", "newrtl", ";", "}", ""], "natrual_language": ["Mark", "a", "DECL", "as", "being", "dllimport", "'d", "."], "TS_V_token": ["mcore", "0", "0", "0", "\"initialized variable %q+D is marked dllimport\"", "1", "1", "11", "\"@i.__imp_%s\"", "0"], "File": "mcore", "Func": "mcore_mark_dllimport", "Target": "mcore", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1737, "Length": 215, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "TPCRegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{", "return", "CSR_AllRegs_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["TPC", "TPC"], "File": "TPCRegisterInfo", "Func": "getCallPreservedMask", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1738, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "insert_insn_end_basic_block", "(", "rtx_insn", "*", "rinsn", ",", "basic_block", "cfg_bb", ")", "{", "rtx_insn", "*", "end_rinsn", "=", "BB_END", "(", "cfg_bb", ")", ";", "rtx_insn", "*", "new_insn", ";", "rtx_insn", "*", "pat", ",", "*", "pat_end", ";", "pat", "=", "rinsn", ";", "gcc_assert", "(", "pat", "&&", "INSN_P", "(", "pat", ")", ")", ";", "pat_end", "=", "pat", ";", "while", "(", "NEXT_INSN", "(", "pat_end", ")", "!=", "NULL_RTX", ")", "pat_end", "=", "NEXT_INSN", "(", "pat_end", ")", ";", "if", "(", "JUMP_P", "(", "end_rinsn", ")", "||", "(", "NONJUMP_INSN_P", "(", "end_rinsn", ")", "&&", "(", "!", "single_succ_p", "(", "cfg_bb", ")", "||", "single_succ_edge", "(", "cfg_bb", ")", "->", "flags", "&", "EDGE_ABNORMAL", ")", ")", ")", "{", "new_insn", "=", "emit_insn_before_noloc", "(", "pat", ",", "end_rinsn", ",", "cfg_bb", ")", ";", "}", "else", "if", "(", "CALL_P", "(", "end_rinsn", ")", "&&", "(", "!", "single_succ_p", "(", "cfg_bb", ")", "||", "single_succ_edge", "(", "cfg_bb", ")", "->", "flags", "&", "EDGE_ABNORMAL", ")", ")", "{", "end_rinsn", "=", "find_first_parameter_load", "(", "end_rinsn", ",", "BB_HEAD", "(", "cfg_bb", ")", ")", ";", "while", "(", "LABEL_P", "(", "end_rinsn", ")", "||", "NOTE_INSN_BASIC_BLOCK_P", "(", "end_rinsn", ")", ")", "end_rinsn", "=", "NEXT_INSN", "(", "end_rinsn", ")", ";", "new_insn", "=", "emit_insn_before_noloc", "(", "pat", ",", "end_rinsn", ",", "cfg_bb", ")", ";", "}", "else", "new_insn", "=", "emit_insn_after_noloc", "(", "pat", ",", "end_rinsn", ",", "cfg_bb", ")", ";", "while", "(", "1", ")", "{", "if", "(", "INSN_P", "(", "pat", ")", ")", "add_label_notes", "(", "PATTERN", "(", "pat", ")", ",", "new_insn", ")", ";", "if", "(", "pat", "==", "pat_end", ")", "break", ";", "pat", "=", "NEXT_INSN", "(", "pat", ")", ";", "}", "}", ""], "natrual_language": ["Add", "EXPR", "to", "the", "end", "of", "basic", "block", "BB", ".", "This", "is", "used", "by", "both", "the", "PRE", "and", "code", "hoisting", "."], "TS_V_token": ["riscv", "1"], "File": "riscv-vsetvl", "Func": "insert_insn_end_basic_block", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1739, "Length": 230, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_emit_int_cmove", "(", "rtx", "dest", ",", "rtx", "op", ",", "rtx", "true_cond", ",", "rtx", "false_cond", ")", "{", "rtx", "condition_rtx", ",", "cr", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "enum", "rtx_code", "cond_code", ";", "rtx", "(", "*", "isel_func", ")", "(", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ")", ";", "bool", "signedp", ";", "if", "(", "mode", "!=", "SImode", "&&", "(", "!", "TARGET_POWERPC64", "||", "mode", "!=", "DImode", ")", ")", "return", "0", ";", "condition_rtx", "=", "rs6000_generate_compare", "(", "op", ",", "mode", ")", ";", "cond_code", "=", "GET_CODE", "(", "condition_rtx", ")", ";", "cr", "=", "XEXP", "(", "condition_rtx", ",", "0", ")", ";", "signedp", "=", "GET_MODE", "(", "cr", ")", "==", "CCmode", ";", "isel_func", "=", "(", "mode", "==", "SImode", "?", "(", "signedp", "?", "gen_isel_signed_si", ":", "gen_isel_unsigned_si", ")", ":", "(", "signedp", "?", "gen_isel_signed_di", ":", "gen_isel_unsigned_di", ")", ")", ";", "switch", "(", "cond_code", ")", "{", "case", "LT", ":", "case", "GT", ":", "case", "LTU", ":", "case", "GTU", ":", "case", "EQ", ":", "break", ";", "default", ":", "{", "std", "::", "swap", "(", "false_cond", ",", "true_cond", ")", ";", "PUT_CODE", "(", "condition_rtx", ",", "reverse_condition", "(", "cond_code", ")", ")", ";", "}", "break", ";", "}", "false_cond", "=", "force_reg", "(", "mode", ",", "false_cond", ")", ";", "if", "(", "true_cond", "!=", "const0_rtx", ")", "true_cond", "=", "force_reg", "(", "mode", ",", "true_cond", ")", ";", "emit_insn", "(", "isel_func", "(", "dest", ",", "condition_rtx", ",", "true_cond", ",", "false_cond", ",", "cr", ")", ")", ";", "return", "1", ";", "}", ""], "natrual_language": ["Same", "as", "above", ",", "but", "for", "ints", "(", "isel", ")", "."], "TS_V_token": ["rs6000", "0", "0", "1"], "File": "rs60004", "Func": "rs6000_emit_int_cmove", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1740, "Length": 222, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "adjacent_mem_locations", "(", "rtx", "a", ",", "rtx", "b", ")", "{", "if", "(", "volatile_refs_p", "(", "a", ")", "||", "volatile_refs_p", "(", "b", ")", ")", "return", "0", ";", "if", "(", "(", "GET_CODE", "(", "XEXP", "(", "a", ",", "0", ")", ")", "==", "REG", "||", "(", "GET_CODE", "(", "XEXP", "(", "a", ",", "0", ")", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "a", ",", "0", ")", ",", "1", ")", ")", "==", "CONST_INT", ")", ")", "&&", "(", "GET_CODE", "(", "XEXP", "(", "b", ",", "0", ")", ")", "==", "REG", "||", "(", "GET_CODE", "(", "XEXP", "(", "b", ",", "0", ")", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "b", ",", "0", ")", ",", "1", ")", ")", "==", "CONST_INT", ")", ")", ")", "{", "HOST_WIDE_INT", "val0", "=", "0", ",", "val1", "=", "0", ";", "rtx", "reg0", ",", "reg1", ";", "int", "val_diff", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "a", ",", "0", ")", ")", "==", "PLUS", ")", "{", "reg0", "=", "XEXP", "(", "XEXP", "(", "a", ",", "0", ")", ",", "0", ")", ";", "val0", "=", "INTVAL", "(", "XEXP", "(", "XEXP", "(", "a", ",", "0", ")", ",", "1", ")", ")", ";", "}", "else", "reg0", "=", "XEXP", "(", "a", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "b", ",", "0", ")", ")", "==", "PLUS", ")", "{", "reg1", "=", "XEXP", "(", "XEXP", "(", "b", ",", "0", ")", ",", "0", ")", ";", "val1", "=", "INTVAL", "(", "XEXP", "(", "XEXP", "(", "b", ",", "0", ")", ",", "1", ")", ")", ";", "}", "else", "reg1", "=", "XEXP", "(", "b", ",", "0", ")", ";", "if", "(", "!", "const_ok_for_op", "(", "PLUS", ",", "val0", ")", "||", "!", "const_ok_for_op", "(", "PLUS", ",", "val1", ")", ")", "return", "0", ";", "if", "(", "arm_eliminable_register", "(", "reg0", ")", ")", "return", "0", ";", "val_diff", "=", "val1", "-", "val0", ";", "if", "(", "arm_ld_sched", ")", "{", "return", "(", "optimize_size", "&&", "(", "REGNO", "(", "reg0", ")", "==", "REGNO", "(", "reg1", ")", ")", "&&", "(", "val0", "==", "0", "||", "val1", "==", "0", "||", "val0", "==", "4", "||", "val1", "==", "4", ")", "&&", "(", "val_diff", "==", "4", "||", "val_diff", "==", "-", "4", ")", ")", ";", "}", "return", "(", "(", "REGNO", "(", "reg0", ")", "==", "REGNO", "(", "reg1", ")", ")", "&&", "(", "val_diff", "==", "4", "||", "val_diff", "==", "-", "4", ")", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["If", "the", "target", "storage", "locations", "of", "arguments", "MEM1", "and", "MEM2", "are", "adjacent", ",", "then", "return", "the", "argument", "that", "has", "the", "lower", "address", ".", "Otherwise", ",", "return", "NULL_RTX", "."], "TS_V_token": ["arm", "0", "0", "0", "0", "1", "0", "0", "0", "1", "0", "0", "0", "0", "0", "0", "1", "0", "0", "0", "0", "0", "1", "0", "0", "0", "0", "0", "4", "4", "4", "4", "4", "4", "0"], "File": "arm3", "Func": "adjacent_mem_locations", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1741, "Length": 369, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsSEFrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "MachineBasicBlock", "*", "EntryBlock", "=", "&", "MF", "->", "front", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "bool", "IsRAAndRetAddrIsTaken", "=", "(", "Reg", "==", "Mips", "::", "RA", "||", "Reg", "==", "Mips", "::", "RA_64", ")", "&&", "MF", "->", "getFrameInfo", "(", ")", ".", "isReturnAddressTaken", "(", ")", ";", "if", "(", "!", "IsRAAndRetAddrIsTaken", ")", "EntryBlock", "->", "addLiveIn", "(", "Reg", ")", ";", "bool", "IsLOHI", "=", "(", "Reg", "==", "Mips", "::", "LO0", "||", "Reg", "==", "Mips", "::", "LO0_64", "||", "Reg", "==", "Mips", "::", "HI0", "||", "Reg", "==", "Mips", "::", "HI0_64", ")", ";", "const", "Function", "&", "Func", "=", "MBB", ".", "getParent", "(", ")", "->", "getFunction", "(", ")", ";", "if", "(", "IsLOHI", "&&", "Func", ".", "hasFnAttribute", "(", "\"interrupt\"", ")", ")", "{", "DebugLoc", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "unsigned", "Op", "=", "0", ";", "if", "(", "!", "STI", ".", "getABI", "(", ")", ".", "ArePtrs64bit", "(", ")", ")", "{", "Op", "=", "(", "Reg", "==", "Mips", "::", "HI0", ")", "?", "Mips", "::", "MFHI", ":", "Mips", "::", "MFLO", ";", "Reg", "=", "Mips", "::", "K0", ";", "}", "else", "{", "Op", "=", "(", "Reg", "==", "Mips", "::", "HI0", ")", "?", "Mips", "::", "MFHI64", ":", "Mips", "::", "MFLO64", ";", "Reg", "=", "Mips", "::", "K0_64", ";", "}", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "Op", ")", ",", "Mips", "::", "K0", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "bool", "IsKill", "=", "!", "IsRAAndRetAddrIsTaken", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "TII", ".", "storeRegToStackSlot", "(", "*", "EntryBlock", ",", "MI", ",", "Reg", ",", "IsKill", ",", "CSI", "[", "i", "]", ".", "getFrameIdx", "(", ")", ",", "RC", ",", "TRI", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["spillCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "spill", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "store", "instructions", "via", "storeRegToStackSlot", "(", ")", "."], "TS_V_token": ["Mips", "Mips", "0", "Mips::RA", "Mips::RA_64", "Mips::LO0", "Mips::LO0_64", "Mips::HI0", "Mips::HI0_64", "\"interrupt\"", "0", "Mips::HI0", "Mips::MFHI", "Mips::MFLO", "Mips::K0", "Mips::HI0", "Mips::MFHI64", "Mips::MFLO64", "Mips::K0_64", "Mips::K0"], "File": "MipsSEFrameLowering6", "Func": "spillCalleeSavedRegisters", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1742, "Length": 352, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64AdvSIMDScalar", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "mf", ")", "{", "bool", "Changed", "=", "false", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** AArch64AdvSIMDScalar *****\\n\"", ")", ";", "MRI", "=", "&", "mf", ".", "getRegInfo", "(", ")", ";", "TII", "=", "mf", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "I", "=", "mf", ".", "begin", "(", ")", ",", "E", "=", "mf", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "if", "(", "processMachineBasicBlock", "(", "&", "*", "I", ")", ")", "Changed", "=", "true", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "\"***** AArch64AdvSIMDScalar *****\\n\""], "File": "AArch64AdvSIMDScalarPass6", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1743, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "Value", "*", "buildMul", "(", "IRBuilder", "<", ">", "&", "B", ",", "Value", "*", "LHS", ",", "Value", "*", "RHS", ")", "{", "const", "ConstantInt", "*", "CI", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "LHS", ")", ";", "return", "(", "CI", "&&", "CI", "->", "isOne", "(", ")", ")", "?", "RHS", ":", "B", ".", "CreateMul", "(", "LHS", ",", "RHS", ")", ";", "}", ""], "natrual_language": ["Build", "and", "insert", "Res", "=", "G_MUL", "Op0", ",", "Op1", "."], "TS_V_token": ["AMDGPU"], "File": "AMDGPUAtomicOptimizer14", "Func": "buildMul", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1744, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sparc_vis_init_builtins", "(", "void", ")", "{", "tree", "v4qi", "=", "build_vector_type", "(", "unsigned_intQI_type_node", ",", "4", ")", ";", "tree", "v8qi", "=", "build_vector_type", "(", "unsigned_intQI_type_node", ",", "8", ")", ";", "tree", "v4hi", "=", "build_vector_type", "(", "intHI_type_node", ",", "4", ")", ";", "tree", "v2hi", "=", "build_vector_type", "(", "intHI_type_node", ",", "2", ")", ";", "tree", "v2si", "=", "build_vector_type", "(", "intSI_type_node", ",", "2", ")", ";", "tree", "v4qi_ftype_v4hi", "=", "build_function_type_list", "(", "v4qi", ",", "v4hi", ",", "0", ")", ";", "tree", "v8qi_ftype_v2si_v8qi", "=", "build_function_type_list", "(", "v8qi", ",", "v2si", ",", "v8qi", ",", "0", ")", ";", "tree", "v2hi_ftype_v2si", "=", "build_function_type_list", "(", "v2hi", ",", "v2si", ",", "0", ")", ";", "tree", "v4hi_ftype_v4qi", "=", "build_function_type_list", "(", "v4hi", ",", "v4qi", ",", "0", ")", ";", "tree", "v8qi_ftype_v4qi_v4qi", "=", "build_function_type_list", "(", "v8qi", ",", "v4qi", ",", "v4qi", ",", "0", ")", ";", "tree", "v4hi_ftype_v4qi_v4hi", "=", "build_function_type_list", "(", "v4hi", ",", "v4qi", ",", "v4hi", ",", "0", ")", ";", "tree", "v4hi_ftype_v4qi_v2hi", "=", "build_function_type_list", "(", "v4hi", ",", "v4qi", ",", "v2hi", ",", "0", ")", ";", "tree", "v2si_ftype_v4qi_v2hi", "=", "build_function_type_list", "(", "v2si", ",", "v4qi", ",", "v2hi", ",", "0", ")", ";", "tree", "v4hi_ftype_v8qi_v4hi", "=", "build_function_type_list", "(", "v4hi", ",", "v8qi", ",", "v4hi", ",", "0", ")", ";", "tree", "v4hi_ftype_v4hi_v4hi", "=", "build_function_type_list", "(", "v4hi", ",", "v4hi", ",", "v4hi", ",", "0", ")", ";", "tree", "v2si_ftype_v2si_v2si", "=", "build_function_type_list", "(", "v2si", ",", "v2si", ",", "v2si", ",", "0", ")", ";", "tree", "v8qi_ftype_v8qi_v8qi", "=", "build_function_type_list", "(", "v8qi", ",", "v8qi", ",", "v8qi", ",", "0", ")", ";", "tree", "di_ftype_v8qi_v8qi_di", "=", "build_function_type_list", "(", "intDI_type_node", ",", "v8qi", ",", "v8qi", ",", "intDI_type_node", ",", "0", ")", ";", "tree", "di_ftype_di_di", "=", "build_function_type_list", "(", "intDI_type_node", ",", "intDI_type_node", ",", "intDI_type_node", ",", "0", ")", ";", "tree", "ptr_ftype_ptr_si", "=", "build_function_type_list", "(", "ptr_type_node", ",", "ptr_type_node", ",", "intSI_type_node", ",", "0", ")", ";", "tree", "ptr_ftype_ptr_di", "=", "build_function_type_list", "(", "ptr_type_node", ",", "ptr_type_node", ",", "intDI_type_node", ",", "0", ")", ";", "def_builtin", "(", "\"__builtin_vis_fpack16\"", ",", "CODE_FOR_fpack16_vis", ",", "v4qi_ftype_v4hi", ")", ";", "def_builtin", "(", "\"__builtin_vis_fpack32\"", ",", "CODE_FOR_fpack32_vis", ",", "v8qi_ftype_v2si_v8qi", ")", ";", "def_builtin", "(", "\"__builtin_vis_fpackfix\"", ",", "CODE_FOR_fpackfix_vis", ",", "v2hi_ftype_v2si", ")", ";", "def_builtin", "(", "\"__builtin_vis_fexpand\"", ",", "CODE_FOR_fexpand_vis", ",", "v4hi_ftype_v4qi", ")", ";", "def_builtin", "(", "\"__builtin_vis_fpmerge\"", ",", "CODE_FOR_fpmerge_vis", ",", "v8qi_ftype_v4qi_v4qi", ")", ";", "def_builtin", "(", "\"__builtin_vis_fmul8x16\"", ",", "CODE_FOR_fmul8x16_vis", ",", "v4hi_ftype_v4qi_v4hi", ")", ";", "def_builtin", "(", "\"__builtin_vis_fmul8x16au\"", ",", "CODE_FOR_fmul8x16au_vis", ",", "v4hi_ftype_v4qi_v2hi", ")", ";", "def_builtin", "(", "\"__builtin_vis_fmul8x16al\"", ",", "CODE_FOR_fmul8x16al_vis", ",", "v4hi_ftype_v4qi_v2hi", ")", ";", "def_builtin", "(", "\"__builtin_vis_fmul8sux16\"", ",", "CODE_FOR_fmul8sux16_vis", ",", "v4hi_ftype_v8qi_v4hi", ")", ";", "def_builtin", "(", "\"__builtin_vis_fmul8ulx16\"", ",", "CODE_FOR_fmul8ulx16_vis", ",", "v4hi_ftype_v8qi_v4hi", ")", ";", "def_builtin", "(", "\"__builtin_vis_fmuld8sux16\"", ",", "CODE_FOR_fmuld8sux16_vis", ",", "v2si_ftype_v4qi_v2hi", ")", ";", "def_builtin", "(", "\"__builtin_vis_fmuld8ulx16\"", ",", "CODE_FOR_fmuld8ulx16_vis", ",", "v2si_ftype_v4qi_v2hi", ")", ";", "def_builtin", "(", "\"__builtin_vis_faligndatav4hi\"", ",", "CODE_FOR_faligndatav4hi_vis", ",", "v4hi_ftype_v4hi_v4hi", ")", ";", "def_builtin", "(", "\"__builtin_vis_faligndatav8qi\"", ",", "CODE_FOR_faligndatav8qi_vis", ",", "v8qi_ftype_v8qi_v8qi", ")", ";", "def_builtin", "(", "\"__builtin_vis_faligndatav2si\"", ",", "CODE_FOR_faligndatav2si_vis", ",", "v2si_ftype_v2si_v2si", ")", ";", "def_builtin", "(", "\"__builtin_vis_faligndatadi\"", ",", "CODE_FOR_faligndatadi_vis", ",", "di_ftype_di_di", ")", ";", "if", "(", "TARGET_ARCH64", ")", "def_builtin", "(", "\"__builtin_vis_alignaddr\"", ",", "CODE_FOR_alignaddrdi_vis", ",", "ptr_ftype_ptr_di", ")", ";", "else", "def_builtin", "(", "\"__builtin_vis_alignaddr\"", ",", "CODE_FOR_alignaddrsi_vis", ",", "ptr_ftype_ptr_si", ")", ";", "def_builtin", "(", "\"__builtin_vis_pdist\"", ",", "CODE_FOR_pdist_vis", ",", "di_ftype_v8qi_v8qi_di", ")", ";", "}", ""], "natrual_language": ["Create", "builtin", "functions", "for", "VIS", "1.0", "instructions", "."], "TS_V_token": ["sparc", "4", "8", "4", "2", "2", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "\"__builtin_vis_fpack16\"", "\"__builtin_vis_fpack32\"", "\"__builtin_vis_fpackfix\"", "\"__builtin_vis_fexpand\"", "\"__builtin_vis_fpmerge\"", "\"__builtin_vis_fmul8x16\"", "\"__builtin_vis_fmul8x16au\"", "\"__builtin_vis_fmul8x16al\"", "\"__builtin_vis_fmul8sux16\"", "\"__builtin_vis_fmul8ulx16\"", "\"__builtin_vis_fmuld8sux16\"", "\"__builtin_vis_fmuld8ulx16\"", "\"__builtin_vis_faligndatav4hi\"", "\"__builtin_vis_faligndatav8qi\"", "\"__builtin_vis_faligndatav2si\"", "\"__builtin_vis_faligndatadi\"", "\"__builtin_vis_alignaddr\"", "\"__builtin_vis_alignaddr\"", "\"__builtin_vis_pdist\""], "File": "sparc3", "Func": "sparc_vis_init_builtins", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1745, "Length": 454, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "avr_notice_update_cc", "(", "rtx", "body", "ATTRIBUTE_UNUSED", ",", "rtx_insn", "*", "insn", ")", "{", "rtx", "set", ";", "enum", "attr_cc", "cc", "=", "get_attr_cc", "(", "insn", ")", ";", "switch", "(", "cc", ")", "{", "default", ":", "break", ";", "case", "CC_PLUS", ":", "case", "CC_LDI", ":", "{", "rtx", "*", "op", "=", "recog_data", ".", "operand", ";", "int", "len_dummy", ",", "icc", ";", "extract_constrain_insn_cached", "(", "insn", ")", ";", "switch", "(", "cc", ")", "{", "default", ":", "gcc_unreachable", "(", ")", ";", "case", "CC_PLUS", ":", "avr_out_plus", "(", "insn", ",", "op", ",", "&", "len_dummy", ",", "&", "icc", ")", ";", "cc", "=", "(", "enum", "attr_cc", ")", "icc", ";", "break", ";", "case", "CC_LDI", ":", "cc", "=", "(", "op", "[", "1", "]", "==", "CONST0_RTX", "(", "GET_MODE", "(", "op", "[", "0", "]", ")", ")", "&&", "reg_overlap_mentioned_p", "(", "op", "[", "0", "]", ",", "zero_reg_rtx", ")", ")", "?", "CC_CLOBBER", ":", "CC_NONE", ";", "break", ";", "}", "break", ";", "}", "}", "switch", "(", "cc", ")", "{", "default", ":", "gcc_unreachable", "(", ")", ";", "break", ";", "case", "CC_NONE", ":", "if", "(", "cc_status", ".", "value1", "||", "cc_status", ".", "value2", ")", "{", "HARD_REG_SET", "regs_used", ";", "HARD_REG_SET", "regs_set", ";", "CLEAR_HARD_REG_SET", "(", "regs_used", ")", ";", "if", "(", "cc_status", ".", "value1", "&&", "!", "CONSTANT_P", "(", "cc_status", ".", "value1", ")", ")", "{", "find_all_hard_regs", "(", "cc_status", ".", "value1", ",", "&", "regs_used", ")", ";", "}", "if", "(", "cc_status", ".", "value2", "&&", "!", "CONSTANT_P", "(", "cc_status", ".", "value2", ")", ")", "{", "find_all_hard_regs", "(", "cc_status", ".", "value2", ",", "&", "regs_used", ")", ";", "}", "find_all_hard_reg_sets", "(", "insn", ",", "&", "regs_set", ",", "false", ")", ";", "if", "(", "hard_reg_set_intersect_p", "(", "regs_used", ",", "regs_set", ")", ")", "{", "CC_STATUS_INIT", ";", "}", "}", "break", ";", "case", "CC_SET_N", ":", "CC_STATUS_INIT", ";", "break", ";", "case", "CC_SET_ZN", ":", "set", "=", "single_set", "(", "insn", ")", ";", "CC_STATUS_INIT", ";", "if", "(", "set", ")", "{", "cc_status", ".", "flags", "|=", "CC_NO_OVERFLOW", ";", "cc_status", ".", "value1", "=", "SET_DEST", "(", "set", ")", ";", "}", "break", ";", "case", "CC_SET_VZN", ":", "CC_STATUS_INIT", ";", "break", ";", "case", "CC_SET_CZN", ":", "set", "=", "single_set", "(", "insn", ")", ";", "CC_STATUS_INIT", ";", "if", "(", "set", ")", "{", "cc_status", ".", "value1", "=", "SET_DEST", "(", "set", ")", ";", "cc_status", ".", "flags", "|=", "CC_OVERFLOW_UNUSABLE", ";", "}", "break", ";", "case", "CC_COMPARE", ":", "set", "=", "single_set", "(", "insn", ")", ";", "CC_STATUS_INIT", ";", "if", "(", "set", ")", "cc_status", ".", "value1", "=", "SET_SRC", "(", "set", ")", ";", "break", ";", "case", "CC_CLOBBER", ":", "CC_STATUS_INIT", ";", "break", ";", "}", "}", ""], "natrual_language": ["Update", "the", "condition", "code", "in", "the", "INSN", "."], "TS_V_token": ["avr", "1", "0", "0"], "File": "avr", "Func": "avr_notice_update_cc", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1746, "Length": 375, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86CallLowering", "::", "lowerFormalArguments", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Function", "&", "F", ",", "ArrayRef", "<", "unsigned", ">", "VRegs", ")", "const", "{", "if", "(", "F", ".", "arg_empty", "(", ")", ")", "return", "true", ";", "if", "(", "F", ".", "isVarArg", "(", ")", ")", "return", "false", ";", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "auto", "DL", "=", "MF", ".", "getDataLayout", "(", ")", ";", "SmallVector", "<", "ArgInfo", ",", "8", ">", "SplitArgs", ";", "unsigned", "Idx", "=", "0", ";", "for", "(", "auto", "&", "Arg", ":", "F", ".", "args", "(", ")", ")", "{", "ArgInfo", "OrigArg", "(", "VRegs", "[", "Idx", "]", ",", "Arg", ".", "getType", "(", ")", ")", ";", "setArgFlags", "(", "OrigArg", ",", "Idx", "+", "1", ",", "DL", ",", "F", ")", ";", "LLT", "Ty", "=", "MRI", ".", "getType", "(", "VRegs", "[", "Idx", "]", ")", ";", "unsigned", "Dst", "=", "VRegs", "[", "Idx", "]", ";", "bool", "Split", "=", "false", ";", "splitToValueTypes", "(", "OrigArg", ",", "SplitArgs", ",", "DL", ",", "MRI", ",", "[", "&", "]", "(", "unsigned", "Reg", ",", "uint64_t", "Offset", ")", "{", "if", "(", "!", "Split", ")", "{", "Split", "=", "true", ";", "Dst", "=", "MRI", ".", "createGenericVirtualRegister", "(", "Ty", ")", ";", "MIRBuilder", ".", "buildUndef", "(", "Dst", ")", ";", "}", "unsigned", "Tmp", "=", "MRI", ".", "createGenericVirtualRegister", "(", "Ty", ")", ";", "MIRBuilder", ".", "buildInsert", "(", "Tmp", ",", "Dst", ",", "Reg", ",", "Offset", ")", ";", "Dst", "=", "Tmp", ";", "}", ")", ";", "if", "(", "Dst", "!=", "VRegs", "[", "Idx", "]", ")", "MIRBuilder", ".", "buildCopy", "(", "VRegs", "[", "Idx", "]", ",", "Dst", ")", ";", "Idx", "++", ";", "}", "MachineBasicBlock", "&", "MBB", "=", "MIRBuilder", ".", "getMBB", "(", ")", ";", "if", "(", "!", "MBB", ".", "empty", "(", ")", ")", "MIRBuilder", ".", "setInstr", "(", "*", "MBB", ".", "begin", "(", ")", ")", ";", "FormalArgHandler", "Handler", "(", "MIRBuilder", ",", "MRI", ",", "CC_X86", ",", "DL", ")", ";", "if", "(", "!", "handleAssignments", "(", "MIRBuilder", ",", "SplitArgs", ",", "Handler", ")", ")", "return", "false", ";", "MIRBuilder", ".", "setMBB", "(", "MBB", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "VRegs", ",", "for", "GlobalISel", "."], "TS_V_token": ["X86", "X86", "8", "0", "1", "X86"], "File": "X86CallLowering28", "Func": "lowerFormalArguments", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1747, "Length": 325, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PTXMFInfoExtract", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "PTXMachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "PTXMachineFunctionInfo", ">", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "MRI", ".", "getNumVirtRegs", "(", ")", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "TargetRegisterInfo", "::", "index2VirtReg", "(", "i", ")", ";", "const", "TargetRegisterClass", "*", "TRC", "=", "MRI", ".", "getRegClass", "(", "Reg", ")", ";", "MFI", "->", "addVirtualRegister", "(", "TRC", ",", "Reg", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["PTX", "PTX", "PTX", "PTX", "0"], "File": "PTXMFInfoExtract3", "Func": "runOnMachineFunction", "Target": "PTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1748, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstrBuilder", "MipsInstrInfo", "::", "genInstrWithNewOpc", "(", "unsigned", "NewOpc", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "MachineInstrBuilder", "MIB", ";", "MIB", "=", "BuildMI", "(", "*", "I", "->", "getParent", "(", ")", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "get", "(", "NewOpc", ")", ")", ";", "for", "(", "unsigned", "J", "=", "0", ",", "E", "=", "I", "->", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", ";", "J", "<", "E", ";", "++", "J", ")", "MIB", ".", "addOperand", "(", "I", "->", "getOperand", "(", "J", ")", ")", ";", "MIB", ".", "setMemRefs", "(", "I", "->", "memoperands_begin", "(", ")", ",", "I", "->", "memoperands_end", "(", ")", ")", ";", "return", "MIB", ";", "}", ""], "natrual_language": ["Create", "an", "instruction", "which", "has", "the", "same", "operands", "and", "memory", "operands", "as", "MI", "but", "has", "a", "new", "opcode", "."], "TS_V_token": ["Mips", "Mips", "0"], "File": "MipsInstrInfo1", "Func": "genInstrWithNewOpc", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1749, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AMDGPUMCInstLower", "::", "lower", "(", "const", "MachineInstr", "*", "MI", ",", "MCInst", "&", "OutMI", ")", "const", "{", "int", "MCOpcode", "=", "ST", ".", "getInstrInfo", "(", ")", "->", "pseudoToMCOpcode", "(", "MI", "->", "getOpcode", "(", ")", ")", ";", "if", "(", "MCOpcode", "==", "-", "1", ")", "{", "LLVMContext", "&", "C", "=", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getFunction", "(", ")", "->", "getContext", "(", ")", ";", "C", ".", "emitError", "(", "\"AMDGPUMCInstLower::lower - Pseudo instruction doesn't have \"", "\"a target-specific version: \"", "+", "Twine", "(", "MI", "->", "getOpcode", "(", ")", ")", ")", ";", "}", "OutMI", ".", "setOpcode", "(", "MCOpcode", ")", ";", "for", "(", "const", "MachineOperand", "&", "MO", ":", "MI", "->", "explicit_operands", "(", ")", ")", "{", "MCOperand", "MCOp", ";", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"unknown operand type\"", ")", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "MCOp", "=", "MCOperand", "::", "createImm", "(", "MO", ".", "getImm", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_Register", ":", "MCOp", "=", "MCOperand", "::", "createReg", "(", "AMDGPU", "::", "getMCReg", "(", "MO", ".", "getReg", "(", ")", ",", "ST", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "MCOp", "=", "MCOperand", "::", "createExpr", "(", "MCSymbolRefExpr", "::", "create", "(", "MO", ".", "getMBB", "(", ")", "->", "getSymbol", "(", ")", ",", "Ctx", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "{", "const", "GlobalValue", "*", "GV", "=", "MO", ".", "getGlobal", "(", ")", ";", "MCSymbol", "*", "Sym", "=", "Ctx", ".", "getOrCreateSymbol", "(", "StringRef", "(", "GV", "->", "getName", "(", ")", ")", ")", ";", "const", "MCExpr", "*", "SymExpr", "=", "MCSymbolRefExpr", "::", "create", "(", "Sym", ",", "Ctx", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MCBinaryExpr", "::", "createAdd", "(", "SymExpr", ",", "MCConstantExpr", "::", "create", "(", "MO", ".", "getOffset", "(", ")", ",", "Ctx", ")", ",", "Ctx", ")", ";", "MCOp", "=", "MCOperand", "::", "createExpr", "(", "Expr", ")", ";", "break", ";", "}", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "{", "MCSymbol", "*", "Sym", "=", "Ctx", ".", "getOrCreateSymbol", "(", "StringRef", "(", "MO", ".", "getSymbolName", "(", ")", ")", ")", ";", "Sym", "->", "setExternal", "(", "true", ")", ";", "const", "MCSymbolRefExpr", "*", "Expr", "=", "MCSymbolRefExpr", "::", "create", "(", "Sym", ",", "Ctx", ")", ";", "MCOp", "=", "MCOperand", "::", "createExpr", "(", "Expr", ")", ";", "break", ";", "}", "}", "OutMI", ".", "addOperand", "(", "MCOp", ")", ";", "}", "}", ""], "natrual_language": ["The", "instruction", "is", "lowered", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "1", "\"AMDGPUMCInstLower::lower - Pseudo instruction doesn't have \"", "\"a target-specific version: \"", "\"unknown operand type\"", "AMDGPU::getMCReg"], "File": "AMDGPUMCInstLower49", "Func": "lower", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1750, "Length": 355, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "xstormy16_trampoline_init", "(", "rtx", "m_tramp", ",", "tree", "fndecl", ",", "rtx", "static_chain", ")", "{", "rtx", "temp", "=", "gen_reg_rtx", "(", "HImode", ")", ";", "rtx", "reg_fnaddr", "=", "gen_reg_rtx", "(", "HImode", ")", ";", "rtx", "reg_addr", ",", "reg_addr_mem", ";", "reg_addr", "=", "copy_to_reg", "(", "XEXP", "(", "m_tramp", ",", "0", ")", ")", ";", "reg_addr_mem", "=", "adjust_automodify_address", "(", "m_tramp", ",", "HImode", ",", "reg_addr", ",", "0", ")", ";", "emit_move_insn", "(", "temp", ",", "GEN_INT", "(", "0x3130", "|", "STATIC_CHAIN_REGNUM", ")", ")", ";", "emit_move_insn", "(", "reg_addr_mem", ",", "temp", ")", ";", "emit_insn", "(", "gen_addhi3", "(", "reg_addr", ",", "reg_addr", ",", "const2_rtx", ")", ")", ";", "reg_addr_mem", "=", "adjust_automodify_address", "(", "reg_addr_mem", ",", "VOIDmode", ",", "NULL", ",", "2", ")", ";", "emit_move_insn", "(", "temp", ",", "static_chain", ")", ";", "emit_move_insn", "(", "reg_addr_mem", ",", "temp", ")", ";", "emit_insn", "(", "gen_addhi3", "(", "reg_addr", ",", "reg_addr", ",", "const2_rtx", ")", ")", ";", "reg_addr_mem", "=", "adjust_automodify_address", "(", "reg_addr_mem", ",", "VOIDmode", ",", "NULL", ",", "2", ")", ";", "emit_move_insn", "(", "reg_fnaddr", ",", "XEXP", "(", "DECL_RTL", "(", "fndecl", ")", ",", "0", ")", ")", ";", "emit_move_insn", "(", "temp", ",", "reg_fnaddr", ")", ";", "emit_insn", "(", "gen_andhi3", "(", "temp", ",", "temp", ",", "GEN_INT", "(", "0xFF", ")", ")", ")", ";", "emit_insn", "(", "gen_iorhi3", "(", "temp", ",", "temp", ",", "GEN_INT", "(", "0x0200", ")", ")", ")", ";", "emit_move_insn", "(", "reg_addr_mem", ",", "temp", ")", ";", "emit_insn", "(", "gen_addhi3", "(", "reg_addr", ",", "reg_addr", ",", "const2_rtx", ")", ")", ";", "reg_addr_mem", "=", "adjust_automodify_address", "(", "reg_addr_mem", ",", "VOIDmode", ",", "NULL", ",", "2", ")", ";", "emit_insn", "(", "gen_lshrhi3", "(", "reg_fnaddr", ",", "reg_fnaddr", ",", "GEN_INT", "(", "8", ")", ")", ")", ";", "emit_move_insn", "(", "reg_addr_mem", ",", "reg_fnaddr", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_TRAMPOLINE_INIT", "."], "TS_V_token": ["stormy16", "0", "0", "0x3130", "2", "2", "0", "0xFF", "0x0200", "2", "8"], "File": "stormy16", "Func": "xstormy16_trampoline_init", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1751, "Length": 250, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "mmix_starting_frame_offset", "(", "void", ")", "{", "return", "(", "-", "8", "+", "(", "MMIX_CFUN_HAS_LANDING_PAD", "?", "-", "16", ":", "(", "MMIX_CFUN_NEEDS_SAVED_EH_RETURN_ADDRESS", "?", "-", "8", ":", "0", ")", ")", ")", ";", "}", ""], "natrual_language": ["STARTING_FRAME_OFFSET", "."], "TS_V_token": ["mmix", "8", "16", "8", "0"], "File": "mmix", "Func": "mmix_starting_frame_offset", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1752, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb1InstrInfo", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "bool", "isVarArg", "=", "AFI", "->", "getVarArgsRegSaveSize", "(", ")", ">", "0", ";", "DebugLoc", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MF", ",", "DL", ",", "get", "(", "ARM", "::", "tPOP", ")", ")", ";", "AddDefaultPred", "(", "MIB", ")", ";", "bool", "NumRegs", "=", "false", ";", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "0", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "1", "]", ".", "getReg", "(", ")", ";", "if", "(", "Reg", "==", "ARM", "::", "LR", ")", "{", "if", "(", "isVarArg", ")", "continue", ";", "Reg", "=", "ARM", "::", "PC", ";", "(", "*", "MIB", ")", ".", "setDesc", "(", "get", "(", "ARM", "::", "tPOP_RET", ")", ")", ";", "MI", "=", "MBB", ".", "erase", "(", "MI", ")", ";", "}", "MIB", ".", "addReg", "(", "Reg", ",", "getDefRegState", "(", "true", ")", ")", ";", "NumRegs", "=", "true", ";", "}", "if", "(", "NumRegs", ")", "MBB", ".", "insert", "(", "MI", ",", "&", "*", "MIB", ")", ";", "else", "MF", ".", "DeleteMachineInstr", "(", "MIB", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["restoreCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "restore", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "load", "instructions", "via", "loadRegToStackSlot", "(", ")", "."], "TS_V_token": ["ARM", "ARM", "ARM", "0", "ARM::tPOP", "0", "1", "ARM::LR", "ARM::PC", "ARM::tPOP_RET"], "File": "Thumb1InstrInfo11", "Func": "restoreCalleeSavedRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1753, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "cpp_hashnode", "*", "spu_macro_to_expand", "(", "cpp_reader", "*", "pfile", ",", "const", "cpp_token", "*", "tok", ")", "{", "cpp_hashnode", "*", "expand_this", "=", "tok", "->", "val", ".", "node", ".", "node", ";", "cpp_hashnode", "*", "ident", ";", "ident", "=", "spu_categorize_keyword", "(", "tok", ")", ";", "if", "(", "ident", "==", "C_CPP_HASHNODE", "(", "__vector_keyword", ")", ")", "{", "tok", "=", "cpp_peek_token", "(", "pfile", ",", "0", ")", ";", "ident", "=", "spu_categorize_keyword", "(", "tok", ")", ";", "if", "(", "ident", ")", "{", "enum", "rid", "rid_code", "=", "(", "enum", "rid", ")", "(", "ident", "->", "rid_code", ")", ";", "if", "(", "ident", "->", "type", "==", "NT_MACRO", ")", "{", "(", "void", ")", "cpp_get_token", "(", "pfile", ")", ";", "tok", "=", "cpp_peek_token", "(", "pfile", ",", "0", ")", ";", "ident", "=", "spu_categorize_keyword", "(", "tok", ")", ";", "if", "(", "ident", ")", "rid_code", "=", "(", "enum", "rid", ")", "(", "ident", "->", "rid_code", ")", ";", "}", "if", "(", "rid_code", "==", "RID_UNSIGNED", "||", "rid_code", "==", "RID_LONG", "||", "rid_code", "==", "RID_SHORT", "||", "rid_code", "==", "RID_SIGNED", "||", "rid_code", "==", "RID_INT", "||", "rid_code", "==", "RID_CHAR", "||", "rid_code", "==", "RID_FLOAT", "||", "rid_code", "==", "RID_DOUBLE", ")", "expand_this", "=", "C_CPP_HASHNODE", "(", "__vector_keyword", ")", ";", "}", "}", "return", "expand_this", ";", "}", ""], "natrual_language": ["Called", "to", "decide", "whether", "a", "conditional", "macro", "should", "be", "expanded", ".", "Since", "we", "have", "exactly", "one", "such", "macro", "(", "i.e", ",", "'vector", "'", ")", ",", "we", "do", "not", "need", "to", "examine", "the", "'tok", "'", "parameter", "."], "TS_V_token": ["spu", "0", "0"], "File": "spu-c", "Func": "spu_macro_to_expand", "Target": "spu", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1754, "Length": 180, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64SelectionDAGInfo", "::", "EmitTargetCodeForMemset", "(", "SelectionDAG", "&", "DAG", ",", "SDLoc", "dl", ",", "SDValue", "Chain", ",", "SDValue", "Dst", ",", "SDValue", "Src", ",", "SDValue", "Size", ",", "unsigned", "Align", ",", "bool", "isVolatile", ",", "MachinePointerInfo", "DstPtrInfo", ")", "const", "{", "ConstantSDNode", "*", "V", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Src", ")", ";", "ConstantSDNode", "*", "SizeValue", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Size", ")", ";", "const", "char", "*", "bzeroEntry", "=", "(", "V", "&&", "V", "->", "isNullValue", "(", ")", ")", "?", "DAG", ".", "getTarget", "(", ")", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "getBZeroEntry", "(", ")", ":", "nullptr", ";", "if", "(", "bzeroEntry", "&&", "(", "!", "SizeValue", "||", "SizeValue", "->", "getZExtValue", "(", ")", ">", "256", ")", ")", "{", "const", "AArch64TargetLowering", "&", "TLI", "=", "*", "static_cast", "<", "const", "AArch64TargetLowering", "*", ">", "(", "DAG", ".", "getTarget", "(", ")", ".", "getTargetLowering", "(", ")", ")", ";", "EVT", "IntPtr", "=", "TLI", ".", "getPointerTy", "(", ")", ";", "Type", "*", "IntPtrTy", "=", "getDataLayout", "(", ")", "->", "getIntPtrType", "(", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "TargetLowering", "::", "ArgListTy", "Args", ";", "TargetLowering", "::", "ArgListEntry", "Entry", ";", "Entry", ".", "Node", "=", "Dst", ";", "Entry", ".", "Ty", "=", "IntPtrTy", ";", "Args", ".", "push_back", "(", "Entry", ")", ";", "Entry", ".", "Node", "=", "Size", ";", "Args", ".", "push_back", "(", "Entry", ")", ";", "TargetLowering", "::", "CallLoweringInfo", "CLI", "(", "DAG", ")", ";", "CLI", ".", "setDebugLoc", "(", "dl", ")", ".", "setChain", "(", "Chain", ")", ".", "setCallee", "(", "CallingConv", "::", "C", ",", "Type", "::", "getVoidTy", "(", "*", "DAG", ".", "getContext", "(", ")", ")", ",", "DAG", ".", "getExternalSymbol", "(", "bzeroEntry", ",", "IntPtr", ")", ",", "std", "::", "move", "(", "Args", ")", ",", "0", ")", ".", "setDiscardResult", "(", ")", ";", "std", "::", "pair", "<", "SDValue", ",", "SDValue", ">", "CallResult", "=", "TLI", ".", "LowerCallTo", "(", "CLI", ")", ";", "return", "CallResult", ".", "second", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memset", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "256", "AArch64", "AArch64", "0"], "File": "AArch64SelectionDAGInfo4", "Func": "EmitTargetCodeForMemset", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1755, "Length": 294, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "csky_function_arg", "(", "cumulative_args_t", "pcum_v", ",", "machine_mode", "mode", ",", "const_tree", "type", "ATTRIBUTE_UNUSED", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "CUMULATIVE_ARGS", "*", "pcum", "=", "get_cumulative_args", "(", "pcum_v", ")", ";", "if", "(", "*", "pcum", "<", "CSKY_NPARM_REGS", ")", "return", "gen_rtx_REG", "(", "mode", ",", "CSKY_FIRST_PARM_REGNUM", "+", "*", "pcum", ")", ";", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Determine", "where", "to", "put", "an", "argument", "to", "a", "function", ".", "Value", "is", "zero", "to", "push", "the", "argument", "on", "the", "stack", ",", "or", "a", "hard", "register", "in", "which", "to", "store", "the", "argument", ".", "MODE", "is", "the", "argument", "'s", "machine", "mode", ".", "TYPE", "is", "the", "data", "type", "of", "the", "argument", "(", "as", "a", "tree", ")", ".", "This", "is", "null", "for", "libcalls", "where", "that", "information", "may", "not", "be", "available", ".", "CUM", "is", "a", "variable", "of", "type", "CUMULATIVE_ARGS", "which", "gives", "info", "about", "the", "preceding", "args", "and", "about", "the", "function", "being", "called", ".", "NAMED", "is", "nonzero", "if", "this", "argument", "is", "a", "named", "parameter", "(", "otherwise", "it", "is", "an", "extra", "parameter", "matching", "an", "ellipsis", ")", "."], "TS_V_token": ["csky"], "File": "csky2", "Func": "csky_function_arg", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1756, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"GCN NSA Reassign\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AMDGPU", "\"GCN NSA Reassign\""], "File": "GCNNSAReassign", "Func": "getPassName", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1757, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TTI", "::", "PopcntSupportKind", "getPopcntSupport", "(", "unsigned", "TyWidth", ")", "{", "assert", "(", "isPowerOf2_32", "(", "TyWidth", ")", "&&", "\"Ty width must be power of 2\"", ")", ";", "return", "TTI", "::", "PSK_FastHardware", ";", "}", ""], "natrual_language": ["Return", "hardware", "support", "for", "population", "count", "."], "TS_V_token": ["AMDGPU", "\"Ty width must be power of 2\""], "File": "AMDGPUTargetTransformInfo (2)1", "Func": "getPopcntSupport", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1758, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIInsertSkips", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "SISubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "SISubtarget", ">", "(", ")", ";", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "&", "TII", "->", "getRegisterInfo", "(", ")", ";", "SkipThreshold", "=", "SkipThresholdFlag", ";", "bool", "HaveKill", "=", "false", ";", "bool", "MadeChange", "=", "false", ";", "SmallVector", "<", "MachineBasicBlock", "*", ",", "16", ">", "ExecBranchStack", ";", "MachineFunction", "::", "iterator", "NextBB", ";", "MachineBasicBlock", "*", "EmptyMBBAtEnd", "=", "nullptr", ";", "for", "(", "MachineFunction", "::", "iterator", "BI", "=", "MF", ".", "begin", "(", ")", ",", "BE", "=", "MF", ".", "end", "(", ")", ";", "BI", "!=", "BE", ";", "BI", "=", "NextBB", ")", "{", "NextBB", "=", "std", "::", "next", "(", "BI", ")", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "BI", ";", "bool", "HaveSkipBlock", "=", "false", ";", "if", "(", "!", "ExecBranchStack", ".", "empty", "(", ")", "&&", "ExecBranchStack", ".", "back", "(", ")", "==", "&", "MBB", ")", "{", "ExecBranchStack", ".", "pop_back", "(", ")", ";", "}", "if", "(", "HaveKill", "&&", "ExecBranchStack", ".", "empty", "(", ")", ")", "{", "HaveKill", "=", "false", ";", "}", "MachineBasicBlock", "::", "iterator", "I", ",", "Next", ";", "for", "(", "I", "=", "MBB", ".", "begin", "(", ")", ";", "I", "!=", "MBB", ".", "end", "(", ")", ";", "I", "=", "Next", ")", "{", "Next", "=", "std", "::", "next", "(", "I", ")", ";", "MachineInstr", "&", "MI", "=", "*", "I", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "AMDGPU", "::", "SI_MASK_BRANCH", ":", "ExecBranchStack", ".", "push_back", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ")", ";", "MadeChange", "|=", "skipMaskBranch", "(", "MI", ",", "MBB", ")", ";", "break", ";", "case", "AMDGPU", "::", "S_BRANCH", ":", "if", "(", "MBB", ".", "isLayoutSuccessor", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ")", ")", "{", "MI", ".", "eraseFromParent", "(", ")", ";", "}", "else", "if", "(", "HaveSkipBlock", ")", "{", "MI", ".", "eraseFromParent", "(", ")", ";", "}", "break", ";", "case", "AMDGPU", "::", "SI_KILL_F32_COND_IMM_TERMINATOR", ":", "case", "AMDGPU", "::", "SI_KILL_I1_TERMINATOR", ":", "MadeChange", "=", "true", ";", "kill", "(", "MI", ")", ";", "if", "(", "ExecBranchStack", ".", "empty", "(", ")", ")", "{", "if", "(", "skipIfDead", "(", "MI", ",", "*", "NextBB", ")", ")", "{", "HaveSkipBlock", "=", "true", ";", "NextBB", "=", "std", "::", "next", "(", "BI", ")", ";", "BE", "=", "MF", ".", "end", "(", ")", ";", "}", "}", "else", "{", "HaveKill", "=", "true", ";", "}", "MI", ".", "eraseFromParent", "(", ")", ";", "break", ";", "case", "AMDGPU", "::", "SI_RETURN_TO_EPILOG", ":", "assert", "(", "!", "MF", ".", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", "->", "returnsVoid", "(", ")", ")", ";", "if", "(", "BI", "!=", "--", "MF", ".", "end", "(", ")", "||", "I", "!=", "MBB", ".", "getFirstTerminator", "(", ")", ")", "{", "if", "(", "!", "EmptyMBBAtEnd", ")", "{", "EmptyMBBAtEnd", "=", "MF", ".", "CreateMachineBasicBlock", "(", ")", ";", "MF", ".", "insert", "(", "MF", ".", "end", "(", ")", ",", "EmptyMBBAtEnd", ")", ";", "}", "MBB", ".", "addSuccessor", "(", "EmptyMBBAtEnd", ")", ";", "BuildMI", "(", "*", "BI", ",", "I", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "AMDGPU", "::", "S_BRANCH", ")", ")", ".", "addMBB", "(", "EmptyMBBAtEnd", ")", ";", "I", "->", "eraseFromParent", "(", ")", ";", "}", "break", ";", "default", ":", "break", ";", "}", "}", "}", "return", "MadeChange", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "16", "AMDGPU::SI_MASK_BRANCH", "0", "AMDGPU::S_BRANCH", "0", "AMDGPU::SI_KILL_F32_COND_IMM_TERMINATOR", "AMDGPU::SI_KILL_I1_TERMINATOR", "AMDGPU::SI_RETURN_TO_EPILOG", "SI", "AMDGPU::S_BRANCH"], "File": "SIInsertSkips10", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1759, "Length": 503, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MVT", "::", "SimpleValueType", "BlackfinTargetLowering", "::", "getSetCCResultType", "(", "EVT", "VT", ")", "const", "{", "return", "MVT", "::", "i32", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["Blackfin", "MVT::SimpleValueType", "MVT::i32"], "File": "BlackfinISelLowering2", "Func": "getSetCCResultType", "Target": "Blackfin", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1760, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "if", "(", "isFrameStoreOpcode", "(", "MI", ".", "getOpcode", "(", ")", ")", ")", "if", "(", "MI", ".", "getOperand", "(", "X86", "::", "AddrNumOperands", ")", ".", "getSubReg", "(", ")", "==", "0", "&&", "isFrameOperand", "(", "MI", ",", "0", ",", "FrameIndex", ")", ")", "return", "MI", ".", "getOperand", "(", "X86", "::", "AddrNumOperands", ")", ".", "getReg", "(", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["isStoreToStackSlot", "-", "If", "the", "specified", "machine", "instruction", "is", "a", "direct", "store", "to", "a", "stack", "slot", ",", "return", "the", "virtual", "or", "physical", "register", "number", "of", "the", "source", "reg", "along", "with", "the", "FrameIndex", "of", "the", "loaded", "stack", "slot", "."], "TS_V_token": ["X86", "X86", "X86::AddrNumOperands", "0", "0", "X86::AddrNumOperands", "0"], "File": "X86InstrInfo (2)1", "Func": "isStoreToStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1761, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MSP430Subtarget", "::", "MSP430Subtarget", "(", "const", "Triple", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "const", "TargetMachine", "&", "TM", ")", ":", "MSP430GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "FrameLowering", "(", ")", ",", "InstrInfo", "(", "initializeSubtargetDependencies", "(", "CPU", ",", "FS", ")", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", "{", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["MSP430", "MSP430", "MSP430", "MSP430"], "File": "MSP430Subtarget15", "Func": "MSP430Subtarget", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1762, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_evpc_trn", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "HOST_WIDE_INT", "odd", ";", "poly_uint64", "nelt", "=", "d", "->", "perm", ".", "length", "(", ")", ";", "rtx", "out", ",", "in0", ",", "in1", ",", "x", ";", "machine_mode", "vmode", "=", "d", "->", "vmode", ";", "if", "(", "GET_MODE_UNIT_SIZE", "(", "vmode", ")", ">", "8", ")", "return", "false", ";", "if", "(", "!", "d", "->", "perm", "[", "0", "]", ".", "is_constant", "(", "&", "odd", ")", "||", "(", "odd", "!=", "0", "&&", "odd", "!=", "1", ")", "||", "!", "d", "->", "perm", ".", "series_p", "(", "0", ",", "2", ",", "odd", ",", "2", ")", "||", "!", "d", "->", "perm", ".", "series_p", "(", "1", ",", "2", ",", "nelt", "+", "odd", ",", "2", ")", ")", "return", "false", ";", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "in0", "=", "d", "->", "op0", ";", "in1", "=", "d", "->", "op1", ";", "if", "(", "BYTES_BIG_ENDIAN", "&&", "d", "->", "vec_flags", "==", "VEC_ADVSIMD", ")", "{", "x", "=", "in0", ",", "in0", "=", "in1", ",", "in1", "=", "x", ";", "odd", "=", "!", "odd", ";", "}", "out", "=", "d", "->", "target", ";", "emit_set_insn", "(", "out", ",", "gen_rtx_UNSPEC", "(", "vmode", ",", "gen_rtvec", "(", "2", ",", "in0", ",", "in1", ")", ",", "odd", "?", "UNSPEC_TRN2", ":", "UNSPEC_TRN1", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Recognize", "patterns", "suitable", "for", "the", "TRN", "instructions", "."], "TS_V_token": ["aarch64", "8", "0", "0", "1", "0", "2", "2", "1", "2", "2", "2"], "File": "aarch64", "Func": "aarch64_evpc_trn", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1763, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "PatmosInstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["Patmos", "Patmos"], "File": "PatmosTargetMachine", "Func": "getInstrInfo", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 1764, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "AArch64CA53ErratumStub", "::", "getData", "(", ")", "const", "{", "return", "m_pData", ";", "}", ""], "natrual_language": ["Get", "the", "data", "pointed", "to", "by", "this", "extractor", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64CA53ErratumStub", "Func": "getData", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1765, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "rs6000_expand_ldst_mask", "(", "rtx", "target", ",", "tree", "arg0", ")", "{", "int", "icode2", "=", "BYTES_BIG_ENDIAN", "?", "(", "int", ")", "CODE_FOR_altivec_lvsr_direct", ":", "(", "int", ")", "CODE_FOR_altivec_lvsl_direct", ";", "machine_mode", "tmode", "=", "insn_data", "[", "icode2", "]", ".", "operand", "[", "0", "]", ".", "mode", ";", "machine_mode", "mode", "=", "insn_data", "[", "icode2", "]", ".", "operand", "[", "1", "]", ".", "mode", ";", "gcc_assert", "(", "TARGET_ALTIVEC", ")", ";", "gcc_assert", "(", "POINTER_TYPE_P", "(", "TREE_TYPE", "(", "arg0", ")", ")", ")", ";", "rtx", "op", "=", "expand_expr", "(", "arg0", ",", "NULL_RTX", ",", "Pmode", ",", "EXPAND_NORMAL", ")", ";", "rtx", "addr", "=", "memory_address", "(", "mode", ",", "op", ")", ";", "op", "=", "gen_reg_rtx", "(", "GET_MODE", "(", "addr", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "op", ",", "gen_rtx_NEG", "(", "GET_MODE", "(", "addr", ")", ",", "addr", ")", ")", ")", ";", "op", "=", "gen_rtx_MEM", "(", "mode", ",", "op", ")", ";", "if", "(", "target", "==", "0", "||", "GET_MODE", "(", "target", ")", "!=", "tmode", "||", "!", "insn_data", "[", "icode2", "]", ".", "operand", "[", "0", "]", ".", "predicate", "(", "target", ",", "tmode", ")", ")", "target", "=", "gen_reg_rtx", "(", "tmode", ")", ";", "rtx", "pat", "=", "GEN_FCN", "(", "icode2", ")", "(", "target", ",", "op", ")", ";", "if", "(", "!", "pat", ")", "return", "0", ";", "emit_insn", "(", "pat", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Expand", "ALTIVEC_BUILTIN_MASK_FOR_LOAD", "."], "TS_V_token": ["rs6000", "0", "1", "0", "0", "0"], "File": "rs6000-builtin", "Func": "rs6000_expand_ldst_mask", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1766, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "avr_hard_regno_mode_ok", "(", "int", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "==", "1", ")", "return", "1", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", ">=", "4", "&&", "regno", ">=", "REG_X", ")", "return", "0", ";", "return", "!", "(", "regno", "&", "1", ")", ";", "}", ""], "natrual_language": ["Returns", "1", "if", "a", "value", "of", "mode", "MODE", "can", "be", "stored", "starting", "with", "hard", "register", "number", "REGNO", ".", "On", "the", "enhanced", "core", ",", "anything", "larger", "than", "1", "byte", "must", "start", "in", "even", "numbered", "register", "for", "``", "movw", "''", "to", "work", "(", "this", "way", "we", "do", "n't", "have", "to", "check", "for", "odd", "registers", "everywhere", ")", "."], "TS_V_token": ["avr", "1", "1", "4", "0", "1"], "File": "avr4", "Func": "avr_hard_regno_mode_ok", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1767, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonTTIImpl", "::", "isLegalMaskedStore", "(", "Type", "*", "DataType", ",", "Align", ")", "{", "return", "HexagonMaskedVMem", "&&", "ST", ".", "isTypeForHVX", "(", "DataType", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "store", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon"], "File": "HexagonTargetTransformInfo16", "Func": "isLegalMaskedStore", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1768, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "AMDGPUInstrInfo", "::", "foldMemoryOperandImpl", "(", "MachineFunction", "&", "MF", ",", "MachineInstr", "*", "MI", ",", "ArrayRef", "<", "unsigned", ">", "Ops", ",", "MachineInstr", "*", "LoadMI", ")", "const", "{", "return", "nullptr", ";", "}", ""], "natrual_language": ["foldMemoryOperand", "-", "Same", "as", "the", "previous", "version", "except", "it", "allows", "folding", "of", "any", "load", "and", "store", "from", "/", "to", "any", "address", ",", "not", "just", "from", "a", "specific", "stack", "slot", "."], "TS_V_token": ["R600"], "File": "AMDGPUInstrInfo17", "Func": "foldMemoryOperandImpl", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1769, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "rvexRegisterInfo", "&", "rvexInstrInfo", "::", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["rvex", "rvex", "rvex"], "File": "rvexInstrInfo", "Func": "getRegisterInfo", "Target": "rvex", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 1770, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "csky_far_jump_used_p", "(", "void", ")", "{", "rtx_insn", "*", "insn", ";", "if", "(", "cfun", "->", "machine", "->", "far_jump_used", ")", "return", "true", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "if", "(", "GET_CODE", "(", "insn", ")", "==", "JUMP_INSN", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "!=", "ADDR_VEC", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "!=", "ADDR_DIFF_VEC", "&&", "get_attr_far_jump", "(", "insn", ")", "==", "FAR_JUMP_YES", ")", "{", "cfun", "->", "machine", "->", "far_jump_used", "=", "1", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Check", "to", "see", "if", "the", "current", "function", "contains", "a", "branch", "insn", "with", "the", "far", "jump", "attribute", "set", ".", "Such", "a", "function", "uses", "the", "LR", "register", "."], "TS_V_token": ["csky", "1"], "File": "csky", "Func": "csky_far_jump_used_p", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1771, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonInstrInfo", "::", "isSchedulingBoundary", "(", "const", "MachineInstr", "*", "MI", ",", "const", "MachineBasicBlock", "*", "MBB", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "MI", "->", "isDebugValue", "(", ")", ")", "return", "false", ";", "if", "(", "MI", "->", "getDesc", "(", ")", ".", "isTerminator", "(", ")", "||", "MI", "->", "isLabel", "(", ")", "||", "MI", "->", "isInlineAsm", "(", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["isSchedulingBoundary", "-", "Overrides", "the", "isSchedulingBoundary", "from", "Codegen/TargetInstrInfo.cpp", "to", "make", "it", "capable", "of", "identifying", "ENDBR", "intructions", "and", "prevent", "it", "from", "being", "re-scheduled", "."], "TS_V_token": ["Hexagon", "Hexagon"], "File": "HexagonInstrInfo11", "Func": "isSchedulingBoundary", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1772, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nds32_register_passes", "(", "void", ")", "{", "nds32_register_pass", "(", "make_pass_nds32_relax_opt", ",", "PASS_POS_INSERT_AFTER", ",", "\"mach\"", ")", ";", "}", ""], "natrual_language": ["This", "function", "is", "called", "from", "nds32_option_override", "(", ")", ".", "All", "new", "passes", "should", "be", "registered", "here", "."], "TS_V_token": ["nds32", "\"mach\""], "File": "nds325", "Func": "nds32_register_passes", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1773, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "fixup_addr_diff_vecs", "(", "rtx_insn", "*", "first", ")", "{", "rtx_insn", "*", "insn", ";", "for", "(", "insn", "=", "first", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "rtx", "vec_lab", ",", "pat", ",", "prevpat", ",", "x", ",", "braf_label", ";", "rtx_insn", "*", "prev", ";", "if", "(", "!", "JUMP_TABLE_DATA_P", "(", "insn", ")", "||", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "!=", "ADDR_DIFF_VEC", ")", "continue", ";", "pat", "=", "PATTERN", "(", "insn", ")", ";", "vec_lab", "=", "XEXP", "(", "XEXP", "(", "pat", ",", "0", ")", ",", "0", ")", ";", "for", "(", "prev", "=", "as_a", "<", "rtx_insn", "*", ">", "(", "vec_lab", ")", ";", ";", "prev", "=", "PREV_INSN", "(", "prev", ")", ")", "{", "if", "(", "!", "JUMP_P", "(", "prev", ")", ")", "continue", ";", "prevpat", "=", "PATTERN", "(", "prev", ")", ";", "if", "(", "GET_CODE", "(", "prevpat", ")", "!=", "PARALLEL", "||", "XVECLEN", "(", "prevpat", ",", "0", ")", "!=", "2", ")", "continue", ";", "x", "=", "XVECEXP", "(", "prevpat", ",", "0", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "!=", "USE", ")", "continue", ";", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", "&&", "XEXP", "(", "x", ",", "0", ")", "==", "vec_lab", ")", "break", ";", "}", "if", "(", "!", "prev", ")", "continue", ";", "braf_label", "=", "XEXP", "(", "XEXP", "(", "SET_SRC", "(", "XVECEXP", "(", "prevpat", ",", "0", ",", "0", ")", ")", ",", "1", ")", ",", "0", ")", ";", "emit_label_after", "(", "braf_label", ",", "prev", ")", ";", "XEXP", "(", "XEXP", "(", "pat", ",", "0", ")", ",", "0", ")", "=", "braf_label", ";", "}", "}", ""], "natrual_language": ["Fix", "up", "ADDR_DIFF_VECs", "."], "TS_V_token": ["sh", "0", "0", "0", "2", "0", "1", "0", "0", "0", "0", "1", "0", "0", "0"], "File": "sh4", "Func": "fixup_addr_diff_vecs", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1774, "Length": 249, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AAPAsmPrinter", "::", "lowerOperand", "(", "const", "MachineOperand", "&", "MO", ",", "MCOperand", "&", "MCOp", ")", "{", "AAPMCInstLower", "MCInstLowering", "(", "OutContext", ",", "*", "this", ")", ";", "return", "MCInstLowering", ".", "LowerMachineOperand", "(", "MO", ",", "MCOp", ")", ";", "}", ""], "natrual_language": ["Wrapper", "for", "MCInstLowering.lowerOperand", "(", ")", "for", "the", "tblgen'erated", "pseudo", "lowering", "."], "TS_V_token": ["AAP", "AAP", "AAP"], "File": "AAPAsmPrinter", "Func": "lowerOperand", "Target": "AAP", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1775, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"Lanai Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Lanai", "\"Lanai Assembly Printer\""], "File": "LanaiAsmPrinter", "Func": "getPassName", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1776, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MipsSubtarget", "::", "MipsSubtarget", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "bool", "little", ",", "const", "MipsTargetMachine", "&", "TM", ",", "unsigned", "StackAlignOverride", ")", ":", "MipsGenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "MipsArchVersion", "(", "MipsDefault", ")", ",", "IsLittle", "(", "little", ")", ",", "IsSoftFloat", "(", "false", ")", ",", "IsSingleFloat", "(", "false", ")", ",", "IsFPXX", "(", "false", ")", ",", "NoABICalls", "(", "false", ")", ",", "IsFP64bit", "(", "false", ")", ",", "UseOddSPReg", "(", "true", ")", ",", "IsNaN2008bit", "(", "false", ")", ",", "IsGP64bit", "(", "false", ")", ",", "HasVFPU", "(", "false", ")", ",", "HasCnMips", "(", "false", ")", ",", "HasMips3_32", "(", "false", ")", ",", "HasMips3_32r2", "(", "false", ")", ",", "HasMips4_32", "(", "false", ")", ",", "HasMips4_32r2", "(", "false", ")", ",", "HasMips5_32r2", "(", "false", ")", ",", "InMips16Mode", "(", "false", ")", ",", "InMips16HardFloat", "(", "Mips16HardFloat", ")", ",", "InMicroMipsMode", "(", "false", ")", ",", "HasDSP", "(", "false", ")", ",", "HasDSPR2", "(", "false", ")", ",", "HasDSPR3", "(", "false", ")", ",", "AllowMixed16_32", "(", "Mixed16_32", "|", "Mips_Os16", ")", ",", "Os16", "(", "Mips_Os16", ")", ",", "HasMSA", "(", "false", ")", ",", "UseTCCInDIV", "(", "false", ")", ",", "HasSym32", "(", "false", ")", ",", "HasEVA", "(", "false", ")", ",", "DisableMadd4", "(", "false", ")", ",", "HasMT", "(", "false", ")", ",", "StackAlignOverride", "(", "StackAlignOverride", ")", ",", "TM", "(", "TM", ")", ",", "TargetTriple", "(", "TT", ")", ",", "TSInfo", "(", ")", ",", "InstrInfo", "(", "MipsInstrInfo", "::", "create", "(", "initializeSubtargetDependencies", "(", "CPU", ",", "FS", ",", "TM", ")", ")", ")", ",", "FrameLowering", "(", "MipsFrameLowering", "::", "create", "(", "*", "this", ")", ")", ",", "TLInfo", "(", "MipsTargetLowering", "::", "create", "(", "TM", ",", "*", "this", ")", ")", "{", "if", "(", "MipsArchVersion", "==", "MipsDefault", ")", "MipsArchVersion", "=", "Mips32", ";", "if", "(", "MipsArchVersion", "==", "Mips1", ")", "report_fatal_error", "(", "\"Code generation for MIPS-I is not implemented\"", ",", "false", ")", ";", "if", "(", "MipsArchVersion", "==", "Mips5", ")", "report_fatal_error", "(", "\"Code generation for MIPS-V is not implemented\"", ",", "false", ")", ";", "assert", "(", "(", "(", "!", "isGP64bit", "(", ")", "&&", "isABI_O32", "(", ")", ")", "||", "(", "isGP64bit", "(", ")", "&&", "(", "isABI_N32", "(", ")", "||", "isABI_N64", "(", ")", ")", ")", ")", "&&", "\"Invalid Arch & ABI pair.\"", ")", ";", "if", "(", "hasMSA", "(", ")", "&&", "!", "isFP64bit", "(", ")", ")", "report_fatal_error", "(", "\"MSA requires a 64-bit FPU register file (FR=1 mode). \"", "\"See -mattr=+fp64.\"", ",", "false", ")", ";", "if", "(", "!", "isABI_O32", "(", ")", "&&", "!", "useOddSPReg", "(", ")", ")", "report_fatal_error", "(", "\"-mattr=+nooddspreg requires the O32 ABI.\"", ",", "false", ")", ";", "if", "(", "IsFPXX", "&&", "(", "isABI_N32", "(", ")", "||", "isABI_N64", "(", ")", ")", ")", "report_fatal_error", "(", "\"FPXX is not permitted for the N32/N64 ABI's.\"", ",", "false", ")", ";", "if", "(", "hasMips32r6", "(", ")", ")", "{", "StringRef", "ISA", "=", "hasMips64r6", "(", ")", "?", "\"MIPS64r6\"", ":", "\"MIPS32r6\"", ";", "assert", "(", "isFP64bit", "(", ")", ")", ";", "assert", "(", "isNaN2008", "(", ")", ")", ";", "if", "(", "hasDSP", "(", ")", ")", "report_fatal_error", "(", "ISA", "+", "\" is not compatible with the DSP ASE\"", ",", "false", ")", ";", "}", "if", "(", "NoABICalls", "&&", "TM", ".", "isPositionIndependent", "(", ")", ")", "report_fatal_error", "(", "\"position-independent code requires '-mabicalls'\"", ")", ";", "if", "(", "isABI_N64", "(", ")", "&&", "!", "TM", ".", "isPositionIndependent", "(", ")", "&&", "!", "hasSym32", "(", ")", ")", "NoABICalls", "=", "true", ";", "UseSmallSection", "=", "GPOpt", ";", "if", "(", "!", "NoABICalls", "&&", "GPOpt", ")", "{", "errs", "(", ")", "<<", "\"warning: cannot use small-data accesses for '-mabicalls'\"", "<<", "\"\\n\"", ";", "UseSmallSection", "=", "false", ";", "}", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "\"Code generation for MIPS-I is not implemented\"", "Mips", "Mips", "\"Code generation for MIPS-V is not implemented\"", "\"Invalid Arch & ABI pair.\"", "\"MSA requires a 64-bit FPU register file (FR=1 mode). \"", "\"See -mattr=+fp64.\"", "\"-mattr=+nooddspreg requires the O32 ABI.\"", "\"FPXX is not permitted for the N32/N64 ABI's.\"", "Mips", "Mips", "\"MIPS64r6\"", "\"MIPS32r6\"", "\" is not compatible with the DSP ASE\"", "\"position-independent code requires '-mabicalls'\"", "\"warning: cannot use small-data accesses for '-mabicalls'\"", "\"\\n\""], "File": "MipsSubtarget38", "Func": "MipsSubtarget", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1777, "Length": 493, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "getStackAddress", "(", "uint64_t", "Size", ",", "int64_t", "Offset", ",", "MachinePointerInfo", "&", "MPO", ",", "ISD", "::", "ArgFlagsTy", "Flags", ")", "override", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "const", "LLT", "PtrTy", "=", "LLT", "::", "pointer", "(", "AMDGPUAS", "::", "PRIVATE_ADDRESS", ",", "32", ")", ";", "const", "LLT", "S32", "=", "LLT", "::", "scalar", "(", "32", ")", ";", "if", "(", "IsTailCall", ")", "{", "Offset", "+=", "FPDiff", ";", "int", "FI", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "CreateFixedObject", "(", "Size", ",", "Offset", ",", "true", ")", ";", "auto", "FIReg", "=", "MIRBuilder", ".", "buildFrameIndex", "(", "PtrTy", ",", "FI", ")", ";", "MPO", "=", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FI", ")", ";", "return", "FIReg", ".", "getReg", "(", "0", ")", ";", "}", "const", "SIMachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "if", "(", "!", "SPReg", ")", "{", "const", "GCNSubtarget", "&", "ST", "=", "MIRBuilder", ".", "getMF", "(", ")", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "if", "(", "ST", ".", "enableFlatScratch", "(", ")", ")", "{", "SPReg", "=", "MIRBuilder", ".", "buildCopy", "(", "PtrTy", ",", "MFI", "->", "getStackPtrOffsetReg", "(", ")", ")", ".", "getReg", "(", "0", ")", ";", "}", "else", "{", "SPReg", "=", "MIRBuilder", ".", "buildInstr", "(", "AMDGPU", "::", "G_AMDGPU_WAVE_ADDRESS", ",", "{", "PtrTy", "}", ",", "{", "MFI", "->", "getStackPtrOffsetReg", "(", ")", "}", ")", ".", "getReg", "(", "0", ")", ";", "}", "}", "auto", "OffsetReg", "=", "MIRBuilder", ".", "buildConstant", "(", "S32", ",", "Offset", ")", ";", "auto", "AddrReg", "=", "MIRBuilder", ".", "buildPtrAdd", "(", "PtrTy", ",", "SPReg", ",", "OffsetReg", ")", ";", "MPO", "=", "MachinePointerInfo", "::", "getStack", "(", "MF", ",", "Offset", ")", ";", "return", "AddrReg", ".", "getReg", "(", "0", ")", ";", "}", ""], "natrual_language": ["Materialize", "a", "VReg", "containing", "the", "address", "of", "the", "specified", "stack-based", "object", "."], "TS_V_token": ["AMDGPU", "ISD::ArgFlagsTy", "AMDGPU", "32", "32", "0", "SI", "SI", "0", "AMDGPU::G_AMDGPU_WAVE_ADDRESS", "0", "0"], "File": "AMDGPUCallLowering10", "Func": "getStackAddress", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1778, "Length": 261, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getELFArch", "(", ")", "const", "{", "assert", "(", "ELFArch", "!=", "0", "&&", "\"every device must have an associate ELF architecture\"", ")", ";", "return", "ELFArch", ";", "}", ""], "natrual_language": ["Gets", "the", "ELF", "architecture", "for", "the", "e_flags", "field", "of", "an", "ELF", "object", "file", "."], "TS_V_token": ["SNES", "0", "\"every device must have an associate ELF architecture\""], "File": "SNESSubtarget", "Func": "getELFArch", "Target": "SNES", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1779, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "CCAssignFn", "*", "ARMFastISel", "::", "CCAssignFnForCall", "(", "CallingConv", "::", "ID", "CC", ",", "bool", "Return", ")", "{", "switch", "(", "CC", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unsupported calling convention\"", ")", ";", "case", "CallingConv", "::", "Fast", ":", "(", "void", ")", "RetFastCC_ARM_APCS", ";", "(", "void", ")", "FastCC_ARM_APCS", ";", "case", "CallingConv", "::", "C", ":", "if", "(", "Subtarget", "->", "isAAPCS_ABI", "(", ")", ")", "{", "if", "(", "Subtarget", "->", "hasVFP2", "(", ")", "&&", "FloatABIType", "==", "FloatABI", "::", "Hard", ")", "return", "(", "Return", "?", "RetCC_ARM_AAPCS_VFP", ":", "CC_ARM_AAPCS_VFP", ")", ";", "else", "return", "(", "Return", "?", "RetCC_ARM_AAPCS", ":", "CC_ARM_AAPCS", ")", ";", "}", "else", "return", "(", "Return", "?", "RetCC_ARM_APCS", ":", "CC_ARM_APCS", ")", ";", "case", "CallingConv", "::", "ARM_AAPCS_VFP", ":", "return", "(", "Return", "?", "RetCC_ARM_AAPCS_VFP", ":", "CC_ARM_AAPCS_VFP", ")", ";", "case", "CallingConv", "::", "ARM_AAPCS", ":", "return", "(", "Return", "?", "RetCC_ARM_AAPCS", ":", "CC_ARM_AAPCS", ")", ";", "case", "CallingConv", "::", "ARM_APCS", ":", "return", "(", "Return", "?", "RetCC_ARM_APCS", ":", "CC_ARM_APCS", ")", ";", "}", "}", ""], "natrual_language": ["Selects", "the", "correct", "CCAssignFn", "for", "a", "given", "CallingConvention", "value", "."], "TS_V_token": ["ARM", "ARM", "\"Unsupported calling convention\"", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM"], "File": "ARMFastISel26", "Func": "CCAssignFnForCall", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1780, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "arc_trampoline_adjust_address", "(", "rtx", "addr", ")", "{", "return", "plus_constant", "(", "Pmode", ",", "addr", ",", "2", ")", ";", "}", ""], "natrual_language": ["Allow", "the", "profiler", "to", "easily", "distinguish", "trampolines", "from", "normal", "functions", "."], "TS_V_token": ["arc", "2"], "File": "arc4", "Func": "arc_trampoline_adjust_address", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1781, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AMDGPUSubtarget", "&", "AMDGPUSubtarget", "::", "initializeSubtargetDependencies", "(", "const", "Triple", "&", "TT", ",", "StringRef", "GPU", ",", "StringRef", "FS", ")", "{", "SmallString", "<", "256", ">", "FullFS", "(", "\"+promote-alloca,+fp64-fp16-denormals,+load-store-opt,\"", ")", ";", "if", "(", "isAmdHsaOS", "(", ")", ")", "FullFS", "+=", "\"+flat-for-global,+unaligned-buffer-access,\"", ";", "FullFS", "+=", "FS", ";", "ParseSubtargetFeatures", "(", "GPU", ",", "FullFS", ")", ";", "if", "(", "!", "hasAddr64", "(", ")", "&&", "!", "FS", ".", "contains", "(", "\"flat-for-global\"", ")", ")", "{", "FlatForGlobal", "=", "true", ";", "}", "if", "(", "getGeneration", "(", ")", "<=", "AMDGPUSubtarget", "::", "NORTHERN_ISLANDS", ")", "{", "FP64FP16Denormals", "=", "false", ";", "FP32Denormals", "=", "false", ";", "}", "if", "(", "MaxPrivateElementSize", "==", "0", ")", "MaxPrivateElementSize", "=", "4", ";", "return", "*", "this", ";", "}", ""], "natrual_language": ["initializeSubtargetDependencies", "-", "Initializes", "using", "a", "CPU", ",", "a", "TuneCPU", ",", "and", "feature", "string", "so", "that", "we", "can", "use", "initializer", "lists", "for", "subtarget", "initialization", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU", "256", "\"+promote-alloca,+fp64-fp16-denormals,+load-store-opt,\"", "\"+flat-for-global,+unaligned-buffer-access,\"", "\"flat-for-global\"", "AMDGPU", "0", "4"], "File": "AMDGPUSubtarget41", "Func": "initializeSubtargetDependencies", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1782, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "M68kRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "return", "CSR_STD_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["M68k", "M68k"], "File": "M68kRegisterInfo", "Func": "getCalleeSavedRegs", "Target": "M68k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1783, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "c6x_expand_unop_builtin", "(", "enum", "insn_code", "icode", ",", "tree", "exp", ",", "rtx", "target", ")", "{", "rtx", "pat", ";", "tree", "arg0", "=", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ";", "rtx", "op0", "=", "expand_expr", "(", "arg0", ",", "NULL_RTX", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "machine_mode", "op0mode", "=", "GET_MODE", "(", "op0", ")", ";", "machine_mode", "tmode", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "mode", ";", "machine_mode", "mode0", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "1", "]", ".", "mode", ";", "if", "(", "!", "target", "||", "GET_MODE", "(", "target", ")", "!=", "tmode", "||", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "predicate", ")", "(", "target", ",", "tmode", ")", ")", "target", "=", "gen_reg_rtx", "(", "tmode", ")", ";", "if", "(", "VECTOR_MODE_P", "(", "mode0", ")", ")", "op0", "=", "safe_vector_operand", "(", "op0", ",", "mode0", ")", ";", "if", "(", "op0mode", "==", "SImode", "&&", "mode0", "==", "HImode", ")", "{", "op0mode", "=", "HImode", ";", "op0", "=", "gen_lowpart", "(", "HImode", ",", "op0", ")", ";", "}", "gcc_assert", "(", "op0mode", "==", "mode0", "||", "op0mode", "==", "VOIDmode", ")", ";", "if", "(", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "1", "]", ".", "predicate", ")", "(", "op0", ",", "mode0", ")", ")", "op0", "=", "copy_to_mode_reg", "(", "mode0", ",", "op0", ")", ";", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op0", ")", ";", "if", "(", "!", "pat", ")", "return", "0", ";", "emit_insn", "(", "pat", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Subroutine", "of", "c6x_expand_builtin", "to", "take", "care", "of", "unop", "insns", "."], "TS_V_token": ["c6x", "0", "0", "1", "0", "1", "0"], "File": "c6x", "Func": "c6x_expand_unop_builtin", "Target": "c6x", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 1784, "Length": 233, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "preferIncOfAddToSubOfNot", "(", "EVT", "VT", ")", "const", "{", "return", "VT", ".", "isScalarInteger", "(", ")", ";", "}", ""], "natrual_language": ["These", "two", "forms", "are", "equivalent", ":", "sub", "y", ",", "(", "xor", "x", ",", "-1", ")", "add", "(", "add", "x", ",", "1", ")", ",", "y", "The", "variant", "with", "two", "add", "'s", "is", "IR-canonical", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCISelLowering100", "Func": "preferIncOfAddToSubOfNot", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1785, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ia64_expand_vecint_compare", "(", "enum", "rtx_code", "code", ",", "machine_mode", "mode", ",", "rtx", "dest", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "bool", "negate", "=", "false", ";", "rtx", "x", ";", "switch", "(", "code", ")", "{", "case", "EQ", ":", "case", "GT", ":", "case", "GTU", ":", "break", ";", "case", "NE", ":", "case", "LE", ":", "case", "LEU", ":", "code", "=", "reverse_condition", "(", "code", ")", ";", "negate", "=", "true", ";", "break", ";", "case", "GE", ":", "case", "GEU", ":", "code", "=", "reverse_condition", "(", "code", ")", ";", "negate", "=", "true", ";", "case", "LT", ":", "case", "LTU", ":", "code", "=", "swap_condition", "(", "code", ")", ";", "x", "=", "op0", ",", "op0", "=", "op1", ",", "op1", "=", "x", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "code", "==", "GTU", ")", "{", "switch", "(", "mode", ")", "{", "case", "V2SImode", ":", "{", "rtx", "t1", ",", "t2", ",", "mask", ";", "mask", "=", "gen_int_mode", "(", "0x80000000", ",", "SImode", ")", ";", "mask", "=", "gen_rtx_CONST_VECTOR", "(", "V2SImode", ",", "gen_rtvec", "(", "2", ",", "mask", ",", "mask", ")", ")", ";", "mask", "=", "force_reg", "(", "mode", ",", "mask", ")", ";", "t1", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "gen_subv2si3", "(", "t1", ",", "op0", ",", "mask", ")", ")", ";", "t2", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "gen_subv2si3", "(", "t2", ",", "op1", ",", "mask", ")", ")", ";", "op0", "=", "t1", ";", "op1", "=", "t2", ";", "code", "=", "GT", ";", "}", "break", ";", "case", "V8QImode", ":", "case", "V4HImode", ":", "x", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "x", ",", "gen_rtx_US_MINUS", "(", "mode", ",", "op0", ",", "op1", ")", ")", ")", ";", "code", "=", "EQ", ";", "op0", "=", "x", ";", "op1", "=", "CONST0_RTX", "(", "mode", ")", ";", "negate", "=", "!", "negate", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "x", "=", "gen_rtx_fmt_ee", "(", "code", ",", "mode", ",", "op0", ",", "op1", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "x", ")", ")", ";", "return", "negate", ";", "}", ""], "natrual_language": ["Generate", "an", "integral", "vector", "comparison", ".", "Return", "true", "if", "the", "condition", "has", "been", "reversed", ",", "and", "so", "the", "sense", "of", "the", "comparison", "should", "be", "inverted", "."], "TS_V_token": ["ia64", "0x80000000", "2"], "File": "ia645", "Func": "ia64_expand_vecint_compare", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1786, "Length": 315, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_finish_cost", "(", "void", "*", "data", ",", "unsigned", "*", "prologue_cost", ",", "unsigned", "*", "body_cost", ",", "unsigned", "*", "epilogue_cost", ")", "{", "rs6000_cost_data", "*", "cost_data", "=", "(", "rs6000_cost_data", "*", ")", "data", ";", "if", "(", "cost_data", "->", "loop_info", ")", "rs6000_density_test", "(", "cost_data", ")", ";", "*", "prologue_cost", "=", "cost_data", "->", "cost", "[", "vect_prologue", "]", ";", "*", "body_cost", "=", "cost_data", "->", "cost", "[", "vect_body", "]", ";", "*", "epilogue_cost", "=", "cost_data", "->", "cost", "[", "vect_epilogue", "]", ";", "}", ""], "natrual_language": ["Implement", "targetm.vectorize.finish_cost", "."], "TS_V_token": ["rs6000"], "File": "rs60004", "Func": "rs6000_finish_cost", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1787, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIRegisterInfo", "::", "requiresRegisterScavenging", "(", "const", "MachineFunction", "&", "Fn", ")", "const", "{", "return", "Fn", ".", "getFrameInfo", "(", ")", "->", "hasStackObjects", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "requires", "(", "and", "can", "make", "use", "of", ")", "the", "register", "scavenger", "."], "TS_V_token": ["R600", "SI"], "File": "SIRegisterInfo100", "Func": "requiresRegisterScavenging", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1788, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arc_return_in_memory", "(", "const_tree", "type", ",", "const_tree", "fntype", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "AGGREGATE_TYPE_P", "(", "type", ")", "||", "TREE_ADDRESSABLE", "(", "type", ")", ")", "return", "true", ";", "else", "{", "HOST_WIDE_INT", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "return", "(", "size", "==", "-", "1", "||", "size", ">", "8", ")", ";", "}", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_RETURN_IN_MEMORY", "."], "TS_V_token": ["arc", "1", "8"], "File": "arc4", "Func": "arc_return_in_memory", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1789, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TVMInstrInfo", "::", "SubsumesPredicate", "(", "ArrayRef", "<", "MachineOperand", ">", "Pred1", ",", "ArrayRef", "<", "MachineOperand", ">", "Pred2", ")", "const", "{", "assert", "(", "Pred1", ".", "size", "(", ")", "==", "2", "&&", "\"Invalid TVM first predicate\"", ")", ";", "assert", "(", "Pred2", ".", "size", "(", ")", "==", "2", "&&", "\"Invalid TVM second predicate\"", ")", ";", "return", "Pred1", "[", "0", "]", ".", "getImm", "(", ")", "==", "Pred2", "[", "0", "]", ".", "getImm", "(", ")", "&&", "Pred1", "[", "1", "]", ".", "getReg", "(", ")", "==", "Pred2", "[", "1", "]", ".", "getReg", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "first", "specified", "predicate", "subsumes", "the", "second", ",", "e.g", "."], "TS_V_token": ["TVM", "TVM", "2", "\"Invalid TVM first predicate\"", "2", "\"Invalid TVM second predicate\"", "0", "0", "1", "1"], "File": "TVMInstrInfo", "Func": "SubsumesPredicate", "Target": "TVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1790, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_finish_cost", "(", "void", "*", "data", ",", "unsigned", "*", "prologue_cost", ",", "unsigned", "*", "body_cost", ",", "unsigned", "*", "epilogue_cost", ")", "{", "rs6000_cost_data", "*", "cost_data", "=", "(", "rs6000_cost_data", "*", ")", "data", ";", "if", "(", "cost_data", "->", "loop_info", ")", "rs6000_density_test", "(", "cost_data", ")", ";", "if", "(", "cost_data", "->", "loop_info", ")", "{", "loop_vec_info", "vec_info", "=", "loop_vec_info_for_loop", "(", "cost_data", "->", "loop_info", ")", ";", "if", "(", "!", "rs6000_vect_nonmem", "&&", "LOOP_VINFO_VECT_FACTOR", "(", "vec_info", ")", "==", "2", "&&", "LOOP_REQUIRES_VERSIONING", "(", "vec_info", ")", ")", "cost_data", "->", "cost", "[", "vect_body", "]", "+=", "10000", ";", "}", "*", "prologue_cost", "=", "cost_data", "->", "cost", "[", "vect_prologue", "]", ";", "*", "body_cost", "=", "cost_data", "->", "cost", "[", "vect_body", "]", ";", "*", "epilogue_cost", "=", "cost_data", "->", "cost", "[", "vect_epilogue", "]", ";", "}", ""], "natrual_language": ["Implement", "targetm.vectorize.finish_cost", "."], "TS_V_token": ["rs6000", "2", "10000"], "File": "rs6000", "Func": "rs6000_finish_cost", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1791, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_function_default_version", "(", "const", "tree", "decl", ")", "{", "if", "(", "TREE_CODE", "(", "decl", ")", "!=", "FUNCTION_DECL", "||", "!", "DECL_FUNCTION_VERSIONED", "(", "decl", ")", ")", "return", "false", ";", "tree", "attr", "=", "lookup_attribute", "(", "\"target\"", ",", "DECL_ATTRIBUTES", "(", "decl", ")", ")", ";", "gcc_assert", "(", "attr", ")", ";", "attr", "=", "TREE_VALUE", "(", "TREE_VALUE", "(", "attr", ")", ")", ";", "return", "(", "TREE_CODE", "(", "attr", ")", "==", "STRING_CST", "&&", "strcmp", "(", "TREE_STRING_POINTER", "(", "attr", ")", ",", "\"default\"", ")", "==", "0", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "decl", "is", "multi-versioned", "and", "DECL", "is", "the", "default", "function", ",", "that", "is", "it", "is", "not", "tagged", "with", "target", "specific", "optimization", "."], "TS_V_token": ["i386", "\"target\"", "\"default\"", "0"], "File": "i3864", "Func": "is_function_default_version", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1792, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "c4x_override_options", "(", "void", ")", "{", "set_fast_math_flags", "(", "1", ")", ";", "if", "(", "!", "TARGET_ALIASES", "&&", "!", "flag_argument_noalias", ")", "flag_argument_noalias", "=", "1", ";", "if", "(", "!", "TARGET_C3X", ")", "target_flags", "|=", "MASK_MPYI", "|", "MASK_DB", ";", "if", "(", "optimize", "<", "2", ")", "target_flags", "&=", "~", "(", "MASK_RPTB", "|", "MASK_PARALLEL", ")", ";", "if", "(", "!", "TARGET_PARALLEL", ")", "target_flags", "&=", "~", "MASK_PARALLEL_MPY", ";", "}", ""], "natrual_language": ["Override", "command", "line", "options", ".", "Called", "once", "after", "all", "options", "have", "been", "parsed", ".", "Mostly", "we", "process", "the", "processor", "type", "and", "sometimes", "adjust", "other", "TARGET_", "options", "."], "TS_V_token": ["c4x", "1", "1", "2"], "File": "c4x1", "Func": "c4x_override_options", "Target": "c4x", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 1793, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "dump", "(", ")", "{", "errs", "(", ")", "<<", "\"RISCVAddressingMode \"", "<<", "this", "<<", "'\\n'", ";", "errs", "(", ")", "<<", "\" Base \"", ";", "if", "(", "Base", ".", "getNode", "(", ")", "!=", "0", ")", "Base", ".", "getNode", "(", ")", "->", "dump", "(", ")", ";", "else", "errs", "(", ")", "<<", "\"null\\n\"", ";", "errs", "(", ")", "<<", "\" Offset \"", "<<", "Offset", ";", "}", ""], "natrual_language": ["Dump", "the", "plan", "to", "stderr", "(", "for", "debugging", ")", "."], "TS_V_token": ["RISCV", "\"RISCVAddressingMode \"", "\" Base \"", "0", "\"null\\n\"", "\" Offset \""], "File": "RISCVISelDAGToDAG (2)", "Func": "dump", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1794, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonSubtarget", "::", "adjustSchedDependency", "(", "SUnit", "*", "Src", ",", "int", "SrcOpIdx", ",", "SUnit", "*", "Dst", ",", "int", "DstOpIdx", ",", "SDep", "&", "Dep", ")", "const", "{", "if", "(", "!", "Src", "->", "isInstr", "(", ")", "||", "!", "Dst", "->", "isInstr", "(", ")", ")", "return", ";", "MachineInstr", "*", "SrcInst", "=", "Src", "->", "getInstr", "(", ")", ";", "MachineInstr", "*", "DstInst", "=", "Dst", "->", "getInstr", "(", ")", ";", "const", "HexagonInstrInfo", "*", "QII", "=", "getInstrInfo", "(", ")", ";", "SmallSet", "<", "SUnit", "*", ",", "4", ">", "ExclSrc", ";", "SmallSet", "<", "SUnit", "*", ",", "4", ">", "ExclDst", ";", "if", "(", "QII", "->", "canExecuteInBundle", "(", "*", "SrcInst", ",", "*", "DstInst", ")", "&&", "isBestZeroLatency", "(", "Src", ",", "Dst", ",", "QII", ",", "ExclSrc", ",", "ExclDst", ")", ")", "{", "Dep", ".", "setLatency", "(", "0", ")", ";", "return", ";", "}", "if", "(", "DstInst", "->", "isCopy", "(", ")", ")", "Dep", ".", "setLatency", "(", "0", ")", ";", "if", "(", "(", "DstInst", "->", "isRegSequence", "(", ")", "||", "DstInst", "->", "isCopy", "(", ")", ")", ")", "{", "Register", "DReg", "=", "DstInst", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "int", "DLatency", "=", "-", "1", ";", "for", "(", "const", "auto", "&", "DDep", ":", "Dst", "->", "Succs", ")", "{", "MachineInstr", "*", "DDst", "=", "DDep", ".", "getSUnit", "(", ")", "->", "getInstr", "(", ")", ";", "int", "UseIdx", "=", "-", "1", ";", "for", "(", "unsigned", "OpNum", "=", "0", ";", "OpNum", "<", "DDst", "->", "getNumOperands", "(", ")", ";", "OpNum", "++", ")", "{", "const", "MachineOperand", "&", "MO", "=", "DDst", "->", "getOperand", "(", "OpNum", ")", ";", "if", "(", "MO", ".", "isReg", "(", ")", "&&", "MO", ".", "getReg", "(", ")", "&&", "MO", ".", "isUse", "(", ")", "&&", "MO", ".", "getReg", "(", ")", "==", "DReg", ")", "{", "UseIdx", "=", "OpNum", ";", "break", ";", "}", "}", "if", "(", "UseIdx", "==", "-", "1", ")", "continue", ";", "int", "Latency", "=", "(", "InstrInfo", ".", "getOperandLatency", "(", "&", "InstrItins", ",", "*", "SrcInst", ",", "0", ",", "*", "DDst", ",", "UseIdx", ")", ")", ";", "DLatency", "=", "(", "DLatency", "==", "-", "1", ")", "?", "Latency", ":", "DLatency", ";", "if", "(", "DLatency", "!=", "Latency", ")", "{", "DLatency", "=", "-", "1", ";", "break", ";", "}", "}", "DLatency", "=", "std", "::", "max", "(", "DLatency", ",", "0", ")", ";", "Dep", ".", "setLatency", "(", "(", "unsigned", ")", "DLatency", ")", ";", "}", "ExclSrc", ".", "clear", "(", ")", ";", "ExclDst", ".", "clear", "(", ")", ";", "if", "(", "EnableDotCurSched", "&&", "QII", "->", "isToBeScheduledASAP", "(", "*", "SrcInst", ",", "*", "DstInst", ")", "&&", "isBestZeroLatency", "(", "Src", ",", "Dst", ",", "QII", ",", "ExclSrc", ",", "ExclDst", ")", ")", "{", "Dep", ".", "setLatency", "(", "0", ")", ";", "return", ";", "}", "int", "Latency", "=", "Dep", ".", "getLatency", "(", ")", ";", "bool", "IsArtificial", "=", "Dep", ".", "isArtificial", "(", ")", ";", "Latency", "=", "updateLatency", "(", "*", "SrcInst", ",", "*", "DstInst", ",", "IsArtificial", ",", "Latency", ")", ";", "Dep", ".", "setLatency", "(", "Latency", ")", ";", "}", ""], "natrual_language": ["Perform", "target", "specific", "adjustments", "to", "the", "latency", "of", "a", "schedule", "dependency", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "4", "4", "0", "0", "0", "1", "1", "0", "1", "0", "1", "1", "0", "0"], "File": "HexagonSubtarget (2)1", "Func": "adjustSchedDependency", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1795, "Length": 454, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "compute_save_world_info", "(", "rs6000_stack_t", "*", "info", ")", "{", "info", "->", "world_save_p", "=", "1", ";", "info", "->", "world_save_p", "=", "(", "WORLD_SAVE_P", "(", "info", ")", "&&", "DEFAULT_ABI", "==", "ABI_DARWIN", "&&", "!", "cfun", "->", "has_nonlocal_label", "&&", "info", "->", "first_fp_reg_save", "==", "FIRST_SAVED_FP_REGNO", "&&", "info", "->", "first_gp_reg_save", "==", "FIRST_SAVED_GP_REGNO", "&&", "info", "->", "first_altivec_reg_save", "==", "FIRST_SAVED_ALTIVEC_REGNO", "&&", "info", "->", "cr_save_p", ")", ";", "if", "(", "WORLD_SAVE_P", "(", "info", ")", ")", "{", "rtx_insn", "*", "insn", ";", "for", "(", "insn", "=", "get_last_insn_anywhere", "(", ")", ";", "insn", ";", "insn", "=", "PREV_INSN", "(", "insn", ")", ")", "if", "(", "CALL_P", "(", "insn", ")", "&&", "SIBLING_CALL_P", "(", "insn", ")", ")", "{", "info", "->", "world_save_p", "=", "0", ";", "break", ";", "}", "}", "if", "(", "WORLD_SAVE_P", "(", "info", ")", ")", "{", "info", "->", "vrsave_size", "=", "4", ";", "info", "->", "lr_save_p", "=", "1", ";", "if", "(", "info", "->", "vrsave_mask", "==", "0", ")", "info", "->", "vrsave_mask", "=", "compute_vrsave_mask", "(", ")", ";", "gcc_assert", "(", "info", "->", "first_fp_reg_save", ">=", "FIRST_SAVED_FP_REGNO", "&&", "(", "info", "->", "first_altivec_reg_save", ">=", "FIRST_SAVED_ALTIVEC_REGNO", ")", ")", ";", "}", "return", ";", "}", ""], "natrual_language": ["For", "a", "very", "restricted", "set", "of", "circumstances", ",", "we", "can", "cut", "down", "the", "size", "of", "prologues/epilogues", "by", "calling", "our", "own", "save/restore-the-world", "routines", "."], "TS_V_token": ["rs6000", "1", "0", "4", "1", "0"], "File": "rs6000-logue", "Func": "compute_save_world_info", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1796, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FalkorHWPFFix", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "auto", "&", "ST", "=", "static_cast", "<", "const", "AArch64Subtarget", "&", ">", "(", "Fn", ".", "getSubtarget", "(", ")", ")", ";", "if", "(", "ST", ".", "getProcFamily", "(", ")", "!=", "AArch64Subtarget", "::", "Falkor", ")", "return", "false", ";", "if", "(", "skipFunction", "(", "Fn", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "TII", "=", "static_cast", "<", "const", "AArch64InstrInfo", "*", ">", "(", "ST", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "ST", ".", "getRegisterInfo", "(", ")", ";", "MachineLoopInfo", "&", "LI", "=", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "Modified", "=", "false", ";", "for", "(", "MachineLoop", "*", "I", ":", "LI", ")", "for", "(", "MachineLoop", "*", "L", ":", "depth_first", "(", "I", ")", ")", "if", "(", "L", "->", "isInnermost", "(", ")", ")", "runOnLoop", "(", "*", "L", ",", "Fn", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64FalkorHWPFFix20", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1797, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isAsCheapAsAMove", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "hasCustomCheapAsMoveHandling", "(", ")", ")", "return", "MI", ".", "isAsCheapAsAMove", "(", ")", ";", "const", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "Subtarget", ".", "hasZeroCycleZeroingFP", "(", ")", ")", "{", "if", "(", "Opcode", "==", "AArch64", "::", "FMOVH0", "||", "Opcode", "==", "AArch64", "::", "FMOVS0", "||", "Opcode", "==", "AArch64", "::", "FMOVD0", ")", "return", "true", ";", "}", "if", "(", "Subtarget", ".", "hasZeroCycleZeroingGP", "(", ")", ")", "{", "if", "(", "Opcode", "==", "TargetOpcode", "::", "COPY", "&&", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "AArch64", "::", "WZR", "||", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "AArch64", "::", "XZR", ")", ")", "return", "true", ";", "}", "if", "(", "Subtarget", ".", "hasExynosCheapAsMoveHandling", "(", ")", ")", "{", "if", "(", "isExynosResetFast", "(", "MI", ")", "||", "isExynosShiftExtFast", "(", "MI", ")", ")", "return", "true", ";", "else", "return", "MI", ".", "isAsCheapAsAMove", "(", ")", ";", "}", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "false", ";", "case", "AArch64", "::", "ADDWri", ":", "case", "AArch64", "::", "ADDXri", ":", "case", "AArch64", "::", "SUBWri", ":", "case", "AArch64", "::", "SUBXri", ":", "return", "(", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", "==", "0", ")", ";", "case", "AArch64", "::", "ANDWri", ":", "case", "AArch64", "::", "ANDXri", ":", "case", "AArch64", "::", "EORWri", ":", "case", "AArch64", "::", "EORXri", ":", "case", "AArch64", "::", "ORRWri", ":", "case", "AArch64", "::", "ORRXri", ":", "return", "true", ";", "case", "AArch64", "::", "ANDWrr", ":", "case", "AArch64", "::", "ANDXrr", ":", "case", "AArch64", "::", "BICWrr", ":", "case", "AArch64", "::", "BICXrr", ":", "case", "AArch64", "::", "EONWrr", ":", "case", "AArch64", "::", "EONXrr", ":", "case", "AArch64", "::", "EORWrr", ":", "case", "AArch64", "::", "EORXrr", ":", "case", "AArch64", "::", "ORNWrr", ":", "case", "AArch64", "::", "ORNXrr", ":", "case", "AArch64", "::", "ORRWrr", ":", "case", "AArch64", "::", "ORRXrr", ":", "return", "true", ";", "case", "AArch64", "::", "MOVi32imm", ":", "return", "canBeExpandedToORR", "(", "MI", ",", "32", ")", ";", "case", "AArch64", "::", "MOVi64imm", ":", "return", "canBeExpandedToORR", "(", "MI", ",", "64", ")", ";", "}", "llvm_unreachable", "(", "\"Unknown opcode to check as cheap as a move!\"", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "instruction", "is", "as", "cheap", "as", "a", "move", "instruction", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::FMOVH0", "AArch64::FMOVS0", "AArch64::FMOVD0", "1", "AArch64::WZR", "1", "AArch64::XZR", "AArch64::ADDWri", "AArch64::ADDXri", "AArch64::SUBWri", "AArch64::SUBXri", "3", "0", "AArch64::ANDWri", "AArch64::ANDXri", "AArch64::EORWri", "AArch64::EORXri", "AArch64::ORRWri", "AArch64::ORRXri", "AArch64::ANDWrr", "AArch64::ANDXrr", "AArch64::BICWrr", "AArch64::BICXrr", "AArch64::EONWrr", "AArch64::EONXrr", "AArch64::EORWrr", "AArch64::EORXrr", "AArch64::ORNWrr", "AArch64::ORNXrr", "AArch64::ORRWrr", "AArch64::ORRXrr", "AArch64::MOVi32imm", "32", "AArch64::MOVi64imm", "64", "\"Unknown opcode to check as cheap as a move!\""], "File": "AArch64InstrInfo118", "Func": "isAsCheapAsAMove", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1798, "Length": 332, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SystemZTargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "SDLoc", "DL", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "if", "(", "Subtarget", ".", "hasVector", "(", ")", ")", "VerifyVectorTypes", "(", "Outs", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RetLocs", ";", "CCState", "RetCCInfo", "(", "CallConv", ",", "IsVarArg", ",", "MF", ",", "RetLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "RetCCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_SystemZ", ")", ";", "if", "(", "RetLocs", ".", "empty", "(", ")", ")", "return", "DAG", ".", "getNode", "(", "SystemZISD", "::", "RET_FLAG", ",", "DL", ",", "MVT", "::", "Other", ",", "Chain", ")", ";", "SDValue", "Glue", ";", "SmallVector", "<", "SDValue", ",", "4", ">", "RetOps", ";", "RetOps", ".", "push_back", "(", "Chain", ")", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "RetLocs", ".", "size", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "CCValAssign", "&", "VA", "=", "RetLocs", "[", "I", "]", ";", "SDValue", "RetValue", "=", "OutVals", "[", "I", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Can only return in registers!\"", ")", ";", "RetValue", "=", "convertValVTToLocVT", "(", "DAG", ",", "DL", ",", "VA", ",", "RetValue", ")", ";", "unsigned", "Reg", "=", "VA", ".", "getLocReg", "(", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "Reg", ",", "RetValue", ",", "Glue", ")", ";", "Glue", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "Reg", ",", "VA", ".", "getLocVT", "(", ")", ")", ")", ";", "}", "RetOps", "[", "0", "]", "=", "Chain", ";", "if", "(", "Glue", ".", "getNode", "(", ")", ")", "RetOps", ".", "push_back", "(", "Glue", ")", ";", "return", "DAG", ".", "getNode", "(", "SystemZISD", "::", "RET_FLAG", ",", "DL", ",", "MVT", "::", "Other", ",", "RetOps", ")", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "outgoing", "return", "values", ",", "described", "by", "the", "Outs", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["SystemZ", "SystemZ", "ISD::OutputArg", "16", "SystemZ", "SystemZISD::RET_FLAG", "MVT::Other", "4", "0", "\"Can only return in registers!\"", "1", "0", "SystemZISD::RET_FLAG", "MVT::Other"], "File": "SystemZISelLowering (2)1", "Func": "LowerReturn", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1799, "Length": 305, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "EmitInstruction", "(", "uint64_t", "Val", ",", "unsigned", "Size", ",", "raw_ostream", "&", "OS", ")", "const", "{", "for", "(", "unsigned", "i", "=", "Size", "/", "2", ";", "i", ">", "0", ";", ")", "{", "unsigned", "Shift", "=", "--", "i", "*", "16", ";", "EmitShort", "(", "(", "Val", ">>", "Shift", ")", "&", "0xffff", ",", "OS", ")", ";", "}", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["Videocore", "2", "0", "16", "0xffff"], "File": "VideocoreMCCodeEmitter", "Func": "EmitInstruction", "Target": "Videocore", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1800, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "relaxInstruction", "(", "MCInst", "const", "&", ",", "MCInst", "&", ")", "const", "override", "{", "llvm_unreachable", "(", "\"relaxInstruction() unimplemented\"", ")", ";", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["Hexagon", "\"relaxInstruction() unimplemented\""], "File": "HexagonAsmBackend13", "Func": "relaxInstruction", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1801, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"BPF DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["BPF", "\"BPF DAG->DAG Pattern Instruction Selection\""], "File": "BPFISelDAGToDAG24", "Func": "getPassName", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1802, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "GCNPassConfig", "::", "addInstSelector", "(", ")", "{", "AMDGPUPassConfig", "::", "addInstSelector", "(", ")", ";", "addPass", "(", "&", "SIFixSGPRCopiesID", ")", ";", "addPass", "(", "createSILowerI1CopiesPass", "(", ")", ")", ";", "addPass", "(", "&", "FinalizeISelID", ")", ";", "addPass", "(", "createSIFixupVectorISelPass", "(", ")", ")", ";", "addPass", "(", "createSIAddIMGInitPass", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "SI", "SI", "SI", "SI"], "File": "AMDGPUTargetMachine106", "Func": "addInstSelector", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1803, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "ConstraintWeight", "Z80TargetLowering", "::", "getSingleConstraintMatchWeight", "(", "AsmOperandInfo", "&", "info", ",", "const", "char", "*", "constraint", ")", "const", "{", "ConstraintWeight", "weight", "=", "CW_Invalid", ";", "Value", "*", "CallOperandVal", "=", "info", ".", "CallOperandVal", ";", "if", "(", "!", "CallOperandVal", ")", "return", "CW_Default", ";", "Type", "*", "type", "=", "CallOperandVal", "->", "getType", "(", ")", ";", "switch", "(", "*", "constraint", ")", "{", "default", ":", "weight", "=", "TargetLowering", "::", "getSingleConstraintMatchWeight", "(", "info", ",", "constraint", ")", ";", "break", ";", "case", "'c'", ":", "if", "(", "type", "->", "isIntegerTy", "(", ")", ")", "weight", "=", "CW_SpecificReg", ";", "break", ";", "case", "'I'", ":", "case", "'J'", ":", "case", "'K'", ":", "case", "'L'", ":", "case", "'N'", ":", "case", "'O'", ":", "case", "'P'", ":", "if", "(", "isa", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "weight", "=", "CW_Constant", ";", "break", ";", "case", "'R'", ":", "weight", "=", "CW_Memory", ";", "break", ";", "}", "return", "weight", ";", "}", ""], "natrual_language": ["Examine", "constraint", "string", "and", "operand", "type", "and", "determine", "a", "weight", "value", "."], "TS_V_token": ["Z80", "Z80"], "File": "Z80ISelLowering (2)", "Func": "getSingleConstraintMatchWeight", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1804, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Z80", "::", "splitReg", "(", "unsigned", "ByteSize", ",", "unsigned", "Opc8", ",", "unsigned", "Opc16", ",", "unsigned", "Opc24", ",", "unsigned", "&", "RC", ",", "unsigned", "&", "LoOpc", ",", "unsigned", "&", "LoIdx", ",", "unsigned", "&", "HiOpc", ",", "unsigned", "&", "HiIdx", ",", "unsigned", "&", "HiOff", ",", "bool", "Has16BitEZ80Ops", ")", "{", "switch", "(", "ByteSize", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected Size!\"", ")", ";", "case", "1", ":", "RC", "=", "Z80", "::", "R8RegClassID", ";", "LoOpc", "=", "HiOpc", "=", "Opc8", ";", "LoIdx", "=", "HiIdx", "=", "Z80", "::", "NoSubRegister", ";", "HiOff", "=", "0", ";", "return", "false", ";", "case", "2", ":", "if", "(", "Has16BitEZ80Ops", ")", "{", "RC", "=", "Z80", "::", "R16RegClassID", ";", "LoOpc", "=", "HiOpc", "=", "Opc16", ";", "LoIdx", "=", "HiIdx", "=", "Z80", "::", "NoSubRegister", ";", "HiOff", "=", "0", ";", "return", "false", ";", "}", "RC", "=", "Z80", "::", "R16RegClassID", ";", "LoOpc", "=", "HiOpc", "=", "Opc8", ";", "LoIdx", "=", "Z80", "::", "sub_low", ";", "HiIdx", "=", "Z80", "::", "sub_high", ";", "HiOff", "=", "1", ";", "return", "true", ";", "case", "3", ":", "RC", "=", "Z80", "::", "R24RegClassID", ";", "LoOpc", "=", "HiOpc", "=", "Opc24", ";", "LoIdx", "=", "HiIdx", "=", "Z80", "::", "NoSubRegister", ";", "HiOff", "=", "0", ";", "return", "false", ";", "}", "}", ""], "natrual_language": ["Splits", "a", "16-bit", "DREGS", "register", "into", "the", "lo/hi", "register", "pair", "."], "TS_V_token": ["Z80", "Z80::splitReg", "Z80", "\"Unexpected Size!\"", "1", "Z80::R8RegClassID", "Z80::NoSubRegister", "0", "2", "Z80", "Z80::R16RegClassID", "Z80::NoSubRegister", "0", "Z80::R16RegClassID", "Z80::sub_low", "Z80::sub_high", "1", "3", "Z80::R24RegClassID", "Z80::NoSubRegister", "0"], "File": "Z80InstrInfo2", "Func": "splitReg", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1805, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PatmosAsmBackend", "::", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsResolved", ",", "const", "MCSubtargetInfo", "*", "STI", ")", "const", "{", "MCFixupKind", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "TargetSize", "=", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", ";", "unsigned", "TargetOffset", "=", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetOffset", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "(", "TargetSize", "+", "7", ")", "/", "8", ";", "unsigned", "FullSize", "=", "(", "TargetOffset", "+", "TargetSize", "+", "7", ")", "/", "8", ";", "uint64_t", "CurVal", "=", "0", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "(", "FullSize", "-", "1", "-", "i", ")", ";", "CurVal", "|=", "(", "uint64_t", ")", "(", "(", "uint8_t", ")", "Data", "[", "Offset", "+", "Idx", "]", ")", "<<", "(", "i", "*", "8", ")", ";", "}", "uint64_t", "Mask", "=", "(", "(", "uint64_t", ")", "(", "-", "1", ")", ">>", "(", "64", "-", "TargetSize", ")", ")", ";", "unsigned", "Shift", "=", "FullSize", "*", "8", "-", "(", "TargetOffset", "+", "TargetSize", ")", ";", "CurVal", "|=", "(", "Value", "&", "Mask", ")", "<<", "Shift", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "(", "FullSize", "-", "1", "-", "i", ")", ";", "Data", "[", "Offset", "+", "Idx", "]", "=", "(", "uint8_t", ")", "(", "(", "CurVal", ">>", "(", "i", "*", "8", ")", ")", "&", "0xff", ")", ";", "}", "}", ""], "natrual_language": ["Apply", "the", "Value", "for", "given", "Fixup", "into", "the", "provided", "data", "fragment", ",", "at", "the", "offset", "specified", "by", "the", "fixup", "and", "following", "the", "fixup", "kind", "as", "appropriate", "."], "TS_V_token": ["Patmos", "Patmos", "7", "8", "7", "8", "0", "0", "1", "8", "1", "64", "8", "0", "1", "8", "0xff"], "File": "PatmosAsmBackend1", "Func": "applyFixup", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 1806, "Length": 266, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "s390_issue_rate", "(", "void", ")", "{", "switch", "(", "s390_tune", ")", "{", "case", "PROCESSOR_2084_Z990", ":", "case", "PROCESSOR_2094_Z9_109", ":", "case", "PROCESSOR_2094_Z9_EC", ":", "case", "PROCESSOR_2817_Z196", ":", "return", "3", ";", "case", "PROCESSOR_2097_Z10", ":", "return", "2", ";", "case", "PROCESSOR_2064_Z900", ":", "case", "PROCESSOR_2827_ZEC12", ":", "case", "PROCESSOR_2964_Z13", ":", "case", "PROCESSOR_3906_Z14", ":", "case", "PROCESSOR_8561_Z15", ":", "case", "PROCESSOR_3931_Z16", ":", "default", ":", "return", "1", ";", "}", "}", ""], "natrual_language": ["The", "number", "of", "instructions", "that", "can", "be", "issued", "per", "cycle", "."], "TS_V_token": ["s390", "3", "2", "1"], "File": "s3901", "Func": "s390_issue_rate", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1807, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "auto", "HexagonVectorCombine", "::", "concat", "(", "IRBuilder", "<", ">", "&", "Builder", ",", "ArrayRef", "<", "Value", "*", ">", "Vecs", ")", "const", "->", "Value", "*", "{", "assert", "(", "!", "Vecs", ".", "empty", "(", ")", ")", ";", "SmallVector", "<", "int", ",", "256", ">", "SMask", ";", "std", "::", "vector", "<", "Value", "*", ">", "Work", "[", "2", "]", ";", "int", "ThisW", "=", "0", ",", "OtherW", "=", "1", ";", "Work", "[", "ThisW", "]", ".", "assign", "(", "Vecs", ".", "begin", "(", ")", ",", "Vecs", ".", "end", "(", ")", ")", ";", "while", "(", "Work", "[", "ThisW", "]", ".", "size", "(", ")", ">", "1", ")", "{", "auto", "*", "Ty", "=", "cast", "<", "VectorType", ">", "(", "Work", "[", "ThisW", "]", ".", "front", "(", ")", "->", "getType", "(", ")", ")", ";", "int", "ElemCount", "=", "Ty", "->", "getElementCount", "(", ")", ".", "getFixedValue", "(", ")", ";", "SMask", ".", "resize", "(", "ElemCount", "*", "2", ")", ";", "std", "::", "iota", "(", "SMask", ".", "begin", "(", ")", ",", "SMask", ".", "end", "(", ")", ",", "0", ")", ";", "Work", "[", "OtherW", "]", ".", "clear", "(", ")", ";", "if", "(", "Work", "[", "ThisW", "]", ".", "size", "(", ")", "%", "2", "!=", "0", ")", "Work", "[", "ThisW", "]", ".", "push_back", "(", "UndefValue", "::", "get", "(", "Ty", ")", ")", ";", "for", "(", "int", "i", "=", "0", ",", "e", "=", "Work", "[", "ThisW", "]", ".", "size", "(", ")", ";", "i", "<", "e", ";", "i", "+=", "2", ")", "{", "Value", "*", "Joined", "=", "Builder", ".", "CreateShuffleVector", "(", "Work", "[", "ThisW", "]", "[", "i", "]", ",", "Work", "[", "ThisW", "]", "[", "i", "+", "1", "]", ",", "SMask", ")", ";", "Work", "[", "OtherW", "]", ".", "push_back", "(", "Joined", ")", ";", "}", "std", "::", "swap", "(", "ThisW", ",", "OtherW", ")", ";", "}", "SMask", ".", "resize", "(", "Vecs", ".", "size", "(", ")", "*", "getSizeOf", "(", "Vecs", ".", "front", "(", ")", "->", "getType", "(", ")", ")", ")", ";", "std", "::", "iota", "(", "SMask", ".", "begin", "(", ")", ",", "SMask", ".", "end", "(", ")", ",", "0", ")", ";", "Value", "*", "Total", "=", "Work", "[", "OtherW", "]", ".", "front", "(", ")", ";", "return", "Builder", ".", "CreateShuffleVector", "(", "Total", ",", "UndefValue", "::", "get", "(", "Total", "->", "getType", "(", ")", ")", ",", "SMask", ")", ";", "}", ""], "natrual_language": ["Concatenate", "the", "bits", "from", "Lo", "onto", "the", "bottom", "of", "*", "this", "."], "TS_V_token": ["Hexagon", "HexagonVectorCombine::concat", "256", "2", "0", "1", "1", "2", "0", "2", "0", "0", "2", "1", "0"], "File": "HexagonVectorCombine6", "Func": "concat", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1808, "Length": 354, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mmix_asm_output_labelref", "(", "FILE", "*", "stream", ",", "const", "char", "*", "name", ")", "{", "int", "is_extern", "=", "1", ";", "for", "(", ";", "(", "*", "name", "==", "'@'", "||", "*", "name", "==", "'*'", ")", ";", "name", "++", ")", "if", "(", "*", "name", "==", "'@'", ")", "is_extern", "=", "0", ";", "asm_fprintf", "(", "stream", ",", "\"%s%U%s\"", ",", "is_extern", "&&", "TARGET_TOPLEVEL_SYMBOLS", "?", "\":\"", ":", "\"\"", ",", "name", ")", ";", "}", ""], "natrual_language": ["ASM_OUTPUT_LABELREF", ".", "Strip", "GCC", "'s", "'", "*", "'", "and", "our", "own", "'", "@", "'", ".", "No", "order", "is", "assumed", "."], "TS_V_token": ["mmix", "1", "0", "\"%s%U%s\"", "\":\"", "\"\""], "File": "mmix", "Func": "mmix_asm_output_labelref", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1809, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_secondary_memory_needed", "(", "machine_mode", "mode", ",", "reg_class_t", "class1", ",", "reg_class_t", "class2", ")", "{", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", ">", "UNITS_PER_WORD", "&&", "(", "class1", "==", "FP_REGS", ")", "!=", "(", "class2", "==", "FP_REGS", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SECONDARY_MEMORY_NEEDED", ".", "When", "floating-point", "registers", "are", "wider", "than", "integer", "ones", ",", "moves", "between", "them", "must", "go", "through", "memory", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_secondary_memory_needed", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1810, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64TargetLowering", "::", "computeKnownBitsForTargetNode", "(", "const", "SDValue", "Op", ",", "KnownBits", "&", "Known", ",", "const", "APInt", "&", "DemandedElts", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "AArch64ISD", "::", "CSEL", ":", "{", "KnownBits", "Known2", ";", "Known", "=", "DAG", ".", "computeKnownBits", "(", "Op", "->", "getOperand", "(", "0", ")", ",", "Depth", "+", "1", ")", ";", "Known2", "=", "DAG", ".", "computeKnownBits", "(", "Op", "->", "getOperand", "(", "1", ")", ",", "Depth", "+", "1", ")", ";", "Known", "=", "KnownBits", "::", "commonBits", "(", "Known", ",", "Known2", ")", ";", "break", ";", "}", "case", "AArch64ISD", "::", "LOADgot", ":", "case", "AArch64ISD", "::", "ADDlow", ":", "{", "if", "(", "!", "Subtarget", "->", "isTargetILP32", "(", ")", ")", "break", ";", "Known", ".", "Zero", "=", "APInt", "::", "getHighBitsSet", "(", "64", ",", "32", ")", ";", "break", ";", "}", "case", "AArch64ISD", "::", "ASSERT_ZEXT_BOOL", ":", "{", "Known", "=", "DAG", ".", "computeKnownBits", "(", "Op", "->", "getOperand", "(", "0", ")", ",", "Depth", "+", "1", ")", ";", "Known", ".", "Zero", "|=", "APInt", "(", "Known", ".", "getBitWidth", "(", ")", ",", "0xFE", ")", ";", "break", ";", "}", "case", "ISD", "::", "INTRINSIC_W_CHAIN", ":", "{", "ConstantSDNode", "*", "CN", "=", "cast", "<", "ConstantSDNode", ">", "(", "Op", "->", "getOperand", "(", "1", ")", ")", ";", "Intrinsic", "::", "ID", "IntID", "=", "static_cast", "<", "Intrinsic", "::", "ID", ">", "(", "CN", "->", "getZExtValue", "(", ")", ")", ";", "switch", "(", "IntID", ")", "{", "default", ":", "return", ";", "case", "Intrinsic", "::", "aarch64_ldaxr", ":", "case", "Intrinsic", "::", "aarch64_ldxr", ":", "{", "unsigned", "BitWidth", "=", "Known", ".", "getBitWidth", "(", ")", ";", "EVT", "VT", "=", "cast", "<", "MemIntrinsicSDNode", ">", "(", "Op", ")", "->", "getMemoryVT", "(", ")", ";", "unsigned", "MemBits", "=", "VT", ".", "getScalarSizeInBits", "(", ")", ";", "Known", ".", "Zero", "|=", "APInt", "::", "getHighBitsSet", "(", "BitWidth", ",", "BitWidth", "-", "MemBits", ")", ";", "return", ";", "}", "}", "break", ";", "}", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "case", "ISD", "::", "INTRINSIC_VOID", ":", "{", "unsigned", "IntNo", "=", "cast", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "0", ")", ")", "->", "getZExtValue", "(", ")", ";", "switch", "(", "IntNo", ")", "{", "default", ":", "break", ";", "case", "Intrinsic", "::", "aarch64_neon_umaxv", ":", "case", "Intrinsic", "::", "aarch64_neon_uminv", ":", "{", "MVT", "VT", "=", "Op", ".", "getOperand", "(", "1", ")", ".", "getValueType", "(", ")", ".", "getSimpleVT", "(", ")", ";", "unsigned", "BitWidth", "=", "Known", ".", "getBitWidth", "(", ")", ";", "if", "(", "VT", "==", "MVT", "::", "v8i8", "||", "VT", "==", "MVT", "::", "v16i8", ")", "{", "assert", "(", "BitWidth", ">=", "8", "&&", "\"Unexpected width!\"", ")", ";", "APInt", "Mask", "=", "APInt", "::", "getHighBitsSet", "(", "BitWidth", ",", "BitWidth", "-", "8", ")", ";", "Known", ".", "Zero", "|=", "Mask", ";", "}", "else", "if", "(", "VT", "==", "MVT", "::", "v4i16", "||", "VT", "==", "MVT", "::", "v8i16", ")", "{", "assert", "(", "BitWidth", ">=", "16", "&&", "\"Unexpected width!\"", ")", ";", "APInt", "Mask", "=", "APInt", "::", "getHighBitsSet", "(", "BitWidth", ",", "BitWidth", "-", "16", ")", ";", "Known", ".", "Zero", "|=", "Mask", ";", "}", "break", ";", "}", "break", ";", "}", "}", "}", "}", ""], "natrual_language": ["Determine", "which", "of", "the", "bits", "specified", "in", "Mask", "are", "known", "to", "be", "either", "zero", "or", "one", "and", "return", "them", "in", "the", "KnownZero/KnownOne", "bitsets", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64ISD::CSEL", "0", "1", "1", "1", "AArch64ISD::LOADgot", "AArch64ISD::ADDlow", "64", "32", "AArch64ISD::ASSERT_ZEXT_BOOL", "0", "1", "0xFE", "ISD::INTRINSIC_W_CHAIN", "1", "Intrinsic::ID", "Intrinsic::ID", "Intrinsic::aarch64_ldaxr", "Intrinsic::aarch64_ldxr", "ISD::INTRINSIC_WO_CHAIN", "ISD::INTRINSIC_VOID", "0", "Intrinsic::aarch64_neon_umaxv", "Intrinsic::aarch64_neon_uminv", "1", "MVT::v8i8", "MVT::v16i8", "8", "\"Unexpected width!\"", "8", "MVT::v4i16", "MVT::v8i16", "16", "\"Unexpected width!\"", "16"], "File": "AArch64ISelLowering (2)2", "Func": "computeKnownBitsForTargetNode", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1811, "Length": 475, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "quad_aligned_load_p", "(", "swap_web_entry", "*", "insn_entry", ",", "rtx_insn", "*", "insn", ")", "{", "unsigned", "uid", "=", "INSN_UID", "(", "insn", ")", ";", "if", "(", "!", "insn_entry", "[", "uid", "]", ".", "is_swap", "||", "insn_entry", "[", "uid", "]", ".", "is_load", ")", "return", "false", ";", "struct", "df_insn_info", "*", "insn_info", "=", "DF_INSN_INFO_GET", "(", "insn", ")", ";", "df_ref", "use", "=", "DF_INSN_INFO_USES", "(", "insn_info", ")", ";", "struct", "df_link", "*", "def_link", "=", "DF_REF_CHAIN", "(", "use", ")", ";", "if", "(", "!", "def_link", "||", "!", "def_link", "->", "ref", "||", "DF_REF_IS_ARTIFICIAL", "(", "def_link", "->", "ref", ")", "||", "def_link", "->", "next", ")", "return", "false", ";", "rtx", "def_insn", "=", "DF_REF_INSN", "(", "def_link", "->", "ref", ")", ";", "unsigned", "uid2", "=", "INSN_UID", "(", "def_insn", ")", ";", "if", "(", "!", "insn_entry", "[", "uid2", "]", ".", "is_load", "||", "!", "insn_entry", "[", "uid2", "]", ".", "is_swap", ")", "return", "false", ";", "rtx", "body", "=", "PATTERN", "(", "def_insn", ")", ";", "if", "(", "GET_CODE", "(", "body", ")", "!=", "SET", "||", "GET_CODE", "(", "SET_SRC", "(", "body", ")", ")", "!=", "VEC_SELECT", "||", "GET_CODE", "(", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ")", ")", "!=", "MEM", ")", "return", "false", ";", "rtx", "mem", "=", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ")", ";", "rtx", "base_reg", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "return", "(", "(", "REG_P", "(", "base_reg", ")", "||", "rs6000_sum_of_two_registers_p", "(", "base_reg", ")", ")", "&&", "MEM_ALIGN", "(", "mem", ")", ">=", "128", ")", "?", "true", ":", "false", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "INSN", "represents", "a", "swap", "of", "a", "swapped", "load", "from", "memory", "and", "the", "memory", "address", "is", "quad-word", "aligned", "."], "TS_V_token": ["rs6000", "0", "0", "0", "128"], "File": "rs6000-p8swap2", "Func": "quad_aligned_load_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1812, "Length": 227, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_could_trap_p", "(", "unsigned", "int", "f", ",", "machine_mode", "mode", ")", "{", "unsigned", "int", "flags", "=", "aarch64_call_properties", "(", "f", ",", "mode", ")", ";", "if", "(", "flags", "&", "FLAG_RAISE_FP_EXCEPTIONS", ")", "return", "true", ";", "if", "(", "flags", "&", "(", "FLAG_READ_MEMORY", "|", "FLAG_WRITE_MEMORY", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "calls", "to", "the", "function", "could", "raise", "a", "signal", "."], "TS_V_token": ["aarch64"], "File": "aarch64-builtins", "Func": "aarch64_could_trap_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1813, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "insertSelect", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DstReg", ",", "ArrayRef", "<", "MachineOperand", ">", "Cond", ",", "unsigned", "TrueReg", ",", "unsigned", "FalseReg", ")", "const", "{", "MachineRegisterInfo", "&", "MRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "assert", "(", "Cond", ".", "size", "(", ")", "==", "1", "&&", "\"Invalid Cond array\"", ")", ";", "unsigned", "Opc", "=", "getCMovFromCond", "(", "(", "X86", "::", "CondCode", ")", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ",", "MRI", ".", "getRegClass", "(", "DstReg", ")", "->", "getSize", "(", ")", ",", "false", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ",", "DstReg", ")", ".", "addReg", "(", "FalseReg", ")", ".", "addReg", "(", "TrueReg", ")", ";", "}", ""], "natrual_language": ["Insert", "a", "select", "instruction", "into", "MBB", "before", "I", "that", "will", "copy", "TrueReg", "to", "DstReg", "when", "Cond", "is", "true", ",", "and", "FalseReg", "to", "DstReg", "when", "Cond", "is", "false", "."], "TS_V_token": ["X86", "X86", "1", "\"Invalid Cond array\"", "X86::CondCode", "0"], "File": "X86InstrInfo (2)1", "Func": "insertSelect", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1814, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isImm", "(", ")", "const", "override", "{", "return", "Kind", "==", "k_Immediate", ";", "}", ""], "natrual_language": ["isImm", "-", "Is", "this", "an", "immediate", "operand", "?"], "TS_V_token": ["MCS51"], "File": "MCS51AsmParser", "Func": "isImm", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1815, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseRegisterInfo", "::", "needsFrameBaseReg", "(", "MachineInstr", "*", "MI", ",", "int64_t", "Offset", ")", "const", "{", "for", "(", "unsigned", "i", "=", "0", ";", "!", "MI", "->", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ";", "++", "i", ")", "{", "assert", "(", "i", "<", "MI", "->", "getNumOperands", "(", ")", "&&", "\"Instr doesn't have FrameIndex operand!\"", ")", ";", "}", "unsigned", "Opc", "=", "MI", "->", "getOpcode", "(", ")", ";", "switch", "(", "Opc", ")", "{", "case", "ARM", "::", "LDRi12", ":", "case", "ARM", "::", "LDRH", ":", "case", "ARM", "::", "LDRBi12", ":", "case", "ARM", "::", "STRi12", ":", "case", "ARM", "::", "STRH", ":", "case", "ARM", "::", "STRBi12", ":", "case", "ARM", "::", "t2LDRi12", ":", "case", "ARM", "::", "t2LDRi8", ":", "case", "ARM", "::", "t2STRi12", ":", "case", "ARM", "::", "t2STRi8", ":", "case", "ARM", "::", "VLDRS", ":", "case", "ARM", "::", "VLDRD", ":", "case", "ARM", "::", "VSTRS", ":", "case", "ARM", "::", "VSTRD", ":", "case", "ARM", "::", "tSTRspi", ":", "case", "ARM", "::", "tLDRspi", ":", "break", ";", "default", ":", "return", "false", ";", "}", "MachineFunction", "&", "MF", "=", "*", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "ARMFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "int64_t", "FPOffset", "=", "Offset", "-", "8", ";", "if", "(", "!", "AFI", "->", "isThumbFunction", "(", ")", "||", "!", "AFI", "->", "isThumb1OnlyFunction", "(", ")", ")", "FPOffset", "-=", "80", ";", "Offset", "+=", "MFI", "->", "getLocalFrameSize", "(", ")", ";", "Offset", "+=", "128", ";", "unsigned", "StackAlign", "=", "TFI", "->", "getStackAlignment", "(", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", "&&", "!", "(", "(", "MFI", "->", "getLocalFrameMaxAlign", "(", ")", ">", "StackAlign", ")", "&&", "canRealignStack", "(", "MF", ")", ")", ")", "{", "if", "(", "isFrameOffsetLegal", "(", "MI", ",", "getFrameRegister", "(", "MF", ")", ",", "FPOffset", ")", ")", "return", "false", ";", "}", "if", "(", "!", "MFI", "->", "hasVarSizedObjects", "(", ")", "&&", "isFrameOffsetLegal", "(", "MI", ",", "ARM", "::", "SP", ",", "Offset", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "instruction", "'s", "frame", "index", "reference", "would", "be", "better", "served", "by", "a", "base", "register", "other", "than", "FP", "or", "SP", "."], "TS_V_token": ["ARM", "ARM", "0", "\"Instr doesn't have FrameIndex operand!\"", "ARM::LDRi12", "ARM::LDRH", "ARM::LDRBi12", "ARM::STRi12", "ARM::STRH", "ARM::STRBi12", "ARM::t2LDRi12", "ARM::t2LDRi8", "ARM::t2STRi12", "ARM::t2STRi8", "ARM::VLDRS", "ARM::VLDRD", "ARM::VSTRS", "ARM::VSTRD", "ARM::tSTRspi", "ARM::tLDRspi", "ARM", "ARM", "ARM", "8", "80", "128", "ARM::SP"], "File": "ARMBaseRegisterInfo13", "Func": "needsFrameBaseReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1816, "Length": 322, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "frv_frame_pointer_required", "(", "void", ")", "{", "if", "(", "!", "TARGET_LINKED_FP", ")", "return", "!", "crtl", "->", "sp_is_unchanging", ";", "if", "(", "!", "crtl", "->", "is_leaf", ")", "return", "true", ";", "if", "(", "get_frame_size", "(", ")", "!=", "0", ")", "return", "true", ";", "if", "(", "cfun", "->", "stdarg", ")", "return", "true", ";", "if", "(", "!", "crtl", "->", "sp_is_unchanging", ")", "return", "true", ";", "if", "(", "!", "TARGET_FDPIC", "&&", "flag_pic", "&&", "crtl", "->", "uses_pic_offset_table", ")", "return", "true", ";", "if", "(", "profile_flag", ")", "return", "true", ";", "if", "(", "cfun", "->", "machine", "->", "frame_needed", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["On", "frv", ",", "create", "a", "frame", "whenever", "we", "need", "to", "create", "stack", "."], "TS_V_token": ["frv", "0"], "File": "frv", "Func": "frv_frame_pointer_required", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 1817, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "XtensaTargetObjectFile", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["Xtensa", "Xtensa"], "File": "XtensaTargetObjectFile", "Func": "Initialize", "Target": "Xtensa", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1818, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsConstantIslands", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "mf", ")", "{", "MF", "=", "&", "mf", ";", "MCP", "=", "mf", ".", "getConstantPool", "(", ")", ";", "STI", "=", "&", "static_cast", "<", "const", "MipsSubtarget", "&", ">", "(", "mf", ".", "getSubtarget", "(", ")", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"constant island machine function \"", "<<", "\"\\n\"", ")", ";", "if", "(", "!", "STI", "->", "inMips16Mode", "(", ")", "||", "!", "MipsSubtarget", "::", "useConstantIslands", "(", ")", ")", "{", "return", "false", ";", "}", "TII", "=", "(", "const", "Mips16InstrInfo", "*", ")", "STI", "->", "getInstrInfo", "(", ")", ";", "MFI", "=", "MF", "->", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"constant island processing \"", "<<", "\"\\n\"", ")", ";", "if", "(", "!", "PrescannedForConstants", ")", "prescanForConstants", "(", ")", ";", "HasFarJump", "=", "false", ";", "MF", "->", "getRegInfo", "(", ")", ".", "invalidateLiveness", "(", ")", ";", "MF", "->", "RenumberBlocks", "(", ")", ";", "bool", "MadeChange", "=", "false", ";", "std", "::", "vector", "<", "MachineInstr", "*", ">", "CPEMIs", ";", "if", "(", "!", "MCP", "->", "isEmpty", "(", ")", ")", "doInitialPlacement", "(", "CPEMIs", ")", ";", "initPICLabelUId", "(", "CPEMIs", ".", "size", "(", ")", ")", ";", "initializeFunctionInfo", "(", "CPEMIs", ")", ";", "CPEMIs", ".", "clear", "(", ")", ";", "DEBUG", "(", "dumpBBs", "(", ")", ")", ";", "MadeChange", "|=", "removeUnusedCPEntries", "(", ")", ";", "unsigned", "NoCPIters", "=", "0", ",", "NoBRIters", "=", "0", ";", "(", "void", ")", "NoBRIters", ";", "while", "(", "true", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Beginning CP iteration #\"", "<<", "NoCPIters", "<<", "'\\n'", ")", ";", "bool", "CPChange", "=", "false", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CPUsers", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "CPChange", "|=", "handleConstantPoolUser", "(", "i", ")", ";", "if", "(", "CPChange", "&&", "++", "NoCPIters", ">", "30", ")", "report_fatal_error", "(", "\"Constant Island pass failed to converge!\"", ")", ";", "DEBUG", "(", "dumpBBs", "(", ")", ")", ";", "NewWaterList", ".", "clear", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Beginning BR iteration #\"", "<<", "NoBRIters", "<<", "'\\n'", ")", ";", "bool", "BRChange", "=", "false", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "ImmBranches", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "BRChange", "|=", "fixupImmediateBr", "(", "ImmBranches", "[", "i", "]", ")", ";", "if", "(", "BRChange", "&&", "++", "NoBRIters", ">", "30", ")", "report_fatal_error", "(", "\"Branch Fix Up pass failed to converge!\"", ")", ";", "DEBUG", "(", "dumpBBs", "(", ")", ")", ";", "if", "(", "!", "CPChange", "&&", "!", "BRChange", ")", "break", ";", "MadeChange", "=", "true", ";", "}", "DEBUG", "(", "dbgs", "(", ")", "<<", "'\\n'", ";", "dumpBBs", "(", ")", ")", ";", "BBInfo", ".", "clear", "(", ")", ";", "WaterList", ".", "clear", "(", ")", ";", "CPUsers", ".", "clear", "(", ")", ";", "CPEntries", ".", "clear", "(", ")", ";", "ImmBranches", ".", "clear", "(", ")", ";", "return", "MadeChange", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "\"constant island machine function \"", "\"\\n\"", "Mips", "Mips", "Mips", "Mips", "\"constant island processing \"", "\"\\n\"", "0", "0", "\"Beginning CP iteration #\"", "0", "30", "\"Constant Island pass failed to converge!\"", "\"Beginning BR iteration #\"", "0", "30", "\"Branch Fix Up pass failed to converge!\""], "File": "MipsConstantIslandPass11", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1819, "Length": 423, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "isLegalAddressingMode", "(", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ")", "const", "{", "if", "(", "AM", ".", "BaseOffs", "<=", "-", "(", "1LL", "<<", "16", ")", "||", "AM", ".", "BaseOffs", ">=", "(", "1LL", "<<", "16", ")", "-", "1", ")", "return", "false", ";", "if", "(", "AM", ".", "BaseGV", ")", "return", "false", ";", "switch", "(", "AM", ".", "Scale", ")", "{", "case", "0", ":", "break", ";", "case", "1", ":", "if", "(", "AM", ".", "HasBaseReg", "&&", "AM", ".", "BaseOffs", ")", "return", "false", ";", "break", ";", "case", "2", ":", "if", "(", "AM", ".", "HasBaseReg", "||", "AM", ".", "BaseOffs", ")", "return", "false", ";", "break", ";", "default", ":", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["isLegalAddressingMode", "-", "Return", "true", "if", "the", "addressing", "mode", "represented", "by", "AM", "is", "legal", "for", "this", "target", ",", "for", "a", "load/store", "of", "the", "specified", "type", "."], "TS_V_token": ["PowerPC", "PPC", "1LL", "16", "1LL", "16", "1", "0", "1", "2"], "File": "PPCISelLowering (2)", "Func": "isLegalAddressingMode", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1820, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "s390_chunkify_finish", "(", "struct", "constant_pool", "*", "pool_list", ")", "{", "struct", "constant_pool", "*", "curr_pool", "=", "NULL", ";", "rtx", "insn", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "if", "(", "INSN_P", "(", "insn", ")", ")", "replace_ltrel_base", "(", "&", "PATTERN", "(", "insn", ")", ")", ";", "curr_pool", "=", "s390_find_pool", "(", "pool_list", ",", "insn", ")", ";", "if", "(", "!", "curr_pool", ")", "continue", ";", "if", "(", "GET_CODE", "(", "insn", ")", "==", "INSN", "||", "GET_CODE", "(", "insn", ")", "==", "CALL_INSN", ")", "{", "rtx", "addr", ",", "pool_ref", "=", "NULL_RTX", ";", "find_constant_pool_ref", "(", "PATTERN", "(", "insn", ")", ",", "&", "pool_ref", ")", ";", "if", "(", "pool_ref", ")", "{", "if", "(", "s390_execute_label", "(", "insn", ")", ")", "addr", "=", "s390_find_execute", "(", "curr_pool", ",", "insn", ")", ";", "else", "addr", "=", "s390_find_constant", "(", "curr_pool", ",", "get_pool_constant", "(", "pool_ref", ")", ",", "get_pool_mode", "(", "pool_ref", ")", ")", ";", "replace_constant_pool_ref", "(", "&", "PATTERN", "(", "insn", ")", ",", "pool_ref", ",", "addr", ")", ";", "INSN_CODE", "(", "insn", ")", "=", "-", "1", ";", "}", "}", "}", "for", "(", "curr_pool", "=", "pool_list", ";", "curr_pool", ";", "curr_pool", "=", "curr_pool", "->", "next", ")", "s390_dump_pool", "(", "curr_pool", ",", "0", ")", ";", "while", "(", "pool_list", ")", "{", "struct", "constant_pool", "*", "next", "=", "pool_list", "->", "next", ";", "s390_free_pool", "(", "pool_list", ")", ";", "pool_list", "=", "next", ";", "}", "}", ""], "natrual_language": ["POOL_LIST", "is", "a", "chunk", "list", "as", "prepared", "by", "s390_chunkify_start", ".", "After", "we", "have", "decided", "to", "use", "this", "list", ",", "finish", "implementing", "all", "changes", "to", "the", "current", "function", "as", "required", "."], "TS_V_token": ["s390", "1", "0"], "File": "s3903", "Func": "s390_chunkify_finish", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1821, "Length": 214, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "Value", "*", ">", "X86TTIImpl", "::", "simplifyDemandedUseBitsIntrinsic", "(", "InstCombiner", "&", "IC", ",", "IntrinsicInst", "&", "II", ",", "APInt", "DemandedMask", ",", "KnownBits", "&", "Known", ",", "bool", "&", "KnownBitsComputed", ")", "const", "{", "switch", "(", "II", ".", "getIntrinsicID", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Intrinsic", "::", "x86_mmx_pmovmskb", ":", "case", "Intrinsic", "::", "x86_sse_movmsk_ps", ":", "case", "Intrinsic", "::", "x86_sse2_movmsk_pd", ":", "case", "Intrinsic", "::", "x86_sse2_pmovmskb_128", ":", "case", "Intrinsic", "::", "x86_avx_movmsk_ps_256", ":", "case", "Intrinsic", "::", "x86_avx_movmsk_pd_256", ":", "case", "Intrinsic", "::", "x86_avx2_pmovmskb", ":", "{", "unsigned", "ArgWidth", ";", "if", "(", "II", ".", "getIntrinsicID", "(", ")", "==", "Intrinsic", "::", "x86_mmx_pmovmskb", ")", "{", "ArgWidth", "=", "8", ";", "}", "else", "{", "auto", "*", "ArgType", "=", "cast", "<", "FixedVectorType", ">", "(", "II", ".", "getArgOperand", "(", "0", ")", "->", "getType", "(", ")", ")", ";", "ArgWidth", "=", "ArgType", "->", "getNumElements", "(", ")", ";", "}", "APInt", "DemandedElts", "=", "DemandedMask", ".", "zextOrTrunc", "(", "ArgWidth", ")", ";", "Type", "*", "VTy", "=", "II", ".", "getType", "(", ")", ";", "if", "(", "DemandedElts", ".", "isZero", "(", ")", ")", "{", "return", "ConstantInt", "::", "getNullValue", "(", "VTy", ")", ";", "}", "Known", ".", "Zero", ".", "setBitsFrom", "(", "ArgWidth", ")", ";", "KnownBitsComputed", "=", "true", ";", "break", ";", "}", "}", "return", "None", ";", "}", ""], "natrual_language": ["Can", "be", "used", "to", "implement", "target-specific", "instruction", "combining", "."], "TS_V_token": ["X86", "X86", "Intrinsic::x86_mmx_pmovmskb", "Intrinsic::x86_sse_movmsk_ps", "Intrinsic::x86_sse2_movmsk_pd", "Intrinsic::x86_sse2_pmovmskb_128", "Intrinsic::x86_avx_movmsk_ps_256", "Intrinsic::x86_avx_movmsk_pd_256", "Intrinsic::x86_avx2_pmovmskb", "Intrinsic::x86_mmx_pmovmskb", "8", "0"], "File": "X86InstCombineIntrinsic", "Func": "simplifyDemandedUseBitsIntrinsic", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1822, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "or1k_function_arg", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "const_tree", ",", "bool", "named", ")", "{", "if", "(", "mode", "==", "VOIDmode", ")", "return", "NULL_RTX", ";", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "int", "nreg", "=", "CEIL", "(", "GET_MODE_SIZE", "(", "mode", ")", ",", "UNITS_PER_WORD", ")", ";", "gcc_assert", "(", "nreg", "<=", "2", ")", ";", "if", "(", "named", "&&", "*", "cum", "+", "nreg", "<=", "6", ")", "return", "gen_rtx_REG", "(", "mode", ",", "*", "cum", "+", "3", ")", ";", "else", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Worker", "for", "TARGET_FUNCTION_ARG", ".", "Return", "the", "next", "register", "to", "be", "used", "to", "hold", "a", "function", "argument", "or", "NULL_RTX", "if", "there", "'s", "no", "more", "space", ".", "Arugment", "CUM_V", "represents", "the", "current", "argument", "offset", ",", "zero", "for", "the", "first", "function", "argument", ".", "OpenRISC", "function", "arguments", "maybe", "be", "passed", "in", "registers", "r3", "to", "r8", "."], "TS_V_token": ["or1k", "2", "6", "3"], "File": "or1k2", "Func": "or1k_function_arg", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1823, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "riscv_emit_move", "(", "rtx", "dest", ",", "rtx", "src", ")", "{", "return", "(", "can_create_pseudo_p", "(", ")", "?", "emit_move_insn", "(", "dest", ",", "src", ")", ":", "emit_move_insn_1", "(", "dest", ",", "src", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "move", "from", "SRC", "to", "DEST", ".", "Assume", "that", "the", "move", "expanders", "can", "handle", "all", "moves", "if", "!", "can_create_pseudo_p", "(", ")", ".", "The", "distinction", "is", "important", "because", ",", "unlike", "emit_move_insn", ",", "the", "move", "expanders", "know", "how", "to", "force", "Pmode", "objects", "into", "the", "constant", "pool", "even", "when", "the", "constant", "pool", "address", "is", "not", "itself", "legitimate", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_emit_move", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1824, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVCallLowering", "::", "lowerFormalArguments", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Function", "&", "F", ",", "ArrayRef", "<", "ArrayRef", "<", "Register", ">>", "VRegs", ",", "FunctionLoweringInfo", "&", "FLI", ")", "const", "{", "if", "(", "F", ".", "arg_empty", "(", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "VRegs", ",", "for", "GlobalISel", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVCallLowering", "Func": "lowerFormalArguments", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1825, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CallLowering", "::", "lowerFormalArguments", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Function", "&", "F", ",", "ArrayRef", "<", "unsigned", ">", "VRegs", ")", "const", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "MachineBasicBlock", "&", "MBB", "=", "MIRBuilder", ".", "getMBB", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "auto", "&", "DL", "=", "F", ".", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ";", "SmallVector", "<", "ArgInfo", ",", "8", ">", "SplitArgs", ";", "unsigned", "i", "=", "0", ";", "for", "(", "auto", "&", "Arg", ":", "F", ".", "args", "(", ")", ")", "{", "if", "(", "DL", ".", "getTypeStoreSize", "(", "Arg", ".", "getType", "(", ")", ")", "==", "0", ")", "continue", ";", "ArgInfo", "OrigArg", "{", "VRegs", "[", "i", "]", ",", "Arg", ".", "getType", "(", ")", "}", ";", "setArgFlags", "(", "OrigArg", ",", "i", "+", "AttributeList", "::", "FirstArgIndex", ",", "DL", ",", "F", ")", ";", "bool", "Split", "=", "false", ";", "LLT", "Ty", "=", "MRI", ".", "getType", "(", "VRegs", "[", "i", "]", ")", ";", "unsigned", "Dst", "=", "VRegs", "[", "i", "]", ";", "splitToValueTypes", "(", "OrigArg", ",", "SplitArgs", ",", "DL", ",", "MRI", ",", "F", ".", "getCallingConv", "(", ")", ",", "[", "&", "]", "(", "unsigned", "Reg", ",", "uint64_t", "Offset", ")", "{", "if", "(", "!", "Split", ")", "{", "Split", "=", "true", ";", "Dst", "=", "MRI", ".", "createGenericVirtualRegister", "(", "Ty", ")", ";", "MIRBuilder", ".", "buildUndef", "(", "Dst", ")", ";", "}", "unsigned", "Tmp", "=", "MRI", ".", "createGenericVirtualRegister", "(", "Ty", ")", ";", "MIRBuilder", ".", "buildInsert", "(", "Tmp", ",", "Dst", ",", "Reg", ",", "Offset", ")", ";", "Dst", "=", "Tmp", ";", "}", ")", ";", "if", "(", "Dst", "!=", "VRegs", "[", "i", "]", ")", "MIRBuilder", ".", "buildCopy", "(", "VRegs", "[", "i", "]", ",", "Dst", ")", ";", "++", "i", ";", "}", "if", "(", "!", "MBB", ".", "empty", "(", ")", ")", "MIRBuilder", ".", "setInstr", "(", "*", "MBB", ".", "begin", "(", ")", ")", ";", "const", "AArch64TargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "AArch64TargetLowering", ">", "(", ")", ";", "CCAssignFn", "*", "AssignFn", "=", "TLI", ".", "CCAssignFnForCall", "(", "F", ".", "getCallingConv", "(", ")", ",", "false", ")", ";", "FormalArgHandler", "Handler", "(", "MIRBuilder", ",", "MRI", ",", "AssignFn", ")", ";", "if", "(", "!", "handleAssignments", "(", "MIRBuilder", ",", "SplitArgs", ",", "Handler", ")", ")", "return", "false", ";", "if", "(", "F", ".", "isVarArg", "(", ")", ")", "{", "if", "(", "!", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "isTargetDarwin", "(", ")", ")", "{", "return", "false", ";", "}", "uint64_t", "StackOffset", "=", "alignTo", "(", "Handler", ".", "StackUsed", ",", "8", ")", ";", "auto", "&", "MFI", "=", "MIRBuilder", ".", "getMF", "(", ")", ".", "getFrameInfo", "(", ")", ";", "AArch64FunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "FuncInfo", "->", "setVarArgsStackIndex", "(", "MFI", ".", "CreateFixedObject", "(", "4", ",", "StackOffset", ",", "true", ")", ")", ";", "}", "auto", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ";", "if", "(", "Subtarget", ".", "hasCustomCallingConv", "(", ")", ")", "Subtarget", ".", "getRegisterInfo", "(", ")", "->", "UpdateCustomCalleeSavedRegs", "(", "MF", ")", ";", "MIRBuilder", ".", "setMBB", "(", "MBB", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "VRegs", ",", "for", "GlobalISel", "."], "TS_V_token": ["AArch64", "AArch64", "8", "0", "0", "AArch64", "AArch64", "AArch64", "8", "AArch64", "AArch64", "4", "AArch64"], "File": "AArch64CallLowering", "Func": "lowerFormalArguments", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1826, "Length": 479, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIRegisterInfo", "::", "materializeFrameBaseRegister", "(", "MachineBasicBlock", "*", "MBB", ",", "unsigned", "BaseReg", ",", "int", "FrameIdx", ",", "int64_t", "Offset", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "Ins", "=", "MBB", "->", "begin", "(", ")", ";", "DebugLoc", "DL", ";", "if", "(", "Ins", "!=", "MBB", "->", "end", "(", ")", ")", "DL", "=", "Ins", "->", "getDebugLoc", "(", ")", ";", "MachineFunction", "*", "MF", "=", "MBB", "->", "getParent", "(", ")", ";", "const", "SISubtarget", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "SISubtarget", ">", "(", ")", ";", "const", "SIInstrInfo", "*", "TII", "=", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "if", "(", "Offset", "==", "0", ")", "{", "BuildMI", "(", "*", "MBB", ",", "Ins", ",", "DL", ",", "TII", "->", "get", "(", "AMDGPU", "::", "V_MOV_B32_e32", ")", ",", "BaseReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ";", "return", ";", "}", "MachineRegisterInfo", "&", "MRI", "=", "MF", "->", "getRegInfo", "(", ")", ";", "unsigned", "UnusedCarry", "=", "MRI", ".", "createVirtualRegister", "(", "&", "AMDGPU", "::", "SReg_64RegClass", ")", ";", "BuildMI", "(", "*", "MBB", ",", "Ins", ",", "DL", ",", "TII", "->", "get", "(", "AMDGPU", "::", "V_ADD_I32_e64", ")", ",", "BaseReg", ")", ".", "addReg", "(", "UnusedCarry", ",", "RegState", "::", "Define", "|", "RegState", "::", "Dead", ")", ".", "addImm", "(", "Offset", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ";", "}", ""], "natrual_language": ["Insert", "defining", "instruction", "(", "s", ")", "for", "a", "pointer", "to", "FrameIdx", "before", "insertion", "point", "I", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "SI", "0", "AMDGPU::V_MOV_B32_e32", "AMDGPU::SReg_64RegClass", "AMDGPU::V_ADD_I32_e64"], "File": "SIRegisterInfo106", "Func": "materializeFrameBaseRegister", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1827, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "SYSTEMZ_COPYPHYSREGS_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["SystemZ"], "File": "SystemZCopyPhysRegs", "Func": "getPassName", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1828, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "MBlazeTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "MBB", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "assert", "(", "false", "&&", "\"Unexpected instr type to insert\"", ")", ";", "case", "MBlaze", "::", "ShiftRL", ":", "case", "MBlaze", "::", "ShiftRA", ":", "case", "MBlaze", "::", "ShiftL", ":", "return", "EmitCustomShift", "(", "MI", ",", "MBB", ")", ";", "case", "MBlaze", "::", "Select_FCC", ":", "case", "MBlaze", "::", "Select_CC", ":", "return", "EmitCustomSelect", "(", "MI", ",", "MBB", ")", ";", "case", "MBlaze", "::", "CAS32", ":", "case", "MBlaze", "::", "SWP32", ":", "case", "MBlaze", "::", "LAA32", ":", "case", "MBlaze", "::", "LAS32", ":", "case", "MBlaze", "::", "LAD32", ":", "case", "MBlaze", "::", "LAO32", ":", "case", "MBlaze", "::", "LAX32", ":", "case", "MBlaze", "::", "LAN32", ":", "return", "EmitCustomAtomic", "(", "MI", ",", "MBB", ")", ";", "case", "MBlaze", "::", "MEMBARRIER", ":", "MI", "->", "eraseFromParent", "(", ")", ";", "return", "MBB", ";", "}", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "."], "TS_V_token": ["MBlaze", "MBlaze", "\"Unexpected instr type to insert\"", "MBlaze::ShiftRL", "MBlaze::ShiftRA", "MBlaze::ShiftL", "MBlaze::Select_FCC", "MBlaze::Select_CC", "MBlaze::CAS32", "MBlaze::SWP32", "MBlaze::LAA32", "MBlaze::LAS32", "MBlaze::LAD32", "MBlaze::LAO32", "MBlaze::LAX32", "MBlaze::LAN32", "MBlaze::MEMBARRIER"], "File": "MBlazeISelLowering14", "Func": "EmitInstrWithCustomInserter", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1829, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mn10300_encode_section_info", "(", "tree", "decl", ",", "rtx", "rtl", ",", "int", "first", "ATTRIBUTE_UNUSED", ")", "{", "rtx", "symbol", ";", "if", "(", "GET_CODE", "(", "rtl", ")", "!=", "MEM", ")", "return", ";", "symbol", "=", "XEXP", "(", "rtl", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "symbol", ")", "!=", "SYMBOL_REF", ")", "return", ";", "if", "(", "flag_pic", ")", "SYMBOL_REF_FLAG", "(", "symbol", ")", "=", "(", "*", "targetm", ".", "binds_local_p", ")", "(", "decl", ")", ";", "}", ""], "natrual_language": ["If", "using", "PIC", ",", "mark", "a", "SYMBOL_REF", "for", "a", "non-global", "symbol", "so", "that", "we", "may", "access", "it", "using", "GOTOFF", "instead", "of", "GOT", "."], "TS_V_token": ["mn10300", "0"], "File": "mn103003", "Func": "mn10300_encode_section_info", "Target": "mn10300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1830, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnModule", "(", "Module", "&", "M", ")", "override", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "getPassName", "(", ")", "<<", "'\\n'", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "&", "MF", ":", "M", ")", "{", "Changed", "|=", "runOnFunction", "(", "MF", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "."], "TS_V_token": ["ARM64"], "File": "ARM64PromoteConstant1", "Func": "runOnModule", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1831, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "XtensaAsmBackend", "::", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ")", "const", "{", "if", "(", "(", "Count", "%", "3", ")", "!=", "0", ")", "return", "false", ";", "uint32_t", "Hex", "=", "0", ";", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "<", "Count", ";", "++", "i", ")", "{", "support", "::", "endian", "::", "write", "<", "uint8_t", ">", "(", "OS", ",", "(", "Hex", ">>", "0", ")", "&", "0xff", ",", "llvm", "::", "support", "::", "little", ")", ";", "support", "::", "endian", "::", "write", "<", "uint8_t", ">", "(", "OS", ",", "(", "Hex", ">>", "8", ")", "&", "0xff", ",", "llvm", "::", "support", "::", "little", ")", ";", "support", "::", "endian", "::", "write", "<", "uint8_t", ">", "(", "OS", ",", "(", "Hex", ">>", "16", ")", "&", "0xff", ",", "llvm", "::", "support", "::", "little", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["Xtensa", "Xtensa", "3", "0", "0", "0", "support::endian", "0", "0xff", "support::little", "support::endian", "8", "0xff", "support::little", "support::endian", "16", "0xff", "support::little"], "File": "XtensaAsmBackend", "Func": "writeNopData", "Target": "Xtensa", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1832, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonEarlyIfConversion", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "*", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "auto", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "HexagonSubtarget", ">", "(", ")", ";", "HII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "ST", ".", "getRegisterInfo", "(", ")", ";", "MFN", "=", "&", "MF", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "MDT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "MLI", "=", "&", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "MBPI", "=", "EnableHexagonBP", "?", "&", "getAnalysis", "<", "MachineBranchProbabilityInfo", ">", "(", ")", ":", "nullptr", ";", "Deleted", ".", "clear", "(", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "MachineLoopInfo", "::", "iterator", "I", "=", "MLI", "->", "begin", "(", ")", ",", "E", "=", "MLI", "->", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "Changed", "|=", "visitLoop", "(", "*", "I", ")", ";", "Changed", "|=", "visitLoop", "(", "nullptr", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "Hexagon"], "File": "HexagonEarlyIfConv11", "Func": "runOnMachineFunction", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1833, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetTransformInfo", "PPCTargetMachine", "::", "getTargetTransformInfo", "(", "const", "Function", "&", "F", ")", "{", "return", "TargetTransformInfo", "(", "PPCTTIImpl", "(", "this", ",", "F", ")", ")", ";", "}", ""], "natrual_language": ["Get", "a", "TargetTransformInfo", "implementation", "for", "the", "target", "."], "TS_V_token": ["PowerPC", "PPC", "PPC"], "File": "PPCTargetMachine1", "Func": "getTargetTransformInfo", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1834, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSymbol", "*", "WebAssemblyMCInstLower", "::", "GetExternalSymbolSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", "{", "const", "char", "*", "Name", "=", "MO", ".", "getSymbolName", "(", ")", ";", "MCSymbol", "*", "Sym", "=", "Printer", ".", "GetExternalSymbolSymbol", "(", "Name", ")", ";", "if", "(", "isa", "<", "MCSymbolELF", ">", "(", "Sym", ")", ")", "return", "Sym", ";", "MCSymbolWasm", "*", "WasmSym", "=", "cast", "<", "MCSymbolWasm", ">", "(", "Sym", ")", ";", "const", "WebAssemblySubtarget", "&", "Subtarget", "=", "Printer", ".", "getSubtarget", "(", ")", ";", "if", "(", "strcmp", "(", "Name", ",", "\"__stack_pointer\"", ")", "==", "0", ")", "return", "WasmSym", ";", "SmallVector", "<", "unsigned", ",", "4", ">", "Returns", ";", "SmallVector", "<", "unsigned", ",", "4", ">", "Params", ";", "GetSignature", "(", "Subtarget", ",", "Name", ",", "Returns", ",", "Params", ")", ";", "WasmSym", "->", "setReturns", "(", "std", "::", "move", "(", "Returns", ")", ")", ";", "WasmSym", "->", "setParams", "(", "std", "::", "move", "(", "Params", ")", ")", ";", "WasmSym", "->", "setIsFunction", "(", "true", ")", ";", "return", "WasmSym", ";", "}", ""], "natrual_language": ["Return", "the", "MCSymbol", "for", "the", "specified", "ExternalSymbol", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "WebAssembly", "\"__stack_pointer\"", "0", "4", "4"], "File": "WebAssemblyMCInstLower23", "Func": "GetExternalSymbolSymbol", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1835, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "fmpysuboperands", "(", "rtx", "*", "operands", ")", "{", "enum", "machine_mode", "mode", "=", "GET_MODE", "(", "operands", "[", "0", "]", ")", ";", "if", "(", "mode", "!=", "SFmode", "&&", "mode", "!=", "DFmode", ")", "return", "0", ";", "if", "(", "!", "(", "mode", "==", "GET_MODE", "(", "operands", "[", "1", "]", ")", "&&", "mode", "==", "GET_MODE", "(", "operands", "[", "2", "]", ")", "&&", "mode", "==", "GET_MODE", "(", "operands", "[", "3", "]", ")", "&&", "mode", "==", "GET_MODE", "(", "operands", "[", "4", "]", ")", "&&", "mode", "==", "GET_MODE", "(", "operands", "[", "5", "]", ")", ")", ")", "return", "0", ";", "if", "(", "!", "(", "GET_CODE", "(", "operands", "[", "1", "]", ")", "==", "REG", "&&", "GET_CODE", "(", "operands", "[", "2", "]", ")", "==", "REG", "&&", "GET_CODE", "(", "operands", "[", "3", "]", ")", "==", "REG", "&&", "GET_CODE", "(", "operands", "[", "4", "]", ")", "==", "REG", "&&", "GET_CODE", "(", "operands", "[", "5", "]", ")", "==", "REG", ")", ")", "return", "0", ";", "if", "(", "!", "rtx_equal_p", "(", "operands", "[", "3", "]", ",", "operands", "[", "4", "]", ")", ")", "return", "0", ";", "if", "(", "rtx_equal_p", "(", "operands", "[", "5", "]", ",", "operands", "[", "0", "]", ")", ")", "return", "0", ";", "if", "(", "rtx_equal_p", "(", "operands", "[", "3", "]", ",", "operands", "[", "0", "]", ")", "||", "rtx_equal_p", "(", "operands", "[", "3", "]", ",", "operands", "[", "1", "]", ")", "||", "rtx_equal_p", "(", "operands", "[", "3", "]", ",", "operands", "[", "2", "]", ")", ")", "return", "0", ";", "if", "(", "mode", "==", "SFmode", "&&", "(", "REGNO_REG_CLASS", "(", "REGNO", "(", "operands", "[", "0", "]", ")", ")", "!=", "FPUPPER_REGS", "||", "REGNO_REG_CLASS", "(", "REGNO", "(", "operands", "[", "1", "]", ")", ")", "!=", "FPUPPER_REGS", "||", "REGNO_REG_CLASS", "(", "REGNO", "(", "operands", "[", "2", "]", ")", ")", "!=", "FPUPPER_REGS", "||", "REGNO_REG_CLASS", "(", "REGNO", "(", "operands", "[", "3", "]", ")", ")", "!=", "FPUPPER_REGS", "||", "REGNO_REG_CLASS", "(", "REGNO", "(", "operands", "[", "4", "]", ")", ")", "!=", "FPUPPER_REGS", "||", "REGNO_REG_CLASS", "(", "REGNO", "(", "operands", "[", "5", "]", ")", ")", "!=", "FPUPPER_REGS", ")", ")", "return", "0", ";", "return", "1", ";", "}", ""], "natrual_language": ["Returns", "1", "if", "the", "6", "operands", "specified", "in", "OPERANDS", "are", "suitable", "for", "use", "in", "fmpysub", "instructions", "."], "TS_V_token": ["pa", "0", "0", "1", "2", "3", "4", "5", "0", "1", "2", "3", "4", "5", "0", "3", "4", "0", "5", "0", "0", "3", "0", "3", "1", "3", "2", "0", "0", "1", "2", "3", "4", "5", "0", "1"], "File": "pa3", "Func": "fmpysuboperands", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1836, "Length": 323, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MipsTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "SelectionDAG", "&", "DAG", "=", "DCI", ".", "DAG", ";", "unsigned", "Opc", "=", "N", "->", "getOpcode", "(", ")", ";", "switch", "(", "Opc", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "SDIVREM", ":", "case", "ISD", "::", "UDIVREM", ":", "return", "performDivRemCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "performSELECTCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "AND", ":", "return", "performANDCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "OR", ":", "return", "performORCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["This", "method", "will", "be", "invoked", "for", "all", "target", "nodes", "and", "for", "any", "target-independent", "nodes", "that", "the", "target", "has", "registered", "with", "invoke", "it", "for", "."], "TS_V_token": ["Mips", "Mips", "ISD::SDIVREM", "ISD::UDIVREM", "ISD::SELECT", "ISD::AND", "ISD::OR"], "File": "MipsISelLowering58", "Func": "PerformDAGCombine", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1837, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "dump", "(", ")", "{", "cerr", "<<", "\"SystemZRRIAddressMode \"", "<<", "this", "<<", "'\\n'", ";", "if", "(", "BaseType", "==", "RegBase", ")", "{", "cerr", "<<", "\"Base.Reg \"", ";", "if", "(", "Base", ".", "Reg", ".", "getNode", "(", ")", "!=", "0", ")", "Base", ".", "Reg", ".", "getNode", "(", ")", "->", "dump", "(", ")", ";", "else", "cerr", "<<", "\"nul\"", ";", "cerr", "<<", "'\\n'", ";", "}", "else", "{", "cerr", "<<", "\" Base.FrameIndex \"", "<<", "Base", ".", "FrameIndex", "<<", "'\\n'", ";", "}", "if", "(", "!", "isRI", ")", "{", "cerr", "<<", "\"IndexReg \"", ";", "if", "(", "IndexReg", ".", "getNode", "(", ")", "!=", "0", ")", "IndexReg", ".", "getNode", "(", ")", "->", "dump", "(", ")", ";", "else", "cerr", "<<", "\"nul\"", ";", "}", "cerr", "<<", "\" Disp \"", "<<", "Disp", "<<", "'\\n'", ";", "}", ""], "natrual_language": ["Dump", "the", "plan", "to", "stderr", "(", "for", "debugging", ")", "."], "TS_V_token": ["SystemZ", "\"SystemZRRIAddressMode \"", "\"Base.Reg \"", "0", "\"nul\"", "\" Base.FrameIndex \"", "\"IndexReg \"", "0", "\"nul\"", "\" Disp \""], "File": "SystemZISelDAGToDAG19", "Func": "dump", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1838, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "nds32_output_32bit_store", "(", "rtx", "*", "operands", ",", "int", "byte", ")", "{", "char", "pattern", "[", "100", "]", ";", "unsigned", "char", "size", ";", "rtx", "code", "=", "XEXP", "(", "operands", "[", "0", "]", ",", "0", ")", ";", "size", "=", "nds32_byte_to_size", "(", "byte", ")", ";", "switch", "(", "GET_CODE", "(", "code", ")", ")", "{", "case", "REG", ":", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"s%ci\\t%%1, %%0\"", ",", "size", ")", ";", "break", ";", "case", "SYMBOL_REF", ":", "case", "CONST", ":", "operands", "[", "0", "]", "=", "XEXP", "(", "operands", "[", "0", "]", ",", "0", ")", ";", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"s%ci.gp\\t%%1, [ + %%0]\"", ",", "size", ")", ";", "break", ";", "case", "POST_INC", ":", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"s%ci.bi\\t%%1, %%0, %d\"", ",", "size", ",", "byte", ")", ";", "break", ";", "case", "POST_DEC", ":", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"s%ci.bi\\t%%1, %%0, -%d\"", ",", "size", ",", "byte", ")", ";", "break", ";", "case", "POST_MODIFY", ":", "switch", "(", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "code", ",", "1", ")", ",", "1", ")", ")", ")", "{", "case", "REG", ":", "case", "SUBREG", ":", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"s%c.bi\\t%%1, %%0\"", ",", "size", ")", ";", "break", ";", "case", "CONST_INT", ":", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"s%ci.bi\\t%%1, %%0\"", ",", "size", ")", ";", "break", ";", "default", ":", "abort", "(", ")", ";", "}", "break", ";", "case", "PLUS", ":", "switch", "(", "GET_CODE", "(", "XEXP", "(", "code", ",", "1", ")", ")", ")", "{", "case", "REG", ":", "case", "SUBREG", ":", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"s%c\\t%%1, %%0\"", ",", "size", ")", ";", "break", ";", "case", "CONST_INT", ":", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"s%ci\\t%%1, %%0\"", ",", "size", ")", ";", "break", ";", "default", ":", "abort", "(", ")", ";", "}", "break", ";", "case", "LO_SUM", ":", "operands", "[", "2", "]", "=", "XEXP", "(", "code", ",", "1", ")", ";", "operands", "[", "0", "]", "=", "XEXP", "(", "code", ",", "0", ")", ";", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"s%ci\\t%%1, [%%0 + lo12(%%2)]\"", ",", "size", ")", ";", "break", ";", "default", ":", "abort", "(", ")", ";", "}", "output_asm_insn", "(", "pattern", ",", "operands", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Output", "32-bit", "store", "."], "TS_V_token": ["nds32", "100", "0", "0", "\"s%ci\\t%%1, %%0\"", "0", "0", "0", "\"s%ci.gp\\t%%1, [ + %%0]\"", "\"s%ci.bi\\t%%1, %%0, %d\"", "\"s%ci.bi\\t%%1, %%0, -%d\"", "1", "1", "\"s%c.bi\\t%%1, %%0\"", "\"s%ci.bi\\t%%1, %%0\"", "1", "\"s%c\\t%%1, %%0\"", "\"s%ci\\t%%1, %%0\"", "2", "1", "0", "0", "\"s%ci\\t%%1, [%%0 + lo12(%%2)]\"", "\"\""], "File": "nds32-md-auxiliary", "Func": "nds32_output_32bit_store", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1839, "Length": 347, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyStoreResults", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "DEBUG", "(", "{", "dbgs", "(", ")", "<<", "\"********** Store Results **********\\n\"", "<<", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ";", "}", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "MachineDominatorTree", "&", "MDT", "=", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "const", "WebAssemblyTargetLowering", "&", "TLI", "=", "*", "MF", ".", "getSubtarget", "<", "WebAssemblySubtarget", ">", "(", ")", ".", "getTargetLowering", "(", ")", ";", "const", "auto", "&", "LibInfo", "=", "getAnalysis", "<", "TargetLibraryInfoWrapperPass", ">", "(", ")", ".", "getTLI", "(", ")", ";", "LiveIntervals", "&", "LIS", "=", "getAnalysis", "<", "LiveIntervals", ">", "(", ")", ";", "bool", "Changed", "=", "false", ";", "MRI", ".", "leaveSSA", "(", ")", ";", "assert", "(", "MRI", ".", "tracksLiveness", "(", ")", "&&", "\"StoreResults expects liveness tracking\"", ")", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Basic Block: \"", "<<", "MBB", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "WebAssembly", "::", "STORE8_I32", ":", "case", "WebAssembly", "::", "STORE16_I32", ":", "case", "WebAssembly", "::", "STORE8_I64", ":", "case", "WebAssembly", "::", "STORE16_I64", ":", "case", "WebAssembly", "::", "STORE32_I64", ":", "case", "WebAssembly", "::", "STORE_F32", ":", "case", "WebAssembly", "::", "STORE_F64", ":", "case", "WebAssembly", "::", "STORE_I32", ":", "case", "WebAssembly", "::", "STORE_I64", ":", "Changed", "|=", "optimizeStore", "(", "MBB", ",", "MI", ",", "MRI", ",", "MDT", ",", "LIS", ")", ";", "break", ";", "case", "WebAssembly", "::", "CALL_I32", ":", "case", "WebAssembly", "::", "CALL_I64", ":", "Changed", "|=", "optimizeCall", "(", "MBB", ",", "MI", ",", "MRI", ",", "MDT", ",", "LIS", ",", "TLI", ",", "LibInfo", ")", ";", "break", ";", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"********** Store Results **********\\n\"", "\"********** Function: \"", "WebAssembly", "WebAssembly", "\"StoreResults expects liveness tracking\"", "\"Basic Block: \"", "WebAssembly::STORE8_I32", "WebAssembly::STORE16_I32", "WebAssembly::STORE8_I64", "WebAssembly::STORE16_I64", "WebAssembly::STORE32_I64", "WebAssembly::STORE_F32", "WebAssembly::STORE_F64", "WebAssembly::STORE_I32", "WebAssembly::STORE_I64", "WebAssembly::CALL_I32", "WebAssembly::CALL_I64"], "File": "WebAssemblyStoreResults6", "Func": "runOnMachineFunction", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1840, "Length": 267, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "SIMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "if", "(", "FuncInfo", "->", "isEntryFunction", "(", ")", ")", "{", "emitEntryFunctionPrologue", "(", "MF", ",", "MBB", ")", ";", "return", ";", "}", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "GCNSubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "const", "SIInstrInfo", "*", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "const", "SIRegisterInfo", "&", "TRI", "=", "TII", "->", "getRegisterInfo", "(", ")", ";", "unsigned", "StackPtrReg", "=", "FuncInfo", "->", "getStackPtrOffsetReg", "(", ")", ";", "unsigned", "FramePtrReg", "=", "FuncInfo", "->", "getFrameOffsetReg", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "DL", ";", "bool", "NeedFP", "=", "hasFP", "(", "MF", ")", ";", "uint32_t", "NumBytes", "=", "MFI", ".", "getStackSize", "(", ")", ";", "uint32_t", "RoundedSize", "=", "NumBytes", ";", "const", "bool", "NeedsRealignment", "=", "TRI", ".", "needsStackRealignment", "(", "MF", ")", ";", "if", "(", "NeedsRealignment", ")", "{", "assert", "(", "NeedFP", ")", ";", "const", "unsigned", "Alignment", "=", "MFI", ".", "getMaxAlignment", "(", ")", ";", "RoundedSize", "+=", "Alignment", ";", "unsigned", "ScratchSPReg", "=", "findScratchNonCalleeSaveRegister", "(", "MBB", ")", ";", "assert", "(", "ScratchSPReg", "!=", "AMDGPU", "::", "NoRegister", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "AMDGPU", "::", "S_ADD_U32", ")", ",", "ScratchSPReg", ")", ".", "addReg", "(", "StackPtrReg", ")", ".", "addImm", "(", "(", "Alignment", "-", "1", ")", "*", "ST", ".", "getWavefrontSize", "(", ")", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "AMDGPU", "::", "S_AND_B32", ")", ",", "FramePtrReg", ")", ".", "addReg", "(", "ScratchSPReg", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "-", "Alignment", "*", "ST", ".", "getWavefrontSize", "(", ")", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "FuncInfo", "->", "setIsStackRealigned", "(", "true", ")", ";", "}", "else", "if", "(", "NeedFP", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "AMDGPU", "::", "COPY", ")", ",", "FramePtrReg", ")", ".", "addReg", "(", "StackPtrReg", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "if", "(", "RoundedSize", "!=", "0", "&&", "hasSP", "(", "MF", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "AMDGPU", "::", "S_ADD_U32", ")", ",", "StackPtrReg", ")", ".", "addReg", "(", "StackPtrReg", ")", ".", "addImm", "(", "RoundedSize", "*", "ST", ".", "getWavefrontSize", "(", ")", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "for", "(", "const", "SIMachineFunctionInfo", "::", "SGPRSpillVGPRCSR", "&", "Reg", ":", "FuncInfo", "->", "getSGPRSpillVGPRs", "(", ")", ")", "{", "if", "(", "!", "Reg", ".", "FI", ".", "hasValue", "(", ")", ")", "continue", ";", "TII", "->", "storeRegToStackSlot", "(", "MBB", ",", "MBBI", ",", "Reg", ".", "VGPR", ",", "true", ",", "Reg", ".", "FI", ".", "getValue", "(", ")", ",", "&", "AMDGPU", "::", "VGPR_32RegClass", ",", "&", "TII", "->", "getRegisterInfo", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "SI", "SI", "AMDGPU::NoRegister", "AMDGPU::S_ADD_U32", "1", "AMDGPU::S_AND_B32", "AMDGPU::COPY", "0", "AMDGPU::S_ADD_U32", "SI", "AMDGPU::VGPR_32RegClass"], "File": "SIFrameLowering16", "Func": "emitPrologue", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1841, "Length": 464, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "first_reg_to_save", "(", ")", "{", "int", "first_reg", ";", "for", "(", "first_reg", "=", "13", ";", "first_reg", "<=", "31", ";", "first_reg", "++", ")", "if", "(", "regs_ever_live", "[", "first_reg", "]", "&&", "(", "!", "call_used_regs", "[", "first_reg", "]", "||", "(", "first_reg", "==", "RS6000_PIC_OFFSET_TABLE_REGNUM", "&&", "(", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "flag_pic", "==", "1", ")", "||", "(", "DEFAULT_ABI", "==", "ABI_DARWIN", "&&", "flag_pic", ")", ")", ")", ")", ")", "break", ";", "if", "(", "current_function_profile", ")", "{", "if", "(", "DEFAULT_ABI", "==", "ABI_AIX", "||", "DEFAULT_ABI", "==", "ABI_DARWIN", ")", "{", "int", "last_parm_reg", ",", "profile_first_reg", ";", "for", "(", "last_parm_reg", "=", "10", ";", "last_parm_reg", ">", "2", "&&", "!", "regs_ever_live", "[", "last_parm_reg", "]", ";", "last_parm_reg", "--", ")", ";", "profile_first_reg", "=", "(", "33", "-", "last_parm_reg", "-", "(", "current_function_needs_context", "?", "1", ":", "0", ")", ")", ";", "--", "profile_first_reg", ";", "if", "(", "profile_first_reg", "==", "31", ")", "profile_first_reg", "=", "32", ";", "if", "(", "first_reg", ">", "profile_first_reg", ")", "first_reg", "=", "profile_first_reg", ";", "}", "else", "if", "(", "current_function_needs_context", ")", "{", "if", "(", "first_reg", ">", "30", ")", "first_reg", "=", "30", ";", "}", "}", "if", "(", "flag_pic", "&&", "current_function_uses_pic_offset_table", "&&", "(", "first_reg", ">", "RS6000_PIC_OFFSET_TABLE_REGNUM", ")", ")", "return", "RS6000_PIC_OFFSET_TABLE_REGNUM", ";", "return", "first_reg", ";", "}", ""], "natrual_language": ["Return", "the", "first", "register", "that", "is", "required", "to", "be", "saved", ".", "16", "if", "none", "."], "TS_V_token": ["rs6000", "13", "31", "1", "10", "2", "33", "1", "0", "31", "32", "30", "30"], "File": "rs60002", "Func": "first_reg_to_save", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1842, "Length": 182, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_classify_address", "(", "struct", "riscv_address_info", "*", "info", ",", "rtx", "x", ",", "enum", "machine_mode", "mode", ",", "bool", "strict_p", ")", "{", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "REG", ":", "case", "SUBREG", ":", "info", "->", "type", "=", "ADDRESS_REG", ";", "info", "->", "reg", "=", "x", ";", "info", "->", "offset", "=", "const0_rtx", ";", "return", "riscv_valid_base_register_p", "(", "info", "->", "reg", ",", "mode", ",", "strict_p", ")", ";", "case", "PLUS", ":", "info", "->", "type", "=", "ADDRESS_REG", ";", "info", "->", "reg", "=", "XEXP", "(", "x", ",", "0", ")", ";", "info", "->", "offset", "=", "XEXP", "(", "x", ",", "1", ")", ";", "return", "(", "riscv_valid_base_register_p", "(", "info", "->", "reg", ",", "mode", ",", "strict_p", ")", "&&", "riscv_valid_offset_p", "(", "info", "->", "offset", ",", "mode", ")", ")", ";", "case", "LO_SUM", ":", "info", "->", "type", "=", "ADDRESS_LO_SUM", ";", "info", "->", "reg", "=", "XEXP", "(", "x", ",", "0", ")", ";", "info", "->", "offset", "=", "XEXP", "(", "x", ",", "1", ")", ";", "info", "->", "symbol_type", "=", "riscv_classify_symbolic_expression", "(", "info", "->", "offset", ")", ";", "return", "(", "riscv_valid_base_register_p", "(", "info", "->", "reg", ",", "mode", ",", "strict_p", ")", "&&", "riscv_valid_lo_sum_p", "(", "info", "->", "symbol_type", ",", "mode", ")", ")", ";", "case", "CONST_INT", ":", "info", "->", "type", "=", "ADDRESS_CONST_INT", ";", "return", "SMALL_OPERAND", "(", "INTVAL", "(", "x", ")", ")", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "valid", "address", "for", "machine", "mode", "MODE", ".", "If", "it", "is", ",", "fill", "in", "INFO", "appropriately", ".", "STRICT_P", "is", "true", "if", "REG_OK_STRICT", "is", "in", "effect", "."], "TS_V_token": ["riscv", "0", "1", "0", "1"], "File": "riscv2", "Func": "riscv_classify_address", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1843, "Length": 208, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PIC16TargetObjectFile", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "tm", ")", "{", "TargetLoweringObjectFile", "::", "Initialize", "(", "Ctx", ",", "tm", ")", ";", "TM", "=", "&", "tm", ";", "ROMDATASection_", "=", "NULL", ";", "SHAREDUDATASection_", "=", "NULL", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["PIC16", "PIC16"], "File": "PIC16TargetObjectFile", "Func": "Initialize", "Target": "PIC16", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1844, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ThumbRegisterInfo", "::", "resolveFrameIndex", "(", "MachineInstr", "&", "MI", ",", "unsigned", "BaseReg", ",", "int64_t", "Offset", ")", "const", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "ARMSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "if", "(", "!", "STI", ".", "isThumb1Only", "(", ")", ")", "return", "ARMBaseRegisterInfo", "::", "resolveFrameIndex", "(", "MI", ",", "BaseReg", ",", "Offset", ")", ";", "const", "ARMBaseInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "int", "Off", "=", "Offset", ";", "unsigned", "i", "=", "0", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "\"Instr doesn't have FrameIndex operand!\"", ")", ";", "}", "bool", "Done", "=", "rewriteFrameIndex", "(", "MI", ",", "i", ",", "BaseReg", ",", "Off", ",", "TII", ")", ";", "assert", "(", "Done", "&&", "\"Unable to resolve frame index!\"", ")", ";", "(", "void", ")", "Done", ";", "}", ""], "natrual_language": ["Resolve", "a", "frame", "index", "operand", "of", "an", "instruction", "to", "reference", "the", "indicated", "base", "register", "plus", "offset", "instead", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM", "0", "\"Instr doesn't have FrameIndex operand!\"", "\"Unable to resolve frame index!\""], "File": "ThumbRegisterInfo (2)1", "Func": "resolveFrameIndex", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1845, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "HexagonMCInst", "::", "getMaxValue", "(", "void", ")", "const", "{", "const", "uint64_t", "F", "=", "getDesc", "(", ")", ".", "TSFlags", ";", "unsigned", "isSigned", "=", "(", "F", ">>", "HexagonII", "::", "ExtentSignedPos", ")", "&", "HexagonII", "::", "ExtentSignedMask", ";", "unsigned", "bits", "=", "(", "F", ">>", "HexagonII", "::", "ExtentBitsPos", ")", "&", "HexagonII", "::", "ExtentBitsMask", ";", "if", "(", "isSigned", ")", "return", "~", "(", "-", "1U", "<<", "(", "bits", "-", "1", ")", ")", ";", "else", "return", "~", "(", "-", "1U", "<<", "bits", ")", ";", "}", ""], "natrual_language": ["Return", "the", "maximal", "unsigned", "value", "possible", "given", "these", "KnownBits", "."], "TS_V_token": ["Hexagon", "Hexagon", "HexagonII::ExtentSignedPos", "HexagonII::ExtentSignedMask", "HexagonII::ExtentBitsPos", "HexagonII::ExtentBitsMask", "1U", "1", "1U"], "File": "HexagonMCInst", "Func": "getMaxValue", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1846, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SPIRVAsmPrinter", "::", "emitFunctionBodyEnd", "(", ")", "{", "outputOpFunctionEnd", "(", ")", ";", "MAI", "->", "BBNumToRegMap", ".", "clear", "(", ")", ";", "}", ""], "natrual_language": ["Targets", "can", "override", "this", "to", "emit", "stuff", "after", "the", "last", "basic", "block", "in", "the", "function", "."], "TS_V_token": ["SPIRV", "SPIRV"], "File": "SPIRVAsmPrinter", "Func": "emitFunctionBodyEnd", "Target": "SPIRV", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1847, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIInstrInfo", "::", "legalizeOpWithMove", "(", "MachineInstr", "&", "MI", ",", "unsigned", "OpIdx", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "I", "=", "MI", ";", "MachineBasicBlock", "*", "MBB", "=", "MI", ".", "getParent", "(", ")", ";", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpIdx", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MBB", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "unsigned", "RCID", "=", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ".", "OpInfo", "[", "OpIdx", "]", ".", "RegClass", ";", "const", "TargetRegisterClass", "*", "RC", "=", "RI", ".", "getRegClass", "(", "RCID", ")", ";", "unsigned", "Size", "=", "RI", ".", "getRegSizeInBits", "(", "*", "RC", ")", ";", "unsigned", "Opcode", "=", "(", "Size", "==", "64", ")", "?", "AMDGPU", "::", "V_MOV_B64_PSEUDO", ":", "AMDGPU", "::", "V_MOV_B32_e32", ";", "if", "(", "MO", ".", "isReg", "(", ")", ")", "Opcode", "=", "AMDGPU", "::", "COPY", ";", "else", "if", "(", "RI", ".", "isSGPRClass", "(", "RC", ")", ")", "Opcode", "=", "(", "Size", "==", "64", ")", "?", "AMDGPU", "::", "S_MOV_B64", ":", "AMDGPU", "::", "S_MOV_B32", ";", "const", "TargetRegisterClass", "*", "VRC", "=", "RI", ".", "getEquivalentVGPRClass", "(", "RC", ")", ";", "if", "(", "RI", ".", "getCommonSubClass", "(", "&", "AMDGPU", "::", "VReg_64RegClass", ",", "VRC", ")", ")", "VRC", "=", "&", "AMDGPU", "::", "VReg_64RegClass", ";", "else", "VRC", "=", "&", "AMDGPU", "::", "VGPR_32RegClass", ";", "Register", "Reg", "=", "MRI", ".", "createVirtualRegister", "(", "VRC", ")", ";", "DebugLoc", "DL", "=", "MBB", "->", "findDebugLoc", "(", "I", ")", ";", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "I", ",", "DL", ",", "get", "(", "Opcode", ")", ",", "Reg", ")", ".", "add", "(", "MO", ")", ";", "MO", ".", "ChangeToRegister", "(", "Reg", ",", "false", ")", ";", "}", ""], "natrual_language": ["Legalize", "the", "OpIndex", "operand", "of", "this", "instruction", "by", "inserting", "a", "MOV", "."], "TS_V_token": ["AMDGPU", "SI", "64", "AMDGPU::V_MOV_B64_PSEUDO", "AMDGPU::V_MOV_B32_e32", "AMDGPU::COPY", "64", "AMDGPU::S_MOV_B64", "AMDGPU::S_MOV_B32", "AMDGPU::VReg_64RegClass", "AMDGPU::VReg_64RegClass", "AMDGPU::VGPR_32RegClass"], "File": "SIInstrInfo111", "Func": "legalizeOpWithMove", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1848, "Length": 252, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonPacketizerList", "::", "updateOffset", "(", "SUnit", "*", "SUI", ",", "SUnit", "*", "SUJ", ")", "{", "assert", "(", "SUI", "->", "getInstr", "(", ")", "&&", "SUJ", "->", "getInstr", "(", ")", ")", ";", "MachineInstr", "&", "MI", "=", "*", "SUI", "->", "getInstr", "(", ")", ";", "MachineInstr", "&", "MJ", "=", "*", "SUJ", "->", "getInstr", "(", ")", ";", "unsigned", "BPI", ",", "OPI", ";", "if", "(", "!", "HII", "->", "getBaseAndOffsetPosition", "(", "MI", ",", "BPI", ",", "OPI", ")", ")", "return", "false", ";", "unsigned", "BPJ", ",", "OPJ", ";", "if", "(", "!", "HII", "->", "getBaseAndOffsetPosition", "(", "MJ", ",", "BPJ", ",", "OPJ", ")", ")", "return", "false", ";", "unsigned", "Reg", "=", "MI", ".", "getOperand", "(", "BPI", ")", ".", "getReg", "(", ")", ";", "if", "(", "Reg", "!=", "MJ", ".", "getOperand", "(", "BPJ", ")", ".", "getReg", "(", ")", ")", "return", "false", ";", "for", "(", "const", "auto", "&", "PI", ":", "SUI", "->", "Preds", ")", "if", "(", "PI", ".", "getKind", "(", ")", "!=", "SDep", "::", "Anti", "&&", "(", "PI", ".", "getKind", "(", ")", "!=", "SDep", "::", "Data", "||", "PI", ".", "getReg", "(", ")", "!=", "Reg", ")", ")", "return", "false", ";", "int", "Incr", ";", "if", "(", "!", "HII", "->", "getIncrementValue", "(", "MJ", ",", "Incr", ")", ")", "return", "false", ";", "int64_t", "Offset", "=", "MI", ".", "getOperand", "(", "OPI", ")", ".", "getImm", "(", ")", ";", "MI", ".", "getOperand", "(", "OPI", ")", ".", "setImm", "(", "Offset", "+", "Incr", ")", ";", "ChangedOffset", "=", "Offset", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "we", "can", "update", "the", "offset", "in", "MI", "so", "that", "MI", "and", "MJ", "can", "be", "packetized", "together", "."], "TS_V_token": ["Hexagon", "Hexagon"], "File": "HexagonVLIWPacketizer33", "Func": "updateOffset", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1849, "Length": 227, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SITargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", "AddrSpace", ",", "unsigned", "Align", ",", "MachineMemOperand", "::", "Flags", "Flags", ",", "bool", "*", "IsFast", ")", "const", "{", "if", "(", "IsFast", ")", "*", "IsFast", "=", "false", ";", "if", "(", "VT", "==", "MVT", "::", "Other", "||", "(", "VT", "!=", "MVT", "::", "Other", "&&", "VT", ".", "getSizeInBits", "(", ")", ">", "1024", "&&", "VT", ".", "getStoreSize", "(", ")", ">", "16", ")", ")", "{", "return", "false", ";", "}", "return", "allowsMisalignedMemoryAccessesImpl", "(", "VT", ".", "getSizeInBits", "(", ")", ",", "AddrSpace", ",", "Align", ",", "Flags", ",", "IsFast", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "allows", "unaligned", "memory", "accesses", "of", "the", "specified", "type", "."], "TS_V_token": ["AMDGPU", "SI", "MVT::Other", "MVT::Other", "1024", "16"], "File": "SIISelLowering106", "Func": "allowsMisalignedMemoryAccesses", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1850, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sh_legitimate_address_p", "(", "machine_mode", "mode", ",", "rtx", "x", ",", "bool", "strict", ")", "{", "if", "(", "REG_P", "(", "x", ")", "&&", "REGNO", "(", "x", ")", "==", "GBR_REG", ")", "return", "true", ";", "if", "(", "MAYBE_BASE_REGISTER_RTX_P", "(", "x", ",", "strict", ")", ")", "return", "true", ";", "else", "if", "(", "(", "GET_CODE", "(", "x", ")", "==", "POST_INC", "||", "GET_CODE", "(", "x", ")", "==", "PRE_DEC", ")", "&&", "MAYBE_BASE_REGISTER_RTX_P", "(", "XEXP", "(", "x", ",", "0", ")", ",", "strict", ")", ")", "return", "true", ";", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "{", "rtx", "xop0", "=", "XEXP", "(", "x", ",", "0", ")", ";", "rtx", "xop1", "=", "XEXP", "(", "x", ",", "1", ")", ";", "if", "(", "REG_P", "(", "xop0", ")", "&&", "REGNO", "(", "xop0", ")", "==", "GBR_REG", ")", "return", "gbr_displacement", "(", "xop1", ",", "mode", ")", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "<=", "8", "&&", "MAYBE_BASE_REGISTER_RTX_P", "(", "xop0", ",", "strict", ")", "&&", "sh_legitimate_index_p", "(", "mode", ",", "xop1", ",", "TARGET_SH2A", ",", "false", ")", ")", "return", "true", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "<=", "4", "||", "(", "TARGET_FPU_DOUBLE", "&&", "TARGET_FMOVD", "&&", "mode", "==", "DFmode", ")", ")", "{", "if", "(", "MAYBE_BASE_REGISTER_RTX_P", "(", "xop1", ",", "strict", ")", "&&", "MAYBE_INDEX_REGISTER_RTX_P", "(", "xop0", ",", "strict", ")", ")", "return", "true", ";", "if", "(", "MAYBE_INDEX_REGISTER_RTX_P", "(", "xop1", ",", "strict", ")", "&&", "MAYBE_BASE_REGISTER_RTX_P", "(", "xop0", ",", "strict", ")", ")", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Recognize", "an", "RTL", "expression", "that", "is", "a", "valid", "memory", "address", "for", "an", "instruction", ".", "The", "MODE", "argument", "is", "the", "machine", "mode", "for", "the", "MEM", "expression", "that", "wants", "to", "use", "this", "address", ".", "Allow", "REG", "REG+disp", "REG+r0", "REG++", "--", "REG", "GBR", "GBR+disp"], "TS_V_token": ["sh", "0", "0", "1", "8", "4"], "File": "sh", "Func": "sh_legitimate_address_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1851, "Length": 224, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TriCoreAsmBackend", "::", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ",", "bool", "isPCRel", ")", "const", "{", "unsigned", "NumBytes", "=", "4", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "{", "return", ";", "}", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "assert", "(", "Offset", "+", "NumBytes", "<=", "DataSize", "&&", "\"Invalid fixup offset!\"", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "Data", "[", "Offset", "+", "i", "]", "|=", "uint8_t", "(", "(", "Value", ">>", "(", "i", "*", "8", ")", ")", "&", "0xff", ")", ";", "}", "}", ""], "natrual_language": ["Apply", "the", "Value", "for", "given", "Fixup", "into", "the", "provided", "data", "fragment", ",", "at", "the", "offset", "specified", "by", "the", "fixup", "and", "following", "the", "fixup", "kind", "as", "appropriate", "."], "TS_V_token": ["TriCore", "TriCore", "4", "\"Invalid fixup offset!\"", "0", "8", "0xff"], "File": "TriCoreAsmBackend (2)", "Func": "applyFixup", "Target": "TriCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1852, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addIRPasses", "(", ")", "{", "addPass", "(", "createAtomicExpandPass", "(", "TM", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableAtomicTidy", ")", "addPass", "(", "createCFGSimplificationPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableLoopDataPrefetch", ")", "addPass", "(", "createLoopDataPrefetchPass", "(", ")", ")", ";", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createInterleavedAccessPass", "(", "TM", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "Aggressive", "&&", "EnableGEPOpt", ")", "{", "addPass", "(", "createSeparateConstOffsetFromGEPPass", "(", "TM", ",", "true", ")", ")", ";", "addPass", "(", "createEarlyCSEPass", "(", ")", ")", ";", "addPass", "(", "createLICMPass", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64TargetMachine12", "Func": "addIRPasses", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1853, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VZeroUpperInserter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "X86Subtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "!", "ST", ".", "hasAVX", "(", ")", "||", "ST", ".", "hasFastPartialYMMorZMMWrite", "(", ")", ")", "return", "false", ";", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "EverMadeChange", "=", "false", ";", "IsX86INTR", "=", "MF", ".", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "X86_INTR", ";", "bool", "FnHasLiveInYmmOrZmm", "=", "checkFnHasLiveInYmmOrZmm", "(", "MRI", ")", ";", "bool", "YmmOrZmmUsed", "=", "FnHasLiveInYmmOrZmm", ";", "for", "(", "auto", "*", "RC", ":", "{", "&", "X86", "::", "VR256RegClass", ",", "&", "X86", "::", "VR512_0_15RegClass", "}", ")", "{", "if", "(", "!", "YmmOrZmmUsed", ")", "{", "for", "(", "TargetRegisterClass", "::", "iterator", "i", "=", "RC", "->", "begin", "(", ")", ",", "e", "=", "RC", "->", "end", "(", ")", ";", "i", "!=", "e", ";", "i", "++", ")", "{", "if", "(", "!", "MRI", ".", "reg_nodbg_empty", "(", "*", "i", ")", ")", "{", "YmmOrZmmUsed", "=", "true", ";", "break", ";", "}", "}", "}", "}", "if", "(", "!", "YmmOrZmmUsed", ")", "return", "false", ";", "assert", "(", "BlockStates", ".", "empty", "(", ")", "&&", "DirtySuccessors", ".", "empty", "(", ")", "&&", "\"X86VZeroUpper state should be clear\"", ")", ";", "BlockStates", ".", "resize", "(", "MF", ".", "getNumBlockIDs", "(", ")", ")", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "processBasicBlock", "(", "MBB", ")", ";", "if", "(", "FnHasLiveInYmmOrZmm", ")", "addDirtySuccessor", "(", "MF", ".", "front", "(", ")", ")", ";", "while", "(", "!", "DirtySuccessors", ".", "empty", "(", ")", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "DirtySuccessors", ".", "back", "(", ")", ";", "DirtySuccessors", ".", "pop_back", "(", ")", ";", "BlockState", "&", "BBState", "=", "BlockStates", "[", "MBB", ".", "getNumber", "(", ")", "]", ";", "if", "(", "BBState", ".", "FirstUnguardedCall", "!=", "MBB", ".", "end", "(", ")", ")", "insertVZeroUpper", "(", "BBState", ".", "FirstUnguardedCall", ",", "MBB", ")", ";", "if", "(", "BBState", ".", "ExitState", "==", "PASS_THROUGH", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"MBB #\"", "<<", "MBB", ".", "getNumber", "(", ")", "<<", "\" was Pass-through, is now Dirty-out.\\n\"", ")", ";", "for", "(", "MachineBasicBlock", "*", "Succ", ":", "MBB", ".", "successors", "(", ")", ")", "addDirtySuccessor", "(", "*", "Succ", ")", ";", "}", "}", "BlockStates", ".", "clear", "(", ")", ";", "return", "EverMadeChange", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86::VR256RegClass", "X86::VR512_0_15RegClass", "\"X86VZeroUpper state should be clear\"", "\"MBB #\"", "\" was Pass-through, is now Dirty-out.\\n\""], "File": "X86VZeroUpper24", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1854, "Length": 348, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "do_and3", "(", "rtx", "dest", ",", "rtx", "src1", ",", "rtx", "src2", ")", "{", "if", "(", "GET_MODE", "(", "dest", ")", "==", "DImode", ")", "emit_insn", "(", "gen_anddi3", "(", "dest", ",", "src1", ",", "src2", ")", ")", ";", "else", "emit_insn", "(", "gen_andsi3", "(", "dest", ",", "src1", ",", "src2", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "and", "of", "the", "proper", "mode", "for", "DEST", ".", "DEST", "is", "the", "destination", "register", "for", "the", "and", ".", "SRC1", "is", "the", "first", "and", "input", ".", "SRC2", "is", "the", "second", "and", "input", ".", "Computes", "DEST", "=", "SRC1", "&", "SRC2", "."], "TS_V_token": ["rs6000"], "File": "rs6000-string", "Func": "do_and3", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1855, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "MSP430TargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "unsigned", "Opc", "=", "MI", "->", "getOpcode", "(", ")", ";", "if", "(", "Opc", "==", "MSP430", "::", "Shl8", "||", "Opc", "==", "MSP430", "::", "Shl16", "||", "Opc", "==", "MSP430", "::", "Sra8", "||", "Opc", "==", "MSP430", "::", "Sra16", "||", "Opc", "==", "MSP430", "::", "Srl8", "||", "Opc", "==", "MSP430", "::", "Srl16", ")", "return", "EmitShiftInstr", "(", "MI", ",", "BB", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "getTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "getInstrInfo", "(", ")", ";", "DebugLoc", "dl", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "assert", "(", "(", "Opc", "==", "MSP430", "::", "Select16", "||", "Opc", "==", "MSP430", "::", "Select8", ")", "&&", "\"Unexpected instr type to insert\"", ")", ";", "const", "BasicBlock", "*", "LLVM_BB", "=", "BB", "->", "getBasicBlock", "(", ")", ";", "MachineFunction", "::", "iterator", "I", "=", "BB", ";", "++", "I", ";", "MachineBasicBlock", "*", "thisMBB", "=", "BB", ";", "MachineFunction", "*", "F", "=", "BB", "->", "getParent", "(", ")", ";", "MachineBasicBlock", "*", "copy0MBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineBasicBlock", "*", "copy1MBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "F", "->", "insert", "(", "I", ",", "copy0MBB", ")", ";", "F", "->", "insert", "(", "I", ",", "copy1MBB", ")", ";", "copy1MBB", "->", "splice", "(", "copy1MBB", "->", "begin", "(", ")", ",", "BB", ",", "std", "::", "next", "(", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", ",", "BB", "->", "end", "(", ")", ")", ";", "copy1MBB", "->", "transferSuccessorsAndUpdatePHIs", "(", "BB", ")", ";", "BB", "->", "addSuccessor", "(", "copy0MBB", ")", ";", "BB", "->", "addSuccessor", "(", "copy1MBB", ")", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", ".", "get", "(", "MSP430", "::", "JCC", ")", ")", ".", "addMBB", "(", "copy1MBB", ")", ".", "addImm", "(", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ")", ";", "BB", "=", "copy0MBB", ";", "BB", "->", "addSuccessor", "(", "copy1MBB", ")", ";", "BB", "=", "copy1MBB", ";", "BuildMI", "(", "*", "BB", ",", "BB", "->", "begin", "(", ")", ",", "dl", ",", "TII", ".", "get", "(", "MSP430", "::", "PHI", ")", ",", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "copy0MBB", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "thisMBB", ")", ";", "MI", "->", "eraseFromParent", "(", ")", ";", "return", "BB", ";", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "."], "TS_V_token": ["MSP430", "MSP430", "MSP430::Shl8", "MSP430::Shl16", "MSP430::Sra8", "MSP430::Sra16", "MSP430::Srl8", "MSP430::Srl16", "MSP430::Select16", "MSP430::Select8", "\"Unexpected instr type to insert\"", "MSP430::JCC", "3", "MSP430::PHI", "0", "2", "1"], "File": "MSP430ISelLowering26", "Func": "EmitInstrWithCustomInserter", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1856, "Length": 378, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonShuffler", "::", "append", "(", "MCInst", "const", "*", "ID", ",", "MCInst", "const", "*", "Extender", ",", "unsigned", "S", ",", "bool", "X", ")", "{", "HexagonInstr", "PI", "(", "ID", ",", "Extender", ",", "S", ",", "X", ")", ";", "Packet", ".", "push_back", "(", "PI", ")", ";", "}", ""], "natrual_language": ["Append", "from", "a", "list", "of", "StringRefs", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon"], "File": "HexagonShuffler16", "Func": "append", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1857, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arc_initialize_trampoline", "(", "rtx", "tramp", ",", "tree", "fndecl", ",", "rtx", "cxt", ")", "{", "rtx", "fnaddr", "=", "XEXP", "(", "DECL_RTL", "(", "fndecl", ")", ",", "0", ")", ";", "emit_store_direct", "(", "tramp", ",", "0", ",", "TARGET_BIG_ENDIAN", "?", "0x78e0d403", ":", "0xd40378e0", ")", ";", "emit_store_direct", "(", "tramp", ",", "4", ",", "TARGET_BIG_ENDIAN", "?", "0x170c700b", ":", "0x700b170c", ")", ";", "emit_store_direct", "(", "tramp", ",", "8", ",", "TARGET_BIG_ENDIAN", "?", "0x7c0078e0", ":", "0x78e07c00", ")", ";", "emit_move_insn", "(", "adjust_address", "(", "tramp", ",", "SImode", ",", "12", ")", ",", "fnaddr", ")", ";", "emit_move_insn", "(", "adjust_address", "(", "tramp", ",", "SImode", ",", "16", ")", ",", "cxt", ")", ";", "emit_insn", "(", "gen_flush_icache", "(", "adjust_address", "(", "tramp", ",", "SImode", ",", "0", ")", ")", ")", ";", "}", ""], "natrual_language": ["With", "potentially", "multiple", "shared", "objects", "loaded", ",", "and", "multiple", "stacks", "present", "for", "multiple", "thereds", "where", "trampolines", "might", "reside", ",", "a", "simple", "range", "check", "will", "likely", "not", "suffice", "for", "the", "profiler", "to", "tell", "if", "a", "callee", "is", "a", "trampoline", ".", "We", "a", "speedier", "check", "by", "making", "the", "trampoline", "start", "at", "an", "address", "that", "is", "not", "4-byte", "aligned", ".", "A", "trampoline", "looks", "like", "this", ":", "nop_s", "0x78e0entry", ":", "ld_s", "r12", ",", "[", "pcl,12", "]", "0xd403", "ld", "r11", ",", "[", "pcl,12", "]", "0x170c", "700b", "j_s", "[", "r12", "]", "0x7c00", "nop_s", "0x78e0", "The", "fastest", "trampoline", "to", "execute", "for", "trampolines", "within", "+-8KB", "of", "CTX", "would", "be", ":", "add2", "r11", ",", "pcl", ",", "s12", "j", "[", "limm", "]", "0x20200f80", "limm", "and", "that", "would", "also", "be", "faster", "to", "write", "to", "the", "stack", "by", "computing", "the", "offset", "from", "CTX", "to", "TRAMP", "at", "compile", "time", ".", "However", ",", "it", "would", "really", "be", "better", "to", "get", "rid", "of", "the", "high", "cost", "of", "cache", "invalidation", "when", "generating", "trampolines", ",", "which", "requires", "that", "the", "code", "part", "of", "trampolines", "stays", "constant", ",", "and", "additionally", "either", "-", "making", "sure", "that", "no", "executable", "code", "but", "trampolines", "is", "on", "the", "stack", ",", "no", "icache", "entries", "linger", "for", "the", "area", "of", "the", "stack", "from", "when", "before", "the", "stack", "was", "allocated", ",", "and", "allocating", "trampolines", "in", "trampoline-only", "cache", "lines", "or", "-", "allocate", "trampolines", "fram", "a", "special", "pool", "of", "pre-allocated", "trampolines", "."], "TS_V_token": ["arc", "0", "0", "0x78e0d403", "0xd40378e0", "4", "0x170c700b", "0x700b170c", "8", "0x7c0078e0", "0x78e07c00", "12", "16", "0"], "File": "arc4", "Func": "arc_initialize_trampoline", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1858, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVFrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "SavedRegs", ".", "set", "(", "RISCV", "::", "X1", ")", ";", "SavedRegs", ".", "set", "(", "RISCV", "::", "X8", ")", ";", "}", "if", "(", "hasBP", "(", "MF", ")", ")", "SavedRegs", ".", "set", "(", "RISCVABI", "::", "getBPReg", "(", ")", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "\"interrupt\"", ")", "&&", "MFI", ".", "hasCalls", "(", ")", ")", "{", "static", "const", "MCPhysReg", "CSRegs", "[", "]", "=", "{", "RISCV", "::", "X1", ",", "RISCV", "::", "X5", ",", "RISCV", "::", "X6", ",", "RISCV", "::", "X7", ",", "RISCV", "::", "X10", ",", "RISCV", "::", "X11", ",", "RISCV", "::", "X12", ",", "RISCV", "::", "X13", ",", "RISCV", "::", "X14", ",", "RISCV", "::", "X15", ",", "RISCV", "::", "X16", ",", "RISCV", "::", "X17", ",", "RISCV", "::", "X28", ",", "RISCV", "::", "X29", ",", "RISCV", "::", "X30", ",", "RISCV", "::", "X31", ",", "0", "}", ";", "for", "(", "unsigned", "i", "=", "0", ";", "CSRegs", "[", "i", "]", ";", "++", "i", ")", "SavedRegs", ".", "set", "(", "CSRegs", "[", "i", "]", ")", ";", "if", "(", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ".", "hasStdExtF", "(", ")", ")", "{", "const", "MCPhysReg", "*", "Regs", "=", "MF", ".", "getRegInfo", "(", ")", ".", "getCalleeSavedRegs", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "Regs", "[", "i", "]", ";", "++", "i", ")", "if", "(", "RISCV", "::", "FPR16RegClass", ".", "contains", "(", "Regs", "[", "i", "]", ")", "||", "RISCV", "::", "FPR32RegClass", ".", "contains", "(", "Regs", "[", "i", "]", ")", "||", "RISCV", "::", "FPR64RegClass", ".", "contains", "(", "Regs", "[", "i", "]", ")", ")", "SavedRegs", ".", "set", "(", "Regs", "[", "i", "]", ")", ";", "}", "}", "}", ""], "natrual_language": ["This", "method", "determines", "which", "of", "the", "registers", "reported", "by", "TargetRegisterInfo", ":", ":getCalleeSavedRegs", "(", ")", "should", "actually", "get", "saved", "."], "TS_V_token": ["RI5CY", "RISCV", "RISCV::X1", "RISCV::X8", "RISCVABI::getBPReg", "\"interrupt\"", "RISCV::X1", "RISCV::X5", "RISCV::X6", "RISCV::X7", "RISCV::X10", "RISCV::X11", "RISCV::X12", "RISCV::X13", "RISCV::X14", "RISCV::X15", "RISCV::X16", "RISCV::X17", "RISCV::X28", "RISCV::X29", "RISCV::X30", "RISCV::X31", "0", "0", "RISCV", "0", "RISCV::FPR16RegClass", "RISCV::FPR32RegClass", "RISCV::FPR64RegClass"], "File": "RISCVFrameLowering", "Func": "determineCalleeSaves", "Target": "RI5CY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1859, "Length": 302, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVPassConfig", "::", "addGlobalInstructionSelect", "(", ")", "{", "addPass", "(", "new", "InstructionSelect", "(", "getOptLevel", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["This", "method", "should", "install", "a", "(", "global", ")", "instruction", "selector", "pass", ",", "which", "converts", "possibly", "generic", "instructions", "to", "fully", "target-specific", "instructions", ",", "thereby", "constraining", "all", "generic", "virtual", "registers", "to", "register", "classes", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVTargetMachine1", "Func": "addGlobalInstructionSelect", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1860, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "FastISel", "*", "X86TargetLowering", "::", "createFastISel", "(", "FunctionLoweringInfo", "&", "funcInfo", ",", "const", "TargetLibraryInfo", "*", "libInfo", ")", "const", "{", "return", "X86", "::", "createFastISel", "(", "funcInfo", ",", "libInfo", ")", ";", "}", ""], "natrual_language": ["This", "method", "returns", "a", "target", "specific", "FastISel", "object", ",", "or", "null", "if", "the", "target", "does", "not", "support", "``", "fast", "''", "ISel", "."], "TS_V_token": ["X86", "X86", "X86::createFastISel"], "File": "X86ISelLowering (2)", "Func": "createFastISel", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1861, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TPCAsmInstCompress", "::", "flushPendingInstructions", "(", "MCStreamer", "&", "Out", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "if", "(", "!", "compressEnabled", ")", "{", "return", ";", "}", "if", "(", "!", "Buffer", ".", "empty", "(", ")", ")", "{", "flushBuffer", "(", "Out", ",", "STI", ",", "true", ")", ";", "}", "if", "(", "pInst", "!=", "nullptr", ")", "{", "Out", ".", "EmitInstruction", "(", "prevInst", ",", "STI", ")", ";", "pInst", "=", "nullptr", ";", "}", "}", ""], "natrual_language": ["Ensure", "that", "all", "previously", "parsed", "instructions", "have", "been", "emitted", "to", "the", "output", "streamer", ",", "if", "the", "target", "does", "not", "emit", "them", "immediately", "."], "TS_V_token": ["TPC", "TPC"], "File": "TPCAsmInstCompress", "Func": "flushPendingInstructions", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1862, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_conditional_register_usage", "(", "void", ")", "{", "if", "(", "TARGET_RVE", ")", "{", "for", "(", "int", "r", "=", "16", ";", "r", "<=", "31", ";", "r", "++", ")", "fixed_regs", "[", "r", "]", "=", "1", ";", "}", "if", "(", "riscv_abi", "==", "ABI_ILP32E", ")", "{", "for", "(", "int", "r", "=", "16", ";", "r", "<=", "31", ";", "r", "++", ")", "call_used_regs", "[", "r", "]", "=", "1", ";", "}", "if", "(", "!", "TARGET_HARD_FLOAT", ")", "{", "for", "(", "int", "regno", "=", "FP_REG_FIRST", ";", "regno", "<=", "FP_REG_LAST", ";", "regno", "++", ")", "fixed_regs", "[", "regno", "]", "=", "call_used_regs", "[", "regno", "]", "=", "1", ";", "}", "if", "(", "UNITS_PER_FP_ARG", "==", "0", ")", "{", "for", "(", "int", "regno", "=", "FP_REG_FIRST", ";", "regno", "<=", "FP_REG_LAST", ";", "regno", "++", ")", "call_used_regs", "[", "regno", "]", "=", "1", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_CONDITIONAL_REGISTER_USAGE", "."], "TS_V_token": ["riscv", "16", "31", "1", "16", "31", "1", "1", "0", "1"], "File": "riscv", "Func": "riscv_conditional_register_usage", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1863, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonTargetLowering", "::", "isFPImmLegal", "(", "const", "APFloat", "&", "Imm", ",", "EVT", "VT", ")", "const", "{", "return", "TM", ".", "getSubtarget", "<", "HexagonSubtarget", ">", "(", ")", ".", "hasV5TOps", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "can", "instruction", "select", "the", "specified", "FP", "immediate", "natively", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon"], "File": "HexagonISelLowering107", "Func": "isFPImmLegal", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1864, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"PowerPC DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["PowerPC", "\"PowerPC DAG->DAG Pattern Instruction Selection\""], "File": "PPCISelDAGToDAG (2)", "Func": "getPassName", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1865, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nds32_group_tls_insn", "(", "rtx", "insn", ")", "{", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "rtx", "unspec_relax_group", "=", "XEXP", "(", "XVECEXP", "(", "pat", ",", "0", ",", "1", ")", ",", "0", ")", ";", "int", "group_id", "=", "nds32_alloc_relax_group_id", "(", ")", ";", "while", "(", "GET_CODE", "(", "pat", ")", "!=", "SET", "&&", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", ")", "{", "pat", "=", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ";", "}", "if", "(", "GET_CODE", "(", "unspec_relax_group", ")", "==", "UNSPEC", "&&", "XINT", "(", "unspec_relax_group", ",", "1", ")", "==", "UNSPEC_VOLATILE_RELAX_GROUP", ")", "{", "XVECEXP", "(", "unspec_relax_group", ",", "0", ",", "0", ")", "=", "GEN_INT", "(", "group_id", ")", ";", "}", "}", ""], "natrual_language": ["Convert", "relax", "group", "id", "in", "rtl", "."], "TS_V_token": ["nds32", "0", "1", "0", "0", "0", "1", "0", "0"], "File": "nds32-relax-opt", "Func": "nds32_group_tls_insn", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1866, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "mcore_handle_naked_attribute", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", "args", "ATTRIBUTE_UNUSED", ",", "int", "flags", "ATTRIBUTE_UNUSED", ",", "bool", "*", "no_add_attrs", ")", "{", "if", "(", "TREE_CODE", "(", "*", "node", ")", "==", "FUNCTION_DECL", ")", "{", "if", "(", "warn_return_type", ")", "{", "saved_warn_return_type", "=", "warn_return_type", ";", "warn_return_type", "=", "0", ";", "saved_warn_return_type_count", "=", "2", ";", "}", "else", "if", "(", "saved_warn_return_type_count", ")", "saved_warn_return_type_count", "=", "2", ";", "}", "else", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qs attribute only applies to functions\"", ",", "IDENTIFIER_POINTER", "(", "name", ")", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Handle", "a", "``", "naked", "''", "attribute", ";", "arguments", "as", "in", "struct", "attribute_spec.handler", "."], "TS_V_token": ["mcore", "0", "2", "2", "\"%qs attribute only applies to functions\""], "File": "mcore3", "Func": "mcore_handle_naked_attribute", "Target": "mcore", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1867, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "XCoreInstrInfo", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "{", "return", "true", ";", "}", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "XCoreFunctionInfo", "*", "XFI", "=", "MF", "->", "getInfo", "<", "XCoreFunctionInfo", ">", "(", ")", ";", "bool", "emitFrameMoves", "=", "XCoreRegisterInfo", "::", "needsFrameMoves", "(", "*", "MF", ")", ";", "DebugLoc", "DL", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "for", "(", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "::", "const_iterator", "it", "=", "CSI", ".", "begin", "(", ")", ";", "it", "!=", "CSI", ".", "end", "(", ")", ";", "++", "it", ")", "{", "MBB", ".", "addLiveIn", "(", "it", "->", "getReg", "(", ")", ")", ";", "storeRegToStackSlot", "(", "MBB", ",", "MI", ",", "it", "->", "getReg", "(", ")", ",", "true", ",", "it", "->", "getFrameIdx", "(", ")", ",", "it", "->", "getRegClass", "(", ")", ")", ";", "if", "(", "emitFrameMoves", ")", "{", "MCSymbol", "*", "SaveLabel", "=", "MF", "->", "getContext", "(", ")", ".", "CreateTempSymbol", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "XCore", "::", "DBG_LABEL", ")", ")", ".", "addSym", "(", "SaveLabel", ")", ";", "XFI", "->", "getSpillLabels", "(", ")", ".", "push_back", "(", "std", "::", "make_pair", "(", "SaveLabel", ",", "*", "it", ")", ")", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["spillCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "spill", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "store", "instructions", "via", "storeRegToStackSlot", "(", ")", "."], "TS_V_token": ["XCore", "XCore", "XCore", "XCore", "XCore", "XCore::DBG_LABEL"], "File": "XCoreInstrInfo5", "Func": "spillCalleeSavedRegisters", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1868, "Length": 227, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUAsmPrinter", "::", "isBlockOnlyReachableByFallthrough", "(", "const", "MachineBasicBlock", "*", "MBB", ")", "const", "{", "if", "(", "!", "AsmPrinter", "::", "isBlockOnlyReachableByFallthrough", "(", "MBB", ")", ")", "return", "false", ";", "if", "(", "MBB", "->", "empty", "(", ")", ")", "return", "true", ";", "return", "(", "MBB", "->", "back", "(", ")", ".", "getOpcode", "(", ")", "!=", "AMDGPU", "::", "S_SETPC_B64", ")", ";", "}", ""], "natrual_language": ["isBlockOnlyReachableByFallthough", "-", "Return", "true", "if", "the", "basic", "block", "has", "exactly", "one", "predecessor", "and", "the", "control", "transfer", "mechanism", "between", "the", "predecessor", "and", "this", "block", "is", "a", "fall-through", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU::S_SETPC_B64"], "File": "AMDGPUAsmPrinter", "Func": "isBlockOnlyReachableByFallthrough", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1869, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "condexec_memory_operand", "(", "rtx", "op", ",", "machine_mode", "mode", ")", "{", "machine_mode", "op_mode", "=", "GET_MODE", "(", "op", ")", ";", "rtx", "addr", ";", "if", "(", "mode", "!=", "VOIDmode", "&&", "op_mode", "!=", "mode", ")", "return", "FALSE", ";", "switch", "(", "op_mode", ")", "{", "default", ":", "return", "FALSE", ";", "case", "E_QImode", ":", "case", "E_HImode", ":", "case", "E_SImode", ":", "case", "E_SFmode", ":", "break", ";", "}", "if", "(", "GET_CODE", "(", "op", ")", "!=", "MEM", ")", "return", "FALSE", ";", "addr", "=", "XEXP", "(", "op", ",", "0", ")", ";", "return", "frv_legitimate_address_p_1", "(", "mode", ",", "addr", ",", "reload_completed", ",", "TRUE", ",", "FALSE", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "memory", "operand", "is", "one", "that", "can", "be", "conditionally", "executed", "."], "TS_V_token": ["frv", "0"], "File": "frv", "Func": "condexec_memory_operand", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 1870, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "X86TargetLowering", "::", "LowerXConstraint", "(", "MVT", "ConstraintVT", ")", "const", "{", "if", "(", "ConstraintVT", ".", "isFloatingPoint", "(", ")", ")", "{", "if", "(", "Subtarget", "->", "hasSSE2", "(", ")", ")", "return", "\"Y\"", ";", "if", "(", "Subtarget", "->", "hasSSE1", "(", ")", ")", "return", "\"x\"", ";", "}", "return", "TargetLowering", "::", "LowerXConstraint", "(", "ConstraintVT", ")", ";", "}", ""], "natrual_language": ["Try", "to", "replace", "an", "X", "constraint", ",", "which", "matches", "anything", ",", "with", "another", "that", "has", "more", "specific", "requirements", "based", "on", "the", "type", "of", "the", "corresponding", "operand", "."], "TS_V_token": ["X86", "X86", "\"Y\"", "\"x\""], "File": "X86ISelLowering160", "Func": "LowerXConstraint", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1871, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "aarch64_general_fold_builtin", "(", "unsigned", "int", "fcode", ",", "tree", "type", ",", "unsigned", "int", "n_args", "ATTRIBUTE_UNUSED", ",", "tree", "*", "args", ")", "{", "switch", "(", "fcode", ")", "{", "BUILTIN_VDQF", "(", "UNOP", ",", "abs", ",", "2", ",", "ALL", ")", "return", "fold_build1", "(", "ABS_EXPR", ",", "type", ",", "args", "[", "0", "]", ")", ";", "VAR1", "(", "UNOP", ",", "floatv2si", ",", "2", ",", "ALL", ",", "v2sf", ")", "VAR1", "(", "UNOP", ",", "floatv4si", ",", "2", ",", "ALL", ",", "v4sf", ")", "VAR1", "(", "UNOP", ",", "floatv2di", ",", "2", ",", "ALL", ",", "v2df", ")", "return", "fold_build1", "(", "FLOAT_EXPR", ",", "type", ",", "args", "[", "0", "]", ")", ";", "case", "AARCH64_SIMD_BUILTIN_LANE_CHECK", ":", "gcc_assert", "(", "n_args", "==", "3", ")", ";", "if", "(", "aarch64_fold_builtin_lane_check", "(", "args", "[", "0", "]", ",", "args", "[", "1", "]", ",", "args", "[", "2", "]", ")", ")", "return", "void_node", ";", "break", ";", "default", ":", "break", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Try", "to", "fold", "a", "call", "to", "the", "built-in", "function", "with", "subcode", "FCODE", ".", "The", "function", "is", "passed", "the", "N_ARGS", "arguments", "in", "ARGS", "and", "it", "returns", "a", "value", "of", "type", "TYPE", ".", "Return", "the", "new", "expression", "on", "success", "and", "NULL_TREE", "on", "failure", "."], "TS_V_token": ["aarch64", "2", "0", "2", "2", "2", "0", "3", "0", "1", "2"], "File": "aarch64-builtins", "Func": "aarch64_general_fold_builtin", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1872, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "R600InstrInfo", "::", "fitsReadPortLimitations", "(", "const", "std", "::", "vector", "<", "MachineInstr", "*", ">", "&", "IG", ",", "const", "DenseMap", "<", "unsigned", ",", "unsigned", ">", "&", "PV", ",", "std", "::", "vector", "<", "BankSwizzle", ">", "&", "ValidSwizzle", ",", "bool", "isLastAluTrans", ")", "const", "{", "std", "::", "vector", "<", "std", "::", "vector", "<", "std", "::", "pair", "<", "int", ",", "unsigned", ">", ">", ">", "IGSrcs", ";", "ValidSwizzle", ".", "clear", "(", ")", ";", "unsigned", "ConstCount", ";", "BankSwizzle", "TransBS", "=", "ALU_VEC_012_SCL_210", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "IG", ".", "size", "(", ")", ";", "i", "<", "e", ";", "++", "i", ")", "{", "IGSrcs", ".", "push_back", "(", "ExtractSrcs", "(", "*", "IG", "[", "i", "]", ",", "PV", ",", "ConstCount", ")", ")", ";", "unsigned", "Op", "=", "getOperandIdx", "(", "IG", "[", "i", "]", "->", "getOpcode", "(", ")", ",", "AMDGPU", "::", "OpName", "::", "bank_swizzle", ")", ";", "ValidSwizzle", ".", "push_back", "(", "(", "R600InstrInfo", "::", "BankSwizzle", ")", "IG", "[", "i", "]", "->", "getOperand", "(", "Op", ")", ".", "getImm", "(", ")", ")", ";", "}", "std", "::", "vector", "<", "std", "::", "pair", "<", "int", ",", "unsigned", ">", ">", "TransOps", ";", "if", "(", "!", "isLastAluTrans", ")", "return", "FindSwizzleForVectorSlot", "(", "IGSrcs", ",", "ValidSwizzle", ",", "TransOps", ",", "TransBS", ")", ";", "TransOps", "=", "std", "::", "move", "(", "IGSrcs", ".", "back", "(", ")", ")", ";", "IGSrcs", ".", "pop_back", "(", ")", ";", "ValidSwizzle", ".", "pop_back", "(", ")", ";", "static", "const", "R600InstrInfo", "::", "BankSwizzle", "TransSwz", "[", "]", "=", "{", "ALU_VEC_012_SCL_210", ",", "ALU_VEC_021_SCL_122", ",", "ALU_VEC_120_SCL_212", ",", "ALU_VEC_102_SCL_221", "}", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "4", ";", "i", "++", ")", "{", "TransBS", "=", "TransSwz", "[", "i", "]", ";", "if", "(", "!", "isConstCompatible", "(", "TransBS", ",", "TransOps", ",", "ConstCount", ")", ")", "continue", ";", "bool", "Result", "=", "FindSwizzleForVectorSlot", "(", "IGSrcs", ",", "ValidSwizzle", ",", "TransOps", ",", "TransBS", ")", ";", "if", "(", "Result", ")", "{", "ValidSwizzle", ".", "push_back", "(", "TransBS", ")", ";", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Given", "the", "order", "VEC_012", "<", "VEC_021", "<", "VEC_120", "<", "VEC_102", "<", "VEC_201", "<", "VEC_210", "returns", "true", "and", "the", "first", "(", "in", "lexical", "order", ")", "BankSwizzle", "affectation", "starting", "from", "the", "one", "already", "provided", "in", "the", "Instruction", "Group", "MIs", "that", "fits", "Read", "Port", "limitations", "in", "BS", "if", "available", "."], "TS_V_token": ["AMDGPU", "R600", "0", "AMDGPU::OpName", "R600", "R600", "0", "4"], "File": "R600InstrInfo10", "Func": "fitsReadPortLimitations", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1873, "Length": 308, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "moxie_pass_by_reference", "(", "cumulative_args_t", "cum", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "unsigned", "HOST_WIDE_INT", "size", ";", "if", "(", "type", ")", "{", "if", "(", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "return", "true", ";", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "}", "else", "size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "return", "size", ">", "4", "*", "6", ";", "}", ""], "natrual_language": ["Return", "non-zero", "if", "the", "function", "argument", "described", "by", "TYPE", "is", "to", "be", "passed", "by", "reference", "."], "TS_V_token": ["moxie", "4", "6"], "File": "moxie2", "Func": "moxie_pass_by_reference", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1874, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "ix86_select_alt_pic_regnum", "(", "void", ")", "{", "if", "(", "current_function_is_leaf", "&&", "!", "current_function_profile", ")", "{", "int", "i", ";", "for", "(", "i", "=", "2", ";", "i", ">=", "0", ";", "--", "i", ")", "if", "(", "!", "regs_ever_live", "[", "i", "]", ")", "return", "i", ";", "}", "return", "INVALID_REGNUM", ";", "}", ""], "natrual_language": ["Return", ">", "=", "0", "if", "there", "is", "an", "unused", "call-clobbered", "register", "available", "for", "the", "entire", "function", "."], "TS_V_token": ["i386", "2", "0"], "File": "i3863", "Func": "ix86_select_alt_pic_regnum", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1875, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BasicBlock", "*", "getResult", "(", ")", "{", "return", "Result", ";", "}", ""], "natrual_language": ["Get", "the", "result", "of", "an", "analysis", "pass", "for", "a", "given", "IR", "unit", "."], "TS_V_token": ["R600"], "File": "AMDGPUStructurizeCFG", "Func": "getResult", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1876, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_can_eliminate", "(", "const", "int", "from", ",", "const", "int", "to", ")", "{", "return", "(", "from", "==", "ARG_POINTER_REGNUM", "&&", "to", "==", "STACK_POINTER_REGNUM", "?", "!", "frame_pointer_needed", ":", "from", "==", "RS6000_PIC_OFFSET_TABLE_REGNUM", "?", "!", "TARGET_MINIMAL_TOC", "||", "TARGET_NO_TOC", "||", "get_pool_size", "(", ")", "==", "0", ":", "true", ")", ";", "}", ""], "natrual_language": ["Given", "FROM", "and", "TO", "register", "numbers", ",", "say", "whether", "this", "elimination", "is", "allowed", ".", "Frame", "pointer", "elimination", "is", "automatically", "handled", ".", "For", "the", "RS/6000", ",", "if", "frame", "pointer", "elimination", "is", "being", "done", ",", "we", "would", "like", "to", "convert", "ap", "into", "fp", ",", "not", "sp", ".", "We", "need", "r30", "if", "-mminimal-toc", "was", "specified", ",", "and", "there", "are", "constant", "pool", "references", "."], "TS_V_token": ["rs6000", "0"], "File": "rs60004", "Func": "rs6000_can_eliminate", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1877, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Instruction", "*", "llvm", "::", "getInst", "(", "Value", "*", "base", ",", "char", "*", "instName", ")", "{", "Function", "*", "F", "=", "getParentFunction", "(", "base", ")", ";", "if", "(", "!", "F", ")", "return", "nullptr", ";", "for", "(", "inst_iterator", "it", "=", "inst_begin", "(", "F", ")", ",", "ie", "=", "inst_end", "(", "F", ")", ";", "it", "!=", "ie", ";", "++", "it", ")", "{", "Instruction", "*", "I", "=", "&", "*", "it", ";", "if", "(", "strcmp", "(", "I", "->", "getName", "(", ")", ".", "data", "(", ")", ",", "instName", ")", "==", "0", ")", "{", "return", "I", ";", "}", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["If", "this", "is", "a", "normal", "dependency", ",", "returns", "the", "instruction", "that", "is", "depended", "on", "."], "TS_V_token": ["NVPTX", "0"], "File": "NVPTXUtilities", "Func": "getInst", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1878, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64TargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InFlag", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "CCAssignFnForNode", "(", "CallConv", ")", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "CCValAssign", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Memory locations not expected for call return\"", ")", ";", "SDValue", "Val", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "VA", ".", "getLocVT", "(", ")", ",", "InFlag", ")", ";", "Chain", "=", "Val", ".", "getValue", "(", "1", ")", ";", "InFlag", "=", "Val", ".", "getValue", "(", "2", ")", ";", "switch", "(", "VA", ".", "getLocInfo", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown loc info!\"", ")", ";", "case", "CCValAssign", "::", "Full", ":", "break", ";", "case", "CCValAssign", "::", "BCvt", ":", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "BITCAST", ",", "dl", ",", "VA", ".", "getValVT", "(", ")", ",", "Val", ")", ";", "break", ";", "case", "CCValAssign", "::", "ZExt", ":", "case", "CCValAssign", "::", "SExt", ":", "case", "CCValAssign", "::", "AExt", ":", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "TRUNCATE", ",", "dl", ",", "VA", ".", "getValVT", "(", ")", ",", "Val", ")", ";", "break", ";", "}", "InVals", ".", "push_back", "(", "Val", ")", ";", "}", "return", "Chain", ";", "}", ""], "natrual_language": ["LowerCallResult", "-", "Lower", "the", "result", "values", "of", "an", "ISD", ":", ":CALL", "into", "the", "appropriate", "copies", "out", "of", "appropriate", "physical", "registers", "."], "TS_V_token": ["AArch64", "AArch64", "ISD::InputArg", "16", "0", "\"Memory locations not expected for call return\"", "1", "2", "\"Unknown loc info!\"", "ISD::BITCAST", "ISD::TRUNCATE"], "File": "AArch64ISelLowering123", "Func": "LowerCallResult", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1879, "Length": 276, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIInstrInfo", "::", "analyzeCompare", "(", "const", "MachineInstr", "&", "MI", ",", "Register", "&", "SrcReg", ",", "Register", "&", "SrcReg2", ",", "int64_t", "&", "CmpMask", ",", "int64_t", "&", "CmpValue", ")", "const", "{", "if", "(", "!", "MI", ".", "getOperand", "(", "0", ")", ".", "isReg", "(", ")", "||", "MI", ".", "getOperand", "(", "0", ")", ".", "getSubReg", "(", ")", ")", "return", "false", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "AMDGPU", "::", "S_CMP_EQ_U32", ":", "case", "AMDGPU", "::", "S_CMP_EQ_I32", ":", "case", "AMDGPU", "::", "S_CMP_LG_U32", ":", "case", "AMDGPU", "::", "S_CMP_LG_I32", ":", "case", "AMDGPU", "::", "S_CMP_LT_U32", ":", "case", "AMDGPU", "::", "S_CMP_LT_I32", ":", "case", "AMDGPU", "::", "S_CMP_GT_U32", ":", "case", "AMDGPU", "::", "S_CMP_GT_I32", ":", "case", "AMDGPU", "::", "S_CMP_LE_U32", ":", "case", "AMDGPU", "::", "S_CMP_LE_I32", ":", "case", "AMDGPU", "::", "S_CMP_GE_U32", ":", "case", "AMDGPU", "::", "S_CMP_GE_I32", ":", "case", "AMDGPU", "::", "S_CMP_EQ_U64", ":", "case", "AMDGPU", "::", "S_CMP_LG_U64", ":", "SrcReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "if", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", ")", "{", "if", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "getSubReg", "(", ")", ")", "return", "false", ";", "SrcReg2", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "CmpValue", "=", "0", ";", "}", "else", "if", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", ")", "{", "SrcReg2", "=", "Register", "(", ")", ";", "CmpValue", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "}", "else", "{", "return", "false", ";", "}", "CmpMask", "=", "~", "0", ";", "return", "true", ";", "case", "AMDGPU", "::", "S_CMPK_EQ_U32", ":", "case", "AMDGPU", "::", "S_CMPK_EQ_I32", ":", "case", "AMDGPU", "::", "S_CMPK_LG_U32", ":", "case", "AMDGPU", "::", "S_CMPK_LG_I32", ":", "case", "AMDGPU", "::", "S_CMPK_LT_U32", ":", "case", "AMDGPU", "::", "S_CMPK_LT_I32", ":", "case", "AMDGPU", "::", "S_CMPK_GT_U32", ":", "case", "AMDGPU", "::", "S_CMPK_GT_I32", ":", "case", "AMDGPU", "::", "S_CMPK_LE_U32", ":", "case", "AMDGPU", "::", "S_CMPK_LE_I32", ":", "case", "AMDGPU", "::", "S_CMPK_GE_U32", ":", "case", "AMDGPU", "::", "S_CMPK_GE_I32", ":", "SrcReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "SrcReg2", "=", "Register", "(", ")", ";", "CmpValue", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "CmpMask", "=", "~", "0", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["analyzeCompare", "-", "For", "a", "comparison", "instruction", ",", "return", "the", "source", "registers", "in", "SrcReg", "and", "SrcReg2", "if", "having", "two", "register", "operands", ",", "and", "the", "value", "it", "compares", "against", "in", "CmpValue", "."], "TS_V_token": ["AMDGPU", "SI", "0", "0", "AMDGPU::S_CMP_EQ_U32", "AMDGPU::S_CMP_EQ_I32", "AMDGPU::S_CMP_LG_U32", "AMDGPU::S_CMP_LG_I32", "AMDGPU::S_CMP_LT_U32", "AMDGPU::S_CMP_LT_I32", "AMDGPU::S_CMP_GT_U32", "AMDGPU::S_CMP_GT_I32", "AMDGPU::S_CMP_LE_U32", "AMDGPU::S_CMP_LE_I32", "AMDGPU::S_CMP_GE_U32", "AMDGPU::S_CMP_GE_I32", "AMDGPU::S_CMP_EQ_U64", "AMDGPU::S_CMP_LG_U64", "0", "1", "1", "1", "0", "1", "1", "0", "AMDGPU::S_CMPK_EQ_U32", "AMDGPU::S_CMPK_EQ_I32", "AMDGPU::S_CMPK_LG_U32", "AMDGPU::S_CMPK_LG_I32", "AMDGPU::S_CMPK_LT_U32", "AMDGPU::S_CMPK_LT_I32", "AMDGPU::S_CMPK_GT_U32", "AMDGPU::S_CMPK_GT_I32", "AMDGPU::S_CMPK_LE_U32", "AMDGPU::S_CMPK_LE_I32", "AMDGPU::S_CMPK_GE_U32", "AMDGPU::S_CMPK_GE_I32", "0", "1", "0"], "File": "SIInstrInfo11", "Func": "analyzeCompare", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1880, "Length": 354, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "emit_adjust_base_to_offset", "(", "rtx", "base", ",", "int", "offset", ")", "{", "rtx", "new_base", "=", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ";", "emit_move_insn", "(", "new_base", ",", "GEN_INT", "(", "offset", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "new_base", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "base", ",", "new_base", ")", ")", ")", ";", "return", "new_base", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "adjust", "BASE", "to", "OFFSET", ".", "Return", "the", "new", "base", "."], "TS_V_token": ["sparc", "1"], "File": "sparc", "Func": "emit_adjust_base_to_offset", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1881, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "MachineMemOperand", "*", "getMachineMemOperand", "(", "MachineBasicBlock", "&", "MBB", ",", "int", "FI", ",", "MachineMemOperand", "::", "Flags", "Flags", ")", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FI", ")", ",", "Flags", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlign", "(", "FI", ")", ")", ";", "}", ""], "natrual_language": ["Allocate", "a", "new", "MachineMemOperand", "by", "copying", "an", "existing", "one", ",", "replacing", "the", "flags", "."], "TS_V_token": ["M88k"], "File": "M88kInstrInfo", "Func": "getMachineMemOperand", "Target": "M88k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1882, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MOSMCExpr", "::", "evaluateAsConstant", "(", "int64_t", "&", "Result", ")", "const", "{", "MCValue", "Value", ";", "bool", "IsRelocatable", "=", "getSubExpr", "(", ")", "->", "evaluateAsRelocatable", "(", "Value", ",", "nullptr", ",", "nullptr", ")", ";", "if", "(", "!", "IsRelocatable", ")", "{", "return", "false", ";", "}", "if", "(", "Value", ".", "isAbsolute", "(", ")", ")", "{", "Result", "=", "evaluateAsInt64", "(", "Value", ".", "getConstant", "(", ")", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Evaluates", "the", "fixup", "as", "a", "constant", "value", "."], "TS_V_token": ["MOS", "MOS"], "File": "MOSMCExpr", "Func": "evaluateAsConstant", "Target": "MOS", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1883, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_save_reg_p", "(", "unsigned", "int", "regno", ")", "{", "bool", "call_saved", "=", "!", "global_regs", "[", "regno", "]", "&&", "!", "call_used_regs", "[", "regno", "]", ";", "bool", "might_clobber", "=", "crtl", "->", "saves_all_registers", "||", "df_regs_ever_live_p", "(", "regno", ")", ";", "if", "(", "call_saved", "&&", "might_clobber", ")", "return", "true", ";", "if", "(", "regno", "==", "HARD_FRAME_POINTER_REGNUM", "&&", "frame_pointer_needed", ")", "return", "true", ";", "if", "(", "regno", "==", "RETURN_ADDR_REGNUM", "&&", "crtl", "->", "calls_eh_return", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "current", "function", "must", "save", "register", "REGNO", "."], "TS_V_token": ["riscv"], "File": "riscv2", "Func": "riscv_save_reg_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1884, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "Info", ")", "{", "Info", ".", "setPreservesAll", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["X86"], "File": "AnnotationsInference", "Func": "getAnalysisUsage", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1885, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMGlobalMerge", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "return", "false", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMGlobalMerge", "Func": "runOnFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1886, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "NVPTXTargetStreamer", "::", "outputDwarfFileDirectives", "(", ")", "{", "for", "(", "const", "std", "::", "string", "&", "S", ":", "DwarfFiles", ")", "getStreamer", "(", ")", ".", "emitRawText", "(", "S", ".", "data", "(", ")", ")", ";", "DwarfFiles", ".", "clear", "(", ")", ";", "}", ""], "natrual_language": ["Outputs", "the", "list", "of", "the", "DWARF", "'.file", "'", "directives", "to", "the", "streamer", "."], "TS_V_token": ["NVPTX", "NVPTX"], "File": "NVPTXTargetStreamer3", "Func": "outputDwarfFileDirectives", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1887, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64RegisterInfo", "::", "needsFrameBaseReg", "(", "MachineInstr", "*", "MI", ",", "int64_t", "Offset", ")", "const", "{", "for", "(", "unsigned", "i", "=", "0", ";", "!", "MI", "->", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ";", "++", "i", ")", "assert", "(", "i", "<", "MI", "->", "getNumOperands", "(", ")", "&&", "\"Instr doesn't have FrameIndex operand!\"", ")", ";", "if", "(", "!", "MI", "->", "mayLoad", "(", ")", "&&", "!", "MI", "->", "mayStore", "(", ")", ")", "return", "false", ";", "MachineFunction", "&", "MF", "=", "*", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "int64_t", "FPOffset", "=", "Offset", "-", "16", "*", "20", ";", "Offset", "+=", "MFI", "->", "getLocalFrameSize", "(", ")", ";", "Offset", "+=", "128", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", "&&", "isFrameOffsetLegal", "(", "MI", ",", "FPOffset", ")", ")", "return", "false", ";", "if", "(", "isFrameOffsetLegal", "(", "MI", ",", "Offset", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "instruction", "'s", "frame", "index", "reference", "would", "be", "better", "served", "by", "a", "base", "register", "other", "than", "FP", "or", "SP", "."], "TS_V_token": ["AArch64", "AArch64", "0", "\"Instr doesn't have FrameIndex operand!\"", "16", "20", "128"], "File": "AArch64RegisterInfo1", "Func": "needsFrameBaseReg", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1888, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"DCPU16 DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Dcpu16", "\"DCPU16 DAG->DAG Pattern Instruction Selection\""], "File": "Dcpu16ISelDAGToDAG", "Func": "getPassName", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1889, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MVT", "::", "SimpleValueType", "Z80oldTargetLowering", "::", "getCmpLibcallReturnType", "(", ")", "const", "{", "return", "MVT", "::", "Other", ";", "}", ""], "natrual_language": ["Return", "the", "ValueType", "for", "comparison", "libcalls", "."], "TS_V_token": ["Z80old", "MVT::SimpleValueType", "Z80old", "MVT::Other"], "File": "Z80oldISelLowering", "Func": "getCmpLibcallReturnType", "Target": "Z80old", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1890, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "get_ma", "(", "rtx", "ma", ")", "{", "if", "(", "INTVAL", "(", "ma", ")", "==", "MASK_ANY", ")", "return", "INVALID_ATTRIBUTE", ";", "return", "INTVAL", "(", "ma", ")", ";", "}", ""], "natrual_language": ["Get", "ma", "according", "to", "operand", "[", "mask_op_idx", "]", "."], "TS_V_token": ["riscv"], "File": "riscv-v", "Func": "get_ma", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1891, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_multi_start", "(", "void", ")", "{", "mips_multi_members", ".", "truncate", "(", "0", ")", ";", "mips_multi_num_insns", "=", "0", ";", "}", ""], "natrual_language": ["Start", "a", "new", "multi-insn", "sequence", "."], "TS_V_token": ["mips", "0", "0"], "File": "mips", "Func": "mips_multi_start", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1892, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "XtensaAsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNum", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "llvm_unreachable", "(", "\"XXX:\"", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "operand", "of", "MI", ",", "an", "INLINEASM", "instruction", ",", "using", "the", "specified", "assembler", "variant", "as", "an", "address", "."], "TS_V_token": ["Xtensa", "Xtensa", "\"XXX:\""], "File": "XtensaAsmPrinter", "Func": "PrintAsmMemoryOperand", "Target": "Xtensa", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1893, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "ARMBaseRegisterInfo", "::", "getLargestLegalSuperClass", "(", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "const", "TargetRegisterClass", "*", "Super", "=", "RC", ";", "TargetRegisterClass", "::", "sc_iterator", "I", "=", "RC", "->", "getSuperClasses", "(", ")", ";", "do", "{", "switch", "(", "Super", "->", "getID", "(", ")", ")", "{", "case", "ARM", "::", "GPRRegClassID", ":", "case", "ARM", "::", "SPRRegClassID", ":", "case", "ARM", "::", "DPRRegClassID", ":", "case", "ARM", "::", "QPRRegClassID", ":", "case", "ARM", "::", "QQPRRegClassID", ":", "case", "ARM", "::", "QQQQPRRegClassID", ":", "case", "ARM", "::", "GPRPairRegClassID", ":", "return", "Super", ";", "}", "Super", "=", "*", "I", "++", ";", "}", "while", "(", "Super", ")", ";", "return", "RC", ";", "}", ""], "natrual_language": ["Returns", "the", "largest", "super", "class", "of", "RC", "that", "is", "legal", "to", "use", "in", "the", "current", "sub-target", "and", "has", "the", "same", "spill", "size", "."], "TS_V_token": ["ARM", "ARM", "ARM::GPRRegClassID", "ARM::SPRRegClassID", "ARM::DPRRegClassID", "ARM::QPRRegClassID", "ARM::QQPRRegClassID", "ARM::QQQQPRRegClassID", "ARM::GPRPairRegClassID"], "File": "ARMBaseRegisterInfo15", "Func": "getLargestLegalSuperClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1894, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "fpscr_set_from_mem", "(", "int", "mode", ",", "HARD_REG_SET", "regs_live", ")", "{", "enum", "attr_fp_mode", "fp_mode", "=", "mode", ";", "enum", "attr_fp_mode", "norm_mode", "=", "ACTUAL_NORMAL_MODE", "(", "FP_MODE", ")", ";", "rtx", "addr_reg", "=", "get_free_reg", "(", "regs_live", ")", ";", "emit_fpu_switch", "(", "addr_reg", ",", "fp_mode", "==", "norm_mode", ")", ";", "}", ""], "natrual_language": ["This", "function", "will", "set", "the", "fpscr", "from", "memory", ".", "MODE", "is", "the", "mode", "we", "are", "setting", "it", "to", "."], "TS_V_token": ["sh"], "File": "sh3", "Func": "fpscr_set_from_mem", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1895, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"LEG Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["LEG", "\"LEG Assembly Printer\""], "File": "LEGAsmPrinter1", "Func": "getPassName", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1896, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64FastISel", "::", "fastMaterializeAlloca", "(", "const", "AllocaInst", "*", "AI", ")", "{", "assert", "(", "TLI", ".", "getValueType", "(", "DL", ",", "AI", "->", "getType", "(", ")", ",", "true", ")", "==", "MVT", "::", "i64", "&&", "\"Alloca should always return a pointer.\"", ")", ";", "if", "(", "!", "FuncInfo", ".", "StaticAllocaMap", ".", "count", "(", "AI", ")", ")", "return", "0", ";", "DenseMap", "<", "const", "AllocaInst", "*", ",", "int", ">", "::", "iterator", "SI", "=", "FuncInfo", ".", "StaticAllocaMap", ".", "find", "(", "AI", ")", ";", "if", "(", "SI", "!=", "FuncInfo", ".", "StaticAllocaMap", ".", "end", "(", ")", ")", "{", "unsigned", "ResultReg", "=", "createResultReg", "(", "&", "AArch64", "::", "GPR64spRegClass", ")", ";", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "TII", ".", "get", "(", "AArch64", "::", "ADDXri", ")", ",", "ResultReg", ")", ".", "addFrameIndex", "(", "SI", "->", "second", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "0", ")", ";", "return", "ResultReg", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Emit", "an", "alloca", "address", "in", "a", "register", "using", "target-specific", "logic", "."], "TS_V_token": ["AArch64", "AArch64", "MVT::i64", "\"Alloca should always return a pointer.\"", "0", "AArch64::GPR64spRegClass", "AArch64::ADDXri", "0", "0", "0"], "File": "AArch64FastISel (2)", "Func": "fastMaterializeAlloca", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1897, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emitInst", "(", "uint32_t", "Inst", ")", "{", "char", "Buffer", "[", "4", "]", ";", "for", "(", "char", "&", "C", ":", "Buffer", ")", "{", "C", "=", "uint8_t", "(", "Inst", ")", ";", "Inst", ">>=", "8", ";", "}", "emitA64MappingSymbol", "(", ")", ";", "MCELFStreamer", "::", "emitBytes", "(", "StringRef", "(", "Buffer", ",", "4", ")", ")", ";", "}", ""], "natrual_language": ["Callback", "used", "to", "implement", "the", ".inst", "directive", "."], "TS_V_token": ["AArch64", "4", "8", "4"], "File": "AArch64ELFStreamer11", "Func": "emitInst", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1898, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "iq2000_return_in_memory", "(", "tree", "type", ",", "tree", "fntype", "ATTRIBUTE_UNUSED", ")", "{", "return", "(", "(", "int_size_in_bytes", "(", "type", ")", ">", "(", "2", "*", "UNITS_PER_WORD", ")", ")", "||", "(", "int_size_in_bytes", "(", "type", ")", "==", "-", "1", ")", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_RETURN_IN_MEMORY", "."], "TS_V_token": ["iq2000", "2", "1"], "File": "iq20002", "Func": "iq2000_return_in_memory", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1899, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "alpha_setup_incoming_varargs", "(", "cumulative_args_t", "pcum", ",", "machine_mode", "mode", ",", "tree", "type", ",", "int", "*", "pretend_size", ",", "int", "no_rtl", ")", "{", "CUMULATIVE_ARGS", "cum", "=", "*", "get_cumulative_args", "(", "pcum", ")", ";", "targetm", ".", "calls", ".", "function_arg_advance", "(", "pack_cumulative_args", "(", "&", "cum", ")", ",", "mode", ",", "type", ",", "true", ")", ";", "if", "(", "cum", ".", "num_args", "<", "6", ")", "{", "if", "(", "!", "no_rtl", ")", "{", "emit_move_insn", "(", "gen_rtx_REG", "(", "DImode", ",", "1", ")", ",", "virtual_incoming_args_rtx", ")", ";", "emit_insn", "(", "gen_arg_home", "(", ")", ")", ";", "}", "*", "pretend_size", "=", "7", "*", "UNITS_PER_WORD", ";", "}", "if", "(", "cum", ">=", "6", ")", "return", ";", "if", "(", "!", "no_rtl", ")", "{", "int", "count", ";", "alias_set_type", "set", "=", "get_varargs_alias_set", "(", ")", ";", "rtx", "tmp", ";", "count", "=", "cfun", "->", "va_list_gpr_size", "/", "UNITS_PER_WORD", ";", "if", "(", "count", ">", "6", "-", "cum", ")", "count", "=", "6", "-", "cum", ";", "gcc_assert", "(", "(", "VA_LIST_MAX_FPR_SIZE", "&", "3", ")", "==", "3", ")", ";", "if", "(", "cfun", "->", "va_list_fpr_size", "&", "1", ")", "{", "tmp", "=", "gen_rtx_MEM", "(", "BLKmode", ",", "plus_constant", "(", "Pmode", ",", "virtual_incoming_args_rtx", ",", "(", "cum", "+", "6", ")", "*", "UNITS_PER_WORD", ")", ")", ";", "MEM_NOTRAP_P", "(", "tmp", ")", "=", "1", ";", "set_mem_alias_set", "(", "tmp", ",", "set", ")", ";", "move_block_from_reg", "(", "16", "+", "cum", ",", "tmp", ",", "count", ")", ";", "}", "if", "(", "cfun", "->", "va_list_fpr_size", "&", "2", ")", "{", "tmp", "=", "gen_rtx_MEM", "(", "BLKmode", ",", "plus_constant", "(", "Pmode", ",", "virtual_incoming_args_rtx", ",", "cum", "*", "UNITS_PER_WORD", ")", ")", ";", "MEM_NOTRAP_P", "(", "tmp", ")", "=", "1", ";", "set_mem_alias_set", "(", "tmp", ",", "set", ")", ";", "move_block_from_reg", "(", "16", "+", "cum", "+", "TARGET_FPREGS", "*", "32", ",", "tmp", ",", "count", ")", ";", "}", "}", "*", "pretend_size", "=", "12", "*", "UNITS_PER_WORD", ";", "}", ""], "natrual_language": ["Perform", "any", "needed", "actions", "needed", "for", "a", "function", "that", "is", "receiving", "a", "variable", "number", "of", "arguments", "."], "TS_V_token": ["alpha", "6", "1", "7", "6", "6", "6", "3", "3", "1", "6", "1", "16", "2", "1", "16", "32", "12"], "File": "alpha4", "Func": "alpha_setup_incoming_varargs", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1900, "Length": 275, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "ConstraintType", "MSP430TargetLowering", "::", "getConstraintType", "(", "const", "std", "::", "string", "&", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'r'", ":", "return", "C_RegisterClass", ";", "default", ":", "break", ";", "}", "}", "return", "TargetLowering", "::", "getConstraintType", "(", "Constraint", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constraint", "letter", ",", "return", "the", "type", "of", "constraint", "for", "this", "target", "."], "TS_V_token": ["MSP430", "MSP430", "1", "0"], "File": "MSP430ISelLowering1", "Func": "getConstraintType", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1901, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "vspltis_constant", "(", "rtx", "op", ",", "unsigned", "step", ",", "unsigned", "copies", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "op", ")", ";", "machine_mode", "inner", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "unsigned", "i", ";", "unsigned", "nunits", ";", "unsigned", "bitsize", ";", "unsigned", "mask", ";", "HOST_WIDE_INT", "val", ";", "HOST_WIDE_INT", "splat_val", ";", "HOST_WIDE_INT", "msb_val", ";", "if", "(", "mode", "==", "V2DImode", "||", "mode", "==", "V2DFmode", "||", "mode", "==", "V1TImode", ")", "return", "false", ";", "nunits", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "bitsize", "=", "GET_MODE_BITSIZE", "(", "inner", ")", ";", "mask", "=", "GET_MODE_MASK", "(", "inner", ")", ";", "val", "=", "const_vector_elt_as_int", "(", "op", ",", "BYTES_BIG_ENDIAN", "?", "nunits", "-", "1", ":", "0", ")", ";", "splat_val", "=", "val", ";", "msb_val", "=", "val", ">=", "0", "?", "0", ":", "-", "1", ";", "if", "(", "val", "==", "0", "&&", "step", ">", "1", ")", "{", "for", "(", "i", "=", "1", ";", "i", "<", "nunits", ";", "++", "i", ")", "{", "unsigned", "elt", "=", "BYTES_BIG_ENDIAN", "?", "nunits", "-", "1", "-", "i", ":", "i", ";", "HOST_WIDE_INT", "elt_val", "=", "const_vector_elt_as_int", "(", "op", ",", "elt", ")", ";", "if", "(", "(", "i", "&", "(", "step", "-", "1", ")", ")", "==", "step", "-", "1", ")", "{", "if", "(", "!", "EASY_VECTOR_MSB", "(", "elt_val", ",", "inner", ")", ")", "break", ";", "}", "else", "if", "(", "elt_val", ")", "break", ";", "}", "if", "(", "i", "==", "nunits", ")", "return", "true", ";", "}", "for", "(", "i", "=", "2", ";", "i", "<=", "copies", ";", "i", "*=", "2", ")", "{", "HOST_WIDE_INT", "small_val", ";", "bitsize", "/=", "2", ";", "small_val", "=", "splat_val", ">>", "bitsize", ";", "mask", ">>=", "bitsize", ";", "if", "(", "splat_val", "!=", "(", "(", "HOST_WIDE_INT", ")", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "small_val", "<<", "bitsize", ")", "|", "(", "small_val", "&", "mask", ")", ")", ")", "return", "false", ";", "splat_val", "=", "small_val", ";", "inner", "=", "smallest_int_mode_for_size", "(", "bitsize", ")", ";", "}", "if", "(", "EASY_VECTOR_15", "(", "splat_val", ")", ")", ";", "else", "if", "(", "EASY_VECTOR_15_ADD_SELF", "(", "splat_val", ")", "&&", "(", "splat_val", ">=", "0", "||", "(", "step", "==", "1", "&&", "copies", "==", "1", ")", ")", ")", ";", "else", "if", "(", "EASY_VECTOR_MSB", "(", "splat_val", ",", "inner", ")", "&&", "step", "==", "1", ")", ";", "else", "return", "false", ";", "for", "(", "i", "=", "1", ";", "i", "<", "nunits", ";", "++", "i", ")", "{", "HOST_WIDE_INT", "desired_val", ";", "unsigned", "elt", "=", "BYTES_BIG_ENDIAN", "?", "nunits", "-", "1", "-", "i", ":", "i", ";", "if", "(", "(", "i", "&", "(", "step", "-", "1", ")", ")", "==", "0", ")", "desired_val", "=", "val", ";", "else", "desired_val", "=", "msb_val", ";", "if", "(", "desired_val", "!=", "const_vector_elt_as_int", "(", "op", ",", "elt", ")", ")", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OP", "can", "be", "synthesized", "with", "a", "particular", "vspltisb", ",", "vspltish", "or", "vspltisw", "instruction", ".", "OP", "is", "a", "CONST_VECTOR", ".", "Which", "instruction", "is", "used", "depends", "on", "STEP", "and", "COPIES", ",", "one", "of", "which", "will", "be", "1", ".", "If", "COPIES", ">", "1", ",", "all", "items", "are", "set", "to", "the", "same", "value", "and", "contain", "COPIES", "replicas", "of", "the", "vsplt", "'s", "operand", ";", "if", "STEP", ">", "1", ",", "one", "in", "STEP", "elements", "is", "set", "to", "the", "vsplt", "'s", "operand", "and", "the", "others", "are", "set", "to", "the", "value", "of", "the", "operand", "'s", "msb", "."], "TS_V_token": ["rs6000", "1", "0", "0", "0", "1", "0", "1", "1", "1", "1", "1", "2", "2", "2", "0", "1", "1", "1", "1", "1", "1", "0"], "File": "rs6000", "Func": "vspltis_constant", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1902, "Length": 411, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "if", "(", "RC", "==", "ARM", "::", "GPRRegisterClass", ")", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "if", "(", "AFI", "->", "isThumbFunction", "(", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "tRestore", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "else", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "LDR", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addReg", "(", "0", ")", ".", "addImm", "(", "0", ")", ")", ";", "}", "else", "if", "(", "RC", "==", "ARM", "::", "DPRRegisterClass", ")", "{", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "FLDD", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ")", ";", "}", "else", "{", "assert", "(", "RC", "==", "ARM", "::", "SPRRegisterClass", "&&", "\"Unknown regclass!\"", ")", ";", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "FLDS", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ")", ";", "}", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["ARM", "ARM", "ARM::GPRRegisterClass", "ARM", "ARM", "ARM::tRestore", "0", "ARM::LDR", "0", "0", "ARM::DPRRegisterClass", "ARM::FLDD", "0", "ARM::SPRRegisterClass", "\"Unknown regclass!\"", "ARM::FLDS", "0"], "File": "ARMInstrInfo31", "Func": "loadRegFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1903, "Length": 249, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "LiveIntervals", ">", "(", ")", ";", "AU", ".", "addPreservedID", "(", "LiveVariablesID", ")", ";", "AU", ".", "addRequired", "<", "MachineLoopInfo", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineLoopInfo", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["TVM"], "File": "TVMStackModel", "Func": "getAnalysisUsage", "Target": "TVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1904, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "get_some_local_dynamic_name_1", "(", "rtx", "*", "px", ",", "void", "*", "data", "ATTRIBUTE_UNUSED", ")", "{", "rtx", "x", "=", "*", "px", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "CONSTANT_POOL_ADDRESS_P", "(", "x", ")", ")", "{", "x", "=", "get_pool_constant", "(", "x", ")", ";", "return", "for_each_rtx", "(", "&", "x", ",", "get_some_local_dynamic_name_1", ",", "0", ")", ";", "}", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "tls_symbolic_operand", "(", "x", ")", "==", "TLS_MODEL_LOCAL_DYNAMIC", ")", "{", "cfun", "->", "machine", "->", "some_ld_name", "=", "XSTR", "(", "x", ",", "0", ")", ";", "return", "1", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["See", "'get_some_local_dynamic_name", "'", "."], "TS_V_token": ["s390", "0", "0", "1", "0"], "File": "s3903", "Func": "get_some_local_dynamic_name_1", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1905, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTTIImpl", "::", "getUnrollingPreferences", "(", "Loop", "*", "L", ",", "ScalarEvolution", "&", "SE", ",", "TTI", "::", "UnrollingPreferences", "&", "UP", ")", "{", "UP", ".", "UpperBound", "=", "true", ";", "if", "(", "!", "ST", "->", "isMClass", "(", ")", ")", "return", "BasicTTIImplBase", "::", "getUnrollingPreferences", "(", "L", ",", "SE", ",", "UP", ")", ";", "UP", ".", "OptSizeThreshold", "=", "0", ";", "UP", ".", "PartialOptSizeThreshold", "=", "0", ";", "if", "(", "L", "->", "getHeader", "(", ")", "->", "getParent", "(", ")", "->", "hasOptSize", "(", ")", ")", "return", ";", "SmallVector", "<", "BasicBlock", "*", ",", "4", ">", "ExitingBlocks", ";", "L", "->", "getExitingBlocks", "(", "ExitingBlocks", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Loop has:\\n\"", "<<", "\"Blocks: \"", "<<", "L", "->", "getNumBlocks", "(", ")", "<<", "\"\\n\"", "<<", "\"Exit blocks: \"", "<<", "ExitingBlocks", ".", "size", "(", ")", "<<", "\"\\n\"", ")", ";", "if", "(", "ExitingBlocks", ".", "size", "(", ")", ">", "2", ")", "return", ";", "if", "(", "ST", "->", "hasBranchPredictor", "(", ")", "&&", "L", "->", "getNumBlocks", "(", ")", ">", "4", ")", "return", ";", "if", "(", "getBooleanLoopAttribute", "(", "L", ",", "\"llvm.loop.isvectorized\"", ")", ")", "return", ";", "InstructionCost", "Cost", "=", "0", ";", "for", "(", "auto", "*", "BB", ":", "L", "->", "getBlocks", "(", ")", ")", "{", "for", "(", "auto", "&", "I", ":", "*", "BB", ")", "{", "if", "(", "I", ".", "getType", "(", ")", "->", "isVectorTy", "(", ")", ")", "return", ";", "if", "(", "isa", "<", "CallInst", ">", "(", "I", ")", "||", "isa", "<", "InvokeInst", ">", "(", "I", ")", ")", "{", "if", "(", "const", "Function", "*", "F", "=", "cast", "<", "CallBase", ">", "(", "I", ")", ".", "getCalledFunction", "(", ")", ")", "{", "if", "(", "!", "isLoweredToCall", "(", "F", ")", ")", "continue", ";", "}", "return", ";", "}", "SmallVector", "<", "const", "Value", "*", ",", "4", ">", "Operands", "(", "I", ".", "operand_values", "(", ")", ")", ";", "Cost", "+=", "getUserCost", "(", "&", "I", ",", "Operands", ",", "TargetTransformInfo", "::", "TCK_SizeAndLatency", ")", ";", "}", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Cost of loop: \"", "<<", "Cost", "<<", "\"\\n\"", ")", ";", "UP", ".", "Partial", "=", "true", ";", "UP", ".", "Runtime", "=", "true", ";", "UP", ".", "UnrollRemainder", "=", "true", ";", "UP", ".", "DefaultUnrollRuntimeCount", "=", "4", ";", "UP", ".", "UnrollAndJam", "=", "true", ";", "UP", ".", "UnrollAndJamInnerLoopThreshold", "=", "60", ";", "if", "(", "Cost", "<", "12", ")", "UP", ".", "Force", "=", "true", ";", "}", ""], "natrual_language": ["Get", "target-customized", "preferences", "for", "the", "generic", "loop", "unrolling", "transformation", "."], "TS_V_token": ["ARM", "ARM", "0", "0", "4", "\"Loop has:\\n\"", "\"Blocks: \"", "\"\\n\"", "\"Exit blocks: \"", "\"\\n\"", "2", "4", "\"llvm.loop.isvectorized\"", "0", "4", "\"Cost of loop: \"", "\"\\n\"", "4", "60", "12"], "File": "ARMTargetTransformInfo54", "Func": "getUnrollingPreferences", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1906, "Length": 353, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "AlphaInstrInfo", "::", "foldMemoryOperandImpl", "(", "MachineFunction", "&", "MF", ",", "MachineInstr", "*", "MI", ",", "const", "SmallVectorImpl", "<", "unsigned", ">", "&", "Ops", ",", "int", "FrameIndex", ")", "const", "{", "if", "(", "Ops", ".", "size", "(", ")", "!=", "1", ")", "return", "NULL", ";", "unsigned", "Opc", "=", "MI", "->", "getOpcode", "(", ")", ";", "MachineInstr", "*", "NewMI", "=", "NULL", ";", "switch", "(", "Opc", ")", "{", "default", ":", "break", ";", "case", "Alpha", "::", "BISr", ":", "case", "Alpha", "::", "CPYSS", ":", "case", "Alpha", "::", "CPYST", ":", "if", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", "{", "if", "(", "Ops", "[", "0", "]", "==", "0", ")", "{", "unsigned", "InReg", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "bool", "isKill", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "isKill", "(", ")", ";", "Opc", "=", "(", "Opc", "==", "Alpha", "::", "BISr", ")", "?", "Alpha", "::", "STQ", ":", "(", "(", "Opc", "==", "Alpha", "::", "CPYSS", ")", "?", "Alpha", "::", "STS", ":", "Alpha", "::", "STT", ")", ";", "NewMI", "=", "BuildMI", "(", "MF", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "get", "(", "Opc", ")", ")", ".", "addReg", "(", "InReg", ",", "false", ",", "false", ",", "isKill", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addReg", "(", "Alpha", "::", "F31", ")", ";", "}", "else", "{", "unsigned", "OutReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "bool", "isDead", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "isDead", "(", ")", ";", "Opc", "=", "(", "Opc", "==", "Alpha", "::", "BISr", ")", "?", "Alpha", "::", "LDQ", ":", "(", "(", "Opc", "==", "Alpha", "::", "CPYSS", ")", "?", "Alpha", "::", "LDS", ":", "Alpha", "::", "LDT", ")", ";", "NewMI", "=", "BuildMI", "(", "MF", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "get", "(", "Opc", ")", ")", ".", "addReg", "(", "OutReg", ",", "true", ",", "false", ",", "false", ",", "isDead", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addReg", "(", "Alpha", "::", "F31", ")", ";", "}", "}", "break", ";", "}", "return", "NewMI", ";", "}", ""], "natrual_language": ["foldMemoryOperand", "-", "Same", "as", "the", "previous", "version", "except", "it", "allows", "folding", "of", "any", "load", "and", "store", "from", "/", "to", "any", "address", ",", "not", "just", "from", "a", "specific", "stack", "slot", "."], "TS_V_token": ["Alpha", "Alpha", "1", "Alpha::BISr", "Alpha::CPYSS", "Alpha::CPYST", "1", "2", "0", "0", "1", "1", "Alpha::BISr", "Alpha::STQ", "Alpha::CPYSS", "Alpha::STS", "Alpha::STT", "Alpha::F31", "0", "0", "Alpha::BISr", "Alpha::LDQ", "Alpha::CPYSS", "Alpha::LDS", "Alpha::LDT", "Alpha::F31"], "File": "AlphaInstrInfo6", "Func": "foldMemoryOperandImpl", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1907, "Length": 330, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "VETargetLowering", "::", "getPICJumpTableRelocBase", "(", "SDValue", "Table", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "assert", "(", "isPositionIndependent", "(", ")", ")", ";", "SDLoc", "DL", "(", "Table", ")", ";", "Function", "*", "Function", "=", "&", "DAG", ".", "getMachineFunction", "(", ")", ".", "getFunction", "(", ")", ";", "assert", "(", "Function", "!=", "nullptr", ")", ";", "auto", "PtrTy", "=", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ",", "Function", "->", "getAddressSpace", "(", ")", ")", ";", "SDValue", "Op", "=", "DAG", ".", "getGlobalAddress", "(", "Function", ",", "DL", ",", "PtrTy", ")", ";", "SDValue", "HiLo", "=", "makeHiLoPair", "(", "Op", ",", "VEMCExpr", "::", "VK_VE_GOTOFF_HI32", ",", "VEMCExpr", "::", "VK_VE_GOTOFF_LO32", ",", "DAG", ")", ";", "SDValue", "GlobalBase", "=", "DAG", ".", "getNode", "(", "VEISD", "::", "GLOBAL_BASE_REG", ",", "DL", ",", "PtrTy", ")", ";", "return", "DAG", ".", "getNode", "(", "ISD", "::", "ADD", ",", "DL", ",", "PtrTy", ",", "GlobalBase", ",", "HiLo", ")", ";", "}", ""], "natrual_language": ["Returns", "relocation", "base", "for", "the", "given", "PIC", "jumptable", "."], "TS_V_token": ["VE", "VE", "VE", "VE", "VE", "VE", "VEISD::GLOBAL_BASE_REG", "ISD::ADD"], "File": "VEISelLowering11", "Func": "getPICJumpTableRelocBase", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1908, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "MSP430DAGToDAGISel", "::", "Select", "(", "SDValue", "Op", ")", "{", "SDNode", "*", "Node", "=", "Op", ".", "getNode", "(", ")", ";", "DebugLoc", "dl", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "DOUT", "(", "llvm", "::", "dbgs", "(", ")", "<<", "std", "::", "string", "(", "Indent", ",", "' '", ")", "<<", "\"Selecting: \"", ";", "DEBUG", "(", "Node", "->", "dump", "(", "CurDAG", ")", ")", ";", "DOUT", "(", "llvm", "::", "dbgs", "(", ")", "<<", "\"\\n\"", ";", "Indent", "+=", "2", ";", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "DOUT", "(", "llvm", "::", "dbgs", "(", ")", "<<", "std", "::", "string", "(", "Indent", "-", "2", ",", "' '", ")", "<<", "\"== \"", ";", "DEBUG", "(", "Node", "->", "dump", "(", "CurDAG", ")", ")", ";", "DOUT", "(", "llvm", "::", "dbgs", "(", ")", "<<", "\"\\n\"", ";", "Indent", "-=", "2", ";", "return", "NULL", ";", "}", "switch", "(", "Node", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "FrameIndex", ":", "{", "assert", "(", "Op", ".", "getValueType", "(", ")", "==", "MVT", "::", "i16", ")", ";", "int", "FI", "=", "cast", "<", "FrameIndexSDNode", ">", "(", "Node", ")", "->", "getIndex", "(", ")", ";", "SDValue", "TFI", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FI", ",", "MVT", "::", "i16", ")", ";", "if", "(", "Node", "->", "hasOneUse", "(", ")", ")", "return", "CurDAG", "->", "SelectNodeTo", "(", "Node", ",", "MSP430", "::", "ADD16ri", ",", "MVT", "::", "i16", ",", "TFI", ",", "CurDAG", "->", "getTargetConstant", "(", "0", ",", "MVT", "::", "i16", ")", ")", ";", "return", "CurDAG", "->", "getTargetNode", "(", "MSP430", "::", "ADD16ri", ",", "dl", ",", "MVT", "::", "i16", ",", "TFI", ",", "CurDAG", "->", "getTargetConstant", "(", "0", ",", "MVT", "::", "i16", ")", ")", ";", "}", "}", "SDNode", "*", "ResNode", "=", "SelectCode", "(", "Op", ")", ";", "DOUT", "(", "llvm", "::", "dbgs", "(", ")", "<<", "std", "::", "string", "(", "Indent", "-", "2", ",", "' '", ")", "<<", "\"=> \"", ";", "if", "(", "ResNode", "==", "NULL", "||", "ResNode", "==", "Op", ".", "getNode", "(", ")", ")", "DEBUG", "(", "Op", ".", "getNode", "(", ")", "->", "dump", "(", "CurDAG", ")", ")", ";", "else", "DEBUG", "(", "ResNode", "->", "dump", "(", "CurDAG", ")", ")", ";", "DOUT", "(", "llvm", "::", "dbgs", "(", ")", "<<", "\"\\n\"", ";", "Indent", "-=", "2", ";", "return", "ResNode", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["MSP430", "MSP430", "\"Selecting: \"", "\"\\n\"", "2", "2", "\"== \"", "\"\\n\"", "2", "ISD::FrameIndex", "MVT::i16", "MVT::i16", "MSP430::ADD16ri", "MVT::i16", "0", "MVT::i16", "MSP430::ADD16ri", "MVT::i16", "0", "MVT::i16", "2", "\"=> \"", "\"\\n\"", "2"], "File": "MSP430ISelDAGToDAG31", "Func": "Select", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1909, "Length": 346, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "DestReg", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "SmallVector", "<", "MachineInstr", "*", ",", "4", ">", "NewMIs", ";", "DebugLoc", "DL", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "LoadRegFromStackSlot", "(", "MF", ",", "DL", ",", "DestReg", ",", "FrameIdx", ",", "RC", ",", "NewMIs", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "NewMIs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "MBB", ".", "insert", "(", "MI", ",", "NewMIs", "[", "i", "]", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "*", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "FrameIdx", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FrameIdx", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FrameIdx", ")", ")", ";", "NewMIs", ".", "back", "(", ")", "->", "addMemOperand", "(", "MF", ",", "MMO", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["PowerPC", "PPC", "4", "0"], "File": "PPCInstrInfo110", "Func": "loadRegFromStackSlot", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1910, "Length": 182, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "eligible_for_return_delay", "(", "rtx", "trial", ")", "{", "rtx", "pat", ";", "if", "(", "GET_CODE", "(", "trial", ")", "!=", "INSN", "||", "GET_CODE", "(", "PATTERN", "(", "trial", ")", ")", "!=", "SET", ")", "return", "0", ";", "if", "(", "get_attr_length", "(", "trial", ")", "!=", "1", ")", "return", "0", ";", "if", "(", "num_gfregs", ")", "return", "0", ";", "if", "(", "current_function_calls_eh_return", ")", "return", "0", ";", "if", "(", "sparc_leaf_function_p", ")", "return", "get_attr_in_uncond_branch_delay", "(", "trial", ")", "==", "IN_UNCOND_BRANCH_DELAY_TRUE", ";", "pat", "=", "PATTERN", "(", "trial", ")", ";", "if", "(", "GET_CODE", "(", "SET_DEST", "(", "pat", ")", ")", "!=", "REG", "||", "(", "REGNO", "(", "SET_DEST", "(", "pat", ")", ")", ">=", "8", "&&", "REGNO", "(", "SET_DEST", "(", "pat", ")", ")", "<", "24", ")", ")", "return", "0", ";", "if", "(", "REGNO", "(", "SET_DEST", "(", "pat", ")", ")", ">=", "32", ")", "return", "(", "TARGET_V9", "&&", "!", "epilogue_renumber", "(", "&", "pat", ",", "1", ")", "&&", "(", "get_attr_in_uncond_branch_delay", "(", "trial", ")", "==", "IN_UNCOND_BRANCH_DELAY_TRUE", ")", ")", ";", "return", "eligible_for_restore_insn", "(", "trial", ",", "true", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "TRIAL", "can", "go", "into", "the", "function", "return", "'s", "delay", "slot", "."], "TS_V_token": ["sparc", "0", "1", "0", "0", "0", "8", "24", "0", "32", "1"], "File": "sparc3", "Func": "eligible_for_return_delay", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1911, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "hasLowDefLatency", "(", "const", "TargetSchedModel", "&", "SchedModel", ",", "const", "MachineInstr", "&", "DefMI", ",", "unsigned", "DefIdx", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["Compute", "operand", "latency", "of", "a", "def", "of", "'Reg", "'", "."], "TS_V_token": ["PowerPC"], "File": "PPCInstrInfo (2)2", "Func": "hasLowDefLatency", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1912, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "csky_output_mi_thunk", "(", "FILE", "*", "file", ",", "tree", "thunk", "ATTRIBUTE_UNUSED", ",", "HOST_WIDE_INT", "delta", ",", "HOST_WIDE_INT", "vcall_offset", ",", "tree", "function", ")", "{", "const", "char", "*", "fnname", "=", "IDENTIFIER_POINTER", "(", "DECL_ASSEMBLER_NAME", "(", "thunk", ")", ")", ";", "const", "char", "*", "thiz", "=", "\"a0\"", ";", "const", "char", "*", "reg0", "=", "\"t0\"", ";", "const", "char", "*", "reg1", "=", "\"t1\"", ";", "int", "maxoff", "=", "4096", ";", "assemble_start_function", "(", "thunk", ",", "fnname", ")", ";", "final_start_function", "(", "emit_barrier", "(", ")", ",", "file", ",", "1", ")", ";", "rtx", "fnaddr", "=", "XEXP", "(", "DECL_RTL", "(", "function", ")", ",", "0", ")", ";", "if", "(", "CSKY_TARGET_ARCH", "(", "CK801", ")", ")", "{", "reg0", "=", "\"l0\"", ";", "reg1", "=", "\"l1\"", ";", "maxoff", "=", "256", ";", "if", "(", "vcall_offset", ">", "maxoff", "||", "vcall_offset", "<", "-", "maxoff", ")", "fprintf", "(", "file", ",", "\"\\tpush\\tl0, l1\\n\"", ")", ";", "else", "if", "(", "delta", ">", "maxoff", "||", "delta", "<", "-", "maxoff", ")", "fprintf", "(", "file", ",", "\"\\tpush\\tl0\\n\"", ")", ";", "}", "if", "(", "aggregate_value_p", "(", "TREE_TYPE", "(", "TREE_TYPE", "(", "function", ")", ")", ",", "function", ")", ")", "thiz", "=", "\"a1\"", ";", "if", "(", "delta", "!=", "0", ")", "{", "if", "(", "delta", ">", "maxoff", "||", "delta", "<", "-", "maxoff", ")", "{", "fprintf", "(", "file", ",", "\"\\tlrw\\t%s, %ld\\n\"", ",", "reg0", ",", "(", "long", ")", "delta", ")", ";", "fprintf", "(", "file", ",", "\"\\taddu\\t%s, %s, %s\\n\"", ",", "thiz", ",", "thiz", ",", "reg0", ")", ";", "}", "else", "fprintf", "(", "file", ",", "\"\\t%s\\t%s, %s, %ld\\n\"", ",", "(", "delta", ">", "0", "?", "\"addi\"", ":", "\"subi\"", ")", ",", "thiz", ",", "thiz", ",", "(", "long", ")", "(", "delta", ">", "0", "?", "delta", ":", "-", "delta", ")", ")", ";", "}", "if", "(", "vcall_offset", "!=", "0", ")", "{", "fprintf", "(", "file", ",", "\"\\tld.w\\t%s, (%s, 0)\\n\"", ",", "reg0", ",", "thiz", ")", ";", "if", "(", "vcall_offset", ">", "maxoff", "||", "vcall_offset", "<", "-", "maxoff", ")", "{", "fprintf", "(", "file", ",", "\"\\tlrw\\t%s, %ld\\n\"", ",", "reg1", ",", "(", "long", ")", "vcall_offset", ")", ";", "fprintf", "(", "file", ",", "\"\\taddu\\t%s, %s, %s\\n\"", ",", "reg0", ",", "reg0", ",", "reg1", ")", ";", "}", "else", "fprintf", "(", "file", ",", "\"\\t%s\\t%s, %s, %ld\\n\"", ",", "(", "vcall_offset", ">", "0", "?", "\"addi\"", ":", "\"subi\"", ")", ",", "reg0", ",", "reg0", ",", "(", "long", ")", "(", "vcall_offset", ">", "0", "?", "vcall_offset", ":", "-", "vcall_offset", ")", ")", ";", "fprintf", "(", "file", ",", "\"\\tld.w\\t%s, (%s, 0)\\n\"", ",", "reg0", ",", "reg0", ")", ";", "fprintf", "(", "file", ",", "\"\\taddu\\t%s, %s, %s\\n\"", ",", "thiz", ",", "thiz", ",", "reg0", ")", ";", "}", "if", "(", "CSKY_TARGET_ARCH", "(", "CK801", ")", ")", "{", "if", "(", "vcall_offset", ">", "maxoff", "||", "vcall_offset", "<", "-", "maxoff", ")", "{", "fprintf", "(", "file", ",", "\"\\tld.w\\tl0, (sp, 0)\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\tld.w\\tl1, (sp, 4)\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\taddi\\t sp, sp, 8\\n\"", ")", ";", "}", "else", "if", "(", "delta", ">", "maxoff", "||", "delta", "<", "-", "maxoff", ")", "{", "fprintf", "(", "file", ",", "\"\\tld.w\\tl0, (sp, 0)\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\taddi\\tsp, sp, 4\\n\"", ")", ";", "}", "}", "fprintf", "(", "file", ",", "\"\\tjbr\\t\"", ")", ";", "output_addr_const", "(", "file", ",", "fnaddr", ")", ";", "fprintf", "(", "file", ",", "\"\\n\"", ")", ";", "final_end_function", "(", ")", ";", "assemble_end_function", "(", "thunk", ",", "fnname", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_OUTPUT_MI_THUNK", ".", "Output", "code", "to", "add", "DELTA", "to", "the", "first", "argument", ",", "and", "then", "jump", "to", "FUNCTION", ".", "Used", "for", "C++", "multiple", "inheritance", "."], "TS_V_token": ["csky", "\"a0\"", "\"t0\"", "\"t1\"", "4096", "1", "0", "\"l0\"", "\"l1\"", "256", "\"\\tpush\\tl0, l1\\n\"", "\"\\tpush\\tl0\\n\"", "\"a1\"", "0", "\"\\tlrw\\t%s, %ld\\n\"", "\"\\taddu\\t%s, %s, %s\\n\"", "\"\\t%s\\t%s, %s, %ld\\n\"", "0", "\"addi\"", "\"subi\"", "0", "0", "\"\\tld.w\\t%s, (%s, 0)\\n\"", "\"\\tlrw\\t%s, %ld\\n\"", "\"\\taddu\\t%s, %s, %s\\n\"", "\"\\t%s\\t%s, %s, %ld\\n\"", "0", "\"addi\"", "\"subi\"", "0", "\"\\tld.w\\t%s, (%s, 0)\\n\"", "\"\\taddu\\t%s, %s, %s\\n\"", "\"\\tld.w\\tl0, (sp, 0)\\n\"", "\"\\tld.w\\tl1, (sp, 4)\\n\"", "\"\\taddi\\t sp, sp, 8\\n\"", "\"\\tld.w\\tl0, (sp, 0)\\n\"", "\"\\taddi\\tsp, sp, 4\\n\"", "\"\\tjbr\\t\"", "\"\\n\""], "File": "csky", "Func": "csky_output_mi_thunk", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1913, "Length": 476, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIMCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "verifyInstructionPredicates", "(", "MI", ",", "computeAvailableFeatures", "(", "STI", ".", "getFeatureBits", "(", ")", ")", ")", ";", "uint64_t", "Encoding", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "const", "MCInstrDesc", "&", "Desc", "=", "MCII", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "unsigned", "bytes", "=", "Desc", ".", "getSize", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "bytes", ";", "i", "++", ")", "{", "OS", ".", "write", "(", "(", "uint8_t", ")", "(", "(", "Encoding", ">>", "(", "8", "*", "i", ")", ")", "&", "0xff", ")", ")", ";", "}", "if", "(", "AMDGPU", "::", "isGFX10", "(", "STI", ")", "&&", "Desc", ".", "TSFlags", "&", "SIInstrFlags", "::", "MIMG", ")", "{", "int", "vaddr0", "=", "AMDGPU", "::", "getNamedOperandIdx", "(", "MI", ".", "getOpcode", "(", ")", ",", "AMDGPU", "::", "OpName", "::", "vaddr0", ")", ";", "int", "srsrc", "=", "AMDGPU", "::", "getNamedOperandIdx", "(", "MI", ".", "getOpcode", "(", ")", ",", "AMDGPU", "::", "OpName", "::", "srsrc", ")", ";", "assert", "(", "vaddr0", ">=", "0", "&&", "srsrc", ">", "vaddr0", ")", ";", "unsigned", "NumExtraAddrs", "=", "srsrc", "-", "vaddr0", "-", "1", ";", "unsigned", "NumPadding", "=", "(", "-", "NumExtraAddrs", ")", "&", "3", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "NumExtraAddrs", ";", "++", "i", ")", "OS", ".", "write", "(", "(", "uint8_t", ")", "getMachineOpValue", "(", "MI", ",", "MI", ".", "getOperand", "(", "vaddr0", "+", "1", "+", "i", ")", ",", "Fixups", ",", "STI", ")", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "NumPadding", ";", "++", "i", ")", "OS", ".", "write", "(", "0", ")", ";", "}", "if", "(", "(", "bytes", ">", "8", "&&", "STI", ".", "getFeatureBits", "(", ")", "[", "AMDGPU", "::", "FeatureVOP3Literal", "]", ")", "||", "(", "bytes", ">", "4", "&&", "!", "STI", ".", "getFeatureBits", "(", ")", "[", "AMDGPU", "::", "FeatureVOP3Literal", "]", ")", ")", "return", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "Desc", ".", "getNumOperands", "(", ")", ";", "i", "<", "e", ";", "++", "i", ")", "{", "if", "(", "!", "AMDGPU", "::", "isSISrcOperand", "(", "Desc", ",", "i", ")", ")", "continue", ";", "const", "MCOperand", "&", "Op", "=", "MI", ".", "getOperand", "(", "i", ")", ";", "if", "(", "getLitEncoding", "(", "Op", ",", "Desc", ".", "OpInfo", "[", "i", "]", ",", "STI", ")", "!=", "255", ")", "continue", ";", "int64_t", "Imm", "=", "0", ";", "if", "(", "Op", ".", "isImm", "(", ")", ")", "Imm", "=", "Op", ".", "getImm", "(", ")", ";", "else", "if", "(", "Op", ".", "isExpr", "(", ")", ")", "{", "if", "(", "const", "auto", "*", "C", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Op", ".", "getExpr", "(", ")", ")", ")", "Imm", "=", "C", "->", "getValue", "(", ")", ";", "}", "else", "if", "(", "!", "Op", ".", "isExpr", "(", ")", ")", "llvm_unreachable", "(", "\"Must be immediate or expr\"", ")", ";", "for", "(", "unsigned", "j", "=", "0", ";", "j", "<", "4", ";", "j", "++", ")", "{", "OS", ".", "write", "(", "(", "uint8_t", ")", "(", "(", "Imm", ">>", "(", "8", "*", "j", ")", ")", "&", "0xff", ")", ")", ";", "}", "break", ";", "}", "}", ""], "natrual_language": ["Encode", "the", "given", "Inst", "to", "bytes", "and", "append", "to", "CB", "."], "TS_V_token": ["AMDGPU", "SI", "0", "8", "0xff", "AMDGPU::isGFX10", "SIInstrFlags::MIMG", "AMDGPU::getNamedOperandIdx", "AMDGPU::OpName", "AMDGPU::getNamedOperandIdx", "AMDGPU::OpName", "0", "1", "3", "0", "1", "0", "0", "8", "AMDGPU::FeatureVOP3Literal", "4", "AMDGPU::FeatureVOP3Literal", "0", "AMDGPU::isSISrcOperand", "255", "0", "\"Must be immediate or expr\"", "0", "4", "8", "0xff"], "File": "SIMCCodeEmitter15", "Func": "encodeInstruction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1914, "Length": 493, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_simd_imm_zero_p", "(", "rtx", "x", ",", "machine_mode", "mode", ")", "{", "return", "x", "==", "CONST0_RTX", "(", "mode", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "uniform", "vector", "where", "all", "elements", "are", "either", "the", "floating-point", "constant", "0.0", "or", "the", "integer", "constant", "0", "."], "TS_V_token": ["aarch64"], "File": "aarch642", "Func": "aarch64_simd_imm_zero_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1915, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "canonicalize_vector_int_perm", "(", "const", "struct", "expand_vec_perm_d", "*", "d", ",", "struct", "expand_vec_perm_d", "*", "nd", ")", "{", "int", "i", ";", "machine_mode", "mode", "=", "VOIDmode", ";", "switch", "(", "d", "->", "vmode", ")", "{", "case", "E_V8QImode", ":", "mode", "=", "V4HImode", ";", "break", ";", "case", "E_V16QImode", ":", "mode", "=", "V8HImode", ";", "break", ";", "case", "E_V32QImode", ":", "mode", "=", "V16HImode", ";", "break", ";", "case", "E_V64QImode", ":", "mode", "=", "V32HImode", ";", "break", ";", "case", "E_V4HImode", ":", "mode", "=", "V2SImode", ";", "break", ";", "case", "E_V8HImode", ":", "mode", "=", "V4SImode", ";", "break", ";", "case", "E_V16HImode", ":", "mode", "=", "V8SImode", ";", "break", ";", "case", "E_V32HImode", ":", "mode", "=", "V16SImode", ";", "break", ";", "case", "E_V4SImode", ":", "mode", "=", "V2DImode", ";", "break", ";", "case", "E_V8SImode", ":", "mode", "=", "V4DImode", ";", "break", ";", "case", "E_V16SImode", ":", "mode", "=", "V8DImode", ";", "break", ";", "default", ":", "return", "false", ";", "}", "for", "(", "i", "=", "0", ";", "i", "<", "d", "->", "nelt", ";", "i", "+=", "2", ")", "if", "(", "(", "d", "->", "perm", "[", "i", "]", "&", "1", ")", "||", "d", "->", "perm", "[", "i", "+", "1", "]", "!=", "d", "->", "perm", "[", "i", "]", "+", "1", ")", "return", "false", ";", "nd", "->", "vmode", "=", "mode", ";", "nd", "->", "nelt", "=", "d", "->", "nelt", "/", "2", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nd", "->", "nelt", ";", "i", "++", ")", "nd", "->", "perm", "[", "i", "]", "=", "d", "->", "perm", "[", "2", "*", "i", "]", "/", "2", ";", "if", "(", "GET_MODE_INNER", "(", "mode", ")", "!=", "DImode", ")", "canonicalize_vector_int_perm", "(", "nd", ",", "nd", ")", ";", "if", "(", "nd", "!=", "d", ")", "{", "nd", "->", "one_operand_p", "=", "d", "->", "one_operand_p", ";", "nd", "->", "testing_p", "=", "d", "->", "testing_p", ";", "if", "(", "d", "->", "op0", "==", "d", "->", "op1", ")", "nd", "->", "op0", "=", "nd", "->", "op1", "=", "gen_lowpart", "(", "nd", "->", "vmode", ",", "d", "->", "op0", ")", ";", "else", "{", "nd", "->", "op0", "=", "gen_lowpart", "(", "nd", "->", "vmode", ",", "d", "->", "op0", ")", ";", "nd", "->", "op1", "=", "gen_lowpart", "(", "nd", "->", "vmode", ",", "d", "->", "op1", ")", ";", "}", "if", "(", "d", "->", "testing_p", ")", "nd", "->", "target", "=", "gen_raw_REG", "(", "nd", "->", "vmode", ",", "LAST_VIRTUAL_REGISTER", "+", "1", ")", ";", "else", "nd", "->", "target", "=", "gen_reg_rtx", "(", "nd", "->", "vmode", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["For", "V", "*", "[", "QHS", "]", "Imode", "permutations", ",", "check", "if", "the", "same", "permutation", "ca", "n't", "be", "performed", "in", "a", "2x", ",", "4x", "or", "8x", "wider", "inner", "mode", "."], "TS_V_token": ["i386", "0", "2", "1", "1", "1", "2", "0", "2", "2", "1"], "File": "i386-expand", "Func": "canonicalize_vector_int_perm", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1916, "Length": 374, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetLowering", "::", "getOpndList", "(", "SmallVectorImpl", "<", "SDValue", ">", "&", "Ops", ",", "std", "::", "deque", "<", "std", "::", "pair", "<", "unsigned", ",", "SDValue", ">", ">", "&", "RegsToPass", ",", "bool", "IsPICCall", ",", "bool", "GlobalOrExternal", ",", "bool", "InternalLinkage", ",", "CallLoweringInfo", "&", "CLI", ",", "SDValue", "Callee", ",", "SDValue", "Chain", ")", "const", "{", "if", "(", "IsPICCall", "&&", "!", "InternalLinkage", ")", "{", "unsigned", "GPReg", "=", "Subtarget", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "GP_64", ":", "Mips", "::", "GP", ";", "EVT", "Ty", "=", "Subtarget", ".", "isABI_N64", "(", ")", "?", "MVT", "::", "i64", ":", "MVT", "::", "i32", ";", "RegsToPass", ".", "push_back", "(", "std", "::", "make_pair", "(", "GPReg", ",", "getGlobalReg", "(", "CLI", ".", "DAG", ",", "Ty", ")", ")", ")", ";", "}", "SDValue", "InFlag", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "RegsToPass", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "Chain", "=", "CLI", ".", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "CLI", ".", "DL", ",", "RegsToPass", "[", "i", "]", ".", "first", ",", "RegsToPass", "[", "i", "]", ".", "second", ",", "InFlag", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "}", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "RegsToPass", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "Ops", ".", "push_back", "(", "CLI", ".", "DAG", ".", "getRegister", "(", "RegsToPass", "[", "i", "]", ".", "first", ",", "RegsToPass", "[", "i", "]", ".", "second", ".", "getValueType", "(", ")", ")", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "getTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "getRegisterInfo", "(", ")", ";", "const", "uint32_t", "*", "Mask", "=", "TRI", "->", "getCallPreservedMask", "(", "CLI", ".", "CallConv", ")", ";", "assert", "(", "Mask", "&&", "\"Missing call preserved mask for calling convention\"", ")", ";", "if", "(", "Subtarget", ".", "inMips16HardFloat", "(", ")", ")", "{", "if", "(", "GlobalAddressSDNode", "*", "G", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "CLI", ".", "Callee", ")", ")", "{", "llvm", "::", "StringRef", "Sym", "=", "G", "->", "getGlobal", "(", ")", "->", "getName", "(", ")", ";", "Function", "*", "F", "=", "G", "->", "getGlobal", "(", ")", "->", "getParent", "(", ")", "->", "getFunction", "(", "Sym", ")", ";", "if", "(", "F", "&&", "F", "->", "hasFnAttribute", "(", "\"__Mips16RetHelper\"", ")", ")", "{", "Mask", "=", "MipsRegisterInfo", "::", "getMips16RetHelperMask", "(", ")", ";", "}", "}", "}", "Ops", ".", "push_back", "(", "CLI", ".", "DAG", ".", "getRegisterMask", "(", "Mask", ")", ")", ";", "if", "(", "InFlag", ".", "getNode", "(", ")", ")", "Ops", ".", "push_back", "(", "InFlag", ")", ";", "}", ""], "natrual_language": ["This", "function", "fills", "Ops", ",", "which", "is", "the", "list", "of", "operands", "that", "will", "later", "be", "used", "when", "a", "function", "call", "node", "is", "created", "."], "TS_V_token": ["Mips", "Mips", "Mips::GP_64", "Mips::GP", "MVT::i64", "MVT::i32", "0", "1", "0", "\"Missing call preserved mask for calling convention\"", "Mips", "\"__Mips16RetHelper\"", "Mips", "Mips"], "File": "MipsISelLowering106", "Func": "getOpndList", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1917, "Length": 383, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonInstrInfo", "::", "SubsumesPredicate", "(", "ArrayRef", "<", "MachineOperand", ">", "Pred1", ",", "ArrayRef", "<", "MachineOperand", ">", "Pred2", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "first", "specified", "predicate", "subsumes", "the", "second", ",", "e.g", "."], "TS_V_token": ["Hexagon", "Hexagon"], "File": "HexagonInstrInfo", "Func": "SubsumesPredicate", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1918, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "TargetTransformInfo", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["XCore"], "File": "XCoreTargetTransformInfo4", "Func": "getAnalysisUsage", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1919, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "HOST_WIDE_INT", "ix86_asan_shadow_offset", "(", "void", ")", "{", "return", "SUBTARGET_SHADOW_OFFSET", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_ASAN_SHADOW_OFFSET", "hook", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_asan_shadow_offset", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1920, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "isLegalMaskedLoad", "(", "Type", "*", "DataTy", ")", "{", "Type", "*", "ScalarTy", "=", "DataTy", "->", "getScalarType", "(", ")", ";", "int", "DataWidth", "=", "isa", "<", "PointerType", ">", "(", "ScalarTy", ")", "?", "DL", ".", "getPointerSizeInBits", "(", ")", ":", "ScalarTy", "->", "getPrimitiveSizeInBits", "(", ")", ";", "return", "(", "DataWidth", ">=", "32", "&&", "ST", "->", "hasAVX", "(", ")", ")", "||", "(", "DataWidth", ">=", "8", "&&", "ST", "->", "hasBWI", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "load", "."], "TS_V_token": ["X86", "X86", "32", "8"], "File": "X86TargetTransformInfo105", "Func": "isLegalMaskedLoad", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1921, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "LoongArchRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "auto", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "LoongArchSubtarget", ">", "(", ")", ";", "switch", "(", "Subtarget", ".", "getTargetABI", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unrecognized ABI\"", ")", ";", "case", "LoongArchABI", "::", "ABI_ILP32S", ":", "case", "LoongArchABI", "::", "ABI_LP64S", ":", "return", "CSR_ILP32S_LP64S_SaveList", ";", "case", "LoongArchABI", "::", "ABI_ILP32F", ":", "case", "LoongArchABI", "::", "ABI_LP64F", ":", "return", "CSR_ILP32F_LP64F_SaveList", ";", "case", "LoongArchABI", "::", "ABI_ILP32D", ":", "case", "LoongArchABI", "::", "ABI_LP64D", ":", "return", "CSR_ILP32D_LP64D_SaveList", ";", "}", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["LoongArch", "LoongArch", "LoongArch", "\"Unrecognized ABI\"", "LoongArchABI::ABI_ILP32S", "LoongArchABI::ABI_LP64S", "LoongArchABI::ABI_ILP32F", "LoongArchABI::ABI_LP64F", "LoongArchABI::ABI_ILP32D", "LoongArchABI::ABI_LP64D"], "File": "LoongArchRegisterInfo", "Func": "getCalleeSavedRegs", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1922, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMJITInfo", "::", "Initialize", "(", "const", "MachineFunction", "&", "MF", ",", "bool", "isPIC", ")", "{", "const", "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "ConstPoolId2AddrMap", ".", "resize", "(", "AFI", "->", "getNumPICLabels", "(", ")", ")", ";", "JumpTableId2AddrMap", ".", "resize", "(", "AFI", "->", "getNumJumpTables", "(", ")", ")", ";", "IsPIC", "=", "isPIC", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM"], "File": "ARMJITInfo", "Func": "Initialize", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1923, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"WebAssembly CFG Stackify\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["WebAssembly", "\"WebAssembly CFG Stackify\""], "File": "WebAssemblyCFGStackify (2)2", "Func": "getPassName", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1924, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "n10_consumed_by_ex_dep_p", "(", "rtx_insn", "*", "consumer", ",", "rtx", "def_reg", ")", "{", "rtx", "use_rtx", ";", "switch", "(", "get_attr_type", "(", "consumer", ")", ")", "{", "case", "TYPE_ALU", ":", "case", "TYPE_PBSAD", ":", "case", "TYPE_MUL", ":", "case", "TYPE_DALU", ":", "case", "TYPE_DALU64", ":", "case", "TYPE_DMUL", ":", "case", "TYPE_DPACK", ":", "case", "TYPE_DINSB", ":", "case", "TYPE_DCMP", ":", "case", "TYPE_DCLIP", ":", "case", "TYPE_DALUROUND", ":", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "break", ";", "case", "TYPE_ALU_SHIFT", ":", "use_rtx", "=", "extract_shift_reg", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_PBSADA", ":", "return", "pbsada_insn_ra_rb_dep_reg_p", "(", "consumer", ",", "def_reg", ")", ";", "case", "TYPE_MAC", ":", "case", "TYPE_DMAC", ":", "use_rtx", "=", "extract_mac_non_acc_rtx", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_DIV", ":", "if", "(", "divmod_p", "(", "consumer", ")", ")", "use_rtx", "=", "SET_SRC", "(", "parallel_element", "(", "consumer", ",", "0", ")", ")", ";", "else", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "break", ";", "case", "TYPE_DWEXT", ":", "return", "wext_odd_dep_p", "(", "consumer", ",", "def_reg", ")", ";", "case", "TYPE_DBPICK", ":", "return", "bpick_ra_rb_dep_p", "(", "consumer", ",", "def_reg", ")", ";", "case", "TYPE_MMU", ":", "if", "(", "GET_CODE", "(", "PATTERN", "(", "consumer", ")", ")", "==", "SET", ")", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "else", "return", "true", ";", "break", ";", "case", "TYPE_LOAD", ":", "case", "TYPE_STORE", ":", "use_rtx", "=", "extract_mem_rtx", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_LOAD_MULTIPLE", ":", "case", "TYPE_STORE_MULTIPLE", ":", "use_rtx", "=", "extract_base_reg", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_BRANCH", ":", "use_rtx", "=", "PATTERN", "(", "consumer", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "reg_overlap_p", "(", "def_reg", ",", "use_rtx", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Check", "the", "dependency", "between", "the", "producer", "defining", "DEF_REG", "and", "CONSUMER", "requiring", "input", "operand", "at", "EX", "."], "TS_V_token": ["nds32", "0"], "File": "nds32-pipelines-auxiliary", "Func": "n10_consumed_by_ex_dep_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1925, "Length": 258, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "h8300_mode_dependent_address_p", "(", "const_rtx", "addr", ",", "addr_space_t", "as", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PLUS", "&&", "h8300_get_index", "(", "XEXP", "(", "addr", ",", "0", ")", ",", "VOIDmode", ",", "0", ")", "!=", "XEXP", "(", "addr", ",", "0", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_MODE_DEPENDENT_ADDRESS_P", ".", "On", "the", "H8/300", ",", "the", "predecrement", "and", "postincrement", "address", "depend", "thus", "(", "the", "amount", "of", "decrement", "or", "increment", "being", "the", "length", "of", "the", "operand", ")", "."], "TS_V_token": ["h8300", "0", "0", "0"], "File": "h8300", "Func": "h8300_mode_dependent_address_p", "Target": "h8300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1926, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "HexagonSelectionDAGInfo", "::", "EmitTargetCodeForMemcpy", "(", "SelectionDAG", "&", "DAG", ",", "SDLoc", "dl", ",", "SDValue", "Chain", ",", "SDValue", "Dst", ",", "SDValue", "Src", ",", "SDValue", "Size", ",", "unsigned", "Align", ",", "bool", "isVolatile", ",", "bool", "AlwaysInline", ",", "MachinePointerInfo", "DstPtrInfo", ",", "MachinePointerInfo", "SrcPtrInfo", ")", "const", "{", "flag_aligned_memcpy", "=", "false", ";", "if", "(", "(", "Align", "&", "0x3", ")", "==", "0", ")", "{", "ConstantSDNode", "*", "ConstantSize", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Size", ")", ";", "if", "(", "ConstantSize", ")", "{", "uint64_t", "SizeVal", "=", "ConstantSize", "->", "getZExtValue", "(", ")", ";", "if", "(", "(", "SizeVal", ">", "32", ")", "&&", "(", "(", "SizeVal", "%", "8", ")", "==", "0", ")", ")", "flag_aligned_memcpy", "=", "true", ";", "}", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memcpy", "."], "TS_V_token": ["Hexagon", "Hexagon", "0x3", "0", "32", "8", "0"], "File": "HexagonSelectionDAGInfo", "Func": "EmitTargetCodeForMemcpy", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1927, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "Z80TargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "NULL", ";", "case", "Z80ISD", "::", "WRAPPER", ":", "return", "\"Z80ISD::WRAPPER\"", ";", "case", "Z80ISD", "::", "SCF", ":", "return", "\"Z80ISD::SCF\"", ";", "case", "Z80ISD", "::", "CCF", ":", "return", "\"Z80ISD::CCF\"", ";", "case", "Z80ISD", "::", "RLC", ":", "return", "\"Z80ISD::RLC\"", ";", "case", "Z80ISD", "::", "RRC", ":", "return", "\"Z80ISD::RRC\"", ";", "case", "Z80ISD", "::", "RL", ":", "return", "\"Z80ISD::RL\"", ";", "case", "Z80ISD", "::", "RR", ":", "return", "\"Z80ISD::RR\"", ";", "case", "Z80ISD", "::", "SLA", ":", "return", "\"Z80ISD::SLA\"", ";", "case", "Z80ISD", "::", "SRA", ":", "return", "\"Z80ISD::SRA\"", ";", "case", "Z80ISD", "::", "SLL", ":", "return", "\"Z80ISD::SLL\"", ";", "case", "Z80ISD", "::", "SRL", ":", "return", "\"Z80ISD::SRL\"", ";", "case", "Z80ISD", "::", "SHL", ":", "return", "\"Z80ISD::SHL\"", ";", "case", "Z80ISD", "::", "LSHR", ":", "return", "\"Z80ISD::LSHR\"", ";", "case", "Z80ISD", "::", "ASHR", ":", "return", "\"Z80ISD::ASHR\"", ";", "case", "Z80ISD", "::", "CP", ":", "return", "\"Z80ISD::CP\"", ";", "case", "Z80ISD", "::", "SELECT_CC", ":", "return", "\"Z80ISD::SELECT_CC\"", ";", "case", "Z80ISD", "::", "BR_CC", ":", "return", "\"Z80ISD::BR_CC\"", ";", "case", "Z80ISD", "::", "CALL", ":", "return", "\"Z80ISD::CALL\"", ";", "case", "Z80ISD", "::", "RET", ":", "return", "\"Z80ISD::RET\"", ";", "}", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["Z80", "Z80", "Z80ISD::WRAPPER", "\"Z80ISD::WRAPPER\"", "Z80ISD::SCF", "\"Z80ISD::SCF\"", "Z80ISD::CCF", "\"Z80ISD::CCF\"", "Z80ISD::RLC", "\"Z80ISD::RLC\"", "Z80ISD::RRC", "\"Z80ISD::RRC\"", "Z80ISD::RL", "\"Z80ISD::RL\"", "Z80ISD::RR", "\"Z80ISD::RR\"", "Z80ISD::SLA", "\"Z80ISD::SLA\"", "Z80ISD::SRA", "\"Z80ISD::SRA\"", "Z80ISD::SLL", "\"Z80ISD::SLL\"", "Z80ISD::SRL", "\"Z80ISD::SRL\"", "Z80ISD::SHL", "\"Z80ISD::SHL\"", "Z80ISD::LSHR", "\"Z80ISD::LSHR\"", "Z80ISD::ASHR", "\"Z80ISD::ASHR\"", "Z80ISD::CP", "\"Z80ISD::CP\"", "Z80ISD::SELECT_CC", "\"Z80ISD::SELECT_CC\"", "Z80ISD::BR_CC", "\"Z80ISD::BR_CC\"", "Z80ISD::CALL", "\"Z80ISD::CALL\"", "Z80ISD::RET", "\"Z80ISD::RET\""], "File": "Z80ISelLowering (2)", "Func": "getTargetNodeName", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1928, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "AArch64FrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "unsigned", "&", "FrameReg", ")", "const", "{", "return", "resolveFrameIndexReference", "(", "MF", ",", "FI", ",", "FrameReg", ",", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "Attribute", "::", "SanitizeHWAddress", ")", ",", "false", ")", ";", "}", ""], "natrual_language": ["getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64FrameLowering37", "Func": "getFrameIndexReference", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1929, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SystemZRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZSubtarget", "Func": "getRegisterInfo", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1930, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "HexagonGOT", "&", "HexagonLDBackend", "::", "getGOT", "(", ")", "const", "{", "assert", "(", "m_pGOT", "!=", "NULL", ")", ";", "return", "*", "m_pGOT", ";", "}", ""], "natrual_language": ["Return", "a", "pseudo", "source", "value", "referencing", "the", "global", "offset", "table", "(", "or", "something", "the", "like", ")", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon"], "File": "HexagonLDBackend", "Func": "getGOT", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1931, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "MCFixupKind", ">", "RISCVAsmBackend", "::", "getFixupKind", "(", "StringRef", "Name", ")", "const", "{", "if", "(", "STI", ".", "getTargetTriple", "(", ")", ".", "isOSBinFormatELF", "(", ")", ")", "{", "unsigned", "Type", ";", "Type", "=", "llvm", "::", "StringSwitch", "<", "unsigned", ">", "(", "Name", ")", ".", "Case", "(", "\"BFD_RELOC_NONE\"", ",", "ELF", "::", "R_RISCV_NONE", ")", ".", "Case", "(", "\"BFD_RELOC_32\"", ",", "ELF", "::", "R_RISCV_32", ")", ".", "Case", "(", "\"BFD_RELOC_64\"", ",", "ELF", "::", "R_RISCV_64", ")", ".", "Default", "(", "-", "1u", ")", ";", "if", "(", "Type", "!=", "-", "1u", ")", "return", "static_cast", "<", "MCFixupKind", ">", "(", "FirstLiteralRelocationKind", "+", "Type", ")", ";", "}", "return", "None", ";", "}", ""], "natrual_language": ["getFixupKind", "-", "Get", "the", "fixup", "kind", "of", "this", "expression", "."], "TS_V_token": ["RISCV", "RISCV", "\"BFD_RELOC_NONE\"", "RISCV", "\"BFD_RELOC_32\"", "RISCV", "\"BFD_RELOC_64\"", "RISCV", "1u", "1u"], "File": "RISCVAsmBackend14", "Func": "getFixupKind", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1932, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "const", "TargetRegisterClass", "*", ",", "uint8_t", ">", "X86TargetLowering", "::", "findRepresentativeClass", "(", "MVT", "VT", ")", "const", "{", "const", "TargetRegisterClass", "*", "RRC", "=", "nullptr", ";", "uint8_t", "Cost", "=", "1", ";", "switch", "(", "VT", ".", "SimpleTy", ")", "{", "default", ":", "return", "TargetLowering", "::", "findRepresentativeClass", "(", "VT", ")", ";", "case", "MVT", "::", "i8", ":", "case", "MVT", "::", "i16", ":", "case", "MVT", "::", "i32", ":", "case", "MVT", "::", "i64", ":", "RRC", "=", "Subtarget", "->", "is64Bit", "(", ")", "?", "(", "const", "TargetRegisterClass", "*", ")", "&", "X86", "::", "GR64RegClass", ":", "(", "const", "TargetRegisterClass", "*", ")", "&", "X86", "::", "GR32RegClass", ";", "break", ";", "case", "MVT", "::", "x86mmx", ":", "RRC", "=", "&", "X86", "::", "VR64RegClass", ";", "break", ";", "case", "MVT", "::", "f32", ":", "case", "MVT", "::", "f64", ":", "case", "MVT", "::", "v16i8", ":", "case", "MVT", "::", "v8i16", ":", "case", "MVT", "::", "v4i32", ":", "case", "MVT", "::", "v2i64", ":", "case", "MVT", "::", "v4f32", ":", "case", "MVT", "::", "v2f64", ":", "case", "MVT", "::", "v32i8", ":", "case", "MVT", "::", "v8i32", ":", "case", "MVT", "::", "v4i64", ":", "case", "MVT", "::", "v8f32", ":", "case", "MVT", "::", "v4f64", ":", "RRC", "=", "&", "X86", "::", "VR128RegClass", ";", "break", ";", "}", "return", "std", "::", "make_pair", "(", "RRC", ",", "Cost", ")", ";", "}", ""], "natrual_language": ["Return", "the", "largest", "legal", "super-reg", "register", "class", "of", "the", "register", "class", "for", "the", "specified", "type", "and", "its", "associated", "``", "cost", "''", "."], "TS_V_token": ["X86", "X86", "1", "MVT::i8", "MVT::i16", "MVT::i32", "MVT::i64", "X86::GR64RegClass", "X86::GR32RegClass", "MVT::x86mmx", "X86::VR64RegClass", "MVT::f32", "MVT::f64", "MVT::v16i8", "MVT::v8i16", "MVT::v4i32", "MVT::v2i64", "MVT::v4f32", "MVT::v2f64", "MVT::v32i8", "MVT::v8i32", "MVT::v4i64", "MVT::v8f32", "MVT::v4f64", "X86::VR128RegClass"], "File": "X86ISelLowering (2)", "Func": "findRepresentativeClass", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1933, "Length": 198, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "GBZ80MCExpr", "::", "getName", "(", ")", "const", "{", "const", "auto", "&", "Modifier", "=", "std", "::", "find_if", "(", "std", "::", "begin", "(", "ModifierNames", ")", ",", "std", "::", "end", "(", "ModifierNames", ")", ",", "[", "this", "]", "(", "ModifierEntry", "const", "&", "Mod", ")", "{", "return", "Mod", ".", "VariantKind", "==", "Kind", ";", "}", ")", ";", "if", "(", "Modifier", "!=", "std", "::", "end", "(", "ModifierNames", ")", ")", "{", "return", "Modifier", "->", "Spelling", ";", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["Return", "a", "string", "with", "the", "name", "of", "the", "plan", "and", "the", "applicable", "VFs", "and", "UFs", "."], "TS_V_token": ["GBZ80", "GB"], "File": "GBZ80MCExpr", "Func": "getName", "Target": "GBZ80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1934, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "epiphany_function_ok_for_sibcall", "(", "tree", "decl", ",", "tree", "exp", ")", "{", "bool", "cfun_interrupt_p", ",", "call_interrupt_p", ";", "cfun_interrupt_p", "=", "EPIPHANY_INTERRUPT_P", "(", "epiphany_compute_function_type", "(", "current_function_decl", ")", ")", ";", "if", "(", "decl", ")", "call_interrupt_p", "=", "EPIPHANY_INTERRUPT_P", "(", "epiphany_compute_function_type", "(", "decl", ")", ")", ";", "else", "{", "tree", "fn_type", "=", "TREE_TYPE", "(", "CALL_EXPR_FN", "(", "exp", ")", ")", ";", "gcc_assert", "(", "POINTER_TYPE_P", "(", "fn_type", ")", ")", ";", "fn_type", "=", "TREE_TYPE", "(", "fn_type", ")", ";", "gcc_assert", "(", "TREE_CODE", "(", "fn_type", ")", "==", "FUNCTION_TYPE", "||", "TREE_CODE", "(", "fn_type", ")", "==", "METHOD_TYPE", ")", ";", "call_interrupt_p", "=", "lookup_attribute", "(", "\"interrupt\"", ",", "TYPE_ATTRIBUTES", "(", "fn_type", ")", ")", "!=", "NULL", ";", "}", "if", "(", "cfun_interrupt_p", "||", "call_interrupt_p", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "it", "is", "ok", "to", "make", "a", "tail-call", "to", "DECL", "."], "TS_V_token": ["epiphany", "\"interrupt\""], "File": "epiphany", "Func": "epiphany_function_ok_for_sibcall", "Target": "epiphany", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1935, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "must_save_fp_p", "(", "void", ")", "{", "return", "frame_pointer_needed", "||", "regs_ever_live", "[", "REG_FP", "]", ";", "}", ""], "natrual_language": ["Determine", "if", "we", "are", "going", "to", "save", "the", "frame", "pointer", "in", "the", "prologue", "."], "TS_V_token": ["bfin"], "File": "bfin2", "Func": "must_save_fp_p", "Target": "bfin", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 1936, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "BPFDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "unsigned", "Opcode", "=", "Node", "->", "getOpcode", "(", ")", ";", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"== \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "dbgs", "(", ")", "<<", "'\\n'", ")", ";", "return", ";", "}", "switch", "(", "Opcode", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "SDIV", ":", "{", "DebugLoc", "Empty", ";", "const", "DebugLoc", "&", "DL", "=", "Node", "->", "getDebugLoc", "(", ")", ";", "if", "(", "DL", "!=", "Empty", ")", "errs", "(", ")", "<<", "\"Error at line \"", "<<", "DL", ".", "getLine", "(", ")", "<<", "\": \"", ";", "else", "errs", "(", ")", "<<", "\"Error: \"", ";", "errs", "(", ")", "<<", "\"Unsupport signed division for DAG: \"", ";", "Node", "->", "print", "(", "errs", "(", ")", ",", "CurDAG", ")", ";", "errs", "(", ")", "<<", "\"Please convert to unsigned div/mod.\\n\"", ";", "break", ";", "}", "case", "ISD", "::", "INTRINSIC_W_CHAIN", ":", "{", "unsigned", "IntNo", "=", "cast", "<", "ConstantSDNode", ">", "(", "Node", "->", "getOperand", "(", "1", ")", ")", "->", "getZExtValue", "(", ")", ";", "switch", "(", "IntNo", ")", "{", "case", "Intrinsic", "::", "bpf_load_byte", ":", "case", "Intrinsic", "::", "bpf_load_half", ":", "case", "Intrinsic", "::", "bpf_load_word", ":", "{", "SDLoc", "DL", "(", "Node", ")", ";", "SDValue", "Chain", "=", "Node", "->", "getOperand", "(", "0", ")", ";", "SDValue", "N1", "=", "Node", "->", "getOperand", "(", "1", ")", ";", "SDValue", "Skb", "=", "Node", "->", "getOperand", "(", "2", ")", ";", "SDValue", "N3", "=", "Node", "->", "getOperand", "(", "3", ")", ";", "SDValue", "R6Reg", "=", "CurDAG", "->", "getRegister", "(", "BPF", "::", "R6", ",", "MVT", "::", "i64", ")", ";", "Chain", "=", "CurDAG", "->", "getCopyToReg", "(", "Chain", ",", "DL", ",", "R6Reg", ",", "Skb", ",", "SDValue", "(", ")", ")", ";", "Node", "=", "CurDAG", "->", "UpdateNodeOperands", "(", "Node", ",", "Chain", ",", "N1", ",", "R6Reg", ",", "N3", ")", ";", "break", ";", "}", "}", "break", ";", "}", "case", "ISD", "::", "FrameIndex", ":", "{", "int", "FI", "=", "cast", "<", "FrameIndexSDNode", ">", "(", "Node", ")", "->", "getIndex", "(", ")", ";", "EVT", "VT", "=", "Node", "->", "getValueType", "(", "0", ")", ";", "SDValue", "TFI", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FI", ",", "VT", ")", ";", "unsigned", "Opc", "=", "BPF", "::", "MOV_rr", ";", "if", "(", "Node", "->", "hasOneUse", "(", ")", ")", "{", "CurDAG", "->", "SelectNodeTo", "(", "Node", ",", "Opc", ",", "VT", ",", "TFI", ")", ";", "return", ";", "}", "ReplaceNode", "(", "Node", ",", "CurDAG", "->", "getMachineNode", "(", "Opc", ",", "SDLoc", "(", "Node", ")", ",", "VT", ",", "TFI", ")", ")", ";", "return", ";", "}", "}", "SelectCode", "(", "Node", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["BPF", "BPF", "\"== \"", "ISD::SDIV", "\"Error at line \"", "\": \"", "\"Error: \"", "\"Unsupport signed division for DAG: \"", "\"Please convert to unsigned div/mod.\\n\"", "ISD::INTRINSIC_W_CHAIN", "1", "Intrinsic::bpf_load_byte", "Intrinsic::bpf_load_half", "Intrinsic::bpf_load_word", "0", "1", "2", "3", "BPF::R6", "MVT::i64", "ISD::FrameIndex", "0", "BPF::MOV_rr"], "File": "BPFISelDAGToDAG10", "Func": "Select", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1937, "Length": 393, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_start_file", "(", "void", ")", "{", "if", "(", "selected_arch", ")", "{", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t.arch %s\"", ",", "selected_arch", "->", "name", ")", ";", "aarch64_print_extension", "(", ")", ";", "}", "else", "if", "(", "selected_cpu", ")", "{", "const", "char", "*", "truncated_name", "=", "aarch64_rewrite_selected_cpu", "(", "selected_cpu", "->", "name", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t.cpu %s\"", ",", "truncated_name", ")", ";", "aarch64_print_extension", "(", ")", ";", "}", "default_file_start", "(", ")", ";", "}", ""], "natrual_language": ["Implements", "TARGET_ASM_FILE_START", ".", "Output", "the", "assembly", "header", "."], "TS_V_token": ["aarch64", "\"\\t.arch %s\"", "\"\\t.cpu %s\""], "File": "aarch642", "Func": "aarch64_start_file", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1938, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_scale_v2df", "(", "rtx", "tgt", ",", "rtx", "src", ",", "int", "scale", ")", "{", "HOST_WIDE_INT", "hwi_scale", "(", "scale", ")", ";", "REAL_VALUE_TYPE", "r_pow", ";", "rtvec", "v", "=", "rtvec_alloc", "(", "2", ")", ";", "rtx", "elt", ";", "rtx", "scale_vec", "=", "gen_reg_rtx", "(", "V2DFmode", ")", ";", "(", "void", ")", "real_powi", "(", "&", "r_pow", ",", "DFmode", ",", "&", "dconst2", ",", "hwi_scale", ")", ";", "elt", "=", "const_double_from_real_value", "(", "r_pow", ",", "DFmode", ")", ";", "RTVEC_ELT", "(", "v", ",", "0", ")", "=", "elt", ";", "RTVEC_ELT", "(", "v", ",", "1", ")", "=", "elt", ";", "rs6000_expand_vector_init", "(", "scale_vec", ",", "gen_rtx_PARALLEL", "(", "V2DFmode", ",", "v", ")", ")", ";", "emit_insn", "(", "gen_mulv2df3", "(", "tgt", ",", "src", ",", "scale_vec", ")", ")", ";", "}", ""], "natrual_language": ["Scale", "a", "V2DF", "vector", "SRC", "by", "two", "to", "the", "SCALE", "and", "place", "in", "TGT", "."], "TS_V_token": ["powerpcspe", "2", "0", "1"], "File": "powerpcspe", "Func": "rs6000_scale_v2df", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1939, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "nios2_address_cost", "(", "rtx", "address", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "addr_space_t", "as", "ATTRIBUTE_UNUSED", ",", "bool", "speed", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "nios2_plus_large_constant_p", "(", "address", ")", ")", "return", "COSTS_N_INSNS", "(", "1", ")", ";", "if", "(", "nios2_large_constant_p", "(", "address", ")", ")", "{", "if", "(", "GET_CODE", "(", "address", ")", "==", "CONST", ")", "return", "COSTS_N_INSNS", "(", "1", ")", ";", "else", "return", "COSTS_N_INSNS", "(", "0", ")", ";", "}", "return", "COSTS_N_INSNS", "(", "0", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ADDRESS_COST", ".", "Experimentation", "has", "shown", "that", "we", "get", "better", "code", "by", "penalizing", "the", "the", "(", "plus", "reg", "symbolic_constant", ")", "and", "(", "plus", "reg", "(", "const", "...", ")", ")", "forms", "but", "giving", "(", "plus", "reg", "symbol_ref", ")", "address", "modes", "the", "same", "cost", "as", "those", "that", "do", "n't", "require", "splitting", ".", "Also", ",", "from", "a", "theoretical", "point", "of", "view", ":", "-", "This", "is", "in", "line", "with", "the", "recommendation", "in", "the", "GCC", "internals", "documentation", "to", "make", "address", "forms", "involving", "multiple", "registers", "more", "expensive", "than", "single-register", "forms", ".", "-", "OTOH", "it", "still", "encourages", "fwprop1", "to", "propagate", "constants", "into", "address", "expressions", "more", "aggressively", ".", "-", "We", "should", "discourage", "splitting", "(", "symbol", "+", "offset", ")", "into", "hi/lo", "pairs", "to", "allow", "CSE'ing", "the", "symbol", "when", "it", "'s", "used", "with", "more", "than", "one", "offset", ",", "but", "not", "so", "heavily", "as", "to", "avoid", "this", "addressing", "mode", "at", "all", "."], "TS_V_token": ["nios2", "1", "1", "0", "0"], "File": "nios2", "Func": "nios2_address_cost", "Target": "nios2", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1940, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonInstrInfo", "::", "doesNotReturn", "(", "const", "MachineInstr", "&", "CallMI", ")", "const", "{", "unsigned", "Opc", "=", "CallMI", ".", "getOpcode", "(", ")", ";", "return", "Opc", "==", "Hexagon", "::", "PS_call_nr", "||", "Opc", "==", "Hexagon", "::", "PS_callr_nr", ";", "}", ""], "natrual_language": ["Determine", "if", "the", "function", "can", "not", "return", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon::PS_call_nr", "Hexagon::PS_callr_nr"], "File": "HexagonInstrInfo (2)2", "Func": "doesNotReturn", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1941, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"WebAssembly Set p2align Operands\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["WebAssembly", "\"WebAssembly Set p2align Operands\""], "File": "WebAssemblySetP2AlignOperands", "Func": "getPassName", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1942, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86FrameLowering", "::", "getFrameIndexReferencePreferSP", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "unsigned", "&", "FrameReg", ",", "bool", "IgnoreSPUpdates", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "MFI", ".", "isFixedObjectIndex", "(", "FI", ")", "&&", "TRI", "->", "needsStackRealignment", "(", "MF", ")", "&&", "!", "STI", ".", "isTargetWin64", "(", ")", ")", "return", "getFrameIndexReference", "(", "MF", ",", "FI", ",", "FrameReg", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "if", "(", "!", "IgnoreSPUpdates", "&&", "!", "TFI", "->", "hasReservedCallFrame", "(", "MF", ")", ")", "return", "getFrameIndexReference", "(", "MF", ",", "FI", ",", "FrameReg", ")", ";", "assert", "(", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "getTCReturnAddrDelta", "(", ")", ">=", "0", "&&", "\"we don't handle this case!\"", ")", ";", "return", "getFrameIndexReferenceSP", "(", "MF", ",", "FI", ",", "FrameReg", ",", "StackSize", ")", ";", "}", ""], "natrual_language": ["Same", "as", "getFrameIndexReference", ",", "except", "that", "the", "stack", "pointer", "(", "as", "opposed", "to", "the", "frame", "pointer", ")", "will", "be", "the", "preferred", "value", "for", "FrameReg", "."], "TS_V_token": ["X86", "X86", "X86", "0", "\"we don't handle this case!\""], "File": "X86FrameLowering (2)2", "Func": "getFrameIndexReferencePreferSP", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1943, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonFrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", "->", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "if", "(", "CSI", ".", "empty", "(", ")", ")", "{", "return", "false", ";", "}", "bool", "ContiguousRegs", "=", "true", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "CSI", ".", "size", "(", ")", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "const", "uint16_t", "*", "SuperReg", "=", "TRI", "->", "getSuperRegisters", "(", "Reg", ")", ";", "const", "TargetRegisterClass", "*", "SuperRegClass", "=", "0", ";", "assert", "(", "SuperReg", "[", "0", "]", "&&", "!", "SuperReg", "[", "1", "]", "&&", "\"Expected exactly one superreg\"", ")", ";", "bool", "CanUseDblLoad", "=", "false", ";", "if", "(", "ContiguousRegs", "&&", "(", "i", "<", "CSI", ".", "size", "(", ")", "-", "1", ")", ")", "{", "const", "uint16_t", "*", "SuperRegNext", "=", "TRI", "->", "getSuperRegisters", "(", "CSI", "[", "i", "+", "1", "]", ".", "getReg", "(", ")", ")", ";", "assert", "(", "SuperRegNext", "[", "0", "]", "&&", "!", "SuperRegNext", "[", "1", "]", "&&", "\"Expected exactly one superreg\"", ")", ";", "SuperRegClass", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "SuperReg", "[", "0", "]", ")", ";", "CanUseDblLoad", "=", "(", "SuperRegNext", "[", "0", "]", "==", "SuperReg", "[", "0", "]", ")", ";", "}", "if", "(", "CanUseDblLoad", ")", "{", "TII", ".", "loadRegFromStackSlot", "(", "MBB", ",", "MI", ",", "SuperReg", "[", "0", "]", ",", "CSI", "[", "i", "+", "1", "]", ".", "getFrameIdx", "(", ")", ",", "SuperRegClass", ",", "TRI", ")", ";", "MBB", ".", "addLiveIn", "(", "SuperReg", "[", "0", "]", ")", ";", "++", "i", ";", "}", "else", "{", "ContiguousRegs", "=", "false", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "TII", ".", "loadRegFromStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "CSI", "[", "i", "]", ".", "getFrameIdx", "(", ")", ",", "RC", ",", "TRI", ")", ";", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["restoreCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "restore", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "load", "instructions", "via", "loadRegToStackSlot", "(", ")", "."], "TS_V_token": ["Hexagon", "Hexagon", "0", "0", "0", "1", "\"Expected exactly one superreg\"", "1", "1", "0", "1", "\"Expected exactly one superreg\"", "0", "0", "0", "0", "1", "0"], "File": "HexagonFrameLowering7", "Func": "restoreCalleeSavedRegisters", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1944, "Length": 330, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isUsedByReturnOnly", "(", "SDNode", "*", "N", ",", "SDValue", "&", "Chain", ")", "const", "{", "if", "(", "N", "->", "getNumValues", "(", ")", "!=", "1", ")", "return", "false", ";", "if", "(", "!", "N", "->", "hasNUsesOfValue", "(", "1", ",", "0", ")", ")", "return", "false", ";", "SDValue", "TCChain", "=", "Chain", ";", "SDNode", "*", "Copy", "=", "*", "N", "->", "use_begin", "(", ")", ";", "if", "(", "Copy", "->", "getOpcode", "(", ")", "==", "ISD", "::", "CopyToReg", ")", "{", "if", "(", "Copy", "->", "getOperand", "(", "Copy", "->", "getNumOperands", "(", ")", "-", "1", ")", ".", "getValueType", "(", ")", "==", "MVT", "::", "Glue", ")", "return", "false", ";", "TCChain", "=", "Copy", "->", "getOperand", "(", "0", ")", ";", "}", "else", "if", "(", "Copy", "->", "getOpcode", "(", ")", "==", "ARMISD", "::", "VMOVRRD", ")", "{", "SDNode", "*", "VMov", "=", "Copy", ";", "SmallPtrSet", "<", "SDNode", "*", ",", "2", ">", "Copies", ";", "for", "(", "SDNode", "::", "use_iterator", "UI", "=", "VMov", "->", "use_begin", "(", ")", ",", "UE", "=", "VMov", "->", "use_end", "(", ")", ";", "UI", "!=", "UE", ";", "++", "UI", ")", "{", "if", "(", "UI", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "CopyToReg", ")", "return", "false", ";", "Copies", ".", "insert", "(", "*", "UI", ")", ";", "}", "if", "(", "Copies", ".", "size", "(", ")", ">", "2", ")", "return", "false", ";", "for", "(", "SDNode", "::", "use_iterator", "UI", "=", "VMov", "->", "use_begin", "(", ")", ",", "UE", "=", "VMov", "->", "use_end", "(", ")", ";", "UI", "!=", "UE", ";", "++", "UI", ")", "{", "SDValue", "UseChain", "=", "UI", "->", "getOperand", "(", "0", ")", ";", "if", "(", "Copies", ".", "count", "(", "UseChain", ".", "getNode", "(", ")", ")", ")", "Copy", "=", "*", "UI", ";", "else", "{", "if", "(", "UI", "->", "getOperand", "(", "UI", "->", "getNumOperands", "(", ")", "-", "1", ")", ".", "getValueType", "(", ")", "==", "MVT", "::", "Glue", ")", "return", "false", ";", "TCChain", "=", "UseChain", ";", "}", "}", "}", "else", "if", "(", "Copy", "->", "getOpcode", "(", ")", "==", "ISD", "::", "BITCAST", ")", "{", "if", "(", "!", "Copy", "->", "hasOneUse", "(", ")", ")", "return", "false", ";", "Copy", "=", "*", "Copy", "->", "use_begin", "(", ")", ";", "if", "(", "Copy", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "CopyToReg", "||", "!", "Copy", "->", "hasNUsesOfValue", "(", "1", ",", "0", ")", ")", "return", "false", ";", "if", "(", "Copy", "->", "getOperand", "(", "Copy", "->", "getNumOperands", "(", ")", "-", "1", ")", ".", "getValueType", "(", ")", "==", "MVT", "::", "Glue", ")", "return", "false", ";", "TCChain", "=", "Copy", "->", "getOperand", "(", "0", ")", ";", "}", "else", "{", "return", "false", ";", "}", "bool", "HasRet", "=", "false", ";", "for", "(", "SDNode", "::", "use_iterator", "UI", "=", "Copy", "->", "use_begin", "(", ")", ",", "UE", "=", "Copy", "->", "use_end", "(", ")", ";", "UI", "!=", "UE", ";", "++", "UI", ")", "{", "if", "(", "UI", "->", "getOpcode", "(", ")", "!=", "ARMISD", "::", "RET_FLAG", "&&", "UI", "->", "getOpcode", "(", ")", "!=", "ARMISD", "::", "INTRET_FLAG", ")", "return", "false", ";", "HasRet", "=", "true", ";", "}", "if", "(", "!", "HasRet", ")", "return", "false", ";", "Chain", "=", "TCChain", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "result", "of", "the", "specified", "node", "is", "used", "by", "a", "return", "node", "only", "."], "TS_V_token": ["ARM", "ARM", "1", "1", "0", "ISD::CopyToReg", "1", "MVT::Glue", "0", "ARMISD::VMOVRRD", "2", "ISD::CopyToReg", "2", "0", "1", "MVT::Glue", "ISD::BITCAST", "ISD::CopyToReg", "1", "0", "1", "MVT::Glue", "0", "ARMISD::RET_FLAG", "ARMISD::INTRET_FLAG"], "File": "ARMISelLowering (2)2", "Func": "isUsedByReturnOnly", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1945, "Length": 477, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "RISCVTargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "const", "SDLoc", "&", "DL", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "switch", "(", "CallConv", ")", "{", "default", ":", "report_fatal_error", "(", "\"Unsupported calling convention\"", ")", ";", "case", "CallingConv", "::", "C", ":", "case", "CallingConv", "::", "Fast", ":", "break", ";", "}", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "EVT", "PtrVT", "=", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ";", "if", "(", "IsVarArg", ")", "report_fatal_error", "(", "\"VarArg not supported\"", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "MF", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "analyzeInputArgs", "(", "MF", ",", "CCInfo", ",", "Ins", ",", "false", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "ArgLocs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "ArgLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "getLocVT", "(", ")", "==", "Subtarget", ".", "getXLenVT", "(", ")", "&&", "\"Unhandled argument type\"", ")", ";", "SDValue", "ArgValue", ";", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "ArgValue", "=", "unpackFromRegLoc", "(", "DAG", ",", "Chain", ",", "VA", ",", "DL", ")", ";", "else", "ArgValue", "=", "unpackFromMemLoc", "(", "DAG", ",", "Chain", ",", "VA", ",", "DL", ")", ";", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "Indirect", ")", "{", "InVals", ".", "push_back", "(", "DAG", ".", "getLoad", "(", "VA", ".", "getValVT", "(", ")", ",", "DL", ",", "Chain", ",", "ArgValue", ",", "MachinePointerInfo", "(", ")", ")", ")", ";", "unsigned", "ArgIndex", "=", "Ins", "[", "i", "]", ".", "OrigArgIndex", ";", "assert", "(", "Ins", "[", "i", "]", ".", "PartOffset", "==", "0", ")", ";", "while", "(", "i", "+", "1", "!=", "e", "&&", "Ins", "[", "i", "+", "1", "]", ".", "OrigArgIndex", "==", "ArgIndex", ")", "{", "CCValAssign", "&", "PartVA", "=", "ArgLocs", "[", "i", "+", "1", "]", ";", "unsigned", "PartOffset", "=", "Ins", "[", "i", "+", "1", "]", ".", "PartOffset", ";", "SDValue", "Address", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ADD", ",", "DL", ",", "PtrVT", ",", "ArgValue", ",", "DAG", ".", "getIntPtrConstant", "(", "PartOffset", ",", "DL", ")", ")", ";", "InVals", ".", "push_back", "(", "DAG", ".", "getLoad", "(", "PartVA", ".", "getValVT", "(", ")", ",", "DL", ",", "Chain", ",", "Address", ",", "MachinePointerInfo", "(", ")", ")", ")", ";", "++", "i", ";", "}", "continue", ";", "}", "InVals", ".", "push_back", "(", "ArgValue", ")", ";", "}", "return", "Chain", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "the", "Ins", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["RISCV", "RISCV", "ISD::InputArg", "\"Unsupported calling convention\"", "\"VarArg not supported\"", "16", "0", "\"Unhandled argument type\"", "0", "1", "1", "1", "1", "ISD::ADD"], "File": "RISCVISelLowering55", "Func": "LowerFormalArguments", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1946, "Length": 401, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "ARMBaseRegisterInfo", "::", "getLargestLegalSuperClass", "(", "const", "TargetRegisterClass", "*", "RC", ",", "const", "MachineFunction", "&", ")", "const", "{", "const", "TargetRegisterClass", "*", "Super", "=", "RC", ";", "TargetRegisterClass", "::", "sc_iterator", "I", "=", "RC", "->", "getSuperClasses", "(", ")", ";", "do", "{", "switch", "(", "Super", "->", "getID", "(", ")", ")", "{", "case", "ARM", "::", "GPRRegClassID", ":", "case", "ARM", "::", "SPRRegClassID", ":", "case", "ARM", "::", "DPRRegClassID", ":", "case", "ARM", "::", "QPRRegClassID", ":", "case", "ARM", "::", "QQPRRegClassID", ":", "case", "ARM", "::", "QQQQPRRegClassID", ":", "case", "ARM", "::", "GPRPairRegClassID", ":", "return", "Super", ";", "}", "Super", "=", "*", "I", "++", ";", "}", "while", "(", "Super", ")", ";", "return", "RC", ";", "}", ""], "natrual_language": ["Returns", "the", "largest", "super", "class", "of", "RC", "that", "is", "legal", "to", "use", "in", "the", "current", "sub-target", "and", "has", "the", "same", "spill", "size", "."], "TS_V_token": ["ARM", "ARM", "ARM::GPRRegClassID", "ARM::SPRRegClassID", "ARM::DPRRegClassID", "ARM::QPRRegClassID", "ARM::QQPRRegClassID", "ARM::QQQQPRRegClassID", "ARM::GPRPairRegClassID"], "File": "ARMBaseRegisterInfo10", "Func": "getLargestLegalSuperClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1947, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "rs6000_indirect_call_template_1", "(", "rtx", "*", "operands", ",", "unsigned", "int", "funop", ",", "bool", "sibcall", ")", "{", "gcc_assert", "(", "funop", "<=", "MAX_RECOG_OPERANDS", ")", ";", "static", "char", "str", "[", "160", "]", ";", "char", "*", "s", "=", "str", ";", "const", "char", "*", "ptrload", "=", "TARGET_64BIT", "?", "\"d\"", ":", "\"wz\"", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_AIX", ")", "s", "+=", "sprintf", "(", "s", ",", "\"l%s 2,%%%u\\n\\t\"", ",", "ptrload", ",", "funop", "+", "2", ")", ";", "bool", "speculate", "=", "(", "TARGET_MACHO", "||", "rs6000_speculate_indirect_jumps", "||", "(", "REG_P", "(", "operands", "[", "funop", "]", ")", "&&", "REGNO", "(", "operands", "[", "funop", "]", ")", "==", "LR_REGNO", ")", ")", ";", "if", "(", "TARGET_PLTSEQ", "&&", "GET_CODE", "(", "operands", "[", "funop", "]", ")", "==", "UNSPEC", ")", "{", "const", "char", "*", "rel64", "=", "TARGET_64BIT", "?", "\"64\"", ":", "\"\"", ";", "char", "tls", "[", "29", "]", ";", "tls", "[", "0", "]", "=", "0", ";", "if", "(", "TARGET_TLS_MARKERS", "&&", "GET_CODE", "(", "operands", "[", "funop", "+", "1", "]", ")", "==", "UNSPEC", ")", "{", "if", "(", "XINT", "(", "operands", "[", "funop", "+", "1", "]", ",", "1", ")", "==", "UNSPEC_TLSGD", ")", "sprintf", "(", "tls", ",", "\".reloc .,R_PPC%s_TLSGD,%%%u\\n\\t\"", ",", "rel64", ",", "funop", "+", "1", ")", ";", "else", "if", "(", "XINT", "(", "operands", "[", "funop", "+", "1", "]", ",", "1", ")", "==", "UNSPEC_TLSLD", ")", "sprintf", "(", "tls", ",", "\".reloc .,R_PPC%s_TLSLD,%%&\\n\\t\"", ",", "rel64", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "}", "const", "char", "*", "addend", "=", "(", "DEFAULT_ABI", "==", "ABI_V4", "&&", "TARGET_SECURE_PLT", "&&", "flag_pic", "==", "2", "?", "\"+32768\"", ":", "\"\"", ")", ";", "if", "(", "!", "speculate", ")", "{", "s", "+=", "sprintf", "(", "s", ",", "\"%s.reloc .,R_PPC%s_PLTSEQ,%%z%u%s\\n\\t\"", ",", "tls", ",", "rel64", ",", "funop", ",", "addend", ")", ";", "s", "+=", "sprintf", "(", "s", ",", "\"crset 2\\n\\t\"", ")", ";", "}", "s", "+=", "sprintf", "(", "s", ",", "\"%s.reloc .,R_PPC%s_PLTCALL,%%z%u%s\\n\\t\"", ",", "tls", ",", "rel64", ",", "funop", ",", "addend", ")", ";", "}", "else", "if", "(", "!", "speculate", ")", "s", "+=", "sprintf", "(", "s", ",", "\"crset 2\\n\\t\"", ")", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_AIX", ")", "{", "if", "(", "speculate", ")", "sprintf", "(", "s", ",", "\"b%%T%ul\\n\\t\"", "\"l%s 2,%%%u(1)\"", ",", "funop", ",", "ptrload", ",", "funop", "+", "3", ")", ";", "else", "sprintf", "(", "s", ",", "\"beq%%T%ul-\\n\\t\"", "\"l%s 2,%%%u(1)\"", ",", "funop", ",", "ptrload", ",", "funop", "+", "3", ")", ";", "}", "else", "if", "(", "DEFAULT_ABI", "==", "ABI_ELFv2", ")", "{", "if", "(", "speculate", ")", "sprintf", "(", "s", ",", "\"b%%T%ul\\n\\t\"", "\"l%s 2,%%%u(1)\"", ",", "funop", ",", "ptrload", ",", "funop", "+", "2", ")", ";", "else", "sprintf", "(", "s", ",", "\"beq%%T%ul-\\n\\t\"", "\"l%s 2,%%%u(1)\"", ",", "funop", ",", "ptrload", ",", "funop", "+", "2", ")", ";", "}", "else", "{", "if", "(", "speculate", ")", "sprintf", "(", "s", ",", "\"b%%T%u%s\"", ",", "funop", ",", "sibcall", "?", "\"\"", ":", "\"l\"", ")", ";", "else", "sprintf", "(", "s", ",", "\"beq%%T%u%s-%s\"", ",", "funop", ",", "sibcall", "?", "\"\"", ":", "\"l\"", ",", "sibcall", "?", "\"\\n\\tb $\"", ":", "\"\"", ")", ";", "}", "return", "str", ";", "}", ""], "natrual_language": ["As", "above", ",", "for", "indirect", "calls", "."], "TS_V_token": ["rs6000", "160", "\"d\"", "\"wz\"", "\"l%s 2,%%%u\\n\\t\"", "2", "\"64\"", "\"\"", "29", "0", "0", "1", "1", "1", "\".reloc .,R_PPC%s_TLSGD,%%%u\\n\\t\"", "1", "1", "1", "\".reloc .,R_PPC%s_TLSLD,%%&\\n\\t\"", "2", "\"+32768\"", "\"\"", "\"%s.reloc .,R_PPC%s_PLTSEQ,%%z%u%s\\n\\t\"", "\"crset 2\\n\\t\"", "\"%s.reloc .,R_PPC%s_PLTCALL,%%z%u%s\\n\\t\"", "\"crset 2\\n\\t\"", "\"b%%T%ul\\n\\t\"", "\"l%s 2,%%%u(1)\"", "3", "\"beq%%T%ul-\\n\\t\"", "\"l%s 2,%%%u(1)\"", "3", "\"b%%T%ul\\n\\t\"", "\"l%s 2,%%%u(1)\"", "2", "\"beq%%T%ul-\\n\\t\"", "\"l%s 2,%%%u(1)\"", "2", "\"b%%T%u%s\"", "\"\"", "\"l\"", "\"beq%%T%u%s-%s\"", "\"\"", "\"l\"", "\"\\n\\tb $\"", "\"\""], "File": "rs60008", "Func": "rs6000_indirect_call_template_1", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1948, "Length": 442, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64PreLegalizerCombiner", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "MF", ".", "getProperties", "(", ")", ".", "hasProperty", "(", "MachineFunctionProperties", "::", "Property", "::", "FailedISel", ")", ")", "return", "false", ";", "auto", "&", "TPC", "=", "getAnalysis", "<", "TargetPassConfig", ">", "(", ")", ";", "GISelCSEAnalysisWrapper", "&", "Wrapper", "=", "getAnalysis", "<", "GISelCSEAnalysisWrapperPass", ">", "(", ")", ".", "getCSEWrapper", "(", ")", ";", "auto", "*", "CSEInfo", "=", "&", "Wrapper", ".", "get", "(", "TPC", ".", "getCSEConfig", "(", ")", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "bool", "EnableOpt", "=", "MF", ".", "getTarget", "(", ")", ".", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "!", "skipFunction", "(", "F", ")", ";", "GISelKnownBits", "*", "KB", "=", "&", "getAnalysis", "<", "GISelKnownBitsAnalysis", ">", "(", ")", ".", "get", "(", "MF", ")", ";", "MachineDominatorTree", "*", "MDT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "AArch64PreLegalizerCombinerInfo", "PCInfo", "(", "EnableOpt", ",", "F", ".", "hasOptSize", "(", ")", ",", "F", ".", "hasMinSize", "(", ")", ",", "KB", ",", "MDT", ")", ";", "Combiner", "C", "(", "PCInfo", ",", "&", "TPC", ")", ";", "return", "C", ".", "combineMachineInstrs", "(", "MF", ",", "CSEInfo", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64PreLegalizerCombiner10", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1949, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "arc_next_active_insn", "(", "rtx_insn", "*", "insn", ",", "struct", "arc_ccfsm", "*", "statep", ")", "{", "rtx", "pat", ";", "do", "{", "if", "(", "statep", ")", "arc_ccfsm_post_advance", "(", "insn", ",", "statep", ")", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ";", "if", "(", "!", "insn", "||", "BARRIER_P", "(", "insn", ")", ")", "return", "NULL", ";", "if", "(", "statep", ")", "arc_ccfsm_advance", "(", "insn", ",", "statep", ")", ";", "}", "while", "(", "NOTE_P", "(", "insn", ")", "||", "(", "cfun", "->", "machine", "->", "arc_reorg_started", "&&", "LABEL_P", "(", "insn", ")", "&&", "!", "label_to_alignment", "(", "insn", ")", ")", "||", "(", "NONJUMP_INSN_P", "(", "insn", ")", "&&", "(", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "USE", "||", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "CLOBBER", ")", ")", ")", ";", "if", "(", "!", "LABEL_P", "(", "insn", ")", ")", "{", "gcc_assert", "(", "INSN_P", "(", "insn", ")", ")", ";", "pat", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "ADDR_VEC", "||", "GET_CODE", "(", "pat", ")", "==", "ADDR_DIFF_VEC", ")", "return", "NULL", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "SEQUENCE", ")", "return", "as_a", "<", "rtx_insn", "*", ">", "(", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ")", ";", "}", "return", "insn", ";", "}", ""], "natrual_language": ["Like", "next_active_insn", ",", "but", "return", "NULL", "if", "we", "find", "an", "ADDR_", "(", "DIFF_", ")", "VEC", ",", "and", "look", "inside", "SEQUENCEs", "."], "TS_V_token": ["arc", "0", "0"], "File": "arc4", "Func": "arc_next_active_insn", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1950, "Length": 193, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "DataLayout", "*", "getDataLayout", "(", ")", "const", "{", "return", "&", "DL", ";", "}", ""], "natrual_language": ["Return", "the", "DataLayout", "associated", "with", "the", "module", "this", "SCEV", "instance", "is", "operating", "on", "."], "TS_V_token": ["Mips"], "File": "MipsSubtarget (2)", "Func": "getDataLayout", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1951, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mprocBSel", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["mproc", "mproc"], "File": "mprocBranchSelector", "Func": "runOnMachineFunction", "Target": "mproc", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1952, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "AAPTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "TargetRegisterInfo", "*", "TRI", ",", "StringRef", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'r'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "AAP", "::", "GR64RegClass", ")", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "TRI", ",", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["AAP", "AAP", "1", "0", "0U", "AAP::GR64RegClass"], "File": "AAPISelLowering", "Func": "getRegForInlineAsmConstraint", "Target": "AAP", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1953, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86DynAllocaExpander", "::", "lower", "(", "MachineInstr", "*", "MI", ",", "Lowering", "L", ")", "{", "const", "DebugLoc", "&", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineBasicBlock", "*", "MBB", "=", "MI", "->", "getParent", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "*", "MI", ";", "int64_t", "Amount", "=", "getDynAllocaAmount", "(", "MI", ",", "MRI", ")", ";", "if", "(", "Amount", "==", "0", ")", "{", "MI", "->", "eraseFromParent", "(", ")", ";", "return", ";", "}", "bool", "Is64Bit", "=", "STI", "->", "is64Bit", "(", ")", ";", "bool", "Is64BitAlloca", "=", "MI", "->", "getOpcode", "(", ")", "==", "X86", "::", "DYN_ALLOCA_64", ";", "assert", "(", "SlotSize", "==", "4", "||", "SlotSize", "==", "8", ")", ";", "switch", "(", "L", ")", "{", "case", "TouchAndSub", ":", "{", "assert", "(", "Amount", ">=", "SlotSize", ")", ";", "unsigned", "RegA", "=", "Is64Bit", "?", "X86", "::", "RAX", ":", "X86", "::", "EAX", ";", "BuildMI", "(", "*", "MBB", ",", "I", ",", "DL", ",", "TII", "->", "get", "(", "Is64Bit", "?", "X86", "::", "PUSH64r", ":", "X86", "::", "PUSH32r", ")", ")", ".", "addReg", "(", "RegA", ",", "RegState", "::", "Undef", ")", ";", "Amount", "-=", "SlotSize", ";", "if", "(", "!", "Amount", ")", "break", ";", "LLVM_FALLTHROUGH", ";", "}", "case", "Sub", ":", "assert", "(", "Amount", ">", "0", ")", ";", "if", "(", "Amount", "==", "SlotSize", ")", "{", "unsigned", "RegA", "=", "Is64Bit", "?", "X86", "::", "RAX", ":", "X86", "::", "EAX", ";", "BuildMI", "(", "*", "MBB", ",", "I", ",", "DL", ",", "TII", "->", "get", "(", "Is64Bit", "?", "X86", "::", "PUSH64r", ":", "X86", "::", "PUSH32r", ")", ")", ".", "addReg", "(", "RegA", ",", "RegState", "::", "Undef", ")", ";", "}", "else", "{", "BuildMI", "(", "*", "MBB", ",", "I", ",", "DL", ",", "TII", "->", "get", "(", "getSubOpcode", "(", "Is64BitAlloca", ",", "Amount", ")", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "break", ";", "case", "Probe", ":", "if", "(", "!", "NoStackArgProbe", ")", "{", "unsigned", "RegA", "=", "Is64BitAlloca", "?", "X86", "::", "RAX", ":", "X86", "::", "EAX", ";", "BuildMI", "(", "*", "MBB", ",", "MI", ",", "DL", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "RegA", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ";", "STI", "->", "getFrameLowering", "(", ")", "->", "emitStackProbe", "(", "*", "MBB", "->", "getParent", "(", ")", ",", "*", "MBB", ",", "MI", ",", "DL", ",", "false", ")", ";", "}", "else", "{", "BuildMI", "(", "*", "MBB", ",", "I", ",", "DL", ",", "TII", "->", "get", "(", "Is64BitAlloca", "?", "X86", "::", "SUB64rr", ":", "X86", "::", "SUB32rr", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ";", "}", "break", ";", "}", "Register", "AmountReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "MI", "->", "eraseFromParent", "(", ")", ";", "if", "(", "MRI", "->", "use_empty", "(", "AmountReg", ")", ")", "if", "(", "MachineInstr", "*", "AmountDef", "=", "MRI", "->", "getUniqueVRegDef", "(", "AmountReg", ")", ")", "AmountDef", "->", "eraseFromParent", "(", ")", ";", "}", ""], "natrual_language": ["The", "instruction", "is", "lowered", "."], "TS_V_token": ["X86", "X86", "0", "X86::DYN_ALLOCA_64", "4", "8", "X86::RAX", "X86::EAX", "X86::PUSH64r", "X86::PUSH32r", "0", "X86::RAX", "X86::EAX", "X86::PUSH64r", "X86::PUSH32r", "X86::RAX", "X86::EAX", "0", "X86::SUB64rr", "X86::SUB32rr", "0", "0"], "File": "X86DynAllocaExpander", "Func": "lower", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1954, "Length": 466, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_asm_init_sections", "(", "void", ")", "{", "exception_section", "=", "get_unnamed_section", "(", "0", ",", "output_section_asm_op", ",", "\"\\t.handlerdata\"", ")", ";", "if", "(", "target_pure_code", ")", "text_section", "->", "unnamed", ".", "data", "=", "\"\\t.section .text,\\\"0x20000006\\\",%progbits\"", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_INITIALIZE_SECTIONS", "."], "TS_V_token": ["arm", "0", "\"\\t.handlerdata\"", "\"\\t.section .text,\\\"0x20000006\\\",%progbits\""], "File": "arm", "Func": "arm_asm_init_sections", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1955, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SITargetLowering", "::", "isOffsetFoldingLegal", "(", "const", "GlobalAddressSDNode", "*", "GA", ")", "const", "{", "return", "(", "GA", "->", "getAddressSpace", "(", ")", "==", "AMDGPUASI", ".", "GLOBAL_ADDRESS", "||", "GA", "->", "getAddressSpace", "(", ")", "==", "AMDGPUASI", ".", "CONSTANT_ADDRESS", ")", "&&", "!", "shouldEmitGOTReloc", "(", "GA", "->", "getGlobal", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "folding", "a", "constant", "offset", "with", "the", "given", "GlobalAddress", "is", "legal", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI"], "File": "SIISelLowering114", "Func": "isOffsetFoldingLegal", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1956, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86Subtarget", "::", "X86Subtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "FS", ",", "bool", "is64Bit", ")", ":", "PICStyle", "(", "PICStyles", "::", "None", ")", ",", "X86SSELevel", "(", "NoMMXSSE", ")", ",", "X863DNowLevel", "(", "NoThreeDNow", ")", ",", "HasCMov", "(", "false", ")", ",", "HasX86_64", "(", "false", ")", ",", "HasSSE4A", "(", "false", ")", ",", "HasAVX", "(", "false", ")", ",", "HasFMA3", "(", "false", ")", ",", "HasFMA4", "(", "false", ")", ",", "IsBTMemSlow", "(", "false", ")", ",", "HasVectorUAMem", "(", "false", ")", ",", "DarwinVers", "(", "0", ")", ",", "stackAlignment", "(", "8", ")", ",", "MaxInlineSizeThreshold", "(", "128", ")", ",", "Is64Bit", "(", "is64Bit", ")", ",", "TargetType", "(", "isELF", ")", "{", "if", "(", "FloatABIType", "==", "FloatABI", "::", "Default", ")", "FloatABIType", "=", "FloatABI", "::", "Hard", ";", "if", "(", "!", "FS", ".", "empty", "(", ")", ")", "{", "std", "::", "string", "CPU", "=", "sys", "::", "getHostCPUName", "(", ")", ";", "ParseSubtargetFeatures", "(", "FS", ",", "CPU", ")", ";", "}", "else", "{", "AutoDetectSubtargetFeatures", "(", ")", ";", "if", "(", "Is64Bit", "&&", "X86SSELevel", "<", "SSE2", ")", "X86SSELevel", "=", "SSE2", ";", "}", "if", "(", "Is64Bit", ")", "HasX86_64", "=", "true", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Subtarget features: SSELevel \"", "<<", "X86SSELevel", "<<", "\", 3DNowLevel \"", "<<", "X863DNowLevel", "<<", "\", 64bit \"", "<<", "HasX86_64", "<<", "\"\\n\"", ")", ";", "assert", "(", "(", "!", "Is64Bit", "||", "HasX86_64", ")", "&&", "\"64-bit code requested on a subtarget that doesn't support it!\"", ")", ";", "if", "(", "TT", ".", "length", "(", ")", ">", "5", ")", "{", "size_t", "Pos", ";", "if", "(", "(", "Pos", "=", "TT", ".", "find", "(", "\"-darwin\"", ")", ")", "!=", "std", "::", "string", "::", "npos", ")", "{", "TargetType", "=", "isDarwin", ";", "if", "(", "isdigit", "(", "TT", "[", "Pos", "+", "7", "]", ")", ")", "DarwinVers", "=", "atoi", "(", "&", "TT", "[", "Pos", "+", "7", "]", ")", ";", "else", "DarwinVers", "=", "8", ";", "}", "else", "if", "(", "TT", ".", "find", "(", "\"linux\"", ")", "!=", "std", "::", "string", "::", "npos", ")", "{", "TargetType", "=", "isELF", ";", "}", "else", "if", "(", "TT", ".", "find", "(", "\"cygwin\"", ")", "!=", "std", "::", "string", "::", "npos", ")", "{", "TargetType", "=", "isCygwin", ";", "}", "else", "if", "(", "TT", ".", "find", "(", "\"mingw\"", ")", "!=", "std", "::", "string", "::", "npos", ")", "{", "TargetType", "=", "isMingw", ";", "}", "else", "if", "(", "TT", ".", "find", "(", "\"win32\"", ")", "!=", "std", "::", "string", "::", "npos", ")", "{", "TargetType", "=", "isWindows", ";", "}", "else", "if", "(", "TT", ".", "find", "(", "\"windows\"", ")", "!=", "std", "::", "string", "::", "npos", ")", "{", "TargetType", "=", "isWindows", ";", "}", "else", "if", "(", "TT", ".", "find", "(", "\"-cl\"", ")", "!=", "std", "::", "string", "::", "npos", ")", "{", "TargetType", "=", "isDarwin", ";", "DarwinVers", "=", "9", ";", "}", "}", "if", "(", "TargetType", "==", "isDarwin", "||", "Is64Bit", ")", "stackAlignment", "=", "16", ";", "if", "(", "StackAlignment", ")", "stackAlignment", "=", "StackAlignment", ";", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86", "0", "8", "128", "X86", "X86", "X86", "\"Subtarget features: SSELevel \"", "X86", "\", 3DNowLevel \"", "X86", "\", 64bit \"", "X86", "\"\\n\"", "X86", "\"64-bit code requested on a subtarget that doesn't support it!\"", "5", "\"-darwin\"", "7", "7", "8", "\"linux\"", "\"cygwin\"", "\"mingw\"", "\"win32\"", "\"windows\"", "\"-cl\"", "9", "16"], "File": "X86Subtarget62", "Func": "X86Subtarget", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1957, "Length": 434, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isAssociativeAndCommutative", "(", "unsigned", "Opcode", ")", "{", "switch", "(", "Opcode", ")", "{", "case", "X86", "::", "ADDSDrr", ":", "case", "X86", "::", "ADDSSrr", ":", "case", "X86", "::", "VADDSDrr", ":", "case", "X86", "::", "VADDSSrr", ":", "case", "X86", "::", "MULSDrr", ":", "case", "X86", "::", "MULSSrr", ":", "case", "X86", "::", "VMULSDrr", ":", "case", "X86", "::", "VMULSSrr", ":", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Return", "true", "when", "\\P", "Inst", "is", "both", "associative", "and", "commutative", "."], "TS_V_token": ["X86", "X86::ADDSDrr", "X86::ADDSSrr", "X86::VADDSDrr", "X86::VADDSSrr", "X86::MULSDrr", "X86::MULSSrr", "X86::VMULSDrr", "X86::VMULSSrr"], "File": "X86InstrInfo111", "Func": "isAssociativeAndCommutative", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1958, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "DLXInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "return", "1", ";", "}", ""], "natrual_language": ["isLoadFromStackSlot", "-", "If", "the", "specified", "machine", "instruction", "is", "a", "direct", "load", "from", "a", "stack", "slot", ",", "return", "the", "virtual", "or", "physical", "register", "number", "of", "the", "destination", "along", "with", "the", "FrameIndex", "of", "the", "loaded", "stack", "slot", "."], "TS_V_token": ["DLX", "DLX", "1"], "File": "DLXInstrInfo", "Func": "isLoadFromStackSlot", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1959, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AsmBackend", "::", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCInst", "&", "Res", ")", "const", "{", "bool", "Is16BitMode", "=", "STI", ".", "getFeatureBits", "(", ")", "[", "X86", "::", "Mode16Bit", "]", ";", "unsigned", "RelaxedOp", "=", "getRelaxedOpcode", "(", "Inst", ",", "Is16BitMode", ")", ";", "if", "(", "RelaxedOp", "==", "Inst", ".", "getOpcode", "(", ")", ")", "{", "SmallString", "<", "256", ">", "Tmp", ";", "raw_svector_ostream", "OS", "(", "Tmp", ")", ";", "Inst", ".", "dump_pretty", "(", "OS", ")", ";", "OS", "<<", "\"\\n\"", ";", "report_fatal_error", "(", "\"unexpected instruction to relax: \"", "+", "OS", ".", "str", "(", ")", ")", ";", "}", "Res", "=", "Inst", ";", "Res", ".", "setOpcode", "(", "RelaxedOp", ")", ";", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["X86", "X86", "X86::Mode16Bit", "256", "\"\\n\"", "\"unexpected instruction to relax: \""], "File": "X86AsmBackend16", "Func": "relaxInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1960, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Add prototypes to prototypes-less functions\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["WebAssembly", "\"Add prototypes to prototypes-less functions\""], "File": "WebAssemblyAddMissingPrototypes", "Func": "getPassName", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1961, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsSEInstrInfo", "::", "adjustStackPtr", "(", "unsigned", "SP", ",", "int64_t", "Amount", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "MipsSubtarget", "&", "STI", "=", "Subtarget", ";", "DebugLoc", "DL", "=", "I", "!=", "MBB", ".", "end", "(", ")", "?", "I", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "unsigned", "ADDu", "=", "Mips", "::", "ADDu", ";", "unsigned", "ADDiu", "=", "Mips", "::", "ADDiu", ";", "if", "(", "isInt", "<", "14", ">", "(", "Amount", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ADDiu", ")", ",", "SP", ")", ".", "addReg", "(", "SP", ")", ".", "addImm", "(", "Amount", ")", ";", "else", "{", "const", "TargetRegisterClass", "*", "RC", "=", "&", "Mips", "::", "GPR32RegClass", ";", "unsigned", "Reg", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ".", "createVirtualRegister", "(", "RC", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Mips", "::", "LOAD_IMM_PSEUDO", ")", ",", "Reg", ")", ".", "addImm", "(", "Amount", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ADDu", ")", ",", "SP", ")", ".", "addReg", "(", "SP", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ";", "}", "}", ""], "natrual_language": ["Adjust", "SP", "by", "Amount", "bytes", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips::ADDu", "Mips::ADDiu", "14", "Mips::GPR32RegClass", "Mips::LOAD_IMM_PSEUDO"], "File": "MipsSEInstrInfo25", "Func": "adjustStackPtr", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1962, "Length": 185, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "if", "(", "(", "MI", "->", "getOpcode", "(", ")", "==", "Mips", "::", "LW", ")", "||", "(", "MI", "->", "getOpcode", "(", ")", "==", "Mips", "::", "LWC1", ")", "||", "(", "MI", "->", "getOpcode", "(", ")", "==", "Mips", "::", "LDC1", ")", ")", "{", "if", "(", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "isFI", "(", ")", ")", "&&", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", ")", "&&", "(", "isZeroImm", "(", "MI", "->", "getOperand", "(", "1", ")", ")", ")", ")", "{", "FrameIndex", "=", "MI", "->", "getOperand", "(", "2", ")", ".", "getIndex", "(", ")", ";", "return", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["isLoadFromStackSlot", "-", "If", "the", "specified", "machine", "instruction", "is", "a", "direct", "load", "from", "a", "stack", "slot", ",", "return", "the", "virtual", "or", "physical", "register", "number", "of", "the", "destination", "along", "with", "the", "FrameIndex", "of", "the", "loaded", "stack", "slot", "."], "TS_V_token": ["Mips", "Mips", "Mips::LW", "Mips::LWC1", "Mips::LDC1", "2", "1", "1", "2", "0", "0"], "File": "MipsInstrInfo15", "Func": "isLoadFromStackSlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1963, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"XCore Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["XCore", "\"XCore Assembly Printer\""], "File": "XCoreAsmPrinter12", "Func": "getPassName", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1964, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "MipsAsmPrinter", "::", "getCurrentABIString", "(", ")", "const", "{", "switch", "(", "Subtarget", "->", "getABI", "(", ")", ".", "GetEnumValue", "(", ")", ")", "{", "case", "MipsABIInfo", "::", "ABI", "::", "O32", ":", "return", "\"abi32\"", ";", "case", "MipsABIInfo", "::", "ABI", "::", "N32", ":", "return", "\"abiN32\"", ";", "case", "MipsABIInfo", "::", "ABI", "::", "N64", ":", "return", "\"abi64\"", ";", "case", "MipsABIInfo", "::", "ABI", "::", "EABI", ":", "return", "\"eabi32\"", ";", "default", ":", "llvm_unreachable", "(", "\"Unknown Mips ABI\"", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "Set", "directives", "."], "TS_V_token": ["Mips", "Mips", "Mips", "\"abi32\"", "Mips", "\"abiN32\"", "Mips", "\"abi64\"", "Mips", "\"eabi32\"", "\"Unknown Mips ABI\""], "File": "MipsAsmPrinter3", "Func": "getCurrentABIString", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1965, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64TTIImpl", "::", "getMinPrefetchStride", "(", ")", "{", "return", "ST", "->", "getMinPrefetchStride", "(", ")", ";", "}", ""], "natrual_language": ["Some", "HW", "prefetchers", "can", "handle", "accesses", "up", "to", "a", "certain", "constant", "stride", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64TargetTransformInfo10", "Func": "getMinPrefetchStride", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1966, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetTransformInfo", "::", "PopcntSupportKind", "HexagonTTIImpl", "::", "getPopcntSupport", "(", "unsigned", "IntTyWidthInBit", ")", "const", "{", "return", "TargetTransformInfo", "::", "PSK_FastHardware", ";", "}", ""], "natrual_language": ["Return", "hardware", "support", "for", "population", "count", "."], "TS_V_token": ["Hexagon", "Hexagon"], "File": "HexagonTargetTransformInfo", "Func": "getPopcntSupport", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1967, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"Patmos Stack Cache Analysis\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Patmos", "\"Patmos Stack Cache Analysis\""], "File": "PatmosStackCacheAnalysis", "Func": "getPassName", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 1968, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AsmParser", "::", "EmitInstruction", "(", "MCInst", "&", "Inst", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ",", "MCStreamer", "&", "Out", ")", "{", "Instrumentation", "->", "InstrumentInstruction", "(", "Inst", ",", "Operands", ",", "getContext", "(", ")", ",", "Out", ")", ";", "Out", ".", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["X86", "X86"], "File": "X86AsmParser32", "Func": "EmitInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1969, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "seh_emit_push", "(", "FILE", "*", "f", ",", "struct", "seh_frame_state", "*", "seh", ",", "rtx", "reg", ")", "{", "unsigned", "int", "regno", "=", "REGNO", "(", "reg", ")", ";", "gcc_checking_assert", "(", "GENERAL_REGNO_P", "(", "regno", ")", ")", ";", "seh", "->", "sp_offset", "+=", "UNITS_PER_WORD", ";", "if", "(", "seh", "->", "cfa_reg", "==", "stack_pointer_rtx", ")", "seh", "->", "cfa_offset", "+=", "UNITS_PER_WORD", ";", "fputs", "(", "\"\\t.seh_pushreg\\t\"", ",", "f", ")", ";", "print_reg", "(", "reg", ",", "0", ",", "f", ")", ";", "fputc", "(", "'\\n'", ",", "f", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "assembler", "directive", "to", "save", "REG", "via", "a", "PUSH", "."], "TS_V_token": ["i386", "\"\\t.seh_pushreg\\t\"", "0"], "File": "winnt4", "Func": "seh_emit_push", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1970, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "const", "TargetRegisterInfo", "*", "RegInfo", "=", "TM", ".", "getRegisterInfo", "(", ")", ";", "return", "(", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "||", "RegInfo", "->", "needsStackRealignment", "(", "MF", ")", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", "||", "MFI", "->", "isFrameAddressTaken", "(", ")", "||", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "getForceFramePointer", "(", ")", "||", "MMI", ".", "callsUnwindInit", "(", ")", "||", "MMI", ".", "callsEHReturn", "(", ")", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86FrameLowering100", "Func": "hasFP", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1971, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "J2InstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "unsigned", "Opc", "=", "J2", "::", "MOV32rr", ";", "if", "(", "J2", "::", "GPRRegClass", ".", "contains", "(", "DestReg", ")", "&&", "J2", "::", "GPRRegClass", ".", "contains", "(", "SrcReg", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opc", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "return", ";", "}", "if", "(", "!", "J2", "::", "GPRRegClass", ".", "contains", "(", "SrcReg", ")", ")", "{", "Opc", "=", "[", "&", "]", "(", ")", "->", "unsigned", "{", "switch", "(", "SrcReg", ")", "{", "case", "J2", "::", "X", ":", "\\", "return", "J2", "::", "ST", "##", "Type", "##", "X", "CASE", "(", "S", ",", "MACL", ")", ";", "CASE", "(", "S", ",", "MACH", ")", ";", "CASE", "(", "S", ",", "PR", ")", ";", "CASE", "(", "C", ",", "GBR", ")", ";", "CASE", "(", "C", ",", "VBR", ")", ";", "default", ":", "llvm_unreachable", "(", "\"Special register not handled.\"", ")", ";", "}", "}", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opc", ")", ",", "DestReg", ")", ";", "}", "else", "if", "(", "!", "J2", "::", "GPRRegClass", ".", "contains", "(", "DestReg", ")", ")", "{", "Opc", "=", "[", "&", "]", "(", ")", "->", "unsigned", "{", "switch", "(", "SrcReg", ")", "{", "case", "J2", "::", "X", ":", "\\", "return", "J2", "::", "LD", "##", "Type", "##", "X", "CASE", "(", "S", ",", "MACL", ")", ";", "CASE", "(", "S", ",", "MACH", ")", ";", "CASE", "(", "S", ",", "PR", ")", ";", "CASE", "(", "C", ",", "GBR", ")", ";", "CASE", "(", "C", ",", "VBR", ")", ";", "default", ":", "llvm_unreachable", "(", "\"Special register not handled.\"", ")", ";", "}", "}", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opc", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["J2", "J2", "J2::MOV32rr", "J2::GPRRegClass", "J2::GPRRegClass", "J2::GPRRegClass", "J2::X", "J2::ST", "\"Special register not handled.\"", "J2::GPRRegClass", "J2::X", "J2::LD", "\"Special register not handled.\""], "File": "J2InstrInfo", "Func": "copyPhysReg", "Target": "J2", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1972, "Length": 309, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips16e_save_restore_reg", "(", "bool", "restore_p", ",", "bool", "reg_parm_p", ",", "HOST_WIDE_INT", "offset", ",", "unsigned", "int", "regno", ")", "{", "rtx", "reg", ",", "mem", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ";", "if", "(", "restore_p", ")", "{", "mips_add_cfa_restore", "(", "reg", ")", ";", "return", "gen_rtx_SET", "(", "reg", ",", "mem", ")", ";", "}", "if", "(", "reg_parm_p", ")", "return", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ";", "return", "mips_frame_set", "(", "mem", ",", "reg", ")", ";", "}", ""], "natrual_language": ["Return", "a", "move", "between", "register", "REGNO", "and", "memory", "location", "SP", "+", "OFFSET", ".", "REG_PARM_P", "is", "true", "if", "SP", "+", "OFFSET", "belongs", "to", "REG_PARM_STACK_SPACE", ".", "Make", "the", "move", "a", "load", "if", "RESTORE_P", ",", "otherwise", "make", "it", "a", "store", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips16e_save_restore_reg", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1973, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "dump", "(", "raw_ostream", "&", "OS", ")", "const", "{", "}", ""], "natrual_language": ["Dump", "the", "plan", "to", "stderr", "(", "for", "debugging", ")", "."], "TS_V_token": ["X86"], "File": "X86AsmParser28", "Func": "dump", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1974, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "type_natural_mode", "(", "const_tree", "type", ",", "const", "CUMULATIVE_ARGS", "*", "cum", ",", "bool", "in_return", ")", "{", "machine_mode", "mode", "=", "TYPE_MODE", "(", "type", ")", ";", "if", "(", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", "&&", "!", "VECTOR_MODE_P", "(", "mode", ")", ")", "{", "HOST_WIDE_INT", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "if", "(", "(", "size", "==", "8", "||", "size", "==", "16", "||", "size", "==", "32", "||", "size", "==", "64", ")", "&&", "TYPE_VECTOR_SUBPARTS", "(", "type", ")", ">", "1", ")", "{", "machine_mode", "innermode", "=", "TYPE_MODE", "(", "TREE_TYPE", "(", "type", ")", ")", ";", "if", "(", "innermode", "==", "XFmode", ")", "return", "mode", ";", "if", "(", "TREE_CODE", "(", "TREE_TYPE", "(", "type", ")", ")", "==", "REAL_TYPE", ")", "mode", "=", "MIN_MODE_VECTOR_FLOAT", ";", "else", "mode", "=", "MIN_MODE_VECTOR_INT", ";", "for", "(", ";", "mode", "!=", "VOIDmode", ";", "mode", "=", "GET_MODE_WIDER_MODE", "(", "mode", ")", ")", "if", "(", "GET_MODE_NUNITS", "(", "mode", ")", "==", "TYPE_VECTOR_SUBPARTS", "(", "type", ")", "&&", "GET_MODE_INNER", "(", "mode", ")", "==", "innermode", ")", "{", "if", "(", "size", "==", "64", "&&", "!", "TARGET_AVX512F", "&&", "!", "TARGET_IAMCU", ")", "{", "static", "bool", "warnedavx512f", ";", "static", "bool", "warnedavx512f_ret", ";", "if", "(", "cum", "&&", "cum", "->", "warn_avx512f", "&&", "!", "warnedavx512f", ")", "{", "if", "(", "warning", "(", "OPT_Wpsabi", ",", "\"AVX512F vector argument \"", "\"without AVX512F enabled changes the ABI\"", ")", ")", "warnedavx512f", "=", "true", ";", "}", "else", "if", "(", "in_return", "&&", "!", "warnedavx512f_ret", ")", "{", "if", "(", "warning", "(", "OPT_Wpsabi", ",", "\"AVX512F vector return \"", "\"without AVX512F enabled changes the ABI\"", ")", ")", "warnedavx512f_ret", "=", "true", ";", "}", "return", "TYPE_MODE", "(", "type", ")", ";", "}", "else", "if", "(", "size", "==", "32", "&&", "!", "TARGET_AVX", "&&", "!", "TARGET_IAMCU", ")", "{", "static", "bool", "warnedavx", ";", "static", "bool", "warnedavx_ret", ";", "if", "(", "cum", "&&", "cum", "->", "warn_avx", "&&", "!", "warnedavx", ")", "{", "if", "(", "warning", "(", "OPT_Wpsabi", ",", "\"AVX vector argument \"", "\"without AVX enabled changes the ABI\"", ")", ")", "warnedavx", "=", "true", ";", "}", "else", "if", "(", "in_return", "&&", "!", "warnedavx_ret", ")", "{", "if", "(", "warning", "(", "OPT_Wpsabi", ",", "\"AVX vector return \"", "\"without AVX enabled changes the ABI\"", ")", ")", "warnedavx_ret", "=", "true", ";", "}", "return", "TYPE_MODE", "(", "type", ")", ";", "}", "else", "if", "(", "(", "(", "size", "==", "8", "&&", "TARGET_64BIT", ")", "||", "size", "==", "16", ")", "&&", "!", "TARGET_SSE", "&&", "!", "TARGET_IAMCU", ")", "{", "static", "bool", "warnedsse", ";", "static", "bool", "warnedsse_ret", ";", "if", "(", "cum", "&&", "cum", "->", "warn_sse", "&&", "!", "warnedsse", ")", "{", "if", "(", "warning", "(", "OPT_Wpsabi", ",", "\"SSE vector argument \"", "\"without SSE enabled changes the ABI\"", ")", ")", "warnedsse", "=", "true", ";", "}", "else", "if", "(", "!", "TARGET_64BIT", "&&", "in_return", "&&", "!", "warnedsse_ret", ")", "{", "if", "(", "warning", "(", "OPT_Wpsabi", ",", "\"SSE vector return \"", "\"without SSE enabled changes the ABI\"", ")", ")", "warnedsse_ret", "=", "true", ";", "}", "}", "else", "if", "(", "(", "size", "==", "8", "&&", "!", "TARGET_64BIT", ")", "&&", "!", "TARGET_MMX", "&&", "!", "TARGET_IAMCU", ")", "{", "static", "bool", "warnedmmx", ";", "static", "bool", "warnedmmx_ret", ";", "if", "(", "cum", "&&", "cum", "->", "warn_mmx", "&&", "!", "warnedmmx", ")", "{", "if", "(", "warning", "(", "OPT_Wpsabi", ",", "\"MMX vector argument \"", "\"without MMX enabled changes the ABI\"", ")", ")", "warnedmmx", "=", "true", ";", "}", "else", "if", "(", "in_return", "&&", "!", "warnedmmx_ret", ")", "{", "if", "(", "warning", "(", "OPT_Wpsabi", ",", "\"MMX vector return \"", "\"without MMX enabled changes the ABI\"", ")", ")", "warnedmmx_ret", "=", "true", ";", "}", "}", "return", "mode", ";", "}", "gcc_unreachable", "(", ")", ";", "}", "}", "return", "mode", ";", "}", ""], "natrual_language": ["Return", "the", "``", "natural", "''", "mode", "for", "TYPE", ".", "In", "most", "cases", ",", "this", "is", "just", "TYPE_MODE", ".", "But", "in", "the", "case", "of", "vector", "types", ",", "it", "is", "some", "vector", "mode", ".", "When", "we", "have", "only", "some", "of", "our", "vector", "isa", "extensions", "enabled", ",", "then", "there", "are", "some", "modes", "for", "which", "vector_mode_supported_p", "is", "false", ".", "For", "these", "modes", ",", "the", "generic", "vector", "support", "in", "gcc", "will", "choose", "some", "non-vector", "mode", "in", "order", "to", "implement", "the", "type", ".", "By", "computing", "the", "natural", "mode", ",", "we", "'ll", "select", "the", "proper", "ABI", "location", "for", "the", "operand", "and", "not", "depend", "on", "whatever", "the", "middle-end", "decides", "to", "do", "with", "these", "vector", "types", "."], "TS_V_token": ["i386", "8", "16", "32", "64", "1", "64", "\"AVX512F vector argument \"", "\"without AVX512F enabled changes the ABI\"", "\"AVX512F vector return \"", "\"without AVX512F enabled changes the ABI\"", "32", "\"AVX vector argument \"", "\"without AVX enabled changes the ABI\"", "\"AVX vector return \"", "\"without AVX enabled changes the ABI\"", "8", "16", "\"SSE vector argument \"", "\"without SSE enabled changes the ABI\"", "\"SSE vector return \"", "\"without SSE enabled changes the ABI\"", "8", "\"MMX vector argument \"", "\"without MMX enabled changes the ABI\"", "\"MMX vector return \"", "\"without MMX enabled changes the ABI\""], "File": "i3865", "Func": "type_natural_mode", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1975, "Length": 490, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "PatmosSubtarget", "*", "getSubtargetImpl", "(", ")", "const", "{", "return", "&", "Subtarget", ";", "}", ""], "natrual_language": ["Virtual", "method", "implemented", "by", "subclasses", "that", "returns", "a", "reference", "to", "that", "target", "'s", "TargetSubtargetInfo-derived", "member", "variable", "."], "TS_V_token": ["Patmos", "Patmos"], "File": "PatmosTargetMachine1", "Func": "getSubtargetImpl", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 1976, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "XCoreFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "XCoreInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "XCoreInstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "if", "(", "!", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "MachineInstr", "*", "Old", "=", "I", ";", "uint64_t", "Amount", "=", "Old", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "Amount", "!=", "0", ")", "{", "unsigned", "Align", "=", "getStackAlignment", "(", ")", ";", "Amount", "=", "(", "Amount", "+", "Align", "-", "1", ")", "/", "Align", "*", "Align", ";", "assert", "(", "Amount", "%", "4", "==", "0", ")", ";", "Amount", "/=", "4", ";", "bool", "isU6", "=", "isImmU6", "(", "Amount", ")", ";", "if", "(", "!", "isU6", "&&", "!", "isImmU16", "(", "Amount", ")", ")", "{", "errs", "(", ")", "<<", "\"eliminateCallFramePseudoInstr size too big: \"", "<<", "Amount", "<<", "\"\\n\"", ";", "llvm_unreachable", "(", "nullptr", ")", ";", "}", "MachineInstr", "*", "New", ";", "if", "(", "Old", "->", "getOpcode", "(", ")", "==", "XCore", "::", "ADJCALLSTACKDOWN", ")", "{", "int", "Opcode", "=", "isU6", "?", "XCore", "::", "EXTSP_u6", ":", "XCore", "::", "EXTSP_lu6", ";", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "Opcode", ")", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Old", "->", "getOpcode", "(", ")", "==", "XCore", "::", "ADJCALLSTACKUP", ")", ";", "int", "Opcode", "=", "isU6", "?", "XCore", "::", "LDAWSP_ru6", ":", "XCore", "::", "LDAWSP_lru6", ";", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "Opcode", ")", ",", "XCore", "::", "SP", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "MBB", ".", "insert", "(", "I", ",", "New", ")", ";", "}", "}", "MBB", ".", "erase", "(", "I", ")", ";", "}", ""], "natrual_language": ["This", "method", "is", "called", "during", "prolog/epilog", "code", "insertion", "to", "eliminate", "call", "frame", "setup", "and", "destroy", "pseudo", "instructions", "(", "but", "only", "if", "the", "Target", "is", "using", "them", ")", "."], "TS_V_token": ["XCore", "XCore", "XCore", "XCore", "0", "0", "1", "4", "0", "4", "\"eliminateCallFramePseudoInstr size too big: \"", "\"\\n\"", "XCore::ADJCALLSTACKDOWN", "XCore::EXTSP_u6", "XCore::EXTSP_lu6", "XCore::ADJCALLSTACKUP", "XCore::LDAWSP_ru6", "XCore::LDAWSP_lru6", "XCore::SP"], "File": "XCoreFrameLowering39", "Func": "eliminateCallFramePseudoInstr", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1977, "Length": 283, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arc_initial_elimination_offset", "(", "int", "from", ",", "int", "to", ")", "{", "if", "(", "!", "cfun", "->", "machine", "->", "frame_info", ".", "initialized", ")", "arc_compute_frame_size", "(", "get_frame_size", "(", ")", ")", ";", "if", "(", "from", "==", "ARG_POINTER_REGNUM", "&&", "to", "==", "FRAME_POINTER_REGNUM", ")", "{", "return", "(", "cfun", "->", "machine", "->", "frame_info", ".", "extra_size", "+", "cfun", "->", "machine", "->", "frame_info", ".", "reg_size", ")", ";", "}", "if", "(", "from", "==", "ARG_POINTER_REGNUM", "&&", "to", "==", "STACK_POINTER_REGNUM", ")", "{", "return", "(", "cfun", "->", "machine", "->", "frame_info", ".", "total_size", "-", "cfun", "->", "machine", "->", "frame_info", ".", "pretend_size", ")", ";", "}", "if", "(", "(", "from", "==", "FRAME_POINTER_REGNUM", ")", "&&", "(", "to", "==", "STACK_POINTER_REGNUM", ")", ")", "{", "return", "(", "cfun", "->", "machine", "->", "frame_info", ".", "total_size", "-", "(", "cfun", "->", "machine", "->", "frame_info", ".", "pretend_size", "+", "cfun", "->", "machine", "->", "frame_info", ".", "extra_size", "+", "cfun", "->", "machine", "->", "frame_info", ".", "reg_size", ")", ")", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Define", "the", "offset", "between", "two", "registers", ",", "one", "to", "be", "eliminated", ",", "and", "the", "other", "its", "replacement", ",", "at", "the", "start", "of", "a", "routine", "."], "TS_V_token": ["arc"], "File": "arc4", "Func": "arc_initial_elimination_offset", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1978, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nvptx_init_unisimt_predicate", "(", "FILE", "*", "file", ")", "{", "cfun", "->", "machine", "->", "unisimt_location", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "int", "loc", "=", "REGNO", "(", "cfun", "->", "machine", "->", "unisimt_location", ")", ";", "int", "bits", "=", "POINTER_SIZE", ";", "fprintf", "(", "file", ",", "\"\\t.reg.u%d %%r%d;\\n\"", ",", "bits", ",", "loc", ")", ";", "fprintf", "(", "file", ",", "\"\\t{\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\t\\t.reg.u32 %%ustmp0;\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\t\\t.reg.u%d %%ustmp1;\\n\"", ",", "bits", ")", ";", "fprintf", "(", "file", ",", "\"\\t\\tmov.u32 %%ustmp0, %%tid.y;\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\t\\tmul%s.u32 %%ustmp1, %%ustmp0, 4;\\n\"", ",", "bits", "==", "64", "?", "\".wide\"", ":", "\".lo\"", ")", ";", "fprintf", "(", "file", ",", "\"\\t\\tmov.u%d %%r%d, __nvptx_uni;\\n\"", ",", "bits", ",", "loc", ")", ";", "fprintf", "(", "file", ",", "\"\\t\\tadd.u%d %%r%d, %%r%d, %%ustmp1;\\n\"", ",", "bits", ",", "loc", ",", "loc", ")", ";", "if", "(", "cfun", "->", "machine", "->", "unisimt_predicate", ")", "{", "int", "master", "=", "REGNO", "(", "cfun", "->", "machine", "->", "unisimt_master", ")", ";", "int", "pred", "=", "REGNO", "(", "cfun", "->", "machine", "->", "unisimt_predicate", ")", ";", "fprintf", "(", "file", ",", "\"\\t\\tld.shared.u32 %%r%d, [%%r%d];\\n\"", ",", "master", ",", "loc", ")", ";", "if", "(", "cfun", "->", "machine", "->", "unisimt_outside_simt_predicate", ")", "{", "int", "pred_outside_simt", "=", "REGNO", "(", "cfun", "->", "machine", "->", "unisimt_outside_simt_predicate", ")", ";", "fprintf", "(", "file", ",", "\"\\t\\tsetp.eq.u32 %%r%d, %%r%d, 0;\\n\"", ",", "pred_outside_simt", ",", "master", ")", ";", "}", "fprintf", "(", "file", ",", "\"\\t\\tmov.u32 %%ustmp0, %%laneid;\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\t\\tand.b32 %%r%d, %%r%d, %%ustmp0;\\n\"", ",", "master", ",", "master", ")", ";", "fprintf", "(", "file", ",", "\"\\t\\tsetp.eq.u32 %%r%d, %%r%d, %%ustmp0;\\n\"", ",", "pred", ",", "master", ")", ";", "}", "fprintf", "(", "file", ",", "\"\\t}\\n\"", ")", ";", "need_unisimt_decl", "=", "true", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "initialize", "predicate", "and", "master", "lane", "index", "registers", "for", "-muniform-simt", "code", "generation", "variant", "."], "TS_V_token": ["nvptx", "\"\\t.reg.u%d %%r%d;\\n\"", "\"\\t{\\n\"", "\"\\t\\t.reg.u32 %%ustmp0;\\n\"", "\"\\t\\t.reg.u%d %%ustmp1;\\n\"", "\"\\t\\tmov.u32 %%ustmp0, %%tid.y;\\n\"", "\"\\t\\tmul%s.u32 %%ustmp1, %%ustmp0, 4;\\n\"", "64", "\".wide\"", "\".lo\"", "\"\\t\\tmov.u%d %%r%d, __nvptx_uni;\\n\"", "\"\\t\\tadd.u%d %%r%d, %%r%d, %%ustmp1;\\n\"", "\"\\t\\tld.shared.u32 %%r%d, [%%r%d];\\n\"", "\"\\t\\tsetp.eq.u32 %%r%d, %%r%d, 0;\\n\"", "\"\\t\\tmov.u32 %%ustmp0, %%laneid;\\n\"", "\"\\t\\tand.b32 %%r%d, %%r%d, %%ustmp0;\\n\"", "\"\\t\\tsetp.eq.u32 %%r%d, %%r%d, %%ustmp0;\\n\"", "\"\\t}\\n\""], "File": "nvptx", "Func": "nvptx_init_unisimt_predicate", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 1979, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "NyuziRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "return", "NyuziCSR_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["Nyuzi", "Nyuzi", "Nyuzi"], "File": "NyuziRegisterInfo", "Func": "getCalleeSavedRegs", "Target": "Nyuzi", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 1980, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "if", "(", "TM", "->", "isPagerando", "(", ")", ")", "addPass", "(", "createARMPagerandoOptimizerPass", "(", ")", ")", ";", "addPass", "(", "createMLxExpansionPass", "(", ")", ")", ";", "if", "(", "EnableARMLoadStoreOpt", ")", "addPass", "(", "createARMLoadStoreOptimizationPass", "(", "true", ")", ")", ";", "if", "(", "!", "DisableA15SDOptimization", ")", "addPass", "(", "createA15SDOptimizerPass", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM"], "File": "ARMTargetMachine3", "Func": "addPreRegAlloc", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1981, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mmix_pass_by_reference", "(", "cumulative_args_t", "argsp_v", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "CUMULATIVE_ARGS", "*", "argsp", "=", "get_cumulative_args", "(", "argsp_v", ")", ";", "if", "(", "targetm", ".", "calls", ".", "must_pass_in_stack", "(", "mode", ",", "type", ")", ")", "return", "true", ";", "if", "(", "MMIX_FUNCTION_ARG_SIZE", "(", "mode", ",", "type", ")", ">", "8", "&&", "!", "TARGET_LIBFUNC", "&&", "(", "!", "argsp", "||", "!", "argsp", "->", "lib", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "nonzero", "for", "everything", "that", "goes", "by", "reference", ",", "0", "for", "everything", "that", "goes", "by", "value", "."], "TS_V_token": ["mmix", "8"], "File": "mmix4", "Func": "mmix_pass_by_reference", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1982, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ValueReplacer", "::", "clear", "(", ")", "{", "for", "(", "Instruction", "*", "I", ":", "DeletedInstructions", ")", "I", "->", "eraseFromParent", "(", ")", ";", "}", ""], "natrual_language": ["Clear", "all", "timers", "in", "this", "group", "."], "TS_V_token": ["TPC"], "File": "TPCTools", "Func": "clear", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 1983, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "vax_cc_modes_compatible", "(", "machine_mode", "m1", ",", "machine_mode", "m2", ")", "{", "switch", "(", "m1", ")", "{", "default", ":", "gcc_unreachable", "(", ")", ";", "case", "E_CCmode", ":", "switch", "(", "m2", ")", "{", "default", ":", "gcc_unreachable", "(", ")", ";", "case", "E_CCmode", ":", "case", "E_CCNZmode", ":", "case", "E_CCNmode", ":", "case", "E_CCZmode", ":", "return", "m1", ";", "}", "case", "E_CCNZmode", ":", "switch", "(", "m2", ")", "{", "default", ":", "gcc_unreachable", "(", ")", ";", "case", "E_CCmode", ":", "return", "m2", ";", "case", "E_CCNmode", ":", "case", "E_CCNZmode", ":", "case", "E_CCZmode", ":", "return", "m1", ";", "}", "case", "E_CCNmode", ":", "case", "E_CCZmode", ":", "switch", "(", "m2", ")", "{", "default", ":", "gcc_unreachable", "(", ")", ";", "case", "E_CCmode", ":", "case", "E_CCNZmode", ":", "return", "m2", ";", "case", "E_CCNmode", ":", "case", "E_CCZmode", ":", "return", "m1", "==", "m2", "?", "m1", ":", "E_CCNZmode", ";", "}", "}", "}", ""], "natrual_language": ["Return", "the", "narrowest", "CC", "mode", "that", "spans", "both", "modes", "offered", ".", "If", "they", "intersect", ",", "this", "will", "be", "the", "wider", "of", "the", "two", ",", "and", "if", "they", "do", "not", "then", "find", "find", "one", "that", "is", "a", "superset", "of", "both", "(", "i.e", ".", "CCNZmode", "for", "a", "pair", "consisting", "of", "CCNmode", "and", "CCZmode", ")", ".", "A", "wider", "CC", "writer", "will", "satisfy", "a", "narrower", "CC", "reader", ",", "e.g", ".", "a", "comparison", "operator", "that", "uses", "CCZmode", "can", "use", "a", "CCNZmode", "output", "of", "a", "previous", "instruction", "."], "TS_V_token": ["vax"], "File": "vax", "Func": "vax_cc_modes_compatible", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1984, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "class", "xlogue_layout", "&", "xlogue_layout", "::", "get_instance", "(", ")", "{", "enum", "xlogue_stub_sets", "stub_set", ";", "bool", "aligned_plus_8", "=", "cfun", "->", "machine", "->", "call_ms2sysv_pad_in", ";", "if", "(", "stack_realign_fp", ")", "stub_set", "=", "XLOGUE_SET_HFP_ALIGNED_OR_REALIGN", ";", "else", "if", "(", "frame_pointer_needed", ")", "stub_set", "=", "aligned_plus_8", "?", "XLOGUE_SET_HFP_ALIGNED_PLUS_8", ":", "XLOGUE_SET_HFP_ALIGNED_OR_REALIGN", ";", "else", "stub_set", "=", "aligned_plus_8", "?", "XLOGUE_SET_ALIGNED_PLUS_8", ":", "XLOGUE_SET_ALIGNED", ";", "return", "s_instances", "[", "stub_set", "]", ";", "}", ""], "natrual_language": ["Return", "an", "appropriate", "const", "instance", "of", "xlogue_layout", "based", "upon", "values", "in", "cfun-", ">", "machine", "and", "crtl", "."], "TS_V_token": ["i386"], "File": "i386-features", "Func": "get_instance", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1985, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonGenExtract", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "DT", "=", "&", "getAnalysis", "<", "DominatorTreeWrapperPass", ">", "(", ")", ".", "getDomTree", "(", ")", ";", "bool", "Changed", ";", "BasicBlock", "*", "Entry", "=", "GraphTraits", "<", "Function", "*", ">", "::", "getEntryNode", "(", "&", "F", ")", ";", "Changed", "=", "visitBlock", "(", "Entry", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["Hexagon", "Hexagon"], "File": "HexagonGenExtract11", "Func": "runOnFunction", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1986, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "XCoreFrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ")", "const", "{", "}", ""], "natrual_language": ["processFunctionBeforeFrameFinalized", "-", "This", "method", "is", "called", "immediately", "before", "the", "specified", "function", "'s", "frame", "layout", "(", "MF.getFrameInfo", "(", ")", ")", "is", "finalized", "."], "TS_V_token": ["XCore", "XCore"], "File": "XCoreFrameLowering15", "Func": "processFunctionBeforeFrameFinalized", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1987, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CallLowering", "::", "lowerFormalArguments", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Function", "&", "F", ",", "ArrayRef", "<", "ArrayRef", "<", "Register", ">>", "VRegs", ",", "FunctionLoweringInfo", "&", "FLI", ")", "const", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "MachineBasicBlock", "&", "MBB", "=", "MIRBuilder", ".", "getMBB", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "auto", "&", "DL", "=", "F", ".", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ";", "SmallVector", "<", "ArgInfo", ",", "8", ">", "SplitArgs", ";", "unsigned", "i", "=", "0", ";", "for", "(", "auto", "&", "Arg", ":", "F", ".", "args", "(", ")", ")", "{", "if", "(", "DL", ".", "getTypeStoreSize", "(", "Arg", ".", "getType", "(", ")", ")", ".", "isZero", "(", ")", ")", "continue", ";", "ArgInfo", "OrigArg", "{", "VRegs", "[", "i", "]", ",", "Arg", ".", "getType", "(", ")", "}", ";", "setArgFlags", "(", "OrigArg", ",", "i", "+", "AttributeList", "::", "FirstArgIndex", ",", "DL", ",", "F", ")", ";", "if", "(", "Arg", ".", "hasAttribute", "(", "Attribute", "::", "SwiftAsync", ")", ")", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", "->", "setHasSwiftAsyncContext", "(", "true", ")", ";", "splitToValueTypes", "(", "OrigArg", ",", "SplitArgs", ",", "DL", ",", "MRI", ",", "F", ".", "getCallingConv", "(", ")", ")", ";", "++", "i", ";", "}", "if", "(", "!", "MBB", ".", "empty", "(", ")", ")", "MIRBuilder", ".", "setInstr", "(", "*", "MBB", ".", "begin", "(", ")", ")", ";", "const", "AArch64TargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "AArch64TargetLowering", ">", "(", ")", ";", "CCAssignFn", "*", "AssignFn", "=", "TLI", ".", "CCAssignFnForCall", "(", "F", ".", "getCallingConv", "(", ")", ",", "false", ")", ";", "FormalArgHandler", "Handler", "(", "MIRBuilder", ",", "MRI", ",", "AssignFn", ")", ";", "if", "(", "!", "handleAssignments", "(", "MIRBuilder", ",", "SplitArgs", ",", "Handler", ")", ")", "return", "false", ";", "AArch64FunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "uint64_t", "StackOffset", "=", "Handler", ".", "StackUsed", ";", "if", "(", "F", ".", "isVarArg", "(", ")", ")", "{", "auto", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ";", "if", "(", "!", "Subtarget", ".", "isTargetDarwin", "(", ")", ")", "{", "return", "false", ";", "}", "StackOffset", "=", "alignTo", "(", "Handler", ".", "StackUsed", ",", "Subtarget", ".", "isTargetILP32", "(", ")", "?", "4", ":", "8", ")", ";", "auto", "&", "MFI", "=", "MIRBuilder", ".", "getMF", "(", ")", ".", "getFrameInfo", "(", ")", ";", "FuncInfo", "->", "setVarArgsStackIndex", "(", "MFI", ".", "CreateFixedObject", "(", "4", ",", "StackOffset", ",", "true", ")", ")", ";", "}", "if", "(", "doesCalleeRestoreStack", "(", "F", ".", "getCallingConv", "(", ")", ",", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "GuaranteedTailCallOpt", ")", ")", "{", "StackOffset", "=", "alignTo", "(", "StackOffset", ",", "16", ")", ";", "FuncInfo", "->", "setArgumentStackToRestore", "(", "StackOffset", ")", ";", "}", "FuncInfo", "->", "setBytesInStackArgArea", "(", "StackOffset", ")", ";", "auto", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ";", "if", "(", "Subtarget", ".", "hasCustomCallingConv", "(", ")", ")", "Subtarget", ".", "getRegisterInfo", "(", ")", "->", "UpdateCustomCalleeSavedRegs", "(", "MF", ")", ";", "handleMustTailForwardedRegisters", "(", "MIRBuilder", ",", "AssignFn", ")", ";", "MIRBuilder", ".", "setMBB", "(", "MBB", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "VRegs", ",", "for", "GlobalISel", "."], "TS_V_token": ["AArch64", "AArch64", "8", "0", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "4", "8", "4", "16", "AArch64"], "File": "AArch64CallLowering7", "Func": "lowerFormalArguments", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1988, "Length": 471, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "BlackfinRegisterInfo", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "NoFramePointerElim", "||", "MFI", "->", "hasCalls", "(", ")", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["Blackfin"], "File": "BlackfinRegisterInfo1", "Func": "hasFP", "Target": "Blackfin", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 1989, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "add_dependee_for_func_arg", "(", "rtx_insn", "*", "arg", ",", "basic_block", "bb", ")", "{", "rtx_insn", "*", "insn", "=", "BB_END", "(", "bb", ")", ";", "while", "(", "insn", ")", "{", "if", "(", "NONDEBUG_INSN_P", "(", "insn", ")", "&&", "NONJUMP_INSN_P", "(", "insn", ")", ")", "{", "rtx", "set", "=", "single_set", "(", "insn", ")", ";", "if", "(", "set", ")", "{", "avoid_func_arg_motion", "(", "arg", ",", "insn", ")", ";", "return", ";", "}", "}", "if", "(", "insn", "==", "BB_HEAD", "(", "bb", ")", ")", "return", ";", "insn", "=", "PREV_INSN", "(", "insn", ")", ";", "}", "}", ""], "natrual_language": ["Avoid", "cross", "block", "motion", "of", "function", "argument", "through", "adding", "dependency", "from", "the", "first", "non-jump", "instruction", "in", "bb", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "add_dependee_for_func_arg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1990, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64TargetLowering", "::", "getSqrtInputTest", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ",", "const", "DenormalMode", "&", "Mode", ")", "const", "{", "SDLoc", "DL", "(", "Op", ")", ";", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "EVT", "CCVT", "=", "getSetCCResultType", "(", "DAG", ".", "getDataLayout", "(", ")", ",", "*", "DAG", ".", "getContext", "(", ")", ",", "VT", ")", ";", "SDValue", "FPZero", "=", "DAG", ".", "getConstantFP", "(", "0.0", ",", "DL", ",", "VT", ")", ";", "return", "DAG", ".", "getSetCC", "(", "DL", ",", "CCVT", ",", "Op", ",", "FPZero", ",", "ISD", "::", "SETEQ", ")", ";", "}", ""], "natrual_language": ["Return", "a", "target-dependent", "comparison", "result", "if", "the", "input", "operand", "is", "suitable", "for", "use", "with", "a", "square", "root", "estimate", "calculation", "."], "TS_V_token": ["AArch64", "AArch64", "0.0", "ISD::SETEQ"], "File": "AArch64ISelLowering (2)2", "Func": "getSqrtInputTest", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1991, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AddressSpace", "getAddressSpace", "(", "T", "*", "V", ")", "{", "auto", "*", "PT", "=", "cast", "<", "PointerType", ">", "(", "V", "->", "getType", "(", ")", ")", ";", "assert", "(", "PT", "!=", "nullptr", "&&", "\"unexpected MemSDNode\"", ")", ";", "unsigned", "AS", "=", "PT", "->", "getAddressSpace", "(", ")", ";", "if", "(", "AS", "<", "NumAddrSpaces", ")", "return", "static_cast", "<", "AddressSpace", ">", "(", "AS", ")", ";", "return", "NumAddrSpaces", ";", "}", ""], "natrual_language": ["Return", "the", "address", "space", "of", "the", "Pointer", "type", "."], "TS_V_token": ["AVR", "\"unexpected MemSDNode\""], "File": "AVR", "Func": "getAddressSpace", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1992, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "RISCVTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "(", "RISCVISD", "::", "NodeType", ")", "Opcode", ")", "{", "case", "RISCVISD", "::", "FIRST_NUMBER", ":", "break", ";", "case", "RISCVISD", "::", "RET_FLAG", ":", "return", "\"RISCVISD::RET_FLAG\"", ";", "case", "RISCVISD", "::", "URET_FLAG", ":", "return", "\"RISCVISD::URET_FLAG\"", ";", "case", "RISCVISD", "::", "SRET_FLAG", ":", "return", "\"RISCVISD::SRET_FLAG\"", ";", "case", "RISCVISD", "::", "MRET_FLAG", ":", "return", "\"RISCVISD::MRET_FLAG\"", ";", "case", "RISCVISD", "::", "CALL", ":", "return", "\"RISCVISD::CALL\"", ";", "case", "RISCVISD", "::", "SELECT_CC", ":", "return", "\"RISCVISD::SELECT_CC\"", ";", "case", "RISCVISD", "::", "BuildPairF64", ":", "return", "\"RISCVISD::BuildPairF64\"", ";", "case", "RISCVISD", "::", "SplitF64", ":", "return", "\"RISCVISD::SplitF64\"", ";", "case", "RISCVISD", "::", "TAIL", ":", "return", "\"RISCVISD::TAIL\"", ";", "case", "RISCVISD", "::", "SLLW", ":", "return", "\"RISCVISD::SLLW\"", ";", "case", "RISCVISD", "::", "SRAW", ":", "return", "\"RISCVISD::SRAW\"", ";", "case", "RISCVISD", "::", "SRLW", ":", "return", "\"RISCVISD::SRLW\"", ";", "case", "RISCVISD", "::", "DIVW", ":", "return", "\"RISCVISD::DIVW\"", ";", "case", "RISCVISD", "::", "DIVUW", ":", "return", "\"RISCVISD::DIVUW\"", ";", "case", "RISCVISD", "::", "REMUW", ":", "return", "\"RISCVISD::REMUW\"", ";", "case", "RISCVISD", "::", "FMV_W_X_RV64", ":", "return", "\"RISCVISD::FMV_W_X_RV64\"", ";", "case", "RISCVISD", "::", "FMV_H_X_RV32", ":", "return", "\"RISCVISD::FMV_H_X_RV32\"", ";", "case", "RISCVISD", "::", "FMV_H_X_RV64", ":", "return", "\"RISCVISD::FMV_H_X_RV64\"", ";", "case", "RISCVISD", "::", "FMV_X_ANYEXTW_RV64", ":", "return", "\"RISCVISD::FMV_X_ANYEXTW_RV64\"", ";", "case", "RISCVISD", "::", "FMV_X_ANYEXTH_RV64", ":", "return", "\"RISCVISD::FMV_X_ANYEXTH_RV64\"", ";", "case", "RISCVISD", "::", "FMV_X_ANYEXTH_RV32", ":", "return", "\"RISCVISD::FMV_X_ANYEXTH_RV32\"", ";", "case", "RISCVISD", "::", "READ_CYCLE_WIDE", ":", "return", "\"RISCVISD::READ_CYCLE_WIDE\"", ";", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["RISCV", "RISCV", "RISCVISD::NodeType", "RISCVISD::FIRST_NUMBER", "RISCVISD::RET_FLAG", "\"RISCVISD::RET_FLAG\"", "RISCVISD::URET_FLAG", "\"RISCVISD::URET_FLAG\"", "RISCVISD::SRET_FLAG", "\"RISCVISD::SRET_FLAG\"", "RISCVISD::MRET_FLAG", "\"RISCVISD::MRET_FLAG\"", "RISCVISD::CALL", "\"RISCVISD::CALL\"", "RISCVISD::SELECT_CC", "\"RISCVISD::SELECT_CC\"", "RISCVISD::BuildPairF64", "\"RISCVISD::BuildPairF64\"", "RISCVISD::SplitF64", "\"RISCVISD::SplitF64\"", "RISCVISD::TAIL", "\"RISCVISD::TAIL\"", "RISCVISD::SLLW", "\"RISCVISD::SLLW\"", "RISCVISD::SRAW", "\"RISCVISD::SRAW\"", "RISCVISD::SRLW", "\"RISCVISD::SRLW\"", "RISCVISD::DIVW", "\"RISCVISD::DIVW\"", "RISCVISD::DIVUW", "\"RISCVISD::DIVUW\"", "RISCVISD::REMUW", "\"RISCVISD::REMUW\"", "RISCVISD::FMV_W_X_RV64", "\"RISCVISD::FMV_W_X_RV64\"", "RISCVISD::FMV_H_X_RV32", "\"RISCVISD::FMV_H_X_RV32\"", "RISCVISD::FMV_H_X_RV64", "\"RISCVISD::FMV_H_X_RV64\"", "RISCVISD::FMV_X_ANYEXTW_RV64", "\"RISCVISD::FMV_X_ANYEXTW_RV64\"", "RISCVISD::FMV_X_ANYEXTH_RV64", "\"RISCVISD::FMV_X_ANYEXTH_RV64\"", "RISCVISD::FMV_X_ANYEXTH_RV32", "\"RISCVISD::FMV_X_ANYEXTH_RV32\"", "RISCVISD::READ_CYCLE_WIDE", "\"RISCVISD::READ_CYCLE_WIDE\""], "File": "RISCVISelLowering41", "Func": "getTargetNodeName", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1993, "Length": 210, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "PPCRegisterInfo", "::", "getPointerRegClass", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Kind", ")", "const", "{", "if", "(", "Kind", "==", "1", ")", "{", "if", "(", "TM", ".", "isPPC64", "(", ")", ")", "return", "&", "PPC", "::", "G8RC_NOX0RegClass", ";", "return", "&", "PPC", "::", "GPRC_NOR0RegClass", ";", "}", "if", "(", "TM", ".", "isPPC64", "(", ")", ")", "return", "&", "PPC", "::", "G8RCRegClass", ";", "return", "&", "PPC", "::", "GPRCRegClass", ";", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["PowerPC", "PPC", "1", "PPC", "PPC::G8RC_NOX0RegClass", "PPC::GPRC_NOR0RegClass", "PPC", "PPC::G8RCRegClass", "PPC::GPRCRegClass"], "File": "PPCRegisterInfo (2)1", "Func": "getPointerRegClass", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1994, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "s390_frame_info", "(", "void", ")", "{", "int", "i", ";", "cfun_frame_layout", ".", "frame_size", "=", "get_frame_size", "(", ")", ";", "if", "(", "!", "TARGET_64BIT", "&&", "cfun_frame_layout", ".", "frame_size", ">", "0x7fff0000", ")", "fatal_error", "(", "\"total size of local variables exceeds architecture limit\"", ")", ";", "if", "(", "!", "TARGET_PACKED_STACK", ")", "{", "cfun_frame_layout", ".", "backchain_offset", "=", "0", ";", "cfun_frame_layout", ".", "f0_offset", "=", "16", "*", "UNITS_PER_WORD", ";", "cfun_frame_layout", ".", "f4_offset", "=", "cfun_frame_layout", ".", "f0_offset", "+", "2", "*", "8", ";", "cfun_frame_layout", ".", "f8_offset", "=", "-", "cfun_frame_layout", ".", "high_fprs", "*", "8", ";", "cfun_frame_layout", ".", "gprs_offset", "=", "(", "cfun_frame_layout", ".", "first_save_gpr_slot", "*", "UNITS_PER_WORD", ")", ";", "}", "else", "if", "(", "TARGET_BACKCHAIN", ")", "{", "cfun_frame_layout", ".", "backchain_offset", "=", "(", "STACK_POINTER_OFFSET", "-", "UNITS_PER_WORD", ")", ";", "cfun_frame_layout", ".", "gprs_offset", "=", "(", "cfun_frame_layout", ".", "backchain_offset", "-", "(", "STACK_POINTER_REGNUM", "-", "cfun_frame_layout", ".", "first_save_gpr_slot", "+", "1", ")", "*", "UNITS_PER_WORD", ")", ";", "if", "(", "TARGET_64BIT", ")", "{", "cfun_frame_layout", ".", "f4_offset", "=", "(", "cfun_frame_layout", ".", "gprs_offset", "-", "8", "*", "(", "cfun_fpr_bit_p", "(", "2", ")", "+", "cfun_fpr_bit_p", "(", "3", ")", ")", ")", ";", "cfun_frame_layout", ".", "f0_offset", "=", "(", "cfun_frame_layout", ".", "f4_offset", "-", "8", "*", "(", "cfun_fpr_bit_p", "(", "0", ")", "+", "cfun_fpr_bit_p", "(", "1", ")", ")", ")", ";", "}", "else", "{", "cfun_frame_layout", ".", "f0_offset", "=", "(", "(", "cfun_frame_layout", ".", "gprs_offset", "&", "~", "(", "STACK_BOUNDARY", "/", "BITS_PER_UNIT", "-", "1", ")", ")", "-", "8", "*", "(", "cfun_fpr_bit_p", "(", "0", ")", "+", "cfun_fpr_bit_p", "(", "1", ")", ")", ")", ";", "cfun_frame_layout", ".", "f4_offset", "=", "(", "cfun_frame_layout", ".", "f0_offset", "-", "8", "*", "(", "cfun_fpr_bit_p", "(", "2", ")", "+", "cfun_fpr_bit_p", "(", "3", ")", ")", ")", ";", "}", "}", "else", "{", "cfun_frame_layout", ".", "f4_offset", "=", "(", "STACK_POINTER_OFFSET", "-", "8", "*", "(", "cfun_fpr_bit_p", "(", "2", ")", "+", "cfun_fpr_bit_p", "(", "3", ")", ")", ")", ";", "cfun_frame_layout", ".", "f0_offset", "=", "(", "cfun_frame_layout", ".", "f4_offset", "-", "8", "*", "(", "cfun_fpr_bit_p", "(", "0", ")", "+", "cfun_fpr_bit_p", "(", "1", ")", ")", ")", ";", "cfun_frame_layout", ".", "gprs_offset", "=", "cfun_frame_layout", ".", "f0_offset", "-", "cfun_gprs_save_area_size", ";", "}", "if", "(", "current_function_is_leaf", "&&", "!", "TARGET_TPF_PROFILING", "&&", "cfun_frame_layout", ".", "frame_size", "==", "0", "&&", "!", "cfun_save_high_fprs_p", "&&", "!", "current_function_calls_alloca", "&&", "!", "current_function_stdarg", ")", "return", ";", "if", "(", "!", "TARGET_PACKED_STACK", ")", "cfun_frame_layout", ".", "frame_size", "+=", "(", "STACK_POINTER_OFFSET", "+", "current_function_outgoing_args_size", "+", "cfun_frame_layout", ".", "high_fprs", "*", "8", ")", ";", "else", "{", "if", "(", "TARGET_BACKCHAIN", ")", "cfun_frame_layout", ".", "frame_size", "+=", "UNITS_PER_WORD", ";", "cfun_frame_layout", ".", "f8_offset", "=", "(", "MIN", "(", "MIN", "(", "cfun_frame_layout", ".", "f0_offset", ",", "cfun_frame_layout", ".", "f4_offset", ")", ",", "cfun_frame_layout", ".", "gprs_offset", ")", "-", "cfun_frame_layout", ".", "high_fprs", "*", "8", ")", ";", "cfun_frame_layout", ".", "frame_size", "+=", "cfun_frame_layout", ".", "high_fprs", "*", "8", ";", "for", "(", "i", "=", "0", ";", "i", "<", "8", ";", "i", "++", ")", "if", "(", "cfun_fpr_bit_p", "(", "i", ")", ")", "cfun_frame_layout", ".", "frame_size", "+=", "8", ";", "cfun_frame_layout", ".", "frame_size", "+=", "cfun_gprs_save_area_size", ";", "cfun_frame_layout", ".", "frame_size", "=", "(", "(", "cfun_frame_layout", ".", "frame_size", "+", "STACK_BOUNDARY", "/", "BITS_PER_UNIT", "-", "1", ")", "&", "~", "(", "STACK_BOUNDARY", "/", "BITS_PER_UNIT", "-", "1", ")", ")", ";", "cfun_frame_layout", ".", "frame_size", "+=", "current_function_outgoing_args_size", ";", "}", "}", ""], "natrual_language": ["Fill", "FRAME", "with", "info", "about", "frame", "of", "current", "function", "."], "TS_V_token": ["s390", "0x7fff0000", "\"total size of local variables exceeds architecture limit\"", "0", "16", "2", "8", "8", "1", "8", "2", "3", "8", "0", "1", "1", "8", "0", "1", "8", "2", "3", "8", "2", "3", "8", "0", "1", "0", "8", "8", "8", "0", "8", "8", "1", "1"], "File": "s3903", "Func": "s390_frame_info", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 1995, "Length": 468, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "MCS51TargetLowering", "::", "getSetCCResultType", "(", "const", "DataLayout", "&", "DL", ",", "LLVMContext", "&", ",", "EVT", "VT", ")", "const", "{", "assert", "(", "!", "VT", ".", "isVector", "(", ")", "&&", "\"No MCS51 SetCC type for vectors!\"", ")", ";", "return", "MVT", "::", "i8", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["MCS51", "MCS51", "\"No MCS51 SetCC type for vectors!\"", "MVT::i8"], "File": "MCS51ISelLowering", "Func": "getSetCCResultType", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 1996, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sh_reg_dead_or_unused_after_insn", "(", "const", "rtx_insn", "*", "i", ",", "int", "regno", ")", "{", "return", "find_regno_note", "(", "i", ",", "REG_DEAD", ",", "regno", ")", "!=", "NULL", "||", "find_regno_note", "(", "i", ",", "REG_UNUSED", ",", "regno", ")", "!=", "NULL", ";", "}", ""], "natrual_language": ["Given", "an", "insn", "and", "a", "reg", "number", ",", "tell", "whether", "the", "reg", "dies", "or", "is", "unused", "after", "the", "insn", "."], "TS_V_token": ["sh"], "File": "sh", "Func": "sh_reg_dead_or_unused_after_insn", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1997, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86PassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createX86ISelDag", "(", "getX86TargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "if", "(", "getX86Subtarget", "(", ")", ".", "isTargetELF", "(", ")", "&&", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createCleanupLocalDynamicTLSPass", "(", ")", ")", ";", "addPass", "(", "createX86GlobalBaseRegPass", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86"], "File": "X86TargetMachine", "Func": "addInstSelector", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 1998, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_strict_argument_naming", "(", "cumulative_args_t", "ca", "ATTRIBUTE_UNUSED", ")", "{", "return", "!", "TARGET_OLDABI", ";", "}", ""], "natrual_language": ["Implement", "TARGET_STRICT_ARGUMENT_NAMING", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_strict_argument_naming", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 1999, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonHardwareLoops", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"********* Hexagon Hardware Loops *********\\n\"", ")", ";", "if", "(", "skipFunction", "(", "*", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "MLI", "=", "&", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "MDT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "const", "HexagonSubtarget", "&", "HST", "=", "MF", ".", "getSubtarget", "<", "HexagonSubtarget", ">", "(", ")", ";", "TII", "=", "HST", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "HST", ".", "getRegisterInfo", "(", ")", ";", "for", "(", "auto", "&", "L", ":", "*", "MLI", ")", "if", "(", "!", "L", "->", "getParentLoop", "(", ")", ")", "{", "bool", "L0Used", "=", "false", ";", "bool", "L1Used", "=", "false", ";", "Changed", "|=", "convertToHardwareLoop", "(", "L", ",", "L0Used", ",", "L1Used", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Hexagon", "Hexagon", "\"********* Hexagon Hardware Loops *********\\n\"", "Hexagon", "Hexagon"], "File": "HexagonHardwareLoops13", "Func": "runOnMachineFunction", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2000, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_darwin64_record_arg", "(", "CUMULATIVE_ARGS", "*", "orig_cum", ",", "const_tree", "type", ",", "bool", "named", ",", "bool", "retval", ")", "{", "rtx", "rvec", "[", "FIRST_PSEUDO_REGISTER", "]", ";", "int", "k", "=", "1", ",", "kbase", "=", "1", ";", "HOST_WIDE_INT", "typesize", "=", "int_size_in_bytes", "(", "type", ")", ";", "CUMULATIVE_ARGS", "copy_cum", "=", "*", "orig_cum", ";", "CUMULATIVE_ARGS", "*", "cum", "=", "&", "copy_cum", ";", "if", "(", "!", "retval", "&&", "TYPE_ALIGN", "(", "type", ")", ">=", "2", "*", "BITS_PER_WORD", "&&", "(", "cum", "->", "words", "%", "2", ")", "!=", "0", ")", "cum", "->", "words", "++", ";", "cum", "->", "intoffset", "=", "0", ";", "cum", "->", "use_stack", "=", "0", ";", "cum", "->", "named", "=", "named", ";", "rs6000_darwin64_record_arg_recurse", "(", "cum", ",", "type", ",", "0", ",", "rvec", ",", "&", "k", ")", ";", "rs6000_darwin64_record_arg_flush", "(", "cum", ",", "typesize", "*", "BITS_PER_UNIT", ",", "rvec", ",", "&", "k", ")", ";", "if", "(", "cum", "->", "use_stack", ")", "{", "if", "(", "retval", ")", "return", "NULL_RTX", ";", "kbase", "=", "0", ";", "rvec", "[", "0", "]", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "NULL_RTX", ",", "const0_rtx", ")", ";", "}", "if", "(", "k", ">", "1", "||", "cum", "->", "use_stack", ")", "return", "gen_rtx_PARALLEL", "(", "BLKmode", ",", "gen_rtvec_v", "(", "k", "-", "kbase", ",", "&", "rvec", "[", "kbase", "]", ")", ")", ";", "else", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["For", "the", "darwin64", "ABI", ",", "we", "want", "to", "construct", "a", "PARALLEL", "consisting", "of", "the", "register", "(", "s", ")", "to", "be", "used", "for", "each", "field", "and", "subfield", "of", "a", "struct", "being", "passed", "by", "value", ",", "along", "with", "the", "offset", "of", "where", "the", "register", "'s", "value", "may", "be", "found", "in", "the", "block", ".", "FP", "fields", "go", "in", "FP", "register", ",", "vector", "fields", "go", "in", "vector", "registers", ",", "and", "everything", "else", "goes", "in", "int", "registers", ",", "packed", "as", "in", "memory", ".", "This", "code", "is", "also", "used", "for", "function", "return", "values", ".", "RETVAL", "indicates", "whether", "this", "is", "the", "case", ".", "Much", "of", "this", "is", "taken", "from", "the", "SPARC", "V9", "port", ",", "which", "has", "a", "similar", "calling", "convention", "."], "TS_V_token": ["rs6000", "1", "1", "2", "2", "0", "0", "0", "0", "0", "0", "1"], "File": "rs60004", "Func": "rs6000_darwin64_record_arg", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2001, "Length": 196, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "NyuziRegisterInfo", "::", "requiresFrameIndexScavenging", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "requires", "post", "PEI", "scavenging", "of", "registers", "for", "materializing", "frame", "index", "constants", "."], "TS_V_token": ["Nyuzi", "Nyuzi"], "File": "NyuziRegisterInfo", "Func": "requiresFrameIndexScavenging", "Target": "Nyuzi", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2002, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIInstrInfo", "::", "expandPostRAPseudo", "(", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "SIMachineFunctionInfo", "*", "MFI", "=", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", "->", "getParent", "(", ")", ";", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "AMDGPUInstrInfo", "::", "expandPostRAPseudo", "(", "MI", ")", ";", "case", "AMDGPU", "::", "SI_SPILL_S512_SAVE", ":", "case", "AMDGPU", "::", "SI_SPILL_S256_SAVE", ":", "case", "AMDGPU", "::", "SI_SPILL_S128_SAVE", ":", "case", "AMDGPU", "::", "SI_SPILL_S64_SAVE", ":", "{", "unsigned", "NumSubRegs", "=", "getNumSubRegsForSpillOp", "(", "MI", "->", "getOpcode", "(", ")", ")", ";", "unsigned", "FrameIndex", "=", "MI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "NumSubRegs", ";", "i", "<", "e", ";", "++", "i", ")", "{", "SIMachineFunctionInfo", "::", "SpilledReg", "Spill", ";", "unsigned", "SubReg", "=", "RI", ".", "getPhysRegSubReg", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ",", "&", "AMDGPU", "::", "SGPR_32RegClass", ",", "i", ")", ";", "Spill", "=", "MFI", "->", "SpillTracker", ".", "getSpilledReg", "(", "FrameIndex", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "AMDGPU", "::", "V_WRITELANE_B32", ")", ",", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "addReg", "(", "SubReg", ")", ".", "addImm", "(", "Spill", ".", "Lane", "+", "i", ")", ";", "}", "MI", "->", "eraseFromParent", "(", ")", ";", "break", ";", "}", "case", "AMDGPU", "::", "SI_SPILL_S512_RESTORE", ":", "case", "AMDGPU", "::", "SI_SPILL_S256_RESTORE", ":", "case", "AMDGPU", "::", "SI_SPILL_S128_RESTORE", ":", "case", "AMDGPU", "::", "SI_SPILL_S64_RESTORE", ":", "case", "AMDGPU", "::", "SI_SPILL_S32_RESTORE", ":", "{", "unsigned", "NumSubRegs", "=", "getNumSubRegsForSpillOp", "(", "MI", "->", "getOpcode", "(", ")", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "NumSubRegs", ";", "i", "<", "e", ";", "++", "i", ")", "{", "SIMachineFunctionInfo", "::", "SpilledReg", "Spill", ";", "unsigned", "FrameIndex", "=", "MI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "unsigned", "SubReg", "=", "RI", ".", "getPhysRegSubReg", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ",", "&", "AMDGPU", "::", "SGPR_32RegClass", ",", "i", ")", ";", "Spill", "=", "MFI", "->", "SpillTracker", ".", "getSpilledReg", "(", "FrameIndex", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "AMDGPU", "::", "V_READLANE_B32", ")", ",", "SubReg", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ".", "addImm", "(", "Spill", ".", "Lane", "+", "i", ")", ";", "}", "insertNOPs", "(", "MI", ",", "3", ")", ";", "MI", "->", "eraseFromParent", "(", ")", ";", "break", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["This", "function", "is", "called", "for", "all", "pseudo", "instructions", "that", "remain", "after", "register", "allocation", "."], "TS_V_token": ["R600", "SI", "SI", "SI", "SI", "SI", "SI", "SI", "2", "0", "SI", "1", "0", "SI", "SI", "SI", "SI", "SI", "0", "SI", "2", "0", "1", "3"], "File": "SIInstrInfo22", "Func": "expandPostRAPseudo", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2003, "Length": 408, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "struct", "machine_function", "*", "loongarch_init_machine_status", "(", "void", ")", "{", "return", "ggc_cleared_alloc", "<", "machine_function", ">", "(", ")", ";", "}", ""], "natrual_language": ["Allocate", "a", "chunk", "of", "memory", "for", "per-function", "machine-dependent", "data", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_init_machine_status", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2004, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "LanaiTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "case", "LanaiISD", "::", "ADJDYNALLOC", ":", "return", "\"LanaiISD::ADJDYNALLOC\"", ";", "case", "LanaiISD", "::", "RET_FLAG", ":", "return", "\"LanaiISD::RET_FLAG\"", ";", "case", "LanaiISD", "::", "CALL", ":", "return", "\"LanaiISD::CALL\"", ";", "case", "LanaiISD", "::", "SELECT_CC", ":", "return", "\"LanaiISD::SELECT_CC\"", ";", "case", "LanaiISD", "::", "SETCC", ":", "return", "\"LanaiISD::SETCC\"", ";", "case", "LanaiISD", "::", "SUBBF", ":", "return", "\"LanaiISD::SUBBF\"", ";", "case", "LanaiISD", "::", "SET_FLAG", ":", "return", "\"LanaiISD::SET_FLAG\"", ";", "case", "LanaiISD", "::", "BR_CC", ":", "return", "\"LanaiISD::BR_CC\"", ";", "case", "LanaiISD", "::", "Wrapper", ":", "return", "\"LanaiISD::Wrapper\"", ";", "case", "LanaiISD", "::", "HI", ":", "return", "\"LanaiISD::HI\"", ";", "case", "LanaiISD", "::", "LO", ":", "return", "\"LanaiISD::LO\"", ";", "case", "LanaiISD", "::", "SMALL", ":", "return", "\"LanaiISD::SMALL\"", ";", "default", ":", "return", "NULL", ";", "}", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["Lanai", "Lanai", "LanaiISD::ADJDYNALLOC", "\"LanaiISD::ADJDYNALLOC\"", "LanaiISD::RET_FLAG", "\"LanaiISD::RET_FLAG\"", "LanaiISD::CALL", "\"LanaiISD::CALL\"", "LanaiISD::SELECT_CC", "\"LanaiISD::SELECT_CC\"", "LanaiISD::SETCC", "\"LanaiISD::SETCC\"", "LanaiISD::SUBBF", "\"LanaiISD::SUBBF\"", "LanaiISD::SET_FLAG", "\"LanaiISD::SET_FLAG\"", "LanaiISD::BR_CC", "\"LanaiISD::BR_CC\"", "LanaiISD::Wrapper", "\"LanaiISD::Wrapper\"", "LanaiISD::HI", "\"LanaiISD::HI\"", "LanaiISD::LO", "\"LanaiISD::LO\"", "LanaiISD::SMALL", "\"LanaiISD::SMALL\""], "File": "LanaiISelLowering1", "Func": "getTargetNodeName", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2005, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "unsigned", "*", "ARCompactRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "static", "const", "unsigned", "CalleeSavedRegs", "[", "]", "=", "{", "ARC", "::", "T5", ",", "ARC", "::", "T6", ",", "ARC", "::", "T7", ",", "ARC", "::", "S0", ",", "ARC", "::", "S1", ",", "ARC", "::", "S2", ",", "ARC", "::", "S3", ",", "ARC", "::", "S4", ",", "ARC", "::", "S5", ",", "ARC", "::", "S6", ",", "ARC", "::", "S7", ",", "ARC", "::", "S8", ",", "ARC", "::", "S9", ",", "0", "}", ";", "return", "CalleeSavedRegs", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["ARCompact", "ARC", "ARC::T5", "ARC::T6", "ARC::T7", "ARC::S0", "ARC::S1", "ARC::S2", "ARC::S3", "ARC::S4", "ARC::S5", "ARC::S6", "ARC::S7", "ARC::S8", "ARC::S9", "0"], "File": "ARCompactRegisterInfo", "Func": "getCalleeSavedRegs", "Target": "ARCompact", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2006, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64Subtarget", "::", "AArch64Subtarget", "(", "const", "Triple", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "TuneCPU", ",", "const", "std", "::", "string", "&", "FS", ",", "const", "TargetMachine", "&", "TM", ",", "bool", "LittleEndian", ",", "unsigned", "MinSVEVectorSizeInBitsOverride", ",", "unsigned", "MaxSVEVectorSizeInBitsOverride", ")", ":", "AArch64GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "TuneCPU", ",", "FS", ")", ",", "ReserveXRegister", "(", "AArch64", "::", "GPR64commonRegClass", ".", "getNumRegs", "(", ")", ")", ",", "CustomCallSavedXRegs", "(", "AArch64", "::", "GPR64commonRegClass", ".", "getNumRegs", "(", ")", ")", ",", "IsLittle", "(", "LittleEndian", ")", ",", "MinSVEVectorSizeInBits", "(", "MinSVEVectorSizeInBitsOverride", ")", ",", "MaxSVEVectorSizeInBits", "(", "MaxSVEVectorSizeInBitsOverride", ")", ",", "TargetTriple", "(", "TT", ")", ",", "FrameLowering", "(", ")", ",", "InstrInfo", "(", "initializeSubtargetDependencies", "(", "FS", ",", "CPU", ",", "TuneCPU", ")", ")", ",", "TSInfo", "(", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", "{", "if", "(", "AArch64", "::", "isX18ReservedByDefault", "(", "TT", ")", ")", "ReserveXRegister", ".", "set", "(", "18", ")", ";", "CallLoweringInfo", ".", "reset", "(", "new", "AArch64CallLowering", "(", "*", "getTargetLowering", "(", ")", ")", ")", ";", "InlineAsmLoweringInfo", ".", "reset", "(", "new", "InlineAsmLowering", "(", "getTargetLowering", "(", ")", ")", ")", ";", "Legalizer", ".", "reset", "(", "new", "AArch64LegalizerInfo", "(", "*", "this", ")", ")", ";", "auto", "*", "RBI", "=", "new", "AArch64RegisterBankInfo", "(", "*", "getRegisterInfo", "(", ")", ")", ";", "InstSelector", ".", "reset", "(", "createAArch64InstructionSelector", "(", "*", "static_cast", "<", "const", "AArch64TargetMachine", "*", ">", "(", "&", "TM", ")", ",", "*", "this", ",", "*", "RBI", ")", ")", ";", "RegBankInfo", ".", "reset", "(", "RBI", ")", ";", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "AArch64::GPR64commonRegClass", "AArch64::GPR64commonRegClass", "AArch64::isX18ReservedByDefault", "18", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64Subtarget", "Func": "AArch64Subtarget", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2007, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "BitcodeWriter", "::", "writeStrtab", "(", ")", "{", "assert", "(", "!", "WroteStrtab", ")", ";", "std", "::", "vector", "<", "char", ">", "Strtab", ";", "StrtabBuilder", ".", "finalizeInOrder", "(", ")", ";", "Strtab", ".", "resize", "(", "StrtabBuilder", ".", "getSize", "(", ")", ")", ";", "StrtabBuilder", ".", "write", "(", "(", "uint8_t", "*", ")", "Strtab", ".", "data", "(", ")", ")", ";", "writeBlob", "(", "bitc", "::", "STRTAB_BLOCK_ID", ",", "bitc", "::", "STRTAB_BLOB", ",", "{", "Strtab", ".", "data", "(", ")", ",", "Strtab", ".", "size", "(", ")", "}", ")", ";", "WroteStrtab", "=", "true", ";", "}", ""], "natrual_language": ["Write", "the", "bitcode", "file", "'s", "string", "table", "."], "TS_V_token": ["DirectX"], "File": "DXILBitcodeWriter", "Func": "writeStrtab", "Target": "DirectX", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2008, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "AtomicExpansionKind", "SITargetLowering", "::", "shouldExpandAtomicRMWInIR", "(", "AtomicRMWInst", "*", "RMW", ")", "const", "{", "switch", "(", "RMW", "->", "getOperation", "(", ")", ")", "{", "case", "AtomicRMWInst", "::", "FAdd", ":", "{", "Type", "*", "Ty", "=", "RMW", "->", "getType", "(", ")", ";", "if", "(", "Ty", "->", "isHalfTy", "(", ")", ")", "return", "AtomicExpansionKind", "::", "None", ";", "if", "(", "!", "Ty", "->", "isFloatTy", "(", ")", ")", "return", "AtomicExpansionKind", "::", "CmpXChg", ";", "unsigned", "AS", "=", "RMW", "->", "getPointerAddressSpace", "(", ")", ";", "if", "(", "AS", "==", "AMDGPUAS", "::", "GLOBAL_ADDRESS", "&&", "Subtarget", "->", "hasAtomicFaddInsts", "(", ")", ")", "{", "if", "(", "!", "fpModeMatchesGlobalFPAtomicMode", "(", "RMW", ")", ")", "return", "AtomicExpansionKind", "::", "CmpXChg", ";", "return", "RMW", "->", "use_empty", "(", ")", "?", "AtomicExpansionKind", "::", "None", ":", "AtomicExpansionKind", "::", "CmpXChg", ";", "}", "return", "(", "AS", "==", "AMDGPUAS", "::", "LOCAL_ADDRESS", "&&", "Subtarget", "->", "hasLDSFPAtomics", "(", ")", ")", "?", "AtomicExpansionKind", "::", "None", ":", "AtomicExpansionKind", "::", "CmpXChg", ";", "}", "default", ":", "break", ";", "}", "return", "AMDGPUTargetLowering", "::", "shouldExpandAtomicRMWInIR", "(", "RMW", ")", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "IR-level", "AtomicExpand", "pass", "should", "expand", "the", "given", "AtomicRMW", ",", "if", "at", "all", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU", "AMDGPU", "AMDGPU"], "File": "SIISelLowering120", "Func": "shouldExpandAtomicRMWInIR", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2009, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "reg_unused_after", "(", "rtx_insn", "*", "insn", ",", "rtx", "reg", ")", "{", "return", "(", "dead_or_set_p", "(", "insn", ",", "reg", ")", "||", "(", "REG_P", "(", "reg", ")", "&&", "_reg_unused_after", "(", "insn", ",", "reg", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "REG", "is", "not", "used", "after", "INSN", ".", "We", "assume", "REG", "is", "a", "reload", "reg", ",", "and", "therefore", "does", "not", "live", "past", "labels", "or", "calls", "or", "jumps", "."], "TS_V_token": ["avr"], "File": "avr4", "Func": "reg_unused_after", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2010, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMElfTargetObjectFile", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "if", "(", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "isAAPCS_ABI", "(", ")", ")", "{", "StaticCtorSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".init_array\"", ",", "MCSectionELF", "::", "SHT_INIT_ARRAY", ",", "MCSectionELF", "::", "SHF_WRITE", "|", "MCSectionELF", "::", "SHF_ALLOC", ",", "SectionKind", "::", "getDataRel", "(", ")", ")", ";", "StaticDtorSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".fini_array\"", ",", "MCSectionELF", "::", "SHT_FINI_ARRAY", ",", "MCSectionELF", "::", "SHF_WRITE", "|", "MCSectionELF", "::", "SHF_ALLOC", ",", "SectionKind", "::", "getDataRel", "(", ")", ")", ";", "}", "AttributesSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".ARM.attributes\"", ",", "MCSectionELF", "::", "SHT_ARM_ATTRIBUTES", ",", "0", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["ARM", "ARM", "ARM", "\".init_array\"", "\".fini_array\"", "\".ARM.attributes\"", "ARM", "0"], "File": "ARMTargetObjectFile10", "Func": "Initialize", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2011, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64Subtarget", "::", "AArch64Subtarget", "(", "const", "Triple", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "const", "TargetMachine", "&", "TM", ",", "bool", "LittleEndian", ")", ":", "AArch64GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "ReserveXRegister", "(", "AArch64", "::", "GPR64commonRegClass", ".", "getNumRegs", "(", ")", ")", ",", "CustomCallSavedXRegs", "(", "AArch64", "::", "GPR64commonRegClass", ".", "getNumRegs", "(", ")", ")", ",", "IsLittle", "(", "LittleEndian", ")", ",", "TargetTriple", "(", "TT", ")", ",", "FrameLowering", "(", ")", ",", "InstrInfo", "(", "initializeSubtargetDependencies", "(", "FS", ",", "CPU", ")", ")", ",", "TSInfo", "(", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", "{", "if", "(", "AArch64", "::", "isX18ReservedByDefault", "(", "TT", ")", ")", "ReserveXRegister", ".", "set", "(", "18", ")", ";", "CallLoweringInfo", ".", "reset", "(", "new", "AArch64CallLowering", "(", "*", "getTargetLowering", "(", ")", ")", ")", ";", "Legalizer", ".", "reset", "(", "new", "AArch64LegalizerInfo", "(", "*", "this", ")", ")", ";", "auto", "*", "RBI", "=", "new", "AArch64RegisterBankInfo", "(", "*", "getRegisterInfo", "(", ")", ")", ";", "InstSelector", ".", "reset", "(", "createAArch64InstructionSelector", "(", "*", "static_cast", "<", "const", "AArch64TargetMachine", "*", ">", "(", "&", "TM", ")", ",", "*", "this", ",", "*", "RBI", ")", ")", ";", "RegBankInfo", ".", "reset", "(", "RBI", ")", ";", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "AArch64::GPR64commonRegClass", "AArch64::GPR64commonRegClass", "AArch64::isX18ReservedByDefault", "18", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64Subtarget15", "Func": "AArch64Subtarget", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2012, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LoongArchTargetLowering", "::", "CanLowerReturn", "(", "CallingConv", "::", "ID", "CallConv", ",", "MachineFunction", "&", "MF", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "LLVMContext", "&", "Context", ")", "const", "{", "return", "Outs", ".", "size", "(", ")", "<=", "2", ";", "}", ""], "natrual_language": ["This", "hook", "should", "be", "implemented", "to", "check", "whether", "the", "return", "values", "described", "by", "the", "Outs", "array", "can", "fit", "into", "the", "return", "registers", "."], "TS_V_token": ["LoongArch", "LoongArch", "ISD::OutputArg", "2"], "File": "LoongArchISelLowering1", "Func": "CanLowerReturn", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2013, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "MCAsmParser", "&", "Parser", "=", "getParser", "(", ")", ";", "StringRef", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ";", "if", "(", "IDVal", ".", "startswith", "(", "\".arch\"", ")", ")", "return", "parseDirectiveArch", "(", ")", ";", "if", "(", "IDVal", ".", "startswith", "(", "\".code\"", ")", ")", "return", "ParseDirectiveCode", "(", "IDVal", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", ".", "startswith", "(", "\".att_syntax\"", ")", ")", "{", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "if", "(", "Parser", ".", "getTok", "(", ")", ".", "getString", "(", ")", "==", "\"prefix\"", ")", "Parser", ".", "Lex", "(", ")", ";", "else", "if", "(", "Parser", ".", "getTok", "(", ")", ".", "getString", "(", ")", "==", "\"noprefix\"", ")", "return", "Error", "(", "DirectiveID", ".", "getLoc", "(", ")", ",", "\"'.att_syntax noprefix' is not \"", "\"supported: registers must have a \"", "\"'%' prefix in .att_syntax\"", ")", ";", "}", "getParser", "(", ")", ".", "setAssemblerDialect", "(", "0", ")", ";", "return", "false", ";", "}", "else", "if", "(", "IDVal", ".", "startswith", "(", "\".intel_syntax\"", ")", ")", "{", "getParser", "(", ")", ".", "setAssemblerDialect", "(", "1", ")", ";", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "if", "(", "Parser", ".", "getTok", "(", ")", ".", "getString", "(", ")", "==", "\"noprefix\"", ")", "Parser", ".", "Lex", "(", ")", ";", "else", "if", "(", "Parser", ".", "getTok", "(", ")", ".", "getString", "(", ")", "==", "\"prefix\"", ")", "return", "Error", "(", "DirectiveID", ".", "getLoc", "(", ")", ",", "\"'.intel_syntax prefix' is not \"", "\"supported: registers must not have \"", "\"a '%' prefix in .intel_syntax\"", ")", ";", "}", "return", "false", ";", "}", "else", "if", "(", "IDVal", "==", "\".nops\"", ")", "return", "parseDirectiveNops", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".even\"", ")", "return", "parseDirectiveEven", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".cv_fpo_proc\"", ")", "return", "parseDirectiveFPOProc", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".cv_fpo_setframe\"", ")", "return", "parseDirectiveFPOSetFrame", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".cv_fpo_pushreg\"", ")", "return", "parseDirectiveFPOPushReg", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".cv_fpo_stackalloc\"", ")", "return", "parseDirectiveFPOStackAlloc", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".cv_fpo_stackalign\"", ")", "return", "parseDirectiveFPOStackAlign", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".cv_fpo_endprologue\"", ")", "return", "parseDirectiveFPOEndPrologue", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".cv_fpo_endproc\"", ")", "return", "parseDirectiveFPOEndProc", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".seh_pushreg\"", ")", "return", "parseDirectiveSEHPushReg", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".seh_setframe\"", ")", "return", "parseDirectiveSEHSetFrame", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".seh_savereg\"", ")", "return", "parseDirectiveSEHSaveReg", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".seh_savexmm\"", ")", "return", "parseDirectiveSEHSaveXMM", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".seh_pushframe\"", ")", "return", "parseDirectiveSEHPushFrame", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["X86", "X86", "\".arch\"", "\".code\"", "\".att_syntax\"", "\"prefix\"", "\"noprefix\"", "\"'.att_syntax noprefix' is not \"", "\"supported: registers must have a \"", "\"'%' prefix in .att_syntax\"", "0", "\".intel_syntax\"", "1", "\"noprefix\"", "\"prefix\"", "\"'.intel_syntax prefix' is not \"", "\"supported: registers must not have \"", "\"a '%' prefix in .intel_syntax\"", "\".nops\"", "\".even\"", "\".cv_fpo_proc\"", "\".cv_fpo_setframe\"", "\".cv_fpo_pushreg\"", "\".cv_fpo_stackalloc\"", "\".cv_fpo_stackalign\"", "\".cv_fpo_endprologue\"", "\".cv_fpo_endproc\"", "\".seh_pushreg\"", "\".seh_setframe\"", "\".seh_savereg\"", "\".seh_savexmm\"", "\".seh_pushframe\""], "File": "X86AsmParser58", "Func": "ParseDirective", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2014, "Length": 479, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUAAResult", "::", "pointsToConstantMemory", "(", "const", "MemoryLocation", "&", "Loc", ",", "bool", "OrLocal", ")", "{", "const", "Value", "*", "Base", "=", "GetUnderlyingObject", "(", "Loc", ".", "Ptr", ",", "DL", ")", ";", "if", "(", "Base", "->", "getType", "(", ")", "->", "getPointerAddressSpace", "(", ")", "==", "AS", ".", "CONSTANT_ADDRESS", ")", "{", "return", "true", ";", "}", "if", "(", "const", "GlobalVariable", "*", "GV", "=", "dyn_cast", "<", "GlobalVariable", ">", "(", "Base", ")", ")", "{", "if", "(", "GV", "->", "isConstant", "(", ")", ")", "return", "true", ";", "}", "else", "if", "(", "const", "Argument", "*", "Arg", "=", "dyn_cast", "<", "Argument", ">", "(", "Base", ")", ")", "{", "const", "Function", "*", "F", "=", "Arg", "->", "getParent", "(", ")", ";", "switch", "(", "F", "->", "getCallingConv", "(", ")", ")", "{", "default", ":", "return", "AAResultBase", "::", "pointsToConstantMemory", "(", "Loc", ",", "OrLocal", ")", ";", "case", "CallingConv", "::", "AMDGPU_LS", ":", "case", "CallingConv", "::", "AMDGPU_HS", ":", "case", "CallingConv", "::", "AMDGPU_ES", ":", "case", "CallingConv", "::", "AMDGPU_GS", ":", "case", "CallingConv", "::", "AMDGPU_VS", ":", "case", "CallingConv", "::", "AMDGPU_PS", ":", "case", "CallingConv", "::", "AMDGPU_CS", ":", "case", "CallingConv", "::", "AMDGPU_KERNEL", ":", "case", "CallingConv", "::", "SPIR_KERNEL", ":", "break", ";", "}", "unsigned", "ArgNo", "=", "Arg", "->", "getArgNo", "(", ")", ";", "if", "(", "F", "->", "hasParamAttribute", "(", "ArgNo", ",", "Attribute", "::", "NoAlias", ")", "&&", "(", "F", "->", "hasParamAttribute", "(", "ArgNo", ",", "Attribute", "::", "ReadNone", ")", "||", "F", "->", "hasParamAttribute", "(", "ArgNo", ",", "Attribute", "::", "ReadOnly", ")", ")", ")", "{", "return", "true", ";", "}", "}", "return", "AAResultBase", "::", "pointsToConstantMemory", "(", "Loc", ",", "OrLocal", ")", ";", "}", ""], "natrual_language": ["A", "convenience", "wrapper", "around", "the", "primary", "pointsToConstantMemory", "interface", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU"], "File": "AMDGPUAliasAnalysis14", "Func": "pointsToConstantMemory", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2015, "Length": 237, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "aarch64_detect_vector_stmt_subtype", "(", "vec_info", "*", "vinfo", ",", "vect_cost_for_stmt", "kind", ",", "stmt_vec_info", "stmt_info", ",", "tree", "vectype", ",", "enum", "vect_cost_model_location", "where", ",", "unsigned", "int", "stmt_cost", ")", "{", "const", "simd_vec_cost", "*", "simd_costs", "=", "aarch64_simd_vec_costs", "(", "vectype", ")", ";", "const", "sve_vec_cost", "*", "sve_costs", "=", "nullptr", ";", "if", "(", "aarch64_sve_mode_p", "(", "TYPE_MODE", "(", "vectype", ")", ")", ")", "sve_costs", "=", "aarch64_tune_params", ".", "vec_costs", "->", "sve", ";", "if", "(", "is_a", "<", "gphi", "*", ">", "(", "stmt_info", "->", "stmt", ")", ")", "return", "0", ";", "if", "(", "kind", "==", "vec_to_scalar", "&&", "STMT_VINFO_DATA_REF", "(", "stmt_info", ")", "&&", "DR_IS_WRITE", "(", "STMT_VINFO_DATA_REF", "(", "stmt_info", ")", ")", ")", "return", "simd_costs", "->", "store_elt_extra_cost", ";", "if", "(", "kind", "==", "scalar_store", "&&", "sve_costs", "&&", "STMT_VINFO_MEMORY_ACCESS_TYPE", "(", "stmt_info", ")", "==", "VMAT_GATHER_SCATTER", ")", "return", "sve_costs", "->", "scatter_store_elt_cost", ";", "if", "(", "kind", "==", "vec_to_scalar", "&&", "where", "==", "vect_body", "&&", "sve_costs", ")", "{", "unsigned", "int", "latency", "=", "aarch64_sve_in_loop_reduction_latency", "(", "vinfo", ",", "stmt_info", ",", "vectype", ",", "sve_costs", ")", ";", "if", "(", "latency", ")", "return", "latency", ";", "}", "if", "(", "kind", "==", "vec_to_scalar", "&&", "where", "==", "vect_epilogue", "&&", "aarch64_is_reduction", "(", "stmt_info", ")", ")", "switch", "(", "GET_MODE_INNER", "(", "TYPE_MODE", "(", "vectype", ")", ")", ")", "{", "case", "E_QImode", ":", "return", "simd_costs", "->", "reduc_i8_cost", ";", "case", "E_HImode", ":", "return", "simd_costs", "->", "reduc_i16_cost", ";", "case", "E_SImode", ":", "return", "simd_costs", "->", "reduc_i32_cost", ";", "case", "E_DImode", ":", "return", "simd_costs", "->", "reduc_i64_cost", ";", "case", "E_HFmode", ":", "case", "E_BFmode", ":", "return", "simd_costs", "->", "reduc_f16_cost", ";", "case", "E_SFmode", ":", "return", "simd_costs", "->", "reduc_f32_cost", ";", "case", "E_DFmode", ":", "return", "simd_costs", "->", "reduc_f64_cost", ";", "default", ":", "break", ";", "}", "return", "stmt_cost", ";", "}", ""], "natrual_language": ["STMT_COST", "is", "the", "cost", "calculated", "by", "aarch64_builtin_vectorization_cost", "for", "the", "vectorized", "form", "of", "STMT_INFO", ",", "which", "has", "cost", "kind", "KIND", "and", "which", "when", "vectorized", "would", "operate", "on", "vector", "type", "VECTYPE", ".", "Try", "to", "subdivide", "the", "target-independent", "categorization", "provided", "by", "KIND", "to", "get", "a", "more", "accurate", "cost", ".", "WHERE", "specifies", "where", "the", "cost", "associated", "with", "KIND", "occurs", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch641", "Func": "aarch64_detect_vector_stmt_subtype", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2016, "Length": 252, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "StringRef", "Mnemonic", "=", "splitMnemonic", "(", "Name", ",", "NameLoc", ",", "&", "Operands", ")", ";", "if", "(", "Lexer", ".", "is", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "return", "false", ";", "if", "(", "parseOperand", "(", "&", "Operands", ",", "Mnemonic", ")", "!=", "MatchOperand_Success", ")", "return", "true", ";", "if", "(", "Lexer", ".", "is", "(", "AsmToken", "::", "EndOfStatement", ")", "&&", "Name", "==", "\"st\"", "&&", "Operands", ".", "size", "(", ")", "==", "2", ")", "{", "Operands", ".", "erase", "(", "Operands", ".", "begin", "(", ")", ",", "Operands", ".", "begin", "(", ")", "+", "1", ")", ";", "Operands", ".", "insert", "(", "Operands", ".", "begin", "(", ")", ",", "LanaiOperand", "::", "CreateToken", "(", "\"s\"", ",", "NameLoc", ")", ")", ";", "Operands", ".", "insert", "(", "Operands", ".", "begin", "(", ")", "+", "1", ",", "LanaiOperand", "::", "createImm", "(", "MCConstantExpr", "::", "create", "(", "LPCC", "::", "ICC_T", ",", "getContext", "(", ")", ")", ",", "NameLoc", ",", "NameLoc", ")", ")", ";", "}", "if", "(", "Lexer", ".", "is", "(", "AsmToken", "::", "EndOfStatement", ")", "&&", "Name", ".", "startswith", "(", "\"bt\"", ")", "&&", "Operands", ".", "size", "(", ")", "==", "3", ")", "{", "Operands", ".", "erase", "(", "Operands", ".", "begin", "(", ")", ",", "Operands", ".", "begin", "(", ")", "+", "2", ")", ";", "Operands", ".", "insert", "(", "Operands", ".", "begin", "(", ")", ",", "LanaiOperand", "::", "CreateToken", "(", "\"bt\"", ",", "NameLoc", ")", ")", ";", "}", "while", "(", "Lexer", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", "&&", "Lexer", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "Lex", "(", ")", ";", "if", "(", "parseOperand", "(", "&", "Operands", ",", "Mnemonic", ")", "!=", "MatchOperand_Success", ")", "return", "true", ";", "}", "if", "(", "IsMemoryAssignmentError", "(", "Operands", ")", ")", "{", "Error", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ",", "\"the destination register can't equal the base register in an \"", "\"instruction that modifies the base register.\"", ")", ";", "return", "true", ";", "}", "if", "(", "MaybePredicatedInst", "(", "Operands", ")", ")", "{", "Operands", ".", "insert", "(", "Operands", ".", "begin", "(", ")", "+", "1", ",", "LanaiOperand", "::", "createImm", "(", "MCConstantExpr", "::", "create", "(", "LPCC", "::", "ICC_T", ",", "getContext", "(", ")", ")", ",", "NameLoc", ",", "NameLoc", ")", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["Lanai", "Lanai", "\"st\"", "2", "1", "LanaiOperand::CreateToken", "\"s\"", "1", "LanaiOperand::createImm", "\"bt\"", "3", "2", "LanaiOperand::CreateToken", "\"bt\"", "\"the destination register can't equal the base register in an \"", "\"instruction that modifies the base register.\"", "1", "LanaiOperand::createImm"], "File": "LanaiAsmParser (2)", "Func": "ParseInstruction", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2017, "Length": 344, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb1InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "assert", "(", "(", "RC", "==", "ARM", "::", "tGPRRegisterClass", "||", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "DestReg", ")", "&&", "isARMLowRegister", "(", "DestReg", ")", ")", ")", "&&", "\"Unknown regclass!\"", ")", ";", "if", "(", "RC", "==", "ARM", "::", "tGPRRegisterClass", "||", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "DestReg", ")", "&&", "isARMLowRegister", "(", "DestReg", ")", ")", ")", "{", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "*", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "(", "PseudoSourceValue", "::", "getFixedStack", "(", "FI", ")", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ")", ";", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "tRestore", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ")", ";", "}", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["ARM", "ARM::tGPRRegisterClass", "ARM", "\"Unknown regclass!\"", "ARM::tGPRRegisterClass", "ARM", "ARM::tRestore", "0"], "File": "Thumb1InstrInfo27", "Func": "loadRegFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2018, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CSKYMCInstLower", "::", "lowerOperand", "(", "const", "MachineOperand", "&", "MO", ",", "MCOperand", "&", "MCOp", ")", "const", "{", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"unknown operand type\"", ")", ";", "case", "MachineOperand", "::", "MO_RegisterMask", ":", "break", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "MCOp", "=", "MCOperand", "::", "createImm", "(", "MO", ".", "getImm", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_Register", ":", "if", "(", "MO", ".", "isImplicit", "(", ")", ")", "return", "false", ";", "MCOp", "=", "MCOperand", "::", "createReg", "(", "MO", ".", "getReg", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "MCOp", "=", "MCOperand", "::", "createExpr", "(", "MCSymbolRefExpr", "::", "create", "(", "MO", ".", "getMBB", "(", ")", "->", "getSymbol", "(", ")", ",", "Ctx", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "MCOp", "=", "lowerSymbolOperand", "(", "MO", ",", "Printer", ".", "getSymbol", "(", "MO", ".", "getGlobal", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_BlockAddress", ":", "MCOp", "=", "lowerSymbolOperand", "(", "MO", ",", "Printer", ".", "GetBlockAddressSymbol", "(", "MO", ".", "getBlockAddress", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "MCOp", "=", "lowerSymbolOperand", "(", "MO", ",", "Printer", ".", "GetExternalSymbolSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":", "MCOp", "=", "lowerSymbolOperand", "(", "MO", ",", "Printer", ".", "GetCPISymbol", "(", "MO", ".", "getIndex", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_JumpTableIndex", ":", "MCOp", "=", "lowerSymbolOperand", "(", "MO", ",", "Printer", ".", "GetJTISymbol", "(", "MO", ".", "getIndex", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_MCSymbol", ":", "MCOp", "=", "lowerSymbolOperand", "(", "MO", ",", "MO", ".", "getMCSymbol", "(", ")", ")", ";", "break", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Wrapper", "for", "MCInstLowering.lowerOperand", "(", ")", "for", "the", "tblgen'erated", "pseudo", "lowering", "."], "TS_V_token": ["CSKY", "CSKY", "\"unknown operand type\""], "File": "CSKYMCInstLower", "Func": "lowerOperand", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2019, "Length": 271, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "LC3RegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["LC3", "LC3"], "File": "LC3Subtarget", "Func": "getRegisterInfo", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2020, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "isPredicable", "(", "MachineInstr", "&", "MI", ")", "const", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "Opcode", "==", "SystemZ", "::", "Return", "||", "Opcode", "==", "SystemZ", "::", "Trap", "||", "Opcode", "==", "SystemZ", "::", "CallJG", "||", "Opcode", "==", "SystemZ", "::", "CallBR", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "instruction", "can", "be", "predicated", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ::Return", "SystemZ::Trap", "SystemZ::CallJG", "SystemZ::CallBR"], "File": "SystemZInstrInfo26", "Func": "isPredicable", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2021, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getIndex", "(", ")", "const", "{", "return", "cast", "<", "ConstantInt", ">", "(", "Extract", "->", "getOperand", "(", "1", ")", ")", "->", "getZExtValue", "(", ")", ";", "}", ""], "natrual_language": ["Get", "the", "index", "built", "by", "pass", "."], "TS_V_token": ["TPC", "1"], "File": "ScalarToIRF", "Func": "getIndex", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2022, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "sparc_legitimize_reload_address", "(", "rtx", "x", ",", "machine_mode", "mode", ",", "int", "opnum", ",", "int", "type", ",", "int", "ind_levels", "ATTRIBUTE_UNUSED", ",", "int", "*", "win", ")", "{", "if", "(", "CONSTANT_P", "(", "x", ")", "&&", "(", "mode", "!=", "TFmode", "||", "TARGET_ARCH64", ")", "&&", "GET_MODE", "(", "x", ")", "==", "SImode", "&&", "GET_CODE", "(", "x", ")", "!=", "LO_SUM", "&&", "GET_CODE", "(", "x", ")", "!=", "HIGH", "&&", "sparc_cmodel", "<=", "CM_MEDLOW", "&&", "!", "(", "flag_pic", "&&", "(", "symbolic_operand", "(", "x", ",", "Pmode", ")", "||", "pic_address_needs_scratch", "(", "x", ")", ")", ")", ")", "{", "x", "=", "gen_rtx_LO_SUM", "(", "GET_MODE", "(", "x", ")", ",", "gen_rtx_HIGH", "(", "GET_MODE", "(", "x", ")", ",", "x", ")", ",", "x", ")", ";", "push_reload", "(", "XEXP", "(", "x", ",", "0", ")", ",", "NULL_RTX", ",", "&", "XEXP", "(", "x", ",", "0", ")", ",", "NULL", ",", "BASE_REG_CLASS", ",", "GET_MODE", "(", "x", ")", ",", "VOIDmode", ",", "0", ",", "0", ",", "opnum", ",", "(", "enum", "reload_type", ")", "type", ")", ";", "*", "win", "=", "1", ";", "return", "x", ";", "}", "if", "(", "GET_CODE", "(", "x", ")", "==", "LO_SUM", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "HIGH", ")", "{", "push_reload", "(", "XEXP", "(", "x", ",", "0", ")", ",", "NULL_RTX", ",", "&", "XEXP", "(", "x", ",", "0", ")", ",", "NULL", ",", "BASE_REG_CLASS", ",", "GET_MODE", "(", "x", ")", ",", "VOIDmode", ",", "0", ",", "0", ",", "opnum", ",", "(", "enum", "reload_type", ")", "type", ")", ";", "*", "win", "=", "1", ";", "return", "x", ";", "}", "*", "win", "=", "0", ";", "return", "x", ";", "}", ""], "natrual_language": ["SPARC", "implementation", "of", "LEGITIMIZE_RELOAD_ADDRESS", ".", "Returns", "a", "value", "to", "replace", "the", "input", "X", ",", "or", "the", "original", "X", "if", "no", "replacement", "is", "called", "for", ".", "The", "output", "parameter", "*", "WIN", "is", "1", "if", "the", "calling", "macro", "should", "goto", "WIN", ",", "0", "if", "it", "should", "not", ".", "For", "SPARC", ",", "we", "wish", "to", "handle", "addresses", "by", "splitting", "them", "into", "HIGH+LO_SUM", "pairs", ",", "retaining", "the", "LO_SUM", "in", "the", "memory", "reference", ".", "This", "cuts", "the", "number", "of", "extra", "insns", "by", "one", ".", "Do", "nothing", "when", "generating", "PIC", "code", "and", "the", "address", "is", "a", "symbolic", "operand", "or", "requires", "a", "scratch", "register", "."], "TS_V_token": ["sparc", "0", "0", "0", "0", "1", "0", "0", "0", "0", "0", "1", "0"], "File": "sparc4", "Func": "sparc_legitimize_reload_address", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2023, "Length": 241, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "isEvenPlace", "=", "true", ";", "for", "(", "MachineFunction", "::", "iterator", "FI", "=", "F", ".", "begin", "(", ")", ",", "FE", "=", "F", ".", "end", "(", ")", ";", "FI", "!=", "FE", ";", "++", "FI", ")", "runOnMachineBasicBlock", "(", "*", "FI", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["CellSPU"], "File": "SPUNopFiller", "Func": "runOnMachineFunction", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2024, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSection", "*", "getSectionForConstant", "(", "const", "DataLayout", "&", "DL", ",", "SectionKind", "Kind", ",", "const", "Constant", "*", "C", ")", "const", "override", "{", "return", "ReadOnlySection", ";", "}", ""], "natrual_language": ["Given", "a", "constant", "with", "the", "SectionKind", ",", "return", "a", "section", "that", "it", "should", "be", "placed", "in", "."], "TS_V_token": ["HSAIL"], "File": "HSAILTargetObjectFile", "Func": "getSectionForConstant", "Target": "HSAIL", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2025, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mmix_constant_alignment", "(", "tree", "constant", "ATTRIBUTE_UNUSED", ",", "int", "basic_align", ")", "{", "if", "(", "basic_align", "<", "32", ")", "return", "32", ";", "return", "basic_align", ";", "}", ""], "natrual_language": ["CONSTANT_ALIGNMENT", "."], "TS_V_token": ["mmix", "32", "32"], "File": "mmix3", "Func": "mmix_constant_alignment", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2026, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SITargetLowering", "::", "getMemIntrinsicNode", "(", "unsigned", "Opcode", ",", "const", "SDLoc", "&", "DL", ",", "SDVTList", "VTList", ",", "ArrayRef", "<", "SDValue", ">", "Ops", ",", "EVT", "MemVT", ",", "MachineMemOperand", "*", "MMO", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "EVT", "VT", "=", "VTList", ".", "VTs", "[", "0", "]", ";", "EVT", "WidenedVT", "=", "VT", ";", "EVT", "WidenedMemVT", "=", "MemVT", ";", "if", "(", "!", "Subtarget", "->", "hasDwordx3LoadStores", "(", ")", "&&", "(", "WidenedVT", "==", "MVT", "::", "v3i32", "||", "WidenedVT", "==", "MVT", "::", "v3f32", ")", ")", "{", "WidenedVT", "=", "EVT", "::", "getVectorVT", "(", "*", "DAG", ".", "getContext", "(", ")", ",", "WidenedVT", ".", "getVectorElementType", "(", ")", ",", "4", ")", ";", "WidenedMemVT", "=", "EVT", "::", "getVectorVT", "(", "*", "DAG", ".", "getContext", "(", ")", ",", "WidenedMemVT", ".", "getVectorElementType", "(", ")", ",", "4", ")", ";", "MMO", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getMachineMemOperand", "(", "MMO", ",", "0", ",", "16", ")", ";", "}", "assert", "(", "VTList", ".", "NumVTs", "==", "2", ")", ";", "SDVTList", "WidenedVTList", "=", "DAG", ".", "getVTList", "(", "WidenedVT", ",", "VTList", ".", "VTs", "[", "1", "]", ")", ";", "auto", "NewOp", "=", "DAG", ".", "getMemIntrinsicNode", "(", "Opcode", ",", "DL", ",", "WidenedVTList", ",", "Ops", ",", "WidenedMemVT", ",", "MMO", ")", ";", "if", "(", "WidenedVT", "!=", "VT", ")", "{", "auto", "Extract", "=", "DAG", ".", "getNode", "(", "ISD", "::", "EXTRACT_SUBVECTOR", ",", "DL", ",", "VT", ",", "NewOp", ",", "DAG", ".", "getConstant", "(", "0", ",", "DL", ",", "getVectorIdxTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ")", ")", ";", "NewOp", "=", "DAG", ".", "getMergeValues", "(", "{", "Extract", ",", "SDValue", "(", "NewOp", ".", "getNode", "(", ")", ",", "1", ")", "}", ",", "DL", ")", ";", "}", "return", "NewOp", ";", "}", ""], "natrual_language": ["Creates", "a", "MemIntrinsicNode", "that", "may", "produce", "a", "result", "and", "takes", "a", "list", "of", "operands", "."], "TS_V_token": ["AMDGPU", "SI", "0", "MVT::v3i32", "MVT::v3f32", "4", "4", "0", "16", "2", "1", "ISD::EXTRACT_SUBVECTOR", "0", "1"], "File": "SIISelLowering103", "Func": "getMemIntrinsicNode", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2027, "Length": 259, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "unsigned", "DestReg", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "override", "{", "loadRegFromStack", "(", "MBB", ",", "MBBI", ",", "DestReg", ",", "FrameIndex", ",", "RC", ",", "TRI", ",", "0", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["Mips", "0"], "File": "MipsInstrInfo (2)", "Func": "loadRegFromStackSlot", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2028, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "arc_preferred_simd_mode", "(", "scalar_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_HImode", ":", "return", "TARGET_PLUS_QMACW", "?", "V4HImode", ":", "V2HImode", ";", "case", "E_SImode", ":", "return", "V2SImode", ";", "default", ":", "return", "word_mode", ";", "}", "}", ""], "natrual_language": ["Implements", "target", "hook", "TARGET_VECTORIZE_PREFERRED_SIMD_MODE", "."], "TS_V_token": ["arc"], "File": "arc", "Func": "arc_preferred_simd_mode", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2029, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonPassConfig", "::", "addPostRegAlloc", "(", ")", "{", "PM", "->", "add", "(", "createHexagonCFGOptimizer", "(", "getHexagonTargetMachine", "(", ")", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "after", "register", "allocation", "pass", "pipeline", "but", "before", "prolog-epilog", "insertion", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "Hexagon"], "File": "HexagonTargetMachine45", "Func": "addPostRegAlloc", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2030, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "void", "count_registers", "(", "const_tree", "field", ",", "HOST_WIDE_INT", "bitpos", ",", "bool", "fp", ",", "assign_data_t", "*", "data", ")", "{", "if", "(", "fp", ")", "{", "int", "nregs", ";", "machine_mode", "mode", ";", "if", "(", "compute_int_layout", "(", "bitpos", ",", "data", ",", "&", "nregs", ")", ")", "data", "->", "nregs", "+=", "nregs", ";", "if", "(", "compute_fp_layout", "(", "field", ",", "bitpos", ",", "data", ",", "&", "nregs", ",", "&", "mode", ")", ")", "data", "->", "nregs", "+=", "nregs", ";", "}", "else", "{", "if", "(", "data", "->", "intoffset", "<", "0", ")", "data", "->", "intoffset", "=", "bitpos", ";", "}", "}", ""], "natrual_language": ["A", "subroutine", "of", "function_arg_record_value", ".", "Count", "the", "number", "of", "registers", "to", "be", "assigned", "for", "FIELD", "and", "between", "PARMS-", ">", "intoffset", "and", "BITPOS", "."], "TS_V_token": ["sparc", "0"], "File": "sparc5", "Func": "count_registers", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2031, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "rs6000_invalid_binary_op", "(", "int", "op", "ATTRIBUTE_UNUSED", ",", "const_tree", "type1", ",", "const_tree", "type2", ")", "{", "enum", "machine_mode", "mode1", "=", "TYPE_MODE", "(", "type1", ")", ";", "enum", "machine_mode", "mode2", "=", "TYPE_MODE", "(", "type2", ")", ";", "if", "(", "COMPLEX_MODE_P", "(", "mode1", ")", ")", "mode1", "=", "GET_MODE_INNER", "(", "mode1", ")", ";", "if", "(", "COMPLEX_MODE_P", "(", "mode2", ")", ")", "mode2", "=", "GET_MODE_INNER", "(", "mode2", ")", ";", "if", "(", "mode1", "==", "mode2", ")", "return", "NULL", ";", "if", "(", "!", "TARGET_FLOAT128_CVT", ")", "{", "if", "(", "(", "mode1", "==", "KFmode", "&&", "mode2", "==", "IFmode", ")", "||", "(", "mode1", "==", "IFmode", "&&", "mode2", "==", "KFmode", ")", ")", "return", "N_", "(", "\"__float128 and __ibm128 cannot be used in the same \"", "\"expression\"", ")", ";", "if", "(", "TARGET_IEEEQUAD", "&&", "(", "(", "mode1", "==", "IFmode", "&&", "mode2", "==", "TFmode", ")", "||", "(", "mode1", "==", "TFmode", "&&", "mode2", "==", "IFmode", ")", ")", ")", "return", "N_", "(", "\"__ibm128 and long double cannot be used in the same \"", "\"expression\"", ")", ";", "if", "(", "!", "TARGET_IEEEQUAD", "&&", "(", "(", "mode1", "==", "KFmode", "&&", "mode2", "==", "TFmode", ")", "||", "(", "mode1", "==", "TFmode", "&&", "mode2", "==", "KFmode", ")", ")", ")", "return", "N_", "(", "\"__float128 and long double cannot be used in the same \"", "\"expression\"", ")", ";", "}", "return", "NULL", ";", "}", ""], "natrual_language": ["Return", "the", "diagnostic", "message", "string", "if", "the", "binary", "operation", "OP", "is", "not", "permitted", "on", "TYPE1", "and", "TYPE2", ",", "NULL", "otherwise", "."], "TS_V_token": ["rs6000", "\"__float128 and __ibm128 cannot be used in the same \"", "\"expression\"", "\"__ibm128 and long double cannot be used in the same \"", "\"expression\"", "\"__float128 and long double cannot be used in the same \"", "\"expression\""], "File": "rs60005", "Func": "rs6000_invalid_binary_op", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2032, "Length": 179, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64InstrInfo", "::", "getInstSizeInBytes", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "const", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "const", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "MCAsmInfo", "*", "MAI", "=", "MF", "->", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "AArch64", "::", "INLINEASM", ")", "return", "getInlineAsmLength", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getSymbolName", "(", ")", ",", "*", "MAI", ")", ";", "const", "MCInstrDesc", "&", "Desc", "=", "MI", ".", "getDesc", "(", ")", ";", "switch", "(", "Desc", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "4", ";", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "case", "TargetOpcode", "::", "EH_LABEL", ":", "case", "TargetOpcode", "::", "IMPLICIT_DEF", ":", "case", "TargetOpcode", "::", "KILL", ":", "return", "0", ";", "case", "AArch64", "::", "TLSDESC_CALLSEQ", ":", "return", "16", ";", "}", "llvm_unreachable", "(", "\"getInstSizeInBytes()- Unable to determin insn size\"", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "size", "in", "bytes", "of", "the", "specified", "MachineInstr", ",", "or", "~0U", "when", "this", "function", "is", "not", "implemented", "by", "a", "target", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::INLINEASM", "0", "4", "0", "AArch64::TLSDESC_CALLSEQ", "16", "\"getInstSizeInBytes()- Unable to determin insn size\""], "File": "AArch64InstrInfo12", "Func": "getInstSizeInBytes", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2033, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_complex_function_value", "(", "machine_mode", "mode", ")", "{", "unsigned", "int", "regno", ";", "rtx", "r1", ",", "r2", ";", "machine_mode", "inner", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "unsigned", "int", "inner_bytes", "=", "GET_MODE_UNIT_SIZE", "(", "mode", ")", ";", "if", "(", "TARGET_FLOAT128_TYPE", "&&", "(", "mode", "==", "KCmode", "||", "(", "mode", "==", "TCmode", "&&", "TARGET_IEEEQUAD", ")", ")", ")", "regno", "=", "ALTIVEC_ARG_RETURN", ";", "else", "if", "(", "FLOAT_MODE_P", "(", "mode", ")", "&&", "TARGET_HARD_FLOAT", "&&", "TARGET_FPRS", ")", "regno", "=", "FP_ARG_RETURN", ";", "else", "{", "regno", "=", "GP_ARG_RETURN", ";", "if", "(", "TARGET_32BIT", "&&", "inner_bytes", ">=", "4", ")", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "}", "if", "(", "inner_bytes", ">=", "8", ")", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "r1", "=", "gen_rtx_EXPR_LIST", "(", "inner", ",", "gen_rtx_REG", "(", "inner", ",", "regno", ")", ",", "const0_rtx", ")", ";", "r2", "=", "gen_rtx_EXPR_LIST", "(", "inner", ",", "gen_rtx_REG", "(", "inner", ",", "regno", "+", "1", ")", ",", "GEN_INT", "(", "inner_bytes", ")", ")", ";", "return", "gen_rtx_PARALLEL", "(", "mode", ",", "gen_rtvec", "(", "2", ",", "r1", ",", "r2", ")", ")", ";", "}", ""], "natrual_language": ["Return", "an", "RTX", "representing", "where", "to", "find", "the", "function", "value", "of", "a", "function", "returning", "MODE", "."], "TS_V_token": ["rs6000", "4", "8", "1", "2"], "File": "rs60006", "Func": "rs6000_complex_function_value", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2034, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint32_t", "size", "(", ")", "const", "{", "return", "Map", ".", "size", "(", ")", ";", "}", ""], "natrual_language": ["The", "number", "of", "name/type", "pairs", "is", "returned", "."], "TS_V_token": ["Hexagon"], "File": "RDFRegisters", "Func": "size", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2035, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "STPSUPPRESS_PASS_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AArch64"], "File": "AArch64StorePairSuppress1", "Func": "getPassName", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2036, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "if", "(", "!", "DisableHardwareLoops", ")", "addPass", "(", "createHexagonHardwareLoops", "(", ")", ",", "false", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon"], "File": "HexagonTargetMachine1", "Func": "addPreRegAlloc", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2037, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "string", "CostTree", "::", "printTree", "(", ")", "{", "string", "val", "=", "\"\"", ";", "for", "(", "auto", "&", "Node1", ":", "VectorNode", ")", "val", "+=", "Node1", "->", "printHeadLeaf", "(", ")", ";", "for", "(", "auto", "&", "Node1", ":", "VectorNode", ")", "Node1", "->", "setVisit", "(", "false", ")", ";", "val", "+=", "printTreeVal", "(", "Root", ")", ";", "return", "val", ";", "}", ""], "natrual_language": ["Print", "in", "tree", "shape", "."], "TS_V_token": ["TPC", "\"\""], "File": "TPCCostModelEmitter", "Func": "printTree", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2038, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "DataLayout", "*", "getDataLayout", "(", ")", "const", "{", "return", "&", "DL", ";", "}", ""], "natrual_language": ["Return", "the", "DataLayout", "associated", "with", "the", "module", "this", "SCEV", "instance", "is", "operating", "on", "."], "TS_V_token": ["Patmos"], "File": "PatmosTargetMachine", "Func": "getDataLayout", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 2039, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonMCShuffler", "::", "init", "(", "MCInst", "&", "MCB", ")", "{", "if", "(", "HexagonMCInstrInfo", "::", "isBundle", "(", "MCB", ")", ")", "{", "MCInst", "const", "*", "Extender", "=", "nullptr", ";", "for", "(", "const", "auto", "&", "I", ":", "HexagonMCInstrInfo", "::", "bundleInstructions", "(", "MCB", ")", ")", "{", "MCInst", "&", "MI", "=", "*", "const_cast", "<", "MCInst", "*", ">", "(", "I", ".", "getInst", "(", ")", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Shuffling: \"", "<<", "MCII", ".", "getName", "(", "MI", ".", "getOpcode", "(", ")", ")", "<<", "'\\n'", ")", ";", "assert", "(", "!", "HexagonMCInstrInfo", "::", "getDesc", "(", "MCII", ",", "MI", ")", ".", "isPseudo", "(", ")", ")", ";", "if", "(", "!", "HexagonMCInstrInfo", "::", "isImmext", "(", "MI", ")", ")", "{", "append", "(", "MI", ",", "Extender", ",", "HexagonMCInstrInfo", "::", "getUnits", "(", "MCII", ",", "STI", ",", "MI", ")", ")", ";", "Extender", "=", "nullptr", ";", "}", "else", "Extender", "=", "&", "MI", ";", "}", "}", "Loc", "=", "MCB", ".", "getLoc", "(", ")", ";", "BundleFlags", "=", "MCB", ".", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "}", ""], "natrual_language": ["Initialize", "the", "machine", "model", "for", "instruction", "scheduling", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "Hexagon", "\"Shuffling: \"", "Hexagon", "Hexagon", "Hexagon", "0"], "File": "HexagonMCShuffler1", "Func": "init", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2040, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "m32r_init_expanders", "(", ")", "{", "}", ""], "natrual_language": ["Do", "anything", "needed", "before", "RTL", "is", "emitted", "for", "each", "function", "."], "TS_V_token": ["m32r"], "File": "m32r2", "Func": "m32r_init_expanders", "Target": "m32r", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2041, "Length": 6, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "Cpu0FunctionInfo", "::", "getGlobalBaseReg", "(", ")", "{", "if", "(", "GlobalBaseReg", ")", "return", "GlobalBaseReg", ";", "if", "(", "FixGlobalBaseReg", ")", "return", "GlobalBaseReg", "=", "Cpu0", "::", "GP", ";", "const", "TargetRegisterClass", "*", "RC", ";", "RC", "=", "(", "const", "TargetRegisterClass", "*", ")", "&", "Cpu0", "::", "CPURegsRegClass", ";", "return", "GlobalBaseReg", "=", "MF", ".", "getRegInfo", "(", ")", ".", "createVirtualRegister", "(", "RC", ")", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0::GP", "Cpu0::CPURegsRegClass"], "File": "Cpu0MachineFunction1", "Func": "getGlobalBaseReg", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2042, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "mode_supports_pre_modify_p", "(", "machine_mode", "mode", ")", "{", "return", "(", "(", "reg_addr", "[", "mode", "]", ".", "addr_mask", "[", "RELOAD_REG_ANY", "]", "&", "RELOAD_REG_PRE_MODIFY", ")", "!=", "0", ")", ";", "}", ""], "natrual_language": ["Helper", "function", "to", "say", "whether", "a", "mode", "supports", "PRE_MODIFY", "."], "TS_V_token": ["powerpcspe", "0"], "File": "powerpcspe", "Func": "mode_supports_pre_modify_p", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2043, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "TeeRISCInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "assert", "(", "0", ")", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "TeeRISC", "::", "ST", ")", "{", "if", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "isFI", "(", ")", "&&", "MI", "->", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", "&&", "MI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "==", "0", ")", "{", "FrameIndex", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getIndex", "(", ")", ";", "return", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["isStoreToStackSlot", "-", "If", "the", "specified", "machine", "instruction", "is", "a", "direct", "store", "to", "a", "stack", "slot", ",", "return", "the", "virtual", "or", "physical", "register", "number", "of", "the", "source", "reg", "along", "with", "the", "FrameIndex", "of", "the", "loaded", "stack", "slot", "."], "TS_V_token": ["TeeRISC", "TeeRISC", "0", "TeeRISC::ST", "1", "2", "2", "0", "1", "0", "0"], "File": "TeeRISCInstrInfo", "Func": "isStoreToStackSlot", "Target": "TeeRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2044, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "LowerCall", "(", "TargetLowering", "::", "CallLoweringInfo", "&", "CLI", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "SelectionDAG", "&", "DAG", "=", "CLI", ".", "DAG", ";", "SDLoc", "&", "dl", "=", "CLI", ".", "DL", ";", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", "=", "CLI", ".", "Outs", ";", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", "=", "CLI", ".", "OutVals", ";", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", "=", "CLI", ".", "Ins", ";", "SDValue", "Chain", "=", "CLI", ".", "Chain", ";", "SDValue", "Callee", "=", "CLI", ".", "Callee", ";", "bool", "&", "isTailCall", "=", "CLI", ".", "IsTailCall", ";", "CallingConv", "::", "ID", "CallConv", "=", "CLI", ".", "CallConv", ";", "bool", "isVarArg", "=", "CLI", ".", "IsVarArg", ";", "if", "(", "isTailCall", ")", "isTailCall", "=", "IsEligibleForTailCallOptimization", "(", "Callee", ",", "CallConv", ",", "isVarArg", ",", "Ins", ",", "DAG", ")", ";", "if", "(", "!", "isTailCall", "&&", "CLI", ".", "CS", "&&", "CLI", ".", "CS", "->", "isMustTailCall", "(", ")", ")", "report_fatal_error", "(", "\"failed to perform tail call elimination on a call \"", "\"site marked musttail\"", ")", ";", "if", "(", "PPCSubTarget", ".", "isSVR4ABI", "(", ")", ")", "{", "if", "(", "PPCSubTarget", ".", "isPPC64", "(", ")", ")", "return", "LowerCall_64SVR4", "(", "Chain", ",", "Callee", ",", "CallConv", ",", "isVarArg", ",", "isTailCall", ",", "Outs", ",", "OutVals", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ")", ";", "else", "return", "LowerCall_32SVR4", "(", "Chain", ",", "Callee", ",", "CallConv", ",", "isVarArg", ",", "isTailCall", ",", "Outs", ",", "OutVals", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ")", ";", "}", "return", "LowerCall_Darwin", "(", "Chain", ",", "Callee", ",", "CallConv", ",", "isVarArg", ",", "isTailCall", ",", "Outs", ",", "OutVals", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ")", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "calls", "into", "the", "specified", "DAG", "."], "TS_V_token": ["PowerPC", "PPC", "ISD::OutputArg", "ISD::InputArg", "\"failed to perform tail call elimination on a call \"", "\"site marked musttail\"", "PPC", "PPC", "PPC"], "File": "PPCISelLowering120", "Func": "LowerCall", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2045, "Length": 251, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "HexagonTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'r'", ":", "switch", "(", "VT", ".", "SimpleTy", ")", "{", "default", ":", "llvm_unreachable", "(", "\"getRegForInlineAsmConstraint Unhandled data type\"", ")", ";", "case", "MVT", "::", "i32", ":", "case", "MVT", "::", "i16", ":", "case", "MVT", "::", "i8", ":", "case", "MVT", "::", "f32", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Hexagon", "::", "IntRegsRegClass", ")", ";", "case", "MVT", "::", "i64", ":", "case", "MVT", "::", "f64", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "Hexagon", "::", "DoubleRegsRegClass", ")", ";", "}", "default", ":", "llvm_unreachable", "(", "\"Unknown asm register class\"", ")", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["Hexagon", "Hexagon", "1", "0", "\"getRegForInlineAsmConstraint Unhandled data type\"", "MVT::i32", "MVT::i16", "MVT::i8", "MVT::f32", "0U", "Hexagon::IntRegsRegClass", "MVT::i64", "MVT::f64", "0U", "Hexagon::DoubleRegsRegClass", "\"Unknown asm register class\""], "File": "HexagonISelLowering (2)2", "Func": "getRegForInlineAsmConstraint", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2046, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Cpu0TargetObjectFile", "::", "IsGlobalInSmallSection", "(", "const", "GlobalValue", "*", "GV", ",", "const", "TargetMachine", "&", "TM", ",", "SectionKind", "Kind", ")", "const", "{", "const", "Cpu0Subtarget", "&", "Subtarget", "=", "TM", ".", "getSubtarget", "<", "Cpu0Subtarget", ">", "(", ")", ";", "if", "(", "Subtarget", ".", "isLinux", "(", ")", ")", "return", "false", ";", "const", "GlobalVariable", "*", "GVA", "=", "dyn_cast", "<", "GlobalVariable", ">", "(", "GV", ")", ";", "if", "(", "!", "GVA", ")", "return", "false", ";", "if", "(", "!", "Kind", ".", "isBSS", "(", ")", "&&", "!", "Kind", ".", "isDataRel", "(", ")", ")", "return", "false", ";", "if", "(", "Kind", ".", "isMergeable1ByteCString", "(", ")", ")", "return", "false", ";", "Type", "*", "Ty", "=", "GV", "->", "getType", "(", ")", "->", "getElementType", "(", ")", ";", "return", "IsInSmallSection", "(", "TM", ".", "getDataLayout", "(", ")", "->", "getTypeAllocSize", "(", "Ty", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "global", "address", "should", "be", "placed", "into", "small", "data/bss", "section", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0", "Cpu0"], "File": "Cpu0TargetObjectFile2", "Func": "IsGlobalInSmallSection", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2047, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM_MC", "::", "isPredicated", "(", "const", "MCInst", "&", "MI", ",", "const", "MCInstrInfo", "*", "MCII", ")", "{", "const", "MCInstrDesc", "&", "Desc", "=", "MCII", "->", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "int", "PredOpIdx", "=", "Desc", ".", "findFirstPredOperandIdx", "(", ")", ";", "return", "PredOpIdx", "!=", "-", "1", "&&", "MI", ".", "getOperand", "(", "PredOpIdx", ")", ".", "getImm", "(", ")", "!=", "ARMCC", "::", "AL", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "instruction", "is", "already", "predicated", "."], "TS_V_token": ["ARM", "ARM", "1", "ARMCC::AL"], "File": "ARMMCTargetDesc (2)1", "Func": "isPredicated", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2048, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ArrayRef", "<", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">>", "ARMInstrInfo", "::", "getSerializableDirectMachineOperandTargetFlags", "(", ")", "const", "{", "using", "namespace", "ARMII", ";", "static", "const", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">", "TargetFlags", "[", "]", "=", "{", "{", "MO_LO16", ",", "\"arm-lo16\"", "}", ",", "{", "MO_HI16", ",", "\"arm-hi16\"", "}", "}", ";", "return", "makeArrayRef", "(", "TargetFlags", ")", ";", "}", ""], "natrual_language": ["Return", "an", "array", "that", "contains", "the", "direct", "target", "flag", "values", "and", "their", "names", "."], "TS_V_token": ["ARM", "ARM", "ARM", "\"arm-lo16\"", "\"arm-hi16\""], "File": "ARMInstrInfo42", "Func": "getSerializableDirectMachineOperandTargetFlags", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2049, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "XtensaRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "Xtensa", "::", "INVALID", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["Xtensa", "Xtensa", "Xtensa::INVALID"], "File": "XtensaRegisterInfo", "Func": "getFrameRegister", "Target": "Xtensa", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2050, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "initial_elimination_offset", "(", "int", "from", ",", "int", "to", ")", "{", "if", "(", "from", "==", "FRAME_POINTER_REGNUM", "&&", "to", "==", "STACK_POINTER_REGNUM", ")", "return", "0", ";", "else", "{", "int", "offset", "=", "frame_pointer_needed", "?", "2", ":", "0", ";", "offset", "+=", "avr_regs_to_save", "(", "NULL", ")", ";", "return", "get_frame_size", "(", ")", "+", "2", "+", "1", "+", "offset", ";", "}", "}", ""], "natrual_language": ["Define", "the", "offset", "between", "two", "registers", ",", "one", "to", "be", "eliminated", ",", "and", "the", "other", "its", "replacement", ",", "at", "the", "start", "of", "a", "routine", "."], "TS_V_token": ["avr", "0", "2", "0", "2", "1"], "File": "avr3", "Func": "initial_elimination_offset", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2051, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "s390_invalid_arg_for_unprototyped_fn", "(", "const_tree", "typelist", ",", "const_tree", "funcdecl", ",", "const_tree", "val", ")", "{", "return", "(", "(", "TARGET_VX_ABI", "&&", "typelist", "==", "0", "&&", "VECTOR_TYPE_P", "(", "TREE_TYPE", "(", "val", ")", ")", "&&", "(", "funcdecl", "==", "NULL_TREE", "||", "(", "TREE_CODE", "(", "funcdecl", ")", "==", "FUNCTION_DECL", "&&", "DECL_BUILT_IN_CLASS", "(", "funcdecl", ")", "!=", "BUILT_IN_MD", ")", ")", ")", "?", "N_", "(", "\"Vector argument passed to unprototyped function\"", ")", ":", "NULL", ")", ";", "}", ""], "natrual_language": ["The", "VX", "ABI", "differs", "for", "vararg", "functions", ".", "Therefore", "we", "need", "the", "prototype", "of", "the", "callee", "to", "be", "available", "when", "passing", "vector", "type", "values", "."], "TS_V_token": ["s390", "0", "\"Vector argument passed to unprototyped function\""], "File": "s3905", "Func": "s390_invalid_arg_for_unprototyped_fn", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2052, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"Blackfin DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Blackfin", "\"Blackfin DAG->DAG Pattern Instruction Selection\""], "File": "BlackfinISelDAGToDAG", "Func": "getPassName", "Target": "Blackfin", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2053, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "canMergeStoresTo", "(", "unsigned", "AddressSpace", ",", "EVT", "MemVT", ",", "const", "SelectionDAG", "&", "DAG", ")", "const", "override", "{", "bool", "NoFloat", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getFunction", "(", ")", "->", "hasFnAttribute", "(", "Attribute", "::", "NoImplicitFloat", ")", ";", "if", "(", "NoFloat", ")", "return", "(", "MemVT", ".", "getSizeInBits", "(", ")", "<=", "64", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "if", "it", "'s", "reasonable", "to", "merge", "stores", "to", "MemVT", "size", "."], "TS_V_token": ["AArch64", "64"], "File": "AArch64ISelLowering101", "Func": "canMergeStoresTo", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2054, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "insert_bundle_state", "(", "struct", "bundle_state", "*", "bundle_state", ")", "{", "struct", "bundle_state", "*", "*", "entry_ptr", ";", "entry_ptr", "=", "bundle_state_table", "->", "find_slot", "(", "bundle_state", ",", "INSERT", ")", ";", "if", "(", "*", "entry_ptr", "==", "NULL", ")", "{", "bundle_state", "->", "next", "=", "index_to_bundle_states", "[", "bundle_state", "->", "insn_num", "]", ";", "index_to_bundle_states", "[", "bundle_state", "->", "insn_num", "]", "=", "bundle_state", ";", "*", "entry_ptr", "=", "bundle_state", ";", "return", "TRUE", ";", "}", "else", "if", "(", "bundle_state", "->", "cost", "<", "(", "*", "entry_ptr", ")", "->", "cost", "||", "(", "bundle_state", "->", "cost", "==", "(", "*", "entry_ptr", ")", "->", "cost", "&&", "(", "(", "*", "entry_ptr", ")", "->", "accumulated_insns_num", ">", "bundle_state", "->", "accumulated_insns_num", "||", "(", "(", "*", "entry_ptr", ")", "->", "accumulated_insns_num", "==", "bundle_state", "->", "accumulated_insns_num", "&&", "(", "(", "*", "entry_ptr", ")", "->", "branch_deviation", ">", "bundle_state", "->", "branch_deviation", "||", "(", "(", "*", "entry_ptr", ")", "->", "branch_deviation", "==", "bundle_state", "->", "branch_deviation", "&&", "(", "*", "entry_ptr", ")", "->", "middle_bundle_stops", ">", "bundle_state", "->", "middle_bundle_stops", ")", ")", ")", ")", ")", ")", "{", "struct", "bundle_state", "temp", ";", "temp", "=", "*", "*", "entry_ptr", ";", "*", "*", "entry_ptr", "=", "*", "bundle_state", ";", "(", "*", "entry_ptr", ")", "->", "next", "=", "temp", ".", "next", ";", "*", "bundle_state", "=", "temp", ";", "}", "return", "FALSE", ";", "}", ""], "natrual_language": ["The", "function", "inserts", "the", "BUNDLE_STATE", "into", "the", "hash", "table", ".", "The", "function", "returns", "nonzero", "if", "the", "bundle", "has", "been", "inserted", "into", "the", "table", ".", "The", "table", "contains", "the", "best", "bundle", "state", "with", "given", "key", "."], "TS_V_token": ["ia64"], "File": "ia64", "Func": "insert_bundle_state", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2055, "Length": 193, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64RegisterInfo", "::", "requiresRegisterScavenging", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "requires", "(", "and", "can", "make", "use", "of", ")", "the", "register", "scavenger", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64RegisterInfo (2)", "Func": "requiresRegisterScavenging", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2056, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIInstrInfo", "::", "isIgnorableUse", "(", "const", "MachineOperand", "&", "MO", ")", "const", "{", "return", "MO", ".", "getReg", "(", ")", "==", "AMDGPU", "::", "EXEC", "&&", "MO", ".", "isImplicit", "(", ")", "&&", "isVALU", "(", "*", "MO", ".", "getParent", "(", ")", ")", "&&", "!", "resultDependsOnExec", "(", "*", "MO", ".", "getParent", "(", ")", ")", ";", "}", ""], "natrual_language": ["Given", "MO", "is", "a", "PhysReg", "use", "return", "if", "it", "can", "be", "ignored", "for", "the", "purpose", "of", "instruction", "rematerialization", "or", "sinking", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU::EXEC"], "File": "SIInstrInfo11", "Func": "isIgnorableUse", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2057, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MCS51PassConfig", "::", "addPreRegAlloc", "(", ")", "{", "addPass", "(", "createMCS51DynAllocaSRPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["MCS51", "MCS51", "MCS51"], "File": "MCS51TargetMachine", "Func": "addPreRegAlloc", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2058, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "SelectAddressRegRegOnly", "(", "SDValue", "N", ",", "SDValue", "&", "Base", ",", "SDValue", "&", "Index", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "if", "(", "SelectAddressRegReg", "(", "N", ",", "Base", ",", "Index", ",", "DAG", ")", ")", "return", "true", ";", "if", "(", "N", ".", "getOpcode", "(", ")", "==", "ISD", "::", "ADD", ")", "{", "Base", "=", "N", ".", "getOperand", "(", "0", ")", ";", "Index", "=", "N", ".", "getOperand", "(", "1", ")", ";", "return", "true", ";", "}", "Base", "=", "DAG", ".", "getRegister", "(", "PPCSubTarget", ".", "isPPC64", "(", ")", "?", "PPC", "::", "ZERO8", ":", "PPC", "::", "ZERO", ",", "N", ".", "getValueType", "(", ")", ")", ";", "Index", "=", "N", ";", "return", "true", ";", "}", ""], "natrual_language": ["SelectAddressRegRegOnly", "-", "Given", "the", "specified", "addressed", ",", "force", "it", "to", "be", "represented", "as", "an", "indexed", "[", "r+r", "]", "operation", "."], "TS_V_token": ["PowerPC", "PPC", "ISD::ADD", "0", "1", "PPC", "PPC", "PPC::ZERO8", "PPC::ZERO"], "File": "PPCISelLowering (2)", "Func": "SelectAddressRegRegOnly", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2059, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVRegisterInfo", "::", "isConstantPhysReg", "(", "MCRegister", "PhysReg", ")", "const", "{", "return", "PhysReg", "==", "RISCV", "::", "X0", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "PhysReg", "is", "unallocatable", "and", "constant", "throughout", "the", "function", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::X0"], "File": "RISCVRegisterInfo1", "Func": "isConstantPhysReg", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2060, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "pa_assemble_integer", "(", "rtx", "x", ",", "unsigned", "int", "size", ",", "int", "aligned_p", ")", "{", "bool", "result", ";", "tree", "decl", "=", "NULL", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", ")", "{", "decl", "=", "SYMBOL_REF_DECL", "(", "x", ")", ";", "if", "(", "decl", ")", "{", "assemble_external", "(", "decl", ")", ";", "SET_SYMBOL_REF_DECL", "(", "x", ",", "NULL", ")", ";", "}", "}", "if", "(", "size", "==", "UNITS_PER_WORD", "&&", "aligned_p", "&&", "function_label_operand", "(", "x", ",", "VOIDmode", ")", ")", "{", "fputs", "(", "size", "==", "8", "?", "\"\\t.dword\\t\"", ":", "\"\\t.word\\t\"", ",", "asm_out_file", ")", ";", "if", "(", "!", "TARGET_FAST_INDIRECT_CALLS", ")", "fputs", "(", "\"P%\"", ",", "asm_out_file", ")", ";", "output_addr_const", "(", "asm_out_file", ",", "x", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "result", "=", "true", ";", "}", "else", "result", "=", "default_assemble_integer", "(", "x", ",", "size", ",", "aligned_p", ")", ";", "if", "(", "decl", ")", "SET_SYMBOL_REF_DECL", "(", "x", ",", "decl", ")", ";", "return", "result", ";", "}", ""], "natrual_language": ["Target", "hook", "for", "assembling", "integer", "objects", ".", "This", "code", "handles", "aligned", "SI", "and", "DI", "integers", "specially", ",", "since", "function", "references", "must", "be", "preceded", "by", "P", "%", "."], "TS_V_token": ["pa", "8", "\"\\t.dword\\t\"", "\"\\t.word\\t\"", "\"P%\""], "File": "pa", "Func": "pa_assemble_integer", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2061, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "s390_expand_vec_compare_cc", "(", "rtx", "target", ",", "enum", "rtx_code", "code", ",", "rtx", "cmp1", ",", "rtx", "cmp2", ",", "bool", "all_p", ")", "{", "machine_mode", "cc_producer_mode", ",", "cc_consumer_mode", ",", "scratch_mode", ";", "rtx", "tmp_reg", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "bool", "swap_p", "=", "false", ";", "if", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "cmp1", ")", ")", "==", "MODE_VECTOR_INT", ")", "{", "switch", "(", "code", ")", "{", "case", "EQ", ":", "case", "NE", ":", "cc_producer_mode", "=", "CCVEQmode", ";", "break", ";", "case", "GE", ":", "case", "LT", ":", "code", "=", "swap_condition", "(", "code", ")", ";", "swap_p", "=", "true", ";", "case", "GT", ":", "case", "LE", ":", "cc_producer_mode", "=", "CCVIHmode", ";", "break", ";", "case", "GEU", ":", "case", "LTU", ":", "code", "=", "swap_condition", "(", "code", ")", ";", "swap_p", "=", "true", ";", "case", "GTU", ":", "case", "LEU", ":", "cc_producer_mode", "=", "CCVIHUmode", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "scratch_mode", "=", "GET_MODE", "(", "cmp1", ")", ";", "if", "(", "code", "==", "NE", "||", "code", "==", "LE", "||", "code", "==", "LEU", ")", "all_p", "=", "!", "all_p", ";", "cc_consumer_mode", "=", "all_p", "?", "CCVIALLmode", ":", "CCVIANYmode", ";", "}", "else", "if", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "cmp1", ")", ")", "==", "MODE_VECTOR_FLOAT", ")", "{", "bool", "inv_p", "=", "false", ";", "switch", "(", "code", ")", "{", "case", "EQ", ":", "cc_producer_mode", "=", "CCVEQmode", ";", "break", ";", "case", "NE", ":", "cc_producer_mode", "=", "CCVEQmode", ";", "inv_p", "=", "true", ";", "break", ";", "case", "GT", ":", "cc_producer_mode", "=", "CCVFHmode", ";", "break", ";", "case", "GE", ":", "cc_producer_mode", "=", "CCVFHEmode", ";", "break", ";", "case", "UNLE", ":", "cc_producer_mode", "=", "CCVFHmode", ";", "inv_p", "=", "true", ";", "break", ";", "case", "UNLT", ":", "cc_producer_mode", "=", "CCVFHEmode", ";", "inv_p", "=", "true", ";", "break", ";", "case", "LT", ":", "cc_producer_mode", "=", "CCVFHmode", ";", "code", "=", "GT", ";", "swap_p", "=", "true", ";", "break", ";", "case", "LE", ":", "cc_producer_mode", "=", "CCVFHEmode", ";", "code", "=", "GE", ";", "swap_p", "=", "true", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "scratch_mode", "=", "mode_for_int_vector", "(", "GET_MODE", "(", "cmp1", ")", ")", ".", "require", "(", ")", ";", "if", "(", "inv_p", ")", "all_p", "=", "!", "all_p", ";", "cc_consumer_mode", "=", "all_p", "?", "CCVFALLmode", ":", "CCVFANYmode", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "if", "(", "swap_p", ")", "{", "rtx", "tmp", "=", "cmp2", ";", "cmp2", "=", "cmp1", ";", "cmp1", "=", "tmp", ";", "}", "emit_insn", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "gen_rtx_SET", "(", "gen_rtx_REG", "(", "cc_producer_mode", ",", "CC_REGNUM", ")", ",", "gen_rtx_COMPARE", "(", "cc_producer_mode", ",", "cmp1", ",", "cmp2", ")", ")", ",", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "gen_rtx_SCRATCH", "(", "scratch_mode", ")", ")", ")", ")", ")", ";", "emit_move_insn", "(", "target", ",", "const0_rtx", ")", ";", "emit_move_insn", "(", "tmp_reg", ",", "const1_rtx", ")", ";", "emit_move_insn", "(", "target", ",", "gen_rtx_IF_THEN_ELSE", "(", "SImode", ",", "gen_rtx_fmt_ee", "(", "code", ",", "VOIDmode", ",", "gen_rtx_REG", "(", "cc_consumer_mode", ",", "CC_REGNUM", ")", ",", "const0_rtx", ")", ",", "tmp_reg", ",", "target", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "the", "comparison", "CODE", "of", "CMP1", "and", "CMP2", "and", "copy", "1", "or", "0", "into", "TARGET", "if", "either", "all", "(", "ALL_P", "is", "true", ")", "or", "any", "(", "ALL_P", "is", "false", ")", "of", "the", "elements", "in", "CMP1", "and", "CMP2", "fulfill", "the", "comparison", "."], "TS_V_token": ["s390", "2"], "File": "s3907", "Func": "s390_expand_vec_compare_cc", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2062, "Length": 444, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "PPCTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "0", ";", "case", "PPCISD", "::", "FSEL", ":", "return", "\"PPCISD::FSEL\"", ";", "case", "PPCISD", "::", "FCFID", ":", "return", "\"PPCISD::FCFID\"", ";", "case", "PPCISD", "::", "FCTIDZ", ":", "return", "\"PPCISD::FCTIDZ\"", ";", "case", "PPCISD", "::", "FCTIWZ", ":", "return", "\"PPCISD::FCTIWZ\"", ";", "case", "PPCISD", "::", "STFIWX", ":", "return", "\"PPCISD::STFIWX\"", ";", "case", "PPCISD", "::", "VMADDFP", ":", "return", "\"PPCISD::VMADDFP\"", ";", "case", "PPCISD", "::", "VNMSUBFP", ":", "return", "\"PPCISD::VNMSUBFP\"", ";", "case", "PPCISD", "::", "VPERM", ":", "return", "\"PPCISD::VPERM\"", ";", "case", "PPCISD", "::", "Hi", ":", "return", "\"PPCISD::Hi\"", ";", "case", "PPCISD", "::", "Lo", ":", "return", "\"PPCISD::Lo\"", ";", "case", "PPCISD", "::", "TOC_ENTRY", ":", "return", "\"PPCISD::TOC_ENTRY\"", ";", "case", "PPCISD", "::", "TOC_RESTORE", ":", "return", "\"PPCISD::TOC_RESTORE\"", ";", "case", "PPCISD", "::", "LOAD", ":", "return", "\"PPCISD::LOAD\"", ";", "case", "PPCISD", "::", "LOAD_TOC", ":", "return", "\"PPCISD::LOAD_TOC\"", ";", "case", "PPCISD", "::", "DYNALLOC", ":", "return", "\"PPCISD::DYNALLOC\"", ";", "case", "PPCISD", "::", "GlobalBaseReg", ":", "return", "\"PPCISD::GlobalBaseReg\"", ";", "case", "PPCISD", "::", "SRL", ":", "return", "\"PPCISD::SRL\"", ";", "case", "PPCISD", "::", "SRA", ":", "return", "\"PPCISD::SRA\"", ";", "case", "PPCISD", "::", "SHL", ":", "return", "\"PPCISD::SHL\"", ";", "case", "PPCISD", "::", "EXTSW_32", ":", "return", "\"PPCISD::EXTSW_32\"", ";", "case", "PPCISD", "::", "STD_32", ":", "return", "\"PPCISD::STD_32\"", ";", "case", "PPCISD", "::", "CALL_SVR4", ":", "return", "\"PPCISD::CALL_SVR4\"", ";", "case", "PPCISD", "::", "CALL_NOP_SVR4", ":", "return", "\"PPCISD::CALL_NOP_SVR4\"", ";", "case", "PPCISD", "::", "CALL_Darwin", ":", "return", "\"PPCISD::CALL_Darwin\"", ";", "case", "PPCISD", "::", "NOP", ":", "return", "\"PPCISD::NOP\"", ";", "case", "PPCISD", "::", "MTCTR", ":", "return", "\"PPCISD::MTCTR\"", ";", "case", "PPCISD", "::", "BCTRL_Darwin", ":", "return", "\"PPCISD::BCTRL_Darwin\"", ";", "case", "PPCISD", "::", "BCTRL_SVR4", ":", "return", "\"PPCISD::BCTRL_SVR4\"", ";", "case", "PPCISD", "::", "RET_FLAG", ":", "return", "\"PPCISD::RET_FLAG\"", ";", "case", "PPCISD", "::", "MFCR", ":", "return", "\"PPCISD::MFCR\"", ";", "case", "PPCISD", "::", "VCMP", ":", "return", "\"PPCISD::VCMP\"", ";", "case", "PPCISD", "::", "VCMPo", ":", "return", "\"PPCISD::VCMPo\"", ";", "case", "PPCISD", "::", "LBRX", ":", "return", "\"PPCISD::LBRX\"", ";", "case", "PPCISD", "::", "STBRX", ":", "return", "\"PPCISD::STBRX\"", ";", "case", "PPCISD", "::", "LARX", ":", "return", "\"PPCISD::LARX\"", ";", "case", "PPCISD", "::", "STCX", ":", "return", "\"PPCISD::STCX\"", ";", "case", "PPCISD", "::", "COND_BRANCH", ":", "return", "\"PPCISD::COND_BRANCH\"", ";", "case", "PPCISD", "::", "MFFS", ":", "return", "\"PPCISD::MFFS\"", ";", "case", "PPCISD", "::", "MTFSB0", ":", "return", "\"PPCISD::MTFSB0\"", ";", "case", "PPCISD", "::", "MTFSB1", ":", "return", "\"PPCISD::MTFSB1\"", ";", "case", "PPCISD", "::", "FADDRTZ", ":", "return", "\"PPCISD::FADDRTZ\"", ";", "case", "PPCISD", "::", "MTFSF", ":", "return", "\"PPCISD::MTFSF\"", ";", "case", "PPCISD", "::", "TC_RETURN", ":", "return", "\"PPCISD::TC_RETURN\"", ";", "case", "PPCISD", "::", "CR6SET", ":", "return", "\"PPCISD::CR6SET\"", ";", "case", "PPCISD", "::", "CR6UNSET", ":", "return", "\"PPCISD::CR6UNSET\"", ";", "}", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["PowerPC", "PPC", "0", "PPCISD::FSEL", "\"PPCISD::FSEL\"", "PPCISD::FCFID", "\"PPCISD::FCFID\"", "PPCISD::FCTIDZ", "\"PPCISD::FCTIDZ\"", "PPCISD::FCTIWZ", "\"PPCISD::FCTIWZ\"", "PPCISD::STFIWX", "\"PPCISD::STFIWX\"", "PPCISD::VMADDFP", "\"PPCISD::VMADDFP\"", "PPCISD::VNMSUBFP", "\"PPCISD::VNMSUBFP\"", "PPCISD::VPERM", "\"PPCISD::VPERM\"", "PPCISD::Hi", "\"PPCISD::Hi\"", "PPCISD::Lo", "\"PPCISD::Lo\"", "PPCISD::TOC_ENTRY", "\"PPCISD::TOC_ENTRY\"", "PPCISD::TOC_RESTORE", "\"PPCISD::TOC_RESTORE\"", "PPCISD::LOAD", "\"PPCISD::LOAD\"", "PPCISD::LOAD_TOC", "\"PPCISD::LOAD_TOC\"", "PPCISD::DYNALLOC", "\"PPCISD::DYNALLOC\"", "PPCISD::GlobalBaseReg", "\"PPCISD::GlobalBaseReg\"", "PPCISD::SRL", "\"PPCISD::SRL\"", "PPCISD::SRA", "\"PPCISD::SRA\"", "PPCISD::SHL", "\"PPCISD::SHL\"", "PPCISD::EXTSW_32", "\"PPCISD::EXTSW_32\"", "PPCISD::STD_32", "\"PPCISD::STD_32\"", "PPCISD::CALL_SVR4", "\"PPCISD::CALL_SVR4\"", "PPCISD::CALL_NOP_SVR4", "\"PPCISD::CALL_NOP_SVR4\"", "PPCISD::CALL_Darwin", "\"PPCISD::CALL_Darwin\"", "PPCISD::NOP", "\"PPCISD::NOP\"", "PPCISD::MTCTR", "\"PPCISD::MTCTR\"", "PPCISD::BCTRL_Darwin", "\"PPCISD::BCTRL_Darwin\"", "PPCISD::BCTRL_SVR4", "\"PPCISD::BCTRL_SVR4\"", "PPCISD::RET_FLAG", "\"PPCISD::RET_FLAG\"", "PPCISD::MFCR", "\"PPCISD::MFCR\"", "PPCISD::VCMP", "\"PPCISD::VCMP\"", "PPCISD::VCMPo", "\"PPCISD::VCMPo\"", "PPCISD::LBRX", "\"PPCISD::LBRX\"", "PPCISD::STBRX", "\"PPCISD::STBRX\"", "PPCISD::LARX", "\"PPCISD::LARX\"", "PPCISD::STCX", "\"PPCISD::STCX\"", "PPCISD::COND_BRANCH", "\"PPCISD::COND_BRANCH\"", "PPCISD::MFFS", "\"PPCISD::MFFS\"", "PPCISD::MTFSB0", "\"PPCISD::MTFSB0\"", "PPCISD::MTFSB1", "\"PPCISD::MTFSB1\"", "PPCISD::FADDRTZ", "\"PPCISD::FADDRTZ\"", "PPCISD::MTFSF", "\"PPCISD::MTFSF\"", "PPCISD::TC_RETURN", "\"PPCISD::TC_RETURN\"", "PPCISD::CR6SET", "\"PPCISD::CR6SET\"", "PPCISD::CR6UNSET", "\"PPCISD::CR6UNSET\""], "File": "PPCISelLowering105", "Func": "getTargetNodeName", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2063, "Length": 384, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["XCore"], "File": "XCoreInstrInfo11", "Func": "getRegisterInfo", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2064, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUInstrInfo", "::", "expandPostRAPseudo", "(", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "MachineBasicBlock", "*", "MBB", "=", "MI", "->", "getParent", "(", ")", ";", "if", "(", "isRegisterLoad", "(", "*", "MI", ")", ")", "{", "unsigned", "RegIndex", "=", "MI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "unsigned", "Channel", "=", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "unsigned", "Address", "=", "calculateIndirectAddress", "(", "RegIndex", ",", "Channel", ")", ";", "unsigned", "OffsetReg", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "if", "(", "OffsetReg", "==", "AMDGPU", "::", "INDIRECT_BASE_ADDR", ")", "{", "buildMovInstr", "(", "MBB", ",", "MI", ",", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ",", "getIndirectAddrRegClass", "(", ")", "->", "getRegister", "(", "Address", ")", ")", ";", "}", "else", "{", "buildIndirectRead", "(", "MBB", ",", "MI", ",", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ",", "Address", ",", "OffsetReg", ")", ";", "}", "}", "else", "if", "(", "isRegisterStore", "(", "*", "MI", ")", ")", "{", "unsigned", "RegIndex", "=", "MI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "unsigned", "Channel", "=", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "unsigned", "Address", "=", "calculateIndirectAddress", "(", "RegIndex", ",", "Channel", ")", ";", "unsigned", "OffsetReg", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "if", "(", "OffsetReg", "==", "AMDGPU", "::", "INDIRECT_BASE_ADDR", ")", "{", "buildMovInstr", "(", "MBB", ",", "MI", ",", "getIndirectAddrRegClass", "(", ")", "->", "getRegister", "(", "Address", ")", ",", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ";", "}", "else", "{", "buildIndirectWrite", "(", "MBB", ",", "MI", ",", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ",", "calculateIndirectAddress", "(", "RegIndex", ",", "Channel", ")", ",", "OffsetReg", ")", ";", "}", "}", "else", "{", "return", "false", ";", "}", "MBB", "->", "erase", "(", "MI", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "function", "is", "called", "for", "all", "pseudo", "instructions", "that", "remain", "after", "register", "allocation", "."], "TS_V_token": ["R600", "2", "3", "1", "0", "0", "2", "3", "1", "0", "0"], "File": "AMDGPUInstrInfo33", "Func": "expandPostRAPseudo", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2065, "Length": 293, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "XCoreSubtarget", "::", "XCoreSubtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "FS", ")", "{", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["XCore", "XCore", "XCore"], "File": "XCoreSubtarget22", "Func": "XCoreSubtarget", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2066, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "XtensaInstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "OS", ",", "unsigned", "RegNo", ")", "const", "{", "OS", "<<", "\"XtensaInstPrinter::printInst not yet implemented\\n\"", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["Xtensa", "Xtensa", "\"XtensaInstPrinter::printInst not yet implemented\\n\""], "File": "XtensaInstPrinter1", "Func": "printRegName", "Target": "Xtensa", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2067, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createX86FixupSetCC", "(", ")", ")", ";", "addPass", "(", "createX86OptimizeLEAs", "(", ")", ")", ";", "}", "addPass", "(", "createX86CallFrameOptimization", "(", ")", ")", ";", "addPass", "(", "createX86WinAllocaExpander", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86"], "File": "X86TargetMachine98", "Func": "addPreRegAlloc", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2068, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "add_insn_window", "(", "rtx_insn", "*", "insn", ",", "dispatch_windows", "*", "window_list", ",", "int", "num_uops", ")", "{", "int", "byte_len", "=", "ix86_min_insn_size", "(", "insn", ")", ";", "int", "num_insn", "=", "window_list", "->", "num_insn", ";", "int", "imm_size", ";", "sched_insn_info", "*", "window", "=", "window_list", "->", "window", ";", "enum", "dispatch_group", "group", "=", "get_insn_group", "(", "insn", ")", ";", "enum", "insn_path", "path", "=", "get_insn_path", "(", "insn", ")", ";", "int", "num_imm_operand", ";", "int", "num_imm32_operand", ";", "int", "num_imm64_operand", ";", "if", "(", "!", "window_list", "->", "violation", "&&", "group", "!=", "disp_cmp", "&&", "!", "fits_dispatch_window", "(", "insn", ")", ")", "window_list", "->", "violation", "=", "true", ";", "imm_size", "=", "get_num_immediates", "(", "insn", ",", "&", "num_imm_operand", ",", "&", "num_imm32_operand", ",", "&", "num_imm64_operand", ")", ";", "window", "[", "num_insn", "]", ".", "insn", "=", "insn", ";", "window", "[", "num_insn", "]", ".", "byte_len", "=", "byte_len", ";", "window", "[", "num_insn", "]", ".", "group", "=", "group", ";", "window", "[", "num_insn", "]", ".", "path", "=", "path", ";", "window", "[", "num_insn", "]", ".", "imm_bytes", "=", "imm_size", ";", "window_list", "->", "window_size", "+=", "byte_len", ";", "window_list", "->", "num_insn", "=", "num_insn", "+", "1", ";", "window_list", "->", "num_uops", "=", "window_list", "->", "num_uops", "+", "num_uops", ";", "window_list", "->", "imm_size", "+=", "imm_size", ";", "window_list", "->", "num_imm", "+=", "num_imm_operand", ";", "window_list", "->", "num_imm_32", "+=", "num_imm32_operand", ";", "window_list", "->", "num_imm_64", "+=", "num_imm64_operand", ";", "if", "(", "group", "==", "disp_store", ")", "window_list", "->", "num_stores", "+=", "1", ";", "else", "if", "(", "group", "==", "disp_load", "||", "group", "==", "disp_prefetch", ")", "window_list", "->", "num_loads", "+=", "1", ";", "else", "if", "(", "group", "==", "disp_load_store", ")", "{", "window_list", "->", "num_stores", "+=", "1", ";", "window_list", "->", "num_loads", "+=", "1", ";", "}", "}", ""], "natrual_language": ["Add", "an", "instruction", "INSN", "with", "NUM_UOPS", "micro-operations", "to", "the", "dispatch", "window", "WINDOW_LIST", "."], "TS_V_token": ["i386", "1", "1", "1", "1", "1"], "File": "x86-tune-sched-bd", "Func": "add_insn_window", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2069, "Length": 252, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVPassConfig", "::", "addRegBankSelect", "(", ")", "{", "addPass", "(", "new", "RegBankSelect", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["This", "method", "should", "install", "a", "register", "bank", "selector", "pass", ",", "which", "assigns", "register", "banks", "to", "virtual", "registers", "without", "a", "register", "class", "or", "register", "banks", "."], "TS_V_token": ["RI5CY", "RISCV"], "File": "RISCVTargetMachine", "Func": "addRegBankSelect", "Target": "RI5CY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2070, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "GCNTTIImpl", "::", "getIntrinsicInstrCost", "(", "const", "IntrinsicCostAttributes", "&", "ICA", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "if", "(", "ICA", ".", "getID", "(", ")", "==", "Intrinsic", "::", "fabs", ")", "return", "0", ";", "if", "(", "!", "intrinsicHasPackedVectorBenefit", "(", "ICA", ".", "getID", "(", ")", ")", ")", "return", "BaseT", "::", "getIntrinsicInstrCost", "(", "ICA", ",", "CostKind", ")", ";", "Type", "*", "RetTy", "=", "ICA", ".", "getReturnType", "(", ")", ";", "EVT", "OrigTy", "=", "TLI", "->", "getValueType", "(", "DL", ",", "RetTy", ")", ";", "if", "(", "!", "OrigTy", ".", "isSimple", "(", ")", ")", "{", "return", "BaseT", "::", "getIntrinsicInstrCost", "(", "ICA", ",", "CostKind", ")", ";", "}", "std", "::", "pair", "<", "int", ",", "MVT", ">", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "DL", ",", "RetTy", ")", ";", "unsigned", "NElts", "=", "LT", ".", "second", ".", "isVector", "(", ")", "?", "LT", ".", "second", ".", "getVectorNumElements", "(", ")", ":", "1", ";", "MVT", "::", "SimpleValueType", "SLT", "=", "LT", ".", "second", ".", "getScalarType", "(", ")", ".", "SimpleTy", ";", "if", "(", "SLT", "==", "MVT", "::", "f64", ")", "return", "LT", ".", "first", "*", "NElts", "*", "get64BitInstrCost", "(", ")", ";", "if", "(", "ST", "->", "has16BitInsts", "(", ")", "&&", "SLT", "==", "MVT", "::", "f16", ")", "NElts", "=", "(", "NElts", "+", "1", ")", "/", "2", ";", "unsigned", "InstRate", "=", "getQuarterRateInstrCost", "(", ")", ";", "if", "(", "ICA", ".", "getID", "(", ")", "==", "Intrinsic", "::", "fma", ")", "{", "InstRate", "=", "ST", "->", "hasFastFMAF32", "(", ")", "?", "getHalfRateInstrCost", "(", ")", ":", "getQuarterRateInstrCost", "(", ")", ";", "}", "return", "LT", ".", "first", "*", "NElts", "*", "InstRate", ";", "}", ""], "natrual_language": ["Get", "intrinsic", "cost", "based", "on", "arguments", "."], "TS_V_token": ["AMDGPU", "Intrinsic::fabs", "0", "1", "MVT::SimpleValueType", "MVT::f64", "MVT::f16", "1", "2", "Intrinsic::fma"], "File": "AMDGPUTargetTransformInfo1", "Func": "getIntrinsicInstrCost", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2071, "Length": 241, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "nds32_output_stack_push", "(", "rtx", "par_rtx", ")", "{", "char", "pattern", "[", "100", "]", ";", "rtx", "operands", "[", "3", "]", ";", "int", "rb_va_args", "=", "cfun", "->", "machine", "->", "va_args_first_regno", ";", "int", "re_va_args", "=", "cfun", "->", "machine", "->", "va_args_last_regno", ";", "int", "last_argument_regno", "=", "NDS32_FIRST_GPR_REGNUM", "+", "NDS32_MAX_GPR_REGS_FOR_ARGS", "-", "1", ";", "int", "rb_callee_saved", "=", "cfun", "->", "machine", "->", "callee_saved_first_gpr_regno", ";", "int", "re_callee_saved", "=", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", ";", "if", "(", "reg_mentioned_p", "(", "gen_rtx_REG", "(", "SImode", ",", "last_argument_regno", ")", ",", "par_rtx", ")", ")", "{", "operands", "[", "0", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "rb_va_args", ")", ";", "operands", "[", "1", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "re_va_args", ")", ";", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"push.s\\t%s\"", ",", "\"%0, %1, { }\"", ")", ";", "output_asm_insn", "(", "pattern", ",", "operands", ")", ";", "return", "\"\"", ";", "}", "if", "(", "TARGET_V3PUSH", "&&", "!", "nds32_isr_function_p", "(", "current_function_decl", ")", "&&", "(", "cfun", "->", "machine", "->", "va_args_size", "==", "0", ")", ")", "{", "int", "sp_adjust", ";", "operands", "[", "0", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "re_callee_saved", ")", ";", "sp_adjust", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", "+", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", ";", "if", "(", "satisfies_constraint_Iu08", "(", "GEN_INT", "(", "sp_adjust", ")", ")", "&&", "NDS32_DOUBLE_WORD_ALIGN_P", "(", "sp_adjust", ")", ")", "operands", "[", "1", "]", "=", "GEN_INT", "(", "sp_adjust", ")", ";", "else", "operands", "[", "1", "]", "=", "GEN_INT", "(", "0", ")", ";", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"push25\\t%%0, %%1\"", ")", ";", "}", "else", "{", "int", "push_en4_only_p", "=", "0", ";", "operands", "[", "0", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "rb_callee_saved", ")", ";", "operands", "[", "1", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "re_callee_saved", ")", ";", "if", "(", "!", "cfun", "->", "machine", "->", "fp_size", "&&", "!", "cfun", "->", "machine", "->", "gp_size", "&&", "!", "cfun", "->", "machine", "->", "lp_size", "&&", "REGNO", "(", "operands", "[", "0", "]", ")", "==", "SP_REGNUM", "&&", "REGNO", "(", "operands", "[", "1", "]", ")", "==", "SP_REGNUM", ")", "{", "return", "\"\"", ";", "}", "else", "{", "if", "(", "REGNO", "(", "operands", "[", "0", "]", ")", "==", "SP_REGNUM", "&&", "REGNO", "(", "operands", "[", "1", "]", ")", "==", "SP_REGNUM", ")", "push_en4_only_p", "=", "1", ";", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "\"push.s\\t%s{%s%s%s }\"", ",", "push_en4_only_p", "?", "\"\"", ":", "\"%0, %1, \"", ",", "cfun", "->", "machine", "->", "fp_size", "?", "\" $fp\"", ":", "\"\"", ",", "cfun", "->", "machine", "->", "gp_size", "?", "\" $gp\"", ":", "\"\"", ",", "cfun", "->", "machine", "->", "lp_size", "?", "\" $lp\"", ":", "\"\"", ")", ";", "}", "}", "output_asm_insn", "(", "pattern", ",", "operands", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Function", "to", "output", "stack", "push", "operation", ".", "We", "need", "to", "deal", "with", "normal", "stack", "push", "multiple", "or", "stack", "v3push", "."], "TS_V_token": ["nds32", "100", "3", "1", "0", "1", "\"push.s\\t%s\"", "\"%0, %1, { }\"", "\"\"", "0", "0", "1", "1", "0", "\"push25\\t%%0, %%1\"", "0", "0", "1", "0", "1", "\"\"", "0", "1", "1", "\"push.s\\t%s{%s%s%s }\"", "\"\"", "\"%0, %1, \"", "\" $fp\"", "\"\"", "\" $gp\"", "\"\"", "\" $lp\"", "\"\"", "\"\""], "File": "nds32-md-auxiliary2", "Func": "nds32_output_stack_push", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2072, "Length": 403, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "isDesirableToCommuteWithShift", "(", "const", "SDNode", "*", "N", ",", "CombineLevel", "Level", ")", "const", "{", "SDValue", "N0", "=", "N", "->", "getOperand", "(", "0", ")", ";", "EVT", "Ty", "=", "N0", ".", "getValueType", "(", ")", ";", "if", "(", "Ty", ".", "isScalarInteger", "(", ")", "&&", "(", "N0", ".", "getOpcode", "(", ")", "==", "ISD", "::", "ADD", "||", "N0", ".", "getOpcode", "(", ")", "==", "ISD", "::", "OR", ")", ")", "{", "auto", "*", "C1", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "N0", "->", "getOperand", "(", "1", ")", ")", ";", "auto", "*", "C2", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "N", "->", "getOperand", "(", "1", ")", ")", ";", "if", "(", "C1", "&&", "C2", ")", "{", "const", "APInt", "&", "C1Int", "=", "C1", "->", "getAPIntValue", "(", ")", ";", "APInt", "ShiftedC1Int", "=", "C1Int", "<<", "C2", "->", "getAPIntValue", "(", ")", ";", "if", "(", "ShiftedC1Int", ".", "getMinSignedBits", "(", ")", "<=", "64", "&&", "isLegalAddImmediate", "(", "ShiftedC1Int", ".", "getSExtValue", "(", ")", ")", ")", "return", "true", ";", "if", "(", "C1Int", ".", "getMinSignedBits", "(", ")", "<=", "64", "&&", "isLegalAddImmediate", "(", "C1Int", ".", "getSExtValue", "(", ")", ")", ")", "return", "false", ";", "int", "C1Cost", "=", "RISCVMatInt", "::", "getIntMatCost", "(", "C1Int", ",", "Ty", ".", "getSizeInBits", "(", ")", ",", "Subtarget", ".", "getFeatureBits", "(", ")", ",", "true", ")", ";", "int", "ShiftedC1Cost", "=", "RISCVMatInt", "::", "getIntMatCost", "(", "ShiftedC1Int", ",", "Ty", ".", "getSizeInBits", "(", ")", ",", "Subtarget", ".", "getFeatureBits", "(", ")", ",", "true", ")", ";", "if", "(", "C1Cost", "<", "ShiftedC1Cost", ")", "return", "false", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "profitable", "to", "move", "this", "shift", "by", "a", "constant", "amount", "through", "its", "operand", ",", "adjusting", "any", "immediate", "operands", "as", "necessary", "to", "preserve", "semantics", "."], "TS_V_token": ["RISCV", "RISCV", "0", "ISD::ADD", "ISD::OR", "1", "1", "64", "64", "RISCVMatInt::getIntMatCost", "RISCVMatInt::getIntMatCost"], "File": "RISCVISelLowering1", "Func": "isDesirableToCommuteWithShift", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2073, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mmix_encode_section_info", "(", "tree", "decl", ",", "rtx", "rtl", ",", "int", "first", ")", "{", "if", "(", "(", "TREE_CODE", "(", "decl", ")", "==", "VAR_DECL", "&&", "(", "DECL_EXTERNAL", "(", "decl", ")", "||", "TREE_PUBLIC", "(", "decl", ")", ")", ")", "||", "(", "TREE_CODE", "(", "decl", ")", "==", "FUNCTION_DECL", "&&", "TREE_PUBLIC", "(", "decl", ")", ")", ")", ";", "else", "if", "(", "first", "&&", "DECL_P", "(", "decl", ")", ")", "{", "const", "char", "*", "str", "=", "XSTR", "(", "XEXP", "(", "rtl", ",", "0", ")", ",", "0", ")", ";", "int", "len", "=", "strlen", "(", "str", ")", ";", "char", "*", "newstr", ";", "newstr", "=", "(", "char", "*", ")", "ggc_alloc_string", "(", "\"\"", ",", "len", "+", "1", ")", ";", "strcpy", "(", "newstr", "+", "1", ",", "str", ")", ";", "*", "newstr", "=", "'@'", ";", "XSTR", "(", "XEXP", "(", "rtl", ",", "0", ")", ",", "0", ")", "=", "newstr", ";", "}", "if", "(", "TREE_CODE", "(", "decl", ")", "==", "FUNCTION_DECL", "||", "TREE_CONSTANT", "(", "decl", ")", "||", "(", "TREE_CODE", "(", "decl", ")", "==", "VAR_DECL", "&&", "TREE_READONLY", "(", "decl", ")", "&&", "!", "TREE_SIDE_EFFECTS", "(", "decl", ")", "&&", "(", "!", "DECL_INITIAL", "(", "decl", ")", "||", "TREE_CONSTANT", "(", "DECL_INITIAL", "(", "decl", ")", ")", ")", ")", ")", "SYMBOL_REF_FLAG", "(", "XEXP", "(", "rtl", ",", "0", ")", ")", "=", "1", ";", "}", ""], "natrual_language": ["ENCODE_SECTION_INFO", "."], "TS_V_token": ["mmix", "0", "0", "\"\"", "1", "1", "0", "0", "0", "1"], "File": "mmix3", "Func": "mmix_encode_section_info", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2074, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SIRegisterInfo", "::", "reservedPrivateSegmentBufferReg", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "GCNSubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "unsigned", "BaseIdx", "=", "alignDown", "(", "ST", ".", "getMaxNumSGPRs", "(", "MF", ")", ",", "4", ")", "-", "4", ";", "unsigned", "BaseReg", "(", "AMDGPU", "::", "SGPR_32RegClass", ".", "getRegister", "(", "BaseIdx", ")", ")", ";", "return", "getMatchingSuperReg", "(", "BaseReg", ",", "AMDGPU", "::", "sub0", ",", "&", "AMDGPU", "::", "SGPR_128RegClass", ")", ";", "}", ""], "natrual_language": ["Return", "the", "end", "register", "initially", "reserved", "for", "the", "scratch", "buffer", "in", "case", "spilling", "is", "needed", "."], "TS_V_token": ["AMDGPU", "SI", "4", "4", "AMDGPU::SGPR_32RegClass", "AMDGPU::sub0", "AMDGPU::SGPR_128RegClass"], "File": "SIRegisterInfo62", "Func": "reservedPrivateSegmentBufferReg", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2075, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TVMFrameLowering", "::", "hasReservedCallFrame", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "assert", "(", "!", "MF", ".", "getFrameInfo", "(", ")", ".", "hasVarSizedObjects", "(", ")", "&&", "\"Var arg is not supported yet\"", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["hasReservedCallFrame", "-", "Under", "normal", "circumstances", ",", "when", "a", "frame", "pointer", "is", "not", "required", ",", "we", "reserve", "argument", "space", "for", "call", "sites", "in", "the", "function", "immediately", "on", "entry", "to", "the", "current", "function", "."], "TS_V_token": ["TVM", "TVM", "\"Var arg is not supported yet\""], "File": "TVMFrameLowering", "Func": "hasReservedCallFrame", "Target": "TVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2076, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "x86_order_regs_for_local_alloc", "(", "void", ")", "{", "int", "pos", "=", "0", ";", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "FIRST_PSEUDO_REGISTER", ";", "i", "++", ")", "if", "(", "GENERAL_REGNO_P", "(", "i", ")", "&&", "call_used_regs", "[", "i", "]", ")", "reg_alloc_order", "[", "pos", "++", "]", "=", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "FIRST_PSEUDO_REGISTER", ";", "i", "++", ")", "if", "(", "GENERAL_REGNO_P", "(", "i", ")", "&&", "!", "call_used_regs", "[", "i", "]", ")", "reg_alloc_order", "[", "pos", "++", "]", "=", "i", ";", "if", "(", "!", "TARGET_SSE_MATH", ")", "for", "(", "i", "=", "FIRST_STACK_REG", ";", "i", "<=", "LAST_STACK_REG", ";", "i", "++", ")", "reg_alloc_order", "[", "pos", "++", "]", "=", "i", ";", "for", "(", "i", "=", "FIRST_SSE_REG", ";", "i", "<=", "LAST_SSE_REG", ";", "i", "++", ")", "reg_alloc_order", "[", "pos", "++", "]", "=", "i", ";", "for", "(", "i", "=", "FIRST_REX_SSE_REG", ";", "i", "<=", "LAST_REX_SSE_REG", ";", "i", "++", ")", "reg_alloc_order", "[", "pos", "++", "]", "=", "i", ";", "for", "(", "i", "=", "FIRST_EXT_REX_SSE_REG", ";", "i", "<=", "LAST_EXT_REX_SSE_REG", ";", "i", "++", ")", "reg_alloc_order", "[", "pos", "++", "]", "=", "i", ";", "for", "(", "i", "=", "FIRST_MASK_REG", ";", "i", "<=", "LAST_MASK_REG", ";", "i", "++", ")", "reg_alloc_order", "[", "pos", "++", "]", "=", "i", ";", "for", "(", "i", "=", "FIRST_BND_REG", ";", "i", "<=", "LAST_BND_REG", ";", "i", "++", ")", "reg_alloc_order", "[", "pos", "++", "]", "=", "i", ";", "if", "(", "TARGET_SSE_MATH", ")", "for", "(", "i", "=", "FIRST_STACK_REG", ";", "i", "<=", "LAST_STACK_REG", ";", "i", "++", ")", "reg_alloc_order", "[", "pos", "++", "]", "=", "i", ";", "for", "(", "i", "=", "FIRST_MMX_REG", ";", "i", "<=", "LAST_MMX_REG", ";", "i", "++", ")", "reg_alloc_order", "[", "pos", "++", "]", "=", "i", ";", "while", "(", "pos", "<", "FIRST_PSEUDO_REGISTER", ")", "reg_alloc_order", "[", "pos", "++", "]", "=", "0", ";", "}", ""], "natrual_language": ["Order", "the", "registers", "for", "register", "allocator", "."], "TS_V_token": ["i386", "0", "0", "0", "0"], "File": "i3864", "Func": "x86_order_regs_for_local_alloc", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2077, "Length": 273, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ",", "MCStreamer", "&", "Out", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["MatchAndEmitInstruction", "-", "Recognize", "a", "series", "of", "operands", "of", "a", "parsed", "instruction", "as", "an", "actual", "MCInst", "and", "emit", "it", "to", "the", "specified", "MCStreamer", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsAsmParser58", "Func": "MatchAndEmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2078, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "nios2_valid_addr_expr_p", "(", "rtx", "base", ",", "rtx", "offset", ",", "bool", "strict_p", ")", "{", "if", "(", "!", "strict_p", "&&", "GET_CODE", "(", "base", ")", "==", "SUBREG", ")", "base", "=", "SUBREG_REG", "(", "base", ")", ";", "return", "(", "REG_P", "(", "base", ")", "&&", "nios2_regno_ok_for_base_p", "(", "REGNO", "(", "base", ")", ",", "strict_p", ")", "&&", "(", "offset", "==", "NULL_RTX", "||", "nios2_valid_addr_offset_p", "(", "offset", ")", "||", "nios2_unspec_reloc_p", "(", "offset", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "address", "expression", "formed", "by", "BASE", "+", "OFFSET", "is", "valid", "."], "TS_V_token": ["nios2"], "File": "nios23", "Func": "nios2_valid_addr_expr_p", "Target": "nios2", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2079, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "rs6000_got_register", "(", "rtx", "value", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "!", "can_create_pseudo_p", "(", ")", "&&", "!", "df_regs_ever_live_p", "(", "RS6000_PIC_OFFSET_TABLE_REGNUM", ")", ")", "df_set_regs_ever_live", "(", "RS6000_PIC_OFFSET_TABLE_REGNUM", ",", "true", ")", ";", "crtl", "->", "uses_pic_offset_table", "=", "1", ";", "return", "pic_offset_table_rtx", ";", "}", ""], "natrual_language": ["Return", "the", "GOT", "register", "."], "TS_V_token": ["rs6000", "1"], "File": "rs6000", "Func": "rs6000_got_register", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2080, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "frv_cond_flags", "(", "rtx", "cond", ")", "{", "gcc_assert", "(", "(", "GET_CODE", "(", "cond", ")", "==", "EQ", "||", "GET_CODE", "(", "cond", ")", "==", "NE", ")", "&&", "GET_CODE", "(", "XEXP", "(", "cond", ",", "0", ")", ")", "==", "REG", "&&", "CR_P", "(", "REGNO", "(", "XEXP", "(", "cond", ",", "0", ")", ")", ")", "&&", "XEXP", "(", "cond", ",", "1", ")", "==", "const0_rtx", ")", ";", "return", "(", "(", "REGNO", "(", "XEXP", "(", "cond", ",", "0", ")", ")", "-", "CR_FIRST", ")", "|", "(", "GET_CODE", "(", "cond", ")", "==", "NE", "?", "REGSTATE_IF_TRUE", ":", "REGSTATE_IF_FALSE", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "regstate_t", "flags", "for", "the", "given", "COND_EXEC", "condition", ".", "Abort", "if", "the", "condition", "is", "n't", "in", "the", "right", "form", "."], "TS_V_token": ["frv", "0", "0", "1", "0"], "File": "frv", "Func": "frv_cond_flags", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 2081, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "DestReg", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "unsigned", "Alignment", "=", "std", "::", "max", "<", "uint32_t", ">", "(", "TRI", "->", "getSpillSize", "(", "*", "RC", ")", ",", "16", ")", ";", "bool", "isAligned", "=", "(", "Subtarget", ".", "getFrameLowering", "(", ")", "->", "getStackAlignment", "(", ")", ">=", "Alignment", ")", "||", "RI", ".", "canRealignStack", "(", "MF", ")", ";", "unsigned", "Opc", "=", "getLoadRegOpcode", "(", "DestReg", ",", "RC", ",", "isAligned", ",", "Subtarget", ")", ";", "addFrameReference", "(", "BuildMI", "(", "MBB", ",", "MI", ",", "DebugLoc", "(", ")", ",", "get", "(", "Opc", ")", ",", "DestReg", ")", ",", "FrameIdx", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["X86", "X86", "16"], "File": "X86InstrInfo1", "Func": "loadRegFromStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2082, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCELFStreamer", "&", "RISCVTargetELFStreamer", "::", "getStreamer", "(", ")", "{", "return", "static_cast", "<", "MCELFStreamer", "&", ">", "(", "Streamer", ")", ";", "}", ""], "natrual_language": ["Return", "the", "output", "streamer", "for", "the", "assembler", "."], "TS_V_token": ["RI5CY", "RISCV"], "File": "RISCVELFStreamer", "Func": "getStreamer", "Target": "RI5CY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2083, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_expand_vec_set_builtin", "(", "tree", "exp", ")", "{", "machine_mode", "tmode", ",", "mode1", ";", "tree", "arg0", ",", "arg1", ",", "arg2", ";", "int", "elt", ";", "rtx", "op0", ",", "op1", ",", "target", ";", "arg0", "=", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ";", "arg1", "=", "CALL_EXPR_ARG", "(", "exp", ",", "1", ")", ";", "arg2", "=", "CALL_EXPR_ARG", "(", "exp", ",", "2", ")", ";", "tmode", "=", "TYPE_MODE", "(", "TREE_TYPE", "(", "arg0", ")", ")", ";", "mode1", "=", "TYPE_MODE", "(", "TREE_TYPE", "(", "TREE_TYPE", "(", "arg0", ")", ")", ")", ";", "gcc_assert", "(", "VECTOR_MODE_P", "(", "tmode", ")", ")", ";", "op0", "=", "expand_expr", "(", "arg0", ",", "NULL_RTX", ",", "tmode", ",", "EXPAND_NORMAL", ")", ";", "op1", "=", "expand_expr", "(", "arg1", ",", "NULL_RTX", ",", "mode1", ",", "EXPAND_NORMAL", ")", ";", "elt", "=", "get_element_number", "(", "TREE_TYPE", "(", "arg0", ")", ",", "arg2", ")", ";", "if", "(", "GET_MODE", "(", "op1", ")", "!=", "mode1", ")", "op1", "=", "convert_modes", "(", "mode1", ",", "GET_MODE", "(", "op1", ")", ",", "op1", ",", "true", ")", ";", "op0", "=", "force_reg", "(", "tmode", ",", "op0", ")", ";", "op1", "=", "force_reg", "(", "mode1", ",", "op1", ")", ";", "target", "=", "gen_reg_rtx", "(", "tmode", ")", ";", "emit_move_insn", "(", "target", ",", "op0", ")", ";", "ix86_expand_vector_set", "(", "true", ",", "target", ",", "op1", ",", "elt", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "ix86_expand_builtin", ".", "These", "builtins", "are", "a", "wrapper", "around", "ix86_expand_vector_set", ".", "They", "would", "be", "redundant", "(", "for", "non-MMX", ")", "if", "we", "had", "a", "language-level", "syntax", "for", "referencing", "vector", "elements", "."], "TS_V_token": ["i386", "0", "1", "2"], "File": "i386-expand1", "Func": "ix86_expand_vec_set_builtin", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2084, "Length": 198, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AMDGPUTargetLowering", "::", "getRecipEstimate", "(", "SDValue", "Operand", ",", "SelectionDAG", "&", "DAG", ",", "int", "Enabled", ",", "int", "&", "RefinementSteps", ")", "const", "{", "EVT", "VT", "=", "Operand", ".", "getValueType", "(", ")", ";", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "{", "RefinementSteps", "=", "0", ";", "return", "DAG", ".", "getNode", "(", "AMDGPUISD", "::", "RCP", ",", "SDLoc", "(", "Operand", ")", ",", "VT", ",", "Operand", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Return", "a", "reciprocal", "estimate", "value", "for", "the", "input", "operand", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "MVT::f32", "0", "AMDGPUISD::RCP"], "File": "AMDGPUISelLowering (2)1", "Func": "getRecipEstimate", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2085, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ParseInstruction", "(", "ParseInstructionInfo", "&", ",", "StringRef", "Mnemonic", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "override", "{", "Operands", ".", "push_back", "(", "MOSOperand", "::", "createToken", "(", "Mnemonic", ",", "NameLoc", ")", ")", ";", "bool", "FirstTime", "=", "true", ";", "while", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Hash", ")", ")", "{", "eatThatToken", "(", "Operands", ")", ";", "if", "(", "!", "tryParseExpr", "(", "Operands", ",", "\"immediate operand must be an expression evaluating \"", "\"to a value between 0 and 255 inclusive\"", ")", ")", "{", "FirstTime", "=", "false", ";", "continue", ";", "}", "}", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "LParen", ")", ")", "{", "eatThatToken", "(", "Operands", ")", ";", "if", "(", "!", "tryParseExpr", "(", "Operands", ",", "\"expression expected after left parenthesis\"", ")", ")", "{", "FirstTime", "=", "false", ";", "continue", ";", "}", "}", "if", "(", "STI", ".", "hasFeature", "(", "MOS", "::", "FeatureW65816", ")", "&&", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "LBrac", ")", ")", "{", "eatThatToken", "(", "Operands", ")", ";", "if", "(", "!", "tryParseExpr", "(", "Operands", ",", "\"expression expected after left bracket\"", ")", ")", "{", "FirstTime", "=", "false", ";", "continue", ";", "}", "}", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "Lex", "(", ")", ";", "continue", ";", "}", "StringRef", "TokName", ";", "SMLoc", "TokLoc", ";", "TokName", "=", "getLexer", "(", ")", ".", "getTok", "(", ")", ".", "getString", "(", ")", ";", "TokLoc", "=", "getLexer", "(", ")", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "if", "(", "FirstTime", "&&", "(", "TokName", "==", "\"a\"", "||", "TokName", "==", "\"A\"", ")", ")", "{", "eatThatToken", "(", "Operands", ")", ";", "FirstTime", "=", "false", ";", "continue", ";", "}", "if", "(", "tryParseAsmParamRegClass", "(", "Operands", ")", "==", "MatchOperand_Success", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "continue", ";", "}", "if", "(", "FirstTime", "&&", "!", "tryParseExpr", "(", "Operands", ",", "\"expression expected\"", ")", ")", "{", "FirstTime", "=", "false", ";", "continue", ";", "}", "FirstTime", "=", "false", ";", "eatThatToken", "(", "Operands", ")", ";", "}", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["MOS", "MOSOperand::createToken", "\"immediate operand must be an expression evaluating \"", "\"to a value between 0 and 255 inclusive\"", "\"expression expected after left parenthesis\"", "MOS::FeatureW65816", "\"expression expected after left bracket\"", "\"a\"", "\"A\"", "\"expression expected\""], "File": "MOSAsmParser", "Func": "ParseInstruction", "Target": "MOS", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2086, "Length": 316, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "BPFTargetMachine", "::", "registerPassBuilderCallbacks", "(", "PassBuilder", "&", "PB", ",", "bool", "DebugPassManager", ")", "{", "PB", ".", "registerPipelineStartEPCallback", "(", "[", "=", "]", "(", "ModulePassManager", "&", "MPM", ",", "PassBuilder", "::", "OptimizationLevel", ")", "{", "FunctionPassManager", "FPM", "(", "DebugPassManager", ")", ";", "FPM", ".", "addPass", "(", "BPFAbstractMemberAccessPass", "(", "this", ")", ")", ";", "FPM", ".", "addPass", "(", "BPFPreserveDITypePass", "(", ")", ")", ";", "MPM", ".", "addPass", "(", "createModuleToFunctionPassAdaptor", "(", "std", "::", "move", "(", "FPM", ")", ")", ")", ";", "}", ")", ";", "PB", ".", "registerPeepholeEPCallback", "(", "[", "=", "]", "(", "FunctionPassManager", "&", "FPM", ",", "PassBuilder", "::", "OptimizationLevel", "Level", ")", "{", "FPM", ".", "addPass", "(", "SimplifyCFGPass", "(", "SimplifyCFGOptions", "(", ")", ".", "hoistCommonInsts", "(", "true", ")", ")", ")", ";", "}", ")", ";", "}", ""], "natrual_language": ["Invoke", "the", "PassBuilder", "callback", "registration", "."], "TS_V_token": ["BPF", "BPF", "BPF", "BPF"], "File": "BPFTargetMachine1", "Func": "registerPassBuilderCallbacks", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2087, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "visium_split_double_move", "(", "rtx", "*", "operands", ",", "machine_mode", "mode", ")", "{", "bool", "swap", "=", "false", ";", "if", "(", "GET_CODE", "(", "operands", "[", "0", "]", ")", "==", "REG", "&&", "GET_CODE", "(", "operands", "[", "1", "]", ")", "==", "REG", "&&", "REGNO", "(", "operands", "[", "0", "]", ")", "==", "REGNO", "(", "operands", "[", "1", "]", ")", "+", "1", ")", "swap", "=", "true", ";", "if", "(", "GET_CODE", "(", "operands", "[", "0", "]", ")", "==", "REG", "&&", "GET_CODE", "(", "operands", "[", "1", "]", ")", "==", "MEM", ")", "{", "rtx", "op", "=", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "SUBREG", ")", "op", "=", "SUBREG_REG", "(", "op", ")", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "REG", "&&", "REGNO", "(", "op", ")", "==", "REGNO", "(", "operands", "[", "0", "]", ")", ")", "swap", "=", "true", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "PLUS", ")", "{", "rtx", "x", "=", "XEXP", "(", "op", ",", "0", ")", ";", "rtx", "y", "=", "XEXP", "(", "op", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "REG", "&&", "REGNO", "(", "x", ")", "==", "REGNO", "(", "operands", "[", "0", "]", ")", ")", "swap", "=", "true", ";", "if", "(", "GET_CODE", "(", "y", ")", "==", "REG", "&&", "REGNO", "(", "y", ")", "==", "REGNO", "(", "operands", "[", "0", "]", ")", ")", "swap", "=", "true", ";", "}", "}", "if", "(", "swap", ")", "{", "operands", "[", "2", "]", "=", "operand_subword", "(", "operands", "[", "0", "]", ",", "1", ",", "1", ",", "mode", ")", ";", "operands", "[", "3", "]", "=", "operand_subword", "(", "operands", "[", "1", "]", ",", "1", ",", "1", ",", "mode", ")", ";", "operands", "[", "4", "]", "=", "operand_subword", "(", "operands", "[", "0", "]", ",", "0", ",", "1", ",", "mode", ")", ";", "operands", "[", "5", "]", "=", "operand_subword", "(", "operands", "[", "1", "]", ",", "0", ",", "1", ",", "mode", ")", ";", "}", "else", "{", "operands", "[", "2", "]", "=", "operand_subword", "(", "operands", "[", "0", "]", ",", "0", ",", "1", ",", "mode", ")", ";", "operands", "[", "3", "]", "=", "operand_subword", "(", "operands", "[", "1", "]", ",", "0", ",", "1", ",", "mode", ")", ";", "operands", "[", "4", "]", "=", "operand_subword", "(", "operands", "[", "0", "]", ",", "1", ",", "1", ",", "mode", ")", ";", "operands", "[", "5", "]", "=", "operand_subword", "(", "operands", "[", "1", "]", ",", "1", ",", "1", ",", "mode", ")", ";", "}", "}", ""], "natrual_language": ["Split", "a", "double", "move", "of", "OPERANDS", "in", "MODE", "."], "TS_V_token": ["visium", "0", "1", "0", "1", "1", "0", "1", "1", "0", "0", "0", "1", "0", "0", "2", "0", "1", "1", "3", "1", "1", "1", "4", "0", "0", "1", "5", "1", "0", "1", "2", "0", "0", "1", "3", "1", "0", "1", "4", "0", "1", "1", "5", "1", "1", "1"], "File": "visium", "Func": "visium_split_double_move", "Target": "visium", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 2088, "Length": 384, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MipsSubtarget", "::", "MipsSubtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "bool", "little", ",", "Reloc", "::", "Model", "_RM", ")", ":", "MipsGenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "MipsArchVersion", "(", "Mips32", ")", ",", "MipsABI", "(", "UnknownABI", ")", ",", "IsLittle", "(", "little", ")", ",", "IsSingleFloat", "(", "false", ")", ",", "IsFP64bit", "(", "false", ")", ",", "IsGP64bit", "(", "false", ")", ",", "HasVFPU", "(", "false", ")", ",", "IsLinux", "(", "true", ")", ",", "HasSEInReg", "(", "false", ")", ",", "HasCondMov", "(", "false", ")", ",", "HasSwap", "(", "false", ")", ",", "HasBitCount", "(", "false", ")", ",", "HasFPIdx", "(", "false", ")", ",", "InMips16Mode", "(", "false", ")", ",", "InMicroMipsMode", "(", "false", ")", ",", "HasDSP", "(", "false", ")", ",", "HasDSPR2", "(", "false", ")", ",", "IsAndroid", "(", "false", ")", ",", "RM", "(", "_RM", ")", "{", "std", "::", "string", "CPUName", "=", "CPU", ";", "if", "(", "CPUName", ".", "empty", "(", ")", ")", "CPUName", "=", "\"mips32\"", ";", "ParseSubtargetFeatures", "(", "CPUName", ",", "FS", ")", ";", "InstrItins", "=", "getInstrItineraryForCPU", "(", "CPUName", ")", ";", "if", "(", "MipsABI", "==", "UnknownABI", ")", "MipsABI", "=", "hasMips64", "(", ")", "?", "N64", ":", "O32", ";", "assert", "(", "(", "(", "!", "hasMips64", "(", ")", "&&", "(", "isABI_O32", "(", ")", "||", "isABI_EABI", "(", ")", ")", ")", "||", "(", "hasMips64", "(", ")", "&&", "(", "isABI_N32", "(", ")", "||", "isABI_N64", "(", ")", ")", ")", ")", "&&", "\"Invalid Arch & ABI pair.\"", ")", ";", "if", "(", "TT", ".", "find", "(", "\"linux\"", ")", "==", "std", "::", "string", "::", "npos", ")", "IsLinux", "=", "false", ";", "UseSmallSection", "=", "!", "IsLinux", "&&", "(", "RM", "==", "Reloc", "::", "Static", ")", ";", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "\"mips32\"", "Mips", "Mips", "Mips", "Mips", "Mips", "\"Invalid Arch & ABI pair.\"", "\"linux\""], "File": "MipsSubtarget10", "Func": "MipsSubtarget", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2089, "Length": 260, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "JVMCopyElision", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MFN", ")", "{", "MF", "=", "&", "MFN", ";", "TII", "=", "static_cast", "<", "const", "JVMInstrInfo", "*", ">", "(", "MF", "->", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "static_cast", "<", "const", "JVMRegisterInfo", "*", ">", "(", "MF", "->", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "MRI", "=", "&", "MF", "->", "getRegInfo", "(", ")", ";", "DT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"\\n******** JVM COPY elision ********\\n\"", ")", ";", "PerformCopyElision", "(", "DT", "->", "getRootNode", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["JVM", "JVM", "JVM", "JVM", "\"\\n******** JVM COPY elision ********\\n\""], "File": "JVMCopyElision", "Func": "runOnMachineFunction", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2090, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isProfitableForNoCSROpt", "(", "const", "Function", "&", "F", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["Check", "if", "the", "no-CSR", "optimisation", "is", "profitable", "for", "the", "given", "function", "."], "TS_V_token": ["ARM"], "File": "ARMFrameLowering15", "Func": "isProfitableForNoCSROpt", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2091, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"AGC DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AGC", "\"AGC DAG->DAG Pattern Instruction Selection\""], "File": "AGCISelDAGToDAG", "Func": "getPassName", "Target": "AGC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2092, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_offset_7bit_signed_scaled_p", "(", "machine_mode", "mode", ",", "HOST_WIDE_INT", "offset", ")", "{", "return", "(", "offset", ">=", "-", "64", "*", "GET_MODE_SIZE", "(", "mode", ")", "&&", "offset", "<", "64", "*", "GET_MODE_SIZE", "(", "mode", ")", "&&", "offset", "%", "GET_MODE_SIZE", "(", "mode", ")", "==", "0", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OFFSET", "is", "a", "signed", "7-bit", "value", "multiplied", "by", "the", "size", "of", "MODE", "."], "TS_V_token": ["aarch64", "64", "64", "0"], "File": "aarch642", "Func": "aarch64_offset_7bit_signed_scaled_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2093, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "M68kSubtarget", "::", "M68kSubtarget", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "M68kTargetMachine", "&", "TM", ")", ":", "M68kGenSubtargetInfo", "(", "TT", ",", "CPU", ",", "CPU", ",", "FS", ")", ",", "UserReservedRegister", "(", "M68k", "::", "NUM_TARGET_REGS", ")", ",", "TM", "(", "TM", ")", ",", "TSInfo", "(", ")", ",", "InstrInfo", "(", "initializeSubtargetDependencies", "(", "CPU", ",", "TT", ",", "FS", ",", "TM", ")", ")", ",", "FrameLowering", "(", "*", "this", ",", "this", "->", "getStackAlignment", "(", ")", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", ",", "TargetTriple", "(", "TT", ")", "{", "CallLoweringInfo", ".", "reset", "(", "new", "M68kCallLowering", "(", "*", "getTargetLowering", "(", ")", ")", ")", ";", "Legalizer", ".", "reset", "(", "new", "M68kLegalizerInfo", "(", "*", "this", ")", ")", ";", "auto", "*", "RBI", "=", "new", "M68kRegisterBankInfo", "(", "*", "getRegisterInfo", "(", ")", ")", ";", "RegBankInfo", ".", "reset", "(", "RBI", ")", ";", "InstSelector", ".", "reset", "(", "createM68kInstructionSelector", "(", "TM", ",", "*", "this", ",", "*", "RBI", ")", ")", ";", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["M68k", "M68k", "M68k", "M68k", "M68k", "M68k::NUM_TARGET_REGS", "M68k", "M68k", "M68k", "M68k"], "File": "M68kSubtarget", "Func": "M68kSubtarget", "Target": "M68k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2094, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonTargetLowering", "::", "isFMAFasterThanFMulAndFAdd", "(", "const", "MachineFunction", "&", "MF", ",", "EVT", "VT", ")", "const", "{", "return", "isOperationLegalOrCustom", "(", "ISD", "::", "FMA", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "an", "FMA", "operation", "is", "faster", "than", "a", "pair", "of", "fmul", "and", "fadd", "instructions", "."], "TS_V_token": ["Hexagon", "Hexagon", "ISD::FMA"], "File": "HexagonISelLowering100", "Func": "isFMAFasterThanFMulAndFAdd", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2095, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "function_builder", "::", "add_overloaded_functions", "(", "const", "function_group_info", "&", "group", ",", "mode_suffix_index", "mode", ")", "{", "unsigned", "int", "explicit_type0", "=", "(", "*", "group", ".", "shape", ")", "->", "explicit_type_suffix_p", "(", "0", ")", ";", "unsigned", "int", "explicit_type1", "=", "(", "*", "group", ".", "shape", ")", "->", "explicit_type_suffix_p", "(", "1", ")", ";", "for", "(", "unsigned", "int", "pi", "=", "0", ";", "group", ".", "preds", "[", "pi", "]", "!=", "NUM_PREDS", ";", "++", "pi", ")", "{", "if", "(", "!", "explicit_type0", "&&", "!", "explicit_type1", ")", "{", "function_instance", "instance", "(", "group", ".", "base_name", ",", "*", "group", ".", "base", ",", "*", "group", ".", "shape", ",", "mode", ",", "types_none", "[", "0", "]", ",", "group", ".", "preds", "[", "pi", "]", ")", ";", "add_overloaded_function", "(", "instance", ",", "group", ".", "required_extensions", ")", ";", "}", "else", "for", "(", "unsigned", "int", "ti", "=", "0", ";", "group", ".", "types", "[", "ti", "]", "[", "0", "]", "!=", "NUM_TYPE_SUFFIXES", ";", "++", "ti", ")", "{", "type_suffix_pair", "types", "=", "{", "explicit_type0", "?", "group", ".", "types", "[", "ti", "]", "[", "0", "]", ":", "NUM_TYPE_SUFFIXES", ",", "explicit_type1", "?", "group", ".", "types", "[", "ti", "]", "[", "1", "]", ":", "NUM_TYPE_SUFFIXES", "}", ";", "function_instance", "instance", "(", "group", ".", "base_name", ",", "*", "group", ".", "base", ",", "*", "group", ".", "shape", ",", "mode", ",", "types", ",", "group", ".", "preds", "[", "pi", "]", ")", ";", "add_overloaded_function", "(", "instance", ",", "group", ".", "required_extensions", ")", ";", "}", "}", "}", ""], "natrual_language": ["If", "we", "are", "using", "manual", "overload", "resolution", ",", "add", "one", "function", "decl", "for", "each", "overloaded", "function", "in", "GROUP", ".", "Take", "the", "function", "base", "name", "from", "GROUP", "and", "the", "mode", "from", "MODE", "."], "TS_V_token": ["aarch64", "0", "1", "0", "0", "0", "0", "0", "1"], "File": "aarch64-sve-builtins1", "Func": "add_overloaded_functions", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2096, "Length": 217, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "unique_ptr", "<", "MCObjectWriter", ">", "createObjectWriter", "(", "raw_pwrite_stream", "&", "OS", ")", "const", "override", "{", "uint8_t", "OSABI", "=", "MCELFObjectTargetWriter", "::", "getOSABI", "(", "OSType", ")", ";", "return", "createSparcELFObjectWriter", "(", "OS", ",", "Is64Bit", ",", "IsLittleEndian", ",", "OSABI", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["Sparc", "Sparc"], "File": "SparcAsmBackend1", "Func": "createObjectWriter", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2097, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ConstantPool", "::", "empty", "(", ")", "{", "return", "Entries", ".", "empty", "(", ")", ";", "}", ""], "natrual_language": ["Determine", "whether", "this", "version", "information", "is", "empty", "(", "e.g.", ",", "all", "version", "components", "are", "zero", ")", "."], "TS_V_token": ["ARM"], "File": "ARMTargetStreamer10", "Func": "empty", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2098, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ARMTTIImpl", "::", "getIntImmCost", "(", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "{", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "unsigned", "Bits", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "Bits", "==", "0", "||", "Bits", ">", "32", ")", "return", "4", ";", "int32_t", "SImmVal", "=", "Imm", ".", "getSExtValue", "(", ")", ";", "uint32_t", "ZImmVal", "=", "Imm", ".", "getZExtValue", "(", ")", ";", "if", "(", "!", "ST", "->", "isThumb", "(", ")", ")", "{", "if", "(", "(", "SImmVal", ">=", "0", "&&", "SImmVal", "<", "65536", ")", "||", "(", "ARM_AM", "::", "getSOImmVal", "(", "ZImmVal", ")", "!=", "-", "1", ")", "||", "(", "ARM_AM", "::", "getSOImmVal", "(", "~", "ZImmVal", ")", "!=", "-", "1", ")", ")", "return", "1", ";", "return", "ST", "->", "hasV6T2Ops", "(", ")", "?", "2", ":", "3", ";", "}", "if", "(", "ST", "->", "isThumb2", "(", ")", ")", "{", "if", "(", "(", "SImmVal", ">=", "0", "&&", "SImmVal", "<", "65536", ")", "||", "(", "ARM_AM", "::", "getT2SOImmVal", "(", "ZImmVal", ")", "!=", "-", "1", ")", "||", "(", "ARM_AM", "::", "getT2SOImmVal", "(", "~", "ZImmVal", ")", "!=", "-", "1", ")", ")", "return", "1", ";", "return", "ST", "->", "hasV6T2Ops", "(", ")", "?", "2", ":", "3", ";", "}", "if", "(", "SImmVal", ">=", "0", "&&", "SImmVal", "<", "256", ")", "return", "1", ";", "if", "(", "(", "~", "ZImmVal", "<", "256", ")", "||", "ARM_AM", "::", "isThumbImmShiftedVal", "(", "ZImmVal", ")", ")", "return", "2", ";", "return", "3", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "."], "TS_V_token": ["ARM", "ARM", "0", "32", "4", "0", "65536", "ARM_AM::getSOImmVal", "1", "ARM_AM::getSOImmVal", "1", "1", "2", "3", "0", "65536", "ARM_AM::getT2SOImmVal", "1", "ARM_AM::getT2SOImmVal", "1", "1", "2", "3", "0", "256", "1", "256", "ARM_AM::isThumbImmShiftedVal", "2", "3"], "File": "ARMTargetTransformInfo (2)", "Func": "getIntImmCost", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2099, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "PPCMCExpr", "*", "PPCMCExpr", "::", "create", "(", "VariantKind", "Kind", ",", "const", "MCExpr", "*", "Expr", ",", "bool", "isDarwin", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "(", "Ctx", ")", "PPCMCExpr", "(", "Kind", ",", "Expr", ",", "isDarwin", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC"], "File": "PPCMCExpr17", "Func": "create", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2100, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVMCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "verifyInstructionPredicates", "(", "MI", ",", "computeAvailableFeatures", "(", "STI", ".", "getFeatureBits", "(", ")", ")", ")", ";", "const", "MCInstrDesc", "&", "Desc", "=", "MCII", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "unsigned", "Size", "=", "Desc", ".", "getSize", "(", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "PseudoCALLReg", "||", "MI", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "PseudoCALL", "||", "MI", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "PseudoTAIL", "||", "MI", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "PseudoJump", ")", "{", "expandFunctionCall", "(", "MI", ",", "OS", ",", "Fixups", ",", "STI", ")", ";", "MCNumEmitted", "+=", "2", ";", "return", ";", "}", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "PseudoAddTPRel", ")", "{", "expandAddTPRel", "(", "MI", ",", "OS", ",", "Fixups", ",", "STI", ")", ";", "MCNumEmitted", "+=", "1", ";", "return", ";", "}", "switch", "(", "Size", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unhandled encodeInstruction length!\"", ")", ";", "case", "2", ":", "{", "uint16_t", "Bits", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "support", "::", "endian", "::", "write", "<", "uint16_t", ">", "(", "OS", ",", "Bits", ",", "support", "::", "little", ")", ";", "break", ";", "}", "case", "4", ":", "{", "uint32_t", "Bits", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "support", "::", "endian", "::", "write", "(", "OS", ",", "Bits", ",", "support", "::", "little", ")", ";", "break", ";", "}", "}", "++", "MCNumEmitted", ";", "}", ""], "natrual_language": ["Encode", "the", "given", "Inst", "to", "bytes", "and", "append", "to", "CB", "."], "TS_V_token": ["RI5CY", "RISCV", "RISCV::PseudoCALLReg", "RISCV::PseudoCALL", "RISCV::PseudoTAIL", "RISCV::PseudoJump", "2", "RISCV::PseudoAddTPRel", "1", "\"Unhandled encodeInstruction length!\"", "2", "support::endian", "support::little", "4", "support::endian", "support::little"], "File": "RISCVMCCodeEmitter", "Func": "encodeInstruction", "Target": "RI5CY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2101, "Length": 247, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "reg_class", "rs6000_secondary_reload_class", "(", "enum", "reg_class", "rclass", ",", "machine_mode", "mode", ",", "rtx", "in", ")", "{", "int", "regno", ";", "if", "(", "TARGET_ELF", "||", "(", "DEFAULT_ABI", "==", "ABI_DARWIN", "&&", "MACHOPIC_INDIRECT", ")", ")", "{", "if", "(", "rclass", "!=", "BASE_REGS", "&&", "(", "GET_CODE", "(", "in", ")", "==", "SYMBOL_REF", "||", "GET_CODE", "(", "in", ")", "==", "HIGH", "||", "GET_CODE", "(", "in", ")", "==", "LABEL_REF", "||", "GET_CODE", "(", "in", ")", "==", "CONST", ")", ")", "return", "BASE_REGS", ";", "}", "if", "(", "GET_CODE", "(", "in", ")", "==", "REG", ")", "{", "regno", "=", "REGNO", "(", "in", ")", ";", "if", "(", "regno", ">=", "FIRST_PSEUDO_REGISTER", ")", "{", "regno", "=", "true_regnum", "(", "in", ")", ";", "if", "(", "regno", ">=", "FIRST_PSEUDO_REGISTER", ")", "regno", "=", "-", "1", ";", "}", "}", "else", "if", "(", "GET_CODE", "(", "in", ")", "==", "SUBREG", ")", "{", "regno", "=", "true_regnum", "(", "in", ")", ";", "if", "(", "regno", ">=", "FIRST_PSEUDO_REGISTER", ")", "regno", "=", "-", "1", ";", "}", "else", "regno", "=", "-", "1", ";", "if", "(", "TARGET_VSX", "&&", "GET_MODE_SIZE", "(", "mode", ")", "<", "16", "&&", "!", "mode_supports_vmx_dform", "(", "mode", ")", "&&", "(", "(", "(", "rclass", "==", "GENERAL_REGS", "||", "rclass", "==", "BASE_REGS", ")", "&&", "(", "regno", ">=", "0", "&&", "ALTIVEC_REGNO_P", "(", "regno", ")", ")", ")", "||", "(", "(", "rclass", "==", "VSX_REGS", "||", "rclass", "==", "ALTIVEC_REGS", ")", "&&", "(", "regno", ">=", "0", "&&", "INT_REGNO_P", "(", "regno", ")", ")", ")", ")", ")", "return", "FLOAT_REGS", ";", "if", "(", "rclass", "==", "GENERAL_REGS", "||", "rclass", "==", "BASE_REGS", "||", "(", "regno", ">=", "0", "&&", "INT_REGNO_P", "(", "regno", ")", ")", ")", "return", "NO_REGS", ";", "if", "(", "rclass", "==", "VSX_REGS", "&&", "(", "regno", "==", "-", "1", "||", "VSX_REGNO_P", "(", "regno", ")", ")", ")", "return", "NO_REGS", ";", "if", "(", "(", "regno", "==", "-", "1", "||", "FP_REGNO_P", "(", "regno", ")", ")", "&&", "(", "rclass", "==", "FLOAT_REGS", "||", "rclass", "==", "NON_SPECIAL_REGS", ")", ")", "return", "(", "mode", "!=", "SDmode", "||", "lra_in_progress", ")", "?", "NO_REGS", ":", "GENERAL_REGS", ";", "if", "(", "(", "regno", "==", "-", "1", "||", "ALTIVEC_REGNO_P", "(", "regno", ")", ")", "&&", "rclass", "==", "ALTIVEC_REGS", ")", "return", "NO_REGS", ";", "if", "(", "(", "rclass", "==", "CR_REGS", "||", "rclass", "==", "CR0_REGS", ")", "&&", "regno", ">=", "0", "&&", "CR_REGNO_P", "(", "regno", ")", ")", "return", "NO_REGS", ";", "return", "GENERAL_REGS", ";", "}", ""], "natrual_language": ["Return", "the", "register", "class", "of", "a", "scratch", "register", "needed", "to", "copy", "IN", "into", "or", "out", "of", "a", "register", "in", "RCLASS", "in", "MODE", ".", "If", "it", "can", "be", "done", "directly", ",", "NO_REGS", "is", "returned", "."], "TS_V_token": ["rs6000", "1", "1", "1", "16", "0", "0", "0", "1", "1", "1", "0"], "File": "rs60005", "Func": "rs6000_secondary_reload_class", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2102, "Length": 351, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isLegalMaskedScatter", "(", "Type", "*", "DataType", ",", "Align", "Alignment", ")", "{", "return", "isLegalMaskedGatherScatter", "(", "DataType", ",", "Alignment", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "scatter", "."], "TS_V_token": ["RISCV"], "File": "RISCVTargetTransformInfo10", "Func": "isLegalMaskedScatter", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2103, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_set_up_by_prologue", "(", "struct", "hard_reg_set_container", "*", "set", ")", "{", "if", "(", "!", "TARGET_SINGLE_PIC_BASE", "&&", "TARGET_TOC", "&&", "TARGET_MINIMAL_TOC", "&&", "!", "constant_pool_empty_p", "(", ")", ")", "add_to_hard_reg_set", "(", "&", "set", "->", "set", ",", "Pmode", ",", "RS6000_PIC_OFFSET_TABLE_REGNUM", ")", ";", "if", "(", "cfun", "->", "machine", "->", "split_stack_argp_used", ")", "add_to_hard_reg_set", "(", "&", "set", "->", "set", ",", "Pmode", ",", "12", ")", ";", "}", ""], "natrual_language": ["Add", "r30", "to", "hard", "reg", "set", "if", "the", "prologue", "sets", "it", "up", "and", "it", "is", "not", "pic_offset_table_rtx", "."], "TS_V_token": ["rs6000", "12"], "File": "rs60006", "Func": "rs6000_set_up_by_prologue", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2104, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "rs6000_generate_version_dispatcher_body", "(", "void", "*", "node_p", ")", "{", "tree", "resolver", ";", "basic_block", "empty_bb", ";", "struct", "cgraph_node", "*", "node", "=", "(", "cgraph_node", "*", ")", "node_p", ";", "struct", "cgraph_function_version_info", "*", "ninfo", "=", "node", "->", "function_version", "(", ")", ";", "if", "(", "ninfo", "->", "dispatcher_resolver", ")", "return", "ninfo", "->", "dispatcher_resolver", ";", "node", "->", "definition", "=", "false", ";", "ninfo", "->", "dispatcher_resolver", "=", "resolver", "=", "make_resolver_func", "(", "ninfo", "->", "next", "->", "this_node", "->", "decl", ",", "node", "->", "decl", ",", "&", "empty_bb", ")", ";", "if", "(", "TARGET_DEBUG_TARGET", ")", "fprintf", "(", "stderr", ",", "\"rs6000_get_function_versions_dispatcher, %s\\n\"", ",", "get_decl_name", "(", "resolver", ")", ")", ";", "push_cfun", "(", "DECL_STRUCT_FUNCTION", "(", "resolver", ")", ")", ";", "auto_vec", "<", "tree", ",", "2", ">", "fn_ver_vec", ";", "for", "(", "struct", "cgraph_function_version_info", "*", "vinfo", "=", "ninfo", "->", "next", ";", "vinfo", ";", "vinfo", "=", "vinfo", "->", "next", ")", "{", "struct", "cgraph_node", "*", "version", "=", "vinfo", "->", "this_node", ";", "if", "(", "DECL_VINDEX", "(", "version", "->", "decl", ")", ")", "sorry", "(", "\"Virtual function multiversioning not supported\"", ")", ";", "fn_ver_vec", ".", "safe_push", "(", "version", "->", "decl", ")", ";", "}", "dispatch_function_versions", "(", "resolver", ",", "&", "fn_ver_vec", ",", "&", "empty_bb", ")", ";", "cgraph_edge", "::", "rebuild_edges", "(", ")", ";", "pop_cfun", "(", ")", ";", "return", "resolver", ";", "}", ""], "natrual_language": ["Generate", "the", "dispatching", "code", "body", "to", "dispatch", "multi-versioned", "function", "DECL", ".", "The", "target", "hook", "is", "called", "to", "process", "the", "``", "target", "''", "attributes", "and", "provide", "the", "code", "to", "dispatch", "the", "right", "function", "at", "run-time", ".", "NODE", "points", "to", "the", "dispatcher", "decl", "whose", "body", "will", "be", "created", "."], "TS_V_token": ["rs6000", "\"rs6000_get_function_versions_dispatcher, %s\\n\"", "2", "\"Virtual function multiversioning not supported\""], "File": "rs6000", "Func": "rs6000_generate_version_dispatcher_body", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2105, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CJGInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "printInstruction", "(", "MI", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["CJG", "CJG"], "File": "CJGInstPrinter", "Func": "printInst", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2106, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "emit_frame_save", "(", "rtx", "frame_reg", ",", "machine_mode", "mode", ",", "unsigned", "int", "regno", ",", "int", "offset", ",", "HOST_WIDE_INT", "frame_reg_to_sp", ")", "{", "rtx", "reg", ";", "gcc_checking_assert", "(", "!", "(", "TARGET_ALTIVEC_ABI", "&&", "ALTIVEC_VECTOR_MODE", "(", "mode", ")", ")", "||", "(", "TARGET_VSX", "&&", "ALTIVEC_OR_VSX_VECTOR_MODE", "(", "mode", ")", ")", ")", ";", "reg", "=", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "rtx_insn", "*", "insn", "=", "emit_insn", "(", "gen_frame_store", "(", "reg", ",", "frame_reg", ",", "offset", ")", ")", ";", "return", "rs6000_frame_related", "(", "insn", ",", "frame_reg", ",", "frame_reg_to_sp", ",", "NULL_RTX", ",", "NULL_RTX", ")", ";", "}", ""], "natrual_language": ["Save", "a", "register", "into", "the", "frame", ",", "and", "emit", "RTX_FRAME_RELATED_P", "notes", ".", "Save", "REGNO", "into", "[", "FRAME_REG", "+", "OFFSET", "]", "in", "mode", "MODE", "."], "TS_V_token": ["rs6000"], "File": "rs6000-logue", "Func": "emit_frame_save", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2107, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMem", "(", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["isMem", "-", "Is", "this", "a", "memory", "operand", "?"], "TS_V_token": ["AMDGPU"], "File": "AMDGPUAsmParser (2)", "Func": "isMem", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2108, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nds32_emit_stack_v3push", "(", "rtx", "Rb", ",", "rtx", "Re", ",", "rtx", "En4", "ATTRIBUTE_UNUSED", ",", "rtx", "imm8u", ")", "{", "int", "regno", ";", "int", "num_use_regs", ";", "int", "par_index", ";", "int", "offset", ";", "rtx", "reg", ";", "rtx", "mem", ";", "rtx", "push_rtx", ";", "rtx", "adjust_sp_rtx", ";", "rtx", "parallel_insn", ";", "num_use_regs", "=", "REGNO", "(", "Re", ")", "-", "REGNO", "(", "Rb", ")", "+", "1", "+", "3", ";", "parallel_insn", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "num_use_regs", "+", "1", ")", ")", ";", "par_index", "=", "0", ";", "offset", "=", "-", "(", "num_use_regs", "*", "4", ")", ";", "for", "(", "regno", "=", "REGNO", "(", "Rb", ")", ";", "regno", "<=", "(", "int", ")", "REGNO", "(", "Re", ")", ";", "regno", "++", ")", "{", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "push_rtx", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "mem", ",", "reg", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "0", ",", "par_index", ")", "=", "push_rtx", ";", "RTX_FRAME_RELATED_P", "(", "push_rtx", ")", "=", "1", ";", "offset", "=", "offset", "+", "4", ";", "par_index", "++", ";", "}", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "FP_REGNUM", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "push_rtx", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "mem", ",", "reg", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "0", ",", "par_index", ")", "=", "push_rtx", ";", "RTX_FRAME_RELATED_P", "(", "push_rtx", ")", "=", "1", ";", "offset", "=", "offset", "+", "4", ";", "par_index", "++", ";", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "GP_REGNUM", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "push_rtx", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "mem", ",", "reg", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "0", ",", "par_index", ")", "=", "push_rtx", ";", "RTX_FRAME_RELATED_P", "(", "push_rtx", ")", "=", "1", ";", "offset", "=", "offset", "+", "4", ";", "par_index", "++", ";", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "LP_REGNUM", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "push_rtx", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "mem", ",", "reg", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "0", ",", "par_index", ")", "=", "push_rtx", ";", "RTX_FRAME_RELATED_P", "(", "push_rtx", ")", "=", "1", ";", "offset", "=", "offset", "+", "4", ";", "par_index", "++", ";", "offset", "=", "-", "(", "num_use_regs", "*", "4", ")", ";", "adjust_sp_rtx", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", "-", "INTVAL", "(", "imm8u", ")", ")", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "0", ",", "par_index", ")", "=", "adjust_sp_rtx", ";", "RTX_FRAME_RELATED_P", "(", "adjust_sp_rtx", ")", "=", "1", ";", "parallel_insn", "=", "emit_insn", "(", "parallel_insn", ")", ";", "RTX_FRAME_RELATED_P", "(", "parallel_insn", ")", "=", "1", ";", "}", ""], "natrual_language": ["Function", "to", "create", "a", "parallel", "rtx", "pattern", "which", "presents", "stack", "v3push", "behavior", ".", "The", "overall", "concept", "are", ":", "``", "push", "registers", "to", "memory", "''", ",", "``", "adjust", "stack", "pointer", "''", "."], "TS_V_token": ["nds32", "1", "3", "1", "0", "4", "0", "1", "4", "0", "1", "4", "0", "1", "4", "0", "1", "4", "4", "0", "1", "1"], "File": "nds322", "Func": "nds32_emit_stack_v3push", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2109, "Length": 429, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "isLegalMaskedScatter", "(", "Type", "*", "DataType", ",", "MaybeAlign", "Alignment", ")", "{", "if", "(", "!", "ST", "->", "hasAVX512", "(", ")", ")", "return", "false", ";", "return", "isLegalMaskedGather", "(", "DataType", ",", "Alignment", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "scatter", "."], "TS_V_token": ["X86", "X86"], "File": "X86TargetTransformInfo108", "Func": "isLegalMaskedScatter", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2110, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "BTFDebug", "::", "beginInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "DebugHandlerBase", "::", "beginInstruction", "(", "MI", ")", ";", "if", "(", "SkipInstruction", "||", "MI", "->", "isMetaInstruction", "(", ")", "||", "MI", "->", "getFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ")", "return", ";", "if", "(", "MI", "->", "isInlineAsm", "(", ")", ")", "{", "unsigned", "NumDefs", "=", "0", ";", "for", "(", ";", "MI", "->", "getOperand", "(", "NumDefs", ")", ".", "isReg", "(", ")", "&&", "MI", "->", "getOperand", "(", "NumDefs", ")", ".", "isDef", "(", ")", ";", "++", "NumDefs", ")", ";", "const", "char", "*", "AsmStr", "=", "MI", "->", "getOperand", "(", "NumDefs", ")", ".", "getSymbolName", "(", ")", ";", "if", "(", "AsmStr", "[", "0", "]", "==", "0", ")", "return", ";", "}", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "BPF", "::", "LD_imm64", ")", "{", "processReloc", "(", "MI", "->", "getOperand", "(", "1", ")", ")", ";", "}", "else", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "BPF", "::", "CORE_MEM", "||", "MI", "->", "getOpcode", "(", ")", "==", "BPF", "::", "CORE_ALU32_MEM", "||", "MI", "->", "getOpcode", "(", ")", "==", "BPF", "::", "CORE_SHIFT", ")", "{", "processReloc", "(", "MI", "->", "getOperand", "(", "3", ")", ")", ";", "}", "else", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "BPF", "::", "JAL", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "0", ")", ";", "if", "(", "MO", ".", "isGlobal", "(", ")", ")", "{", "processFuncPrototypes", "(", "dyn_cast", "<", "Function", ">", "(", "MO", ".", "getGlobal", "(", ")", ")", ")", ";", "}", "}", "if", "(", "!", "CurMI", ")", "return", ";", "const", "DebugLoc", "&", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "!", "DL", "||", "PrevInstLoc", "==", "DL", ")", "{", "if", "(", "LineInfoGenerated", "==", "false", ")", "{", "auto", "*", "S", "=", "MI", "->", "getMF", "(", ")", "->", "getFunction", "(", ")", ".", "getSubprogram", "(", ")", ";", "MCSymbol", "*", "FuncLabel", "=", "Asm", "->", "getFunctionBegin", "(", ")", ";", "constructLineInfo", "(", "S", ",", "FuncLabel", ",", "S", "->", "getLine", "(", ")", ",", "0", ")", ";", "LineInfoGenerated", "=", "true", ";", "}", "return", ";", "}", "MCSymbol", "*", "LineSym", "=", "OS", ".", "getContext", "(", ")", ".", "createTempSymbol", "(", ")", ";", "OS", ".", "emitLabel", "(", "LineSym", ")", ";", "auto", "SP", "=", "DL", ".", "get", "(", ")", "->", "getScope", "(", ")", "->", "getSubprogram", "(", ")", ";", "constructLineInfo", "(", "SP", ",", "LineSym", ",", "DL", ".", "getLine", "(", ")", ",", "DL", ".", "getCol", "(", ")", ")", ";", "LineInfoGenerated", "=", "true", ";", "PrevInstLoc", "=", "DL", ";", "}", ""], "natrual_language": ["Process", "beginning", "of", "an", "instruction", "."], "TS_V_token": ["BPF", "0", "0", "0", "BPF::LD_imm64", "1", "BPF::CORE_MEM", "BPF::CORE_ALU32_MEM", "BPF::CORE_SHIFT", "3", "BPF::JAL", "0", "0"], "File": "BTFDebug22", "Func": "beginInstruction", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2111, "Length": 383, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "SMShadowTracker", ".", "startFunction", "(", "MF", ")", ";", "SetupMachineFunction", "(", "MF", ")", ";", "if", "(", "Subtarget", "->", "isTargetCOFF", "(", ")", ")", "{", "bool", "Intrn", "=", "MF", ".", "getFunction", "(", ")", "->", "hasInternalLinkage", "(", ")", ";", "OutStreamer", ".", "BeginCOFFSymbolDef", "(", "CurrentFnSym", ")", ";", "OutStreamer", ".", "EmitCOFFSymbolStorageClass", "(", "Intrn", "?", "COFF", "::", "IMAGE_SYM_CLASS_STATIC", ":", "COFF", "::", "IMAGE_SYM_CLASS_EXTERNAL", ")", ";", "OutStreamer", ".", "EmitCOFFSymbolType", "(", "COFF", "::", "IMAGE_SYM_DTYPE_FUNCTION", "<<", "COFF", "::", "SCT_COMPLEX_TYPE_SHIFT", ")", ";", "OutStreamer", ".", "EndCOFFSymbolDef", "(", ")", ";", "}", "EmitFunctionBody", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86AsmPrinter51", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2112, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86FrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MF", ".", "setHasWinCFI", "(", "false", ")", ";", "if", "(", "MF", ".", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", "->", "usesWindowsCFI", "(", ")", ")", "MF", ".", "getFrameInfo", "(", ")", ".", "ensureMaxAlignment", "(", "Align", "(", "SlotSize", ")", ")", ";", "if", "(", "STI", ".", "is64Bit", "(", ")", "&&", "MF", ".", "hasEHFunclets", "(", ")", "&&", "classifyEHPersonality", "(", "MF", ".", "getFunction", "(", ")", ".", "getPersonalityFn", "(", ")", ")", "==", "EHPersonality", "::", "MSVC_CXX", ")", "{", "adjustFrameForMsvcCxxEh", "(", "MF", ")", ";", "}", "}", ""], "natrual_language": ["processFunctionBeforeFrameFinalized", "-", "This", "method", "is", "called", "immediately", "before", "the", "specified", "function", "'s", "frame", "layout", "(", "MF.getFrameInfo", "(", ")", ")", "is", "finalized", "."], "TS_V_token": ["X86", "X86"], "File": "X86FrameLowering (2)3", "Func": "processFunctionBeforeFrameFinalized", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2113, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "PPCSubtarget", "::", "PPCSubtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "const", "PPCTargetMachine", "&", "TM", ")", ":", "PPCGenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "TargetTriple", "(", "TT", ")", ",", "IsPPC64", "(", "TargetTriple", ".", "getArch", "(", ")", "==", "Triple", "::", "ppc64", "||", "TargetTriple", ".", "getArch", "(", ")", "==", "Triple", "::", "ppc64le", ")", ",", "TargetABI", "(", "PPC_ABI_UNKNOWN", ")", ",", "FrameLowering", "(", "initializeSubtargetDependencies", "(", "CPU", ",", "FS", ")", ")", ",", "InstrInfo", "(", "*", "this", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", ",", "TSInfo", "(", "TM", ".", "getDataLayout", "(", ")", ")", "{", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC"], "File": "PPCSubtarget20", "Func": "PPCSubtarget", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2114, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TGSIAlwaysInline", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "std", "::", "vector", "<", "GlobalAlias", "*", ">", "AliasesToRemove", ";", "std", "::", "vector", "<", "Function", "*", ">", "FuncsToClone", ";", "for", "(", "GlobalAlias", "&", "A", ":", "M", ".", "aliases", "(", ")", ")", "{", "if", "(", "Function", "*", "F", "=", "dyn_cast", "<", "Function", ">", "(", "A", ".", "getAliasee", "(", ")", ")", ")", "{", "A", ".", "replaceAllUsesWith", "(", "F", ")", ";", "AliasesToRemove", ".", "push_back", "(", "&", "A", ")", ";", "}", "}", "for", "(", "GlobalAlias", "*", "A", ":", "AliasesToRemove", ")", "{", "A", "->", "eraseFromParent", "(", ")", ";", "}", "for", "(", "Function", "&", "F", ":", "M", ")", "{", "if", "(", "!", "F", ".", "hasLocalLinkage", "(", ")", "&&", "!", "F", ".", "isDeclaration", "(", ")", "&&", "!", "F", ".", "use_empty", "(", ")", "&&", "!", "F", ".", "hasFnAttribute", "(", "Attribute", "::", "NoInline", ")", ")", "FuncsToClone", ".", "push_back", "(", "&", "F", ")", ";", "}", "for", "(", "Function", "*", "F", ":", "FuncsToClone", ")", "{", "ValueToValueMapTy", "VMap", ";", "Function", "*", "NewFunc", "=", "CloneFunction", "(", "F", ",", "VMap", ")", ";", "NewFunc", "->", "setLinkage", "(", "GlobalValue", "::", "InternalLinkage", ")", ";", "F", "->", "replaceAllUsesWith", "(", "NewFunc", ")", ";", "}", "for", "(", "Function", "&", "F", ":", "M", ")", "{", "if", "(", "F", ".", "hasLocalLinkage", "(", ")", "&&", "!", "F", ".", "hasFnAttribute", "(", "Attribute", "::", "NoInline", ")", ")", "{", "F", ".", "addFnAttr", "(", "Attribute", "::", "AlwaysInline", ")", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "."], "TS_V_token": ["TGSI", "TGSI"], "File": "TGSIAlwaysInlinePass", "Func": "runOnModule", "Target": "TGSI", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2115, "Length": 227, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PatmosSinglePathInfo", "::", "isEnabled", "(", "const", "MachineFunction", "&", "MF", ")", "{", "return", "isRoot", "(", "MF", ")", "||", "isReachable", "(", "MF", ")", "||", "isMaybe", "(", "MF", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "enable", "flag", ";", "'+", "'", "."], "TS_V_token": ["Patmos", "Patmos"], "File": "PatmosSinglePathInfo", "Func": "isEnabled", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 2116, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isKMasked", "(", ")", "const", "{", "return", "(", "Attributes", "&", "(", "X86FMA3KMergeMasked", "|", "X86FMA3KZeroMasked", ")", ")", "!=", "0", ";", "}", ""], "natrual_language": ["Returns", "true", "iff", "the", "group", "of", "FMA", "opcodes", "holds", "any", "of", "k-masked", "opcodes", "."], "TS_V_token": ["X86", "X86", "X86", "0"], "File": "X86InstrFMA3Info", "Func": "isKMasked", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2117, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "OR1KInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "if", "(", "RC", "==", "&", "OR1K", "::", "GPRRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "OR1K", "::", "LWZ", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "else", "llvm_unreachable", "(", "\"Can't load this register from stack slot\"", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["OR1K", "OR1K", "OR1K::GPRRegClass", "OR1K::LWZ", "0", "\"Can't load this register from stack slot\""], "File": "OR1KInstrInfo", "Func": "loadRegFromStackSlot", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2118, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ARM", "::", "STRrs", ":", "case", "ARM", "::", "t2STRs", ":", "if", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "isFI", "(", ")", "&&", "MI", ".", "getOperand", "(", "2", ")", ".", "isReg", "(", ")", "&&", "MI", ".", "getOperand", "(", "3", ")", ".", "isImm", "(", ")", "&&", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", "==", "0", "&&", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", "==", "0", ")", "{", "FrameIndex", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getIndex", "(", ")", ";", "return", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "}", "break", ";", "case", "ARM", "::", "STRi12", ":", "case", "ARM", "::", "t2STRi12", ":", "case", "ARM", "::", "tSTRspi", ":", "case", "ARM", "::", "VSTRD", ":", "case", "ARM", "::", "VSTRS", ":", "case", "ARM", "::", "VSTR_P0_off", ":", "case", "ARM", "::", "MVE_VSTRWU32", ":", "if", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "isFI", "(", ")", "&&", "MI", ".", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", "&&", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "==", "0", ")", "{", "FrameIndex", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getIndex", "(", ")", ";", "return", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "}", "break", ";", "case", "ARM", "::", "VST1q64", ":", "case", "ARM", "::", "VST1d64TPseudo", ":", "case", "ARM", "::", "VST1d64QPseudo", ":", "if", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "isFI", "(", ")", "&&", "MI", ".", "getOperand", "(", "2", ")", ".", "getSubReg", "(", ")", "==", "0", ")", "{", "FrameIndex", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getIndex", "(", ")", ";", "return", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ";", "}", "break", ";", "case", "ARM", "::", "VSTMQIA", ":", "if", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "isFI", "(", ")", "&&", "MI", ".", "getOperand", "(", "0", ")", ".", "getSubReg", "(", ")", "==", "0", ")", "{", "FrameIndex", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getIndex", "(", ")", ";", "return", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "}", "break", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["isStoreToStackSlot", "-", "If", "the", "specified", "machine", "instruction", "is", "a", "direct", "store", "to", "a", "stack", "slot", ",", "return", "the", "virtual", "or", "physical", "register", "number", "of", "the", "source", "reg", "along", "with", "the", "FrameIndex", "of", "the", "loaded", "stack", "slot", "."], "TS_V_token": ["ARM", "ARM", "ARM::STRrs", "ARM::t2STRs", "1", "2", "3", "2", "0", "3", "0", "1", "0", "ARM::STRi12", "ARM::t2STRi12", "ARM::tSTRspi", "ARM::VSTRD", "ARM::VSTRS", "ARM::VSTR_P0_off", "ARM::MVE_VSTRWU32", "1", "2", "2", "0", "1", "0", "ARM::VST1q64", "ARM::VST1d64TPseudo", "ARM::VST1d64QPseudo", "0", "2", "0", "0", "2", "ARM::VSTMQIA", "1", "0", "0", "1", "0", "0"], "File": "ARMBaseInstrInfo30", "Func": "isStoreToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2119, "Length": 365, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "GBZ80PostPEI", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "bool", "Modified", "=", "false", ";", "this", "->", "MF", "=", "&", "MF", ";", "const", "GBZ80Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "GBZ80Subtarget", ">", "(", ")", ";", "TRI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "TII", "=", "STI", ".", "getInstrInfo", "(", ")", ";", "LI", "=", "&", "getAnalysis", "<", "LiveIntervals", ">", "(", ")", ";", "RS", "=", "new", "RegScavenger", "(", ")", ";", "Accesses", ".", "clear", "(", ")", ";", "OutgoingAdjustments", ".", "clear", "(", ")", ";", "CollectFrameAccesses", "(", ")", ";", "for", "(", "auto", "&", "A", ":", "Accesses", ")", "{", "A", ".", "MI", "->", "dump", "(", ")", ";", "errs", "(", ")", "<<", "\"Stack adj: \"", "<<", "A", ".", "StackAdjustment", "<<", "\"\\n\"", ";", "errs", "(", ")", "<<", "\"Must save: \"", "<<", "A", ".", "MustSaveHL", "<<", "\"\\n\\n\"", ";", "}", "TransformFrameAccesses", "(", ")", ";", "delete", "RS", ";", "return", "!", "Accesses", ".", "empty", "(", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["GBZ80", "GB", "GB", "GB", "\"Stack adj: \"", "\"\\n\"", "\"Must save: \"", "\"\\n\\n\""], "File": "GBZ80PostPEI", "Func": "runOnMachineFunction", "Target": "GBZ80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2120, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MOSRegisterInfo", "::", "getCSRFirstUseCost", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "doesNotRecurse", "(", ")", ")", "{", "return", "15", "*", "16384", "/", "10", ";", "}", "return", "5", "*", "16384", "/", "10", ";", "}", ""], "natrual_language": ["Allow", "the", "target", "to", "override", "the", "cost", "of", "using", "a", "callee-saved", "register", "for", "the", "first", "time", "."], "TS_V_token": ["MOS", "MOS", "15", "16384", "10", "5", "16384", "10"], "File": "MOSRegisterInfo", "Func": "getCSRFirstUseCost", "Target": "MOS", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2121, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "shouldFoldConstantShiftPairToMask", "(", "const", "SDNode", "*", "N", ",", "CombineLevel", "Level", ")", "const", "{", "assert", "(", "(", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "SHL", "&&", "N", "->", "getOperand", "(", "0", ")", ".", "getOpcode", "(", ")", "==", "ISD", "::", "SRL", ")", "||", "(", "N", "->", "getOpcode", "(", ")", "==", "ISD", "::", "SRL", "&&", "N", "->", "getOperand", "(", "0", ")", ".", "getOpcode", "(", ")", "==", "ISD", "::", "SHL", ")", ")", "&&", "\"Expected shift-shift mask\"", ")", ";", "return", "N", "->", "getOperand", "(", "0", ")", "->", "hasOneUse", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "profitable", "to", "fold", "a", "pair", "of", "shifts", "into", "a", "mask", "."], "TS_V_token": ["AArch64", "AArch64", "ISD::SHL", "0", "ISD::SRL", "ISD::SRL", "0", "ISD::SHL", "\"Expected shift-shift mask\"", "0"], "File": "AArch64ISelLowering87", "Func": "shouldFoldConstantShiftPairToMask", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2122, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "avr_progmem_p", "(", "tree", "decl", ",", "tree", "attributes", ")", "{", "tree", "a", ";", "if", "(", "TREE_CODE", "(", "decl", ")", "!=", "VAR_DECL", ")", "return", "0", ";", "if", "(", "NULL_TREE", "!=", "lookup_attribute", "(", "\"progmem\"", ",", "attributes", ")", ")", "return", "1", ";", "a", "=", "decl", ";", "do", "a", "=", "TREE_TYPE", "(", "a", ")", ";", "while", "(", "TREE_CODE", "(", "a", ")", "==", "ARRAY_TYPE", ")", ";", "if", "(", "a", "==", "error_mark_node", ")", "return", "0", ";", "if", "(", "NULL_TREE", "!=", "lookup_attribute", "(", "\"progmem\"", ",", "TYPE_ATTRIBUTES", "(", "a", ")", ")", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["Look", "for", "attribute", "`", "progmem", "'", "in", "DECL", "if", "found", "return", "1", ",", "otherwise", "0", "."], "TS_V_token": ["avr", "0", "\"progmem\"", "1", "0", "\"progmem\"", "1", "0"], "File": "avr3", "Func": "avr_progmem_p", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2123, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MipsTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "BR_JT", ":", "return", "lowerBR_JT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BRCOND", ":", "return", "lowerBRCOND", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "lowerConstantPool", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "lowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "lowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalTLSAddress", ":", "return", "lowerGlobalTLSAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "JumpTable", ":", "return", "lowerJumpTable", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "lowerSELECT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "lowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SETCC", ":", "return", "lowerSETCC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "lowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VAARG", ":", "return", "lowerVAARG", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FCOPYSIGN", ":", "return", "lowerFCOPYSIGN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "lowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "RETURNADDR", ":", "return", "lowerRETURNADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "EH_RETURN", ":", "return", "lowerEH_RETURN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ATOMIC_FENCE", ":", "return", "lowerATOMIC_FENCE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SHL_PARTS", ":", "return", "lowerShiftLeftParts", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SRA_PARTS", ":", "return", "lowerShiftRightParts", "(", "Op", ",", "DAG", ",", "true", ")", ";", "case", "ISD", "::", "SRL_PARTS", ":", "return", "lowerShiftRightParts", "(", "Op", ",", "DAG", ",", "false", ")", ";", "case", "ISD", "::", "LOAD", ":", "return", "lowerLOAD", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "lowerSTORE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ADD", ":", "return", "lowerADD", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FP_TO_SINT", ":", "return", "lowerFP_TO_SINT", "(", "Op", ",", "DAG", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["Mips", "Mips", "ISD::BR_JT", "ISD::BRCOND", "ISD::ConstantPool", "ISD::GlobalAddress", "ISD::BlockAddress", "ISD::GlobalTLSAddress", "ISD::JumpTable", "ISD::SELECT", "ISD::SELECT_CC", "ISD::SETCC", "ISD::VASTART", "ISD::VAARG", "ISD::FCOPYSIGN", "ISD::FRAMEADDR", "ISD::RETURNADDR", "ISD::EH_RETURN", "ISD::ATOMIC_FENCE", "ISD::SHL_PARTS", "ISD::SRA_PARTS", "ISD::SRL_PARTS", "ISD::LOAD", "ISD::STORE", "ISD::ADD", "ISD::FP_TO_SINT"], "File": "MipsISelLowering (2)5", "Func": "LowerOperation", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2124, "Length": 346, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonPassConfig", "::", "addPreEmitPass", "(", ")", "{", "bool", "NoOpt", "=", "(", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "None", ")", ";", "if", "(", "!", "NoOpt", ")", "addPass", "(", "createHexagonNewValueJump", "(", ")", ")", ";", "addPass", "(", "createHexagonBranchRelaxation", "(", ")", ")", ";", "if", "(", "!", "NoOpt", ")", "{", "if", "(", "!", "DisableHardwareLoops", ")", "addPass", "(", "createHexagonFixupHwLoops", "(", ")", ")", ";", "if", "(", "EnableGenMux", ")", "addPass", "(", "createHexagonGenMux", "(", ")", ")", ";", "}", "addPass", "(", "createHexagonGatherPacketize", "(", ")", ",", "false", ")", ";", "if", "(", "!", "NoOpt", ")", "addPass", "(", "createHexagonPacketizer", "(", ")", ",", "false", ")", ";", "if", "(", "EnableVectorPrint", ")", "addPass", "(", "createHexagonVectorPrint", "(", ")", ",", "false", ")", ";", "addPass", "(", "createHexagonCallFrameInformation", "(", ")", ",", "false", ")", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon"], "File": "HexagonTargetMachine", "Func": "addPreEmitPass", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2125, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "flags_in_68881", "(", ")", "{", "return", "cc_status", ".", "flags", "&", "CC_IN_68881", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "flags", "are", "currently", "in", "the", "68881", "flag", "register", "."], "TS_V_token": ["m68k"], "File": "m68k2", "Func": "flags_in_68881", "Target": "m68k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2126, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "X86TargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InFlag", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "SDLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "bool", "Is64Bit", "=", "Subtarget", "->", "is64Bit", "(", ")", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC_X86", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "RVLocs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "EVT", "CopyVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "if", "(", "(", "CopyVT", "==", "MVT", "::", "f32", "||", "CopyVT", "==", "MVT", "::", "f64", "||", "CopyVT", "==", "MVT", "::", "f128", ")", "&&", "(", "(", "Is64Bit", "||", "Ins", "[", "i", "]", ".", "Flags", ".", "isInReg", "(", ")", ")", "&&", "!", "Subtarget", "->", "hasSSE1", "(", ")", ")", ")", "{", "report_fatal_error", "(", "\"SSE register return with SSE disabled\"", ")", ";", "}", "bool", "RoundAfterCopy", "=", "false", ";", "if", "(", "(", "VA", ".", "getLocReg", "(", ")", "==", "X86", "::", "FP0", "||", "VA", ".", "getLocReg", "(", ")", "==", "X86", "::", "FP1", ")", "&&", "isScalarFPTypeInSSEReg", "(", "VA", ".", "getValVT", "(", ")", ")", ")", "{", "CopyVT", "=", "MVT", "::", "f80", ";", "RoundAfterCopy", "=", "(", "CopyVT", "!=", "VA", ".", "getLocVT", "(", ")", ")", ";", "}", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "CopyVT", ",", "InFlag", ")", ".", "getValue", "(", "1", ")", ";", "SDValue", "Val", "=", "Chain", ".", "getValue", "(", "0", ")", ";", "if", "(", "RoundAfterCopy", ")", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "FP_ROUND", ",", "dl", ",", "VA", ".", "getValVT", "(", ")", ",", "Val", ",", "DAG", ".", "getIntPtrConstant", "(", "1", ",", "dl", ")", ")", ";", "if", "(", "VA", ".", "isExtInLoc", "(", ")", "&&", "VA", ".", "getValVT", "(", ")", ".", "getScalarType", "(", ")", "==", "MVT", "::", "i1", ")", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "TRUNCATE", ",", "dl", ",", "VA", ".", "getValVT", "(", ")", ",", "Val", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "2", ")", ";", "InVals", ".", "push_back", "(", "Val", ")", ";", "}", "return", "Chain", ";", "}", ""], "natrual_language": ["LowerCallResult", "-", "Lower", "the", "result", "values", "of", "an", "ISD", ":", ":CALL", "into", "the", "appropriate", "copies", "out", "of", "appropriate", "physical", "registers", "."], "TS_V_token": ["X86", "X86", "ISD::InputArg", "16", "X86", "0", "MVT::f32", "MVT::f64", "MVT::f128", "\"SSE register return with SSE disabled\"", "X86::FP0", "X86::FP1", "MVT::f80", "1", "0", "ISD::FP_ROUND", "1", "MVT::i1", "ISD::TRUNCATE", "2"], "File": "X86ISelLowering (2)3", "Func": "LowerCallResult", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2127, "Length": 380, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "WebAssemblySelectionDAGInfo", "::", "EmitTargetCodeForMemcpy", "(", "SelectionDAG", "&", "DAG", ",", "const", "SDLoc", "&", "DL", ",", "SDValue", "Chain", ",", "SDValue", "Dst", ",", "SDValue", "Src", ",", "SDValue", "Size", ",", "Align", "Alignment", ",", "bool", "IsVolatile", ",", "bool", "AlwaysInline", ",", "bool", "MustPreserveCheriCapabilities", ",", "MachinePointerInfo", "DstPtrInfo", ",", "MachinePointerInfo", "SrcPtrInfo", ")", "const", "{", "auto", "&", "ST", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getSubtarget", "<", "WebAssemblySubtarget", ">", "(", ")", ";", "if", "(", "!", "ST", ".", "hasBulkMemory", "(", ")", ")", "return", "SDValue", "(", ")", ";", "SDValue", "MemIdx", "=", "DAG", ".", "getConstant", "(", "0", ",", "DL", ",", "MVT", "::", "i32", ")", ";", "auto", "LenMVT", "=", "ST", ".", "hasAddr64", "(", ")", "?", "MVT", "::", "i64", ":", "MVT", "::", "i32", ";", "return", "DAG", ".", "getNode", "(", "WebAssemblyISD", "::", "MEMORY_COPY", ",", "DL", ",", "MVT", "::", "Other", ",", "{", "Chain", ",", "MemIdx", ",", "MemIdx", ",", "Dst", ",", "Src", ",", "DAG", ".", "getZExtOrTrunc", "(", "Size", ",", "DL", ",", "LenMVT", ")", "}", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memcpy", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "WebAssembly", "0", "MVT::i32", "MVT::i64", "MVT::i32", "WebAssemblyISD::MEMORY_COPY", "MVT::Other"], "File": "WebAssemblySelectionDAGInfo8", "Func": "EmitTargetCodeForMemcpy", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2128, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCPassConfig", "::", "addMachineSSAOptimization", "(", ")", "{", "if", "(", "EnableBranchCoalescing", "&&", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createPPCBranchCoalescingPass", "(", ")", ")", ";", "TargetPassConfig", "::", "addMachineSSAOptimization", "(", ")", ";", "if", "(", "TM", "->", "getTargetTriple", "(", ")", ".", "getArch", "(", ")", "==", "Triple", "::", "ppc64le", "&&", "!", "DisableVSXSwapRemoval", ")", "addPass", "(", "createPPCVSXSwapRemovalPass", "(", ")", ")", ";", "if", "(", "ReduceCRLogical", "&&", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createPPCReduceCRLogicalsPass", "(", ")", ")", ";", "if", "(", "!", "DisableMIPeephole", ")", "{", "addPass", "(", "createPPCMIPeepholePass", "(", ")", ")", ";", "addPass", "(", "&", "DeadMachineInstructionElimID", ")", ";", "}", "}", ""], "natrual_language": ["Methods", "with", "trivial", "inline", "returns", "are", "convenient", "points", "in", "the", "common", "codegen", "pass", "pipeline", "where", "targets", "may", "insert", "passes", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC"], "File": "PPCTargetMachine1", "Func": "addMachineSSAOptimization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2129, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "SDNode", "*", "PostISelFolding", "(", "MachineSDNode", "*", "N", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "return", "N", ";", "}", ""], "natrual_language": ["Fold", "the", "instructions", "after", "selecting", "them", "."], "TS_V_token": ["AMDGPU"], "File": "AMDGPUISelLowering (2)", "Func": "PostISelFolding", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2130, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "requiresRegisterScavenging", "(", "const", "MachineFunction", "&", "MF", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "requires", "(", "and", "can", "make", "use", "of", ")", "the", "register", "scavenger", "."], "TS_V_token": ["RI5CY"], "File": "RISCVRegisterInfo", "Func": "requiresRegisterScavenging", "Target": "RI5CY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2131, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arc_decl_pretend_args", "(", "tree", "decl", ")", "{", "gcc_assert", "(", "decl", "==", "current_function_decl", ")", ";", "return", "crtl", "->", "args", ".", "pretend_args_size", ";", "}", ""], "natrual_language": ["Return", "the", "size", "of", "the", "pretend", "args", "for", "DECL", "."], "TS_V_token": ["arc"], "File": "arc4", "Func": "arc_decl_pretend_args", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2132, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Cpu0AsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", "Opcode", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "uint64_t", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "printCpu0Operands", "(", "Operands", ")", ";", "MCInst", "Inst", ";", "unsigned", "MatchResult", "=", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ";", "switch", "(", "MatchResult", ")", "{", "default", ":", "break", ";", "case", "Match_Success", ":", "{", "if", "(", "needsExpansion", "(", "Inst", ")", ")", "{", "SmallVector", "<", "MCInst", ",", "4", ">", "Instructions", ";", "expandInstruction", "(", "Inst", ",", "IDLoc", ",", "Instructions", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Instructions", ".", "size", "(", ")", ";", "i", "++", ")", "{", "Out", ".", "EmitInstruction", "(", "Instructions", "[", "i", "]", ",", "getSTI", "(", ")", ")", ";", "}", "}", "else", "{", "Inst", ".", "setLoc", "(", "IDLoc", ")", ";", "Out", ".", "EmitInstruction", "(", "Inst", ",", "getSTI", "(", ")", ")", ";", "}", "return", "false", ";", "}", "case", "Match_MissingFeature", ":", "Error", "(", "IDLoc", ",", "\"instruction requires a CPU feature not currently enabled\"", ")", ";", "return", "true", ";", "case", "Match_InvalidOperand", ":", "{", "SMLoc", "ErrorLoc", "=", "IDLoc", ";", "if", "(", "ErrorInfo", "!=", "~", "0U", ")", "{", "if", "(", "ErrorInfo", ">=", "Operands", ".", "size", "(", ")", ")", "return", "Error", "(", "IDLoc", ",", "\"too few operands for instruction\"", ")", ";", "ErrorLoc", "=", "(", "(", "Cpu0Operand", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ")", ".", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IDLoc", ";", "}", "return", "Error", "(", "ErrorLoc", ",", "\"invalid operand for instruction\"", ")", ";", "}", "case", "Match_MnemonicFail", ":", "return", "Error", "(", "IDLoc", ",", "\"invalid instruction\"", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["MatchAndEmitInstruction", "-", "Recognize", "a", "series", "of", "operands", "of", "a", "parsed", "instruction", "as", "an", "actual", "MCInst", "and", "emit", "it", "to", "the", "specified", "MCStreamer", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0", "4", "0", "\"instruction requires a CPU feature not currently enabled\"", "0U", "\"too few operands for instruction\"", "Cpu0", "\"invalid operand for instruction\"", "\"invalid instruction\""], "File": "Cpu0AsmParser", "Func": "MatchAndEmitInstruction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2133, "Length": 252, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "splitValueIntoRegisterParts", "(", "SelectionDAG", "&", "DAG", ",", "const", "SDLoc", "&", "DL", ",", "SDValue", "Val", ",", "SDValue", "*", "Parts", ",", "unsigned", "NumParts", ",", "MVT", "PartVT", ",", "Optional", "<", "CallingConv", "::", "ID", ">", "CC", ")", "const", "{", "EVT", "ValVT", "=", "Val", ".", "getValueType", "(", ")", ";", "if", "(", "PartVT", "==", "MVT", "::", "f64", "&&", "(", "ValVT", "==", "MVT", "::", "i32", "||", "ValVT", "==", "MVT", "::", "i16", "||", "ValVT", "==", "MVT", "::", "i8", ")", ")", "{", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ZERO_EXTEND", ",", "DL", ",", "MVT", "::", "i64", ",", "Val", ")", ";", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "BITCAST", ",", "DL", ",", "MVT", "::", "f64", ",", "Val", ")", ";", "Parts", "[", "0", "]", "=", "Val", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Target-specific", "splitting", "of", "values", "into", "parts", "that", "fit", "a", "register", "storing", "a", "legal", "type", "."], "TS_V_token": ["PowerPC", "PPC", "MVT::f64", "MVT::i32", "MVT::i16", "MVT::i8", "ISD::ZERO_EXTEND", "MVT::i64", "ISD::BITCAST", "MVT::f64", "0"], "File": "PPCISelLowering11", "Func": "splitValueIntoRegisterParts", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2134, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCTargetLowering", "::", "getNumRegistersForCallingConv", "(", "LLVMContext", "&", "Context", ",", "CallingConv", "::", "ID", "CC", ",", "EVT", "VT", ")", "const", "{", "if", "(", "Subtarget", ".", "hasSPE", "(", ")", "&&", "VT", "==", "MVT", "::", "f64", ")", "return", "2", ";", "return", "PPCTargetLowering", "::", "getNumRegisters", "(", "Context", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Certain", "targets", "require", "unusual", "breakdowns", "of", "certain", "types", "."], "TS_V_token": ["PowerPC", "PPC", "MVT::f64", "2", "PPC"], "File": "PPCISelLowering (2)7", "Func": "getNumRegistersForCallingConv", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2135, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseInstrInfo", "::", "buildOutlinedFrame", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineFunction", "&", "MF", ",", "const", "outliner", "::", "OutlinedFunction", "&", "OF", ")", "const", "{", "if", "(", "OF", ".", "FrameConstructionID", "==", "MachineOutlinerThunk", ")", "{", "MachineInstr", "*", "Call", "=", "&", "*", "--", "MBB", ".", "instr_end", "(", ")", ";", "bool", "isThumb", "=", "Subtarget", ".", "isThumb", "(", ")", ";", "unsigned", "FuncOp", "=", "isThumb", "?", "2", ":", "0", ";", "unsigned", "Opc", "=", "Call", "->", "getOperand", "(", "FuncOp", ")", ".", "isReg", "(", ")", "?", "isThumb", "?", "ARM", "::", "tTAILJMPr", ":", "ARM", "::", "TAILJMPr", ":", "isThumb", "?", "Subtarget", ".", "isTargetMachO", "(", ")", "?", "ARM", "::", "tTAILJMPd", ":", "ARM", "::", "tTAILJMPdND", ":", "ARM", "::", "TAILJMPd", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MBB", ".", "end", "(", ")", ",", "DebugLoc", "(", ")", ",", "get", "(", "Opc", ")", ")", ".", "add", "(", "Call", "->", "getOperand", "(", "FuncOp", ")", ")", ";", "if", "(", "isThumb", "&&", "!", "Call", "->", "getOperand", "(", "FuncOp", ")", ".", "isReg", "(", ")", ")", "MIB", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "Call", "->", "eraseFromParent", "(", ")", ";", "}", "auto", "IsNonTailCall", "=", "[", "]", "(", "MachineInstr", "&", "MI", ")", "{", "return", "MI", ".", "isCall", "(", ")", "&&", "!", "MI", ".", "isReturn", "(", ")", ";", "}", ";", "if", "(", "llvm", "::", "any_of", "(", "MBB", ".", "instrs", "(", ")", ",", "IsNonTailCall", ")", ")", "{", "MachineBasicBlock", "::", "iterator", "It", "=", "MBB", ".", "begin", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "Et", "=", "MBB", ".", "end", "(", ")", ";", "if", "(", "OF", ".", "FrameConstructionID", "==", "MachineOutlinerTailCall", "||", "OF", ".", "FrameConstructionID", "==", "MachineOutlinerThunk", ")", "Et", "=", "std", "::", "prev", "(", "MBB", ".", "end", "(", ")", ")", ";", "if", "(", "!", "MBB", ".", "isLiveIn", "(", "ARM", "::", "LR", ")", ")", "MBB", ".", "addLiveIn", "(", "ARM", "::", "LR", ")", ";", "saveLROnStack", "(", "MBB", ",", "It", ")", ";", "emitCFIForLRSaveOnStack", "(", "MBB", ",", "It", ")", ";", "assert", "(", "OF", ".", "FrameConstructionID", "!=", "MachineOutlinerDefault", "&&", "\"Can only fix up stack references once\"", ")", ";", "fixupPostOutline", "(", "MBB", ")", ";", "restoreLRFromStack", "(", "MBB", ",", "Et", ")", ";", "emitCFIForLRRestoreFromStack", "(", "MBB", ",", "Et", ")", ";", "}", "if", "(", "OF", ".", "FrameConstructionID", "==", "MachineOutlinerTailCall", "||", "OF", ".", "FrameConstructionID", "==", "MachineOutlinerThunk", ")", "return", ";", "BuildMI", "(", "MBB", ",", "MBB", ".", "end", "(", ")", ",", "DebugLoc", "(", ")", ",", "get", "(", "Subtarget", ".", "getReturnOpcode", "(", ")", ")", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "if", "(", "OF", ".", "FrameConstructionID", "!=", "MachineOutlinerDefault", "&&", "OF", ".", "Candidates", "[", "0", "]", ".", "CallConstructionID", "!=", "MachineOutlinerDefault", ")", "return", ";", "fixupPostOutline", "(", "MBB", ")", ";", "}", ""], "natrual_language": ["Insert", "a", "custom", "frame", "for", "outlined", "functions", "."], "TS_V_token": ["ARM", "ARM", "2", "0", "ARM::tTAILJMPr", "ARM::TAILJMPr", "ARM::tTAILJMPd", "ARM::tTAILJMPdND", "ARM::TAILJMPd", "ARMCC::AL", "ARM::LR", "ARM::LR", "\"Can only fix up stack references once\"", "ARMCC::AL", "0"], "File": "ARMBaseInstrInfo110", "Func": "buildOutlinedFrame", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2136, "Length": 409, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "VERegisterInfo", "::", "getNoPreservedMask", "(", ")", "const", "{", "return", "CSR_NoRegs_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "register", "mask", "that", "clobbers", "everything", "."], "TS_V_token": ["VE", "VE"], "File": "VERegisterInfo", "Func": "getNoPreservedMask", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2137, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sparc64_initialize_trampoline", "(", "rtx", "tramp", ",", "rtx", "fnaddr", ",", "rtx", "cxt", ")", "{", "emit_move_insn", "(", "gen_rtx_MEM", "(", "SImode", ",", "tramp", ")", ",", "GEN_INT", "(", "trunc_int_for_mode", "(", "0x83414000", ",", "SImode", ")", ")", ")", ";", "emit_move_insn", "(", "gen_rtx_MEM", "(", "SImode", ",", "plus_constant", "(", "tramp", ",", "4", ")", ")", ",", "GEN_INT", "(", "trunc_int_for_mode", "(", "0xca586018", ",", "SImode", ")", ")", ")", ";", "emit_move_insn", "(", "gen_rtx_MEM", "(", "SImode", ",", "plus_constant", "(", "tramp", ",", "8", ")", ")", ",", "GEN_INT", "(", "trunc_int_for_mode", "(", "0x81c14000", ",", "SImode", ")", ")", ")", ";", "emit_move_insn", "(", "gen_rtx_MEM", "(", "SImode", ",", "plus_constant", "(", "tramp", ",", "12", ")", ")", ",", "GEN_INT", "(", "trunc_int_for_mode", "(", "0xca586010", ",", "SImode", ")", ")", ")", ";", "emit_move_insn", "(", "gen_rtx_MEM", "(", "DImode", ",", "plus_constant", "(", "tramp", ",", "16", ")", ")", ",", "cxt", ")", ";", "emit_move_insn", "(", "gen_rtx_MEM", "(", "DImode", ",", "plus_constant", "(", "tramp", ",", "24", ")", ")", ",", "fnaddr", ")", ";", "emit_insn", "(", "gen_flushdi", "(", "validize_mem", "(", "gen_rtx_MEM", "(", "DImode", ",", "tramp", ")", ")", ")", ")", ";", "if", "(", "sparc_cpu", "!=", "PROCESSOR_ULTRASPARC", "&&", "sparc_cpu", "!=", "PROCESSOR_ULTRASPARC3", ")", "emit_insn", "(", "gen_flushdi", "(", "validize_mem", "(", "gen_rtx_MEM", "(", "DImode", ",", "plus_constant", "(", "tramp", ",", "8", ")", ")", ")", ")", ")", ";", "emit_library_call", "(", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "\"__enable_execute_stack\"", ")", ",", "LCT_NORMAL", ",", "VOIDmode", ",", "1", ",", "tramp", ",", "Pmode", ")", ";", "}", ""], "natrual_language": ["The", "64", "bit", "version", "is", "simpler", "because", "it", "makes", "more", "sense", "to", "load", "the", "values", "as", "``", "immediate", "''", "data", "out", "of", "the", "trampoline", ".", "It", "'s", "also", "easier", "since", "we", "can", "read", "the", "PC", "without", "clobbering", "a", "register", "."], "TS_V_token": ["sparc", "0x83414000", "4", "0xca586018", "8", "0x81c14000", "12", "0xca586010", "16", "24", "8", "\"__enable_execute_stack\"", "1"], "File": "sparc3", "Func": "sparc64_initialize_trampoline", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2138, "Length": 210, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TLCS900FrameLowering", "::", "hasReservedCallFrame", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "!", "MF", ".", "getFrameInfo", "(", ")", "->", "hasVarSizedObjects", "(", ")", ";", "}", ""], "natrual_language": ["hasReservedCallFrame", "-", "Under", "normal", "circumstances", ",", "when", "a", "frame", "pointer", "is", "not", "required", ",", "we", "reserve", "argument", "space", "for", "call", "sites", "in", "the", "function", "immediately", "on", "entry", "to", "the", "current", "function", "."], "TS_V_token": ["TLCS900", "TLCS900"], "File": "TLCS900FrameLowering", "Func": "hasReservedCallFrame", "Target": "TLCS900", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2139, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUTTIImpl", "::", "areInlineCompatible", "(", "const", "Function", "*", "Caller", ",", "const", "Function", "*", "Callee", ")", "const", "{", "const", "TargetMachine", "&", "TM", "=", "getTLI", "(", ")", "->", "getTargetMachine", "(", ")", ";", "const", "FeatureBitset", "&", "CallerBits", "=", "TM", ".", "getSubtargetImpl", "(", "*", "Caller", ")", "->", "getFeatureBits", "(", ")", ";", "const", "FeatureBitset", "&", "CalleeBits", "=", "TM", ".", "getSubtargetImpl", "(", "*", "Callee", ")", "->", "getFeatureBits", "(", ")", ";", "FeatureBitset", "RealCallerBits", "=", "CallerBits", "&", "~", "InlineFeatureIgnoreList", ";", "FeatureBitset", "RealCalleeBits", "=", "CalleeBits", "&", "~", "InlineFeatureIgnoreList", ";", "return", "(", "(", "RealCallerBits", "&", "RealCalleeBits", ")", "==", "RealCalleeBits", ")", ";", "}", ""], "natrual_language": ["Determine", "whether", "a", "callee", "with", "the", "given", "TLI", "can", "be", "inlined", "into", "caller", "with", "this", "TLI", ",", "based", "on", "'nobuiltin", "'", "attributes", "."], "TS_V_token": ["AMDGPU", "AMDGPU"], "File": "AMDGPUTargetTransformInfo12", "Func": "areInlineCompatible", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2140, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getPointerSize", "(", ")", "const", "{", "StringRef", "Name", "=", "TheTarget", ".", "getName", "(", ")", ";", "if", "(", "Name", "==", "\"ppc64\"", ")", "return", "8", ";", "assert", "(", "Name", "==", "\"ppc32\"", "&&", "\"Unknown target name!\"", ")", ";", "return", "4", ";", "}", ""], "natrual_language": ["Layout", "pointer", "size", "in", "bytes", ",", "rounded", "up", "to", "a", "whole", "number", "of", "bytes", "."], "TS_V_token": ["PowerPC", "\"ppc64\"", "8", "\"ppc32\"", "\"Unknown target name!\"", "4"], "File": "PPCAsmBackend1", "Func": "getPointerSize", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2141, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TeakRegisterInfo", "::", "resolveFrameIndex", "(", "MachineInstr", "&", "MI", ",", "unsigned", "BaseReg", ",", "int64_t", "Offset", ")", "const", "{", "dbgs", "(", ")", "<<", "\"resolveFrameIndex\\n\"", ";", "MI", ".", "dump", "(", ")", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineOperand", "*", "FIOp", ";", "unsigned", "ImmOpIdx", "=", "0", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", ";", "case", "Teak", "::", "STORE_REG_TO_STACK_PSEUDO_16", ":", "case", "Teak", "::", "STORE_REG_TO_STACK_PSEUDO_TRUNC16", ":", "case", "Teak", "::", "STORE_REG_TO_STACK_PSEUDO_32", ":", "FIOp", "=", "&", "MI", ".", "getOperand", "(", "1", ")", ";", "ImmOpIdx", "=", "2", ";", "break", ";", "case", "Teak", "::", "LOAD_REG_FROM_STACK_PSEUDO_16", ":", "case", "Teak", "::", "LOAD_REG_FROM_STACK_PSEUDO_16_SEXT40", ":", "case", "Teak", "::", "LOAD_REG_FROM_STACK_PSEUDO_16_ZEXT40", ":", "case", "Teak", "::", "LOAD_REG_FROM_STACK_PSEUDO_32_SEXT40", ":", "FIOp", "=", "&", "MI", ".", "getOperand", "(", "1", ")", ";", "ImmOpIdx", "=", "2", ";", "break", ";", "}", "MachineOperand", "&", "ImmOp", "=", "MI", ".", "getOperand", "(", "ImmOpIdx", ")", ";", "FIOp", "->", "ChangeToRegister", "(", "BaseReg", ",", "false", ")", ";", "ImmOp", ".", "setImm", "(", "Offset", ")", ";", "}", ""], "natrual_language": ["Resolve", "a", "frame", "index", "operand", "of", "an", "instruction", "to", "reference", "the", "indicated", "base", "register", "plus", "offset", "instead", "."], "TS_V_token": ["Teak", "Teak", "\"resolveFrameIndex\\n\"", "0", "Teak::STORE_REG_TO_STACK_PSEUDO_16", "Teak::STORE_REG_TO_STACK_PSEUDO_TRUNC16", "Teak::STORE_REG_TO_STACK_PSEUDO_32", "1", "2", "Teak::LOAD_REG_FROM_STACK_PSEUDO_16", "Teak::LOAD_REG_FROM_STACK_PSEUDO_16_SEXT40", "Teak::LOAD_REG_FROM_STACK_PSEUDO_16_ZEXT40", "Teak::LOAD_REG_FROM_STACK_PSEUDO_32_SEXT40", "1", "2"], "File": "TeakRegisterInfo", "Func": "resolveFrameIndex", "Target": "Teak", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2142, "Length": 174, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "lowerInterleavedStore", "(", "StoreInst", "*", "SI", ",", "ShuffleVectorInst", "*", "SVI", ",", "unsigned", "Factor", ")", "const", "{", "assert", "(", "Factor", ">=", "2", "&&", "Factor", "<=", "getMaxSupportedInterleaveFactor", "(", ")", "&&", "\"Invalid interleave factor\"", ")", ";", "VectorType", "*", "VecTy", "=", "SVI", "->", "getType", "(", ")", ";", "assert", "(", "VecTy", "->", "getVectorNumElements", "(", ")", "%", "Factor", "==", "0", "&&", "\"Invalid interleaved store\"", ")", ";", "unsigned", "NumSubElts", "=", "VecTy", "->", "getVectorNumElements", "(", ")", "/", "Factor", ";", "Type", "*", "EltTy", "=", "VecTy", "->", "getVectorElementType", "(", ")", ";", "VectorType", "*", "SubVecTy", "=", "VectorType", "::", "get", "(", "EltTy", ",", "NumSubElts", ")", ";", "const", "DataLayout", "&", "DL", "=", "SI", "->", "getModule", "(", ")", "->", "getDataLayout", "(", ")", ";", "unsigned", "SubVecSize", "=", "DL", ".", "getTypeAllocSizeInBits", "(", "SubVecTy", ")", ";", "bool", "EltIs64Bits", "=", "DL", ".", "getTypeAllocSizeInBits", "(", "EltTy", ")", "==", "64", ";", "if", "(", "!", "Subtarget", "->", "hasNEON", "(", ")", "||", "(", "SubVecSize", "!=", "64", "&&", "SubVecSize", "!=", "128", ")", "||", "EltIs64Bits", ")", "return", "false", ";", "Value", "*", "Op0", "=", "SVI", "->", "getOperand", "(", "0", ")", ";", "Value", "*", "Op1", "=", "SVI", "->", "getOperand", "(", "1", ")", ";", "IRBuilder", "<", ">", "Builder", "(", "SI", ")", ";", "if", "(", "EltTy", "->", "isPointerTy", "(", ")", ")", "{", "Type", "*", "IntTy", "=", "DL", ".", "getIntPtrType", "(", "EltTy", ")", ";", "Type", "*", "IntVecTy", "=", "VectorType", "::", "get", "(", "IntTy", ",", "Op0", "->", "getType", "(", ")", "->", "getVectorNumElements", "(", ")", ")", ";", "Op0", "=", "Builder", ".", "CreatePtrToInt", "(", "Op0", ",", "IntVecTy", ")", ";", "Op1", "=", "Builder", ".", "CreatePtrToInt", "(", "Op1", ",", "IntVecTy", ")", ";", "SubVecTy", "=", "VectorType", "::", "get", "(", "IntTy", ",", "NumSubElts", ")", ";", "}", "static", "const", "Intrinsic", "::", "ID", "StoreInts", "[", "3", "]", "=", "{", "Intrinsic", "::", "arm_neon_vst2", ",", "Intrinsic", "::", "arm_neon_vst3", ",", "Intrinsic", "::", "arm_neon_vst4", "}", ";", "SmallVector", "<", "Value", "*", ",", "6", ">", "Ops", ";", "Type", "*", "Int8Ptr", "=", "Builder", ".", "getInt8PtrTy", "(", "SI", "->", "getPointerAddressSpace", "(", ")", ")", ";", "Ops", ".", "push_back", "(", "Builder", ".", "CreateBitCast", "(", "SI", "->", "getPointerOperand", "(", ")", ",", "Int8Ptr", ")", ")", ";", "Type", "*", "Tys", "[", "]", "=", "{", "Int8Ptr", ",", "SubVecTy", "}", ";", "Function", "*", "VstNFunc", "=", "Intrinsic", "::", "getDeclaration", "(", "SI", "->", "getModule", "(", ")", ",", "StoreInts", "[", "Factor", "-", "2", "]", ",", "Tys", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Factor", ";", "i", "++", ")", "Ops", ".", "push_back", "(", "Builder", ".", "CreateShuffleVector", "(", "Op0", ",", "Op1", ",", "getSequentialMask", "(", "Builder", ",", "NumSubElts", "*", "i", ",", "NumSubElts", ")", ")", ")", ";", "Ops", ".", "push_back", "(", "Builder", ".", "getInt32", "(", "SI", "->", "getAlignment", "(", ")", ")", ")", ";", "Builder", ".", "CreateCall", "(", "VstNFunc", ",", "Ops", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Lower", "interleaved", "store", "(", "s", ")", "into", "target", "specific", "instructions/intrinsics", "."], "TS_V_token": ["ARM", "ARM", "2", "\"Invalid interleave factor\"", "0", "\"Invalid interleaved store\"", "64", "64", "128", "0", "1", "Intrinsic::ID", "3", "Intrinsic::arm_neon_vst2", "Intrinsic::arm_neon_vst3", "Intrinsic::arm_neon_vst4", "6", "Intrinsic::getDeclaration", "2", "0"], "File": "ARMISelLowering119", "Func": "lowerInterleavedStore", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2143, "Length": 428, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "areMemAccessesTriviallyDisjoint", "(", "const", "MachineInstr", "&", "MIa", ",", "const", "MachineInstr", "&", "MIb", ",", "AliasAnalysis", "*", ")", "const", "{", "assert", "(", "MIa", ".", "mayLoadOrStore", "(", ")", "&&", "\"MIa must be a load or store.\"", ")", ";", "assert", "(", "MIb", ".", "mayLoadOrStore", "(", ")", "&&", "\"MIb must be a load or store.\"", ")", ";", "if", "(", "MIa", ".", "hasUnmodeledSideEffects", "(", ")", "||", "MIb", ".", "hasUnmodeledSideEffects", "(", ")", "||", "MIa", ".", "hasOrderedMemoryRef", "(", ")", "||", "MIb", ".", "hasOrderedMemoryRef", "(", ")", ")", "return", "false", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "&", "getRegisterInfo", "(", ")", ";", "const", "MachineOperand", "*", "BaseOpA", "=", "nullptr", ",", "*", "BaseOpB", "=", "nullptr", ";", "int64_t", "OffsetA", "=", "0", ",", "OffsetB", "=", "0", ";", "unsigned", "int", "WidthA", "=", "0", ",", "WidthB", "=", "0", ";", "if", "(", "getMemOperandWithOffsetWidth", "(", "MIa", ",", "BaseOpA", ",", "OffsetA", ",", "WidthA", ",", "TRI", ")", "&&", "getMemOperandWithOffsetWidth", "(", "MIb", ",", "BaseOpB", ",", "OffsetB", ",", "WidthB", ",", "TRI", ")", ")", "{", "if", "(", "BaseOpA", "->", "isIdenticalTo", "(", "*", "BaseOpB", ")", ")", "{", "int", "LowOffset", "=", "std", "::", "min", "(", "OffsetA", ",", "OffsetB", ")", ";", "int", "HighOffset", "=", "std", "::", "max", "(", "OffsetA", ",", "OffsetB", ")", ";", "int", "LowWidth", "=", "(", "LowOffset", "==", "OffsetA", ")", "?", "WidthA", ":", "WidthB", ";", "if", "(", "LowOffset", "+", "LowWidth", "<=", "HighOffset", ")", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Sometimes", ",", "it", "is", "possible", "for", "the", "target", "to", "tell", ",", "even", "without", "aliasing", "information", ",", "that", "two", "MIs", "access", "different", "memory", "addresses", "."], "TS_V_token": ["PowerPC", "PPC", "\"MIa must be a load or store.\"", "\"MIb must be a load or store.\"", "0", "0", "0", "0"], "File": "PPCInstrInfo115", "Func": "areMemAccessesTriviallyDisjoint", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2144, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "h8300_swap_out_of_er6", "(", "rtx", "addr", ")", "{", "if", "(", "REGNO", "(", "addr", ")", "!=", "SP_REG", ")", "emit_move_insn", "(", "addr", ",", "hard_frame_pointer_rtx", ")", ";", "pop", "(", "HARD_FRAME_POINTER_REGNUM", ")", ";", "}", ""], "natrual_language": ["Move", "the", "current", "value", "of", "er6", "into", "ADDR", "and", "pop", "its", "old", "value", "from", "the", "stack", "."], "TS_V_token": ["h8300"], "File": "h83003", "Func": "h8300_swap_out_of_er6", "Target": "h8300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2145, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emit_hard_tfmode_operation", "(", "enum", "rtx_code", "code", ",", "rtx", "*", "operands", ")", "{", "rtx", "op", ",", "dest", ";", "if", "(", "GET_RTX_CLASS", "(", "code", ")", "==", "RTX_UNARY", ")", "{", "operands", "[", "1", "]", "=", "force_reg", "(", "GET_MODE", "(", "operands", "[", "1", "]", ")", ",", "operands", "[", "1", "]", ")", ";", "op", "=", "gen_rtx_fmt_e", "(", "code", ",", "GET_MODE", "(", "operands", "[", "0", "]", ")", ",", "operands", "[", "1", "]", ")", ";", "}", "else", "{", "operands", "[", "1", "]", "=", "force_reg", "(", "GET_MODE", "(", "operands", "[", "1", "]", ")", ",", "operands", "[", "1", "]", ")", ";", "operands", "[", "2", "]", "=", "force_reg", "(", "GET_MODE", "(", "operands", "[", "2", "]", ")", ",", "operands", "[", "2", "]", ")", ";", "op", "=", "gen_rtx_fmt_ee", "(", "code", ",", "GET_MODE", "(", "operands", "[", "0", "]", ")", ",", "operands", "[", "1", "]", ",", "operands", "[", "2", "]", ")", ";", "}", "if", "(", "register_operand", "(", "operands", "[", "0", "]", ",", "VOIDmode", ")", ")", "dest", "=", "operands", "[", "0", "]", ";", "else", "dest", "=", "gen_reg_rtx", "(", "GET_MODE", "(", "operands", "[", "0", "]", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dest", ",", "op", ")", ")", ";", "if", "(", "dest", "!=", "operands", "[", "0", "]", ")", "emit_move_insn", "(", "operands", "[", "0", "]", ",", "dest", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "hard-float", "tfmode", "operation", ".", "All", "arguments", "must", "be", "in", "registers", "."], "TS_V_token": ["sparc", "1", "1", "1", "0", "1", "1", "1", "1", "2", "2", "2", "0", "1", "2", "0", "0", "0", "0", "0"], "File": "sparc", "Func": "emit_hard_tfmode_operation", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2146, "Length": 203, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "ARMTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Don't know how to custom lower this!\"", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "LowerConstantPool", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "Subtarget", "->", "isTargetDarwin", "(", ")", "?", "LowerGlobalAddressDarwin", "(", "Op", ",", "DAG", ")", ":", "LowerGlobalAddressELF", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalTLSAddress", ":", "return", "LowerGlobalTLSAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ",", "Subtarget", ")", ";", "case", "ISD", "::", "BR_CC", ":", "return", "LowerBR_CC", "(", "Op", ",", "DAG", ",", "Subtarget", ")", ";", "case", "ISD", "::", "BR_JT", ":", "return", "LowerBR_JT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "DYNAMIC_STACKALLOC", ":", "return", "LowerDYNAMIC_STACKALLOC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ",", "VarArgsFrameIndex", ")", ";", "case", "ISD", "::", "SINT_TO_FP", ":", "case", "ISD", "::", "UINT_TO_FP", ":", "return", "LowerINT_TO_FP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FP_TO_SINT", ":", "case", "ISD", "::", "FP_TO_UINT", ":", "return", "LowerFP_TO_INT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FCOPYSIGN", ":", "return", "LowerFCOPYSIGN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "RETURNADDR", ":", "break", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "LowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GLOBAL_OFFSET_TABLE", ":", "return", "LowerGLOBAL_OFFSET_TABLE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_VOID", ":", "case", "ISD", "::", "INTRINSIC_W_CHAIN", ":", "return", "LowerINTRINSIC_W_CHAIN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "LowerINTRINSIC_WO_CHAIN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BIT_CONVERT", ":", "return", "ExpandBIT_CONVERT", "(", "Op", ".", "getNode", "(", ")", ",", "DAG", ")", ";", "case", "ISD", "::", "SHL", ":", "case", "ISD", "::", "SRL", ":", "case", "ISD", "::", "SRA", ":", "return", "LowerShift", "(", "Op", ".", "getNode", "(", ")", ",", "DAG", ",", "Subtarget", ")", ";", "case", "ISD", "::", "VSETCC", ":", "return", "LowerVSETCC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BUILD_VECTOR", ":", "return", "LowerBUILD_VECTOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VECTOR_SHUFFLE", ":", "return", "LowerVECTOR_SHUFFLE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SCALAR_TO_VECTOR", ":", "return", "LowerSCALAR_TO_VECTOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "EXTRACT_VECTOR_ELT", ":", "return", "LowerEXTRACT_VECTOR_ELT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "CONCAT_VECTORS", ":", "return", "LowerCONCAT_VECTORS", "(", "Op", ",", "DAG", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["ARM", "ARM", "\"Don't know how to custom lower this!\"", "ISD::ConstantPool", "ISD::GlobalAddress", "ISD::GlobalTLSAddress", "ISD::SELECT_CC", "ISD::BR_CC", "ISD::BR_JT", "ISD::DYNAMIC_STACKALLOC", "ISD::VASTART", "ISD::SINT_TO_FP", "ISD::UINT_TO_FP", "ISD::FP_TO_SINT", "ISD::FP_TO_UINT", "ISD::FCOPYSIGN", "ISD::RETURNADDR", "ISD::FRAMEADDR", "ISD::GLOBAL_OFFSET_TABLE", "ISD::INTRINSIC_VOID", "ISD::INTRINSIC_W_CHAIN", "ISD::INTRINSIC_WO_CHAIN", "ISD::BIT_CONVERT", "ISD::SHL", "ISD::SRL", "ISD::SRA", "ISD::VSETCC", "ISD::BUILD_VECTOR", "ISD::VECTOR_SHUFFLE", "ISD::SCALAR_TO_VECTOR", "ISD::EXTRACT_VECTOR_ELT", "ISD::CONCAT_VECTORS"], "File": "ARMISelLowering33", "Func": "LowerOperation", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2147, "Length": 396, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_simd_emit_pair_result_insn", "(", "machine_mode", "mode", ",", "rtx", "(", "*", "intfn", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ",", "rtx", "destaddr", ",", "rtx", "op1", ")", "{", "rtx", "mem", "=", "gen_rtx_MEM", "(", "mode", ",", "destaddr", ")", ";", "rtx", "tmp1", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rtx", "tmp2", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "intfn", "(", "tmp1", ",", "op1", ",", "tmp2", ")", ")", ";", "emit_move_insn", "(", "mem", ",", "tmp1", ")", ";", "mem", "=", "adjust_address", "(", "mem", ",", "mode", ",", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "emit_move_insn", "(", "mem", ",", "tmp2", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "place", "a", "AdvSIMD", "pair", "result", "in", "memory", "locations", "(", "with", "equal", "registers", ")", "."], "TS_V_token": ["aarch64"], "File": "aarch642", "Func": "aarch64_simd_emit_pair_result_insn", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2148, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VZeroUpperInserter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "TII", "=", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "bool", "EverMadeChange", "=", "false", ";", "bool", "YMMUsed", "=", "false", ";", "TargetRegisterClass", "*", "RC", "=", "X86", "::", "VR256RegisterClass", ";", "for", "(", "TargetRegisterClass", "::", "iterator", "i", "=", "RC", "->", "begin", "(", ")", ",", "e", "=", "RC", "->", "end", "(", ")", ";", "i", "!=", "e", ";", "i", "++", ")", "{", "if", "(", "MRI", ".", "isPhysRegUsed", "(", "*", "i", ")", ")", "{", "YMMUsed", "=", "true", ";", "break", ";", "}", "}", "if", "(", "!", "YMMUsed", ")", "return", "EverMadeChange", ";", "FnHasLiveInYmm", "=", "checkFnHasLiveInYmm", "(", "MRI", ")", ";", "assert", "(", "BBState", ".", "empty", "(", ")", ")", ";", "BBState", ".", "resize", "(", "MF", ".", "getNumBlockIDs", "(", ")", ",", "0", ")", ";", "BBSolved", ".", "resize", "(", "MF", ".", "getNumBlockIDs", "(", ")", ",", "0", ")", ";", "while", "(", "1", ")", "{", "bool", "MadeChange", "=", "false", ";", "for", "(", "MachineFunction", "::", "iterator", "I", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "MadeChange", "|=", "processBasicBlock", "(", "MF", ",", "*", "I", ")", ";", "if", "(", "!", "MadeChange", ")", "break", ";", "EverMadeChange", "=", "true", ";", "}", "BBState", ".", "clear", "(", ")", ";", "BBSolved", ".", "clear", "(", ")", ";", "return", "EverMadeChange", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86::VR256RegisterClass", "0", "0", "1"], "File": "X86VZeroUpper29", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2149, "Length": 224, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "X86RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "switch", "(", "MF", "->", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", ")", "{", "case", "CallingConv", "::", "GHC", ":", "case", "CallingConv", "::", "HiPE", ":", "return", "CSR_NoRegs_SaveList", ";", "case", "CallingConv", "::", "WebKit_JS", ":", "return", "CSR_64_SaveList", ";", "case", "CallingConv", "::", "AnyReg", ":", "return", "CSR_MostRegs_64_SaveList", ";", "case", "CallingConv", "::", "Intel_OCL_BI", ":", "{", "bool", "HasAVX", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "hasAVX", "(", ")", ";", "bool", "HasAVX512", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "hasAVX512", "(", ")", ";", "if", "(", "HasAVX512", "&&", "IsWin64", ")", "return", "CSR_Win64_Intel_OCL_BI_AVX512_SaveList", ";", "if", "(", "HasAVX512", "&&", "Is64Bit", ")", "return", "CSR_64_Intel_OCL_BI_AVX512_SaveList", ";", "if", "(", "HasAVX", "&&", "IsWin64", ")", "return", "CSR_Win64_Intel_OCL_BI_AVX_SaveList", ";", "if", "(", "HasAVX", "&&", "Is64Bit", ")", "return", "CSR_64_Intel_OCL_BI_AVX_SaveList", ";", "if", "(", "!", "HasAVX", "&&", "!", "IsWin64", "&&", "Is64Bit", ")", "return", "CSR_64_Intel_OCL_BI_SaveList", ";", "break", ";", "}", "case", "CallingConv", "::", "Cold", ":", "if", "(", "Is64Bit", ")", "return", "CSR_MostRegs_64_SaveList", ";", "break", ";", "default", ":", "break", ";", "}", "bool", "CallsEHReturn", "=", "MF", "->", "getMMI", "(", ")", ".", "callsEHReturn", "(", ")", ";", "if", "(", "Is64Bit", ")", "{", "if", "(", "IsWin64", ")", "return", "CSR_Win64_SaveList", ";", "if", "(", "CallsEHReturn", ")", "return", "CSR_64EHRet_SaveList", ";", "return", "CSR_64_SaveList", ";", "}", "if", "(", "CallsEHReturn", ")", "return", "CSR_32EHRet_SaveList", ";", "return", "CSR_32_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86RegisterInfo79", "Func": "getCalleeSavedRegs", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2150, "Length": 212, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86TTIImpl", "::", "getIntImmCost", "(", "unsigned", "Opcode", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "{", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "unsigned", "BitSize", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "BitSize", "==", "0", ")", "return", "TTI", "::", "TCC_Free", ";", "unsigned", "ImmIdx", "=", "~", "0U", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "TTI", "::", "TCC_Free", ";", "case", "Instruction", "::", "GetElementPtr", ":", "if", "(", "Idx", "==", "0", ")", "return", "2", "*", "TTI", "::", "TCC_Basic", ";", "return", "TTI", "::", "TCC_Free", ";", "case", "Instruction", "::", "Store", ":", "ImmIdx", "=", "0", ";", "break", ";", "case", "Instruction", "::", "ICmp", ":", "if", "(", "Idx", "==", "1", "&&", "Imm", ".", "getBitWidth", "(", ")", "==", "64", ")", "{", "uint64_t", "ImmVal", "=", "Imm", ".", "getZExtValue", "(", ")", ";", "if", "(", "ImmVal", "==", "0x100000000ULL", "||", "ImmVal", "==", "0xffffffff", ")", "return", "TTI", "::", "TCC_Free", ";", "}", "ImmIdx", "=", "1", ";", "break", ";", "case", "Instruction", "::", "And", ":", "if", "(", "Idx", "==", "1", "&&", "Imm", ".", "getBitWidth", "(", ")", "==", "64", "&&", "isUInt", "<", "32", ">", "(", "Imm", ".", "getZExtValue", "(", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "case", "Instruction", "::", "Add", ":", "case", "Instruction", "::", "Sub", ":", "case", "Instruction", "::", "Mul", ":", "case", "Instruction", "::", "UDiv", ":", "case", "Instruction", "::", "SDiv", ":", "case", "Instruction", "::", "URem", ":", "case", "Instruction", "::", "SRem", ":", "case", "Instruction", "::", "Or", ":", "case", "Instruction", "::", "Xor", ":", "ImmIdx", "=", "1", ";", "break", ";", "case", "Instruction", "::", "Shl", ":", "case", "Instruction", "::", "LShr", ":", "case", "Instruction", "::", "AShr", ":", "if", "(", "Idx", "==", "1", ")", "return", "TTI", "::", "TCC_Free", ";", "break", ";", "case", "Instruction", "::", "Trunc", ":", "case", "Instruction", "::", "ZExt", ":", "case", "Instruction", "::", "SExt", ":", "case", "Instruction", "::", "IntToPtr", ":", "case", "Instruction", "::", "PtrToInt", ":", "case", "Instruction", "::", "BitCast", ":", "case", "Instruction", "::", "PHI", ":", "case", "Instruction", "::", "Call", ":", "case", "Instruction", "::", "Select", ":", "case", "Instruction", "::", "Ret", ":", "case", "Instruction", "::", "Load", ":", "break", ";", "}", "if", "(", "Idx", "==", "ImmIdx", ")", "{", "int", "NumConstants", "=", "(", "BitSize", "+", "63", ")", "/", "64", ";", "int", "Cost", "=", "X86TTIImpl", "::", "getIntImmCost", "(", "Imm", ",", "Ty", ")", ";", "return", "(", "Cost", "<=", "NumConstants", "*", "TTI", "::", "TCC_Basic", ")", "?", "static_cast", "<", "int", ">", "(", "TTI", "::", "TCC_Free", ")", ":", "Cost", ";", "}", "return", "X86TTIImpl", "::", "getIntImmCost", "(", "Imm", ",", "Ty", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "."], "TS_V_token": ["X86", "X86", "0", "0U", "0", "2", "0", "1", "64", "0x100000000ULL", "0xffffffff", "1", "1", "64", "32", "1", "1", "63", "64", "X86", "X86"], "File": "X86TargetTransformInfo (3)", "Func": "getIntImmCost", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2151, "Length": 391, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "emit_sp_adjust", "(", "int", "offset", ",", "int", "*", "next_scratch_regno", ",", "bool", "frame_related", ",", "rtx", "reg_notes", ")", "{", "rtx", "to_add", ";", "rtx", "imm_rtx", "=", "gen_int_si", "(", "offset", ")", ";", "rtx_insn", "*", "insn", ";", "if", "(", "satisfies_constraint_J", "(", "imm_rtx", ")", ")", "{", "to_add", "=", "imm_rtx", ";", "}", "else", "{", "rtx", "tmp", "=", "gen_rtx_REG", "(", "Pmode", ",", "(", "*", "next_scratch_regno", ")", "--", ")", ";", "tilepro_expand_set_const32", "(", "tmp", ",", "imm_rtx", ")", ";", "to_add", "=", "tmp", ";", "}", "insn", "=", "emit_insn", "(", "gen_sp_adjust", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "to_add", ")", ")", ";", "REG_NOTES", "(", "insn", ")", "=", "reg_notes", ";", "if", "(", "frame_related", ")", "{", "rtx", "real", "=", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "imm_rtx", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_ADJUST_CFA", ",", "real", ")", ";", "}", "return", "insn", ";", "}", ""], "natrual_language": ["This", "emits", "code", "for", "'sp", "+=", "offset", "'", ".", "The", "ABI", "only", "allows", "us", "to", "modify", "'sp", "'", "in", "a", "single", "'addi", "'", "or", "'addli", "'", ",", "so", "the", "backtracer", "understands", "it", ".", "Larger", "amounts", "can", "not", "use", "those", "instructions", ",", "so", "are", "added", "by", "placing", "the", "offset", "into", "a", "large", "register", "and", "using", "'add", "'", ".", "This", "happens", "after", "reload", ",", "so", "we", "need", "to", "expand", "it", "ourselves", "."], "TS_V_token": ["tilepro", "1"], "File": "tilepro", "Func": "emit_sp_adjust", "Target": "tilepro", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 2152, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "NVPTXSubtarget", "&", "NVPTXSubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "TargetName", "=", "std", "::", "string", "(", "CPU", ".", "empty", "(", ")", "?", "\"sm_20\"", ":", "CPU", ")", ";", "ParseSubtargetFeatures", "(", "TargetName", ",", "TargetName", ",", "FS", ")", ";", "if", "(", "PTXVersion", "==", "0", ")", "{", "PTXVersion", "=", "32", ";", "}", "return", "*", "this", ";", "}", ""], "natrual_language": ["initializeSubtargetDependencies", "-", "Initializes", "using", "a", "CPU", ",", "a", "TuneCPU", ",", "and", "feature", "string", "so", "that", "we", "can", "use", "initializer", "lists", "for", "subtarget", "initialization", "."], "TS_V_token": ["NVPTX", "NVPTX", "NVPTX", "\"sm_20\"", "0", "32"], "File": "NVPTXSubtarget (2)1", "Func": "initializeSubtargetDependencies", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2153, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "XtensaMCInstLower", "::", "Initialize", "(", "MCContext", "*", "C", ")", "{", "Ctx", "=", "C", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["Xtensa", "Xtensa"], "File": "XtensaMCInstLower1", "Func": "Initialize", "Target": "Xtensa", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2154, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AMDGPUInstrInfo", "::", "getOpcodeAfterMemoryUnfold", "(", "unsigned", "Opc", ",", "bool", "UnfoldLoad", ",", "bool", "UnfoldStore", ",", "unsigned", "*", "LoadRegIndex", ")", "const", "{", "return", "0", ";", "}", ""], "natrual_language": ["getOpcodeAfterMemoryUnfold", "-", "Returns", "the", "opcode", "of", "the", "would", "be", "new", "instruction", "after", "load", "/", "store", "are", "unfolded", "from", "an", "instruction", "of", "the", "specified", "opcode", "."], "TS_V_token": ["R600", "0"], "File": "AMDGPUInstrInfo10", "Func": "getOpcodeAfterMemoryUnfold", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2155, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "ix86_loop_unroll_adjust", "(", "unsigned", "nunroll", ",", "class", "loop", "*", "loop", ")", "{", "basic_block", "*", "bbs", ";", "rtx_insn", "*", "insn", ";", "unsigned", "i", ";", "unsigned", "mem_count", "=", "0", ";", "if", "(", "!", "TARGET_ADJUST_UNROLL", ")", "return", "nunroll", ";", "subrtx_iterator", "::", "array_type", "array", ";", "bbs", "=", "get_loop_body", "(", "loop", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "loop", "->", "num_nodes", ";", "i", "++", ")", "FOR_BB_INSNS", "(", "bbs", "[", "i", "]", ",", "insn", ")", "if", "(", "NONDEBUG_INSN_P", "(", "insn", ")", ")", "FOR_EACH_SUBRTX", "(", "iter", ",", "array", ",", "PATTERN", "(", "insn", ")", ",", "NONCONST", ")", "if", "(", "const_rtx", "x", "=", "*", "iter", ")", "if", "(", "MEM_P", "(", "x", ")", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "x", ")", ";", "unsigned", "int", "n_words", "=", "GET_MODE_SIZE", "(", "mode", ")", "/", "UNITS_PER_WORD", ";", "if", "(", "n_words", ">", "4", ")", "mem_count", "+=", "2", ";", "else", "mem_count", "+=", "1", ";", "}", "free", "(", "bbs", ")", ";", "if", "(", "mem_count", "&&", "mem_count", "<=", "32", ")", "return", "MIN", "(", "nunroll", ",", "32", "/", "mem_count", ")", ";", "return", "nunroll", ";", "}", ""], "natrual_language": ["This", "function", "adjusts", "the", "unroll", "factor", "based", "on", "the", "hardware", "capabilities", ".", "For", "ex", ",", "bdver3", "has", "a", "loop", "buffer", "which", "makes", "unrolling", "of", "smaller", "loops", "less", "important", ".", "This", "function", "decides", "the", "unroll", "factor", "using", "number", "of", "memory", "references", "(", "value", "32", "is", "used", ")", "as", "a", "heuristic", "."], "TS_V_token": ["i386", "0", "0", "4", "2", "1", "32", "32"], "File": "i386", "Func": "ix86_loop_unroll_adjust", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2156, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmPrinter", "::", "isBlockOnlyReachableByFallthrough", "(", "const", "MachineBasicBlock", "*", "MBB", ")", "const", "{", "const", "MachineBasicBlock", "*", "Pred", "=", "*", "MBB", "->", "pred_begin", "(", ")", ";", "if", "(", "const", "BasicBlock", "*", "bb", "=", "Pred", "->", "getBasicBlock", "(", ")", ")", "if", "(", "isa", "<", "SwitchInst", ">", "(", "bb", "->", "getTerminator", "(", ")", ")", ")", "return", "false", ";", "return", "AsmPrinter", "::", "isBlockOnlyReachableByFallthrough", "(", "MBB", ")", ";", "}", ""], "natrual_language": ["isBlockOnlyReachableByFallthough", "-", "Return", "true", "if", "the", "basic", "block", "has", "exactly", "one", "predecessor", "and", "the", "control", "transfer", "mechanism", "between", "the", "predecessor", "and", "this", "block", "is", "a", "fall-through", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsAsmPrinter19", "Func": "isBlockOnlyReachableByFallthrough", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2157, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "loongarch_save_reg_p", "(", "unsigned", "int", "regno", ")", "{", "bool", "call_saved", "=", "!", "global_regs", "[", "regno", "]", "&&", "!", "call_used_regs", "[", "regno", "]", ";", "bool", "might_clobber", "=", "crtl", "->", "saves_all_registers", "||", "df_regs_ever_live_p", "(", "regno", ")", ";", "if", "(", "call_saved", "&&", "might_clobber", ")", "return", "true", ";", "if", "(", "regno", "==", "HARD_FRAME_POINTER_REGNUM", "&&", "frame_pointer_needed", ")", "return", "true", ";", "if", "(", "regno", "==", "RETURN_ADDR_REGNUM", "&&", "crtl", "->", "calls_eh_return", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "current", "function", "must", "save", "register", "REGNO", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_save_reg_p", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2158, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "machopic_output_stub", "(", "FILE", "*", "file", ",", "const", "char", "*", "symb", ",", "const", "char", "*", "stub", ")", "{", "unsigned", "int", "length", ";", "char", "*", "symbol_name", ",", "*", "lazy_ptr_name", ";", "char", "*", "local_label_0", ";", "static", "unsigned", "label", "=", "0", ";", "symb", "=", "(", "*", "targetm", ".", "strip_name_encoding", ")", "(", "symb", ")", ";", "length", "=", "strlen", "(", "symb", ")", ";", "symbol_name", "=", "XALLOCAVEC", "(", "char", ",", "length", "+", "32", ")", ";", "GEN_SYMBOL_NAME_FOR_SYMBOL", "(", "symbol_name", ",", "symb", ",", "length", ")", ";", "lazy_ptr_name", "=", "XALLOCAVEC", "(", "char", ",", "length", "+", "32", ")", ";", "GEN_LAZY_PTR_NAME_FOR_SYMBOL", "(", "lazy_ptr_name", ",", "symb", ",", "length", ")", ";", "if", "(", "MACHOPIC_PURE", ")", "{", "switch_to_section", "(", "darwin_sections", "[", "machopic_picsymbol_stub1_section", "]", ")", ";", "fprintf", "(", "file", ",", "\"\\t.align 5\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"%s:\\n\"", ",", "stub", ")", ";", "fprintf", "(", "file", ",", "\"\\t.indirect_symbol %s\\n\"", ",", "symbol_name", ")", ";", "label", "++", ";", "local_label_0", "=", "XALLOCAVEC", "(", "char", ",", "16", ")", ";", "sprintf", "(", "local_label_0", ",", "\"L%u$spb\"", ",", "label", ")", ";", "fprintf", "(", "file", ",", "\"\\tmflr r0\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\tbcl 20,31,%s\\n\"", ",", "local_label_0", ")", ";", "fprintf", "(", "file", ",", "\"%s:\\n\\tmflr r11\\n\"", ",", "local_label_0", ")", ";", "fprintf", "(", "file", ",", "\"\\taddis r11,r11,ha16(%s-%s)\\n\"", ",", "lazy_ptr_name", ",", "local_label_0", ")", ";", "fprintf", "(", "file", ",", "\"\\tmtlr r0\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\t%s r12,lo16(%s-%s)(r11)\\n\"", ",", "(", "TARGET_64BIT", "?", "\"ldu\"", ":", "\"lwzu\"", ")", ",", "lazy_ptr_name", ",", "local_label_0", ")", ";", "fprintf", "(", "file", ",", "\"\\tmtctr r12\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\tbctr\\n\"", ")", ";", "}", "else", "{", "switch_to_section", "(", "darwin_sections", "[", "machopic_symbol_stub1_section", "]", ")", ";", "fprintf", "(", "file", ",", "\"\\t.align 4\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"%s:\\n\"", ",", "stub", ")", ";", "fprintf", "(", "file", ",", "\"\\t.indirect_symbol %s\\n\"", ",", "symbol_name", ")", ";", "fprintf", "(", "file", ",", "\"\\tlis r11,ha16(%s)\\n\"", ",", "lazy_ptr_name", ")", ";", "fprintf", "(", "file", ",", "\"\\t%s r12,lo16(%s)(r11)\\n\"", ",", "(", "TARGET_64BIT", "?", "\"ldu\"", ":", "\"lwzu\"", ")", ",", "lazy_ptr_name", ")", ";", "fprintf", "(", "file", ",", "\"\\tmtctr r12\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\tbctr\\n\"", ")", ";", "}", "switch_to_section", "(", "darwin_sections", "[", "machopic_lazy_symbol_ptr_section", "]", ")", ";", "fprintf", "(", "file", ",", "\"%s:\\n\"", ",", "lazy_ptr_name", ")", ";", "fprintf", "(", "file", ",", "\"\\t.indirect_symbol %s\\n\"", ",", "symbol_name", ")", ";", "fprintf", "(", "file", ",", "\"%sdyld_stub_binding_helper\\n\"", ",", "(", "TARGET_64BIT", "?", "DOUBLE_INT_ASM_OP", ":", "\"\\t.long\\t\"", ")", ")", ";", "}", ""], "natrual_language": ["Generate", "external", "symbol", "indirection", "stubs", "(", "PIC", "and", "non-PIC", ")", "."], "TS_V_token": ["rs6000", "0", "32", "32", "\"\\t.align 5\\n\"", "\"%s:\\n\"", "\"\\t.indirect_symbol %s\\n\"", "16", "\"L%u$spb\"", "\"\\tmflr r0\\n\"", "\"\\tbcl 20,31,%s\\n\"", "\"%s:\\n\\tmflr r11\\n\"", "\"\\taddis r11,r11,ha16(%s-%s)\\n\"", "\"\\tmtlr r0\\n\"", "\"\\t%s r12,lo16(%s-%s)(r11)\\n\"", "\"ldu\"", "\"lwzu\"", "\"\\tmtctr r12\\n\"", "\"\\tbctr\\n\"", "\"\\t.align 4\\n\"", "\"%s:\\n\"", "\"\\t.indirect_symbol %s\\n\"", "\"\\tlis r11,ha16(%s)\\n\"", "\"\\t%s r12,lo16(%s)(r11)\\n\"", "\"ldu\"", "\"lwzu\"", "\"\\tmtctr r12\\n\"", "\"\\tbctr\\n\"", "\"%s:\\n\"", "\"\\t.indirect_symbol %s\\n\"", "\"%sdyld_stub_binding_helper\\n\"", "\"\\t.long\\t\""], "File": "rs6000", "Func": "machopic_output_stub", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2159, "Length": 352, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "ConstraintWeight", "ARMTargetLowering", "::", "getSingleConstraintMatchWeight", "(", "AsmOperandInfo", "&", "info", ",", "const", "char", "*", "constraint", ")", "const", "{", "ConstraintWeight", "weight", "=", "CW_Invalid", ";", "Value", "*", "CallOperandVal", "=", "info", ".", "CallOperandVal", ";", "if", "(", "CallOperandVal", "==", "NULL", ")", "return", "CW_Default", ";", "const", "Type", "*", "type", "=", "CallOperandVal", "->", "getType", "(", ")", ";", "switch", "(", "*", "constraint", ")", "{", "default", ":", "weight", "=", "TargetLowering", "::", "getSingleConstraintMatchWeight", "(", "info", ",", "constraint", ")", ";", "break", ";", "case", "'l'", ":", "if", "(", "type", "->", "isIntegerTy", "(", ")", ")", "{", "if", "(", "Subtarget", "->", "isThumb", "(", ")", ")", "weight", "=", "CW_SpecificReg", ";", "else", "weight", "=", "CW_Register", ";", "}", "break", ";", "case", "'w'", ":", "if", "(", "type", "->", "isFloatingPointTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "}", "return", "weight", ";", "}", ""], "natrual_language": ["Examine", "constraint", "string", "and", "operand", "type", "and", "determine", "a", "weight", "value", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMISelLowering131", "Func": "getSingleConstraintMatchWeight", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2160, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonFrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "bool", "HasAlloca", "=", "MFI", ".", "hasVarSizedObjects", "(", ")", ";", "bool", "NeedsAlign", "=", "(", "MFI", ".", "getMaxAlignment", "(", ")", ">", "getStackAlignment", "(", ")", ")", ";", "if", "(", "!", "HasAlloca", "||", "!", "NeedsAlign", ")", "return", ";", "unsigned", "LFS", "=", "MFI", ".", "getLocalFrameSize", "(", ")", ";", "for", "(", "int", "i", "=", "0", ",", "e", "=", "MFI", ".", "getObjectIndexEnd", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "if", "(", "!", "MFI", ".", "isSpillSlotObjectIndex", "(", "i", ")", "||", "MFI", ".", "isDeadObjectIndex", "(", "i", ")", ")", "continue", ";", "unsigned", "S", "=", "MFI", ".", "getObjectSize", "(", "i", ")", ";", "unsigned", "A", "=", "std", "::", "max", "(", "MFI", ".", "getObjectAlignment", "(", "i", ")", ",", "8U", ")", ";", "MFI", ".", "setObjectAlignment", "(", "i", ",", "8", ")", ";", "LFS", "=", "alignTo", "(", "LFS", "+", "S", ",", "A", ")", ";", "MFI", ".", "mapLocalFrameObject", "(", "i", ",", "-", "LFS", ")", ";", "}", "MFI", ".", "setLocalFrameSize", "(", "LFS", ")", ";", "Align", "A", "=", "MFI", ".", "getLocalFrameMaxAlign", "(", ")", ";", "assert", "(", "A", "<=", "8", "&&", "\"Unexpected local frame alignment\"", ")", ";", "if", "(", "A", "==", "1", ")", "MFI", ".", "setLocalFrameMaxAlign", "(", "Align", "(", "8", ")", ")", ";", "MFI", ".", "setUseLocalStackAllocationBlock", "(", "true", ")", ";", "unsigned", "AP", "=", "0", ";", "if", "(", "const", "MachineInstr", "*", "AI", "=", "getAlignaInstr", "(", "MF", ")", ")", "AP", "=", "AI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "auto", "&", "HMFI", "=", "*", "MF", ".", "getInfo", "<", "HexagonMachineFunctionInfo", ">", "(", ")", ";", "HMFI", ".", "setStackAlignBasePhysReg", "(", "AP", ")", ";", "}", ""], "natrual_language": ["processFunctionBeforeFrameFinalized", "-", "This", "method", "is", "called", "immediately", "before", "the", "specified", "function", "'s", "frame", "layout", "(", "MF.getFrameInfo", "(", ")", ")", "is", "finalized", "."], "TS_V_token": ["Hexagon", "Hexagon", "0", "8U", "8", "8", "\"Unexpected local frame alignment\"", "1", "8", "0", "0", "Hexagon"], "File": "HexagonFrameLowering39", "Func": "processFunctionBeforeFrameFinalized", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2161, "Length": 268, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "F2003fRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "F2003f", "::", "F5", ")", ";", "Reserved", ".", "set", "(", "F2003f", "::", "XX", ")", ";", "return", "Reserved", ";", "}", ""], "natrual_language": ["getReservedRegs", "-", "Returns", "a", "bitset", "indexed", "by", "physical", "register", "number", "indicating", "if", "a", "register", "is", "a", "special", "register", "that", "has", "particular", "uses", "and", "should", "be", "considered", "unavailable", "at", "all", "times", ",", "e.g", "."], "TS_V_token": ["F2003f", "F2003f", "F2003f::F5", "F2003f::XX"], "File": "F2003fRegisterInfo", "Func": "getReservedRegs", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2162, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "expandPostRAPseudo", "(", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "LOAD_STACK_GUARD", ")", "{", "assert", "(", "getSubtarget", "(", ")", ".", "getTargetTriple", "(", ")", ".", "isOSBinFormatMachO", "(", ")", "&&", "\"LOAD_STACK_GUARD currently supported only for MachO.\"", ")", ";", "expandLoadStackGuard", "(", "MI", ")", ";", "MI", ".", "getParent", "(", ")", "->", "erase", "(", "MI", ")", ";", "return", "true", ";", "}", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "ARM", "::", "MEMCPY", ")", "{", "expandMEMCPY", "(", "MI", ")", ";", "return", "true", ";", "}", "if", "(", "!", "MI", ".", "isCopy", "(", ")", "||", "Subtarget", ".", "dontWidenVMOVS", "(", ")", "||", "!", "Subtarget", ".", "hasFP64", "(", ")", ")", "return", "false", ";", "unsigned", "DstRegS", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "unsigned", "SrcRegS", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "if", "(", "!", "ARM", "::", "SPRRegClass", ".", "contains", "(", "DstRegS", ",", "SrcRegS", ")", ")", "return", "false", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "&", "getRegisterInfo", "(", ")", ";", "unsigned", "DstRegD", "=", "TRI", "->", "getMatchingSuperReg", "(", "DstRegS", ",", "ARM", "::", "ssub_0", ",", "&", "ARM", "::", "DPRRegClass", ")", ";", "unsigned", "SrcRegD", "=", "TRI", "->", "getMatchingSuperReg", "(", "SrcRegS", ",", "ARM", "::", "ssub_0", ",", "&", "ARM", "::", "DPRRegClass", ")", ";", "if", "(", "!", "DstRegD", "||", "!", "SrcRegD", ")", "return", "false", ";", "if", "(", "!", "MI", ".", "definesRegister", "(", "DstRegD", ",", "TRI", ")", "||", "MI", ".", "readsRegister", "(", "DstRegD", ",", "TRI", ")", ")", "return", "false", ";", "if", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "isDead", "(", ")", ")", "return", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"widening: \"", "<<", "MI", ")", ";", "MachineInstrBuilder", "MIB", "(", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ",", "MI", ")", ";", "int", "ImpDefIdx", "=", "MI", ".", "findRegisterDefOperandIdx", "(", "DstRegD", ")", ";", "if", "(", "ImpDefIdx", "!=", "-", "1", ")", "MI", ".", "RemoveOperand", "(", "ImpDefIdx", ")", ";", "MI", ".", "setDesc", "(", "get", "(", "ARM", "::", "VMOVD", ")", ")", ";", "MI", ".", "getOperand", "(", "0", ")", ".", "setReg", "(", "DstRegD", ")", ";", "MI", ".", "getOperand", "(", "1", ")", ".", "setReg", "(", "SrcRegD", ")", ";", "MIB", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "MI", ".", "getOperand", "(", "1", ")", ".", "setIsUndef", "(", ")", ";", "MIB", ".", "addReg", "(", "SrcRegS", ",", "RegState", "::", "Implicit", ")", ";", "if", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "isKill", "(", ")", ")", "{", "MI", ".", "getOperand", "(", "1", ")", ".", "setIsKill", "(", "false", ")", ";", "MI", ".", "addRegisterKilled", "(", "SrcRegS", ",", "TRI", ",", "true", ")", ";", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"replaced by: \"", "<<", "MI", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "function", "is", "called", "for", "all", "pseudo", "instructions", "that", "remain", "after", "register", "allocation", "."], "TS_V_token": ["ARM", "ARM", "\"LOAD_STACK_GUARD currently supported only for MachO.\"", "ARM::MEMCPY", "0", "1", "ARM::SPRRegClass", "ARM::ssub_0", "ARM::DPRRegClass", "ARM::ssub_0", "ARM::DPRRegClass", "0", "\"widening: \"", "1", "ARM::VMOVD", "0", "1", "ARMCC::AL", "1", "1", "1", "\"replaced by: \""], "File": "ARMBaseInstrInfo10", "Func": "expandPostRAPseudo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2163, "Length": 427, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "microblaze_must_save_register", "(", "int", "regno", ")", "{", "if", "(", "pic_offset_table_rtx", "&&", "(", "regno", "==", "MB_ABI_PIC_ADDR_REGNUM", ")", "&&", "df_regs_ever_live_p", "(", "regno", ")", ")", "return", "1", ";", "if", "(", "df_regs_ever_live_p", "(", "regno", ")", "&&", "!", "call_used_regs", "[", "regno", "]", ")", "return", "1", ";", "if", "(", "frame_pointer_needed", "&&", "(", "regno", "==", "HARD_FRAME_POINTER_REGNUM", ")", ")", "return", "1", ";", "if", "(", "crtl", "->", "calls_eh_return", "&&", "regno", "==", "MB_ABI_SUB_RETURN_ADDR_REGNUM", ")", "return", "1", ";", "if", "(", "!", "crtl", "->", "is_leaf", ")", "{", "if", "(", "regno", "==", "MB_ABI_SUB_RETURN_ADDR_REGNUM", ")", "return", "1", ";", "if", "(", "(", "microblaze_is_interrupt_variant", "(", ")", "||", "save_volatiles", ")", "&&", "(", "regno", ">=", "3", "&&", "regno", "<=", "12", ")", ")", "return", "1", ";", "}", "if", "(", "microblaze_is_interrupt_variant", "(", ")", ")", "{", "if", "(", "df_regs_ever_live_p", "(", "regno", ")", "||", "regno", "==", "MB_ABI_MSR_SAVE_REG", "||", "(", "interrupt_handler", "&&", "(", "regno", "==", "MB_ABI_ASM_TEMP_REGNUM", "||", "regno", "==", "MB_ABI_EXCEPTION_RETURN_ADDR_REGNUM", ")", ")", ")", "return", "1", ";", "}", "if", "(", "save_volatiles", ")", "{", "if", "(", "df_regs_ever_live_p", "(", "regno", ")", "||", "regno", "==", "MB_ABI_ASM_TEMP_REGNUM", "||", "regno", "==", "MB_ABI_EXCEPTION_RETURN_ADDR_REGNUM", ")", "return", "1", ";", "}", "if", "(", "crtl", "->", "calls_eh_return", "&&", "(", "regno", "==", "EH_RETURN_DATA_REGNO", "(", "0", ")", "||", "regno", "==", "EH_RETURN_DATA_REGNO", "(", "1", ")", ")", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["Determine", "of", "register", "must", "be", "saved/restored", "in", "call", "."], "TS_V_token": ["microblaze", "1", "1", "1", "1", "1", "3", "12", "1", "1", "1", "0", "1", "1", "0"], "File": "microblaze4", "Func": "microblaze_must_save_register", "Target": "microblaze", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2164, "Length": 198, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstrBuilder", "R600InstrInfo", "::", "buildDefaultInstruction", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "Opcode", ",", "unsigned", "DstReg", ",", "unsigned", "Src0Reg", ",", "unsigned", "Src1Reg", ")", "const", "{", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "I", ",", "MBB", ".", "findDebugLoc", "(", "I", ")", ",", "get", "(", "Opcode", ")", ",", "DstReg", ")", ";", "if", "(", "Src1Reg", ")", "{", "MIB", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "0", ")", ";", "}", "MIB", ".", "addImm", "(", "1", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "Src0Reg", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "-", "1", ")", ";", "if", "(", "Src1Reg", ")", "{", "MIB", ".", "addReg", "(", "Src1Reg", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "-", "1", ")", ";", "}", "MIB", ".", "addImm", "(", "1", ")", ".", "addReg", "(", "AMDGPU", "::", "PRED_SEL_OFF", ")", ".", "addImm", "(", "0", ")", ";", "return", "MIB", ";", "}", ""], "natrual_language": ["buildDefaultInstruction", "-", "This", "function", "returns", "a", "MachineInstr", "with", "all", "the", "instruction", "modifiers", "initialized", "to", "their", "default", "values", "."], "TS_V_token": ["R600", "0", "0", "1", "0", "0", "0", "0", "0", "0", "1", "0", "0", "0", "1", "1", "0"], "File": "R600InstrInfo", "Func": "buildDefaultInstruction", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2165, "Length": 175, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "frame_emit_load", "(", "int", "regno", ",", "rtx", "addr", ",", "rtx", "*", "cfa_restores", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "DImode", ",", "regno", ")", ";", "rtx", "mem", "=", "gen_frame_mem", "(", "DImode", ",", "addr", ")", ";", "if", "(", "cfa_restores", ")", "*", "cfa_restores", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg", ",", "*", "cfa_restores", ")", ";", "return", "emit_insn", "(", "gen_movdi", "(", "reg", ",", "mem", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "load", "in", "the", "stack", "frame", "to", "load", "REGNO", "from", "address", "ADDR", ".", "Add", "a", "REG_CFA_RESTORE", "note", "to", "CFA_RESTORES", "if", "CFA_RESTORES", "is", "non-null", ".", "Return", "the", "emitted", "insn", "."], "TS_V_token": ["tilegx"], "File": "tilegx", "Func": "frame_emit_load", "Target": "tilegx", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 2166, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyStoreResults", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "DEBUG", "(", "{", "dbgs", "(", ")", "<<", "\"********** Store Results **********\\n\"", "<<", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ";", "}", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "MachineDominatorTree", "&", "MDT", "=", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "const", "WebAssemblyTargetLowering", "&", "TLI", "=", "*", "MF", ".", "getSubtarget", "<", "WebAssemblySubtarget", ">", "(", ")", ".", "getTargetLowering", "(", ")", ";", "const", "auto", "&", "LibInfo", "=", "getAnalysis", "<", "TargetLibraryInfoWrapperPass", ">", "(", ")", ".", "getTLI", "(", ")", ";", "LiveIntervals", "&", "LIS", "=", "getAnalysis", "<", "LiveIntervals", ">", "(", ")", ";", "bool", "Changed", "=", "false", ";", "MRI", ".", "leaveSSA", "(", ")", ";", "assert", "(", "MRI", ".", "tracksLiveness", "(", ")", "&&", "\"StoreResults expects liveness tracking\"", ")", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Basic Block: \"", "<<", "MBB", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "WebAssembly", "::", "CALL_I32", ":", "case", "WebAssembly", "::", "CALL_I64", ":", "Changed", "|=", "optimizeCall", "(", "MBB", ",", "MI", ",", "MRI", ",", "MDT", ",", "LIS", ",", "TLI", ",", "LibInfo", ")", ";", "break", ";", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"********** Store Results **********\\n\"", "\"********** Function: \"", "WebAssembly", "WebAssembly", "\"StoreResults expects liveness tracking\"", "\"Basic Block: \"", "WebAssembly::CALL_I32", "WebAssembly::CALL_I64"], "File": "WebAssemblyStoreResults10", "Func": "runOnMachineFunction", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2167, "Length": 205, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "AArch64RegisterInfo", "::", "getPointerRegClass", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Kind", ")", "const", "{", "return", "&", "AArch64", "::", "GPR64spRegClass", ";", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::GPR64spRegClass"], "File": "AArch64RegisterInfo", "Func": "getPointerRegClass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2168, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_for_each_saved_acc", "(", "HOST_WIDE_INT", "sp_offset", ",", "mips_save_restore_fn", "fn", ")", "{", "HOST_WIDE_INT", "offset", ";", "int", "regno", ";", "offset", "=", "cfun", "->", "machine", "->", "frame", ".", "acc_sp_offset", "-", "sp_offset", ";", "if", "(", "BITSET_P", "(", "cfun", "->", "machine", "->", "frame", ".", "acc_mask", ",", "0", ")", ")", "{", "mips_save_restore_reg", "(", "word_mode", ",", "LO_REGNUM", ",", "offset", ",", "fn", ")", ";", "offset", "-=", "UNITS_PER_WORD", ";", "mips_save_restore_reg", "(", "word_mode", ",", "HI_REGNUM", ",", "offset", ",", "fn", ")", ";", "offset", "-=", "UNITS_PER_WORD", ";", "}", "for", "(", "regno", "=", "DSP_ACC_REG_FIRST", ";", "regno", "<=", "DSP_ACC_REG_LAST", ";", "regno", "++", ")", "if", "(", "BITSET_P", "(", "cfun", "->", "machine", "->", "frame", ".", "acc_mask", ",", "(", "(", "regno", "-", "DSP_ACC_REG_FIRST", ")", "/", "2", ")", "+", "1", ")", ")", "{", "mips_save_restore_reg", "(", "word_mode", ",", "regno", ",", "offset", ",", "fn", ")", ";", "offset", "-=", "UNITS_PER_WORD", ";", "}", "}", ""], "natrual_language": ["Call", "FN", "for", "each", "accumlator", "that", "is", "saved", "by", "the", "current", "function", ".", "SP_OFFSET", "is", "the", "offset", "of", "the", "current", "stack", "pointer", "from", "the", "start", "of", "the", "frame", "."], "TS_V_token": ["mips", "0", "2", "1"], "File": "mips", "Func": "mips_for_each_saved_acc", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2169, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "GBZ80TargetStreamer", "::", "finish", "(", ")", "{", "}", ""], "natrual_language": ["finish", "-", "after", "all", "the", "new", "live", "ranges", "have", "been", "created", ",", "compute", "the", "remaining", "live", "range", ",", "and", "rewrite", "instructions", "to", "use", "the", "new", "registers", "."], "TS_V_token": ["GBZ80", "GB"], "File": "GBZ80TargetStreamer", "Func": "finish", "Target": "GBZ80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2170, "Length": 8, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isLoadBitCastBeneficial", "(", "EVT", "LoadVT", ",", "EVT", "BitcastVT", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "hasAVX512", "(", ")", "&&", "!", "LoadVT", ".", "isVector", "(", ")", "&&", "BitcastVT", ".", "isVector", "(", ")", "&&", "BitcastVT", ".", "getVectorElementType", "(", ")", "==", "MVT", "::", "i1", ")", "return", "false", ";", "if", "(", "!", "Subtarget", ".", "hasDQI", "(", ")", "&&", "BitcastVT", "==", "MVT", "::", "v8i1", "&&", "LoadVT", "==", "MVT", "::", "i8", ")", "return", "false", ";", "return", "TargetLowering", "::", "isLoadBitCastBeneficial", "(", "LoadVT", ",", "BitcastVT", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "following", "transform", "is", "beneficial", ":", "fold", "(", "conv", "(", "load", "x", ")", ")", "-", ">", "(", "load", "(", "conv", "*", ")", "x", ")", "On", "architectures", "that", "do", "n't", "natively", "support", "some", "vector", "loads", "efficiently", ",", "casting", "the", "load", "to", "a", "smaller", "vector", "of", "larger", "types", "and", "loading", "is", "more", "efficient", ",", "however", ",", "this", "can", "be", "undone", "by", "optimizations", "in", "dag", "combiner", "."], "TS_V_token": ["X86", "X86", "MVT::i1", "MVT::v8i1", "MVT::i8"], "File": "X86ISelLowering (2)8", "Func": "isLoadBitCastBeneficial", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2171, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TPCDAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "return", "false", ";", "}", ""], "natrual_language": ["SelectInlineAsmMemoryOperand", "-", "Select", "the", "specified", "address", "as", "a", "target", "addressing", "mode", ",", "according", "to", "the", "specified", "constraint", "."], "TS_V_token": ["TPC", "TPC"], "File": "TPCISelDAGToDAG", "Func": "SelectInlineAsmMemoryOperand", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2172, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSymbol", "*", "Z80MCInstLower", "::", "GetExternalSymbolSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", "{", "assert", "(", "!", "MO", ".", "getTargetFlags", "(", ")", "&&", "\"Unknown target flag on GV operand\"", ")", ";", "return", "AsmPrinter", ".", "GetExternalSymbolSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "MCSymbol", "for", "the", "specified", "ExternalSymbol", "."], "TS_V_token": ["Z80", "Z80", "\"Unknown target flag on GV operand\""], "File": "Z80MCInstLower1", "Func": "GetExternalSymbolSymbol", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2173, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "process_epilogue", "(", "FILE", "*", "out_file", ",", "rtx", "insn", "ATTRIBUTE_UNUSED", ",", "bool", "unwind", ",", "bool", "frame", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "!", "last_block", ")", "{", "if", "(", "unwind", ")", "fprintf", "(", "out_file", ",", "\"\\t.label_state %d\\n\"", ",", "++", "cfun", "->", "machine", "->", "state_num", ")", ";", "need_copy_state", "=", "true", ";", "}", "if", "(", "unwind", ")", "fprintf", "(", "out_file", ",", "\"\\t.restore sp\\n\"", ")", ";", "}", ""], "natrual_language": ["The", "function", "emits", "unwind", "directives", "for", "the", "start", "of", "an", "epilogue", "."], "TS_V_token": ["ia64", "\"\\t.label_state %d\\n\"", "\"\\t.restore sp\\n\""], "File": "ia64", "Func": "process_epilogue", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2174, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "s390_hard_regno_scratch_ok", "(", "unsigned", "int", "regno", ")", "{", "if", "(", "GENERAL_REGNO_P", "(", "regno", ")", "&&", "!", "call_used_regs", "[", "regno", "]", "&&", "cfun_gpr_save_slot", "(", "regno", ")", "==", "SAVE_SLOT_NONE", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "register", "REGNO", "can", "be", "used", "as", "a", "scratch", "register", "in", "peephole2", "."], "TS_V_token": ["s390"], "File": "s390", "Func": "s390_hard_regno_scratch_ok", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2175, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64FastISel", "::", "fastSelectInstruction", "(", "const", "Instruction", "*", "I", ")", "{", "switch", "(", "I", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Instruction", "::", "Add", ":", "case", "Instruction", "::", "Sub", ":", "return", "selectAddSub", "(", "I", ")", ";", "case", "Instruction", "::", "Mul", ":", "if", "(", "!", "selectBinaryOp", "(", "I", ",", "ISD", "::", "MUL", ")", ")", "return", "selectMul", "(", "I", ")", ";", "return", "true", ";", "case", "Instruction", "::", "SRem", ":", "if", "(", "!", "selectBinaryOp", "(", "I", ",", "ISD", "::", "SREM", ")", ")", "return", "selectRem", "(", "I", ",", "ISD", "::", "SREM", ")", ";", "return", "true", ";", "case", "Instruction", "::", "URem", ":", "if", "(", "!", "selectBinaryOp", "(", "I", ",", "ISD", "::", "UREM", ")", ")", "return", "selectRem", "(", "I", ",", "ISD", "::", "UREM", ")", ";", "return", "true", ";", "case", "Instruction", "::", "Shl", ":", "case", "Instruction", "::", "LShr", ":", "case", "Instruction", "::", "AShr", ":", "return", "selectShift", "(", "I", ")", ";", "case", "Instruction", "::", "And", ":", "case", "Instruction", "::", "Or", ":", "case", "Instruction", "::", "Xor", ":", "return", "selectLogicalOp", "(", "I", ")", ";", "case", "Instruction", "::", "Br", ":", "return", "selectBranch", "(", "I", ")", ";", "case", "Instruction", "::", "IndirectBr", ":", "return", "selectIndirectBr", "(", "I", ")", ";", "case", "Instruction", "::", "BitCast", ":", "if", "(", "!", "FastISel", "::", "selectBitCast", "(", "I", ")", ")", "return", "selectBitCast", "(", "I", ")", ";", "return", "true", ";", "case", "Instruction", "::", "FPToSI", ":", "if", "(", "!", "selectCast", "(", "I", ",", "ISD", "::", "FP_TO_SINT", ")", ")", "return", "selectFPToInt", "(", "I", ",", "true", ")", ";", "return", "true", ";", "case", "Instruction", "::", "FPToUI", ":", "return", "selectFPToInt", "(", "I", ",", "false", ")", ";", "case", "Instruction", "::", "ZExt", ":", "if", "(", "!", "selectCast", "(", "I", ",", "ISD", "::", "ZERO_EXTEND", ")", ")", "return", "selectIntExt", "(", "I", ")", ";", "return", "true", ";", "case", "Instruction", "::", "SExt", ":", "if", "(", "!", "selectCast", "(", "I", ",", "ISD", "::", "SIGN_EXTEND", ")", ")", "return", "selectIntExt", "(", "I", ")", ";", "return", "true", ";", "case", "Instruction", "::", "Trunc", ":", "if", "(", "!", "selectCast", "(", "I", ",", "ISD", "::", "TRUNCATE", ")", ")", "return", "selectTrunc", "(", "I", ")", ";", "return", "true", ";", "case", "Instruction", "::", "FPExt", ":", "return", "selectFPExt", "(", "I", ")", ";", "case", "Instruction", "::", "FPTrunc", ":", "return", "selectFPTrunc", "(", "I", ")", ";", "case", "Instruction", "::", "SIToFP", ":", "if", "(", "!", "selectCast", "(", "I", ",", "ISD", "::", "SINT_TO_FP", ")", ")", "return", "selectIntToFP", "(", "I", ",", "true", ")", ";", "return", "true", ";", "case", "Instruction", "::", "UIToFP", ":", "return", "selectIntToFP", "(", "I", ",", "false", ")", ";", "case", "Instruction", "::", "Load", ":", "return", "selectLoad", "(", "I", ")", ";", "case", "Instruction", "::", "Store", ":", "return", "selectStore", "(", "I", ")", ";", "case", "Instruction", "::", "FCmp", ":", "case", "Instruction", "::", "ICmp", ":", "return", "selectCmp", "(", "I", ")", ";", "case", "Instruction", "::", "Select", ":", "return", "selectSelect", "(", "I", ")", ";", "case", "Instruction", "::", "Ret", ":", "return", "selectRet", "(", "I", ")", ";", "case", "Instruction", "::", "FRem", ":", "return", "selectFRem", "(", "I", ")", ";", "}", "return", "selectOperator", "(", "I", ",", "I", "->", "getOpcode", "(", ")", ")", ";", "(", "void", ")", "&", "CC_AArch64_DarwinPCS_VarArg", ";", "}", ""], "natrual_language": ["This", "method", "is", "called", "by", "target-independent", "code", "when", "the", "normal", "FastISel", "process", "fails", "to", "select", "an", "instruction", "."], "TS_V_token": ["AArch64", "AArch64", "ISD::MUL", "ISD::SREM", "ISD::SREM", "ISD::UREM", "ISD::UREM", "ISD::FP_TO_SINT", "ISD::ZERO_EXTEND", "ISD::SIGN_EXTEND", "ISD::TRUNCATE", "ISD::SINT_TO_FP", "AArch64"], "File": "AArch64FastISel56", "Func": "fastSelectInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2176, "Length": 487, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsRegisterInfo", "::", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "switch", "(", "RC", "->", "getID", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "Mips", "::", "GPR32RegClassID", ":", "case", "Mips", "::", "GPR64RegClassID", ":", "case", "Mips", "::", "DSPRRegClassID", ":", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "Subtarget", ".", "getFrameLowering", "(", ")", ";", "return", "28", "-", "TFI", "->", "hasFP", "(", "MF", ")", ";", "}", "case", "Mips", "::", "FGR32RegClassID", ":", "return", "32", ";", "case", "Mips", "::", "AFGR64RegClassID", ":", "return", "16", ";", "case", "Mips", "::", "FGR64RegClassID", ":", "return", "32", ";", "}", "}", ""], "natrual_language": ["Return", "the", "register", "pressure", "``", "high", "water", "mark", "''", "for", "the", "specific", "register", "class", "."], "TS_V_token": ["Mips", "Mips", "0", "Mips::GPR32RegClassID", "Mips::GPR64RegClassID", "Mips::DSPRRegClassID", "28", "Mips::FGR32RegClassID", "32", "Mips::AFGR64RegClassID", "16", "Mips::FGR64RegClassID", "32"], "File": "MipsRegisterInfo32", "Func": "getRegPressureLimit", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2177, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyCFGSort", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** CFG Sorting **********\\n\"", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "const", "auto", "&", "MLI", "=", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "auto", "&", "MDT", "=", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "MF", ".", "getRegInfo", "(", ")", ".", "invalidateLiveness", "(", ")", ";", "SortBlocks", "(", "MF", ",", "MLI", ",", "MDT", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"********** CFG Sorting **********\\n\"", "\"********** Function: \""], "File": "WebAssemblyCFGSort1", "Func": "runOnMachineFunction", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2178, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "initialize", "(", "Attributor", "&", "A", ")", "override", "{", "Function", "*", "F", "=", "getAssociatedFunction", "(", ")", ";", "CallingConv", "::", "ID", "CC", "=", "F", "->", "getCallingConv", "(", ")", ";", "bool", "CallingConvSupportsAllImplicits", "=", "(", "CC", "!=", "CallingConv", "::", "AMDGPU_Gfx", ")", ";", "if", "(", "F", "->", "isIntrinsic", "(", ")", ")", "{", "indicatePessimisticFixpoint", "(", ")", ";", "return", ";", "}", "if", "(", "AMDGPU", "::", "isGraphics", "(", "F", "->", "getCallingConv", "(", ")", ")", ")", "{", "indicatePessimisticFixpoint", "(", ")", ";", "return", ";", "}", "for", "(", "StringRef", "Attr", ":", "ImplicitAttrNames", ")", "{", "if", "(", "F", "->", "hasFnAttribute", "(", "Attr", ")", ")", "Attributes", ".", "insert", "(", "Attr", ")", ";", "}", "if", "(", "CallingConvSupportsAllImplicits", "&&", "F", "->", "hasAddressTaken", "(", "nullptr", ",", "true", ",", "true", ",", "true", ")", ")", "{", "for", "(", "StringRef", "AttrName", ":", "ImplicitAttrNames", ")", "{", "Attributes", ".", "insert", "(", "AttrName", ")", ";", "}", "}", "}", ""], "natrual_language": ["Initialize", "the", "strategy", "after", "building", "the", "DAG", "for", "a", "new", "region", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU::isGraphics"], "File": "AMDGPUAttributor7", "Func": "initialize", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2179, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZShortenInst", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "if", "(", "skipFunction", "(", "F", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "const", "SystemZSubtarget", "&", "ST", "=", "F", ".", "getSubtarget", "<", "SystemZSubtarget", ">", "(", ")", ";", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "ST", ".", "getRegisterInfo", "(", ")", ";", "LiveRegs", ".", "init", "(", "*", "TRI", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "&", "MBB", ":", "F", ")", "Changed", "|=", "processBlock", "(", "MBB", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ"], "File": "SystemZShortenInst (2)1", "Func": "runOnMachineFunction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2180, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MVT", "getScalarShiftAmountTy", "(", "EVT", "LHSTy", ")", "const", "override", "{", "return", "MVT", "::", "i32", ";", "}", ""], "natrual_language": ["Return", "the", "type", "to", "use", "for", "a", "scalar", "shift", "opcode", ",", "given", "the", "shifted", "amount", "type", "."], "TS_V_token": ["Mips", "MVT::i32"], "File": "MipsISelLowering10", "Func": "getScalarShiftAmountTy", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2181, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MSP430RegisterInfo", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "(", "NoFramePointerElim", "||", "MF", ".", "getFrameInfo", "(", ")", "->", "hasVarSizedObjects", "(", ")", "||", "MFI", "->", "isFrameAddressTaken", "(", ")", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["MSP430", "MSP430"], "File": "MSP430RegisterInfo25", "Func": "hasFP", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2182, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "unsigned", "i", "=", "0", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "\"Instr doesn't have FrameIndex operand!\"", ")", ";", "}", "DEBUG", "(", "errs", "(", ")", "<<", "\"\\nFunction : \"", "<<", "MF", ".", "getFunction", "(", ")", "->", "getName", "(", ")", "<<", "\"\\n\"", ";", "errs", "(", ")", "<<", "\"<--------->\\n\"", "<<", "MI", ")", ";", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "i", ")", ".", "getIndex", "(", ")", ";", "int", "stackSize", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", ";", "int", "spOffset", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectOffset", "(", "FrameIndex", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "\"FrameIndex : \"", "<<", "FrameIndex", "<<", "\"\\n\"", "<<", "\"spOffset : \"", "<<", "spOffset", "<<", "\"\\n\"", "<<", "\"stackSize : \"", "<<", "stackSize", "<<", "\"\\n\"", ")", ";", "int", "Offset", "=", "(", "(", "spOffset", "<", "0", ")", "?", "(", "stackSize", "+", "(", "-", "(", "spOffset", "+", "4", ")", ")", ")", ":", "(", "spOffset", ")", ")", ";", "Offset", "+=", "MI", ".", "getOperand", "(", "i", "-", "1", ")", ".", "getImm", "(", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "\"Offset : \"", "<<", "Offset", "<<", "\"\\n\"", "<<", "\"<--------->\\n\"", ")", ";", "unsigned", "NewReg", "=", "0", ";", "int", "NewImm", "=", "0", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "bool", "ATUsed", ";", "unsigned", "OrigReg", "=", "getFrameRegister", "(", "MF", ")", ";", "int", "OrigImm", "=", "Offset", ";", "if", "(", "OrigImm", "<", "0x8000", "&&", "OrigImm", ">=", "-", "0x8000", ")", "{", "NewReg", "=", "OrigReg", ";", "NewImm", "=", "OrigImm", ";", "ATUsed", "=", "false", ";", "}", "else", "{", "const", "TargetInstrInfo", "*", "TII", "=", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "DL", "=", "II", "->", "getDebugLoc", "(", ")", ";", "int", "ImmLo", "=", "OrigImm", "&", "0xffff", ";", "int", "ImmHi", "=", "(", "(", "(", "unsigned", ")", "OrigImm", "&", "0xffff0000", ")", ">>", "16", ")", "+", "(", "(", "OrigImm", "&", "0x8000", ")", "!=", "0", ")", ";", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "TII", "->", "get", "(", "Mips", "::", "NOAT", ")", ")", ";", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "TII", "->", "get", "(", "Mips", "::", "LUi", ")", ",", "Mips", "::", "AT", ")", ".", "addImm", "(", "ImmHi", ")", ";", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "TII", "->", "get", "(", "Mips", "::", "ADDu", ")", ",", "Mips", "::", "AT", ")", ".", "addReg", "(", "OrigReg", ")", ".", "addReg", "(", "Mips", "::", "AT", ")", ";", "NewReg", "=", "Mips", "::", "AT", ";", "NewImm", "=", "ImmLo", ";", "ATUsed", "=", "true", ";", "}", "if", "(", "ATUsed", ")", "BuildMI", "(", "MBB", ",", "++", "II", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "Mips", "::", "ATMACRO", ")", ")", ";", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "NewReg", ",", "false", ")", ";", "MI", ".", "getOperand", "(", "i", "-", "1", ")", ".", "ChangeToImmediate", "(", "NewImm", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["Mips", "Mips", "0", "\"Instr doesn't have FrameIndex operand!\"", "\"\\nFunction : \"", "\"\\n\"", "\"<--------->\\n\"", "\"FrameIndex : \"", "\"\\n\"", "\"spOffset : \"", "\"\\n\"", "\"stackSize : \"", "\"\\n\"", "0", "4", "1", "\"Offset : \"", "\"\\n\"", "\"<--------->\\n\"", "0", "0", "0x8000", "0x8000", "0xffff", "0xffff0000", "16", "0x8000", "0", "Mips::NOAT", "Mips::LUi", "Mips::AT", "Mips::ADDu", "Mips::AT", "Mips::AT", "Mips::AT", "Mips::ATMACRO", "1"], "File": "MipsRegisterInfo14", "Func": "eliminateFrameIndex", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2183, "Length": 502, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isDef", "(", "long", "pos", ")", "const", "{", "return", "defs", ".", "test", "(", "pos", ")", ";", "}", ""], "natrual_language": ["Tests", "if", "this", "MemDepResult", "represents", "a", "query", "that", "is", "an", "instruction", "definition", "dependency", "."], "TS_V_token": ["Patmos"], "File": "RAInfo", "Func": "isDef", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 2184, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "AArch64RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "AArch64", "::", "SP", ")", ";", "Reserved", ".", "set", "(", "AArch64", "::", "XZR", ")", ";", "Reserved", ".", "set", "(", "AArch64", "::", "WSP", ")", ";", "Reserved", ".", "set", "(", "AArch64", "::", "WZR", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", "||", "STI", "->", "isTargetDarwin", "(", ")", ")", "{", "Reserved", ".", "set", "(", "AArch64", "::", "FP", ")", ";", "Reserved", ".", "set", "(", "AArch64", "::", "W29", ")", ";", "}", "if", "(", "STI", "->", "isTargetDarwin", "(", ")", "||", "ReserveX18", ")", "{", "Reserved", ".", "set", "(", "AArch64", "::", "X18", ")", ";", "Reserved", ".", "set", "(", "AArch64", "::", "W18", ")", ";", "}", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "{", "Reserved", ".", "set", "(", "AArch64", "::", "X19", ")", ";", "Reserved", ".", "set", "(", "AArch64", "::", "W19", ")", ";", "}", "return", "Reserved", ";", "}", ""], "natrual_language": ["getReservedRegs", "-", "Returns", "a", "bitset", "indexed", "by", "physical", "register", "number", "indicating", "if", "a", "register", "is", "a", "special", "register", "that", "has", "particular", "uses", "and", "should", "be", "considered", "unavailable", "at", "all", "times", ",", "e.g", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::SP", "AArch64::XZR", "AArch64::WSP", "AArch64::WZR", "AArch64::FP", "AArch64::W29", "AArch64::X18", "AArch64::W18", "AArch64::X19", "AArch64::W19"], "File": "AArch64RegisterInfo63", "Func": "getReservedRegs", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2185, "Length": 167, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "MSP430Disassembler", "::", "getInstruction", "(", "MCInst", "&", "MI", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "CStream", ")", "const", "{", "if", "(", "Bytes", ".", "size", "(", ")", "<", "2", ")", "{", "Size", "=", "0", ";", "return", "MCDisassembler", "::", "Fail", ";", "}", "uint64_t", "Insn", "=", "support", "::", "endian", "::", "read16le", "(", "Bytes", ".", "data", "(", ")", ")", ";", "unsigned", "Opc", "=", "fieldFromInstruction", "(", "Insn", ",", "13", ",", "3", ")", ";", "switch", "(", "Opc", ")", "{", "case", "0", ":", "return", "getInstructionII", "(", "MI", ",", "Size", ",", "Bytes", ",", "Address", ",", "CStream", ")", ";", "case", "1", ":", "return", "getInstructionCJ", "(", "MI", ",", "Size", ",", "Bytes", ",", "Address", ",", "CStream", ")", ";", "default", ":", "return", "getInstructionI", "(", "MI", ",", "Size", ",", "Bytes", ",", "Address", ",", "CStream", ")", ";", "}", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["MSP430", "MSP430", "2", "0", "support::endian", "13", "3", "0", "1"], "File": "MSP430Disassembler1", "Func": "getInstruction", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2186, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMPassConfig", "::", "addPreEmitPass2", "(", ")", "{", "addPass", "(", "createARMConstantIslandPass", "(", ")", ")", ";", "addPass", "(", "createARMLowOverheadLoopsPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getTargetTriple", "(", ")", ".", "isOSWindows", "(", ")", ")", "{", "addPass", "(", "createCFGuardLongjmpPass", "(", ")", ")", ";", "addPass", "(", "createEHContGuardCatchretPass", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["Targets", "may", "add", "passes", "immediately", "before", "machine", "code", "is", "emitted", "in", "this", "callback", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM"], "File": "ARMTargetMachine1", "Func": "addPreEmitPass2", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2187, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_emit_ldrd_pop", "(", "unsigned", "long", "saved_regs_mask", ")", "{", "int", "j", "=", "0", ";", "int", "offset", "=", "0", ";", "rtx", "par", "=", "NULL_RTX", ";", "rtx", "dwarf", "=", "NULL_RTX", ";", "rtx", "tmp", ",", "mem", ";", "gcc_assert", "(", "!", "(", "(", "saved_regs_mask", "&", "(", "1", "<<", "SP_REGNUM", ")", ")", ")", ")", ";", "j", "=", "0", ";", "while", "(", "j", "<=", "LAST_ARM_REGNUM", ")", "if", "(", "saved_regs_mask", "&", "(", "1", "<<", "j", ")", ")", "{", "if", "(", "(", "j", "%", "2", ")", "==", "0", "&&", "(", "saved_regs_mask", "&", "(", "1", "<<", "(", "j", "+", "1", ")", ")", ")", "&&", "(", "j", "+", "1", ")", "!=", "PC_REGNUM", ")", "{", "if", "(", "offset", ">", "0", ")", "mem", "=", "gen_frame_mem", "(", "DImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "else", "mem", "=", "gen_frame_mem", "(", "DImode", ",", "stack_pointer_rtx", ")", ";", "tmp", "=", "gen_rtx_SET", "(", "gen_rtx_REG", "(", "DImode", ",", "j", ")", ",", "mem", ")", ";", "tmp", "=", "emit_insn", "(", "tmp", ")", ";", "RTX_FRAME_RELATED_P", "(", "tmp", ")", "=", "1", ";", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "gen_rtx_REG", "(", "SImode", ",", "j", ")", ",", "NULL_RTX", ")", ";", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "gen_rtx_REG", "(", "SImode", ",", "j", "+", "1", ")", ",", "dwarf", ")", ";", "REG_NOTES", "(", "tmp", ")", "=", "dwarf", ";", "offset", "+=", "8", ";", "j", "+=", "2", ";", "}", "else", "if", "(", "j", "!=", "PC_REGNUM", ")", "{", "if", "(", "offset", ">", "0", ")", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "else", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "stack_pointer_rtx", ")", ";", "tmp", "=", "gen_rtx_SET", "(", "gen_rtx_REG", "(", "SImode", ",", "j", ")", ",", "mem", ")", ";", "tmp", "=", "emit_insn", "(", "tmp", ")", ";", "RTX_FRAME_RELATED_P", "(", "tmp", ")", "=", "1", ";", "REG_NOTES", "(", "tmp", ")", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "gen_rtx_REG", "(", "SImode", ",", "j", ")", ",", "NULL_RTX", ")", ";", "offset", "+=", "4", ";", "j", "+=", "1", ";", "}", "else", "j", "++", ";", "}", "else", "j", "++", ";", "if", "(", "offset", ">", "0", ")", "{", "tmp", "=", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "tmp", "=", "emit_insn", "(", "tmp", ")", ";", "arm_add_cfa_adjust_cfa_note", "(", "tmp", ",", "offset", ",", "stack_pointer_rtx", ",", "stack_pointer_rtx", ")", ";", "offset", "=", "0", ";", "}", "if", "(", "saved_regs_mask", "&", "(", "1", "<<", "PC_REGNUM", ")", ")", "{", "par", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "2", ")", ")", ";", "XVECEXP", "(", "par", ",", "0", ",", "0", ")", "=", "ret_rtx", ";", "tmp", "=", "gen_rtx_SET", "(", "gen_rtx_REG", "(", "SImode", ",", "PC_REGNUM", ")", ",", "gen_frame_mem", "(", "SImode", ",", "gen_rtx_POST_INC", "(", "SImode", ",", "stack_pointer_rtx", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "tmp", ")", "=", "1", ";", "XVECEXP", "(", "par", ",", "0", ",", "1", ")", "=", "tmp", ";", "par", "=", "emit_jump_insn", "(", "par", ")", ";", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "gen_rtx_REG", "(", "SImode", ",", "PC_REGNUM", ")", ",", "NULL_RTX", ")", ";", "REG_NOTES", "(", "par", ")", "=", "dwarf", ";", "arm_add_cfa_adjust_cfa_note", "(", "par", ",", "UNITS_PER_WORD", ",", "stack_pointer_rtx", ",", "stack_pointer_rtx", ")", ";", "}", "}", ""], "natrual_language": ["LDRD", "in", "ARM", "mode", "needs", "consecutive", "registers", "as", "operands", ".", "This", "function", "emits", "LDRD", "whenever", "possible", ",", "otherwise", "it", "emits", "single-word", "loads", ".", "It", "uses", "offset", "addressing", "and", "then", "generates", "one", "separate", "stack", "udpate", ".", "This", "provides", "more", "scheduling", "freedom", ",", "compared", "to", "writeback", "on", "every", "load", ".", "However", ",", "if", "the", "function", "returns", "using", "load", "into", "PC", "directly", "(", "i.e.", ",", "if", "PC", "is", "in", "SAVED_REGS_MASK", ")", ",", "the", "stack", "needs", "to", "be", "updated", "before", "the", "last", "load", ".", "TODO", ":", "Add", "a", "peephole", "optimization", "to", "recognize", "the", "new", "epilogue", "sequence", "as", "an", "LDM", "instruction", "whenever", "possible", ".", "TODO", ":", "Add", "peephole", "optimization", "to", "merge", "the", "load", "at", "stack-offset", "zero", "with", "the", "stack", "update", "instruction", "using", "load", "with", "writeback", "in", "post-index", "addressing", "mode", "."], "TS_V_token": ["arm", "0", "0", "1", "0", "1", "2", "0", "1", "1", "1", "0", "1", "1", "8", "2", "0", "1", "4", "1", "0", "0", "1", "2", "0", "0", "1", "0", "1"], "File": "arm", "Func": "arm_emit_ldrd_pop", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2188, "Length": 484, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "OS", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "{", "if", "(", "ExtraCode", "[", "1", "]", "!=", "0", ")", "return", "true", ";", "switch", "(", "ExtraCode", "[", "0", "]", ")", "{", "default", ":", "return", "AsmPrinter", "::", "PrintAsmOperand", "(", "MI", ",", "OpNo", ",", "AsmVariant", ",", "ExtraCode", ",", "OS", ")", ";", "case", "'c'", ":", "printOperand", "(", "MI", ",", "OpNo", ",", "OS", ")", ";", "return", "false", ";", "case", "'L'", ":", "case", "'H'", ":", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "if", "(", "!", "MO", ".", "isReg", "(", ")", ")", "return", "true", ";", "unsigned", "RegNumber", "=", "MO", ".", "getReg", "(", ")", ";", "if", "(", "Hexagon", "::", "DoubleRegsRegClass", ".", "contains", "(", "RegNumber", ")", ")", "RegNumber", "=", "TRI", "->", "getSubReg", "(", "RegNumber", ",", "ExtraCode", "[", "0", "]", "==", "'L'", "?", "Hexagon", "::", "isub_lo", ":", "Hexagon", "::", "isub_hi", ")", ";", "OS", "<<", "HexagonInstPrinter", "::", "getRegisterName", "(", "RegNumber", ")", ";", "return", "false", ";", "}", "case", "'I'", ":", "if", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isImm", "(", ")", ")", "OS", "<<", "\"i\"", ";", "return", "false", ";", "}", "}", "printOperand", "(", "MI", ",", "OpNo", ",", "OS", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["Hexagon", "Hexagon", "0", "1", "0", "0", "Hexagon::DoubleRegsRegClass", "0", "Hexagon::isub_lo", "Hexagon::isub_hi", "Hexagon", "\"i\""], "File": "HexagonAsmPrinter", "Func": "PrintAsmOperand", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2189, "Length": 246, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arc_ccfsm_branch_deleted_p", "(", ")", "{", "if", "(", "arc_ccfsm_state", "==", "1", "||", "arc_ccfsm_state", "==", "2", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["See", "if", "the", "current", "insn", ",", "which", "is", "a", "conditional", "branch", ",", "is", "to", "be", "deleted", "."], "TS_V_token": ["arc", "1", "2", "1", "0"], "File": "arc2", "Func": "arc_ccfsm_branch_deleted_p", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2190, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isTruncateFree", "(", "MVT", "VT1", ",", "MVT", "VT2", ")", "const", "{", "if", "(", "!", "VT1", ".", "isInteger", "(", ")", "||", "!", "VT2", ".", "isInteger", "(", ")", ")", "return", "false", ";", "unsigned", "NumBits1", "=", "VT1", ".", "getSizeInBits", "(", ")", ";", "unsigned", "NumBits2", "=", "VT2", ".", "getSizeInBits", "(", ")", ";", "if", "(", "NumBits1", "<=", "NumBits2", ")", "return", "false", ";", "return", "Subtarget", "->", "is64Bit", "(", ")", "||", "NumBits1", "<", "64", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "'s", "free", "to", "truncate", "a", "value", "of", "type", "Ty1", "to", "type", "Ty2", "."], "TS_V_token": ["X86", "X86", "64"], "File": "X86ISelLowering160", "Func": "isTruncateFree", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2191, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "frv_setup_incoming_varargs", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "enum", "machine_mode", "mode", ",", "tree", "type", "ATTRIBUTE_UNUSED", ",", "int", "*", "pretend_size", ",", "int", "second_time", ")", "{", "if", "(", "TARGET_DEBUG_ARG", ")", "fprintf", "(", "stderr", ",", "\"setup_vararg: words = %2d, mode = %4s, pretend_size = %d, second_time = %d\\n\"", ",", "*", "cum", ",", "GET_MODE_NAME", "(", "mode", ")", ",", "*", "pretend_size", ",", "second_time", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_SETUP_INCOMING_VARARGS", "."], "TS_V_token": ["frv", "\"setup_vararg: words = %2d, mode = %4s, pretend_size = %d, second_time = %d\\n\""], "File": "frv2", "Func": "frv_setup_incoming_varargs", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 2192, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "VariantKind", "getKind", "(", ")", "const", "{", "return", "Kind", ";", "}", ""], "natrual_language": ["Returns", "the", "Kind", "of", "lane", "offset", "."], "TS_V_token": ["MOS"], "File": "MOSMCExpr", "Func": "getKind", "Target": "MOS", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2193, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "unique_ptr", "<", "MCObjectWriter", ">", "createObjectWriter", "(", "raw_pwrite_stream", "&", "OS", ")", "const", "override", "{", "return", "createAArch64WinCOFFObjectWriter", "(", "OS", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64AsmBackend32", "Func": "createObjectWriter", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2194, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_save_reg", "(", "unsigned", "int", "regno", ",", "bool", "maybe_eh_return", ")", "{", "if", "(", "regno", "==", "REAL_PIC_OFFSET_TABLE_REGNUM", "&&", "pic_offset_table_rtx", ")", "{", "if", "(", "ix86_use_pseudo_pic_reg", "(", ")", ")", "{", "if", "(", "!", "TARGET_64BIT", "&&", "flag_pic", "&&", "crtl", "->", "profile", ")", "return", "true", ";", "}", "else", "if", "(", "df_regs_ever_live_p", "(", "REAL_PIC_OFFSET_TABLE_REGNUM", ")", "||", "crtl", "->", "profile", "||", "crtl", "->", "calls_eh_return", "||", "crtl", "->", "uses_const_pool", "||", "cfun", "->", "has_nonlocal_label", ")", "return", "ix86_select_alt_pic_regnum", "(", ")", "==", "INVALID_REGNUM", ";", "}", "if", "(", "crtl", "->", "calls_eh_return", "&&", "maybe_eh_return", ")", "{", "unsigned", "i", ";", "for", "(", "i", "=", "0", ";", ";", "i", "++", ")", "{", "unsigned", "test", "=", "EH_RETURN_DATA_REGNO", "(", "i", ")", ";", "if", "(", "test", "==", "INVALID_REGNUM", ")", "break", ";", "if", "(", "test", "==", "regno", ")", "return", "true", ";", "}", "}", "if", "(", "crtl", "->", "drap_reg", "&&", "regno", "==", "REGNO", "(", "crtl", "->", "drap_reg", ")", "&&", "!", "cfun", "->", "machine", "->", "no_drap_save_restore", ")", "return", "true", ";", "return", "(", "df_regs_ever_live_p", "(", "regno", ")", "&&", "!", "call_used_regs", "[", "regno", "]", "&&", "!", "fixed_regs", "[", "regno", "]", "&&", "(", "regno", "!=", "HARD_FRAME_POINTER_REGNUM", "||", "!", "frame_pointer_needed", ")", ")", ";", "}", ""], "natrual_language": ["Return", "1", "if", "we", "need", "to", "save", "REGNO", "."], "TS_V_token": ["i386", "0"], "File": "i3864", "Func": "ix86_save_reg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2195, "Length": 180, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arc_split_mov_const", "(", "rtx", "*", "operands", ")", "{", "unsigned", "HOST_WIDE_INT", "ival", ";", "HOST_WIDE_INT", "shimm", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "operands", "[", "0", "]", ")", ";", "gcc_assert", "(", "CONST_INT_P", "(", "operands", "[", "1", "]", ")", ")", ";", "ival", "=", "INTVAL", "(", "operands", "[", "1", "]", ")", "&", "0xffffffff", ";", "if", "(", "TARGET_BARREL_SHIFTER", "&&", "TARGET_V2", "&&", "(", "(", "ival", "&", "~", "0x3f000000", ")", "==", "0", ")", ")", "{", "shimm", "=", "(", "ival", ">>", "24", ")", "&", "0x3f", ";", "emit_insn", "(", "gen_rtx_SET", "(", "operands", "[", "0", "]", ",", "gen_rtx_ROTATERT", "(", "mode", ",", "GEN_INT", "(", "shimm", ")", ",", "GEN_INT", "(", "8", ")", ")", ")", ")", ";", "return", "true", ";", "}", "if", "(", "TARGET_BARREL_SHIFTER", "&&", "TARGET_V2", "&&", "(", "(", "ival", "&", "~", "0x3f00", ")", "==", "0", ")", ")", "{", "shimm", "=", "(", "ival", ">>", "8", ")", "&", "0x3f", ";", "emit_insn", "(", "gen_rtx_SET", "(", "operands", "[", "0", "]", ",", "gen_rtx_ASHIFT", "(", "mode", ",", "GEN_INT", "(", "shimm", ")", ",", "GEN_INT", "(", "8", ")", ")", ")", ")", ";", "return", "true", ";", "}", "if", "(", "TARGET_BARREL_SHIFTER", "&&", "TARGET_V2", "&&", "(", "(", "ival", "&", "~", "0x3f0000", ")", "==", "0", ")", ")", "{", "shimm", "=", "(", "ival", ">>", "16", ")", "&", "0x3f", ";", "emit_insn", "(", "gen_rtx_SET", "(", "operands", "[", "0", "]", ",", "gen_rtx_ASHIFT", "(", "mode", ",", "GEN_INT", "(", "shimm", ")", ",", "GEN_INT", "(", "16", ")", ")", ")", ")", ";", "return", "true", ";", "}", "if", "(", "(", "(", "ival", ">>", "(", "__builtin_ffs", "(", "ival", ")", "-", "1", ")", ")", "&", "0xffffff00", ")", "==", "0", "&&", "TARGET_BARREL_SHIFTER", ")", "{", "HOST_WIDE_INT", "shift", "=", "__builtin_ffs", "(", "ival", ")", ";", "shimm", "=", "(", "ival", ">>", "(", "shift", "-", "1", ")", ")", "&", "0xff", ";", "emit_insn", "(", "gen_rtx_SET", "(", "operands", "[", "0", "]", ",", "GEN_INT", "(", "shimm", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "operands", "[", "0", "]", ",", "gen_rtx_ASHIFT", "(", "mode", ",", "operands", "[", "0", "]", ",", "GEN_INT", "(", "shift", "-", "1", ")", ")", ")", ")", ";", "return", "true", ";", "}", "if", "(", "(", "ival", "&", "~", "0x8000001f", ")", "==", "0", ")", "{", "shimm", "=", "(", "ival", "*", "2", "+", "1", ")", "&", "0x3f", ";", "emit_insn", "(", "gen_rtx_SET", "(", "operands", "[", "0", "]", ",", "gen_rtx_ROTATERT", "(", "mode", ",", "GEN_INT", "(", "shimm", ")", ",", "const1_rtx", ")", ")", ")", ";", "return", "true", ";", "}", "if", "(", "IS_POWEROF2_P", "(", "ival", "+", "1", ")", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "operands", "[", "0", "]", ",", "constm1_rtx", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "operands", "[", "0", "]", ",", "gen_rtx_AND", "(", "mode", ",", "operands", "[", "0", "]", ",", "GEN_INT", "(", "ival", ")", ")", ")", ")", ";", "return", "true", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Split", "a", "mov", "with", "long", "immediate", "instruction", "into", "smaller", ",", "size", "friendly", "instructions", "."], "TS_V_token": ["arc", "0", "1", "1", "0xffffffff", "0x3f000000", "0", "24", "0x3f", "0", "8", "0x3f00", "0", "8", "0x3f", "0", "8", "0x3f0000", "0", "16", "0x3f", "0", "16", "1", "0xffffff00", "0", "1", "0xff", "0", "0", "0", "1", "0x8000001f", "0", "2", "1", "0x3f", "0", "1", "0", "0", "0"], "File": "arc", "Func": "arc_split_mov_const", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2196, "Length": 426, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIWholeQuadMode", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "MF", ".", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", "!=", "CallingConv", "::", "AMDGPU_PS", ")", "return", "false", ";", "Instructions", ".", "clear", "(", ")", ";", "Blocks", ".", "clear", "(", ")", ";", "ExecExports", ".", "clear", "(", ")", ";", "LiveMaskQueries", ".", "clear", "(", ")", ";", "const", "SISubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "SISubtarget", ">", "(", ")", ";", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "&", "TII", "->", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "char", "GlobalFlags", "=", "analyzeFunction", "(", "MF", ")", ";", "if", "(", "!", "(", "GlobalFlags", "&", "StateWQM", ")", ")", "{", "lowerLiveMaskQueries", "(", "AMDGPU", "::", "EXEC", ")", ";", "return", "!", "LiveMaskQueries", ".", "empty", "(", ")", ";", "}", "unsigned", "LiveMaskReg", "=", "0", ";", "{", "MachineBasicBlock", "&", "Entry", "=", "MF", ".", "front", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "EntryMI", "=", "Entry", ".", "getFirstNonPHI", "(", ")", ";", "if", "(", "GlobalFlags", "&", "StateExact", "||", "!", "LiveMaskQueries", ".", "empty", "(", ")", ")", "{", "LiveMaskReg", "=", "MRI", "->", "createVirtualRegister", "(", "&", "AMDGPU", "::", "SReg_64RegClass", ")", ";", "BuildMI", "(", "Entry", ",", "EntryMI", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "AMDGPU", "::", "COPY", ")", ",", "LiveMaskReg", ")", ".", "addReg", "(", "AMDGPU", "::", "EXEC", ")", ";", "}", "if", "(", "GlobalFlags", "==", "StateWQM", ")", "{", "BuildMI", "(", "Entry", ",", "EntryMI", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "AMDGPU", "::", "S_WQM_B64", ")", ",", "AMDGPU", "::", "EXEC", ")", ".", "addReg", "(", "AMDGPU", "::", "EXEC", ")", ";", "lowerLiveMaskQueries", "(", "LiveMaskReg", ")", ";", "return", "true", ";", "}", "}", "lowerLiveMaskQueries", "(", "LiveMaskReg", ")", ";", "for", "(", "const", "auto", "&", "BII", ":", "Blocks", ")", "processBlock", "(", "const_cast", "<", "MachineBasicBlock", "&", ">", "(", "*", "BII", ".", "first", ")", ",", "LiveMaskReg", ",", "BII", ".", "first", "==", "&", "*", "MF", ".", "begin", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU", "SI", "SI", "AMDGPU::EXEC", "0", "AMDGPU::SReg_64RegClass", "AMDGPU::COPY", "AMDGPU::EXEC", "AMDGPU::S_WQM_B64", "AMDGPU::EXEC", "AMDGPU::EXEC"], "File": "SIWholeQuadMode28", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2197, "Length": 305, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "s390_pass_by_reference", "(", "cumulative_args_t", ",", "const", "function_arg_info", "&", "arg", ")", "{", "int", "size", "=", "s390_function_arg_size", "(", "arg", ".", "mode", ",", "arg", ".", "type", ")", ";", "if", "(", "s390_function_arg_vector", "(", "arg", ".", "mode", ",", "arg", ".", "type", ")", ")", "return", "false", ";", "if", "(", "size", ">", "8", ")", "return", "true", ";", "if", "(", "tree", "type", "=", "arg", ".", "type", ")", "{", "if", "(", "AGGREGATE_TYPE_P", "(", "type", ")", "&&", "exact_log2", "(", "size", ")", "<", "0", ")", "return", "true", ";", "if", "(", "TREE_CODE", "(", "type", ")", "==", "COMPLEX_TYPE", "||", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "1", "if", "a", "function", "argument", "of", "type", "TYPE", "and", "mode", "MODE", "is", "to", "be", "passed", "by", "reference", ".", "The", "ABI", "specifies", "that", "only", "structures", "of", "size", "1", ",", "2", ",", "4", ",", "or", "8", "bytes", "are", "passed", "by", "value", ",", "all", "other", "structures", "(", "and", "complex", "numbers", ")", "are", "passed", "by", "reference", "."], "TS_V_token": ["s390", "8", "0"], "File": "s390", "Func": "s390_pass_by_reference", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2198, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCSubtarget", "::", "overrideSchedPolicy", "(", "MachineSchedPolicy", "&", "Policy", ",", "unsigned", "NumRegionInstrs", ")", "const", "{", "if", "(", "needsAggressiveScheduling", "(", "DarwinDirective", ")", ")", "{", "Policy", ".", "OnlyTopDown", "=", "false", ";", "Policy", ".", "OnlyBottomUp", "=", "false", ";", "}", "Policy", ".", "ShouldTrackPressure", "=", "true", ";", "}", ""], "natrual_language": ["Override", "generic", "scheduling", "policy", "within", "a", "region", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCSubtarget47", "Func": "overrideSchedPolicy", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2199, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "toc_relative_expr_p", "(", "const_rtx", "op", ",", "bool", "strict", ",", "const_rtx", "*", "tocrel_base_ret", ",", "const_rtx", "*", "tocrel_offset_ret", ")", "{", "if", "(", "!", "TARGET_TOC", ")", "return", "false", ";", "if", "(", "TARGET_CMODEL", "!=", "CMODEL_SMALL", ")", "{", "if", "(", "strict", "&&", "!", "(", "GET_CODE", "(", "op", ")", "==", "LO_SUM", "&&", "REG_P", "(", "XEXP", "(", "op", ",", "0", ")", ")", "&&", "INT_REG_OK_FOR_BASE_P", "(", "XEXP", "(", "op", ",", "0", ")", ",", "strict", ")", ")", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "LO_SUM", ")", "op", "=", "XEXP", "(", "op", ",", "1", ")", ";", "}", "const_rtx", "tocrel_base", "=", "op", ";", "const_rtx", "tocrel_offset", "=", "const0_rtx", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "PLUS", "&&", "add_cint_operand", "(", "XEXP", "(", "op", ",", "1", ")", ",", "GET_MODE", "(", "op", ")", ")", ")", "{", "tocrel_base", "=", "XEXP", "(", "op", ",", "0", ")", ";", "tocrel_offset", "=", "XEXP", "(", "op", ",", "1", ")", ";", "}", "if", "(", "tocrel_base_ret", ")", "*", "tocrel_base_ret", "=", "tocrel_base", ";", "if", "(", "tocrel_offset_ret", ")", "*", "tocrel_offset_ret", "=", "tocrel_offset", ";", "return", "(", "GET_CODE", "(", "tocrel_base", ")", "==", "UNSPEC", "&&", "XINT", "(", "tocrel_base", ",", "1", ")", "==", "UNSPEC_TOCREL", "&&", "REG_P", "(", "XVECEXP", "(", "tocrel_base", ",", "0", ",", "1", ")", ")", "&&", "REGNO", "(", "XVECEXP", "(", "tocrel_base", ",", "0", ",", "1", ")", ")", "==", "TOC_REGISTER", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OP", "is", "a", "toc", "pointer", "relative", "address", "(", "the", "output", "of", "create_TOC_reference", ")", ".", "If", "STRICT", ",", "do", "not", "match", "high", "part", "or", "non-split", "-mcmodel=large/medium", "toc", "pointer", "relative", "addresses", "."], "TS_V_token": ["rs6000", "0", "0", "1", "1", "0", "1", "1", "0", "1", "0", "1"], "File": "rs6000", "Func": "toc_relative_expr_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2200, "Length": 209, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "struct", "xlogue_layout", "&", "xlogue_layout", "::", "get_instance", "(", ")", "{", "enum", "xlogue_stub_sets", "stub_set", ";", "bool", "aligned_plus_8", "=", "cfun", "->", "machine", "->", "call_ms2sysv_pad_in", ";", "if", "(", "stack_realign_fp", ")", "stub_set", "=", "XLOGUE_SET_HFP_ALIGNED_OR_REALIGN", ";", "else", "if", "(", "frame_pointer_needed", ")", "stub_set", "=", "aligned_plus_8", "?", "XLOGUE_SET_HFP_ALIGNED_PLUS_8", ":", "XLOGUE_SET_HFP_ALIGNED_OR_REALIGN", ";", "else", "stub_set", "=", "aligned_plus_8", "?", "XLOGUE_SET_ALIGNED_PLUS_8", ":", "XLOGUE_SET_ALIGNED", ";", "return", "s_instances", "[", "stub_set", "]", ";", "}", ""], "natrual_language": ["Return", "an", "appropriate", "const", "instance", "of", "xlogue_layout", "based", "upon", "values", "in", "cfun-", ">", "machine", "and", "crtl", "."], "TS_V_token": ["i386"], "File": "i3867", "Func": "get_instance", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2201, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "R600TargetLowering", "::", "getSetCCResultType", "(", "LLVMContext", "&", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isVector", "(", ")", ")", "return", "MVT", "::", "i32", ";", "return", "VT", ".", "changeVectorElementTypeToInteger", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["R600", "MVT::i32"], "File": "R600ISelLowering", "Func": "getSetCCResultType", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2202, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "allocateSpecialInputVGPRs", "(", "CCState", "&", "CCInfo", ",", "MachineFunction", "&", "MF", ",", "const", "SIRegisterInfo", "&", "TRI", ",", "SIMachineFunctionInfo", "&", "Info", ")", "{", "if", "(", "Info", ".", "hasWorkItemIDX", "(", ")", ")", "Info", ".", "setWorkItemIDX", "(", "allocateVGPR32Input", "(", "CCInfo", ")", ")", ";", "if", "(", "Info", ".", "hasWorkItemIDY", "(", ")", ")", "Info", ".", "setWorkItemIDY", "(", "allocateVGPR32Input", "(", "CCInfo", ")", ")", ";", "if", "(", "Info", ".", "hasWorkItemIDZ", "(", ")", ")", "Info", ".", "setWorkItemIDZ", "(", "allocateVGPR32Input", "(", "CCInfo", ")", ")", ";", "}", ""], "natrual_language": ["Allocate", "implicit", "function", "VGPR", "arguments", "at", "the", "end", "of", "allocated", "user", "arguments", "."], "TS_V_token": ["AMDGPU", "SI", "SI"], "File": "SIISelLowering (2)3", "Func": "allocateSpecialInputVGPRs", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2203, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isNodeHidden", "(", "const", "SCANode", "*", "N", ",", "const", "SpillCostAnalysisGraph", "G", ")", "{", "return", "!", "N", "->", "isVisible", "(", ")", ";", "}", ""], "natrual_language": ["Do", "not", "print", "nodes", "that", "are", "part", "of", "a", "pi-block", "separately", "."], "TS_V_token": ["Patmos"], "File": "PatmosStackCacheAnalysis1", "Func": "isNodeHidden", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 2204, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "PPCTargetLowering", "::", "getSetCCResultType", "(", "const", "DataLayout", "&", "DL", ",", "LLVMContext", "&", "C", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isVector", "(", ")", ")", "return", "Subtarget", ".", "useCRBits", "(", ")", "?", "MVT", "::", "i1", ":", "MVT", "::", "i32", ";", "if", "(", "Subtarget", ".", "hasQPX", "(", ")", ")", "return", "EVT", "::", "getVectorVT", "(", "C", ",", "MVT", "::", "i1", ",", "VT", ".", "getVectorNumElements", "(", ")", ")", ";", "return", "VT", ".", "changeVectorElementTypeToInteger", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["PowerPC", "PPC", "MVT::i1", "MVT::i32", "MVT::i1"], "File": "PPCISelLowering (2)2", "Func": "getSetCCResultType", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2205, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "scalar_chain", "::", "make_vector_copies", "(", "unsigned", "regno", ")", "{", "rtx", "reg", "=", "regno_reg_rtx", "[", "regno", "]", ";", "rtx", "vreg", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "df_ref", "ref", ";", "for", "(", "ref", "=", "DF_REG_DEF_CHAIN", "(", "regno", ")", ";", "ref", ";", "ref", "=", "DF_REF_NEXT_REG", "(", "ref", ")", ")", "if", "(", "!", "bitmap_bit_p", "(", "insns", ",", "DF_REF_INSN_UID", "(", "ref", ")", ")", ")", "{", "rtx_insn", "*", "insn", "=", "DF_REF_INSN", "(", "ref", ")", ";", "start_sequence", "(", ")", ";", "if", "(", "TARGET_SSE4_1", ")", "{", "emit_insn", "(", "gen_sse2_loadld", "(", "gen_rtx_SUBREG", "(", "V4SImode", ",", "vreg", ",", "0", ")", ",", "CONST0_RTX", "(", "V4SImode", ")", ",", "gen_rtx_SUBREG", "(", "SImode", ",", "reg", ",", "0", ")", ")", ")", ";", "emit_insn", "(", "gen_sse4_1_pinsrd", "(", "gen_rtx_SUBREG", "(", "V4SImode", ",", "vreg", ",", "0", ")", ",", "gen_rtx_SUBREG", "(", "V4SImode", ",", "vreg", ",", "0", ")", ",", "gen_rtx_SUBREG", "(", "SImode", ",", "reg", ",", "4", ")", ",", "GEN_INT", "(", "2", ")", ")", ")", ";", "}", "else", "if", "(", "TARGET_INTER_UNIT_MOVES_TO_VEC", ")", "{", "rtx", "tmp", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "emit_insn", "(", "gen_sse2_loadld", "(", "gen_rtx_SUBREG", "(", "V4SImode", ",", "vreg", ",", "0", ")", ",", "CONST0_RTX", "(", "V4SImode", ")", ",", "gen_rtx_SUBREG", "(", "SImode", ",", "reg", ",", "0", ")", ")", ")", ";", "emit_insn", "(", "gen_sse2_loadld", "(", "gen_rtx_SUBREG", "(", "V4SImode", ",", "tmp", ",", "0", ")", ",", "CONST0_RTX", "(", "V4SImode", ")", ",", "gen_rtx_SUBREG", "(", "SImode", ",", "reg", ",", "4", ")", ")", ")", ";", "emit_insn", "(", "gen_vec_interleave_lowv4si", "(", "gen_rtx_SUBREG", "(", "V4SImode", ",", "vreg", ",", "0", ")", ",", "gen_rtx_SUBREG", "(", "V4SImode", ",", "vreg", ",", "0", ")", ",", "gen_rtx_SUBREG", "(", "V4SImode", ",", "tmp", ",", "0", ")", ")", ")", ";", "}", "else", "{", "rtx", "tmp", "=", "assign_386_stack_local", "(", "DImode", ",", "SLOT_TEMP", ")", ";", "emit_move_insn", "(", "adjust_address", "(", "tmp", ",", "SImode", ",", "0", ")", ",", "gen_rtx_SUBREG", "(", "SImode", ",", "reg", ",", "0", ")", ")", ";", "emit_move_insn", "(", "adjust_address", "(", "tmp", ",", "SImode", ",", "4", ")", ",", "gen_rtx_SUBREG", "(", "SImode", ",", "reg", ",", "4", ")", ")", ";", "emit_move_insn", "(", "vreg", ",", "tmp", ")", ";", "}", "rtx_insn", "*", "seq", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "emit_conversion_insns", "(", "seq", ",", "insn", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\" Copied r%d to a vector register r%d for insn %d\\n\"", ",", "regno", ",", "REGNO", "(", "vreg", ")", ",", "DF_REF_INSN_UID", "(", "ref", ")", ")", ";", "}", "for", "(", "ref", "=", "DF_REG_USE_CHAIN", "(", "regno", ")", ";", "ref", ";", "ref", "=", "DF_REF_NEXT_REG", "(", "ref", ")", ")", "if", "(", "bitmap_bit_p", "(", "insns", ",", "DF_REF_INSN_UID", "(", "ref", ")", ")", ")", "{", "replace_with_subreg_in_insn", "(", "DF_REF_INSN", "(", "ref", ")", ",", "reg", ",", "vreg", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\" Replaced r%d with r%d in insn %d\\n\"", ",", "regno", ",", "REGNO", "(", "vreg", ")", ",", "DF_REF_INSN_UID", "(", "ref", ")", ")", ";", "}", "}", ""], "natrual_language": ["Make", "vector", "copies", "for", "all", "register", "REGNO", "definitions", "and", "replace", "its", "uses", "in", "a", "chain", "."], "TS_V_token": ["i386", "0", "0", "0", "0", "4", "2", "0", "0", "0", "4", "0", "0", "0", "0", "0", "4", "4", "\" Copied r%d to a vector register r%d for insn %d\\n\"", "\" Replaced r%d with r%d in insn %d\\n\""], "File": "i3865", "Func": "make_vector_copies", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2206, "Length": 425, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "expand_block_move_4", "(", "rtx", "dst", ",", "rtx", "dst_reg", ",", "rtx", "src", ",", "rtx", "src_reg", ",", "rtx", "bytes_rtx", ")", "{", "unsigned", "HOST_WIDE_INT", "bytes", "=", "UINTVAL", "(", "bytes_rtx", ")", ";", "unsigned", "int", "rem", "=", "bytes", "%", "4", ";", "if", "(", "TARGET_BMI", ")", "{", "unsigned", "int", "i", ";", "rtx", "insn", ";", "emit_move_insn", "(", "regno_reg_rtx", "[", "1", "]", ",", "dst_reg", ")", ";", "emit_move_insn", "(", "regno_reg_rtx", "[", "2", "]", ",", "src_reg", ")", ";", "emit_move_insn", "(", "regno_reg_rtx", "[", "3", "]", ",", "bytes_rtx", ")", ";", "insn", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "8", ")", ")", ";", "XVECEXP", "(", "insn", ",", "0", ",", "0", ")", "=", "gen_rtx_SET", "(", "replace_equiv_address_nv", "(", "dst", ",", "regno_reg_rtx", "[", "1", "]", ")", ",", "replace_equiv_address_nv", "(", "src", ",", "regno_reg_rtx", "[", "2", "]", ")", ")", ";", "XVECEXP", "(", "insn", ",", "0", ",", "1", ")", "=", "gen_rtx_USE", "(", "VOIDmode", ",", "regno_reg_rtx", "[", "3", "]", ")", ";", "for", "(", "i", "=", "1", ";", "i", "<=", "6", ";", "i", "++", ")", "XVECEXP", "(", "insn", ",", "0", ",", "1", "+", "i", ")", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "regno_reg_rtx", "[", "i", "]", ")", ";", "emit_insn", "(", "insn", ")", ";", "}", "else", "emit_library_call", "(", "long_int_memcpy_libfunc", ",", "LCT_NORMAL", ",", "VOIDmode", ",", "dst_reg", ",", "Pmode", ",", "src_reg", ",", "Pmode", ",", "convert_to_mode", "(", "TYPE_MODE", "(", "sizetype", ")", ",", "GEN_INT", "(", "bytes", ">>", "2", ")", ",", "TYPE_UNSIGNED", "(", "sizetype", ")", ")", ",", "TYPE_MODE", "(", "sizetype", ")", ")", ";", "if", "(", "rem", "==", "0", ")", "return", ";", "dst", "=", "replace_equiv_address_nv", "(", "dst", ",", "dst_reg", ")", ";", "src", "=", "replace_equiv_address_nv", "(", "src", ",", "src_reg", ")", ";", "bytes", "-=", "rem", ";", "if", "(", "rem", ">", "1", ")", "{", "emit_move_insn", "(", "adjust_address_nv", "(", "dst", ",", "HImode", ",", "bytes", ")", ",", "adjust_address_nv", "(", "src", ",", "HImode", ",", "bytes", ")", ")", ";", "bytes", "+=", "2", ";", "rem", "-=", "2", ";", "}", "if", "(", "rem", ">", "0", ")", "emit_move_insn", "(", "adjust_address_nv", "(", "dst", ",", "QImode", ",", "bytes", ")", ",", "adjust_address_nv", "(", "src", ",", "QImode", ",", "bytes", ")", ")", ";", "}", ""], "natrual_language": ["Generate", "a", "call", "to", "a", "library", "function", "to", "move", "BYTES_RTX", "bytes", "from", "SRC", "with", "address", "SRC_REG", "to", "DST", "with", "address", "DST_REG", "in", "4-byte", "chunks", "."], "TS_V_token": ["visium", "4", "1", "2", "3", "8", "0", "0", "1", "2", "0", "1", "3", "1", "6", "0", "1", "2", "0", "1", "2", "2", "0"], "File": "visium", "Func": "expand_block_move_4", "Target": "visium", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 2207, "Length": 320, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_legitimate_address_p", "(", "machine_mode", "mode", ",", "rtx", "x", ",", "bool", "reg_ok_strict", ")", "{", "bool", "reg_offset_p", "=", "reg_offset_addressing_ok_p", "(", "mode", ")", ";", "bool", "quad_offset_p", "=", "mode_supports_dq_form", "(", "mode", ")", ";", "if", "(", "VECTOR_MEM_ALTIVEC_P", "(", "mode", ")", "&&", "GET_CODE", "(", "x", ")", "==", "AND", "&&", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", "&&", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "-", "16", ")", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "TARGET_ELF", "&&", "RS6000_SYMBOL_REF_TLS_P", "(", "x", ")", ")", "return", "0", ";", "if", "(", "legitimate_indirect_address_p", "(", "x", ",", "reg_ok_strict", ")", ")", "return", "1", ";", "if", "(", "TARGET_UPDATE", "&&", "(", "GET_CODE", "(", "x", ")", "==", "PRE_INC", "||", "GET_CODE", "(", "x", ")", "==", "PRE_DEC", ")", "&&", "mode_supports_pre_incdec_p", "(", "mode", ")", "&&", "legitimate_indirect_address_p", "(", "XEXP", "(", "x", ",", "0", ")", ",", "reg_ok_strict", ")", ")", "return", "1", ";", "if", "(", "quad_offset_p", ")", "{", "if", "(", "quad_address_p", "(", "x", ",", "mode", ",", "reg_ok_strict", ")", ")", "return", "1", ";", "}", "else", "if", "(", "virtual_stack_registers_memory_p", "(", "x", ")", ")", "return", "1", ";", "else", "if", "(", "reg_offset_p", ")", "{", "if", "(", "legitimate_small_data_p", "(", "mode", ",", "x", ")", ")", "return", "1", ";", "if", "(", "legitimate_constant_pool_address_p", "(", "x", ",", "mode", ",", "reg_ok_strict", "||", "lra_in_progress", ")", ")", "return", "1", ";", "}", "if", "(", "mode", "==", "TImode", "&&", "TARGET_VSX", ")", "return", "0", ";", "if", "(", "!", "reg_ok_strict", "&&", "reg_offset_p", "&&", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "(", "XEXP", "(", "x", ",", "0", ")", "==", "virtual_stack_vars_rtx", "||", "XEXP", "(", "x", ",", "0", ")", "==", "arg_pointer_rtx", ")", "&&", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "return", "1", ";", "if", "(", "rs6000_legitimate_offset_address_p", "(", "mode", ",", "x", ",", "reg_ok_strict", ",", "false", ")", ")", "return", "1", ";", "if", "(", "!", "FLOAT128_2REG_P", "(", "mode", ")", "&&", "(", "TARGET_HARD_FLOAT", "||", "TARGET_POWERPC64", "||", "(", "mode", "!=", "DFmode", "&&", "mode", "!=", "DDmode", ")", ")", "&&", "(", "TARGET_POWERPC64", "||", "mode", "!=", "DImode", ")", "&&", "(", "mode", "!=", "TImode", "||", "VECTOR_MEM_VSX_P", "(", "TImode", ")", ")", "&&", "mode", "!=", "PTImode", "&&", "!", "avoiding_indexed_address_p", "(", "mode", ")", "&&", "legitimate_indexed_address_p", "(", "x", ",", "reg_ok_strict", ")", ")", "return", "1", ";", "if", "(", "TARGET_UPDATE", "&&", "GET_CODE", "(", "x", ")", "==", "PRE_MODIFY", "&&", "mode_supports_pre_modify_p", "(", "mode", ")", "&&", "legitimate_indirect_address_p", "(", "XEXP", "(", "x", ",", "0", ")", ",", "reg_ok_strict", ")", "&&", "(", "rs6000_legitimate_offset_address_p", "(", "mode", ",", "XEXP", "(", "x", ",", "1", ")", ",", "reg_ok_strict", ",", "false", ")", "||", "(", "!", "avoiding_indexed_address_p", "(", "mode", ")", "&&", "legitimate_indexed_address_p", "(", "XEXP", "(", "x", ",", "1", ")", ",", "reg_ok_strict", ")", ")", ")", "&&", "rtx_equal_p", "(", "XEXP", "(", "XEXP", "(", "x", ",", "1", ")", ",", "0", ")", ",", "XEXP", "(", "x", ",", "0", ")", ")", ")", "return", "1", ";", "if", "(", "reg_offset_p", "&&", "!", "quad_offset_p", "&&", "legitimate_lo_sum_address_p", "(", "mode", ",", "x", ",", "reg_ok_strict", ")", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["TARGET_LEGITIMATE_ADDRESS_P", "recognizes", "an", "RTL", "expression", "that", "is", "a", "valid", "memory", "address", "for", "an", "instruction", ".", "The", "MODE", "argument", "is", "the", "machine", "mode", "for", "the", "MEM", "expression", "that", "wants", "to", "use", "this", "address", ".", "On", "the", "RS/6000", ",", "there", "are", "four", "valid", "address", ":", "a", "SYMBOL_REF", "that", "refers", "to", "a", "constant", "pool", "entry", "of", "an", "address", "(", "or", "the", "sum", "of", "it", "plus", "a", "constant", ")", ",", "a", "short", "(", "16-bit", "signed", ")", "constant", "plus", "a", "register", ",", "the", "sum", "of", "two", "registers", ",", "or", "a", "register", "indirect", ",", "possibly", "with", "an", "auto-increment", ".", "For", "DFmode", ",", "DDmode", "and", "DImode", "with", "a", "constant", "plus", "register", ",", "we", "must", "ensure", "that", "both", "words", "are", "addressable", "or", "PowerPC64", "with", "offset", "word", "aligned", ".", "For", "modes", "spanning", "multiple", "registers", "(", "DFmode", "and", "DDmode", "in", "32-bit", "GPRs", ",", "32-bit", "DImode", ",", "TImode", ",", "TFmode", ",", "TDmode", ")", ",", "indexed", "addressing", "can", "not", "be", "used", "because", "adjacent", "memory", "cells", "are", "accessed", "by", "adding", "word-sized", "offsets", "during", "assembly", "output", "."], "TS_V_token": ["rs6000", "1", "1", "16", "0", "0", "1", "0", "1", "1", "1", "1", "1", "0", "0", "0", "0", "1", "1", "1", "1", "0", "1", "1", "1", "0", "0", "1", "1", "0"], "File": "rs60008", "Func": "rs6000_legitimate_address_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2208, "Length": 467, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "ARMTargetLowering", "::", "emitStoreConditional", "(", "IRBuilder", "<", ">", "&", "Builder", ",", "Value", "*", "Val", ",", "Value", "*", "Addr", ",", "AtomicOrdering", "Ord", ")", "const", "{", "Module", "*", "M", "=", "Builder", ".", "GetInsertBlock", "(", ")", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "bool", "IsRelease", "=", "isAtLeastRelease", "(", "Ord", ")", ";", "if", "(", "Val", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", "==", "64", ")", "{", "Intrinsic", "::", "ID", "Int", "=", "IsRelease", "?", "Intrinsic", "::", "arm_stlexd", ":", "Intrinsic", "::", "arm_strexd", ";", "Function", "*", "Strex", "=", "Intrinsic", "::", "getDeclaration", "(", "M", ",", "Int", ")", ";", "Type", "*", "Int32Ty", "=", "Type", "::", "getInt32Ty", "(", "M", "->", "getContext", "(", ")", ")", ";", "Value", "*", "Lo", "=", "Builder", ".", "CreateTrunc", "(", "Val", ",", "Int32Ty", ",", "\"lo\"", ")", ";", "Value", "*", "Hi", "=", "Builder", ".", "CreateTrunc", "(", "Builder", ".", "CreateLShr", "(", "Val", ",", "32", ")", ",", "Int32Ty", ",", "\"hi\"", ")", ";", "if", "(", "!", "Subtarget", "->", "isLittle", "(", ")", ")", "std", "::", "swap", "(", "Lo", ",", "Hi", ")", ";", "Addr", "=", "Builder", ".", "CreateBitCast", "(", "Addr", ",", "Type", "::", "getInt8PtrTy", "(", "M", "->", "getContext", "(", ")", ")", ")", ";", "return", "Builder", ".", "CreateCall", "(", "Strex", ",", "{", "Lo", ",", "Hi", ",", "Addr", "}", ")", ";", "}", "Intrinsic", "::", "ID", "Int", "=", "IsRelease", "?", "Intrinsic", "::", "arm_stlex", ":", "Intrinsic", "::", "arm_strex", ";", "Type", "*", "Tys", "[", "]", "=", "{", "Addr", "->", "getType", "(", ")", "}", ";", "Function", "*", "Strex", "=", "Intrinsic", "::", "getDeclaration", "(", "M", ",", "Int", ",", "Tys", ")", ";", "return", "Builder", ".", "CreateCall", "(", "Strex", ",", "{", "Builder", ".", "CreateZExtOrBitCast", "(", "Val", ",", "Strex", "->", "getFunctionType", "(", ")", "->", "getParamType", "(", "0", ")", ")", ",", "Addr", "}", ")", ";", "}", ""], "natrual_language": ["Perform", "a", "store-conditional", "operation", "to", "Addr", "."], "TS_V_token": ["ARM", "ARM", "64", "Intrinsic::ID", "Intrinsic::arm_stlexd", "Intrinsic::arm_strexd", "Intrinsic::getDeclaration", "\"lo\"", "32", "\"hi\"", "Intrinsic::ID", "Intrinsic::arm_stlex", "Intrinsic::arm_strex", "Intrinsic::getDeclaration", "0"], "File": "ARMISelLowering (2)2", "Func": "emitStoreConditional", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2209, "Length": 276, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "mmix_eh_return_stackadj_rtx", "(", "void", ")", "{", "return", "gen_rtx_REG", "(", "Pmode", ",", "MMIX_EH_RETURN_STACKADJ_REGNUM", ")", ";", "}", ""], "natrual_language": ["EH_RETURN_STACKADJ_RTX", "."], "TS_V_token": ["mmix"], "File": "mmix", "Func": "mmix_eh_return_stackadj_rtx", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2210, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "fma_forest", "*", "fma_root_node", "::", "get_forest", "(", ")", "{", "return", "this", "->", "m_forest", ";", "}", ""], "natrual_language": ["Get", "the", "actual", "forest", "associated", "with", "a", "non", "root", "node", "as", "the", "one", "the", "node", "points", "to", "might", "have", "been", "merged", "into", "another", "one", ".", "In", "that", "case", "the", "pointer", "in", "the", "root", "nodes", "are", "updated", "so", "we", "return", "the", "forest", "pointer", "of", "a", "root", "node", "pointed", "to", "by", "the", "initial", "forest", ".", "Despite", "being", "a", "oneliner", ",", "this", "method", "is", "defined", "here", "as", "it", "references", "a", "method", "from", "fma_root_node", "."], "TS_V_token": ["aarch64"], "File": "cortex-a57-fma-steering", "Func": "get_forest", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2211, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "DataLayout", "*", "getDataLayout", "(", ")", "const", "override", "{", "return", "&", "Layout", ";", "}", ""], "natrual_language": ["Return", "the", "DataLayout", "associated", "with", "the", "module", "this", "SCEV", "instance", "is", "operating", "on", "."], "TS_V_token": ["R600"], "File": "AMDGPUTargetMachine", "Func": "getDataLayout", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2212, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "tilegx_expand_constant_multiply_given_sequence", "(", "rtx", "result", ",", "rtx", "src", ",", "const", "struct", "tilegx_multiply_insn_seq", "*", "seq", ")", "{", "int", "i", ";", "int", "num_ops", ";", "int", "num_subexprs", "=", "2", ";", "rtx", "subexprs", "[", "tilegx_multiply_insn_seq_MAX_OPERATIONS", "+", "2", "]", ";", "subexprs", "[", "0", "]", "=", "const0_rtx", ";", "subexprs", "[", "1", "]", "=", "src", ";", "num_ops", "=", "tilegx_multiply_get_num_ops", "(", "seq", ")", ";", "gcc_assert", "(", "num_ops", ">", "0", "&&", "num_ops", "<=", "tilegx_multiply_insn_seq_MAX_OPERATIONS", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "num_ops", ";", "i", "++", ")", "{", "const", "struct", "tilegx_multiply_insn_seq_entry", "*", "entry", "=", "&", "seq", "->", "op", "[", "i", "]", ";", "const", "bool", "is_last_op", "=", "(", "i", "+", "1", "==", "num_ops", ")", ";", "rtx", "out", "=", "is_last_op", "?", "result", ":", "gen_reg_rtx", "(", "DImode", ")", ";", "enum", "insn_code", "opcode", "=", "tilegx_multiply_get_opcode", "(", "entry", ")", ";", "if", "(", "opcode", "==", "CODE_FOR_ashldi3", ")", "{", "const", "int", "shift_count", "=", "entry", "->", "rhs", ";", "gcc_assert", "(", "shift_count", ">", "0", "&&", "shift_count", "<", "64", ")", ";", "emit_insn", "(", "GEN_FCN", "(", "opcode", ")", "(", "out", ",", "subexprs", "[", "entry", "->", "lhs", "]", ",", "gen_rtx_CONST_INT", "(", "DImode", ",", "shift_count", ")", ")", ")", ";", "}", "else", "{", "gcc_assert", "(", "entry", "->", "rhs", "<", "num_subexprs", ")", ";", "emit_insn", "(", "GEN_FCN", "(", "opcode", ")", "(", "out", ",", "subexprs", "[", "entry", "->", "lhs", "]", ",", "subexprs", "[", "entry", "->", "rhs", "]", ")", ")", ";", "}", "subexprs", "[", "num_subexprs", "++", "]", "=", "out", ";", "}", "}", ""], "natrual_language": ["We", "precompute", "a", "number", "of", "expression", "trees", "for", "multiplying", "by", "constants", ".", "This", "generates", "code", "for", "such", "an", "expression", "tree", "by", "walking", "through", "the", "nodes", "in", "the", "tree", "(", "which", "are", "conveniently", "pre-linearized", ")", "and", "emitting", "an", "instruction", "for", "each", "one", "."], "TS_V_token": ["tilegx", "2", "2", "0", "1", "0", "0", "1", "0", "64"], "File": "tilegx", "Func": "tilegx_expand_constant_multiply_given_sequence", "Target": "tilegx", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 2213, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emit_unlikely_jump", "(", "rtx", "cond", ",", "rtx", "label", ")", "{", "int", "very_unlikely", "=", "REG_BR_PROB_BASE", "/", "100", "-", "1", ";", "rtx", "x", ";", "x", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "cond", ",", "label", ",", "pc_rtx", ")", ";", "x", "=", "emit_jump_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "pc_rtx", ",", "x", ")", ")", ";", "add_int_reg_note", "(", "x", ",", "REG_BR_PROB", ",", "very_unlikely", ")", ";", "}", ""], "natrual_language": ["Mark", "the", "previous", "jump", "instruction", "as", "unlikely", "."], "TS_V_token": ["alpha", "100", "1"], "File": "alpha4", "Func": "emit_unlikely_jump", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2214, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SPUTargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "{", "unsigned", "Opc", "=", "(", "unsigned", ")", "N", "->", "getOpcode", "(", ")", ";", "MVT", "OpVT", "=", "N", "->", "getValueType", "(", "0", ")", ";", "switch", "(", "Opc", ")", "{", "default", ":", "{", "cerr", "<<", "\"SPUTargetLowering::ReplaceNodeResults(): need to fix this!\\n\"", ";", "cerr", "<<", "\"Op.getOpcode() = \"", "<<", "Opc", "<<", "\"\\n\"", ";", "cerr", "<<", "\"*Op.getNode():\\n\"", ";", "N", "->", "dump", "(", ")", ";", "abort", "(", ")", ";", "}", "}", "}", ""], "natrual_language": ["ReplaceNodeResults", "-", "Replace", "the", "results", "of", "node", "with", "an", "illegal", "result", "type", "with", "new", "values", "built", "out", "of", "custom", "code", "."], "TS_V_token": ["CellSPU", "SPU", "0", "\"SPUTargetLowering::ReplaceNodeResults(): need to fix this!\\n\"", "\"Op.getOpcode() = \"", "\"\\n\"", "\"*Op.getNode():\\n\""], "File": "SPUISelLowering12", "Func": "ReplaceNodeResults", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2215, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "explicit", "Metadata", "(", ")", "{", "}", ""], "natrual_language": ["Metadata", "straight", "from", "the", "call", "to", "llvm.gcroot", "."], "TS_V_token": ["AMDGPU"], "File": "AMDGPURuntimeMetadata", "Func": "Metadata", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2216, "Length": 6, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "XCoreSelectionDAGInfo", "::", "EmitTargetCodeForMemcpy", "(", "SelectionDAG", "&", "DAG", ",", "SDLoc", "dl", ",", "SDValue", "Chain", ",", "SDValue", "Dst", ",", "SDValue", "Src", ",", "SDValue", "Size", ",", "unsigned", "Align", ",", "bool", "isVolatile", ",", "bool", "AlwaysInline", ",", "MachinePointerInfo", "DstPtrInfo", ",", "MachinePointerInfo", "SrcPtrInfo", ")", "const", "{", "unsigned", "SizeBitWidth", "=", "Size", ".", "getValueType", "(", ")", ".", "getSizeInBits", "(", ")", ";", "if", "(", "!", "AlwaysInline", "&&", "(", "Align", "&", "3", ")", "==", "0", "&&", "DAG", ".", "MaskedValueIsZero", "(", "Size", ",", "APInt", "(", "SizeBitWidth", ",", "3", ")", ")", ")", "{", "const", "TargetLowering", "&", "TLI", "=", "*", "DAG", ".", "getTarget", "(", ")", ".", "getTargetLowering", "(", ")", ";", "TargetLowering", "::", "ArgListTy", "Args", ";", "TargetLowering", "::", "ArgListEntry", "Entry", ";", "Entry", ".", "Ty", "=", "TLI", ".", "getDataLayout", "(", ")", "->", "getIntPtrType", "(", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "Entry", ".", "Node", "=", "Dst", ";", "Args", ".", "push_back", "(", "Entry", ")", ";", "Entry", ".", "Node", "=", "Src", ";", "Args", ".", "push_back", "(", "Entry", ")", ";", "Entry", ".", "Node", "=", "Size", ";", "Args", ".", "push_back", "(", "Entry", ")", ";", "TargetLowering", "::", "CallLoweringInfo", "CLI", "(", "DAG", ")", ";", "CLI", ".", "setDebugLoc", "(", "dl", ")", ".", "setChain", "(", "Chain", ")", ".", "setCallee", "(", "TLI", ".", "getLibcallCallingConv", "(", "RTLIB", "::", "MEMCPY", ")", ",", "Type", "::", "getVoidTy", "(", "*", "DAG", ".", "getContext", "(", ")", ")", ",", "DAG", ".", "getExternalSymbol", "(", "\"__memcpy_4\"", ",", "TLI", ".", "getPointerTy", "(", ")", ")", ",", "std", "::", "move", "(", "Args", ")", ",", "0", ")", ".", "setDiscardResult", "(", ")", ";", "std", "::", "pair", "<", "SDValue", ",", "SDValue", ">", "CallResult", "=", "TLI", ".", "LowerCallTo", "(", "CLI", ")", ";", "return", "CallResult", ".", "second", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memcpy", "."], "TS_V_token": ["XCore", "XCore", "3", "0", "3", "\"__memcpy_4\"", "0"], "File": "XCoreSelectionDAGInfo", "Func": "EmitTargetCodeForMemcpy", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2217, "Length": 266, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isScalarFPTypeInSSEReg", "(", "EVT", "VT", ")", "const", "{", "return", "(", "VT", "==", "MVT", "::", "f64", "&&", "X86ScalarSSEf64", ")", "||", "(", "VT", "==", "MVT", "::", "f32", "&&", "X86ScalarSSEf32", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "scalar", "FP", "type", "is", "computed", "in", "an", "SSE", "register", ",", "not", "on", "the", "X87", "floating", "point", "stack", "."], "TS_V_token": ["X86", "MVT::f64", "X86", "MVT::f32", "X86"], "File": "X86FastISel (2)", "Func": "isScalarFPTypeInSSEReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2218, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "addLiveIn", "(", "MachineFunction", "&", "MF", ",", "unsigned", "PReg", ",", "const", "TargetRegisterClass", "*", "RC", ")", "{", "unsigned", "VReg", "=", "MF", ".", "getRegInfo", "(", ")", ".", "createVirtualRegister", "(", "RC", ")", ";", "MF", ".", "getRegInfo", "(", ")", ".", "addLiveIn", "(", "PReg", ",", "VReg", ")", ";", "return", "VReg", ";", "}", ""], "natrual_language": ["addLiveIn", "-", "Add", "the", "specified", "register", "as", "a", "live-in", "."], "TS_V_token": ["SIC"], "File": "SICISelLowering", "Func": "addLiveIn", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2219, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "z8k_libcall_value", "(", "enum", "machine_mode", "mode", ",", "const_rtx", "fun", "ATTRIBUTE_UNUSED", ")", "{", "return", "gen_rtx_REG", "(", "mode", ",", "\\", "(", "TARGET_STD_RET", "?", "(", "GET_MODE_SIZE", "(", "mode", ")", "<=", "GET_MODE_SIZE", "(", "HImode", ")", "?", "7", ":", "\\", "GET_MODE_SIZE", "(", "mode", ")", "<=", "GET_MODE_SIZE", "(", "SImode", ")", "?", "6", ":", "4", ")", ":", "2", ")", ")", ";", "}", ""], "natrual_language": ["Define", "how", "to", "find", "the", "value", "returned", "by", "a", "library", "function", "assuming", "the", "value", "has", "mode", "MODE", "."], "TS_V_token": ["z8k", "7", "6", "4", "2"], "File": "z8k", "Func": "z8k_libcall_value", "Target": "z8k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2220, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "P2PassConfig", "::", "addPreEmitPass", "(", ")", "{", "P2TargetMachine", "&", "TM", "=", "getP2TargetMachine", "(", ")", ";", "addPass", "(", "createP2DelJmpPass", "(", "TM", ")", ")", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["P2", "P2", "P2", "P2", "P2"], "File": "P2TargetMachine", "Func": "addPreEmitPass", "Target": "P2", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2221, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "override", "{", "Subtarget", "=", "&", "Fn", ".", "getSubtarget", "<", "HexagonSubtarget", ">", "(", ")", ";", "const", "bool", "Modified", "=", "AsmPrinter", "::", "runOnMachineFunction", "(", "Fn", ")", ";", "emitXRayTable", "(", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Hexagon", "Hexagon"], "File": "HexagonAsmPrinter (2)1", "Func": "runOnMachineFunction", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2222, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "::", "HazardType", "PPCHazardRecognizer970", "::", "getHazardType", "(", "SUnit", "*", "SU", ",", "int", "Stalls", ")", "{", "assert", "(", "Stalls", "==", "0", "&&", "\"PPC hazards don't support scoreboard lookahead\"", ")", ";", "MachineInstr", "*", "MI", "=", "SU", "->", "getInstr", "(", ")", ";", "if", "(", "MI", "->", "isDebugValue", "(", ")", ")", "return", "NoHazard", ";", "unsigned", "Opcode", "=", "MI", "->", "getOpcode", "(", ")", ";", "bool", "isFirst", ",", "isSingle", ",", "isCracked", ",", "isLoad", ",", "isStore", ";", "PPCII", "::", "PPC970_Unit", "InstrType", "=", "GetInstrType", "(", "Opcode", ",", "isFirst", ",", "isSingle", ",", "isCracked", ",", "isLoad", ",", "isStore", ")", ";", "if", "(", "InstrType", "==", "PPCII", "::", "PPC970_Pseudo", ")", "return", "NoHazard", ";", "if", "(", "NumIssued", "!=", "0", "&&", "(", "isFirst", "||", "isSingle", ")", ")", "return", "Hazard", ";", "if", "(", "isCracked", "&&", "NumIssued", ">", "2", ")", "return", "Hazard", ";", "switch", "(", "InstrType", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown instruction type!\"", ")", ";", "case", "PPCII", "::", "PPC970_FXU", ":", "case", "PPCII", "::", "PPC970_LSU", ":", "case", "PPCII", "::", "PPC970_FPU", ":", "case", "PPCII", "::", "PPC970_VALU", ":", "case", "PPCII", "::", "PPC970_VPERM", ":", "if", "(", "NumIssued", "==", "4", ")", "return", "Hazard", ";", "break", ";", "case", "PPCII", "::", "PPC970_CRU", ":", "if", "(", "NumIssued", ">=", "2", ")", "return", "Hazard", ";", "break", ";", "case", "PPCII", "::", "PPC970_BRU", ":", "break", ";", "}", "if", "(", "HasCTRSet", "&&", "(", "Opcode", "==", "PPC", "::", "BCTRL_Darwin", "||", "Opcode", "==", "PPC", "::", "BCTRL_SVR4", ")", ")", "return", "NoopHazard", ";", "if", "(", "isLoad", "&&", "NumStores", "&&", "!", "MI", "->", "memoperands_empty", "(", ")", ")", "{", "MachineMemOperand", "*", "MO", "=", "*", "MI", "->", "memoperands_begin", "(", ")", ";", "if", "(", "isLoadOfStoredAddress", "(", "MO", "->", "getSize", "(", ")", ",", "MO", "->", "getOffset", "(", ")", ",", "MO", "->", "getValue", "(", ")", ")", ")", "return", "NoopHazard", ";", "}", "return", "NoHazard", ";", "}", ""], "natrual_language": ["getHazardType", "-", "Return", "the", "hazard", "type", "of", "emitting", "this", "node", "."], "TS_V_token": ["PowerPC", "PPC", "0", "\"PPC hazards don't support scoreboard lookahead\"", "PPCII::PPC970_Unit", "PPCII::PPC970_Pseudo", "0", "2", "\"Unknown instruction type!\"", "PPCII::PPC970_FXU", "PPCII::PPC970_LSU", "PPCII::PPC970_FPU", "PPCII::PPC970_VALU", "PPCII::PPC970_VPERM", "4", "PPCII::PPC970_CRU", "2", "PPCII::PPC970_BRU", "PPC::BCTRL_Darwin", "PPC::BCTRL_SVR4"], "File": "PPCHazardRecognizers27", "Func": "getHazardType", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2223, "Length": 271, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mn10300_option_override", "(", "void", ")", "{", "if", "(", "TARGET_AM33", ")", "target_flags", "&=", "~", "MASK_MULT_BUG", ";", "else", "{", "flag_schedule_insns", "=", "0", ";", "flag_schedule_insns_after_reload", "=", "0", ";", "flag_split_wide_types", "=", "1", ";", "}", "if", "(", "mn10300_tune_string", ")", "{", "if", "(", "strcasecmp", "(", "mn10300_tune_string", ",", "\"mn10300\"", ")", "==", "0", ")", "mn10300_tune_cpu", "=", "PROCESSOR_MN10300", ";", "else", "if", "(", "strcasecmp", "(", "mn10300_tune_string", ",", "\"am33\"", ")", "==", "0", ")", "mn10300_tune_cpu", "=", "PROCESSOR_AM33", ";", "else", "if", "(", "strcasecmp", "(", "mn10300_tune_string", ",", "\"am33-2\"", ")", "==", "0", ")", "mn10300_tune_cpu", "=", "PROCESSOR_AM33_2", ";", "else", "if", "(", "strcasecmp", "(", "mn10300_tune_string", ",", "\"am34\"", ")", "==", "0", ")", "mn10300_tune_cpu", "=", "PROCESSOR_AM34", ";", "else", "error", "(", "\"%<-mtune=%> expects mn10300, am33, am33-2, or am34\"", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_OPTION_OVERRIDE", "."], "TS_V_token": ["mn10300", "0", "0", "1", "\"mn10300\"", "0", "\"am33\"", "0", "\"am33-2\"", "0", "\"am34\"", "0", "\"%<-mtune=%> expects mn10300, am33, am33-2, or am34\""], "File": "mn10300", "Func": "mn10300_option_override", "Target": "mn10300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2224, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "yaml", "::", "MachineFunctionInfo", "*", "AArch64TargetMachine", "::", "createDefaultFuncInfoYAML", "(", ")", "const", "{", "return", "new", "yaml", "::", "AArch64FunctionInfo", "(", ")", ";", "}", ""], "natrual_language": ["Allocate", "and", "return", "a", "default", "initialized", "instance", "of", "the", "YAML", "representation", "for", "the", "MachineFunctionInfo", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine1", "Func": "createDefaultFuncInfoYAML", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2225, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "CCAssignFn", "*", "AArch64TargetLowering", "::", "CCAssignFnForCall", "(", "CallingConv", "::", "ID", "CC", ",", "bool", "IsVarArg", ")", "const", "{", "switch", "(", "CC", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unsupported calling convention.\"", ")", ";", "case", "CallingConv", "::", "WebKit_JS", ":", "return", "CC_AArch64_WebKit_JS", ";", "case", "CallingConv", "::", "GHC", ":", "return", "CC_AArch64_GHC", ";", "case", "CallingConv", "::", "C", ":", "case", "CallingConv", "::", "Fast", ":", "case", "CallingConv", "::", "PreserveMost", ":", "case", "CallingConv", "::", "CXX_FAST_TLS", ":", "case", "CallingConv", "::", "Swift", ":", "if", "(", "!", "Subtarget", "->", "isTargetDarwin", "(", ")", ")", "return", "CC_AArch64_AAPCS", ";", "return", "IsVarArg", "?", "CC_AArch64_DarwinPCS_VarArg", ":", "CC_AArch64_DarwinPCS", ";", "}", "}", ""], "natrual_language": ["Selects", "the", "correct", "CCAssignFn", "for", "a", "given", "CallingConvention", "value", "."], "TS_V_token": ["AArch64", "AArch64", "\"Unsupported calling convention.\"", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64ISelLowering119", "Func": "CCAssignFnForCall", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2226, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isIntDivCheap", "(", "EVT", "VT", ",", "AttributeSet", "Attr", ")", "const", "{", "bool", "OptSize", "=", "Attr", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "MinSize", ")", ";", "return", "OptSize", "&&", "!", "VT", ".", "isVector", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "integer", "divide", "is", "usually", "cheaper", "than", "a", "sequence", "of", "several", "shifts", ",", "adds", ",", "and", "multiplies", "for", "this", "target", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering (2)3", "Func": "isIntDivCheap", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2227, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVInstPrinter", "::", "applyTargetSpecificCLOption", "(", "StringRef", "Opt", ")", "{", "if", "(", "Opt", "==", "\"no-aliases\"", ")", "{", "PrintAliases", "=", "false", ";", "return", "true", ";", "}", "if", "(", "Opt", "==", "\"numeric\"", ")", "{", "ArchRegNames", "=", "true", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Customize", "the", "printer", "according", "to", "a", "command", "line", "option", "."], "TS_V_token": ["RISCV", "RISCV", "\"no-aliases\"", "\"numeric\""], "File": "RISCVInstPrinter", "Func": "applyTargetSpecificCLOption", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2228, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "aarch64_sve_rev_unspec", "(", "machine_mode", "mode", ")", "{", "switch", "(", "GET_MODE_UNIT_SIZE", "(", "mode", ")", ")", "{", "case", "1", ":", "return", "UNSPEC_REVB", ";", "case", "2", ":", "return", "UNSPEC_REVH", ";", "case", "4", ":", "return", "UNSPEC_REVW", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "SVE", "REV", "[", "BHW", "]", "unspec", "for", "reversing", "quantites", "of", "mode", "MODE", "stored", "in", "wider", "integer", "containers", "."], "TS_V_token": ["aarch64", "1", "2", "4"], "File": "aarch64", "Func": "aarch64_sve_rev_unspec", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2229, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "std", "::", "string", "readline", "(", "FILE", "*", "f", ")", "{", "char", "*", "buf", "=", "NULL", ";", "int", "size", "=", "0", ";", "int", "last", "=", "0", ";", "const", "int", "buf_size", "=", "128", ";", "if", "(", "feof", "(", "f", ")", ")", "return", "std", "::", "string", "(", ")", ";", "do", "{", "size", "+=", "buf_size", ";", "buf", "=", "(", "char", "*", ")", "xrealloc", "(", "buf", ",", "size", ")", ";", "gcc_assert", "(", "buf", ")", ";", "if", "(", "!", "fgets", "(", "buf", "+", "last", ",", "buf_size", ",", "f", ")", ")", "return", "std", "::", "string", "(", ")", ";", "last", "=", "strnlen", "(", "buf", ",", "size", ")", "-", "1", ";", "}", "while", "(", "!", "feof", "(", "f", ")", "&&", "buf", "[", "last", "]", "!=", "'\\n'", ")", ";", "std", "::", "string", "result", "(", "buf", ")", ";", "free", "(", "buf", ")", ";", "return", "result", ";", "}", ""], "natrual_language": ["Read", "an", "entire", "line", "from", "F", "until", "'\\n", "'", "or", "EOF", "."], "TS_V_token": ["aarch64", "0", "0", "128", "1"], "File": "driver-aarch641", "Func": "readline", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2230, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "alpha_emit_set_const", "(", "rtx", "target", ",", "enum", "machine_mode", "mode", ",", "HOST_WIDE_INT", "c", ",", "int", "n", ",", "bool", "no_output", ")", "{", "enum", "machine_mode", "orig_mode", "=", "mode", ";", "rtx", "orig_target", "=", "target", ";", "rtx", "result", "=", "0", ";", "int", "i", ";", "if", "(", "no_new_pseudos", "&&", "mode", "==", "SImode", "&&", "GET_CODE", "(", "target", ")", "==", "REG", "&&", "REGNO", "(", "target", ")", "<", "FIRST_PSEUDO_REGISTER", ")", "{", "result", "=", "alpha_emit_set_const_1", "(", "target", ",", "mode", ",", "c", ",", "1", ",", "no_output", ")", ";", "if", "(", "result", ")", "return", "result", ";", "target", "=", "no_output", "?", "NULL", ":", "gen_lowpart", "(", "DImode", ",", "target", ")", ";", "mode", "=", "DImode", ";", "}", "else", "if", "(", "mode", "==", "V8QImode", "||", "mode", "==", "V4HImode", "||", "mode", "==", "V2SImode", ")", "{", "target", "=", "no_output", "?", "NULL", ":", "gen_lowpart", "(", "DImode", ",", "target", ")", ";", "mode", "=", "DImode", ";", "}", "for", "(", "i", "=", "1", ";", "i", "<=", "n", ";", "i", "++", ")", "{", "result", "=", "alpha_emit_set_const_1", "(", "target", ",", "mode", ",", "c", ",", "i", ",", "no_output", ")", ";", "if", "(", "result", ")", "{", "rtx", "insn", ",", "set", ";", "if", "(", "no_output", ")", "return", "result", ";", "insn", "=", "get_last_insn", "(", ")", ";", "set", "=", "single_set", "(", "insn", ")", ";", "if", "(", "!", "CONSTANT_P", "(", "SET_SRC", "(", "set", ")", ")", ")", "set_unique_reg_note", "(", "get_last_insn", "(", ")", ",", "REG_EQUAL", ",", "GEN_INT", "(", "c", ")", ")", ";", "break", ";", "}", "}", "if", "(", "result", ")", "{", "if", "(", "result", "==", "target", ")", "result", "=", "orig_target", ";", "else", "if", "(", "mode", "!=", "orig_mode", ")", "result", "=", "gen_lowpart", "(", "orig_mode", ",", "result", ")", ";", "}", "return", "result", ";", "}", ""], "natrual_language": ["Try", "to", "output", "insns", "to", "set", "TARGET", "equal", "to", "the", "constant", "C", "if", "it", "can", "be", "done", "in", "less", "than", "N", "insns", ".", "Do", "all", "computations", "in", "MODE", ".", "Returns", "the", "place", "where", "the", "output", "has", "been", "placed", "if", "it", "can", "be", "done", "and", "the", "insns", "have", "been", "emitted", ".", "If", "it", "would", "take", "more", "than", "N", "insns", ",", "zero", "is", "returned", "and", "no", "insns", "and", "emitted", "."], "TS_V_token": ["alpha", "0", "1", "1"], "File": "alpha3", "Func": "alpha_emit_set_const", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2231, "Length": 261, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "verifyInstruction", "(", "const", "MachineInstr", "&", "MI", ",", "StringRef", "&", "ErrInfo", ")", "const", "{", "if", "(", "convertAddSubFlagsOpcode", "(", "MI", ".", "getOpcode", "(", ")", ")", ")", "{", "ErrInfo", "=", "\"Pseudo flag setting opcodes only exist in Selection DAG\"", ";", "return", "false", ";", "}", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "ARM", "::", "tMOVr", "&&", "!", "Subtarget", ".", "hasV6Ops", "(", ")", ")", "{", "if", "(", "!", "ARM", "::", "hGPRRegClass", ".", "contains", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", "&&", "!", "ARM", "::", "hGPRRegClass", ".", "contains", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ")", "{", "ErrInfo", "=", "\"Non-flag-setting Thumb1 mov is v6-only\"", ";", "return", "false", ";", "}", "}", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "ARM", "::", "tPUSH", "||", "MI", ".", "getOpcode", "(", ")", "==", "ARM", "::", "tPOP", "||", "MI", ".", "getOpcode", "(", ")", "==", "ARM", "::", "tPOP_RET", ")", "{", "for", "(", "const", "MachineOperand", "&", "MO", ":", "llvm", "::", "drop_begin", "(", "MI", ".", "operands", "(", ")", ",", "2", ")", ")", "{", "if", "(", "MO", ".", "isImplicit", "(", ")", "||", "!", "MO", ".", "isReg", "(", ")", ")", "continue", ";", "Register", "Reg", "=", "MO", ".", "getReg", "(", ")", ";", "if", "(", "Reg", "<", "ARM", "::", "R0", "||", "Reg", ">", "ARM", "::", "R7", ")", "{", "if", "(", "!", "(", "MI", ".", "getOpcode", "(", ")", "==", "ARM", "::", "tPUSH", "&&", "Reg", "==", "ARM", "::", "LR", ")", "&&", "!", "(", "MI", ".", "getOpcode", "(", ")", "==", "ARM", "::", "tPOP_RET", "&&", "Reg", "==", "ARM", "::", "PC", ")", ")", "{", "ErrInfo", "=", "\"Unsupported register in Thumb1 push/pop\"", ";", "return", "false", ";", "}", "}", "}", "}", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "ARM", "::", "MVE_VMOV_q_rr", ")", "{", "assert", "(", "MI", ".", "getOperand", "(", "4", ")", ".", "isImm", "(", ")", "&&", "MI", ".", "getOperand", "(", "5", ")", ".", "isImm", "(", ")", ")", ";", "if", "(", "(", "MI", ".", "getOperand", "(", "4", ")", ".", "getImm", "(", ")", "!=", "2", "&&", "MI", ".", "getOperand", "(", "4", ")", ".", "getImm", "(", ")", "!=", "3", ")", "||", "MI", ".", "getOperand", "(", "4", ")", ".", "getImm", "(", ")", "!=", "MI", ".", "getOperand", "(", "5", ")", ".", "getImm", "(", ")", "+", "2", ")", "{", "ErrInfo", "=", "\"Incorrect array index for MVE_VMOV_q_rr\"", ";", "return", "false", ";", "}", "}", "ARMII", "::", "AddrMode", "AddrMode", "=", "(", "ARMII", "::", "AddrMode", ")", "(", "MI", ".", "getDesc", "(", ")", ".", "TSFlags", "&", "ARMII", "::", "AddrModeMask", ")", ";", "switch", "(", "AddrMode", ")", "{", "default", ":", "break", ";", "case", "ARMII", "::", "AddrModeT2_i7", ":", "case", "ARMII", "::", "AddrModeT2_i7s2", ":", "case", "ARMII", "::", "AddrModeT2_i7s4", ":", "case", "ARMII", "::", "AddrModeT2_i8", ":", "case", "ARMII", "::", "AddrModeT2_i8pos", ":", "case", "ARMII", "::", "AddrModeT2_i8neg", ":", "case", "ARMII", "::", "AddrModeT2_i8s4", ":", "case", "ARMII", "::", "AddrModeT2_i12", ":", "{", "uint32_t", "Imm", "=", "0", ";", "for", "(", "auto", "Op", ":", "MI", ".", "operands", "(", ")", ")", "{", "if", "(", "Op", ".", "isImm", "(", ")", ")", "{", "Imm", "=", "Op", ".", "getImm", "(", ")", ";", "break", ";", "}", "}", "if", "(", "!", "isLegalAddressImm", "(", "MI", ".", "getOpcode", "(", ")", ",", "Imm", ",", "this", ")", ")", "{", "ErrInfo", "=", "\"Incorrect AddrMode Imm for instruction\"", ";", "return", "false", ";", "}", "break", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Perform", "target-specific", "instruction", "verification", "."], "TS_V_token": ["ARM", "ARM", "\"Pseudo flag setting opcodes only exist in Selection DAG\"", "ARM::tMOVr", "ARM::hGPRRegClass", "0", "ARM::hGPRRegClass", "1", "\"Non-flag-setting Thumb1 mov is v6-only\"", "ARM::tPUSH", "ARM::tPOP", "ARM::tPOP_RET", "2", "ARM::R0", "ARM::R7", "ARM::tPUSH", "ARM::LR", "ARM::tPOP_RET", "ARM::PC", "\"Unsupported register in Thumb1 push/pop\"", "ARM::MVE_VMOV_q_rr", "4", "5", "4", "2", "4", "3", "4", "5", "2", "\"Incorrect array index for MVE_VMOV_q_rr\"", "ARMII::AddrMode", "ARMII::AddrMode", "ARMII::AddrModeMask", "ARMII::AddrModeT2_i7", "ARMII::AddrModeT2_i7s2", "ARMII::AddrModeT2_i7s4", "ARMII::AddrModeT2_i8", "ARMII::AddrModeT2_i8pos", "ARMII::AddrModeT2_i8neg", "ARMII::AddrModeT2_i8s4", "ARMII::AddrModeT2_i12", "0", "\"Incorrect AddrMode Imm for instruction\""], "File": "ARMBaseInstrInfo70", "Func": "verifyInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2232, "Length": 500, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "erase", "(", "const", "Node", "*", "N", ")", "{", "Root", "=", "remove", "(", "Root", ",", "N", ")", ";", "delete", "N", ";", "}", ""], "natrual_language": ["erase", "-", "Erases", "an", "element", "identified", "by", "Key", ",", "if", "it", "exists", "."], "TS_V_token": ["Hexagon"], "File": "HexagonConstExtenders (2)", "Func": "erase", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2233, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonHardwareLoops", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"********* Hexagon Hardware Loops *********\\n\"", ")", ";", "bool", "Changed", "=", "false", ";", "MLI", "=", "&", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "MDT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "TII", "=", "MF", ".", "getSubtarget", "<", "HexagonSubtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "for", "(", "auto", "&", "L", ":", "*", "MLI", ")", "if", "(", "!", "L", "->", "getParentLoop", "(", ")", ")", "{", "bool", "L0Used", "=", "false", ";", "bool", "L1Used", "=", "false", ";", "Changed", "|=", "convertToHardwareLoop", "(", "L", ",", "L0Used", ",", "L1Used", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Hexagon", "Hexagon", "\"********* Hexagon Hardware Loops *********\\n\"", "Hexagon"], "File": "HexagonHardwareLoops35", "Func": "runOnMachineFunction", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2234, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "ARMSelectionDAGInfo", "::", "EmitTargetCodeForMemset", "(", "SelectionDAG", "&", "DAG", ",", "SDLoc", "dl", ",", "SDValue", "Chain", ",", "SDValue", "Dst", ",", "SDValue", "Src", ",", "SDValue", "Size", ",", "unsigned", "Align", ",", "bool", "isVolatile", ",", "MachinePointerInfo", "DstPtrInfo", ")", "const", "{", "if", "(", "Subtarget", "->", "isTargetNaCl", "(", ")", "||", "!", "EnableARMAEABIFunctions", "||", "!", "Subtarget", "->", "isAAPCS_ABI", "(", ")", "||", "Subtarget", "->", "isTargetDarwin", "(", ")", ")", "return", "SDValue", "(", ")", ";", "const", "ARMTargetLowering", "&", "TLI", "=", "*", "static_cast", "<", "const", "ARMTargetLowering", "*", ">", "(", "DAG", ".", "getTarget", "(", ")", ".", "getTargetLowering", "(", ")", ")", ";", "TargetLowering", "::", "ArgListTy", "Args", ";", "TargetLowering", "::", "ArgListEntry", "Entry", ";", "Type", "*", "IntPtrTy", "=", "TLI", ".", "getDataLayout", "(", ")", "->", "getIntPtrType", "(", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "Entry", ".", "Node", "=", "Dst", ";", "Entry", ".", "Ty", "=", "IntPtrTy", ";", "Args", ".", "push_back", "(", "Entry", ")", ";", "Entry", ".", "Node", "=", "Size", ";", "Entry", ".", "Ty", "=", "IntPtrTy", ";", "Entry", ".", "isSExt", "=", "false", ";", "Args", ".", "push_back", "(", "Entry", ")", ";", "if", "(", "Src", ".", "getValueType", "(", ")", ".", "bitsGT", "(", "MVT", "::", "i32", ")", ")", "Src", "=", "DAG", ".", "getNode", "(", "ISD", "::", "TRUNCATE", ",", "dl", ",", "MVT", "::", "i32", ",", "Src", ")", ";", "else", "Src", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ZERO_EXTEND", ",", "dl", ",", "MVT", "::", "i32", ",", "Src", ")", ";", "Entry", ".", "Node", "=", "Src", ";", "Entry", ".", "Ty", "=", "Type", "::", "getInt32Ty", "(", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "Entry", ".", "isSExt", "=", "true", ";", "Args", ".", "push_back", "(", "Entry", ")", ";", "TargetLowering", "::", "CallLoweringInfo", "CLI", "(", "Chain", ",", "Type", "::", "getVoidTy", "(", "*", "DAG", ".", "getContext", "(", ")", ")", ",", "false", ",", "false", ",", "false", ",", "false", ",", "0", ",", "TLI", ".", "getLibcallCallingConv", "(", "RTLIB", "::", "MEMSET", ")", ",", "false", ",", "false", ",", "false", ",", "DAG", ".", "getExternalSymbol", "(", "TLI", ".", "getLibcallName", "(", "RTLIB", "::", "MEMSET", ")", ",", "TLI", ".", "getPointerTy", "(", ")", ")", ",", "Args", ",", "DAG", ",", "dl", ")", ";", "std", "::", "pair", "<", "SDValue", ",", "SDValue", ">", "CallResult", "=", "TLI", ".", "LowerCallTo", "(", "CLI", ")", ";", "return", "CallResult", ".", "second", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memset", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM", "MVT::i32", "ISD::TRUNCATE", "MVT::i32", "ISD::ZERO_EXTEND", "MVT::i32", "0"], "File": "ARMSelectionDAGInfo40", "Func": "EmitTargetCodeForMemset", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2235, "Length": 345, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "R600TargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", "AddrSpace", ",", "Align", "Alignment", ",", "MachineMemOperand", "::", "Flags", "Flags", ",", "bool", "*", "IsFast", ")", "const", "{", "if", "(", "IsFast", ")", "*", "IsFast", "=", "false", ";", "if", "(", "!", "VT", ".", "isSimple", "(", ")", "||", "VT", "==", "MVT", "::", "Other", ")", "return", "false", ";", "if", "(", "VT", ".", "bitsLT", "(", "MVT", "::", "i32", ")", ")", "return", "false", ";", "if", "(", "IsFast", ")", "*", "IsFast", "=", "true", ";", "return", "VT", ".", "bitsGT", "(", "MVT", "::", "i32", ")", "&&", "Alignment", ">=", "Align", "(", "4", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "allows", "unaligned", "memory", "accesses", "of", "the", "specified", "type", "."], "TS_V_token": ["AMDGPU", "R600", "MVT::Other", "MVT::i32", "MVT::i32", "4"], "File": "R600ISelLowering17", "Func": "allowsMisalignedMemoryAccesses", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2236, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SITargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "AMDGPUTargetLowering", "::", "LowerOperation", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BRCOND", ":", "return", "LowerBRCOND", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "LOAD", ":", "{", "SDValue", "Result", "=", "LowerLOAD", "(", "Op", ",", "DAG", ")", ";", "assert", "(", "(", "!", "Result", ".", "getNode", "(", ")", "||", "Result", ".", "getNode", "(", ")", "->", "getNumValues", "(", ")", "==", "2", ")", "&&", "\"Load should return a value and a chain\"", ")", ";", "return", "Result", ";", "}", "case", "ISD", "::", "FSIN", ":", "case", "ISD", "::", "FCOS", ":", "return", "LowerTrig", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "LowerSELECT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FDIV", ":", "return", "LowerFDIV", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ATOMIC_CMP_SWAP", ":", "return", "LowerATOMIC_CMP_SWAP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "LowerSTORE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "SIMachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "return", "LowerGlobalAddress", "(", "MFI", ",", "Op", ",", "DAG", ")", ";", "}", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "LowerINTRINSIC_WO_CHAIN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_W_CHAIN", ":", "return", "LowerINTRINSIC_W_CHAIN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_VOID", ":", "return", "LowerINTRINSIC_VOID", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ADDRSPACECAST", ":", "return", "lowerADDRSPACECAST", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "TRAP", ":", "return", "lowerTRAP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FP_ROUND", ":", "return", "lowerFP_ROUND", "(", "Op", ",", "DAG", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU", "ISD::BRCOND", "ISD::LOAD", "2", "\"Load should return a value and a chain\"", "ISD::FSIN", "ISD::FCOS", "ISD::SELECT", "ISD::FDIV", "ISD::ATOMIC_CMP_SWAP", "ISD::STORE", "ISD::GlobalAddress", "SI", "SI", "ISD::INTRINSIC_WO_CHAIN", "SI", "ISD::INTRINSIC_W_CHAIN", "SI", "ISD::INTRINSIC_VOID", "SI", "ISD::ADDRSPACECAST", "ISD::TRAP", "ISD::FP_ROUND"], "File": "SIISelLowering113", "Func": "LowerOperation", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2237, "Length": 289, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_in_large_data_p", "(", "tree", "exp", ")", "{", "if", "(", "ix86_cmodel", "!=", "CM_MEDIUM", "&&", "ix86_cmodel", "!=", "CM_MEDIUM_PIC", ")", "return", "false", ";", "if", "(", "TREE_CODE", "(", "exp", ")", "==", "FUNCTION_DECL", ")", "return", "false", ";", "if", "(", "TREE_CODE", "(", "exp", ")", "==", "VAR_DECL", "&&", "DECL_SECTION_NAME", "(", "exp", ")", ")", "{", "const", "char", "*", "section", "=", "TREE_STRING_POINTER", "(", "DECL_SECTION_NAME", "(", "exp", ")", ")", ";", "if", "(", "strcmp", "(", "section", ",", "\".ldata\"", ")", "==", "0", "||", "strcmp", "(", "section", ",", "\".lbss\"", ")", "==", "0", ")", "return", "true", ";", "return", "false", ";", "}", "else", "{", "HOST_WIDE_INT", "size", "=", "int_size_in_bytes", "(", "TREE_TYPE", "(", "exp", ")", ")", ";", "if", "(", "!", "size", "||", "size", ">", "ix86_section_threshold", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "goes", "in", "small", "data/bss", "."], "TS_V_token": ["i386", "\".ldata\"", "0", "\".lbss\"", "0"], "File": "i3863", "Func": "ix86_in_large_data_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2238, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "TGSIInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "*", "mi", ",", "int", "&", "fi", ")", "const", "{", "if", "(", "(", "mi", "->", "getOpcode", "(", ")", "==", "TGSI", "::", "STpis", "||", "mi", "->", "getOpcode", "(", ")", "==", "TGSI", "::", "STpfs", "||", "mi", "->", "getOpcode", "(", ")", "==", "TGSI", "::", "STpiv", "||", "mi", "->", "getOpcode", "(", ")", "==", "TGSI", "::", "STpfv", ")", "&&", "mi", "->", "getOperand", "(", "0", ")", ".", "isFI", "(", ")", ")", "{", "assert", "(", "0", ")", ";", "fi", "=", "mi", "->", "getOperand", "(", "0", ")", ".", "getIndex", "(", ")", ";", "return", "mi", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["isStoreToStackSlot", "-", "If", "the", "specified", "machine", "instruction", "is", "a", "direct", "store", "to", "a", "stack", "slot", ",", "return", "the", "virtual", "or", "physical", "register", "number", "of", "the", "source", "reg", "along", "with", "the", "FrameIndex", "of", "the", "loaded", "stack", "slot", "."], "TS_V_token": ["TGSI", "TGSI", "TGSI::STpis", "TGSI::STpfs", "TGSI::STpiv", "TGSI::STpfv", "0", "0", "0", "1", "0"], "File": "TGSIInstrInfo", "Func": "isStoreToStackSlot", "Target": "TGSI", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2239, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "function_expander", "::", "get_contiguous_base", "(", "machine_mode", "mem_mode", ")", "{", "rtx", "base", "=", "convert_to_pmode", "(", "args", "[", "1", "]", ")", ";", "if", "(", "mode_suffix_id", "==", "MODE_vnum", ")", "{", "poly_int64", "size", "=", "ordered_min", "(", "GET_MODE_SIZE", "(", "mem_mode", ")", ",", "BYTES_PER_SVE_VECTOR", ")", ";", "rtx", "offset", "=", "gen_int_mode", "(", "size", ",", "Pmode", ")", ";", "offset", "=", "simplify_gen_binary", "(", "MULT", ",", "Pmode", ",", "args", "[", "2", "]", ",", "offset", ")", ";", "base", "=", "simplify_gen_binary", "(", "PLUS", ",", "Pmode", ",", "base", ",", "offset", ")", ";", "}", "return", "base", ";", "}", ""], "natrual_language": ["Return", "the", "base", "address", "for", "a", "contiguous", "load", "or", "store", "function", ".", "MEM_MODE", "is", "the", "mode", "of", "the", "addressed", "memory", "."], "TS_V_token": ["aarch64", "1", "2"], "File": "aarch64-sve-builtins", "Func": "get_contiguous_base", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2240, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "StackFixup", "::", "apply", "(", "Stack", "&", "stack", ")", "const", "{", "for", "(", "auto", "p", ":", "Changes", ")", "stack", "+=", "p", ".", "first", ";", "}", ""], "natrual_language": ["Apply", "the", "profile", "inference", "algorithm", "for", "a", "given", "function", "."], "TS_V_token": ["TVM"], "File": "TVMStackFixup", "Func": "apply", "Target": "TVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2241, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Error", "(", "SMLoc", "L", ",", "const", "Twine", "&", "Msg", ",", "ArrayRef", "<", "SMRange", ">", "Ranges", "=", "ArrayRef", "<", "SMRange", ">", "(", ")", ")", "{", "return", "Parser", ".", "Error", "(", "L", ",", "Msg", ",", "Ranges", ")", ";", "}", ""], "natrual_language": ["Return", "an", "error", "at", "the", "location", "L", ",", "with", "the", "message", "Msg", "."], "TS_V_token": ["X86"], "File": "X86AsmParser124", "Func": "Error", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2242, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "getHeader", "(", ")", "const", "{", "return", "EHPad", ";", "}", ""], "natrual_language": ["The", "header", "is", "the", "entry", "for", "each", "iteration", "."], "TS_V_token": ["WebAssembly"], "File": "WebAssemblyExceptionInfo", "Func": "getHeader", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2243, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_modes_tieable_p", "(", "machine_mode", "mode1", ",", "machine_mode", "mode2", ")", "{", "if", "(", "mode1", "==", "mode2", ")", "return", "true", ";", "if", "(", "ix86_tieable_integer_mode_p", "(", "mode1", ")", "&&", "ix86_tieable_integer_mode_p", "(", "mode2", ")", ")", "return", "true", ";", "if", "(", "mode2", "==", "XFmode", ")", "return", "mode1", "==", "SFmode", "||", "mode1", "==", "DFmode", ";", "if", "(", "mode2", "==", "DFmode", ")", "return", "mode1", "==", "SFmode", ";", "if", "(", "GET_MODE_SIZE", "(", "mode2", ")", "==", "32", "&&", "ix86_hard_regno_mode_ok", "(", "FIRST_SSE_REG", ",", "mode2", ")", ")", "return", "(", "GET_MODE_SIZE", "(", "mode1", ")", "==", "32", "&&", "ix86_hard_regno_mode_ok", "(", "FIRST_SSE_REG", ",", "mode1", ")", ")", ";", "if", "(", "GET_MODE_SIZE", "(", "mode2", ")", "==", "16", "&&", "ix86_hard_regno_mode_ok", "(", "FIRST_SSE_REG", ",", "mode2", ")", ")", "return", "(", "GET_MODE_SIZE", "(", "mode1", ")", "==", "16", "&&", "ix86_hard_regno_mode_ok", "(", "FIRST_SSE_REG", ",", "mode1", ")", ")", ";", "if", "(", "GET_MODE_SIZE", "(", "mode2", ")", "==", "8", "&&", "ix86_hard_regno_mode_ok", "(", "FIRST_MMX_REG", ",", "mode2", ")", ")", "return", "(", "GET_MODE_SIZE", "(", "mode1", ")", "==", "8", "&&", "ix86_hard_regno_mode_ok", "(", "FIRST_MMX_REG", ",", "mode1", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "MODE1", "is", "accessible", "in", "a", "register", "that", "can", "hold", "MODE2", "without", "copying", ".", "That", "is", ",", "all", "register", "classes", "that", "can", "hold", "MODE2", "can", "also", "hold", "MODE1", "."], "TS_V_token": ["i386", "32", "32", "16", "16", "8", "8"], "File": "i3867", "Func": "ix86_modes_tieable_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2244, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HSAILInstrInfo", "::", "areLoadsFromSameBasePtr", "(", "SDNode", "*", "Node1", ",", "SDNode", "*", "Node2", ",", "int64_t", "&", "Offset1", ",", "int64_t", "&", "Offset2", ")", "const", "{", "if", "(", "!", "Node1", "->", "isMachineOpcode", "(", ")", "||", "!", "Node2", "->", "isMachineOpcode", "(", ")", ")", "return", "false", ";", "MachineSDNode", "*", "mnode1", "=", "cast", "<", "MachineSDNode", ">", "(", "Node1", ")", ",", "*", "mnode2", "=", "cast", "<", "MachineSDNode", ">", "(", "Node2", ")", ";", "if", "(", "mnode1", "->", "memoperands_empty", "(", ")", "||", "mnode2", "->", "memoperands_empty", "(", ")", ")", "return", "false", ";", "if", "(", "(", "mnode1", "->", "memoperands_begin", "(", ")", "+", "1", ")", "!=", "mnode1", "->", "memoperands_end", "(", ")", "||", "(", "mnode2", "->", "memoperands_begin", "(", ")", "+", "1", ")", "!=", "mnode2", "->", "memoperands_end", "(", ")", ")", "return", "false", ";", "MachineMemOperand", "*", "mo1", ",", "*", "mo2", ";", "mo1", "=", "*", "mnode1", "->", "memoperands_begin", "(", ")", ";", "mo2", "=", "*", "mnode2", "->", "memoperands_begin", "(", ")", ";", "if", "(", "mo1", "->", "getSize", "(", ")", "!=", "mo2", "->", "getSize", "(", ")", "||", "mo1", "->", "getPointerInfo", "(", ")", ".", "getAddrSpace", "(", ")", "!=", "mo2", "->", "getPointerInfo", "(", ")", ".", "getAddrSpace", "(", ")", "||", "mo1", "->", "getValue", "(", ")", "!=", "mo2", "->", "getValue", "(", ")", "||", "mo1", "->", "getFlags", "(", ")", "!=", "mo2", "->", "getFlags", "(", ")", ")", "{", "return", "false", ";", "}", "Offset1", "=", "mo1", "->", "getOffset", "(", ")", ";", "Offset2", "=", "mo2", "->", "getOffset", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["areLoadsFromSameBasePtr", "-", "This", "is", "used", "by", "the", "pre-regalloc", "scheduler", "to", "determine", "if", "two", "loads", "are", "loading", "from", "the", "same", "base", "address", "."], "TS_V_token": ["HSAIL", "HSAIL", "1", "1"], "File": "HSAILInstrInfo", "Func": "areLoadsFromSameBasePtr", "Target": "HSAIL", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2245, "Length": 227, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_set_fixed_optab_libfunc", "(", "optab", "optable", ",", "machine_mode", "mode", ",", "const", "char", "*", "funcname", ",", "const", "char", "*", "modename", ",", "int", "num_suffix", ")", "{", "char", "buffer", "[", "50", "]", ";", "if", "(", "num_suffix", "==", "0", ")", "sprintf", "(", "buffer", ",", "\"__gnu_%s%s\"", ",", "funcname", ",", "modename", ")", ";", "else", "sprintf", "(", "buffer", ",", "\"__gnu_%s%s%d\"", ",", "funcname", ",", "modename", ",", "num_suffix", ")", ";", "set_optab_libfunc", "(", "optable", ",", "mode", ",", "buffer", ")", ";", "}", ""], "natrual_language": ["A", "small", "helper", "for", "setting", "fixed-point", "library", "libfuncs", "."], "TS_V_token": ["arm", "50", "0", "\"__gnu_%s%s\"", "\"__gnu_%s%s%d\""], "File": "arm", "Func": "arm_set_fixed_optab_libfunc", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2246, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TTI", "::", "AddressingModeKind", "ARMTTIImpl", "::", "getPreferredAddressingMode", "(", "const", "Loop", "*", "L", ",", "ScalarEvolution", "*", "SE", ")", "const", "{", "if", "(", "ST", "->", "hasMVEIntegerOps", "(", ")", ")", "return", "TTI", "::", "AMK_PostIndexed", ";", "if", "(", "L", "->", "getHeader", "(", ")", "->", "getParent", "(", ")", "->", "hasOptSize", "(", ")", ")", "return", "TTI", "::", "AMK_None", ";", "if", "(", "ST", "->", "isMClass", "(", ")", "&&", "ST", "->", "isThumb2", "(", ")", "&&", "L", "->", "getNumBlocks", "(", ")", "==", "1", ")", "return", "TTI", "::", "AMK_PreIndexed", ";", "return", "TTI", "::", "AMK_None", ";", "}", ""], "natrual_language": ["Return", "the", "preferred", "addressing", "mode", "LSR", "should", "make", "efforts", "to", "generate", "."], "TS_V_token": ["ARM", "ARM", "1"], "File": "ARMTargetTransformInfo14", "Func": "getPreferredAddressingMode", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2247, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SITargetLowering", "::", "AdjustInstrPostInstrSelection", "(", "MachineInstr", "*", "MI", ",", "SDNode", "*", "Node", ")", "const", "{", "const", "SIInstrInfo", "*", "TII", "=", "static_cast", "<", "const", "SIInstrInfo", "*", ">", "(", "getTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "getInstrInfo", "(", ")", ")", ";", "if", "(", "!", "TII", "->", "isMIMG", "(", "MI", "->", "getOpcode", "(", ")", ")", ")", "return", ";", "unsigned", "VReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "unsigned", "Writemask", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "unsigned", "BitsSet", "=", "0", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "4", ";", "++", "i", ")", "BitsSet", "+=", "Writemask", "&", "(", "1", "<<", "i", ")", "?", "1", ":", "0", ";", "const", "TargetRegisterClass", "*", "RC", ";", "switch", "(", "BitsSet", ")", "{", "default", ":", "return", ";", "case", "1", ":", "RC", "=", "&", "AMDGPU", "::", "VReg_32RegClass", ";", "break", ";", "case", "2", ":", "RC", "=", "&", "AMDGPU", "::", "VReg_64RegClass", ";", "break", ";", "case", "3", ":", "RC", "=", "&", "AMDGPU", "::", "VReg_96RegClass", ";", "break", ";", "}", "unsigned", "NewOpcode", "=", "TII", "->", "getMaskedMIMGOp", "(", "MI", "->", "getOpcode", "(", ")", ",", "BitsSet", ")", ";", "MI", "->", "setDesc", "(", "TII", "->", "get", "(", "NewOpcode", ")", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "MRI", ".", "setRegClass", "(", "VReg", ",", "RC", ")", ";", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'hasPostISelHook", "'", "flag", "."], "TS_V_token": ["R600", "SI", "SI", "SI", "0", "1", "0", "0", "4", "1", "1", "0", "1", "2", "3"], "File": "SIISelLowering146", "Func": "AdjustInstrPostInstrSelection", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2248, "Length": 224, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SPIRVGenerateDecorations", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "MachineIRBuilder", "MIRBuilder", "(", "MF", ")", ";", "auto", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "MIRBuilder", ".", "setMBB", "(", "MBB", ")", ";", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "{", "if", "(", "!", "canUseFastMathFlags", "(", "MI", ".", "getOpcode", "(", ")", ")", ")", "continue", ";", "MIRBuilder", ".", "setInstr", "(", "MI", ")", ";", "auto", "FMFlags", "=", "getFastMathFlags", "(", "MI", ")", ";", "if", "(", "FMFlags", "!=", "FPFastMathMode", "::", "None", ")", "{", "Register", "DstReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "assert", "(", "MRI", ".", "hasOneUse", "(", "DstReg", ")", "&&", "\"One use is expected\"", ")", ";", "Register", "NewReg", "=", "MRI", ".", "use_instr_begin", "(", "DstReg", ")", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "MIRBuilder", ".", "buildInstr", "(", "SPIRV", "::", "OpDecorate", ")", ".", "addUse", "(", "NewReg", ")", ".", "addImm", "(", "Decoration", "::", "FPFastMathMode", ")", ".", "addImm", "(", "FMFlags", ")", ";", "}", "}", "}", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "SPIRV", "::", "ASSIGN_TYPE", ")", "{", "Register", "SrcReg", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "if", "(", "isTypeFoldingSupported", "(", "MRI", ".", "getVRegDef", "(", "SrcReg", ")", "->", "getOpcode", "(", ")", ")", ")", "{", "Register", "DstReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "if", "(", "MRI", ".", "getType", "(", "DstReg", ")", ".", "isVector", "(", ")", ")", "MRI", ".", "setRegClass", "(", "DstReg", ",", "&", "SPIRV", "::", "IDRegClass", ")", ";", "MRI", ".", "setType", "(", "DstReg", ",", "LLT", "::", "scalar", "(", "32", ")", ")", ";", "}", "}", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["SPIRV", "SPIRV", "0", "\"One use is expected\"", "0", "SPIRV::OpDecorate", "SPIRV::ASSIGN_TYPE", "1", "0", "SPIRV::IDRegClass", "32"], "File": "SPIRVGenerateDecorations", "Func": "runOnMachineFunction", "Target": "SPIRV", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2249, "Length": 286, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "M88kDelaySlotFiller", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "M88kSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "M88kSubtarget", ">", "(", ")", ";", "TII", "=", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "Changed", "|=", "runOnMachineBasicBlock", "(", "MBB", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["M88k", "M88k", "M88k", "M88k"], "File": "M88kDelaySlotFiller", "Func": "runOnMachineFunction", "Target": "M88k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2250, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "arm_hard_regno_nregs", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "IS_VPR_REGNUM", "(", "regno", ")", ")", "return", "CEIL", "(", "GET_MODE_SIZE", "(", "mode", ")", ",", "2", ")", ";", "if", "(", "TARGET_32BIT", "&&", "regno", ">", "PC_REGNUM", "&&", "regno", "!=", "FRAME_POINTER_REGNUM", "&&", "regno", "!=", "ARG_POINTER_REGNUM", "&&", "!", "IS_VFP_REGNUM", "(", "regno", ")", ")", "return", "1", ";", "return", "ARM_NUM_REGS", "(", "mode", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_HARD_REGNO_NREGS", ".", "On", "the", "ARM", "core", "regs", "are", "UNITS_PER_WORD", "bytes", "wide", "."], "TS_V_token": ["arm", "2", "1"], "File": "arm", "Func": "arm_hard_regno_nregs", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2251, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ARM", "::", "STRrs", ":", "case", "ARM", "::", "t2STRs", ":", "if", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "isFI", "(", ")", "&&", "MI", ".", "getOperand", "(", "2", ")", ".", "isReg", "(", ")", "&&", "MI", ".", "getOperand", "(", "3", ")", ".", "isImm", "(", ")", "&&", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", "==", "0", "&&", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", "==", "0", ")", "{", "FrameIndex", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getIndex", "(", ")", ";", "return", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "}", "break", ";", "case", "ARM", "::", "STRi12", ":", "case", "ARM", "::", "t2STRi12", ":", "case", "ARM", "::", "tSTRspi", ":", "case", "ARM", "::", "VSTRD", ":", "case", "ARM", "::", "VSTRS", ":", "case", "ARM", "::", "VSTR_P0_off", ":", "case", "ARM", "::", "MVE_VSTRWU32", ":", "if", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "isFI", "(", ")", "&&", "MI", ".", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", "&&", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "==", "0", ")", "{", "FrameIndex", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getIndex", "(", ")", ";", "return", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "}", "break", ";", "case", "ARM", "::", "VST1q64", ":", "case", "ARM", "::", "VST1d64TPseudo", ":", "case", "ARM", "::", "VST1d64QPseudo", ":", "if", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "isFI", "(", ")", "&&", "MI", ".", "getOperand", "(", "2", ")", ".", "getSubReg", "(", ")", "==", "0", ")", "{", "FrameIndex", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getIndex", "(", ")", ";", "return", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ";", "}", "break", ";", "case", "ARM", "::", "VSTMQIA", ":", "if", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "isFI", "(", ")", "&&", "MI", ".", "getOperand", "(", "0", ")", ".", "getSubReg", "(", ")", "==", "0", ")", "{", "FrameIndex", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getIndex", "(", ")", ";", "return", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "}", "break", ";", "case", "ARM", "::", "MQQPRStore", ":", "case", "ARM", "::", "MQQQQPRStore", ":", "if", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "isFI", "(", ")", ")", "{", "FrameIndex", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getIndex", "(", ")", ";", "return", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "}", "break", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["isStoreToStackSlot", "-", "If", "the", "specified", "machine", "instruction", "is", "a", "direct", "store", "to", "a", "stack", "slot", ",", "return", "the", "virtual", "or", "physical", "register", "number", "of", "the", "source", "reg", "along", "with", "the", "FrameIndex", "of", "the", "loaded", "stack", "slot", "."], "TS_V_token": ["ARM", "ARM", "ARM::STRrs", "ARM::t2STRs", "1", "2", "3", "2", "0", "3", "0", "1", "0", "ARM::STRi12", "ARM::t2STRi12", "ARM::tSTRspi", "ARM::VSTRD", "ARM::VSTRS", "ARM::VSTR_P0_off", "ARM::MVE_VSTRWU32", "1", "2", "2", "0", "1", "0", "ARM::VST1q64", "ARM::VST1d64TPseudo", "ARM::VST1d64QPseudo", "0", "2", "0", "0", "2", "ARM::VSTMQIA", "1", "0", "0", "1", "0", "ARM::MQQPRStore", "ARM::MQQQQPRStore", "1", "1", "0", "0"], "File": "ARMBaseInstrInfo110", "Func": "isStoreToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2252, "Length": 417, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUSubtarget", "::", "makeLIDRangeMetadata", "(", "Instruction", "*", "I", ")", "const", "{", "Function", "*", "Kernel", "=", "I", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "unsigned", "MinSize", "=", "0", ";", "unsigned", "MaxSize", "=", "getFlatWorkGroupSizes", "(", "*", "Kernel", ")", ".", "second", ";", "bool", "IdQuery", "=", "false", ";", "if", "(", "auto", "*", "CI", "=", "dyn_cast", "<", "CallInst", ">", "(", "I", ")", ")", "{", "const", "Function", "*", "F", "=", "CI", "->", "getCalledFunction", "(", ")", ";", "if", "(", "F", ")", "{", "unsigned", "Dim", "=", "UINT_MAX", ";", "switch", "(", "F", "->", "getIntrinsicID", "(", ")", ")", "{", "case", "Intrinsic", "::", "amdgcn_workitem_id_x", ":", "case", "Intrinsic", "::", "r600_read_tidig_x", ":", "IdQuery", "=", "true", ";", "LLVM_FALLTHROUGH", ";", "case", "Intrinsic", "::", "r600_read_local_size_x", ":", "Dim", "=", "0", ";", "break", ";", "case", "Intrinsic", "::", "amdgcn_workitem_id_y", ":", "case", "Intrinsic", "::", "r600_read_tidig_y", ":", "IdQuery", "=", "true", ";", "LLVM_FALLTHROUGH", ";", "case", "Intrinsic", "::", "r600_read_local_size_y", ":", "Dim", "=", "1", ";", "break", ";", "case", "Intrinsic", "::", "amdgcn_workitem_id_z", ":", "case", "Intrinsic", "::", "r600_read_tidig_z", ":", "IdQuery", "=", "true", ";", "LLVM_FALLTHROUGH", ";", "case", "Intrinsic", "::", "r600_read_local_size_z", ":", "Dim", "=", "2", ";", "break", ";", "default", ":", "break", ";", "}", "if", "(", "Dim", "<=", "3", ")", "{", "unsigned", "ReqdSize", "=", "getReqdWorkGroupSize", "(", "*", "Kernel", ",", "Dim", ")", ";", "if", "(", "ReqdSize", "!=", "std", "::", "numeric_limits", "<", "unsigned", ">", "::", "max", "(", ")", ")", "MinSize", "=", "MaxSize", "=", "ReqdSize", ";", "}", "}", "}", "if", "(", "!", "MaxSize", ")", "return", "false", ";", "if", "(", "IdQuery", ")", "MinSize", "=", "0", ";", "else", "++", "MaxSize", ";", "MDBuilder", "MDB", "(", "I", "->", "getContext", "(", ")", ")", ";", "MDNode", "*", "MaxWorkGroupSizeRange", "=", "MDB", ".", "createRange", "(", "APInt", "(", "32", ",", "MinSize", ")", ",", "APInt", "(", "32", ",", "MaxSize", ")", ")", ";", "I", "->", "setMetadata", "(", "LLVMContext", "::", "MD_range", ",", "MaxWorkGroupSizeRange", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Creates", "value", "range", "metadata", "on", "an", "workitemid", ".", "*", "intrinsic", "call", "or", "load", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "0", "Intrinsic::amdgcn_workitem_id_x", "Intrinsic::r600_read_tidig_x", "Intrinsic::r600_read_local_size_x", "0", "Intrinsic::amdgcn_workitem_id_y", "Intrinsic::r600_read_tidig_y", "Intrinsic::r600_read_local_size_y", "1", "Intrinsic::amdgcn_workitem_id_z", "Intrinsic::r600_read_tidig_z", "Intrinsic::r600_read_local_size_z", "2", "3", "0", "32", "32"], "File": "AMDGPUSubtarget1", "Func": "makeLIDRangeMetadata", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2253, "Length": 287, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isLegalInterleavedAccessType", "(", "unsigned", "Factor", ",", "VectorType", "*", "VecTy", ",", "const", "DataLayout", "&", "DL", ")", "const", "{", "unsigned", "VecSize", "=", "DL", ".", "getTypeSizeInBits", "(", "VecTy", ")", ";", "unsigned", "ElSize", "=", "DL", ".", "getTypeSizeInBits", "(", "VecTy", "->", "getElementType", "(", ")", ")", ";", "if", "(", "!", "Subtarget", "->", "hasNEON", "(", ")", "&&", "!", "Subtarget", "->", "hasMVEIntegerOps", "(", ")", ")", "return", "false", ";", "if", "(", "Subtarget", "->", "hasNEON", "(", ")", "&&", "VecTy", "->", "getElementType", "(", ")", "->", "isHalfTy", "(", ")", ")", "return", "false", ";", "if", "(", "Subtarget", "->", "hasMVEIntegerOps", "(", ")", "&&", "Factor", "==", "3", ")", "return", "false", ";", "if", "(", "VecTy", "->", "getNumElements", "(", ")", "<", "2", ")", "return", "false", ";", "if", "(", "ElSize", "!=", "8", "&&", "ElSize", "!=", "16", "&&", "ElSize", "!=", "32", ")", "return", "false", ";", "if", "(", "Subtarget", "->", "hasNEON", "(", ")", "&&", "VecSize", "==", "64", ")", "return", "true", ";", "return", "VecSize", "%", "128", "==", "0", ";", "}", ""], "natrual_language": ["Returns", "whether", "or", "not", "generating", "a", "interleaved", "load/store", "intrinsic", "for", "this", "type", "will", "be", "legal", "."], "TS_V_token": ["ARM", "ARM", "3", "2", "8", "16", "32", "64", "128", "0"], "File": "ARMISelLowering (2)6", "Func": "isLegalInterleavedAccessType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2254, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "PPCSubtarget", "*", "PPCTargetMachine", "::", "getSubtargetImpl", "(", "const", "Function", "&", "F", ")", "const", "{", "Attribute", "CPUAttr", "=", "F", ".", "getFnAttribute", "(", "\"target-cpu\"", ")", ";", "Attribute", "FSAttr", "=", "F", ".", "getFnAttribute", "(", "\"target-features\"", ")", ";", "std", "::", "string", "CPU", "=", "CPUAttr", ".", "isValid", "(", ")", "?", "CPUAttr", ".", "getValueAsString", "(", ")", ".", "str", "(", ")", ":", "TargetCPU", ";", "std", "::", "string", "FS", "=", "FSAttr", ".", "isValid", "(", ")", "?", "FSAttr", ".", "getValueAsString", "(", ")", ".", "str", "(", ")", ":", "TargetFS", ";", "bool", "SoftFloat", "=", "F", ".", "getFnAttribute", "(", "\"use-soft-float\"", ")", ".", "getValueAsBool", "(", ")", ";", "if", "(", "SoftFloat", ")", "FS", "+=", "FS", ".", "empty", "(", ")", "?", "\"-hard-float\"", ":", "\",-hard-float\"", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "CPU", "+", "FS", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "I", "=", "std", "::", "make_unique", "<", "PPCSubtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "computeFSAdditions", "(", "FS", ",", "getOptLevel", "(", ")", ",", "getTargetTriple", "(", ")", ")", ",", "*", "this", ")", ";", "}", "return", "I", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["Virtual", "method", "implemented", "by", "subclasses", "that", "returns", "a", "reference", "to", "that", "target", "'s", "TargetSubtargetInfo-derived", "member", "variable", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "\"target-cpu\"", "\"target-features\"", "\"use-soft-float\"", "\"-hard-float\"", "\",-hard-float\"", "PPC"], "File": "PPCTargetMachine40", "Func": "getSubtargetImpl", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2255, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "tilepro_legitimate_constant_p", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "x", ")", "{", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "CONST", ":", "case", "SYMBOL_REF", ":", "return", "!", "tilepro_tls_referenced_p", "(", "x", ")", ";", "default", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_LEGITIMATE_CONSTANT_P", ".", "This", "is", "all", "constants", "for", "which", "we", "are", "willing", "to", "load", "the", "value", "into", "a", "register", "via", "a", "move", "pattern", ".", "TLS", "can", "not", "be", "treated", "as", "a", "constant", "because", "it", "can", "include", "a", "function", "call", "."], "TS_V_token": ["tilepro"], "File": "tilepro", "Func": "tilepro_legitimate_constant_p", "Target": "tilepro", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 2256, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["AMDGPU"], "File": "R600FrameLowering1", "Func": "emitEpilogue", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2257, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "if", "(", "RC", "==", "SP", "::", "IntRegsRegisterClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "false", ",", "false", ",", "isKill", ")", ";", "else", "if", "(", "RC", "==", "SP", "::", "FPRegsRegisterClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STFri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "false", ",", "false", ",", "isKill", ")", ";", "else", "if", "(", "RC", "==", "SP", "::", "DFPRegsRegisterClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "SP", "::", "STDFri", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "false", ",", "false", ",", "isKill", ")", ";", "else", "assert", "(", "0", "&&", "\"Can't store this register to stack slot\"", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["Sparc", "Sparc", "SP::IntRegsRegisterClass", "SP::STri", "0", "SP::FPRegsRegisterClass", "SP::STFri", "0", "SP::DFPRegsRegisterClass", "SP::STDFri", "0", "0", "\"Can't store this register to stack slot\""], "File": "SparcInstrInfo36", "Func": "storeRegToStackSlot", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2258, "Length": 203, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64AsmParser", "::", "validateTargetOperandClass", "(", "MCParsedAsmOperand", "&", "AsmOp", ",", "unsigned", "Kind", ")", "{", "AArch64Operand", "&", "Op", "=", "static_cast", "<", "AArch64Operand", "&", ">", "(", "AsmOp", ")", ";", "int64_t", "ExpectedVal", ";", "switch", "(", "Kind", ")", "{", "default", ":", "return", "Match_InvalidOperand", ";", "case", "MCK__HASH_0", ":", "ExpectedVal", "=", "0", ";", "break", ";", "case", "MCK__HASH_1", ":", "ExpectedVal", "=", "1", ";", "break", ";", "case", "MCK__HASH_12", ":", "ExpectedVal", "=", "12", ";", "break", ";", "case", "MCK__HASH_16", ":", "ExpectedVal", "=", "16", ";", "break", ";", "case", "MCK__HASH_2", ":", "ExpectedVal", "=", "2", ";", "break", ";", "case", "MCK__HASH_24", ":", "ExpectedVal", "=", "24", ";", "break", ";", "case", "MCK__HASH_3", ":", "ExpectedVal", "=", "3", ";", "break", ";", "case", "MCK__HASH_32", ":", "ExpectedVal", "=", "32", ";", "break", ";", "case", "MCK__HASH_4", ":", "ExpectedVal", "=", "4", ";", "break", ";", "case", "MCK__HASH_48", ":", "ExpectedVal", "=", "48", ";", "break", ";", "case", "MCK__HASH_6", ":", "ExpectedVal", "=", "6", ";", "break", ";", "case", "MCK__HASH_64", ":", "ExpectedVal", "=", "64", ";", "break", ";", "case", "MCK__HASH_8", ":", "ExpectedVal", "=", "8", ";", "break", ";", "case", "MCK_MPR", ":", "if", "(", "Op", ".", "isTokenEqual", "(", "\"za\"", ")", ")", "return", "Match_Success", ";", "break", ";", "}", "if", "(", "!", "Op", ".", "isImm", "(", ")", ")", "return", "Match_InvalidOperand", ";", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Op", ".", "getImm", "(", ")", ")", ";", "if", "(", "!", "CE", ")", "return", "Match_InvalidOperand", ";", "if", "(", "CE", "->", "getValue", "(", ")", "==", "ExpectedVal", ")", "return", "Match_Success", ";", "return", "Match_InvalidOperand", ";", "}", ""], "natrual_language": ["Allow", "a", "target", "to", "add", "special", "case", "operand", "matching", "for", "things", "that", "tblgen", "doesn't/ca", "n't", "handle", "effectively", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "0", "1", "12", "16", "2", "24", "3", "32", "4", "48", "6", "64", "8", "\"za\""], "File": "AArch64AsmParser1", "Func": "validateTargetOperandClass", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2259, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FPS", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "bool", "FPIsUsed", "=", "false", ";", "static_assert", "(", "X86", "::", "FP6", "==", "X86", "::", "FP0", "+", "6", ",", "\"Register enums aren't sorted right!\"", ")", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<=", "6", ";", "++", "i", ")", "if", "(", "!", "MRI", ".", "reg_nodbg_empty", "(", "X86", "::", "FP0", "+", "i", ")", ")", "{", "FPIsUsed", "=", "true", ";", "break", ";", "}", "if", "(", "!", "FPIsUsed", ")", "return", "false", ";", "Bundles", "=", "&", "getAnalysis", "<", "EdgeBundles", ">", "(", ")", ";", "TII", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "bundleCFGRecomputeKillFlags", "(", "MF", ")", ";", "StackTop", "=", "0", ";", "df_iterator_default_set", "<", "MachineBasicBlock", "*", ">", "Processed", ";", "MachineBasicBlock", "*", "Entry", "=", "&", "MF", ".", "front", "(", ")", ";", "LiveBundle", "&", "Bundle", "=", "LiveBundles", "[", "Bundles", "->", "getBundle", "(", "Entry", "->", "getNumber", "(", ")", ",", "false", ")", "]", ";", "if", "(", "(", "Entry", "->", "getParent", "(", ")", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "X86_RegCall", ")", "&&", "(", "Bundle", ".", "Mask", "&&", "!", "Bundle", ".", "FixCount", ")", ")", "{", "assert", "(", "(", "Bundle", ".", "Mask", "&", "0xFE", ")", "==", "0", "&&", "\"Only FP0 could be passed as an argument\"", ")", ";", "Bundle", ".", "FixCount", "=", "1", ";", "Bundle", ".", "FixStack", "[", "0", "]", "=", "0", ";", "}", "bool", "Changed", "=", "false", ";", "for", "(", "MachineBasicBlock", "*", "BB", ":", "depth_first_ext", "(", "Entry", ",", "Processed", ")", ")", "Changed", "|=", "processBasicBlock", "(", "MF", ",", "*", "BB", ")", ";", "if", "(", "MF", ".", "size", "(", ")", "!=", "Processed", ".", "size", "(", ")", ")", "for", "(", "MachineBasicBlock", "&", "BB", ":", "MF", ")", "if", "(", "Processed", ".", "insert", "(", "&", "BB", ")", ".", "second", ")", "Changed", "|=", "processBasicBlock", "(", "MF", ",", "BB", ")", ";", "LiveBundles", ".", "clear", "(", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86::FP6", "X86::FP0", "6", "\"Register enums aren't sorted right!\"", "0", "6", "X86::FP0", "0", "X86", "0xFE", "0", "\"Only FP0 could be passed as an argument\"", "1", "0", "0"], "File": "X86FloatingPoint11", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2260, "Length": 300, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "shouldConvertConstantLoadToIntImm", "(", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "const", "{", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "unsigned", "Bits", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "Bits", "==", "0", "||", "Bits", ">", "32", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "it", "is", "beneficial", "to", "convert", "a", "load", "of", "a", "constant", "to", "just", "the", "constant", "itself", "."], "TS_V_token": ["ARM", "ARM", "0", "32"], "File": "ARMISelLowering (2)", "Func": "shouldConvertConstantLoadToIntImm", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2261, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "direct_move_p", "(", "rtx", "op0", ",", "rtx", "op1", ")", "{", "int", "regno0", ",", "regno1", ";", "if", "(", "!", "REG_P", "(", "op0", ")", "||", "!", "REG_P", "(", "op1", ")", ")", "return", "false", ";", "if", "(", "!", "TARGET_DIRECT_MOVE", "&&", "!", "TARGET_MFPGPR", ")", "return", "false", ";", "regno0", "=", "REGNO", "(", "op0", ")", ";", "regno1", "=", "REGNO", "(", "op1", ")", ";", "if", "(", "regno0", ">=", "FIRST_PSEUDO_REGISTER", "||", "regno1", ">=", "FIRST_PSEUDO_REGISTER", ")", "return", "false", ";", "if", "(", "INT_REGNO_P", "(", "regno0", ")", ")", "return", "(", "TARGET_DIRECT_MOVE", ")", "?", "VSX_REGNO_P", "(", "regno1", ")", ":", "FP_REGNO_P", "(", "regno1", ")", ";", "else", "if", "(", "INT_REGNO_P", "(", "regno1", ")", ")", "{", "if", "(", "TARGET_MFPGPR", "&&", "FP_REGNO_P", "(", "regno0", ")", ")", "return", "true", ";", "else", "if", "(", "TARGET_DIRECT_MOVE", "&&", "VSX_REGNO_P", "(", "regno0", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "is", "a", "move", "direct", "operation", "between", "GPR", "registers", "and", "floating", "point/VSX", "registers", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "direct_move_p", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2262, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsPassConfig", "::", "addPreLegalizeMachineIR", "(", ")", "{", "addPass", "(", "createMipsPreLegalizeCombiner", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "legalization", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsTargetMachine (2)1", "Func": "addPreLegalizeMachineIR", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2263, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "WebAssemblyTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDLoc", "DL", "(", "Op", ")", ";", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"unimplemented operation lowering\"", ")", ";", "return", "SDValue", "(", ")", ";", "case", "ISD", "::", "FrameIndex", ":", "return", "LowerFrameIndex", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ExternalSymbol", ":", "return", "LowerExternalSymbol", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "JumpTable", ":", "return", "LowerJumpTable", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BR_JT", ":", "return", "LowerBR_JT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "case", "ISD", "::", "BRIND", ":", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly hasn't implemented computed gotos\"", ")", ";", "return", "SDValue", "(", ")", ";", "case", "ISD", "::", "RETURNADDR", ":", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly hasn't implemented __builtin_return_address\"", ")", ";", "return", "SDValue", "(", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "LowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "CopyToReg", ":", "return", "LowerCopyToReg", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "LowerINTRINSIC_WO_CHAIN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VECTOR_SHUFFLE", ":", "return", "LowerVECTOR_SHUFFLE", "(", "Op", ",", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"unimplemented operation lowering\"", "ISD::FrameIndex", "ISD::GlobalAddress", "ISD::ExternalSymbol", "ISD::JumpTable", "ISD::BR_JT", "ISD::VASTART", "ISD::BlockAddress", "ISD::BRIND", "\"WebAssembly hasn't implemented computed gotos\"", "ISD::RETURNADDR", "\"WebAssembly hasn't implemented __builtin_return_address\"", "ISD::FRAMEADDR", "ISD::CopyToReg", "ISD::INTRINSIC_WO_CHAIN", "ISD::VECTOR_SHUFFLE"], "File": "WebAssemblyISelLowering21", "Func": "LowerOperation", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2264, "Length": 216, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "SystemZTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "OPCODE", "(", "RET_FLAG", ")", ";", "OPCODE", "(", "CALL", ")", ";", "OPCODE", "(", "PCREL_WRAPPER", ")", ";", "OPCODE", "(", "CMP", ")", ";", "OPCODE", "(", "UCMP", ")", ";", "OPCODE", "(", "BR_CCMASK", ")", ";", "OPCODE", "(", "SELECT_CCMASK", ")", ";", "OPCODE", "(", "ADJDYNALLOC", ")", ";", "OPCODE", "(", "EXTRACT_ACCESS", ")", ";", "OPCODE", "(", "UMUL_LOHI64", ")", ";", "OPCODE", "(", "SDIVREM64", ")", ";", "OPCODE", "(", "UDIVREM32", ")", ";", "OPCODE", "(", "UDIVREM64", ")", ";", "OPCODE", "(", "ATOMIC_SWAPW", ")", ";", "OPCODE", "(", "ATOMIC_LOADW_ADD", ")", ";", "OPCODE", "(", "ATOMIC_LOADW_SUB", ")", ";", "OPCODE", "(", "ATOMIC_LOADW_AND", ")", ";", "OPCODE", "(", "ATOMIC_LOADW_OR", ")", ";", "OPCODE", "(", "ATOMIC_LOADW_XOR", ")", ";", "OPCODE", "(", "ATOMIC_LOADW_NAND", ")", ";", "OPCODE", "(", "ATOMIC_LOADW_MIN", ")", ";", "OPCODE", "(", "ATOMIC_LOADW_MAX", ")", ";", "OPCODE", "(", "ATOMIC_LOADW_UMIN", ")", ";", "OPCODE", "(", "ATOMIC_LOADW_UMAX", ")", ";", "OPCODE", "(", "ATOMIC_CMP_SWAPW", ")", ";", "}", "return", "NULL", ";", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZISelLowering118", "Func": "getTargetNodeName", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2265, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86DAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "char", "ConstraintCode", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "SDValue", "Op0", ",", "Op1", ",", "Op2", ",", "Op3", ",", "Op4", ";", "switch", "(", "ConstraintCode", ")", "{", "case", "'o'", ":", "case", "'v'", ":", "default", ":", "return", "true", ";", "case", "'m'", ":", "if", "(", "!", "SelectAddr", "(", "Op", ".", "getNode", "(", ")", ",", "Op", ",", "Op0", ",", "Op1", ",", "Op2", ",", "Op3", ",", "Op4", ")", ")", "return", "true", ";", "break", ";", "}", "OutOps", ".", "push_back", "(", "Op0", ")", ";", "OutOps", ".", "push_back", "(", "Op1", ")", ";", "OutOps", ".", "push_back", "(", "Op2", ")", ";", "OutOps", ".", "push_back", "(", "Op3", ")", ";", "OutOps", ".", "push_back", "(", "Op4", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["SelectInlineAsmMemoryOperand", "-", "Select", "the", "specified", "address", "as", "a", "target", "addressing", "mode", ",", "according", "to", "the", "specified", "constraint", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelDAGToDAG132", "Func": "SelectInlineAsmMemoryOperand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2266, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsFunctionInfo", "::", "getGlobalBaseReg", "(", ")", "{", "if", "(", "GlobalBaseReg", ")", "return", "GlobalBaseReg", ";", "MipsSubtarget", "const", "&", "STI", "=", "static_cast", "<", "const", "MipsSubtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "STI", ".", "inMips16Mode", "(", ")", "?", "&", "Mips", "::", "CPU16RegsRegClass", ":", "STI", ".", "inMicroMipsMode", "(", ")", "?", "&", "Mips", "::", "GPRMM16RegClass", ":", "static_cast", "<", "const", "MipsTargetMachine", "&", ">", "(", "MF", ".", "getTarget", "(", ")", ")", ".", "getABI", "(", ")", ".", "IsN64", "(", ")", "?", "&", "Mips", "::", "GPR64RegClass", ":", "&", "Mips", "::", "GPR32RegClass", ";", "return", "GlobalBaseReg", "=", "MF", ".", "getRegInfo", "(", ")", ".", "createVirtualRegister", "(", "RC", ")", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips::CPU16RegsRegClass", "Mips", "Mips::GPRMM16RegClass", "Mips", "Mips::GPR64RegClass", "Mips::GPR32RegClass"], "File": "MipsMachineFunction (2)", "Func": "getGlobalBaseReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2267, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emitSPUpdate", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "unsigned", "StackPtr", ",", "int64_t", "NumBytes", ",", "bool", "Is64BitTarget", ",", "bool", "Is64BitStackPtr", ",", "bool", "UseLEA", ",", "const", "TargetInstrInfo", "&", "TII", ",", "const", "TargetRegisterInfo", "&", "TRI", ")", "{", "bool", "isSub", "=", "NumBytes", "<", "0", ";", "uint64_t", "Offset", "=", "isSub", "?", "-", "NumBytes", ":", "NumBytes", ";", "unsigned", "Opc", ";", "if", "(", "UseLEA", ")", "Opc", "=", "getLEArOpcode", "(", "Is64BitStackPtr", ")", ";", "else", "Opc", "=", "isSub", "?", "getSUBriOpcode", "(", "Is64BitStackPtr", ",", "Offset", ")", ":", "getADDriOpcode", "(", "Is64BitStackPtr", ",", "Offset", ")", ";", "uint64_t", "Chunk", "=", "(", "1LL", "<<", "31", ")", "-", "1", ";", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MBBI", ")", ";", "while", "(", "Offset", ")", "{", "uint64_t", "ThisVal", "=", "(", "Offset", ">", "Chunk", ")", "?", "Chunk", ":", "Offset", ";", "if", "(", "ThisVal", "==", "(", "Is64BitTarget", "?", "8", ":", "4", ")", ")", "{", "unsigned", "Reg", "=", "isSub", "?", "(", "unsigned", ")", "(", "Is64BitTarget", "?", "X86", "::", "RAX", ":", "X86", "::", "EAX", ")", ":", "findDeadCallerSavedReg", "(", "MBB", ",", "MBBI", ",", "TRI", ",", "Is64BitTarget", ")", ";", "if", "(", "Reg", ")", "{", "Opc", "=", "isSub", "?", "(", "Is64BitTarget", "?", "X86", "::", "PUSH64r", ":", "X86", "::", "PUSH32r", ")", ":", "(", "Is64BitTarget", "?", "X86", "::", "POP64r", ":", "X86", "::", "POP32r", ")", ";", "MachineInstr", "*", "MI", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ")", ".", "addReg", "(", "Reg", ",", "getDefRegState", "(", "!", "isSub", ")", "|", "getUndefRegState", "(", "isSub", ")", ")", ";", "if", "(", "isSub", ")", "MI", "->", "setFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "Offset", "-=", "ThisVal", ";", "continue", ";", "}", "}", "MachineInstr", "*", "MI", "=", "nullptr", ";", "if", "(", "UseLEA", ")", "{", "MI", "=", "addRegOffset", "(", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "StackPtr", ")", ",", "StackPtr", ",", "false", ",", "isSub", "?", "-", "ThisVal", ":", "ThisVal", ")", ";", "}", "else", "{", "MI", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "StackPtr", ")", ".", "addReg", "(", "StackPtr", ")", ".", "addImm", "(", "ThisVal", ")", ";", "MI", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "}", "if", "(", "isSub", ")", "MI", "->", "setFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "Offset", "-=", "ThisVal", ";", "}", "}", ""], "natrual_language": ["Emit", "a", "series", "of", "instructions", "to", "increment", "/", "decrement", "the", "stack", "pointer", "by", "a", "constant", "value", "."], "TS_V_token": ["X86", "0", "1LL", "31", "1", "8", "4", "X86::RAX", "X86::EAX", "X86::PUSH64r", "X86::PUSH32r", "X86::POP64r", "X86::POP32r", "3"], "File": "X86FrameLowering106", "Func": "emitSPUpdate", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2268, "Length": 372, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ArgDescriptor", "::", "print", "(", "raw_ostream", "&", "OS", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "!", "isSet", "(", ")", ")", "{", "OS", "<<", "\"\\n\"", ";", "return", ";", "}", "if", "(", "isRegister", "(", ")", ")", "OS", "<<", "\"Reg \"", "<<", "PrintReg", "(", "getRegister", "(", ")", ",", "TRI", ")", "<<", "'\\n'", ";", "else", "OS", "<<", "\"Stack offset \"", "<<", "getStackOffset", "(", ")", "<<", "'\\n'", ";", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["AMDGPU", "\"\\n\"", "\"Reg \"", "\"Stack offset \""], "File": "AMDGPUArgumentUsageInfo2", "Func": "print", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2269, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtl_opt_pass", "*", "make_pass_fma_steering", "(", "gcc", "::", "context", "*", "ctxt", ")", "{", "return", "new", "pass_fma_steering", "(", "ctxt", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "fma", "steering", "pass", "instance", "."], "TS_V_token": ["aarch64"], "File": "cortex-a57-fma-steering2", "Func": "make_pass_fma_steering", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2270, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "reg_class", "alpha_preferred_reload_class", "(", "rtx", "x", ",", "enum", "reg_class", "rclass", ")", "{", "if", "(", "x", "==", "CONST0_RTX", "(", "GET_MODE", "(", "x", ")", ")", ")", "return", "rclass", ";", "if", "(", "CONST_SCALAR_INT_P", "(", "x", ")", "||", "CONST_DOUBLE_P", "(", "x", ")", "||", "GET_CODE", "(", "x", ")", "==", "CONST_VECTOR", ")", "{", "if", "(", "rclass", "==", "FLOAT_REGS", ")", "return", "NO_REGS", ";", "if", "(", "rclass", "==", "ALL_REGS", ")", "return", "GENERAL_REGS", ";", "return", "rclass", ";", "}", "if", "(", "CONSTANT_P", "(", "x", ")", ")", "return", "(", "rclass", "==", "ALL_REGS", "?", "GENERAL_REGS", ":", "rclass", ")", ";", "return", "rclass", ";", "}", ""], "natrual_language": ["On", "the", "Alpha", ",", "all", "(", "non-symbolic", ")", "constants", "except", "zero", "go", "into", "a", "floating-point", "register", "via", "memory", ".", "Note", "that", "we", "can", "not", "return", "anything", "that", "is", "not", "a", "subset", "of", "CLASS", ",", "and", "that", "some", "symbolic", "constants", "can", "not", "be", "dropped", "to", "memory", "."], "TS_V_token": ["alpha"], "File": "alpha", "Func": "alpha_preferred_reload_class", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2271, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_elf_output_toc_section_asm_op", "(", "const", "char", "*", "data", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "(", "DEFAULT_ABI", "==", "ABI_AIX", "||", "DEFAULT_ABI", "==", "ABI_ELFv2", ")", "&&", "TARGET_MINIMAL_TOC", ")", "{", "if", "(", "!", "toc_initialized", ")", "{", "fprintf", "(", "asm_out_file", ",", "\"%s\\n\"", ",", "TOC_SECTION_ASM_OP", ")", ";", "ASM_OUTPUT_ALIGN", "(", "asm_out_file", ",", "TARGET_64BIT", "?", "3", ":", "2", ")", ";", "(", "*", "targetm", ".", "asm_out", ".", "internal_label", ")", "(", "asm_out_file", ",", "\"LCTOC\"", ",", "0", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.tc \"", ")", ";", "ASM_OUTPUT_INTERNAL_LABEL_PREFIX", "(", "asm_out_file", ",", "\"LCTOC1[TC],\"", ")", ";", "ASM_OUTPUT_INTERNAL_LABEL_PREFIX", "(", "asm_out_file", ",", "\"LCTOC1\"", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\n\"", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"%s\\n\"", ",", "MINIMAL_TOC_SECTION_ASM_OP", ")", ";", "ASM_OUTPUT_ALIGN", "(", "asm_out_file", ",", "TARGET_64BIT", "?", "3", ":", "2", ")", ";", "ASM_OUTPUT_INTERNAL_LABEL_PREFIX", "(", "asm_out_file", ",", "\"LCTOC1\"", ")", ";", "fprintf", "(", "asm_out_file", ",", "\" = .+32768\\n\"", ")", ";", "toc_initialized", "=", "1", ";", "}", "else", "fprintf", "(", "asm_out_file", ",", "\"%s\\n\"", ",", "MINIMAL_TOC_SECTION_ASM_OP", ")", ";", "}", "else", "if", "(", "DEFAULT_ABI", "==", "ABI_AIX", "||", "DEFAULT_ABI", "==", "ABI_ELFv2", ")", "{", "fprintf", "(", "asm_out_file", ",", "\"%s\\n\"", ",", "TOC_SECTION_ASM_OP", ")", ";", "if", "(", "!", "toc_initialized", ")", "{", "ASM_OUTPUT_ALIGN", "(", "asm_out_file", ",", "TARGET_64BIT", "?", "3", ":", "2", ")", ";", "toc_initialized", "=", "1", ";", "}", "}", "else", "{", "fprintf", "(", "asm_out_file", ",", "\"%s\\n\"", ",", "MINIMAL_TOC_SECTION_ASM_OP", ")", ";", "if", "(", "!", "toc_initialized", ")", "{", "ASM_OUTPUT_ALIGN", "(", "asm_out_file", ",", "TARGET_64BIT", "?", "3", ":", "2", ")", ";", "ASM_OUTPUT_INTERNAL_LABEL_PREFIX", "(", "asm_out_file", ",", "\"LCTOC1\"", ")", ";", "fprintf", "(", "asm_out_file", ",", "\" = .+32768\\n\"", ")", ";", "toc_initialized", "=", "1", ";", "}", "}", "}", ""], "natrual_language": ["A", "get_unnamed_section", "callback", ",", "used", "for", "switching", "to", "toc_section", "."], "TS_V_token": ["rs6000", "\"%s\\n\"", "3", "2", "\"LCTOC\"", "0", "\"\\t.tc \"", "\"LCTOC1[TC],\"", "\"LCTOC1\"", "\"\\n\"", "\"%s\\n\"", "3", "2", "\"LCTOC1\"", "\" = .+32768\\n\"", "1", "\"%s\\n\"", "\"%s\\n\"", "3", "2", "1", "\"%s\\n\"", "3", "2", "\"LCTOC1\"", "\" = .+32768\\n\"", "1"], "File": "rs6000", "Func": "rs6000_elf_output_toc_section_asm_op", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2272, "Length": 239, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "0", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["Hexagon", "0"], "File": "HexagonAsmBackend13", "Func": "getNumFixupKinds", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2273, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "tilepro_expand_unaligned_store", "(", "rtx", "mem", ",", "rtx", "src", ",", "HOST_WIDE_INT", "bitsize", ",", "HOST_WIDE_INT", "bit_offset", ")", "{", "HOST_WIDE_INT", "byte_offset", "=", "bit_offset", "/", "BITS_PER_UNIT", ";", "HOST_WIDE_INT", "bytesize", "=", "bitsize", "/", "BITS_PER_UNIT", ";", "HOST_WIDE_INT", "shift_amt", ";", "HOST_WIDE_INT", "i", ";", "rtx", "mem_addr", ";", "rtx", "store_val", ";", "for", "(", "i", "=", "0", ",", "shift_amt", "=", "0", ";", "i", "<", "bytesize", ";", "i", "++", ",", "shift_amt", "+=", "BITS_PER_UNIT", ")", "{", "mem_addr", "=", "adjust_address", "(", "mem", ",", "QImode", ",", "byte_offset", "+", "i", ")", ";", "if", "(", "shift_amt", ")", "{", "store_val", "=", "expand_simple_binop", "(", "SImode", ",", "LSHIFTRT", ",", "gen_lowpart", "(", "SImode", ",", "src", ")", ",", "GEN_INT", "(", "shift_amt", ")", ",", "NULL", ",", "1", ",", "OPTAB_LIB_WIDEN", ")", ";", "store_val", "=", "gen_lowpart", "(", "QImode", ",", "store_val", ")", ";", "}", "else", "{", "store_val", "=", "gen_lowpart", "(", "QImode", ",", "src", ")", ";", "}", "emit_move_insn", "(", "mem_addr", ",", "store_val", ")", ";", "}", "}", ""], "natrual_language": ["Expand", "unaligned", "stores", "."], "TS_V_token": ["tilepro", "0", "0", "1"], "File": "tilepro", "Func": "tilepro_expand_unaligned_store", "Target": "tilepro", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 2274, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "find", "(", "const", "Function", "*", "F", ",", "MachineFunction", "*", "MF", ",", "Register", "&", "R", ")", "{", "return", "DT", ".", "find", "(", "F", ",", "MF", ",", "R", ")", ";", "}", ""], "natrual_language": ["Search", "for", "the", "first", "string", "Str", "in", "the", "string", "."], "TS_V_token": ["SPIRV"], "File": "SPIRVGlobalRegistry1", "Func": "find", "Target": "SPIRV", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2275, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyLateEHPrepare", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** Late EH Prepare **********\\n\"", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "if", "(", "MF", ".", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", "->", "getExceptionHandlingType", "(", ")", "!=", "ExceptionHandling", "::", "Wasm", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "Changed", "|=", "removeUnnecessaryUnreachables", "(", "MF", ")", ";", "Changed", "|=", "addRethrows", "(", "MF", ")", ";", "if", "(", "!", "MF", ".", "getFunction", "(", ")", ".", "hasPersonalityFn", "(", ")", ")", "return", "Changed", ";", "Changed", "|=", "replaceFuncletReturns", "(", "MF", ")", ";", "Changed", "|=", "hoistCatches", "(", "MF", ")", ";", "Changed", "|=", "addCatchAlls", "(", "MF", ")", ";", "Changed", "|=", "ensureSingleBBTermPads", "(", "MF", ")", ";", "Changed", "|=", "mergeTerminatePads", "(", "MF", ")", ";", "Changed", "|=", "addCatchAllTerminatePads", "(", "MF", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"********** Late EH Prepare **********\\n\"", "\"********** Function: \""], "File": "WebAssemblyLateEHPrepare", "Func": "runOnMachineFunction", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2276, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "A15SDOptimizer", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "if", "(", "skipFunction", "(", "*", "Fn", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "const", "ARMSubtarget", "&", "STI", "=", "Fn", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "if", "(", "!", "(", "STI", ".", "isCortexA15", "(", ")", "&&", "STI", ".", "hasNEON", "(", ")", ")", ")", "return", "false", ";", "TII", "=", "STI", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "Fn", ".", "getRegInfo", "(", ")", ";", "bool", "Modified", "=", "false", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Running on function \"", "<<", "Fn", ".", "getName", "(", ")", "<<", "\"\\n\"", ")", ";", "DeadInstr", ".", "clear", "(", ")", ";", "Replacements", ".", "clear", "(", ")", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "Fn", ")", "{", "for", "(", "MachineInstr", "&", "MI", ":", "MBB", ")", "{", "Modified", "|=", "runOnInstruction", "(", "&", "MI", ")", ";", "}", "}", "for", "(", "MachineInstr", "*", "MI", ":", "DeadInstr", ")", "{", "MI", "->", "eraseFromParent", "(", ")", ";", "}", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM", "\"Running on function \"", "\"\\n\""], "File": "A15SDOptimizer18", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2277, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SDValue", "&", "getValue", "(", ")", "const", "{", "return", "getOperand", "(", "3", ")", ";", "}", ""], "natrual_language": ["Return", "the", "contained", "Value", "."], "TS_V_token": ["X86", "3"], "File": "X86ISelLowering", "Func": "getValue", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2278, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "if", "(", "isFuncletReturnInstr", "(", "MI", ")", "&&", "STI", ".", "is32Bit", "(", ")", "&&", "STI", ".", "isOSWindows", "(", ")", ")", "return", "true", ";", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "if", "(", "X86", "::", "GR64RegClass", ".", "contains", "(", "Reg", ")", "||", "X86", "::", "GR32RegClass", ".", "contains", "(", "Reg", ")", ")", "continue", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "TII", ".", "loadRegFromStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "CSI", "[", "i", "]", ".", "getFrameIdx", "(", ")", ",", "RC", ",", "TRI", ")", ";", "}", "unsigned", "Opc", "=", "STI", ".", "is64Bit", "(", ")", "?", "X86", "::", "POP64r", ":", "X86", "::", "POP32r", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "if", "(", "!", "X86", "::", "GR64RegClass", ".", "contains", "(", "Reg", ")", "&&", "!", "X86", "::", "GR32RegClass", ".", "contains", "(", "Reg", ")", ")", "continue", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "Reg", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["restoreCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "restore", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "load", "instructions", "via", "loadRegToStackSlot", "(", ")", "."], "TS_V_token": ["X86", "X86", "0", "X86::GR64RegClass", "X86::GR32RegClass", "X86::POP64r", "X86::POP32r", "0", "X86::GR64RegClass", "X86::GR32RegClass"], "File": "X86FrameLowering94", "Func": "restoreCalleeSavedRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2279, "Length": 267, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "frv_insn_unit", "(", "rtx", "insn", ")", "{", "enum", "attr_type", "type", ";", "type", "=", "get_attr_type", "(", "insn", ")", ";", "if", "(", "frv_type_to_unit", "[", "type", "]", "==", "ARRAY_SIZE", "(", "frv_unit_codes", ")", ")", "{", "state_t", "state", ";", "unsigned", "int", "unit", ";", "state", "=", "alloca", "(", "state_size", "(", ")", ")", ";", "state_reset", "(", "state", ")", ";", "state_transition", "(", "state", ",", "insn", ")", ";", "for", "(", "unit", "=", "0", ";", "unit", "<", "ARRAY_SIZE", "(", "frv_unit_codes", ")", ";", "unit", "++", ")", "if", "(", "cpu_unit_reservation_p", "(", "state", ",", "frv_unit_codes", "[", "unit", "]", ")", ")", "break", ";", "gcc_assert", "(", "unit", "!=", "ARRAY_SIZE", "(", "frv_unit_codes", ")", ")", ";", "frv_type_to_unit", "[", "type", "]", "=", "unit", ";", "}", "return", "frv_type_to_unit", "[", "type", "]", ";", "}", ""], "natrual_language": ["Return", "the", "index", "of", "the", "DFA", "unit", "in", "FRV_UNIT_NAMES", "[", "]", "that", "instruction", "INSN", "will", "try", "to", "claim", "first", ".", "Since", "this", "value", "depends", "only", "on", "the", "type", "attribute", ",", "we", "can", "cache", "the", "results", "in", "FRV_TYPE_TO_UNIT", "[", "]", "."], "TS_V_token": ["frv", "0"], "File": "frv2", "Func": "frv_insn_unit", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 2280, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "supersparc_adjust_cost", "(", "rtx_insn", "*", "insn", ",", "int", "dep_type", ",", "rtx_insn", "*", "dep_insn", ",", "int", "cost", ")", "{", "enum", "attr_type", "insn_type", ";", "if", "(", "recog_memoized", "(", "insn", ")", "<", "0", ")", "return", "cost", ";", "insn_type", "=", "get_attr_type", "(", "insn", ")", ";", "if", "(", "dep_type", "==", "0", ")", "{", "if", "(", "insn_type", "==", "TYPE_LOAD", "||", "insn_type", "==", "TYPE_FPLOAD", ")", "return", "cost", "+", "3", ";", "if", "(", "insn_type", "==", "TYPE_STORE", "||", "insn_type", "==", "TYPE_FPSTORE", ")", "{", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "rtx", "dep_pat", "=", "PATTERN", "(", "dep_insn", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "!=", "SET", "||", "GET_CODE", "(", "dep_pat", ")", "!=", "SET", ")", "return", "cost", ";", "if", "(", "rtx_equal_p", "(", "SET_DEST", "(", "dep_pat", ")", ",", "SET_SRC", "(", "pat", ")", ")", ")", "return", "cost", ";", "return", "cost", "+", "3", ";", "}", "if", "(", "insn_type", "==", "TYPE_SHIFT", ")", "return", "cost", "+", "3", ";", "}", "else", "{", "if", "(", "insn_type", "==", "TYPE_IALU", "||", "insn_type", "==", "TYPE_SHIFT", ")", "return", "0", ";", "}", "return", "cost", ";", "}", ""], "natrual_language": ["Adjust", "the", "cost", "of", "a", "scheduling", "dependency", ".", "Return", "the", "new", "cost", "of", "a", "dependency", "LINK", "or", "INSN", "on", "DEP_INSN", ".", "COST", "is", "the", "current", "cost", "."], "TS_V_token": ["sparc", "0", "0", "3", "3", "3", "0"], "File": "sparc", "Func": "supersparc_adjust_cost", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2281, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "s390_build_builtin_va_list", "(", "void", ")", "{", "tree", "f_gpr", ",", "f_fpr", ",", "f_ovf", ",", "f_sav", ",", "record", ",", "type_decl", ";", "record", "=", "lang_hooks", ".", "types", ".", "make_type", "(", "RECORD_TYPE", ")", ";", "type_decl", "=", "build_decl", "(", "TYPE_DECL", ",", "get_identifier", "(", "\"__va_list_tag\"", ")", ",", "record", ")", ";", "f_gpr", "=", "build_decl", "(", "FIELD_DECL", ",", "get_identifier", "(", "\"__gpr\"", ")", ",", "long_integer_type_node", ")", ";", "f_fpr", "=", "build_decl", "(", "FIELD_DECL", ",", "get_identifier", "(", "\"__fpr\"", ")", ",", "long_integer_type_node", ")", ";", "f_ovf", "=", "build_decl", "(", "FIELD_DECL", ",", "get_identifier", "(", "\"__overflow_arg_area\"", ")", ",", "ptr_type_node", ")", ";", "f_sav", "=", "build_decl", "(", "FIELD_DECL", ",", "get_identifier", "(", "\"__reg_save_area\"", ")", ",", "ptr_type_node", ")", ";", "va_list_gpr_counter_field", "=", "f_gpr", ";", "va_list_fpr_counter_field", "=", "f_fpr", ";", "DECL_FIELD_CONTEXT", "(", "f_gpr", ")", "=", "record", ";", "DECL_FIELD_CONTEXT", "(", "f_fpr", ")", "=", "record", ";", "DECL_FIELD_CONTEXT", "(", "f_ovf", ")", "=", "record", ";", "DECL_FIELD_CONTEXT", "(", "f_sav", ")", "=", "record", ";", "TREE_CHAIN", "(", "record", ")", "=", "type_decl", ";", "TYPE_NAME", "(", "record", ")", "=", "type_decl", ";", "TYPE_FIELDS", "(", "record", ")", "=", "f_gpr", ";", "TREE_CHAIN", "(", "f_gpr", ")", "=", "f_fpr", ";", "TREE_CHAIN", "(", "f_fpr", ")", "=", "f_ovf", ";", "TREE_CHAIN", "(", "f_ovf", ")", "=", "f_sav", ";", "layout_type", "(", "record", ")", ";", "return", "build_array_type", "(", "record", ",", "build_index_type", "(", "size_zero_node", ")", ")", ";", "}", ""], "natrual_language": ["Create", "and", "return", "the", "va_list", "datatype", ".", "On", "S/390", ",", "va_list", "is", "an", "array", "type", "equivalent", "to", "typedef", "struct", "__va_list_tag", "{", "long", "__gpr", ";", "long", "__fpr", ";", "void", "*", "__overflow_arg_area", ";", "void", "*", "__reg_save_area", ";", "}", "va_list", "[", "1", "]", ";", "where", "__gpr", "and", "__fpr", "hold", "the", "number", "of", "general", "purpose", "or", "floating", "point", "arguments", "used", "up", "to", "now", ",", "respectively", ",", "__overflow_arg_area", "points", "to", "the", "stack", "location", "of", "the", "next", "argument", "passed", "on", "the", "stack", ",", "and", "__reg_save_area", "always", "points", "to", "the", "start", "of", "the", "register", "area", "in", "the", "call", "frame", "of", "the", "current", "function", ".", "The", "function", "prologue", "saves", "all", "registers", "used", "for", "argument", "passing", "into", "this", "area", "if", "the", "function", "uses", "variable", "arguments", "."], "TS_V_token": ["s390", "\"__va_list_tag\"", "\"__gpr\"", "\"__fpr\"", "\"__overflow_arg_area\"", "\"__reg_save_area\""], "File": "s3903", "Func": "s390_build_builtin_va_list", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2282, "Length": 196, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64PassConfig", "::", "addPreISel", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnablePromoteConstant", ")", "addPass", "(", "createAArch64PromoteConstantPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "Aggressive", ")", "addPass", "(", "createGlobalMergePass", "(", "TM", ",", "4095", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createAArch64AddressTypePromotionPass", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["AArch64", "AArch64", "AArch64", "4095", "AArch64"], "File": "AArch64TargetMachine45", "Func": "addPreISel", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2283, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "choose_baseaddr", "(", "HOST_WIDE_INT", "cfa_offset", ")", "{", "const", "struct", "machine_function", "*", "m", "=", "cfun", "->", "machine", ";", "rtx", "base_reg", "=", "NULL", ";", "HOST_WIDE_INT", "base_offset", "=", "0", ";", "if", "(", "m", "->", "use_fast_prologue_epilogue", ")", "{", "if", "(", "m", "->", "fs", ".", "fp_valid", ")", "{", "base_reg", "=", "hard_frame_pointer_rtx", ";", "base_offset", "=", "m", "->", "fs", ".", "fp_offset", "-", "cfa_offset", ";", "}", "else", "if", "(", "m", "->", "fs", ".", "drap_valid", ")", "{", "base_reg", "=", "crtl", "->", "drap_reg", ";", "base_offset", "=", "0", "-", "cfa_offset", ";", "}", "else", "if", "(", "m", "->", "fs", ".", "sp_valid", ")", "{", "base_reg", "=", "stack_pointer_rtx", ";", "base_offset", "=", "m", "->", "fs", ".", "sp_offset", "-", "cfa_offset", ";", "}", "}", "else", "{", "HOST_WIDE_INT", "toffset", ";", "int", "len", "=", "16", ",", "tlen", ";", "if", "(", "m", "->", "fs", ".", "sp_valid", ")", "{", "base_reg", "=", "stack_pointer_rtx", ";", "base_offset", "=", "m", "->", "fs", ".", "sp_offset", "-", "cfa_offset", ";", "len", "=", "choose_baseaddr_len", "(", "STACK_POINTER_REGNUM", ",", "base_offset", ")", ";", "}", "if", "(", "m", "->", "fs", ".", "drap_valid", ")", "{", "toffset", "=", "0", "-", "cfa_offset", ";", "tlen", "=", "choose_baseaddr_len", "(", "REGNO", "(", "crtl", "->", "drap_reg", ")", ",", "toffset", ")", ";", "if", "(", "tlen", "<=", "len", ")", "{", "base_reg", "=", "crtl", "->", "drap_reg", ";", "base_offset", "=", "toffset", ";", "len", "=", "tlen", ";", "}", "}", "if", "(", "m", "->", "fs", ".", "fp_valid", ")", "{", "toffset", "=", "m", "->", "fs", ".", "fp_offset", "-", "cfa_offset", ";", "tlen", "=", "choose_baseaddr_len", "(", "HARD_FRAME_POINTER_REGNUM", ",", "toffset", ")", ";", "if", "(", "tlen", "<=", "len", ")", "{", "base_reg", "=", "hard_frame_pointer_rtx", ";", "base_offset", "=", "toffset", ";", "len", "=", "tlen", ";", "}", "}", "}", "gcc_assert", "(", "base_reg", "!=", "NULL", ")", ";", "return", "plus_constant", "(", "Pmode", ",", "base_reg", ",", "base_offset", ")", ";", "}", ""], "natrual_language": ["Return", "an", "RTX", "that", "points", "to", "CFA_OFFSET", "within", "the", "stack", "frame", ".", "The", "valid", "base", "registers", "are", "taken", "from", "CFUN-", ">", "MACHINE-", ">", "FS", "."], "TS_V_token": ["i386", "0", "0", "16", "0"], "File": "i3864", "Func": "choose_baseaddr", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2284, "Length": 273, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64TargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InFlag", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "const", "SDLoc", "&", "DL", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ",", "bool", "isThisReturn", ",", "SDValue", "ThisVal", ")", "const", "{", "CCAssignFn", "*", "RetCC", "=", "CCAssignFnForReturn", "(", "CallConv", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "DenseMap", "<", "unsigned", ",", "SDValue", ">", "CopiedRegs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "CCValAssign", "VA", "=", "RVLocs", "[", "i", "]", ";", "if", "(", "i", "==", "0", "&&", "isThisReturn", ")", "{", "assert", "(", "!", "VA", ".", "needsCustom", "(", ")", "&&", "VA", ".", "getLocVT", "(", ")", "==", "MVT", "::", "i64", "&&", "\"unexpected return calling convention register assignment\"", ")", ";", "InVals", ".", "push_back", "(", "ThisVal", ")", ";", "continue", ";", "}", "SDValue", "Val", "=", "CopiedRegs", ".", "lookup", "(", "VA", ".", "getLocReg", "(", ")", ")", ";", "if", "(", "!", "Val", ")", "{", "Val", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "DL", ",", "VA", ".", "getLocReg", "(", ")", ",", "VA", ".", "getLocVT", "(", ")", ",", "InFlag", ")", ";", "Chain", "=", "Val", ".", "getValue", "(", "1", ")", ";", "InFlag", "=", "Val", ".", "getValue", "(", "2", ")", ";", "CopiedRegs", "[", "VA", ".", "getLocReg", "(", ")", "]", "=", "Val", ";", "}", "switch", "(", "VA", ".", "getLocInfo", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown loc info!\"", ")", ";", "case", "CCValAssign", "::", "Full", ":", "break", ";", "case", "CCValAssign", "::", "BCvt", ":", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "BITCAST", ",", "DL", ",", "VA", ".", "getValVT", "(", ")", ",", "Val", ")", ";", "break", ";", "case", "CCValAssign", "::", "AExtUpper", ":", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "SRL", ",", "DL", ",", "VA", ".", "getLocVT", "(", ")", ",", "Val", ",", "DAG", ".", "getConstant", "(", "32", ",", "DL", ",", "VA", ".", "getLocVT", "(", ")", ")", ")", ";", "LLVM_FALLTHROUGH", ";", "case", "CCValAssign", "::", "AExt", ":", "LLVM_FALLTHROUGH", ";", "case", "CCValAssign", "::", "ZExt", ":", "Val", "=", "DAG", ".", "getZExtOrTrunc", "(", "Val", ",", "DL", ",", "VA", ".", "getValVT", "(", ")", ")", ";", "break", ";", "}", "InVals", ".", "push_back", "(", "Val", ")", ";", "}", "return", "Chain", ";", "}", ""], "natrual_language": ["LowerCallResult", "-", "Lower", "the", "result", "values", "of", "an", "ISD", ":", ":CALL", "into", "the", "appropriate", "copies", "out", "of", "appropriate", "physical", "registers", "."], "TS_V_token": ["AArch64", "AArch64", "ISD::InputArg", "16", "0", "0", "MVT::i64", "\"unexpected return calling convention register assignment\"", "1", "2", "\"Unknown loc info!\"", "ISD::BITCAST", "ISD::SRL", "32"], "File": "AArch64ISelLowering (2)2", "Func": "LowerCallResult", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2285, "Length": 391, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_declare_alias", "(", "struct", "symtab_node", "*", "n", ",", "void", "*", "d", ")", "{", "struct", "declare_alias_data", "*", "data", "=", "(", "struct", "declare_alias_data", "*", ")", "d", ";", "if", "(", "!", "n", "->", "alias", "||", "n", "->", "weakref", ")", "return", "false", ";", "if", "(", "lookup_attribute", "(", "\"ifunc\"", ",", "DECL_ATTRIBUTES", "(", "n", "->", "decl", ")", ")", ")", "return", "false", ";", "TREE_ASM_WRITTEN", "(", "n", "->", "decl", ")", "=", "true", ";", "const", "char", "*", "name", "=", "IDENTIFIER_POINTER", "(", "DECL_ASSEMBLER_NAME", "(", "n", "->", "decl", ")", ")", ";", "char", "*", "buffer", "=", "(", "char", "*", ")", "alloca", "(", "strlen", "(", "name", ")", "+", "2", ")", ";", "char", "*", "p", ";", "int", "dollar_inside", "=", "0", ";", "strcpy", "(", "buffer", ",", "name", ")", ";", "p", "=", "strchr", "(", "buffer", ",", "'$'", ")", ";", "while", "(", "p", ")", "{", "*", "p", "=", "'_'", ";", "dollar_inside", "++", ";", "p", "=", "strchr", "(", "p", "+", "1", ",", "'$'", ")", ";", "}", "if", "(", "TREE_PUBLIC", "(", "n", "->", "decl", ")", ")", "{", "if", "(", "!", "RS6000_WEAK", "||", "!", "DECL_WEAK", "(", "n", "->", "decl", ")", ")", "{", "if", "(", "dollar_inside", ")", "{", "if", "(", "data", "->", "function_descriptor", ")", "fprintf", "(", "data", "->", "file", ",", "\"\\t.rename .%s,\\\".%s\\\"\\n\"", ",", "buffer", ",", "name", ")", ";", "else", "fprintf", "(", "data", "->", "file", ",", "\"\\t.rename %s,\\\"%s\\\"\\n\"", ",", "buffer", ",", "name", ")", ";", "}", "if", "(", "data", "->", "function_descriptor", ")", "fputs", "(", "\"\\t.globl .\"", ",", "data", "->", "file", ")", ";", "else", "fputs", "(", "\"\\t.globl \"", ",", "data", "->", "file", ")", ";", "RS6000_OUTPUT_BASENAME", "(", "data", "->", "file", ",", "buffer", ")", ";", "putc", "(", "'\\n'", ",", "data", "->", "file", ")", ";", "}", "else", "if", "(", "DECL_WEAK", "(", "n", "->", "decl", ")", "&&", "!", "data", "->", "function_descriptor", ")", "ASM_WEAKEN_DECL", "(", "data", "->", "file", ",", "n", "->", "decl", ",", "name", ",", "NULL", ")", ";", "}", "else", "{", "if", "(", "dollar_inside", ")", "{", "if", "(", "data", "->", "function_descriptor", ")", "fprintf", "(", "data", "->", "file", ",", "\"\\t.rename %s,\\\"%s\\\"\\n\"", ",", "buffer", ",", "name", ")", ";", "else", "fprintf", "(", "data", "->", "file", ",", "\"\\t.rename .%s,\\\".%s\\\"\\n\"", ",", "buffer", ",", "name", ")", ";", "}", "if", "(", "data", "->", "function_descriptor", ")", "fputs", "(", "\"\\t.lglobl .\"", ",", "data", "->", "file", ")", ";", "else", "fputs", "(", "\"\\t.lglobl \"", ",", "data", "->", "file", ")", ";", "RS6000_OUTPUT_BASENAME", "(", "data", "->", "file", ",", "buffer", ")", ";", "putc", "(", "'\\n'", ",", "data", "->", "file", ")", ";", "}", "if", "(", "data", "->", "function_descriptor", ")", "fputs", "(", "\".\"", ",", "data", "->", "file", ")", ";", "RS6000_OUTPUT_BASENAME", "(", "data", "->", "file", ",", "buffer", ")", ";", "fputs", "(", "\":\\n\"", ",", "data", "->", "file", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Declare", "alias", "N.", "A", "helper", "function", "for", "for_node_and_aliases", "."], "TS_V_token": ["rs6000", "\"ifunc\"", "2", "0", "1", "\"\\t.rename .%s,\\\".%s\\\"\\n\"", "\"\\t.rename %s,\\\"%s\\\"\\n\"", "\"\\t.globl .\"", "\"\\t.globl \"", "\"\\t.rename %s,\\\"%s\\\"\\n\"", "\"\\t.rename .%s,\\\".%s\\\"\\n\"", "\"\\t.lglobl .\"", "\"\\t.lglobl \"", "\".\"", "\":\\n\""], "File": "rs60004", "Func": "rs6000_declare_alias", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2286, "Length": 409, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "csky_tls_symbol_p", "(", "rtx", "x", ")", "{", "if", "(", "!", "TARGET_TLS", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "x", ")", "!=", "SYMBOL_REF", ")", "return", "false", ";", "return", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", "!=", "0", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "X", "is", "a", "thread-local", "symbol", "."], "TS_V_token": ["csky", "0"], "File": "csky", "Func": "csky_tls_symbol_p", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2287, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ix86_make_bounds_constant", "(", "HOST_WIDE_INT", "lb", ",", "HOST_WIDE_INT", "ub", ")", "{", "tree", "low", "=", "lb", "?", "build_minus_one_cst", "(", "pointer_sized_int_node", ")", ":", "build_zero_cst", "(", "pointer_sized_int_node", ")", ";", "tree", "high", "=", "ub", "?", "build_zero_cst", "(", "pointer_sized_int_node", ")", ":", "build_minus_one_cst", "(", "pointer_sized_int_node", ")", ";", "gcc_assert", "(", "(", "lb", "==", "0", "&&", "ub", "==", "-", "1", ")", "||", "(", "lb", "==", "-", "1", "&&", "ub", "==", "0", ")", ")", ";", "return", "build_complex", "(", "NULL", ",", "low", ",", "high", ")", ";", "}", ""], "natrual_language": ["Return", "constant", "used", "to", "statically", "initialize", "constant", "bounds", ".", "This", "function", "is", "used", "to", "create", "special", "bound", "values", ".", "For", "now", "only", "INIT", "bounds", "and", "NONE", "bounds", "are", "expected", ".", "More", "special", "values", "may", "be", "added", "later", "."], "TS_V_token": ["i386", "0", "1", "1", "0"], "File": "i3864", "Func": "ix86_make_bounds_constant", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2288, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "Z80RegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "(", "FrameRegister", "==", "IX", ")", "?", "Z80", "::", "IX", ":", "Z80", "::", "IY", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["Z80", "Z80", "Z80::IX", "Z80::IY"], "File": "Z80RegisterInfo", "Func": "getFrameRegister", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2289, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_evpc_neon_vext", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "int", "i", ",", "nelt", "=", "d", "->", "nelt", ";", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ")", ";", "rtx", "offset", ";", "unsigned", "int", "location", ";", "unsigned", "int", "next", "=", "d", "->", "perm", "[", "0", "]", "+", "1", ";", "if", "(", "BYTES_BIG_ENDIAN", ")", "return", "false", ";", "for", "(", "i", "=", "1", ";", "i", "<", "nelt", ";", "next", "++", ",", "i", "++", ")", "{", "if", "(", "next", "==", "2", "*", "nelt", ")", "return", "false", ";", "if", "(", "d", "->", "one_vector_p", "&&", "(", "next", "==", "nelt", ")", ")", "{", "if", "(", "(", "nelt", "==", "2", ")", "&&", "(", "d", "->", "vmode", "!=", "V2DImode", ")", ")", "return", "false", ";", "else", "next", "=", "0", ";", "}", "if", "(", "d", "->", "perm", "[", "i", "]", "!=", "next", ")", "return", "false", ";", "}", "location", "=", "d", "->", "perm", "[", "0", "]", ";", "switch", "(", "d", "->", "vmode", ")", "{", "case", "V16QImode", ":", "gen", "=", "gen_neon_vextv16qi", ";", "break", ";", "case", "V8QImode", ":", "gen", "=", "gen_neon_vextv8qi", ";", "break", ";", "case", "V4HImode", ":", "gen", "=", "gen_neon_vextv4hi", ";", "break", ";", "case", "V8HImode", ":", "gen", "=", "gen_neon_vextv8hi", ";", "break", ";", "case", "V2SImode", ":", "gen", "=", "gen_neon_vextv2si", ";", "break", ";", "case", "V4SImode", ":", "gen", "=", "gen_neon_vextv4si", ";", "break", ";", "case", "V2SFmode", ":", "gen", "=", "gen_neon_vextv2sf", ";", "break", ";", "case", "V4SFmode", ":", "gen", "=", "gen_neon_vextv4sf", ";", "break", ";", "case", "V2DImode", ":", "gen", "=", "gen_neon_vextv2di", ";", "break", ";", "default", ":", "return", "false", ";", "}", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "offset", "=", "GEN_INT", "(", "location", ")", ";", "emit_insn", "(", "gen", "(", "d", "->", "target", ",", "d", "->", "op0", ",", "d", "->", "op1", ",", "offset", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Recognize", "patterns", "for", "the", "VEXT", "insns", "."], "TS_V_token": ["arm", "0", "1", "1", "2", "2", "0", "0"], "File": "arm4", "Func": "arm_evpc_neon_vext", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2290, "Length": 286, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCTargetLowering", "::", "computeKnownBitsForTargetNode", "(", "const", "SDValue", "Op", ",", "APInt", "&", "KnownZero", ",", "APInt", "&", "KnownOne", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "KnownZero", "=", "KnownOne", "=", "APInt", "(", "KnownZero", ".", "getBitWidth", "(", ")", ",", "0", ")", ";", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "PPCISD", "::", "LBRX", ":", "{", "if", "(", "cast", "<", "VTSDNode", ">", "(", "Op", ".", "getOperand", "(", "2", ")", ")", "->", "getVT", "(", ")", "==", "MVT", "::", "i16", ")", "KnownZero", "=", "0xFFFF0000", ";", "break", ";", "}", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "{", "switch", "(", "cast", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "0", ")", ")", "->", "getZExtValue", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Intrinsic", "::", "ppc_altivec_vcmpbfp_p", ":", "case", "Intrinsic", "::", "ppc_altivec_vcmpeqfp_p", ":", "case", "Intrinsic", "::", "ppc_altivec_vcmpequb_p", ":", "case", "Intrinsic", "::", "ppc_altivec_vcmpequh_p", ":", "case", "Intrinsic", "::", "ppc_altivec_vcmpequw_p", ":", "case", "Intrinsic", "::", "ppc_altivec_vcmpequd_p", ":", "case", "Intrinsic", "::", "ppc_altivec_vcmpgefp_p", ":", "case", "Intrinsic", "::", "ppc_altivec_vcmpgtfp_p", ":", "case", "Intrinsic", "::", "ppc_altivec_vcmpgtsb_p", ":", "case", "Intrinsic", "::", "ppc_altivec_vcmpgtsh_p", ":", "case", "Intrinsic", "::", "ppc_altivec_vcmpgtsw_p", ":", "case", "Intrinsic", "::", "ppc_altivec_vcmpgtsd_p", ":", "case", "Intrinsic", "::", "ppc_altivec_vcmpgtub_p", ":", "case", "Intrinsic", "::", "ppc_altivec_vcmpgtuh_p", ":", "case", "Intrinsic", "::", "ppc_altivec_vcmpgtuw_p", ":", "case", "Intrinsic", "::", "ppc_altivec_vcmpgtud_p", ":", "KnownZero", "=", "~", "1U", ";", "break", ";", "}", "}", "}", "}", ""], "natrual_language": ["Determine", "which", "of", "the", "bits", "specified", "in", "Mask", "are", "known", "to", "be", "either", "zero", "or", "one", "and", "return", "them", "in", "the", "KnownZero/KnownOne", "bitsets", "."], "TS_V_token": ["PowerPC", "PPC", "0", "PPCISD::LBRX", "2", "MVT::i16", "0xFFFF0000", "ISD::INTRINSIC_WO_CHAIN", "0", "Intrinsic::ppc_altivec_vcmpbfp_p", "Intrinsic::ppc_altivec_vcmpeqfp_p", "Intrinsic::ppc_altivec_vcmpequb_p", "Intrinsic::ppc_altivec_vcmpequh_p", "Intrinsic::ppc_altivec_vcmpequw_p", "Intrinsic::ppc_altivec_vcmpequd_p", "Intrinsic::ppc_altivec_vcmpgefp_p", "Intrinsic::ppc_altivec_vcmpgtfp_p", "Intrinsic::ppc_altivec_vcmpgtsb_p", "Intrinsic::ppc_altivec_vcmpgtsh_p", "Intrinsic::ppc_altivec_vcmpgtsw_p", "Intrinsic::ppc_altivec_vcmpgtsd_p", "Intrinsic::ppc_altivec_vcmpgtub_p", "Intrinsic::ppc_altivec_vcmpgtuh_p", "Intrinsic::ppc_altivec_vcmpgtuw_p", "Intrinsic::ppc_altivec_vcmpgtud_p", "1U"], "File": "PPCISelLowering (2)2", "Func": "computeKnownBitsForTargetNode", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2291, "Length": 212, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SIRegisterInfo", "::", "reservedPrivateSegmentBufferReg", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "SISubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "SISubtarget", ">", "(", ")", ";", "unsigned", "BaseIdx", "=", "alignDown", "(", "ST", ".", "getMaxNumSGPRs", "(", "MF", ")", ",", "4", ")", "-", "4", ";", "unsigned", "BaseReg", "(", "AMDGPU", "::", "SGPR_32RegClass", ".", "getRegister", "(", "BaseIdx", ")", ")", ";", "return", "getMatchingSuperReg", "(", "BaseReg", ",", "AMDGPU", "::", "sub0", ",", "&", "AMDGPU", "::", "SReg_128RegClass", ")", ";", "}", ""], "natrual_language": ["Return", "the", "end", "register", "initially", "reserved", "for", "the", "scratch", "buffer", "in", "case", "spilling", "is", "needed", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "4", "4", "AMDGPU::SGPR_32RegClass", "AMDGPU::sub0", "AMDGPU::SReg_128RegClass"], "File": "SIRegisterInfo103", "Func": "reservedPrivateSegmentBufferReg", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2292, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AMDGPUTargetMachine", "::", "getAssumedAddrSpace", "(", "const", "Value", "*", "V", ")", "const", "{", "const", "auto", "*", "LD", "=", "dyn_cast", "<", "LoadInst", ">", "(", "V", ")", ";", "if", "(", "!", "LD", ")", "return", "AMDGPUAS", "::", "UNKNOWN_ADDRESS_SPACE", ";", "assert", "(", "V", "->", "getType", "(", ")", "->", "isPointerTy", "(", ")", "&&", "V", "->", "getType", "(", ")", "->", "getPointerAddressSpace", "(", ")", "==", "AMDGPUAS", "::", "FLAT_ADDRESS", ")", ";", "const", "auto", "*", "Ptr", "=", "LD", "->", "getPointerOperand", "(", ")", ";", "if", "(", "Ptr", "->", "getType", "(", ")", "->", "getPointerAddressSpace", "(", ")", "!=", "AMDGPUAS", "::", "CONSTANT_ADDRESS", ")", "return", "AMDGPUAS", "::", "UNKNOWN_ADDRESS_SPACE", ";", "return", "AMDGPUAS", "::", "GLOBAL_ADDRESS", ";", "}", ""], "natrual_language": ["If", "the", "specified", "generic", "pointer", "could", "be", "assumed", "as", "a", "pointer", "to", "a", "specific", "address", "space", ",", "return", "that", "address", "space", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU"], "File": "AMDGPUTargetMachine (2)1", "Func": "getAssumedAddrSpace", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2293, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPURegBankCombiner", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "MF", ".", "getProperties", "(", ")", ".", "hasProperty", "(", "MachineFunctionProperties", "::", "Property", "::", "FailedISel", ")", ")", "return", "false", ";", "auto", "*", "TPC", "=", "&", "getAnalysis", "<", "TargetPassConfig", ">", "(", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "bool", "EnableOpt", "=", "MF", ".", "getTarget", "(", ")", ".", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "!", "skipFunction", "(", "F", ")", ";", "const", "GCNSubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "const", "AMDGPULegalizerInfo", "*", "LI", "=", "static_cast", "<", "const", "AMDGPULegalizerInfo", "*", ">", "(", "ST", ".", "getLegalizerInfo", "(", ")", ")", ";", "GISelKnownBits", "*", "KB", "=", "&", "getAnalysis", "<", "GISelKnownBitsAnalysis", ">", "(", ")", ".", "get", "(", "MF", ")", ";", "MachineDominatorTree", "*", "MDT", "=", "IsOptNone", "?", "nullptr", ":", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "AMDGPURegBankCombinerInfo", "PCInfo", "(", "EnableOpt", ",", "F", ".", "hasOptSize", "(", ")", ",", "F", ".", "hasMinSize", "(", ")", ",", "LI", ",", "KB", ",", "MDT", ")", ";", "Combiner", "C", "(", "PCInfo", ",", "TPC", ")", ";", "return", "C", ".", "combineMachineInstrs", "(", "MF", ",", "nullptr", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU"], "File": "AMDGPURegBankCombiner", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2294, "Length": 185, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "MCFixupKind", ">", "MipsAsmBackend", "::", "getFixupKind", "(", "StringRef", "Name", ")", "const", "{", "return", "StringSwitch", "<", "Optional", "<", "MCFixupKind", ">>", "(", "Name", ")", ".", "Case", "(", "\"R_MIPS_NONE\"", ",", "FK_NONE", ")", ".", "Case", "(", "\"R_MIPS_32\"", ",", "FK_Data_4", ")", ".", "Case", "(", "\"R_MIPS_CALL_HI16\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_Mips_CALL_HI16", ")", ".", "Case", "(", "\"R_MIPS_CALL_LO16\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_Mips_CALL_LO16", ")", ".", "Case", "(", "\"R_MIPS_CALL16\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_Mips_CALL16", ")", ".", "Case", "(", "\"R_MIPS_GOT16\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_Mips_GOT", ")", ".", "Case", "(", "\"R_MIPS_GOT_PAGE\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_Mips_GOT_PAGE", ")", ".", "Case", "(", "\"R_MIPS_GOT_OFST\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_Mips_GOT_OFST", ")", ".", "Case", "(", "\"R_MIPS_GOT_DISP\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_Mips_GOT_DISP", ")", ".", "Case", "(", "\"R_MIPS_GOT_HI16\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_Mips_GOT_HI16", ")", ".", "Case", "(", "\"R_MIPS_GOT_LO16\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_Mips_GOT_LO16", ")", ".", "Case", "(", "\"R_MIPS_TLS_GOTTPREL\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_Mips_GOTTPREL", ")", ".", "Case", "(", "\"R_MIPS_TLS_DTPREL_HI16\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_Mips_DTPREL_HI", ")", ".", "Case", "(", "\"R_MIPS_TLS_DTPREL_LO16\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_Mips_DTPREL_LO", ")", ".", "Case", "(", "\"R_MIPS_TLS_GD\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_Mips_TLSGD", ")", ".", "Case", "(", "\"R_MIPS_TLS_LDM\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_Mips_TLSLDM", ")", ".", "Case", "(", "\"R_MIPS_TLS_TPREL_HI16\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_Mips_TPREL_HI", ")", ".", "Case", "(", "\"R_MIPS_TLS_TPREL_LO16\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_Mips_TPREL_LO", ")", ".", "Case", "(", "\"R_MICROMIPS_CALL16\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_MICROMIPS_CALL16", ")", ".", "Case", "(", "\"R_MICROMIPS_GOT_DISP\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_MICROMIPS_GOT_DISP", ")", ".", "Case", "(", "\"R_MICROMIPS_GOT_PAGE\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_MICROMIPS_GOT_PAGE", ")", ".", "Case", "(", "\"R_MICROMIPS_GOT_OFST\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_MICROMIPS_GOT_OFST", ")", ".", "Case", "(", "\"R_MICROMIPS_GOT16\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_MICROMIPS_GOT16", ")", ".", "Case", "(", "\"R_MICROMIPS_TLS_GOTTPREL\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_MICROMIPS_GOTTPREL", ")", ".", "Case", "(", "\"R_MICROMIPS_TLS_DTPREL_HI16\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_MICROMIPS_TLS_DTPREL_HI16", ")", ".", "Case", "(", "\"R_MICROMIPS_TLS_DTPREL_LO16\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_MICROMIPS_TLS_DTPREL_LO16", ")", ".", "Case", "(", "\"R_MICROMIPS_TLS_GD\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_MICROMIPS_TLS_GD", ")", ".", "Case", "(", "\"R_MICROMIPS_TLS_LDM\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_MICROMIPS_TLS_LDM", ")", ".", "Case", "(", "\"R_MICROMIPS_TLS_TPREL_HI16\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_MICROMIPS_TLS_TPREL_HI16", ")", ".", "Case", "(", "\"R_MICROMIPS_TLS_TPREL_LO16\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_MICROMIPS_TLS_TPREL_LO16", ")", ".", "Case", "(", "\"R_MIPS_JALR\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_Mips_JALR", ")", ".", "Case", "(", "\"R_MICROMIPS_JALR\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_MICROMIPS_JALR", ")", ".", "Default", "(", "MCAsmBackend", "::", "getFixupKind", "(", "Name", ")", ")", ";", "}", ""], "natrual_language": ["getFixupKind", "-", "Get", "the", "fixup", "kind", "of", "this", "expression", "."], "TS_V_token": ["Mips", "Mips", "\"R_MIPS_NONE\"", "\"R_MIPS_32\"", "\"R_MIPS_CALL_HI16\"", "Mips::fixup_Mips_CALL_HI16", "\"R_MIPS_CALL_LO16\"", "Mips::fixup_Mips_CALL_LO16", "\"R_MIPS_CALL16\"", "Mips::fixup_Mips_CALL16", "\"R_MIPS_GOT16\"", "Mips::fixup_Mips_GOT", "\"R_MIPS_GOT_PAGE\"", "Mips::fixup_Mips_GOT_PAGE", "\"R_MIPS_GOT_OFST\"", "Mips::fixup_Mips_GOT_OFST", "\"R_MIPS_GOT_DISP\"", "Mips::fixup_Mips_GOT_DISP", "\"R_MIPS_GOT_HI16\"", "Mips::fixup_Mips_GOT_HI16", "\"R_MIPS_GOT_LO16\"", "Mips::fixup_Mips_GOT_LO16", "\"R_MIPS_TLS_GOTTPREL\"", "Mips::fixup_Mips_GOTTPREL", "\"R_MIPS_TLS_DTPREL_HI16\"", "Mips::fixup_Mips_DTPREL_HI", "\"R_MIPS_TLS_DTPREL_LO16\"", "Mips::fixup_Mips_DTPREL_LO", "\"R_MIPS_TLS_GD\"", "Mips::fixup_Mips_TLSGD", "\"R_MIPS_TLS_LDM\"", "Mips::fixup_Mips_TLSLDM", "\"R_MIPS_TLS_TPREL_HI16\"", "Mips::fixup_Mips_TPREL_HI", "\"R_MIPS_TLS_TPREL_LO16\"", "Mips::fixup_Mips_TPREL_LO", "\"R_MICROMIPS_CALL16\"", "Mips::fixup_MICROMIPS_CALL16", "\"R_MICROMIPS_GOT_DISP\"", "Mips::fixup_MICROMIPS_GOT_DISP", "\"R_MICROMIPS_GOT_PAGE\"", "Mips::fixup_MICROMIPS_GOT_PAGE", "\"R_MICROMIPS_GOT_OFST\"", "Mips::fixup_MICROMIPS_GOT_OFST", "\"R_MICROMIPS_GOT16\"", "Mips::fixup_MICROMIPS_GOT16", "\"R_MICROMIPS_TLS_GOTTPREL\"", "Mips::fixup_MICROMIPS_GOTTPREL", "\"R_MICROMIPS_TLS_DTPREL_HI16\"", "Mips::fixup_MICROMIPS_TLS_DTPREL_HI16", "\"R_MICROMIPS_TLS_DTPREL_LO16\"", "Mips::fixup_MICROMIPS_TLS_DTPREL_LO16", "\"R_MICROMIPS_TLS_GD\"", "Mips::fixup_MICROMIPS_TLS_GD", "\"R_MICROMIPS_TLS_LDM\"", "Mips::fixup_MICROMIPS_TLS_LDM", "\"R_MICROMIPS_TLS_TPREL_HI16\"", "Mips::fixup_MICROMIPS_TLS_TPREL_HI16", "\"R_MICROMIPS_TLS_TPREL_LO16\"", "Mips::fixup_MICROMIPS_TLS_TPREL_LO16", "\"R_MIPS_JALR\"", "Mips::fixup_Mips_JALR", "\"R_MICROMIPS_JALR\"", "Mips::fixup_MICROMIPS_JALR"], "File": "MipsAsmBackend16", "Func": "getFixupKind", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2295, "Length": 409, "Cover_Rate": 1.0, "Template_token": []}
{"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": 2296, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "if", "(", "MI", "->", "isDebugValue", "(", ")", ")", "{", "SmallString", "<", "128", ">", "Str", ";", "raw_svector_ostream", "OS", "(", "Str", ")", ";", "PrintDebugValueComment", "(", "MI", ",", "OS", ")", ";", "return", ";", "}", "if", "(", "InConstantPool", "&&", "MI", "->", "getOpcode", "(", ")", "!=", "Mips", "::", "CONSTPOOL_ENTRY", ")", "{", "OutStreamer", ".", "EmitDataRegion", "(", "MCDR_DataRegionEnd", ")", ";", "InConstantPool", "=", "false", ";", "}", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "Mips", "::", "CONSTPOOL_ENTRY", ")", "{", "unsigned", "LabelId", "=", "(", "unsigned", ")", "MI", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "unsigned", "CPIdx", "=", "(", "unsigned", ")", "MI", "->", "getOperand", "(", "1", ")", ".", "getIndex", "(", ")", ";", "if", "(", "!", "InConstantPool", ")", "{", "OutStreamer", ".", "EmitDataRegion", "(", "MCDR_DataRegion", ")", ";", "InConstantPool", "=", "true", ";", "}", "OutStreamer", ".", "EmitLabel", "(", "GetCPISymbol", "(", "LabelId", ")", ")", ";", "const", "MachineConstantPoolEntry", "&", "MCPE", "=", "MCP", "->", "getConstants", "(", ")", "[", "CPIdx", "]", ";", "if", "(", "MCPE", ".", "isMachineConstantPoolEntry", "(", ")", ")", "EmitMachineConstantPoolValue", "(", "MCPE", ".", "Val", ".", "MachineCPVal", ")", ";", "else", "EmitGlobalConstant", "(", "MCPE", ".", "Val", ".", "ConstVal", ")", ";", "return", ";", "}", "MachineBasicBlock", "::", "const_instr_iterator", "I", "=", "MI", ";", "MachineBasicBlock", "::", "const_instr_iterator", "E", "=", "MI", "->", "getParent", "(", ")", "->", "instr_end", "(", ")", ";", "do", "{", "if", "(", "emitPseudoExpansionLowering", "(", "OutStreamer", ",", "&", "*", "I", ")", ")", "continue", ";", "if", "(", "I", "->", "isPseudo", "(", ")", "&&", "!", "Subtarget", "->", "inMips16Mode", "(", ")", ")", "llvm_unreachable", "(", "\"Pseudo opcode found in EmitInstruction()\"", ")", ";", "MCInst", "TmpInst0", ";", "MCInstLowering", ".", "Lower", "(", "I", ",", "TmpInst0", ")", ";", "EmitToStreamer", "(", "OutStreamer", ",", "TmpInst0", ")", ";", "}", "while", "(", "(", "++", "I", "!=", "E", ")", "&&", "I", "->", "isInsideBundle", "(", ")", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["Mips", "Mips", "128", "Mips::CONSTPOOL_ENTRY", "Mips::CONSTPOOL_ENTRY", "0", "1", "Mips", "\"Pseudo opcode found in EmitInstruction()\""], "File": "MipsAsmPrinter48", "Func": "EmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2297, "Length": 282, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "MSP430TargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "unsigned", "Opc", "=", "MI", "->", "getOpcode", "(", ")", ";", "if", "(", "Opc", "==", "MSP430", "::", "Shl8", "||", "Opc", "==", "MSP430", "::", "Shl16", "||", "Opc", "==", "MSP430", "::", "Sra8", "||", "Opc", "==", "MSP430", "::", "Sra16", "||", "Opc", "==", "MSP430", "::", "Srl8", "||", "Opc", "==", "MSP430", "::", "Srl16", ")", "return", "EmitShiftInstr", "(", "MI", ",", "BB", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "BB", "->", "getParent", "(", ")", "->", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "dl", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "assert", "(", "(", "Opc", "==", "MSP430", "::", "Select16", "||", "Opc", "==", "MSP430", "::", "Select8", ")", "&&", "\"Unexpected instr type to insert\"", ")", ";", "const", "BasicBlock", "*", "LLVM_BB", "=", "BB", "->", "getBasicBlock", "(", ")", ";", "MachineFunction", "::", "iterator", "I", "=", "++", "BB", "->", "getIterator", "(", ")", ";", "MachineBasicBlock", "*", "thisMBB", "=", "BB", ";", "MachineFunction", "*", "F", "=", "BB", "->", "getParent", "(", ")", ";", "MachineBasicBlock", "*", "copy0MBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineBasicBlock", "*", "copy1MBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "F", "->", "insert", "(", "I", ",", "copy0MBB", ")", ";", "F", "->", "insert", "(", "I", ",", "copy1MBB", ")", ";", "copy1MBB", "->", "splice", "(", "copy1MBB", "->", "begin", "(", ")", ",", "BB", ",", "std", "::", "next", "(", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", ",", "BB", "->", "end", "(", ")", ")", ";", "copy1MBB", "->", "transferSuccessorsAndUpdatePHIs", "(", "BB", ")", ";", "BB", "->", "addSuccessor", "(", "copy0MBB", ")", ";", "BB", "->", "addSuccessor", "(", "copy1MBB", ")", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", ".", "get", "(", "MSP430", "::", "JCC", ")", ")", ".", "addMBB", "(", "copy1MBB", ")", ".", "addImm", "(", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ")", ";", "BB", "=", "copy0MBB", ";", "BB", "->", "addSuccessor", "(", "copy1MBB", ")", ";", "BB", "=", "copy1MBB", ";", "BuildMI", "(", "*", "BB", ",", "BB", "->", "begin", "(", ")", ",", "dl", ",", "TII", ".", "get", "(", "MSP430", "::", "PHI", ")", ",", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "copy0MBB", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "thisMBB", ")", ";", "MI", "->", "eraseFromParent", "(", ")", ";", "return", "BB", ";", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "."], "TS_V_token": ["MSP430", "MSP430", "MSP430::Shl8", "MSP430::Shl16", "MSP430::Sra8", "MSP430::Sra16", "MSP430::Srl8", "MSP430::Srl16", "MSP430::Select16", "MSP430::Select8", "\"Unexpected instr type to insert\"", "MSP430::JCC", "3", "MSP430::PHI", "0", "2", "1"], "File": "MSP430ISelLowering (2)", "Func": "EmitInstrWithCustomInserter", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2298, "Length": 382, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineOperand", "&", "pop", "(", ")", "{", "RangeTy", "&", "Range", "=", "Worklist", ".", "back", "(", ")", ";", "MachineOperand", "&", "Op", "=", "*", "Range", ".", "begin", "(", ")", ";", "Range", "=", "drop_begin", "(", "Range", ",", "1", ")", ";", "if", "(", "Range", ".", "begin", "(", ")", "==", "Range", ".", "end", "(", ")", ")", "Worklist", ".", "pop_back", "(", ")", ";", "assert", "(", "(", "Worklist", ".", "empty", "(", ")", "||", "Worklist", ".", "back", "(", ")", ".", "begin", "(", ")", "!=", "Worklist", ".", "back", "(", ")", ".", "end", "(", ")", ")", "&&", "\"Empty ranges shouldn't remain in the worklist\"", ")", ";", "return", "Op", ";", "}", ""], "natrual_language": ["Pop", "the", "previous", "solver", "state", "."], "TS_V_token": ["WebAssembly", "1", "\"Empty ranges shouldn't remain in the worklist\""], "File": "WebAssemblyRegStackify16", "Func": "pop", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2299, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "tilegx_build_builtin_va_list", "(", "void", ")", "{", "tree", "f_args", ",", "f_skip", ",", "record", ",", "type_decl", ";", "bool", "owp", ";", "record", "=", "lang_hooks", ".", "types", ".", "make_type", "(", "RECORD_TYPE", ")", ";", "type_decl", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "TYPE_DECL", ",", "get_identifier", "(", "\"__va_list_tag\"", ")", ",", "record", ")", ";", "f_args", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"__args\"", ")", ",", "ptr_type_node", ")", ";", "f_skip", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FIELD_DECL", ",", "get_identifier", "(", "\"__skip\"", ")", ",", "ptr_type_node", ")", ";", "DECL_FIELD_CONTEXT", "(", "f_args", ")", "=", "record", ";", "DECL_FIELD_CONTEXT", "(", "f_skip", ")", "=", "record", ";", "TREE_CHAIN", "(", "record", ")", "=", "type_decl", ";", "TYPE_NAME", "(", "record", ")", "=", "type_decl", ";", "TYPE_FIELDS", "(", "record", ")", "=", "f_args", ";", "TREE_CHAIN", "(", "f_args", ")", "=", "f_skip", ";", "owp", "=", "warn_padded", ";", "warn_padded", "=", "false", ";", "layout_type", "(", "record", ")", ";", "warn_padded", "=", "owp", ";", "return", "record", ";", "}", ""], "natrual_language": ["Implement", "TARGET_BUILD_BUILTIN_VA_LIST", "."], "TS_V_token": ["tilegx", "\"__va_list_tag\"", "\"__args\"", "\"__skip\""], "File": "tilegx", "Func": "tilegx_build_builtin_va_list", "Target": "tilegx", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 2300, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "MVT", "getScalarShiftAmountTy", "(", "EVT", "LHSTy", ")", "const", "{", "return", "MVT", "::", "i32", ";", "}", ""], "natrual_language": ["Return", "the", "type", "to", "use", "for", "a", "scalar", "shift", "opcode", ",", "given", "the", "shifted", "amount", "type", "."], "TS_V_token": ["Sparc", "MVT::i32"], "File": "SparcISelLowering2", "Func": "getScalarShiftAmountTy", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2301, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "avr_mem_memx_p", "(", "rtx", "x", ")", "{", "return", "(", "MEM_P", "(", "x", ")", "&&", "ADDR_SPACE_MEMX", "==", "MEM_ADDR_SPACE", "(", "x", ")", ")", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "X", "is", "a", "MEM", "rtx", "located", "in", "the", "24-bit", "flash", "address", "space", "and", "FALSE", ",", "otherwise", "."], "TS_V_token": ["avr"], "File": "avr", "Func": "avr_mem_memx_p", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2302, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"MSP430 Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["MSP430", "\"MSP430 Assembly Printer\""], "File": "MSP430AsmPrinter11", "Func": "getPassName", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2303, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MipsTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "SelectionDAG", "&", "DAG", "=", "DCI", ".", "DAG", ";", "unsigned", "Opc", "=", "N", "->", "getOpcode", "(", ")", ";", "switch", "(", "Opc", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "SDIVREM", ":", "case", "ISD", "::", "UDIVREM", ":", "return", "performDivRemCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "performSELECTCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "MipsISD", "::", "CMovFP_F", ":", "case", "MipsISD", "::", "CMovFP_T", ":", "return", "performCMovFPCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "AND", ":", "return", "performANDCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "OR", ":", "return", "performORCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "ADD", ":", "return", "performADDCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "AssertZext", ":", "return", "performAssertZextCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SHL", ":", "return", "performSHLCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["This", "method", "will", "be", "invoked", "for", "all", "target", "nodes", "and", "for", "any", "target-independent", "nodes", "that", "the", "target", "has", "registered", "with", "invoke", "it", "for", "."], "TS_V_token": ["Mips", "Mips", "ISD::SDIVREM", "ISD::UDIVREM", "ISD::SELECT", "MipsISD::CMovFP_F", "MipsISD::CMovFP_T", "ISD::AND", "ISD::OR", "ISD::ADD", "ISD::AssertZext", "ISD::SHL"], "File": "MipsISelLowering103", "Func": "PerformDAGCombine", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2304, "Length": 194, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "MipsTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "case", "MipsISD", "::", "JmpLink", ":", "return", "\"MipsISD::JmpLink\"", ";", "case", "MipsISD", "::", "Hi", ":", "return", "\"MipsISD::Hi\"", ";", "case", "MipsISD", "::", "Lo", ":", "return", "\"MipsISD::Lo\"", ";", "case", "MipsISD", "::", "GPRel", ":", "return", "\"MipsISD::GPRel\"", ";", "case", "MipsISD", "::", "Ret", ":", "return", "\"MipsISD::Ret\"", ";", "case", "MipsISD", "::", "CMov", ":", "return", "\"MipsISD::CMov\"", ";", "case", "MipsISD", "::", "SelectCC", ":", "return", "\"MipsISD::SelectCC\"", ";", "case", "MipsISD", "::", "FPSelectCC", ":", "return", "\"MipsISD::FPSelectCC\"", ";", "case", "MipsISD", "::", "FPBrcond", ":", "return", "\"MipsISD::FPBrcond\"", ";", "case", "MipsISD", "::", "FPCmp", ":", "return", "\"MipsISD::FPCmp\"", ";", "default", ":", "return", "NULL", ";", "}", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["Mips", "Mips", "MipsISD::JmpLink", "\"MipsISD::JmpLink\"", "MipsISD::Hi", "\"MipsISD::Hi\"", "MipsISD::Lo", "\"MipsISD::Lo\"", "MipsISD::GPRel", "\"MipsISD::GPRel\"", "MipsISD::Ret", "\"MipsISD::Ret\"", "MipsISD::CMov", "\"MipsISD::CMov\"", "MipsISD::SelectCC", "\"MipsISD::SelectCC\"", "MipsISD::FPSelectCC", "\"MipsISD::FPSelectCC\"", "MipsISD::FPBrcond", "\"MipsISD::FPBrcond\"", "MipsISD::FPCmp", "\"MipsISD::FPCmp\""], "File": "MipsISelLowering87", "Func": "getTargetNodeName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2305, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "aarch64_builtin_vectorization_cost", "(", "enum", "vect_cost_for_stmt", "type_of_cost", ",", "tree", "vectype", ",", "int", "misalign", "ATTRIBUTE_UNUSED", ")", "{", "unsigned", "elements", ";", "const", "cpu_vector_cost", "*", "costs", "=", "aarch64_tune_params", ".", "vec_costs", ";", "bool", "fp", "=", "false", ";", "if", "(", "vectype", "!=", "NULL", ")", "fp", "=", "FLOAT_TYPE_P", "(", "vectype", ")", ";", "switch", "(", "type_of_cost", ")", "{", "case", "scalar_stmt", ":", "return", "fp", "?", "costs", "->", "scalar_fp_stmt_cost", ":", "costs", "->", "scalar_int_stmt_cost", ";", "case", "scalar_load", ":", "return", "costs", "->", "scalar_load_cost", ";", "case", "scalar_store", ":", "return", "costs", "->", "scalar_store_cost", ";", "case", "vector_stmt", ":", "return", "fp", "?", "costs", "->", "vec_fp_stmt_cost", ":", "costs", "->", "vec_int_stmt_cost", ";", "case", "vector_load", ":", "return", "costs", "->", "vec_align_load_cost", ";", "case", "vector_store", ":", "return", "costs", "->", "vec_store_cost", ";", "case", "vec_to_scalar", ":", "return", "costs", "->", "vec_to_scalar_cost", ";", "case", "scalar_to_vec", ":", "return", "costs", "->", "scalar_to_vec_cost", ";", "case", "unaligned_load", ":", "return", "costs", "->", "vec_unalign_load_cost", ";", "case", "unaligned_store", ":", "return", "costs", "->", "vec_unalign_store_cost", ";", "case", "cond_branch_taken", ":", "return", "costs", "->", "cond_taken_branch_cost", ";", "case", "cond_branch_not_taken", ":", "return", "costs", "->", "cond_not_taken_branch_cost", ";", "case", "vec_perm", ":", "return", "costs", "->", "vec_permute_cost", ";", "case", "vec_promote_demote", ":", "return", "fp", "?", "costs", "->", "vec_fp_stmt_cost", ":", "costs", "->", "vec_int_stmt_cost", ";", "case", "vec_construct", ":", "elements", "=", "TYPE_VECTOR_SUBPARTS", "(", "vectype", ")", ";", "return", "elements", "/", "2", "+", "1", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "targetm.vectorize.builtin_vectorization_cost", "."], "TS_V_token": ["aarch64", "2", "1"], "File": "aarch644", "Func": "aarch64_builtin_vectorization_cost", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2306, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "has_immediate", "(", "rtx_insn", "*", "insn", ")", "{", "int", "num_imm_operand", ";", "int", "num_imm32_operand", ";", "int", "num_imm64_operand", ";", "if", "(", "insn", ")", "return", "get_num_immediates", "(", "insn", ",", "&", "num_imm_operand", ",", "&", "num_imm32_operand", ",", "&", "num_imm64_operand", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["This", "function", "indicates", "if", "an", "operand", "of", "an", "instruction", "is", "an", "immediate", "."], "TS_V_token": ["i386"], "File": "i3865", "Func": "has_immediate", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2307, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "eligible_for_call_delay", "(", "rtx_insn", "*", "trial", ")", "{", "rtx", "pat", ";", "if", "(", "get_attr_in_branch_delay", "(", "trial", ")", "==", "IN_BRANCH_DELAY_FALSE", ")", "return", "0", ";", "if", "(", "(", "TARGET_GNU_TLS", "&&", "HAVE_GNU_LD", ")", "||", "!", "TARGET_TLS", ")", "return", "1", ";", "pat", "=", "PATTERN", "(", "trial", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "SET", "&&", "GET_CODE", "(", "SET_SRC", "(", "pat", ")", ")", "==", "PLUS", ")", "{", "rtx", "unspec", "=", "XEXP", "(", "SET_SRC", "(", "pat", ")", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "unspec", ")", "==", "UNSPEC", "&&", "(", "XINT", "(", "unspec", ",", "1", ")", "==", "UNSPEC_TLSGD", "||", "XINT", "(", "unspec", ",", "1", ")", "==", "UNSPEC_TLSLDM", ")", ")", "return", "0", ";", "}", "return", "1", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "TRIAL", "can", "go", "into", "the", "call", "delay", "slot", "."], "TS_V_token": ["sparc", "0", "1", "1", "1", "1", "0", "1"], "File": "sparc", "Func": "eligible_for_call_delay", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2308, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "function_checker", "::", "require_immediate_either_or", "(", "unsigned", "int", "rel_argno", ",", "HOST_WIDE_INT", "value0", ",", "HOST_WIDE_INT", "value1", ")", "{", "unsigned", "int", "argno", "=", "m_base_arg", "+", "rel_argno", ";", "if", "(", "!", "argument_exists_p", "(", "argno", ")", ")", "return", "true", ";", "HOST_WIDE_INT", "actual", ";", "if", "(", "!", "require_immediate", "(", "argno", ",", "actual", ")", ")", "return", "false", ";", "if", "(", "actual", "!=", "value0", "&&", "actual", "!=", "value1", ")", "{", "report_neither_nor", "(", "location", ",", "fndecl", ",", "argno", ",", "actual", ",", "90", ",", "270", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Check", "that", "argument", "REL_ARGNO", "is", "an", "integer", "constant", "expression", "that", "has", "the", "value", "VALUE0", "or", "VALUE1", ".", "REL_ARGNO", "counts", "from", "the", "end", "of", "the", "predication", "arguments", "."], "TS_V_token": ["aarch64", "90", "270"], "File": "aarch64-sve-builtins", "Func": "require_immediate_either_or", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2309, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "this", "->", "MF", "=", "&", "MF", ";", "SetupMachineFunction", "(", "MF", ")", ";", "EmitConstantPool", "(", "MF", ".", "getConstantPool", "(", ")", ")", ";", "O", "<<", "\"\\n\\n\"", ";", "const", "Function", "*", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "OutStreamer", ".", "SwitchSection", "(", "getObjFileLowering", "(", ")", ".", "SectionForGlobal", "(", "F", ",", "Mang", ",", "TM", ")", ")", ";", "EmitAlignment", "(", "MF", ".", "getAlignment", "(", ")", ",", "F", ")", ";", "O", "<<", "\"\\t.globl\\t\"", "<<", "CurrentFnName", "<<", "'\\n'", ";", "printVisibility", "(", "CurrentFnName", ",", "F", "->", "getVisibility", "(", ")", ")", ";", "O", "<<", "\"\\t.type\\t\"", "<<", "CurrentFnName", "<<", "\", #function\\n\"", ";", "O", "<<", "CurrentFnName", "<<", "\":\\n\"", ";", "NumberForBB", ".", "clear", "(", ")", ";", "for", "(", "MachineFunction", "::", "const_iterator", "I", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "NumberForBB", "[", "I", "->", "getBasicBlock", "(", ")", "]", "=", "BBNumber", "++", ";", "}", "for", "(", "MachineFunction", "::", "const_iterator", "I", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "I", "!=", "MF", ".", "begin", "(", ")", ")", "{", "printBasicBlockLabel", "(", "I", ",", "true", ",", "true", ")", ";", "O", "<<", "'\\n'", ";", "}", "for", "(", "MachineBasicBlock", "::", "const_iterator", "II", "=", "I", "->", "begin", "(", ")", ",", "E", "=", "I", "->", "end", "(", ")", ";", "II", "!=", "E", ";", "++", "II", ")", "{", "printInstruction", "(", "II", ")", ";", "++", "EmittedInsts", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Sparc", "Sparc", "\"\\n\\n\"", "\"\\t.globl\\t\"", "\"\\t.type\\t\"", "\", #function\\n\"", "\":\\n\""], "File": "SparcAsmPrinter15", "Func": "runOnMachineFunction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2310, "Length": 253, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "F2003fFrameLowering", "::", "hasReservedCallFrame", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["hasReservedCallFrame", "-", "Under", "normal", "circumstances", ",", "when", "a", "frame", "pointer", "is", "not", "required", ",", "we", "reserve", "argument", "space", "for", "call", "sites", "in", "the", "function", "immediately", "on", "entry", "to", "the", "current", "function", "."], "TS_V_token": ["F2003f", "F2003f"], "File": "F2003fFrameLowering", "Func": "hasReservedCallFrame", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2311, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["Videocore"], "File": "VideocoreFrameLowering", "Func": "hasFP", "Target": "Videocore", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2312, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "reg_class_t", "s390_preferred_reload_class", "(", "rtx", "op", ",", "reg_class_t", "rclass", ")", "{", "switch", "(", "GET_CODE", "(", "op", ")", ")", "{", "case", "CONST_DOUBLE", ":", "case", "CONST_INT", ":", "if", "(", "reg_class_subset_p", "(", "GENERAL_REGS", ",", "rclass", ")", "&&", "legitimate_reload_constant_p", "(", "op", ")", ")", "return", "GENERAL_REGS", ";", "else", "if", "(", "reg_class_subset_p", "(", "ADDR_REGS", ",", "rclass", ")", "&&", "legitimate_reload_constant_p", "(", "op", ")", ")", "return", "ADDR_REGS", ";", "else", "if", "(", "reg_class_subset_p", "(", "FP_REGS", ",", "rclass", ")", "&&", "legitimate_reload_fp_constant_p", "(", "op", ")", ")", "return", "FP_REGS", ";", "return", "NO_REGS", ";", "case", "CONST", ":", "if", "(", "TARGET_CPU_ZARCH", "&&", "GET_CODE", "(", "XEXP", "(", "op", ",", "0", ")", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "op", ",", "0", ")", ",", "0", ")", ")", "==", "SYMBOL_REF", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "op", ",", "0", ")", ",", "1", ")", ")", "==", "CONST_INT", ")", "{", "if", "(", "flag_pic", "&&", "reg_class_subset_p", "(", "ADDR_REGS", ",", "rclass", ")", ")", "return", "ADDR_REGS", ";", "else", "return", "NO_REGS", ";", "}", "case", "LABEL_REF", ":", "case", "SYMBOL_REF", ":", "if", "(", "!", "legitimate_reload_constant_p", "(", "op", ")", ")", "return", "NO_REGS", ";", "case", "PLUS", ":", "if", "(", "reg_class_subset_p", "(", "ADDR_REGS", ",", "rclass", ")", ")", "return", "ADDR_REGS", ";", "else", "return", "NO_REGS", ";", "default", ":", "break", ";", "}", "return", "rclass", ";", "}", ""], "natrual_language": ["Given", "an", "rtx", "OP", "being", "reloaded", "into", "a", "reg", "required", "to", "be", "in", "class", "CLASS", ",", "return", "the", "class", "of", "reg", "to", "actually", "use", "."], "TS_V_token": ["s390", "0", "0", "0", "0", "1"], "File": "s3904", "Func": "s390_preferred_reload_class", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2313, "Length": 199, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Mips16InstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "unsigned", "Opc", "=", "0", ";", "if", "(", "Mips", "::", "CPU16RegsRegClass", ".", "contains", "(", "DestReg", ")", "&&", "Mips", "::", "GPR32RegClass", ".", "contains", "(", "SrcReg", ")", ")", "Opc", "=", "Mips", "::", "MoveR3216", ";", "else", "if", "(", "Mips", "::", "GPR32RegClass", ".", "contains", "(", "DestReg", ")", "&&", "Mips", "::", "CPU16RegsRegClass", ".", "contains", "(", "SrcReg", ")", ")", "Opc", "=", "Mips", "::", "Move32R16", ";", "else", "if", "(", "(", "SrcReg", "==", "Mips", "::", "HI0", ")", "&&", "(", "Mips", "::", "CPU16RegsRegClass", ".", "contains", "(", "DestReg", ")", ")", ")", "Opc", "=", "Mips", "::", "Mfhi16", ",", "SrcReg", "=", "0", ";", "else", "if", "(", "(", "SrcReg", "==", "Mips", "::", "LO0", ")", "&&", "(", "Mips", "::", "CPU16RegsRegClass", ".", "contains", "(", "DestReg", ")", ")", ")", "Opc", "=", "Mips", "::", "Mflo16", ",", "SrcReg", "=", "0", ";", "assert", "(", "Opc", "&&", "\"Cannot copy registers\"", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ")", ";", "if", "(", "DestReg", ")", "MIB", ".", "addReg", "(", "DestReg", ",", "RegState", "::", "Define", ")", ";", "if", "(", "SrcReg", ")", "MIB", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["Mips", "Mips", "0", "Mips::CPU16RegsRegClass", "Mips::GPR32RegClass", "Mips::MoveR3216", "Mips::GPR32RegClass", "Mips::CPU16RegsRegClass", "Mips::Move32R16", "Mips::HI0", "Mips::CPU16RegsRegClass", "Mips::Mfhi16", "0", "Mips::LO0", "Mips::CPU16RegsRegClass", "Mips::Mflo16", "0", "\"Cannot copy registers\""], "File": "Mips16InstrInfo (2)", "Func": "copyPhysReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2314, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_set_current_function", "(", "tree", "fndecl", ")", "{", "if", "(", "fndecl", "==", "ix86_previous_fndecl", ")", "{", "if", "(", "fndecl", "!=", "NULL_TREE", ")", "ix86_set_func_type", "(", "fndecl", ")", ";", "return", ";", "}", "tree", "old_tree", ";", "if", "(", "ix86_previous_fndecl", "==", "NULL_TREE", ")", "old_tree", "=", "target_option_current_node", ";", "else", "if", "(", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "ix86_previous_fndecl", ")", ")", "old_tree", "=", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "ix86_previous_fndecl", ")", ";", "else", "old_tree", "=", "target_option_default_node", ";", "if", "(", "fndecl", "==", "NULL_TREE", ")", "{", "if", "(", "old_tree", "!=", "target_option_current_node", ")", "ix86_reset_previous_fndecl", "(", ")", ";", "return", ";", "}", "ix86_set_func_type", "(", "fndecl", ")", ";", "tree", "new_tree", "=", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "fndecl", ")", ";", "if", "(", "new_tree", "==", "NULL_TREE", ")", "new_tree", "=", "target_option_default_node", ";", "if", "(", "old_tree", "!=", "new_tree", ")", "{", "cl_target_option_restore", "(", "&", "global_options", ",", "TREE_TARGET_OPTION", "(", "new_tree", ")", ")", ";", "if", "(", "TREE_TARGET_GLOBALS", "(", "new_tree", ")", ")", "restore_target_globals", "(", "TREE_TARGET_GLOBALS", "(", "new_tree", ")", ")", ";", "else", "if", "(", "new_tree", "==", "target_option_default_node", ")", "restore_target_globals", "(", "&", "default_target_globals", ")", ";", "else", "TREE_TARGET_GLOBALS", "(", "new_tree", ")", "=", "save_target_globals_default_opts", "(", ")", ";", "}", "ix86_previous_fndecl", "=", "fndecl", ";", "static", "bool", "prev_no_caller_saved_registers", ";", "if", "(", "TARGET_64BIT", "&&", "(", "call_used_regs", "[", "SI_REG", "]", "==", "(", "cfun", "->", "machine", "->", "call_abi", "==", "MS_ABI", ")", ")", ")", "reinit_regs", "(", ")", ";", "else", "if", "(", "prev_no_caller_saved_registers", "!=", "cfun", "->", "machine", "->", "no_caller_saved_registers", ")", "reinit_regs", "(", ")", ";", "if", "(", "cfun", "->", "machine", "->", "func_type", "!=", "TYPE_NORMAL", "||", "cfun", "->", "machine", "->", "no_caller_saved_registers", ")", "{", "const", "char", "*", "isa", ";", "if", "(", "TARGET_MPX", ")", "isa", "=", "\"MPX\"", ";", "else", "if", "(", "TARGET_SSE", ")", "isa", "=", "\"SSE\"", ";", "else", "if", "(", "TARGET_MMX", ")", "isa", "=", "\"MMX/3Dnow\"", ";", "else", "if", "(", "TARGET_80387", ")", "isa", "=", "\"80387\"", ";", "else", "isa", "=", "NULL", ";", "if", "(", "isa", "!=", "NULL", ")", "{", "if", "(", "cfun", "->", "machine", "->", "func_type", "!=", "TYPE_NORMAL", ")", "sorry", "(", "\"%s instructions aren't allowed in %s service routine\"", ",", "isa", ",", "(", "cfun", "->", "machine", "->", "func_type", "==", "TYPE_EXCEPTION", "?", "\"exception\"", ":", "\"interrupt\"", ")", ")", ";", "else", "sorry", "(", "\"%s instructions aren't allowed in function with \"", "\"no_caller_saved_registers attribute\"", ",", "isa", ")", ";", "cfun", "->", "machine", "->", "func_type", "=", "TYPE_NORMAL", ";", "cfun", "->", "machine", "->", "no_caller_saved_registers", "=", "false", ";", "}", "}", "prev_no_caller_saved_registers", "=", "cfun", "->", "machine", "->", "no_caller_saved_registers", ";", "}", ""], "natrual_language": ["Establish", "appropriate", "back-end", "context", "for", "processing", "the", "function", "FNDECL", ".", "The", "argument", "might", "be", "NULL", "to", "indicate", "processing", "at", "top", "level", ",", "outside", "of", "any", "function", "scope", "."], "TS_V_token": ["i386", "\"MPX\"", "\"SSE\"", "\"MMX/3Dnow\"", "\"80387\"", "\"%s instructions aren't allowed in %s service routine\"", "\"exception\"", "\"interrupt\"", "\"%s instructions aren't allowed in function with \"", "\"no_caller_saved_registers attribute\""], "File": "i3866", "Func": "ix86_set_current_function", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2315, "Length": 346, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "{", "if", "(", "ExtraCode", "[", "1", "]", "!=", "0", ")", "return", "true", ";", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ";", "switch", "(", "ExtraCode", "[", "0", "]", ")", "{", "default", ":", "return", "true", ";", "case", "'a'", ":", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "O", "<<", "MO", ".", "getImm", "(", ")", ";", "return", "false", ";", "}", "if", "(", "MO", ".", "isGlobal", "(", ")", "||", "MO", ".", "isCPI", "(", ")", "||", "MO", ".", "isJTI", "(", ")", "||", "MO", ".", "isSymbol", "(", ")", ")", "{", "printSymbolOperand", "(", "MO", ",", "O", ")", ";", "return", "false", ";", "}", "if", "(", "MO", ".", "isReg", "(", ")", ")", "{", "O", "<<", "'('", ";", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "O", "<<", "')'", ";", "return", "false", ";", "}", "return", "true", ";", "case", "'c'", ":", "if", "(", "MO", ".", "isImm", "(", ")", ")", "O", "<<", "MO", ".", "getImm", "(", ")", ";", "else", "if", "(", "MO", ".", "isGlobal", "(", ")", "||", "MO", ".", "isCPI", "(", ")", "||", "MO", ".", "isJTI", "(", ")", "||", "MO", ".", "isSymbol", "(", ")", ")", "printSymbolOperand", "(", "MO", ",", "O", ")", ";", "else", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "return", "false", ";", "case", "'A'", ":", "if", "(", "MO", ".", "isReg", "(", ")", ")", "{", "O", "<<", "'*'", ";", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "return", "false", ";", "}", "return", "true", ";", "case", "'b'", ":", "case", "'h'", ":", "case", "'w'", ":", "case", "'k'", ":", "case", "'q'", ":", "if", "(", "MO", ".", "isReg", "(", ")", ")", "return", "printAsmMRegister", "(", "MO", ",", "ExtraCode", "[", "0", "]", ",", "O", ")", ";", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "return", "false", ";", "case", "'P'", ":", "print_pcrel_imm", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "return", "false", ";", "case", "'n'", ":", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "O", "<<", "-", "MO", ".", "getImm", "(", ")", ";", "return", "false", ";", "}", "O", "<<", "'-'", ";", "}", "}", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["X86", "X86", "0", "1", "0", "0", "0"], "File": "X86AsmPrinter4", "Func": "PrintAsmOperand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2316, "Length": 373, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "h8300_function_arg_advance", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "cum", "->", "nbytes", "+=", "(", "(", "arg", ".", "promoted_size_in_bytes", "(", ")", "+", "UNITS_PER_WORD", "-", "1", ")", "&", "-", "UNITS_PER_WORD", ")", ";", "}", ""], "natrual_language": ["Update", "the", "data", "in", "CUM", "to", "advance", "over", "an", "argument", "of", "mode", "MODE", "and", "data", "type", "TYPE", ".", "(", "TYPE", "is", "null", "for", "libcalls", "where", "that", "information", "may", "not", "be", "available", ".", ")"], "TS_V_token": ["h8300", "1"], "File": "h8300", "Func": "h8300_function_arg_advance", "Target": "h8300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2317, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SIRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "SIMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "return", "FuncInfo", "->", "getFrameOffsetReg", "(", ")", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI"], "File": "AMDGPURegisterInfo12", "Func": "getFrameRegister", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2318, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HSAILInstrInfo", "::", "isSafeToMoveRegClassDefs", "(", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["isSafeToMoveRegClassDefs", "-", "Return", "true", "if", "it", "'s", "safe", "to", "move", "a", "machine", "instruction", "that", "defines", "the", "specified", "register", "class", "."], "TS_V_token": ["HSAIL", "HSAIL"], "File": "HSAILInstrInfo", "Func": "isSafeToMoveRegClassDefs", "Target": "HSAIL", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2319, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "override", "{", "return", "createARM64ELFObjectWriter", "(", "OS", ",", "OSABI", ",", "IsLittleEndian", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["ARM64", "ARM64"], "File": "ARM64AsmBackend1", "Func": "createObjectWriter", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2320, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Thumb1InstrInfo", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "bool", "isVarArg", "=", "AFI", "->", "getVarArgsRegSaveSize", "(", ")", ">", "0", ";", "DebugLoc", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MF", ",", "DL", ",", "get", "(", "ARM", "::", "tPOP", ")", ")", ";", "AddDefaultPred", "(", "MIB", ")", ";", "bool", "NumRegs", "=", "0", ";", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "0", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "1", "]", ".", "getReg", "(", ")", ";", "if", "(", "Reg", "==", "ARM", "::", "LR", ")", "{", "if", "(", "isVarArg", ")", "continue", ";", "Reg", "=", "ARM", "::", "PC", ";", "(", "*", "MIB", ")", ".", "setDesc", "(", "get", "(", "ARM", "::", "tPOP_RET", ")", ")", ";", "MI", "=", "MBB", ".", "erase", "(", "MI", ")", ";", "}", "MIB", ".", "addReg", "(", "Reg", ",", "getDefRegState", "(", "true", ")", ")", ";", "++", "NumRegs", ";", "}", "if", "(", "NumRegs", ")", "MBB", ".", "insert", "(", "MI", ",", "&", "*", "MIB", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["restoreCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "restore", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "load", "instructions", "via", "loadRegToStackSlot", "(", ")", "."], "TS_V_token": ["ARM", "ARM", "ARM", "0", "ARM::tPOP", "0", "0", "1", "ARM::LR", "ARM::PC", "ARM::tPOP_RET"], "File": "Thumb1InstrInfo15", "Func": "restoreCalleeSavedRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2321, "Length": 222, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonHardwareLoops", "::", "isDead", "(", "const", "MachineInstr", "*", "MI", ",", "SmallVectorImpl", "<", "MachineInstr", "*", ">", "&", "DeadPhis", ")", "const", "{", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "MI", "->", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "i", ")", ";", "if", "(", "!", "MO", ".", "isReg", "(", ")", "||", "!", "MO", ".", "isDef", "(", ")", ")", "continue", ";", "unsigned", "Reg", "=", "MO", ".", "getReg", "(", ")", ";", "if", "(", "MRI", "->", "use_nodbg_empty", "(", "Reg", ")", ")", "continue", ";", "typedef", "MachineRegisterInfo", "::", "use_nodbg_iterator", "use_nodbg_iterator", ";", "use_nodbg_iterator", "I", "=", "MRI", "->", "use_nodbg_begin", "(", "Reg", ")", ";", "use_nodbg_iterator", "End", "=", "MRI", "->", "use_nodbg_end", "(", ")", ";", "if", "(", "llvm", "::", "next", "(", "I", ")", "!=", "End", "||", "!", "I", ".", "getOperand", "(", ")", ".", "getParent", "(", ")", "->", "isPHI", "(", ")", ")", "return", "false", ";", "MachineInstr", "*", "OnePhi", "=", "I", ".", "getOperand", "(", ")", ".", "getParent", "(", ")", ";", "for", "(", "unsigned", "j", "=", "0", ",", "f", "=", "OnePhi", "->", "getNumOperands", "(", ")", ";", "j", "!=", "f", ";", "++", "j", ")", "{", "const", "MachineOperand", "&", "OPO", "=", "OnePhi", "->", "getOperand", "(", "j", ")", ";", "if", "(", "!", "OPO", ".", "isReg", "(", ")", "||", "!", "OPO", ".", "isDef", "(", ")", ")", "continue", ";", "unsigned", "OPReg", "=", "OPO", ".", "getReg", "(", ")", ";", "use_nodbg_iterator", "nextJ", ";", "for", "(", "use_nodbg_iterator", "J", "=", "MRI", "->", "use_nodbg_begin", "(", "OPReg", ")", ";", "J", "!=", "End", ";", "J", "=", "nextJ", ")", "{", "nextJ", "=", "llvm", "::", "next", "(", "J", ")", ";", "MachineOperand", "&", "Use", "=", "J", ".", "getOperand", "(", ")", ";", "MachineInstr", "*", "UseMI", "=", "Use", ".", "getParent", "(", ")", ";", "if", "(", "MI", "!=", "UseMI", ")", "return", "false", ";", "}", "}", "DeadPhis", ".", "push_back", "(", "OnePhi", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["isDead", "-", "Returns", "true", "if", "this", "is", "a", "dead", "def", "kill", "slot", "."], "TS_V_token": ["Hexagon", "Hexagon", "0", "0"], "File": "HexagonHardwareLoops11", "Func": "isDead", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2322, "Length": 299, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUPerfHint", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "const", "Module", "&", "M", "=", "*", "F", ".", "getParent", "(", ")", ";", "DL", "=", "&", "M", ".", "getDataLayout", "(", ")", ";", "if", "(", "F", ".", "hasFnAttribute", "(", "\"amdgpu-wave-limiter\"", ")", "&&", "F", ".", "hasFnAttribute", "(", "\"amdgpu-memory-bound\"", ")", ")", "return", "false", ";", "const", "AMDGPUPerfHintAnalysis", "::", "FuncInfo", "*", "Info", "=", "visit", "(", "F", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "F", ".", "getName", "(", ")", "<<", "\" MemInst cost: \"", "<<", "Info", "->", "MemInstCost", "<<", "'\\n'", "<<", "\" IAMInst cost: \"", "<<", "Info", "->", "IAMInstCost", "<<", "'\\n'", "<<", "\" LSMInst cost: \"", "<<", "Info", "->", "LSMInstCost", "<<", "'\\n'", "<<", "\" TotalInst cost: \"", "<<", "Info", "->", "InstCost", "<<", "'\\n'", ")", ";", "if", "(", "isMemBound", "(", "*", "Info", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "F", ".", "getName", "(", ")", "<<", "\" is memory bound\\n\"", ")", ";", "NumMemBound", "++", ";", "F", ".", "addFnAttr", "(", "\"amdgpu-memory-bound\"", ",", "\"true\"", ")", ";", "}", "if", "(", "AMDGPU", "::", "isEntryFunctionCC", "(", "F", ".", "getCallingConv", "(", ")", ")", "&&", "needLimitWave", "(", "*", "Info", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "F", ".", "getName", "(", ")", "<<", "\" needs limit wave\\n\"", ")", ";", "NumLimitWave", "++", ";", "F", ".", "addFnAttr", "(", "\"amdgpu-wave-limiter\"", ",", "\"true\"", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "\"amdgpu-wave-limiter\"", "\"amdgpu-memory-bound\"", "AMDGPU", "\" MemInst cost: \"", "\" IAMInst cost: \"", "\" LSMInst cost: \"", "\" TotalInst cost: \"", "\" is memory bound\\n\"", "\"amdgpu-memory-bound\"", "\"true\"", "AMDGPU::isEntryFunctionCC", "\" needs limit wave\\n\"", "\"amdgpu-wave-limiter\"", "\"true\""], "File": "AMDGPUPerfHintAnalysis10", "Func": "runOnFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2323, "Length": 196, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MipsTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "BRCOND", ":", "return", "LowerBRCOND", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "LowerConstantPool", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "DYNAMIC_STACKALLOC", ":", "return", "LowerDYNAMIC_STACKALLOC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "LowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalTLSAddress", ":", "return", "LowerGlobalTLSAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "JumpTable", ":", "return", "LowerJumpTable", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "LowerSELECT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SETCC", ":", "return", "LowerSETCC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FCOPYSIGN", ":", "return", "LowerFCOPYSIGN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FABS", ":", "return", "LowerFABS", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "LowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "MEMBARRIER", ":", "return", "LowerMEMBARRIER", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ATOMIC_FENCE", ":", "return", "LowerATOMIC_FENCE", "(", "Op", ",", "DAG", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["Mips", "Mips", "ISD::BRCOND", "ISD::ConstantPool", "ISD::DYNAMIC_STACKALLOC", "ISD::GlobalAddress", "ISD::BlockAddress", "ISD::GlobalTLSAddress", "ISD::JumpTable", "ISD::SELECT", "ISD::SETCC", "ISD::VASTART", "ISD::FCOPYSIGN", "ISD::FABS", "ISD::FRAMEADDR", "ISD::MEMBARRIER", "ISD::ATOMIC_FENCE"], "File": "MipsISelLowering12", "Func": "LowerOperation", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2324, "Length": 225, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips_unspec_address_offset", "(", "rtx", "base", ",", "rtx", "offset", ",", "enum", "mips_symbol_type", "symbol_type", ")", "{", "base", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "base", ")", ",", "UNSPEC_ADDRESS_FIRST", "+", "symbol_type", ")", ";", "if", "(", "offset", "!=", "const0_rtx", ")", "base", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "base", ",", "offset", ")", ";", "return", "gen_rtx_CONST", "(", "Pmode", ",", "base", ")", ";", "}", ""], "natrual_language": ["Wrap", "symbol", "or", "label", "BASE", "in", "an", "UNSPEC", "address", "of", "type", "SYMBOL_TYPE", ",", "then", "add", "CONST_INT", "OFFSET", "to", "the", "result", "."], "TS_V_token": ["mips", "1"], "File": "mips", "Func": "mips_unspec_address_offset", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2325, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "expand", "(", "function_expander", "&", "e", ")", "const", "override", "{", "int", "unspec", "=", "(", "e", ".", "type_suffix", "(", "1", ")", ".", "unsigned_p", "?", "m_unspec_for_uint", ":", "m_unspec_for_sint", ")", ";", "machine_mode", "pred_mode", "=", "e", ".", "vector_mode", "(", "0", ")", ";", "scalar_mode", "reg_mode", "=", "GET_MODE_INNER", "(", "e", ".", "vector_mode", "(", "1", ")", ")", ";", "return", "e", ".", "use_exact_insn", "(", "code_for_while", "(", "unspec", ",", "reg_mode", ",", "pred_mode", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "the", "call", "and", "return", "its", "lhs", "."], "TS_V_token": ["aarch64", "1", "0", "1"], "File": "aarch64-sve-builtins-functions3", "Func": "expand", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2326, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMAsmParser", "::", "validateTargetOperandClass", "(", "MCParsedAsmOperand", "&", "AsmOp", ",", "unsigned", "Kind", ")", "{", "ARMOperand", "&", "Op", "=", "static_cast", "<", "ARMOperand", "&", ">", "(", "AsmOp", ")", ";", "switch", "(", "Kind", ")", "{", "default", ":", "break", ";", "case", "MCK__35_0", ":", "if", "(", "Op", ".", "isImm", "(", ")", ")", "if", "(", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Op", ".", "getImm", "(", ")", ")", ")", "if", "(", "CE", "->", "getValue", "(", ")", "==", "0", ")", "return", "Match_Success", ";", "break", ";", "case", "MCK_ModImm", ":", "if", "(", "Op", ".", "isImm", "(", ")", ")", "{", "const", "MCExpr", "*", "SOExpr", "=", "Op", ".", "getImm", "(", ")", ";", "int64_t", "Value", ";", "if", "(", "!", "SOExpr", "->", "evaluateAsAbsolute", "(", "Value", ")", ")", "return", "Match_Success", ";", "assert", "(", "(", "Value", ">=", "std", "::", "numeric_limits", "<", "int32_t", ">", "::", "min", "(", ")", "&&", "Value", "<=", "std", "::", "numeric_limits", "<", "uint32_t", ">", "::", "max", "(", ")", ")", "&&", "\"expression value must be representable in 32 bits\"", ")", ";", "}", "break", ";", "case", "MCK_rGPR", ":", "if", "(", "hasV8Ops", "(", ")", "&&", "Op", ".", "isReg", "(", ")", "&&", "Op", ".", "getReg", "(", ")", "==", "ARM", "::", "SP", ")", "return", "Match_Success", ";", "break", ";", "case", "MCK_GPRPair", ":", "if", "(", "Op", ".", "isReg", "(", ")", "&&", "MRI", "->", "getRegClass", "(", "ARM", "::", "GPRRegClassID", ")", ".", "contains", "(", "Op", ".", "getReg", "(", ")", ")", ")", "return", "Match_Success", ";", "break", ";", "}", "return", "Match_InvalidOperand", ";", "}", ""], "natrual_language": ["Allow", "a", "target", "to", "add", "special", "case", "operand", "matching", "for", "things", "that", "tblgen", "doesn't/ca", "n't", "handle", "effectively", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "0", "\"expression value must be representable in 32 bits\"", "ARM::SP", "ARM::GPRRegClassID"], "File": "ARMAsmParser31", "Func": "validateTargetOperandClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2327, "Length": 224, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "extract_mac_non_acc_rtx", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "exp", "=", "SET_SRC", "(", "PATTERN", "(", "insn", ")", ")", ";", "switch", "(", "get_attr_type", "(", "insn", ")", ")", "{", "case", "TYPE_MAC", ":", "if", "(", "REG_P", "(", "XEXP", "(", "exp", ",", "0", ")", ")", ")", "return", "XEXP", "(", "exp", ",", "1", ")", ";", "else", "return", "XEXP", "(", "exp", ",", "0", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Extract", "the", "rtx", "representing", "non-accumulation", "operands", "of", "a", "MAC", "insn", "."], "TS_V_token": ["nds32", "0", "1", "0"], "File": "nds32-utils2", "Func": "extract_mac_non_acc_rtx", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2328, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "aarch64_simd_vector_alignment", "(", "const_tree", "type", ")", "{", "if", "(", "TREE_CODE", "(", "TYPE_SIZE", "(", "type", ")", ")", "!=", "INTEGER_CST", ")", "return", "GET_MODE_CLASS", "(", "TYPE_MODE", "(", "type", ")", ")", "==", "MODE_VECTOR_BOOL", "?", "16", ":", "128", ";", "HOST_WIDE_INT", "align", "=", "tree_to_shwi", "(", "TYPE_SIZE", "(", "type", ")", ")", ";", "return", "MIN", "(", "align", ",", "128", ")", ";", "}", ""], "natrual_language": ["Implement", "target", "hook", "TARGET_VECTOR_ALIGNMENT", ".", "The", "AAPCS64", "sets", "the", "maximum", "alignment", "of", "a", "vector", "to", "128", "bits", "."], "TS_V_token": ["aarch64", "16", "128", "128"], "File": "aarch645", "Func": "aarch64_simd_vector_alignment", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2329, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MipsRegisterInfo", "&", "MipsInstrInfo", "::", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsInstrInfo11", "Func": "getRegisterInfo", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2330, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "rs6000_hard_regno_nregs", "(", "int", "regno", ",", "enum", "machine_mode", "mode", ")", "{", "if", "(", "FP_REGNO_P", "(", "regno", ")", ")", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_FP_WORD", "-", "1", ")", "/", "UNITS_PER_FP_WORD", ";", "if", "(", "TARGET_E500_DOUBLE", "&&", "mode", "==", "DFmode", ")", "return", "1", ";", "if", "(", "SPE_SIMD_REGNO_P", "(", "regno", ")", "&&", "TARGET_SPE", "&&", "SPE_VECTOR_MODE", "(", "mode", ")", ")", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_SPE_WORD", "-", "1", ")", "/", "UNITS_PER_SPE_WORD", ";", "if", "(", "ALTIVEC_REGNO_P", "(", "regno", ")", ")", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_ALTIVEC_WORD", "-", "1", ")", "/", "UNITS_PER_ALTIVEC_WORD", ";", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ";", "}", ""], "natrual_language": ["Return", "number", "of", "consecutive", "hard", "regs", "needed", "starting", "at", "reg", "REGNO", "to", "hold", "something", "of", "mode", "MODE", ".", "This", "is", "ordinarily", "the", "length", "in", "words", "of", "a", "value", "of", "mode", "MODE", "but", "can", "be", "less", "for", "certain", "modes", "in", "special", "long", "registers", ".", "For", "the", "SPE", ",", "GPRs", "are", "64", "bits", "but", "only", "32", "bits", "are", "visible", "in", "scalar", "instructions", ".", "The", "upper", "32", "bits", "are", "only", "available", "to", "the", "SIMD", "instructions", ".", "POWER", "and", "PowerPC", "GPRs", "hold", "32", "bits", "worth", ";", "PowerPC64", "GPRs", "and", "FPRs", "point", "register", "holds", "64", "bits", "worth", "."], "TS_V_token": ["rs6000", "1", "1", "1", "1", "1"], "File": "rs60003", "Func": "rs6000_hard_regno_nregs", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2331, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SVEVecStackRegion", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "DebugLoc", "DL", ",", "uint64_t", "&", "AddedSize", ",", "unsigned", "&", "Basereg", ",", "uint64_t", "Offset", ")", "const", "{", "if", "(", "RegionSize", "==", "0", ")", "return", ";", "if", "(", "CSRs", ".", "size", "(", ")", "==", "0", ")", "{", "AddedSize", "+=", "this", "->", "getRegionSize", "(", ")", ";", "return", ";", "}", "bool", "BPChanged", "=", "false", ";", "if", "(", "CSRs", ".", "size", "(", ")", ">", "0", "&&", "(", "(", "AddedSize", "+", "Offset", ")", "-", "Scale", ")", ">", "(", "uint64_t", ")", "Scale", "*", "255", ")", "{", "Basereg", "=", "adjustRegBySVE", "(", "MF", ",", "MBB", ",", "MBBI", ",", "DL", ",", "Basereg", ",", "AddedSize", "+", "Offset", ",", "true", ")", ";", "AddedSize", "=", "0", ";", "Offset", "=", "0", ";", "BPChanged", "=", "true", ";", "}", "SaveRestoreSVEFromPointer", "(", "MF", ",", "MBB", ",", "MBBI", ",", "DL", ",", "AddedSize", "+", "Offset", ",", "Basereg", ",", "false", ")", ";", "if", "(", "!", "BPChanged", ")", "AddedSize", "+=", "this", "->", "getRegionSize", "(", ")", ";", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["AArch64", "0", "0", "0", "255", "0", "0"], "File": "AArch64FrameLowering62", "Func": "emitEpilogue", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2332, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64TargetLowering", "::", "insertCopiesSplitCSR", "(", "MachineBasicBlock", "*", "Entry", ",", "const", "SmallVectorImpl", "<", "MachineBasicBlock", "*", ">", "&", "Exits", ")", "const", "{", "const", "AArch64RegisterInfo", "*", "TRI", "=", "Subtarget", "->", "getRegisterInfo", "(", ")", ";", "const", "MCPhysReg", "*", "IStart", "=", "TRI", "->", "getCalleeSavedRegsViaCopy", "(", "Entry", "->", "getParent", "(", ")", ")", ";", "if", "(", "!", "IStart", ")", "return", ";", "const", "TargetInstrInfo", "*", "TII", "=", "Subtarget", "->", "getInstrInfo", "(", ")", ";", "MachineRegisterInfo", "*", "MRI", "=", "&", "Entry", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "for", "(", "const", "MCPhysReg", "*", "I", "=", "IStart", ";", "*", "I", ";", "++", "I", ")", "{", "const", "TargetRegisterClass", "*", "RC", "=", "nullptr", ";", "if", "(", "AArch64", "::", "GPR64RegClass", ".", "contains", "(", "*", "I", ")", ")", "RC", "=", "&", "AArch64", "::", "GPR64RegClass", ";", "else", "if", "(", "AArch64", "::", "FPR64RegClass", ".", "contains", "(", "*", "I", ")", ")", "RC", "=", "&", "AArch64", "::", "FPR64RegClass", ";", "else", "llvm_unreachable", "(", "\"Unexpected register class in CSRsViaCopy!\"", ")", ";", "unsigned", "NewVR", "=", "MRI", "->", "createVirtualRegister", "(", "RC", ")", ";", "assert", "(", "Entry", "->", "getParent", "(", ")", "->", "getFunction", "(", ")", "->", "hasFnAttribute", "(", "Attribute", "::", "NoUnwind", ")", "&&", "\"Function should be nounwind in insertCopiesSplitCSR!\"", ")", ";", "Entry", "->", "addLiveIn", "(", "*", "I", ")", ";", "BuildMI", "(", "*", "Entry", ",", "Entry", "->", "begin", "(", ")", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "NewVR", ")", ".", "addReg", "(", "*", "I", ")", ";", "for", "(", "auto", "*", "Exit", ":", "Exits", ")", "BuildMI", "(", "*", "Exit", ",", "Exit", "->", "begin", "(", ")", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "*", "I", ")", ".", "addReg", "(", "NewVR", ")", ";", "}", "}", ""], "natrual_language": ["Insert", "explicit", "copies", "in", "entry", "and", "exit", "blocks", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64::GPR64RegClass", "AArch64::GPR64RegClass", "AArch64::FPR64RegClass", "AArch64::FPR64RegClass", "\"Unexpected register class in CSRsViaCopy!\"", "\"Function should be nounwind in insertCopiesSplitCSR!\""], "File": "AArch64ISelLowering (2)1", "Func": "insertCopiesSplitCSR", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2333, "Length": 264, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "m32c_secondary_reload_class", "(", "int", "rclass", ",", "enum", "machine_mode", "mode", ",", "rtx", "x", ")", "{", "int", "cc", "=", "class_contents", "[", "rclass", "]", "[", "0", "]", ";", "fprintf", "(", "stderr", ",", "\"\\nsecondary reload class %s %s\\n\"", ",", "class_names", "[", "rclass", "]", ",", "mode_name", "[", "mode", "]", ")", ";", "debug_rtx", "(", "x", ")", ";", "if", "(", "mode", "==", "QImode", "&&", "GET_CODE", "(", "x", ")", "==", "MEM", "&&", "(", "cc", "&", "~", "class_contents", "[", "R23_REGS", "]", "[", "0", "]", ")", "==", "0", ")", "return", "QI_REGS", ";", "if", "(", "classes_intersect", "(", "rclass", ",", "CR_REGS", ")", "&&", "GET_CODE", "(", "x", ")", "==", "REG", "&&", "REGNO", "(", "x", ")", ">=", "SB_REGNO", "&&", "REGNO", "(", "x", ")", "<=", "SP_REGNO", ")", "return", "TARGET_A16", "?", "HI_REGS", ":", "A_REGS", ";", "return", "NO_REGS", ";", "}", ""], "natrual_language": ["Implements", "SECONDARY_RELOAD_CLASS", ".", "QImode", "have", "to", "be", "reloaded", "in", "r0", "or", "r1", ",", "as", "those", "are", "the", "only", "real", "QImode", "registers", ".", "CR", "regs", "get", "reloaded", "through", "appropriately", "sized", "general", "or", "address", "registers", "."], "TS_V_token": ["m32c", "0", "\"\\nsecondary reload class %s %s\\n\"", "0", "0"], "File": "m32c2", "Func": "m32c_secondary_reload_class", "Target": "m32c", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2334, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "s390_fpload_toreg", "(", "rtx_insn", "*", "insn", ",", "unsigned", "int", "regno", ")", "{", "rtx", "set", ";", "enum", "attr_type", "flag", "=", "s390_safe_attr_type", "(", "insn", ")", ";", "if", "(", "flag", "!=", "TYPE_FLOADSF", "&&", "flag", "!=", "TYPE_FLOADDF", ")", "return", "false", ";", "set", "=", "single_set", "(", "insn", ")", ";", "if", "(", "set", "==", "NULL_RTX", ")", "return", "false", ";", "if", "(", "!", "REG_P", "(", "SET_DEST", "(", "set", ")", ")", "||", "!", "MEM_P", "(", "SET_SRC", "(", "set", ")", ")", ")", "return", "false", ";", "if", "(", "REGNO", "(", "SET_DEST", "(", "set", ")", ")", "!=", "regno", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "INSN", "is", "a", "fp", "load", "insn", "writing", "register", "REGNO", "."], "TS_V_token": ["s390"], "File": "s390", "Func": "s390_fpload_toreg", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2335, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "replace_swapped_aligned_load", "(", "swap_web_entry", "*", "insn_entry", ",", "rtx", "swap_insn", ")", "{", "unsigned", "uid", "=", "INSN_UID", "(", "swap_insn", ")", ";", "gcc_assert", "(", "insn_entry", "[", "uid", "]", ".", "is_swap", "&&", "!", "insn_entry", "[", "uid", "]", ".", "is_load", ")", ";", "struct", "df_insn_info", "*", "insn_info", "=", "DF_INSN_INFO_GET", "(", "swap_insn", ")", ";", "df_ref", "use", "=", "DF_INSN_INFO_USES", "(", "insn_info", ")", ";", "struct", "df_link", "*", "def_link", "=", "DF_REF_CHAIN", "(", "use", ")", ";", "gcc_assert", "(", "def_link", "&&", "!", "def_link", "->", "next", ")", ";", "gcc_assert", "(", "def_link", "&&", "def_link", "->", "ref", "&&", "!", "DF_REF_IS_ARTIFICIAL", "(", "def_link", "->", "ref", ")", "&&", "!", "def_link", "->", "next", ")", ";", "rtx_insn", "*", "def_insn", "=", "DF_REF_INSN", "(", "def_link", "->", "ref", ")", ";", "unsigned", "uid2", "=", "INSN_UID", "(", "def_insn", ")", ";", "gcc_assert", "(", "insn_entry", "[", "uid2", "]", ".", "is_load", "&&", "insn_entry", "[", "uid2", "]", ".", "is_swap", ")", ";", "rtx", "body", "=", "PATTERN", "(", "def_insn", ")", ";", "gcc_assert", "(", "(", "GET_CODE", "(", "body", ")", "==", "SET", ")", "&&", "(", "GET_CODE", "(", "SET_SRC", "(", "body", ")", ")", "==", "VEC_SELECT", "||", "pattern_is_rotate64", "(", "body", ")", ")", "&&", "MEM_P", "(", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ")", ")", ")", ";", "rtx", "src_exp", "=", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ")", ";", "enum", "machine_mode", "mode", "=", "GET_MODE", "(", "src_exp", ")", ";", "rtx", "lvx", "=", "rs6000_gen_lvx", "(", "mode", ",", "SET_DEST", "(", "body", ")", ",", "src_exp", ")", ";", "rtx_insn", "*", "new_insn", "=", "emit_insn_before", "(", "lvx", ",", "def_insn", ")", ";", "rtx", "new_body", "=", "PATTERN", "(", "new_insn", ")", ";", "gcc_assert", "(", "(", "GET_CODE", "(", "new_body", ")", "==", "SET", ")", "&&", "MEM_P", "(", "SET_SRC", "(", "new_body", ")", ")", ")", ";", "set_block_for_insn", "(", "new_insn", ",", "BLOCK_FOR_INSN", "(", "def_insn", ")", ")", ";", "df_insn_rescan", "(", "new_insn", ")", ";", "df_insn_delete", "(", "def_insn", ")", ";", "remove_insn", "(", "def_insn", ")", ";", "def_insn", "->", "set_deleted", "(", ")", ";", "mark_swaps_for_removal", "(", "insn_entry", ",", "uid", ")", ";", "replace_swap_with_copy", "(", "insn_entry", ",", "uid", ")", ";", "}", ""], "natrual_language": ["Given", "that", "SWAP_INSN", "represents", "a", "swap", "of", "an", "aligned", "load-with-swap", ",", "replace", "the", "load", "with", "an", "aligned", "load", "(", "without", "swap", ")", "and", "replace", "the", "swap", "with", "a", "copy", "insn", "."], "TS_V_token": ["rs6000", "0", "0"], "File": "rs6000-p8swap", "Func": "replace_swapped_aligned_load", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2336, "Length": 306, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "iq2000_function_arg_advance", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "if", "(", "TARGET_DEBUG_D_MODE", ")", "{", "fprintf", "(", "stderr", ",", "\"function_adv({gp reg found = %d, arg # = %2d, words = %2d}, %4s, \"", ",", "cum", "->", "gp_reg_found", ",", "cum", "->", "arg_number", ",", "cum", "->", "arg_words", ",", "GET_MODE_NAME", "(", "mode", ")", ")", ";", "fprintf", "(", "stderr", ",", "\"%p\"", ",", "(", "const", "void", "*", ")", "type", ")", ";", "fprintf", "(", "stderr", ",", "\", %d )\\n\\n\"", ",", "named", ")", ";", "}", "cum", "->", "arg_number", "++", ";", "switch", "(", "mode", ")", "{", "case", "VOIDmode", ":", "break", ";", "default", ":", "gcc_assert", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_COMPLEX_INT", "||", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_COMPLEX_FLOAT", ")", ";", "cum", "->", "gp_reg_found", "=", "1", ";", "cum", "->", "arg_words", "+=", "(", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ")", ";", "break", ";", "case", "BLKmode", ":", "cum", "->", "gp_reg_found", "=", "1", ";", "cum", "->", "arg_words", "+=", "(", "(", "int_size_in_bytes", "(", "type", ")", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ")", ";", "break", ";", "case", "SFmode", ":", "cum", "->", "arg_words", "++", ";", "if", "(", "!", "cum", "->", "gp_reg_found", "&&", "cum", "->", "arg_number", "<=", "2", ")", "cum", "->", "fp_code", "+=", "1", "<<", "(", "(", "cum", "->", "arg_number", "-", "1", ")", "*", "2", ")", ";", "break", ";", "case", "DFmode", ":", "cum", "->", "arg_words", "+=", "2", ";", "if", "(", "!", "cum", "->", "gp_reg_found", "&&", "cum", "->", "arg_number", "<=", "2", ")", "cum", "->", "fp_code", "+=", "2", "<<", "(", "(", "cum", "->", "arg_number", "-", "1", ")", "*", "2", ")", ";", "break", ";", "case", "DImode", ":", "cum", "->", "gp_reg_found", "=", "1", ";", "cum", "->", "arg_words", "+=", "2", ";", "break", ";", "case", "TImode", ":", "cum", "->", "gp_reg_found", "=", "1", ";", "cum", "->", "arg_words", "+=", "4", ";", "break", ";", "case", "QImode", ":", "case", "HImode", ":", "case", "SImode", ":", "cum", "->", "gp_reg_found", "=", "1", ";", "cum", "->", "arg_words", "++", ";", "break", ";", "}", "}", ""], "natrual_language": ["Advance", "the", "argument", "of", "type", "TYPE", "and", "mode", "MODE", "to", "the", "next", "argument", "position", "in", "CUM", "."], "TS_V_token": ["iq2000", "\"function_adv({gp reg found = %d, arg # = %2d, words = %2d}, %4s, \"", "\"%p\"", "\", %d )\\n\\n\"", "1", "1", "1", "1", "2", "1", "1", "2", "2", "2", "2", "1", "2", "1", "2", "1", "4", "1"], "File": "iq20003", "Func": "iq2000_function_arg_advance", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2337, "Length": 311, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"M68k pseudo instruction expansion pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["M68k", "\"M68k pseudo instruction expansion pass\""], "File": "M68kExpandPseudo", "Func": "getPassName", "Target": "M68k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2338, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "M88kMCAsmBackend", "::", "getNumFixupKinds", "(", ")", "const", "{", "return", "M88k", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["M88k", "M88k", "M88k::NumTargetFixupKinds"], "File": "M88kMCAsmBackend", "Func": "getNumFixupKinds", "Target": "M88k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2339, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86CallLowering", "::", "lowerReturn", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Value", "*", "Val", ",", "unsigned", "VReg", ")", "const", "{", "assert", "(", "(", "(", "Val", "&&", "VReg", ")", "||", "(", "!", "Val", "&&", "!", "VReg", ")", ")", "&&", "\"Return value without a vreg\"", ")", ";", "auto", "MIB", "=", "MIRBuilder", ".", "buildInstrNoInsert", "(", "X86", "::", "RET", ")", ".", "addImm", "(", "0", ")", ";", "if", "(", "VReg", ")", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "auto", "&", "DL", "=", "MF", ".", "getDataLayout", "(", ")", ";", "const", "Function", "&", "F", "=", "*", "MF", ".", "getFunction", "(", ")", ";", "ArgInfo", "OrigArg", "{", "VReg", ",", "Val", "->", "getType", "(", ")", "}", ";", "setArgFlags", "(", "OrigArg", ",", "AttributeList", "::", "ReturnIndex", ",", "DL", ",", "F", ")", ";", "SmallVector", "<", "ArgInfo", ",", "8", ">", "SplitArgs", ";", "splitToValueTypes", "(", "OrigArg", ",", "SplitArgs", ",", "DL", ",", "MRI", ",", "[", "&", "]", "(", "unsigned", "Reg", ",", "uint64_t", "Offset", ")", "{", "MIRBuilder", ".", "buildExtract", "(", "Reg", ",", "VReg", ",", "Offset", ")", ";", "}", ")", ";", "FuncReturnHandler", "Handler", "(", "MIRBuilder", ",", "MRI", ",", "MIB", ",", "RetCC_X86", ")", ";", "if", "(", "!", "handleAssignments", "(", "MIRBuilder", ",", "SplitArgs", ",", "Handler", ")", ")", "return", "false", ";", "}", "MIRBuilder", ".", "insertInstr", "(", "MIB", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "hook", "behaves", "as", "the", "extended", "lowerReturn", "function", ",", "but", "for", "targets", "that", "do", "not", "support", "swifterror", "value", "promotion", "."], "TS_V_token": ["X86", "X86", "\"Return value without a vreg\"", "X86::RET", "0", "8", "X86"], "File": "X86CallLowering28", "Func": "lowerReturn", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2340, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "trackLivenessAfterRegAlloc", "(", "const", "MachineFunction", "&", "MF", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "live-ins", "should", "be", "tracked", "after", "register", "allocation", "."], "TS_V_token": ["Patmos"], "File": "PatmosRegisterInfo1", "Func": "trackLivenessAfterRegAlloc", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 2341, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "nds32_expand_epilogue", "(", "bool", "sibcall_p", ")", "{", "int", "sp_adjust", ";", "int", "en4_const", ";", "rtx", "Rb", ",", "Re", ";", "rtx", "sp_adjust_insn", ";", "nds32_compute_stack_frame", "(", ")", ";", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "if", "(", "cfun", "->", "machine", "->", "naked_p", ")", "{", "if", "(", "cfun", "->", "machine", "->", "va_args_size", "!=", "0", ")", "{", "sp_adjust", "=", "cfun", "->", "machine", "->", "va_args_size", "+", "cfun", "->", "machine", "->", "va_args_area_padding_bytes", ";", "sp_adjust_insn", "=", "gen_addsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "sp_adjust", ")", ")", ";", "sp_adjust_insn", "=", "emit_insn", "(", "sp_adjust_insn", ")", ";", "RTX_FRAME_RELATED_P", "(", "sp_adjust_insn", ")", "=", "1", ";", "}", "if", "(", "!", "sibcall_p", ")", "emit_jump_insn", "(", "gen_return_internal", "(", ")", ")", ";", "return", ";", "}", "if", "(", "frame_pointer_needed", ")", "{", "sp_adjust", "=", "cfun", "->", "machine", "->", "fp_size", "+", "cfun", "->", "machine", "->", "gp_size", "+", "cfun", "->", "machine", "->", "lp_size", "+", "cfun", "->", "machine", "->", "callee_saved_gpr_regs_size", ";", "sp_adjust_insn", "=", "gen_addsi3", "(", "stack_pointer_rtx", ",", "hard_frame_pointer_rtx", ",", "GEN_INT", "(", "-", "1", "*", "sp_adjust", ")", ")", ";", "sp_adjust_insn", "=", "emit_insn", "(", "sp_adjust_insn", ")", ";", "RTX_FRAME_RELATED_P", "(", "sp_adjust_insn", ")", "=", "1", ";", "}", "else", "{", "sp_adjust", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", "+", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", ";", "sp_adjust", "=", "nds32_force_addi_stack_int", "(", "sp_adjust", ")", ";", "if", "(", "sp_adjust", ")", "{", "sp_adjust_insn", "=", "gen_addsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "sp_adjust", ")", ")", ";", "sp_adjust_insn", "=", "emit_insn", "(", "sp_adjust_insn", ")", ";", "RTX_FRAME_RELATED_P", "(", "sp_adjust_insn", ")", "=", "1", ";", "}", "}", "Rb", "=", "gen_rtx_REG", "(", "SImode", ",", "cfun", "->", "machine", "->", "callee_saved_first_gpr_regno", ")", ";", "Re", "=", "gen_rtx_REG", "(", "SImode", ",", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", ")", ";", "en4_const", "=", "0", ";", "if", "(", "cfun", "->", "machine", "->", "fp_size", ")", "en4_const", "+=", "8", ";", "if", "(", "cfun", "->", "machine", "->", "gp_size", ")", "en4_const", "+=", "4", ";", "if", "(", "cfun", "->", "machine", "->", "lp_size", ")", "en4_const", "+=", "2", ";", "if", "(", "!", "(", "REGNO", "(", "Rb", ")", "==", "SP_REGNUM", "&&", "REGNO", "(", "Re", ")", "==", "SP_REGNUM", "&&", "en4_const", "==", "0", ")", ")", "{", "nds32_emit_stack_pop_multiple", "(", "Rb", ",", "Re", ",", "GEN_INT", "(", "en4_const", ")", ")", ";", "}", "if", "(", "cfun", "->", "machine", "->", "va_args_size", "!=", "0", ")", "{", "sp_adjust", "=", "cfun", "->", "machine", "->", "va_args_size", "+", "cfun", "->", "machine", "->", "va_args_area_padding_bytes", ";", "sp_adjust_insn", "=", "gen_addsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "sp_adjust", ")", ")", ";", "sp_adjust_insn", "=", "emit_insn", "(", "sp_adjust_insn", ")", ";", "RTX_FRAME_RELATED_P", "(", "sp_adjust_insn", ")", "=", "1", ";", "}", "if", "(", "!", "sibcall_p", ")", "emit_jump_insn", "(", "gen_return_internal", "(", ")", ")", ";", "}", ""], "natrual_language": ["Function", "for", "normal", "multiple", "pop", "epilogue", "."], "TS_V_token": ["nds32", "0", "1", "1", "1", "1", "0", "8", "4", "2", "0", "0", "1"], "File": "nds322", "Func": "nds32_expand_epilogue", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2342, "Length": 407, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCSection", "*", "getExplicitSectionGlobal", "(", "const", "GlobalValue", "*", "GV", ",", "SectionKind", "Kind", ",", "Mangler", "&", "Mang", ",", "const", "TargetMachine", "&", "TM", ")", "const", "override", "{", "return", "DataSection", ";", "}", ""], "natrual_language": ["Targets", "should", "implement", "this", "method", "to", "assign", "a", "section", "to", "globals", "with", "an", "explicit", "section", "specfied", "."], "TS_V_token": ["NVPTX"], "File": "NVPTXTargetObjectFile", "Func": "getExplicitSectionGlobal", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2343, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "visium_function_arg", "(", "cumulative_args_t", "pcum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "int", "size", ";", "CUMULATIVE_ARGS", "*", "ca", "=", "get_cumulative_args", "(", "pcum_v", ")", ";", "size", "=", "(", "GET_MODE_SIZE", "(", "arg", ".", "mode", ")", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ";", "if", "(", "arg", ".", "end_marker_p", "(", ")", ")", "return", "GEN_INT", "(", "0", ")", ";", "if", "(", "TARGET_FPU", "&&", "(", "(", "GET_MODE_CLASS", "(", "arg", ".", "mode", ")", "==", "MODE_FLOAT", "&&", "GET_MODE_SIZE", "(", "arg", ".", "mode", ")", "<=", "UNITS_PER_HWFPVALUE", ")", "||", "(", "GET_MODE_CLASS", "(", "arg", ".", "mode", ")", "==", "MODE_COMPLEX_FLOAT", "&&", "GET_MODE_SIZE", "(", "arg", ".", "mode", ")", "<=", "UNITS_PER_HWFPVALUE", "*", "2", ")", ")", ")", "{", "if", "(", "ca", "->", "frcount", "+", "size", "<=", "MAX_ARGS_IN_FP_REGISTERS", ")", "return", "gen_rtx_REG", "(", "arg", ".", "mode", ",", "FP_ARG_FIRST", "+", "ca", "->", "frcount", ")", ";", "else", "return", "NULL_RTX", ";", "}", "if", "(", "ca", "->", "grcount", "+", "size", "<=", "MAX_ARGS_IN_GP_REGISTERS", ")", "return", "gen_rtx_REG", "(", "arg", ".", "mode", ",", "ca", "->", "grcount", "+", "GP_ARG_FIRST", ")", ";", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Define", "how", "arguments", "are", "passed", ".", "A", "range", "of", "general", "registers", "and", "floating", "registers", "is", "available", "for", "passing", "arguments", ".", "When", "the", "class", "of", "registers", "which", "an", "argument", "would", "normally", "use", "is", "exhausted", ",", "that", "argument", ",", "is", "passed", "in", "the", "overflow", "region", "of", "the", "stack", ".", "No", "argument", "is", "split", "between", "registers", "and", "stack", ".", "Arguments", "of", "type", "float", "or", "_Complex", "float", "go", "in", "FP", "registers", "if", "FP", "hardware", "is", "available", ".", "If", "there", "is", "no", "FP", "hardware", ",", "arguments", "of", "type", "float", "go", "in", "general", "registers", ".", "All", "other", "arguments", "are", "passed", "in", "general", "registers", "."], "TS_V_token": ["visium", "1", "0", "2"], "File": "visium", "Func": "visium_function_arg", "Target": "visium", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 2344, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "lowerInterleavedStore", "(", "StoreInst", "*", "SI", ",", "ShuffleVectorInst", "*", "SVI", ",", "unsigned", "Factor", ")", "const", "{", "assert", "(", "Factor", ">=", "2", "&&", "Factor", "<=", "getMaxSupportedInterleaveFactor", "(", ")", "&&", "\"Invalid interleave factor\"", ")", ";", "VectorType", "*", "VecTy", "=", "SVI", "->", "getType", "(", ")", ";", "assert", "(", "VecTy", "->", "getVectorNumElements", "(", ")", "%", "Factor", "==", "0", "&&", "\"Invalid interleaved store\"", ")", ";", "unsigned", "NumSubElts", "=", "VecTy", "->", "getVectorNumElements", "(", ")", "/", "Factor", ";", "Type", "*", "EltTy", "=", "VecTy", "->", "getVectorElementType", "(", ")", ";", "VectorType", "*", "SubVecTy", "=", "VectorType", "::", "get", "(", "EltTy", ",", "NumSubElts", ")", ";", "const", "DataLayout", "&", "DL", "=", "SI", "->", "getModule", "(", ")", "->", "getDataLayout", "(", ")", ";", "unsigned", "SubVecSize", "=", "DL", ".", "getTypeAllocSizeInBits", "(", "SubVecTy", ")", ";", "if", "(", "!", "Subtarget", "->", "hasNEON", "(", ")", "||", "(", "SubVecSize", "!=", "64", "&&", "SubVecSize", "!=", "128", ")", ")", "return", "false", ";", "Value", "*", "Op0", "=", "SVI", "->", "getOperand", "(", "0", ")", ";", "Value", "*", "Op1", "=", "SVI", "->", "getOperand", "(", "1", ")", ";", "IRBuilder", "<", ">", "Builder", "(", "SI", ")", ";", "if", "(", "EltTy", "->", "isPointerTy", "(", ")", ")", "{", "Type", "*", "IntTy", "=", "DL", ".", "getIntPtrType", "(", "EltTy", ")", ";", "unsigned", "NumOpElts", "=", "dyn_cast", "<", "VectorType", ">", "(", "Op0", "->", "getType", "(", ")", ")", "->", "getVectorNumElements", "(", ")", ";", "Type", "*", "IntVecTy", "=", "VectorType", "::", "get", "(", "IntTy", ",", "NumOpElts", ")", ";", "Op0", "=", "Builder", ".", "CreatePtrToInt", "(", "Op0", ",", "IntVecTy", ")", ";", "Op1", "=", "Builder", ".", "CreatePtrToInt", "(", "Op1", ",", "IntVecTy", ")", ";", "SubVecTy", "=", "VectorType", "::", "get", "(", "IntTy", ",", "NumSubElts", ")", ";", "}", "Type", "*", "PtrTy", "=", "SubVecTy", "->", "getPointerTo", "(", "SI", "->", "getPointerAddressSpace", "(", ")", ")", ";", "Type", "*", "Tys", "[", "2", "]", "=", "{", "SubVecTy", ",", "PtrTy", "}", ";", "static", "const", "Intrinsic", "::", "ID", "StoreInts", "[", "3", "]", "=", "{", "Intrinsic", "::", "aarch64_neon_st2", ",", "Intrinsic", "::", "aarch64_neon_st3", ",", "Intrinsic", "::", "aarch64_neon_st4", "}", ";", "Function", "*", "StNFunc", "=", "Intrinsic", "::", "getDeclaration", "(", "SI", "->", "getModule", "(", ")", ",", "StoreInts", "[", "Factor", "-", "2", "]", ",", "Tys", ")", ";", "SmallVector", "<", "Value", "*", ",", "5", ">", "Ops", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Factor", ";", "i", "++", ")", "Ops", ".", "push_back", "(", "Builder", ".", "CreateShuffleVector", "(", "Op0", ",", "Op1", ",", "getSequentialMask", "(", "Builder", ",", "NumSubElts", "*", "i", ",", "NumSubElts", ")", ")", ")", ";", "Ops", ".", "push_back", "(", "Builder", ".", "CreateBitCast", "(", "SI", "->", "getPointerOperand", "(", ")", ",", "PtrTy", ")", ")", ";", "Builder", ".", "CreateCall", "(", "StNFunc", ",", "Ops", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Lower", "interleaved", "store", "(", "s", ")", "into", "target", "specific", "instructions/intrinsics", "."], "TS_V_token": ["AArch64", "AArch64", "2", "\"Invalid interleave factor\"", "0", "\"Invalid interleaved store\"", "64", "128", "0", "1", "2", "Intrinsic::ID", "3", "Intrinsic::aarch64_neon_st2", "Intrinsic::aarch64_neon_st3", "Intrinsic::aarch64_neon_st4", "Intrinsic::getDeclaration", "2", "5", "0"], "File": "AArch64ISelLowering1", "Func": "lowerInterleavedStore", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2345, "Length": 410, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "ix86_fpcmp_strategy", "ix86_fp_comparison_strategy", "(", "enum", "rtx_code", ")", "{", "if", "(", "TARGET_CMOVE", ")", "return", "IX86_FPCMP_COMI", ";", "if", "(", "TARGET_SAHF", "&&", "(", "TARGET_USE_SAHF", "||", "optimize_insn_for_size_p", "(", ")", ")", ")", "return", "IX86_FPCMP_SAHF", ";", "return", "IX86_FPCMP_ARITH", ";", "}", ""], "natrual_language": ["Return", "strategy", "to", "use", "for", "floating-point", ".", "We", "assume", "that", "fcomi", "is", "always", "preferrable", "where", "available", ",", "since", "that", "is", "also", "true", "when", "looking", "at", "size", "(", "2", "bytes", ",", "vs.", "3", "for", "fnstsw+sahf", "and", "at", "least", "5", "for", "fnstsw+test", ")", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_fp_comparison_strategy", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2346, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "TVMTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "static_cast", "<", "TVMISD", "::", "NodeType", ">", "(", "Opcode", ")", ")", "{", "case", "TVMISD", "::", "FIRST_NUMBER", ":", "break", ";", "case", "TVMISD", "::", "NODE", ":", "\\", "return", "\"TVMISD::\"", "#", "NODE", ";", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["TVM", "TVM", "TVMISD::NodeType", "TVMISD::FIRST_NUMBER", "TVMISD::NODE", "\"TVMISD::\""], "File": "TVMISelLowering", "Func": "getTargetNodeName", "Target": "TVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2347, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "loongarch_output_division", "(", "const", "char", "*", "division", ",", "rtx", "*", "operands", ")", "{", "const", "char", "*", "s", ";", "s", "=", "division", ";", "if", "(", "loongarch_check_zero_div_p", "(", ")", ")", "{", "output_asm_insn", "(", "s", ",", "operands", ")", ";", "s", "=", "\"bne\\t%2,%.,1f\\n\\tbreak\\t7\\n1:\"", ";", "}", "return", "s", ";", "}", ""], "natrual_language": ["Return", "the", "assembly", "code", "for", "DIV", ".", "{", "W/D", "}", "instruction", "DIVISION", ",", "which", "has", "the", "operands", "given", "by", "OPERANDS", ".", "Add", "in", "a", "divide-by-zero", "check", "if", "needed", "."], "TS_V_token": ["loongarch", "\"bne\\t%2,%.,1f\\n\\tbreak\\t7\\n1:\""], "File": "loongarch1", "Func": "loongarch_output_division", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2348, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "findDeadCallerSavedReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "const", "X86RegisterInfo", "*", "TRI", ",", "bool", "Is64Bit", ")", "{", "const", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "Function", "*", "F", "=", "MF", "->", "getFunction", "(", ")", ";", "if", "(", "!", "F", "||", "MF", "->", "getMMI", "(", ")", ".", "callsEHReturn", "(", ")", ")", "return", "0", ";", "const", "TargetRegisterClass", "&", "AvailableRegs", "=", "*", "TRI", "->", "getGPRsForTailCall", "(", "*", "MF", ")", ";", "unsigned", "Opc", "=", "MBBI", "->", "getOpcode", "(", ")", ";", "switch", "(", "Opc", ")", "{", "default", ":", "return", "0", ";", "case", "X86", "::", "RETL", ":", "case", "X86", "::", "RETQ", ":", "case", "X86", "::", "RETIL", ":", "case", "X86", "::", "RETIQ", ":", "case", "X86", "::", "TCRETURNdi", ":", "case", "X86", "::", "TCRETURNri", ":", "case", "X86", "::", "TCRETURNmi", ":", "case", "X86", "::", "TCRETURNdi64", ":", "case", "X86", "::", "TCRETURNri64", ":", "case", "X86", "::", "TCRETURNmi64", ":", "case", "X86", "::", "EH_RETURN", ":", "case", "X86", "::", "EH_RETURN64", ":", "{", "SmallSet", "<", "uint16_t", ",", "8", ">", "Uses", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "MBBI", "->", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "MachineOperand", "&", "MO", "=", "MBBI", "->", "getOperand", "(", "i", ")", ";", "if", "(", "!", "MO", ".", "isReg", "(", ")", "||", "MO", ".", "isDef", "(", ")", ")", "continue", ";", "unsigned", "Reg", "=", "MO", ".", "getReg", "(", ")", ";", "if", "(", "!", "Reg", ")", "continue", ";", "for", "(", "MCRegAliasIterator", "AI", "(", "Reg", ",", "TRI", ",", "true", ")", ";", "AI", ".", "isValid", "(", ")", ";", "++", "AI", ")", "Uses", ".", "insert", "(", "*", "AI", ")", ";", "}", "for", "(", "auto", "CS", ":", "AvailableRegs", ")", "if", "(", "!", "Uses", ".", "count", "(", "CS", ")", "&&", "CS", "!=", "X86", "::", "RIP", ")", "return", "CS", ";", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["findDeadCallerSavedReg", "-", "Return", "a", "caller-saved", "register", "that", "is", "n't", "live", "when", "it", "reaches", "the", "``", "return", "''", "instruction", "."], "TS_V_token": ["X86", "X86", "0", "0", "X86::RETL", "X86::RETQ", "X86::RETIL", "X86::RETIQ", "X86::TCRETURNdi", "X86::TCRETURNri", "X86::TCRETURNmi", "X86::TCRETURNdi64", "X86::TCRETURNri64", "X86::TCRETURNmi64", "X86::EH_RETURN", "X86::EH_RETURN64", "8", "0", "X86::RIP", "0"], "File": "X86FrameLowering (2)4", "Func": "findDeadCallerSavedReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2349, "Length": 294, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "m68k_cpp_cpu_ident", "(", "const", "char", "*", "prefix", ")", "{", "if", "(", "!", "m68k_cpu_entry", ")", "return", "NULL", ";", "return", "concat", "(", "\"__m\"", ",", "prefix", ",", "\"_cpu_\"", ",", "m68k_cpu_entry", "->", "name", ",", "NULL", ")", ";", "}", ""], "natrual_language": ["Generate", "a", "macro", "of", "the", "form", "__mPREFIX_cpu_NAME", ",", "where", "PREFIX", "is", "the", "given", "argument", "and", "NAME", "is", "the", "argument", "passed", "to", "-mcpu", ".", "Return", "NULL", "if", "-mcpu", "was", "not", "passed", "."], "TS_V_token": ["m68k", "\"__m\"", "\"_cpu_\""], "File": "m68k", "Func": "m68k_cpp_cpu_ident", "Target": "m68k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2350, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_split_mmx_pack", "(", "rtx", "operands", "[", "]", ",", "enum", "rtx_code", "code", ")", "{", "rtx", "op0", "=", "operands", "[", "0", "]", ";", "rtx", "op1", "=", "operands", "[", "1", "]", ";", "rtx", "op2", "=", "operands", "[", "2", "]", ";", "machine_mode", "dmode", "=", "GET_MODE", "(", "op0", ")", ";", "machine_mode", "smode", "=", "GET_MODE", "(", "op1", ")", ";", "machine_mode", "inner_dmode", "=", "GET_MODE_INNER", "(", "dmode", ")", ";", "machine_mode", "inner_smode", "=", "GET_MODE_INNER", "(", "smode", ")", ";", "int", "nunits", "=", "16", "/", "GET_MODE_SIZE", "(", "inner_dmode", ")", ";", "machine_mode", "sse_dmode", "=", "mode_for_vector", "(", "GET_MODE_INNER", "(", "dmode", ")", ",", "nunits", ")", ".", "require", "(", ")", ";", "machine_mode", "sse_half_dmode", "=", "mode_for_vector", "(", "GET_MODE_INNER", "(", "dmode", ")", ",", "nunits", "/", "2", ")", ".", "require", "(", ")", ";", "nunits", "=", "16", "/", "GET_MODE_SIZE", "(", "inner_smode", ")", ";", "machine_mode", "sse_smode", "=", "mode_for_vector", "(", "GET_MODE_INNER", "(", "smode", ")", ",", "nunits", ")", ".", "require", "(", ")", ";", "rtx", "dest", "=", "lowpart_subreg", "(", "sse_dmode", ",", "op0", ",", "GET_MODE", "(", "op0", ")", ")", ";", "op1", "=", "lowpart_subreg", "(", "sse_smode", ",", "op1", ",", "GET_MODE", "(", "op1", ")", ")", ";", "op2", "=", "lowpart_subreg", "(", "sse_smode", ",", "op2", ",", "GET_MODE", "(", "op2", ")", ")", ";", "op1", "=", "gen_rtx_fmt_e", "(", "code", ",", "sse_half_dmode", ",", "op1", ")", ";", "op2", "=", "gen_rtx_fmt_e", "(", "code", ",", "sse_half_dmode", ",", "op2", ")", ";", "rtx", "insn", "=", "gen_rtx_SET", "(", "dest", ",", "gen_rtx_VEC_CONCAT", "(", "sse_dmode", ",", "op1", ",", "op2", ")", ")", ";", "emit_insn", "(", "insn", ")", ";", "ix86_move_vector_high_sse_to_mmx", "(", "op0", ")", ";", "}", ""], "natrual_language": ["Split", "MMX", "pack", "with", "signed/unsigned", "saturation", "with", "SSE/SSE2", "."], "TS_V_token": ["i386", "0", "1", "2", "16", "2", "16"], "File": "i386-expand", "Func": "ix86_split_mmx_pack", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2351, "Length": 234, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "CSKYMCExpr", "::", "getVariantKindName", "(", "VariantKind", "Kind", ")", "{", "switch", "(", "Kind", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Invalid ELF symbol kind\"", ")", ";", "case", "VK_CSKY_ADDR", ":", "return", "\"\"", ";", "case", "VK_CSKY_PCREL", ":", "return", "\"\"", ";", "case", "VK_CSKY_GOT", ":", "return", "\"@GOT\"", ";", "case", "VK_CSKY_GOTPC", ":", "return", "\"@GOTPC\"", ";", "case", "VK_CSKY_GOTOFF", ":", "return", "\"@GOTOFF\"", ";", "case", "VK_CSKY_PLT", ":", "return", "\"@PLT\"", ";", "case", "VK_CSKY_TPOFF", ":", "return", "\"@TPOFF\"", ";", "case", "VK_CSKY_TLSGD", ":", "return", "\"@TLSGD\"", ";", "}", "}", ""], "natrual_language": ["Convert", "the", "variant", "kind", "into", "an", "ELF-appropriate", "modifier", "(", "e.g", "."], "TS_V_token": ["CSKY", "CSKY", "\"Invalid ELF symbol kind\"", "CSKY", "\"\"", "CSKY", "\"\"", "CSKY", "\"@GOT\"", "CSKY", "\"@GOTPC\"", "CSKY", "\"@GOTOFF\"", "CSKY", "\"@PLT\"", "CSKY", "\"@TPOFF\"", "CSKY", "\"@TLSGD\""], "File": "CSKYMCExpr2", "Func": "getVariantKindName", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2352, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ConvergingVLIWScheduler", "::", "releaseBottomNode", "(", "SUnit", "*", "SU", ")", "{", "if", "(", "SU", "->", "isScheduled", ")", "return", ";", "assert", "(", "SU", "->", "getInstr", "(", ")", "&&", "\"Scheduled SUnit must have instr\"", ")", ";", "for", "(", "SUnit", "::", "succ_iterator", "I", "=", "SU", "->", "Succs", ".", "begin", "(", ")", ",", "E", "=", "SU", "->", "Succs", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "unsigned", "SuccReadyCycle", "=", "I", "->", "getSUnit", "(", ")", "->", "BotReadyCycle", ";", "unsigned", "MinLatency", "=", "I", "->", "getMinLatency", "(", ")", ";", "Bot", ".", "MaxMinLatency", "=", "std", "::", "max", "(", "MinLatency", ",", "Bot", ".", "MaxMinLatency", ")", ";", "if", "(", "SU", "->", "BotReadyCycle", "<", "SuccReadyCycle", "+", "MinLatency", ")", "SU", "->", "BotReadyCycle", "=", "SuccReadyCycle", "+", "MinLatency", ";", "}", "Bot", ".", "releaseNode", "(", "SU", ",", "SU", "->", "BotReadyCycle", ")", ";", "}", ""], "natrual_language": ["Currently", "only", "scheduling", "top-down", ",", "so", "this", "method", "is", "empty", "."], "TS_V_token": ["Hexagon", "\"Scheduled SUnit must have instr\""], "File": "HexagonMachineScheduler10", "Func": "releaseBottomNode", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2353, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCGNode", "*", "getCaller", "(", ")", "const", "{", "return", "Caller", ";", "}", ""], "natrual_language": ["Helper", "to", "get", "the", "caller", "(", "the", "parent", "function", ")", "."], "TS_V_token": ["Patmos"], "File": "PatmosCallGraphBuilder", "Func": "getCaller", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 2354, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MVT", "getScalarShiftAmountTy", "(", "const", "DataLayout", "&", "DL", ",", "EVT", ")", "const", "override", "{", "return", "MVT", "::", "i32", ";", "}", ""], "natrual_language": ["Return", "the", "type", "to", "use", "for", "a", "scalar", "shift", "opcode", ",", "given", "the", "shifted", "amount", "type", "."], "TS_V_token": ["XCore", "MVT::i32"], "File": "XCoreISelLowering (2)1", "Func": "getScalarShiftAmountTy", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2355, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint32_t", "getSize", "(", ")", "{", "return", "BTFTypeBase", "::", "getSize", "(", ")", "+", "BTF", "::", "BTFDataSecVarSize", "*", "Vars", ".", "size", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "bytes", "in", "the", "encoding", "of", "this", "instruction", ",", "or", "zero", "if", "the", "encoding", "size", "can", "not", "be", "known", "from", "the", "opcode", "."], "TS_V_token": ["BPF", "BTFTypeBase::getSize", "BTF::BTFDataSecVarSize"], "File": "BTFDebug11", "Func": "getSize", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2356, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCFrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "(", "MFI", ".", "getStackSize", "(", ")", ")", "&&", "needsFP", "(", "MF", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCFrameLowering10", "Func": "hasFP", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2357, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Cpu0 Del Useless jmp\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Cpu0", "\"Cpu0 Del Useless jmp\""], "File": "Cpu0DelUselessJMP1", "Func": "getPassName", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2358, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sh_va_start", "(", "tree", "valist", ",", "rtx", "nextarg", ")", "{", "tree", "f_next_o", ",", "f_next_o_limit", ",", "f_next_fp", ",", "f_next_fp_limit", ",", "f_next_stack", ";", "tree", "next_o", ",", "next_o_limit", ",", "next_fp", ",", "next_fp_limit", ",", "next_stack", ";", "tree", "t", ",", "u", ";", "int", "nfp", ",", "nint", ";", "if", "(", "TARGET_SH5", ")", "{", "expand_builtin_saveregs", "(", ")", ";", "std_expand_builtin_va_start", "(", "valist", ",", "nextarg", ")", ";", "return", ";", "}", "if", "(", "(", "!", "TARGET_SH2E", "&&", "!", "TARGET_SH4", ")", "||", "TARGET_HITACHI", "||", "sh_cfun_attr_renesas_p", "(", ")", ")", "{", "std_expand_builtin_va_start", "(", "valist", ",", "nextarg", ")", ";", "return", ";", "}", "f_next_o", "=", "TYPE_FIELDS", "(", "va_list_type_node", ")", ";", "f_next_o_limit", "=", "DECL_CHAIN", "(", "f_next_o", ")", ";", "f_next_fp", "=", "DECL_CHAIN", "(", "f_next_o_limit", ")", ";", "f_next_fp_limit", "=", "DECL_CHAIN", "(", "f_next_fp", ")", ";", "f_next_stack", "=", "DECL_CHAIN", "(", "f_next_fp_limit", ")", ";", "next_o", "=", "build3", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_next_o", ")", ",", "valist", ",", "f_next_o", ",", "NULL_TREE", ")", ";", "next_o_limit", "=", "build3", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_next_o_limit", ")", ",", "valist", ",", "f_next_o_limit", ",", "NULL_TREE", ")", ";", "next_fp", "=", "build3", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_next_fp", ")", ",", "valist", ",", "f_next_fp", ",", "NULL_TREE", ")", ";", "next_fp_limit", "=", "build3", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_next_fp_limit", ")", ",", "valist", ",", "f_next_fp_limit", ",", "NULL_TREE", ")", ";", "next_stack", "=", "build3", "(", "COMPONENT_REF", ",", "TREE_TYPE", "(", "f_next_stack", ")", ",", "valist", ",", "f_next_stack", ",", "NULL_TREE", ")", ";", "u", "=", "make_tree", "(", "sizetype", ",", "expand_builtin_saveregs", "(", ")", ")", ";", "u", "=", "fold_convert", "(", "ptr_type_node", ",", "u", ")", ";", "t", "=", "build2", "(", "MODIFY_EXPR", ",", "ptr_type_node", ",", "next_fp", ",", "u", ")", ";", "TREE_SIDE_EFFECTS", "(", "t", ")", "=", "1", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "nfp", "=", "crtl", "->", "args", ".", "info", ".", "arg_count", "[", "SH_ARG_FLOAT", "]", ";", "if", "(", "nfp", "<", "8", ")", "nfp", "=", "8", "-", "nfp", ";", "else", "nfp", "=", "0", ";", "u", "=", "fold_build_pointer_plus_hwi", "(", "u", ",", "UNITS_PER_WORD", "*", "nfp", ")", ";", "t", "=", "build2", "(", "MODIFY_EXPR", ",", "ptr_type_node", ",", "next_fp_limit", ",", "u", ")", ";", "TREE_SIDE_EFFECTS", "(", "t", ")", "=", "1", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "t", "=", "build2", "(", "MODIFY_EXPR", ",", "ptr_type_node", ",", "next_o", ",", "u", ")", ";", "TREE_SIDE_EFFECTS", "(", "t", ")", "=", "1", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "nint", "=", "crtl", "->", "args", ".", "info", ".", "arg_count", "[", "SH_ARG_INT", "]", ";", "if", "(", "nint", "<", "4", ")", "nint", "=", "4", "-", "nint", ";", "else", "nint", "=", "0", ";", "u", "=", "fold_build_pointer_plus_hwi", "(", "u", ",", "UNITS_PER_WORD", "*", "nint", ")", ";", "t", "=", "build2", "(", "MODIFY_EXPR", ",", "ptr_type_node", ",", "next_o_limit", ",", "u", ")", ";", "TREE_SIDE_EFFECTS", "(", "t", ")", "=", "1", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "u", "=", "make_tree", "(", "ptr_type_node", ",", "nextarg", ")", ";", "t", "=", "build2", "(", "MODIFY_EXPR", ",", "ptr_type_node", ",", "next_stack", ",", "u", ")", ";", "TREE_SIDE_EFFECTS", "(", "t", ")", "=", "1", ";", "expand_expr", "(", "t", ",", "const0_rtx", ",", "VOIDmode", ",", "EXPAND_NORMAL", ")", ";", "}", ""], "natrual_language": ["Implement", "`", "va_start", "'", "for", "varargs", "and", "stdarg", "."], "TS_V_token": ["sh", "1", "8", "8", "0", "1", "1", "4", "4", "0", "1", "1"], "File": "sh4", "Func": "sh_va_start", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2359, "Length": 481, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86CmovConverterPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "*", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "if", "(", "!", "EnableCmovConverter", ")", "return", "false", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** \"", "<<", "getPassName", "(", ")", "<<", "\" : \"", "<<", "MF", ".", "getName", "(", ")", "<<", "\"**********\\n\"", ")", ";", "bool", "Changed", "=", "false", ";", "MachineLoopInfo", "&", "MLI", "=", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "const", "TargetSubtargetInfo", "&", "STI", "=", "MF", ".", "getSubtarget", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "TII", "=", "STI", ".", "getInstrInfo", "(", ")", ";", "TSchedModel", ".", "init", "(", "STI", ".", "getSchedModel", "(", ")", ",", "&", "STI", ",", "TII", ")", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "MachineLoop", "*", "CurrLoop", "=", "MLI", ".", "getLoopFor", "(", "&", "MBB", ")", ";", "if", "(", "!", "CurrLoop", "||", "CurrLoop", "->", "getHeader", "(", ")", "!=", "&", "MBB", "||", "!", "CurrLoop", "->", "getSubLoops", "(", ")", ".", "empty", "(", ")", ")", "continue", ";", "CmovGroups", "CmovInstGroups", ";", "if", "(", "!", "collectCmovCandidates", "(", "CurrLoop", ",", "CmovInstGroups", ")", ")", "continue", ";", "if", "(", "!", "checkForProfitableCmovCandidates", "(", "CurrLoop", ",", "CmovInstGroups", ")", ")", "continue", ";", "Changed", "=", "true", ";", "for", "(", "auto", "&", "Group", ":", "CmovInstGroups", ")", "convertCmovInstsToBranches", "(", "Group", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "\"********** \"", "\" : \"", "\"**********\\n\""], "File": "X86CmovConversion (2)", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2360, "Length": 213, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MVT", "M680x0TargetLowering", "::", "getScalarShiftAmountTy", "(", "const", "DataLayout", "&", "DL", ",", "EVT", "Ty", ")", "const", "{", "if", "(", "Ty", ".", "isSimple", "(", ")", ")", "{", "return", "Ty", ".", "getSimpleVT", "(", ")", ";", "}", "return", "MVT", "::", "getIntegerVT", "(", "8", "*", "DL", ".", "getPointerSize", "(", "0", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "type", "to", "use", "for", "a", "scalar", "shift", "opcode", ",", "given", "the", "shifted", "amount", "type", "."], "TS_V_token": ["M680x0", "M680x0", "MVT::getIntegerVT", "8", "0"], "File": "M680x0ISelLowering", "Func": "getScalarShiftAmountTy", "Target": "M680x0", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2361, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "Mfix", "*", "create_fix_barrier", "(", "Mfix", "*", "fix", ",", "HOST_WIDE_INT", "max_address", ")", "{", "HOST_WIDE_INT", "count", "=", "0", ";", "rtx", "barrier", ";", "rtx", "from", "=", "fix", "->", "insn", ";", "rtx", "selected", "=", "from", ";", "int", "selected_cost", ";", "HOST_WIDE_INT", "selected_address", ";", "Mfix", "*", "new_fix", ";", "HOST_WIDE_INT", "max_count", "=", "max_address", "-", "fix", "->", "address", ";", "rtx", "label", "=", "gen_label_rtx", "(", ")", ";", "selected_cost", "=", "arm_barrier_cost", "(", "from", ")", ";", "selected_address", "=", "fix", "->", "address", ";", "while", "(", "from", "&&", "count", "<", "max_count", ")", "{", "rtx", "tmp", ";", "int", "new_cost", ";", "gcc_assert", "(", "GET_CODE", "(", "from", ")", "!=", "BARRIER", ")", ";", "count", "+=", "get_attr_length", "(", "from", ")", ";", "tmp", "=", "is_jump_table", "(", "from", ")", ";", "if", "(", "tmp", "!=", "NULL", ")", "{", "count", "+=", "get_jump_table_size", "(", "tmp", ")", ";", "new_cost", "=", "arm_barrier_cost", "(", "from", ")", ";", "if", "(", "count", "<", "max_count", "&&", "new_cost", "<=", "selected_cost", ")", "{", "selected", "=", "tmp", ";", "selected_cost", "=", "new_cost", ";", "selected_address", "=", "fix", "->", "address", "+", "count", ";", "}", "from", "=", "NEXT_INSN", "(", "tmp", ")", ";", "continue", ";", "}", "new_cost", "=", "arm_barrier_cost", "(", "from", ")", ";", "if", "(", "count", "<", "max_count", "&&", "new_cost", "<=", "selected_cost", ")", "{", "selected", "=", "from", ";", "selected_cost", "=", "new_cost", ";", "selected_address", "=", "fix", "->", "address", "+", "count", ";", "}", "from", "=", "NEXT_INSN", "(", "from", ")", ";", "}", "from", "=", "emit_jump_insn_after", "(", "gen_jump", "(", "label", ")", ",", "selected", ")", ";", "JUMP_LABEL", "(", "from", ")", "=", "label", ";", "barrier", "=", "emit_barrier_after", "(", "from", ")", ";", "emit_label_after", "(", "label", ",", "barrier", ")", ";", "new_fix", "=", "(", "Mfix", "*", ")", "obstack_alloc", "(", "&", "minipool_obstack", ",", "sizeof", "(", "*", "new_fix", ")", ")", ";", "new_fix", "->", "insn", "=", "barrier", ";", "new_fix", "->", "address", "=", "selected_address", ";", "new_fix", "->", "next", "=", "fix", "->", "next", ";", "fix", "->", "next", "=", "new_fix", ";", "return", "new_fix", ";", "}", ""], "natrual_language": ["Find", "the", "best", "place", "in", "the", "insn", "stream", "in", "the", "range", "(", "FIX-", ">", "address", ",", "MAX_ADDRESS", ")", "to", "forcibly", "insert", "a", "minipool", "barrier", ".", "Create", "the", "barrier", "by", "inserting", "a", "jump", "and", "add", "a", "new", "fix", "entry", "for", "it", "."], "TS_V_token": ["arm", "0"], "File": "arm3", "Func": "create_fix_barrier", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2362, "Length": 294, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "BPFInstrInfo", "::", "insertBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "TBB", ",", "MachineBasicBlock", "*", "FBB", ",", "ArrayRef", "<", "MachineOperand", ">", "Cond", ",", "const", "DebugLoc", "&", "DL", ",", "int", "*", "BytesAdded", ")", "const", "{", "assert", "(", "!", "BytesAdded", "&&", "\"code size not handled\"", ")", ";", "assert", "(", "TBB", "&&", "\"insertBranch must not be told to insert a fallthrough\"", ")", ";", "if", "(", "Cond", ".", "empty", "(", ")", ")", "{", "assert", "(", "!", "FBB", "&&", "\"Unconditional branch with multiple successors!\"", ")", ";", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "BPF", "::", "JMP", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "return", "1", ";", "}", "llvm_unreachable", "(", "\"Unexpected conditional branch\"", ")", ";", "}", ""], "natrual_language": ["Insert", "branch", "code", "into", "the", "end", "of", "the", "specified", "MachineBasicBlock", "."], "TS_V_token": ["BPF", "BPF", "\"code size not handled\"", "\"insertBranch must not be told to insert a fallthrough\"", "\"Unconditional branch with multiple successors!\"", "BPF::JMP", "1", "\"Unexpected conditional branch\""], "File": "BPFInstrInfo10", "Func": "insertBranch", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2363, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "if", "(", "EnableExpandCondsets", ")", "insertPass", "(", "&", "RegisterCoalescerID", ",", "&", "HexagonExpandCondsetsID", ")", ";", "if", "(", "!", "DisableStoreWidening", ")", "addPass", "(", "createHexagonStoreWidening", "(", ")", ")", ";", "if", "(", "!", "DisableHardwareLoops", ")", "addPass", "(", "createHexagonHardwareLoops", "(", ")", ")", ";", "}", "if", "(", "TM", "->", "getOptLevel", "(", ")", ">=", "CodeGenOpt", "::", "Default", ")", "addPass", "(", "&", "MachinePipelinerID", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon"], "File": "HexagonTargetMachine13", "Func": "addPreRegAlloc", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2364, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "TOYTargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "MF", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_TOY", ")", ";", "SDValue", "Flag", ";", "if", "(", "MF", ".", "getRegInfo", "(", ")", ".", "liveout_empty", "(", ")", ")", "{", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "if", "(", "RVLocs", "[", "i", "]", ".", "isRegLoc", "(", ")", ")", "MF", ".", "getRegInfo", "(", ")", ".", "addLiveOut", "(", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ")", ";", "}", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Can only return in registers!\"", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "OutVals", "[", "i", "]", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "}", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "return", "DAG", ".", "getNode", "(", "TOYISD", "::", "RET_FLAG", ",", "dl", ",", "MVT", "::", "Other", ",", "Chain", ",", "DAG", ".", "getRegister", "(", "TOY", "::", "LR", ",", "MVT", "::", "i32", ")", ",", "Flag", ")", ";", "return", "DAG", ".", "getNode", "(", "TOYISD", "::", "RET_FLAG", ",", "dl", ",", "MVT", "::", "Other", ",", "Chain", ",", "DAG", ".", "getRegister", "(", "TOY", "::", "LR", ",", "MVT", "::", "i32", ")", ")", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "outgoing", "return", "values", ",", "described", "by", "the", "Outs", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["TOY", "TOY", "ISD::OutputArg", "16", "TOY", "0", "0", "\"Can only return in registers!\"", "1", "TOYISD::RET_FLAG", "MVT::Other", "TOY::LR", "MVT::i32", "TOYISD::RET_FLAG", "MVT::Other", "TOY::LR", "MVT::i32"], "File": "TOYISelLowering", "Func": "LowerReturn", "Target": "TOY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2365, "Length": 303, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "TargetRegisterClass", "*", "getCFGStructurizerRegClass", "(", "MVT", "VT", ")", "const", "{", "assert", "(", "!", "\"Unimplemented\"", ")", ";", "return", "nullptr", ";", "}", ""], "natrual_language": ["get", "the", "register", "class", "of", "the", "specified", "type", "to", "use", "in", "the", "CFGStructurizer"], "TS_V_token": ["R600", "\"Unimplemented\""], "File": "AMDGPURegisterInfo", "Func": "getCFGStructurizerRegClass", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2366, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "tls_model", "tls_symbolic_operand_type", "(", "rtx", "addr", ")", "{", "enum", "tls_model", "tls_kind", "=", "0", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "CONST", ")", "{", "if", "(", "GET_CODE", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "addr", ",", "0", ")", ",", "0", ")", ")", "==", "SYMBOL_REF", ")", "tls_kind", "=", "SYMBOL_REF_TLS_MODEL", "(", "XEXP", "(", "XEXP", "(", "addr", ",", "0", ")", ",", "0", ")", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "addr", ")", "==", "SYMBOL_REF", ")", "tls_kind", "=", "SYMBOL_REF_TLS_MODEL", "(", "addr", ")", ";", "return", "tls_kind", ";", "}", ""], "natrual_language": ["Return", "the", "TLS", "model", "to", "use", "for", "SYMBOL", "."], "TS_V_token": ["ia64", "0", "0", "0", "0", "0", "0"], "File": "ia643", "Func": "tls_symbolic_operand_type", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2367, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int64_t", "ARMBaseRegisterInfo", "::", "getFrameIndexInstrOffset", "(", "const", "MachineInstr", "*", "MI", ",", "int", "Idx", ")", "const", "{", "const", "TargetInstrDesc", "&", "Desc", "=", "MI", "->", "getDesc", "(", ")", ";", "unsigned", "AddrMode", "=", "(", "Desc", ".", "TSFlags", "&", "ARMII", "::", "AddrModeMask", ")", ";", "int64_t", "InstrOffs", "=", "0", ";", ";", "int", "Scale", "=", "1", ";", "unsigned", "ImmIdx", "=", "0", ";", "switch", "(", "AddrMode", ")", "{", "case", "ARMII", "::", "AddrModeT2_i8", ":", "case", "ARMII", "::", "AddrModeT2_i12", ":", "InstrOffs", "=", "MI", "->", "getOperand", "(", "Idx", "+", "1", ")", ".", "getImm", "(", ")", ";", "Scale", "=", "1", ";", "break", ";", "case", "ARMII", "::", "AddrMode5", ":", "{", "const", "MachineOperand", "&", "OffOp", "=", "MI", "->", "getOperand", "(", "Idx", "+", "1", ")", ";", "InstrOffs", "=", "ARM_AM", "::", "getAM5Offset", "(", "OffOp", ".", "getImm", "(", ")", ")", ";", "if", "(", "ARM_AM", "::", "getAM5Op", "(", "OffOp", ".", "getImm", "(", ")", ")", "==", "ARM_AM", "::", "sub", ")", "InstrOffs", "=", "-", "InstrOffs", ";", "Scale", "=", "4", ";", "break", ";", "}", "case", "ARMII", "::", "AddrMode2", ":", "{", "ImmIdx", "=", "Idx", "+", "2", ";", "InstrOffs", "=", "ARM_AM", "::", "getAM2Offset", "(", "MI", "->", "getOperand", "(", "ImmIdx", ")", ".", "getImm", "(", ")", ")", ";", "if", "(", "ARM_AM", "::", "getAM2Op", "(", "MI", "->", "getOperand", "(", "ImmIdx", ")", ".", "getImm", "(", ")", ")", "==", "ARM_AM", "::", "sub", ")", "InstrOffs", "=", "-", "InstrOffs", ";", "break", ";", "}", "case", "ARMII", "::", "AddrMode3", ":", "{", "ImmIdx", "=", "Idx", "+", "2", ";", "InstrOffs", "=", "ARM_AM", "::", "getAM3Offset", "(", "MI", "->", "getOperand", "(", "ImmIdx", ")", ".", "getImm", "(", ")", ")", ";", "if", "(", "ARM_AM", "::", "getAM3Op", "(", "MI", "->", "getOperand", "(", "ImmIdx", ")", ".", "getImm", "(", ")", ")", "==", "ARM_AM", "::", "sub", ")", "InstrOffs", "=", "-", "InstrOffs", ";", "break", ";", "}", "case", "ARMII", "::", "AddrModeT1_s", ":", "{", "ImmIdx", "=", "Idx", "+", "1", ";", "InstrOffs", "=", "MI", "->", "getOperand", "(", "ImmIdx", ")", ".", "getImm", "(", ")", ";", "Scale", "=", "4", ";", "break", ";", "}", "default", ":", "llvm_unreachable", "(", "\"Unsupported addressing mode!\"", ")", ";", "break", ";", "}", "return", "InstrOffs", "*", "Scale", ";", "}", ""], "natrual_language": ["Get", "the", "offset", "from", "the", "referenced", "frame", "index", "in", "the", "instruction", ",", "if", "there", "is", "one", "."], "TS_V_token": ["ARM", "ARM", "ARMII::AddrModeMask", "0", "1", "0", "ARMII::AddrModeT2_i8", "ARMII::AddrModeT2_i12", "1", "1", "ARMII::AddrMode5", "1", "ARM_AM::getAM5Offset", "ARM_AM::getAM5Op", "ARM_AM::sub", "4", "ARMII::AddrMode2", "2", "ARM_AM::getAM2Offset", "ARM_AM::getAM2Op", "ARM_AM::sub", "ARMII::AddrMode3", "2", "ARM_AM::getAM3Offset", "ARM_AM::getAM3Op", "ARM_AM::sub", "ARMII::AddrModeT1_s", "1", "4", "\"Unsupported addressing mode!\""], "File": "ARMBaseRegisterInfo29", "Func": "getFrameIndexInstrOffset", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2368, "Length": 321, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SPURegisterInfo", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "MBB", ".", "erase", "(", "I", ")", ";", "}", ""], "natrual_language": ["This", "method", "is", "called", "during", "prolog/epilog", "code", "insertion", "to", "eliminate", "call", "frame", "setup", "and", "destroy", "pseudo", "instructions", "(", "but", "only", "if", "the", "Target", "is", "using", "them", ")", "."], "TS_V_token": ["CellSPU", "SPU"], "File": "SPURegisterInfo1", "Func": "eliminateCallFramePseudoInstr", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2369, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "GCNPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createSIMemoryLegalizerPass", "(", ")", ")", ";", "addPass", "(", "createSIInsertWaitcntsPass", "(", ")", ")", ";", "addPass", "(", "createSIModeRegisterPass", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", ">", "CodeGenOpt", "::", "None", ")", "addPass", "(", "&", "SIInsertHardClausesID", ")", ";", "addPass", "(", "&", "SILateBranchLoweringPassID", ")", ";", "if", "(", "isPassEnabled", "(", "EnableSetWavePriority", ",", "CodeGenOpt", "::", "Less", ")", ")", "addPass", "(", "createAMDGPUSetWavePriorityPass", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", ">", "CodeGenOpt", "::", "None", ")", "addPass", "(", "&", "SIPreEmitPeepholeID", ")", ";", "addPass", "(", "&", "PostRAHazardRecognizerID", ")", ";", "addPass", "(", "&", "BranchRelaxationPassID", ")", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "SI", "SI", "AMDGPU", "SI"], "File": "AMDGPUTargetMachine45", "Func": "addPreEmitPass", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2370, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_option_restore", "(", "struct", "gcc_options", "*", ",", "struct", "gcc_options", "*", ",", "struct", "cl_target_option", "*", "ptr", ")", "{", "arm_configure_build_target", "(", "&", "arm_active_target", ",", "ptr", ",", "false", ")", ";", "arm_option_reconfigure_globals", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_OPTION_RESTORE", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_option_restore", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2371, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_expand_divmod_libfunc", "(", "rtx", "libfunc", ",", "machine_mode", "mode", ",", "rtx", "op0", ",", "rtx", "op1", ",", "rtx", "*", "quot_p", ",", "rtx", "*", "rem_p", ")", "{", "if", "(", "mode", "==", "SImode", ")", "gcc_assert", "(", "!", "TARGET_IDIV", ")", ";", "scalar_int_mode", "libval_mode", "=", "smallest_int_mode_for_size", "(", "2", "*", "GET_MODE_BITSIZE", "(", "mode", ")", ")", ";", "rtx", "libval", "=", "emit_library_call_value", "(", "libfunc", ",", "NULL_RTX", ",", "LCT_CONST", ",", "libval_mode", ",", "op0", ",", "mode", ",", "op1", ",", "mode", ")", ";", "rtx", "quotient", "=", "simplify_gen_subreg", "(", "mode", ",", "libval", ",", "libval_mode", ",", "0", ")", ";", "rtx", "remainder", "=", "simplify_gen_subreg", "(", "mode", ",", "libval", ",", "libval_mode", ",", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "gcc_assert", "(", "quotient", ")", ";", "gcc_assert", "(", "remainder", ")", ";", "*", "quot_p", "=", "quotient", ";", "*", "rem_p", "=", "remainder", ";", "}", ""], "natrual_language": ["Generate", "call", "to", "__aeabi_", "[", "mode", "]", "divmod", "(", "op0", ",", "op1", ")", "."], "TS_V_token": ["arm", "2", "0"], "File": "arm", "Func": "arm_expand_divmod_libfunc", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2372, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "XCoreTargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_XCore", ")", ";", "SDValue", "Flag", ";", "SmallVector", "<", "SDValue", ",", "4", ">", "RetOps", "(", "1", ",", "Chain", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getConstant", "(", "0", ",", "MVT", "::", "i32", ")", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Can only return in registers!\"", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "OutVals", "[", "i", "]", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "VA", ".", "getLocReg", "(", ")", ",", "VA", ".", "getLocVT", "(", ")", ")", ")", ";", "}", "RetOps", "[", "0", "]", "=", "Chain", ";", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "RetOps", ".", "push_back", "(", "Flag", ")", ";", "return", "DAG", ".", "getNode", "(", "XCoreISD", "::", "RETSP", ",", "dl", ",", "MVT", "::", "Other", ",", "&", "RetOps", "[", "0", "]", ",", "RetOps", ".", "size", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "outgoing", "return", "values", ",", "described", "by", "the", "Outs", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["XCore", "XCore", "ISD::OutputArg", "16", "XCore", "4", "1", "0", "MVT::i32", "0", "\"Can only return in registers!\"", "1", "0", "XCoreISD::RETSP", "MVT::Other", "0"], "File": "XCoreISelLowering", "Func": "LowerReturn", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2373, "Length": 265, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CSKYAsmBackend", "::", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsResolved", ",", "const", "MCSubtargetInfo", "*", "STI", ")", "const", "{", "MCFixupKind", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "if", "(", "Kind", ">=", "FirstLiteralRelocationKind", ")", "return", ";", "MCContext", "&", "Ctx", "=", "Asm", ".", "getContext", "(", ")", ";", "MCFixupKindInfo", "Info", "=", "getFixupKindInfo", "(", "Kind", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "Value", "<<=", "Info", ".", "TargetOffset", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "alignTo", "(", "Info", ".", "TargetSize", "+", "Info", ".", "TargetOffset", ",", "8", ")", "/", "8", ";", "assert", "(", "Offset", "+", "NumBytes", "<=", "Data", ".", "size", "(", ")", "&&", "\"Invalid fixup offset!\"", ")", ";", "bool", "IsLittleEndian", "=", "(", "Endian", "==", "support", "::", "little", ")", ";", "if", "(", "IsLittleEndian", "&&", "(", "NumBytes", "==", "4", ")", ")", "{", "Data", "[", "Offset", "+", "0", "]", "|=", "uint8_t", "(", "(", "Value", ">>", "16", ")", "&", "0xff", ")", ";", "Data", "[", "Offset", "+", "1", "]", "|=", "uint8_t", "(", "(", "Value", ">>", "24", ")", "&", "0xff", ")", ";", "Data", "[", "Offset", "+", "2", "]", "|=", "uint8_t", "(", "Value", "&", "0xff", ")", ";", "Data", "[", "Offset", "+", "3", "]", "|=", "uint8_t", "(", "(", "Value", ">>", "8", ")", "&", "0xff", ")", ";", "}", "else", "{", "for", "(", "unsigned", "I", "=", "0", ";", "I", "!=", "NumBytes", ";", "I", "++", ")", "{", "unsigned", "Idx", "=", "IsLittleEndian", "?", "I", ":", "(", "NumBytes", "-", "1", "-", "I", ")", ";", "Data", "[", "Offset", "+", "Idx", "]", "|=", "uint8_t", "(", "(", "Value", ">>", "(", "I", "*", "8", ")", ")", "&", "0xff", ")", ";", "}", "}", "}", ""], "natrual_language": ["Apply", "the", "Value", "for", "given", "Fixup", "into", "the", "provided", "data", "fragment", ",", "at", "the", "offset", "specified", "by", "the", "fixup", "and", "following", "the", "fixup", "kind", "as", "appropriate", "."], "TS_V_token": ["CSKY", "CSKY", "8", "8", "\"Invalid fixup offset!\"", "support::little", "4", "0", "16", "0xff", "1", "24", "0xff", "2", "0xff", "3", "8", "0xff", "0", "1", "8", "0xff"], "File": "CSKYAsmBackend1", "Func": "applyFixup", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2374, "Length": 288, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "WebAssemblyAsmPrinter", "::", "emitConstantPool", "(", ")", "{", "assert", "(", "MF", "->", "getConstantPool", "(", ")", "->", "getConstants", "(", ")", ".", "empty", "(", ")", "&&", "\"WebAssembly disables constant pools\"", ")", ";", "}", ""], "natrual_language": ["Print", "to", "the", "current", "output", "stream", "assembly", "representations", "of", "the", "constants", "in", "the", "constant", "pool", "MCP", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"WebAssembly disables constant pools\""], "File": "WebAssemblyAsmPrinter (2)1", "Func": "emitConstantPool", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2375, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "push", "(", "int", "rn", ")", "{", "rtx", "x", ";", "if", "(", "rn", "==", "FPUL_REG", ")", "x", "=", "gen_push_fpul", "(", ")", ";", "else", "if", "(", "rn", "==", "FPSCR_REG", ")", "x", "=", "gen_push_fpscr", "(", ")", ";", "else", "if", "(", "(", "TARGET_SH4", "||", "TARGET_SH2A_DOUBLE", ")", "&&", "TARGET_FMOVD", "&&", "!", "TARGET_FPU_SINGLE", "&&", "FP_OR_XD_REGISTER_P", "(", "rn", ")", ")", "{", "if", "(", "FP_REGISTER_P", "(", "rn", ")", "&&", "(", "rn", "-", "FIRST_FP_REG", ")", "&", "1", ")", "return", "NULL_RTX", ";", "x", "=", "gen_push_4", "(", "gen_rtx_REG", "(", "DFmode", ",", "rn", ")", ")", ";", "}", "else", "if", "(", "TARGET_SH2E", "&&", "FP_REGISTER_P", "(", "rn", ")", ")", "x", "=", "gen_push_e", "(", "gen_rtx_REG", "(", "SFmode", ",", "rn", ")", ")", ";", "else", "x", "=", "gen_push", "(", "gen_rtx_REG", "(", "SImode", ",", "rn", ")", ")", ";", "x", "=", "frame_insn", "(", "x", ")", ";", "REG_NOTES", "(", "x", ")", "=", "gen_rtx_EXPR_LIST", "(", "REG_INC", ",", "gen_rtx_REG", "(", "SImode", ",", "STACK_POINTER_REGNUM", ")", ",", "0", ")", ";", "return", "x", ";", "}", ""], "natrual_language": ["Output", "RTL", "to", "push", "register", "RN", "onto", "the", "stack", "."], "TS_V_token": ["sh", "1", "0"], "File": "sh3", "Func": "push", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2376, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "if", "(", "AFI", "->", "getGlobalBaseReg", "(", ")", "==", "0", ")", "return", "false", ";", "const", "ARMTargetMachine", "*", "TM", "=", "static_cast", "<", "const", "ARMTargetMachine", "*", ">", "(", "&", "MF", ".", "getTarget", "(", ")", ")", ";", "if", "(", "TM", "->", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "PIC_", ")", "return", "false", ";", "LLVMContext", "*", "Context", "=", "&", "MF", ".", "getFunction", "(", ")", "->", "getContext", "(", ")", ";", "GlobalValue", "*", "GV", "=", "new", "GlobalVariable", "(", "Type", "::", "getInt32Ty", "(", "*", "Context", ")", ",", "false", ",", "GlobalValue", "::", "ExternalLinkage", ",", "0", ",", "\"_GLOBAL_OFFSET_TABLE_\"", ")", ";", "unsigned", "Id", "=", "AFI", "->", "createPICLabelUId", "(", ")", ";", "ARMConstantPoolValue", "*", "CPV", "=", "ARMConstantPoolConstant", "::", "Create", "(", "GV", ",", "Id", ")", ";", "unsigned", "Align", "=", "TM", "->", "getTargetData", "(", ")", "->", "getPrefTypeAlignment", "(", "GV", "->", "getType", "(", ")", ")", ";", "unsigned", "Idx", "=", "MF", ".", "getConstantPool", "(", ")", "->", "getConstantPoolIndex", "(", "CPV", ",", "Align", ")", ";", "MachineBasicBlock", "&", "FirstMBB", "=", "MF", ".", "front", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "FirstMBB", ".", "begin", "(", ")", ";", "DebugLoc", "DL", "=", "FirstMBB", ".", "findDebugLoc", "(", "MBBI", ")", ";", "unsigned", "GlobalBaseReg", "=", "AFI", "->", "getGlobalBaseReg", "(", ")", ";", "unsigned", "Opc", "=", "TM", "->", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "isThumb2", "(", ")", "?", "ARM", "::", "t2LDRpci", ":", "ARM", "::", "LDRcp", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "TM", "->", "getInstrInfo", "(", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "GlobalBaseReg", ")", ".", "addConstantPoolIndex", "(", "Idx", ")", ";", "if", "(", "Opc", "==", "ARM", "::", "LDRcp", ")", "MIB", ".", "addImm", "(", "0", ")", ";", "AddDefaultPred", "(", "MIB", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM", "0", "ARM", "ARM", "0", "\"_GLOBAL_OFFSET_TABLE_\"", "ARM", "ARM", "ARM", "ARM::t2LDRpci", "ARM::LDRcp", "ARM::LDRcp", "0"], "File": "ARMInstrInfo34", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2377, "Length": 293, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SITypeRewriter", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "!", "AMDGPU", "::", "isShader", "(", "F", ".", "getCallingConv", "(", ")", ")", ")", "return", "false", ";", "visit", "(", "F", ")", ";", "visit", "(", "F", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU::isShader"], "File": "SITypeRewriter2", "Func": "runOnFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2378, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ia64_expand_vecint_compare", "(", "enum", "rtx_code", "code", ",", "machine_mode", "mode", ",", "rtx", "dest", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "bool", "negate", "=", "false", ";", "rtx", "x", ";", "switch", "(", "code", ")", "{", "case", "EQ", ":", "case", "GT", ":", "case", "GTU", ":", "break", ";", "case", "NE", ":", "case", "LE", ":", "case", "LEU", ":", "code", "=", "reverse_condition", "(", "code", ")", ";", "negate", "=", "true", ";", "break", ";", "case", "GE", ":", "case", "GEU", ":", "code", "=", "reverse_condition", "(", "code", ")", ";", "negate", "=", "true", ";", "case", "LT", ":", "case", "LTU", ":", "code", "=", "swap_condition", "(", "code", ")", ";", "x", "=", "op0", ",", "op0", "=", "op1", ",", "op1", "=", "x", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "code", "==", "GTU", ")", "{", "switch", "(", "mode", ")", "{", "case", "V2SImode", ":", "{", "rtx", "t1", ",", "t2", ",", "mask", ";", "mask", "=", "GEN_INT", "(", "0x80000000", ")", ";", "mask", "=", "gen_rtx_CONST_VECTOR", "(", "V2SImode", ",", "gen_rtvec", "(", "2", ",", "mask", ",", "mask", ")", ")", ";", "mask", "=", "force_reg", "(", "mode", ",", "mask", ")", ";", "t1", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "gen_subv2si3", "(", "t1", ",", "op0", ",", "mask", ")", ")", ";", "t2", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "gen_subv2si3", "(", "t2", ",", "op1", ",", "mask", ")", ")", ";", "op0", "=", "t1", ";", "op1", "=", "t2", ";", "code", "=", "GT", ";", "}", "break", ";", "case", "V8QImode", ":", "case", "V4HImode", ":", "x", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "x", ",", "gen_rtx_US_MINUS", "(", "mode", ",", "op0", ",", "op1", ")", ")", ")", ";", "code", "=", "EQ", ";", "op0", "=", "x", ";", "op1", "=", "CONST0_RTX", "(", "mode", ")", ";", "negate", "=", "!", "negate", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "x", "=", "gen_rtx_fmt_ee", "(", "code", ",", "mode", ",", "op0", ",", "op1", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dest", ",", "x", ")", ")", ";", "return", "negate", ";", "}", ""], "natrual_language": ["Generate", "an", "integral", "vector", "comparison", ".", "Return", "true", "if", "the", "condition", "has", "been", "reversed", ",", "and", "so", "the", "sense", "of", "the", "comparison", "should", "be", "inverted", "."], "TS_V_token": ["ia64", "0x80000000", "2"], "File": "ia644", "Func": "ia64_expand_vecint_compare", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2379, "Length": 317, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "aarch64_can_use_per_function_literal_pools_p", "(", "void", ")", "{", "return", "(", "!", "aarch64_nopcrelative_literal_loads", "||", "aarch64_cmodel", "==", "AARCH64_CMODEL_LARGE", ")", ";", "}", ""], "natrual_language": ["Constant", "pools", "are", "per", "function", "only", "when", "PC", "relative", "literal", "loads", "are", "true", "or", "we", "are", "in", "the", "large", "memory", "model", "."], "TS_V_token": ["aarch64"], "File": "aarch643", "Func": "aarch64_can_use_per_function_literal_pools_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2380, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "XCoreAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "SmallString", "<", "128", ">", "Str", ";", "raw_svector_ostream", "O", "(", "Str", ")", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "XCore", "::", "DBG_VALUE", ":", "{", "if", "(", "isVerbose", "(", ")", "&&", "OutStreamer", ".", "hasRawTextSupport", "(", ")", ")", "{", "SmallString", "<", "128", ">", "TmpStr", ";", "raw_svector_ostream", "OS", "(", "TmpStr", ")", ";", "PrintDebugValueComment", "(", "MI", ",", "OS", ")", ";", "OutStreamer", ".", "EmitRawText", "(", "StringRef", "(", "OS", ".", "str", "(", ")", ")", ")", ";", "}", "return", ";", "}", "case", "XCore", "::", "ADD_2rus", ":", "if", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "==", "0", ")", "{", "O", "<<", "\"\\tmov \"", "<<", "XCoreInstPrinter", "::", "getRegisterName", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", "<<", "\", \"", "<<", "XCoreInstPrinter", "::", "getRegisterName", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ";", "OutStreamer", ".", "EmitRawText", "(", "O", ".", "str", "(", ")", ")", ";", "return", ";", "}", "break", ";", "case", "XCore", "::", "BR_JT", ":", "case", "XCore", "::", "BR_JT32", ":", "O", "<<", "\"\\tbru \"", "<<", "XCoreInstPrinter", "::", "getRegisterName", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", "<<", "'\\n'", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "XCore", "::", "BR_JT", ")", "printInlineJT", "(", "MI", ",", "0", ",", "O", ")", ";", "else", "printInlineJT32", "(", "MI", ",", "0", ",", "O", ")", ";", "O", "<<", "'\\n'", ";", "OutStreamer", ".", "EmitRawText", "(", "O", ".", "str", "(", ")", ")", ";", "return", ";", "}", "MCInst", "TmpInst", ";", "MCInstLowering", ".", "Lower", "(", "MI", ",", "TmpInst", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "TmpInst", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["XCore", "XCore", "128", "XCore::DBG_VALUE", "128", "XCore::ADD_2rus", "2", "0", "\"\\tmov \"", "XCore", "0", "\", \"", "XCore", "1", "XCore::BR_JT", "XCore::BR_JT32", "\"\\tbru \"", "XCore", "1", "XCore::BR_JT", "0", "0"], "File": "XCoreAsmPrinter22", "Func": "EmitInstruction", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2381, "Length": 264, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "save_restore_target_globals", "(", "tree", "new_tree", ")", "{", "if", "(", "TREE_TARGET_GLOBALS", "(", "new_tree", ")", ")", "restore_target_globals", "(", "TREE_TARGET_GLOBALS", "(", "new_tree", ")", ")", ";", "else", "if", "(", "new_tree", "==", "target_option_default_node", ")", "restore_target_globals", "(", "&", "default_target_globals", ")", ";", "else", "{", "TREE_TARGET_GLOBALS", "(", "new_tree", ")", "=", "save_target_globals_default_opts", "(", ")", ";", "}", "arm_option_params_internal", "(", ")", ";", "}", ""], "natrual_language": ["Restore", "or", "save", "the", "TREE_TARGET_GLOBALS", "from", "or", "to", "NEW_TREE", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "save_restore_target_globals", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2382, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIRegisterInfo", "::", "shouldCoalesce", "(", "MachineInstr", "*", "MI", ",", "const", "TargetRegisterClass", "*", "SrcRC", ",", "unsigned", "SubReg", ",", "const", "TargetRegisterClass", "*", "DstRC", ",", "unsigned", "DstSubReg", ",", "const", "TargetRegisterClass", "*", "NewRC", ",", "LiveIntervals", "&", "LIS", ")", "const", "{", "unsigned", "SrcSize", "=", "getRegSizeInBits", "(", "*", "SrcRC", ")", ";", "unsigned", "DstSize", "=", "getRegSizeInBits", "(", "*", "DstRC", ")", ";", "unsigned", "NewSize", "=", "getRegSizeInBits", "(", "*", "NewRC", ")", ";", "if", "(", "SrcSize", "<=", "32", "||", "DstSize", "<=", "32", ")", "return", "true", ";", "return", "NewSize", "<=", "DstSize", "||", "NewSize", "<=", "SrcSize", ";", "}", ""], "natrual_language": ["Subtarget", "Hooks", "."], "TS_V_token": ["AMDGPU", "SI", "32", "32"], "File": "SIRegisterInfo (3)", "Func": "shouldCoalesce", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2383, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "riscv_builtin_decl", "(", "unsigned", "int", "code", ",", "bool", "initialize_p", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "code", ">=", "ARRAY_SIZE", "(", "riscv_builtins", ")", ")", "return", "error_mark_node", ";", "return", "riscv_builtin_decls", "[", "code", "]", ";", "}", ""], "natrual_language": ["Implement", "TARGET_BUILTIN_DECL", "."], "TS_V_token": ["riscv"], "File": "riscv-builtins", "Func": "riscv_builtin_decl", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2384, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_mask_and_shift_for_ubfiz_p", "(", "scalar_int_mode", "mode", ",", "rtx", "mask", ",", "rtx", "shft_amnt", ")", "{", "return", "CONST_INT_P", "(", "mask", ")", "&&", "CONST_INT_P", "(", "shft_amnt", ")", "&&", "INTVAL", "(", "shft_amnt", ")", "<", "GET_MODE_BITSIZE", "(", "mode", ")", "&&", "exact_log2", "(", "(", "INTVAL", "(", "mask", ")", ">>", "INTVAL", "(", "shft_amnt", ")", ")", "+", "1", ")", ">=", "0", "&&", "(", "INTVAL", "(", "mask", ")", "&", "(", "(", "1", "<<", "INTVAL", "(", "shft_amnt", ")", ")", "-", "1", ")", ")", "==", "0", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "mask", "and", "a", "shift", "amount", "from", "an", "RTX", "of", "the", "form", "(", "x", "<", "<", "SHFT_AMNT", ")", "&", "MASK", "are", "valid", "to", "combine", "into", "a", "UBFIZ", "instruction", "of", "mode", "MODE", ".", "See", "the", "*", "andim_ashift", "<", "mode", ">", "_bfiz", "pattern", "."], "TS_V_token": ["aarch64", "1", "0", "1", "1", "0"], "File": "aarch645", "Func": "aarch64_mask_and_shift_for_ubfiz_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2385, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ARMTTIImpl", "::", "getIntImmCostInst", "(", "unsigned", "Opcode", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "if", "(", "(", "Opcode", "==", "Instruction", "::", "SDiv", "||", "Opcode", "==", "Instruction", "::", "UDiv", "||", "Opcode", "==", "Instruction", "::", "SRem", "||", "Opcode", "==", "Instruction", "::", "URem", ")", "&&", "Idx", "==", "1", ")", "return", "0", ";", "if", "(", "Opcode", "==", "Instruction", "::", "And", ")", "{", "if", "(", "Imm", "==", "255", "||", "Imm", "==", "65535", ")", "return", "0", ";", "return", "std", "::", "min", "(", "getIntImmCost", "(", "Imm", ",", "Ty", ",", "CostKind", ")", ",", "getIntImmCost", "(", "~", "Imm", ",", "Ty", ",", "CostKind", ")", ")", ";", "}", "if", "(", "Opcode", "==", "Instruction", "::", "Add", ")", "return", "std", "::", "min", "(", "getIntImmCost", "(", "Imm", ",", "Ty", ",", "CostKind", ")", ",", "getIntImmCost", "(", "-", "Imm", ",", "Ty", ",", "CostKind", ")", ")", ";", "if", "(", "Opcode", "==", "Instruction", "::", "ICmp", "&&", "Imm", ".", "isNegative", "(", ")", "&&", "Ty", "->", "getIntegerBitWidth", "(", ")", "==", "32", ")", "{", "int64_t", "NegImm", "=", "-", "Imm", ".", "getSExtValue", "(", ")", ";", "if", "(", "ST", "->", "isThumb2", "(", ")", "&&", "NegImm", "<", "1", "<<", "12", ")", "return", "0", ";", "if", "(", "ST", "->", "isThumb", "(", ")", "&&", "NegImm", "<", "1", "<<", "8", ")", "return", "0", ";", "}", "if", "(", "Opcode", "==", "Instruction", "::", "Xor", "&&", "Imm", ".", "isAllOnesValue", "(", ")", ")", "return", "0", ";", "return", "getIntImmCost", "(", "Imm", ",", "Ty", ",", "CostKind", ")", ";", "}", ""], "natrual_language": ["Return", "the", "expected", "cost", "of", "materialization", "for", "the", "given", "integer", "immediate", "of", "the", "specified", "type", "for", "a", "given", "instruction", "."], "TS_V_token": ["ARM", "ARM", "1", "0", "255", "65535", "0", "32", "1", "12", "0", "1", "8", "0", "0"], "File": "ARMTargetTransformInfo1", "Func": "getIntImmCostInst", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2386, "Length": 238, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mark_swaps_for_removal", "(", "swap_web_entry", "*", "insn_entry", ",", "unsigned", "int", "i", ")", "{", "rtx", "insn", "=", "insn_entry", "[", "i", "]", ".", "insn", ";", "struct", "df_insn_info", "*", "insn_info", "=", "DF_INSN_INFO_GET", "(", "insn", ")", ";", "if", "(", "insn_entry", "[", "i", "]", ".", "is_load", ")", "{", "df_ref", "def", ";", "FOR_EACH_INSN_INFO_DEF", "(", "def", ",", "insn_info", ")", "{", "struct", "df_link", "*", "link", "=", "DF_REF_CHAIN", "(", "def", ")", ";", "while", "(", "link", ")", "{", "rtx", "use_insn", "=", "DF_REF_INSN", "(", "link", "->", "ref", ")", ";", "insn_entry", "[", "INSN_UID", "(", "use_insn", ")", "]", ".", "will_delete", "=", "1", ";", "link", "=", "link", "->", "next", ";", "}", "}", "}", "else", "if", "(", "insn_entry", "[", "i", "]", ".", "is_store", ")", "{", "df_ref", "use", ";", "FOR_EACH_INSN_INFO_USE", "(", "use", ",", "insn_info", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "DF_REF_REG", "(", "use", ")", ")", ";", "if", "(", "!", "ALTIVEC_OR_VSX_VECTOR_MODE", "(", "mode", ")", ")", "continue", ";", "struct", "df_link", "*", "link", "=", "DF_REF_CHAIN", "(", "use", ")", ";", "while", "(", "link", ")", "{", "rtx", "def_insn", "=", "DF_REF_INSN", "(", "link", "->", "ref", ")", ";", "insn_entry", "[", "INSN_UID", "(", "def_insn", ")", "]", ".", "will_delete", "=", "1", ";", "link", "=", "link", "->", "next", ";", "}", "}", "}", "}", ""], "natrual_language": ["Mark", "the", "xxswapdi", "instructions", "associated", "with", "permuting", "loads", "and", "stores", "for", "removal", ".", "Note", "that", "we", "only", "flag", "them", "for", "deletion", "here", ",", "as", "there", "is", "a", "possibility", "of", "a", "swap", "being", "reached", "from", "multiple", "loads", ",", "etc", "."], "TS_V_token": ["powerpcspe", "1", "1"], "File": "powerpcspe", "Func": "mark_swaps_for_removal", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2387, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "TriCoreRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "TriCore", "::", "PC", ")", ";", "Reserved", ".", "set", "(", "TriCore", "::", "PCXI", ")", ";", "Reserved", ".", "set", "(", "TriCore", "::", "A10", ")", ";", "Reserved", ".", "set", "(", "TriCore", "::", "A11", ")", ";", "Reserved", ".", "set", "(", "TriCore", "::", "PSW", ")", ";", "Reserved", ".", "set", "(", "TriCore", "::", "FCX", ")", ";", "return", "Reserved", ";", "}", ""], "natrual_language": ["getReservedRegs", "-", "Returns", "a", "bitset", "indexed", "by", "physical", "register", "number", "indicating", "if", "a", "register", "is", "a", "special", "register", "that", "has", "particular", "uses", "and", "should", "be", "considered", "unavailable", "at", "all", "times", ",", "e.g", "."], "TS_V_token": ["TriCore", "TriCore", "TriCore::PC", "TriCore::PCXI", "TriCore::A10", "TriCore::A11", "TriCore::PSW", "TriCore::FCX"], "File": "TriCoreRegisterInfo (2)", "Func": "getReservedRegs", "Target": "TriCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2388, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "addExpr", "(", "MCInst", "&", "Inst", ",", "const", "MCExpr", "*", "Expr", ")", "const", "{", "assert", "(", "Expr", "&&", "\"Expr shouldn't be null!\"", ")", ";", "int64_t", "Imm", "=", "0", ";", "bool", "IsConstant", "=", "false", ";", "if", "(", "auto", "*", "RE", "=", "dyn_cast", "<", "RISCVMCExpr", ">", "(", "Expr", ")", ")", "{", "IsConstant", "=", "RE", "->", "evaluateAsConstant", "(", "Imm", ")", ";", "}", "else", "if", "(", "auto", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Expr", ")", ")", "{", "IsConstant", "=", "true", ";", "Imm", "=", "CE", "->", "getValue", "(", ")", ";", "}", "if", "(", "IsConstant", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "Imm", ")", ")", ";", "else", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createExpr", "(", "Expr", ")", ")", ";", "}", ""], "natrual_language": ["Add", "a", "new", "MCExpr", "operand", "."], "TS_V_token": ["RISCV", "\"Expr shouldn't be null!\"", "0", "RISCV"], "File": "RISCVAsmParser11", "Func": "addExpr", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2389, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "TM", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "if", "(", "Subtarget", "->", "allowMixed16_32", "(", ")", ")", "const_cast", "<", "TargetLoweringObjectFile", "&", ">", "(", "getObjFileLowering", "(", ")", ")", ".", "Initialize", "(", "OutContext", ",", "TM", ")", ";", "MipsFI", "=", "MF", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", ";", "if", "(", "Subtarget", "->", "inMips16Mode", "(", ")", ")", "for", "(", "std", "::", "map", "<", "const", "char", "*", ",", "const", "llvm", "::", "Mips16HardFloatInfo", "::", "FuncSignature", "*", ">", "::", "const_iterator", "it", "=", "MipsFI", "->", "StubsNeeded", ".", "begin", "(", ")", ";", "it", "!=", "MipsFI", "->", "StubsNeeded", ".", "end", "(", ")", ";", "++", "it", ")", "{", "const", "char", "*", "Symbol", "=", "it", "->", "first", ";", "const", "llvm", "::", "Mips16HardFloatInfo", "::", "FuncSignature", "*", "Signature", "=", "it", "->", "second", ";", "if", "(", "StubsNeeded", ".", "find", "(", "Symbol", ")", "==", "StubsNeeded", ".", "end", "(", ")", ")", "StubsNeeded", "[", "Symbol", "]", "=", "Signature", ";", "}", "MCP", "=", "MF", ".", "getConstantPool", "(", ")", ";", "if", "(", "Subtarget", "->", "isTargetNaCl", "(", ")", ")", "NaClAlignIndirectJumpTargets", "(", "MF", ")", ";", "AsmPrinter", "::", "runOnMachineFunction", "(", "MF", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips16HardFloatInfo::FuncSignature", "Mips", "Mips", "Mips16HardFloatInfo::FuncSignature"], "File": "MipsAsmPrinter32", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2390, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sparc_function_arg", "(", "cumulative_args_t", "cum", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", ")", "{", "return", "sparc_function_arg_1", "(", "cum", ",", "mode", ",", "type", ",", "named", ",", "false", ")", ";", "}", ""], "natrual_language": ["Handle", "the", "TARGET_FUNCTION_ARG", "target", "hook", "."], "TS_V_token": ["sparc"], "File": "sparc4", "Func": "sparc_function_arg", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2391, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "CSKY", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["CSKY", "CSKY::NumTargetFixupKinds"], "File": "CSKYAsmBackend2", "Func": "getNumFixupKinds", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2392, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TGSIAsmPrinter", "::", "emitImplicitDef", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "return", ";", "}", ""], "natrual_language": ["Targets", "can", "override", "this", "to", "customize", "the", "output", "of", "IMPLICIT_DEF", "instructions", "in", "verbose", "mode", "."], "TS_V_token": ["TGSI", "TGSI"], "File": "TGSIAsmPrinter", "Func": "emitImplicitDef", "Target": "TGSI", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2393, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUTargetLowering", "::", "isFPImmLegal", "(", "const", "APFloat", "&", "Imm", ",", "EVT", "VT", ",", "bool", "ForCodeSize", ")", "const", "{", "EVT", "ScalarVT", "=", "VT", ".", "getScalarType", "(", ")", ";", "return", "(", "ScalarVT", "==", "MVT", "::", "f32", "||", "ScalarVT", "==", "MVT", "::", "f64", "||", "(", "ScalarVT", "==", "MVT", "::", "f16", "&&", "Subtarget", "->", "has16BitInsts", "(", ")", ")", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "can", "instruction", "select", "the", "specified", "FP", "immediate", "natively", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "MVT::f32", "MVT::f64", "MVT::f16"], "File": "AMDGPUISelLowering (2)1", "Func": "isFPImmLegal", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2394, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "NyuziInstrInfo", "::", "removeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "int", "*", "BytesRemoved", ")", "const", "{", "assert", "(", "!", "BytesRemoved", "&&", "\"code size not handled\"", ")", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "end", "(", ")", ";", "unsigned", "Count", "=", "0", ";", "while", "(", "I", "!=", "MBB", ".", "begin", "(", ")", ")", "{", "--", "I", ";", "if", "(", "I", "->", "isDebugValue", "(", ")", ")", "continue", ";", "if", "(", "!", "isUncondBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", "&&", "!", "isCondBranchOpcode", "(", "I", "->", "getOpcode", "(", ")", ")", ")", "break", ";", "I", "->", "eraseFromParent", "(", ")", ";", "I", "=", "MBB", ".", "end", "(", ")", ";", "++", "Count", ";", "}", "return", "Count", ";", "}", ""], "natrual_language": ["Remove", "the", "branching", "code", "at", "the", "end", "of", "the", "specific", "MBB", "."], "TS_V_token": ["Nyuzi", "Nyuzi", "\"code size not handled\"", "0"], "File": "NyuziInstrInfo", "Func": "removeBranch", "Target": "Nyuzi", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2395, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "XCoreTargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "unsigned", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "{", "switch", "(", "CallConv", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unsupported calling convention\"", ")", ";", "case", "CallingConv", "::", "C", ":", "case", "CallingConv", "::", "Fast", ":", "return", "LowerCCCArguments", "(", "Chain", ",", "CallConv", ",", "isVarArg", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ")", ";", "}", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "the", "Ins", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["XCore", "XCore", "ISD::InputArg", "\"Unsupported calling convention\""], "File": "XCoreISelLowering59", "Func": "LowerFormalArguments", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2396, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "char", "*", "aarch64_output_sve_cnt_immediate", "(", "const", "char", "*", "prefix", ",", "const", "char", "*", "operands", ",", "rtx", "x", ")", "{", "poly_int64", "value", "=", "rtx_to_poly_int64", "(", "x", ")", ";", "gcc_assert", "(", "aarch64_sve_cnt_immediate_p", "(", "value", ")", ")", ";", "return", "aarch64_output_sve_cnt_immediate", "(", "prefix", ",", "operands", ",", "value", ".", "coeffs", "[", "1", "]", ",", "0", ")", ";", "}", ""], "natrual_language": ["Return", "the", "asm", "string", "for", "an", "instruction", "with", "a", "CNT-like", "vector", "size", "operand", "(", "a", "vector", "pattern", "followed", "by", "a", "multiplier", "in", "the", "range", "[", "1", ",", "16", "]", ")", ".", "PREFIX", "is", "the", "mnemonic", "without", "the", "size", "suffix", "and", "OPERANDS", "is", "the", "first", "part", "of", "the", "operands", "template", "(", "the", "part", "that", "comes", "before", "the", "vector", "size", "itself", ")", ".", "X", "is", "the", "value", "of", "the", "vector", "size", "operand", ",", "as", "a", "polynomial", "integer", "rtx", "."], "TS_V_token": ["aarch64", "1", "0"], "File": "aarch645", "Func": "aarch64_output_sve_cnt_immediate", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2397, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "vms_asm_named_section", "(", "const", "char", "*", "name", ",", "unsigned", "int", "flags", ",", "tree", "decl", "ATTRIBUTE_UNUSED", ")", "{", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "fprintf", "(", "asm_out_file", ",", "\".section\\t%s\"", ",", "name", ")", ";", "if", "(", "flags", "&", "SECTION_VMS_OVERLAY", ")", "fprintf", "(", "asm_out_file", ",", "\",OVR\"", ")", ";", "if", "(", "flags", "&", "SECTION_VMS_GLOBAL", ")", "fprintf", "(", "asm_out_file", ",", "\",GBL\"", ")", ";", "if", "(", "flags", "&", "SECTION_VMS_INITIALIZE", ")", "fprintf", "(", "asm_out_file", ",", "\",NOMOD\"", ")", ";", "if", "(", "flags", "&", "SECTION_DEBUG", ")", "fprintf", "(", "asm_out_file", ",", "\",NOWRT\"", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "}", ""], "natrual_language": ["Switch", "to", "an", "arbitrary", "section", "NAME", "with", "attributes", "as", "specified", "by", "FLAGS", ".", "ALIGN", "specifies", "any", "known", "alignment", "requirements", "for", "the", "section", ";", "0", "if", "the", "default", "should", "be", "used", "."], "TS_V_token": ["alpha", "\".section\\t%s\"", "\",OVR\"", "\",GBL\"", "\",NOMOD\"", "\",NOWRT\""], "File": "alpha3", "Func": "vms_asm_named_section", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2398, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"Patmos Single-Path Scheduler (machine code)\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Patmos", "\"Patmos Single-Path Scheduler (machine code)\""], "File": "SPScheduler", "Func": "getPassName", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 2399, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCFrameLowering", "::", "determineFrameLayout", "(", "const", "MachineFunction", "&", "MF", ",", "bool", "UseEstimate", ",", "unsigned", "*", "NewMaxCallFrameSize", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "PPCFunctionInfo", "*", "FI", "=", "MF", ".", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", ";", "unsigned", "FrameSize", "=", "UseEstimate", "?", "MFI", ".", "estimateStackSize", "(", "MF", ")", ":", "MFI", ".", "getStackSize", "(", ")", ";", "unsigned", "TargetAlign", "=", "getStackAlignment", "(", ")", ";", "unsigned", "MaxAlign", "=", "MFI", ".", "getMaxAlignment", "(", ")", ";", "unsigned", "AlignMask", "=", "std", "::", "max", "(", "MaxAlign", ",", "TargetAlign", ")", "-", "1", ";", "const", "PPCRegisterInfo", "*", "RegInfo", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "LR", "=", "RegInfo", "->", "getRARegister", "(", ")", ";", "bool", "DisableRedZone", "=", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "Attribute", "::", "NoRedZone", ")", ";", "bool", "CanUseRedZone", "=", "!", "MFI", ".", "hasVarSizedObjects", "(", ")", "&&", "!", "MFI", ".", "adjustsStack", "(", ")", "&&", "!", "MustSaveLR", "(", "MF", ",", "LR", ")", "&&", "!", "FI", "->", "mustSaveTOC", "(", ")", "&&", "!", "RegInfo", "->", "hasBasePointer", "(", "MF", ")", ";", "bool", "FitsInRedZone", "=", "FrameSize", "<=", "Subtarget", ".", "getRedZoneSize", "(", ")", ";", "if", "(", "!", "DisableRedZone", "&&", "CanUseRedZone", "&&", "FitsInRedZone", ")", "{", "return", "0", ";", "}", "unsigned", "maxCallFrameSize", "=", "MFI", ".", "getMaxCallFrameSize", "(", ")", ";", "unsigned", "minCallFrameSize", "=", "getLinkageSize", "(", ")", ";", "maxCallFrameSize", "=", "std", "::", "max", "(", "maxCallFrameSize", ",", "minCallFrameSize", ")", ";", "if", "(", "MFI", ".", "hasVarSizedObjects", "(", ")", ")", "maxCallFrameSize", "=", "(", "maxCallFrameSize", "+", "AlignMask", ")", "&", "~", "AlignMask", ";", "if", "(", "NewMaxCallFrameSize", ")", "*", "NewMaxCallFrameSize", "=", "maxCallFrameSize", ";", "FrameSize", "+=", "maxCallFrameSize", ";", "FrameSize", "=", "(", "FrameSize", "+", "AlignMask", ")", "&", "~", "AlignMask", ";", "return", "FrameSize", ";", "}", ""], "natrual_language": ["Determine", "the", "frame", "layout", "but", "do", "not", "update", "the", "machine", "function", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "1", "PPC", "0"], "File": "PPCFrameLowering4", "Func": "determineFrameLayout", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2400, "Length": 267, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "WebAssemblyTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"unimplemented operation lowering\"", ")", ";", "return", "SDValue", "(", ")", ";", "case", "ISD", "::", "FrameIndex", ":", "return", "LowerFrameIndex", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ExternalSymbol", ":", "return", "LowerExternalSymbol", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "JumpTable", ":", "return", "LowerJumpTable", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BR_JT", ":", "return", "LowerBR_JT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"unimplemented operation lowering\"", "ISD::FrameIndex", "ISD::GlobalAddress", "ISD::ExternalSymbol", "ISD::JumpTable", "ISD::BR_JT", "ISD::VASTART"], "File": "WebAssemblyISelLowering (3)", "Func": "LowerOperation", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2401, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MSP430InstrInfo", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "DebugLoc", "DL", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MSP430MachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "MSP430MachineFunctionInfo", ">", "(", ")", ";", "MFI", "->", "setCalleeSavedFrameSize", "(", "CSI", ".", "size", "(", ")", "*", "2", ")", ";", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "0", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "1", "]", ".", "getReg", "(", ")", ";", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "MSP430", "::", "PUSH16r", ")", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["spillCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "spill", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "store", "instructions", "via", "storeRegToStackSlot", "(", ")", "."], "TS_V_token": ["MSP430", "MSP430", "MSP430", "MSP430", "2", "0", "1", "MSP430::PUSH16r"], "File": "MSP430InstrInfo13", "Func": "spillCalleeSavedRegisters", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2402, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TriCoreRegisterInfo", "::", "trackLivenessAfterRegAlloc", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "live-ins", "should", "be", "tracked", "after", "register", "allocation", "."], "TS_V_token": ["TriCore", "TriCore"], "File": "TriCoreRegisterInfo (2)", "Func": "trackLivenessAfterRegAlloc", "Target": "TriCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2403, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "Cpu0TargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "case", "Cpu0ISD", "::", "JmpLink", ":", "return", "\"Cpu0ISD::JmpLink\"", ";", "case", "Cpu0ISD", "::", "Hi", ":", "return", "\"Cpu0ISD::Hi\"", ";", "case", "Cpu0ISD", "::", "Lo", ":", "return", "\"Cpu0ISD::Lo\"", ";", "case", "Cpu0ISD", "::", "GPRel", ":", "return", "\"Cpu0ISD::GPRel\"", ";", "case", "Cpu0ISD", "::", "Ret", ":", "return", "\"Cpu0ISD::Ret\"", ";", "case", "Cpu0ISD", "::", "DivRem", ":", "return", "\"Cpu0ISD::DivRem\"", ";", "case", "Cpu0ISD", "::", "DivRemU", ":", "return", "\"Cpu0ISD::DivRemU\"", ";", "case", "Cpu0ISD", "::", "Wrapper", ":", "return", "\"Cpu0ISD::Wrapper\"", ";", "default", ":", "return", "NULL", ";", "}", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0ISD::JmpLink", "\"Cpu0ISD::JmpLink\"", "Cpu0ISD::Hi", "\"Cpu0ISD::Hi\"", "Cpu0ISD::Lo", "\"Cpu0ISD::Lo\"", "Cpu0ISD::GPRel", "\"Cpu0ISD::GPRel\"", "Cpu0ISD::Ret", "\"Cpu0ISD::Ret\"", "Cpu0ISD::DivRem", "\"Cpu0ISD::DivRem\"", "Cpu0ISD::DivRemU", "\"Cpu0ISD::DivRemU\"", "Cpu0ISD::Wrapper", "\"Cpu0ISD::Wrapper\""], "File": "Cpu0ISelLowering2", "Func": "getTargetNodeName", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2404, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "HexagonRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "Hexagon", "::", "R29", ")", ";", "Reserved", ".", "set", "(", "Hexagon", "::", "R30", ")", ";", "Reserved", ".", "set", "(", "Hexagon", "::", "R31", ")", ";", "Reserved", ".", "set", "(", "Hexagon", "::", "SA0", ")", ";", "Reserved", ".", "set", "(", "Hexagon", "::", "LC0", ")", ";", "Reserved", ".", "set", "(", "Hexagon", "::", "SA1", ")", ";", "Reserved", ".", "set", "(", "Hexagon", "::", "LC1", ")", ";", "Reserved", ".", "set", "(", "Hexagon", "::", "P3_0", ")", ";", "Reserved", ".", "set", "(", "Hexagon", "::", "USR", ")", ";", "Reserved", ".", "set", "(", "Hexagon", "::", "PC", ")", ";", "Reserved", ".", "set", "(", "Hexagon", "::", "UGP", ")", ";", "Reserved", ".", "set", "(", "Hexagon", "::", "GP", ")", ";", "Reserved", ".", "set", "(", "Hexagon", "::", "CS0", ")", ";", "Reserved", ".", "set", "(", "Hexagon", "::", "CS1", ")", ";", "Reserved", ".", "set", "(", "Hexagon", "::", "UPCL", ")", ";", "Reserved", ".", "set", "(", "Hexagon", "::", "UPCH", ")", ";", "Reserved", ".", "set", "(", "Hexagon", "::", "FRAMELIMIT", ")", ";", "Reserved", ".", "set", "(", "Hexagon", "::", "FRAMEKEY", ")", ";", "Reserved", ".", "set", "(", "Hexagon", "::", "PKTCOUNTLO", ")", ";", "Reserved", ".", "set", "(", "Hexagon", "::", "PKTCOUNTHI", ")", ";", "Reserved", ".", "set", "(", "Hexagon", "::", "UTIMERLO", ")", ";", "Reserved", ".", "set", "(", "Hexagon", "::", "UTIMERHI", ")", ";", "Reserved", ".", "set", "(", "Hexagon", "::", "C8", ")", ";", "Reserved", ".", "set", "(", "Hexagon", "::", "USR_OVF", ")", ";", "for", "(", "int", "x", "=", "Reserved", ".", "find_first", "(", ")", ";", "x", ">=", "0", ";", "x", "=", "Reserved", ".", "find_next", "(", "x", ")", ")", "markSuperRegs", "(", "Reserved", ",", "x", ")", ";", "return", "Reserved", ";", "}", ""], "natrual_language": ["getReservedRegs", "-", "Returns", "a", "bitset", "indexed", "by", "physical", "register", "number", "indicating", "if", "a", "register", "is", "a", "special", "register", "that", "has", "particular", "uses", "and", "should", "be", "considered", "unavailable", "at", "all", "times", ",", "e.g", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon::R29", "Hexagon::R30", "Hexagon::R31", "Hexagon::SA0", "Hexagon::LC0", "Hexagon::SA1", "Hexagon::LC1", "Hexagon::P3_0", "Hexagon::USR", "Hexagon::PC", "Hexagon::UGP", "Hexagon::GP", "Hexagon::CS0", "Hexagon::CS1", "Hexagon::UPCL", "Hexagon::UPCH", "Hexagon::FRAMELIMIT", "Hexagon::FRAMEKEY", "Hexagon::PKTCOUNTLO", "Hexagon::PKTCOUNTHI", "Hexagon::UTIMERLO", "Hexagon::UTIMERHI", "Hexagon::C8", "Hexagon::USR_OVF", "0"], "File": "HexagonRegisterInfo59", "Func": "getReservedRegs", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2405, "Length": 271, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "expand_a_shift", "(", "enum", "machine_mode", "mode", ",", "int", "code", ",", "rtx", "operands", "[", "]", ")", "{", "switch", "(", "h8sx_classify_shift", "(", "mode", ",", "code", ",", "operands", "[", "2", "]", ")", ")", "{", "case", "H8SX_SHIFT_BINARY", ":", "operands", "[", "1", "]", "=", "force_reg", "(", "mode", ",", "operands", "[", "1", "]", ")", ";", "return", "false", ";", "case", "H8SX_SHIFT_UNARY", ":", "return", "false", ";", "case", "H8SX_SHIFT_NONE", ":", "break", ";", "}", "emit_move_insn", "(", "operands", "[", "0", "]", ",", "operands", "[", "1", "]", ")", ";", "emit_insn", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "gen_rtx_SET", "(", "VOIDmode", ",", "operands", "[", "0", "]", ",", "gen_rtx_fmt_ee", "(", "code", ",", "mode", ",", "operands", "[", "0", "]", ",", "operands", "[", "2", "]", ")", ")", ",", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "gen_rtx_SCRATCH", "(", "QImode", ")", ")", ")", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Called", "from", "the", ".md", "file", "to", "emit", "code", "to", "do", "shifts", ".", "Returns", "a", "boolean", "indicating", "success", "(", "currently", "this", "is", "always", "TRUE", ")", "."], "TS_V_token": ["h8300", "2", "1", "1", "0", "1", "2", "0", "0", "2"], "File": "h83003", "Func": "expand_a_shift", "Target": "h8300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2406, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsSEFrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "ArrayRef", "<", "CalleeSavedInfo", ">", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "bool", "IsRAAndRetAddrIsTaken", "=", "(", "Reg", "==", "Mips", "::", "RA", "||", "Reg", "==", "Mips", "::", "RA_64", ")", "&&", "MF", "->", "getFrameInfo", "(", ")", ".", "isReturnAddressTaken", "(", ")", ";", "if", "(", "!", "IsRAAndRetAddrIsTaken", ")", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "bool", "IsLOHI", "=", "(", "Reg", "==", "Mips", "::", "LO0", "||", "Reg", "==", "Mips", "::", "LO0_64", "||", "Reg", "==", "Mips", "::", "HI0", "||", "Reg", "==", "Mips", "::", "HI0_64", ")", ";", "const", "Function", "&", "Func", "=", "MBB", ".", "getParent", "(", ")", "->", "getFunction", "(", ")", ";", "if", "(", "IsLOHI", "&&", "Func", ".", "hasFnAttribute", "(", "\"interrupt\"", ")", ")", "{", "DebugLoc", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "unsigned", "Op", "=", "0", ";", "if", "(", "!", "STI", ".", "getABI", "(", ")", ".", "ArePtrs64bit", "(", ")", ")", "{", "Op", "=", "(", "Reg", "==", "Mips", "::", "HI0", ")", "?", "Mips", "::", "MFHI", ":", "Mips", "::", "MFLO", ";", "Reg", "=", "Mips", "::", "K0", ";", "}", "else", "{", "Op", "=", "(", "Reg", "==", "Mips", "::", "HI0", ")", "?", "Mips", "::", "MFHI64", ":", "Mips", "::", "MFLO64", ";", "Reg", "=", "Mips", "::", "K0_64", ";", "}", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "Op", ")", ",", "Mips", "::", "K0", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "bool", "IsKill", "=", "!", "IsRAAndRetAddrIsTaken", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "TII", ".", "storeRegToStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "IsKill", ",", "CSI", "[", "i", "]", ".", "getFrameIdx", "(", ")", ",", "RC", ",", "TRI", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["spillCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "spill", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "store", "instructions", "via", "storeRegToStackSlot", "(", ")", "."], "TS_V_token": ["Mips", "Mips", "0", "Mips::RA", "Mips::RA_64", "Mips::LO0", "Mips::LO0_64", "Mips::HI0", "Mips::HI0_64", "\"interrupt\"", "0", "Mips::HI0", "Mips::MFHI", "Mips::MFLO", "Mips::K0", "Mips::HI0", "Mips::MFHI64", "Mips::MFLO64", "Mips::K0_64", "Mips::K0"], "File": "MipsSEFrameLowering11", "Func": "spillCalleeSavedRegisters", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2407, "Length": 336, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "XCoreAsmPrinter", "::", "emitFunctionEntryLabel", "(", ")", "{", "getTargetStreamer", "(", ")", ".", "emitCCTopFunction", "(", "CurrentFnSym", "->", "getName", "(", ")", ")", ";", "OutStreamer", "->", "emitLabel", "(", "CurrentFnSym", ")", ";", "}", ""], "natrual_language": ["EmitFunctionEntryLabel", "-", "Emit", "the", "label", "that", "is", "the", "entrypoint", "for", "the", "function", "."], "TS_V_token": ["XCore", "XCore"], "File": "XCoreAsmPrinter10", "Func": "emitFunctionEntryLabel", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2408, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "getTgtMemIntrinsic", "(", "IntrinsicInfo", "&", "Info", ",", "const", "CallInst", "&", "I", ",", "MachineFunction", "&", "MF", ",", "unsigned", "Intrinsic", ")", "const", "{", "switch", "(", "Intrinsic", ")", "{", "default", ":", "return", "false", ";", "case", "Intrinsic", "::", "riscv_masked_atomicrmw_xchg_i32", ":", "case", "Intrinsic", "::", "riscv_masked_atomicrmw_add_i32", ":", "case", "Intrinsic", "::", "riscv_masked_atomicrmw_sub_i32", ":", "case", "Intrinsic", "::", "riscv_masked_atomicrmw_nand_i32", ":", "case", "Intrinsic", "::", "riscv_masked_atomicrmw_max_i32", ":", "case", "Intrinsic", "::", "riscv_masked_atomicrmw_min_i32", ":", "case", "Intrinsic", "::", "riscv_masked_atomicrmw_umax_i32", ":", "case", "Intrinsic", "::", "riscv_masked_atomicrmw_umin_i32", ":", "case", "Intrinsic", "::", "riscv_masked_cmpxchg_i32", ":", "{", "PointerType", "*", "PtrTy", "=", "cast", "<", "PointerType", ">", "(", "I", ".", "getArgOperand", "(", "0", ")", "->", "getType", "(", ")", ")", ";", "Info", ".", "opc", "=", "ISD", "::", "INTRINSIC_W_CHAIN", ";", "Info", ".", "memVT", "=", "MVT", "::", "getVT", "(", "PtrTy", "->", "getElementType", "(", ")", ")", ";", "Info", ".", "ptrVal", "=", "I", ".", "getArgOperand", "(", "0", ")", ";", "Info", ".", "offset", "=", "0", ";", "Info", ".", "align", "=", "Align", "(", "4", ")", ";", "Info", ".", "flags", "=", "MachineMemOperand", "::", "MOLoad", "|", "MachineMemOperand", "::", "MOStore", "|", "MachineMemOperand", "::", "MOVolatile", ";", "return", "true", ";", "}", "case", "Intrinsic", "::", "riscv_masked_strided_load", ":", "Info", ".", "opc", "=", "ISD", "::", "INTRINSIC_W_CHAIN", ";", "Info", ".", "ptrVal", "=", "I", ".", "getArgOperand", "(", "1", ")", ";", "Info", ".", "memVT", "=", "MVT", "::", "getVT", "(", "I", ".", "getType", "(", ")", "->", "getScalarType", "(", ")", ")", ";", "Info", ".", "align", "=", "Align", "(", "I", ".", "getType", "(", ")", "->", "getScalarSizeInBits", "(", ")", "/", "8", ")", ";", "Info", ".", "size", "=", "MemoryLocation", "::", "UnknownSize", ";", "Info", ".", "flags", "|=", "MachineMemOperand", "::", "MOLoad", ";", "return", "true", ";", "case", "Intrinsic", "::", "riscv_masked_strided_store", ":", "Info", ".", "opc", "=", "ISD", "::", "INTRINSIC_VOID", ";", "Info", ".", "ptrVal", "=", "I", ".", "getArgOperand", "(", "1", ")", ";", "Info", ".", "memVT", "=", "MVT", "::", "getVT", "(", "I", ".", "getArgOperand", "(", "0", ")", "->", "getType", "(", ")", "->", "getScalarType", "(", ")", ")", ";", "Info", ".", "align", "=", "Align", "(", "I", ".", "getArgOperand", "(", "0", ")", "->", "getType", "(", ")", "->", "getScalarSizeInBits", "(", ")", "/", "8", ")", ";", "Info", ".", "size", "=", "MemoryLocation", "::", "UnknownSize", ";", "Info", ".", "flags", "|=", "MachineMemOperand", "::", "MOStore", ";", "return", "true", ";", "}", "}", ""], "natrual_language": ["Given", "an", "intrinsic", ",", "checks", "if", "on", "the", "target", "the", "intrinsic", "will", "need", "to", "map", "to", "a", "MemIntrinsicNode", "(", "touches", "memory", ")", "."], "TS_V_token": ["RISCV", "RISCV", "Intrinsic::riscv_masked_atomicrmw_xchg_i32", "Intrinsic::riscv_masked_atomicrmw_add_i32", "Intrinsic::riscv_masked_atomicrmw_sub_i32", "Intrinsic::riscv_masked_atomicrmw_nand_i32", "Intrinsic::riscv_masked_atomicrmw_max_i32", "Intrinsic::riscv_masked_atomicrmw_min_i32", "Intrinsic::riscv_masked_atomicrmw_umax_i32", "Intrinsic::riscv_masked_atomicrmw_umin_i32", "Intrinsic::riscv_masked_cmpxchg_i32", "0", "ISD::INTRINSIC_W_CHAIN", "MVT::getVT", "0", "0", "4", "Intrinsic::riscv_masked_strided_load", "ISD::INTRINSIC_W_CHAIN", "1", "MVT::getVT", "8", "Intrinsic::riscv_masked_strided_store", "ISD::INTRINSIC_VOID", "1", "MVT::getVT", "0", "0", "8"], "File": "RISCVISelLowering60", "Func": "getTgtMemIntrinsic", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2409, "Length": 343, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LinearizedRegion", "::", "print", "(", "raw_ostream", "&", "OS", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "{", "OS", "<<", "\"Linearized Region {\"", ";", "bool", "IsFirst", "=", "true", ";", "for", "(", "const", "auto", "&", "MBB", ":", "MBBs", ")", "{", "if", "(", "IsFirst", ")", "{", "IsFirst", "=", "false", ";", "}", "else", "{", "OS", "<<", "\" ,\"", ";", "}", "OS", "<<", "MBB", "->", "getNumber", "(", ")", ";", "}", "OS", "<<", "\"} (\"", "<<", "Entry", "->", "getNumber", "(", ")", "<<", "\", \"", "<<", "(", "Exit", "==", "nullptr", "?", "-", "1", ":", "Exit", "->", "getNumber", "(", ")", ")", "<<", "\"): In:\"", "<<", "PrintReg", "(", "getBBSelectRegIn", "(", ")", ",", "TRI", ")", "<<", "\" Out:\"", "<<", "PrintReg", "(", "getBBSelectRegOut", "(", ")", ",", "TRI", ")", "<<", "\" {\"", ";", "for", "(", "auto", "&", "LI", ":", "LiveOuts", ")", "{", "OS", "<<", "PrintReg", "(", "LI", ",", "TRI", ")", "<<", "\" \"", ";", "}", "OS", "<<", "\"} \\n\"", ";", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["AMDGPU", "\"Linearized Region {\"", "\" ,\"", "\"} (\"", "\", \"", "1", "\"): In:\"", "\" Out:\"", "\" {\"", "\" \"", "\"} \\n\""], "File": "AMDGPUMachineCFGStructurizer15", "Func": "print", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2410, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "OR1KFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "OR1KInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "OR1KInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "const", "OR1KRegisterInfo", "*", "TRI", "=", "static_cast", "<", "const", "OR1KRegisterInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "bool", "IsPIC", "=", "MF", ".", "getTarget", "(", ")", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ";", "bool", "HasRA", "=", "MFI", "->", "adjustsStack", "(", ")", "||", "IsPIC", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "int", "FPOffset", "=", "HasRA", "?", "-", "8", ":", "-", "4", ";", "int", "RAOffset", "=", "-", "4", ";", "int", "BPOffset", "=", "FPOffset", "-", "4", ";", "int", "StackSize", "=", "(", "int", ")", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "OR1K", "::", "ADDI", ")", ",", "OR1K", "::", "R1", ")", ".", "addReg", "(", "OR1K", "::", "R2", ")", ".", "addImm", "(", "0", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "OR1K", "::", "LWZ", ")", ",", "OR1K", "::", "R2", ")", ".", "addReg", "(", "OR1K", "::", "R1", ")", ".", "addImm", "(", "FPOffset", ")", ";", "}", "else", "if", "(", "isInt", "<", "16", ">", "(", "StackSize", ")", ")", "{", "if", "(", "StackSize", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "OR1K", "::", "ADDI", ")", ",", "OR1K", "::", "R1", ")", ".", "addReg", "(", "OR1K", "::", "R1", ")", ".", "addImm", "(", "StackSize", ")", ";", "}", "}", "else", "{", "unsigned", "ScratchReg", "=", "OR1K", "::", "R13", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "OR1K", "::", "MOVHI", ")", ",", "ScratchReg", ")", ".", "addImm", "(", "(", "uint32_t", ")", "StackSize", ">>", "16", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "OR1K", "::", "ORI", ")", ",", "ScratchReg", ")", ".", "addReg", "(", "ScratchReg", ")", ".", "addImm", "(", "StackSize", "&", "0xffffU", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "OR1K", "::", "ADD", ")", ",", "OR1K", "::", "R1", ")", ".", "addReg", "(", "OR1K", "::", "R1", ")", ".", "addReg", "(", "ScratchReg", ")", ";", "}", "if", "(", "TRI", "->", "hasBasePointer", "(", "MF", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "OR1K", "::", "LWZ", ")", ",", "TRI", "->", "getBaseRegister", "(", ")", ")", ".", "addReg", "(", "OR1K", "::", "R1", ")", ".", "addImm", "(", "BPOffset", ")", ";", "}", "if", "(", "HasRA", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "OR1K", "::", "LWZ", ")", ",", "OR1K", "::", "R9", ")", ".", "addReg", "(", "OR1K", "::", "R1", ")", ".", "addImm", "(", "RAOffset", ")", ";", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["OR1K", "OR1K", "OR1K", "OR1K", "OR1K", "OR1K", "8", "4", "4", "4", "OR1K::ADDI", "OR1K::R1", "OR1K::R2", "0", "OR1K::LWZ", "OR1K::R2", "OR1K::R1", "16", "OR1K::ADDI", "OR1K::R1", "OR1K::R1", "OR1K::R13", "OR1K::MOVHI", "16", "OR1K::ORI", "0xffffU", "OR1K::ADD", "OR1K::R1", "OR1K::R1", "OR1K::LWZ", "OR1K::R1", "OR1K::LWZ", "OR1K::R9", "OR1K::R1"], "File": "OR1KFrameLowering", "Func": "emitEpilogue", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2411, "Length": 480, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "riscv_constant_alignment", "(", "const_tree", "exp", ",", "HOST_WIDE_INT", "align", ")", "{", "if", "(", "TREE_CODE", "(", "exp", ")", "==", "STRING_CST", "||", "TREE_CODE", "(", "exp", ")", "==", "CONSTRUCTOR", ")", "return", "MAX", "(", "align", ",", "BITS_PER_WORD", ")", ";", "return", "align", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CONSTANT_ALIGNMENT", "."], "TS_V_token": ["riscv"], "File": "riscv3", "Func": "riscv_constant_alignment", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2412, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sh_allocate_initial_value", "(", "rtx", "hard_reg", ")", "{", "rtx", "x", ";", "if", "(", "REGNO", "(", "hard_reg", ")", "==", "(", "TARGET_SHMEDIA", "?", "PR_MEDIA_REG", ":", "PR_REG", ")", ")", "{", "if", "(", "current_function_is_leaf", "&&", "!", "sh_pr_n_sets", "(", ")", "&&", "!", "(", "TARGET_SHCOMPACT", "&&", "(", "(", "current_function_args_info", ".", "call_cookie", "&", "~", "CALL_COOKIE_RET_TRAMP", "(", "1", ")", ")", "||", "current_function_has_nonlocal_label", ")", ")", ")", "x", "=", "hard_reg", ";", "else", "x", "=", "gen_frame_mem", "(", "Pmode", ",", "return_address_pointer_rtx", ")", ";", "}", "else", "x", "=", "NULL_RTX", ";", "return", "x", ";", "}", ""], "natrual_language": ["Return", "where", "to", "allocate", "pseudo", "for", "a", "given", "hard", "register", "initial", "value", "."], "TS_V_token": ["sh", "1"], "File": "sh3", "Func": "sh_allocate_initial_value", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2413, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SHUXIMCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MCInstrDesc", "&", "Desc", "=", "MCII", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "if", "(", "Desc", ".", "getSize", "(", ")", "!=", "4", ")", "{", "llvm_unreachable", "(", "\"Unexpected instruction size!\"", ")", ";", "}", "const", "uint32_t", "Binary", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "emitConstant", "(", "Binary", ",", "Desc", ".", "getSize", "(", ")", ",", "OS", ")", ";", "++", "MCNumEmitted", ";", "}", ""], "natrual_language": ["Encode", "the", "given", "Inst", "to", "bytes", "and", "append", "to", "CB", "."], "TS_V_token": ["SHUXI", "SHUXI", "4", "\"Unexpected instruction size!\""], "File": "SHUXIMCCodeEmitter", "Func": "encodeInstruction", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2414, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ix86_constant_alignment", "(", "tree", "exp", ",", "int", "align", ")", "{", "if", "(", "TREE_CODE", "(", "exp", ")", "==", "REAL_CST", ")", "{", "if", "(", "TYPE_MODE", "(", "TREE_TYPE", "(", "exp", ")", ")", "==", "DFmode", "&&", "align", "<", "64", ")", "return", "64", ";", "else", "if", "(", "ALIGN_MODE_128", "(", "TYPE_MODE", "(", "TREE_TYPE", "(", "exp", ")", ")", ")", "&&", "align", "<", "128", ")", "return", "128", ";", "}", "else", "if", "(", "!", "optimize_size", "&&", "TREE_CODE", "(", "exp", ")", "==", "STRING_CST", "&&", "TREE_STRING_LENGTH", "(", "exp", ")", ">=", "31", "&&", "align", "<", "BITS_PER_WORD", ")", "return", "BITS_PER_WORD", ";", "return", "align", ";", "}", ""], "natrual_language": ["Compute", "the", "alignment", "given", "to", "a", "constant", "that", "is", "being", "placed", "in", "memory", ".", "EXP", "is", "the", "constant", "and", "ALIGN", "is", "the", "alignment", "that", "the", "object", "would", "ordinarily", "have", ".", "The", "value", "of", "this", "function", "is", "used", "instead", "of", "that", "alignment", "to", "align", "the", "object", "."], "TS_V_token": ["i386", "64", "64", "128", "128", "31"], "File": "i3863", "Func": "ix86_constant_alignment", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2415, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_copy_addr_to_reg", "(", "rtx", "addr", ")", "{", "rtx", "reg", ";", "if", "(", "GET_MODE", "(", "addr", ")", "==", "Pmode", "||", "GET_MODE", "(", "addr", ")", "==", "VOIDmode", ")", "{", "reg", "=", "copy_addr_to_reg", "(", "addr", ")", ";", "REG_POINTER", "(", "reg", ")", "=", "1", ";", "return", "reg", ";", "}", "else", "{", "gcc_assert", "(", "GET_MODE", "(", "addr", ")", "==", "DImode", "&&", "Pmode", "==", "SImode", ")", ";", "reg", "=", "copy_to_mode_reg", "(", "DImode", ",", "addr", ")", ";", "REG_POINTER", "(", "reg", ")", "=", "1", ";", "return", "gen_rtx_SUBREG", "(", "SImode", ",", "reg", ",", "0", ")", ";", "}", "}", ""], "natrual_language": ["Copy", "the", "address", "to", "a", "Pmode", "register", ".", "This", "is", "used", "for", "x32", "to", "truncate", "DImode", "TLS", "address", "to", "a", "SImode", "register", "."], "TS_V_token": ["i386", "1", "1", "0"], "File": "i386-expand", "Func": "ix86_copy_addr_to_reg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2416, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsFastISel", "::", "fastSelectInstruction", "(", "const", "Instruction", "*", "I", ")", "{", "if", "(", "!", "TargetSupported", ")", "return", "false", ";", "switch", "(", "I", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Instruction", "::", "Load", ":", "return", "selectLoad", "(", "I", ")", ";", "case", "Instruction", "::", "Store", ":", "return", "selectStore", "(", "I", ")", ";", "case", "Instruction", "::", "Br", ":", "return", "selectBranch", "(", "I", ")", ";", "case", "Instruction", "::", "Ret", ":", "return", "selectRet", "(", "I", ")", ";", "case", "Instruction", "::", "Trunc", ":", "return", "selectTrunc", "(", "I", ")", ";", "case", "Instruction", "::", "ZExt", ":", "case", "Instruction", "::", "SExt", ":", "return", "selectIntExt", "(", "I", ")", ";", "case", "Instruction", "::", "FPTrunc", ":", "return", "selectFPTrunc", "(", "I", ")", ";", "case", "Instruction", "::", "FPExt", ":", "return", "selectFPExt", "(", "I", ")", ";", "case", "Instruction", "::", "FPToSI", ":", "return", "selectFPToInt", "(", "I", ",", "true", ")", ";", "case", "Instruction", "::", "FPToUI", ":", "return", "selectFPToInt", "(", "I", ",", "false", ")", ";", "case", "Instruction", "::", "ICmp", ":", "case", "Instruction", "::", "FCmp", ":", "return", "selectCmp", "(", "I", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["This", "method", "is", "called", "by", "target-independent", "code", "when", "the", "normal", "FastISel", "process", "fails", "to", "select", "an", "instruction", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsFastISel11", "Func": "fastSelectInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2417, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonPassConfig", "::", "addPostRegAlloc", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "if", "(", "EnableRDFOpt", ")", "addPass", "(", "createHexagonRDFOpt", "(", ")", ")", ";", "if", "(", "!", "DisableHexagonCFGOpt", ")", "addPass", "(", "createHexagonCFGOptimizer", "(", ")", ")", ";", "if", "(", "!", "DisableAModeOpt", ")", "addPass", "(", "createHexagonOptAddrMode", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "after", "register", "allocation", "pass", "pipeline", "but", "before", "prolog-epilog", "insertion", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon"], "File": "HexagonTargetMachine", "Func": "addPostRegAlloc", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2418, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTTIImpl", "::", "isLegalMaskedLoad", "(", "Type", "*", "DataTy", ",", "Align", "Alignment", ")", "{", "if", "(", "!", "EnableMaskedLoadStores", "||", "!", "ST", "->", "hasMVEIntegerOps", "(", ")", ")", "return", "false", ";", "if", "(", "auto", "*", "VecTy", "=", "dyn_cast", "<", "FixedVectorType", ">", "(", "DataTy", ")", ")", "{", "if", "(", "VecTy", "->", "getNumElements", "(", ")", "==", "2", ")", "return", "false", ";", "unsigned", "VecWidth", "=", "DataTy", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "VecWidth", "!=", "128", "&&", "VecTy", "->", "getElementType", "(", ")", "->", "isFloatingPointTy", "(", ")", ")", "return", "false", ";", "}", "unsigned", "EltWidth", "=", "DataTy", "->", "getScalarSizeInBits", "(", ")", ";", "return", "(", "EltWidth", "==", "32", "&&", "Alignment", ">=", "4", ")", "||", "(", "EltWidth", "==", "16", "&&", "Alignment", ">=", "2", ")", "||", "(", "EltWidth", "==", "8", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "load", "."], "TS_V_token": ["ARM", "ARM", "2", "128", "32", "4", "16", "2", "8"], "File": "ARMTargetTransformInfo14", "Func": "isLegalMaskedLoad", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2419, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64LegalizerInfo", "::", "legalizeCustom", "(", "LegalizerHelper", "&", "Helper", ",", "MachineInstr", "&", "MI", ")", "const", "{", "MachineIRBuilder", "&", "MIRBuilder", "=", "Helper", ".", "MIRBuilder", ";", "MachineRegisterInfo", "&", "MRI", "=", "*", "MIRBuilder", ".", "getMRI", "(", ")", ";", "GISelChangeObserver", "&", "Observer", "=", "Helper", ".", "Observer", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "TargetOpcode", "::", "G_VAARG", ":", "return", "legalizeVaArg", "(", "MI", ",", "MRI", ",", "MIRBuilder", ")", ";", "case", "TargetOpcode", "::", "G_LOAD", ":", "case", "TargetOpcode", "::", "G_STORE", ":", "return", "legalizeLoadStore", "(", "MI", ",", "MRI", ",", "MIRBuilder", ",", "Observer", ")", ";", "case", "TargetOpcode", "::", "G_SHL", ":", "case", "TargetOpcode", "::", "G_ASHR", ":", "case", "TargetOpcode", "::", "G_LSHR", ":", "return", "legalizeShlAshrLshr", "(", "MI", ",", "MRI", ",", "MIRBuilder", ",", "Observer", ")", ";", "case", "TargetOpcode", "::", "G_GLOBAL_VALUE", ":", "return", "legalizeSmallCMGlobalValue", "(", "MI", ",", "MRI", ",", "MIRBuilder", ",", "Observer", ")", ";", "case", "TargetOpcode", "::", "G_TRUNC", ":", "return", "legalizeVectorTrunc", "(", "MI", ",", "Helper", ")", ";", "case", "TargetOpcode", "::", "G_SBFX", ":", "case", "TargetOpcode", "::", "G_UBFX", ":", "return", "legalizeBitfieldExtract", "(", "MI", ",", "MRI", ",", "Helper", ")", ";", "case", "TargetOpcode", "::", "G_ROTR", ":", "return", "legalizeRotate", "(", "MI", ",", "MRI", ",", "Helper", ")", ";", "case", "TargetOpcode", "::", "G_CTPOP", ":", "return", "legalizeCTPOP", "(", "MI", ",", "MRI", ",", "Helper", ")", ";", "case", "TargetOpcode", "::", "G_ATOMIC_CMPXCHG", ":", "return", "legalizeAtomicCmpxchg128", "(", "MI", ",", "MRI", ",", "Helper", ")", ";", "}", "llvm_unreachable", "(", "\"expected switch to return\"", ")", ";", "}", ""], "natrual_language": ["Called", "for", "instructions", "with", "the", "Custom", "LegalizationAction", "."], "TS_V_token": ["AArch64", "AArch64", "\"expected switch to return\""], "File": "AArch64LegalizerInfo24", "Func": "legalizeCustom", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2420, "Length": 222, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64InstrInfo", "::", "getInstSizeInBytes", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "const", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "const", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "MCAsmInfo", "*", "MAI", "=", "MF", "->", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", ";", "{", "auto", "Op", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "Op", "==", "AArch64", "::", "INLINEASM", "||", "Op", "==", "AArch64", "::", "INLINEASM_BR", ")", "return", "getInlineAsmLength", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getSymbolName", "(", ")", ",", "*", "MAI", ")", ";", "}", "if", "(", "MI", ".", "isMetaInstruction", "(", ")", ")", "return", "0", ";", "unsigned", "NumBytes", "=", "0", ";", "const", "MCInstrDesc", "&", "Desc", "=", "MI", ".", "getDesc", "(", ")", ";", "switch", "(", "Desc", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "NumBytes", "=", "4", ";", "break", ";", "case", "TargetOpcode", "::", "STACKMAP", ":", "NumBytes", "=", "StackMapOpers", "(", "&", "MI", ")", ".", "getNumPatchBytes", "(", ")", ";", "assert", "(", "NumBytes", "%", "4", "==", "0", "&&", "\"Invalid number of NOP bytes requested!\"", ")", ";", "break", ";", "case", "TargetOpcode", "::", "PATCHPOINT", ":", "NumBytes", "=", "PatchPointOpers", "(", "&", "MI", ")", ".", "getNumPatchBytes", "(", ")", ";", "assert", "(", "NumBytes", "%", "4", "==", "0", "&&", "\"Invalid number of NOP bytes requested!\"", ")", ";", "break", ";", "case", "AArch64", "::", "TLSDESC_CALLSEQ", ":", "NumBytes", "=", "16", ";", "break", ";", "case", "AArch64", "::", "SpeculationBarrierISBDSBEndBB", ":", "NumBytes", "=", "8", ";", "break", ";", "case", "AArch64", "::", "SpeculationBarrierSBEndBB", ":", "NumBytes", "=", "4", ";", "break", ";", "case", "AArch64", "::", "JumpTableDest32", ":", "case", "AArch64", "::", "JumpTableDest16", ":", "case", "AArch64", "::", "JumpTableDest8", ":", "NumBytes", "=", "12", ";", "break", ";", "case", "AArch64", "::", "SPACE", ":", "NumBytes", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "break", ";", "case", "TargetOpcode", "::", "BUNDLE", ":", "NumBytes", "=", "getInstBundleLength", "(", "MI", ")", ";", "break", ";", "}", "return", "NumBytes", ";", "}", ""], "natrual_language": ["Returns", "the", "size", "in", "bytes", "of", "the", "specified", "MachineInstr", ",", "or", "~0U", "when", "this", "function", "is", "not", "implemented", "by", "a", "target", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::INLINEASM", "AArch64::INLINEASM_BR", "0", "0", "0", "4", "4", "0", "\"Invalid number of NOP bytes requested!\"", "4", "0", "\"Invalid number of NOP bytes requested!\"", "AArch64::TLSDESC_CALLSEQ", "16", "AArch64::SpeculationBarrierISBDSBEndBB", "8", "AArch64::SpeculationBarrierSBEndBB", "4", "AArch64::JumpTableDest32", "AArch64::JumpTableDest16", "AArch64::JumpTableDest8", "12", "AArch64::SPACE", "1"], "File": "AArch64InstrInfo30", "Func": "getInstSizeInBytes", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2421, "Length": 290, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "string", "AMDGPUSubtarget", "::", "getDataLayout", "(", ")", "const", "{", "std", "::", "string", "DataLayout", "=", "std", "::", "string", "(", "\"e\"", "\"-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32\"", "\"-v16:16:16-v24:32:32-v32:32:32-v48:64:64-v64:64:64-v96:128:128-v128:128:128\"", "\"-v192:256:256-v256:256:256-v512:512:512-v1024:1024:1024-v2048:2048:2048\"", "\"-n32:64\"", ")", ";", "if", "(", "hasHWFP64", "(", ")", ")", "{", "DataLayout", ".", "append", "(", "\"-f64:64:64\"", ")", ";", "}", "if", "(", "is64bit", "(", ")", ")", "{", "DataLayout", ".", "append", "(", "\"-p:64:64:64\"", ")", ";", "}", "else", "{", "DataLayout", ".", "append", "(", "\"-p:32:32:32\"", ")", ";", "}", "if", "(", "Gen", ">=", "AMDGPUSubtarget", "::", "SOUTHERN_ISLANDS", ")", "{", "DataLayout", ".", "append", "(", "\"-p3:32:32:32\"", ")", ";", "}", "return", "DataLayout", ";", "}", ""], "natrual_language": ["Return", "the", "DataLayout", "associated", "with", "the", "module", "this", "SCEV", "instance", "is", "operating", "on", "."], "TS_V_token": ["R600", "\"e\"", "\"-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32\"", "\"-v16:16:16-v24:32:32-v32:32:32-v48:64:64-v64:64:64-v96:128:128-v128:128:128\"", "\"-v192:256:256-v256:256:256-v512:512:512-v1024:1024:1024-v2048:2048:2048\"", "\"-n32:64\"", "\"-f64:64:64\"", "\"-p:64:64:64\"", "\"-p:32:32:32\"", "\"-p3:32:32:32\""], "File": "AMDGPUSubtarget24", "Func": "getDataLayout", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2422, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 DynAlloca Expander\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 DynAlloca Expander\""], "File": "X86DynAllocaExpander", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2423, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SPIRVPassConfig", "::", "addISelPrepare", "(", ")", "{", "auto", "*", "TM", "=", "&", "getTM", "<", "SPIRVTargetMachine", ">", "(", ")", ";", "addPass", "(", "createSPIRVEmitIntrinsicsPass", "(", "TM", ")", ")", ";", "TargetPassConfig", "::", "addISelPrepare", "(", ")", ";", "addPass", "(", "createSPIRVBasicBlockDominancePass", "(", ")", ")", ";", "}", ""], "natrual_language": ["Add", "common", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "in", "preparation", "for", "instruction", "selection", "."], "TS_V_token": ["SPIRV", "SPIRV", "SPIRV", "SPIRV", "SPIRV"], "File": "SPIRVTargetMachine1", "Func": "addISelPrepare", "Target": "SPIRV", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2424, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_option_override", "(", "void", ")", "{", "const", "struct", "riscv_tune_info", "*", "cpu", ";", "SUBTARGET_OVERRIDE_OPTIONS", ";", "flag_pcc_struct_return", "=", "0", ";", "if", "(", "flag_pic", ")", "g_switch_value", "=", "0", ";", "if", "(", "TARGET_MUL", "&&", "(", "target_flags_explicit", "&", "MASK_DIV", ")", "==", "0", ")", "target_flags", "|=", "MASK_DIV", ";", "else", "if", "(", "!", "TARGET_MUL", "&&", "TARGET_DIV", ")", "error", "(", "\"%<-mdiv%> requires %<-march%> to subsume the % extension\"", ")", ";", "if", "(", "TARGET_HARD_FLOAT", "&&", "(", "target_flags_explicit", "&", "MASK_FDIV", ")", "==", "0", ")", "target_flags", "|=", "MASK_FDIV", ";", "cpu", "=", "riscv_parse_tune", "(", "riscv_tune_string", "?", "riscv_tune_string", ":", "(", "riscv_cpu_string", "?", "riscv_cpu_string", ":", "RISCV_TUNE_STRING_DEFAULT", ")", ")", ";", "riscv_microarchitecture", "=", "cpu", "->", "microarchitecture", ";", "tune_param", "=", "optimize_size", "?", "&", "optimize_size_tune_info", ":", "cpu", "->", "tune_param", ";", "riscv_slow_unaligned_access_p", "=", "(", "cpu", "->", "tune_param", "->", "slow_unaligned_access", "||", "TARGET_STRICT_ALIGN", ")", ";", "if", "(", "(", "target_flags_explicit", "&", "MASK_STRICT_ALIGN", ")", "==", "0", "&&", "cpu", "->", "tune_param", "->", "slow_unaligned_access", ")", "target_flags", "|=", "MASK_STRICT_ALIGN", ";", "if", "(", "riscv_branch_cost", "==", "0", ")", "riscv_branch_cost", "=", "tune_param", "->", "branch_cost", ";", "init_machine_status", "=", "&", "riscv_init_machine_status", ";", "if", "(", "flag_pic", ")", "riscv_cmodel", "=", "CM_PIC", ";", "if", "(", "(", "target_flags_explicit", "&", "MASK_EXPLICIT_RELOCS", ")", "==", "0", ")", "if", "(", "riscv_cmodel", "==", "CM_MEDLOW", ")", "target_flags", "|=", "MASK_EXPLICIT_RELOCS", ";", "if", "(", "UNITS_PER_FP_ARG", ">", "(", "TARGET_HARD_FLOAT", "?", "UNITS_PER_FP_REG", ":", "0", ")", ")", "error", "(", "\"requested ABI requires %<-march%> to subsume the %qc extension\"", ",", "UNITS_PER_FP_ARG", ">", "8", "?", "'Q'", ":", "(", "UNITS_PER_FP_ARG", ">", "4", "?", "'D'", ":", "'F'", ")", ")", ";", "if", "(", "TARGET_RVE", "&&", "riscv_abi", "!=", "ABI_ILP32E", ")", "error", "(", "\"rv32e requires ilp32e ABI\"", ")", ";", "if", "(", "BITS_PER_WORD", "!=", "POINTER_SIZE", ")", "error", "(", "\"ABI requires %<-march=rv%d%>\"", ",", "POINTER_SIZE", ")", ";", "riscv_stack_boundary", "=", "ABI_STACK_BOUNDARY", ";", "if", "(", "riscv_preferred_stack_boundary_arg", ")", "{", "int", "min", "=", "ctz_hwi", "(", "STACK_BOUNDARY", "/", "8", ")", ";", "int", "max", "=", "8", ";", "if", "(", "!", "IN_RANGE", "(", "riscv_preferred_stack_boundary_arg", ",", "min", ",", "max", ")", ")", "error", "(", "\"%<-mpreferred-stack-boundary=%d%> must be between %d and %d\"", ",", "riscv_preferred_stack_boundary_arg", ",", "min", ",", "max", ")", ";", "riscv_stack_boundary", "=", "8", "<<", "riscv_preferred_stack_boundary_arg", ";", "}", "if", "(", "riscv_emit_attribute_p", "<", "0", ")", "riscv_emit_attribute_p", "=", "TARGET_RISCV_ATTRIBUTE", ";", "riscv_emit_attribute_p", "=", "0", ";", "if", "(", "riscv_emit_attribute_p", ")", "error", "(", "\"%<-mriscv-attribute%> RISC-V ELF attribute requires GNU as 2.32\"", "\" [%<-mriscv-attribute%>]\"", ")", ";", "if", "(", "riscv_stack_protector_guard", "==", "SSP_GLOBAL", "&&", "OPTION_SET_P", "(", "riscv_stack_protector_guard_offset_str", ")", ")", "{", "error", "(", "\"incompatible options %<-mstack-protector-guard=global%> and \"", "\"%<-mstack-protector-guard-offset=%s%>\"", ",", "riscv_stack_protector_guard_offset_str", ")", ";", "}", "if", "(", "riscv_stack_protector_guard", "==", "SSP_TLS", "&&", "!", "(", "OPTION_SET_P", "(", "riscv_stack_protector_guard_offset_str", ")", "&&", "OPTION_SET_P", "(", "riscv_stack_protector_guard_reg_str", ")", ")", ")", "{", "error", "(", "\"both %<-mstack-protector-guard-offset%> and \"", "\"%<-mstack-protector-guard-reg%> must be used \"", "\"with %<-mstack-protector-guard=sysreg%>\"", ")", ";", "}", "if", "(", "OPTION_SET_P", "(", "riscv_stack_protector_guard_reg_str", ")", ")", "{", "const", "char", "*", "str", "=", "riscv_stack_protector_guard_reg_str", ";", "int", "reg", "=", "decode_reg_name", "(", "str", ")", ";", "if", "(", "!", "IN_RANGE", "(", "reg", ",", "GP_REG_FIRST", "+", "1", ",", "GP_REG_LAST", ")", ")", "error", "(", "\"%qs is not a valid base register in %qs\"", ",", "str", ",", "\"-mstack-protector-guard-reg=\"", ")", ";", "riscv_stack_protector_guard_reg", "=", "reg", ";", "}", "if", "(", "OPTION_SET_P", "(", "riscv_stack_protector_guard_offset_str", ")", ")", "{", "char", "*", "end", ";", "const", "char", "*", "str", "=", "riscv_stack_protector_guard_offset_str", ";", "errno", "=", "0", ";", "long", "offs", "=", "strtol", "(", "riscv_stack_protector_guard_offset_str", ",", "&", "end", ",", "0", ")", ";", "if", "(", "!", "*", "str", "||", "*", "end", "||", "errno", ")", "error", "(", "\"%qs is not a valid number in %qs\"", ",", "str", ",", "\"-mstack-protector-guard-offset=\"", ")", ";", "if", "(", "!", "SMALL_OPERAND", "(", "offs", ")", ")", "error", "(", "\"%qs is not a valid offset in %qs\"", ",", "str", ",", "\"-mstack-protector-guard-offset=\"", ")", ";", "riscv_stack_protector_guard_offset", "=", "offs", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_OPTION_OVERRIDE", "."], "TS_V_token": ["riscv", "0", "0", "0", "\"%<-mdiv%> requires %<-march%> to subsume the % extension\"", "0", "0", "0", "0", "0", "\"requested ABI requires %<-march%> to subsume the %qc extension\"", "8", "4", "\"rv32e requires ilp32e ABI\"", "\"ABI requires %<-march=rv%d%>\"", "8", "8", "\"%<-mpreferred-stack-boundary=%d%> must be between %d and %d\"", "8", "0", "0", "\"%<-mriscv-attribute%> RISC-V ELF attribute requires GNU as 2.32\"", "\" [%<-mriscv-attribute%>]\"", "\"incompatible options %<-mstack-protector-guard=global%> and \"", "\"%<-mstack-protector-guard-offset=%s%>\"", "\"both %<-mstack-protector-guard-offset%> and \"", "\"%<-mstack-protector-guard-reg%> must be used \"", "\"with %<-mstack-protector-guard=sysreg%>\"", "1", "\"%qs is not a valid base register in %qs\"", "\"-mstack-protector-guard-reg=\"", "0", "0", "\"%qs is not a valid number in %qs\"", "\"-mstack-protector-guard-offset=\"", "\"%qs is not a valid offset in %qs\"", "\"-mstack-protector-guard-offset=\""], "File": "riscv", "Func": "riscv_option_override", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2425, "Length": 499, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumberOfRegisters", "(", "bool", "Vector", ")", "const", "{", "return", "1", ";", "}", ""], "natrual_language": ["\ufffd", "?", "Vector", "TTI", "begin", "\ufffd", "?"], "TS_V_token": ["NVPTX", "1"], "File": "NVPTXTargetTransformInfo", "Func": "getNumberOfRegisters", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2426, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "s390_def_or_undef_macro", "(", "cpp_reader", "*", "pfile", ",", "F", "is_set", ",", "const", "struct", "cl_target_option", "*", "old_opts", ",", "const", "struct", "cl_target_option", "*", "new_opts", ",", "const", "char", "*", "macro_def", ",", "const", "char", "*", "macro_undef", ")", "{", "bool", "was_set", ";", "bool", "set", ";", "was_set", "=", "(", "!", "old_opts", ")", "?", "false", ":", "is_set", "(", "old_opts", ")", ";", "set", "=", "is_set", "(", "new_opts", ")", ";", "if", "(", "was_set", "==", "set", ")", "return", ";", "if", "(", "set", ")", "cpp_define", "(", "pfile", ",", "macro_def", ")", ";", "else", "cpp_undef", "(", "pfile", ",", "macro_undef", ")", ";", "}", ""], "natrual_language": ["Helper", "function", "that", "defines", "or", "undefines", "macros", ".", "If", "SET", "is", "true", ",", "the", "macro", "MACRO_DEF", "is", "defined", ".", "If", "SET", "is", "false", ",", "the", "macro", "MACRO_UNDEF", "is", "undefined", ".", "Nothing", "is", "done", "if", "SET", "and", "WAS_SET", "have", "the", "same", "value", "."], "TS_V_token": ["s390"], "File": "s390-c", "Func": "s390_def_or_undef_macro", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2427, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMOptimizeBarriersPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "*", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "std", "::", "vector", "<", "MachineInstr", "*", ">", "ToRemove", ";", "int64_t", "DMBType", "=", "-", "1", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "bool", "IsRemovableNextDMB", "=", "false", ";", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "ARM", "::", "DMB", ")", "{", "if", "(", "IsRemovableNextDMB", ")", "{", "if", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", "==", "DMBType", ")", "{", "ToRemove", ".", "push_back", "(", "&", "MI", ")", ";", "}", "else", "{", "DMBType", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "}", "}", "else", "{", "IsRemovableNextDMB", "=", "true", ";", "DMBType", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "}", "}", "else", "if", "(", "!", "CanMovePastDMB", "(", "&", "MI", ")", ")", "{", "IsRemovableNextDMB", "=", "false", ";", "}", "}", "}", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "MI", ":", "ToRemove", ")", "{", "MI", "->", "eraseFromParent", "(", ")", ";", "++", "NumDMBsRemoved", ";", "Changed", "=", "true", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "1", "ARM::DMB", "0", "0", "0"], "File": "ARMOptimizeBarriersPass8", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2428, "Length": 193, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SMLoc", "getStartLoc", "(", ")", "const", "override", "{", "return", "StartLoc", ";", "}", ""], "natrual_language": ["getStartLoc", "-", "Get", "the", "location", "of", "the", "first", "token", "of", "this", "operand", "."], "TS_V_token": ["TL45"], "File": "TL45AsmParser", "Func": "getStartLoc", "Target": "TL45", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2429, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mep_reuse_lo_p_1", "(", "rtx", "lo", ",", "rtx", "gpr", ",", "rtx_insn", "*", "insn", ",", "bool", "gpr_dead_p", ")", "{", "do", "{", "insn", "=", "PREV_INSN", "(", "insn", ")", ";", "if", "(", "INSN_P", "(", "insn", ")", ")", "switch", "(", "recog_memoized", "(", "insn", ")", ")", "{", "case", "CODE_FOR_mulsi3_1", ":", "extract_insn", "(", "insn", ")", ";", "if", "(", "rtx_equal_p", "(", "recog_data", ".", "operand", "[", "0", "]", ",", "gpr", ")", ")", "{", "mep_rewrite_mulsi3", "(", "insn", ",", "gpr_dead_p", "?", "NULL", ":", "recog_data", ".", "operand", "[", "0", "]", ",", "recog_data", ".", "operand", "[", "1", "]", ",", "recog_data", ".", "operand", "[", "2", "]", ")", ";", "return", "true", ";", "}", "return", "false", ";", "case", "CODE_FOR_maddsi3", ":", "extract_insn", "(", "insn", ")", ";", "if", "(", "rtx_equal_p", "(", "recog_data", ".", "operand", "[", "0", "]", ",", "gpr", ")", ")", "{", "mep_rewrite_maddsi3", "(", "insn", ",", "gpr_dead_p", "?", "NULL", ":", "recog_data", ".", "operand", "[", "0", "]", ",", "recog_data", ".", "operand", "[", "1", "]", ",", "recog_data", ".", "operand", "[", "2", "]", ",", "recog_data", ".", "operand", "[", "3", "]", ")", ";", "return", "true", ";", "}", "return", "false", ";", "case", "CODE_FOR_mulsi3r", ":", "case", "CODE_FOR_maddsi3r", ":", "extract_insn", "(", "insn", ")", ";", "return", "rtx_equal_p", "(", "recog_data", ".", "operand", "[", "1", "]", ",", "gpr", ")", ";", "default", ":", "if", "(", "reg_set_p", "(", "lo", ",", "insn", ")", "||", "reg_set_p", "(", "gpr", ",", "insn", ")", "||", "volatile_insn_p", "(", "PATTERN", "(", "insn", ")", ")", ")", "return", "false", ";", "if", "(", "gpr_dead_p", "&&", "reg_referenced_p", "(", "gpr", ",", "PATTERN", "(", "insn", ")", ")", ")", "gpr_dead_p", "=", "false", ";", "break", ";", "}", "}", "while", "(", "!", "NOTE_INSN_BASIC_BLOCK_P", "(", "insn", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "$", "lo", "has", "the", "same", "value", "as", "integer", "register", "GPR", "when", "instruction", "INSN", "is", "reached", ".", "If", "necessary", ",", "rewrite", "the", "instruction", "that", "sets", "$", "lo", "so", "that", "it", "uses", "a", "proper", "SET", ",", "not", "a", "CLOBBER", ".", "LO", "is", "an", "rtx", "for", "(", "reg", ":", "SI", "LO_REGNO", ")", ".", "This", "function", "is", "intended", "to", "be", "used", "by", "the", "peephole2", "pass", ".", "Since", "that", "pass", "goes", "from", "the", "end", "of", "a", "basic", "block", "to", "the", "beginning", ",", "and", "propagates", "liveness", "information", "on", "the", "way", ",", "there", "is", "no", "need", "to", "update", "register", "notes", "here", ".", "If", "GPR_DEAD_P", "is", "true", "on", "entry", ",", "and", "this", "function", "returns", "true", ",", "then", "the", "caller", "will", "replace", "_every_", "use", "of", "GPR", "in", "and", "after", "INSN", "with", "LO", ".", "This", "means", "that", "if", "the", "instruction", "that", "sets", "$", "lo", "is", "a", "mulr-", "or", "maddr-type", "instruction", ",", "we", "can", "rewrite", "it", "to", "use", "mul", "or", "madd", "instead", ".", "In", "combination", "with", "the", "copy", "progagation", "pass", ",", "this", "allows", "us", "to", "replace", "sequences", "like", ":", "mov", "GPR", ",", "R1", "mulr", "GPR", ",", "R2", "with", ":", "mul", "R1", ",", "R2", "if", "GPR", "is", "no", "longer", "used", "."], "TS_V_token": ["mep", "0", "0", "1", "2", "0", "0", "1", "2", "3", "1"], "File": "mep", "Func": "mep_reuse_lo_p_1", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2430, "Length": 257, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIInstrInfo", "::", "isOperandLegal", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpIdx", ",", "const", "MachineOperand", "*", "MO", ")", "const", "{", "const", "MachineRegisterInfo", "&", "MRI", "=", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "MCInstrDesc", "&", "InstDesc", "=", "get", "(", "MI", "->", "getOpcode", "(", ")", ")", ";", "const", "MCOperandInfo", "&", "OpInfo", "=", "InstDesc", ".", "OpInfo", "[", "OpIdx", "]", ";", "const", "TargetRegisterClass", "*", "DefinedRC", "=", "OpInfo", ".", "RegClass", "!=", "-", "1", "?", "RI", ".", "getRegClass", "(", "OpInfo", ".", "RegClass", ")", ":", "nullptr", ";", "if", "(", "!", "MO", ")", "MO", "=", "&", "MI", "->", "getOperand", "(", "OpIdx", ")", ";", "if", "(", "isVALU", "(", "InstDesc", ".", "Opcode", ")", "&&", "usesConstantBus", "(", "MRI", ",", "*", "MO", ")", ")", "{", "unsigned", "SGPRUsed", "=", "MO", "->", "isReg", "(", ")", "?", "MO", "->", "getReg", "(", ")", ":", "(", "unsigned", ")", "AMDGPU", "::", "NoRegister", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "MI", "->", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "if", "(", "i", "==", "OpIdx", ")", "continue", ";", "if", "(", "usesConstantBus", "(", "MRI", ",", "MI", "->", "getOperand", "(", "i", ")", ")", "&&", "MI", "->", "getOperand", "(", "i", ")", ".", "isReg", "(", ")", "&&", "MI", "->", "getOperand", "(", "i", ")", ".", "getReg", "(", ")", "!=", "SGPRUsed", ")", "{", "return", "false", ";", "}", "}", "}", "if", "(", "MO", "->", "isReg", "(", ")", ")", "{", "assert", "(", "DefinedRC", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "MRI", ".", "getRegClass", "(", "MO", "->", "getReg", "(", ")", ")", ";", "return", "RI", ".", "getCommonSubClass", "(", "RC", ",", "RI", ".", "getRegClass", "(", "OpInfo", ".", "RegClass", ")", ")", "==", "RC", ";", "}", "assert", "(", "MO", "->", "isImm", "(", ")", "||", "MO", "->", "isTargetIndex", "(", ")", "||", "MO", "->", "isFI", "(", ")", ")", ";", "if", "(", "!", "DefinedRC", ")", "{", "return", "true", ";", "}", "return", "isImmOperandLegal", "(", "MI", ",", "OpIdx", ",", "*", "MO", ")", ";", "}", ""], "natrual_language": ["Check", "if", "MO", "is", "a", "legal", "operand", "if", "it", "was", "the", "OpIdx", "Operand", "for", "MI", "."], "TS_V_token": ["R600", "SI", "1", "0"], "File": "SIInstrInfo119", "Func": "isOperandLegal", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2431, "Length": 312, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MVT", "SITargetLowering", "::", "getRegisterTypeForCallingConv", "(", "LLVMContext", "&", "Context", ",", "CallingConv", "::", "ID", "CC", ",", "EVT", "VT", ")", "const", "{", "if", "(", "CC", "==", "CallingConv", "::", "AMDGPU_KERNEL", ")", "return", "TargetLowering", "::", "getRegisterTypeForCallingConv", "(", "Context", ",", "CC", ",", "VT", ")", ";", "if", "(", "VT", ".", "isVector", "(", ")", ")", "{", "EVT", "ScalarVT", "=", "VT", ".", "getScalarType", "(", ")", ";", "unsigned", "Size", "=", "ScalarVT", ".", "getSizeInBits", "(", ")", ";", "if", "(", "Size", "==", "16", ")", "{", "if", "(", "Subtarget", "->", "has16BitInsts", "(", ")", ")", "return", "VT", ".", "isInteger", "(", ")", "?", "MVT", "::", "v2i16", ":", "MVT", "::", "v2f16", ";", "return", "VT", ".", "isInteger", "(", ")", "?", "MVT", "::", "i32", ":", "MVT", "::", "f32", ";", "}", "if", "(", "Size", "<", "16", ")", "return", "Subtarget", "->", "has16BitInsts", "(", ")", "?", "MVT", "::", "i16", ":", "MVT", "::", "i32", ";", "return", "Size", "==", "32", "?", "ScalarVT", ".", "getSimpleVT", "(", ")", ":", "MVT", "::", "i32", ";", "}", "if", "(", "VT", ".", "getSizeInBits", "(", ")", ">", "32", ")", "return", "MVT", "::", "i32", ";", "return", "TargetLowering", "::", "getRegisterTypeForCallingConv", "(", "Context", ",", "CC", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Certain", "combinations", "of", "ABIs", ",", "Targets", "and", "features", "require", "that", "types", "are", "legal", "for", "some", "operations", "and", "not", "for", "other", "operations", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU", "16", "MVT::v2i16", "MVT::v2f16", "MVT::i32", "MVT::f32", "16", "MVT::i16", "MVT::i32", "32", "MVT::i32", "32", "MVT::i32"], "File": "SIISelLowering10", "Func": "getRegisterTypeForCallingConv", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2432, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseRegisterInfo", "::", "getRegAllocationHints", "(", "unsigned", "VirtReg", ",", "ArrayRef", "<", "MCPhysReg", ">", "Order", ",", "SmallVectorImpl", "<", "MCPhysReg", ">", "&", "Hints", ",", "const", "MachineFunction", "&", "MF", ",", "const", "VirtRegMap", "*", "VRM", ",", "const", "LiveRegMatrix", "*", "Matrix", ")", "const", "{", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "std", "::", "pair", "<", "unsigned", ",", "unsigned", ">", "Hint", "=", "MRI", ".", "getRegAllocationHint", "(", "VirtReg", ")", ";", "unsigned", "Odd", ";", "switch", "(", "Hint", ".", "first", ")", "{", "case", "ARMRI", "::", "RegPairEven", ":", "Odd", "=", "0", ";", "break", ";", "case", "ARMRI", "::", "RegPairOdd", ":", "Odd", "=", "1", ";", "break", ";", "default", ":", "TargetRegisterInfo", "::", "getRegAllocationHints", "(", "VirtReg", ",", "Order", ",", "Hints", ",", "MF", ",", "VRM", ")", ";", "return", "false", ";", "}", "unsigned", "Paired", "=", "Hint", ".", "second", ";", "if", "(", "Paired", "==", "0", ")", "return", "false", ";", "unsigned", "PairedPhys", "=", "0", ";", "if", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "Paired", ")", ")", "{", "PairedPhys", "=", "Paired", ";", "}", "else", "if", "(", "VRM", "&&", "VRM", "->", "hasPhys", "(", "Paired", ")", ")", "{", "PairedPhys", "=", "getPairedGPR", "(", "VRM", "->", "getPhys", "(", "Paired", ")", ",", "Odd", ",", "this", ")", ";", "}", "if", "(", "PairedPhys", "&&", "is_contained", "(", "Order", ",", "PairedPhys", ")", ")", "Hints", ".", "push_back", "(", "PairedPhys", ")", ";", "for", "(", "unsigned", "Reg", ":", "Order", ")", "{", "if", "(", "Reg", "==", "PairedPhys", "||", "(", "getEncodingValue", "(", "Reg", ")", "&", "1", ")", "!=", "Odd", ")", "continue", ";", "unsigned", "Paired", "=", "getPairedGPR", "(", "Reg", ",", "!", "Odd", ",", "this", ")", ";", "if", "(", "!", "Paired", "||", "MRI", ".", "isReserved", "(", "Paired", ")", ")", "continue", ";", "Hints", ".", "push_back", "(", "Reg", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Get", "a", "list", "of", "'hint", "'", "registers", "that", "the", "register", "allocator", "should", "try", "first", "when", "allocating", "a", "physical", "register", "for", "the", "virtual", "register", "VirtReg", "."], "TS_V_token": ["ARM", "ARM", "ARMRI::RegPairEven", "0", "ARMRI::RegPairOdd", "1", "0", "0", "1"], "File": "ARMBaseRegisterInfo23", "Func": "getRegAllocationHints", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2433, "Length": 269, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "WebAssemblyTTIImpl", "::", "getArithmeticInstrCost", "(", "unsigned", "Opcode", ",", "Type", "*", "Ty", ",", "TTI", "::", "TargetCostKind", "CostKind", ",", "TTI", "::", "OperandValueKind", "Opd1Info", ",", "TTI", "::", "OperandValueKind", "Opd2Info", ",", "TTI", "::", "OperandValueProperties", "Opd1PropInfo", ",", "TTI", "::", "OperandValueProperties", "Opd2PropInfo", ",", "ArrayRef", "<", "const", "Value", "*", ">", "Args", ",", "const", "Instruction", "*", "CxtI", ")", "{", "unsigned", "Cost", "=", "BasicTTIImplBase", "<", "WebAssemblyTTIImpl", ">", "::", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", ",", "CostKind", ",", "Opd1Info", ",", "Opd2Info", ",", "Opd1PropInfo", ",", "Opd2PropInfo", ")", ";", "if", "(", "auto", "*", "VTy", "=", "dyn_cast", "<", "VectorType", ">", "(", "Ty", ")", ")", "{", "switch", "(", "Opcode", ")", "{", "case", "Instruction", "::", "LShr", ":", "case", "Instruction", "::", "AShr", ":", "case", "Instruction", "::", "Shl", ":", "if", "(", "Opd2Info", "!=", "TTI", "::", "OK_UniformValue", "&&", "Opd2Info", "!=", "TTI", "::", "OK_UniformConstantValue", ")", "Cost", "=", "cast", "<", "FixedVectorType", ">", "(", "VTy", ")", "->", "getNumElements", "(", ")", "*", "(", "TargetTransformInfo", "::", "TCC_Basic", "+", "getArithmeticInstrCost", "(", "Opcode", ",", "VTy", "->", "getElementType", "(", ")", ",", "CostKind", ")", "+", "TargetTransformInfo", "::", "TCC_Basic", ")", ";", "break", ";", "}", "}", "return", "Cost", ";", "}", ""], "natrual_language": ["This", "is", "an", "approximation", "of", "reciprocal", "throughput", "of", "a", "math/logic", "op", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "WebAssembly"], "File": "WebAssemblyTargetTransformInfo19", "Func": "getArithmeticInstrCost", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2434, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_cxx_use_aeabi_atexit", "(", "void", ")", "{", "return", "TARGET_AAPCS_BASED", ";", "}", ""], "natrual_language": ["The", "EABI", "says", "__aeabi_atexit", "should", "be", "used", "to", "register", "static", "destructors", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_cxx_use_aeabi_atexit", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2435, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "rs6000_preferred_simd_mode", "(", "scalar_mode", "mode", ")", "{", "if", "(", "TARGET_VSX", ")", "switch", "(", "mode", ")", "{", "case", "E_DFmode", ":", "return", "V2DFmode", ";", "default", ":", ";", "}", "if", "(", "TARGET_ALTIVEC", "||", "TARGET_VSX", ")", "switch", "(", "mode", ")", "{", "case", "E_SFmode", ":", "return", "V4SFmode", ";", "case", "E_TImode", ":", "return", "V1TImode", ";", "case", "E_DImode", ":", "return", "V2DImode", ";", "case", "E_SImode", ":", "return", "V4SImode", ";", "case", "E_HImode", ":", "return", "V8HImode", ";", "case", "E_QImode", ":", "return", "V16QImode", ";", "default", ":", ";", "}", "if", "(", "TARGET_SPE", ")", "switch", "(", "mode", ")", "{", "case", "E_SFmode", ":", "return", "V2SFmode", ";", "case", "E_SImode", ":", "return", "V2SImode", ";", "default", ":", ";", "}", "if", "(", "TARGET_PAIRED_FLOAT", "&&", "mode", "==", "SFmode", ")", "return", "V2SFmode", ";", "return", "word_mode", ";", "}", ""], "natrual_language": ["Implement", "targetm.vectorize.preferred_simd_mode", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_preferred_simd_mode", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2436, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "ARMFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "ARMBaseInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "ARMBaseInstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "if", "(", "!", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "MachineInstr", "&", "Old", "=", "*", "I", ";", "DebugLoc", "dl", "=", "Old", ".", "getDebugLoc", "(", ")", ";", "unsigned", "Amount", "=", "TII", ".", "getFrameSize", "(", "Old", ")", ";", "if", "(", "Amount", "!=", "0", ")", "{", "Amount", "=", "alignSPAdjust", "(", "Amount", ")", ";", "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "assert", "(", "!", "AFI", "->", "isThumb1OnlyFunction", "(", ")", "&&", "\"This eliminateCallFramePseudoInstr does not support Thumb1!\"", ")", ";", "bool", "isARM", "=", "!", "AFI", "->", "isThumbFunction", "(", ")", ";", "unsigned", "Opc", "=", "Old", ".", "getOpcode", "(", ")", ";", "int", "PIdx", "=", "Old", ".", "findFirstPredOperandIdx", "(", ")", ";", "ARMCC", "::", "CondCodes", "Pred", "=", "(", "PIdx", "==", "-", "1", ")", "?", "ARMCC", "::", "AL", ":", "(", "ARMCC", "::", "CondCodes", ")", "Old", ".", "getOperand", "(", "PIdx", ")", ".", "getImm", "(", ")", ";", "unsigned", "PredReg", "=", "TII", ".", "getFramePred", "(", "Old", ")", ";", "if", "(", "Opc", "==", "ARM", "::", "ADJCALLSTACKDOWN", "||", "Opc", "==", "ARM", "::", "tADJCALLSTACKDOWN", ")", "{", "emitSPUpdate", "(", "isARM", ",", "MBB", ",", "I", ",", "dl", ",", "TII", ",", "-", "Amount", ",", "MachineInstr", "::", "NoFlags", ",", "Pred", ",", "PredReg", ")", ";", "}", "else", "{", "assert", "(", "Opc", "==", "ARM", "::", "ADJCALLSTACKUP", "||", "Opc", "==", "ARM", "::", "tADJCALLSTACKUP", ")", ";", "emitSPUpdate", "(", "isARM", ",", "MBB", ",", "I", ",", "dl", ",", "TII", ",", "Amount", ",", "MachineInstr", "::", "NoFlags", ",", "Pred", ",", "PredReg", ")", ";", "}", "}", "}", "return", "MBB", ".", "erase", "(", "I", ")", ";", "}", ""], "natrual_language": ["This", "method", "is", "called", "during", "prolog/epilog", "code", "insertion", "to", "eliminate", "call", "frame", "setup", "and", "destroy", "pseudo", "instructions", "(", "but", "only", "if", "the", "Target", "is", "using", "them", ")", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "0", "ARM", "ARM", "\"This eliminateCallFramePseudoInstr does not support Thumb1!\"", "ARM", "ARMCC::CondCodes", "1", "ARMCC::AL", "ARMCC::CondCodes", "ARM::ADJCALLSTACKDOWN", "ARM::tADJCALLSTACKDOWN", "ARM", "ARM::ADJCALLSTACKUP", "ARM::tADJCALLSTACKUP", "ARM"], "File": "ARMFrameLowering101", "Func": "eliminateCallFramePseudoInstr", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2437, "Length": 282, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "s390_reorg", "(", "void", ")", "{", "bool", "pool_overflow", "=", "false", ";", "split_all_insns_noflow", "(", ")", ";", "cfun", "->", "machine", "->", "decomposed_literal_pool_addresses_ok_p", "=", "true", ";", "for", "(", ";", ";", ")", "{", "struct", "constant_pool", "*", "pool", "=", "NULL", ";", "if", "(", "!", "pool_overflow", ")", "{", "pool", "=", "s390_mainpool_start", "(", ")", ";", "if", "(", "!", "pool", ")", "pool_overflow", "=", "true", ";", "}", "if", "(", "pool_overflow", ")", "pool", "=", "s390_chunkify_start", "(", ")", ";", "if", "(", "!", "TARGET_CPU_ZARCH", "&&", "s390_split_branches", "(", ")", ")", "{", "if", "(", "pool_overflow", ")", "s390_chunkify_cancel", "(", "pool", ")", ";", "else", "s390_mainpool_cancel", "(", "pool", ")", ";", "continue", ";", "}", "if", "(", "pool_overflow", ")", "s390_chunkify_finish", "(", "pool", ")", ";", "else", "s390_mainpool_finish", "(", "pool", ")", ";", "cfun", "->", "machine", "->", "split_branches_pending_p", "=", "false", ";", "break", ";", "}", "if", "(", "TARGET_CPU_ZARCH", ")", "{", "rtx", "insn", ",", "label", ",", "target", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "label", "=", "s390_execute_label", "(", "insn", ")", ";", "if", "(", "!", "label", ")", "continue", ";", "gcc_assert", "(", "label", "!=", "const0_rtx", ")", ";", "target", "=", "emit_label", "(", "XEXP", "(", "label", ",", "0", ")", ")", ";", "INSN_ADDRESSES_NEW", "(", "target", ",", "-", "1", ")", ";", "target", "=", "emit_insn", "(", "s390_execute_target", "(", "insn", ")", ")", ";", "INSN_ADDRESSES_NEW", "(", "target", ",", "-", "1", ")", ";", "}", "}", "s390_optimize_prologue", "(", ")", ";", "}", ""], "natrual_language": ["Perform", "machine-dependent", "processing", "."], "TS_V_token": ["s390", "0", "1", "1"], "File": "s3903", "Func": "s390_reorg", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2438, "Length": 219, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "build_mips16_function_stub", "(", "FILE", "*", "file", ")", "{", "const", "char", "*", "fnname", ";", "char", "*", "secname", ",", "*", "stubname", ";", "tree", "stubid", ",", "stubdecl", ";", "int", "need_comma", ";", "unsigned", "int", "f", ";", "fnname", "=", "XSTR", "(", "XEXP", "(", "DECL_RTL", "(", "current_function_decl", ")", ",", "0", ")", ",", "0", ")", ";", "secname", "=", "(", "char", "*", ")", "alloca", "(", "strlen", "(", "fnname", ")", "+", "20", ")", ";", "sprintf", "(", "secname", ",", "\".mips16.fn.%s\"", ",", "fnname", ")", ";", "stubname", "=", "(", "char", "*", ")", "alloca", "(", "strlen", "(", "fnname", ")", "+", "20", ")", ";", "sprintf", "(", "stubname", ",", "\"__fn_stub_%s\"", ",", "fnname", ")", ";", "stubid", "=", "get_identifier", "(", "stubname", ")", ";", "stubdecl", "=", "build_decl", "(", "FUNCTION_DECL", ",", "stubid", ",", "build_function_type", "(", "void_type_node", ",", "NULL_TREE", ")", ")", ";", "DECL_SECTION_NAME", "(", "stubdecl", ")", "=", "build_string", "(", "strlen", "(", "secname", ")", ",", "secname", ")", ";", "fprintf", "(", "file", ",", "\"\\t# Stub function for %s (\"", ",", "current_function_name", "(", ")", ")", ";", "need_comma", "=", "0", ";", "for", "(", "f", "=", "(", "unsigned", "int", ")", "current_function_args_info", ".", "fp_code", ";", "f", "!=", "0", ";", "f", ">>=", "2", ")", "{", "fprintf", "(", "file", ",", "\"%s%s\"", ",", "need_comma", "?", "\", \"", ":", "\"\"", ",", "(", "f", "&", "3", ")", "==", "1", "?", "\"float\"", ":", "\"double\"", ")", ";", "need_comma", "=", "1", ";", "}", "fprintf", "(", "file", ",", "\")\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\t.set\\tnomips16\\n\"", ")", ";", "function_section", "(", "stubdecl", ")", ";", "ASM_OUTPUT_ALIGN", "(", "file", ",", "floor_log2", "(", "FUNCTION_BOUNDARY", "/", "BITS_PER_UNIT", ")", ")", ";", "if", "(", "!", "FUNCTION_NAME_ALREADY_DECLARED", ")", "{", "fputs", "(", "\"\\t.ent\\t\"", ",", "file", ")", ";", "assemble_name", "(", "file", ",", "stubname", ")", ";", "fputs", "(", "\"\\n\"", ",", "file", ")", ";", "}", "assemble_name", "(", "file", ",", "stubname", ")", ";", "fputs", "(", "\":\\n\"", ",", "file", ")", ";", "fprintf", "(", "file", ",", "\"\\t.set\\tnoreorder\\n\"", ")", ";", "mips16_fp_args", "(", "file", ",", "current_function_args_info", ".", "fp_code", ",", "1", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.set\\tnoat\\n\"", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\tla\\t%s,\"", ",", "reg_names", "[", "GP_REG_FIRST", "+", "1", "]", ")", ";", "assemble_name", "(", "file", ",", "fnname", ")", ";", "fprintf", "(", "file", ",", "\"\\n\"", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\tjr\\t%s\\n\"", ",", "reg_names", "[", "GP_REG_FIRST", "+", "1", "]", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.set\\tat\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\tnop\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\t.set\\treorder\\n\"", ")", ";", "if", "(", "!", "FUNCTION_NAME_ALREADY_DECLARED", ")", "{", "fputs", "(", "\"\\t.end\\t\"", ",", "file", ")", ";", "assemble_name", "(", "file", ",", "stubname", ")", ";", "fputs", "(", "\"\\n\"", ",", "file", ")", ";", "}", "fprintf", "(", "file", ",", "\"\\t.set\\tmips16\\n\"", ")", ";", "function_section", "(", "current_function_decl", ")", ";", "}", ""], "natrual_language": ["Build", "a", "mips16", "function", "stub", ".", "This", "is", "used", "for", "functions", "which", "take", "arguments", "in", "the", "floating", "point", "registers", ".", "It", "is", "32", "bit", "code", "that", "moves", "the", "floating", "point", "args", "into", "the", "general", "registers", ",", "and", "then", "jumps", "to", "the", "16", "bit", "code", "."], "TS_V_token": ["mips", "0", "0", "20", "\".mips16.fn.%s\"", "20", "\"__fn_stub_%s\"", "\"\\t# Stub function for %s (\"", "0", "0", "2", "\"%s%s\"", "\", \"", "\"\"", "3", "1", "\"float\"", "\"double\"", "1", "\")\\n\"", "\"\\t.set\\tnomips16\\n\"", "\"\\t.ent\\t\"", "\"\\n\"", "\":\\n\"", "\"\\t.set\\tnoreorder\\n\"", "1", "\"\\t.set\\tnoat\\n\"", "\"\\tla\\t%s,\"", "1", "\"\\n\"", "\"\\tjr\\t%s\\n\"", "1", "\"\\t.set\\tat\\n\"", "\"\\tnop\\n\"", "\"\\t.set\\treorder\\n\"", "\"\\t.end\\t\"", "\"\\n\"", "\"\\t.set\\tmips16\\n\""], "File": "mips3", "Func": "build_mips16_function_stub", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2439, "Length": 406, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUAlwaysInline", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "std", "::", "vector", "<", "GlobalAlias", "*", ">", "AliasesToRemove", ";", "std", "::", "vector", "<", "Function", "*", ">", "FuncsToClone", ";", "for", "(", "GlobalAlias", "&", "A", ":", "M", ".", "aliases", "(", ")", ")", "{", "if", "(", "Function", "*", "F", "=", "dyn_cast", "<", "Function", ">", "(", "A", ".", "getAliasee", "(", ")", ")", ")", "{", "A", ".", "replaceAllUsesWith", "(", "F", ")", ";", "AliasesToRemove", ".", "push_back", "(", "&", "A", ")", ";", "}", "}", "for", "(", "GlobalAlias", "*", "A", ":", "AliasesToRemove", ")", "{", "A", "->", "eraseFromParent", "(", ")", ";", "}", "for", "(", "Function", "&", "F", ":", "M", ")", "{", "if", "(", "!", "F", ".", "hasLocalLinkage", "(", ")", "&&", "!", "F", ".", "isDeclaration", "(", ")", "&&", "!", "F", ".", "use_empty", "(", ")", "&&", "!", "F", ".", "hasFnAttribute", "(", "Attribute", "::", "NoInline", ")", ")", "FuncsToClone", ".", "push_back", "(", "&", "F", ")", ";", "}", "for", "(", "Function", "*", "F", ":", "FuncsToClone", ")", "{", "ValueToValueMapTy", "VMap", ";", "Function", "*", "NewFunc", "=", "CloneFunction", "(", "F", ",", "VMap", ")", ";", "NewFunc", "->", "setLinkage", "(", "GlobalValue", "::", "InternalLinkage", ")", ";", "F", "->", "replaceAllUsesWith", "(", "NewFunc", ")", ";", "}", "for", "(", "Function", "&", "F", ":", "M", ")", "{", "if", "(", "F", ".", "hasLocalLinkage", "(", ")", "&&", "!", "F", ".", "hasFnAttribute", "(", "Attribute", "::", "NoInline", ")", ")", "{", "F", ".", "addFnAttr", "(", "Attribute", "::", "AlwaysInline", ")", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "."], "TS_V_token": ["AMDGPU", "AMDGPU"], "File": "AMDGPUAlwaysInlinePass6", "Func": "runOnModule", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2440, "Length": 227, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64AsmPrinter", "::", "emitFunctionBodyEnd", "(", ")", "{", "if", "(", "!", "AArch64FI", "->", "getLOHRelated", "(", ")", ".", "empty", "(", ")", ")", "emitLOHs", "(", ")", ";", "}", ""], "natrual_language": ["Targets", "can", "override", "this", "to", "emit", "stuff", "after", "the", "last", "basic", "block", "in", "the", "function", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64AsmPrinter1", "Func": "emitFunctionBodyEnd", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2441, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "function_arg_slotno", "(", "const", "struct", "sparc_args", "*", "cum", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", ",", "bool", "incoming", ",", "int", "*", "pregno", ",", "int", "*", "ppadding", ")", "{", "int", "regbase", "=", "(", "incoming", "?", "SPARC_INCOMING_INT_ARG_FIRST", ":", "SPARC_OUTGOING_INT_ARG_FIRST", ")", ";", "int", "slotno", "=", "cum", "->", "words", ";", "enum", "mode_class", "mclass", ";", "int", "regno", ";", "*", "ppadding", "=", "0", ";", "if", "(", "type", "&&", "TREE_ADDRESSABLE", "(", "type", ")", ")", "return", "-", "1", ";", "if", "(", "TARGET_ARCH32", "&&", "mode", "==", "BLKmode", "&&", "type", "&&", "TYPE_ALIGN", "(", "type", ")", "%", "PARM_BOUNDARY", "!=", "0", ")", "return", "-", "1", ";", "if", "(", "TARGET_ARCH64", "&&", "(", "type", "?", "TYPE_ALIGN", "(", "type", ")", ":", "GET_MODE_ALIGNMENT", "(", "mode", ")", ")", ">=", "128", "&&", "(", "slotno", "&", "1", ")", "!=", "0", ")", "slotno", "++", ",", "*", "ppadding", "=", "1", ";", "mclass", "=", "GET_MODE_CLASS", "(", "mode", ")", ";", "if", "(", "type", "&&", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", ")", "{", "if", "(", "TREE_CODE", "(", "TREE_TYPE", "(", "type", ")", ")", "==", "REAL_TYPE", ")", "{", "gcc_assert", "(", "mode", "==", "BLKmode", ")", ";", "}", "else", "{", "gcc_assert", "(", "mode", "!=", "BLKmode", ")", ";", "mclass", "=", "MODE_FLOAT", ";", "}", "}", "switch", "(", "mclass", ")", "{", "case", "MODE_FLOAT", ":", "case", "MODE_COMPLEX_FLOAT", ":", "case", "MODE_VECTOR_INT", ":", "if", "(", "TARGET_ARCH64", "&&", "TARGET_FPU", "&&", "named", ")", "{", "if", "(", "slotno", ">=", "SPARC_FP_ARG_MAX", ")", "return", "-", "1", ";", "regno", "=", "SPARC_FP_ARG_FIRST", "+", "slotno", "*", "2", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "<=", "4", ")", "regno", "++", ";", "break", ";", "}", "case", "MODE_INT", ":", "case", "MODE_COMPLEX_INT", ":", "if", "(", "slotno", ">=", "SPARC_INT_ARG_MAX", ")", "return", "-", "1", ";", "regno", "=", "regbase", "+", "slotno", ";", "break", ";", "case", "MODE_RANDOM", ":", "if", "(", "mode", "==", "VOIDmode", ")", "return", "-", "1", ";", "gcc_assert", "(", "mode", "==", "BLKmode", ")", ";", "if", "(", "TARGET_ARCH32", "||", "!", "type", "||", "(", "TREE_CODE", "(", "type", ")", "!=", "RECORD_TYPE", "&&", "TREE_CODE", "(", "type", ")", "!=", "VECTOR_TYPE", ")", ")", "{", "if", "(", "slotno", ">=", "SPARC_INT_ARG_MAX", ")", "return", "-", "1", ";", "regno", "=", "regbase", "+", "slotno", ";", "}", "else", "{", "if", "(", "slotno", ">=", "SPARC_FP_ARG_MAX", ")", "return", "-", "1", ";", "if", "(", "TREE_CODE", "(", "type", ")", "==", "RECORD_TYPE", ")", "{", "classify_data_t", "data", "=", "{", "false", ",", "false", "}", ";", "traverse_record_type", "<", "classify_data_t", ",", "classify_registers", ">", "(", "type", ",", "named", ",", "&", "data", ")", ";", "if", "(", "data", ".", "fp_regs", ")", "{", "if", "(", "slotno", ">=", "SPARC_FP_ARG_MAX", "-", "1", "&&", "!", "data", ".", "fp_regs_in_first_word", ")", "return", "-", "1", ";", "}", "else", "{", "if", "(", "slotno", ">=", "SPARC_INT_ARG_MAX", ")", "return", "-", "1", ";", "}", "}", "return", "slotno", ";", "}", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "*", "pregno", "=", "regno", ";", "return", "slotno", ";", "}", ""], "natrual_language": ["Compute", "the", "slot", "number", "to", "pass", "an", "argument", "in", ".", "Return", "the", "slot", "number", "or", "-1", "if", "passing", "on", "the", "stack", ".", "CUM", "is", "a", "variable", "of", "type", "CUMULATIVE_ARGS", "which", "gives", "info", "about", "the", "preceding", "args", "and", "about", "the", "function", "being", "called", ".", "MODE", "is", "the", "argument", "'s", "machine", "mode", ".", "TYPE", "is", "the", "data", "type", "of", "the", "argument", "(", "as", "a", "tree", ")", ".", "This", "is", "null", "for", "libcalls", "where", "that", "information", "may", "not", "be", "available", ".", "NAMED", "is", "nonzero", "if", "this", "argument", "is", "a", "named", "parameter", "(", "otherwise", "it", "is", "an", "extra", "parameter", "matching", "an", "ellipsis", ")", ".", "INCOMING_P", "is", "zero", "for", "FUNCTION_ARG", ",", "nonzero", "for", "FUNCTION_INCOMING_ARG", ".", "*", "PREGNO", "records", "the", "register", "number", "to", "use", "if", "scalar", "type", ".", "*", "PPADDING", "records", "the", "amount", "of", "padding", "needed", "in", "words", "."], "TS_V_token": ["sparc", "0", "1", "0", "1", "128", "1", "0", "1", "1", "2", "4", "1", "1", "1", "1", "1", "1", "1"], "File": "sparc6", "Func": "function_arg_slotno", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2442, "Length": 436, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Sparc Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Sparc", "\"Sparc Assembly Printer\""], "File": "SparcAsmPrinter12", "Func": "getPassName", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2443, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "NVPTXAsmPrinter", "::", "emitFunctionBodyStart", "(", ")", "{", "SmallString", "<", "128", ">", "Str", ";", "raw_svector_ostream", "O", "(", "Str", ")", ";", "emitDemotedVars", "(", "&", "MF", "->", "getFunction", "(", ")", ",", "O", ")", ";", "OutStreamer", "->", "emitRawText", "(", "O", ".", "str", "(", ")", ")", ";", "}", ""], "natrual_language": ["Targets", "can", "override", "this", "to", "emit", "stuff", "before", "the", "first", "basic", "block", "in", "the", "function", "."], "TS_V_token": ["NVPTX", "NVPTX", "128"], "File": "NVPTXAsmPrinter15", "Func": "emitFunctionBodyStart", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2444, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "canonicalize", "(", ")", "{", "if", "(", "!", "isLHSReg", "(", ")", "&&", "isRHSReg", "(", ")", ")", "{", "std", "::", "swap", "(", "LHSReg", ",", "RHSReg", ")", ";", "std", "::", "swap", "(", "LHSImm", ",", "RHSImm", ")", ";", "CC", "=", "ISD", "::", "getSetCCSwappedOperands", "(", "CC", ")", ";", "}", "}", ""], "natrual_language": ["Form", "a", "canonical", "key", "for", "the", "specified", "mangling", "."], "TS_V_token": ["GBZ80", "ISD::getSetCCSwappedOperands"], "File": "GBZ80PostISel", "Func": "canonicalize", "Target": "GBZ80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2445, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "symbolic_expression_p", "(", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", ")", "return", "1", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST", ")", "return", "symbolic_expression_p", "(", "XEXP", "(", "x", ",", "0", ")", ")", ";", "if", "(", "UNARY_P", "(", "x", ")", ")", "return", "symbolic_expression_p", "(", "XEXP", "(", "x", ",", "0", ")", ")", ";", "if", "(", "ARITHMETIC_P", "(", "x", ")", ")", "return", "(", "symbolic_expression_p", "(", "XEXP", "(", "x", ",", "0", ")", ")", "||", "symbolic_expression_p", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Return", "1", "if", "X", "contains", "a", "symbolic", "expression", ".", "We", "know", "these", "expressions", "will", "have", "one", "of", "a", "few", "well", "defined", "forms", ",", "so", "we", "need", "only", "check", "those", "forms", "."], "TS_V_token": ["mips", "1", "0", "0", "0", "1", "0"], "File": "mips3", "Func": "symbolic_expression_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2446, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "const", "TargetRegisterInfo", "*", "RegInfo", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "return", "(", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "||", "RegInfo", "->", "needsStackRealignment", "(", "MF", ")", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", "||", "MFI", "->", "isFrameAddressTaken", "(", ")", "||", "MFI", "->", "hasInlineAsmWithSPAdjust", "(", ")", "||", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "getForceFramePointer", "(", ")", "||", "MMI", ".", "callsUnwindInit", "(", ")", "||", "MMI", ".", "callsEHReturn", "(", ")", "||", "MFI", "->", "hasStackMap", "(", ")", "||", "MFI", "->", "hasPatchPoint", "(", ")", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86FrameLowering106", "Func": "hasFP", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2447, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "ARMBaseInstrInfo", "::", "insertOutlinedCall", "(", "Module", "&", "M", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "It", ",", "MachineFunction", "&", "MF", ",", "outliner", "::", "Candidate", "&", "C", ")", "const", "{", "MachineInstrBuilder", "MIB", ";", "MachineBasicBlock", "::", "iterator", "CallPt", ";", "unsigned", "Opc", ";", "bool", "isThumb", "=", "Subtarget", ".", "isThumb", "(", ")", ";", "if", "(", "C", ".", "CallConstructionID", "==", "MachineOutlinerTailCall", ")", "{", "Opc", "=", "isThumb", "?", "Subtarget", ".", "isTargetMachO", "(", ")", "?", "ARM", "::", "tTAILJMPd", ":", "ARM", "::", "tTAILJMPdND", ":", "ARM", "::", "TAILJMPd", ";", "MIB", "=", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "Opc", ")", ")", ".", "addGlobalAddress", "(", "M", ".", "getNamedValue", "(", "MF", ".", "getName", "(", ")", ")", ")", ";", "if", "(", "isThumb", ")", "MIB", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "It", "=", "MBB", ".", "insert", "(", "It", ",", "MIB", ")", ";", "return", "It", ";", "}", "Opc", "=", "isThumb", "?", "ARM", "::", "tBL", ":", "ARM", "::", "BL", ";", "MachineInstrBuilder", "CallMIB", "=", "BuildMI", "(", "MF", ",", "DebugLoc", "(", ")", ",", "get", "(", "Opc", ")", ")", ";", "if", "(", "isThumb", ")", "CallMIB", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "CallMIB", ".", "addGlobalAddress", "(", "M", ".", "getNamedValue", "(", "MF", ".", "getName", "(", ")", ")", ")", ";", "if", "(", "C", ".", "CallConstructionID", "==", "MachineOutlinerNoLRSave", "||", "C", ".", "CallConstructionID", "==", "MachineOutlinerThunk", ")", "{", "It", "=", "MBB", ".", "insert", "(", "It", ",", "CallMIB", ")", ";", "return", "It", ";", "}", "const", "ARMFunctionInfo", "&", "AFI", "=", "*", "C", ".", "getMF", "(", ")", "->", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "if", "(", "C", ".", "CallConstructionID", "==", "MachineOutlinerRegSave", ")", "{", "unsigned", "Reg", "=", "findRegisterToSaveLRTo", "(", "C", ")", ";", "assert", "(", "Reg", "!=", "0", "&&", "\"No callee-saved register available?\"", ")", ";", "copyPhysReg", "(", "MBB", ",", "It", ",", "DebugLoc", "(", ")", ",", "Reg", ",", "ARM", "::", "LR", ",", "true", ")", ";", "if", "(", "!", "AFI", ".", "isLRSpilled", "(", ")", ")", "emitCFIForLRSaveToReg", "(", "MBB", ",", "It", ",", "Reg", ")", ";", "CallPt", "=", "MBB", ".", "insert", "(", "It", ",", "CallMIB", ")", ";", "copyPhysReg", "(", "MBB", ",", "It", ",", "DebugLoc", "(", ")", ",", "ARM", "::", "LR", ",", "Reg", ",", "true", ")", ";", "if", "(", "!", "AFI", ".", "isLRSpilled", "(", ")", ")", "emitCFIForLRRestoreFromReg", "(", "MBB", ",", "It", ")", ";", "It", "--", ";", "return", "CallPt", ";", "}", "if", "(", "!", "MBB", ".", "isLiveIn", "(", "ARM", "::", "LR", ")", ")", "MBB", ".", "addLiveIn", "(", "ARM", "::", "LR", ")", ";", "bool", "Auth", "=", "!", "AFI", ".", "isLRSpilled", "(", ")", "&&", "AFI", ".", "shouldSignReturnAddress", "(", "true", ")", ";", "saveLROnStack", "(", "MBB", ",", "It", ",", "!", "AFI", ".", "isLRSpilled", "(", ")", ",", "Auth", ")", ";", "CallPt", "=", "MBB", ".", "insert", "(", "It", ",", "CallMIB", ")", ";", "restoreLRFromStack", "(", "MBB", ",", "It", ",", "!", "AFI", ".", "isLRSpilled", "(", ")", ",", "Auth", ")", ";", "It", "--", ";", "return", "CallPt", ";", "}", ""], "natrual_language": ["Insert", "a", "call", "to", "an", "outlined", "function", "into", "the", "program", "."], "TS_V_token": ["ARM", "ARM", "ARM::tTAILJMPd", "ARM::tTAILJMPdND", "ARM::TAILJMPd", "ARMCC::AL", "ARM::tBL", "ARM::BL", "ARMCC::AL", "ARM", "ARM", "0", "\"No callee-saved register available?\"", "ARM::LR", "ARM::LR", "ARM::LR", "ARM::LR"], "File": "ARMBaseInstrInfo70", "Func": "insertOutlinedCall", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2448, "Length": 459, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_variable_issue", "(", "FILE", "*", "stream", ",", "int", "verbose", ",", "rtx_insn", "*", "insn", ",", "int", "more", ")", "{", "int", "r", "=", "rs6000_variable_issue_1", "(", "insn", ",", "more", ")", ";", "if", "(", "verbose", ")", "fprintf", "(", "stream", ",", "\"// rs6000_variable_issue (more = %d) = %d\\n\"", ",", "more", ",", "r", ")", ";", "return", "r", ";", "}", ""], "natrual_language": ["Power4", "load", "update", "and", "store", "update", "instructions", "are", "cracked", "into", "a", "load", "or", "store", "and", "an", "integer", "insn", "which", "are", "executed", "in", "the", "same", "cycle", ".", "Branches", "have", "their", "own", "dispatch", "slot", "which", "does", "not", "count", "against", "the", "GCC", "issue", "rate", ",", "but", "it", "changes", "the", "program", "flow", "so", "there", "are", "no", "other", "instructions", "to", "issue", "in", "this", "cycle", "."], "TS_V_token": ["powerpcspe", "\"// rs6000_variable_issue (more = %d) = %d\\n\""], "File": "powerpcspe", "Func": "rs6000_variable_issue", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2449, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "yaml", "::", "MachineFunctionInfo", "*", "WebAssemblyTargetMachine", "::", "convertFuncInfoToYAML", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "auto", "*", "MFI", "=", "MF", ".", "getInfo", "<", "WebAssemblyFunctionInfo", ">", "(", ")", ";", "return", "new", "yaml", "::", "WebAssemblyFunctionInfo", "(", "*", "MFI", ")", ";", "}", ""], "natrual_language": ["Allocate", "and", "initialize", "an", "instance", "of", "the", "YAML", "representation", "of", "the", "MachineFunctionInfo", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly"], "File": "WebAssemblyTargetMachine13", "Func": "convertFuncInfoToYAML", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2450, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "alpha_emit_xfloating_compare", "(", "enum", "rtx_code", "*", "pcode", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "enum", "rtx_code", "cmp_code", ",", "res_code", ";", "rtx", "func", ",", "out", ",", "operands", "[", "2", "]", ";", "cmp_code", "=", "*", "pcode", ";", "switch", "(", "cmp_code", ")", "{", "case", "UNORDERED", ":", "cmp_code", "=", "EQ", ";", "res_code", "=", "LT", ";", "break", ";", "case", "ORDERED", ":", "cmp_code", "=", "EQ", ";", "res_code", "=", "GE", ";", "break", ";", "case", "NE", ":", "res_code", "=", "NE", ";", "break", ";", "case", "EQ", ":", "case", "LT", ":", "case", "GT", ":", "case", "LE", ":", "case", "GE", ":", "res_code", "=", "GT", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "*", "pcode", "=", "res_code", ";", "func", "=", "alpha_lookup_xfloating_lib_func", "(", "cmp_code", ")", ";", "operands", "[", "0", "]", "=", "op0", ";", "operands", "[", "1", "]", "=", "op1", ";", "out", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "alpha_emit_xfloating_libcall", "(", "func", ",", "out", ",", "operands", ",", "2", ",", "gen_rtx_fmt_ee", "(", "cmp_code", ",", "CCmode", ",", "op0", ",", "op1", ")", ")", ";", "return", "out", ";", "}", ""], "natrual_language": ["Emit", "an", "X_floating", "library", "function", "call", "for", "a", "comparison", "."], "TS_V_token": ["alpha", "2", "0", "1", "2"], "File": "alpha3", "Func": "alpha_emit_xfloating_compare", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2451, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "Instruction", "*", ">", "AArch64TTIImpl", "::", "instCombineIntrinsic", "(", "InstCombiner", "&", "IC", ",", "IntrinsicInst", "&", "II", ")", "const", "{", "Intrinsic", "::", "ID", "IID", "=", "II", ".", "getIntrinsicID", "(", ")", ";", "switch", "(", "IID", ")", "{", "default", ":", "break", ";", "case", "Intrinsic", "::", "aarch64_sve_convert_from_svbool", ":", "return", "instCombineConvertFromSVBool", "(", "IC", ",", "II", ")", ";", "case", "Intrinsic", "::", "aarch64_sve_dup", ":", "return", "instCombineSVEDup", "(", "IC", ",", "II", ")", ";", "case", "Intrinsic", "::", "aarch64_sve_dup_x", ":", "return", "instCombineSVEDupX", "(", "IC", ",", "II", ")", ";", "case", "Intrinsic", "::", "aarch64_sve_cmpne", ":", "case", "Intrinsic", "::", "aarch64_sve_cmpne_wide", ":", "return", "instCombineSVECmpNE", "(", "IC", ",", "II", ")", ";", "case", "Intrinsic", "::", "aarch64_sve_rdffr", ":", "return", "instCombineRDFFR", "(", "IC", ",", "II", ")", ";", "case", "Intrinsic", "::", "aarch64_sve_lasta", ":", "case", "Intrinsic", "::", "aarch64_sve_lastb", ":", "return", "instCombineSVELast", "(", "IC", ",", "II", ")", ";", "case", "Intrinsic", "::", "aarch64_sve_cntd", ":", "return", "instCombineSVECntElts", "(", "IC", ",", "II", ",", "2", ")", ";", "case", "Intrinsic", "::", "aarch64_sve_cntw", ":", "return", "instCombineSVECntElts", "(", "IC", ",", "II", ",", "4", ")", ";", "case", "Intrinsic", "::", "aarch64_sve_cnth", ":", "return", "instCombineSVECntElts", "(", "IC", ",", "II", ",", "8", ")", ";", "case", "Intrinsic", "::", "aarch64_sve_cntb", ":", "return", "instCombineSVECntElts", "(", "IC", ",", "II", ",", "16", ")", ";", "case", "Intrinsic", "::", "aarch64_sve_ptest_any", ":", "case", "Intrinsic", "::", "aarch64_sve_ptest_first", ":", "case", "Intrinsic", "::", "aarch64_sve_ptest_last", ":", "return", "instCombineSVEPTest", "(", "IC", ",", "II", ")", ";", "case", "Intrinsic", "::", "aarch64_sve_mul", ":", "case", "Intrinsic", "::", "aarch64_sve_fmul", ":", "return", "instCombineSVEVectorMul", "(", "IC", ",", "II", ")", ";", "case", "Intrinsic", "::", "aarch64_sve_tbl", ":", "return", "instCombineSVETBL", "(", "IC", ",", "II", ")", ";", "case", "Intrinsic", "::", "aarch64_sve_uunpkhi", ":", "case", "Intrinsic", "::", "aarch64_sve_uunpklo", ":", "case", "Intrinsic", "::", "aarch64_sve_sunpkhi", ":", "case", "Intrinsic", "::", "aarch64_sve_sunpklo", ":", "return", "instCombineSVEUnpack", "(", "IC", ",", "II", ")", ";", "case", "Intrinsic", "::", "aarch64_sve_tuple_get", ":", "return", "instCombineSVETupleGet", "(", "IC", ",", "II", ")", ";", "case", "Intrinsic", "::", "aarch64_sve_zip1", ":", "case", "Intrinsic", "::", "aarch64_sve_zip2", ":", "return", "instCombineSVEZip", "(", "IC", ",", "II", ")", ";", "}", "return", "None", ";", "}", ""], "natrual_language": ["Targets", "can", "implement", "their", "own", "combinations", "for", "target-specific", "intrinsics", "."], "TS_V_token": ["AArch64", "AArch64", "Intrinsic::ID", "Intrinsic::aarch64_sve_convert_from_svbool", "Intrinsic::aarch64_sve_dup", "Intrinsic::aarch64_sve_dup_x", "Intrinsic::aarch64_sve_cmpne", "Intrinsic::aarch64_sve_cmpne_wide", "Intrinsic::aarch64_sve_rdffr", "Intrinsic::aarch64_sve_lasta", "Intrinsic::aarch64_sve_lastb", "Intrinsic::aarch64_sve_cntd", "2", "Intrinsic::aarch64_sve_cntw", "4", "Intrinsic::aarch64_sve_cnth", "8", "Intrinsic::aarch64_sve_cntb", "16", "Intrinsic::aarch64_sve_ptest_any", "Intrinsic::aarch64_sve_ptest_first", "Intrinsic::aarch64_sve_ptest_last", "Intrinsic::aarch64_sve_mul", "Intrinsic::aarch64_sve_fmul", "Intrinsic::aarch64_sve_tbl", "Intrinsic::aarch64_sve_uunpkhi", "Intrinsic::aarch64_sve_uunpklo", "Intrinsic::aarch64_sve_sunpkhi", "Intrinsic::aarch64_sve_sunpklo", "Intrinsic::aarch64_sve_tuple_get", "Intrinsic::aarch64_sve_zip1", "Intrinsic::aarch64_sve_zip2"], "File": "AArch64TargetTransformInfo69", "Func": "instCombineIntrinsic", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2452, "Length": 305, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "BPFRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "SPAdj", "==", "0", "&&", "\"Unexpected\"", ")", ";", "unsigned", "i", "=", "0", ";", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "DebugLoc", "DL", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "if", "(", "!", "DL", ")", "for", "(", "auto", "&", "I", ":", "MBB", ")", "if", "(", "I", ".", "getDebugLoc", "(", ")", ")", "{", "DL", "=", "I", ".", "getDebugLoc", "(", ")", ";", "break", ";", "}", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "\"Instr doesn't have FrameIndex operand!\"", ")", ";", "}", "Register", "FrameReg", "=", "getFrameRegister", "(", "MF", ")", ";", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "i", ")", ".", "getIndex", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "BPF", "::", "MOV_rr", ")", "{", "int", "Offset", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getObjectOffset", "(", "FrameIndex", ")", ";", "WarnSize", "(", "Offset", ",", "MF", ",", "DL", ")", ";", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "FrameReg", ",", "false", ")", ";", "Register", "reg", "=", "MI", ".", "getOperand", "(", "i", "-", "1", ")", ".", "getReg", "(", ")", ";", "BuildMI", "(", "MBB", ",", "++", "II", ",", "DL", ",", "TII", ".", "get", "(", "BPF", "::", "ADD_ri", ")", ",", "reg", ")", ".", "addReg", "(", "reg", ")", ".", "addImm", "(", "Offset", ")", ";", "return", ";", "}", "int", "Offset", "=", "MF", ".", "getFrameInfo", "(", ")", ".", "getObjectOffset", "(", "FrameIndex", ")", "+", "MI", ".", "getOperand", "(", "i", "+", "1", ")", ".", "getImm", "(", ")", ";", "if", "(", "!", "isInt", "<", "32", ">", "(", "Offset", ")", ")", "llvm_unreachable", "(", "\"bug in frame offset\"", ")", ";", "WarnSize", "(", "Offset", ",", "MF", ",", "DL", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "BPF", "::", "FI_ri", ")", "{", "Register", "reg", "=", "MI", ".", "getOperand", "(", "i", "-", "1", ")", ".", "getReg", "(", ")", ";", "BuildMI", "(", "MBB", ",", "++", "II", ",", "DL", ",", "TII", ".", "get", "(", "BPF", "::", "MOV_rr", ")", ",", "reg", ")", ".", "addReg", "(", "FrameReg", ")", ";", "BuildMI", "(", "MBB", ",", "II", ",", "DL", ",", "TII", ".", "get", "(", "BPF", "::", "ADD_ri", ")", ",", "reg", ")", ".", "addReg", "(", "reg", ")", ".", "addImm", "(", "Offset", ")", ";", "MI", ".", "eraseFromParent", "(", ")", ";", "}", "else", "{", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "FrameReg", ",", "false", ")", ";", "MI", ".", "getOperand", "(", "i", "+", "1", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["BPF", "BPF", "0", "\"Unexpected\"", "0", "\"Instr doesn't have FrameIndex operand!\"", "BPF::MOV_rr", "1", "BPF::ADD_ri", "1", "32", "\"bug in frame offset\"", "BPF::FI_ri", "1", "BPF::MOV_rr", "BPF::ADD_ri", "1"], "File": "BPFRegisterInfo4", "Func": "eliminateFrameIndex", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2453, "Length": 453, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_bti_enabled", "(", "void", ")", "{", "return", "(", "aarch64_enable_bti", "==", "1", ")", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "Branch", "Target", "Identification", "Mechanism", "is", "enabled", "."], "TS_V_token": ["aarch64", "1"], "File": "aarch64", "Func": "aarch64_bti_enabled", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2454, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AMDGPUArgumentUsageInfo", "::", "print", "(", "raw_ostream", "&", "OS", ",", "const", "Module", "*", "M", ")", "const", "{", "for", "(", "const", "auto", "&", "FI", ":", "ArgInfoMap", ")", "{", "OS", "<<", "\"Arguments for \"", "<<", "FI", ".", "first", "->", "getName", "(", ")", "<<", "'\\n'", "<<", "\" PrivateSegmentBuffer: \"", "<<", "FI", ".", "second", ".", "PrivateSegmentBuffer", "<<", "\" DispatchPtr: \"", "<<", "FI", ".", "second", ".", "DispatchPtr", "<<", "\" QueuePtr: \"", "<<", "FI", ".", "second", ".", "QueuePtr", "<<", "\" KernargSegmentPtr: \"", "<<", "FI", ".", "second", ".", "KernargSegmentPtr", "<<", "\" DispatchID: \"", "<<", "FI", ".", "second", ".", "DispatchID", "<<", "\" FlatScratchInit: \"", "<<", "FI", ".", "second", ".", "FlatScratchInit", "<<", "\" PrivateSegmentSize: \"", "<<", "FI", ".", "second", ".", "PrivateSegmentSize", "<<", "\" GridWorkgroupCountX: \"", "<<", "FI", ".", "second", ".", "GridWorkGroupCountX", "<<", "\" GridWorkgroupCountY: \"", "<<", "FI", ".", "second", ".", "GridWorkGroupCountY", "<<", "\" GridWorkgroupCountZ: \"", "<<", "FI", ".", "second", ".", "GridWorkGroupCountZ", "<<", "\" WorkGroupIDX: \"", "<<", "FI", ".", "second", ".", "WorkGroupIDX", "<<", "\" WorkGroupIDY: \"", "<<", "FI", ".", "second", ".", "WorkGroupIDY", "<<", "\" WorkGroupIDZ: \"", "<<", "FI", ".", "second", ".", "WorkGroupIDZ", "<<", "\" WorkGroupInfo: \"", "<<", "FI", ".", "second", ".", "WorkGroupInfo", "<<", "\" PrivateSegmentWaveByteOffset: \"", "<<", "FI", ".", "second", ".", "PrivateSegmentWaveByteOffset", "<<", "\" ImplicitBufferPtr: \"", "<<", "FI", ".", "second", ".", "ImplicitBufferPtr", "<<", "\" ImplicitArgPtr: \"", "<<", "FI", ".", "second", ".", "ImplicitArgPtr", "<<", "\" WorkItemIDX \"", "<<", "FI", ".", "second", ".", "WorkItemIDX", "<<", "\" WorkItemIDY \"", "<<", "FI", ".", "second", ".", "WorkItemIDY", "<<", "\" WorkItemIDZ \"", "<<", "FI", ".", "second", ".", "WorkItemIDZ", "<<", "'\\n'", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "\"Arguments for \"", "\" PrivateSegmentBuffer: \"", "\" DispatchPtr: \"", "\" QueuePtr: \"", "\" KernargSegmentPtr: \"", "\" DispatchID: \"", "\" FlatScratchInit: \"", "\" PrivateSegmentSize: \"", "\" GridWorkgroupCountX: \"", "\" GridWorkgroupCountY: \"", "\" GridWorkgroupCountZ: \"", "\" WorkGroupIDX: \"", "\" WorkGroupIDY: \"", "\" WorkGroupIDZ: \"", "\" WorkGroupInfo: \"", "\" PrivateSegmentWaveByteOffset: \"", "\" ImplicitBufferPtr: \"", "\" ImplicitArgPtr: \"", "\" WorkItemIDX \"", "\" WorkItemIDY \"", "\" WorkItemIDZ \""], "File": "AMDGPUArgumentUsageInfo10", "Func": "print", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2455, "Length": 204, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_va_start", "(", "tree", "valist", ",", "rtx", "nextarg", ")", "{", "nextarg", "=", "plus_constant", "(", "Pmode", ",", "nextarg", ",", "-", "cfun", "->", "machine", "->", "varargs_size", ")", ";", "std_expand_builtin_va_start", "(", "valist", ",", "nextarg", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_EXPAND_BUILTIN_VA_START", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_va_start", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2456, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMem", "(", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["isMem", "-", "Is", "this", "a", "memory", "operand", "?"], "TS_V_token": ["R600"], "File": "AMDGPUAsmParser18", "Func": "isMem", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2457, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_options_perform_arch_sanity_checks", "(", "void", ")", "{", "if", "(", "TARGET_INTERWORK", ")", "arm_cpp_interwork", "=", "1", ";", "if", "(", "arm_arch5", ")", "target_flags", "&=", "~", "MASK_INTERWORK", ";", "if", "(", "TARGET_IWMMXT", "&&", "!", "ARM_DOUBLEWORD_ALIGN", ")", "error", "(", "\"iwmmxt requires an AAPCS compatible ABI for proper operation\"", ")", ";", "if", "(", "TARGET_IWMMXT_ABI", "&&", "!", "TARGET_IWMMXT", ")", "error", "(", "\"iwmmxt abi requires an iwmmxt capable cpu\"", ")", ";", "if", "(", "TARGET_INTERWORK", "&&", "!", "TARGET_BPABI", "&&", "!", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_thumb", ")", ")", "{", "warning", "(", "0", ",", "\"target CPU does not support interworking\"", ")", ";", "target_flags", "&=", "~", "MASK_INTERWORK", ";", "}", "if", "(", "TARGET_SOFT_FLOAT", ")", "arm_fpu_attr", "=", "FPU_NONE", ";", "else", "arm_fpu_attr", "=", "FPU_VFP", ";", "if", "(", "TARGET_AAPCS_BASED", ")", "{", "if", "(", "TARGET_CALLER_INTERWORKING", ")", "error", "(", "\"AAPCS does not support -mcaller-super-interworking\"", ")", ";", "else", "if", "(", "TARGET_CALLEE_INTERWORKING", ")", "error", "(", "\"AAPCS does not support -mcallee-super-interworking\"", ")", ";", "}", "if", "(", "!", "arm_arch4", "&&", "arm_fp16_format", "!=", "ARM_FP16_FORMAT_NONE", ")", "sorry", "(", "\"__fp16 and no ldrh\"", ")", ";", "if", "(", "use_cmse", "&&", "!", "arm_arch_cmse", ")", "error", "(", "\"target CPU does not support ARMv8-M Security Extensions\"", ")", ";", "if", "(", "use_cmse", "&&", "LAST_VFP_REGNUM", ">", "LAST_LO_VFP_REGNUM", ")", "error", "(", "\"ARMv8-M Security Extensions incompatible with selected FPU\"", ")", ";", "if", "(", "TARGET_AAPCS_BASED", ")", "{", "if", "(", "arm_abi", "==", "ARM_ABI_IWMMXT", ")", "arm_pcs_default", "=", "ARM_PCS_AAPCS_IWMMXT", ";", "else", "if", "(", "TARGET_HARD_FLOAT_ABI", ")", "{", "arm_pcs_default", "=", "ARM_PCS_AAPCS_VFP", ";", "if", "(", "!", "bitmap_bit_p", "(", "arm_active_target", ".", "isa", ",", "isa_bit_vfpv2", ")", ")", "error", "(", "\"-mfloat-abi=hard: selected processor lacks an FPU\"", ")", ";", "}", "else", "arm_pcs_default", "=", "ARM_PCS_AAPCS", ";", "}", "else", "{", "if", "(", "arm_float_abi", "==", "ARM_FLOAT_ABI_HARD", ")", "sorry", "(", "\"-mfloat-abi=hard and VFP\"", ")", ";", "if", "(", "arm_abi", "==", "ARM_ABI_APCS", ")", "arm_pcs_default", "=", "ARM_PCS_APCS", ";", "else", "arm_pcs_default", "=", "ARM_PCS_ATPCS", ";", "}", "}", ""], "natrual_language": ["Perform", "some", "validation", "between", "the", "desired", "architecture", "and", "the", "rest", "of", "the", "options", "."], "TS_V_token": ["arm", "1", "\"iwmmxt requires an AAPCS compatible ABI for proper operation\"", "\"iwmmxt abi requires an iwmmxt capable cpu\"", "0", "\"target CPU does not support interworking\"", "\"AAPCS does not support -mcaller-super-interworking\"", "\"AAPCS does not support -mcallee-super-interworking\"", "\"__fp16 and no ldrh\"", "\"target CPU does not support ARMv8-M Security Extensions\"", "\"ARMv8-M Security Extensions incompatible with selected FPU\"", "\"-mfloat-abi=hard: selected processor lacks an FPU\"", "\"-mfloat-abi=hard and VFP\""], "File": "arm7", "Func": "arm_options_perform_arch_sanity_checks", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2458, "Length": 234, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "EmitInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "override", "{", "EmitA64MappingSymbol", "(", ")", ";", "MCELFStreamer", "::", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "AArch64BranchTargetAligner", "BTA", ";", "unsigned", "Opcode", "=", "Inst", ".", "getOpcode", "(", ")", ";", "if", "(", "BTA", ".", "needsSpecialAlignment", "(", "STI", ".", "getCPU", "(", ")", ",", "Opcode", ")", ")", "{", "unsigned", "BA", "=", "BTA", ".", "getBranchTargetAlignment", "(", "Inst", ")", ";", "if", "(", "BA", ")", "{", "EmitA64MappingSymbol", "(", ")", ";", "MCELFStreamer", "::", "EmitCodeAlignment", "(", "BA", ")", ";", "}", "}", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64ELFStreamer6", "Func": "EmitInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2459, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARCompactInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "ARC", "::", "STrri", ")", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["ARCompact", "ARC", "ARC::STrri", "0"], "File": "ARCompactInstrInfo", "Func": "storeRegToStackSlot", "Target": "ARCompact", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2460, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "!", "getARMSubtarget", "(", ")", ".", "isThumb1Only", "(", ")", ")", "addPass", "(", "createARMLoadStoreOptimizationPass", "(", "true", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "getARMSubtarget", "(", ")", ".", "isLikeA9", "(", ")", ")", "addPass", "(", "createMLxExpansionPass", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "getARMSubtarget", "(", ")", ".", "isCortexA15", "(", ")", "&&", "getARMSubtarget", "(", ")", ".", "hasNEON", "(", ")", "&&", "!", "DisableA15SDOptimization", ")", "{", "addPass", "(", "createA15SDOptimizerPass", "(", ")", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM"], "File": "ARMTargetMachine100", "Func": "addPreRegAlloc", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2461, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "AArch64RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "AArch64", "::", "SP", ")", ";", "Reserved", ".", "set", "(", "AArch64", "::", "XZR", ")", ";", "Reserved", ".", "set", "(", "AArch64", "::", "WSP", ")", ";", "Reserved", ".", "set", "(", "AArch64", "::", "WZR", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", "||", "STI", "->", "isTargetDarwin", "(", ")", ")", "{", "Reserved", ".", "set", "(", "AArch64", "::", "FP", ")", ";", "Reserved", ".", "set", "(", "AArch64", "::", "W29", ")", ";", "}", "if", "(", "STI", "->", "isTargetDarwin", "(", ")", ")", "{", "Reserved", ".", "set", "(", "AArch64", "::", "X18", ")", ";", "Reserved", ".", "set", "(", "AArch64", "::", "W18", ")", ";", "}", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "{", "Reserved", ".", "set", "(", "AArch64", "::", "X19", ")", ";", "Reserved", ".", "set", "(", "AArch64", "::", "W19", ")", ";", "}", "return", "Reserved", ";", "}", ""], "natrual_language": ["getReservedRegs", "-", "Returns", "a", "bitset", "indexed", "by", "physical", "register", "number", "indicating", "if", "a", "register", "is", "a", "special", "register", "that", "has", "particular", "uses", "and", "should", "be", "considered", "unavailable", "at", "all", "times", ",", "e.g", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::SP", "AArch64::XZR", "AArch64::WSP", "AArch64::WZR", "AArch64::FP", "AArch64::W29", "AArch64::X18", "AArch64::W18", "AArch64::X19", "AArch64::W19"], "File": "AArch64RegisterInfo1", "Func": "getReservedRegs", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2462, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "uint64_t", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "MO", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["AMDGPU", "0"], "File": "AMDGPUMCCodeEmitter", "Func": "getMachineOpValue", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2463, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "llvm", "::", "PreservedAnalyses", "run", "(", "llvm", "::", "Module", "&", "M", ",", "llvm", "::", "ModuleAnalysisManager", "&", "MAM", ")", "{", "return", "runLowerConstExpr", "(", "M", ")", "?", "llvm", "::", "PreservedAnalyses", "::", "none", "(", ")", ":", "llvm", "::", "PreservedAnalyses", "::", "all", "(", ")", ";", "}", ""], "natrual_language": ["Run", "the", "analysis", "pass", "over", "a", "function", "and", "produce", "a", "dominator", "tree", "."], "TS_V_token": ["SPIRV"], "File": "SPIRVLowerConstExpr", "Func": "run", "Target": "SPIRV", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2464, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPassConfig", "::", "addGlobalInstructionSelect", "(", ")", "{", "addPass", "(", "new", "InstructionSelect", "(", "getOptLevel", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["This", "method", "should", "install", "a", "(", "global", ")", "instruction", "selector", "pass", ",", "which", "converts", "possibly", "generic", "instructions", "to", "fully", "target-specific", "instructions", ",", "thereby", "constraining", "all", "generic", "virtual", "registers", "to", "register", "classes", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMTargetMachine1", "Func": "addGlobalInstructionSelect", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2465, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SCEVInfo", "::", "dump", "(", ")", "const", "{", "if", "(", "!", "SCEVPtr", ")", "{", "llvm", "::", "dbgs", "(", ")", "<<", "\"Not a valid SCEV Node\"", "<<", "\"\\n\"", ";", "return", ";", "}", "llvm", "::", "dbgs", "(", ")", "<<", "\"Loop Name --> \"", "<<", "L", "->", "getName", "(", ")", ".", "str", "(", ")", "<<", "\"\\n\"", ";", "llvm", "::", "dbgs", "(", ")", "<<", "\"Loop Depth --> \"", "<<", "L", "->", "getLoopDepth", "(", ")", "<<", "\"\\n\"", ";", "llvm", "::", "dbgs", "(", ")", "<<", "\"ScevValue --> \"", "<<", "\"\\n\"", ";", "SCEVPtr", "->", "print", "(", "llvm", "::", "dbgs", "(", ")", ")", ";", "llvm", "::", "dbgs", "(", ")", "<<", "\"\\n\"", ";", "llvm", "::", "dbgs", "(", ")", "<<", "\"ScevStep --> \"", "<<", "\"\\n\"", ";", "llvm", "::", "dbgs", "(", ")", "<<", "getSCEVStep", "(", ")", ";", "llvm", "::", "dbgs", "(", ")", "<<", "\"\\n\"", ";", "}", ""], "natrual_language": ["Dump", "the", "plan", "to", "stderr", "(", "for", "debugging", ")", "."], "TS_V_token": ["TPC", "\"Not a valid SCEV Node\"", "\"\\n\"", "\"Loop Name --> \"", "\"\\n\"", "\"Loop Depth --> \"", "\"\\n\"", "\"ScevValue --> \"", "\"\\n\"", "\"\\n\"", "\"ScevStep --> \"", "\"\\n\"", "\"\\n\""], "File": "TPCIndexSpaceGen", "Func": "dump", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2466, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIMachineFunctionInfo", "::", "removeDeadFrameIndices", "(", "MachineFunction", "&", "MF", ")", "{", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "GCNSubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "const", "SIRegisterInfo", "*", "TRI", "=", "ST", ".", "getRegisterInfo", "(", ")", ";", "for", "(", "auto", "&", "R", ":", "make_early_inc_range", "(", "SGPRToVGPRSpills", ")", ")", "{", "if", "(", "R", ".", "first", "!=", "FramePointerSaveIndex", "&&", "R", ".", "first", "!=", "BasePointerSaveIndex", "&&", "(", "!", "TRI", "->", "isCFISavedRegsSpillEnabled", "(", ")", "||", "(", "R", ".", "first", "!=", "ReturnAddressSaveIndex", "&&", "R", ".", "first", "!=", "EXECSaveIndex", ")", ")", ")", "{", "MFI", ".", "RemoveStackObject", "(", "R", ".", "first", ")", ";", "SGPRToVGPRSpills", ".", "erase", "(", "R", ".", "first", ")", ";", "}", "}", "for", "(", "int", "i", "=", "MFI", ".", "getObjectIndexBegin", "(", ")", ",", "e", "=", "MFI", ".", "getObjectIndexEnd", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "if", "(", "i", "!=", "FramePointerSaveIndex", "&&", "i", "!=", "BasePointerSaveIndex", "&&", "(", "!", "TRI", "->", "isCFISavedRegsSpillEnabled", "(", ")", "||", "(", "i", "!=", "ReturnAddressSaveIndex", "&&", "i", "!=", "EXECSaveIndex", ")", ")", ")", "MFI", ".", "setStackID", "(", "i", ",", "TargetStackID", "::", "Default", ")", ";", "for", "(", "auto", "&", "R", ":", "VGPRToAGPRSpills", ")", "{", "if", "(", "R", ".", "second", ".", "FullyAllocated", ")", "MFI", ".", "RemoveStackObject", "(", "R", ".", "first", ")", ";", "}", "}", ""], "natrual_language": ["If", "ResetSGPRSpillStackIDs", "is", "true", ",", "reset", "the", "stack", "ID", "from", "sgpr-spill", "to", "the", "default", "stack", "."], "TS_V_token": ["AMDGPU", "SI", "SI"], "File": "SIMachineFunctionInfo", "Func": "removeDeadFrameIndices", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2467, "Length": 209, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MSP430RegisterInfo", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MSP430MachineFunctionInfo", "*", "MSP430FI", "=", "MF", ".", "getInfo", "<", "MSP430MachineFunctionInfo", ">", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "DL", "=", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "::", "getUnknownLoc", "(", ")", ")", ";", "uint64_t", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "uint64_t", "NumBytes", "=", "0", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "uint64_t", "FrameSize", "=", "StackSize", "-", "2", ";", "NumBytes", "=", "FrameSize", "-", "MSP430FI", "->", "getCalleeSavedFrameSize", "(", ")", ";", "MFI", "->", "setOffsetAdjustment", "(", "-", "NumBytes", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "MSP430", "::", "PUSH16r", ")", ")", ".", "addReg", "(", "MSP430", "::", "FPW", ",", "RegState", "::", "Kill", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "MSP430", "::", "MOV16rr", ")", ",", "MSP430", "::", "FPW", ")", ".", "addReg", "(", "MSP430", "::", "SPW", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "I", "=", "llvm", "::", "next", "(", "MF", ".", "begin", "(", ")", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "I", "->", "addLiveIn", "(", "MSP430", "::", "FPW", ")", ";", "}", "else", "NumBytes", "=", "StackSize", "-", "MSP430FI", "->", "getCalleeSavedFrameSize", "(", ")", ";", "while", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", "&&", "(", "MBBI", "->", "getOpcode", "(", ")", "==", "MSP430", "::", "PUSH16r", ")", ")", "++", "MBBI", ";", "if", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "NumBytes", ")", "{", "if", "(", "NumBytes", ")", "{", "MachineInstr", "*", "MI", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "MSP430", "::", "SUB16ri", ")", ",", "MSP430", "::", "SPW", ")", ".", "addReg", "(", "MSP430", "::", "SPW", ")", ".", "addImm", "(", "NumBytes", ")", ";", "MI", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "}", "}", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["MSP430", "MSP430", "MSP430", "MSP430", "MSP430", "0", "2", "MSP430", "MSP430::PUSH16r", "MSP430::FPW", "MSP430::MOV16rr", "MSP430::FPW", "MSP430::SPW", "MSP430::FPW", "MSP430", "MSP430::PUSH16r", "MSP430::SUB16ri", "MSP430::SPW", "MSP430::SPW", "3"], "File": "MSP430RegisterInfo25", "Func": "emitPrologue", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2468, "Length": 344, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RegisterBank", "&", "ARMRegisterBankInfo", "::", "getRegBankFromRegClass", "(", "const", "TargetRegisterClass", "&", "RC", ")", "const", "{", "using", "namespace", "ARM", ";", "switch", "(", "RC", ".", "getID", "(", ")", ")", "{", "case", "GPRRegClassID", ":", "case", "GPRnopcRegClassID", ":", "case", "tGPR_and_tcGPRRegClassID", ":", "return", "getRegBank", "(", "ARM", "::", "GPRRegBankID", ")", ";", "default", ":", "llvm_unreachable", "(", "\"Unsupported register kind\"", ")", ";", "}", "llvm_unreachable", "(", "\"Switch should handle all register classes\"", ")", ";", "}", ""], "natrual_language": ["Get", "a", "register", "bank", "that", "covers", "RC", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM::GPRRegBankID", "\"Unsupported register kind\"", "\"Switch should handle all register classes\""], "File": "ARMRegisterBankInfo11", "Func": "getRegBankFromRegClass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2469, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonOptAddrMode", "::", "isValidOffset", "(", "MachineInstr", "*", "MI", ",", "int", "Offset", ")", "{", "if", "(", "HII", "->", "isHVXVec", "(", "*", "MI", ")", ")", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "Hexagon", "::", "V6_vgathermh_pseudo", ":", "case", "Hexagon", "::", "V6_vgathermw_pseudo", ":", "case", "Hexagon", "::", "V6_vgathermhw_pseudo", ":", "case", "Hexagon", "::", "V6_vgathermhq_pseudo", ":", "case", "Hexagon", "::", "V6_vgathermwq_pseudo", ":", "case", "Hexagon", "::", "V6_vgathermhwq_pseudo", ":", "return", "HII", "->", "isValidOffset", "(", "MI", "->", "getOpcode", "(", ")", ",", "Offset", ",", "HRI", ",", "false", ")", ";", "default", ":", "return", "false", ";", "}", "}", "if", "(", "HII", "->", "getAddrMode", "(", "*", "MI", ")", "!=", "HexagonII", "::", "BaseImmOffset", ")", "return", "false", ";", "unsigned", "AlignMask", "=", "0", ";", "switch", "(", "HII", "->", "getMemAccessSize", "(", "*", "MI", ")", ")", "{", "case", "HexagonII", "::", "MemAccessSize", "::", "DoubleWordAccess", ":", "AlignMask", "=", "0x7", ";", "break", ";", "case", "HexagonII", "::", "MemAccessSize", "::", "WordAccess", ":", "AlignMask", "=", "0x3", ";", "break", ";", "case", "HexagonII", "::", "MemAccessSize", "::", "HalfWordAccess", ":", "AlignMask", "=", "0x1", ";", "break", ";", "case", "HexagonII", "::", "MemAccessSize", "::", "ByteAccess", ":", "AlignMask", "=", "0x0", ";", "break", ";", "default", ":", "return", "false", ";", "}", "if", "(", "(", "AlignMask", "&", "Offset", ")", "!=", "0", ")", "return", "false", ";", "return", "HII", "->", "isValidOffset", "(", "MI", "->", "getOpcode", "(", ")", ",", "Offset", ",", "HRI", ",", "false", ")", ";", "}", ""], "natrual_language": ["Test", "the", "validity", "of", "offset", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon::V6_vgathermh_pseudo", "Hexagon::V6_vgathermw_pseudo", "Hexagon::V6_vgathermhw_pseudo", "Hexagon::V6_vgathermhq_pseudo", "Hexagon::V6_vgathermwq_pseudo", "Hexagon::V6_vgathermhwq_pseudo", "HexagonII::BaseImmOffset", "0", "HexagonII::MemAccessSize", "0x7", "HexagonII::MemAccessSize", "0x3", "HexagonII::MemAccessSize", "0x1", "HexagonII::MemAccessSize", "0x0", "0"], "File": "HexagonOptAddrMode21", "Func": "isValidOffset", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2470, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_secondary_memory_needed", "(", "enum", "reg_class", "from_class", ",", "enum", "reg_class", "to_class", ",", "machine_mode", "mode", ")", "{", "enum", "rs6000_reg_type", "from_type", ",", "to_type", ";", "bool", "altivec_p", "=", "(", "(", "from_class", "==", "ALTIVEC_REGS", ")", "||", "(", "to_class", "==", "ALTIVEC_REGS", ")", ")", ";", "from_type", "=", "reg_class_to_reg_type", "[", "(", "int", ")", "from_class", "]", ";", "to_type", "=", "reg_class_to_reg_type", "[", "(", "int", ")", "to_class", "]", ";", "if", "(", "rs6000_secondary_reload_move", "(", "to_type", ",", "from_type", ",", "mode", ",", "(", "secondary_reload_info", "*", ")", "0", ",", "altivec_p", ")", ")", "return", "false", ";", "if", "(", "IS_FP_VECT_REG_TYPE", "(", "from_type", ")", "||", "IS_FP_VECT_REG_TYPE", "(", "to_type", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["If", "we", "are", "copying", "between", "FP", "or", "AltiVec", "registers", "and", "anything", "else", ",", "we", "need", "a", "memory", "location", ".", "The", "exception", "is", "when", "we", "are", "targeting", "ppc64", "and", "the", "move", "to/from", "fpr", "to", "gpr", "instructions", "are", "available", ".", "Also", ",", "under", "VSX", ",", "you", "can", "copy", "vector", "registers", "from", "the", "FP", "register", "set", "to", "the", "Altivec", "register", "set", "and", "vice", "versa", "."], "TS_V_token": ["rs6000", "0"], "File": "rs60004", "Func": "rs6000_secondary_memory_needed", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2471, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "alpha_set_memflags_1", "(", "rtx", "*", "xp", ",", "void", "*", "data", ")", "{", "rtx", "x", "=", "*", "xp", ",", "orig", "=", "(", "rtx", ")", "data", ";", "if", "(", "GET_CODE", "(", "x", ")", "!=", "MEM", ")", "return", "0", ";", "MEM_VOLATILE_P", "(", "x", ")", "=", "MEM_VOLATILE_P", "(", "orig", ")", ";", "MEM_IN_STRUCT_P", "(", "x", ")", "=", "MEM_IN_STRUCT_P", "(", "orig", ")", ";", "MEM_SCALAR_P", "(", "x", ")", "=", "MEM_SCALAR_P", "(", "orig", ")", ";", "MEM_NOTRAP_P", "(", "x", ")", "=", "MEM_NOTRAP_P", "(", "orig", ")", ";", "MEM_READONLY_P", "(", "x", ")", "=", "MEM_READONLY_P", "(", "orig", ")", ";", "return", "-", "1", ";", "}", ""], "natrual_language": ["Subfunction", "of", "the", "following", "function", ".", "Update", "the", "flags", "of", "any", "MEM", "found", "in", "part", "of", "X", "."], "TS_V_token": ["alpha", "0", "1"], "File": "alpha3", "Func": "alpha_set_memflags_1", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2472, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86RegisterInfo", "::", "hasReservedSpillSlot", "(", "const", "MachineFunction", "&", "MF", ",", "Register", "Reg", ",", "int", "&", "FrameIdx", ")", "const", "{", "llvm_unreachable", "(", "\"Unused function on X86. Otherwise need a test case.\"", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "target", "has", "reserved", "a", "spill", "slot", "in", "the", "stack", "frame", "of", "the", "given", "function", "for", "the", "specified", "register", "."], "TS_V_token": ["X86", "X86", "\"Unused function on X86. Otherwise need a test case.\""], "File": "X86RegisterInfo15", "Func": "hasReservedSpillSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2473, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARCompactInstrInfo", "::", "PredicateInstruction", "(", "MachineInstr", "*", "MI", ",", "const", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Pred", ")", "const", "{", "int", "PIdx", "=", "MI", "->", "findFirstPredOperandIdx", "(", ")", ";", "if", "(", "PIdx", "!=", "-", "1", ")", "{", "MachineOperand", "&", "PMO", "=", "MI", "->", "getOperand", "(", "PIdx", ")", ";", "PMO", ".", "setImm", "(", "Pred", "[", "0", "]", ".", "getImm", "(", ")", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Convert", "the", "instruction", "into", "a", "predicated", "instruction", "."], "TS_V_token": ["ARCompact", "ARC", "1", "0"], "File": "ARCompactInstrInfo", "Func": "PredicateInstruction", "Target": "ARCompact", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2474, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "CCAssignFn", "*", "MipsTargetLowering", "::", "CCAssignFnForCall", "(", ")", "const", "{", "return", "CC_Mips_FixedArg", ";", "}", ""], "natrual_language": ["Selects", "the", "correct", "CCAssignFn", "for", "a", "given", "CallingConvention", "value", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsISelLowering (2)4", "Func": "CCAssignFnForCall", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2475, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "MVT", "getScalarShiftAmountTy", "(", "EVT", "LHSTy", ")", "const", "{", "return", "MVT", "::", "i32", ";", "}", ""], "natrual_language": ["Return", "the", "type", "to", "use", "for", "a", "scalar", "shift", "opcode", ",", "given", "the", "shifted", "amount", "type", "."], "TS_V_token": ["NVPTX", "MVT::i32"], "File": "NVPTXISelLowering26", "Func": "getScalarShiftAmountTy", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2476, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "ARCompactTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "SelectionDAG", "&", "DAG", "=", "DCI", ".", "DAG", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "SELECT_CC", ":", "return", "PerformSELECTCCCombine", "(", "N", ",", "DAG", ",", "DCI", ")", ";", "default", ":", "break", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["This", "method", "will", "be", "invoked", "for", "all", "target", "nodes", "and", "for", "any", "target-independent", "nodes", "that", "the", "target", "has", "registered", "with", "invoke", "it", "for", "."], "TS_V_token": ["ARCompact", "ARC", "ISD::SELECT_CC"], "File": "ARCompactISelLowering", "Func": "PerformDAGCombine", "Target": "ARCompact", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2477, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "find_last_same_clock", "(", "rtx", "insn", ")", "{", "rtx", "retval", "=", "insn", ";", "rtx_insn", "*", "t", "=", "next_real_insn", "(", "insn", ")", ";", "while", "(", "t", "&&", "GET_MODE", "(", "t", ")", "!=", "TImode", ")", "{", "if", "(", "!", "DEBUG_INSN_P", "(", "t", ")", "&&", "recog_memoized", "(", "t", ")", ">=", "0", ")", "retval", "=", "t", ";", "t", "=", "next_real_insn", "(", "t", ")", ";", "}", "return", "retval", ";", "}", ""], "natrual_language": ["Walk", "forward", "from", "INSN", "to", "find", "the", "last", "insn", "that", "issues", "in", "the", "same", "clock", "cycle", "."], "TS_V_token": ["c6x", "0"], "File": "c6x2", "Func": "find_last_same_clock", "Target": "c6x", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 2478, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SparcTargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "unsigned", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ")", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getTarget", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_Sparc32", ")", ";", "if", "(", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "liveout_empty", "(", ")", ")", "{", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "if", "(", "RVLocs", "[", "i", "]", ".", "isRegLoc", "(", ")", ")", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "addLiveOut", "(", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ")", ";", "}", "SDValue", "Flag", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Can only return in registers!\"", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "Outs", "[", "i", "]", ".", "Val", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "}", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "return", "DAG", ".", "getNode", "(", "SPISD", "::", "RET_FLAG", ",", "dl", ",", "MVT", "::", "Other", ",", "Chain", ",", "Flag", ")", ";", "return", "DAG", ".", "getNode", "(", "SPISD", "::", "RET_FLAG", ",", "dl", ",", "MVT", "::", "Other", ",", "Chain", ")", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "outgoing", "return", "values", ",", "described", "by", "the", "Outs", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["Sparc", "Sparc", "ISD::OutputArg", "16", "Sparc", "0", "0", "\"Can only return in registers!\"", "1", "SPISD::RET_FLAG", "MVT::Other", "SPISD::RET_FLAG", "MVT::Other"], "File": "SparcISelLowering22", "Func": "LowerReturn", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2479, "Length": 266, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "sequent_regs_live", "(", "void", ")", "{", "int", "reg", ";", "int", "live_seq", "=", "0", ";", "int", "cur_seq", "=", "0", ";", "for", "(", "reg", "=", "0", ";", "reg", "<=", "LAST_CALLEE_SAVED_REG", ";", "++", "reg", ")", "{", "if", "(", "fixed_regs", "[", "reg", "]", ")", "{", "if", "(", "live_seq", "!=", "0", ")", "return", "0", ";", "else", "continue", ";", "}", "if", "(", "!", "call_used_regs", "[", "reg", "]", ")", "{", "if", "(", "df_regs_ever_live_p", "(", "reg", ")", ")", "{", "++", "live_seq", ";", "++", "cur_seq", ";", "}", "else", "cur_seq", "=", "0", ";", "}", "}", "if", "(", "!", "frame_pointer_needed", ")", "{", "if", "(", "df_regs_ever_live_p", "(", "REG_Y", ")", ")", "{", "++", "live_seq", ";", "++", "cur_seq", ";", "}", "else", "cur_seq", "=", "0", ";", "if", "(", "df_regs_ever_live_p", "(", "REG_Y", "+", "1", ")", ")", "{", "++", "live_seq", ";", "++", "cur_seq", ";", "}", "else", "cur_seq", "=", "0", ";", "}", "else", "{", "cur_seq", "+=", "2", ";", "live_seq", "+=", "2", ";", "}", "return", "(", "cur_seq", "==", "live_seq", ")", "?", "live_seq", ":", "0", ";", "}", ""], "natrual_language": ["This", "function", "checks", "sequence", "of", "live", "registers"], "TS_V_token": ["avr", "0", "0", "0", "0", "0", "0", "0", "1", "0", "2", "2", "0"], "File": "avr4", "Func": "sequent_regs_live", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2480, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MMIXAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", "Opcode", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "uint64_t", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "MCInst", "Inst", ";", "SMLoc", "ErrorLoc", ";", "switch", "(", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ")", "{", "default", ":", "break", ";", "case", "Match_Success", ":", "Inst", ".", "setLoc", "(", "IDLoc", ")", ";", "Out", ".", "EmitInstruction", "(", "Inst", ",", "getSTI", "(", ")", ")", ";", "return", "false", ";", "case", "Match_MissingFeature", ":", "return", "Error", "(", "IDLoc", ",", "\"instruction use requires an option to be enabled\"", ")", ";", "case", "Match_MnemonicFail", ":", "return", "Error", "(", "IDLoc", ",", "\"unrecognized instruction mnemonic\"", ")", ";", "case", "Match_InvalidOperand", ":", "ErrorLoc", "=", "IDLoc", ";", "if", "(", "ErrorInfo", "!=", "~", "0U", ")", "{", "if", "(", "ErrorInfo", ">=", "Operands", ".", "size", "(", ")", ")", "return", "Error", "(", "ErrorLoc", ",", "\"too few operands for instruction\"", ")", ";", "ErrorLoc", "=", "(", "(", "MMIXOperand", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ")", ".", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IDLoc", ";", "}", "return", "Error", "(", "ErrorLoc", ",", "\"invalid operand for instruction\"", ")", ";", "case", "Match_InvalidUImm8", ":", "ErrorLoc", "=", "(", "(", "MMIXOperand", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ")", ".", "getStartLoc", "(", ")", ";", "return", "Error", "(", "ErrorLoc", ",", "\"immediate must be an integer in the range [0, 0xff]\"", ")", ";", "case", "Match_InvalidUImm16", ":", "ErrorLoc", "=", "(", "(", "MMIXOperand", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ")", ".", "getStartLoc", "(", ")", ";", "return", "Error", "(", "ErrorLoc", ",", "\"immediate must be an integer in the range [0, 0xffff]\"", ")", ";", "case", "Match_InvalidFloatRoundMode", ":", "ErrorLoc", "=", "(", "(", "MMIXOperand", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ")", ".", "getStartLoc", "(", ")", ";", "return", "Error", "(", "ErrorLoc", ",", "\"operand must be an integer in the range [0, 4] \"", "\"representing one of the Float rounding mode options\"", ")", ";", "case", "Match_InvalidWyde", ":", "ErrorLoc", "=", "(", "(", "MMIXOperand", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ")", ".", "getStartLoc", "(", ")", ";", "return", "Error", "(", "ErrorLoc", ",", "\"operand must be either a label \"", "\"or an integer in the range [0, 0xffff]\"", ")", ";", "case", "Match_InvalidBranchImm16", ":", "ErrorLoc", "=", "(", "(", "MMIXOperand", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ")", ".", "getStartLoc", "(", ")", ";", "return", "Error", "(", "ErrorLoc", ",", "\"branch operand must be a label\"", ")", ";", "case", "Match_InvalidBranchImm24", ":", "ErrorLoc", "=", "(", "(", "MMIXOperand", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ")", ".", "getStartLoc", "(", ")", ";", "return", "Error", "(", "ErrorLoc", ",", "\"branch operand must be a label\"", ")", ";", "}", "llvm_unreachable", "(", "\"Unknown match type detected!\"", ")", ";", "}", ""], "natrual_language": ["MatchAndEmitInstruction", "-", "Recognize", "a", "series", "of", "operands", "of", "a", "parsed", "instruction", "as", "an", "actual", "MCInst", "and", "emit", "it", "to", "the", "specified", "MCStreamer", "."], "TS_V_token": ["MMIX", "MMIX", "\"instruction use requires an option to be enabled\"", "\"unrecognized instruction mnemonic\"", "0U", "\"too few operands for instruction\"", "MMIX", "\"invalid operand for instruction\"", "MMIX", "\"immediate must be an integer in the range [0, 0xff]\"", "MMIX", "\"immediate must be an integer in the range [0, 0xffff]\"", "MMIX", "\"operand must be an integer in the range [0, 4] \"", "\"representing one of the Float rounding mode options\"", "MMIX", "\"operand must be either a label \"", "\"or an integer in the range [0, 0xffff]\"", "MMIX", "\"branch operand must be a label\"", "MMIX", "\"branch operand must be a label\"", "\"Unknown match type detected!\""], "File": "MMIXAsmParser", "Func": "MatchAndEmitInstruction", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2481, "Length": 353, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "aarch64_return_addr_rtx", "(", "void", ")", "{", "rtx", "val", "=", "get_hard_reg_initial_val", "(", "Pmode", ",", "LR_REGNUM", ")", ";", "rtx", "lr", "=", "gen_rtx_REG", "(", "Pmode", ",", "LR_REGNUM", ")", ";", "emit_move_insn", "(", "lr", ",", "val", ")", ";", "emit_insn", "(", "GEN_FCN", "(", "CODE_FOR_xpaclri", ")", "(", ")", ")", ";", "return", "lr", ";", "}", ""], "natrual_language": ["Get", "return", "address", "without", "mangling", "."], "TS_V_token": ["aarch64"], "File": "aarch641", "Func": "aarch64_return_addr_rtx", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2482, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "expandPostRAPseudo", "(", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "bool", "HasAVX", "=", "Subtarget", ".", "hasAVX", "(", ")", ";", "MachineInstrBuilder", "MIB", "(", "*", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ",", "MI", ")", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "X86", "::", "MOV32r0", ":", "return", "Expand2AddrUndef", "(", "MIB", ",", "get", "(", "X86", "::", "XOR32rr", ")", ")", ";", "case", "X86", "::", "MOV32r1", ":", "return", "expandMOV32r1", "(", "MIB", ",", "*", "this", ",", "false", ")", ";", "case", "X86", "::", "MOV32r_1", ":", "return", "expandMOV32r1", "(", "MIB", ",", "*", "this", ",", "true", ")", ";", "case", "X86", "::", "MOV32ImmSExti8", ":", "case", "X86", "::", "MOV64ImmSExti8", ":", "return", "ExpandMOVImmSExti8", "(", "MIB", ")", ";", "case", "X86", "::", "SETB_C8r", ":", "return", "Expand2AddrUndef", "(", "MIB", ",", "get", "(", "X86", "::", "SBB8rr", ")", ")", ";", "case", "X86", "::", "SETB_C16r", ":", "return", "Expand2AddrUndef", "(", "MIB", ",", "get", "(", "X86", "::", "SBB16rr", ")", ")", ";", "case", "X86", "::", "SETB_C32r", ":", "return", "Expand2AddrUndef", "(", "MIB", ",", "get", "(", "X86", "::", "SBB32rr", ")", ")", ";", "case", "X86", "::", "SETB_C64r", ":", "return", "Expand2AddrUndef", "(", "MIB", ",", "get", "(", "X86", "::", "SBB64rr", ")", ")", ";", "case", "X86", "::", "V_SET0", ":", "case", "X86", "::", "FsFLD0SS", ":", "case", "X86", "::", "FsFLD0SD", ":", "return", "Expand2AddrUndef", "(", "MIB", ",", "get", "(", "HasAVX", "?", "X86", "::", "VXORPSrr", ":", "X86", "::", "XORPSrr", ")", ")", ";", "case", "X86", "::", "AVX_SET0", ":", "assert", "(", "HasAVX", "&&", "\"AVX not supported\"", ")", ";", "return", "Expand2AddrUndef", "(", "MIB", ",", "get", "(", "X86", "::", "VXORPSYrr", ")", ")", ";", "case", "X86", "::", "AVX512_512_SET0", ":", "return", "Expand2AddrUndef", "(", "MIB", ",", "get", "(", "X86", "::", "VPXORDZrr", ")", ")", ";", "case", "X86", "::", "V_SETALLONES", ":", "return", "Expand2AddrUndef", "(", "MIB", ",", "get", "(", "HasAVX", "?", "X86", "::", "VPCMPEQDrr", ":", "X86", "::", "PCMPEQDrr", ")", ")", ";", "case", "X86", "::", "AVX2_SETALLONES", ":", "return", "Expand2AddrUndef", "(", "MIB", ",", "get", "(", "X86", "::", "VPCMPEQDYrr", ")", ")", ";", "case", "X86", "::", "TEST8ri_NOREX", ":", "MI", "->", "setDesc", "(", "get", "(", "X86", "::", "TEST8ri", ")", ")", ";", "return", "true", ";", "case", "X86", "::", "KSET0B", ":", "case", "X86", "::", "KSET0W", ":", "return", "Expand2AddrKreg", "(", "MIB", ",", "get", "(", "X86", "::", "KXORWrr", ")", ",", "X86", "::", "K0", ")", ";", "case", "X86", "::", "KSET0D", ":", "return", "Expand2AddrKreg", "(", "MIB", ",", "get", "(", "X86", "::", "KXORDrr", ")", ",", "X86", "::", "K0", ")", ";", "case", "X86", "::", "KSET0Q", ":", "return", "Expand2AddrKreg", "(", "MIB", ",", "get", "(", "X86", "::", "KXORQrr", ")", ",", "X86", "::", "K0", ")", ";", "case", "X86", "::", "KSET1B", ":", "case", "X86", "::", "KSET1W", ":", "return", "Expand2AddrKreg", "(", "MIB", ",", "get", "(", "X86", "::", "KXNORWrr", ")", ",", "X86", "::", "K0", ")", ";", "case", "X86", "::", "KSET1D", ":", "return", "Expand2AddrKreg", "(", "MIB", ",", "get", "(", "X86", "::", "KXNORDrr", ")", ",", "X86", "::", "K0", ")", ";", "case", "X86", "::", "KSET1Q", ":", "return", "Expand2AddrKreg", "(", "MIB", ",", "get", "(", "X86", "::", "KXNORQrr", ")", ",", "X86", "::", "K0", ")", ";", "case", "TargetOpcode", "::", "LOAD_STACK_GUARD", ":", "expandLoadStackGuard", "(", "MIB", ",", "*", "this", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["This", "function", "is", "called", "for", "all", "pseudo", "instructions", "that", "remain", "after", "register", "allocation", "."], "TS_V_token": ["X86", "X86", "X86::MOV32r0", "X86::XOR32rr", "X86::MOV32r1", "X86::MOV32r_1", "X86::MOV32ImmSExti8", "X86::MOV64ImmSExti8", "X86::SETB_C8r", "X86::SBB8rr", "X86::SETB_C16r", "X86::SBB16rr", "X86::SETB_C32r", "X86::SBB32rr", "X86::SETB_C64r", "X86::SBB64rr", "X86::V_SET0", "X86::FsFLD0SS", "X86::FsFLD0SD", "X86::VXORPSrr", "X86::XORPSrr", "X86::AVX_SET0", "\"AVX not supported\"", "X86::VXORPSYrr", "X86::AVX512_512_SET0", "X86::VPXORDZrr", "X86::V_SETALLONES", "X86::VPCMPEQDrr", "X86::PCMPEQDrr", "X86::AVX2_SETALLONES", "X86::VPCMPEQDYrr", "X86::TEST8ri_NOREX", "X86::TEST8ri", "X86::KSET0B", "X86::KSET0W", "X86::KXORWrr", "X86::K0", "X86::KSET0D", "X86::KXORDrr", "X86::K0", "X86::KSET0Q", "X86::KXORQrr", "X86::K0", "X86::KSET1B", "X86::KSET1W", "X86::KXNORWrr", "X86::K0", "X86::KSET1D", "X86::KXNORDrr", "X86::K0", "X86::KSET1Q", "X86::KXNORQrr", "X86::K0"], "File": "X86InstrInfo (2)2", "Func": "expandPostRAPseudo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2483, "Length": 487, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "hppa_builtin_saveregs", "(", "void", ")", "{", "rtx", "offset", ",", "dest", ";", "tree", "fntype", "=", "TREE_TYPE", "(", "current_function_decl", ")", ";", "int", "argadj", "=", "(", "(", "!", "stdarg_p", "(", "fntype", ")", ")", "?", "UNITS_PER_WORD", ":", "0", ")", ";", "if", "(", "argadj", ")", "offset", "=", "plus_constant", "(", "Pmode", ",", "crtl", "->", "args", ".", "arg_offset_rtx", ",", "argadj", ")", ";", "else", "offset", "=", "crtl", "->", "args", ".", "arg_offset_rtx", ";", "if", "(", "TARGET_64BIT", ")", "{", "int", "i", ",", "off", ";", "if", "(", "argadj", ")", "offset", "=", "plus_constant", "(", "Pmode", ",", "crtl", "->", "args", ".", "arg_offset_rtx", ",", "-", "argadj", ")", ";", "else", "offset", "=", "crtl", "->", "args", ".", "arg_offset_rtx", ";", "for", "(", "i", "=", "26", ",", "off", "=", "-", "64", ";", "i", ">=", "19", ";", "i", "--", ",", "off", "+=", "8", ")", "emit_move_insn", "(", "gen_rtx_MEM", "(", "word_mode", ",", "plus_constant", "(", "Pmode", ",", "arg_pointer_rtx", ",", "off", ")", ")", ",", "gen_rtx_REG", "(", "word_mode", ",", "i", ")", ")", ";", "emit_move_insn", "(", "virtual_incoming_args_rtx", ",", "plus_constant", "(", "Pmode", ",", "arg_pointer_rtx", ",", "-", "64", ")", ")", ";", "return", "copy_to_reg", "(", "expand_binop", "(", "Pmode", ",", "add_optab", ",", "virtual_incoming_args_rtx", ",", "offset", ",", "0", ",", "0", ",", "OPTAB_LIB_WIDEN", ")", ")", ";", "}", "dest", "=", "gen_rtx_MEM", "(", "BLKmode", ",", "plus_constant", "(", "Pmode", ",", "crtl", "->", "args", ".", "internal_arg_pointer", ",", "-", "16", ")", ")", ";", "set_mem_alias_set", "(", "dest", ",", "get_varargs_alias_set", "(", ")", ")", ";", "set_mem_align", "(", "dest", ",", "BITS_PER_WORD", ")", ";", "move_block_from_reg", "(", "23", ",", "dest", ",", "4", ")", ";", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "return", "copy_to_reg", "(", "expand_binop", "(", "Pmode", ",", "add_optab", ",", "crtl", "->", "args", ".", "internal_arg_pointer", ",", "offset", ",", "0", ",", "0", ",", "OPTAB_LIB_WIDEN", ")", ")", ";", "}", ""], "natrual_language": ["Do", "what", "is", "necessary", "for", "`", "va_start", "'", ".", "We", "look", "at", "the", "current", "function", "to", "determine", "if", "stdargs", "or", "varargs", "is", "used", "and", "fill", "in", "an", "initial", "va_list", ".", "A", "pointer", "to", "this", "constructor", "is", "returned", "."], "TS_V_token": ["pa", "0", "26", "64", "19", "8", "64", "0", "0", "16", "23", "4", "0", "0"], "File": "pa", "Func": "hppa_builtin_saveregs", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2484, "Length": 266, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "arm_gen_return_addr_mask", "(", "void", ")", "{", "rtx", "reg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_insn", "(", "gen_return_addr_mask", "(", "reg", ")", ")", ";", "return", "reg", ";", "}", ""], "natrual_language": ["Generate", "a", "sequence", "of", "insns", "that", "will", "generate", "the", "correct", "return", "address", "mask", "depending", "on", "the", "physical", "architecture", "that", "the", "program", "is", "running", "on", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_gen_return_addr_mask", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2485, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SPIRVLegalizerInfo", "::", "legalizeCustom", "(", "LegalizerHelper", "&", "Helper", ",", "MachineInstr", "&", "MI", ")", "const", "{", "auto", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MI", ".", "getMF", "(", ")", "->", "getRegInfo", "(", ")", ";", "assert", "(", "Opc", "==", "TargetOpcode", "::", "G_ICMP", ")", ";", "assert", "(", "GR", "->", "getSPIRVTypeForVReg", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", ";", "auto", "&", "Op0", "=", "MI", ".", "getOperand", "(", "2", ")", ";", "auto", "&", "Op1", "=", "MI", ".", "getOperand", "(", "3", ")", ";", "Register", "Reg0", "=", "Op0", ".", "getReg", "(", ")", ";", "Register", "Reg1", "=", "Op1", ".", "getReg", "(", ")", ";", "CmpInst", "::", "Predicate", "Cond", "=", "static_cast", "<", "CmpInst", "::", "Predicate", ">", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "getPredicate", "(", ")", ")", ";", "if", "(", "(", "!", "ST", "->", "canDirectlyComparePointers", "(", ")", "||", "(", "Cond", "!=", "CmpInst", "::", "ICMP_EQ", "&&", "Cond", "!=", "CmpInst", "::", "ICMP_NE", ")", ")", "&&", "MRI", ".", "getType", "(", "Reg0", ")", ".", "isPointer", "(", ")", "&&", "MRI", ".", "getType", "(", "Reg1", ")", ".", "isPointer", "(", ")", ")", "{", "LLT", "ConvT", "=", "LLT", "::", "scalar", "(", "ST", "->", "getPointerSize", "(", ")", ")", ";", "Type", "*", "LLVMTy", "=", "IntegerType", "::", "get", "(", "MI", ".", "getMF", "(", ")", "->", "getFunction", "(", ")", ".", "getContext", "(", ")", ",", "ST", "->", "getPointerSize", "(", ")", ")", ";", "SPIRVType", "*", "SpirvTy", "=", "GR", "->", "getOrCreateSPIRVType", "(", "LLVMTy", ",", "Helper", ".", "MIRBuilder", ")", ";", "Op0", ".", "setReg", "(", "convertPtrToInt", "(", "Reg0", ",", "ConvT", ",", "SpirvTy", ",", "Helper", ",", "MRI", ",", "GR", ")", ")", ";", "Op1", ".", "setReg", "(", "convertPtrToInt", "(", "Reg1", ",", "ConvT", ",", "SpirvTy", ",", "Helper", ",", "MRI", ",", "GR", ")", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Called", "for", "instructions", "with", "the", "Custom", "LegalizationAction", "."], "TS_V_token": ["SPIRV", "SPIRV", "SPIRV", "0", "2", "3", "1", "SPIRV", "SPIRV"], "File": "SPIRVLegalizerInfo1", "Func": "legalizeCustom", "Target": "SPIRV", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2486, "Length": 281, "Cover_Rate": 1.0, "Template_token": []}
{"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": 2487, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "Z80TargetLowering", "::", "getSetCCResultType", "(", "const", "DataLayout", "&", "DL", ",", "LLVMContext", "&", "Context", ",", "EVT", "VT", ")", "const", "{", "assert", "(", "!", "VT", ".", "isVector", "(", ")", "&&", "\"No default SetCC type for vectors!\"", ")", ";", "return", "MVT", "::", "i8", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["Z80", "Z80", "\"No default SetCC type for vectors!\"", "MVT::i8"], "File": "Z80ISelLowering2", "Func": "getSetCCResultType", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2488, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ConvergingVLIWScheduler", "::", "initialize", "(", "ScheduleDAGMI", "*", "dag", ")", "{", "DAG", "=", "static_cast", "<", "VLIWMachineScheduler", "*", ">", "(", "dag", ")", ";", "TRI", "=", "DAG", "->", "TRI", ";", "Top", ".", "DAG", "=", "DAG", ";", "Bot", ".", "DAG", "=", "DAG", ";", "const", "TargetMachine", "&", "TM", "=", "DAG", "->", "MF", ".", "getTarget", "(", ")", ";", "const", "InstrItineraryData", "*", "Itin", "=", "TM", ".", "getInstrItineraryData", "(", ")", ";", "Top", ".", "HazardRec", "=", "TM", ".", "getInstrInfo", "(", ")", "->", "CreateTargetMIHazardRecognizer", "(", "Itin", ",", "DAG", ")", ";", "Bot", ".", "HazardRec", "=", "TM", ".", "getInstrInfo", "(", ")", "->", "CreateTargetMIHazardRecognizer", "(", "Itin", ",", "DAG", ")", ";", "Top", ".", "ResourceModel", "=", "new", "VLIWResourceModel", "(", "TM", ")", ";", "Bot", ".", "ResourceModel", "=", "new", "VLIWResourceModel", "(", "TM", ")", ";", "assert", "(", "(", "!", "llvm", "::", "ForceTopDown", "||", "!", "llvm", "::", "ForceBottomUp", ")", "&&", "\"-misched-topdown incompatible with -misched-bottomup\"", ")", ";", "}", ""], "natrual_language": ["Initialize", "the", "strategy", "after", "building", "the", "DAG", "for", "a", "new", "region", "."], "TS_V_token": ["Hexagon", "\"-misched-topdown incompatible with -misched-bottomup\""], "File": "HexagonMachineScheduler20", "Func": "initialize", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2489, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "VideocoreFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Videocore", "Videocore"], "File": "VideocoreFrameLowering", "Func": "emitEpilogue", "Target": "Videocore", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2490, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_arg_partial_bytes", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "tree", "type", ",", "bool", "named", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "bool", "passed_in_gprs", "=", "true", ";", "int", "ret", "=", "0", ";", "int", "align_words", ";", "machine_mode", "elt_mode", ";", "int", "n_elts", ";", "rs6000_discover_homogeneous_aggregate", "(", "mode", ",", "type", ",", "&", "elt_mode", ",", "&", "n_elts", ")", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_V4", ")", "return", "0", ";", "if", "(", "USE_ALTIVEC_FOR_ARG_P", "(", "cum", ",", "elt_mode", ",", "named", ")", ")", "{", "if", "(", "TARGET_64BIT", "&&", "!", "cum", "->", "prototype", "&&", "(", "!", "cum", "->", "libcall", "||", "!", "FLOAT128_VECTOR_P", "(", "elt_mode", ")", ")", ")", "return", "0", ";", "passed_in_gprs", "=", "false", ";", "if", "(", "cum", "->", "vregno", "+", "n_elts", ">", "ALTIVEC_ARG_MAX_REG", "+", "1", ")", "ret", "=", "(", "ALTIVEC_ARG_MAX_REG", "+", "1", "-", "cum", "->", "vregno", ")", "*", "16", ";", "}", "if", "(", "TARGET_MACHO", "&&", "rs6000_darwin64_struct_check_p", "(", "mode", ",", "type", ")", ")", "return", "0", ";", "align_words", "=", "rs6000_parm_start", "(", "mode", ",", "type", ",", "cum", "->", "words", ")", ";", "if", "(", "USE_FP_FOR_ARG_P", "(", "cum", ",", "elt_mode", ")", "&&", "!", "(", "TARGET_AIX", "&&", "!", "TARGET_ELF", "&&", "type", "!=", "NULL", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", ")", ")", "{", "unsigned", "long", "n_fpreg", "=", "(", "GET_MODE_SIZE", "(", "elt_mode", ")", "+", "7", ")", ">>", "3", ";", "if", "(", "type", "&&", "(", "cum", "->", "nargs_prototype", "<=", "0", "||", "(", "(", "DEFAULT_ABI", "==", "ABI_AIX", "||", "DEFAULT_ABI", "==", "ABI_ELFv2", ")", "&&", "TARGET_XL_COMPAT", "&&", "align_words", ">=", "GP_ARG_NUM_REG", ")", ")", ")", "return", "0", ";", "passed_in_gprs", "=", "false", ";", "if", "(", "cum", "->", "fregno", "+", "n_elts", "*", "n_fpreg", ">", "FP_ARG_MAX_REG", "+", "1", ")", "{", "int", "fpr", "=", "(", "(", "FP_ARG_MAX_REG", "+", "1", "-", "cum", "->", "fregno", ")", "*", "MIN", "(", "8", ",", "GET_MODE_SIZE", "(", "elt_mode", ")", ")", ")", ";", "int", "fpr_words", "=", "fpr", "/", "(", "TARGET_32BIT", "?", "4", ":", "8", ")", ";", "if", "(", "align_words", "+", "fpr_words", "<", "GP_ARG_NUM_REG", ")", "passed_in_gprs", "=", "true", ";", "else", "ret", "=", "fpr", ";", "}", "}", "if", "(", "passed_in_gprs", "&&", "align_words", "<", "GP_ARG_NUM_REG", "&&", "GP_ARG_NUM_REG", "<", "align_words", "+", "rs6000_arg_size", "(", "mode", ",", "type", ")", ")", "ret", "=", "(", "GP_ARG_NUM_REG", "-", "align_words", ")", "*", "(", "TARGET_32BIT", "?", "4", ":", "8", ")", ";", "if", "(", "ret", "!=", "0", "&&", "TARGET_DEBUG_ARG", ")", "fprintf", "(", "stderr", ",", "\"rs6000_arg_partial_bytes: %d\\n\"", ",", "ret", ")", ";", "return", "ret", ";", "}", ""], "natrual_language": ["For", "an", "arg", "passed", "partly", "in", "registers", "and", "partly", "in", "memory", ",", "this", "is", "the", "number", "of", "bytes", "passed", "in", "registers", ".", "For", "args", "passed", "entirely", "in", "registers", "or", "entirely", "in", "memory", ",", "zero", ".", "When", "an", "arg", "is", "described", "by", "a", "PARALLEL", ",", "perhaps", "using", "more", "than", "one", "register", "type", ",", "this", "function", "returns", "the", "number", "of", "bytes", "used", "by", "the", "first", "element", "of", "the", "PARALLEL", "."], "TS_V_token": ["rs6000", "0", "0", "0", "1", "1", "16", "0", "7", "3", "0", "0", "1", "1", "8", "4", "8", "4", "8", "0", "\"rs6000_arg_partial_bytes: %d\\n\""], "File": "rs60008", "Func": "rs6000_arg_partial_bytes", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2491, "Length": 369, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "bfin_legitimate_address_p", "(", "machine_mode", "mode", ",", "rtx", "x", ",", "bool", "strict", ")", "{", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "REG", ":", "if", "(", "bfin_valid_reg_p", "(", "REGNO", "(", "x", ")", ",", "strict", ",", "mode", ",", "MEM", ")", ")", "return", "true", ";", "break", ";", "case", "PLUS", ":", "if", "(", "REG_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "bfin_valid_reg_p", "(", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", ",", "strict", ",", "mode", ",", "PLUS", ")", "&&", "(", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "UNSPEC", "&&", "mode", "==", "SImode", ")", "||", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "CONST_INT", "&&", "bfin_valid_add", "(", "mode", ",", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", ")", ")", ")", "return", "true", ";", "break", ";", "case", "POST_INC", ":", "case", "POST_DEC", ":", "if", "(", "LEGITIMATE_MODE_FOR_AUTOINC_P", "(", "mode", ")", "&&", "REG_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "bfin_valid_reg_p", "(", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", ",", "strict", ",", "mode", ",", "POST_INC", ")", ")", "return", "true", ";", "case", "PRE_DEC", ":", "if", "(", "LEGITIMATE_MODE_FOR_AUTOINC_P", "(", "mode", ")", "&&", "XEXP", "(", "x", ",", "0", ")", "==", "stack_pointer_rtx", "&&", "REG_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "bfin_valid_reg_p", "(", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", ",", "strict", ",", "mode", ",", "PRE_DEC", ")", ")", "return", "true", ";", "break", ";", "default", ":", "break", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Recognize", "an", "RTL", "expression", "that", "is", "a", "valid", "memory", "address", "for", "an", "instruction", ".", "The", "MODE", "argument", "is", "the", "machine", "mode", "for", "the", "MEM", "expression", "that", "wants", "to", "use", "this", "address", ".", "Blackfin", "addressing", "modes", "are", "as", "follows", ":", "[", "preg", "]", "[", "preg", "+", "imm16", "]", "B", "[", "Preg", "+", "uimm15", "]", "W", "[", "Preg", "+", "uimm16m2", "]", "[", "Preg", "+", "uimm17m4", "]", "[", "preg++", "]", "[", "preg", "--", "]", "[", "--", "sp", "]"], "TS_V_token": ["bfin", "0", "0", "1", "1", "1", "0", "0", "0", "0", "0"], "File": "bfin3", "Func": "bfin_legitimate_address_p", "Target": "bfin", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 2492, "Length": 241, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "tree", "function_instance", "::", "base_vector_type", "(", ")", "const", "{", "return", "acle_vector_types", "[", "0", "]", "[", "mode_suffix", "(", ")", ".", "base_vector_type", "]", ";", "}", ""], "natrual_language": ["Return", "the", "type", "of", "the", "function", "'s", "vector", "base", "address", "argument", ",", "or", "null", "it", "does", "n't", "have", "a", "vector", "base", "address", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64-sve-builtins", "Func": "base_vector_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2493, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "MCFixupKind", ">", "getFixupKind", "(", "StringRef", "Name", ")", "const", "override", "{", "unsigned", "Type", ";", "Type", "=", "llvm", "::", "StringSwitch", "<", "unsigned", ">", "(", "Name", ")", ".", "Case", "(", "\"BFD_RELOC_NONE\"", ",", "ELF", "::", "R_SPARC_NONE", ")", ".", "Case", "(", "\"BFD_RELOC_8\"", ",", "ELF", "::", "R_SPARC_8", ")", ".", "Case", "(", "\"BFD_RELOC_16\"", ",", "ELF", "::", "R_SPARC_16", ")", ".", "Case", "(", "\"BFD_RELOC_32\"", ",", "ELF", "::", "R_SPARC_32", ")", ".", "Case", "(", "\"BFD_RELOC_64\"", ",", "ELF", "::", "R_SPARC_64", ")", ".", "Default", "(", "-", "1u", ")", ";", "if", "(", "Type", "==", "-", "1u", ")", "return", "None", ";", "return", "static_cast", "<", "MCFixupKind", ">", "(", "FirstLiteralRelocationKind", "+", "Type", ")", ";", "}", ""], "natrual_language": ["getFixupKind", "-", "Get", "the", "fixup", "kind", "of", "this", "expression", "."], "TS_V_token": ["Sparc", "\"BFD_RELOC_NONE\"", "SP", "\"BFD_RELOC_8\"", "SP", "\"BFD_RELOC_16\"", "SP", "\"BFD_RELOC_32\"", "SP", "\"BFD_RELOC_64\"", "SP", "1u", "1u"], "File": "SparcAsmBackend14", "Func": "getFixupKind", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2494, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "Cpu0MCCodeEmitter", "::", "getBranchTargetOpValue", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ")", "const", "{", "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "\"getBranchTargetOpValue expects only expressions\"", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "Create", "(", "0", ",", "Expr", ",", "MCFixupKind", "(", "Cpu0", "::", "fixup_Cpu0_PC24", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getBranchTargetOpValue", "-", "Return", "binary", "encoding", "of", "the", "branch", "target", "operand", "."], "TS_V_token": ["Cpu0", "Cpu0", "\"getBranchTargetOpValue expects only expressions\"", "0", "Cpu0::fixup_Cpu0_PC24", "0"], "File": "Cpu0MCCodeEmitter1", "Func": "getBranchTargetOpValue", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2495, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "HOST_WIDE_INT", "or1k_initial_elimination_offset", "(", "int", "from", ",", "int", "to", ")", "{", "HOST_WIDE_INT", "offset", ";", "switch", "(", "from", ")", "{", "case", "ARG_POINTER_REGNUM", ":", "offset", "=", "cfun", "->", "machine", "->", "total_size", ";", "break", ";", "case", "FRAME_POINTER_REGNUM", ":", "offset", "=", "cfun", "->", "machine", "->", "args_size", "+", "cfun", "->", "machine", "->", "local_vars_size", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "to", "==", "HARD_FRAME_POINTER_REGNUM", ")", "offset", "-=", "cfun", "->", "machine", "->", "total_size", ";", "return", "offset", ";", "}", ""], "natrual_language": ["Helper", "for", "defining", "INITIAL_ELIMINATION_OFFSET", ".", "We", "allow", "the", "following", "eliminiations", ":", "FP", "-", ">", "HARD_FP", "or", "SP", "AP", "-", ">", "HARD_FP", "or", "SP", "HARD_FP", "and", "AP", "are", "the", "same", "which", "is", "handled", "below", "."], "TS_V_token": ["or1k"], "File": "or1k", "Func": "or1k_initial_elimination_offset", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2496, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Z80TargetLowering", "::", "shouldConvertConstantLoadToIntImm", "(", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "const", "{", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "it", "is", "beneficial", "to", "convert", "a", "load", "of", "a", "constant", "to", "just", "the", "constant", "itself", "."], "TS_V_token": ["Z80", "Z80"], "File": "Z80ISelLowering2", "Func": "shouldConvertConstantLoadToIntImm", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2497, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "do_rotl3", "(", "rtx", "dest", ",", "rtx", "src1", ",", "rtx", "src2", ")", "{", "if", "(", "GET_MODE", "(", "dest", ")", "==", "DImode", ")", "emit_insn", "(", "gen_rotldi3", "(", "dest", ",", "src1", ",", "src2", ")", ")", ";", "else", "emit_insn", "(", "gen_rotlsi3", "(", "dest", ",", "src1", ",", "src2", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "rotl", "of", "the", "proper", "mode", "for", "DEST", ".", "DEST", "is", "the", "destination", "register", "for", "the", "and", ".", "SRC1", "is", "the", "first", "and", "input", ".", "SRC2", "is", "the", "second", "and", "input", ".", "Computes", "DEST", "=", "SRC1", "rotated", "left", "by", "SRC2", "."], "TS_V_token": ["rs6000"], "File": "rs6000-string", "Func": "do_rotl3", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2498, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ARMBaseInstrInfo", "::", "getOperandLatency", "(", "const", "InstrItineraryData", "*", "ItinData", ",", "SDNode", "*", "DefNode", ",", "unsigned", "DefIdx", ",", "SDNode", "*", "UseNode", ",", "unsigned", "UseIdx", ")", "const", "{", "if", "(", "!", "DefNode", "->", "isMachineOpcode", "(", ")", ")", "return", "1", ";", "const", "TargetInstrDesc", "&", "DefTID", "=", "get", "(", "DefNode", "->", "getMachineOpcode", "(", ")", ")", ";", "if", "(", "isZeroCost", "(", "DefTID", ".", "Opcode", ")", ")", "return", "0", ";", "if", "(", "!", "ItinData", "||", "ItinData", "->", "isEmpty", "(", ")", ")", "return", "DefTID", ".", "mayLoad", "(", ")", "?", "3", ":", "1", ";", "if", "(", "!", "UseNode", "->", "isMachineOpcode", "(", ")", ")", "{", "int", "Latency", "=", "ItinData", "->", "getOperandCycle", "(", "DefTID", ".", "getSchedClass", "(", ")", ",", "DefIdx", ")", ";", "if", "(", "Subtarget", ".", "isCortexA9", "(", ")", ")", "return", "Latency", "<=", "2", "?", "1", ":", "Latency", "-", "1", ";", "else", "return", "Latency", "<=", "3", "?", "1", ":", "Latency", "-", "2", ";", "}", "const", "TargetInstrDesc", "&", "UseTID", "=", "get", "(", "UseNode", "->", "getMachineOpcode", "(", ")", ")", ";", "const", "MachineSDNode", "*", "DefMN", "=", "dyn_cast", "<", "MachineSDNode", ">", "(", "DefNode", ")", ";", "unsigned", "DefAlign", "=", "!", "DefMN", "->", "memoperands_empty", "(", ")", "?", "(", "*", "DefMN", "->", "memoperands_begin", "(", ")", ")", "->", "getAlignment", "(", ")", ":", "0", ";", "const", "MachineSDNode", "*", "UseMN", "=", "dyn_cast", "<", "MachineSDNode", ">", "(", "UseNode", ")", ";", "unsigned", "UseAlign", "=", "!", "UseMN", "->", "memoperands_empty", "(", ")", "?", "(", "*", "UseMN", "->", "memoperands_begin", "(", ")", ")", "->", "getAlignment", "(", ")", ":", "0", ";", "int", "Latency", "=", "getOperandLatency", "(", "ItinData", ",", "DefTID", ",", "DefIdx", ",", "DefAlign", ",", "UseTID", ",", "UseIdx", ",", "UseAlign", ")", ";", "if", "(", "Latency", ">", "1", "&&", "(", "Subtarget", ".", "isCortexA8", "(", ")", "||", "Subtarget", ".", "isCortexA9", "(", ")", ")", ")", "{", "switch", "(", "DefTID", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ARM", "::", "LDRrs", ":", "case", "ARM", "::", "LDRBrs", ":", "{", "unsigned", "ShOpVal", "=", "cast", "<", "ConstantSDNode", ">", "(", "DefNode", "->", "getOperand", "(", "2", ")", ")", "->", "getZExtValue", "(", ")", ";", "unsigned", "ShImm", "=", "ARM_AM", "::", "getAM2Offset", "(", "ShOpVal", ")", ";", "if", "(", "ShImm", "==", "0", "||", "(", "ShImm", "==", "2", "&&", "ARM_AM", "::", "getAM2ShiftOpc", "(", "ShOpVal", ")", "==", "ARM_AM", "::", "lsl", ")", ")", "--", "Latency", ";", "break", ";", "}", "case", "ARM", "::", "t2LDRs", ":", "case", "ARM", "::", "t2LDRBs", ":", "case", "ARM", "::", "t2LDRHs", ":", "case", "ARM", "::", "t2LDRSHs", ":", "{", "unsigned", "ShAmt", "=", "cast", "<", "ConstantSDNode", ">", "(", "DefNode", "->", "getOperand", "(", "2", ")", ")", "->", "getZExtValue", "(", ")", ";", "if", "(", "ShAmt", "==", "0", "||", "ShAmt", "==", "2", ")", "--", "Latency", ";", "break", ";", "}", "}", "}", "return", "Latency", ";", "}", ""], "natrual_language": ["Compute", "and", "return", "the", "use", "operand", "latency", "of", "a", "given", "pair", "of", "def", "and", "use", "."], "TS_V_token": ["ARM", "ARM", "1", "0", "3", "1", "2", "1", "1", "3", "1", "2", "0", "0", "1", "ARM::LDRrs", "ARM::LDRBrs", "2", "ARM_AM::getAM2Offset", "0", "2", "ARM_AM::getAM2ShiftOpc", "ARM_AM::lsl", "ARM::t2LDRs", "ARM::t2LDRBs", "ARM::t2LDRHs", "ARM::t2LDRSHs", "2", "0", "2"], "File": "ARMBaseInstrInfo11", "Func": "getOperandLatency", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2499, "Length": 421, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int64_t", "getStackPointerBias", "(", ")", "const", "{", "return", "is64Bit", "(", ")", "?", "2047", ":", "0", ";", "}", ""], "natrual_language": ["The", "64-bit", "ABI", "uses", "biased", "stack", "and", "frame", "pointers", ",", "so", "the", "stack", "frame", "of", "the", "current", "function", "is", "the", "area", "from", "[", "sp+BIAS", "]", "to", "[", "fp+BIAS", "]", "."], "TS_V_token": ["Sparc", "2047", "0"], "File": "SparcSubtarget (2)", "Func": "getStackPointerBias", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2500, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "alpha_emit_set_long_const", "(", "rtx", "target", ",", "HOST_WIDE_INT", "c1", ",", "HOST_WIDE_INT", "c2", ")", "{", "HOST_WIDE_INT", "d1", ",", "d2", ",", "d3", ",", "d4", ";", "gcc_assert", "(", "c2", "==", "-", "(", "c1", "<", "0", ")", ")", ";", "d1", "=", "(", "(", "c1", "&", "0xffff", ")", "^", "0x8000", ")", "-", "0x8000", ";", "c1", "-=", "d1", ";", "d2", "=", "(", "(", "c1", "&", "0xffffffff", ")", "^", "0x80000000", ")", "-", "0x80000000", ";", "c1", "=", "(", "c1", "-", "d2", ")", ">>", "32", ";", "d3", "=", "(", "(", "c1", "&", "0xffff", ")", "^", "0x8000", ")", "-", "0x8000", ";", "c1", "-=", "d3", ";", "d4", "=", "(", "(", "c1", "&", "0xffffffff", ")", "^", "0x80000000", ")", "-", "0x80000000", ";", "gcc_assert", "(", "c1", "==", "d4", ")", ";", "d1", "=", "(", "(", "c1", "&", "0xffff", ")", "^", "0x8000", ")", "-", "0x8000", ";", "c1", "-=", "d1", ";", "d2", "=", "(", "(", "c1", "&", "0xffffffff", ")", "^", "0x80000000", ")", "-", "0x80000000", ";", "gcc_assert", "(", "c1", "==", "d2", ")", ";", "c2", "+=", "(", "d2", "<", "0", ")", ";", "d3", "=", "(", "(", "c2", "&", "0xffff", ")", "^", "0x8000", ")", "-", "0x8000", ";", "c2", "-=", "d3", ";", "d4", "=", "(", "(", "c2", "&", "0xffffffff", ")", "^", "0x80000000", ")", "-", "0x80000000", ";", "gcc_assert", "(", "c2", "==", "d4", ")", ";", "if", "(", "d4", ")", "{", "emit_move_insn", "(", "target", ",", "GEN_INT", "(", "d4", ")", ")", ";", "if", "(", "d3", ")", "emit_move_insn", "(", "target", ",", "gen_rtx_PLUS", "(", "DImode", ",", "target", ",", "GEN_INT", "(", "d3", ")", ")", ")", ";", "}", "else", "emit_move_insn", "(", "target", ",", "GEN_INT", "(", "d3", ")", ")", ";", "emit_move_insn", "(", "target", ",", "gen_rtx_ASHIFT", "(", "DImode", ",", "target", ",", "GEN_INT", "(", "32", ")", ")", ")", ";", "if", "(", "d2", ")", "emit_move_insn", "(", "target", ",", "gen_rtx_PLUS", "(", "DImode", ",", "target", ",", "GEN_INT", "(", "d2", ")", ")", ")", ";", "if", "(", "d1", ")", "emit_move_insn", "(", "target", ",", "gen_rtx_PLUS", "(", "DImode", ",", "target", ",", "GEN_INT", "(", "d1", ")", ")", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Having", "failed", "to", "find", "a", "3", "insn", "sequence", "in", "alpha_emit_set_const", ",", "fall", "back", "to", "a", "straight", "forward", "decomposition", ".", "We", "do", "this", "to", "avoid", "exponential", "run", "times", "encountered", "when", "looking", "for", "longer", "sequences", "with", "alpha_emit_set_const", "."], "TS_V_token": ["alpha", "0", "0xffff", "0x8000", "0x8000", "0xffffffff", "0x80000000", "0x80000000", "32", "0xffff", "0x8000", "0x8000", "0xffffffff", "0x80000000", "0x80000000", "0xffff", "0x8000", "0x8000", "0xffffffff", "0x80000000", "0x80000000", "0", "0xffff", "0x8000", "0x8000", "0xffffffff", "0x80000000", "0x80000000", "32"], "File": "alpha3", "Func": "alpha_emit_set_long_const", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2501, "Length": 313, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "v850_arg_partial_bytes", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "int", "size", ",", "align", ";", "if", "(", "!", "arg", ".", "named", ")", "return", "0", ";", "size", "=", "arg", ".", "promoted_size_in_bytes", "(", ")", ";", "if", "(", "size", "<", "1", ")", "size", "=", "1", ";", "if", "(", "!", "TARGET_GCC_ABI", ")", "align", "=", "UNITS_PER_WORD", ";", "else", "if", "(", "arg", ".", "type", ")", "align", "=", "TYPE_ALIGN", "(", "arg", ".", "type", ")", "/", "BITS_PER_UNIT", ";", "else", "align", "=", "size", ";", "cum", "->", "nbytes", "=", "(", "cum", "->", "nbytes", "+", "align", "-", "1", ")", "&", "~", "(", "align", "-", "1", ")", ";", "if", "(", "cum", "->", "nbytes", ">", "4", "*", "UNITS_PER_WORD", ")", "return", "0", ";", "if", "(", "cum", "->", "nbytes", "+", "size", "<=", "4", "*", "UNITS_PER_WORD", ")", "return", "0", ";", "if", "(", "arg", ".", "type", "==", "NULL_TREE", "&&", "cum", "->", "nbytes", "+", "size", ">", "4", "*", "UNITS_PER_WORD", ")", "return", "0", ";", "return", "4", "*", "UNITS_PER_WORD", "-", "cum", "->", "nbytes", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "bytes", "which", "must", "be", "put", "into", "registers", "for", "values", "which", "are", "part", "in", "registers", "and", "part", "in", "memory", "."], "TS_V_token": ["v850", "0", "1", "1", "1", "1", "4", "0", "4", "0", "4", "0", "4"], "File": "v850", "Func": "v850_arg_partial_bytes", "Target": "v850", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2502, "Length": 167, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "CallLowering", "*", "AArch64Subtarget", "::", "getCallLowering", "(", ")", "const", "{", "return", "CallLoweringInfo", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["Methods", "used", "by", "Global", "ISel", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64Subtarget (2)1", "Func": "getCallLowering", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2503, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "def_or_undef_macro", "(", "cpp_reader", "*", "pfile", ",", "const", "char", "*", "name", ",", "bool", "def_p", ")", "{", "if", "(", "def_p", ")", "cpp_define", "(", "pfile", ",", "name", ")", ";", "else", "cpp_undef", "(", "pfile", ",", "name", ")", ";", "}", ""], "natrual_language": ["Define", "or", "undefine", "macros", "based", "on", "the", "current", "target", ".", "If", "the", "user", "does", "#", "pragma", "GCC", "target", ",", "we", "need", "to", "adjust", "the", "macros", "dynamically", "."], "TS_V_token": ["arc"], "File": "arc-c", "Func": "def_or_undef_macro", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2504, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonInstrInfo", "::", "hasStoreToStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "const", "MachineMemOperand", "*", "&", "MMO", ",", "int", "&", "FrameIndex", ")", "const", "{", "if", "(", "MI", ".", "isBundle", "(", ")", ")", "{", "const", "MachineBasicBlock", "*", "MBB", "=", "MI", ".", "getParent", "(", ")", ";", "MachineBasicBlock", "::", "const_instr_iterator", "MII", "=", "MI", ".", "getIterator", "(", ")", ";", "for", "(", "++", "MII", ";", "MII", "!=", "MBB", "->", "instr_end", "(", ")", "&&", "MII", "->", "isInsideBundle", "(", ")", ";", "++", "MII", ")", "if", "(", "TargetInstrInfo", "::", "hasStoreToStackSlot", "(", "*", "MII", ",", "MMO", ",", "FrameIndex", ")", ")", "return", "true", ";", "return", "false", ";", "}", "return", "TargetInstrInfo", "::", "hasStoreToStackSlot", "(", "MI", ",", "MMO", ",", "FrameIndex", ")", ";", "}", ""], "natrual_language": ["If", "the", "specified", "machine", "instruction", "has", "a", "store", "to", "a", "stack", "slot", ",", "return", "true", "along", "with", "the", "FrameIndices", "of", "the", "loaded", "stack", "slot", "and", "the", "machine", "mem", "operands", "containing", "the", "reference", "."], "TS_V_token": ["Hexagon", "Hexagon"], "File": "HexagonInstrInfo13", "Func": "hasStoreToStackSlot", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2505, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ix86_handle_abi_attribute", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", ",", "int", ",", "bool", "*", "no_add_attrs", ")", "{", "if", "(", "TREE_CODE", "(", "*", "node", ")", "!=", "FUNCTION_TYPE", "&&", "TREE_CODE", "(", "*", "node", ")", "!=", "METHOD_TYPE", "&&", "TREE_CODE", "(", "*", "node", ")", "!=", "FIELD_DECL", "&&", "TREE_CODE", "(", "*", "node", ")", "!=", "TYPE_DECL", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qE attribute only applies to functions\"", ",", "name", ")", ";", "*", "no_add_attrs", "=", "true", ";", "return", "NULL_TREE", ";", "}", "if", "(", "is_attribute_p", "(", "\"ms_abi\"", ",", "name", ")", ")", "{", "if", "(", "lookup_attribute", "(", "\"sysv_abi\"", ",", "TYPE_ATTRIBUTES", "(", "*", "node", ")", ")", ")", "{", "error", "(", "\"%qs and %qs attributes are not compatible\"", ",", "\"ms_abi\"", ",", "\"sysv_abi\"", ")", ";", "}", "return", "NULL_TREE", ";", "}", "else", "if", "(", "is_attribute_p", "(", "\"sysv_abi\"", ",", "name", ")", ")", "{", "if", "(", "lookup_attribute", "(", "\"ms_abi\"", ",", "TYPE_ATTRIBUTES", "(", "*", "node", ")", ")", ")", "{", "error", "(", "\"%qs and %qs attributes are not compatible\"", ",", "\"ms_abi\"", ",", "\"sysv_abi\"", ")", ";", "}", "return", "NULL_TREE", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Handle", "a", "``", "ms_abi", "''", "or", "``", "sysv", "''", "attribute", ";", "arguments", "as", "in", "struct", "attribute_spec.handler", "."], "TS_V_token": ["i386", "\"%qE attribute only applies to functions\"", "\"ms_abi\"", "\"sysv_abi\"", "\"%qs and %qs attributes are not compatible\"", "\"ms_abi\"", "\"sysv_abi\"", "\"sysv_abi\"", "\"ms_abi\"", "\"%qs and %qs attributes are not compatible\"", "\"ms_abi\"", "\"sysv_abi\""], "File": "i386-options", "Func": "ix86_handle_abi_attribute", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2506, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_expand_vec_cond_expr", "(", "machine_mode", "mode", ",", "machine_mode", "vimode", ",", "rtx", "*", "operands", ")", "{", "rtx", "cond", "=", "operands", "[", "3", "]", ";", "rtx", "cmp_op0", "=", "operands", "[", "4", "]", ";", "rtx", "cmp_op1", "=", "operands", "[", "5", "]", ";", "rtx", "cmp_res", "=", "gen_reg_rtx", "(", "vimode", ")", ";", "mips_expand_msa_cmp", "(", "cmp_res", ",", "GET_CODE", "(", "cond", ")", ",", "cmp_op0", ",", "cmp_op1", ")", ";", "if", "(", "operands", "[", "1", "]", "==", "CONSTM1_RTX", "(", "vimode", ")", "&&", "operands", "[", "2", "]", "==", "CONST0_RTX", "(", "vimode", ")", ")", "emit_move_insn", "(", "operands", "[", "0", "]", ",", "cmp_res", ")", ";", "else", "{", "rtx", "src1", "=", "gen_reg_rtx", "(", "vimode", ")", ";", "rtx", "src2", "=", "gen_reg_rtx", "(", "vimode", ")", ";", "rtx", "mask", "=", "gen_reg_rtx", "(", "vimode", ")", ";", "rtx", "bsel", ";", "emit_move_insn", "(", "mask", ",", "cmp_res", ")", ";", "if", "(", "register_operand", "(", "operands", "[", "1", "]", ",", "mode", ")", ")", "{", "rtx", "xop1", "=", "operands", "[", "1", "]", ";", "if", "(", "mode", "!=", "vimode", ")", "{", "xop1", "=", "gen_reg_rtx", "(", "vimode", ")", ";", "emit_move_insn", "(", "xop1", ",", "gen_lowpart", "(", "vimode", ",", "operands", "[", "1", "]", ")", ")", ";", "}", "emit_move_insn", "(", "src1", ",", "xop1", ")", ";", "}", "else", "{", "gcc_assert", "(", "operands", "[", "1", "]", "==", "CONSTM1_RTX", "(", "vimode", ")", ")", ";", "emit_move_insn", "(", "src1", ",", "mask", ")", ";", "}", "if", "(", "register_operand", "(", "operands", "[", "2", "]", ",", "mode", ")", ")", "{", "rtx", "xop2", "=", "operands", "[", "2", "]", ";", "if", "(", "mode", "!=", "vimode", ")", "{", "xop2", "=", "gen_reg_rtx", "(", "vimode", ")", ";", "emit_move_insn", "(", "xop2", ",", "gen_lowpart", "(", "vimode", ",", "operands", "[", "2", "]", ")", ")", ";", "}", "emit_move_insn", "(", "src2", ",", "xop2", ")", ";", "}", "else", "{", "gcc_assert", "(", "operands", "[", "2", "]", "==", "CONST0_RTX", "(", "mode", ")", ")", ";", "emit_move_insn", "(", "src2", ",", "mask", ")", ";", "}", "bsel", "=", "gen_rtx_IOR", "(", "vimode", ",", "gen_rtx_AND", "(", "vimode", ",", "gen_rtx_NOT", "(", "vimode", ",", "mask", ")", ",", "src2", ")", ",", "gen_rtx_AND", "(", "vimode", ",", "mask", ",", "src1", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "mask", ",", "bsel", ")", ")", ";", "emit_move_insn", "(", "operands", "[", "0", "]", ",", "gen_rtx_SUBREG", "(", "mode", ",", "mask", ",", "0", ")", ")", ";", "}", "}", ""], "natrual_language": ["Expand", "VEC_COND_EXPR", ",", "where", ":", "MODE", "is", "mode", "of", "the", "result", "VIMODE", "equivalent", "integer", "mode", "OPERANDS", "operands", "of", "VEC_COND_EXPR", "."], "TS_V_token": ["mips", "3", "4", "5", "1", "2", "0", "1", "1", "1", "1", "2", "2", "2", "2", "0", "0"], "File": "mips", "Func": "mips_expand_vec_cond_expr", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2507, "Length": 351, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "supportSwiftError", "(", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "swifterror", "attribute", "."], "TS_V_token": ["X86"], "File": "X86ISelLowering100", "Func": "supportSwiftError", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2508, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_live_on_entry", "(", "bitmap", "regs", ")", "{", "if", "(", "cfun", "->", "machine", "->", "split_stack_varargs_pointer", "!=", "NULL_RTX", ")", "{", "gcc_assert", "(", "flag_split_stack", ")", ";", "bitmap_set_bit", "(", "regs", ",", "split_stack_prologue_scratch_regno", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["We", "may", "have", "to", "tell", "the", "dataflow", "pass", "that", "the", "split", "stack", "prologue", "is", "initializing", "a", "scratch", "register", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_live_on_entry", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2509, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_cbcond", "(", "rtx", "op", ",", "rtx", "dest", ",", "rtx_insn", "*", "insn", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "XEXP", "(", "op", ",", "0", ")", ")", ";", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "op", ")", ";", "const", "char", "*", "cond_str", ",", "*", "tmpl", ";", "int", "far", ",", "emit_nop", ",", "len", ";", "static", "char", "string", "[", "64", "]", ";", "char", "size_char", ";", "len", "=", "get_attr_length", "(", "insn", ")", ";", "far", "=", "len", "==", "4", ";", "emit_nop", "=", "len", "==", "2", ";", "if", "(", "far", ")", "code", "=", "reverse_condition", "(", "code", ")", ";", "size_char", "=", "(", "(", "mode", "==", "SImode", ")", "?", "'w'", ":", "'x'", ")", ";", "switch", "(", "code", ")", "{", "case", "NE", ":", "cond_str", "=", "\"ne\"", ";", "break", ";", "case", "EQ", ":", "cond_str", "=", "\"e\"", ";", "break", ";", "case", "GE", ":", "if", "(", "mode", "==", "CC_NOOVmode", "||", "mode", "==", "CCX_NOOVmode", ")", "cond_str", "=", "\"pos\"", ";", "else", "cond_str", "=", "\"ge\"", ";", "break", ";", "case", "GT", ":", "cond_str", "=", "\"g\"", ";", "break", ";", "case", "LE", ":", "cond_str", "=", "\"le\"", ";", "break", ";", "case", "LT", ":", "if", "(", "mode", "==", "CC_NOOVmode", "||", "mode", "==", "CCX_NOOVmode", ")", "cond_str", "=", "\"neg\"", ";", "else", "cond_str", "=", "\"l\"", ";", "break", ";", "case", "GEU", ":", "cond_str", "=", "\"cc\"", ";", "break", ";", "case", "GTU", ":", "cond_str", "=", "\"gu\"", ";", "break", ";", "case", "LEU", ":", "cond_str", "=", "\"leu\"", ";", "break", ";", "case", "LTU", ":", "cond_str", "=", "\"cs\"", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "far", ")", "{", "int", "veryfar", "=", "1", ",", "delta", ";", "if", "(", "INSN_ADDRESSES_SET_P", "(", ")", ")", "{", "delta", "=", "(", "INSN_ADDRESSES", "(", "INSN_UID", "(", "dest", ")", ")", "-", "INSN_ADDRESSES", "(", "INSN_UID", "(", "insn", ")", ")", ")", ";", "if", "(", "delta", ">=", "-", "260000", "&&", "delta", "<", "260000", ")", "veryfar", "=", "0", ";", "}", "if", "(", "veryfar", ")", "tmpl", "=", "\"c%cb%s\\t%%1, %%2, .+16\\n\\tnop\\n\\tb\\t%%3\\n\\tnop\"", ";", "else", "tmpl", "=", "\"c%cb%s\\t%%1, %%2, .+16\\n\\tnop\\n\\tba,pt\\t%%%%xcc, %%3\\n\\tnop\"", ";", "}", "else", "{", "if", "(", "emit_nop", ")", "tmpl", "=", "\"c%cb%s\\t%%1, %%2, %%3\\n\\tnop\"", ";", "else", "tmpl", "=", "\"c%cb%s\\t%%1, %%2, %%3\"", ";", "}", "snprintf", "(", "string", ",", "sizeof", "(", "string", ")", ",", "tmpl", ",", "size_char", ",", "cond_str", ")", ";", "return", "string", ";", "}", ""], "natrual_language": ["Return", "the", "string", "to", "output", "a", "compare", "and", "branch", "instruction", "to", "DEST", ".", "DEST", "is", "the", "destination", "insn", "(", "i.e", ".", "the", "label", ")", ",", "INSN", "is", "the", "source", ",", "and", "OP", "is", "the", "conditional", "expression", "."], "TS_V_token": ["sparc", "0", "64", "4", "2", "\"ne\"", "\"e\"", "\"pos\"", "\"ge\"", "\"g\"", "\"le\"", "\"neg\"", "\"l\"", "\"cc\"", "\"gu\"", "\"leu\"", "\"cs\"", "1", "260000", "260000", "0", "\"c%cb%s\\t%%1, %%2, .+16\\n\\tnop\\n\\tb\\t%%3\\n\\tnop\"", "\"c%cb%s\\t%%1, %%2, .+16\\n\\tnop\\n\\tba,pt\\t%%%%xcc, %%3\\n\\tnop\"", "\"c%cb%s\\t%%1, %%2, %%3\\n\\tnop\"", "\"c%cb%s\\t%%1, %%2, %%3\""], "File": "sparc4", "Func": "output_cbcond", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2510, "Length": 344, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "tilegx_sched_adjust_cost", "(", "rtx_insn", "*", "insn", ",", "int", "dep_type", ",", "rtx_insn", "*", "dep_insn", ",", "int", "cost", ",", "unsigned", "int", ")", "{", "if", "(", "CALL_P", "(", "insn", ")", "&&", "dep_type", "==", "REG_DEP_TRUE", ")", "{", "rtx", "target", "=", "get_jump_target", "(", "insn", ")", ";", "if", "(", "!", "REG_P", "(", "target", ")", "||", "!", "set_of", "(", "target", ",", "dep_insn", ")", ")", "return", "0", ";", "}", "return", "cost", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SCHED_ADJUST_COST", "."], "TS_V_token": ["tilegx", "0"], "File": "tilegx", "Func": "tilegx_sched_adjust_cost", "Target": "tilegx", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 2511, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "PatmosOperand", "*", "CreateMem", "(", "unsigned", "Base", ",", "const", "MCExpr", "*", "Off", ",", "SMLoc", "S", ",", "SMLoc", "E", ")", "{", "PatmosOperand", "*", "Op", "=", "new", "PatmosOperand", "(", "Memory", ")", ";", "Op", "->", "Mem", ".", "Base", "=", "Base", ";", "Op", "->", "Mem", ".", "Off", "=", "Off", ";", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "E", ";", "return", "Op", ";", "}", ""], "natrual_language": ["Create", "a", "generalized", "memory", "operand", "."], "TS_V_token": ["Patmos", "Patmos", "Patmos", "Patmos"], "File": "PatmosAsmParser", "Func": "CreateMem", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 2512, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "FunctionCallee", "AMDGPULibCalls", "::", "getFunction", "(", "Module", "*", "M", ",", "const", "FuncInfo", "&", "fInfo", ")", "{", "return", "EnablePreLink", "?", "AMDGPULibFunc", "::", "getOrInsertFunction", "(", "M", ",", "fInfo", ")", ":", "AMDGPULibFunc", "::", "getFunction", "(", "M", ",", "fInfo", ")", ";", "}", ""], "natrual_language": ["getFunction", "-", "Return", "this", "trace", "'s", "parent", "function", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU"], "File": "AMDGPULibCalls", "Func": "getFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2513, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "BTFDebug", "::", "endModule", "(", ")", "{", "processGlobals", "(", ")", ";", "for", "(", "const", "auto", "&", "TypeEntry", ":", "TypeEntries", ")", "TypeEntry", "->", "completeType", "(", "*", "this", ")", ";", "emitBTFSection", "(", ")", ";", "emitBTFExtSection", "(", ")", ";", "}", ""], "natrual_language": ["Emit", "all", "exception", "information", "that", "should", "come", "after", "the", "content", "."], "TS_V_token": ["BPF"], "File": "BTFDebug28", "Func": "endModule", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2514, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIInstrInfo", "::", "usesConstantBus", "(", "const", "MachineRegisterInfo", "&", "MRI", ",", "const", "MachineOperand", "&", "MO", ",", "const", "MCOperandInfo", "&", "OpInfo", ")", "const", "{", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "!", "isInlineConstant", "(", "MO", ",", "OpInfo", ")", ";", "if", "(", "!", "MO", ".", "isReg", "(", ")", ")", "return", "true", ";", "if", "(", "!", "MO", ".", "isUse", "(", ")", ")", "return", "false", ";", "if", "(", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "MO", ".", "getReg", "(", ")", ")", ")", "return", "RI", ".", "isSGPRClass", "(", "MRI", ".", "getRegClass", "(", "MO", ".", "getReg", "(", ")", ")", ")", ";", "if", "(", "MO", ".", "getReg", "(", ")", "==", "AMDGPU", "::", "SGPR_NULL", ")", "return", "false", ";", "if", "(", "MO", ".", "isImplicit", "(", ")", ")", "{", "return", "MO", ".", "getReg", "(", ")", "==", "AMDGPU", "::", "M0", "||", "MO", ".", "getReg", "(", ")", "==", "AMDGPU", "::", "VCC", "||", "MO", ".", "getReg", "(", ")", "==", "AMDGPU", "::", "VCC_LO", ";", "}", "else", "{", "return", "AMDGPU", "::", "SReg_32RegClass", ".", "contains", "(", "MO", ".", "getReg", "(", ")", ")", "||", "AMDGPU", "::", "SReg_64RegClass", ".", "contains", "(", "MO", ".", "getReg", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["Returns", "true", "if", "this", "operand", "uses", "the", "constant", "bus", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU::SGPR_NULL", "AMDGPU::M0", "AMDGPU::VCC", "AMDGPU::VCC_LO", "AMDGPU::SReg_32RegClass", "AMDGPU::SReg_64RegClass"], "File": "SIInstrInfo110", "Func": "usesConstantBus", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2515, "Length": 180, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "direction", "function_arg_padding", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "if", "(", "!", "AGGREGATE_PADDING_FIXED", ")", "{", "if", "(", "BYTES_BIG_ENDIAN", ")", "{", "HOST_WIDE_INT", "size", "=", "0", ";", "if", "(", "mode", "==", "BLKmode", ")", "{", "if", "(", "type", "&&", "TREE_CODE", "(", "TYPE_SIZE", "(", "type", ")", ")", "==", "INTEGER_CST", ")", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "}", "else", "size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "if", "(", "size", "==", "1", "||", "size", "==", "2", "||", "size", "==", "4", ")", "return", "downward", ";", "}", "return", "upward", ";", "}", "if", "(", "AGGREGATES_PAD_UPWARD_ALWAYS", ")", "{", "if", "(", "type", "!=", "0", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "return", "upward", ";", "}", "return", "DEFAULT_FUNCTION_ARG_PADDING", "(", "mode", ",", "type", ")", ";", "}", ""], "natrual_language": ["Handle", "the", "FUNCTION_ARG_PADDING", "macro", ".", "For", "the", "64", "bit", "ABI", "structs", "are", "always", "stored", "left", "shifted", "in", "their", "argument", "slot", "."], "TS_V_token": ["rs6000", "0", "1", "2", "4", "0"], "File": "rs60004", "Func": "function_arg_padding", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2516, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "M68kDAGToDAGISel", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "M68kSubtarget", ">", "(", ")", ";", "return", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["M68k", "M68k", "M68k"], "File": "M68kISelDAGToDAG2", "Func": "runOnMachineFunction", "Target": "M68k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2517, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SILowerControlFlowPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "TII", "=", "static_cast", "<", "const", "SIInstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "static_cast", "<", "const", "SIRegisterInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "SIMachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "bool", "HaveKill", "=", "false", ";", "bool", "NeedM0", "=", "false", ";", "bool", "NeedWQM", "=", "false", ";", "unsigned", "Depth", "=", "0", ";", "for", "(", "MachineFunction", "::", "iterator", "BI", "=", "MF", ".", "begin", "(", ")", ",", "BE", "=", "MF", ".", "end", "(", ")", ";", "BI", "!=", "BE", ";", "++", "BI", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "BI", ";", "MachineBasicBlock", "::", "iterator", "I", ",", "Next", ";", "for", "(", "I", "=", "MBB", ".", "begin", "(", ")", ";", "I", "!=", "MBB", ".", "end", "(", ")", ";", "I", "=", "Next", ")", "{", "Next", "=", "std", "::", "next", "(", "I", ")", ";", "MachineInstr", "&", "MI", "=", "*", "I", ";", "if", "(", "TII", "->", "isDS", "(", "MI", ".", "getOpcode", "(", ")", ")", ")", "{", "NeedM0", "=", "true", ";", "NeedWQM", "=", "true", ";", "}", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "AMDGPU", "::", "SI_IF", ":", "++", "Depth", ";", "If", "(", "MI", ")", ";", "break", ";", "case", "AMDGPU", "::", "SI_ELSE", ":", "Else", "(", "MI", ")", ";", "break", ";", "case", "AMDGPU", "::", "SI_BREAK", ":", "Break", "(", "MI", ")", ";", "break", ";", "case", "AMDGPU", "::", "SI_IF_BREAK", ":", "IfBreak", "(", "MI", ")", ";", "break", ";", "case", "AMDGPU", "::", "SI_ELSE_BREAK", ":", "ElseBreak", "(", "MI", ")", ";", "break", ";", "case", "AMDGPU", "::", "SI_LOOP", ":", "++", "Depth", ";", "Loop", "(", "MI", ")", ";", "break", ";", "case", "AMDGPU", "::", "SI_END_CF", ":", "if", "(", "--", "Depth", "==", "0", "&&", "HaveKill", ")", "{", "SkipIfDead", "(", "MI", ")", ";", "HaveKill", "=", "false", ";", "}", "EndCf", "(", "MI", ")", ";", "break", ";", "case", "AMDGPU", "::", "SI_KILL", ":", "if", "(", "Depth", "==", "0", ")", "SkipIfDead", "(", "MI", ")", ";", "else", "HaveKill", "=", "true", ";", "Kill", "(", "MI", ")", ";", "break", ";", "case", "AMDGPU", "::", "S_BRANCH", ":", "Branch", "(", "MI", ")", ";", "break", ";", "case", "AMDGPU", "::", "SI_INDIRECT_SRC", ":", "IndirectSrc", "(", "MI", ")", ";", "break", ";", "case", "AMDGPU", "::", "SI_INDIRECT_DST_V1", ":", "case", "AMDGPU", "::", "SI_INDIRECT_DST_V2", ":", "case", "AMDGPU", "::", "SI_INDIRECT_DST_V4", ":", "case", "AMDGPU", "::", "SI_INDIRECT_DST_V8", ":", "case", "AMDGPU", "::", "SI_INDIRECT_DST_V16", ":", "IndirectDst", "(", "MI", ")", ";", "break", ";", "case", "AMDGPU", "::", "V_INTERP_P1_F32", ":", "case", "AMDGPU", "::", "V_INTERP_P2_F32", ":", "case", "AMDGPU", "::", "V_INTERP_MOV_F32", ":", "NeedWQM", "=", "true", ";", "break", ";", "}", "}", "}", "if", "(", "NeedM0", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "InitM0ForLDS", "(", "MBB", ".", "getFirstNonPHI", "(", ")", ")", ";", "}", "if", "(", "NeedWQM", "&&", "MFI", "->", "getShaderType", "(", ")", "==", "ShaderType", "::", "PIXEL", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MBB", ".", "getFirstNonPHI", "(", ")", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "AMDGPU", "::", "S_WQM_B64", ")", ",", "AMDGPU", "::", "EXEC", ")", ".", "addReg", "(", "AMDGPU", "::", "EXEC", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["R600", "SI", "SI", "SI", "SI", "SI", "0", "SI", "SI", "SI", "SI", "SI", "SI", "SI", "0", "SI", "0", "SI", "SI", "SI", "SI", "SI", "SI"], "File": "SILowerControlFlow68", "Func": "runOnMachineFunction", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2518, "Length": 509, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "handle_arm_acle_h", "(", "void", ")", "{", "if", "(", "TARGET_LS64", ")", "aarch64_init_ls64_builtins", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "#", "pragma", "GCC", "aarch64", "``", "arm_acle.h", "''", "."], "TS_V_token": ["aarch64"], "File": "aarch64-builtins", "Func": "handle_arm_acle_h", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2519, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"FixAllFDIVSQRT: Erratum Fix LBR34: fix FDIVS/FDIVD/FSQRTS/FSQRTD \"", "\"instructions with NOPs and floating-point store\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Sparc", "\"FixAllFDIVSQRT: Erratum Fix LBR34: fix FDIVS/FDIVD/FSQRTS/FSQRTD \"", "\"instructions with NOPs and floating-point store\""], "File": "LeonPasses10", "Func": "getPassName", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2520, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "gen_save_register_window", "(", "rtx", "increment", ")", "{", "if", "(", "TARGET_ARCH64", ")", "return", "gen_save_register_windowdi", "(", "increment", ")", ";", "else", "return", "gen_save_register_windowsi", "(", "increment", ")", ";", "}", ""], "natrual_language": ["Generate", "a", "save_register_window", "insn", "."], "TS_V_token": ["sparc"], "File": "sparc3", "Func": "gen_save_register_window", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2521, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCRegisterInfo", "*", "getRegInfo", "(", ")", "const", "{", "return", "RegInfo", ";", "}", ""], "natrual_language": ["getRegInfo", "-", "Return", "information", "about", "the", "registers", "currently", "in", "use", "."], "TS_V_token": ["XCore"], "File": "XCoreDisassembler15", "Func": "getRegInfo", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2522, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "R600TargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "return", ";", "case", "ISD", "::", "FP_TO_UINT", ":", "Results", ".", "push_back", "(", "LowerFPTOUINT", "(", "N", "->", "getOperand", "(", "0", ")", ",", "DAG", ")", ")", ";", "}", "}", ""], "natrual_language": ["ReplaceNodeResults", "-", "Replace", "the", "results", "of", "node", "with", "an", "illegal", "result", "type", "with", "new", "values", "built", "out", "of", "custom", "code", "."], "TS_V_token": ["R600", "ISD::FP_TO_UINT", "0"], "File": "R600ISelLowering63", "Func": "ReplaceNodeResults", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2523, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_no_early_mul_dep", "(", "rtx", "producer", ",", "rtx", "consumer", ")", "{", "rtx", "value", ",", "op", ";", "if", "(", "!", "arm_get_set_operands", "(", "producer", ",", "consumer", ",", "&", "value", ",", "&", "op", ")", ")", "return", "0", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "PLUS", "||", "GET_CODE", "(", "op", ")", "==", "MINUS", ")", "{", "if", "(", "GET_CODE", "(", "XEXP", "(", "op", ",", "0", ")", ")", "==", "MULT", ")", "return", "!", "reg_overlap_mentioned_p", "(", "value", ",", "XEXP", "(", "op", ",", "0", ")", ")", ";", "else", "return", "!", "reg_overlap_mentioned_p", "(", "value", ",", "XEXP", "(", "op", ",", "1", ")", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "the", "CONSUMER", "(", "a", "mul", "or", "mac", "op", ")", "does", "not", "have", "an", "early", "register", "mult", "dependency", "on", "the", "result", "of", "PRODUCER", "."], "TS_V_token": ["arm", "0", "0", "0", "1", "0"], "File": "aarch-common", "Func": "arm_no_early_mul_dep", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2524, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_secondary_reload_direct_move", "(", "enum", "rs6000_reg_type", "to_type", ",", "enum", "rs6000_reg_type", "from_type", ",", "machine_mode", "mode", ",", "secondary_reload_info", "*", "sri", ",", "bool", "altivec_p", ")", "{", "bool", "ret", "=", "false", ";", "enum", "insn_code", "icode", "=", "CODE_FOR_nothing", ";", "int", "cost", "=", "0", ";", "int", "size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "if", "(", "TARGET_POWERPC64", "&&", "size", "==", "16", ")", "{", "if", "(", "to_type", "==", "VSX_REG_TYPE", "&&", "from_type", "==", "GPR_REG_TYPE", ")", "{", "cost", "=", "3", ";", "icode", "=", "reg_addr", "[", "mode", "]", ".", "reload_vsx_gpr", ";", "}", "else", "if", "(", "to_type", "==", "GPR_REG_TYPE", "&&", "from_type", "==", "VSX_REG_TYPE", ")", "{", "cost", "=", "3", ";", "icode", "=", "reg_addr", "[", "mode", "]", ".", "reload_gpr_vsx", ";", "}", "}", "else", "if", "(", "TARGET_POWERPC64", "&&", "mode", "==", "SFmode", ")", "{", "if", "(", "to_type", "==", "GPR_REG_TYPE", "&&", "from_type", "==", "VSX_REG_TYPE", ")", "{", "cost", "=", "3", ";", "icode", "=", "reg_addr", "[", "mode", "]", ".", "reload_gpr_vsx", ";", "}", "else", "if", "(", "to_type", "==", "VSX_REG_TYPE", "&&", "from_type", "==", "GPR_REG_TYPE", ")", "{", "cost", "=", "2", ";", "icode", "=", "reg_addr", "[", "mode", "]", ".", "reload_vsx_gpr", ";", "}", "}", "else", "if", "(", "!", "TARGET_POWERPC64", "&&", "size", "==", "8", ")", "{", "if", "(", "to_type", "==", "VSX_REG_TYPE", "&&", "from_type", "==", "GPR_REG_TYPE", "&&", "!", "altivec_p", ")", "{", "cost", "=", "3", ";", "icode", "=", "reg_addr", "[", "mode", "]", ".", "reload_fpr_gpr", ";", "}", "}", "if", "(", "icode", "!=", "CODE_FOR_nothing", ")", "{", "ret", "=", "true", ";", "if", "(", "sri", ")", "{", "sri", "->", "icode", "=", "icode", ";", "sri", "->", "extra_cost", "=", "cost", ";", "}", "}", "return", "ret", ";", "}", ""], "natrual_language": ["Power8", "helper", "function", "for", "rs6000_secondary_reload", ",", "handle", "all", "of", "the", "special", "direct", "moves", "that", "involve", "allocating", "an", "extra", "register", ",", "return", "the", "insn", "code", "of", "the", "helper", "function", "if", "there", "is", "such", "a", "function", "or", "CODE_FOR_nothing", "if", "not", "."], "TS_V_token": ["rs6000", "0", "16", "3", "3", "3", "2", "8", "3"], "File": "rs6000", "Func": "rs6000_secondary_reload_direct_move", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2525, "Length": 244, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "if", "(", "skipFunction", "(", "*", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "const", "PPCSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "if", "(", "!", "STI", ".", "hasVSX", "(", ")", ")", "return", "false", ";", "LIS", "=", "&", "getAnalysis", "<", "LiveIntervals", ">", "(", ")", ";", "TII", "=", "STI", ".", "getInstrInfo", "(", ")", ";", "bool", "Changed", "=", "false", ";", "if", "(", "DisableVSXFMAMutate", ")", "return", "Changed", ";", "for", "(", "MachineFunction", "::", "iterator", "I", "=", "MF", ".", "begin", "(", ")", ";", "I", "!=", "MF", ".", "end", "(", ")", ";", ")", "{", "MachineBasicBlock", "&", "B", "=", "*", "I", "++", ";", "if", "(", "processBlock", "(", "B", ")", ")", "Changed", "=", "true", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["PowerPC", "PPC", "PPC"], "File": "PPCVSXFMAMutate (2)1", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2526, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Z80InstrInfo", "::", "expandPostRAPseudo", "(", "MachineInstr", "&", "MI", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "DebugLoc", "&", "DL", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "auto", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "case", "Z80", "::", "ZEXTLOAD_I8", ":", "case", "Z80", "::", "SEXTLOAD_I8", ":", "{", "auto", "DestReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "auto", "AddrImm", "=", "MI", ".", "getOperand", "(", "1", ")", ";", "assert", "(", "Z80", "::", "GR16RegClass", ".", "contains", "(", "DestReg", ")", "&&", "\"Dest is a GR16\"", ")", ";", "auto", "DestLow", "=", "getPairLow", "(", "DestReg", ")", ";", "auto", "DestHigh", "=", "getPairHigh", "(", "DestReg", ")", ";", "if", "(", "DestReg", "!=", "Z80", "::", "HL", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Z80", "::", "PUSHRP", ")", ")", ".", "addReg", "(", "Z80", "::", "HL", ")", ";", "}", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Z80", "::", "LD16ri", ")", ",", "Z80", "::", "HL", ")", ".", "add", "(", "AddrImm", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Z80", "::", "LDrHL", ")", ",", "DestLow", ")", ".", "addReg", "(", "Z80", "::", "HL", ")", ";", "if", "(", "DestReg", "!=", "Z80", "::", "HL", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Z80", "::", "POPRP", ")", ",", "Z80", "::", "HL", ")", ";", "}", "if", "(", "Opcode", "==", "Z80", "::", "SEXTLOAD_I8", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Z80", "::", "LD8rr", ")", ",", "Z80", "::", "ACC", ")", ".", "addReg", "(", "DestLow", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Z80", "::", "ADD_A_r", ")", ",", "Z80", "::", "ACC", ")", ".", "addReg", "(", "Z80", "::", "ACC", ")", ".", "addReg", "(", "Z80", "::", "ACC", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Z80", "::", "SBC_A_r", ")", ",", "Z80", "::", "ACC", ")", ".", "addReg", "(", "Z80", "::", "ACC", ")", ".", "addReg", "(", "Z80", "::", "ACC", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Z80", "::", "LD8rr", ")", ",", "DestHigh", ")", ".", "addReg", "(", "Z80", "::", "ACC", ")", ";", "}", "else", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Z80", "::", "LD8ri", ")", ",", "DestHigh", ")", ".", "addImm", "(", "0", ")", ";", "}", "MI", ".", "eraseFromParent", "(", ")", ";", "return", "true", ";", "}", "default", ":", "break", ";", "}", "llvm_unreachable", "(", "\"DIE\"", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["This", "function", "is", "called", "for", "all", "pseudo", "instructions", "that", "remain", "after", "register", "allocation", "."], "TS_V_token": ["Z80", "Z80", "Z80::ZEXTLOAD_I8", "Z80::SEXTLOAD_I8", "0", "1", "Z80::GR16RegClass", "\"Dest is a GR16\"", "Z80::HL", "Z80::PUSHRP", "Z80::HL", "Z80::LD16ri", "Z80::HL", "Z80::LDrHL", "Z80::HL", "Z80::HL", "Z80::POPRP", "Z80::HL", "Z80::SEXTLOAD_I8", "Z80::LD8rr", "Z80::ACC", "Z80::ADD_A_r", "Z80::ACC", "Z80::ACC", "Z80::ACC", "Z80::SBC_A_r", "Z80::ACC", "Z80::ACC", "Z80::ACC", "Z80::LD8rr", "Z80::ACC", "Z80::LD8ri", "0", "\"DIE\""], "File": "Z80InstrInfo (3)", "Func": "expandPostRAPseudo", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2527, "Length": 427, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "core2i7_first_cycle_multipass_init", "(", "void", "*", "_data", ")", "{", "ix86_first_cycle_multipass_data_t", "data", "=", "(", "ix86_first_cycle_multipass_data_t", ")", "_data", ";", "data", "->", "ifetch_block_len", "=", "0", ";", "data", "->", "ifetch_block_n_insns", "=", "0", ";", "data", "->", "ready_try_change", "=", "NULL", ";", "data", "->", "ready_try_change_size", "=", "0", ";", "}", ""], "natrual_language": ["Initialize", "DATA", "."], "TS_V_token": ["i386", "0", "0", "0"], "File": "i3864", "Func": "core2i7_first_cycle_multipass_init", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2528, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MipsSubtarget", "::", "MipsSubtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "bool", "little", ",", "Reloc", "::", "Model", "_RM", ")", ":", "MipsGenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "MipsArchVersion", "(", "Mips32", ")", ",", "MipsABI", "(", "UnknownABI", ")", ",", "IsLittle", "(", "little", ")", ",", "IsSingleFloat", "(", "false", ")", ",", "IsFP64bit", "(", "false", ")", ",", "IsGP64bit", "(", "false", ")", ",", "HasVFPU", "(", "false", ")", ",", "IsLinux", "(", "true", ")", ",", "HasSEInReg", "(", "false", ")", ",", "HasCondMov", "(", "false", ")", ",", "HasSwap", "(", "false", ")", ",", "HasBitCount", "(", "false", ")", ",", "HasFPIdx", "(", "false", ")", ",", "InMips16Mode", "(", "false", ")", ",", "InMicroMipsMode", "(", "false", ")", ",", "HasDSP", "(", "false", ")", ",", "HasDSPR2", "(", "false", ")", ",", "RM", "(", "_RM", ")", "{", "std", "::", "string", "CPUName", "=", "CPU", ";", "if", "(", "CPUName", ".", "empty", "(", ")", ")", "CPUName", "=", "\"mips32\"", ";", "ParseSubtargetFeatures", "(", "CPUName", ",", "FS", ")", ";", "InstrItins", "=", "getInstrItineraryForCPU", "(", "CPUName", ")", ";", "if", "(", "MipsABI", "==", "UnknownABI", ")", "MipsABI", "=", "hasMips64", "(", ")", "?", "N64", ":", "O32", ";", "assert", "(", "(", "(", "!", "hasMips64", "(", ")", "&&", "(", "isABI_O32", "(", ")", "||", "isABI_EABI", "(", ")", ")", ")", "||", "(", "hasMips64", "(", ")", "&&", "(", "isABI_N32", "(", ")", "||", "isABI_N64", "(", ")", ")", ")", ")", "&&", "\"Invalid Arch & ABI pair.\"", ")", ";", "if", "(", "TT", ".", "find", "(", "\"linux\"", ")", "==", "std", "::", "string", "::", "npos", ")", "IsLinux", "=", "false", ";", "UseSmallSection", "=", "!", "IsLinux", "&&", "(", "RM", "==", "Reloc", "::", "Static", ")", ";", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "\"mips32\"", "Mips", "Mips", "Mips", "Mips", "Mips", "\"Invalid Arch & ABI pair.\"", "\"linux\""], "File": "MipsSubtarget71", "Func": "MipsSubtarget", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2529, "Length": 255, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_register_priority", "(", "int", "hard_regno", ")", "{", "if", "(", "hard_regno", "==", "R12_REG", "||", "hard_regno", "==", "R13_REG", ")", "return", "0", ";", "if", "(", "hard_regno", "==", "BP_REG", ")", "return", "1", ";", "if", "(", "FIRST_REX_INT_REG", "<=", "hard_regno", "&&", "hard_regno", "<=", "LAST_REX_INT_REG", ")", "return", "2", ";", "if", "(", "FIRST_REX_SSE_REG", "<=", "hard_regno", "&&", "hard_regno", "<=", "LAST_REX_SSE_REG", ")", "return", "2", ";", "if", "(", "hard_regno", "==", "AX_REG", ")", "return", "4", ";", "return", "3", ";", "}", ""], "natrual_language": ["Return", "a", "register", "priority", "for", "hard", "reg", "REGNO", "."], "TS_V_token": ["i386", "0", "1", "2", "2", "4", "3"], "File": "i3864", "Func": "ix86_register_priority", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2530, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TMS320C64XRegisterInfo", "::", "requiresRegisterScavenging", "(", "const", "MachineFunction", "&", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "requires", "(", "and", "can", "make", "use", "of", ")", "the", "register", "scavenger", "."], "TS_V_token": ["TMS320C64X", "TMS320C64X"], "File": "TMS320C64XRegisterInfo", "Func": "requiresRegisterScavenging", "Target": "TMS320C64X", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 2531, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_adjust_priority", "(", "rtx_insn", "*", "insn", ",", "int", "priority", ")", "{", "rtx", "set", ";", "if", "(", "reload_completed", ")", "return", "priority", ";", "if", "(", "!", "NONDEBUG_INSN_P", "(", "insn", ")", ")", "return", "priority", ";", "set", "=", "single_set", "(", "insn", ")", ";", "if", "(", "set", ")", "{", "rtx", "tmp", "=", "SET_SRC", "(", "set", ")", ";", "if", "(", "REG_P", "(", "tmp", ")", "&&", "HARD_REGISTER_P", "(", "tmp", ")", "&&", "!", "TEST_HARD_REG_BIT", "(", "fixed_reg_set", ",", "REGNO", "(", "tmp", ")", ")", "&&", "ix86_class_likely_spilled_p", "(", "REGNO_REG_CLASS", "(", "REGNO", "(", "tmp", ")", ")", ")", ")", "return", "current_sched_info", "->", "sched_max_insns_priority", ";", "}", "return", "priority", ";", "}", ""], "natrual_language": ["Hook", "for", "pre-reload", "schedule", "-", "set", "priority", "of", "moves", "from", "likely", "spilled", "HW", "registers", "to", "maximum", ",", "to", "schedule", "them", "at", "soon", "as", "possible", ".", "These", "are", "moves", "from", "function", "argument", "registers", "at", "the", "top", "of", "the", "function", "entry", "and", "moves", "from", "function", "return", "value", "registers", "after", "call", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_adjust_priority", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2532, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AvoidSFBPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "bool", "Changed", "=", "false", ";", "if", "(", "DisableX86AvoidStoreForwardBlocks", "||", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", "||", "!", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", ")", "return", "false", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "assert", "(", "MRI", "->", "isSSA", "(", ")", "&&", "\"Expected MIR to be in SSA form\"", ")", ";", "TII", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "AA", "=", "&", "getAnalysis", "<", "AAResultsWrapperPass", ">", "(", ")", ".", "getAAResults", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Start X86AvoidStoreForwardBlocks\\n\"", ";", ")", ";", "findPotentiallylBlockedCopies", "(", "MF", ")", ";", "for", "(", "auto", "LoadStoreInstPair", ":", "BlockedLoadsStoresPairs", ")", "{", "MachineInstr", "*", "LoadInst", "=", "LoadStoreInstPair", ".", "first", ";", "int64_t", "LdDispImm", "=", "getDispOperand", "(", "LoadInst", ")", ".", "getImm", "(", ")", ";", "DisplacementSizeMap", "BlockingStoresDispSizeMap", ";", "SmallVector", "<", "MachineInstr", "*", ",", "2", ">", "PotentialBlockers", "=", "findPotentialBlockers", "(", "LoadInst", ")", ";", "for", "(", "auto", "PBInst", ":", "PotentialBlockers", ")", "{", "if", "(", "!", "isPotentialBlockingStoreInst", "(", "PBInst", "->", "getOpcode", "(", ")", ",", "LoadInst", "->", "getOpcode", "(", ")", ")", "||", "!", "isRelevantAddressingMode", "(", "PBInst", ")", ")", "continue", ";", "int64_t", "PBstDispImm", "=", "getDispOperand", "(", "PBInst", ")", ".", "getImm", "(", ")", ";", "assert", "(", "PBInst", "->", "hasOneMemOperand", "(", ")", "&&", "\"Expected One Memory Operand\"", ")", ";", "unsigned", "PBstSize", "=", "(", "*", "PBInst", "->", "memoperands_begin", "(", ")", ")", "->", "getSize", "(", ")", ";", "if", "(", "hasSameBaseOpValue", "(", "LoadInst", ",", "PBInst", ")", "&&", "isBlockingStore", "(", "LdDispImm", ",", "getRegSizeInBytes", "(", "LoadInst", ")", ",", "PBstDispImm", ",", "PBstSize", ")", ")", "updateBlockingStoresDispSizeMap", "(", "BlockingStoresDispSizeMap", ",", "PBstDispImm", ",", "PBstSize", ")", ";", "}", "if", "(", "BlockingStoresDispSizeMap", ".", "empty", "(", ")", ")", "continue", ";", "MachineInstr", "*", "StoreInst", "=", "LoadStoreInstPair", ".", "second", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Blocked load and store instructions: \\n\"", ")", ";", "LLVM_DEBUG", "(", "LoadInst", "->", "dump", "(", ")", ")", ";", "LLVM_DEBUG", "(", "StoreInst", "->", "dump", "(", ")", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Replaced with:\\n\"", ")", ";", "removeRedundantBlockingStores", "(", "BlockingStoresDispSizeMap", ")", ";", "breakBlockedCopies", "(", "LoadInst", ",", "StoreInst", ",", "BlockingStoresDispSizeMap", ")", ";", "updateKillStatus", "(", "LoadInst", ",", "StoreInst", ")", ";", "ForRemoval", ".", "push_back", "(", "LoadInst", ")", ";", "ForRemoval", ".", "push_back", "(", "StoreInst", ")", ";", "}", "for", "(", "auto", "RemovedInst", ":", "ForRemoval", ")", "{", "RemovedInst", "->", "eraseFromParent", "(", ")", ";", "}", "ForRemoval", ".", "clear", "(", ")", ";", "BlockedLoadsStoresPairs", ".", "clear", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"End X86AvoidStoreForwardBlocks\\n\"", ";", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "\"Expected MIR to be in SSA form\"", "X86", "X86", "\"Start X86AvoidStoreForwardBlocks\\n\"", "2", "\"Expected One Memory Operand\"", "\"Blocked load and store instructions: \\n\"", "\"Replaced with:\\n\"", "\"End X86AvoidStoreForwardBlocks\\n\""], "File": "X86AvoidStoreForwardingBlocks", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2533, "Length": 406, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "Z80RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "Z80", "::", "PC", ")", ";", "Reserved", ".", "set", "(", "Z80", "::", "SP", ")", ";", "Reserved", ".", "set", "(", "Z80", "::", "FLAGS", ")", ";", "Reserved", ".", "set", "(", "getFrameRegister", "(", "MF", ")", ")", ";", "return", "Reserved", ";", "}", ""], "natrual_language": ["getReservedRegs", "-", "Returns", "a", "bitset", "indexed", "by", "physical", "register", "number", "indicating", "if", "a", "register", "is", "a", "special", "register", "that", "has", "particular", "uses", "and", "should", "be", "considered", "unavailable", "at", "all", "times", ",", "e.g", "."], "TS_V_token": ["Z80", "Z80", "Z80::PC", "Z80::SP", "Z80::FLAGS"], "File": "Z80RegisterInfo", "Func": "getReservedRegs", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2534, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "fr30_must_pass_in_stack", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "if", "(", "mode", "==", "BLKmode", ")", "return", "true", ";", "if", "(", "type", "==", "NULL", ")", "return", "false", ";", "return", "AGGREGATE_TYPE_P", "(", "type", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "we", "should", "pass", "an", "argument", "on", "the", "stack", "rather", "than", "in", "registers", "."], "TS_V_token": ["fr30"], "File": "fr304", "Func": "fr30_must_pass_in_stack", "Target": "fr30", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 2535, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_save_reg_p", "(", "unsigned", "int", "regno", ")", "{", "bool", "call_saved", "=", "!", "global_regs", "[", "regno", "]", "&&", "!", "call_used_or_fixed_reg_p", "(", "regno", ")", ";", "bool", "might_clobber", "=", "crtl", "->", "saves_all_registers", "||", "df_regs_ever_live_p", "(", "regno", ")", ";", "if", "(", "call_saved", "&&", "might_clobber", ")", "return", "true", ";", "if", "(", "regno", "==", "HARD_FRAME_POINTER_REGNUM", "&&", "frame_pointer_needed", ")", "return", "true", ";", "if", "(", "regno", "==", "RETURN_ADDR_REGNUM", "&&", "crtl", "->", "calls_eh_return", ")", "return", "true", ";", "if", "(", "cfun", "->", "machine", "->", "interrupt_handler_p", ")", "{", "if", "(", "regno", "==", "GP_REG_FIRST", ")", "return", "false", ";", "if", "(", "regno", "==", "STACK_POINTER_REGNUM", ")", "return", "false", ";", "if", "(", "regno", "==", "GP_REGNUM", "||", "regno", "==", "THREAD_POINTER_REGNUM", ")", "return", "false", ";", "if", "(", "df_regs_ever_live_p", "(", "regno", ")", "||", "(", "!", "crtl", "->", "is_leaf", "&&", "call_used_or_fixed_reg_p", "(", "regno", ")", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "current", "function", "must", "save", "register", "REGNO", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_save_reg_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2536, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "emit_frame_save", "(", "rtx", "frame_reg", ",", "machine_mode", "mode", ",", "unsigned", "int", "regno", ",", "int", "offset", ",", "HOST_WIDE_INT", "frame_reg_to_sp", ")", "{", "rtx", "reg", ",", "insn", ";", "gcc_checking_assert", "(", "!", "(", "(", "TARGET_ALTIVEC_ABI", "&&", "ALTIVEC_VECTOR_MODE", "(", "mode", ")", ")", "||", "(", "TARGET_VSX", "&&", "ALTIVEC_OR_VSX_VECTOR_MODE", "(", "mode", ")", ")", "||", "(", "TARGET_E500_DOUBLE", "&&", "mode", "==", "DFmode", ")", "||", "(", "TARGET_SPE_ABI", "&&", "SPE_VECTOR_MODE", "(", "mode", ")", "&&", "!", "SPE_CONST_OFFSET_OK", "(", "offset", ")", ")", ")", ")", ";", "reg", "=", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "insn", "=", "emit_insn", "(", "gen_frame_store", "(", "reg", ",", "frame_reg", ",", "offset", ")", ")", ";", "return", "rs6000_frame_related", "(", "insn", ",", "frame_reg", ",", "frame_reg_to_sp", ",", "NULL_RTX", ",", "NULL_RTX", ",", "NULL_RTX", ")", ";", "}", ""], "natrual_language": ["Save", "a", "register", "into", "the", "frame", ",", "and", "emit", "RTX_FRAME_RELATED_P", "notes", ".", "Save", "REGNO", "into", "[", "FRAME_REG", "+", "OFFSET", "]", "in", "mode", "MODE", "."], "TS_V_token": ["rs6000"], "File": "rs60004", "Func": "emit_frame_save", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2537, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "WebAssemblyPassConfig", "::", "addFastRegAlloc", "(", "FunctionPass", "*", "RegAllocPass", ")", "{", "assert", "(", "!", "RegAllocPass", "&&", "\"WebAssembly uses no regalloc!\"", ")", ";", "addRegAllocPasses", "(", "false", ")", ";", "}", ""], "natrual_language": ["addFastRegAlloc", "-", "Add", "the", "minimum", "set", "of", "target-independent", "passes", "that", "are", "required", "for", "fast", "register", "allocation", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"WebAssembly uses no regalloc!\""], "File": "WebAssemblyTargetMachine2", "Func": "addFastRegAlloc", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2538, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_emit_save_sse_regs_using_mov", "(", "HOST_WIDE_INT", "cfa_offset", ")", "{", "unsigned", "int", "regno", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "SSE_REGNO_P", "(", "regno", ")", "&&", "ix86_save_reg", "(", "regno", ",", "true", ")", ")", "{", "ix86_emit_save_reg_using_mov", "(", "V4SFmode", ",", "regno", ",", "cfa_offset", ")", ";", "cfa_offset", "-=", "16", ";", "}", "}", ""], "natrual_language": ["Emit", "code", "to", "save", "SSE", "registers", "using", "MOV", "insns", ".", "First", "register", "is", "stored", "at", "CFA", "-", "CFA_OFFSET", "."], "TS_V_token": ["i386", "0", "16"], "File": "i3864", "Func": "ix86_emit_save_sse_regs_using_mov", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2539, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "BPFSubtarget", "*", "getSubtargetImpl", "(", "const", "Function", "&", ")", "const", "override", "{", "return", "&", "Subtarget", ";", "}", ""], "natrual_language": ["Virtual", "method", "implemented", "by", "subclasses", "that", "returns", "a", "reference", "to", "that", "target", "'s", "TargetSubtargetInfo-derived", "member", "variable", "."], "TS_V_token": ["BPF", "BPF"], "File": "BPFTargetMachine", "Func": "getSubtargetImpl", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2540, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "arm_first_cycle_multipass_dfa_lookahead_guard", "(", "rtx_insn", "*", "insn", ",", "int", "ready_index", ")", "{", "return", "autopref_multipass_dfa_lookahead_guard", "(", "insn", ",", "ready_index", ")", ";", "}", ""], "natrual_language": ["Enable", "modeling", "of", "L2", "auto-prefetcher", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_first_cycle_multipass_dfa_lookahead_guard", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2541, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64TargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "AND", ":", "return", "PerformANDCombine", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "OR", ":", "return", "PerformORCombine", "(", "N", ",", "DCI", ",", "getSubtarget", "(", ")", ")", ";", "case", "ISD", "::", "SRA", ":", "return", "PerformSRACombine", "(", "N", ",", "DCI", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["This", "method", "will", "be", "invoked", "for", "all", "target", "nodes", "and", "for", "any", "target-independent", "nodes", "that", "the", "target", "has", "registered", "with", "invoke", "it", "for", "."], "TS_V_token": ["AArch64", "AArch64", "ISD::AND", "ISD::OR", "ISD::SRA"], "File": "AArch64ISelLowering172", "Func": "PerformDAGCombine", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2542, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_use_save_libcall", "(", "const", "struct", "riscv_frame_info", "*", "frame", ")", "{", "if", "(", "!", "TARGET_SAVE_RESTORE", "||", "crtl", "->", "calls_eh_return", "||", "frame_pointer_needed", ")", "return", "false", ";", "return", "frame", "->", "save_libcall_adjustment", "!=", "0", ";", "}", ""], "natrual_language": ["Determine", "whether", "to", "call", "GPR", "save/restore", "routines", "."], "TS_V_token": ["riscv", "0"], "File": "riscv2", "Func": "riscv_use_save_libcall", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2543, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print_operand", "(", "FILE", "*", "file", ",", "rtx", "op", ",", "int", "letter", ")", "{", "if", "(", "letter", "==", "'.'", ")", "{", "if", "(", "MOTOROLA", ")", "fprintf", "(", "file", ",", "\".\"", ")", ";", "}", "else", "if", "(", "letter", "==", "'#'", ")", "asm_fprintf", "(", "file", ",", "\"%I\"", ")", ";", "else", "if", "(", "letter", "==", "'-'", ")", "asm_fprintf", "(", "file", ",", "MOTOROLA", "?", "\"-(%Rsp)\"", ":", "\"%Rsp@-\"", ")", ";", "else", "if", "(", "letter", "==", "'+'", ")", "asm_fprintf", "(", "file", ",", "MOTOROLA", "?", "\"(%Rsp)+\"", ":", "\"%Rsp@+\"", ")", ";", "else", "if", "(", "letter", "==", "'@'", ")", "asm_fprintf", "(", "file", ",", "MOTOROLA", "?", "\"(%Rsp)\"", ":", "\"%Rsp@\"", ")", ";", "else", "if", "(", "letter", "==", "'!'", ")", "asm_fprintf", "(", "file", ",", "\"%Rfpcr\"", ")", ";", "else", "if", "(", "letter", "==", "'$'", ")", "{", "if", "(", "TARGET_68040_ONLY", ")", "fprintf", "(", "file", ",", "\"s\"", ")", ";", "}", "else", "if", "(", "letter", "==", "'&'", ")", "{", "if", "(", "TARGET_68040_ONLY", ")", "fprintf", "(", "file", ",", "\"d\"", ")", ";", "}", "else", "if", "(", "letter", "==", "'/'", ")", "asm_fprintf", "(", "file", ",", "\"%R\"", ")", ";", "else", "if", "(", "letter", "==", "'o'", ")", "{", "gcc_assert", "(", "GET_CODE", "(", "op", ")", "==", "MEM", "&&", "GET_CODE", "(", "XEXP", "(", "op", ",", "0", ")", ")", "==", "SYMBOL_REF", "&&", "TARGET_PCREL", ")", ";", "output_addr_const", "(", "file", ",", "XEXP", "(", "op", ",", "0", ")", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "op", ")", "==", "REG", ")", "{", "if", "(", "letter", "==", "'R'", ")", "fputs", "(", "M68K_REGNAME", "(", "REGNO", "(", "op", ")", "+", "1", ")", ",", "file", ")", ";", "else", "fputs", "(", "M68K_REGNAME", "(", "REGNO", "(", "op", ")", ")", ",", "file", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "op", ")", "==", "MEM", ")", "{", "output_address", "(", "XEXP", "(", "op", ",", "0", ")", ")", ";", "if", "(", "letter", "==", "'d'", "&&", "!", "TARGET_68020", "&&", "CONSTANT_ADDRESS_P", "(", "XEXP", "(", "op", ",", "0", ")", ")", "&&", "!", "(", "GET_CODE", "(", "XEXP", "(", "op", ",", "0", ")", ")", "==", "CONST_INT", "&&", "INTVAL", "(", "XEXP", "(", "op", ",", "0", ")", ")", "<", "0x8000", "&&", "INTVAL", "(", "XEXP", "(", "op", ",", "0", ")", ")", ">=", "-", "0x8000", ")", ")", "fprintf", "(", "file", ",", "MOTOROLA", "?", "\".l\"", ":", "\":l\"", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "op", ")", "==", "CONST_DOUBLE", "&&", "GET_MODE", "(", "op", ")", "==", "SFmode", ")", "{", "REAL_VALUE_TYPE", "r", ";", "REAL_VALUE_FROM_CONST_DOUBLE", "(", "r", ",", "op", ")", ";", "ASM_OUTPUT_FLOAT_OPERAND", "(", "letter", ",", "file", ",", "r", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "op", ")", "==", "CONST_DOUBLE", "&&", "GET_MODE", "(", "op", ")", "==", "XFmode", ")", "{", "REAL_VALUE_TYPE", "r", ";", "REAL_VALUE_FROM_CONST_DOUBLE", "(", "r", ",", "op", ")", ";", "ASM_OUTPUT_LONG_DOUBLE_OPERAND", "(", "file", ",", "r", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "op", ")", "==", "CONST_DOUBLE", "&&", "GET_MODE", "(", "op", ")", "==", "DFmode", ")", "{", "REAL_VALUE_TYPE", "r", ";", "REAL_VALUE_FROM_CONST_DOUBLE", "(", "r", ",", "op", ")", ";", "ASM_OUTPUT_DOUBLE_OPERAND", "(", "file", ",", "r", ")", ";", "}", "else", "{", "asm_fprintf", "(", "file", ",", "\"%I\"", ")", ";", "if", "(", "TARGET_PCREL", "&&", "(", "GET_CODE", "(", "op", ")", "==", "SYMBOL_REF", "||", "GET_CODE", "(", "op", ")", "==", "CONST", ")", ")", "print_operand_address", "(", "file", ",", "op", ")", ";", "else", "output_addr_const", "(", "file", ",", "op", ")", ";", "}", "}", ""], "natrual_language": ["Use", "S", "for", "SI", "regsUse", "B", "&", "T", "for", "parts", "of", "DI", "regs", "X", "-", "stack", "pointer", "name", "Registers", "Q", "-", "byte", "sized", "register", "name", "U", "-", "high", "byte", "of", "word", "register", "V", "-", "low", "byte", "of", "word", "register", "H", "-", "word", "register", "name", "I", "-", "next", "word", "register", "name", "S", "&", "B", "-", "long", "register", "name", "T", "-", "next", "long", "register", "name", "D", "-", "quad", "register", "name", "P", "-", "register", "name", "in", "size", "of", "pointer", "Integers", "O", "-", "log", "two", "of", "value", "P", "-", "inverted", "log", "two", "H", "-", "bottom", "16", "bits", "I", "-", "top", "16", "bits", "N", "-", "negative", "B", "-", "high", "32", "bits", "of", "32bit", "number", ".", "default", ":", "value", "Memory", "I", "-", "adjusted", "upwards", "by", "two", "T", "-", "adjusted", "upwards", "by", "four", "default", ":", "value", "Address", "H", "-", "low", "16", "bits", "I", "-", "high", "16", "bits", "A", "-", "as", "long", "constant", "S", "-", "as", "A", "but", "with", "#", "default", ":", "error", "Misc", "C", "-", "conditional", "name", "D", "-", "reverse", "conditional", "name", "F", "-", "clear", "v", "flag", "if", "necessary"], "TS_V_token": ["m68k", "\".\"", "\"%I\"", "\"-(%Rsp)\"", "\"%Rsp@-\"", "\"(%Rsp)+\"", "\"%Rsp@+\"", "\"(%Rsp)\"", "\"%Rsp@\"", "\"%Rfpcr\"", "\"s\"", "\"d\"", "\"%R\"", "0", "0", "1", "0", "0", "0", "0", "0x8000", "0", "0x8000", "\".l\"", "\":l\"", "\"%I\""], "File": "m68k3", "Func": "print_operand", "Target": "m68k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2544, "Length": 509, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsTargetLowering", "::", "getJumpTableEncoding", "(", ")", "const", "{", "if", "(", "ABI", ".", "IsN64", "(", ")", ")", "return", "MachineJumpTableInfo", "::", "EK_GPRel64BlockAddress", ";", "return", "TargetLowering", "::", "getJumpTableEncoding", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "entry", "encoding", "for", "a", "jump", "table", "in", "the", "current", "function", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsISelLowering (2)5", "Func": "getJumpTableEncoding", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2545, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "struct", "machine_function", "*", "nvptx_init_machine_status", "(", "void", ")", "{", "struct", "machine_function", "*", "p", "=", "ggc_cleared_alloc", "<", "machine_function", ">", "(", ")", ";", "p", "->", "return_mode", "=", "VOIDmode", ";", "return", "p", ";", "}", ""], "natrual_language": ["Allocate", "a", "new", ",", "cleared", "machine_function", "structure", "."], "TS_V_token": ["nvptx"], "File": "nvptx", "Func": "nvptx_init_machine_status", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 2546, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "Z80FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "unsigned", "Amount", "=", "TII", ".", "getFrameSize", "(", "*", "I", ")", ";", "unsigned", "ScratchReg", "=", "I", "->", "getOperand", "(", "I", "->", "getNumOperands", "(", ")", "-", "1", ")", ".", "getReg", "(", ")", ";", "assert", "(", "(", "Z80", "::", "A24RegClass", ".", "contains", "(", "ScratchReg", ")", "||", "Z80", "::", "A16RegClass", ".", "contains", "(", "ScratchReg", ")", ")", "&&", "\"Expected last operand to be the scratch reg.\"", ")", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", ")", "{", "Amount", "-=", "TII", ".", "getFramePoppedByCallee", "(", "*", "I", ")", ";", "assert", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "ScratchReg", ")", "&&", "\"Reg alloc should have already happened.\"", ")", ";", "BuildStackAdjustment", "(", "MF", ",", "MBB", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "ScratchReg", ",", "Amount", ")", ";", "}", "return", "MBB", ".", "erase", "(", "I", ")", ";", "}", ""], "natrual_language": ["This", "method", "is", "called", "during", "prolog/epilog", "code", "insertion", "to", "eliminate", "call", "frame", "setup", "and", "destroy", "pseudo", "instructions", "(", "but", "only", "if", "the", "Target", "is", "using", "them", ")", "."], "TS_V_token": ["Z80", "Z80", "1", "Z80::A24RegClass", "Z80::A16RegClass", "\"Expected last operand to be the scratch reg.\"", "\"Reg alloc should have already happened.\""], "File": "Z80FrameLowering2", "Func": "eliminateCallFramePseudoInstr", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2547, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "unsigned", "Opcode", "=", "Node", "->", "getOpcode", "(", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "\"Selecting: \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "\"\\n\"", ")", ";", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"== \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "\"\\n\"", ")", ";", "return", ";", "}", "EVT", "VT", "=", "Node", "->", "getValueType", "(", "0", ")", ";", "switch", "(", "Opcode", ")", "{", "case", "ISD", "::", "Constant", ":", "if", "(", "VT", "==", "MVT", "::", "i32", ")", "{", "ConstantSDNode", "*", "ConstNode", "=", "cast", "<", "ConstantSDNode", ">", "(", "Node", ")", ";", "if", "(", "ConstNode", "->", "isNullValue", "(", ")", ")", "{", "SDValue", "New", "=", "CurDAG", "->", "getCopyFromReg", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "SDLoc", "(", "Node", ")", ",", "Lanai", "::", "R0", ",", "MVT", "::", "i32", ")", ";", "return", "ReplaceNode", "(", "Node", ",", "New", ".", "getNode", "(", ")", ")", ";", "}", "if", "(", "ConstNode", "->", "isAllOnesValue", "(", ")", ")", "{", "SDValue", "New", "=", "CurDAG", "->", "getCopyFromReg", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "SDLoc", "(", "Node", ")", ",", "Lanai", "::", "R1", ",", "MVT", "::", "i32", ")", ";", "return", "ReplaceNode", "(", "Node", ",", "New", ".", "getNode", "(", ")", ")", ";", "}", "}", "break", ";", "case", "ISD", "::", "FrameIndex", ":", "selectFrameIndex", "(", "Node", ")", ";", "return", ";", "default", ":", "break", ";", "}", "SelectCode", "(", "Node", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["Lanai", "Lanai", "\"Selecting: \"", "\"\\n\"", "\"== \"", "\"\\n\"", "0", "ISD::Constant", "MVT::i32", "Lanai::R0", "MVT::i32", "Lanai::R1", "MVT::i32", "ISD::FrameIndex"], "File": "LanaiISelDAGToDAG6", "Func": "Select", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2548, "Length": 240, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "c6x_reorg", "(", "void", ")", "{", "basic_block", "bb", ";", "bool", "do_selsched", "=", "(", "c6x_flag_schedule_insns2", "&&", "flag_selective_scheduling2", "&&", "!", "maybe_skip_selective_scheduling", "(", ")", ")", ";", "compute_bb_for_insn", "(", ")", ";", "df_clear_flags", "(", "DF_LR_RUN_DCE", ")", ";", "df_note_add_problem", "(", ")", ";", "if", "(", "optimize", "==", "0", ")", "split_all_insns", "(", ")", ";", "df_analyze", "(", ")", ";", "if", "(", "c6x_flag_schedule_insns2", ")", "{", "int", "sz", "=", "get_max_uid", "(", ")", "*", "3", "/", "2", "+", "1", ";", "insn_info", ".", "create", "(", "sz", ")", ";", "}", "sched_no_dce", "=", "true", ";", "c6x_hwloops", "(", ")", ";", "if", "(", "c6x_flag_schedule_insns2", ")", "{", "split_delayed_insns", "(", ")", ";", "timevar_push", "(", "TV_SCHED2", ")", ";", "if", "(", "do_selsched", ")", "run_selective_scheduling", "(", ")", ";", "else", "schedule_ebbs", "(", ")", ";", "conditionalize_after_sched", "(", ")", ";", "timevar_pop", "(", "TV_SCHED2", ")", ";", "free_delay_pairs", "(", ")", ";", "}", "sched_no_dce", "=", "false", ";", "rtx_insn", "*", "*", "call_labels", "=", "XCNEWVEC", "(", "rtx_insn", "*", ",", "get_max_uid", "(", ")", "+", "1", ")", ";", "reorg_split_calls", "(", "call_labels", ")", ";", "if", "(", "c6x_flag_schedule_insns2", ")", "{", "FOR_EACH_BB_FN", "(", "bb", ",", "cfun", ")", "if", "(", "(", "bb", "->", "flags", "&", "BB_DISABLE_SCHEDULE", ")", "==", "0", ")", "assign_reservations", "(", "BB_HEAD", "(", "bb", ")", ",", "BB_END", "(", "bb", ")", ")", ";", "}", "if", "(", "c6x_flag_var_tracking", ")", "{", "timevar_push", "(", "TV_VAR_TRACKING", ")", ";", "variable_tracking_main", "(", ")", ";", "timevar_pop", "(", "TV_VAR_TRACKING", ")", ";", "}", "reorg_emit_nops", "(", "call_labels", ")", ";", "if", "(", "c6x_flag_schedule_insns2", ")", "{", "free_delay_pairs", "(", ")", ";", "c6x_gen_bundles", "(", ")", ";", "}", "df_finish_pass", "(", "false", ")", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_MACHINE_DEPENDENT_REORG", "pass", ".", "We", "split", "call", "insns", "here", "into", "a", "sequence", "that", "loads", "the", "return", "register", "and", "performs", "the", "call", ",", "and", "emit", "the", "return", "label", ".", "If", "scheduling", "after", "reload", "is", "requested", ",", "it", "happens", "here", "."], "TS_V_token": ["c6x", "0", "3", "2", "1", "1", "0"], "File": "c6x4", "Func": "c6x_reorg", "Target": "c6x", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 2549, "Length": 234, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "pa_asm_output_aligned_bss", "(", "FILE", "*", "stream", ",", "const", "char", "*", "name", ",", "unsigned", "HOST_WIDE_INT", "size", ",", "unsigned", "int", "align", ")", "{", "switch_to_section", "(", "bss_section", ")", ";", "ASM_OUTPUT_TYPE_DIRECTIVE", "(", "stream", ",", "name", ",", "\"object\"", ")", ";", "ASM_OUTPUT_SIZE_DIRECTIVE", "(", "stream", ",", "name", ",", "size", ")", ";", "fprintf", "(", "stream", ",", "\"\\t.align %u\\n\"", ",", "align", "/", "BITS_PER_UNIT", ")", ";", "ASM_OUTPUT_LABEL", "(", "stream", ",", "name", ")", ";", "fprintf", "(", "stream", ",", "\"\\t.block \"", "HOST_WIDE_INT_PRINT_UNSIGNED", "\"\\n\"", ",", "size", ")", ";", "}", ""], "natrual_language": ["This", "function", "places", "uninitialized", "global", "data", "in", "the", "bss", "section", ".", "The", "ASM_OUTPUT_ALIGNED_BSS", "macro", "needs", "to", "be", "defined", "to", "call", "this", "function", "on", "the", "SOM", "port", "to", "prevent", "uninitialized", "global", "data", "from", "being", "placed", "in", "the", "data", "section", "."], "TS_V_token": ["pa", "\"object\"", "\"\\t.align %u\\n\"", "\"\\t.block \"", "\"\\n\""], "File": "pa", "Func": "pa_asm_output_aligned_bss", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2550, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "tilepro_legitimate_pic_operand_p", "(", "rtx", "x", ")", "{", "if", "(", "tilepro_pic_address_needs_scratch", "(", "x", ")", ")", "return", "false", ";", "if", "(", "tilepro_tls_referenced_p", "(", "x", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "constant", "value", "X", "is", "a", "legitimate", "general", "operand", "when", "generating", "PIC", "code", ".", "It", "is", "given", "that", "flag_pic", "is", "on", "and", "that", "X", "satisfies", "CONSTANT_P", "."], "TS_V_token": ["tilepro"], "File": "tilepro", "Func": "tilepro_legitimate_pic_operand_p", "Target": "tilepro", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 2551, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "aarch64_symbol_type", "aarch64_classify_symbol", "(", "rtx", "x", ",", "HOST_WIDE_INT", "offset", ")", "{", "x", "=", "strip_salt", "(", "x", ")", ";", "if", "(", "LABEL_REF_P", "(", "x", ")", ")", "{", "switch", "(", "aarch64_cmodel", ")", "{", "case", "AARCH64_CMODEL_LARGE", ":", "return", "SYMBOL_FORCE_TO_MEM", ";", "case", "AARCH64_CMODEL_TINY_PIC", ":", "case", "AARCH64_CMODEL_TINY", ":", "return", "SYMBOL_TINY_ABSOLUTE", ";", "case", "AARCH64_CMODEL_SMALL_SPIC", ":", "case", "AARCH64_CMODEL_SMALL_PIC", ":", "case", "AARCH64_CMODEL_SMALL", ":", "return", "SYMBOL_SMALL_ABSOLUTE", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "if", "(", "SYMBOL_REF_P", "(", "x", ")", ")", "{", "if", "(", "aarch64_tls_symbol_p", "(", "x", ")", ")", "return", "aarch64_classify_tls_symbol", "(", "x", ")", ";", "switch", "(", "aarch64_cmodel", ")", "{", "case", "AARCH64_CMODEL_TINY", ":", "if", "(", "SYMBOL_REF_WEAK", "(", "x", ")", "&&", "!", "aarch64_symbol_binds_local_p", "(", "x", ")", ")", "return", "SYMBOL_FORCE_TO_MEM", ";", "if", "(", "!", "(", "IN_RANGE", "(", "offset", ",", "-", "0x10000", ",", "0x10000", ")", "||", "offset_within_block_p", "(", "x", ",", "offset", ")", ")", ")", "return", "SYMBOL_FORCE_TO_MEM", ";", "return", "SYMBOL_TINY_ABSOLUTE", ";", "case", "AARCH64_CMODEL_SMALL", ":", "if", "(", "SYMBOL_REF_WEAK", "(", "x", ")", "&&", "!", "aarch64_symbol_binds_local_p", "(", "x", ")", ")", "return", "SYMBOL_FORCE_TO_MEM", ";", "if", "(", "!", "(", "IN_RANGE", "(", "offset", ",", "-", "0x100000", ",", "0x100000", ")", "||", "offset_within_block_p", "(", "x", ",", "offset", ")", ")", ")", "return", "SYMBOL_FORCE_TO_MEM", ";", "return", "SYMBOL_SMALL_ABSOLUTE", ";", "case", "AARCH64_CMODEL_TINY_PIC", ":", "if", "(", "!", "aarch64_symbol_binds_local_p", "(", "x", ")", ")", "return", "SYMBOL_TINY_GOT", ";", "return", "SYMBOL_TINY_ABSOLUTE", ";", "case", "AARCH64_CMODEL_SMALL_SPIC", ":", "case", "AARCH64_CMODEL_SMALL_PIC", ":", "if", "(", "!", "aarch64_symbol_binds_local_p", "(", "x", ")", ")", "return", "(", "aarch64_cmodel", "==", "AARCH64_CMODEL_SMALL_SPIC", "?", "SYMBOL_SMALL_GOT_28K", ":", "SYMBOL_SMALL_GOT_4G", ")", ";", "return", "SYMBOL_SMALL_ABSOLUTE", ";", "case", "AARCH64_CMODEL_LARGE", ":", "if", "(", "!", "aarch64_pcrelative_literal_loads", "&&", "CONSTANT_POOL_ADDRESS_P", "(", "x", ")", ")", "return", "SYMBOL_SMALL_ABSOLUTE", ";", "else", "return", "SYMBOL_FORCE_TO_MEM", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "return", "SYMBOL_FORCE_TO_MEM", ";", "}", ""], "natrual_language": ["Return", "the", "method", "that", "should", "be", "used", "to", "access", "SYMBOL_REF", "or", "LABEL_REF", "X", "."], "TS_V_token": ["aarch64", "0x10000", "0x10000", "0x100000", "0x100000"], "File": "aarch641", "Func": "aarch64_classify_symbol", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2552, "Length": 263, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "NVPTXPassConfig", "::", "addFastRegAlloc", "(", "FunctionPass", "*", "RegAllocPass", ")", "{", "assert", "(", "!", "RegAllocPass", "&&", "\"NVPTX uses no regalloc!\"", ")", ";", "addPass", "(", "&", "PHIEliminationID", ")", ";", "addPass", "(", "&", "TwoAddressInstructionPassID", ")", ";", "}", ""], "natrual_language": ["addFastRegAlloc", "-", "Add", "the", "minimum", "set", "of", "target-independent", "passes", "that", "are", "required", "for", "fast", "register", "allocation", "."], "TS_V_token": ["NVPTX", "NVPTX", "\"NVPTX uses no regalloc!\""], "File": "NVPTXTargetMachine (2)", "Func": "addFastRegAlloc", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2553, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "riscv_move_integer", "(", "rtx", "temp", ",", "rtx", "dest", ",", "HOST_WIDE_INT", "value", ",", "machine_mode", "orig_mode", ",", "bool", "in_splitter", ")", "{", "struct", "riscv_integer_op", "codes", "[", "RISCV_MAX_INTEGER_OPS", "]", ";", "machine_mode", "mode", ";", "int", "i", ",", "num_ops", ";", "rtx", "x", ";", "bool", "can_create_pseudo", "=", "can_create_pseudo_p", "(", ")", "&&", "!", "in_splitter", ";", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "num_ops", "=", "riscv_build_integer", "(", "codes", ",", "value", ",", "orig_mode", ")", ";", "if", "(", "can_create_pseudo", "&&", "num_ops", ">", "2", "&&", "num_ops", ">=", "riscv_split_integer_cost", "(", "value", ")", ")", "x", "=", "riscv_split_integer", "(", "value", ",", "mode", ")", ";", "else", "{", "codes", "[", "0", "]", ".", "value", "=", "trunc_int_for_mode", "(", "codes", "[", "0", "]", ".", "value", ",", "mode", ")", ";", "x", "=", "GEN_INT", "(", "codes", "[", "0", "]", ".", "value", ")", ";", "for", "(", "i", "=", "1", ";", "i", "<", "num_ops", ";", "i", "++", ")", "{", "if", "(", "!", "can_create_pseudo", ")", "x", "=", "riscv_emit_set", "(", "temp", ",", "x", ")", ";", "else", "x", "=", "force_reg", "(", "mode", ",", "x", ")", ";", "codes", "[", "i", "]", ".", "value", "=", "trunc_int_for_mode", "(", "codes", "[", "i", "]", ".", "value", ",", "mode", ")", ";", "x", "=", "gen_rtx_fmt_ee", "(", "codes", "[", "i", "]", ".", "code", ",", "mode", ",", "x", ",", "GEN_INT", "(", "codes", "[", "i", "]", ".", "value", ")", ")", ";", "}", "}", "riscv_emit_set", "(", "dest", ",", "x", ")", ";", "}", ""], "natrual_language": ["Load", "VALUE", "into", "DEST", ".", "TEMP", "is", "as", "for", "riscv_force_temporary", "."], "TS_V_token": ["riscv", "2", "0", "0", "0", "1"], "File": "riscv1", "Func": "riscv_move_integer", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2554, "Length": 215, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sh_small_register_classes_for_mode_p", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "registers", "in", "machine", "mode", "MODE", "will", "likely", "be", "allocated", "to", "registers", "in", "small", "register", "classes", "."], "TS_V_token": ["sh"], "File": "sh", "Func": "sh_small_register_classes_for_mode_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2555, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_return_in_memory", "(", "const_tree", "type", ",", "const_tree", "fndecl", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_OLDABI", ")", "return", "(", "VECTOR_FLOAT_TYPE_P", "(", "type", ")", "||", "TYPE_MODE", "(", "type", ")", "==", "BLKmode", ")", ";", "return", "(", "!", "IN_RANGE", "(", "int_size_in_bytes", "(", "type", ")", ",", "0", ",", "2", "*", "UNITS_PER_WORD", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_RETURN_IN_MEMORY", ".", "Under", "the", "old", "(", "i.e.", ",", "32", "and", "O64", "ABIs", ")", "all", "BLKmode", "objects", "are", "returned", "in", "memory", ".", "Under", "the", "new", "(", "N32", "and", "64-bit", "MIPS", "ABIs", ")", "small", "structures", "are", "returned", "in", "a", "register", ".", "Objects", "with", "varying", "size", "must", "still", "be", "returned", "in", "memory", ",", "of", "course", "."], "TS_V_token": ["mips", "0", "2"], "File": "mips", "Func": "mips_return_in_memory", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2556, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "GCNTTIImpl", "::", "isSourceOfDivergence", "(", "const", "Value", "*", "V", ")", "const", "{", "if", "(", "const", "Argument", "*", "A", "=", "dyn_cast", "<", "Argument", ">", "(", "V", ")", ")", "return", "!", "isArgPassedInSGPR", "(", "A", ")", ";", "if", "(", "const", "LoadInst", "*", "Load", "=", "dyn_cast", "<", "LoadInst", ">", "(", "V", ")", ")", "return", "Load", "->", "getPointerAddressSpace", "(", ")", "==", "AMDGPUAS", "::", "PRIVATE_ADDRESS", "||", "Load", "->", "getPointerAddressSpace", "(", ")", "==", "AMDGPUAS", "::", "FLAT_ADDRESS", ";", "if", "(", "isa", "<", "AtomicRMWInst", ">", "(", "V", ")", "||", "isa", "<", "AtomicCmpXchgInst", ">", "(", "V", ")", ")", "return", "true", ";", "if", "(", "const", "IntrinsicInst", "*", "Intrinsic", "=", "dyn_cast", "<", "IntrinsicInst", ">", "(", "V", ")", ")", "return", "AMDGPU", "::", "isIntrinsicSourceOfDivergence", "(", "Intrinsic", "->", "getIntrinsicID", "(", ")", ")", ";", "if", "(", "isa", "<", "CallInst", ">", "(", "V", ")", "||", "isa", "<", "InvokeInst", ">", "(", "V", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "whether", "V", "is", "a", "source", "of", "divergence", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU::isIntrinsicSourceOfDivergence"], "File": "AMDGPUTargetTransformInfo10", "Func": "isSourceOfDivergence", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2557, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCRegisterInfo", "::", "lowerCRSpilling", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "unsigned", "FrameIndex", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "dl", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "bool", "LP64", "=", "Subtarget", ".", "isPPC64", "(", ")", ";", "const", "TargetRegisterClass", "*", "G8RC", "=", "&", "PPC", "::", "G8RCRegClass", ";", "const", "TargetRegisterClass", "*", "GPRC", "=", "&", "PPC", "::", "GPRCRegClass", ";", "unsigned", "Reg", "=", "MF", ".", "getRegInfo", "(", ")", ".", "createVirtualRegister", "(", "LP64", "?", "G8RC", ":", "GPRC", ")", ";", "unsigned", "SrcReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "LP64", "?", "PPC", "::", "MFOCRF8", ":", "PPC", "::", "MFOCRF", ")", ",", "Reg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "isKill", "(", ")", ")", ")", ";", "if", "(", "SrcReg", "!=", "PPC", "::", "CR0", ")", "{", "unsigned", "Reg1", "=", "Reg", ";", "Reg", "=", "MF", ".", "getRegInfo", "(", ")", ".", "createVirtualRegister", "(", "LP64", "?", "G8RC", ":", "GPRC", ")", ";", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "LP64", "?", "PPC", "::", "RLWINM8", ":", "PPC", "::", "RLWINM", ")", ",", "Reg", ")", ".", "addReg", "(", "Reg1", ",", "RegState", "::", "Kill", ")", ".", "addImm", "(", "getEncodingValue", "(", "SrcReg", ")", "*", "4", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "31", ")", ";", "}", "addFrameReference", "(", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "LP64", "?", "PPC", "::", "STW8", ":", "PPC", "::", "STW", ")", ")", ".", "addReg", "(", "Reg", ",", "RegState", "::", "Kill", ")", ",", "FrameIndex", ")", ";", "MBB", ".", "erase", "(", "II", ")", ";", "}", ""], "natrual_language": ["lowerCRSpilling", "-", "Generate", "the", "code", "for", "spilling", "a", "CR", "register", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC::G8RCRegClass", "PPC::GPRCRegClass", "0", "PPC::MFOCRF8", "PPC::MFOCRF", "0", "PPC::CR0", "PPC::RLWINM8", "PPC::RLWINM", "4", "0", "31", "PPC::STW8", "PPC::STW"], "File": "PPCRegisterInfo68", "Func": "lowerCRSpilling", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2558, "Length": 308, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIInstrInfo", "::", "canInsertSelect", "(", "const", "MachineBasicBlock", "&", "MBB", ",", "ArrayRef", "<", "MachineOperand", ">", "Cond", ",", "unsigned", "DstReg", ",", "unsigned", "TrueReg", ",", "unsigned", "FalseReg", ",", "int", "&", "CondCycles", ",", "int", "&", "TrueCycles", ",", "int", "&", "FalseCycles", ")", "const", "{", "switch", "(", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ")", "{", "case", "VCCNZ", ":", "case", "VCCZ", ":", "{", "const", "MachineRegisterInfo", "&", "MRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "MRI", ".", "getRegClass", "(", "TrueReg", ")", ";", "assert", "(", "MRI", ".", "getRegClass", "(", "FalseReg", ")", "==", "RC", ")", ";", "int", "NumInsts", "=", "AMDGPU", "::", "getRegBitWidth", "(", "RC", "->", "getID", "(", ")", ")", "/", "32", ";", "CondCycles", "=", "TrueCycles", "=", "FalseCycles", "=", "NumInsts", ";", "return", "RI", ".", "hasVGPRs", "(", "RC", ")", "&&", "NumInsts", "<=", "6", ";", "}", "case", "SCC_TRUE", ":", "case", "SCC_FALSE", ":", "{", "const", "MachineRegisterInfo", "&", "MRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "MRI", ".", "getRegClass", "(", "TrueReg", ")", ";", "assert", "(", "MRI", ".", "getRegClass", "(", "FalseReg", ")", "==", "RC", ")", ";", "int", "NumInsts", "=", "AMDGPU", "::", "getRegBitWidth", "(", "RC", "->", "getID", "(", ")", ")", "/", "32", ";", "if", "(", "NumInsts", "%", "2", "==", "0", ")", "NumInsts", "/=", "2", ";", "CondCycles", "=", "TrueCycles", "=", "FalseCycles", "=", "NumInsts", ";", "return", "RI", ".", "isSGPRClass", "(", "RC", ")", ";", "}", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "possible", "to", "insert", "a", "select", "instruction", "that", "chooses", "between", "TrueReg", "and", "FalseReg", "based", "on", "the", "condition", "code", "in", "Cond", "."], "TS_V_token": ["AMDGPU", "SI", "0", "AMDGPU::getRegBitWidth", "32", "6", "AMDGPU::getRegBitWidth", "32", "2", "0", "2"], "File": "SIInstrInfo140", "Func": "canInsertSelect", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2559, "Length": 232, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsSEFrameLowering", "::", "hasReservedCallFrame", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "isInt", "<", "16", ">", "(", "MFI", "->", "getMaxCallFrameSize", "(", ")", "+", "getStackAlignment", "(", ")", ")", "&&", "!", "MFI", "->", "hasVarSizedObjects", "(", ")", ";", "}", ""], "natrual_language": ["hasReservedCallFrame", "-", "Under", "normal", "circumstances", ",", "when", "a", "frame", "pointer", "is", "not", "required", ",", "we", "reserve", "argument", "space", "for", "call", "sites", "in", "the", "function", "immediately", "on", "entry", "to", "the", "current", "function", "."], "TS_V_token": ["Mips", "Mips", "16"], "File": "MipsSEFrameLowering", "Func": "hasReservedCallFrame", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2560, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "HexagonMCInst", "::", "getType", "(", ")", "const", "{", "const", "uint64_t", "F", "=", "getDesc", "(", ")", ".", "TSFlags", ";", "return", "(", "(", "F", ">>", "HexagonII", "::", "TypePos", ")", "&", "HexagonII", "::", "TypeMask", ")", ";", "}", ""], "natrual_language": ["Overload", "to", "return", "most", "specific", "vector", "type", "."], "TS_V_token": ["Hexagon", "Hexagon", "HexagonII::TypePos", "HexagonII::TypeMask"], "File": "HexagonMCInst", "Func": "getType", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2561, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "pa_fmpyaddoperands", "(", "rtx", "*", "operands", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "operands", "[", "0", "]", ")", ";", "if", "(", "mode", "!=", "SFmode", "&&", "mode", "!=", "DFmode", ")", "return", "0", ";", "if", "(", "!", "(", "mode", "==", "GET_MODE", "(", "operands", "[", "1", "]", ")", "&&", "mode", "==", "GET_MODE", "(", "operands", "[", "2", "]", ")", "&&", "mode", "==", "GET_MODE", "(", "operands", "[", "3", "]", ")", "&&", "mode", "==", "GET_MODE", "(", "operands", "[", "4", "]", ")", "&&", "mode", "==", "GET_MODE", "(", "operands", "[", "5", "]", ")", ")", ")", "return", "0", ";", "if", "(", "!", "(", "GET_CODE", "(", "operands", "[", "1", "]", ")", "==", "REG", "&&", "GET_CODE", "(", "operands", "[", "2", "]", ")", "==", "REG", "&&", "GET_CODE", "(", "operands", "[", "3", "]", ")", "==", "REG", "&&", "GET_CODE", "(", "operands", "[", "4", "]", ")", "==", "REG", "&&", "GET_CODE", "(", "operands", "[", "5", "]", ")", "==", "REG", ")", ")", "return", "0", ";", "if", "(", "!", "rtx_equal_p", "(", "operands", "[", "3", "]", ",", "operands", "[", "4", "]", ")", "&&", "!", "rtx_equal_p", "(", "operands", "[", "3", "]", ",", "operands", "[", "5", "]", ")", ")", "return", "0", ";", "if", "(", "rtx_equal_p", "(", "operands", "[", "3", "]", ",", "operands", "[", "0", "]", ")", "||", "rtx_equal_p", "(", "operands", "[", "3", "]", ",", "operands", "[", "1", "]", ")", "||", "rtx_equal_p", "(", "operands", "[", "3", "]", ",", "operands", "[", "2", "]", ")", ")", "return", "0", ";", "if", "(", "rtx_equal_p", "(", "operands", "[", "4", "]", ",", "operands", "[", "0", "]", ")", "||", "rtx_equal_p", "(", "operands", "[", "5", "]", ",", "operands", "[", "0", "]", ")", ")", "return", "0", ";", "if", "(", "mode", "==", "SFmode", "&&", "(", "REGNO_REG_CLASS", "(", "REGNO", "(", "operands", "[", "0", "]", ")", ")", "!=", "FPUPPER_REGS", "||", "REGNO_REG_CLASS", "(", "REGNO", "(", "operands", "[", "1", "]", ")", ")", "!=", "FPUPPER_REGS", "||", "REGNO_REG_CLASS", "(", "REGNO", "(", "operands", "[", "2", "]", ")", ")", "!=", "FPUPPER_REGS", "||", "REGNO_REG_CLASS", "(", "REGNO", "(", "operands", "[", "3", "]", ")", ")", "!=", "FPUPPER_REGS", "||", "REGNO_REG_CLASS", "(", "REGNO", "(", "operands", "[", "4", "]", ")", ")", "!=", "FPUPPER_REGS", "||", "REGNO_REG_CLASS", "(", "REGNO", "(", "operands", "[", "5", "]", ")", ")", "!=", "FPUPPER_REGS", ")", ")", "return", "0", ";", "return", "1", ";", "}", ""], "natrual_language": ["Returns", "1", "if", "the", "6", "operands", "specified", "in", "OPERANDS", "are", "suitable", "for", "use", "in", "fmpyadd", "instructions", "."], "TS_V_token": ["pa", "0", "0", "1", "2", "3", "4", "5", "0", "1", "2", "3", "4", "5", "0", "3", "4", "3", "5", "0", "3", "0", "3", "1", "3", "2", "0", "4", "0", "5", "0", "0", "0", "1", "2", "3", "4", "5", "0", "1"], "File": "pa", "Func": "pa_fmpyaddoperands", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2562, "Length": 349, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_emit_store_exclusive", "(", "machine_mode", "mode", ",", "rtx", "bval", ",", "rtx", "rval", ",", "rtx", "mem", ",", "rtx", "model_rtx", ")", "{", "emit_insn", "(", "gen_aarch64_store_exclusive", "(", "mode", ",", "bval", ",", "rval", ",", "mem", ",", "model_rtx", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "store", "exclusive", "."], "TS_V_token": ["aarch64"], "File": "aarch646", "Func": "aarch64_emit_store_exclusive", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2563, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "AArch64MCExpr", "*", "AArch64MCExpr", "::", "create", "(", "const", "MCExpr", "*", "Expr", ",", "VariantKind", "Kind", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "(", "Ctx", ")", "AArch64MCExpr", "(", "Expr", ",", "Kind", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64MCExpr (2)1", "Func": "create", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2564, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sparc_profile_hook", "(", "int", "labelno", ")", "{", "char", "buf", "[", "32", "]", ";", "rtx", "lab", ",", "fun", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "buf", ",", "\"LP\"", ",", "labelno", ")", ";", "lab", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "ggc_strdup", "(", "buf", ")", ")", ";", "fun", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "MCOUNT_FUNCTION", ")", ";", "emit_library_call", "(", "fun", ",", "LCT_NORMAL", ",", "VOIDmode", ",", "1", ",", "lab", ",", "Pmode", ")", ";", "}", ""], "natrual_language": ["Output", "rtl", "to", "increment", "the", "profiler", "label", "LABELNO", "for", "profiling", "a", "function", "entry", "."], "TS_V_token": ["sparc", "32", "\"LP\"", "1"], "File": "sparc3", "Func": "sparc_profile_hook", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2565, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "s390_adjust_loops", "(", ")", "{", "df_analyze", "(", ")", ";", "compute_bb_for_insn", "(", ")", ";", "loop_optimizer_init", "(", "AVOID_CFG_MODIFICATIONS", ")", ";", "for", "(", "auto", "loop", ":", "loops_list", "(", "cfun", ",", "LI_ONLY_INNERMOST", ")", ")", "{", "if", "(", "dump_file", ")", "{", "flow_loop_dump", "(", "loop", ",", "dump_file", ",", "NULL", ",", "0", ")", ";", "fprintf", "(", "dump_file", ",", "\";; OSC loop scan Loop: \"", ")", ";", "}", "if", "(", "loop", "->", "latch", "==", "NULL", "||", "pc_set", "(", "BB_END", "(", "loop", "->", "latch", ")", ")", "==", "NULL_RTX", "||", "!", "s390_adjust_loop_scan_osc", "(", "loop", ")", ")", "{", "if", "(", "dump_file", ")", "{", "if", "(", "loop", "->", "latch", "==", "NULL", ")", "fprintf", "(", "dump_file", ",", "\" muliple backward jumps\\n\"", ")", ";", "else", "{", "fprintf", "(", "dump_file", ",", "\" header insn: %d latch insn: %d \"", ",", "INSN_UID", "(", "BB_HEAD", "(", "loop", "->", "header", ")", ")", ",", "INSN_UID", "(", "BB_END", "(", "loop", "->", "latch", ")", ")", ")", ";", "if", "(", "pc_set", "(", "BB_END", "(", "loop", "->", "latch", ")", ")", "==", "NULL_RTX", ")", "fprintf", "(", "dump_file", ",", "\" loop does not end with jump\\n\"", ")", ";", "else", "fprintf", "(", "dump_file", ",", "\" not instrumented\\n\"", ")", ";", "}", "}", "}", "else", "{", "rtx_insn", "*", "new_insn", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\" adding OSC break insn: \"", ")", ";", "new_insn", "=", "emit_insn_before", "(", "gen_osc_break", "(", ")", ",", "BB_END", "(", "loop", "->", "latch", ")", ")", ";", "INSN_ADDRESSES_NEW", "(", "new_insn", ",", "-", "1", ")", ";", "}", "}", "loop_optimizer_finalize", "(", ")", ";", "df_finish_pass", "(", "false", ")", ";", "}", ""], "natrual_language": ["Look", "for", "adjustments", "which", "can", "be", "done", "on", "simple", "innermost", "loops", "."], "TS_V_token": ["s390", "0", "\";; OSC loop scan Loop: \"", "\" muliple backward jumps\\n\"", "\" header insn: %d latch insn: %d \"", "\" loop does not end with jump\\n\"", "\" not instrumented\\n\"", "\" adding OSC break insn: \"", "1"], "File": "s390", "Func": "s390_adjust_loops", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2566, "Length": 217, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "XCoreTargetMachine", "::", "XCoreTargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "TLOF", "(", "make_unique", "<", "XCoreTargetObjectFile", ">", "(", ")", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "*", "this", ")", "{", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "ILP32", "architecture", "model", "."], "TS_V_token": ["XCore", "XCore", "XCore", "XCore"], "File": "XCoreTargetMachine44", "Func": "XCoreTargetMachine", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2567, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiTargetLowering", "::", "LowerAsmOperandForConstraint", "(", "SDValue", "Op", ",", "std", "::", "string", "&", "Constraint", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "Ops", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDValue", "Result", "(", "0", ",", "0", ")", ";", "if", "(", "Constraint", ".", "length", "(", ")", ">", "1", ")", "return", ";", "char", "ConstraintLetter", "=", "Constraint", "[", "0", "]", ";", "switch", "(", "ConstraintLetter", ")", "{", "case", "'I'", ":", "if", "(", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "{", "if", "(", "isInt", "<", "16", ">", "(", "C", "->", "getSExtValue", "(", ")", ")", ")", "{", "Result", "=", "DAG", ".", "getTargetConstant", "(", "C", "->", "getSExtValue", "(", ")", ",", "SDLoc", "(", "C", ")", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "}", "}", "return", ";", "case", "'J'", ":", "case", "'O'", ":", "if", "(", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "{", "if", "(", "C", "->", "getZExtValue", "(", ")", "==", "0", ")", "{", "Result", "=", "DAG", ".", "getTargetConstant", "(", "0", ",", "SDLoc", "(", "C", ")", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "}", "}", "return", ";", "case", "'K'", ":", "if", "(", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "{", "if", "(", "isUInt", "<", "16", ">", "(", "C", "->", "getZExtValue", "(", ")", ")", ")", "{", "Result", "=", "DAG", ".", "getTargetConstant", "(", "C", "->", "getSExtValue", "(", ")", ",", "SDLoc", "(", "C", ")", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "}", "}", "return", ";", "case", "'L'", ":", "if", "(", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "{", "if", "(", "C", "->", "getZExtValue", "(", ")", "<=", "31", ")", "{", "Result", "=", "DAG", ".", "getTargetConstant", "(", "C", "->", "getZExtValue", "(", ")", ",", "SDLoc", "(", "C", ")", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "}", "}", "return", ";", "case", "'M'", ":", "if", "(", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "{", "int64_t", "Val", "=", "C", "->", "getSExtValue", "(", ")", ";", "if", "(", "(", "isInt", "<", "32", ">", "(", "Val", ")", ")", "&&", "(", "(", "Val", "&", "0xffff", ")", "==", "0", ")", ")", "{", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Val", ",", "SDLoc", "(", "C", ")", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "}", "}", "return", ";", "case", "'N'", ":", "if", "(", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ")", ")", "{", "int64_t", "Val", "=", "C", "->", "getSExtValue", "(", ")", ";", "if", "(", "(", "Val", ">=", "-", "33554432", ")", "&&", "(", "Val", "<=", "33554431", ")", ")", "{", "Result", "=", "DAG", ".", "getTargetConstant", "(", "Val", ",", "SDLoc", "(", "C", ")", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break", ";", "}", "}", "return", ";", "default", ":", "break", ";", "}", "if", "(", "Result", ".", "getNode", "(", ")", ")", "{", "Ops", ".", "push_back", "(", "Result", ")", ";", "return", ";", "}", "TargetLowering", "::", "LowerAsmOperandForConstraint", "(", "Op", ",", "Constraint", ",", "Ops", ",", "DAG", ")", ";", "}", ""], "natrual_language": ["Lower", "the", "specified", "operand", "into", "the", "Ops", "vector", "."], "TS_V_token": ["Lanai", "Lanai", "0", "0", "1", "0", "16", "0", "0", "16", "31", "32", "0xffff", "0", "33554432", "33554431"], "File": "LanaiISelLowering1", "Func": "LowerAsmOperandForConstraint", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2568, "Length": 488, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "isImm", "(", ")", "const", "LLVM_OVERRIDE", "{", "return", "Kind", "==", "KindImm", ";", "}", ""], "natrual_language": ["isImm", "-", "Is", "this", "an", "immediate", "operand", "?"], "TS_V_token": ["SystemZ"], "File": "SystemZAsmParser10", "Func": "isImm", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2569, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "std", "::", "string", "&", "THMToARMStub", "::", "name", "(", ")", "const", "{", "return", "m_Name", ";", "}", ""], "natrual_language": ["Gets", "the", "name", "of", "the", "pass", "we", "are", "mixed", "into", "."], "TS_V_token": ["ARM", "ARM"], "File": "THMToARMStub", "Func": "name", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2570, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isImm", "(", ")", "const", "override", "{", "return", "Kind", "==", "k_Immediate", ";", "}", ""], "natrual_language": ["isImm", "-", "Is", "this", "an", "immediate", "operand", "?"], "TS_V_token": ["TL45"], "File": "TL45AsmParser", "Func": "isImm", "Target": "TL45", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2571, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "force_new_group", "(", "int", "sched_verbose", ",", "FILE", "*", "dump", ",", "rtx", "*", "group_insns", ",", "rtx_insn", "*", "next_insn", ",", "bool", "*", "group_end", ",", "int", "can_issue_more", ",", "int", "*", "group_count", ")", "{", "rtx", "nop", ";", "bool", "force", ";", "int", "issue_rate", "=", "rs6000_issue_rate", "(", ")", ";", "bool", "end", "=", "*", "group_end", ";", "int", "i", ";", "if", "(", "next_insn", "==", "NULL_RTX", "||", "DEBUG_INSN_P", "(", "next_insn", ")", ")", "return", "can_issue_more", ";", "if", "(", "rs6000_sched_insert_nops", ">", "sched_finish_regroup_exact", ")", "return", "can_issue_more", ";", "force", "=", "is_costly_group", "(", "group_insns", ",", "next_insn", ")", ";", "if", "(", "!", "force", ")", "return", "can_issue_more", ";", "if", "(", "sched_verbose", ">", "6", ")", "fprintf", "(", "dump", ",", "\"force: group count = %d, can_issue_more = %d\\n\"", ",", "*", "group_count", ",", "can_issue_more", ")", ";", "if", "(", "rs6000_sched_insert_nops", "==", "sched_finish_regroup_exact", ")", "{", "if", "(", "*", "group_end", ")", "can_issue_more", "=", "0", ";", "if", "(", "can_issue_more", "&&", "!", "is_branch_slot_insn", "(", "next_insn", ")", ")", "can_issue_more", "--", ";", "if", "(", "rs6000_cpu_attr", "==", "CPU_POWER6", "||", "rs6000_cpu_attr", "==", "CPU_POWER7", "||", "rs6000_cpu_attr", "==", "CPU_POWER8", ")", "{", "nop", "=", "gen_group_ending_nop", "(", ")", ";", "emit_insn_before", "(", "nop", ",", "next_insn", ")", ";", "can_issue_more", "=", "0", ";", "}", "else", "while", "(", "can_issue_more", ">", "0", ")", "{", "nop", "=", "gen_nop", "(", ")", ";", "emit_insn_before", "(", "nop", ",", "next_insn", ")", ";", "can_issue_more", "--", ";", "}", "*", "group_end", "=", "true", ";", "return", "0", ";", "}", "if", "(", "rs6000_sched_insert_nops", "<", "sched_finish_regroup_exact", ")", "{", "int", "n_nops", "=", "rs6000_sched_insert_nops", ";", "if", "(", "can_issue_more", "==", "0", ")", "can_issue_more", "=", "issue_rate", ";", "can_issue_more", "--", ";", "if", "(", "can_issue_more", "==", "0", ")", "{", "can_issue_more", "=", "issue_rate", "-", "1", ";", "(", "*", "group_count", ")", "++", ";", "end", "=", "true", ";", "for", "(", "i", "=", "0", ";", "i", "<", "issue_rate", ";", "i", "++", ")", "{", "group_insns", "[", "i", "]", "=", "0", ";", "}", "}", "while", "(", "n_nops", ">", "0", ")", "{", "nop", "=", "gen_nop", "(", ")", ";", "emit_insn_before", "(", "nop", ",", "next_insn", ")", ";", "if", "(", "can_issue_more", "==", "issue_rate", "-", "1", ")", "end", "=", "false", ";", "can_issue_more", "--", ";", "if", "(", "can_issue_more", "==", "0", ")", "{", "can_issue_more", "=", "issue_rate", "-", "1", ";", "(", "*", "group_count", ")", "++", ";", "end", "=", "true", ";", "for", "(", "i", "=", "0", ";", "i", "<", "issue_rate", ";", "i", "++", ")", "{", "group_insns", "[", "i", "]", "=", "0", ";", "}", "}", "n_nops", "--", ";", "}", "can_issue_more", "++", ";", "*", "group_end", "=", "(", "end", "||", "(", "can_issue_more", "==", "1", "&&", "!", "is_branch_slot_insn", "(", "next_insn", ")", ")", "||", "(", "can_issue_more", "<=", "2", "&&", "is_cracked_insn", "(", "next_insn", ")", ")", "||", "(", "can_issue_more", "<", "issue_rate", "&&", "insn_terminates_group_p", "(", "next_insn", ",", "previous_group", ")", ")", ")", ";", "if", "(", "*", "group_end", "&&", "end", ")", "(", "*", "group_count", ")", "--", ";", "if", "(", "sched_verbose", ">", "6", ")", "fprintf", "(", "dump", ",", "\"done force: group count = %d, can_issue_more = %d\\n\"", ",", "*", "group_count", ",", "can_issue_more", ")", ";", "return", "can_issue_more", ";", "}", "return", "can_issue_more", ";", "}", ""], "natrual_language": ["Utility", "of", "the", "function", "redefine_groups", ".", "Check", "if", "it", "is", "too", "costly", "to", "schedule", "NEXT_INSN", "together", "with", "GROUP_INSNS", "in", "the", "same", "dispatch", "group", ".", "If", "so", ",", "insert", "nops", "before", "NEXT_INSN", ",", "in", "order", "to", "keep", "it", "``", "far", "''", "(", "in", "a", "separate", "group", ")", "from", "GROUP_INSNS", ",", "following", "one", "of", "the", "following", "schemes", ",", "depending", "on", "the", "value", "of", "the", "flag", "-minsert_sched_nops", "=", "X", ":", "(", "1", ")", "X", "==", "sched_finish_regroup_exact", ":", "insert", "exactly", "as", "many", "nops", "as", "needed", "in", "order", "to", "force", "NEXT_INSN", "into", "a", "separate", "group", ".", "(", "2", ")", "X", "<", "sched_finish_regroup_exact", ":", "insert", "exactly", "X", "nops", ".", "GROUP_END", ",", "CAN_ISSUE_MORE", "and", "GROUP_COUNT", "record", "the", "state", "after", "nop", "insertion", "(", "has", "a", "group", "just", "ended", ",", "how", "many", "vacant", "issue", "slots", "remain", "in", "the", "last", "group", ",", "and", "how", "many", "dispatch", "groups", "were", "encountered", "so", "far", ")", "."], "TS_V_token": ["powerpcspe", "6", "\"force: group count = %d, can_issue_more = %d\\n\"", "0", "0", "0", "0", "0", "0", "1", "0", "0", "0", "1", "0", "1", "0", "0", "1", "2", "6", "\"done force: group count = %d, can_issue_more = %d\\n\""], "File": "powerpcspe", "Func": "force_new_group", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2572, "Length": 448, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "VideoCore4InstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["VideoCore4", "VideoCore4"], "File": "VideoCore4TargetMachine", "Func": "getInstrInfo", "Target": "VideoCore4", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2573, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nios2_option_override", "(", "void", ")", "{", "unsigned", "int", "i", ";", "SUBTARGET_OVERRIDE_OPTIONS", ";", "if", "(", "flag_pic", "&&", "!", "TARGET_LINUX_ABI", ")", "sorry", "(", "\"position-independent code requires the Linux ABI\"", ")", ";", "init_machine_status", "=", "&", "nios2_init_machine_status", ";", "nios2_section_threshold", "=", "(", "global_options_set", ".", "x_g_switch_value", "?", "g_switch_value", ":", "NIOS2_DEFAULT_GVALUE", ")", ";", "if", "(", "nios2_gpopt_option", "==", "gpopt_unspecified", ")", "{", "if", "(", "flag_pic", ")", "nios2_gpopt_option", "=", "gpopt_none", ";", "else", "nios2_gpopt_option", "=", "gpopt_local", ";", "}", "if", "(", "!", "TARGET_HAS_MUL", "&&", "TARGET_HAS_MULX", ")", "target_flags", "&=", "~", "MASK_HAS_MULX", ";", "nios2_init_fpu_configs", "(", ")", ";", "if", "(", "nios2_custom_fpu_cfg_string", "&&", "*", "nios2_custom_fpu_cfg_string", ")", "nios2_handle_custom_fpu_cfg", "(", "nios2_custom_fpu_cfg_string", ",", "NULL", ",", "false", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "nios2_fpu_insn", ")", ";", "i", "++", ")", "nios2_handle_custom_fpu_insn_option", "(", "i", ")", ";", "nios2_custom_check_insns", "(", ")", ";", "target_option_default_node", "=", "target_option_current_node", "=", "build_target_option_node", "(", "&", "global_options", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_OPTION_OVERRIDE", "."], "TS_V_token": ["nios2", "\"position-independent code requires the Linux ABI\"", "0"], "File": "nios22", "Func": "nios2_option_override", "Target": "nios2", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2574, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "pop", "(", "StringRef", "Ins", ",", "NestingType", "NT1", ",", "NestingType", "NT2", "=", "Undefined", ")", "{", "if", "(", "NestingStack", ".", "empty", "(", ")", ")", "return", "error", "(", "Twine", "(", "\"End of block construct with no start: \"", ")", "+", "Ins", ")", ";", "auto", "Top", "=", "NestingStack", ".", "back", "(", ")", ";", "if", "(", "Top", ".", "NT", "!=", "NT1", "&&", "Top", ".", "NT", "!=", "NT2", ")", "return", "error", "(", "Twine", "(", "\"Block construct type mismatch, expected: \"", ")", "+", "nestingString", "(", "Top", ".", "NT", ")", ".", "second", "+", "\", instead got: \"", "+", "Ins", ")", ";", "TC", ".", "setLastSig", "(", "Top", ".", "Sig", ")", ";", "NestingStack", ".", "pop_back", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Pop", "the", "previous", "solver", "state", "."], "TS_V_token": ["WebAssembly", "\"End of block construct with no start: \"", "\"Block construct type mismatch, expected: \"", "\", instead got: \""], "File": "WebAssemblyAsmParser", "Func": "pop", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2575, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SystemZTargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InFlag", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC_SystemZ", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "VA", ".", "getLocVT", "(", ")", ",", "InFlag", ")", ".", "getValue", "(", "1", ")", ";", "SDValue", "RetValue", "=", "Chain", ".", "getValue", "(", "0", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "2", ")", ";", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "SExt", ")", "RetValue", "=", "DAG", ".", "getNode", "(", "ISD", "::", "AssertSext", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "RetValue", ",", "DAG", ".", "getValueType", "(", "VA", ".", "getValVT", "(", ")", ")", ")", ";", "else", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "ZExt", ")", "RetValue", "=", "DAG", ".", "getNode", "(", "ISD", "::", "AssertZext", ",", "dl", ",", "VA", ".", "getLocVT", "(", ")", ",", "RetValue", ",", "DAG", ".", "getValueType", "(", "VA", ".", "getValVT", "(", ")", ")", ")", ";", "if", "(", "VA", ".", "getLocInfo", "(", ")", "!=", "CCValAssign", "::", "Full", ")", "RetValue", "=", "DAG", ".", "getNode", "(", "ISD", "::", "TRUNCATE", ",", "dl", ",", "VA", ".", "getValVT", "(", ")", ",", "RetValue", ")", ";", "InVals", ".", "push_back", "(", "RetValue", ")", ";", "}", "return", "Chain", ";", "}", ""], "natrual_language": ["LowerCallResult", "-", "Lower", "the", "result", "values", "of", "an", "ISD", ":", ":CALL", "into", "the", "appropriate", "copies", "out", "of", "appropriate", "physical", "registers", "."], "TS_V_token": ["SystemZ", "SystemZ", "ISD::InputArg", "16", "SystemZ", "0", "1", "0", "2", "ISD::AssertSext", "ISD::AssertZext", "ISD::TRUNCATE"], "File": "SystemZISelLowering107", "Func": "LowerCallResult", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2576, "Length": 300, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "SITargetLowering", "::", "PostISelFolding", "(", "MachineSDNode", "*", "Node", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "const", "SIInstrInfo", "*", "TII", "=", "static_cast", "<", "const", "SIInstrInfo", "*", ">", "(", "Subtarget", "->", "getInstrInfo", "(", ")", ")", ";", "Node", "=", "AdjustRegClass", "(", "Node", ",", "DAG", ")", ";", "if", "(", "TII", "->", "isMIMG", "(", "Node", "->", "getMachineOpcode", "(", ")", ")", ")", "adjustWritemask", "(", "Node", ",", "DAG", ")", ";", "if", "(", "Node", "->", "getMachineOpcode", "(", ")", "==", "AMDGPU", "::", "INSERT_SUBREG", "||", "Node", "->", "getMachineOpcode", "(", ")", "==", "AMDGPU", "::", "REG_SEQUENCE", ")", "{", "legalizeTargetIndependentNode", "(", "Node", ",", "DAG", ")", ";", "return", "Node", ";", "}", "return", "Node", ";", "}", ""], "natrual_language": ["Fold", "the", "instructions", "after", "selecting", "them", "."], "TS_V_token": ["R600", "SI", "SI", "SI"], "File": "SIISelLowering44", "Func": "PostISelFolding", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2577, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AGCPassConfig", "::", "addPreEmitPass2", "(", ")", "{", "addPass", "(", "createAGCExpandPseudoPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["Targets", "may", "add", "passes", "immediately", "before", "machine", "code", "is", "emitted", "in", "this", "callback", "."], "TS_V_token": ["AGC", "AGC", "AGC"], "File": "AGCTargetMachine", "Func": "addPreEmitPass2", "Target": "AGC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2578, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "nds32_expand_noarg_builtin", "(", "enum", "insn_code", "icode", ",", "rtx", "target", ")", "{", "rtx", "pat", ";", "target", "=", "nds32_legitimize_target", "(", "icode", ",", "target", ")", ";", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ")", ";", "if", "(", "!", "pat", ")", "return", "NULL_RTX", ";", "emit_insn", "(", "pat", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Expand", "builtins", "that", "return", "target", "."], "TS_V_token": ["nds32"], "File": "nds32-intrinsic", "Func": "nds32_expand_noarg_builtin", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2579, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Cpu0InstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "GetMemOperand", "(", "MBB", ",", "FI", ",", "MachineMemOperand", "::", "MOStore", ")", ";", "unsigned", "Opc", "=", "0", ";", "if", "(", "Cpu0", "::", "CPURegsRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "Opc", "=", "Cpu0", "::", "ST", ";", "assert", "(", "Opc", "&&", "\"Register class not handled!\"", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["Cpu0", "Cpu0", "0", "Cpu0::CPURegsRegClass", "Cpu0::ST", "\"Register class not handled!\"", "0"], "File": "Cpu0InstrInfo1", "Func": "storeRegToStackSlot", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2580, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "alpha_return_addr", "(", "int", "count", ",", "rtx", "frame", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "count", "!=", "0", ")", "return", "const0_rtx", ";", "return", "get_hard_reg_initial_val", "(", "Pmode", ",", "REG_RA", ")", ";", "}", ""], "natrual_language": ["Start", "the", "ball", "rolling", "with", "RETURN_ADDR_RTX", "."], "TS_V_token": ["alpha", "0"], "File": "alpha", "Func": "alpha_return_addr", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2581, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addIRPasses", "(", ")", "{", "addPass", "(", "createAtomicExpandPass", "(", "&", "getX86TargetMachine", "(", ")", ")", ")", ";", "if", "(", "Triple", "(", "TM", "->", "getTargetTriple", "(", ")", ")", ".", "isOSNaCl", "(", ")", "&&", "Triple", "(", "TM", "->", "getTargetTriple", "(", ")", ")", ".", "isArch64Bit", "(", ")", "&&", "NaClDontBreakABI", ")", "{", "addPass", "(", "createClearPtrToIntTop32Pass", "(", ")", ")", ";", "}", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86TargetMachine117", "Func": "addIRPasses", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2582, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "xstormy16_expand_prologue", "(", "void", ")", "{", "struct", "xstormy16_stack_layout", "layout", ";", "int", "regno", ";", "rtx", "insn", ";", "rtx", "mem_push_rtx", ";", "const", "int", "ifun", "=", "xstormy16_interrupt_function_p", "(", ")", ";", "mem_push_rtx", "=", "gen_rtx_POST_INC", "(", "Pmode", ",", "stack_pointer_rtx", ")", ";", "mem_push_rtx", "=", "gen_rtx_MEM", "(", "HImode", ",", "mem_push_rtx", ")", ";", "layout", "=", "xstormy16_compute_stack_layout", "(", ")", ";", "if", "(", "layout", ".", "locals_size", ">=", "32768", ")", "error", "(", "\"local variable memory requirements exceed capacity\"", ")", ";", "if", "(", "layout", ".", "stdarg_save_size", ")", "for", "(", "regno", "=", "FIRST_ARGUMENT_REGISTER", ";", "regno", "<", "FIRST_ARGUMENT_REGISTER", "+", "NUM_ARGUMENT_REGISTERS", ";", "regno", "++", ")", "{", "rtx", "dwarf", ";", "rtx", "reg", "=", "gen_rtx_REG", "(", "HImode", ",", "regno", ")", ";", "insn", "=", "emit_move_insn", "(", "mem_push_rtx", ",", "reg", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "dwarf", "=", "gen_rtx_SEQUENCE", "(", "VOIDmode", ",", "rtvec_alloc", "(", "2", ")", ")", ";", "XVECEXP", "(", "dwarf", ",", "0", ",", "0", ")", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "gen_rtx_MEM", "(", "Pmode", ",", "stack_pointer_rtx", ")", ",", "reg", ")", ";", "XVECEXP", "(", "dwarf", ",", "0", ",", "1", ")", "=", "gen_rtx_SET", "(", "Pmode", ",", "stack_pointer_rtx", ",", "plus_constant", "(", "stack_pointer_rtx", ",", "GET_MODE_SIZE", "(", "Pmode", ")", ")", ")", ";", "REG_NOTES", "(", "insn", ")", "=", "gen_rtx_EXPR_LIST", "(", "REG_FRAME_RELATED_EXPR", ",", "dwarf", ",", "REG_NOTES", "(", "insn", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "XVECEXP", "(", "dwarf", ",", "0", ",", "0", ")", ")", "=", "1", ";", "RTX_FRAME_RELATED_P", "(", "XVECEXP", "(", "dwarf", ",", "0", ",", "1", ")", ")", "=", "1", ";", "}", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "REG_NEEDS_SAVE", "(", "regno", ",", "ifun", ")", ")", "{", "rtx", "dwarf", ";", "rtx", "reg", "=", "gen_rtx_REG", "(", "HImode", ",", "regno", ")", ";", "insn", "=", "emit_move_insn", "(", "mem_push_rtx", ",", "reg", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "dwarf", "=", "gen_rtx_SEQUENCE", "(", "VOIDmode", ",", "rtvec_alloc", "(", "2", ")", ")", ";", "XVECEXP", "(", "dwarf", ",", "0", ",", "0", ")", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "gen_rtx_MEM", "(", "Pmode", ",", "stack_pointer_rtx", ")", ",", "reg", ")", ";", "XVECEXP", "(", "dwarf", ",", "0", ",", "1", ")", "=", "gen_rtx_SET", "(", "Pmode", ",", "stack_pointer_rtx", ",", "plus_constant", "(", "stack_pointer_rtx", ",", "GET_MODE_SIZE", "(", "Pmode", ")", ")", ")", ";", "REG_NOTES", "(", "insn", ")", "=", "gen_rtx_EXPR_LIST", "(", "REG_FRAME_RELATED_EXPR", ",", "dwarf", ",", "REG_NOTES", "(", "insn", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "XVECEXP", "(", "dwarf", ",", "0", ",", "0", ")", ")", "=", "1", ";", "RTX_FRAME_RELATED_P", "(", "XVECEXP", "(", "dwarf", ",", "0", ",", "1", ")", ")", "=", "1", ";", "}", "if", "(", "frame_pointer_needed", "&&", "layout", ".", "sp_minus_fp", "==", "layout", ".", "locals_size", ")", "emit_move_insn", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ")", ";", "if", "(", "layout", ".", "locals_size", ")", "{", "insn", "=", "emit_addhi3_postreload", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "layout", ".", "locals_size", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "if", "(", "frame_pointer_needed", "&&", "layout", ".", "sp_minus_fp", "!=", "layout", ".", "locals_size", ")", "{", "insn", "=", "emit_move_insn", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ")", ";", "if", "(", "layout", ".", "sp_minus_fp", ")", "emit_addhi3_postreload", "(", "hard_frame_pointer_rtx", ",", "hard_frame_pointer_rtx", ",", "GEN_INT", "(", "-", "layout", ".", "sp_minus_fp", ")", ")", ";", "}", "}", ""], "natrual_language": ["Called", "after", "register", "allocation", "to", "add", "any", "instructions", "needed", "for", "the", "prologue", ".", "Using", "a", "prologue", "insn", "is", "favored", "compared", "to", "putting", "all", "of", "the", "instructions", "in", "the", "TARGET_ASM_FUNCTION_PROLOGUE", "macro", ",", "since", "it", "allows", "the", "scheduler", "to", "intermix", "instructions", "with", "the", "saves", "of", "the", "caller", "saved", "registers", ".", "In", "some", "cases", ",", "it", "might", "be", "necessary", "to", "emit", "a", "barrier", "instruction", "as", "the", "last", "insn", "to", "prevent", "such", "scheduling", ".", "Also", "any", "insns", "generated", "here", "should", "have", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", "so", "that", "the", "debug", "info", "generation", "code", "can", "handle", "them", "properly", "."], "TS_V_token": ["stormy16", "32768", "\"local variable memory requirements exceed capacity\"", "1", "2", "0", "0", "0", "1", "0", "0", "1", "0", "1", "1", "0", "1", "2", "0", "0", "0", "1", "0", "0", "1", "0", "1", "1", "1"], "File": "stormy163", "Func": "xstormy16_expand_prologue", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2583, "Length": 476, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isImm", "(", ")", "const", "{", "return", "Kind", "==", "k_Immediate", ";", "}", ""], "natrual_language": ["isImm", "-", "Is", "this", "an", "immediate", "operand", "?"], "TS_V_token": ["FISC"], "File": "FISCAsmParser", "Func": "isImm", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2584, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "M88kFrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "assert", "(", "MFI", ".", "isMaxCallFrameSizeComputed", "(", ")", "&&", "\"MaxCallFrame not computed\"", ")", ";", "unsigned", "MaxCallFrameSize", "=", "MFI", ".", "getMaxCallFrameSize", "(", ")", ";", "MaxCallFrameSize", "=", "alignTo", "(", "MaxCallFrameSize", ",", "getStackAlign", "(", ")", ")", ";", "MFI", ".", "setMaxCallFrameSize", "(", "MaxCallFrameSize", ")", ";", "}", ""], "natrual_language": ["processFunctionBeforeFrameFinalized", "-", "This", "method", "is", "called", "immediately", "before", "the", "specified", "function", "'s", "frame", "layout", "(", "MF.getFrameInfo", "(", ")", ")", "is", "finalized", "."], "TS_V_token": ["M88k", "M88k", "\"MaxCallFrame not computed\""], "File": "M88kFrameLowering", "Func": "processFunctionBeforeFrameFinalized", "Target": "M88k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2585, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", ",", "const", "MCSubtargetInfo", "&", ",", "MCInst", "&", ")", "const", "override", "{", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["DLX"], "File": "DLXAsmBackend", "Func": "relaxInstruction", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2586, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "doInitialization", "(", "Module", "&", "M", ")", "override", "{", "LLVMContext", "&", "Ctx", "=", "M", ".", "getContext", "(", ")", ";", "Mod", "=", "&", "M", ";", "FloatType", "=", "Type", "::", "getFloatTy", "(", "Ctx", ")", ";", "Int32Type", "=", "Type", "::", "getInt32Ty", "(", "Ctx", ")", ";", "V4f32Type", "=", "VectorType", "::", "get", "(", "FloatType", ",", "4", ")", ";", "V4i32Type", "=", "VectorType", "::", "get", "(", "Int32Type", ",", "4", ")", ";", "Type", "*", "ArgsType", "[", "]", "=", "{", "V4f32Type", ",", "Int32Type", ",", "Int32Type", ",", "Int32Type", ",", "Int32Type", ",", "Int32Type", ",", "Int32Type", ",", "Int32Type", ",", "Int32Type", ",", "Int32Type", ",", "}", ";", "TexSign", "=", "FunctionType", "::", "get", "(", "V4f32Type", ",", "ArgsType", ",", "false", ")", ";", "Type", "*", "ArgsQType", "[", "]", "=", "{", "V4i32Type", ",", "Int32Type", ",", "Int32Type", ",", "Int32Type", ",", "Int32Type", ",", "Int32Type", ",", "Int32Type", ",", "Int32Type", ",", "Int32Type", ",", "Int32Type", ",", "}", ";", "TexQSign", "=", "FunctionType", "::", "get", "(", "V4f32Type", ",", "ArgsQType", ",", "false", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["AMDGPU", "4", "4"], "File": "R600TextureIntrinsicsReplacer1", "Func": "doInitialization", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2587, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "ARM_CP_ISLANDS_OPT_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMConstantIslandPass", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2588, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"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": 2589, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_is_reduction", "(", "stmt_vec_info", "stmt_info", ")", "{", "return", "(", "STMT_VINFO_REDUC_DEF", "(", "stmt_info", ")", "||", "VECTORIZABLE_CYCLE_DEF", "(", "STMT_VINFO_DEF_TYPE", "(", "stmt_info", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "STMT_INFO", "represents", "part", "of", "a", "reduction", "."], "TS_V_token": ["aarch64"], "File": "aarch641", "Func": "aarch64_is_reduction", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2590, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "aarch64_offset_temporaries", "(", "bool", "add_p", ",", "poly_int64", "offset", ")", "{", "if", "(", "add_p", "&&", "aarch64_sve_addvl_addpl_immediate_p", "(", "offset", ")", ")", "return", "0", ";", "unsigned", "int", "count", "=", "0", ";", "HOST_WIDE_INT", "factor", "=", "offset", ".", "coeffs", "[", "1", "]", ";", "HOST_WIDE_INT", "constant", "=", "offset", ".", "coeffs", "[", "0", "]", "-", "factor", ";", "poly_int64", "poly_offset", "(", "factor", ",", "factor", ")", ";", "if", "(", "add_p", "&&", "aarch64_sve_addvl_addpl_immediate_p", "(", "poly_offset", ")", ")", "count", "+=", "1", ";", "else", "if", "(", "factor", "!=", "0", ")", "{", "factor", "=", "abs", "(", "factor", ")", ";", "if", "(", "factor", ">", "16", "*", "(", "factor", "&", "-", "factor", ")", ")", "return", "2", ";", "count", "+=", "1", ";", "}", "return", "count", "+", "aarch64_add_offset_1_temporaries", "(", "constant", ")", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "temporary", "registers", "that", "aarch64_add_offset", "would", "need", "to", "move", "OFFSET", "into", "a", "register", "or", "add", "OFFSET", "to", "a", "register", ";", "ADD_P", "is", "true", "if", "we", "want", "the", "latter", "rather", "than", "the", "former", "."], "TS_V_token": ["aarch64", "0", "0", "1", "0", "1", "0", "16", "2", "1"], "File": "aarch64", "Func": "aarch64_offset_temporaries", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2591, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "csky_handle_fndecl_attribute", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", "args", "ATTRIBUTE_UNUSED", ",", "int", "flags", "ATTRIBUTE_UNUSED", ",", "bool", "*", "no_add_attrs", ")", "{", "if", "(", "TREE_CODE", "(", "*", "node", ")", "!=", "FUNCTION_DECL", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qE attribute only applies to functions\"", ",", "name", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Handle", "an", "attribute", "requiring", "a", "FUNCTION_DECL", ";", "arguments", "as", "in", "struct", "attribute_spec.handler", "."], "TS_V_token": ["csky", "\"%qE attribute only applies to functions\""], "File": "csky", "Func": "csky_handle_fndecl_attribute", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2592, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CallLowering", "::", "lowerReturn", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Value", "*", "Val", ",", "ArrayRef", "<", "unsigned", ">", "VRegs", ")", "const", "{", "auto", "MIB", "=", "MIRBuilder", ".", "buildInstrNoInsert", "(", "AArch64", "::", "RET_ReallyLR", ")", ";", "assert", "(", "(", "(", "Val", "&&", "!", "VRegs", ".", "empty", "(", ")", ")", "||", "(", "!", "Val", "&&", "VRegs", ".", "empty", "(", ")", ")", ")", "&&", "\"Return value without a vreg\"", ")", ";", "bool", "Success", "=", "true", ";", "if", "(", "!", "VRegs", ".", "empty", "(", ")", ")", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "const", "AArch64TargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "AArch64TargetLowering", ">", "(", ")", ";", "CCAssignFn", "*", "AssignFn", "=", "TLI", ".", "CCAssignFnForReturn", "(", "F", ".", "getCallingConv", "(", ")", ")", ";", "auto", "&", "DL", "=", "F", ".", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ";", "LLVMContext", "&", "Ctx", "=", "Val", "->", "getType", "(", ")", "->", "getContext", "(", ")", ";", "SmallVector", "<", "EVT", ",", "4", ">", "SplitEVTs", ";", "ComputeValueVTs", "(", "TLI", ",", "DL", ",", "Val", "->", "getType", "(", ")", ",", "SplitEVTs", ")", ";", "assert", "(", "VRegs", ".", "size", "(", ")", "==", "SplitEVTs", ".", "size", "(", ")", "&&", "\"For each split Type there should be exactly one VReg.\"", ")", ";", "SmallVector", "<", "ArgInfo", ",", "8", ">", "SplitArgs", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "SplitEVTs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "unsigned", "CurVReg", "=", "VRegs", "[", "i", "]", ";", "if", "(", "MRI", ".", "getType", "(", "VRegs", "[", "i", "]", ")", ".", "getSizeInBits", "(", ")", "==", "1", ")", "{", "CurVReg", "=", "MIRBuilder", ".", "buildZExt", "(", "LLT", "::", "scalar", "(", "8", ")", ",", "CurVReg", ")", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "}", "ArgInfo", "CurArgInfo", "=", "ArgInfo", "{", "CurVReg", ",", "SplitEVTs", "[", "i", "]", ".", "getTypeForEVT", "(", "Ctx", ")", "}", ";", "setArgFlags", "(", "CurArgInfo", ",", "AttributeList", "::", "ReturnIndex", ",", "DL", ",", "F", ")", ";", "splitToValueTypes", "(", "CurArgInfo", ",", "SplitArgs", ",", "DL", ",", "MRI", ",", "F", ".", "getCallingConv", "(", ")", ",", "[", "&", "]", "(", "unsigned", "Reg", ",", "uint64_t", "Offset", ")", "{", "MIRBuilder", ".", "buildExtract", "(", "Reg", ",", "CurVReg", ",", "Offset", ")", ";", "}", ")", ";", "}", "OutgoingArgHandler", "Handler", "(", "MIRBuilder", ",", "MRI", ",", "MIB", ",", "AssignFn", ",", "AssignFn", ")", ";", "Success", "=", "handleAssignments", "(", "MIRBuilder", ",", "SplitArgs", ",", "Handler", ")", ";", "}", "MIRBuilder", ".", "insertInstr", "(", "MIB", ")", ";", "return", "Success", ";", "}", ""], "natrual_language": ["This", "hook", "behaves", "as", "the", "extended", "lowerReturn", "function", ",", "but", "for", "targets", "that", "do", "not", "support", "swifterror", "value", "promotion", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::RET_ReallyLR", "\"Return value without a vreg\"", "AArch64", "AArch64", "4", "\"For each split Type there should be exactly one VReg.\"", "8", "0", "1", "8", "0"], "File": "AArch64CallLowering", "Func": "lowerReturn", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2593, "Length": 395, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TeeRISCInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "if", "(", "TeeRISC", "::", "IntRegsRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "TeeRISC", "::", "OR", ")", ",", "DestReg", ")", ".", "addReg", "(", "TeeRISC", "::", "ZERO", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "else", "llvm_unreachable", "(", "\"Impossible reg-to-reg copy\"", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["TeeRISC", "TeeRISC", "TeeRISC::IntRegsRegClass", "TeeRISC::OR", "TeeRISC::ZERO", "\"Impossible reg-to-reg copy\""], "File": "TeeRISCInstrInfo", "Func": "copyPhysReg", "Target": "TeeRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2594, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "BTFDebug", "::", "InstLower", "(", "const", "MachineInstr", "*", "MI", ",", "MCInst", "&", "OutMI", ")", "{", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "BPF", "::", "LD_imm64", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "1", ")", ";", "if", "(", "MO", ".", "isGlobal", "(", ")", ")", "{", "const", "GlobalValue", "*", "GVal", "=", "MO", ".", "getGlobal", "(", ")", ";", "auto", "*", "GVar", "=", "dyn_cast", "<", "GlobalVariable", ">", "(", "GVal", ")", ";", "if", "(", "GVar", ")", "{", "uint32_t", "Imm", ";", "if", "(", "GVar", "->", "hasAttribute", "(", "BPFCoreSharedInfo", "::", "AmaAttr", ")", "||", "GVar", "->", "hasAttribute", "(", "BPFCoreSharedInfo", "::", "TypeIdAttr", ")", ")", "Imm", "=", "PatchImms", "[", "GVar", "]", ";", "else", "return", "false", ";", "OutMI", ".", "setOpcode", "(", "BPF", "::", "MOV_ri", ")", ";", "OutMI", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", ";", "OutMI", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "Imm", ")", ")", ";", "return", "true", ";", "}", "}", "}", "else", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "BPF", "::", "CORE_MEM", "||", "MI", "->", "getOpcode", "(", ")", "==", "BPF", "::", "CORE_ALU32_MEM", "||", "MI", "->", "getOpcode", "(", ")", "==", "BPF", "::", "CORE_SHIFT", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "3", ")", ";", "if", "(", "MO", ".", "isGlobal", "(", ")", ")", "{", "const", "GlobalValue", "*", "GVal", "=", "MO", ".", "getGlobal", "(", ")", ";", "auto", "*", "GVar", "=", "dyn_cast", "<", "GlobalVariable", ">", "(", "GVal", ")", ";", "if", "(", "GVar", "&&", "GVar", "->", "hasAttribute", "(", "BPFCoreSharedInfo", "::", "AmaAttr", ")", ")", "{", "uint32_t", "Imm", "=", "PatchImms", "[", "GVar", "]", ";", "OutMI", ".", "setOpcode", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ")", ";", "if", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "isImm", "(", ")", ")", "OutMI", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ")", ")", ";", "else", "OutMI", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", ";", "OutMI", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", ")", ";", "OutMI", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "Imm", ")", ")", ";", "return", "true", ";", "}", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Emit", "proper", "patchable", "instructions", "."], "TS_V_token": ["BPF", "BPF::LD_imm64", "1", "BPFCoreSharedInfo::AmaAttr", "BPFCoreSharedInfo::TypeIdAttr", "BPF::MOV_ri", "0", "BPF::CORE_MEM", "BPF::CORE_ALU32_MEM", "BPF::CORE_SHIFT", "3", "BPFCoreSharedInfo::AmaAttr", "1", "0", "0", "0", "2"], "File": "BTFDebug10", "Func": "InstLower", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2595, "Length": 374, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonFrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", "->", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "if", "(", "CSI", ".", "empty", "(", ")", ")", "{", "return", "false", ";", "}", "bool", "ContiguousRegs", "=", "true", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "CSI", ".", "size", "(", ")", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "unsigned", "SuperReg", "=", "uniqueSuperReg", "(", "Reg", ",", "TRI", ")", ";", "const", "TargetRegisterClass", "*", "SuperRegClass", "=", "0", ";", "bool", "CanUseDblLoad", "=", "false", ";", "if", "(", "ContiguousRegs", "&&", "(", "i", "<", "CSI", ".", "size", "(", ")", "-", "1", ")", ")", "{", "unsigned", "SuperRegNext", "=", "uniqueSuperReg", "(", "CSI", "[", "i", "+", "1", "]", ".", "getReg", "(", ")", ",", "TRI", ")", ";", "SuperRegClass", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "SuperReg", ")", ";", "CanUseDblLoad", "=", "(", "SuperRegNext", "==", "SuperReg", ")", ";", "}", "if", "(", "CanUseDblLoad", ")", "{", "TII", ".", "loadRegFromStackSlot", "(", "MBB", ",", "MI", ",", "SuperReg", ",", "CSI", "[", "i", "+", "1", "]", ".", "getFrameIdx", "(", ")", ",", "SuperRegClass", ",", "TRI", ")", ";", "MBB", ".", "addLiveIn", "(", "SuperReg", ")", ";", "++", "i", ";", "}", "else", "{", "ContiguousRegs", "=", "false", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "TII", ".", "loadRegFromStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "CSI", "[", "i", "]", ".", "getFrameIdx", "(", ")", ",", "RC", ",", "TRI", ")", ";", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["restoreCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "restore", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "load", "instructions", "via", "loadRegToStackSlot", "(", ")", "."], "TS_V_token": ["Hexagon", "Hexagon", "0", "0", "1", "1", "1"], "File": "HexagonFrameLowering18", "Func": "restoreCalleeSavedRegisters", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2596, "Length": 279, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64PassConfig", "::", "addPostRegAlloc", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableDeadRegisterElimination", ")", "addPass", "(", "createAArch64DeadRegisterDefinitions", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "TM", "->", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "isCortexA57", "(", ")", "&&", "!", "static_cast", "<", "const", "AArch64TargetMachine", "*", ">", "(", "TM", ")", "->", "isPBQPUsed", "(", ")", ")", "addPass", "(", "createAArch64A57FPLoadBalancing", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "after", "register", "allocation", "pass", "pipeline", "but", "before", "prolog-epilog", "insertion", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine31", "Func": "addPostRegAlloc", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2597, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_const_not_ok_for_debug_p", "(", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", ")", "return", "true", ";", "if", "(", "SYMBOL_REF_P", "(", "x", ")", "&&", "CONSTANT_POOL_ADDRESS_P", "(", "x", ")", ")", "{", "rtx", "c", "=", "get_pool_constant", "(", "x", ")", ";", "machine_mode", "cmode", "=", "get_pool_mode", "(", "x", ")", ";", "if", "(", "ASM_OUTPUT_SPECIAL_POOL_ENTRY_P", "(", "c", ",", "cmode", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "should", "n't", "be", "emitted", "into", "the", "debug", "info", ".", "The", "linker", "does", "n't", "like", ".toc", "section", "references", "from", ".debug_", "*", "sections", ",", "so", "reject", ".toc", "section", "symbols", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_const_not_ok_for_debug_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2598, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "canMergeStoresTo", "(", "unsigned", "AddressSpace", ",", "EVT", "MemVT", ",", "const", "SelectionDAG", "&", "DAG", ")", "const", "override", "{", "return", "(", "MemVT", ".", "getSizeInBits", "(", ")", "<=", "32", ")", ";", "}", ""], "natrual_language": ["Returns", "if", "it", "'s", "reasonable", "to", "merge", "stores", "to", "MemVT", "size", "."], "TS_V_token": ["ARM", "32"], "File": "ARMISelLowering107", "Func": "canMergeStoresTo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2599, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "TMS320C64XRegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["TMS320C64X", "TMS320C64X"], "File": "TMS320C64XInstrInfo", "Func": "getRegisterInfo", "Target": "TMS320C64X", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 2600, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "invalid_arg_for_unprototyped_fn", "(", "const_tree", "typelist", ",", "const_tree", "funcdecl", ",", "const_tree", "val", ")", "{", "return", "(", "!", "rs6000_darwin64_abi", "&&", "typelist", "==", "0", "&&", "TREE_CODE", "(", "TREE_TYPE", "(", "val", ")", ")", "==", "VECTOR_TYPE", "&&", "(", "funcdecl", "==", "NULL_TREE", "||", "(", "TREE_CODE", "(", "funcdecl", ")", "==", "FUNCTION_DECL", "&&", "DECL_BUILT_IN_CLASS", "(", "funcdecl", ")", "!=", "BUILT_IN_MD", ")", ")", ")", "?", "N_", "(", "\"AltiVec argument passed to unprototyped function\"", ")", ":", "NULL", ";", "}", ""], "natrual_language": ["Target", "hook", "for", "invalid_arg_for_unprototyped_fn", "."], "TS_V_token": ["powerpcspe", "0", "\"AltiVec argument passed to unprototyped function\""], "File": "powerpcspe", "Func": "invalid_arg_for_unprototyped_fn", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2601, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mips_address_insns", "(", "rtx", "x", ",", "machine_mode", "mode", ",", "bool", "might_split_p", ")", "{", "struct", "mips_address_info", "addr", ";", "int", "factor", ";", "if", "(", "mode", "!=", "BLKmode", "&&", "might_split_p", ")", "factor", "=", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ";", "else", "factor", "=", "1", ";", "if", "(", "mips_classify_address", "(", "&", "addr", ",", "x", ",", "mode", ",", "false", ")", ")", "switch", "(", "addr", ".", "type", ")", "{", "case", "ADDRESS_REG", ":", "if", "(", "TARGET_MIPS16", "&&", "!", "mips16_unextended_reference_p", "(", "mode", ",", "addr", ".", "reg", ",", "UINTVAL", "(", "addr", ".", "offset", ")", ")", ")", "return", "factor", "*", "2", ";", "return", "factor", ";", "case", "ADDRESS_LO_SUM", ":", "return", "TARGET_MIPS16", "?", "factor", "*", "2", ":", "factor", ";", "case", "ADDRESS_CONST_INT", ":", "return", "factor", ";", "case", "ADDRESS_SYMBOLIC", ":", "return", "factor", "*", "mips_symbol_insns", "(", "addr", ".", "symbol_type", ",", "mode", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "instructions", "needed", "to", "load", "or", "store", "a", "value", "of", "mode", "MODE", "at", "X", ".", "Return", "0", "if", "X", "is", "n't", "valid", "for", "MODE", ".", "For", "mips16", "code", ",", "count", "extended", "instructions", "as", "two", "instructions", "."], "TS_V_token": ["mips", "1", "1", "2", "2", "0"], "File": "mips4", "Func": "mips_address_insns", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2602, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "LC2200TargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "report_fatal_error", "(", "\"unimplemented operand\"", ")", ";", "case", "ISD", "::", "SHL", ":", "return", "lowerShiftLeft", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BR_CC", ":", "return", "lowerBrCc", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BR", ":", "return", "lowerBr", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "lowerSelectCc", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "AND", ":", "return", "lowerAnd", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "OR", ":", "return", "lowerOr", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "XOR", ":", "return", "lowerXor", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "lowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SRL", ":", "return", "ExpandLibCall", "(", "\"__srlu\"", ",", "Op", ",", "false", ",", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["LC2200", "LC2200", "\"unimplemented operand\"", "ISD::SHL", "ISD::BR_CC", "ISD::BR", "ISD::SELECT_CC", "ISD::AND", "ISD::OR", "ISD::XOR", "ISD::GlobalAddress", "ISD::SRL", "\"__srlu\""], "File": "LC2200ISelLowering", "Func": "LowerOperation", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2603, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsConstantIslands", "::", "isBBInRange", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "DestBB", ",", "unsigned", "MaxDisp", ")", "{", "unsigned", "PCAdj", "=", "4", ";", "unsigned", "BrOffset", "=", "getOffsetOf", "(", "MI", ")", "+", "PCAdj", ";", "unsigned", "DestOffset", "=", "BBInfo", "[", "DestBB", "->", "getNumber", "(", ")", "]", ".", "Offset", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Branch of destination BB#\"", "<<", "DestBB", "->", "getNumber", "(", ")", "<<", "\" from BB#\"", "<<", "MI", "->", "getParent", "(", ")", "->", "getNumber", "(", ")", "<<", "\" max delta=\"", "<<", "MaxDisp", "<<", "\" from \"", "<<", "getOffsetOf", "(", "MI", ")", "<<", "\" to \"", "<<", "DestOffset", "<<", "\" offset \"", "<<", "int", "(", "DestOffset", "-", "BrOffset", ")", "<<", "\"\\t\"", "<<", "*", "MI", ")", ";", "if", "(", "BrOffset", "<=", "DestOffset", ")", "{", "if", "(", "DestOffset", "-", "BrOffset", "<=", "MaxDisp", ")", "return", "true", ";", "}", "else", "{", "if", "(", "BrOffset", "-", "DestOffset", "<=", "MaxDisp", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["isBBInRange", "-", "Returns", "true", "if", "the", "distance", "between", "specific", "MI", "and", "specific", "BB", "can", "fit", "in", "MI", "'s", "displacement", "field", "."], "TS_V_token": ["Mips", "Mips", "4", "\"Branch of destination BB#\"", "\" from BB#\"", "\" max delta=\"", "\" from \"", "\" to \"", "\" offset \"", "\"\\t\""], "File": "MipsConstantIslandPass", "Func": "isBBInRange", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2604, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "FunctionType", "*", "getType", "(", "LLVMContext", "&", "Context", ",", "unsigned", "id", ")", "{", "const", "Type", "*", "ResultTy", "=", "NULL", ";", "std", "::", "vector", "<", "const", "Type", "*", ">", "ArgTys", ";", "bool", "IsVarArg", "=", "false", ";", "return", "FunctionType", "::", "get", "(", "ResultTy", ",", "ArgTys", ",", "IsVarArg", ")", ";", "}", ""], "natrual_language": ["Overload", "to", "return", "most", "specific", "vector", "type", "."], "TS_V_token": ["Blackfin"], "File": "BlackfinIntrinsicInfo", "Func": "getType", "Target": "Blackfin", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2605, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "s390_is_fpr128", "(", "machine_mode", "m", ")", "{", "return", "m", "==", "FPRX2mode", "||", "(", "!", "TARGET_VXE", "&&", "m", "==", "TFmode", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "mode", "M", "describes", "a", "128-bit", "float", "in", "a", "floating", "point", "register", "pair", "."], "TS_V_token": ["s390"], "File": "s390", "Func": "s390_is_fpr128", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2606, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_save_restore_reg", "(", "machine_mode", "mode", ",", "int", "regno", ",", "HOST_WIDE_INT", "offset", ",", "riscv_save_restore_fn", "fn", ")", "{", "rtx", "mem", ";", "mem", "=", "gen_frame_mem", "(", "mode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "fn", "(", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ",", "mem", ")", ";", "}", ""], "natrual_language": ["Use", "FN", "to", "save", "or", "restore", "register", "REGNO", ".", "MODE", "is", "the", "register", "'s", "mode", "and", "OFFSET", "is", "the", "offset", "of", "its", "save", "slot", "from", "the", "current", "stack", "pointer", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_save_restore_reg", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2607, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "ConstraintWeight", "MipsTargetLowering", "::", "getSingleConstraintMatchWeight", "(", "AsmOperandInfo", "&", "info", ",", "const", "char", "*", "constraint", ")", "const", "{", "ConstraintWeight", "weight", "=", "CW_Invalid", ";", "Value", "*", "CallOperandVal", "=", "info", ".", "CallOperandVal", ";", "if", "(", "!", "CallOperandVal", ")", "return", "CW_Default", ";", "Type", "*", "type", "=", "CallOperandVal", "->", "getType", "(", ")", ";", "switch", "(", "*", "constraint", ")", "{", "default", ":", "weight", "=", "TargetLowering", "::", "getSingleConstraintMatchWeight", "(", "info", ",", "constraint", ")", ";", "break", ";", "case", "'d'", ":", "case", "'y'", ":", "if", "(", "type", "->", "isIntegerTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'f'", ":", "if", "(", "Subtarget", ".", "hasMSA", "(", ")", "&&", "type", "->", "isVectorTy", "(", ")", "&&", "cast", "<", "VectorType", ">", "(", "type", ")", "->", "getBitWidth", "(", ")", "==", "128", ")", "weight", "=", "CW_Register", ";", "else", "if", "(", "type", "->", "isFloatTy", "(", ")", ")", "weight", "=", "CW_Register", ";", "break", ";", "case", "'c'", ":", "case", "'l'", ":", "case", "'x'", ":", "if", "(", "type", "->", "isIntegerTy", "(", ")", ")", "weight", "=", "CW_SpecificReg", ";", "break", ";", "case", "'I'", ":", "case", "'J'", ":", "case", "'K'", ":", "case", "'L'", ":", "case", "'N'", ":", "case", "'O'", ":", "case", "'P'", ":", "if", "(", "isa", "<", "ConstantInt", ">", "(", "CallOperandVal", ")", ")", "weight", "=", "CW_Constant", ";", "break", ";", "case", "'R'", ":", "weight", "=", "CW_Memory", ";", "break", ";", "}", "return", "weight", ";", "}", ""], "natrual_language": ["Examine", "constraint", "string", "and", "operand", "type", "and", "determine", "a", "weight", "value", "."], "TS_V_token": ["Mips", "Mips", "128"], "File": "MipsISelLowering (2)4", "Func": "getSingleConstraintMatchWeight", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2608, "Length": 214, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rs6000_decl_ok_for_sibcall", "(", "tree", "decl", ")", "{", "if", "(", "DEFAULT_ABI", "==", "ABI_DARWIN", ")", "return", "true", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_AIX", "||", "DEFAULT_ABI", "==", "ABI_ELFv2", ")", "{", "if", "(", "rs6000_pcrel_p", "(", ")", ")", "return", "true", ";", "if", "(", "!", "decl", "||", "DECL_EXTERNAL", "(", "decl", ")", "||", "DECL_WEAK", "(", "decl", ")", "||", "!", "(", "*", "targetm", ".", "binds_local_p", ")", "(", "decl", ")", ")", "return", "false", ";", "if", "(", "rs6000_fndecl_pcrel_p", "(", "decl", ")", ")", "return", "false", ";", "return", "true", ";", "}", "if", "(", "DEFAULT_ABI", "!=", "ABI_V4", "||", "(", "TARGET_SECURE_PLT", "&&", "flag_pic", "&&", "(", "!", "decl", "||", "!", "(", "(", "*", "targetm", ".", "binds_local_p", ")", "(", "decl", ")", ")", ")", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "rs6000_function_ok_for_sibcall", "."], "TS_V_token": ["rs6000"], "File": "rs6000-logue", "Func": "rs6000_decl_ok_for_sibcall", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2609, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86AsmParser", "::", "checkTargetMatchPredicate", "(", "MCInst", "&", "Inst", ")", "{", "unsigned", "Opc", "=", "Inst", ".", "getOpcode", "(", ")", ";", "const", "MCInstrDesc", "&", "MCID", "=", "MII", ".", "get", "(", "Opc", ")", ";", "if", "(", "ForcedVEXEncoding", "==", "VEXEncoding_EVEX", "&&", "(", "MCID", ".", "TSFlags", "&", "X86II", "::", "EncodingMask", ")", "!=", "X86II", "::", "EVEX", ")", "return", "Match_Unsupported", ";", "if", "(", "(", "ForcedVEXEncoding", "==", "VEXEncoding_VEX", "||", "ForcedVEXEncoding", "==", "VEXEncoding_VEX3", ")", "&&", "(", "MCID", ".", "TSFlags", "&", "X86II", "::", "EncodingMask", ")", "!=", "X86II", "::", "VEX", ")", "return", "Match_Unsupported", ";", "switch", "(", "Opc", ")", "{", "case", "X86", "::", "VCVTSD2SIZrm_Int", ":", "case", "X86", "::", "VCVTSD2SI64Zrm_Int", ":", "case", "X86", "::", "VCVTSS2SIZrm_Int", ":", "case", "X86", "::", "VCVTSS2SI64Zrm_Int", ":", "case", "X86", "::", "VCVTTSD2SIZrm", ":", "case", "X86", "::", "VCVTTSD2SIZrm_Int", ":", "case", "X86", "::", "VCVTTSD2SI64Zrm", ":", "case", "X86", "::", "VCVTTSD2SI64Zrm_Int", ":", "case", "X86", "::", "VCVTTSS2SIZrm", ":", "case", "X86", "::", "VCVTTSS2SIZrm_Int", ":", "case", "X86", "::", "VCVTTSS2SI64Zrm", ":", "case", "X86", "::", "VCVTTSS2SI64Zrm_Int", ":", "if", "(", "ForcedVEXEncoding", "!=", "VEXEncoding_EVEX", ")", "return", "Match_Unsupported", ";", "break", ";", "}", "return", "Match_Success", ";", "}", ""], "natrual_language": ["checkTargetMatchPredicate", "-", "Validate", "the", "instruction", "match", "against", "any", "complex", "target", "predicates", "not", "expressible", "via", "match", "classes", "."], "TS_V_token": ["X86", "X86", "X86II::EncodingMask", "X86II::EVEX", "X86II::EncodingMask", "X86II::VEX", "X86::VCVTSD2SIZrm_Int", "X86::VCVTSD2SI64Zrm_Int", "X86::VCVTSS2SIZrm_Int", "X86::VCVTSS2SI64Zrm_Int", "X86::VCVTTSD2SIZrm", "X86::VCVTTSD2SIZrm_Int", "X86::VCVTTSD2SI64Zrm", "X86::VCVTTSD2SI64Zrm_Int", "X86::VCVTTSS2SIZrm", "X86::VCVTTSS2SIZrm_Int", "X86::VCVTTSS2SI64Zrm", "X86::VCVTTSS2SI64Zrm_Int"], "File": "X86AsmParser110", "Func": "checkTargetMatchPredicate", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2610, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CAHPAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "OS", ")", "{", "if", "(", "!", "AsmPrinter", "::", "PrintAsmOperand", "(", "MI", ",", "OpNo", ",", "ExtraCode", ",", "OS", ")", ")", "return", "false", ";", "if", "(", "!", "ExtraCode", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ";", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "case", "MachineOperand", "::", "MO_Immediate", ":", "OS", "<<", "MO", ".", "getImm", "(", ")", ";", "return", "false", ";", "case", "MachineOperand", "::", "MO_Register", ":", "OS", "<<", "CAHPInstPrinter", "::", "getRegisterName", "(", "MO", ".", "getReg", "(", ")", ")", ";", "return", "false", ";", "default", ":", "break", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["CAHP", "CAHP", "CAHP"], "File": "CAHPAsmPrinter", "Func": "PrintAsmOperand", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2611, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "VideocoreSubtarget", "*", "getSubtargetImpl", "(", ")", "const", "{", "return", "&", "Subtarget", ";", "}", ""], "natrual_language": ["Virtual", "method", "implemented", "by", "subclasses", "that", "returns", "a", "reference", "to", "that", "target", "'s", "TargetSubtargetInfo-derived", "member", "variable", "."], "TS_V_token": ["Videocore", "Videocore"], "File": "VideocoreTargetMachine", "Func": "getSubtargetImpl", "Target": "Videocore", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2612, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_hard_regno_mode_ok", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "CC_REGNO_P", "(", "regno", ")", ")", "return", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_CC", ";", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_CC", "||", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_RANDOM", ")", "return", "false", ";", "if", "(", "STACK_REGNO_P", "(", "regno", ")", ")", "return", "VALID_FP_MODE_P", "(", "mode", ")", ";", "if", "(", "MASK_REGNO_P", "(", "regno", ")", ")", "{", "if", "(", "(", "mode", "==", "P2QImode", "||", "mode", "==", "P2HImode", ")", ")", "return", "MASK_PAIR_REGNO_P", "(", "regno", ")", ";", "return", "(", "(", "TARGET_AVX512F", "&&", "VALID_MASK_REG_MODE", "(", "mode", ")", ")", "||", "(", "TARGET_AVX512BW", "&&", "VALID_MASK_AVX512BW_MODE", "(", "mode", ")", ")", ")", ";", "}", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_PARTIAL_INT", ")", "return", "false", ";", "if", "(", "SSE_REGNO_P", "(", "regno", ")", ")", "{", "if", "(", "TARGET_AVX512F", "&&", "(", "VALID_AVX512F_REG_OR_XI_MODE", "(", "mode", ")", "||", "VALID_AVX512F_SCALAR_MODE", "(", "mode", ")", ")", ")", "return", "true", ";", "if", "(", "TARGET_AVX512FP16", "&&", "VALID_AVX512FP16_SCALAR_MODE", "(", "mode", ")", ")", "return", "true", ";", "if", "(", "(", "TARGET_AVX5124FMAPS", "||", "TARGET_AVX5124VNNIW", ")", "&&", "(", "mode", "==", "V64SFmode", "||", "mode", "==", "V64SImode", ")", "&&", "MOD4_SSE_REGNO_P", "(", "regno", ")", ")", "return", "true", ";", "if", "(", "TARGET_AVX512VL", "&&", "(", "VALID_AVX256_REG_OR_OI_MODE", "(", "mode", ")", "||", "VALID_AVX512VL_128_REG_MODE", "(", "mode", ")", ")", ")", "return", "true", ";", "if", "(", "EXT_REX_SSE_REGNO_P", "(", "regno", ")", ")", "return", "false", ";", "return", "(", "(", "TARGET_AVX", "&&", "VALID_AVX256_REG_OR_OI_MODE", "(", "mode", ")", ")", "||", "VALID_SSE_REG_MODE", "(", "mode", ")", "||", "VALID_SSE2_REG_MODE", "(", "mode", ")", "||", "VALID_MMX_REG_MODE", "(", "mode", ")", "||", "VALID_MMX_REG_MODE_3DNOW", "(", "mode", ")", ")", ";", "}", "if", "(", "MMX_REGNO_P", "(", "regno", ")", ")", "{", "return", "(", "VALID_MMX_REG_MODE", "(", "mode", ")", "||", "VALID_MMX_REG_MODE_3DNOW", "(", "mode", ")", ")", ";", "}", "if", "(", "mode", "==", "QImode", ")", "{", "if", "(", "ANY_QI_REGNO_P", "(", "regno", ")", ")", "return", "true", ";", "if", "(", "!", "TARGET_PARTIAL_REG_STALL", ")", "return", "true", ";", "if", "(", "lra_in_progress", ")", "return", "true", ";", "return", "!", "can_create_pseudo_p", "(", ")", ";", "}", "else", "if", "(", "VALID_INT_MODE_P", "(", "mode", ")", "||", "VALID_FP_MODE_P", "(", "mode", ")", ")", "return", "true", ";", "else", "if", "(", "VALID_MMX_REG_MODE_3DNOW", "(", "mode", ")", "||", "VALID_MMX_REG_MODE", "(", "mode", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "hard", "register", "REGNO", "can", "hold", "a", "value", "of", "machine-mode", "MODE", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_hard_regno_mode_ok", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2613, "Length": 343, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SystemZTargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "const", "SDLoc", "&", "DL", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "if", "(", "Subtarget", ".", "hasVector", "(", ")", ")", "VerifyVectorTypes", "(", "Outs", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RetLocs", ";", "CCState", "RetCCInfo", "(", "CallConv", ",", "IsVarArg", ",", "MF", ",", "RetLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "RetCCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_SystemZ", ")", ";", "if", "(", "RetLocs", ".", "empty", "(", ")", ")", "return", "DAG", ".", "getNode", "(", "SystemZISD", "::", "RET_FLAG", ",", "DL", ",", "MVT", "::", "Other", ",", "Chain", ")", ";", "SDValue", "Glue", ";", "SmallVector", "<", "SDValue", ",", "4", ">", "RetOps", ";", "RetOps", ".", "push_back", "(", "Chain", ")", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "RetLocs", ".", "size", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "CCValAssign", "&", "VA", "=", "RetLocs", "[", "I", "]", ";", "SDValue", "RetValue", "=", "OutVals", "[", "I", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Can only return in registers!\"", ")", ";", "RetValue", "=", "convertValVTToLocVT", "(", "DAG", ",", "DL", ",", "VA", ",", "RetValue", ")", ";", "Register", "Reg", "=", "VA", ".", "getLocReg", "(", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "Reg", ",", "RetValue", ",", "Glue", ")", ";", "Glue", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "Reg", ",", "VA", ".", "getLocVT", "(", ")", ")", ")", ";", "}", "RetOps", "[", "0", "]", "=", "Chain", ";", "if", "(", "Glue", ".", "getNode", "(", ")", ")", "RetOps", ".", "push_back", "(", "Glue", ")", ";", "return", "DAG", ".", "getNode", "(", "SystemZISD", "::", "RET_FLAG", ",", "DL", ",", "MVT", "::", "Other", ",", "RetOps", ")", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "outgoing", "return", "values", ",", "described", "by", "the", "Outs", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["SystemZ", "SystemZ", "ISD::OutputArg", "16", "SystemZ", "SystemZISD::RET_FLAG", "MVT::Other", "4", "0", "\"Can only return in registers!\"", "1", "0", "SystemZISD::RET_FLAG", "MVT::Other"], "File": "SystemZISelLowering108", "Func": "LowerReturn", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2614, "Length": 307, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "SITargetLowering", "::", "getSetCCResultType", "(", "LLVMContext", "&", "Ctx", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isVector", "(", ")", ")", "{", "return", "MVT", "::", "i1", ";", "}", "return", "EVT", "::", "getVectorVT", "(", "Ctx", ",", "MVT", "::", "i1", ",", "VT", ".", "getVectorNumElements", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["R600", "SI", "MVT::i1", "MVT::i1"], "File": "SIISelLowering111", "Func": "getSetCCResultType", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2615, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64FrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "DL", ";", "SmallVector", "<", "RegPairInfo", ",", "8", ">", "RegPairs", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "computeCalleeSaveRegisterPairs", "(", "MF", ",", "CSI", ",", "TRI", ",", "RegPairs", ")", ";", "for", "(", "auto", "RPII", "=", "RegPairs", ".", "begin", "(", ")", ",", "RPIE", "=", "RegPairs", ".", "end", "(", ")", ";", "RPII", "!=", "RPIE", ";", "++", "RPII", ")", "{", "RegPairInfo", "RPI", "=", "*", "RPII", ";", "unsigned", "Reg1", "=", "RPI", ".", "Reg1", ";", "unsigned", "Reg2", "=", "RPI", ".", "Reg2", ";", "unsigned", "LdrOpc", ";", "if", "(", "RPI", ".", "IsGPR", ")", "LdrOpc", "=", "RPI", ".", "isPaired", "(", ")", "?", "AArch64", "::", "LDPXi", ":", "AArch64", "::", "LDRXui", ";", "else", "LdrOpc", "=", "RPI", ".", "isPaired", "(", ")", "?", "AArch64", "::", "LDPDi", ":", "AArch64", "::", "LDRDui", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"CSR restore: (\"", "<<", "TRI", "->", "getName", "(", "Reg1", ")", ";", "if", "(", "RPI", ".", "isPaired", "(", ")", ")", "dbgs", "(", ")", "<<", "\", \"", "<<", "TRI", "->", "getName", "(", "Reg2", ")", ";", "dbgs", "(", ")", "<<", "\") -> fi#(\"", "<<", "RPI", ".", "FrameIdx", ";", "if", "(", "RPI", ".", "isPaired", "(", ")", ")", "dbgs", "(", ")", "<<", "\", \"", "<<", "RPI", ".", "FrameIdx", "+", "1", ";", "dbgs", "(", ")", "<<", "\")\\n\"", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "LdrOpc", ")", ")", ";", "if", "(", "RPI", ".", "isPaired", "(", ")", ")", "{", "MIB", ".", "addReg", "(", "Reg2", ",", "getDefRegState", "(", "true", ")", ")", ";", "MIB", ".", "addMemOperand", "(", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "RPI", ".", "FrameIdx", "+", "1", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "8", ",", "8", ")", ")", ";", "}", "MIB", ".", "addReg", "(", "Reg1", ",", "getDefRegState", "(", "true", ")", ")", ".", "addReg", "(", "AArch64", "::", "SP", ")", ".", "addImm", "(", "RPI", ".", "Offset", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameDestroy", ")", ";", "MIB", ".", "addMemOperand", "(", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "RPI", ".", "FrameIdx", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "8", ",", "8", ")", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["restoreCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "restore", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "load", "instructions", "via", "loadRegToStackSlot", "(", ")", "."], "TS_V_token": ["AArch64", "AArch64", "8", "AArch64::LDPXi", "AArch64::LDRXui", "AArch64::LDPDi", "AArch64::LDRDui", "\"CSR restore: (\"", "\", \"", "\") -> fi#(\"", "\", \"", "1", "\")\\n\"", "1", "8", "8", "AArch64::SP", "8", "8"], "File": "AArch64FrameLowering21", "Func": "restoreCalleeSavedRegisters", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2616, "Length": 398, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "msp430x_extendhisi", "(", "rtx", "*", "operands", ",", "bool", "return_length", ")", "{", "if", "(", "REGNO", "(", "operands", "[", "0", "]", ")", "==", "REGNO", "(", "operands", "[", "1", "]", ")", ")", "{", "if", "(", "!", "return_length", ")", "output_asm_insn", "(", "\"BIT.W\\t#0x8000, %L0 { SUBC.W\\t%H0, %H0 { INV.W\\t%H0, %H0\"", ",", "operands", ")", ";", "return", "8", ";", "}", "else", "if", "(", "!", "msp430x", ")", "{", "if", "(", "!", "return_length", ")", "output_asm_insn", "(", "\"MOV.W\\t%1, %L0 { BIT.W\\t#0x8000, %L0 { SUBC.W\\t%H0, %H0 { INV.W\\t%H0, %H0\"", ",", "operands", ")", ";", "return", "10", ";", "}", "else", "if", "(", "REGNO", "(", "operands", "[", "0", "]", ")", "+", "1", "==", "REGNO", "(", "operands", "[", "1", "]", ")", ")", "{", "if", "(", "!", "return_length", ")", "output_asm_insn", "(", "\"MOV.W\\t%1, %L0 { RPT\\t#15 { RRAX.W\\t%H0\"", ",", "operands", ")", ";", "return", "6", ";", "}", "if", "(", "!", "return_length", ")", "output_asm_insn", "(", "\"MOV.W\\t%1, %L0 { MOV.W\\t%1, %H0 { RPT\\t#15 { RRAX.W\\t%H0\"", ",", "operands", ")", ";", "return", "8", ";", "}", ""], "natrual_language": ["Generate", "a", "sequence", "of", "instructions", "to", "sign-extend", "an", "HI", "value", "into", "an", "SI", "value", ".", "Handles", "the", "tricky", "case", "where", "we", "are", "overwriting", "the", "destination", ".", "Return", "the", "number", "of", "bytes", "used", "by", "the", "emitted", "instructions", ".", "If", "RETURN_LENGTH", "is", "true", "then", "do", "not", "emit", "the", "assembly", "instruction", "sequence", "."], "TS_V_token": ["msp430", "0", "1", "\"BIT.W\\t#0x8000, %L0 { SUBC.W\\t%H0, %H0 { INV.W\\t%H0, %H0\"", "8", "\"MOV.W\\t%1, %L0 { BIT.W\\t#0x8000, %L0 { SUBC.W\\t%H0, %H0 { INV.W\\t%H0, %H0\"", "10", "0", "1", "1", "\"MOV.W\\t%1, %L0 { RPT\\t#15 { RRAX.W\\t%H0\"", "6", "\"MOV.W\\t%1, %L0 { MOV.W\\t%1, %H0 { RPT\\t#15 { RRAX.W\\t%H0\"", "8"], "File": "msp430", "Func": "msp430x_extendhisi", "Target": "msp430", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2617, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "svprfop_token", "(", "enum", "aarch64_svprfop", "prfop", ")", "{", "switch", "(", "prfop", ")", "{", "AARCH64_FOR_SVPRFOP", "(", "CASE", ")", "case", "AARCH64_NUM_SVPRFOPS", ":", "break", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "assembly", "token", "for", "svprfop", "value", "PRFOP", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "svprfop_token", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2618, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MBlazeInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "llvm", "::", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "MBlaze", "::", "ADD", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ".", "addReg", "(", "MBlaze", "::", "R0", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["MBlaze", "MBlaze", "MBlaze::ADD", "MBlaze::R0"], "File": "MBlazeInstrInfo2", "Func": "copyPhysReg", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2619, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "WebAssemblyTargetMachine", "::", "WebAssemblyTargetMachine", "(", "const", "Target", "&", "T", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Optional", "<", "Reloc", "::", "Model", ">", "RM", ",", "Optional", "<", "CodeModel", "::", "Model", ">", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "JIT", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ".", "isArch64Bit", "(", ")", "?", "\"e-m:e-p:64:64-i64:64-n32:64-S128\"", ":", "\"e-m:e-p:32:32-i64:64-n32:64-S128\"", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "getEffectiveRelocModel", "(", "RM", ")", ",", "CM", "?", "*", "CM", ":", "CodeModel", "::", "Large", ",", "OL", ")", ",", "TLOF", "(", "new", "WebAssemblyTargetObjectFile", "(", ")", ")", "{", "this", "->", "Options", ".", "TrapUnreachable", "=", "true", ";", "this", "->", "Options", ".", "FunctionSections", "=", "true", ";", "this", "->", "Options", ".", "DataSections", "=", "true", ";", "this", "->", "Options", ".", "UniqueSectionNames", "=", "true", ";", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "WebAssembly", "architecture", "model", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "WebAssembly", "\"e-m:e-p:64:64-i64:64-n32:64-S128\"", "\"e-m:e-p:32:32-i64:64-n32:64-S128\"", "WebAssembly"], "File": "WebAssemblyTargetMachine18", "Func": "WebAssemblyTargetMachine", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2620, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "gprel_constant_p", "(", "rtx", "op", ")", "{", "if", "(", "GET_CODE", "(", "op", ")", "==", "SYMBOL_REF", "&&", "nios2_symbol_ref_in_small_data_p", "(", "op", ")", ")", "return", "true", ";", "else", "if", "(", "GET_CODE", "(", "op", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "op", ",", "0", ")", ")", "==", "PLUS", ")", "return", "gprel_constant_p", "(", "XEXP", "(", "XEXP", "(", "op", ",", "0", ")", ",", "0", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "is", "a", "GP-relative", "accessible", "reference", "."], "TS_V_token": ["nios2", "0", "0", "0"], "File": "nios2", "Func": "gprel_constant_p", "Target": "nios2", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2621, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "gcn_goacc_get_worker_red_decl", "(", "tree", "type", ",", "unsigned", "offset", ")", "{", "machine_function", "*", "machfun", "=", "cfun", "->", "machine", ";", "tree", "existing_decl", ";", "if", "(", "TREE_CODE", "(", "type", ")", "==", "REFERENCE_TYPE", ")", "type", "=", "TREE_TYPE", "(", "type", ")", ";", "tree", "var_type", "=", "build_qualified_type", "(", "type", ",", "(", "TYPE_QUALS", "(", "type", ")", "|", "ENCODE_QUAL_ADDR_SPACE", "(", "ADDR_SPACE_LDS", ")", ")", ")", ";", "if", "(", "machfun", "->", "reduc_decls", "&&", "offset", "<", "machfun", "->", "reduc_decls", "->", "length", "(", ")", "&&", "(", "existing_decl", "=", "(", "*", "machfun", "->", "reduc_decls", ")", "[", "offset", "]", ")", ")", "{", "gcc_assert", "(", "TREE_TYPE", "(", "existing_decl", ")", "==", "var_type", ")", ";", "return", "existing_decl", ";", "}", "else", "{", "char", "name", "[", "50", "]", ";", "sprintf", "(", "name", ",", "\".oacc_reduction_%u\"", ",", "offset", ")", ";", "tree", "decl", "=", "create_tmp_var_raw", "(", "var_type", ",", "name", ")", ";", "DECL_CONTEXT", "(", "decl", ")", "=", "NULL_TREE", ";", "TREE_STATIC", "(", "decl", ")", "=", "1", ";", "varpool_node", "::", "finalize_decl", "(", "decl", ")", ";", "vec_safe_grow_cleared", "(", "machfun", "->", "reduc_decls", ",", "offset", "+", "1", ",", "true", ")", ";", "(", "*", "machfun", "->", "reduc_decls", ")", "[", "offset", "]", "=", "decl", ";", "return", "decl", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Return", "a", "temporary", "variable", "decl", "to", "use", "for", "an", "OpenACC", "worker", "reduction", "."], "TS_V_token": ["gcn", "50", "\".oacc_reduction_%u\"", "1", "1"], "File": "gcn-tree1", "Func": "gcn_goacc_get_worker_red_decl", "Target": "gcn", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 2622, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "adjust_extract", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "pattern", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "pattern", ")", "==", "PARALLEL", ")", "pattern", "=", "XVECEXP", "(", "pattern", ",", "0", ",", "0", ")", ";", "rtx", "src", "=", "SET_SRC", "(", "pattern", ")", ";", "rtx", "sel", "=", "GET_CODE", "(", "src", ")", "==", "VEC_DUPLICATE", "?", "XEXP", "(", "src", ",", "0", ")", ":", "src", ";", "rtx", "par", "=", "XEXP", "(", "sel", ",", "1", ")", ";", "int", "half_elts", "=", "GET_MODE_NUNITS", "(", "GET_MODE", "(", "XEXP", "(", "sel", ",", "0", ")", ")", ")", ">>", "1", ";", "int", "lane", "=", "INTVAL", "(", "XVECEXP", "(", "par", ",", "0", ",", "0", ")", ")", ";", "lane", "=", "lane", ">=", "half_elts", "?", "lane", "-", "half_elts", ":", "lane", "+", "half_elts", ";", "XVECEXP", "(", "par", ",", "0", ",", "0", ")", "=", "GEN_INT", "(", "lane", ")", ";", "INSN_CODE", "(", "insn", ")", "=", "-", "1", ";", "df_insn_rescan", "(", "insn", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"Changing lane for extract %d\\n\"", ",", "INSN_UID", "(", "insn", ")", ")", ";", "}", ""], "natrual_language": ["Given", "OP", "that", "contains", "a", "vector", "extract", "operation", ",", "adjust", "the", "index", "of", "the", "extracted", "lane", "to", "account", "for", "the", "doubleword", "swap", "."], "TS_V_token": ["powerpcspe", "0", "0", "0", "1", "0", "1", "0", "0", "0", "0", "1", "\"Changing lane for extract %d\\n\""], "File": "powerpcspe", "Func": "adjust_extract", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2623, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arm_vector_mode_supported_p", "(", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_NEON", "&&", "(", "mode", "==", "V2SFmode", "||", "mode", "==", "V4SImode", "||", "mode", "==", "V8HImode", "||", "mode", "==", "V4HFmode", "||", "mode", "==", "V16QImode", "||", "mode", "==", "V4SFmode", "||", "mode", "==", "V2DImode", "||", "mode", "==", "V8HFmode", ")", ")", "return", "true", ";", "if", "(", "(", "TARGET_NEON", "||", "TARGET_IWMMXT", ")", "&&", "(", "(", "mode", "==", "V2SImode", ")", "||", "(", "mode", "==", "V4HImode", ")", "||", "(", "mode", "==", "V8QImode", ")", ")", ")", "return", "true", ";", "if", "(", "TARGET_INT_SIMD", "&&", "(", "mode", "==", "V4UQQmode", "||", "mode", "==", "V4QQmode", "||", "mode", "==", "V2UHQmode", "||", "mode", "==", "V2HQmode", "||", "mode", "==", "V2UHAmode", "||", "mode", "==", "V2HAmode", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implements", "target", "hook", "vector_mode_supported_p", "."], "TS_V_token": ["arm"], "File": "arm5", "Func": "arm_vector_mode_supported_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2624, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUAAResult", "::", "pointsToConstantMemory", "(", "const", "MemoryLocation", "&", "Loc", ",", "bool", "OrLocal", ")", "{", "const", "Value", "*", "Base", "=", "GetUnderlyingObject", "(", "Loc", ".", "Ptr", ",", "DL", ")", ";", "unsigned", "AS", "=", "Base", "->", "getType", "(", ")", "->", "getPointerAddressSpace", "(", ")", ";", "if", "(", "AS", "==", "AMDGPUAS", "::", "CONSTANT_ADDRESS", "||", "AS", "==", "AMDGPUAS", "::", "CONSTANT_ADDRESS_32BIT", ")", "{", "return", "true", ";", "}", "if", "(", "const", "GlobalVariable", "*", "GV", "=", "dyn_cast", "<", "GlobalVariable", ">", "(", "Base", ")", ")", "{", "if", "(", "GV", "->", "isConstant", "(", ")", ")", "return", "true", ";", "}", "else", "if", "(", "const", "Argument", "*", "Arg", "=", "dyn_cast", "<", "Argument", ">", "(", "Base", ")", ")", "{", "const", "Function", "*", "F", "=", "Arg", "->", "getParent", "(", ")", ";", "switch", "(", "F", "->", "getCallingConv", "(", ")", ")", "{", "default", ":", "return", "AAResultBase", "::", "pointsToConstantMemory", "(", "Loc", ",", "OrLocal", ")", ";", "case", "CallingConv", "::", "AMDGPU_LS", ":", "case", "CallingConv", "::", "AMDGPU_HS", ":", "case", "CallingConv", "::", "AMDGPU_ES", ":", "case", "CallingConv", "::", "AMDGPU_GS", ":", "case", "CallingConv", "::", "AMDGPU_VS", ":", "case", "CallingConv", "::", "AMDGPU_PS", ":", "case", "CallingConv", "::", "AMDGPU_CS", ":", "case", "CallingConv", "::", "AMDGPU_KERNEL", ":", "case", "CallingConv", "::", "SPIR_KERNEL", ":", "break", ";", "}", "unsigned", "ArgNo", "=", "Arg", "->", "getArgNo", "(", ")", ";", "if", "(", "F", "->", "hasParamAttribute", "(", "ArgNo", ",", "Attribute", "::", "NoAlias", ")", "&&", "(", "F", "->", "hasParamAttribute", "(", "ArgNo", ",", "Attribute", "::", "ReadNone", ")", "||", "F", "->", "hasParamAttribute", "(", "ArgNo", ",", "Attribute", "::", "ReadOnly", ")", ")", ")", "{", "return", "true", ";", "}", "}", "return", "AAResultBase", "::", "pointsToConstantMemory", "(", "Loc", ",", "OrLocal", ")", ";", "}", ""], "natrual_language": ["A", "convenience", "wrapper", "around", "the", "primary", "pointsToConstantMemory", "interface", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU"], "File": "AMDGPUAliasAnalysis", "Func": "pointsToConstantMemory", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2625, "Length": 248, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "isLegalMaskedStore", "(", "Type", "*", "DataType", ")", "{", "return", "isLegalMaskedLoad", "(", "DataType", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "store", "."], "TS_V_token": ["X86", "X86"], "File": "X86TargetTransformInfo (2)", "Func": "isLegalMaskedStore", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2626, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_secondary_memory_needed", "(", "machine_mode", "mode", ",", "reg_class_t", "class1", ",", "reg_class_t", "class2", ")", "{", "return", "(", "!", "riscv_v_ext_vector_mode_p", "(", "mode", ")", "&&", "GET_MODE_SIZE", "(", "mode", ")", ".", "to_constant", "(", ")", ">", "UNITS_PER_WORD", "&&", "(", "class1", "==", "FP_REGS", ")", "!=", "(", "class2", "==", "FP_REGS", ")", "&&", "!", "TARGET_XTHEADFMV", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SECONDARY_MEMORY_NEEDED", ".", "When", "floating-point", "registers", "are", "wider", "than", "integer", "ones", ",", "moves", "between", "them", "must", "go", "through", "memory", "."], "TS_V_token": ["riscv"], "File": "riscv1", "Func": "riscv_secondary_memory_needed", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2627, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "ARCompactTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "getTargetMachine", "(", ")", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "dl", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "assert", "(", "(", "MI", "->", "getOpcode", "(", ")", "==", "ARC", "::", "Select", ")", "&&", "\"We can only emit SELECT_CC\"", ")", ";", "const", "BasicBlock", "*", "LLVM_BB", "=", "BB", "->", "getBasicBlock", "(", ")", ";", "MachineFunction", "::", "iterator", "I", "=", "BB", ";", "++", "I", ";", "MachineBasicBlock", "*", "thisMBB", "=", "BB", ";", "MachineFunction", "*", "F", "=", "BB", "->", "getParent", "(", ")", ";", "MachineBasicBlock", "*", "copy0MBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineBasicBlock", "*", "copy1MBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "F", "->", "insert", "(", "I", ",", "copy0MBB", ")", ";", "F", "->", "insert", "(", "I", ",", "copy1MBB", ")", ";", "copy1MBB", "->", "splice", "(", "copy1MBB", "->", "begin", "(", ")", ",", "BB", ",", "llvm", "::", "next", "(", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", ",", "BB", "->", "end", "(", ")", ")", ";", "copy1MBB", "->", "transferSuccessorsAndUpdatePHIs", "(", "BB", ")", ";", "BB", "->", "addSuccessor", "(", "copy0MBB", ")", ";", "BB", "->", "addSuccessor", "(", "copy1MBB", ")", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", ".", "get", "(", "ARC", "::", "BCC", ")", ")", ".", "addMBB", "(", "copy1MBB", ")", ".", "addImm", "(", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ")", ";", "BB", "=", "copy0MBB", ";", "BB", "->", "addSuccessor", "(", "copy1MBB", ")", ";", "BB", "=", "copy1MBB", ";", "BuildMI", "(", "*", "BB", ",", "BB", "->", "begin", "(", ")", ",", "dl", ",", "TII", ".", "get", "(", "ARC", "::", "PHI", ")", ",", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "copy0MBB", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "thisMBB", ")", ";", "MI", "->", "eraseFromParent", "(", ")", ";", "return", "BB", ";", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "."], "TS_V_token": ["ARCompact", "ARC", "ARC::Select", "\"We can only emit SELECT_CC\"", "ARC::BCC", "3", "ARC::PHI", "0", "2", "1"], "File": "ARCompactISelLowering", "Func": "EmitInstrWithCustomInserter", "Target": "ARCompact", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2628, "Length": 317, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "rs6000_add_stmt_cost", "(", "void", "*", "data", ",", "int", "count", ",", "enum", "vect_cost_for_stmt", "kind", ",", "struct", "_stmt_vec_info", "*", "stmt_info", ",", "int", "misalign", ",", "enum", "vect_cost_model_location", "where", ")", "{", "rs6000_cost_data", "*", "cost_data", "=", "(", "rs6000_cost_data", "*", ")", "data", ";", "unsigned", "retval", "=", "0", ";", "if", "(", "flag_vect_cost_model", ")", "{", "tree", "vectype", "=", "stmt_info", "?", "stmt_vectype", "(", "stmt_info", ")", ":", "NULL_TREE", ";", "int", "stmt_cost", "=", "rs6000_builtin_vectorization_cost", "(", "kind", ",", "vectype", ",", "misalign", ")", ";", "if", "(", "where", "==", "vect_body", "&&", "stmt_info", "&&", "stmt_in_inner_loop_p", "(", "stmt_info", ")", ")", "count", "*=", "50", ";", "retval", "=", "(", "unsigned", ")", "(", "count", "*", "stmt_cost", ")", ";", "cost_data", "->", "cost", "[", "where", "]", "+=", "retval", ";", "if", "(", "(", "kind", "==", "vec_to_scalar", "||", "kind", "==", "vec_perm", "||", "kind", "==", "vec_promote_demote", "||", "kind", "==", "vec_construct", "||", "kind", "==", "scalar_to_vec", ")", "||", "(", "where", "==", "vect_body", "&&", "kind", "==", "vector_stmt", ")", ")", "rs6000_vect_nonmem", "=", "true", ";", "}", "return", "retval", ";", "}", ""], "natrual_language": ["Implement", "targetm.vectorize.add_stmt_cost", "."], "TS_V_token": ["powerpcspe", "0", "50"], "File": "powerpcspe", "Func": "rs6000_add_stmt_cost", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2629, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCTargetLowering", "::", "combineRepeatedFPDivisors", "(", ")", "const", "{", "switch", "(", "Subtarget", ".", "getDarwinDirective", "(", ")", ")", "{", "default", ":", "return", "3", ";", "case", "PPC", "::", "DIR_440", ":", "case", "PPC", "::", "DIR_A2", ":", "case", "PPC", "::", "DIR_E500mc", ":", "case", "PPC", "::", "DIR_E5500", ":", "return", "2", ";", "}", "}", ""], "natrual_language": ["Indicate", "whether", "this", "target", "prefers", "to", "combine", "FDIVs", "with", "the", "same", "divisor", "."], "TS_V_token": ["PowerPC", "PPC", "3", "PPC::DIR_440", "PPC::DIR_A2", "PPC::DIR_E500mc", "PPC::DIR_E5500", "2"], "File": "PPCISelLowering (2)2", "Func": "combineRepeatedFPDivisors", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2630, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "reg_class_t", "avr_secondary_reload", "(", "bool", "in_p", ",", "rtx", "x", ",", "reg_class_t", "reload_class", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ",", "secondary_reload_info", "*", "sri", ")", "{", "if", "(", "in_p", "&&", "MEM_P", "(", "x", ")", "&&", "!", "ADDR_SPACE_GENERIC_P", "(", "MEM_ADDR_SPACE", "(", "x", ")", ")", "&&", "ADDR_SPACE_MEMX", "!=", "MEM_ADDR_SPACE", "(", "x", ")", ")", "{", "switch", "(", "mode", ")", "{", "default", ":", "gcc_unreachable", "(", ")", ";", "case", "QImode", ":", "sri", "->", "icode", "=", "CODE_FOR_reload_inqi", ";", "break", ";", "case", "QQmode", ":", "sri", "->", "icode", "=", "CODE_FOR_reload_inqq", ";", "break", ";", "case", "UQQmode", ":", "sri", "->", "icode", "=", "CODE_FOR_reload_inuqq", ";", "break", ";", "case", "HImode", ":", "sri", "->", "icode", "=", "CODE_FOR_reload_inhi", ";", "break", ";", "case", "HQmode", ":", "sri", "->", "icode", "=", "CODE_FOR_reload_inhq", ";", "break", ";", "case", "HAmode", ":", "sri", "->", "icode", "=", "CODE_FOR_reload_inha", ";", "break", ";", "case", "UHQmode", ":", "sri", "->", "icode", "=", "CODE_FOR_reload_inuhq", ";", "break", ";", "case", "UHAmode", ":", "sri", "->", "icode", "=", "CODE_FOR_reload_inuha", ";", "break", ";", "case", "PSImode", ":", "sri", "->", "icode", "=", "CODE_FOR_reload_inpsi", ";", "break", ";", "case", "SImode", ":", "sri", "->", "icode", "=", "CODE_FOR_reload_insi", ";", "break", ";", "case", "SFmode", ":", "sri", "->", "icode", "=", "CODE_FOR_reload_insf", ";", "break", ";", "case", "SQmode", ":", "sri", "->", "icode", "=", "CODE_FOR_reload_insq", ";", "break", ";", "case", "SAmode", ":", "sri", "->", "icode", "=", "CODE_FOR_reload_insa", ";", "break", ";", "case", "USQmode", ":", "sri", "->", "icode", "=", "CODE_FOR_reload_inusq", ";", "break", ";", "case", "USAmode", ":", "sri", "->", "icode", "=", "CODE_FOR_reload_inusa", ";", "break", ";", "}", "}", "return", "NO_REGS", ";", "}", ""], "natrual_language": ["Implement", "`", "TARGET_SECONDARY_RELOAD", "'"], "TS_V_token": ["avr"], "File": "avr4", "Func": "avr_secondary_reload", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2631, "Length": 230, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_must_pass_in_stack", "(", "enum", "machine_mode", "mode", ",", "tree", "type", ")", "{", "if", "(", "TARGET_AAPCS_BASED", ")", "return", "must_pass_in_stack_var_size", "(", "mode", ",", "type", ")", ";", "else", "return", "must_pass_in_stack_var_size_or_pad", "(", "mode", ",", "type", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "type", "must", "be", "passed", "in", "memory", ".", "For", "AAPCS", ",", "small", "aggregates", "(", "padded", "to", "the", "size", "of", "a", "word", ")", "should", "be", "passed", "in", "a", "register", "."], "TS_V_token": ["arm"], "File": "arm3", "Func": "arm_must_pass_in_stack", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2632, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "aarch64_parse_one_option_token", "(", "const", "char", "*", "token", ",", "size_t", "length", ",", "const", "struct", "aarch64_flag_desc", "*", "flag", ",", "const", "char", "*", "option_name", ")", "{", "for", "(", ";", "flag", "->", "name", "!=", "NULL", ";", "flag", "++", ")", "{", "if", "(", "length", "==", "strlen", "(", "flag", "->", "name", ")", "&&", "!", "strncmp", "(", "flag", "->", "name", ",", "token", ",", "length", ")", ")", "return", "flag", "->", "flag", ";", "}", "error", "(", "\"unknown flag passed in -moverride=%s (%s)\"", ",", "option_name", ",", "token", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Parse", "TOKEN", ",", "which", "has", "length", "LENGTH", "to", "see", "if", "it", "is", "an", "option", "described", "in", "FLAG", ".", "If", "it", "is", ",", "return", "the", "index", "bit", "for", "that", "fusion", "type", ".", "If", "not", ",", "error", "(", "printing", "OPTION_NAME", ")", "and", "return", "zero", "."], "TS_V_token": ["aarch64", "\"unknown flag passed in -moverride=%s (%s)\"", "0"], "File": "aarch643", "Func": "aarch64_parse_one_option_token", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2633, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "pa_scalar_mode_supported_p", "(", "enum", "machine_mode", "mode", ")", "{", "int", "precision", "=", "GET_MODE_PRECISION", "(", "mode", ")", ";", "switch", "(", "GET_MODE_CLASS", "(", "mode", ")", ")", "{", "case", "MODE_PARTIAL_INT", ":", "case", "MODE_INT", ":", "if", "(", "precision", "==", "CHAR_TYPE_SIZE", ")", "return", "true", ";", "if", "(", "precision", "==", "SHORT_TYPE_SIZE", ")", "return", "true", ";", "if", "(", "precision", "==", "INT_TYPE_SIZE", ")", "return", "true", ";", "if", "(", "precision", "==", "LONG_TYPE_SIZE", ")", "return", "true", ";", "if", "(", "precision", "==", "LONG_LONG_TYPE_SIZE", ")", "return", "true", ";", "return", "false", ";", "case", "MODE_FLOAT", ":", "if", "(", "precision", "==", "FLOAT_TYPE_SIZE", ")", "return", "true", ";", "if", "(", "precision", "==", "DOUBLE_TYPE_SIZE", ")", "return", "true", ";", "if", "(", "precision", "==", "LONG_DOUBLE_TYPE_SIZE", ")", "return", "true", ";", "return", "false", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["True", "if", "MODE", "is", "valid", "for", "the", "target", ".", "By", "``", "valid", "''", ",", "we", "mean", "able", "to", "be", "manipulated", "in", "non-trivial", "ways", ".", "In", "particular", ",", "this", "means", "all", "the", "arithmetic", "is", "supported", "."], "TS_V_token": ["pa"], "File": "pa3", "Func": "pa_scalar_mode_supported_p", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2634, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "msp430_attr", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", "args", ",", "int", "flags", "ATTRIBUTE_UNUSED", ",", "bool", "*", "no_add_attrs", ")", "{", "gcc_assert", "(", "DECL_P", "(", "*", "node", ")", ")", ";", "if", "(", "args", "!=", "NULL", ")", "{", "tree", "value", "=", "TREE_VALUE", "(", "args", ")", ";", "switch", "(", "TREE_CODE", "(", "value", ")", ")", "{", "case", "STRING_CST", ":", "if", "(", "strcmp", "(", "TREE_STRING_POINTER", "(", "value", ")", ",", "\"reset\"", ")", "&&", "strcmp", "(", "TREE_STRING_POINTER", "(", "value", ")", ",", "\"nmi\"", ")", "&&", "strcmp", "(", "TREE_STRING_POINTER", "(", "value", ")", ",", "\"watchdog\"", ")", ")", "warning", "(", "OPT_Wattributes", ",", "\"unrecognised interrupt vector argument of %qE attribute\"", ",", "name", ")", ";", "break", ";", "case", "INTEGER_CST", ":", "if", "(", "wi", "::", "gtu_p", "(", "value", ",", "63", ")", ")", "warning", "(", "OPT_Wattributes", ",", "\"numeric argument of %qE attribute must be in range 0..63\"", ",", "name", ")", ";", "break", ";", "default", ":", "warning", "(", "OPT_Wattributes", ",", "\"argument of %qE attribute is not a string constant or number\"", ",", "name", ")", ";", "*", "no_add_attrs", "=", "true", ";", "break", ";", "}", "}", "if", "(", "TREE_CODE", "(", "*", "node", ")", "!=", "FUNCTION_DECL", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qE attribute only applies to functions\"", ",", "name", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Verify", "MSP430", "specific", "attributes", "."], "TS_V_token": ["msp430", "\"reset\"", "\"nmi\"", "\"watchdog\"", "\"unrecognised interrupt vector argument of %qE attribute\"", "63", "\"numeric argument of %qE attribute must be in range 0..63\"", "\"argument of %qE attribute is not a string constant or number\"", "\"%qE attribute only applies to functions\""], "File": "msp4302", "Func": "msp430_attr", "Target": "msp430", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2635, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "simplify", "(", "Instruction", "*", "I", ")", "{", "return", "SimplifyInstruction", "(", "I", ",", "{", "*", "TD", ",", "TLI", ",", "DT", "}", ")", ";", "}", ""], "natrual_language": ["Go", "through", "all", "the", "nodes", "in", "the", "graph", "and", "collapse", "any", "two", "nodes", "'", "a", "'", "and", "'", "b", "'", "if", "all", "of", "the", "following", "are", "true", ":"], "TS_V_token": ["AMDGPU"], "File": "AMDGPUPrintfRuntimeBinding11", "Func": "simplify", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2636, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "s390_reorg", "(", "void", ")", "{", "struct", "constant_pool", "*", "pool", ";", "rtx_insn", "*", "insn", ";", "int", "hw_before", ",", "hw_after", ";", "if", "(", "s390_tune", "==", "PROCESSOR_2964_Z13", ")", "s390_adjust_loops", "(", ")", ";", "split_all_insns_noflow", "(", ")", ";", "pool", "=", "s390_mainpool_start", "(", ")", ";", "if", "(", "pool", ")", "{", "s390_mainpool_finish", "(", "pool", ")", ";", "}", "else", "{", "pool", "=", "s390_chunkify_start", "(", ")", ";", "s390_chunkify_finish", "(", "pool", ")", ";", "}", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "rtx", "label", ";", "rtx_insn", "*", "target", ";", "label", "=", "s390_execute_label", "(", "insn", ")", ";", "if", "(", "!", "label", ")", "continue", ";", "gcc_assert", "(", "label", "!=", "const0_rtx", ")", ";", "target", "=", "emit_label", "(", "XEXP", "(", "label", ",", "0", ")", ")", ";", "INSN_ADDRESSES_NEW", "(", "target", ",", "-", "1", ")", ";", "if", "(", "JUMP_P", "(", "insn", ")", ")", "{", "target", "=", "emit_jump_insn", "(", "s390_execute_target", "(", "insn", ")", ")", ";", "JUMP_LABEL", "(", "target", ")", "=", "JUMP_LABEL", "(", "insn", ")", ";", "}", "else", "target", "=", "emit_insn", "(", "s390_execute_target", "(", "insn", ")", ")", ";", "INSN_ADDRESSES_NEW", "(", "target", ",", "-", "1", ")", ";", "}", "s390_optimize_prologue", "(", ")", ";", "if", "(", "s390_tune", ">=", "PROCESSOR_2097_Z10", ")", "{", "rtx_insn", "*", "insn", ";", "bool", "insn_added_p", "=", "false", ";", "shorten_branches", "(", "get_insns", "(", ")", ")", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "if", "(", "!", "INSN_P", "(", "insn", ")", "||", "INSN_CODE", "(", "insn", ")", "<=", "0", ")", "continue", ";", "if", "(", "JUMP_P", "(", "insn", ")", ")", "insn_added_p", "|=", "s390_fix_long_loop_prediction", "(", "insn", ")", ";", "if", "(", "(", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "PARALLEL", "||", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "SET", ")", "&&", "s390_tune", "==", "PROCESSOR_2097_Z10", ")", "insn_added_p", "|=", "s390_z10_optimize_cmp", "(", "insn", ")", ";", "}", "if", "(", "insn_added_p", ")", "shorten_branches", "(", "get_insns", "(", ")", ")", ";", "}", "s390_function_num_hotpatch_hw", "(", "current_function_decl", ",", "&", "hw_before", ",", "&", "hw_after", ")", ";", "if", "(", "hw_after", ">", "0", ")", "{", "rtx_insn", "*", "insn", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "if", "(", "active_insn_p", "(", "insn", ")", "||", "BARRIER_P", "(", "insn", ")", "||", "LABEL_P", "(", "insn", ")", ")", "break", ";", "while", "(", "insn", "&&", "hw_after", ">", "0", ")", "{", "if", "(", "hw_after", ">=", "3", ")", "{", "emit_insn_before", "(", "gen_nop_6_byte", "(", ")", ",", "insn", ")", ";", "hw_after", "-=", "3", ";", "}", "else", "if", "(", "hw_after", ">=", "2", ")", "{", "emit_insn_before", "(", "gen_nop_4_byte", "(", ")", ",", "insn", ")", ";", "hw_after", "-=", "2", ";", "}", "else", "{", "emit_insn_before", "(", "gen_nop_2_byte", "(", ")", ",", "insn", ")", ";", "hw_after", "-=", "1", ";", "}", "}", "}", "}", ""], "natrual_language": ["Perform", "machine-dependent", "processing", "."], "TS_V_token": ["s390", "0", "1", "1", "0", "0", "0", "3", "3", "2", "2", "1"], "File": "s390", "Func": "s390_reorg", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2637, "Length": 434, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCVSXSwapRemoval", "::", "lookThruCopyLike", "(", "unsigned", "SrcReg", ",", "unsigned", "VecIdx", ")", "{", "MachineInstr", "*", "MI", "=", "MRI", "->", "getVRegDef", "(", "SrcReg", ")", ";", "if", "(", "!", "MI", "->", "isCopyLike", "(", ")", ")", "return", "SrcReg", ";", "unsigned", "CopySrcReg", ";", "if", "(", "MI", "->", "isCopy", "(", ")", ")", "CopySrcReg", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "else", "{", "assert", "(", "MI", "->", "isSubregToReg", "(", ")", "&&", "\"bad opcode for lookThruCopyLike\"", ")", ";", "CopySrcReg", "=", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ";", "}", "if", "(", "!", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "CopySrcReg", ")", ")", "{", "if", "(", "!", "isScalarVecReg", "(", "CopySrcReg", ")", ")", "SwapVector", "[", "VecIdx", "]", ".", "MentionsPhysVR", "=", "1", ";", "return", "CopySrcReg", ";", "}", "return", "lookThruCopyLike", "(", "CopySrcReg", ",", "VecIdx", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "original", "SrcReg", "unless", "it", "is", "the", "target", "of", "a", "copy-like", "operation", ",", "in", "which", "case", "we", "chain", "backwards", "through", "all", "such", "operations", "to", "the", "ultimate", "source", "register", "."], "TS_V_token": ["PowerPC", "PPC", "1", "\"bad opcode for lookThruCopyLike\"", "2", "1"], "File": "PPCVSXSwapRemoval", "Func": "lookThruCopyLike", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2638, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TLCS900RegisterInfo", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "{", "int", "FrameIdx", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "CreateFixedObject", "(", "2", ",", "-", "4", ",", "true", ")", ";", "(", "void", ")", "FrameIdx", ";", "assert", "(", "FrameIdx", "==", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectIndexBegin", "(", ")", "&&", "\"Slot for FPW register must be last in order to be found!\"", ")", ";", "}", "}", ""], "natrual_language": ["processFunctionBeforeFrameFinalized", "-", "This", "method", "is", "called", "immediately", "before", "the", "specified", "function", "'s", "frame", "layout", "(", "MF.getFrameInfo", "(", ")", ")", "is", "finalized", "."], "TS_V_token": ["TLCS900", "TLCS900", "2", "4", "\"Slot for FPW register must be last in order to be found!\""], "File": "TLCS900RegisterInfo", "Func": "processFunctionBeforeFrameFinalized", "Target": "TLCS900", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2639, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "spe_func_has_64bit_regs_p", "(", "void", ")", "{", "rtx_insn", "*", "insns", ",", "*", "insn", ";", "if", "(", "crtl", "->", "calls_eh_return", "||", "cfun", "->", "calls_setjmp", "||", "crtl", "->", "has_nonlocal_goto", ")", "return", "true", ";", "insns", "=", "get_insns", "(", ")", ";", "for", "(", "insn", "=", "NEXT_INSN", "(", "insns", ")", ";", "insn", "!=", "NULL_RTX", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "if", "(", "INSN_P", "(", "insn", ")", ")", "{", "rtx", "i", ";", "i", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "i", ")", "==", "SET", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "SET_SRC", "(", "i", ")", ")", ";", "if", "(", "SPE_VECTOR_MODE", "(", "mode", ")", ")", "return", "true", ";", "if", "(", "TARGET_E500_DOUBLE", "&&", "(", "mode", "==", "DFmode", "||", "FLOAT128_2REG_P", "(", "mode", ")", ")", ")", "return", "true", ";", "}", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "current", "function", "uses", "any", "GPRs", "in", "64-bit", "SIMD", "mode", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "spe_func_has_64bit_regs_p", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2640, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VEAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "Operands", ".", "push_back", "(", "VEOperand", "::", "CreateToken", "(", "Name", ",", "NameLoc", ")", ")", ";", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "if", "(", "parseOperand", "(", "Operands", ",", "Name", ")", "!=", "MatchOperand_Success", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "return", "Error", "(", "Loc", ",", "\"unexpected token\"", ")", ";", "}", "while", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "parseOperand", "(", "Operands", ",", "Name", ")", "!=", "MatchOperand_Success", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "return", "Error", "(", "Loc", ",", "\"unexpected token\"", ")", ";", "}", "}", "}", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "return", "Error", "(", "Loc", ",", "\"unexpected token\"", ")", ";", "}", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["VE", "VE", "VEOperand::CreateToken", "\"unexpected token\"", "\"unexpected token\"", "\"unexpected token\""], "File": "VEAsmParser3", "Func": "ParseInstruction", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2641, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseInstrInfo", "::", "getPartialRegUpdateClearance", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNum", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "!", "SwiftPartialUpdateClearance", "||", "!", "Subtarget", ".", "isSwift", "(", ")", ")", "return", "0", ";", "assert", "(", "TRI", "&&", "\"Need TRI instance\"", ")", ";", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "if", "(", "MO", ".", "readsReg", "(", ")", ")", "return", "0", ";", "unsigned", "Reg", "=", "MO", ".", "getReg", "(", ")", ";", "int", "UseOp", "=", "-", "1", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "ARM", "::", "VLDRS", ":", "case", "ARM", "::", "FCONSTS", ":", "case", "ARM", "::", "VMOVSR", ":", "case", "ARM", "::", "VMOVv8i8", ":", "case", "ARM", "::", "VMOVv4i16", ":", "case", "ARM", "::", "VMOVv2i32", ":", "case", "ARM", "::", "VMOVv2f32", ":", "case", "ARM", "::", "VMOVv1i64", ":", "UseOp", "=", "MI", "->", "findRegisterUseOperandIdx", "(", "Reg", ",", "false", ",", "TRI", ")", ";", "break", ";", "case", "ARM", "::", "VLD1LNd32", ":", "UseOp", "=", "1", ";", "break", ";", "default", ":", "return", "0", ";", "}", "if", "(", "UseOp", "!=", "-", "1", "&&", "MI", "->", "getOperand", "(", "UseOp", ")", ".", "readsReg", "(", ")", ")", "return", "0", ";", "if", "(", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "Reg", ")", ")", "{", "if", "(", "!", "MO", ".", "getSubReg", "(", ")", "||", "MI", "->", "readsVirtualRegister", "(", "Reg", ")", ")", "return", "0", ";", "}", "else", "if", "(", "ARM", "::", "SPRRegClass", ".", "contains", "(", "Reg", ")", ")", "{", "unsigned", "DReg", "=", "TRI", "->", "getMatchingSuperReg", "(", "Reg", ",", "ARM", "::", "ssub_0", ",", "&", "ARM", "::", "DPRRegClass", ")", ";", "if", "(", "!", "DReg", "||", "!", "MI", "->", "definesRegister", "(", "DReg", ",", "TRI", ")", ")", "return", "0", ";", "}", "return", "SwiftPartialUpdateClearance", ";", "}", ""], "natrual_language": ["Inform", "the", "BreakFalseDeps", "pass", "how", "many", "idle", "instructions", "we", "would", "like", "before", "a", "partial", "register", "update", "."], "TS_V_token": ["ARM", "ARM", "0", "\"Need TRI instance\"", "0", "1", "ARM::VLDRS", "ARM::FCONSTS", "ARM::VMOVSR", "ARM::VMOVv8i8", "ARM::VMOVv4i16", "ARM::VMOVv2i32", "ARM::VMOVv2f32", "ARM::VMOVv1i64", "ARM::VLD1LNd32", "1", "0", "1", "0", "0", "ARM::SPRRegClass", "ARM::ssub_0", "ARM::DPRRegClass", "0"], "File": "ARMBaseInstrInfo101", "Func": "getPartialRegUpdateClearance", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2642, "Length": 267, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "unicosmk_must_pass_in_stack", "(", "enum", "machine_mode", "mode", ",", "tree", "type", ")", "{", "if", "(", "type", "==", "NULL", ")", "return", "false", ";", "if", "(", "TREE_CODE", "(", "TYPE_SIZE", "(", "type", ")", ")", "!=", "INTEGER_CST", ")", "return", "true", ";", "if", "(", "TREE_ADDRESSABLE", "(", "type", ")", ")", "return", "true", ";", "return", "ALPHA_ARG_SIZE", "(", "mode", ",", "type", ",", "0", ")", ">", "2", ";", "}", ""], "natrual_language": ["This", "evaluates", "to", "true", "if", "we", "do", "not", "know", "how", "to", "pass", "TYPE", "solely", "in", "registers", ".", "This", "is", "the", "case", "for", "all", "arguments", "that", "do", "not", "fit", "in", "two", "registers", "."], "TS_V_token": ["alpha", "0", "2"], "File": "alpha3", "Func": "unicosmk_must_pass_in_stack", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2643, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIInstrInfo", "::", "isInlineConstant", "(", "const", "MachineOperand", "&", "MO", ",", "unsigned", "OpSize", ")", "const", "{", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "unsigned", "BitSize", "=", "8", "*", "OpSize", ";", "return", "isInlineConstant", "(", "APInt", "(", "BitSize", ",", "MO", ".", "getImm", "(", ")", ",", "true", ")", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["returns", "true", "if", "the", "operand", "OpIdx", "in", "MI", "is", "a", "valid", "inline", "immediate", "."], "TS_V_token": ["R600", "SI", "8"], "File": "SIInstrInfo101", "Func": "isInlineConstant", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2644, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "loongarch_register_move_cost", "(", "machine_mode", "mode", ",", "reg_class_t", "from", ",", "reg_class_t", "to", ")", "{", "reg_class_t", "dregs", ";", "int", "cost1", ",", "cost2", ";", "from", "=", "loongarch_canonicalize_move_class", "(", "from", ")", ";", "to", "=", "loongarch_canonicalize_move_class", "(", "to", ")", ";", "if", "(", "from", "==", "FP_REGS", ")", "{", "if", "(", "to", "==", "FP_REGS", "&&", "loongarch_mode_ok_for_mov_fmt_p", "(", "mode", ")", ")", "return", "4", ";", "}", "dregs", "=", "GENERAL_REGS", ";", "if", "(", "from", "==", "dregs", ")", "return", "loongarch_move_from_gpr_cost", "(", "to", ")", ";", "if", "(", "to", "==", "dregs", ")", "return", "loongarch_move_to_gpr_cost", "(", "from", ")", ";", "cost1", "=", "loongarch_move_to_gpr_cost", "(", "from", ")", ";", "if", "(", "cost1", "!=", "0", ")", "{", "cost2", "=", "loongarch_move_from_gpr_cost", "(", "to", ")", ";", "if", "(", "cost2", "!=", "0", ")", "return", "cost1", "+", "cost2", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Implement", "TARGET_REGISTER_MOVE_COST", ".", "Return", "0", "for", "classes", "that", "are", "the", "maximum", "of", "the", "move", "costs", "for", "subclasses", ";", "regclass", "will", "work", "out", "the", "maximum", "for", "us", "."], "TS_V_token": ["loongarch", "4", "0", "0", "0"], "File": "loongarch", "Func": "loongarch_register_move_cost", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2645, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "s390_can_use_return_insn", "(", "void", ")", "{", "int", "i", ";", "if", "(", "!", "reload_completed", ")", "return", "false", ";", "if", "(", "crtl", "->", "profile", ")", "return", "false", ";", "if", "(", "TARGET_TPF_PROFILING", ")", "return", "false", ";", "for", "(", "i", "=", "0", ";", "i", "<", "16", ";", "i", "++", ")", "if", "(", "cfun_gpr_save_slot", "(", "i", ")", "!=", "SAVE_SLOT_NONE", ")", "return", "false", ";", "if", "(", "!", "TARGET_64BIT", "&&", "(", "cfun_fpr_save_p", "(", "FPR4_REGNUM", ")", "||", "cfun_fpr_save_p", "(", "FPR6_REGNUM", ")", ")", ")", "return", "false", ";", "if", "(", "cfun", "->", "machine", "->", "base_reg", "&&", "!", "call_really_used_regs", "[", "REGNO", "(", "cfun", "->", "machine", "->", "base_reg", ")", "]", ")", "return", "false", ";", "return", "cfun_frame_layout", ".", "frame_size", "==", "0", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "epilogue", "is", "guaranteed", "to", "contain", "only", "a", "return", "instruction", "and", "if", "a", "direct", "return", "can", "therefore", "be", "used", "instead", ".", "One", "of", "the", "main", "advantages", "of", "using", "direct", "return", "instructions", "is", "that", "we", "can", "then", "use", "conditional", "returns", "."], "TS_V_token": ["s390", "0", "16", "0"], "File": "s3905", "Func": "s390_can_use_return_insn", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2646, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AMDGPUAsmPrinter", "::", "emitGlobalVariable", "(", "const", "GlobalVariable", "*", "GV", ")", "{", "if", "(", "GV", "->", "getAddressSpace", "(", ")", "==", "AMDGPUAS", "::", "LOCAL_ADDRESS", ")", "{", "if", "(", "GV", "->", "hasInitializer", "(", ")", "&&", "!", "isa", "<", "UndefValue", ">", "(", "GV", "->", "getInitializer", "(", ")", ")", ")", "{", "OutContext", ".", "reportError", "(", "{", "}", ",", "Twine", "(", "GV", "->", "getName", "(", ")", ")", "+", "\": unsupported initializer for address space\"", ")", ";", "return", ";", "}", "const", "Triple", "::", "OSType", "OS", "=", "TM", ".", "getTargetTriple", "(", ")", ".", "getOS", "(", ")", ";", "if", "(", "OS", "==", "Triple", "::", "AMDHSA", "||", "OS", "==", "Triple", "::", "AMDPAL", ")", "return", ";", "MCSymbol", "*", "GVSym", "=", "getSymbol", "(", "GV", ")", ";", "GVSym", "->", "redefineIfPossible", "(", ")", ";", "if", "(", "GVSym", "->", "isDefined", "(", ")", "||", "GVSym", "->", "isVariable", "(", ")", ")", "report_fatal_error", "(", "\"symbol '\"", "+", "Twine", "(", "GVSym", "->", "getName", "(", ")", ")", "+", "\"' is already defined\"", ")", ";", "const", "DataLayout", "&", "DL", "=", "GV", "->", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ";", "uint64_t", "Size", "=", "DL", ".", "getTypeAllocSize", "(", "GV", "->", "getValueType", "(", ")", ")", ";", "Align", "Alignment", "=", "GV", "->", "getAlign", "(", ")", ".", "getValueOr", "(", "Align", "(", "4", ")", ")", ";", "emitVisibility", "(", "GVSym", ",", "GV", "->", "getVisibility", "(", ")", ",", "!", "GV", "->", "isDeclaration", "(", ")", ")", ";", "emitLinkage", "(", "GV", ",", "GVSym", ")", ";", "if", "(", "auto", "TS", "=", "getTargetStreamer", "(", ")", ")", "TS", "->", "emitAMDGPULDS", "(", "GVSym", ",", "Size", ",", "Alignment", ")", ";", "return", ";", "}", "AsmPrinter", "::", "emitGlobalVariable", "(", "GV", ")", ";", "}", ""], "natrual_language": ["Emit", "the", "specified", "global", "variable", "to", "the", ".s", "file", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU", "\": unsupported initializer for address space\"", "\"symbol '\"", "\"' is already defined\"", "4", "AMDGPU"], "File": "AMDGPUAsmPrinter", "Func": "emitGlobalVariable", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2647, "Length": 247, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_split_logical", "(", "rtx", "operands", "[", "3", "]", ",", "enum", "rtx_code", "code", ",", "bool", "complement_final_p", ",", "bool", "complement_op1_p", ",", "bool", "complement_op2_p", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "operands", "[", "0", "]", ")", ";", "machine_mode", "sub_mode", ";", "rtx", "op0", ",", "op1", ",", "op2", ";", "int", "sub_size", ",", "regno0", ",", "regno1", ",", "nregs", ",", "i", ";", "if", "(", "mode", "==", "DImode", "&&", "!", "TARGET_POWERPC64", ")", "{", "rs6000_split_logical_di", "(", "operands", ",", "code", ",", "complement_final_p", ",", "complement_op1_p", ",", "complement_op2_p", ")", ";", "return", ";", "}", "op0", "=", "operands", "[", "0", "]", ";", "op1", "=", "operands", "[", "1", "]", ";", "op2", "=", "(", "code", "==", "NOT", ")", "?", "NULL_RTX", ":", "operands", "[", "2", "]", ";", "sub_mode", "=", "(", "TARGET_POWERPC64", ")", "?", "DImode", ":", "SImode", ";", "sub_size", "=", "GET_MODE_SIZE", "(", "sub_mode", ")", ";", "regno0", "=", "REGNO", "(", "op0", ")", ";", "regno1", "=", "REGNO", "(", "op1", ")", ";", "gcc_assert", "(", "reload_completed", ")", ";", "gcc_assert", "(", "IN_RANGE", "(", "regno0", ",", "FIRST_GPR_REGNO", ",", "LAST_GPR_REGNO", ")", ")", ";", "gcc_assert", "(", "IN_RANGE", "(", "regno1", ",", "FIRST_GPR_REGNO", ",", "LAST_GPR_REGNO", ")", ")", ";", "nregs", "=", "rs6000_hard_regno_nregs", "[", "(", "int", ")", "mode", "]", "[", "regno0", "]", ";", "gcc_assert", "(", "nregs", ">", "1", ")", ";", "if", "(", "op2", "&&", "REG_P", "(", "op2", ")", ")", "gcc_assert", "(", "IN_RANGE", "(", "REGNO", "(", "op2", ")", ",", "FIRST_GPR_REGNO", ",", "LAST_GPR_REGNO", ")", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nregs", ";", "i", "++", ")", "{", "int", "offset", "=", "i", "*", "sub_size", ";", "rtx", "sub_op0", "=", "simplify_subreg", "(", "sub_mode", ",", "op0", ",", "mode", ",", "offset", ")", ";", "rtx", "sub_op1", "=", "simplify_subreg", "(", "sub_mode", ",", "op1", ",", "mode", ",", "offset", ")", ";", "rtx", "sub_op2", "=", "(", "(", "code", "==", "NOT", ")", "?", "NULL_RTX", ":", "simplify_subreg", "(", "sub_mode", ",", "op2", ",", "mode", ",", "offset", ")", ")", ";", "rs6000_split_logical_inner", "(", "sub_op0", ",", "sub_op1", ",", "sub_op2", ",", "code", ",", "sub_mode", ",", "complement_final_p", ",", "complement_op1_p", ",", "complement_op2_p", ")", ";", "}", "return", ";", "}", ""], "natrual_language": ["Split", "the", "insns", "that", "make", "up", "boolean", "operations", "operating", "on", "multiple", "GPR", "registers", ".", "The", "boolean", "MD", "patterns", "ensure", "that", "the", "inputs", "either", "are", "exactly", "the", "same", "as", "the", "output", "registers", ",", "or", "there", "is", "no", "overlap", ".", "OPERANDS", "is", "an", "array", "containing", "the", "destination", "and", "two", "input", "operands", ".", "CODE", "is", "the", "base", "operation", "(", "AND", ",", "IOR", ",", "XOR", ",", "NOT", ")", ".", "If", "COMPLEMENT_FINAL_P", "is", "true", ",", "wrap", "the", "whole", "operation", "with", "NOT", ".", "If", "COMPLEMENT_OP1_P", "is", "true", ",", "wrap", "operand1", "with", "NOT", ".", "If", "COMPLEMENT_OP2_P", "is", "true", ",", "wrap", "operand2", "with", "NOT", "."], "TS_V_token": ["rs6000", "3", "0", "0", "1", "2", "1", "0"], "File": "rs6000", "Func": "rs6000_split_logical", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2648, "Length": 310, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCHazardRecognizer970", "::", "EmitInstruction", "(", "SUnit", "*", "SU", ")", "{", "MachineInstr", "*", "MI", "=", "SU", "->", "getInstr", "(", ")", ";", "if", "(", "MI", "->", "isDebugValue", "(", ")", ")", "return", ";", "unsigned", "Opcode", "=", "MI", "->", "getOpcode", "(", ")", ";", "LastWasBL8_ELF", "=", "(", "Opcode", "==", "PPC", "::", "BL8_ELF", ")", ";", "bool", "isFirst", ",", "isSingle", ",", "isCracked", ",", "isLoad", ",", "isStore", ";", "PPCII", "::", "PPC970_Unit", "InstrType", "=", "GetInstrType", "(", "Opcode", ",", "isFirst", ",", "isSingle", ",", "isCracked", ",", "isLoad", ",", "isStore", ")", ";", "if", "(", "InstrType", "==", "PPCII", "::", "PPC970_Pseudo", ")", "return", ";", "if", "(", "Opcode", "==", "PPC", "::", "MTCTR", "||", "Opcode", "==", "PPC", "::", "MTCTR8", ")", "HasCTRSet", "=", "true", ";", "if", "(", "isStore", "&&", "NumStores", "<", "4", "&&", "!", "MI", "->", "memoperands_empty", "(", ")", ")", "{", "MachineMemOperand", "*", "MO", "=", "*", "MI", "->", "memoperands_begin", "(", ")", ";", "StoreSize", "[", "NumStores", "]", "=", "MO", "->", "getSize", "(", ")", ";", "StoreOffset", "[", "NumStores", "]", "=", "MO", "->", "getOffset", "(", ")", ";", "StoreValue", "[", "NumStores", "]", "=", "MO", "->", "getValue", "(", ")", ";", "++", "NumStores", ";", "}", "if", "(", "InstrType", "==", "PPCII", "::", "PPC970_BRU", "||", "isSingle", ")", "NumIssued", "=", "4", ";", "++", "NumIssued", ";", "if", "(", "isCracked", ")", "++", "NumIssued", ";", "if", "(", "NumIssued", "==", "5", ")", "EndDispatchGroup", "(", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::BL8_ELF", "PPCII::PPC970_Unit", "PPCII::PPC970_Pseudo", "PPC::MTCTR", "PPC::MTCTR8", "4", "PPCII::PPC970_BRU", "4", "5"], "File": "PPCHazardRecognizers34", "Func": "EmitInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2649, "Length": 207, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMFrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "unsigned", "PushOpc", "=", "AFI", "->", "isThumbFunction", "(", ")", "?", "ARM", "::", "t2STMDB_UPD", ":", "ARM", "::", "STMDB_UPD", ";", "unsigned", "PushOneOpc", "=", "AFI", "->", "isThumbFunction", "(", ")", "?", "ARM", "::", "t2STR_PRE", ":", "ARM", "::", "STR_PRE_IMM", ";", "unsigned", "FltOpc", "=", "ARM", "::", "VSTMDDB_UPD", ";", "unsigned", "NumAlignedDPRCS2Regs", "=", "AFI", "->", "getNumAlignedDPRCS2Regs", "(", ")", ";", "emitPushInst", "(", "MBB", ",", "MI", ",", "CSI", ",", "PushOpc", ",", "PushOneOpc", ",", "false", ",", "&", "isARMArea1Register", ",", "0", ",", "MachineInstr", "::", "FrameSetup", ")", ";", "emitPushInst", "(", "MBB", ",", "MI", ",", "CSI", ",", "PushOpc", ",", "PushOneOpc", ",", "false", ",", "&", "isARMArea2Register", ",", "0", ",", "MachineInstr", "::", "FrameSetup", ")", ";", "emitPushInst", "(", "MBB", ",", "MI", ",", "CSI", ",", "FltOpc", ",", "0", ",", "true", ",", "&", "isARMArea3Register", ",", "NumAlignedDPRCS2Regs", ",", "MachineInstr", "::", "FrameSetup", ")", ";", "if", "(", "NumAlignedDPRCS2Regs", ")", "emitAlignedDPRCS2Spills", "(", "MBB", ",", "MI", ",", "NumAlignedDPRCS2Regs", ",", "CSI", ",", "TRI", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["spillCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "spill", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "store", "instructions", "via", "storeRegToStackSlot", "(", ")", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM::t2STMDB_UPD", "ARM::STMDB_UPD", "ARM::t2STR_PRE", "ARM::STR_PRE_IMM", "ARM::VSTMDDB_UPD", "ARM", "0", "ARM", "0", "0", "ARM"], "File": "ARMFrameLowering (2)", "Func": "spillCalleeSavedRegisters", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2650, "Length": 209, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "arc_address_cost", "(", "rtx", "addr", ",", "machine_mode", ",", "addr_space_t", ",", "bool", "speed", ")", "{", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "case", "REG", ":", "return", "speed", "||", "satisfies_constraint_Rcq", "(", "addr", ")", "?", "0", ":", "1", ";", "case", "PRE_INC", ":", "case", "PRE_DEC", ":", "case", "POST_INC", ":", "case", "POST_DEC", ":", "case", "PRE_MODIFY", ":", "case", "POST_MODIFY", ":", "return", "!", "speed", ";", "case", "LABEL_REF", ":", "case", "SYMBOL_REF", ":", "case", "CONST", ":", "if", "(", "TARGET_NPS_CMEM", "&&", "cmem_address", "(", "addr", ",", "SImode", ")", ")", "return", "0", ";", "return", "COSTS_N_INSNS", "(", "1", ")", ";", "case", "PLUS", ":", "{", "rtx", "plus0", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "rtx", "plus1", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "plus0", ")", "!=", "REG", "&&", "(", "GET_CODE", "(", "plus0", ")", "!=", "MULT", "||", "!", "CONST_INT_P", "(", "XEXP", "(", "plus0", ",", "1", ")", ")", "||", "(", "INTVAL", "(", "XEXP", "(", "plus0", ",", "1", ")", ")", "!=", "2", "&&", "INTVAL", "(", "XEXP", "(", "plus0", ",", "1", ")", ")", "!=", "4", ")", ")", ")", "break", ";", "switch", "(", "GET_CODE", "(", "plus1", ")", ")", "{", "case", "CONST_INT", ":", "return", "(", "!", "RTX_OK_FOR_OFFSET_P", "(", "SImode", ",", "plus1", ")", "?", "COSTS_N_INSNS", "(", "1", ")", ":", "speed", "?", "0", ":", "(", "satisfies_constraint_Rcq", "(", "plus0", ")", "&&", "satisfies_constraint_O", "(", "plus1", ")", ")", "?", "0", ":", "1", ")", ";", "case", "REG", ":", "return", "(", "speed", "<", "1", "?", "0", ":", "(", "satisfies_constraint_Rcq", "(", "plus0", ")", "&&", "satisfies_constraint_Rcq", "(", "plus1", ")", ")", "?", "0", ":", "1", ")", ";", "case", "CONST", ":", "case", "SYMBOL_REF", ":", "case", "LABEL_REF", ":", "return", "COSTS_N_INSNS", "(", "1", ")", ";", "default", ":", "break", ";", "}", "break", ";", "}", "default", ":", "break", ";", "}", "return", "4", ";", "}", ""], "natrual_language": ["Provide", "the", "costs", "of", "an", "addressing", "mode", "that", "contains", "ADDR", ".", "If", "ADDR", "is", "not", "a", "valid", "address", ",", "its", "cost", "is", "irrelevant", "."], "TS_V_token": ["arc", "0", "1", "0", "1", "0", "1", "1", "1", "2", "1", "4", "1", "0", "0", "1", "1", "0", "0", "1", "1", "4"], "File": "arc", "Func": "arc_address_cost", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2651, "Length": 277, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "riscv_unspec_offset_high", "(", "rtx", "temp", ",", "rtx", "addr", ",", "enum", "riscv_symbol_type", "symbol_type", ")", "{", "addr", "=", "gen_rtx_HIGH", "(", "Pmode", ",", "riscv_unspec_address", "(", "addr", ",", "symbol_type", ")", ")", ";", "return", "riscv_force_temporary", "(", "temp", ",", "addr", ",", "FALSE", ")", ";", "}", ""], "natrual_language": ["If", "riscv_unspec_address", "(", "ADDR", ",", "SYMBOL_TYPE", ")", "is", "a", "32-bit", "value", ",", "add", "the", "high", "part", "to", "BASE", "and", "return", "the", "result", ".", "Just", "return", "BASE", "otherwise", ".", "TEMP", "is", "as", "for", "riscv_force_temporary", ".", "The", "returned", "expression", "can", "be", "used", "as", "the", "first", "operand", "to", "a", "LO_SUM", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_unspec_offset_high", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2652, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCDAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "SelectionDAG", "::", "allnodes_iterator", "Position", "(", "CurDAG", "->", "getRoot", "(", ")", ".", "getNode", "(", ")", ")", ";", "++", "Position", ";", "bool", "MadeChange", "=", "false", ";", "while", "(", "Position", "!=", "CurDAG", "->", "allnodes_begin", "(", ")", ")", "{", "SDNode", "*", "N", "=", "&", "*", "--", "Position", ";", "if", "(", "N", "->", "use_empty", "(", ")", ")", "continue", ";", "SDValue", "Res", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "OR", ":", "Res", "=", "combineToCMPB", "(", "N", ")", ";", "break", ";", "}", "if", "(", "!", "Res", ")", "foldBoolExts", "(", "Res", ",", "N", ")", ";", "if", "(", "Res", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"PPC DAG preprocessing replacing:\\nOld: \"", ")", ";", "DEBUG", "(", "N", "->", "dump", "(", "CurDAG", ")", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"\\nNew: \"", ")", ";", "DEBUG", "(", "Res", ".", "getNode", "(", ")", "->", "dump", "(", "CurDAG", ")", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"\\n\"", ")", ";", "CurDAG", "->", "ReplaceAllUsesOfValueWith", "(", "SDValue", "(", "N", ",", "0", ")", ",", "Res", ")", ";", "MadeChange", "=", "true", ";", "}", "}", "if", "(", "MadeChange", ")", "CurDAG", "->", "RemoveDeadNodes", "(", ")", ";", "}", ""], "natrual_language": ["PreprocessISelDAG", "-", "This", "hook", "allows", "targets", "to", "hack", "on", "the", "graph", "before", "instruction", "selection", "starts", "."], "TS_V_token": ["PowerPC", "PPC", "ISD::OR", "\"PPC DAG preprocessing replacing:\\nOld: \"", "\"\\nNew: \"", "\"\\n\"", "0"], "File": "PPCISelDAGToDAG (2)1", "Func": "PreprocessISelDAG", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2653, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "HOST_WIDE_INT", "sh_disp_addr_displacement", "(", "rtx", "x", ")", "{", "gcc_assert", "(", "satisfies_constraint_Sdd", "(", "x", ")", ")", ";", "return", "INTVAL", "(", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "1", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "displacement", "value", "of", "a", "displacement", "address", "."], "TS_V_token": ["sh", "0", "1"], "File": "sh", "Func": "sh_disp_addr_displacement", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2654, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "NVPTXSubtarget", "::", "NVPTXSubtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "bool", "is64Bit", ")", ":", "NVPTXGenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "Is64Bit", "(", "is64Bit", ")", ",", "PTXVersion", "(", "0", ")", ",", "SmVersion", "(", "20", ")", "{", "Triple", "T", "(", "TT", ")", ";", "if", "(", "T", ".", "getOS", "(", ")", "==", "Triple", "::", "NVCL", ")", "drvInterface", "=", "NVPTX", "::", "NVCL", ";", "else", "drvInterface", "=", "NVPTX", "::", "CUDA", ";", "std", "::", "string", "defCPU", "=", "\"sm_20\"", ";", "ParseSubtargetFeatures", "(", "(", "CPU", ".", "empty", "(", ")", "?", "defCPU", ":", "CPU", ")", ",", "FS", ")", ";", "if", "(", "FS", ".", "empty", "(", ")", "&&", "CPU", ".", "empty", "(", ")", ")", "TargetName", "=", "defCPU", ";", "else", "if", "(", "!", "CPU", ".", "empty", "(", ")", ")", "TargetName", "=", "CPU", ";", "else", "llvm_unreachable", "(", "\"we are not using FeatureStr\"", ")", ";", "if", "(", "PTXVersion", "==", "0", ")", "{", "PTXVersion", "=", "31", ";", "}", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "module", "."], "TS_V_token": ["NVPTX", "NVPTX", "NVPTX", "NVPTX", "0", "20", "NVPTX::NVCL", "NVPTX::CUDA", "\"sm_20\"", "\"we are not using FeatureStr\"", "0", "31"], "File": "NVPTXSubtarget16", "Func": "NVPTXSubtarget", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2655, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TeakRegisterInfo", "::", "materializeFrameBaseRegister", "(", "MachineBasicBlock", "*", "MBB", ",", "unsigned", "BaseReg", ",", "int", "FrameIdx", ",", "int64_t", "Offset", ")", "const", "{", "}", ""], "natrual_language": ["Insert", "defining", "instruction", "(", "s", ")", "for", "a", "pointer", "to", "FrameIdx", "before", "insertion", "point", "I", "."], "TS_V_token": ["Teak", "Teak"], "File": "TeakRegisterInfo", "Func": "materializeFrameBaseRegister", "Target": "Teak", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2656, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "safe_group_barrier_needed", "(", "rtx_insn", "*", "insn", ")", "{", "int", "saved_first_instruction", ";", "int", "t", ";", "saved_first_instruction", "=", "first_instruction", ";", "in_safe_group_barrier", "=", "1", ";", "t", "=", "group_barrier_needed", "(", "insn", ")", ";", "first_instruction", "=", "saved_first_instruction", ";", "in_safe_group_barrier", "=", "0", ";", "return", "t", ";", "}", ""], "natrual_language": ["Like", "group_barrier_needed", ",", "but", "do", "not", "clobber", "the", "current", "state", "."], "TS_V_token": ["ia64", "1", "0"], "File": "ia64", "Func": "safe_group_barrier_needed", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2657, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "MipsSETargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "MipsTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MI", ",", "BB", ")", ";", "case", "Mips", "::", "BPOSGE32_PSEUDO", ":", "return", "emitBPOSGE32", "(", "MI", ",", "BB", ")", ";", "case", "Mips", "::", "SNZ_B_PSEUDO", ":", "return", "emitMSACBranchPseudo", "(", "MI", ",", "BB", ",", "Mips", "::", "BNZ_B", ")", ";", "case", "Mips", "::", "SNZ_H_PSEUDO", ":", "return", "emitMSACBranchPseudo", "(", "MI", ",", "BB", ",", "Mips", "::", "BNZ_H", ")", ";", "case", "Mips", "::", "SNZ_W_PSEUDO", ":", "return", "emitMSACBranchPseudo", "(", "MI", ",", "BB", ",", "Mips", "::", "BNZ_W", ")", ";", "case", "Mips", "::", "SNZ_D_PSEUDO", ":", "return", "emitMSACBranchPseudo", "(", "MI", ",", "BB", ",", "Mips", "::", "BNZ_D", ")", ";", "case", "Mips", "::", "SNZ_V_PSEUDO", ":", "return", "emitMSACBranchPseudo", "(", "MI", ",", "BB", ",", "Mips", "::", "BNZ_V", ")", ";", "case", "Mips", "::", "SZ_B_PSEUDO", ":", "return", "emitMSACBranchPseudo", "(", "MI", ",", "BB", ",", "Mips", "::", "BZ_B", ")", ";", "case", "Mips", "::", "SZ_H_PSEUDO", ":", "return", "emitMSACBranchPseudo", "(", "MI", ",", "BB", ",", "Mips", "::", "BZ_H", ")", ";", "case", "Mips", "::", "SZ_W_PSEUDO", ":", "return", "emitMSACBranchPseudo", "(", "MI", ",", "BB", ",", "Mips", "::", "BZ_W", ")", ";", "case", "Mips", "::", "SZ_D_PSEUDO", ":", "return", "emitMSACBranchPseudo", "(", "MI", ",", "BB", ",", "Mips", "::", "BZ_D", ")", ";", "case", "Mips", "::", "SZ_V_PSEUDO", ":", "return", "emitMSACBranchPseudo", "(", "MI", ",", "BB", ",", "Mips", "::", "BZ_V", ")", ";", "case", "Mips", "::", "COPY_FW_PSEUDO", ":", "return", "emitCOPY_FW", "(", "MI", ",", "BB", ")", ";", "case", "Mips", "::", "COPY_FD_PSEUDO", ":", "return", "emitCOPY_FD", "(", "MI", ",", "BB", ")", ";", "case", "Mips", "::", "INSERT_FW_PSEUDO", ":", "return", "emitINSERT_FW", "(", "MI", ",", "BB", ")", ";", "case", "Mips", "::", "INSERT_FD_PSEUDO", ":", "return", "emitINSERT_FD", "(", "MI", ",", "BB", ")", ";", "case", "Mips", "::", "INSERT_B_VIDX_PSEUDO", ":", "return", "emitINSERT_DF_VIDX", "(", "MI", ",", "BB", ",", "1", ",", "false", ")", ";", "case", "Mips", "::", "INSERT_H_VIDX_PSEUDO", ":", "return", "emitINSERT_DF_VIDX", "(", "MI", ",", "BB", ",", "2", ",", "false", ")", ";", "case", "Mips", "::", "INSERT_W_VIDX_PSEUDO", ":", "return", "emitINSERT_DF_VIDX", "(", "MI", ",", "BB", ",", "4", ",", "false", ")", ";", "case", "Mips", "::", "INSERT_D_VIDX_PSEUDO", ":", "return", "emitINSERT_DF_VIDX", "(", "MI", ",", "BB", ",", "8", ",", "false", ")", ";", "case", "Mips", "::", "INSERT_FW_VIDX_PSEUDO", ":", "return", "emitINSERT_DF_VIDX", "(", "MI", ",", "BB", ",", "4", ",", "true", ")", ";", "case", "Mips", "::", "INSERT_FD_VIDX_PSEUDO", ":", "return", "emitINSERT_DF_VIDX", "(", "MI", ",", "BB", ",", "8", ",", "true", ")", ";", "case", "Mips", "::", "FILL_FW_PSEUDO", ":", "return", "emitFILL_FW", "(", "MI", ",", "BB", ")", ";", "case", "Mips", "::", "FILL_FD_PSEUDO", ":", "return", "emitFILL_FD", "(", "MI", ",", "BB", ")", ";", "case", "Mips", "::", "FEXP2_W_1_PSEUDO", ":", "return", "emitFEXP2_W_1", "(", "MI", ",", "BB", ")", ";", "case", "Mips", "::", "FEXP2_D_1_PSEUDO", ":", "return", "emitFEXP2_D_1", "(", "MI", ",", "BB", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips::BPOSGE32_PSEUDO", "Mips::SNZ_B_PSEUDO", "Mips::BNZ_B", "Mips::SNZ_H_PSEUDO", "Mips::BNZ_H", "Mips::SNZ_W_PSEUDO", "Mips::BNZ_W", "Mips::SNZ_D_PSEUDO", "Mips::BNZ_D", "Mips::SNZ_V_PSEUDO", "Mips::BNZ_V", "Mips::SZ_B_PSEUDO", "Mips::BZ_B", "Mips::SZ_H_PSEUDO", "Mips::BZ_H", "Mips::SZ_W_PSEUDO", "Mips::BZ_W", "Mips::SZ_D_PSEUDO", "Mips::BZ_D", "Mips::SZ_V_PSEUDO", "Mips::BZ_V", "Mips::COPY_FW_PSEUDO", "Mips::COPY_FD_PSEUDO", "Mips::INSERT_FW_PSEUDO", "Mips::INSERT_FD_PSEUDO", "Mips::INSERT_B_VIDX_PSEUDO", "1", "Mips::INSERT_H_VIDX_PSEUDO", "2", "Mips::INSERT_W_VIDX_PSEUDO", "4", "Mips::INSERT_D_VIDX_PSEUDO", "8", "Mips::INSERT_FW_VIDX_PSEUDO", "4", "Mips::INSERT_FD_VIDX_PSEUDO", "8", "Mips::FILL_FW_PSEUDO", "Mips::FILL_FD_PSEUDO", "Mips::FEXP2_W_1_PSEUDO", "Mips::FEXP2_D_1_PSEUDO"], "File": "MipsSEISelLowering10", "Func": "EmitInstrWithCustomInserter", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2658, "Length": 428, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SICTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "BRCOND", ":", "return", "lowerBRCOND", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "lowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "lowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "JumpTable", ":", "return", "lowerJumpTable", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "lowerSELECT", "(", "Op", ",", "DAG", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["SIC", "SIC", "ISD::BRCOND", "ISD::GlobalAddress", "ISD::BlockAddress", "ISD::JumpTable", "ISD::SELECT"], "File": "SICISelLowering", "Func": "LowerOperation", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2659, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "m32r_starting_frame_offset", "(", "void", ")", "{", "return", "M32R_STACK_ALIGN", "(", "crtl", "->", "outgoing_args_size", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_STARTING_FRAME_OFFSET", ".", "The", "frame", "pointer", "points", "at", "the", "same", "place", "as", "the", "stack", "pointer", ",", "except", "if", "alloca", "has", "been", "called", "."], "TS_V_token": ["m32r"], "File": "m32r", "Func": "m32r_starting_frame_offset", "Target": "m32r", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2660, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "TMS320C64XSubtarget", "*", "getSubtargetImpl", "(", ")", "const", "{", "return", "&", "Subtarget", ";", "}", ""], "natrual_language": ["Virtual", "method", "implemented", "by", "subclasses", "that", "returns", "a", "reference", "to", "that", "target", "'s", "TargetSubtargetInfo-derived", "member", "variable", "."], "TS_V_token": ["TMS320C64X", "TMS320C64X"], "File": "TMS320C64XTargetMachine", "Func": "getSubtargetImpl", "Target": "TMS320C64X", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 2661, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonPassConfig", "::", "addIRPasses", "(", ")", "{", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "bool", "NoOpt", "=", "(", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "None", ")", ";", "if", "(", "!", "NoOpt", ")", "{", "if", "(", "EnableInstSimplify", ")", "addPass", "(", "createInstSimplifyLegacyPass", "(", ")", ")", ";", "addPass", "(", "createDeadCodeEliminationPass", "(", ")", ")", ";", "}", "addPass", "(", "createAtomicExpandPass", "(", ")", ")", ";", "if", "(", "!", "NoOpt", ")", "{", "if", "(", "EnableInitialCFGCleanup", ")", "addPass", "(", "createCFGSimplificationPass", "(", "SimplifyCFGOptions", "(", ")", ".", "forwardSwitchCondToPhi", "(", "true", ")", ".", "convertSwitchRangeToICmp", "(", "true", ")", ".", "convertSwitchToLookupTable", "(", "true", ")", ".", "needCanonicalLoops", "(", "false", ")", ".", "hoistCommonInsts", "(", "true", ")", ".", "sinkCommonInsts", "(", "true", ")", ")", ")", ";", "if", "(", "EnableLoopPrefetch", ")", "addPass", "(", "createLoopDataPrefetchPass", "(", ")", ")", ";", "if", "(", "EnableVectorCombine", ")", "addPass", "(", "createHexagonVectorCombineLegacyPass", "(", ")", ")", ";", "if", "(", "EnableCommGEP", ")", "addPass", "(", "createHexagonCommonGEP", "(", ")", ")", ";", "if", "(", "EnableGenExtract", ")", "addPass", "(", "createHexagonGenExtract", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon"], "File": "HexagonTargetMachine26", "Func": "addIRPasses", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2662, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "loongarch_symbol_binds_local_p", "(", "const_rtx", "x", ")", "{", "if", "(", "LABEL_REF_P", "(", "x", ")", ")", "return", "false", ";", "return", "(", "SYMBOL_REF_DECL", "(", "x", ")", "?", "targetm", ".", "binds_local_p", "(", "SYMBOL_REF_DECL", "(", "x", ")", ")", ":", "SYMBOL_REF_LOCAL_P", "(", "x", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "SYMBOL_REF", "X", "binds", "locally", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_symbol_binds_local_p", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2663, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetStreamer", "::", "emitInst", "(", "uint32_t", "Inst", ",", "char", "Suffix", ")", "{", "llvm_unreachable", "(", "\"unimplemented\"", ")", ";", "}", ""], "natrual_language": ["Callback", "used", "to", "implement", "the", ".inst", "directive", "."], "TS_V_token": ["ARM", "ARM", "\"unimplemented\""], "File": "ARMTargetStreamer10", "Func": "emitInst", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2664, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "LC2200InstrInfo", "::", "removeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "int", "*", "BytesRemoved", ")", "const", "{", "assert", "(", "!", "BytesRemoved", "&&", "\"code size not handled\"", ")", ";", "MachineBasicBlock", "::", "reverse_iterator", "I", "=", "MBB", ".", "rbegin", "(", ")", ",", "REnd", "=", "MBB", ".", "rend", "(", ")", ";", "unsigned", "removed", "=", "0", ";", "while", "(", "I", "!=", "REnd", "&&", "removed", "<", "2", ")", "{", "if", "(", "I", "->", "isDebugInstr", "(", ")", ")", "{", "++", "I", ";", "continue", ";", "}", "if", "(", "!", "getAnalyzableBrOpc", "(", "I", "->", "getOpcode", "(", ")", ")", ")", "break", ";", "I", "->", "eraseFromParent", "(", ")", ";", "I", "=", "MBB", ".", "rbegin", "(", ")", ";", "++", "removed", ";", "}", "return", "removed", ";", "}", ""], "natrual_language": ["Remove", "the", "branching", "code", "at", "the", "end", "of", "the", "specific", "MBB", "."], "TS_V_token": ["LC2200", "LC2200", "\"code size not handled\"", "0", "2"], "File": "LC2200InstrInfo", "Func": "removeBranch", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2665, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsCodeEmitter", "::", "getBranchTarget21OpValue", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "OpNo", ")", "const", "{", "llvm_unreachable", "(", "\"Unimplemented function.\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getBranchTarget21OpValue", "-", "Return", "binary", "encoding", "of", "the", "branch", "target", "operand", "."], "TS_V_token": ["Mips", "Mips", "\"Unimplemented function.\"", "0"], "File": "MipsCodeEmitter11", "Func": "getBranchTarget21OpValue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2666, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "GCNPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "const", "AMDGPUSubtarget", "&", "ST", "=", "*", "getAMDGPUTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", ";", "if", "(", "getOptLevel", "(", ")", ">", "CodeGenOpt", "::", "None", ")", "{", "initializeSIFixControlFlowLiveIntervalsPass", "(", "*", "PassRegistry", "::", "getPassRegistry", "(", ")", ")", ";", "insertPass", "(", "&", "MachineSchedulerID", ",", "&", "SIFixControlFlowLiveIntervalsID", ")", ";", "}", "if", "(", "getOptLevel", "(", ")", ">", "CodeGenOpt", "::", "None", "&&", "ST", ".", "loadStoreOptEnabled", "(", ")", ")", "{", "initializeSILoadStoreOptimizerPass", "(", "*", "PassRegistry", "::", "getPassRegistry", "(", ")", ")", ";", "insertPass", "(", "&", "MachineSchedulerID", ",", "&", "SILoadStoreOptimizerID", ")", ";", "insertPass", "(", "&", "MachineSchedulerID", ",", "&", "RegisterCoalescerID", ")", ";", "}", "addPass", "(", "createSIShrinkInstructionsPass", "(", ")", ",", "false", ")", ";", "addPass", "(", "createSIFixSGPRLiveRangesPass", "(", ")", ",", "false", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU", "SI", "SI", "SI", "SI", "SI", "SI"], "File": "AMDGPUTargetMachine72", "Func": "addPreRegAlloc", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2667, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "SIMachineFunctionInfo", "*", "MFI", "=", "MF", "->", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "MachineFrameInfo", "&", "FrameInfo", "=", "MF", "->", "getFrameInfo", "(", ")", ";", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "assert", "(", "SrcReg", "!=", "MFI", "->", "getStackPtrOffsetReg", "(", ")", "&&", "SrcReg", "!=", "MFI", "->", "getFrameOffsetReg", "(", ")", "&&", "SrcReg", "!=", "MFI", "->", "getScratchWaveOffsetReg", "(", ")", ")", ";", "unsigned", "Size", "=", "FrameInfo", ".", "getObjectSize", "(", "FrameIndex", ")", ";", "unsigned", "Align", "=", "FrameInfo", ".", "getObjectAlignment", "(", "FrameIndex", ")", ";", "MachinePointerInfo", "PtrInfo", "=", "MachinePointerInfo", "::", "getFixedStack", "(", "*", "MF", ",", "FrameIndex", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", "->", "getMachineMemOperand", "(", "PtrInfo", ",", "MachineMemOperand", "::", "MOStore", ",", "Size", ",", "Align", ")", ";", "unsigned", "SpillSize", "=", "TRI", "->", "getSpillSize", "(", "*", "RC", ")", ";", "if", "(", "RI", ".", "isSGPRClass", "(", "RC", ")", ")", "{", "MFI", "->", "setHasSpilledSGPRs", "(", ")", ";", "const", "MCInstrDesc", "&", "OpDesc", "=", "get", "(", "getSGPRSpillSaveOpcode", "(", "SpillSize", ")", ")", ";", "if", "(", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "SrcReg", ")", "&&", "SpillSize", "==", "4", ")", "{", "MachineRegisterInfo", "&", "MRI", "=", "MF", "->", "getRegInfo", "(", ")", ";", "MRI", ".", "constrainRegClass", "(", "SrcReg", ",", "&", "AMDGPU", "::", "SReg_32_XM0RegClass", ")", ";", "}", "MachineInstrBuilder", "Spill", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "OpDesc", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addMemOperand", "(", "MMO", ")", ".", "addReg", "(", "MFI", "->", "getScratchRSrcReg", "(", ")", ",", "RegState", "::", "Implicit", ")", ".", "addReg", "(", "MFI", "->", "getFrameOffsetReg", "(", ")", ",", "RegState", "::", "Implicit", ")", ";", "FrameInfo", ".", "setStackID", "(", "FrameIndex", ",", "1", ")", ";", "if", "(", "ST", ".", "hasScalarStores", "(", ")", ")", "{", "Spill", ".", "addReg", "(", "AMDGPU", "::", "M0", ",", "RegState", "::", "ImplicitDefine", "|", "RegState", "::", "Dead", ")", ";", "}", "return", ";", "}", "if", "(", "!", "ST", ".", "isVGPRSpillingEnabled", "(", "MF", "->", "getFunction", "(", ")", ")", ")", "{", "LLVMContext", "&", "Ctx", "=", "MF", "->", "getFunction", "(", ")", ".", "getContext", "(", ")", ";", "Ctx", ".", "emitError", "(", "\"SIInstrInfo::storeRegToStackSlot - Do not know how to\"", "\" spill register\"", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "AMDGPU", "::", "KILL", ")", ")", ".", "addReg", "(", "SrcReg", ")", ";", "return", ";", "}", "assert", "(", "RI", ".", "hasVGPRs", "(", "RC", ")", "&&", "\"Only VGPR spilling expected\"", ")", ";", "unsigned", "Opcode", "=", "getVGPRSpillSaveOpcode", "(", "SpillSize", ")", ";", "MFI", "->", "setHasSpilledVGPRs", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opcode", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addReg", "(", "MFI", "->", "getScratchRSrcReg", "(", ")", ")", ".", "addReg", "(", "MFI", "->", "getFrameOffsetReg", "(", ")", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "4", "AMDGPU::SReg_32_XM0RegClass", "1", "AMDGPU::M0", "\"SIInstrInfo::storeRegToStackSlot - Do not know how to\"", "\" spill register\"", "AMDGPU::KILL", "\"Only VGPR spilling expected\"", "0"], "File": "SIInstrInfo (2)", "Func": "storeRegToStackSlot", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2668, "Length": 478, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "R600RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "R600InstrInfo", "*", "TII", "=", "static_cast", "<", "const", "R600InstrInfo", "*", ">", "(", "ST", ".", "getInstrInfo", "(", ")", ")", ";", "Reserved", ".", "set", "(", "AMDGPU", "::", "ZERO", ")", ";", "Reserved", ".", "set", "(", "AMDGPU", "::", "HALF", ")", ";", "Reserved", ".", "set", "(", "AMDGPU", "::", "ONE", ")", ";", "Reserved", ".", "set", "(", "AMDGPU", "::", "ONE_INT", ")", ";", "Reserved", ".", "set", "(", "AMDGPU", "::", "NEG_HALF", ")", ";", "Reserved", ".", "set", "(", "AMDGPU", "::", "NEG_ONE", ")", ";", "Reserved", ".", "set", "(", "AMDGPU", "::", "PV_X", ")", ";", "Reserved", ".", "set", "(", "AMDGPU", "::", "ALU_LITERAL_X", ")", ";", "Reserved", ".", "set", "(", "AMDGPU", "::", "ALU_CONST", ")", ";", "Reserved", ".", "set", "(", "AMDGPU", "::", "PREDICATE_BIT", ")", ";", "Reserved", ".", "set", "(", "AMDGPU", "::", "PRED_SEL_OFF", ")", ";", "Reserved", ".", "set", "(", "AMDGPU", "::", "PRED_SEL_ZERO", ")", ";", "Reserved", ".", "set", "(", "AMDGPU", "::", "PRED_SEL_ONE", ")", ";", "Reserved", ".", "set", "(", "AMDGPU", "::", "INDIRECT_BASE_ADDR", ")", ";", "for", "(", "TargetRegisterClass", "::", "iterator", "I", "=", "AMDGPU", "::", "R600_AddrRegClass", ".", "begin", "(", ")", ",", "E", "=", "AMDGPU", "::", "R600_AddrRegClass", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "Reserved", ".", "set", "(", "*", "I", ")", ";", "}", "TII", "->", "reserveIndirectRegisters", "(", "Reserved", ",", "MF", ")", ";", "return", "Reserved", ";", "}", ""], "natrual_language": ["getReservedRegs", "-", "Returns", "a", "bitset", "indexed", "by", "physical", "register", "number", "indicating", "if", "a", "register", "is", "a", "special", "register", "that", "has", "particular", "uses", "and", "should", "be", "considered", "unavailable", "at", "all", "times", ",", "e.g", "."], "TS_V_token": ["R600"], "File": "R600RegisterInfo", "Func": "getReservedRegs", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2669, "Length": 220, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyFixBrTableDefaults", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** Fixing br_table Default Targets **********\\n\"", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "bool", "Changed", "=", "false", ";", "SmallPtrSet", "<", "MachineBasicBlock", "*", ",", "16", ">", "MBBSet", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "MBBSet", ".", "insert", "(", "&", "MBB", ")", ";", "while", "(", "!", "MBBSet", ".", "empty", "(", ")", ")", "{", "MachineBasicBlock", "*", "MBB", "=", "*", "MBBSet", ".", "begin", "(", ")", ";", "MBBSet", ".", "erase", "(", "MBB", ")", ";", "for", "(", "auto", "&", "MI", ":", "*", "MBB", ")", "{", "if", "(", "WebAssembly", "::", "isBrTable", "(", "MI", ")", ")", "{", "fixBrTableIndex", "(", "MI", ",", "MBB", ",", "MF", ")", ";", "auto", "*", "Fixed", "=", "fixBrTableDefault", "(", "MI", ",", "MBB", ",", "MF", ")", ";", "if", "(", "Fixed", "!=", "nullptr", ")", "{", "MBBSet", ".", "erase", "(", "Fixed", ")", ";", "Changed", "=", "true", ";", "}", "break", ";", "}", "}", "}", "if", "(", "Changed", ")", "{", "MF", ".", "RenumberBlocks", "(", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"********** Fixing br_table Default Targets **********\\n\"", "\"********** Function: \"", "16", "WebAssembly::isBrTable"], "File": "WebAssemblyFixBrTableDefaults1", "Func": "runOnMachineFunction", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2670, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVCleanupVSETVLI", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "const", "RISCVSubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ";", "if", "(", "!", "ST", ".", "hasStdExtV", "(", ")", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "Changed", "|=", "runOnMachineBasicBlock", "(", "MBB", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "RISCV"], "File": "RISCVCleanupVSETVLI", "Func": "runOnMachineFunction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2671, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "m68k_function_value", "(", "const_tree", "valtype", ",", "const_tree", "func", "ATTRIBUTE_UNUSED", ")", "{", "machine_mode", "mode", ";", "mode", "=", "TYPE_MODE", "(", "valtype", ")", ";", "switch", "(", "mode", ")", "{", "case", "SFmode", ":", "case", "DFmode", ":", "case", "XFmode", ":", "if", "(", "TARGET_68881", ")", "return", "gen_rtx_REG", "(", "mode", ",", "FP0_REG", ")", ";", "break", ";", "default", ":", "break", ";", "}", "if", "(", "func", "&&", "POINTER_TYPE_P", "(", "TREE_TYPE", "(", "TREE_TYPE", "(", "func", ")", ")", ")", ")", "return", "gen_rtx_PARALLEL", "(", "mode", ",", "gen_rtvec", "(", "2", ",", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "mode", ",", "A0_REG", ")", ",", "const0_rtx", ")", ",", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "mode", ",", "D0_REG", ")", ",", "const0_rtx", ")", ")", ")", ";", "else", "if", "(", "POINTER_TYPE_P", "(", "valtype", ")", ")", "return", "gen_rtx_REG", "(", "mode", ",", "A0_REG", ")", ";", "else", "return", "gen_rtx_REG", "(", "mode", ",", "D0_REG", ")", ";", "}", ""], "natrual_language": ["Location", "in", "which", "function", "value", "is", "returned", ".", "NOTE", ":", "Due", "to", "differences", "in", "ABIs", ",", "do", "n't", "call", "this", "function", "directly", ",", "use", "FUNCTION_VALUE", "instead", "."], "TS_V_token": ["m68k", "2"], "File": "m68k4", "Func": "m68k_function_value", "Target": "m68k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2672, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ccr_bit", "(", "rtx", "op", ",", "int", "scc_p", ")", "{", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "op", ")", ";", "machine_mode", "cc_mode", ";", "int", "cc_regnum", ";", "int", "base_bit", ";", "rtx", "reg", ";", "if", "(", "!", "COMPARISON_P", "(", "op", ")", ")", "return", "-", "1", ";", "reg", "=", "XEXP", "(", "op", ",", "0", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "reg", ")", "==", "REG", "&&", "CR_REGNO_P", "(", "REGNO", "(", "reg", ")", ")", ")", ";", "cc_mode", "=", "GET_MODE", "(", "reg", ")", ";", "cc_regnum", "=", "REGNO", "(", "reg", ")", ";", "base_bit", "=", "4", "*", "(", "cc_regnum", "-", "CR0_REGNO", ")", ";", "validate_condition_mode", "(", "code", ",", "cc_mode", ")", ";", "gcc_assert", "(", "!", "scc_p", "||", "code", "==", "EQ", "||", "code", "==", "GT", "||", "code", "==", "LT", "||", "code", "==", "UNORDERED", "||", "code", "==", "GTU", "||", "code", "==", "LTU", ")", ";", "switch", "(", "code", ")", "{", "case", "NE", ":", "return", "scc_p", "?", "base_bit", "+", "3", ":", "base_bit", "+", "2", ";", "case", "EQ", ":", "return", "base_bit", "+", "2", ";", "case", "GT", ":", "case", "GTU", ":", "case", "UNLE", ":", "return", "base_bit", "+", "1", ";", "case", "LT", ":", "case", "LTU", ":", "case", "UNGE", ":", "return", "base_bit", ";", "case", "ORDERED", ":", "case", "UNORDERED", ":", "return", "base_bit", "+", "3", ";", "case", "GE", ":", "case", "GEU", ":", "return", "scc_p", "?", "base_bit", "+", "3", ":", "base_bit", ";", "case", "LE", ":", "case", "LEU", ":", "return", "scc_p", "?", "base_bit", "+", "3", ":", "base_bit", "+", "1", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Given", "a", "comparison", "operation", ",", "return", "the", "bit", "number", "in", "CCR", "to", "test", ".", "We", "know", "this", "is", "a", "valid", "comparison", ".", "SCC_P", "is", "1", "if", "this", "is", "for", "an", "scc", ".", "That", "means", "that", "%", "D", "will", "have", "been", "used", "instead", "of", "%", "C", ",", "so", "the", "bits", "will", "be", "in", "different", "places", ".", "Return", "-1", "if", "OP", "is", "n't", "a", "valid", "comparison", "for", "some", "reason", "."], "TS_V_token": ["rs6000", "1", "0", "4", "3", "2", "2", "1", "3", "3", "3", "1"], "File": "rs60004", "Func": "ccr_bit", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2673, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "M680x0RegisterInfo", "::", "getRegisterOrder", "(", "unsigned", "Reg", ",", "const", "TargetRegisterClass", "&", "TRC", ")", "const", "{", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "TRC", ".", "getNumRegs", "(", ")", ";", "++", "i", ")", "{", "if", "(", "regsOverlap", "(", "Reg", ",", "TRC", ".", "getRegister", "(", "i", ")", ")", ")", "{", "return", "i", ";", "}", "}", "return", "-", "1", ";", "}", ""], "natrual_language": ["Return", "index", "of", "a", "register", "within", "a", "register", "class", ",", "otherwise", "return", "-1", "."], "TS_V_token": ["M680x0", "M680x0", "0", "1"], "File": "M680x0RegisterInfo", "Func": "getRegisterOrder", "Target": "M680x0", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2674, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIRegisterInfo", "::", "requiresRegisterScavenging", "(", "const", "MachineFunction", "&", "Fn", ")", "const", "{", "return", "Fn", ".", "getFrameInfo", "(", ")", "->", "hasStackObjects", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "requires", "(", "and", "can", "make", "use", "of", ")", "the", "register", "scavenger", "."], "TS_V_token": ["AMDGPU", "SI"], "File": "SIRegisterInfo (2)", "Func": "requiresRegisterScavenging", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2675, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "OutgoingValueHandler", "::", "getStackAddress", "(", "uint64_t", "Size", ",", "int64_t", "Offset", ",", "MachinePointerInfo", "&", "MPO", ")", "{", "LLT", "p0", "=", "LLT", "::", "pointer", "(", "0", ",", "32", ")", ";", "LLT", "s32", "=", "LLT", "::", "scalar", "(", "32", ")", ";", "unsigned", "SPReg", "=", "MRI", ".", "createGenericVirtualRegister", "(", "p0", ")", ";", "MIRBuilder", ".", "buildCopy", "(", "SPReg", ",", "Mips", "::", "SP", ")", ";", "unsigned", "OffsetReg", "=", "MRI", ".", "createGenericVirtualRegister", "(", "s32", ")", ";", "MIRBuilder", ".", "buildConstant", "(", "OffsetReg", ",", "Offset", ")", ";", "unsigned", "AddrReg", "=", "MRI", ".", "createGenericVirtualRegister", "(", "p0", ")", ";", "MIRBuilder", ".", "buildGEP", "(", "AddrReg", ",", "SPReg", ",", "OffsetReg", ")", ";", "MPO", "=", "MachinePointerInfo", "::", "getStack", "(", "MIRBuilder", ".", "getMF", "(", ")", ",", "Offset", ")", ";", "return", "AddrReg", ";", "}", ""], "natrual_language": ["Materialize", "a", "VReg", "containing", "the", "address", "of", "the", "specified", "stack-based", "object", "."], "TS_V_token": ["Mips", "0", "32", "32", "Mips::SP"], "File": "MipsCallLowering", "Func": "getStackAddress", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2676, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_target_modify_macros", "(", "bool", "define_p", ",", "HOST_WIDE_INT", "flags", ",", "HOST_WIDE_INT", "bu_mask", ")", "{", "if", "(", "TARGET_DEBUG_BUILTIN", "||", "TARGET_DEBUG_TARGET", ")", "fprintf", "(", "stderr", ",", "\"rs6000_target_modify_macros (%s, \"", "HOST_WIDE_INT_PRINT_HEX", "\", \"", "HOST_WIDE_INT_PRINT_HEX", "\")\\n\"", ",", "(", "define_p", ")", "?", "\"define\"", ":", "\"undef\"", ",", "flags", ",", "bu_mask", ")", ";", "rs6000_define_or_undefine_macro", "(", "define_p", ",", "\"_ARCH_PPC\"", ")", ";", "if", "(", "(", "flags", "&", "OPTION_MASK_PPC_GPOPT", ")", "!=", "0", ")", "rs6000_define_or_undefine_macro", "(", "define_p", ",", "\"_ARCH_PPCSQ\"", ")", ";", "if", "(", "(", "flags", "&", "OPTION_MASK_PPC_GFXOPT", ")", "!=", "0", ")", "rs6000_define_or_undefine_macro", "(", "define_p", ",", "\"_ARCH_PPCGR\"", ")", ";", "if", "(", "(", "flags", "&", "OPTION_MASK_POWERPC64", ")", "!=", "0", ")", "rs6000_define_or_undefine_macro", "(", "define_p", ",", "\"_ARCH_PPC64\"", ")", ";", "if", "(", "(", "flags", "&", "OPTION_MASK_MFCRF", ")", "!=", "0", ")", "rs6000_define_or_undefine_macro", "(", "define_p", ",", "\"_ARCH_PWR4\"", ")", ";", "if", "(", "(", "flags", "&", "OPTION_MASK_POPCNTB", ")", "!=", "0", ")", "rs6000_define_or_undefine_macro", "(", "define_p", ",", "\"_ARCH_PWR5\"", ")", ";", "if", "(", "(", "flags", "&", "OPTION_MASK_FPRND", ")", "!=", "0", ")", "rs6000_define_or_undefine_macro", "(", "define_p", ",", "\"_ARCH_PWR5X\"", ")", ";", "if", "(", "(", "flags", "&", "OPTION_MASK_CMPB", ")", "!=", "0", ")", "rs6000_define_or_undefine_macro", "(", "define_p", ",", "\"_ARCH_PWR6\"", ")", ";", "if", "(", "(", "flags", "&", "OPTION_MASK_MFPGPR", ")", "!=", "0", ")", "rs6000_define_or_undefine_macro", "(", "define_p", ",", "\"_ARCH_PWR6X\"", ")", ";", "if", "(", "(", "flags", "&", "OPTION_MASK_POPCNTD", ")", "!=", "0", ")", "rs6000_define_or_undefine_macro", "(", "define_p", ",", "\"_ARCH_PWR7\"", ")", ";", "if", "(", "(", "flags", "&", "OPTION_MASK_DIRECT_MOVE", ")", "!=", "0", ")", "rs6000_define_or_undefine_macro", "(", "define_p", ",", "\"_ARCH_PWR8\"", ")", ";", "if", "(", "(", "flags", "&", "OPTION_MASK_SOFT_FLOAT", ")", "!=", "0", ")", "rs6000_define_or_undefine_macro", "(", "define_p", ",", "\"_SOFT_FLOAT\"", ")", ";", "if", "(", "(", "flags", "&", "OPTION_MASK_RECIP_PRECISION", ")", "!=", "0", ")", "rs6000_define_or_undefine_macro", "(", "define_p", ",", "\"__RECIP_PRECISION__\"", ")", ";", "if", "(", "(", "flags", "&", "OPTION_MASK_ALTIVEC", ")", "!=", "0", ")", "{", "const", "char", "*", "vec_str", "=", "(", "define_p", ")", "?", "\"__VEC__=10206\"", ":", "\"__VEC__\"", ";", "rs6000_define_or_undefine_macro", "(", "define_p", ",", "\"__ALTIVEC__\"", ")", ";", "rs6000_define_or_undefine_macro", "(", "define_p", ",", "vec_str", ")", ";", "if", "(", "!", "flag_iso", ")", "rs6000_define_or_undefine_macro", "(", "define_p", ",", "\"__APPLE_ALTIVEC__\"", ")", ";", "}", "if", "(", "(", "flags", "&", "OPTION_MASK_VSX", ")", "!=", "0", ")", "rs6000_define_or_undefine_macro", "(", "define_p", ",", "\"__VSX__\"", ")", ";", "if", "(", "(", "flags", "&", "OPTION_MASK_HTM", ")", "!=", "0", ")", "rs6000_define_or_undefine_macro", "(", "define_p", ",", "\"__HTM__\"", ")", ";", "if", "(", "(", "flags", "&", "OPTION_MASK_P8_VECTOR", ")", "!=", "0", ")", "rs6000_define_or_undefine_macro", "(", "define_p", ",", "\"__POWER8_VECTOR__\"", ")", ";", "if", "(", "(", "flags", "&", "OPTION_MASK_QUAD_MEMORY", ")", "!=", "0", ")", "rs6000_define_or_undefine_macro", "(", "define_p", ",", "\"__QUAD_MEMORY__\"", ")", ";", "if", "(", "(", "flags", "&", "OPTION_MASK_QUAD_MEMORY_ATOMIC", ")", "!=", "0", ")", "rs6000_define_or_undefine_macro", "(", "define_p", ",", "\"__QUAD_MEMORY_ATOMIC__\"", ")", ";", "if", "(", "(", "flags", "&", "OPTION_MASK_CRYPTO", ")", "!=", "0", ")", "rs6000_define_or_undefine_macro", "(", "define_p", ",", "\"__CRYPTO__\"", ")", ";", "if", "(", "(", "flags", "&", "OPTION_MASK_UPPER_REGS_DF", ")", "!=", "0", ")", "rs6000_define_or_undefine_macro", "(", "define_p", ",", "\"__UPPER_REGS_DF__\"", ")", ";", "if", "(", "(", "flags", "&", "OPTION_MASK_UPPER_REGS_SF", ")", "!=", "0", ")", "rs6000_define_or_undefine_macro", "(", "define_p", ",", "\"__UPPER_REGS_SF__\"", ")", ";", "if", "(", "(", "bu_mask", "&", "RS6000_BTM_SPE", ")", "!=", "0", ")", "rs6000_define_or_undefine_macro", "(", "define_p", ",", "\"__SPE__\"", ")", ";", "if", "(", "(", "bu_mask", "&", "RS6000_BTM_PAIRED", ")", "!=", "0", ")", "rs6000_define_or_undefine_macro", "(", "define_p", ",", "\"__PAIRED__\"", ")", ";", "if", "(", "(", "bu_mask", "&", "RS6000_BTM_CELL", ")", "!=", "0", ")", "rs6000_define_or_undefine_macro", "(", "define_p", ",", "\"__PPU__\"", ")", ";", "}", ""], "natrual_language": ["Define", "or", "undefine", "macros", "based", "on", "the", "current", "target", ".", "If", "the", "user", "does", "#", "pragma", "GCC", "target", ",", "we", "need", "to", "adjust", "the", "macros", "dynamically", "."], "TS_V_token": ["rs6000", "\"rs6000_target_modify_macros (%s, \"", "\", \"", "\")\\n\"", "\"define\"", "\"undef\"", "\"_ARCH_PPC\"", "0", "\"_ARCH_PPCSQ\"", "0", "\"_ARCH_PPCGR\"", "0", "\"_ARCH_PPC64\"", "0", "\"_ARCH_PWR4\"", "0", "\"_ARCH_PWR5\"", "0", "\"_ARCH_PWR5X\"", "0", "\"_ARCH_PWR6\"", "0", "\"_ARCH_PWR6X\"", "0", "\"_ARCH_PWR7\"", "0", "\"_ARCH_PWR8\"", "0", "\"_SOFT_FLOAT\"", "0", "\"__RECIP_PRECISION__\"", "0", "\"__VEC__=10206\"", "\"__VEC__\"", "\"__ALTIVEC__\"", "\"__APPLE_ALTIVEC__\"", "0", "\"__VSX__\"", "0", "\"__HTM__\"", "0", "\"__POWER8_VECTOR__\"", "0", "\"__QUAD_MEMORY__\"", "0", "\"__QUAD_MEMORY_ATOMIC__\"", "0", "\"__CRYPTO__\"", "0", "\"__UPPER_REGS_DF__\"", "0", "\"__UPPER_REGS_SF__\"", "0", "\"__SPE__\"", "0", "\"__PAIRED__\"", "0", "\"__PPU__\""], "File": "rs6000-c3", "Func": "rs6000_target_modify_macros", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2677, "Length": 492, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "tilegx_builtin_decl", "(", "unsigned", "code", ",", "bool", "initialize_p", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "code", ">=", "TILEGX_BUILTIN_max", ")", "return", "error_mark_node", ";", "return", "tilegx_builtin_info", "[", "code", "]", ".", "fndecl", ";", "}", ""], "natrual_language": ["Implement", "TARGET_BUILTIN_DECL", "."], "TS_V_token": ["tilegx"], "File": "tilegx", "Func": "tilegx_builtin_decl", "Target": "tilegx", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 2678, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "visium_hard_regno_rename_ok", "(", "unsigned", "int", "from", "ATTRIBUTE_UNUSED", ",", "unsigned", "int", "to", ")", "{", "if", "(", "!", "current_function_saves_lr", "(", ")", "&&", "to", "==", "long_branch_regnum", ")", "return", "0", ";", "if", "(", "crtl", "->", "is_leaf", "&&", "!", "df_regs_ever_live_p", "(", "to", ")", "&&", "visium_interrupt_function_p", "(", ")", ")", "return", "0", ";", "return", "1", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "HARD_REGNO_RENAME_OK", "(", "FROM", ",", "TO", ")", ".", "Return", "non-zero", "if", "it", "is", "OK", "to", "rename", "a", "hard", "register", "FROM", "to", "another", "hard", "register", "TO", "."], "TS_V_token": ["visium", "0", "0", "1"], "File": "visium", "Func": "visium_hard_regno_rename_ok", "Target": "visium", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 2679, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createMipsISelDag", "(", "getMipsTargetMachine", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips"], "File": "MipsTargetMachine13", "Func": "addInstSelector", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2680, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "XNCMDAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "char", "ConstraintCode", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "SDValue", "Op0", ",", "Op1", ";", "switch", "(", "ConstraintCode", ")", "{", "default", ":", "return", "true", ";", "case", "'m'", ":", "if", "(", "!", "SelectAddr", "(", "Op", ",", "Op0", ",", "Op1", ")", ")", "return", "true", ";", "break", ";", "}", "OutOps", ".", "push_back", "(", "Op0", ")", ";", "OutOps", ".", "push_back", "(", "Op1", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["SelectInlineAsmMemoryOperand", "-", "Select", "the", "specified", "address", "as", "a", "target", "addressing", "mode", ",", "according", "to", "the", "specified", "constraint", "."], "TS_V_token": ["XNCM", "XNCM"], "File": "XNCMISelDAGToDAG", "Func": "SelectInlineAsmMemoryOperand", "Target": "XNCM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2681, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "NVPTXTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "EVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'c'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "NVPTX", "::", "Int8RegsRegClass", ")", ";", "case", "'h'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "NVPTX", "::", "Int16RegsRegClass", ")", ";", "case", "'r'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "NVPTX", "::", "Int32RegsRegClass", ")", ";", "case", "'l'", ":", "case", "'N'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "NVPTX", "::", "Int64RegsRegClass", ")", ";", "case", "'f'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "NVPTX", "::", "Float32RegsRegClass", ")", ";", "case", "'d'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "NVPTX", "::", "Float64RegsRegClass", ")", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["NVPTX", "NVPTX", "1", "0", "0U", "NVPTX::Int8RegsRegClass", "0U", "NVPTX::Int16RegsRegClass", "0U", "NVPTX::Int32RegsRegClass", "0U", "NVPTX::Int64RegsRegClass", "0U", "NVPTX::Float32RegsRegClass", "0U", "NVPTX::Float64RegsRegClass"], "File": "NVPTXISelLowering73", "Func": "getRegForInlineAsmConstraint", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2682, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "useLoadStackGuardNode", "(", ")", "const", "{", "return", "Subtarget", ".", "isTargetMachO", "(", ")", "&&", "Subtarget", ".", "is64Bit", "(", ")", ";", "}", ""], "natrual_language": ["If", "this", "function", "returns", "true", ",", "SelectionDAGBuilder", "emits", "a", "LOAD_STACK_GUARD", "node", "when", "it", "is", "lowering", "Intrinsic", ":", ":stackprotector", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering (2)5", "Func": "useLoadStackGuardNode", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2683, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "LanaiTargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "SDLoc", "DL", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_Lanai32", ")", ";", "SDValue", "Flag", ";", "SmallVector", "<", "SDValue", ",", "4", ">", "RetOps", "(", "1", ",", "Chain", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Can only return in registers!\"", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "VA", ".", "getLocReg", "(", ")", ",", "OutVals", "[", "i", "]", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "VA", ".", "getLocReg", "(", ")", ",", "VA", ".", "getLocVT", "(", ")", ")", ")", ";", "}", "if", "(", "DAG", ".", "getMachineFunction", "(", ")", ".", "getFunction", "(", ")", "->", "hasStructRetAttr", "(", ")", ")", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "LanaiMachineFunctionInfo", "*", "LanaiMFI", "=", "MF", ".", "getInfo", "<", "LanaiMachineFunctionInfo", ">", "(", ")", ";", "unsigned", "Reg", "=", "LanaiMFI", "->", "getSRetReturnReg", "(", ")", ";", "assert", "(", "Reg", "&&", "\"SRetReturnReg should have been set in LowerFormalArguments().\"", ")", ";", "SDValue", "Val", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "DL", ",", "Reg", ",", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "Lanai", "::", "RV", ",", "Val", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "Lanai", "::", "RV", ",", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ")", ")", ";", "}", "RetOps", "[", "0", "]", "=", "Chain", ";", "unsigned", "Opc", "=", "LanaiISD", "::", "RET_FLAG", ";", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "RetOps", ".", "push_back", "(", "Flag", ")", ";", "return", "DAG", ".", "getNode", "(", "Opc", ",", "DL", ",", "MVT", "::", "Other", ",", "ArrayRef", "<", "SDValue", ">", "(", "&", "RetOps", "[", "0", "]", ",", "RetOps", ".", "size", "(", ")", ")", ")", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "outgoing", "return", "values", ",", "described", "by", "the", "Outs", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["Lanai", "Lanai", "ISD::OutputArg", "16", "Lanai", "4", "1", "0", "\"Can only return in registers!\"", "1", "Lanai", "Lanai", "Lanai", "Lanai", "\"SRetReturnReg should have been set in LowerFormalArguments().\"", "Lanai::RV", "1", "Lanai::RV", "0", "LanaiISD::RET_FLAG", "MVT::Other", "0"], "File": "LanaiISelLowering21", "Func": "LowerReturn", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2684, "Length": 387, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "GBZ80TargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "SDLoc", "dl", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_GBZ80", ")", ";", "SDValue", "Flag", ";", "SmallVector", "<", "SDValue", ",", "4", ">", "RetOps", "(", "1", ",", "Chain", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "i", "++", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Can only return in registers!\"", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "OutVals", "[", "i", "]", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "VA", ".", "getLocReg", "(", ")", ",", "VA", ".", "getLocVT", "(", ")", ")", ")", ";", "}", "RetOps", "[", "0", "]", "=", "Chain", ";", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "RetOps", ".", "push_back", "(", "Flag", ")", ";", "return", "DAG", ".", "getNode", "(", "GBZ80ISD", "::", "RET", ",", "dl", ",", "MVT", "::", "Other", ")", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "outgoing", "return", "values", ",", "described", "by", "the", "Outs", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["GBZ80", "GB", "ISD::OutputArg", "16", "GB", "4", "1", "0", "\"Can only return in registers!\"", "1", "0", "GBZ80ISD::RET", "MVT::Other"], "File": "GBZ80ISelLowering (2)", "Func": "LowerReturn", "Target": "GBZ80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2685, "Length": 233, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isValid", "(", "ReachingDefAnalysis", "&", "RDA", ")", "{", "for", "(", "auto", "&", "Block", ":", "Blocks", ")", "{", "if", "(", "isEntryPredicatedOnVCTP", "(", "Block", ",", "false", ")", "||", "hasImplicitlyValidVPT", "(", "Block", ",", "RDA", ")", ")", "continue", ";", "SmallVectorImpl", "<", "MachineInstr", "*", ">", "&", "Insts", "=", "Block", ".", "getInsts", "(", ")", ";", "assert", "(", "isVPTOpcode", "(", "Insts", ".", "front", "(", ")", "->", "getOpcode", "(", ")", ")", "&&", "\"Expected VPT block to start with a VPST or VPT!\"", ")", ";", "if", "(", "Insts", ".", "size", "(", ")", "==", "2", "&&", "Insts", ".", "front", "(", ")", "->", "getOpcode", "(", ")", "!=", "ARM", "::", "MVE_VPST", "&&", "isVCTP", "(", "Insts", ".", "back", "(", ")", ")", ")", "return", "false", ";", "for", "(", "auto", "*", "MI", ":", "Insts", ")", "{", "if", "(", "isVCTP", "(", "MI", ")", "&&", "getVPTInstrPredicate", "(", "*", "MI", ")", "!=", "ARMVCC", "::", "Then", ")", "return", "false", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "MVE_VPST", "||", "isVectorPredicate", "(", "MI", ")", ")", "continue", ";", "if", "(", "!", "isPredicatedOnVCTP", "(", "MI", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"ARM Loops: Can't convert: \"", "<<", "*", "MI", ")", ";", "return", "false", ";", "}", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "this", "iterator", "is", "still", "pointing", "at", "a", "valid", "entry", "."], "TS_V_token": ["ARM", "\"Expected VPT block to start with a VPST or VPT!\"", "2", "ARM::MVE_VPST", "ARMVCC::Then", "ARM::MVE_VPST", "\"ARM Loops: Can't convert: \""], "File": "ARMLowOverheadLoops", "Func": "isValid", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2686, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "MCInst", "MCB", ";", "MCB", ".", "setOpcode", "(", "Hexagon", "::", "BUNDLE", ")", ";", "MCB", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "0", ")", ")", ";", "if", "(", "MI", "->", "isBundle", "(", ")", ")", "{", "const", "MachineBasicBlock", "*", "MBB", "=", "MI", "->", "getParent", "(", ")", ";", "MachineBasicBlock", "::", "const_instr_iterator", "MII", "=", "MI", ";", "unsigned", "IgnoreCount", "=", "0", ";", "for", "(", "++", "MII", ";", "MII", "!=", "MBB", "->", "end", "(", ")", "&&", "MII", "->", "isInsideBundle", "(", ")", ";", "++", "MII", ")", "{", "if", "(", "MII", "->", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "DBG_VALUE", "||", "MII", "->", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "IMPLICIT_DEF", ")", "++", "IgnoreCount", ";", "else", "{", "HexagonLowerToMC", "(", "MII", ",", "MCB", ",", "*", "this", ")", ";", "}", "}", "}", "else", "{", "HexagonLowerToMC", "(", "MI", ",", "MCB", ",", "*", "this", ")", ";", "HexagonMCInstrInfo", "::", "padEndloop", "(", "MCB", ")", ";", "}", "SmallVector", "<", "DuplexCandidate", ",", "8", ">", "possibleDuplexes", ";", "possibleDuplexes", "=", "HexagonMCInstrInfo", "::", "getDuplexPossibilties", "(", "*", "Subtarget", "->", "getInstrInfo", "(", ")", ",", "MCB", ")", ";", "HexagonMCShuffle", "(", "*", "Subtarget", "->", "getInstrInfo", "(", ")", ",", "*", "Subtarget", ",", "OutStreamer", "->", "getContext", "(", ")", ",", "MCB", ",", "possibleDuplexes", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "MCB", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon::BUNDLE", "0", "0", "Hexagon", "Hexagon", "Hexagon", "8", "Hexagon", "Hexagon"], "File": "HexagonAsmPrinter40", "Func": "EmitInstruction", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2687, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ck860_rtx_costs", "(", "rtx", "x", ",", "int", "code", ",", "machine_mode", "mode", ",", "int", "outer_code", "ATTRIBUTE_UNUSED", ",", "int", "*", "total", ",", "bool", "speed", "ATTRIBUTE_UNUSED", ")", "{", "switch", "(", "code", ")", "{", "case", "PLUS", ":", "if", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "MULT", "&&", "REG_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", "&&", "speed", ")", "{", "rtx", "mul_op0", "=", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "0", ")", ";", "rtx", "mul_op1", "=", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "1", ")", ";", "if", "(", "REG_P", "(", "mul_op0", ")", "&&", "REG_P", "(", "mul_op1", ")", ")", "{", "*", "total", "=", "COSTS_N_INSNS", "(", "1", ")", ";", "*", "total", "+=", "rtx_cost", "(", "XEXP", "(", "x", ",", "0", ")", ",", "mode", ",", "(", "enum", "rtx_code", ")", "code", ",", "0", ",", "speed", ")", ";", "return", "true", ";", "}", "}", "return", "false", ";", "case", "MULT", ":", "if", "(", "REG_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "{", "HOST_WIDE_INT", "val", "=", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ";", "if", "(", "val", "%", "2", "==", "0", "&&", "val", "<", "0xffffffff", "&&", "val", ">", "0", ")", "{", "*", "total", "=", "COSTS_N_INSNS", "(", "1", ")", ";", "return", "true", ";", "}", "}", "return", "false", ";", "case", "CONST", ":", "case", "LABEL_REF", ":", "case", "SYMBOL_REF", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "3", ")", ";", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["TARGET_RTX_COSTS", "helper", "for", "ck860", "arches", "."], "TS_V_token": ["csky", "0", "1", "0", "0", "0", "1", "1", "0", "0", "0", "1", "1", "2", "0", "0xffffffff", "0", "1", "3"], "File": "csky", "Func": "ck860_rtx_costs", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2688, "Length": 244, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "cr16_const_double_ok", "(", "rtx", "op", ")", "{", "if", "(", "GET_MODE", "(", "op", ")", "==", "SFmode", ")", "{", "long", "l", ";", "REAL_VALUE_TO_TARGET_SINGLE", "(", "*", "CONST_DOUBLE_REAL_VALUE", "(", "op", ")", ",", "l", ")", ";", "return", "UNSIGNED_INT_FITS_N_BITS", "(", "l", ",", "4", ")", "?", "1", ":", "0", ";", "}", "return", "(", "(", "UNSIGNED_INT_FITS_N_BITS", "(", "CONST_DOUBLE_LOW", "(", "op", ")", ",", "4", ")", ")", "&&", "(", "UNSIGNED_INT_FITS_N_BITS", "(", "CONST_DOUBLE_HIGH", "(", "op", ")", ",", "4", ")", ")", ")", "?", "1", ":", "0", ";", "}", ""], "natrual_language": ["Check", "if", "a", "const_double", "is", "ok", "for", "cr16", "store-immediate", "instructions", "."], "TS_V_token": ["cr16", "4", "1", "0", "4", "4", "1", "0"], "File": "cr16", "Func": "cr16_const_double_ok", "Target": "cr16", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2689, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64AsmBackend", "::", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsResolved", ",", "const", "MCSubtargetInfo", "*", "STI", ")", "const", "{", "unsigned", "NumBytes", "=", "getFixupKindNumBytes", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "MCFixupKindInfo", "Info", "=", "getFixupKindInfo", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "MCContext", "&", "Ctx", "=", "Asm", ".", "getContext", "(", ")", ";", "int64_t", "SignedValue", "=", "static_cast", "<", "int64_t", ">", "(", "Value", ")", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Target", ",", "Value", ",", "Ctx", ",", "TheTriple", ",", "IsResolved", ")", ";", "Value", "<<=", "Info", ".", "TargetOffset", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "assert", "(", "Offset", "+", "NumBytes", "<=", "Data", ".", "size", "(", ")", "&&", "\"Invalid fixup offset!\"", ")", ";", "unsigned", "FulleSizeInBytes", "=", "getFixupKindContainereSizeInBytes", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "if", "(", "FulleSizeInBytes", "==", "0", ")", "{", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "Data", "[", "Offset", "+", "i", "]", "|=", "uint8_t", "(", "(", "Value", ">>", "(", "i", "*", "8", ")", ")", "&", "0xff", ")", ";", "}", "}", "else", "{", "assert", "(", "(", "Offset", "+", "FulleSizeInBytes", ")", "<=", "Data", ".", "size", "(", ")", "&&", "\"Invalid fixup size!\"", ")", ";", "assert", "(", "NumBytes", "<=", "FulleSizeInBytes", "&&", "\"Invalid fixup size!\"", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "FulleSizeInBytes", "-", "1", "-", "i", ";", "Data", "[", "Offset", "+", "Idx", "]", "|=", "uint8_t", "(", "(", "Value", ">>", "(", "i", "*", "8", ")", ")", "&", "0xff", ")", ";", "}", "}", "AArch64MCExpr", "::", "VariantKind", "RefKind", "=", "static_cast", "<", "AArch64MCExpr", "::", "VariantKind", ">", "(", "Target", ".", "getRefKind", "(", ")", ")", ";", "if", "(", "AArch64MCExpr", "::", "getSymbolLoc", "(", "RefKind", ")", "==", "AArch64MCExpr", "::", "VK_SABS", ")", "{", "if", "(", "SignedValue", "<", "0", ")", "Data", "[", "Offset", "+", "3", "]", "&=", "~", "(", "1", "<<", "6", ")", ";", "else", "Data", "[", "Offset", "+", "3", "]", "|=", "(", "1", "<<", "6", ")", ";", "}", "}", ""], "natrual_language": ["Apply", "the", "Value", "for", "given", "Fixup", "into", "the", "provided", "data", "fragment", ",", "at", "the", "offset", "specified", "by", "the", "fixup", "and", "following", "the", "fixup", "kind", "as", "appropriate", "."], "TS_V_token": ["AArch64", "AArch64", "\"Invalid fixup offset!\"", "0", "0", "8", "0xff", "\"Invalid fixup size!\"", "\"Invalid fixup size!\"", "0", "1", "8", "0xff", "AArch64", "AArch64", "AArch64", "AArch64", "0", "3", "1", "6", "3", "1", "6"], "File": "AArch64AsmBackend40", "Func": "applyFixup", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2690, "Length": 341, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AMDGPUTargetELFStreamer", "::", "finish", "(", ")", "{", "std", "::", "string", "Blob", ";", "const", "char", "*", "Vendor", "=", "getPALMetadata", "(", ")", "->", "getVendor", "(", ")", ";", "unsigned", "Type", "=", "getPALMetadata", "(", ")", "->", "getType", "(", ")", ";", "getPALMetadata", "(", ")", "->", "toBlob", "(", "Type", ",", "Blob", ")", ";", "if", "(", "Blob", ".", "empty", "(", ")", ")", "return", ";", "EmitNote", "(", "Vendor", ",", "MCConstantExpr", "::", "create", "(", "Blob", ".", "size", "(", ")", ",", "getContext", "(", ")", ")", ",", "Type", ",", "[", "&", "]", "(", "MCELFStreamer", "&", "OS", ")", "{", "OS", ".", "EmitBytes", "(", "Blob", ")", ";", "}", ")", ";", "}", ""], "natrual_language": ["finish", "-", "after", "all", "the", "new", "live", "ranges", "have", "been", "created", ",", "compute", "the", "remaining", "live", "range", ",", "and", "rewrite", "instructions", "to", "use", "the", "new", "registers", "."], "TS_V_token": ["AMDGPU", "AMDGPU"], "File": "AMDGPUTargetStreamer14", "Func": "finish", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2691, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "m32c_expand_movstr", "(", "rtx", "*", "operands", ")", "{", "rtx", "desta", ",", "srca", ";", "rtx", "desto", ",", "srco", ";", "desta", "=", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ";", "srca", "=", "XEXP", "(", "operands", "[", "2", "]", ",", "0", ")", ";", "desto", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "srco", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "if", "(", "GET_CODE", "(", "desta", ")", "!=", "REG", "||", "REGNO", "(", "desta", ")", "<", "FIRST_PSEUDO_REGISTER", ")", "desta", "=", "copy_to_mode_reg", "(", "Pmode", ",", "desta", ")", ";", "if", "(", "GET_CODE", "(", "srca", ")", "!=", "REG", "||", "REGNO", "(", "srca", ")", "<", "FIRST_PSEUDO_REGISTER", ")", "srca", "=", "copy_to_mode_reg", "(", "Pmode", ",", "srca", ")", ";", "emit_insn", "(", "gen_movstr_op", "(", "desto", ",", "srco", ",", "desta", ",", "srca", ")", ")", ";", "emit_insn", "(", "gen_addpsi3", "(", "operands", "[", "0", "]", ",", "desto", ",", "GEN_INT", "(", "-", "1", ")", ")", ")", ";", "return", "1", ";", "}", ""], "natrual_language": ["This", "is", "a", "stpcpy", "(", ")", "opcode", ".", "$", "0", "is", "the", "destination", "(", "MEM", ":", "BLK", ")", "after", "the", "copy", ",", "which", "should", "point", "to", "the", "NUL", "at", "the", "end", "of", "the", "string", ",", "$", "1", "is", "the", "destination", "(", "MEM", ":", "BLK", ")", ",", "and", "$", "2", "is", "the", "source", "(", "MEM", ":", "BLK", ")", ".", "Since", "our", "opcode", "leaves", "the", "destination", "pointing", "*", "after", "*", "the", "NUL", ",", "we", "must", "emit", "an", "adjustment", "."], "TS_V_token": ["m32c", "1", "0", "2", "0", "0", "1", "1"], "File": "m32c", "Func": "m32c_expand_movstr", "Target": "m32c", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2692, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64PassConfig", "::", "addILPOpts", "(", ")", "{", "if", "(", "EnableCondOpt", ")", "addPass", "(", "createAArch64ConditionOptimizerPass", "(", ")", ")", ";", "if", "(", "EnableCCMP", ")", "addPass", "(", "createAArch64ConditionalCompares", "(", ")", ")", ";", "if", "(", "EnableMCR", ")", "addPass", "(", "&", "MachineCombinerID", ")", ";", "if", "(", "EnableEarlyIfConversion", ")", "addPass", "(", "&", "EarlyIfConverterID", ")", ";", "if", "(", "EnableStPairSuppress", ")", "addPass", "(", "createAArch64StorePairSuppressPass", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Add", "passes", "that", "optimize", "instruction", "level", "parallelism", "for", "out-of-order", "targets", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine10", "Func": "addILPOpts", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2693, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rx_function_value", "(", "const_tree", "ret_type", ",", "const_tree", "fn_decl_or_type", "ATTRIBUTE_UNUSED", ",", "bool", "outgoing", "ATTRIBUTE_UNUSED", ")", "{", "machine_mode", "mode", "=", "TYPE_MODE", "(", "ret_type", ")", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", ">", "0", "&&", "GET_MODE_SIZE", "(", "mode", ")", "<", "4", "&&", "!", "COMPLEX_MODE_P", "(", "mode", ")", ")", "return", "gen_rtx_REG", "(", "SImode", ",", "FUNC_RETURN_REGNUM", ")", ";", "return", "gen_rtx_REG", "(", "mode", ",", "FUNC_RETURN_REGNUM", ")", ";", "}", ""], "natrual_language": ["Return", "an", "RTL", "describing", "where", "a", "function", "return", "value", "of", "type", "RET_TYPE", "is", "held", "."], "TS_V_token": ["rx", "0", "4"], "File": "rx2", "Func": "rx_function_value", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2694, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "ix86_output_function_return", "(", "bool", "long_p", ")", "{", "if", "(", "cfun", "->", "machine", "->", "function_return_type", "!=", "indirect_branch_keep", ")", "{", "char", "thunk_name", "[", "32", "]", ";", "enum", "indirect_thunk_prefix", "need_prefix", "=", "indirect_thunk_need_prefix", "(", "current_output_insn", ")", ";", "if", "(", "cfun", "->", "machine", "->", "function_return_type", "!=", "indirect_branch_thunk_inline", ")", "{", "bool", "need_thunk", "=", "(", "cfun", "->", "machine", "->", "function_return_type", "==", "indirect_branch_thunk", ")", ";", "indirect_thunk_name", "(", "thunk_name", ",", "INVALID_REGNUM", ",", "need_prefix", ",", "true", ")", ";", "if", "(", "need_prefix", "==", "indirect_thunk_prefix_bnd", ")", "{", "indirect_return_bnd_needed", "|=", "need_thunk", ";", "fprintf", "(", "asm_out_file", ",", "\"\\tbnd jmp\\t%s\\n\"", ",", "thunk_name", ")", ";", "}", "else", "{", "indirect_return_needed", "|=", "need_thunk", ";", "fprintf", "(", "asm_out_file", ",", "\"\\tjmp\\t%s\\n\"", ",", "thunk_name", ")", ";", "}", "}", "else", "output_indirect_thunk", "(", "need_prefix", ",", "INVALID_REGNUM", ")", ";", "return", "\"\"", ";", "}", "if", "(", "!", "long_p", "||", "ix86_bnd_prefixed_insn_p", "(", "current_output_insn", ")", ")", "return", "\"%!ret\"", ";", "return", "\"rep%; ret\"", ";", "}", ""], "natrual_language": ["Output", "function", "return", ".", "CALL_OP", "is", "the", "jump", "target", ".", "Add", "a", "REP", "prefix", "to", "RET", "if", "LONG_P", "is", "true", "and", "function", "return", "is", "kept", "."], "TS_V_token": ["i386", "32", "\"\\tbnd jmp\\t%s\\n\"", "\"\\tjmp\\t%s\\n\"", "\"\"", "\"%!ret\"", "\"rep%; ret\""], "File": "i3867", "Func": "ix86_output_function_return", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2695, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ix86_attr_length_vex_default", "(", "rtx_insn", "*", "insn", ",", "bool", "has_0f_opcode", ",", "bool", "has_vex_w", ")", "{", "int", "i", ";", "if", "(", "!", "has_0f_opcode", "||", "has_vex_w", ")", "return", "3", "+", "1", ";", "if", "(", "!", "TARGET_64BIT", ")", "return", "2", "+", "1", ";", "extract_insn_cached", "(", "insn", ")", ";", "for", "(", "i", "=", "recog_data", ".", "n_operands", "-", "1", ";", "i", ">=", "0", ";", "--", "i", ")", "if", "(", "REG_P", "(", "recog_data", ".", "operand", "[", "i", "]", ")", ")", "{", "if", "(", "GET_MODE", "(", "recog_data", ".", "operand", "[", "i", "]", ")", "==", "DImode", "&&", "GENERAL_REG_P", "(", "recog_data", ".", "operand", "[", "i", "]", ")", ")", "return", "3", "+", "1", ";", "}", "else", "{", "if", "(", "MEM_P", "(", "recog_data", ".", "operand", "[", "i", "]", ")", "&&", "x86_extended_reg_mentioned_p", "(", "recog_data", ".", "operand", "[", "i", "]", ")", ")", "return", "3", "+", "1", ";", "}", "return", "2", "+", "1", ";", "}", ""], "natrual_language": ["Compute", "default", "value", "for", "``", "length_vex", "''", "attribute", ".", "It", "includes", "2", "or", "3", "byte", "VEX", "prefix", "and", "1", "opcode", "byte", "."], "TS_V_token": ["i386", "3", "1", "2", "1", "1", "0", "3", "1", "3", "1", "2", "1"], "File": "i386", "Func": "ix86_attr_length_vex_default", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2696, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MVT", "IA64TargetLowering", "::", "getSetCCResultType", "(", "MVT", "VT", ")", "const", "{", "return", "MVT", "::", "i1", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["IA64", "IA64", "MVT::i1"], "File": "IA64ISelLowering", "Func": "getSetCCResultType", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2697, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "MINA32TargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "&", "MI", ",", "MachineBasicBlock", "*", "MBB", ")", "const", "{", "llvm_unreachable", "(", "\"EmitInstrWithCustomInserter() unimplemented\"", ")", ";", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "."], "TS_V_token": ["MINA32", "MINA32", "\"EmitInstrWithCustomInserter() unimplemented\""], "File": "MINA32ISelLowering", "Func": "EmitInstrWithCustomInserter", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2698, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "struct", "machine_function", "*", "pru_init_machine_status", "(", "void", ")", "{", "return", "ggc_cleared_alloc", "<", "machine_function", ">", "(", ")", ";", "}", ""], "natrual_language": ["Allocate", "a", "chunk", "of", "memory", "for", "per-function", "machine-dependent", "data", "."], "TS_V_token": ["pru"], "File": "pru", "Func": "pru_init_machine_status", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2699, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Function", "*", "AMDGPUIntrinsicInfo", "::", "getDeclaration", "(", "Module", "*", "M", ",", "unsigned", "IntrID", ",", "Type", "*", "*", "Tys", ",", "unsigned", "numTys", ")", "const", "{", "llvm_unreachable", "(", "\"Not implemented\"", ")", ";", "}", ""], "natrual_language": ["Create", "or", "insert", "an", "LLVM", "Function", "declaration", "for", "an", "intrinsic", ",", "and", "return", "it", "."], "TS_V_token": ["R600", "\"Not implemented\""], "File": "AMDILIntrinsicInfo", "Func": "getDeclaration", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2700, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "xstormy16_expand_iorqi3", "(", "rtx", "*", "operands", ")", "{", "rtx", "in", ",", "out", ",", "outsub", ",", "val", ";", "out", "=", "operands", "[", "0", "]", ";", "in", "=", "operands", "[", "1", "]", ";", "val", "=", "operands", "[", "2", "]", ";", "if", "(", "xstormy16_onebit_set_operand", "(", "val", ",", "QImode", ")", ")", "{", "if", "(", "!", "xstormy16_below100_or_register", "(", "in", ",", "QImode", ")", ")", "in", "=", "copy_to_mode_reg", "(", "QImode", ",", "in", ")", ";", "if", "(", "!", "xstormy16_below100_or_register", "(", "out", ",", "QImode", ")", ")", "out", "=", "gen_reg_rtx", "(", "QImode", ")", ";", "emit_insn", "(", "gen_iorqi3_internal", "(", "out", ",", "in", ",", "val", ")", ")", ";", "if", "(", "out", "!=", "operands", "[", "0", "]", ")", "emit_move_insn", "(", "operands", "[", "0", "]", ",", "out", ")", ";", "return", ";", "}", "if", "(", "GET_CODE", "(", "in", ")", "!=", "REG", ")", "in", "=", "copy_to_mode_reg", "(", "QImode", ",", "in", ")", ";", "if", "(", "GET_CODE", "(", "val", ")", "!=", "REG", "&&", "GET_CODE", "(", "val", ")", "!=", "CONST_INT", ")", "val", "=", "copy_to_mode_reg", "(", "QImode", ",", "val", ")", ";", "if", "(", "GET_CODE", "(", "out", ")", "!=", "REG", ")", "out", "=", "gen_reg_rtx", "(", "QImode", ")", ";", "in", "=", "simplify_gen_subreg", "(", "HImode", ",", "in", ",", "QImode", ",", "0", ")", ";", "outsub", "=", "simplify_gen_subreg", "(", "HImode", ",", "out", ",", "QImode", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "val", ")", "!=", "CONST_INT", ")", "val", "=", "simplify_gen_subreg", "(", "HImode", ",", "val", ",", "QImode", ",", "0", ")", ";", "emit_insn", "(", "gen_iorhi3", "(", "outsub", ",", "in", ",", "val", ")", ")", ";", "if", "(", "out", "!=", "operands", "[", "0", "]", ")", "emit_move_insn", "(", "operands", "[", "0", "]", ",", "out", ")", ";", "}", ""], "natrual_language": ["Expand", "an", "8-bit", "IOR", ".", "This", "either", "detects", "the", "one", "case", "we", "can", "actually", "do", ",", "or", "uses", "a", "16-bit", "IOR", "."], "TS_V_token": ["stormy16", "0", "1", "2", "0", "0", "0", "0", "0", "0", "0"], "File": "stormy163", "Func": "xstormy16_expand_iorqi3", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2701, "Length": 257, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_can_change_mode_class", "(", "machine_mode", ",", "machine_mode", ",", "reg_class_t", "rclass", ")", "{", "return", "!", "reg_classes_intersect_p", "(", "FP_REGS", ",", "rclass", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CAN_CHANGE_MODE_CLASS", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_can_change_mode_class", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2702, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isReg", "(", ")", "const", "override", "{", "return", "isGPRAsmReg", "(", ")", "&&", "RegIdx", ".", "Index", "==", "0", ";", "}", ""], "natrual_language": ["isReg", "-", "Is", "this", "a", "register", "operand", "?"], "TS_V_token": ["Mips", "0"], "File": "MipsAsmParser (2)4", "Func": "isReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2703, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "AMDGPUAsmPrinter", "::", "lowerConstant", "(", "const", "Constant", "*", "CV", ")", "{", "if", "(", "const", "MCExpr", "*", "E", "=", "lowerAddrSpaceCast", "(", "TM", ",", "CV", ",", "OutContext", ")", ")", "return", "E", ";", "return", "AsmPrinter", "::", "lowerConstant", "(", "CV", ")", ";", "}", ""], "natrual_language": ["Lower", "the", "specified", "LLVM", "Constant", "to", "an", "MCExpr", "."], "TS_V_token": ["AMDGPU", "AMDGPU"], "File": "AMDGPUMCInstLower18", "Func": "lowerConstant", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2704, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "CSKYInstrInfo", "::", "getGlobalBaseReg", "(", "MachineFunction", "&", "MF", ")", "const", "{", "CSKYMachineFunctionInfo", "*", "CFI", "=", "MF", ".", "getInfo", "<", "CSKYMachineFunctionInfo", ">", "(", ")", ";", "MachineConstantPool", "*", "MCP", "=", "MF", ".", "getConstantPool", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "Register", "GlobalBaseReg", "=", "CFI", "->", "getGlobalBaseReg", "(", ")", ";", "if", "(", "GlobalBaseReg", "!=", "0", ")", "return", "GlobalBaseReg", ";", "MachineBasicBlock", "&", "FirstMBB", "=", "MF", ".", "front", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "FirstMBB", ".", "begin", "(", ")", ";", "DebugLoc", "DL", ";", "CSKYConstantPoolValue", "*", "CPV", "=", "CSKYConstantPoolSymbol", "::", "Create", "(", "Type", "::", "getInt32Ty", "(", "MF", ".", "getFunction", "(", ")", ".", "getContext", "(", ")", ")", ",", "\"_GLOBAL_OFFSET_TABLE_\"", ",", "0", ",", "CSKYCP", "::", "ADDR", ")", ";", "unsigned", "CPI", "=", "MCP", "->", "getConstantPoolIndex", "(", "CPV", ",", "Align", "(", "4", ")", ")", ";", "MachineMemOperand", "*", "MO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getConstantPool", "(", "MF", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "4", ",", "Align", "(", "4", ")", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "DL", ",", "get", "(", "CSKY", "::", "LRW32", ")", ",", "CSKY", "::", "R28", ")", ".", "addConstantPoolIndex", "(", "CPI", ")", ".", "addMemOperand", "(", "MO", ")", ";", "GlobalBaseReg", "=", "MRI", ".", "createVirtualRegister", "(", "&", "CSKY", "::", "GPRRegClass", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "DL", ",", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "GlobalBaseReg", ")", ".", "addReg", "(", "CSKY", "::", "R28", ")", ";", "CFI", "->", "setGlobalBaseReg", "(", "GlobalBaseReg", ")", ";", "return", "GlobalBaseReg", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["CSKY", "CSKY", "CSKY", "CSKY", "0", "CSKY", "CSKY", "\"_GLOBAL_OFFSET_TABLE_\"", "0", "CSKYCP::ADDR", "4", "4", "4", "CSKY::LRW32", "CSKY::R28", "CSKY::GPRRegClass", "CSKY::R28"], "File": "CSKYInstrInfo1", "Func": "getGlobalBaseReg", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2705, "Length": 238, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "NVPTXPrologEpilogPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "TargetMachine", "&", "TM", "=", "MF", ".", "getTarget", "(", ")", ";", "const", "TargetFrameLowering", "&", "TFI", "=", "*", "TM", ".", "getFrameLowering", "(", ")", ";", "const", "TargetRegisterInfo", "&", "TRI", "=", "*", "TM", ".", "getRegisterInfo", "(", ")", ";", "bool", "Modified", "=", "false", ";", "calculateFrameObjectOffsets", "(", "MF", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "BB", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "BB", "!=", "E", ";", "++", "BB", ")", "{", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "BB", "->", "begin", "(", ")", ";", "I", "!=", "BB", "->", "end", "(", ")", ";", "++", "I", ")", "{", "MachineInstr", "*", "MI", "=", "I", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "MI", "->", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "if", "(", "!", "MI", "->", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "continue", ";", "TRI", ".", "eliminateFrameIndex", "(", "MI", ",", "0", ",", "i", ",", "NULL", ")", ";", "Modified", "=", "true", ";", "}", "}", "}", "TFI", ".", "emitPrologue", "(", "MF", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "I", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "!", "I", "->", "empty", "(", ")", "&&", "I", "->", "back", "(", ")", ".", "isReturn", "(", ")", ")", "TFI", ".", "emitEpilogue", "(", "MF", ",", "*", "I", ")", ";", "}", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["NVPTX", "NVPTX", "0", "0"], "File": "NVPTXPrologEpilogPass", "Func": "runOnMachineFunction", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2706, "Length": 244, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86CallLowering", "::", "lowerReturn", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Value", "*", "Val", ",", "unsigned", "VReg", ")", "const", "{", "if", "(", "Val", ")", "return", "false", ";", "MIRBuilder", ".", "buildInstr", "(", "X86", "::", "RET", ")", ".", "addImm", "(", "0", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "hook", "behaves", "as", "the", "extended", "lowerReturn", "function", ",", "but", "for", "targets", "that", "do", "not", "support", "swifterror", "value", "promotion", "."], "TS_V_token": ["X86", "X86", "X86::RET", "0"], "File": "X86CallLowering4", "Func": "lowerReturn", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2707, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "nds32_expand_prologue", "(", "void", ")", "{", "int", "fp_adjust", ";", "int", "sp_adjust", ";", "int", "en4_const", ";", "rtx", "Rb", ",", "Re", ";", "rtx", "fp_adjust_insn", ",", "sp_adjust_insn", ";", "nds32_compute_stack_frame", "(", ")", ";", "if", "(", "cfun", "->", "machine", "->", "va_args_size", "!=", "0", ")", "{", "Rb", "=", "gen_rtx_REG", "(", "SImode", ",", "cfun", "->", "machine", "->", "va_args_first_regno", ")", ";", "Re", "=", "gen_rtx_REG", "(", "SImode", ",", "cfun", "->", "machine", "->", "va_args_last_regno", ")", ";", "nds32_emit_stack_push_multiple", "(", "Rb", ",", "Re", ",", "GEN_INT", "(", "0", ")", ",", "true", ")", ";", "if", "(", "cfun", "->", "machine", "->", "va_args_area_padding_bytes", ")", "{", "sp_adjust", "=", "cfun", "->", "machine", "->", "va_args_area_padding_bytes", ";", "sp_adjust_insn", "=", "gen_addsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "-", "1", "*", "sp_adjust", ")", ")", ";", "sp_adjust_insn", "=", "emit_insn", "(", "sp_adjust_insn", ")", ";", "RTX_FRAME_RELATED_P", "(", "sp_adjust_insn", ")", "=", "1", ";", "}", "}", "if", "(", "cfun", "->", "machine", "->", "naked_p", ")", "return", ";", "Rb", "=", "gen_rtx_REG", "(", "SImode", ",", "cfun", "->", "machine", "->", "callee_saved_first_gpr_regno", ")", ";", "Re", "=", "gen_rtx_REG", "(", "SImode", ",", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", ")", ";", "en4_const", "=", "0", ";", "if", "(", "cfun", "->", "machine", "->", "fp_size", ")", "en4_const", "+=", "8", ";", "if", "(", "cfun", "->", "machine", "->", "gp_size", ")", "en4_const", "+=", "4", ";", "if", "(", "cfun", "->", "machine", "->", "lp_size", ")", "en4_const", "+=", "2", ";", "if", "(", "!", "(", "REGNO", "(", "Rb", ")", "==", "SP_REGNUM", "&&", "REGNO", "(", "Re", ")", "==", "SP_REGNUM", "&&", "en4_const", "==", "0", ")", ")", "{", "nds32_emit_stack_push_multiple", "(", "Rb", ",", "Re", ",", "GEN_INT", "(", "en4_const", ")", ",", "false", ")", ";", "}", "if", "(", "frame_pointer_needed", ")", "{", "fp_adjust", "=", "cfun", "->", "machine", "->", "fp_size", "+", "cfun", "->", "machine", "->", "gp_size", "+", "cfun", "->", "machine", "->", "lp_size", "+", "cfun", "->", "machine", "->", "callee_saved_gpr_regs_size", ";", "fp_adjust_insn", "=", "gen_addsi3", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "fp_adjust", ")", ")", ";", "fp_adjust_insn", "=", "emit_insn", "(", "fp_adjust_insn", ")", ";", "RTX_FRAME_RELATED_P", "(", "fp_adjust_insn", ")", "=", "1", ";", "}", "sp_adjust", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", "+", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", ";", "sp_adjust", "=", "nds32_force_addi_stack_int", "(", "(", "-", "1", ")", "*", "sp_adjust", ")", ";", "if", "(", "sp_adjust", ")", "{", "sp_adjust_insn", "=", "gen_addsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "-", "1", "*", "sp_adjust", ")", ")", ";", "sp_adjust_insn", "=", "emit_insn", "(", "sp_adjust_insn", ")", ";", "RTX_FRAME_RELATED_P", "(", "sp_adjust_insn", ")", "=", "1", ";", "}", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "}", ""], "natrual_language": ["Function", "for", "normal", "multiple", "push", "prologue", "."], "TS_V_token": ["nds32", "0", "0", "1", "1", "0", "8", "4", "2", "0", "1", "1", "1", "1"], "File": "nds322", "Func": "nds32_expand_prologue", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2708, "Length": 382, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCGNode", "*", "getNode", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "for", "(", "MCGNodes", "::", "const_iterator", "i", "(", "MCG", ".", "getNodes", "(", ")", ".", "begin", "(", ")", ")", ",", "ie", "(", "MCG", ".", "getNodes", "(", ")", ".", "end", "(", ")", ")", ";", "i", "!=", "ie", ";", "i", "++", ")", "{", "if", "(", "(", "*", "i", ")", "->", "getMF", "(", ")", "==", "MF", ")", "return", "*", "i", ";", "}", "return", "NULL", ";", "}", ""], "natrual_language": ["getNode", "{"], "TS_V_token": ["Patmos"], "File": "PatmosCallGraphBuilder", "Func": "getNode", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 2709, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "SmallString", "<", "128", ">", "Str", ";", "raw_svector_ostream", "OS", "(", "Str", ")", ";", "printInstruction", "(", "MI", ",", "OS", ")", ";", "OutStreamer", ".", "EmitRawText", "(", "OS", ".", "str", "(", ")", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["CellSPU", "128"], "File": "SPUAsmPrinter", "Func": "EmitInstruction", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2710, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "bool", "mips_lo_sum_offset_hasher", "::", "equal", "(", "const", "value_type", "*", "entry", ",", "const", "compare_type", "*", "value", ")", "{", "return", "rtx_equal_p", "(", "entry", "->", "base", ",", "value", ")", ";", "}", ""], "natrual_language": ["Compare", "H1", "and", "H2", "for", "equivalence", "."], "TS_V_token": ["mips"], "File": "mips4", "Func": "equal", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2711, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "emit_new_cond_insn", "(", "rtx_insn", "*", "insn", ",", "int", "cond", ")", "{", "rtx", "c_insn", "=", "0", ";", "rtx", "pat", ",", "dst", ",", "src", ";", "cond_type", "num", ";", "if", "(", "(", "num", "=", "is_cond_candidate", "(", "insn", ")", ")", "==", "COND_NO", ")", "return", "NULL", ";", "pat", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "NONJUMP_INSN_P", "(", "insn", ")", ")", "{", "dst", "=", "SET_DEST", "(", "pat", ")", ";", "src", "=", "SET_SRC", "(", "pat", ")", ";", "}", "else", "{", "dst", "=", "JUMP_LABEL", "(", "insn", ")", ";", "src", "=", "NULL_RTX", ";", "}", "switch", "(", "num", ")", "{", "case", "COND_MOV_INSN", ":", "case", "COND_CLR_INSN", ":", "if", "(", "cond", ")", "c_insn", "=", "gen_movt0", "(", "dst", ",", "src", ",", "dst", ")", ";", "else", "c_insn", "=", "gen_movt0", "(", "dst", ",", "dst", ",", "src", ")", ";", "break", ";", "case", "COND_INC_INSN", ":", "if", "(", "cond", ")", "c_insn", "=", "gen_incscc", "(", "dst", ",", "dst", ")", ";", "else", "c_insn", "=", "gen_incscc_false", "(", "dst", ",", "dst", ")", ";", "break", ";", "case", "COND_DEC_INSN", ":", "if", "(", "cond", ")", "c_insn", "=", "gen_decscc", "(", "dst", ",", "dst", ")", ";", "else", "c_insn", "=", "gen_decscc_false", "(", "dst", ",", "dst", ")", ";", "break", ";", "case", "COND_BRANCH_INSN", ":", "if", "(", "cond", ")", "c_insn", "=", "gen_branch_true", "(", "dst", ")", ";", "else", "c_insn", "=", "gen_branch_false", "(", "dst", ")", ";", "break", ";", "default", ":", "return", "NULL", ";", "}", "if", "(", "rtx_length", "[", "GET_CODE", "(", "c_insn", ")", "]", ">=", "7", "&&", "rtx_length", "[", "GET_CODE", "(", "insn", ")", "]", ">=", "7", ")", "{", "REG_NOTES", "(", "c_insn", ")", "=", "REG_NOTES", "(", "insn", ")", ";", "}", "if", "(", "num", "==", "COND_BRANCH_INSN", ")", "{", "c_insn", "=", "emit_jump_insn_before", "(", "c_insn", ",", "insn", ")", ";", "++", "LABEL_NUSES", "(", "dst", ")", ";", "JUMP_LABEL", "(", "c_insn", ")", "=", "dst", ";", "}", "else", "c_insn", "=", "emit_insn_after", "(", "c_insn", ",", "insn", ")", ";", "delete_insn", "(", "insn", ")", ";", "return", "as_a", "<", "rtx_insn", "*", ">", "(", "c_insn", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "conditional", "version", "of", "insn", "and", "replace", "the", "old", "insn", "with", "the", "new", "one", ".", "Return", "the", "new", "insn", "if", "emitted", "."], "TS_V_token": ["mcore", "0", "7", "7"], "File": "mcore", "Func": "emit_new_cond_insn", "Target": "mcore", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2712, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"Convert LLVM vector types to their element types\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["NVPTX", "\"Convert LLVM vector types to their element types\""], "File": "VectorElementize", "Func": "getPassName", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2713, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "BPFRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "BPF", "::", "R10", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["BPF", "BPF", "BPF::R10"], "File": "BPFRegisterInfo14", "Func": "getFrameRegister", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2714, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "Z80TargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "const", "SDLoc", "&", "DL", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "Z80MachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "Z80MachineFunctionInfo", ">", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "MF", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeFormalArguments", "(", "Ins", ",", "getCCAssignFn", "(", "CallConv", ")", ")", ";", "if", "(", "MFI", ".", "hasVAStart", "(", ")", ")", "FuncInfo", "->", "setVarArgsFrameIndex", "(", "MFI", ".", "CreateFixedObject", "(", "1", ",", "CCInfo", ".", "getNextStackOffset", "(", ")", ",", "true", ")", ")", ";", "SDValue", "ArgValue", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "ArgLocs", ".", "size", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "CCValAssign", "&", "VA", "=", "ArgLocs", "[", "I", "]", ";", "int", "FI", "=", "MFI", ".", "CreateFixedObject", "(", "VA", ".", "getLocVT", "(", ")", ".", "getStoreSize", "(", ")", ",", "VA", ".", "getLocMemOffset", "(", ")", ",", "true", ")", ";", "SDValue", "Val", "=", "DAG", ".", "getLoad", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "AExt", "?", "VA", ".", "getValVT", "(", ")", ":", "VA", ".", "getLocVT", "(", ")", ",", "DL", ",", "Chain", ",", "DAG", ".", "getFrameIndex", "(", "FI", ",", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ")", ",", "MachinePointerInfo", "::", "getFixedStack", "(", "DAG", ".", "getMachineFunction", "(", ")", ",", "FI", ")", ")", ";", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "ZExt", ")", "{", "MFI", ".", "setObjectZExt", "(", "FI", ",", "true", ")", ";", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "AssertZext", ",", "DL", ",", "VA", ".", "getLocVT", "(", ")", ",", "Val", ",", "DAG", ".", "getValueType", "(", "VA", ".", "getValVT", "(", ")", ")", ")", ";", "}", "else", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "SExt", ")", "{", "MFI", ".", "setObjectSExt", "(", "FI", ",", "true", ")", ";", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "AssertSext", ",", "DL", ",", "VA", ".", "getLocVT", "(", ")", ",", "Val", ",", "DAG", ".", "getValueType", "(", "VA", ".", "getValVT", "(", ")", ")", ")", ";", "}", "InVals", ".", "push_back", "(", "DAG", ".", "getNode", "(", "ISD", "::", "TRUNCATE", ",", "DL", ",", "VA", ".", "getValVT", "(", ")", ",", "Val", ")", ")", ";", "}", "return", "Chain", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "the", "Ins", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["Z80", "Z80", "ISD::InputArg", "Z80", "Z80", "16", "1", "0", "ISD::AssertZext", "ISD::AssertSext", "ISD::TRUNCATE"], "File": "Z80ISelLowering2", "Func": "LowerFormalArguments", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2715, "Length": 418, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "apply_tail_policy_p", "(", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["We", "choose", "to", "apply", "tail", "policy", "operand", "by", "default", "since", "most", "of", "the", "intrinsics", "has", "tail", "policy", "operand", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins-bases", "Func": "apply_tail_policy_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2716, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "XCoreFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "const", "XCoreInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "XCoreInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "XCoreFunctionInfo", "*", "XFI", "=", "MF", ".", "getInfo", "<", "XCoreFunctionInfo", ">", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "bool", "FP", "=", "hasFP", "(", "MF", ")", ";", "if", "(", "FP", ")", "{", "unsigned", "FramePtr", "=", "XCore", "::", "R10", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "XCore", "::", "SETSP_1r", ")", ")", ".", "addReg", "(", "FramePtr", ")", ";", "}", "int", "FrameSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "assert", "(", "FrameSize", "%", "4", "==", "0", "&&", "\"Misaligned frame size\"", ")", ";", "FrameSize", "/=", "4", ";", "bool", "isU6", "=", "isImmU6", "(", "FrameSize", ")", ";", "if", "(", "!", "isU6", "&&", "!", "isImmU16", "(", "FrameSize", ")", ")", "{", "report_fatal_error", "(", "\"emitEpilogue Frame size too big: \"", "+", "Twine", "(", "FrameSize", ")", ")", ";", "}", "if", "(", "FP", ")", "{", "int", "FPSpillOffset", "=", "MFI", "->", "getObjectOffset", "(", "XFI", "->", "getFPSpillSlot", "(", ")", ")", ";", "FPSpillOffset", "+=", "FrameSize", "*", "4", ";", "loadFromStack", "(", "MBB", ",", "MBBI", ",", "XCore", "::", "R10", ",", "FPSpillOffset", ",", "dl", ",", "TII", ")", ";", "}", "bool", "restoreLR", "=", "XFI", "->", "getUsesLR", "(", ")", ";", "if", "(", "restoreLR", "&&", "(", "FrameSize", "==", "0", "||", "MFI", "->", "getObjectOffset", "(", "XFI", "->", "getLRSpillSlot", "(", ")", ")", "!=", "0", ")", ")", "{", "int", "LRSpillOffset", "=", "MFI", "->", "getObjectOffset", "(", "XFI", "->", "getLRSpillSlot", "(", ")", ")", ";", "LRSpillOffset", "+=", "FrameSize", "*", "4", ";", "loadFromStack", "(", "MBB", ",", "MBBI", ",", "XCore", "::", "LR", ",", "LRSpillOffset", ",", "dl", ",", "TII", ")", ";", "restoreLR", "=", "false", ";", "}", "if", "(", "FrameSize", ")", "{", "if", "(", "restoreLR", ")", "{", "assert", "(", "MFI", "->", "getObjectOffset", "(", "XFI", "->", "getLRSpillSlot", "(", ")", ")", "==", "0", ")", ";", "assert", "(", "MBBI", "->", "getOpcode", "(", ")", "==", "XCore", "::", "RETSP_u6", "||", "MBBI", "->", "getOpcode", "(", ")", "==", "XCore", "::", "RETSP_lu6", ")", ";", "int", "Opcode", "=", "(", "isU6", ")", "?", "XCore", "::", "RETSP_u6", ":", "XCore", "::", "RETSP_lu6", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Opcode", ")", ")", ".", "addImm", "(", "FrameSize", ")", ";", "MBB", ".", "erase", "(", "MBBI", ")", ";", "}", "else", "{", "int", "Opcode", "=", "(", "isU6", ")", "?", "XCore", "::", "LDAWSP_ru6", ":", "XCore", "::", "LDAWSP_lru6", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Opcode", ")", ",", "XCore", "::", "SP", ")", ".", "addImm", "(", "FrameSize", ")", ";", "}", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["XCore", "XCore", "XCore", "XCore", "XCore", "XCore", "XCore::R10", "XCore::SETSP_1r", "4", "0", "\"Misaligned frame size\"", "4", "\"emitEpilogue Frame size too big: \"", "4", "XCore::R10", "0", "0", "4", "XCore::LR", "0", "XCore::RETSP_u6", "XCore::RETSP_lu6", "XCore::RETSP_u6", "XCore::RETSP_lu6", "XCore::LDAWSP_ru6", "XCore::LDAWSP_lru6", "XCore::SP"], "File": "XCoreFrameLowering58", "Func": "emitEpilogue", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2717, "Length": 437, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "gen_stdcall_or_fastcall_decoration", "(", "tree", "decl", ",", "char", "prefix", ")", "{", "unsigned", "total", "=", "0", ";", "const", "char", "*", "asmname", "=", "IDENTIFIER_POINTER", "(", "DECL_ASSEMBLER_NAME", "(", "decl", ")", ")", ";", "char", "*", "newsym", ";", "tree", "formal_type", "=", "TYPE_ARG_TYPES", "(", "TREE_TYPE", "(", "decl", ")", ")", ";", "if", "(", "formal_type", "!=", "NULL_TREE", ")", "{", "if", "(", "TREE_VALUE", "(", "tree_last", "(", "formal_type", ")", ")", "!=", "void_type_node", ")", "return", "NULL_TREE", ";", "while", "(", "TREE_VALUE", "(", "formal_type", ")", "!=", "void_type_node", "&&", "COMPLETE_TYPE_P", "(", "TREE_VALUE", "(", "formal_type", ")", ")", ")", "{", "unsigned", "parm_size", "=", "TREE_INT_CST_LOW", "(", "TYPE_SIZE", "(", "TREE_VALUE", "(", "formal_type", ")", ")", ")", ";", "parm_size", "=", "(", "(", "parm_size", "+", "PARM_BOUNDARY", "-", "1", ")", "/", "PARM_BOUNDARY", "*", "PARM_BOUNDARY", ")", ";", "total", "+=", "parm_size", ";", "formal_type", "=", "TREE_CHAIN", "(", "formal_type", ")", ";", "}", "}", "newsym", "=", "alloca", "(", "1", "+", "strlen", "(", "asmname", ")", "+", "1", "+", "10", "+", "1", ")", ";", "return", "get_identifier_with_length", "(", "newsym", ",", "sprintf", "(", "newsym", ",", "\"%c%s@%u\"", ",", "prefix", ",", "asmname", ",", "total", "/", "BITS_PER_UNIT", ")", ")", ";", "}", ""], "natrual_language": ["Return", "string", "which", "is", "the", "former", "assembler", "name", "modified", "with", "an", "underscore", "prefix", "and", "a", "suffix", "consisting", "of", "an", "atsign", "(", "@", ")", "followed", "by", "the", "number", "of", "bytes", "of", "arguments"], "TS_V_token": ["i386", "0", "1", "1", "1", "10", "1", "\"%c%s@%u\""], "File": "netware", "Func": "gen_stdcall_or_fastcall_decoration", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2718, "Length": 167, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "comparator", "(", "const", "void", "*", "va", ",", "const", "void", "*", "vb", ")", "{", "const", "char", "*", "a", "=", "*", "(", "const", "char", "*", "const", "*", ")", "va", ";", "const", "char", "*", "b", "=", "*", "(", "const", "char", "*", "const", "*", ")", "vb", ";", "while", "(", "*", "a", "&&", "*", "b", ")", "{", "if", "(", "ISALPHA", "(", "*", "a", ")", "&&", "ISDIGIT", "(", "*", "b", ")", ")", "return", "-", "1", ";", "if", "(", "ISDIGIT", "(", "*", "a", ")", "&&", "ISALPHA", "(", "*", "b", ")", ")", "return", "1", ";", "if", "(", "*", "a", "!=", "*", "b", ")", "return", "*", "a", "-", "*", "b", ";", "a", "++", ";", "b", "++", ";", "}", "return", "*", "a", "-", "*", "b", ";", "}", ""], "natrual_language": ["Compare", "two", "MCUs", "and", "order", "them", "for", "easy", "lookup", "."], "TS_V_token": ["avr", "1", "1"], "File": "avr-devices2", "Func": "comparator", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2719, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "reg_class_t", "arc_secondary_reload", "(", "bool", "in_p", ",", "rtx", "x", ",", "reg_class_t", "cl", ",", "machine_mode", "mode", ",", "secondary_reload_info", "*", "sri", ")", "{", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "x", ")", ";", "if", "(", "cl", "==", "DOUBLE_REGS", ")", "return", "GENERAL_REGS", ";", "if", "(", "code", "==", "SUBREG", ")", "{", "rtx", "addr", "=", "NULL_RTX", ";", "x", "=", "SUBREG_REG", "(", "x", ")", ";", "if", "(", "REG_P", "(", "x", ")", ")", "{", "int", "regno", "=", "REGNO", "(", "x", ")", ";", "if", "(", "regno", ">=", "FIRST_PSEUDO_REGISTER", ")", "regno", "=", "reg_renumber", "[", "regno", "]", ";", "if", "(", "regno", "!=", "-", "1", ")", "return", "NO_REGS", ";", "if", "(", "!", "lra_in_progress", "&&", "reg_equiv_mem", "(", "REGNO", "(", "x", ")", ")", ")", "{", "rtx", "mem", "=", "reg_equiv_mem", "(", "REGNO", "(", "x", ")", ")", ";", "addr", "=", "find_replacement", "(", "&", "XEXP", "(", "mem", ",", "0", ")", ")", ";", "}", "}", "else", "{", "gcc_assert", "(", "MEM_P", "(", "x", ")", ")", ";", "addr", "=", "XEXP", "(", "x", ",", "0", ")", ";", "addr", "=", "simplify_rtx", "(", "addr", ")", ";", "}", "if", "(", "addr", "&&", "GET_CODE", "(", "addr", ")", "==", "PLUS", "&&", "CONST_INT_P", "(", "XEXP", "(", "addr", ",", "1", ")", ")", "&&", "(", "!", "RTX_OK_FOR_OFFSET_P", "(", "mode", ",", "XEXP", "(", "addr", ",", "1", ")", ")", ")", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "sri", "->", "icode", "=", "in_p", "?", "CODE_FOR_reload_qi_load", ":", "CODE_FOR_reload_qi_store", ";", "break", ";", "case", "E_HImode", ":", "sri", "->", "icode", "=", "in_p", "?", "CODE_FOR_reload_hi_load", ":", "CODE_FOR_reload_hi_store", ";", "break", ";", "default", ":", "break", ";", "}", "}", "}", "return", "NO_REGS", ";", "}", ""], "natrual_language": ["For", "ARC", "base", "register", "+", "offset", "addressing", ",", "the", "validity", "of", "the", "address", "is", "mode-dependent", "for", "most", "of", "the", "offset", "range", ",", "as", "the", "offset", "can", "be", "scaled", "by", "the", "access", "size", ".", "We", "do", "n't", "expose", "these", "as", "mode-dependent", "addresses", "in", "the", "mode_dependent_address_p", "target", "hook", ",", "because", "that", "would", "disable", "lots", "of", "optimizations", ",", "and", "most", "uses", "of", "these", "addresses", "are", "for", "32", "or", "64", "bit", "accesses", "anyways", ",", "which", "are", "fine", ".", "However", ",", "that", "leaves", "some", "addresses", "for", "8", "/", "16", "bit", "values", "not", "properly", "reloaded", "by", "the", "generic", "code", ",", "which", "is", "why", "we", "have", "to", "schedule", "secondary", "reloads", "for", "these", "."], "TS_V_token": ["arc", "1", "0", "0", "1", "1"], "File": "arc", "Func": "arc_secondary_reload", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2720, "Length": 247, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "Lanai", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["Lanai", "Lanai::NumTargetFixupKinds"], "File": "LanaiAsmBackend", "Func": "getNumFixupKinds", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2721, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FISCRegisterInfo", "::", "useFPForScavengingIndex", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "wants", "to", "use", "frame", "pointer", "based", "accesses", "to", "spill", "to", "the", "scavenger", "emergency", "spill", "slot", "."], "TS_V_token": ["FISC", "FISC"], "File": "FISCRegisterInfo", "Func": "useFPForScavengingIndex", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2722, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_reassociation_width", "(", "unsigned", "int", "opc", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ")", "{", "switch", "(", "rs6000_tune", ")", "{", "case", "PROCESSOR_POWER8", ":", "case", "PROCESSOR_POWER9", ":", "case", "PROCESSOR_POWER10", ":", "if", "(", "DECIMAL_FLOAT_MODE_P", "(", "mode", ")", ")", "return", "1", ";", "if", "(", "VECTOR_MODE_P", "(", "mode", ")", ")", "return", "4", ";", "if", "(", "INTEGRAL_MODE_P", "(", "mode", ")", ")", "return", "1", ";", "if", "(", "FLOAT_MODE_P", "(", "mode", ")", ")", "return", "4", ";", "break", ";", "default", ":", "break", ";", "}", "return", "1", ";", "}", ""], "natrual_language": ["Determine", "the", "reassociation", "width", "to", "be", "used", "in", "reassociate_bb", ".", "This", "takes", "into", "account", "how", "many", "parallel", "operations", "we", "can", "actually", "do", "of", "a", "given", "type", ",", "and", "also", "the", "latency", ".", "P8", ":", "int", "add/sub", "6/cycle", "mul", "2/cycle", "vect", "add/sub/mul", "2/cycle", "fp", "add/sub/mul", "2/cycle", "dfp", "1/cycle"], "TS_V_token": ["rs6000", "1", "4", "1", "4", "1"], "File": "rs6000", "Func": "rs6000_reassociation_width", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2723, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "J2FrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "DebugLoc", "DL", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "J2", "::", "MOV32mrpop", ")", ",", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ")", ".", "addReg", "(", "J2", "::", "R15", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["restoreCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "restore", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "load", "instructions", "via", "loadRegToStackSlot", "(", ")", "."], "TS_V_token": ["J2", "J2", "0", "J2::MOV32mrpop", "J2::R15"], "File": "J2FrameLowering", "Func": "restoreCalleeSavedRegisters", "Target": "J2", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2724, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "first_altivec_reg_to_save", "(", "void", ")", "{", "int", "i", ";", "if", "(", "!", "TARGET_ALTIVEC_ABI", ")", "return", "LAST_ALTIVEC_REGNO", "+", "1", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_DARWIN", "&&", "crtl", "->", "calls_eh_return", "&&", "!", "TARGET_ALTIVEC", ")", "return", "FIRST_ALTIVEC_REGNO", "+", "20", ";", "for", "(", "i", "=", "FIRST_ALTIVEC_REGNO", "+", "20", ";", "i", "<=", "LAST_ALTIVEC_REGNO", ";", "++", "i", ")", "if", "(", "save_reg_p", "(", "i", ")", ")", "break", ";", "return", "i", ";", "}", ""], "natrual_language": ["Similar", ",", "for", "AltiVec", "regs", "."], "TS_V_token": ["powerpcspe", "1", "20", "20"], "File": "powerpcspe", "Func": "first_altivec_reg_to_save", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2725, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMSubtarget", "::", "enableAtomicExpand", "(", ")", "const", "{", "return", "hasAnyDataBarrier", "(", ")", ";", "}", ""], "natrual_language": ["True", "if", "the", "subtarget", "should", "run", "the", "atomic", "expansion", "pass", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMSubtarget", "Func": "enableAtomicExpand", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2726, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "AArch64MachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "AArch64MachineFunctionInfo", ">", "(", ")", ";", "if", "(", "MFI", "->", "getNumLocalDynamicTLSAccesses", "(", ")", "<", "2", ")", "{", "return", "false", ";", "}", "MachineDominatorTree", "*", "DT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "return", "VisitNode", "(", "DT", "->", "getRootNode", "(", ")", ",", "0", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "2", "0"], "File": "AArch64InstrInfo101", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2727, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "char", "*", "describe_cache", "(", "unsigned", "l1_sizekb", ",", "unsigned", "l1_line", ",", "unsigned", "l1_assoc", "ATTRIBUTE_UNUSED", ",", "unsigned", "l2_sizekb", ")", "{", "char", "l1size", "[", "1000", "]", ",", "line", "[", "1000", "]", ",", "l2size", "[", "1000", "]", ";", "sprintf", "(", "l1size", ",", "\"--param l1-cache-size=%u\"", ",", "l1_sizekb", ")", ";", "sprintf", "(", "line", ",", "\"--param l1-cache-line-size=%u\"", ",", "l1_line", ")", ";", "sprintf", "(", "l2size", ",", "\"--param l2-cache-size=%u\"", ",", "l2_sizekb", ")", ";", "return", "concat", "(", "l1size", ",", "\" \"", ",", "line", ",", "\" \"", ",", "l2size", ",", "\" \"", ",", "NULL", ")", ";", "}", ""], "natrual_language": ["Returns", "parameters", "that", "describe", "L1_ASSOC", "associative", "cache", "of", "size", "L1_SIZEKB", "with", "lines", "of", "size", "L1_LINE", ",", "and", "L2_SIZEKB", "."], "TS_V_token": ["rs6000", "1000", "1000", "1000", "\"--param l1-cache-size=%u\"", "\"--param l1-cache-line-size=%u\"", "\"--param l2-cache-size=%u\"", "\" \"", "\" \"", "\" \""], "File": "driver-rs6000", "Func": "describe_cache", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2728, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_multi_set_operand", "(", "unsigned", "int", "i", ",", "unsigned", "int", "op", ",", "rtx", "x", ")", "{", "mips_multi_members", "[", "i", "]", ".", "operands", "[", "op", "]", "=", "x", ";", "}", ""], "natrual_language": ["Change", "the", "operand", "of", "an", "existing", "instruction", "in", "the", "current", "multi-insn", "sequence", ".", "I", "is", "the", "index", "of", "the", "instruction", ",", "OP", "is", "the", "index", "of", "the", "operand", ",", "and", "X", "is", "the", "new", "value", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_multi_set_operand", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2729, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "poly_int64", "m32c_push_rounding", "(", "poly_int64", "n", ")", "{", "if", "(", "TARGET_R8C", "||", "TARGET_M16C", ")", "return", "n", ";", "return", "(", "n", "+", "1", ")", "&", "~", "1", ";", "}", ""], "natrual_language": ["Implements", "PUSH_ROUNDING", ".", "The", "R8C", "and", "M16C", "have", "byte", "stacks", ",", "the", "M32C", "has", "word", "stacks", "."], "TS_V_token": ["m32c", "1", "1"], "File": "m32c", "Func": "m32c_push_rounding", "Target": "m32c", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2730, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "sparc_builtin_saveregs", "(", "void", ")", "{", "int", "first_reg", "=", "current_function_args_info", ".", "words", ";", "rtx", "address", ";", "int", "regno", ";", "for", "(", "regno", "=", "first_reg", ";", "regno", "<", "SPARC_INT_ARG_MAX", ";", "regno", "++", ")", "emit_move_insn", "(", "gen_rtx_MEM", "(", "word_mode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "frame_pointer_rtx", ",", "GEN_INT", "(", "FIRST_PARM_OFFSET", "(", "0", ")", "+", "(", "UNITS_PER_WORD", "*", "regno", ")", ")", ")", ")", ",", "gen_rtx_REG", "(", "word_mode", ",", "SPARC_INCOMING_INT_ARG_FIRST", "+", "regno", ")", ")", ";", "address", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "frame_pointer_rtx", ",", "GEN_INT", "(", "FIRST_PARM_OFFSET", "(", "0", ")", "+", "UNITS_PER_WORD", "*", "first_reg", ")", ")", ";", "return", "address", ";", "}", ""], "natrual_language": ["Do", "what", "is", "necessary", "for", "`", "va_start", "'", ".", "We", "look", "at", "the", "current", "function", "to", "determine", "if", "stdarg", "or", "varargs", "is", "used", "and", "return", "the", "address", "of", "the", "first", "unnamed", "parameter", "."], "TS_V_token": ["sparc", "0", "0"], "File": "sparc3", "Func": "sparc_builtin_saveregs", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2731, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLoweringBase", "::", "LegalizeTypeAction", "AArch64TargetLowering", "::", "getPreferredVectorAction", "(", "EVT", "VT", ")", "const", "{", "MVT", "SVT", "=", "VT", ".", "getSimpleVT", "(", ")", ";", "if", "(", "SVT", "==", "MVT", "::", "v1i8", "||", "SVT", "==", "MVT", "::", "v1i16", "||", "SVT", "==", "MVT", "::", "v1i32", "||", "SVT", "==", "MVT", "::", "v1f32", ")", "return", "TypeWidenVector", ";", "if", "(", "VT", ".", "isScalableVector", "(", ")", "&&", "(", "VT", ".", "getVectorNumElements", "(", ")", "==", "1", ")", ")", "return", "TypeWidenVector", ";", "return", "TargetLoweringBase", "::", "getPreferredVectorAction", "(", "VT", ")", ";", "}", ""], "natrual_language": ["Customize", "the", "preferred", "legalization", "strategy", "for", "certain", "types", "."], "TS_V_token": ["AArch64", "AArch64", "MVT::v1i8", "MVT::v1i16", "MVT::v1i32", "MVT::v1f32", "1"], "File": "AArch64ISelLowering102", "Func": "getPreferredVectorAction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2732, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isUnconditionalBranch", "(", "const", "MachineInstr", "&", "MI", ")", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "TPC", "::", "JMPR_u", ")", "return", "true", ";", "return", "(", "MI", ".", "getOpcode", "(", ")", "==", "TPC", "::", "JMPR", "||", "MI", ".", "getOpcode", "(", ")", "==", "TPC", "::", "JMPA", ")", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "TPC", "::", "SP0", "&&", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "==", "0", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "is", "a", "branch", "which", "always", "transfers", "control", "flow", "to", "some", "other", "block", "."], "TS_V_token": ["TPC", "TPC::JMPR_u", "TPC::JMPR", "TPC::JMPA", "1", "TPC::SP0", "2", "0"], "File": "TPCInstrInfo", "Func": "isUnconditionalBranch", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2733, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AMDGPUAsmPrinter", "::", "emitEndOfAsmFile", "(", "Module", "&", "M", ")", "{", "if", "(", "!", "getTargetStreamer", "(", ")", ")", "return", ";", "if", "(", "!", "IsaInfo", "::", "hasCodeObjectV3", "(", "getGlobalSTI", "(", ")", ")", ")", "{", "std", "::", "string", "ISAVersionString", ";", "raw_string_ostream", "ISAVersionStream", "(", "ISAVersionString", ")", ";", "IsaInfo", "::", "streamIsaVersion", "(", "getGlobalSTI", "(", ")", ",", "ISAVersionStream", ")", ";", "getTargetStreamer", "(", ")", "->", "EmitISAVersion", "(", "ISAVersionStream", ".", "str", "(", ")", ")", ";", "}", "if", "(", "TM", ".", "getTargetTriple", "(", ")", ".", "getOS", "(", ")", "==", "Triple", "::", "AMDHSA", ")", "{", "HSAMetadataStream", "->", "end", "(", ")", ";", "bool", "Success", "=", "HSAMetadataStream", "->", "emitTo", "(", "*", "getTargetStreamer", "(", ")", ")", ";", "(", "void", ")", "Success", ";", "assert", "(", "Success", "&&", "\"Malformed HSA Metadata\"", ")", ";", "}", "}", ""], "natrual_language": ["This", "virtual", "method", "can", "be", "overridden", "by", "targets", "that", "want", "to", "emit", "something", "at", "the", "end", "of", "their", "file", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "\"Malformed HSA Metadata\""], "File": "AMDGPUAsmPrinter17", "Func": "emitEndOfAsmFile", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2734, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_complex_function_value", "(", "machine_mode", "mode", ")", "{", "unsigned", "int", "regno", ";", "rtx", "r1", ",", "r2", ";", "machine_mode", "inner", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "unsigned", "int", "inner_bytes", "=", "GET_MODE_UNIT_SIZE", "(", "mode", ")", ";", "if", "(", "TARGET_FLOAT128_TYPE", "&&", "(", "mode", "==", "KCmode", "||", "(", "mode", "==", "TCmode", "&&", "TARGET_IEEEQUAD", ")", ")", ")", "regno", "=", "ALTIVEC_ARG_RETURN", ";", "else", "if", "(", "FLOAT_MODE_P", "(", "mode", ")", "&&", "TARGET_HARD_FLOAT", "&&", "TARGET_FPRS", ")", "regno", "=", "FP_ARG_RETURN", ";", "else", "{", "regno", "=", "GP_ARG_RETURN", ";", "if", "(", "TARGET_32BIT", "&&", "inner_bytes", ">=", "4", ")", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "}", "if", "(", "inner_bytes", ">=", "8", ")", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "r1", "=", "gen_rtx_EXPR_LIST", "(", "inner", ",", "gen_rtx_REG", "(", "inner", ",", "regno", ")", ",", "const0_rtx", ")", ";", "r2", "=", "gen_rtx_EXPR_LIST", "(", "inner", ",", "gen_rtx_REG", "(", "inner", ",", "regno", "+", "1", ")", ",", "GEN_INT", "(", "inner_bytes", ")", ")", ";", "return", "gen_rtx_PARALLEL", "(", "mode", ",", "gen_rtvec", "(", "2", ",", "r1", ",", "r2", ")", ")", ";", "}", ""], "natrual_language": ["Return", "an", "RTX", "representing", "where", "to", "find", "the", "function", "value", "of", "a", "function", "returning", "MODE", "."], "TS_V_token": ["powerpcspe", "4", "8", "1", "2"], "File": "powerpcspe", "Func": "rs6000_complex_function_value", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2735, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "pru_builtin_decl", "(", "unsigned", "code", ",", "bool", "initialize_p", "ATTRIBUTE_UNUSED", ")", "{", "switch", "(", "code", ")", "{", "case", "PRU_BUILTIN_DELAY_CYCLES", ":", "case", "PRU_BUILTIN_HALT", ":", "case", "PRU_BUILTIN_LMBD", ":", "return", "pru_builtins", "[", "code", "]", ";", "default", ":", "return", "error_mark_node", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_BUILTIN_DECL", "."], "TS_V_token": ["pru"], "File": "pru", "Func": "pru_builtin_decl", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2736, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIPostRABundler", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "TRI", "=", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "bool", "Changed", "=", "false", ";", "const", "unsigned", "MemFlags", "=", "SIInstrFlags", "::", "MTBUF", "|", "SIInstrFlags", "::", "MUBUF", "|", "SIInstrFlags", "::", "SMRD", "|", "SIInstrFlags", "::", "DS", "|", "SIInstrFlags", "::", "FLAT", "|", "SIInstrFlags", "::", "MIMG", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "MachineBasicBlock", "::", "instr_iterator", "Next", ";", "MachineBasicBlock", "::", "instr_iterator", "B", "=", "MBB", ".", "instr_begin", "(", ")", ";", "MachineBasicBlock", "::", "instr_iterator", "E", "=", "MBB", ".", "instr_end", "(", ")", ";", "for", "(", "auto", "I", "=", "B", ";", "I", "!=", "E", ";", "I", "=", "Next", ")", "{", "Next", "=", "std", "::", "next", "(", "I", ")", ";", "if", "(", "I", "->", "isBundled", "(", ")", "||", "!", "I", "->", "mayLoadOrStore", "(", ")", "||", "B", "->", "mayLoad", "(", ")", "!=", "I", "->", "mayLoad", "(", ")", "||", "B", "->", "mayStore", "(", ")", "!=", "I", "->", "mayStore", "(", ")", "||", "(", "B", "->", "getDesc", "(", ")", ".", "TSFlags", "&", "MemFlags", ")", "!=", "(", "I", "->", "getDesc", "(", ")", ".", "TSFlags", "&", "MemFlags", ")", "||", "isDependentLoad", "(", "*", "I", ")", ")", "{", "if", "(", "B", "!=", "I", ")", "{", "if", "(", "std", "::", "next", "(", "B", ")", "!=", "I", ")", "{", "finalizeBundle", "(", "MBB", ",", "B", ",", "I", ")", ";", "Changed", "=", "true", ";", "}", "Next", "=", "I", ";", "}", "B", "=", "Next", ";", "Defs", ".", "clear", "(", ")", ";", "continue", ";", "}", "if", "(", "I", "->", "getNumExplicitDefs", "(", ")", "==", "0", ")", "continue", ";", "Defs", ".", "insert", "(", "I", "->", "defs", "(", ")", ".", "begin", "(", ")", "->", "getReg", "(", ")", ")", ";", "}", "if", "(", "B", "!=", "E", "&&", "std", "::", "next", "(", "B", ")", "!=", "E", ")", "{", "finalizeBundle", "(", "MBB", ",", "B", ",", "E", ")", ";", "Changed", "=", "true", ";", "}", "Defs", ".", "clear", "(", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "SI", "SIInstrFlags::MTBUF", "SIInstrFlags::MUBUF", "SIInstrFlags::SMRD", "SIInstrFlags::DS", "SIInstrFlags::FLAT", "SIInstrFlags::MIMG", "0"], "File": "SIPostRABundler", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2737, "Length": 327, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "bfin_handle_option", "(", "size_t", "code", ",", "const", "char", "*", "arg", ",", "int", "value", ")", "{", "switch", "(", "code", ")", "{", "case", "OPT_mshared_library_id_", ":", "if", "(", "value", ">", "MAX_LIBRARY_ID", ")", "error", "(", "\"-mshared-library-id=%s is not between 0 and %d\"", ",", "arg", ",", "MAX_LIBRARY_ID", ")", ";", "bfin_lib_id_given", "=", "1", ";", "return", "true", ";", "default", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_HANDLE_OPTION", "."], "TS_V_token": ["bfin", "\"-mshared-library-id=%s is not between 0 and %d\"", "1"], "File": "bfin2", "Func": "bfin_handle_option", "Target": "bfin", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 2738, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_builtin_vectorization_cost", "(", "enum", "vect_cost_for_stmt", "type_of_cost", ",", "tree", "vectype", ",", "int", "misalign", ")", "{", "unsigned", "elements", ";", "tree", "elem_type", ";", "switch", "(", "type_of_cost", ")", "{", "case", "scalar_stmt", ":", "case", "scalar_load", ":", "case", "scalar_store", ":", "case", "vector_stmt", ":", "case", "vector_load", ":", "case", "vector_store", ":", "case", "vec_to_scalar", ":", "case", "scalar_to_vec", ":", "case", "cond_branch_not_taken", ":", "return", "1", ";", "case", "vec_perm", ":", "if", "(", "TARGET_VSX", ")", "return", "3", ";", "else", "return", "1", ";", "case", "vec_promote_demote", ":", "if", "(", "TARGET_VSX", ")", "return", "4", ";", "else", "return", "1", ";", "case", "cond_branch_taken", ":", "return", "3", ";", "case", "unaligned_load", ":", "case", "vector_gather_load", ":", "if", "(", "TARGET_P9_VECTOR", ")", "return", "3", ";", "if", "(", "TARGET_EFFICIENT_UNALIGNED_VSX", ")", "return", "1", ";", "if", "(", "TARGET_VSX", "&&", "TARGET_ALLOW_MOVMISALIGN", ")", "{", "elements", "=", "TYPE_VECTOR_SUBPARTS", "(", "vectype", ")", ";", "if", "(", "elements", "==", "2", ")", "return", "2", ";", "if", "(", "elements", "==", "4", ")", "{", "switch", "(", "misalign", ")", "{", "case", "8", ":", "return", "2", ";", "case", "-", "1", ":", "case", "4", ":", "case", "12", ":", "return", "22", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "}", "if", "(", "TARGET_ALTIVEC", ")", "gcc_unreachable", "(", ")", ";", "return", "2", ";", "case", "unaligned_store", ":", "case", "vector_scatter_store", ":", "if", "(", "TARGET_EFFICIENT_UNALIGNED_VSX", ")", "return", "1", ";", "if", "(", "TARGET_VSX", "&&", "TARGET_ALLOW_MOVMISALIGN", ")", "{", "elements", "=", "TYPE_VECTOR_SUBPARTS", "(", "vectype", ")", ";", "if", "(", "elements", "==", "2", ")", "return", "2", ";", "if", "(", "elements", "==", "4", ")", "{", "switch", "(", "misalign", ")", "{", "case", "8", ":", "return", "2", ";", "case", "-", "1", ":", "case", "4", ":", "case", "12", ":", "return", "23", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "}", "if", "(", "TARGET_ALTIVEC", ")", "gcc_unreachable", "(", ")", ";", "return", "2", ";", "case", "vec_construct", ":", "elem_type", "=", "TREE_TYPE", "(", "vectype", ")", ";", "if", "(", "SCALAR_FLOAT_TYPE_P", "(", "elem_type", ")", "&&", "TYPE_PRECISION", "(", "elem_type", ")", "==", "32", ")", "return", "5", ";", "else", "if", "(", "INTEGRAL_TYPE_P", "(", "elem_type", ")", ")", "{", "if", "(", "TARGET_P9_VECTOR", ")", "return", "TYPE_VECTOR_SUBPARTS", "(", "vectype", ")", "-", "1", "+", "2", ";", "else", "return", "TYPE_VECTOR_SUBPARTS", "(", "vectype", ")", "-", "1", "+", "11", ";", "}", "else", "return", "2", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "targetm.vectorize.builtin_vectorization_cost", "."], "TS_V_token": ["powerpcspe", "1", "3", "1", "4", "1", "3", "3", "1", "2", "2", "4", "8", "2", "1", "4", "12", "22", "2", "1", "2", "2", "4", "8", "2", "1", "4", "12", "23", "2", "32", "5", "1", "2", "1", "11", "2"], "File": "powerpcspe", "Func": "rs6000_builtin_vectorization_cost", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2739, "Length": 345, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "RCPair", "ARMTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "EVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'l'", ":", "if", "(", "Subtarget", "->", "isThumb", "(", ")", ")", "return", "RCPair", "(", "0U", ",", "&", "ARM", "::", "tGPRRegClass", ")", ";", "return", "RCPair", "(", "0U", ",", "&", "ARM", "::", "GPRRegClass", ")", ";", "case", "'h'", ":", "if", "(", "Subtarget", "->", "isThumb", "(", ")", ")", "return", "RCPair", "(", "0U", ",", "&", "ARM", "::", "hGPRRegClass", ")", ";", "break", ";", "case", "'r'", ":", "return", "RCPair", "(", "0U", ",", "&", "ARM", "::", "GPRRegClass", ")", ";", "case", "'w'", ":", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "return", "RCPair", "(", "0U", ",", "&", "ARM", "::", "SPRRegClass", ")", ";", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "64", ")", "return", "RCPair", "(", "0U", ",", "&", "ARM", "::", "DPRRegClass", ")", ";", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "128", ")", "return", "RCPair", "(", "0U", ",", "&", "ARM", "::", "QPRRegClass", ")", ";", "break", ";", "case", "'x'", ":", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "return", "RCPair", "(", "0U", ",", "&", "ARM", "::", "SPR_8RegClass", ")", ";", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "64", ")", "return", "RCPair", "(", "0U", ",", "&", "ARM", "::", "DPR_8RegClass", ")", ";", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "128", ")", "return", "RCPair", "(", "0U", ",", "&", "ARM", "::", "QPR_8RegClass", ")", ";", "break", ";", "case", "'t'", ":", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "return", "RCPair", "(", "0U", ",", "&", "ARM", "::", "SPRRegClass", ")", ";", "break", ";", "}", "}", "if", "(", "StringRef", "(", "\"{cc}\"", ")", ".", "equals_lower", "(", "Constraint", ")", ")", "return", "std", "::", "make_pair", "(", "unsigned", "(", "ARM", "::", "CPSR", ")", ",", "&", "ARM", "::", "CCRRegClass", ")", ";", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["ARM", "ARM", "1", "0", "0U", "ARM::tGPRRegClass", "0U", "ARM::GPRRegClass", "0U", "ARM::hGPRRegClass", "0U", "ARM::GPRRegClass", "MVT::f32", "0U", "ARM::SPRRegClass", "64", "0U", "ARM::DPRRegClass", "128", "0U", "ARM::QPRRegClass", "MVT::f32", "0U", "ARM::SPR_8RegClass", "64", "0U", "ARM::DPR_8RegClass", "128", "0U", "ARM::QPR_8RegClass", "MVT::f32", "0U", "ARM::SPRRegClass", "\"{cc}\"", "ARM::CPSR", "ARM::CCRRegClass"], "File": "ARMISelLowering107", "Func": "getRegForInlineAsmConstraint", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2740, "Length": 306, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb1RegisterInfo", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "prior", "(", "MBB", ".", "end", "(", ")", ")", ";", "assert", "(", "(", "MBBI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "tBX_RET", "||", "MBBI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "tPOP_RET", ")", "&&", "\"Can only insert epilog into returning blocks\"", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "unsigned", "VARegSaveSize", "=", "AFI", "->", "getVarArgsRegSaveSize", "(", ")", ";", "int", "NumBytes", "=", "(", "int", ")", "MFI", "->", "getStackSize", "(", ")", ";", "const", "unsigned", "*", "CSRegs", "=", "getCalleeSavedRegs", "(", ")", ";", "if", "(", "!", "AFI", "->", "hasStackFrame", "(", ")", ")", "{", "if", "(", "NumBytes", "!=", "0", ")", "emitSPUpdate", "(", "MBB", ",", "MBBI", ",", "TII", ",", "dl", ",", "*", "this", ",", "NumBytes", ")", ";", "}", "else", "{", "if", "(", "MBBI", "!=", "MBB", ".", "begin", "(", ")", ")", "{", "do", "--", "MBBI", ";", "while", "(", "MBBI", "!=", "MBB", ".", "begin", "(", ")", "&&", "isCSRestore", "(", "MBBI", ",", "CSRegs", ")", ")", ";", "if", "(", "!", "isCSRestore", "(", "MBBI", ",", "CSRegs", ")", ")", "++", "MBBI", ";", "}", "NumBytes", "-=", "(", "AFI", "->", "getGPRCalleeSavedArea1Size", "(", ")", "+", "AFI", "->", "getGPRCalleeSavedArea2Size", "(", ")", "+", "AFI", "->", "getDPRCalleeSavedAreaSize", "(", ")", ")", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "NumBytes", "=", "AFI", "->", "getFramePtrSpillOffset", "(", ")", "-", "NumBytes", ";", "if", "(", "NumBytes", ")", "emitThumbRegPlusImmediate", "(", "MBB", ",", "MBBI", ",", "ARM", "::", "SP", ",", "FramePtr", ",", "-", "NumBytes", ",", "TII", ",", "*", "this", ",", "dl", ")", ";", "else", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ARM", "::", "tMOVtgpr2gpr", ")", ",", "ARM", "::", "SP", ")", ".", "addReg", "(", "FramePtr", ")", ";", "}", "else", "{", "if", "(", "MBBI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "tBX_RET", "&&", "&", "MBB", ".", "front", "(", ")", "!=", "MBBI", "&&", "prior", "(", "MBBI", ")", "->", "getOpcode", "(", ")", "==", "ARM", "::", "tPOP", ")", "{", "MachineBasicBlock", "::", "iterator", "PMBBI", "=", "prior", "(", "MBBI", ")", ";", "emitSPUpdate", "(", "MBB", ",", "PMBBI", ",", "TII", ",", "dl", ",", "*", "this", ",", "NumBytes", ")", ";", "}", "else", "emitSPUpdate", "(", "MBB", ",", "MBBI", ",", "TII", ",", "dl", ",", "*", "this", ",", "NumBytes", ")", ";", "}", "}", "if", "(", "VARegSaveSize", ")", "{", "while", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", "&&", "isCSRestore", "(", "MBBI", ",", "CSRegs", ")", ")", "++", "MBBI", ";", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ARM", "::", "tPOP", ")", ")", ")", ".", "addReg", "(", "0", ")", ".", "addReg", "(", "ARM", "::", "R3", ",", "RegState", "::", "Define", ")", ";", "emitSPUpdate", "(", "MBB", ",", "MBBI", ",", "TII", ",", "dl", ",", "*", "this", ",", "VARegSaveSize", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ARM", "::", "tBX_RET_vararg", ")", ")", ".", "addReg", "(", "ARM", "::", "R3", ",", "RegState", "::", "Kill", ")", ";", "MBB", ".", "erase", "(", "MBBI", ")", ";", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["ARM", "ARM::tBX_RET", "ARM::tPOP_RET", "\"Can only insert epilog into returning blocks\"", "ARM", "ARM", "0", "ARM::SP", "ARM::tMOVtgpr2gpr", "ARM::SP", "ARM::tBX_RET", "ARM::tPOP", "ARM::tPOP", "0", "ARM::R3", "ARM::tBX_RET_vararg", "ARM::R3"], "File": "Thumb1RegisterInfo16", "Func": "emitEpilogue", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2741, "Length": 495, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "doInitialization", "(", "CallGraph", "&", "CG", ")", "override", "{", "CallGraphResourceInfo", ".", "clear", "(", ")", ";", "return", "CallGraphSCCPass", "::", "doInitialization", "(", "CG", ")", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["AMDGPU"], "File": "AMDGPUResourceUsageAnalysis1", "Func": "doInitialization", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2742, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_fold_builtin_lane_check", "(", "tree", "arg0", ",", "tree", "arg1", ",", "tree", "arg2", ")", "{", "if", "(", "TREE_CODE", "(", "arg0", ")", "!=", "INTEGER_CST", ")", "return", "false", ";", "if", "(", "TREE_CODE", "(", "arg1", ")", "!=", "INTEGER_CST", ")", "return", "false", ";", "if", "(", "TREE_CODE", "(", "arg2", ")", "!=", "INTEGER_CST", ")", "return", "false", ";", "auto", "totalsize", "=", "wi", "::", "to_widest", "(", "arg0", ")", ";", "auto", "elementsize", "=", "wi", "::", "to_widest", "(", "arg1", ")", ";", "if", "(", "totalsize", "==", "0", "||", "elementsize", "==", "0", ")", "return", "false", ";", "auto", "lane", "=", "wi", "::", "to_widest", "(", "arg2", ")", ";", "auto", "high", "=", "wi", "::", "udiv_trunc", "(", "totalsize", ",", "elementsize", ")", ";", "return", "wi", "::", "ltu_p", "(", "lane", ",", "high", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "lane", "check", "can", "be", "removed", "as", "there", "is", "no", "error", "going", "to", "be", "emitted", "."], "TS_V_token": ["aarch64", "0", "0"], "File": "aarch64-builtins", "Func": "aarch64_fold_builtin_lane_check", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2743, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "Register", "DestReg", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "SIMachineFunctionInfo", "*", "MFI", "=", "MF", "->", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "MachineFrameInfo", "&", "FrameInfo", "=", "MF", "->", "getFrameInfo", "(", ")", ";", "const", "DebugLoc", "&", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "unsigned", "SpillSize", "=", "TRI", "->", "getSpillSize", "(", "*", "RC", ")", ";", "MachinePointerInfo", "PtrInfo", "=", "MachinePointerInfo", "::", "getFixedStack", "(", "*", "MF", ",", "FrameIndex", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", "->", "getMachineMemOperand", "(", "PtrInfo", ",", "MachineMemOperand", "::", "MOLoad", ",", "FrameInfo", ".", "getObjectSize", "(", "FrameIndex", ")", ",", "FrameInfo", ".", "getObjectAlign", "(", "FrameIndex", ")", ")", ";", "if", "(", "RI", ".", "isSGPRClass", "(", "RC", ")", ")", "{", "MFI", "->", "setHasSpilledSGPRs", "(", ")", ";", "assert", "(", "DestReg", "!=", "AMDGPU", "::", "M0", "&&", "\"m0 should not be reloaded into\"", ")", ";", "assert", "(", "DestReg", "!=", "AMDGPU", "::", "EXEC_LO", "&&", "DestReg", "!=", "AMDGPU", "::", "EXEC_HI", "&&", "DestReg", "!=", "AMDGPU", "::", "EXEC", "&&", "\"exec should not be spilled\"", ")", ";", "const", "MCInstrDesc", "&", "OpDesc", "=", "get", "(", "getSGPRSpillRestoreOpcode", "(", "SpillSize", ")", ")", ";", "if", "(", "DestReg", ".", "isVirtual", "(", ")", "&&", "SpillSize", "==", "4", ")", "{", "MachineRegisterInfo", "&", "MRI", "=", "MF", "->", "getRegInfo", "(", ")", ";", "MRI", ".", "constrainRegClass", "(", "DestReg", ",", "&", "AMDGPU", "::", "SReg_32_XM0_XEXECRegClass", ")", ";", "}", "if", "(", "RI", ".", "spillSGPRToVGPR", "(", ")", ")", "FrameInfo", ".", "setStackID", "(", "FrameIndex", ",", "TargetStackID", "::", "SGPRSpill", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "OpDesc", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addMemOperand", "(", "MMO", ")", ".", "addReg", "(", "MFI", "->", "getStackPtrOffsetReg", "(", ")", ",", "RegState", "::", "Implicit", ")", ";", "return", ";", "}", "unsigned", "Opcode", "=", "RI", ".", "hasAGPRs", "(", "RC", ")", "?", "getAGPRSpillRestoreOpcode", "(", "SpillSize", ")", ":", "getVGPRSpillRestoreOpcode", "(", "SpillSize", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opcode", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addReg", "(", "MFI", "->", "getStackPtrOffsetReg", "(", ")", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "AMDGPU::M0", "\"m0 should not be reloaded into\"", "AMDGPU::EXEC_LO", "AMDGPU::EXEC_HI", "AMDGPU::EXEC", "\"exec should not be spilled\"", "4", "AMDGPU::SReg_32_XM0_XEXECRegClass", "0"], "File": "SIInstrInfo120", "Func": "loadRegFromStackSlot", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2744, "Length": 348, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSymbol", "*", "X86AsmPrinter", "::", "GetCPISymbol", "(", "unsigned", "CPID", ")", "const", "{", "if", "(", "Subtarget", "->", "isTargetKnownWindowsMSVC", "(", ")", ")", "{", "const", "MachineConstantPoolEntry", "&", "CPE", "=", "MF", "->", "getConstantPool", "(", ")", "->", "getConstants", "(", ")", "[", "CPID", "]", ";", "if", "(", "!", "CPE", ".", "isMachineConstantPoolEntry", "(", ")", ")", "{", "const", "DataLayout", "&", "DL", "=", "MF", "->", "getDataLayout", "(", ")", ";", "SectionKind", "Kind", "=", "CPE", ".", "getSectionKind", "(", "&", "DL", ")", ";", "const", "Constant", "*", "C", "=", "CPE", ".", "Val", ".", "ConstVal", ";", "unsigned", "Align", "=", "CPE", ".", "Alignment", ";", "if", "(", "const", "MCSectionCOFF", "*", "S", "=", "dyn_cast", "<", "MCSectionCOFF", ">", "(", "getObjFileLowering", "(", ")", ".", "getSectionForConstant", "(", "DL", ",", "Kind", ",", "C", ",", "Align", ")", ")", ")", "{", "if", "(", "MCSymbol", "*", "Sym", "=", "S", "->", "getCOMDATSymbol", "(", ")", ")", "{", "if", "(", "Sym", "->", "isUndefined", "(", ")", ")", "OutStreamer", "->", "EmitSymbolAttribute", "(", "Sym", ",", "MCSA_Global", ")", ";", "return", "Sym", ";", "}", "}", "}", "}", "return", "AsmPrinter", "::", "GetCPISymbol", "(", "CPID", ")", ";", "}", ""], "natrual_language": ["Return", "the", "symbol", "for", "the", "specified", "constant", "pool", "entry", "."], "TS_V_token": ["X86", "X86"], "File": "X86AsmPrinter108", "Func": "GetCPISymbol", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2745, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AMDGPUPassConfig", "::", "addIRPasses", "(", ")", "{", "addPass", "(", "createAMDGPUAlwaysInlinePass", "(", ")", ")", ";", "addPass", "(", "createAlwaysInlinerPass", "(", ")", ")", ";", "addPass", "(", "createBarrierNoopPass", "(", ")", ")", ";", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU"], "File": "AMDGPUTargetMachine72", "Func": "addIRPasses", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2746, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Hexagon Common GEP\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Hexagon", "\"Hexagon Common GEP\""], "File": "HexagonCommonGEP10", "Func": "getPassName", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2747, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "riscv_cpu_cpp_builtins", "(", "cpp_reader", "*", "pfile", ")", "{", "builtin_define", "(", "\"__riscv\"", ")", ";", "if", "(", "TARGET_RVC", ")", "builtin_define", "(", "\"__riscv_compressed\"", ")", ";", "if", "(", "TARGET_RVE", ")", "builtin_define", "(", "\"__riscv_32e\"", ")", ";", "if", "(", "TARGET_ATOMIC", ")", "builtin_define", "(", "\"__riscv_atomic\"", ")", ";", "if", "(", "TARGET_MUL", ")", "builtin_define", "(", "\"__riscv_mul\"", ")", ";", "if", "(", "TARGET_DIV", ")", "builtin_define", "(", "\"__riscv_div\"", ")", ";", "if", "(", "TARGET_DIV", "&&", "TARGET_MUL", ")", "builtin_define", "(", "\"__riscv_muldiv\"", ")", ";", "builtin_define_with_int_value", "(", "\"__riscv_xlen\"", ",", "UNITS_PER_WORD", "*", "8", ")", ";", "if", "(", "TARGET_HARD_FLOAT", ")", "builtin_define_with_int_value", "(", "\"__riscv_flen\"", ",", "UNITS_PER_FP_REG", "*", "8", ")", ";", "if", "(", "(", "TARGET_HARD_FLOAT", "||", "TARGET_ZFINX", ")", "&&", "TARGET_FDIV", ")", "{", "builtin_define", "(", "\"__riscv_fdiv\"", ")", ";", "builtin_define", "(", "\"__riscv_fsqrt\"", ")", ";", "}", "switch", "(", "riscv_abi", ")", "{", "case", "ABI_ILP32E", ":", "builtin_define", "(", "\"__riscv_abi_rve\"", ")", ";", "gcc_fallthrough", "(", ")", ";", "case", "ABI_ILP32", ":", "case", "ABI_LP64", ":", "builtin_define", "(", "\"__riscv_float_abi_soft\"", ")", ";", "break", ";", "case", "ABI_ILP32F", ":", "case", "ABI_LP64F", ":", "builtin_define", "(", "\"__riscv_float_abi_single\"", ")", ";", "break", ";", "case", "ABI_ILP32D", ":", "case", "ABI_LP64D", ":", "builtin_define", "(", "\"__riscv_float_abi_double\"", ")", ";", "break", ";", "}", "switch", "(", "riscv_cmodel", ")", "{", "case", "CM_MEDLOW", ":", "builtin_define", "(", "\"__riscv_cmodel_medlow\"", ")", ";", "break", ";", "case", "CM_PIC", ":", "case", "CM_MEDANY", ":", "builtin_define", "(", "\"__riscv_cmodel_medany\"", ")", ";", "break", ";", "}", "if", "(", "TARGET_MIN_VLEN", "!=", "0", ")", "builtin_define_with_int_value", "(", "\"__riscv_v_min_vlen\"", ",", "TARGET_MIN_VLEN", ")", ";", "if", "(", "TARGET_VECTOR_ELEN_64", ")", "builtin_define_with_int_value", "(", "\"__riscv_v_elen\"", ",", "64", ")", ";", "else", "if", "(", "TARGET_VECTOR_ELEN_32", ")", "builtin_define_with_int_value", "(", "\"__riscv_v_elen\"", ",", "32", ")", ";", "if", "(", "TARGET_VECTOR_ELEN_FP_64", ")", "builtin_define_with_int_value", "(", "\"__riscv_v_elen_fp\"", ",", "64", ")", ";", "else", "if", "(", "TARGET_VECTOR_ELEN_FP_32", ")", "builtin_define_with_int_value", "(", "\"__riscv_v_elen_fp\"", ",", "32", ")", ";", "else", "if", "(", "TARGET_MIN_VLEN", "!=", "0", ")", "builtin_define_with_int_value", "(", "\"__riscv_v_elen_fp\"", ",", "0", ")", ";", "if", "(", "TARGET_MIN_VLEN", ")", "{", "builtin_define", "(", "\"__riscv_vector\"", ")", ";", "builtin_define_with_int_value", "(", "\"__riscv_v_intrinsic\"", ",", "riscv_ext_version_value", "(", "0", ",", "11", ")", ")", ";", "}", "builtin_define_with_int_value", "(", "\"__riscv_arch_test\"", ",", "1", ")", ";", "const", "riscv_subset_list", "*", "subset_list", "=", "riscv_current_subset_list", "(", ")", ";", "if", "(", "!", "subset_list", ")", "return", ";", "size_t", "max_ext_len", "=", "0", ";", "for", "(", "const", "riscv_subset_t", "*", "subset", "=", "subset_list", "->", "begin", "(", ")", ";", "subset", "!=", "subset_list", "->", "end", "(", ")", ";", "subset", "=", "subset", "->", "next", ")", "max_ext_len", "=", "MAX", "(", "max_ext_len", ",", "subset", "->", "name", ".", "length", "(", ")", ")", ";", "char", "*", "buf", "=", "(", "char", "*", ")", "alloca", "(", "max_ext_len", "+", "10", ")", ";", "for", "(", "const", "riscv_subset_t", "*", "subset", "=", "subset_list", "->", "begin", "(", ")", ";", "subset", "!=", "subset_list", "->", "end", "(", ")", ";", "subset", "=", "subset", "->", "next", ")", "{", "int", "version_value", "=", "riscv_ext_version_value", "(", "subset", "->", "major_version", ",", "subset", "->", "minor_version", ")", ";", "if", "(", "(", "subset", "->", "name", "==", "\"zicsr\"", "||", "subset", "->", "name", "==", "\"zifencei\"", ")", "&&", "version_value", "==", "0", ")", "version_value", "=", "riscv_ext_version_value", "(", "2", ",", "0", ")", ";", "sprintf", "(", "buf", ",", "\"__riscv_%s\"", ",", "subset", "->", "name", ".", "c_str", "(", ")", ")", ";", "builtin_define_with_int_value", "(", "buf", ",", "version_value", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_CPU_CPP_BUILTINS", "."], "TS_V_token": ["riscv", "\"__riscv\"", "\"__riscv_compressed\"", "\"__riscv_32e\"", "\"__riscv_atomic\"", "\"__riscv_mul\"", "\"__riscv_div\"", "\"__riscv_muldiv\"", "\"__riscv_xlen\"", "8", "\"__riscv_flen\"", "8", "\"__riscv_fdiv\"", "\"__riscv_fsqrt\"", "\"__riscv_abi_rve\"", "\"__riscv_float_abi_soft\"", "\"__riscv_float_abi_single\"", "\"__riscv_float_abi_double\"", "\"__riscv_cmodel_medlow\"", "\"__riscv_cmodel_medany\"", "0", "\"__riscv_v_min_vlen\"", "\"__riscv_v_elen\"", "64", "\"__riscv_v_elen\"", "32", "\"__riscv_v_elen_fp\"", "64", "\"__riscv_v_elen_fp\"", "32", "0", "\"__riscv_v_elen_fp\"", "0", "\"__riscv_vector\"", "\"__riscv_v_intrinsic\"", "0", "11", "\"__riscv_arch_test\"", "1", "0", "10", "\"zicsr\"", "\"zifencei\"", "0", "2", "0", "\"__riscv_%s\""], "File": "riscv-c1", "Func": "riscv_cpu_cpp_builtins", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2748, "Length": 475, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "LoadInst", "*", "X86TargetLowering", "::", "lowerIdempotentRMWIntoFencedLoad", "(", "AtomicRMWInst", "*", "AI", ")", "const", "{", "unsigned", "NativeWidth", "=", "Subtarget", ".", "is64Bit", "(", ")", "?", "64", ":", "32", ";", "Type", "*", "MemType", "=", "AI", "->", "getType", "(", ")", ";", "if", "(", "MemType", "->", "getPrimitiveSizeInBits", "(", ")", ">", "NativeWidth", ")", "return", "nullptr", ";", "auto", "Builder", "=", "IRBuilder", "<", ">", "(", "AI", ")", ";", "Module", "*", "M", "=", "Builder", ".", "GetInsertBlock", "(", ")", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "auto", "SSID", "=", "AI", "->", "getSyncScopeID", "(", ")", ";", "auto", "Order", "=", "AtomicCmpXchgInst", "::", "getStrongestFailureOrdering", "(", "AI", "->", "getOrdering", "(", ")", ")", ";", "if", "(", "SSID", "==", "SyncScope", "::", "SingleThread", ")", "return", "nullptr", ";", "if", "(", "!", "Subtarget", ".", "hasMFence", "(", ")", ")", "return", "nullptr", ";", "Function", "*", "MFence", "=", "llvm", "::", "Intrinsic", "::", "getDeclaration", "(", "M", ",", "Intrinsic", "::", "x86_sse2_mfence", ")", ";", "Builder", ".", "CreateCall", "(", "MFence", ",", "{", "}", ")", ";", "LoadInst", "*", "Loaded", "=", "Builder", ".", "CreateAlignedLoad", "(", "AI", "->", "getType", "(", ")", ",", "AI", "->", "getPointerOperand", "(", ")", ",", "AI", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ")", ";", "Loaded", "->", "setAtomic", "(", "Order", ",", "SSID", ")", ";", "AI", "->", "replaceAllUsesWith", "(", "Loaded", ")", ";", "AI", "->", "eraseFromParent", "(", ")", ";", "return", "Loaded", ";", "}", ""], "natrual_language": ["On", "some", "platforms", ",", "an", "AtomicRMW", "that", "never", "actually", "modifies", "the", "value", "(", "such", "as", "fetch_add", "of", "0", ")", "can", "be", "turned", "into", "a", "fence", "followed", "by", "an", "atomic", "load", "."], "TS_V_token": ["X86", "X86", "64", "32", "Intrinsic::getDeclaration", "Intrinsic::x86_sse2_mfence"], "File": "X86ISelLowering129", "Func": "lowerIdempotentRMWIntoFencedLoad", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2749, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsSEFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MipsFunctionInfo", "*", "MipsFI", "=", "MF", ".", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", ";", "const", "MipsSEInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "MipsSEInstrInfo", "*", ">", "(", "STI", ".", "getInstrInfo", "(", ")", ")", ";", "const", "MipsRegisterInfo", "&", "RegInfo", "=", "*", "static_cast", "<", "const", "MipsRegisterInfo", "*", ">", "(", "STI", ".", "getRegisterInfo", "(", ")", ")", ";", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "MipsABIInfo", "ABI", "=", "STI", ".", "getABI", "(", ")", ";", "unsigned", "SP", "=", "ABI", ".", "GetStackPtr", "(", ")", ";", "unsigned", "FP", "=", "ABI", ".", "GetFramePtr", "(", ")", ";", "unsigned", "ZERO", "=", "ABI", ".", "GetNullPtr", "(", ")", ";", "unsigned", "MOVE", "=", "ABI", ".", "GetGPRMoveOp", "(", ")", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "MachineBasicBlock", "::", "iterator", "I", "=", "MBBI", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "MFI", ".", "getCalleeSavedInfo", "(", ")", ".", "size", "(", ")", ";", "++", "i", ")", "--", "I", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "TII", ".", "get", "(", "MOVE", ")", ",", "SP", ")", ".", "addReg", "(", "FP", ")", ".", "addReg", "(", "ZERO", ")", ";", "}", "if", "(", "MipsFI", "->", "callsEhReturn", "(", ")", ")", "{", "const", "TargetRegisterClass", "*", "RC", "=", "ABI", ".", "ArePtrs64bit", "(", ")", "?", "&", "Mips", "::", "GPR64RegClass", ":", "&", "Mips", "::", "GPR32RegClass", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "MBBI", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "MFI", ".", "getCalleeSavedInfo", "(", ")", ".", "size", "(", ")", ";", "++", "i", ")", "--", "I", ";", "for", "(", "int", "J", "=", "0", ";", "J", "<", "4", ";", "++", "J", ")", "{", "TII", ".", "loadRegFromStackSlot", "(", "MBB", ",", "I", ",", "ABI", ".", "GetEhDataReg", "(", "J", ")", ",", "MipsFI", "->", "getEhDataRegFI", "(", "J", ")", ",", "RC", ",", "&", "RegInfo", ")", ";", "}", "}", "if", "(", "MF", ".", "getFunction", "(", ")", "->", "hasFnAttribute", "(", "\"interrupt\"", ")", ")", "emitInterruptEpilogueStub", "(", "MF", ",", "MBB", ")", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "!", "StackSize", ")", "return", ";", "TII", ".", "adjustStackPtr", "(", "SP", ",", "StackSize", ",", "MBB", ",", "MBBI", ")", ";", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "0", "Mips", "Mips::GPR64RegClass", "Mips::GPR32RegClass", "0", "0", "4", "Mips", "\"interrupt\""], "File": "MipsSEFrameLowering19", "Func": "emitEpilogue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2750, "Length": 369, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "MSP430TargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "&", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "Opc", "==", "MSP430", "::", "Shl8", "||", "Opc", "==", "MSP430", "::", "Shl16", "||", "Opc", "==", "MSP430", "::", "Sra8", "||", "Opc", "==", "MSP430", "::", "Sra16", "||", "Opc", "==", "MSP430", "::", "Srl8", "||", "Opc", "==", "MSP430", "::", "Srl16", ")", "return", "EmitShiftInstr", "(", "MI", ",", "BB", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "BB", "->", "getParent", "(", ")", "->", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "dl", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "assert", "(", "(", "Opc", "==", "MSP430", "::", "Select16", "||", "Opc", "==", "MSP430", "::", "Select8", ")", "&&", "\"Unexpected instr type to insert\"", ")", ";", "const", "BasicBlock", "*", "LLVM_BB", "=", "BB", "->", "getBasicBlock", "(", ")", ";", "MachineFunction", "::", "iterator", "I", "=", "++", "BB", "->", "getIterator", "(", ")", ";", "MachineBasicBlock", "*", "thisMBB", "=", "BB", ";", "MachineFunction", "*", "F", "=", "BB", "->", "getParent", "(", ")", ";", "MachineBasicBlock", "*", "copy0MBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineBasicBlock", "*", "copy1MBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "F", "->", "insert", "(", "I", ",", "copy0MBB", ")", ";", "F", "->", "insert", "(", "I", ",", "copy1MBB", ")", ";", "copy1MBB", "->", "splice", "(", "copy1MBB", "->", "begin", "(", ")", ",", "BB", ",", "std", "::", "next", "(", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", ",", "BB", "->", "end", "(", ")", ")", ";", "copy1MBB", "->", "transferSuccessorsAndUpdatePHIs", "(", "BB", ")", ";", "BB", "->", "addSuccessor", "(", "copy0MBB", ")", ";", "BB", "->", "addSuccessor", "(", "copy1MBB", ")", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", ".", "get", "(", "MSP430", "::", "JCC", ")", ")", ".", "addMBB", "(", "copy1MBB", ")", ".", "addImm", "(", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ")", ";", "BB", "=", "copy0MBB", ";", "BB", "->", "addSuccessor", "(", "copy1MBB", ")", ";", "BB", "=", "copy1MBB", ";", "BuildMI", "(", "*", "BB", ",", "BB", "->", "begin", "(", ")", ",", "dl", ",", "TII", ".", "get", "(", "MSP430", "::", "PHI", ")", ",", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "addReg", "(", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "copy0MBB", ")", ".", "addReg", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "thisMBB", ")", ";", "MI", ".", "eraseFromParent", "(", ")", ";", "return", "BB", ";", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "."], "TS_V_token": ["MSP430", "MSP430", "MSP430::Shl8", "MSP430::Shl16", "MSP430::Sra8", "MSP430::Sra16", "MSP430::Srl8", "MSP430::Srl16", "MSP430::Select16", "MSP430::Select8", "\"Unexpected instr type to insert\"", "MSP430::JCC", "3", "MSP430::PHI", "0", "2", "1"], "File": "MSP430ISelLowering19", "Func": "EmitInstrWithCustomInserter", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2751, "Length": 382, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "WebAssemblyTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDLoc", "DL", "(", "Op", ")", ";", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"unimplemented operation lowering\"", ")", ";", "return", "SDValue", "(", ")", ";", "case", "ISD", "::", "FrameIndex", ":", "return", "LowerFrameIndex", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ExternalSymbol", ":", "return", "LowerExternalSymbol", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "JumpTable", ":", "return", "LowerJumpTable", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BR_JT", ":", "return", "LowerBR_JT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "case", "ISD", "::", "BRIND", ":", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly hasn't implemented computed gotos\"", ")", ";", "return", "SDValue", "(", ")", ";", "case", "ISD", "::", "RETURNADDR", ":", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly hasn't implemented __builtin_return_address\"", ")", ";", "return", "SDValue", "(", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "LowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "CopyToReg", ":", "return", "LowerCopyToReg", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "LowerINTRINSIC_WO_CHAIN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "EXTRACT_VECTOR_ELT", ":", "case", "ISD", "::", "INSERT_VECTOR_ELT", ":", "return", "LowerAccessVectorElement", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_VOID", ":", "return", "LowerINTRINSIC_VOID", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VECTOR_SHUFFLE", ":", "return", "LowerVECTOR_SHUFFLE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SHL", ":", "case", "ISD", "::", "SRA", ":", "case", "ISD", "::", "SRL", ":", "return", "LowerShift", "(", "Op", ",", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"unimplemented operation lowering\"", "ISD::FrameIndex", "ISD::GlobalAddress", "ISD::ExternalSymbol", "ISD::JumpTable", "ISD::BR_JT", "ISD::VASTART", "ISD::BlockAddress", "ISD::BRIND", "\"WebAssembly hasn't implemented computed gotos\"", "ISD::RETURNADDR", "\"WebAssembly hasn't implemented __builtin_return_address\"", "ISD::FRAMEADDR", "ISD::CopyToReg", "ISD::INTRINSIC_WO_CHAIN", "ISD::EXTRACT_VECTOR_ELT", "ISD::INSERT_VECTOR_ELT", "ISD::INTRINSIC_VOID", "ISD::VECTOR_SHUFFLE", "ISD::SHL", "ISD::SRA", "ISD::SRL"], "File": "WebAssemblyISelLowering2", "Func": "LowerOperation", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2752, "Length": 270, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMem", "(", ")", "const", "override", "{", "return", "isMEMrr", "(", ")", "||", "isMEMri", "(", ")", ";", "}", ""], "natrual_language": ["isMem", "-", "Is", "this", "a", "memory", "operand", "?"], "TS_V_token": ["Sparc"], "File": "SparcAsmParser", "Func": "isMem", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2753, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "AVRTargetLowering", "::", "getSetCCResultType", "(", "const", "DataLayout", "&", "DL", ",", "LLVMContext", "&", ",", "EVT", "VT", ")", "const", "{", "assert", "(", "!", "VT", ".", "isVector", "(", ")", "&&", "\"No AVR SetCC type for vectors!\"", ")", ";", "return", "MVT", "::", "i8", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["AVR", "AVR", "\"No AVR SetCC type for vectors!\"", "MVT::i8"], "File": "AVRISelLowering", "Func": "getSetCCResultType", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2754, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb2InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "if", "(", "RC", "==", "ARM", "::", "GPRRegisterClass", ")", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "*", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "PseudoSourceValue", "::", "getFixedStack", "(", "FI", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "0", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ")", ";", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "t2LDRi12", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ")", ";", "return", ";", "}", "ARMBaseInstrInfo", "::", "loadRegFromStackSlot", "(", "MBB", ",", "I", ",", "DestReg", ",", "FI", ",", "RC", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["ARM", "ARM::GPRRegisterClass", "0", "ARM::t2LDRi12", "0", "ARM"], "File": "Thumb2InstrInfo37", "Func": "loadRegFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2755, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "PPCSubtarget", "*", "PPCTargetMachine", "::", "getSubtargetImpl", "(", "const", "Function", "&", "F", ")", "const", "{", "AttributeSet", "FnAttrs", "=", "F", ".", "getAttributes", "(", ")", ";", "Attribute", "CPUAttr", "=", "FnAttrs", ".", "getAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "\"target-cpu\"", ")", ";", "Attribute", "FSAttr", "=", "FnAttrs", ".", "getAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "\"target-features\"", ")", ";", "std", "::", "string", "CPU", "=", "!", "CPUAttr", ".", "hasAttribute", "(", "Attribute", "::", "None", ")", "?", "CPUAttr", ".", "getValueAsString", "(", ")", ".", "str", "(", ")", ":", "TargetCPU", ";", "std", "::", "string", "FS", "=", "!", "FSAttr", ".", "hasAttribute", "(", "Attribute", "::", "None", ")", "?", "FSAttr", ".", "getValueAsString", "(", ")", ".", "str", "(", ")", ":", "TargetFS", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "CPU", "+", "FS", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "I", "=", "llvm", "::", "make_unique", "<", "PPCSubtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "FS", ",", "*", "this", ")", ";", "}", "return", "I", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["Virtual", "method", "implemented", "by", "subclasses", "that", "returns", "a", "reference", "to", "that", "target", "'s", "TargetSubtargetInfo-derived", "member", "variable", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "\"target-cpu\"", "\"target-features\"", "PPC"], "File": "PPCTargetMachine27", "Func": "getSubtargetImpl", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2756, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RV16KUseLWSPSWSP", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "for", "(", "MachineInstr", "&", "MI", ":", "MBB", ")", "{", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "Opc", "==", "RV16K", "::", "LW", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "RV16K", "::", "X1", "&&", "isShiftedUInt", "<", "8", ",", "1", ">", "(", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ")", ")", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MI", ".", "setDesc", "(", "TII", ".", "get", "(", "RV16K", "::", "LWSP", ")", ")", ";", "}", "if", "(", "Opc", "==", "RV16K", "::", "SW", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "RV16K", "::", "X1", "&&", "isShiftedUInt", "<", "8", ",", "1", ">", "(", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ")", ")", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MI", ".", "setDesc", "(", "TII", ".", "get", "(", "RV16K", "::", "SWSP", ")", ")", ";", "}", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["RV16K", "RV16K", "RV16K::LW", "1", "RV16K::X1", "8", "1", "2", "RV16K::LWSP", "RV16K::SW", "1", "RV16K::X1", "8", "1", "2", "RV16K::SWSP"], "File": "RV16KUseLWSPSWSP", "Func": "runOnMachineFunction", "Target": "RV16K", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2757, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "TargetTransformInfo", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AArch64"], "File": "AArch64TargetTransformInfo1", "Func": "getAnalysisUsage", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2758, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "GCNTTIImpl", "::", "getMinMaxReductionCost", "(", "Type", "*", "Ty", ",", "Type", "*", "CondTy", ",", "bool", "IsPairwise", ",", "bool", "IsUnsigned", ")", "{", "EVT", "OrigTy", "=", "TLI", "->", "getValueType", "(", "DL", ",", "Ty", ")", ";", "if", "(", "IsPairwise", "||", "!", "ST", "->", "hasVOP3PInsts", "(", ")", "||", "OrigTy", ".", "getScalarSizeInBits", "(", ")", "!=", "16", ")", "return", "BaseT", "::", "getMinMaxReductionCost", "(", "Ty", ",", "CondTy", ",", "IsPairwise", ",", "IsUnsigned", ")", ";", "std", "::", "pair", "<", "int", ",", "MVT", ">", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "DL", ",", "Ty", ")", ";", "return", "LT", ".", "first", "*", "getHalfRateInstrCost", "(", ")", ";", "}", ""], "natrual_language": ["Try", "to", "calculate", "op", "costs", "for", "min/max", "reduction", "operations", "."], "TS_V_token": ["AMDGPU", "16"], "File": "AMDGPUTargetTransformInfo10", "Func": "getMinMaxReductionCost", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2759, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86CallLowering", "::", "lowerFormalArguments", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Function", "&", "F", ",", "ArrayRef", "<", "ArrayRef", "<", "Register", ">>", "VRegs", ",", "FunctionLoweringInfo", "&", "FLI", ")", "const", "{", "if", "(", "F", ".", "arg_empty", "(", ")", ")", "return", "true", ";", "if", "(", "F", ".", "isVarArg", "(", ")", ")", "return", "false", ";", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "auto", "DL", "=", "MF", ".", "getDataLayout", "(", ")", ";", "SmallVector", "<", "ArgInfo", ",", "8", ">", "SplitArgs", ";", "unsigned", "Idx", "=", "0", ";", "for", "(", "const", "auto", "&", "Arg", ":", "F", ".", "args", "(", ")", ")", "{", "if", "(", "Arg", ".", "hasAttribute", "(", "Attribute", "::", "ByVal", ")", "||", "Arg", ".", "hasAttribute", "(", "Attribute", "::", "InReg", ")", "||", "Arg", ".", "hasAttribute", "(", "Attribute", "::", "StructRet", ")", "||", "Arg", ".", "hasAttribute", "(", "Attribute", "::", "SwiftSelf", ")", "||", "Arg", ".", "hasAttribute", "(", "Attribute", "::", "SwiftError", ")", "||", "Arg", ".", "hasAttribute", "(", "Attribute", "::", "Nest", ")", "||", "VRegs", "[", "Idx", "]", ".", "size", "(", ")", ">", "1", ")", "return", "false", ";", "ArgInfo", "OrigArg", "(", "VRegs", "[", "Idx", "]", ",", "Arg", ".", "getType", "(", ")", ")", ";", "setArgFlags", "(", "OrigArg", ",", "Idx", "+", "AttributeList", "::", "FirstArgIndex", ",", "DL", ",", "F", ")", ";", "splitToValueTypes", "(", "OrigArg", ",", "SplitArgs", ",", "DL", ",", "F", ".", "getCallingConv", "(", ")", ")", ";", "Idx", "++", ";", "}", "MachineBasicBlock", "&", "MBB", "=", "MIRBuilder", ".", "getMBB", "(", ")", ";", "if", "(", "!", "MBB", ".", "empty", "(", ")", ")", "MIRBuilder", ".", "setInstr", "(", "*", "MBB", ".", "begin", "(", ")", ")", ";", "X86OutgoingValueAssigner", "Assigner", "(", "CC_X86", ")", ";", "FormalArgHandler", "Handler", "(", "MIRBuilder", ",", "MRI", ")", ";", "if", "(", "!", "determineAndHandleAssignments", "(", "Handler", ",", "Assigner", ",", "SplitArgs", ",", "MIRBuilder", ",", "F", ".", "getCallingConv", "(", ")", ",", "F", ".", "isVarArg", "(", ")", ")", ")", "return", "false", ";", "MIRBuilder", ".", "setMBB", "(", "MBB", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "VRegs", ",", "for", "GlobalISel", "."], "TS_V_token": ["X86", "X86", "8", "0", "1", "X86", "X86"], "File": "X86CallLowering13", "Func": "lowerFormalArguments", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2760, "Length": 310, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arc_store_addr_hazard_internal_p", "(", "rtx_insn", "*", "producer", ",", "rtx_insn", "*", "consumer", ")", "{", "rtx", "in_set", ",", "out_set", ";", "rtx", "out_addr", ",", "in_addr", ";", "if", "(", "!", "producer", ")", "return", "false", ";", "if", "(", "!", "consumer", ")", "return", "false", ";", "out_set", "=", "single_set", "(", "producer", ")", ";", "if", "(", "out_set", ")", "{", "out_addr", "=", "SET_DEST", "(", "out_set", ")", ";", "if", "(", "!", "out_addr", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "out_addr", ")", "==", "ZERO_EXTEND", "||", "GET_CODE", "(", "out_addr", ")", "==", "SIGN_EXTEND", ")", "out_addr", "=", "XEXP", "(", "out_addr", ",", "0", ")", ";", "if", "(", "!", "MEM_P", "(", "out_addr", ")", ")", "return", "false", ";", "in_set", "=", "single_set", "(", "consumer", ")", ";", "if", "(", "in_set", ")", "{", "in_addr", "=", "SET_SRC", "(", "in_set", ")", ";", "if", "(", "!", "in_addr", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "in_addr", ")", "==", "ZERO_EXTEND", "||", "GET_CODE", "(", "in_addr", ")", "==", "SIGN_EXTEND", ")", "in_addr", "=", "XEXP", "(", "in_addr", ",", "0", ")", ";", "if", "(", "!", "MEM_P", "(", "in_addr", ")", ")", "return", "false", ";", "in_addr", "=", "XEXP", "(", "in_addr", ",", "0", ")", ";", "out_addr", "=", "XEXP", "(", "out_addr", ",", "0", ")", ";", "return", "exp_equiv_p", "(", "in_addr", ",", "out_addr", ",", "0", ",", "true", ")", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "load", "instruction", "(", "CONSUMER", ")", "uses", "the", "same", "address", "as", "a", "store", "instruction", "(", "PRODUCER", ")", ".", "This", "function", "is", "used", "to", "avoid", "st/ld", "address", "hazard", "in", "ARC700", "cores", "."], "TS_V_token": ["arc", "0", "0", "0", "0", "0"], "File": "arc", "Func": "arc_store_addr_hazard_internal_p", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2761, "Length": 201, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64BranchRelaxation", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "mf", ")", "{", "MF", "=", "&", "mf", ";", "if", "(", "!", "BranchRelaxation", ")", "return", "false", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** AArch64BranchRelaxation *****\\n\"", ")", ";", "TII", "=", "(", "const", "AArch64InstrInfo", "*", ")", "MF", "->", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MF", "->", "RenumberBlocks", "(", ")", ";", "scanFunction", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\" Basic blocks before relaxation\\n\"", ")", ";", "DEBUG", "(", "dumpBBs", "(", ")", ")", ";", "bool", "MadeChange", "=", "false", ";", "while", "(", "relaxBranchInstructions", "(", ")", ")", "MadeChange", "=", "true", ";", "verify", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\" Basic blocks after relaxation\\n\"", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "'\\n'", ";", "dumpBBs", "(", ")", ")", ";", "BlockInfo", ".", "clear", "(", ")", ";", "return", "MadeChange", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "\"***** AArch64BranchRelaxation *****\\n\"", "AArch64", "\" Basic blocks before relaxation\\n\"", "\" Basic blocks after relaxation\\n\""], "File": "AArch64BranchRelaxation", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2762, "Length": 126, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIRegisterInfo", "::", "resolveFrameIndex", "(", "MachineInstr", "&", "MI", ",", "Register", "BaseReg", ",", "int64_t", "Offset", ")", "const", "{", "const", "SIInstrInfo", "*", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "bool", "IsFlat", "=", "TII", "->", "isFLATScratch", "(", "MI", ")", ";", "bool", "SeenFI", "=", "false", ";", "for", "(", "const", "MachineOperand", "&", "MO", ":", "MI", ".", "operands", "(", ")", ")", "{", "if", "(", "MO", ".", "isFI", "(", ")", ")", "{", "if", "(", "SeenFI", ")", "llvm_unreachable", "(", "\"should not see multiple frame indices\"", ")", ";", "SeenFI", "=", "true", ";", "}", "}", "MachineOperand", "*", "FIOp", "=", "TII", "->", "getNamedOperand", "(", "MI", ",", "IsFlat", "?", "AMDGPU", "::", "OpName", "::", "saddr", ":", "AMDGPU", "::", "OpName", "::", "vaddr", ")", ";", "MachineOperand", "*", "OffsetOp", "=", "TII", "->", "getNamedOperand", "(", "MI", ",", "AMDGPU", "::", "OpName", "::", "offset", ")", ";", "int64_t", "NewOffset", "=", "OffsetOp", "->", "getImm", "(", ")", "+", "Offset", ";", "assert", "(", "FIOp", "&&", "FIOp", "->", "isFI", "(", ")", "&&", "\"frame index must be address operand\"", ")", ";", "assert", "(", "TII", "->", "isMUBUF", "(", "MI", ")", "||", "TII", "->", "isFLATScratch", "(", "MI", ")", ")", ";", "if", "(", "IsFlat", ")", "{", "assert", "(", "TII", "->", "isLegalFLATOffset", "(", "NewOffset", ",", "AMDGPUAS", "::", "PRIVATE_ADDRESS", ",", "SIInstrFlags", "::", "FlatScratch", ")", "&&", "\"offset should be legal\"", ")", ";", "FIOp", "->", "ChangeToRegister", "(", "BaseReg", ",", "false", ")", ";", "OffsetOp", "->", "setImm", "(", "NewOffset", ")", ";", "return", ";", "}", "MachineOperand", "*", "SOffset", "=", "TII", "->", "getNamedOperand", "(", "MI", ",", "AMDGPU", "::", "OpName", "::", "soffset", ")", ";", "assert", "(", "SOffset", "->", "isImm", "(", ")", "&&", "SOffset", "->", "getImm", "(", ")", "==", "0", ")", ";", "assert", "(", "SIInstrInfo", "::", "isLegalMUBUFImmOffset", "(", "NewOffset", ")", "&&", "\"offset should be legal\"", ")", ";", "FIOp", "->", "ChangeToRegister", "(", "BaseReg", ",", "false", ")", ";", "OffsetOp", "->", "setImm", "(", "NewOffset", ")", ";", "}", ""], "natrual_language": ["Resolve", "a", "frame", "index", "operand", "of", "an", "instruction", "to", "reference", "the", "indicated", "base", "register", "plus", "offset", "instead", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "\"should not see multiple frame indices\"", "AMDGPU::OpName", "AMDGPU::OpName", "AMDGPU::OpName", "\"frame index must be address operand\"", "AMDGPU", "SIInstrFlags::FlatScratch", "\"offset should be legal\"", "AMDGPU::OpName", "0", "SI", "\"offset should be legal\""], "File": "SIRegisterInfo (3)", "Func": "resolveFrameIndex", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2763, "Length": 271, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "alpha_mangle_type", "(", "const_tree", "type", ")", "{", "if", "(", "TYPE_MAIN_VARIANT", "(", "type", ")", "==", "long_double_type_node", "&&", "TARGET_LONG_DOUBLE_128", ")", "return", "\"g\"", ";", "return", "NULL", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MANGLE_TYPE", "."], "TS_V_token": ["alpha", "\"g\""], "File": "alpha", "Func": "alpha_mangle_type", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2764, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arc_asm_output_aligned_decl_local", "(", "FILE", "*", "stream", ",", "tree", "decl", ",", "const", "char", "*", "name", ",", "unsigned", "HOST_WIDE_INT", "size", ",", "unsigned", "HOST_WIDE_INT", "align", ",", "unsigned", "HOST_WIDE_INT", "globalize_p", ")", "{", "int", "in_small_data", "=", "arc_in_small_data_p", "(", "decl", ")", ";", "if", "(", "in_small_data", ")", "switch_to_section", "(", "get_named_section", "(", "NULL", ",", "\".sbss\"", ",", "0", ")", ")", ";", "else", "switch_to_section", "(", "bss_section", ")", ";", "if", "(", "globalize_p", ")", "(", "*", "targetm", ".", "asm_out", ".", "globalize_label", ")", "(", "stream", ",", "name", ")", ";", "ASM_OUTPUT_ALIGN", "(", "stream", ",", "floor_log2", "(", "(", "align", ")", "/", "BITS_PER_UNIT", ")", ")", ";", "ASM_OUTPUT_TYPE_DIRECTIVE", "(", "stream", ",", "name", ",", "\"object\"", ")", ";", "ASM_OUTPUT_SIZE_DIRECTIVE", "(", "stream", ",", "name", ",", "size", ")", ";", "ASM_OUTPUT_LABEL", "(", "stream", ",", "name", ")", ";", "if", "(", "size", "!=", "0", ")", "ASM_OUTPUT_SKIP", "(", "stream", ",", "size", ")", ";", "}", ""], "natrual_language": ["Implement", "ASM_OUTPUT_ALIGNED_DECL_LOCAL", "."], "TS_V_token": ["arc", "\".sbss\"", "0", "\"object\"", "0"], "File": "arc4", "Func": "arc_asm_output_aligned_decl_local", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2765, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "InstrItineraryData", "*", "getInstrItineraryData", "(", ")", "const", "{", "return", "&", "InstrItins", ";", "}", ""], "natrual_language": ["getInstrItineraryData", "-", "Returns", "instruction", "itinerary", "data", "for", "the", "target", "or", "specific", "subtarget", "."], "TS_V_token": ["MBlaze"], "File": "MBlazeTargetMachine1", "Func": "getInstrItineraryData", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2766, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_push_argument", "(", "unsigned", "int", "npush", ")", "{", "return", "(", "(", "!", "TARGET_SSE2", "||", "npush", "<", "(", "TARGET_64BIT", "?", "16", ":", "8", ")", ")", "&&", "TARGET_PUSH_ARGS", "&&", "!", "ACCUMULATE_OUTGOING_ARGS", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_PUSH_ARGUMENT", "."], "TS_V_token": ["i386", "16", "8"], "File": "i386", "Func": "ix86_push_argument", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2767, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "compute_a_rotate_length", "(", "rtx", "*", "operands", ")", "{", "rtx", "src", "=", "operands", "[", "1", "]", ";", "rtx", "amount_rtx", "=", "operands", "[", "2", "]", ";", "enum", "machine_mode", "mode", "=", "GET_MODE", "(", "src", ")", ";", "int", "amount", ";", "unsigned", "int", "length", "=", "0", ";", "gcc_assert", "(", "GET_CODE", "(", "amount_rtx", ")", "==", "CONST_INT", ")", ";", "amount", "=", "INTVAL", "(", "amount_rtx", ")", ";", "if", "(", "amount", "<", "0", ")", "amount", "=", "0", ";", "if", "(", "(", "unsigned", "int", ")", "amount", ">", "GET_MODE_BITSIZE", "(", "mode", ")", ")", "amount", "=", "GET_MODE_BITSIZE", "(", "mode", ")", ";", "if", "(", "(", "unsigned", "int", ")", "amount", ">", "GET_MODE_BITSIZE", "(", "mode", ")", "/", "(", "unsigned", ")", "2", ")", "amount", "=", "GET_MODE_BITSIZE", "(", "mode", ")", "-", "amount", ";", "if", "(", "(", "mode", "==", "HImode", "&&", "TARGET_H8300", "&&", "amount", ">=", "5", ")", "||", "(", "mode", "==", "HImode", "&&", "TARGET_H8300H", "&&", "amount", ">=", "6", ")", "||", "(", "mode", "==", "HImode", "&&", "TARGET_H8300S", "&&", "amount", "==", "8", ")", "||", "(", "mode", "==", "SImode", "&&", "TARGET_H8300H", "&&", "amount", ">=", "10", ")", "||", "(", "mode", "==", "SImode", "&&", "TARGET_H8300S", "&&", "amount", ">=", "13", ")", ")", "{", "amount", "=", "GET_MODE_BITSIZE", "(", "mode", ")", "/", "2", "-", "amount", ";", "length", "+=", "6", ";", "}", "if", "(", "TARGET_H8300S", ")", "amount", "=", "amount", "/", "2", "+", "amount", "%", "2", ";", "length", "+=", "amount", "*", "(", "(", "TARGET_H8300", "&&", "mode", "==", "HImode", ")", "?", "6", ":", "2", ")", ";", "return", "length", ";", "}", ""], "natrual_language": ["Compute", "the", "length", "of", "a", "rotate", "insn", "."], "TS_V_token": ["h8300", "1", "2", "0", "0", "0", "2", "5", "6", "8", "10", "13", "2", "6", "2", "2", "6", "2"], "File": "h83003", "Func": "compute_a_rotate_length", "Target": "h8300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2768, "Length": 232, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WinEHStatePass", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "!", "F", ".", "hasPersonalityFn", "(", ")", ")", "return", "false", ";", "PersonalityFn", "=", "dyn_cast", "<", "Function", ">", "(", "F", ".", "getPersonalityFn", "(", ")", "->", "stripPointerCasts", "(", ")", ")", ";", "if", "(", "!", "PersonalityFn", ")", "return", "false", ";", "Personality", "=", "classifyEHPersonality", "(", "PersonalityFn", ")", ";", "if", "(", "!", "isFuncletEHPersonality", "(", "Personality", ")", ")", "return", "false", ";", "bool", "HasPads", "=", "false", ";", "for", "(", "BasicBlock", "&", "BB", ":", "F", ")", "{", "if", "(", "BB", ".", "isEHPad", "(", ")", ")", "{", "HasPads", "=", "true", ";", "break", ";", "}", "}", "if", "(", "!", "HasPads", ")", "return", "false", ";", "F", ".", "addFnAttr", "(", "\"no-frame-pointer-elim\"", ",", "\"true\"", ")", ";", "emitExceptionRegistrationRecord", "(", "&", "F", ")", ";", "auto", "*", "MMI", "=", "getAnalysisIfAvailable", "<", "MachineModuleInfo", ">", "(", ")", ";", "std", "::", "unique_ptr", "<", "WinEHFuncInfo", ">", "FuncInfoPtr", ";", "if", "(", "!", "MMI", ")", "FuncInfoPtr", ".", "reset", "(", "new", "WinEHFuncInfo", "(", ")", ")", ";", "WinEHFuncInfo", "&", "FuncInfo", "=", "*", "(", "MMI", "?", "&", "MMI", "->", "getWinEHFuncInfo", "(", "&", "F", ")", ":", "FuncInfoPtr", ".", "get", "(", ")", ")", ";", "FuncInfo", ".", "EHRegNode", "=", "RegNode", ";", "switch", "(", "Personality", ")", "{", "default", ":", "llvm_unreachable", "(", "\"unexpected personality function\"", ")", ";", "case", "EHPersonality", "::", "MSVC_CXX", ":", "addCXXStateStores", "(", "F", ",", "FuncInfo", ")", ";", "break", ";", "case", "EHPersonality", "::", "MSVC_X86SEH", ":", "addSEHStateStores", "(", "F", ",", "FuncInfo", ")", ";", "break", ";", "}", "PersonalityFn", "=", "nullptr", ";", "Personality", "=", "EHPersonality", "::", "Unknown", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["X86", "\"no-frame-pointer-elim\"", "\"true\"", "\"unexpected personality function\"", "X86"], "File": "X86WinEHState5", "Func": "runOnFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2769, "Length": 239, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSymbol", "*", "MSP430MCInstLower", "::", "GetBlockAddressSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", "{", "switch", "(", "MO", ".", "getTargetFlags", "(", ")", ")", "{", "default", ":", "assert", "(", "0", "&&", "\"Unknown target flag on GV operand\"", ")", ";", "case", "0", ":", "break", ";", "}", "return", "Printer", ".", "GetBlockAddressSymbol", "(", "MO", ".", "getBlockAddress", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "MCSymbol", "used", "to", "satisfy", "BlockAddress", "uses", "of", "the", "specified", "basic", "block", "."], "TS_V_token": ["MSP430", "MSP430", "0", "\"Unknown target flag on GV operand\"", "0"], "File": "MSP430MCInstLower16", "Func": "GetBlockAddressSymbol", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2770, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AlphaInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "Alpha", "::", "LDL", ":", "case", "Alpha", "::", "LDQ", ":", "case", "Alpha", "::", "LDBU", ":", "case", "Alpha", "::", "LDWU", ":", "case", "Alpha", "::", "LDS", ":", "case", "Alpha", "::", "LDT", ":", "if", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "isFI", "(", ")", ")", "{", "FrameIndex", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getIndex", "(", ")", ";", "return", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "}", "break", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["isLoadFromStackSlot", "-", "If", "the", "specified", "machine", "instruction", "is", "a", "direct", "load", "from", "a", "stack", "slot", ",", "return", "the", "virtual", "or", "physical", "register", "number", "of", "the", "destination", "along", "with", "the", "FrameIndex", "of", "the", "loaded", "stack", "slot", "."], "TS_V_token": ["Alpha", "Alpha", "Alpha::LDL", "Alpha::LDQ", "Alpha::LDBU", "Alpha::LDWU", "Alpha::LDS", "Alpha::LDT", "1", "1", "0", "0"], "File": "AlphaInstrInfo", "Func": "isLoadFromStackSlot", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2771, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "use_helper_for_const_shift", "(", "machine_mode", "mode", ",", "HOST_WIDE_INT", "amt", ")", "{", "const", "int", "default_inline_shift", "=", "4", ";", "int", "user_set_max_inline", "=", "(", "msp430_max_inline_shift", "==", "65", "?", "0", ":", "1", ")", ";", "int", "max_inline", "=", "(", "user_set_max_inline", "?", "msp430_max_inline_shift", ":", "default_inline_shift", ")", ";", "int", "max_inline_32", "=", "max_inline", "/", "2", ";", "if", "(", "mode", "==", "E_DImode", ")", "return", "true", ";", "if", "(", "(", "mode", "==", "E_QImode", "||", "mode", "==", "E_HImode", "||", "mode", "==", "E_PSImode", ")", "&&", "(", "msp430x", "||", "amt", "<=", "max_inline", "||", "(", "!", "user_set_max_inline", "&&", "(", "optimize", ">=", "2", "&&", "!", "optimize_size", ")", ")", ")", ")", "return", "false", ";", "if", "(", "mode", "==", "E_SImode", "&&", "(", "amt", "<=", "max_inline_32", "||", "(", "!", "user_set_max_inline", "&&", "(", "optimize", ">=", "2", "&&", "!", "optimize_size", ")", "&&", "amt", "<=", "15", ")", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "the", "helper", "function", "should", "be", "used", "and", "FALSE", "if", "the", "shifts", "insns", "should", "be", "emitted", "inline", "."], "TS_V_token": ["msp430", "4", "65", "0", "1", "2", "2", "2", "15"], "File": "msp430", "Func": "use_helper_for_const_shift", "Target": "msp430", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2772, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "R600InstrInfo", "::", "isProfitableToDupForIfCvt", "(", "MachineBasicBlock", "&", "MBB", ",", "unsigned", "NumCyles", ",", "BranchProbability", "Probability", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "'s", "profitable", "for", "if-converter", "to", "duplicate", "instructions", "of", "specified", "accumulated", "instruction", "latencies", "in", "the", "specified", "MBB", "to", "enable", "if-conversion", "."], "TS_V_token": ["AMDGPU", "R600"], "File": "R600InstrInfo (2)", "Func": "isProfitableToDupForIfCvt", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2773, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "reg_class", "ia64_secondary_reload_class", "(", "enum", "reg_class", "rclass", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "x", ")", "{", "int", "regno", "=", "-", "1", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "REG", "||", "GET_CODE", "(", "x", ")", "==", "SUBREG", ")", "regno", "=", "true_regnum", "(", "x", ")", ";", "switch", "(", "rclass", ")", "{", "case", "BR_REGS", ":", "case", "AR_M_REGS", ":", "case", "AR_I_REGS", ":", "if", "(", "regno", ">=", "0", "&&", "!", "GENERAL_REGNO_P", "(", "regno", ")", ")", "return", "GR_REGS", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "MEM", ")", "return", "GR_REGS", ";", "break", ";", "case", "FR_REGS", ":", "case", "FP_REGS", ":", "if", "(", "regno", ">=", "0", "&&", "!", "(", "FR_REGNO_P", "(", "regno", ")", "||", "GENERAL_REGNO_P", "(", "regno", ")", ")", ")", "return", "GR_REGS", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "MEM", "&&", "(", "GET_MODE", "(", "x", ")", "==", "SImode", "||", "GET_MODE", "(", "x", ")", "==", "HImode", "||", "GET_MODE", "(", "x", ")", "==", "QImode", ")", ")", "return", "GR_REGS", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST_INT", ")", "return", "GR_REGS", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "return", "GR_REGS", ";", "break", ";", "case", "PR_REGS", ":", "if", "(", "GET_CODE", "(", "x", ")", "==", "MEM", ")", "return", "GR_REGS", ";", "if", "(", "regno", ">=", "0", "&&", "!", "GENERAL_REGNO_P", "(", "regno", ")", "&&", "!", "PR_REGNO_P", "(", "regno", ")", ")", "return", "GR_REGS", ";", "break", ";", "default", ":", "break", ";", "}", "return", "NO_REGS", ";", "}", ""], "natrual_language": ["This", "function", "returns", "the", "register", "class", "required", "for", "a", "secondary", "register", "when", "copying", "between", "one", "of", "the", "registers", "in", "CLASS", ",", "and", "X", ",", "using", "MODE", ".", "A", "return", "value", "of", "NO_REGS", "means", "that", "no", "secondary", "register", "is", "required", "."], "TS_V_token": ["ia64", "1", "0", "0", "0"], "File": "ia64", "Func": "ia64_secondary_reload_class", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2774, "Length": 224, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "arc_function_arg", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "const_tree", "type", "ATTRIBUTE_UNUSED", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "int", "arg_num", "=", "*", "cum", ";", "rtx", "ret", ";", "const", "char", "*", "debstr", "ATTRIBUTE_UNUSED", ";", "arg_num", "=", "ROUND_ADVANCE_CUM", "(", "arg_num", ",", "mode", ",", "type", ")", ";", "if", "(", "mode", "==", "VOIDmode", ")", "{", "ret", "=", "const0_rtx", ";", "debstr", "=", "\"<0>\"", ";", "}", "else", "if", "(", "GPR_REST_ARG_REGS", "(", "arg_num", ")", ">", "0", ")", "{", "ret", "=", "gen_rtx_REG", "(", "mode", ",", "arg_num", ")", ";", "debstr", "=", "reg_names", "[", "arg_num", "]", ";", "}", "else", "{", "ret", "=", "NULL_RTX", ";", "debstr", "=", "\"memory\"", ";", "}", "return", "ret", ";", "}", ""], "natrual_language": ["On", "the", "ARC", "the", "first", "MAX_ARC_PARM_REGS", "args", "are", "normally", "in", "registers", "and", "the", "rest", "are", "pushed", "."], "TS_V_token": ["arc", "\"<0>\"", "0", "\"memory\""], "File": "arc4", "Func": "arc_function_arg", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2775, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "nds32_target_alignment", "(", "rtx", "label", ")", "{", "rtx_insn", "*", "insn", ";", "if", "(", "optimize_size", ")", "return", "0", ";", "insn", "=", "next_active_insn", "(", "label", ")", ";", "if", "(", "insn", "==", "0", ")", "return", "0", ";", "else", "if", "(", "(", "get_attr_length", "(", "insn", ")", "%", "4", ")", "==", "0", ")", "return", "2", ";", "else", "return", "0", ";", "}", ""], "natrual_language": ["Return", "align", "2", "(", "log", "base", "2", ")", "if", "the", "next", "instruction", "of", "LABEL", "is", "4", "byte", "."], "TS_V_token": ["nds32", "0", "0", "0", "4", "0", "2", "0"], "File": "nds322", "Func": "nds32_target_alignment", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2776, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "gimple_folder", "::", "load_store_cookie", "(", "tree", "type", ")", "{", "return", "build_int_cst", "(", "build_pointer_type", "(", "type", ")", ",", "TYPE_ALIGN_UNIT", "(", "type", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "alignment", "and", "TBAA", "argument", "to", "an", "internal", "load", "or", "store", "function", "like", "IFN_MASK_LOAD", "or", "IFN_MASK_STORE", ",", "given", "that", "it", "accesses", "memory", "elements", "of", "type", "TYPE", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins", "Func": "load_store_cookie", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2777, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonFrameLowering", "::", "hasTailCall", "(", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "unsigned", "RetOpcode", "=", "MBBI", "->", "getOpcode", "(", ")", ";", "return", "RetOpcode", "==", "Hexagon", "::", "TCRETURNi", "||", "RetOpcode", "==", "Hexagon", "::", "TCRETURNr", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "function", "contains", "a", "tail", "call", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon::TCRETURNi", "Hexagon::TCRETURNr"], "File": "HexagonFrameLowering57", "Func": "hasTailCall", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2778, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "CallLowering", "*", "getCallLowering", "(", ")", "const", "override", "{", "return", "CallLoweringInfo", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["Methods", "used", "by", "Global", "ISel", "."], "TS_V_token": ["ARM"], "File": "ARMSubtarget51", "Func": "getCallLowering", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2779, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RISCVRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVSubtarget (2)1", "Func": "getRegisterInfo", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2780, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "M680x0TargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "&", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected instr type to insert\"", ")", ";", "case", "M680x0", "::", "CMOV8d", ":", "case", "M680x0", "::", "CMOV16d", ":", "case", "M680x0", "::", "CMOV32r", ":", "return", "EmitLoweredSelect", "(", "MI", ",", "BB", ")", ";", "case", "M680x0", "::", "SALLOCA", ":", "return", "EmitLoweredSegAlloca", "(", "MI", ",", "BB", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "."], "TS_V_token": ["M680x0", "M680x0", "\"Unexpected instr type to insert\"", "M680x0::CMOV8d", "M680x0::CMOV16d", "M680x0::CMOV32r", "M680x0::SALLOCA"], "File": "M680x0ISelLowering", "Func": "EmitInstrWithCustomInserter", "Target": "M680x0", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2781, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "TGSIRegisterInfo", "::", "getCFGStructurizerRegClass", "(", "MVT", "VT", ")", "const", "{", "switch", "(", "VT", ".", "SimpleTy", ")", "{", "default", ":", "case", "MVT", "::", "i32", ":", "return", "&", "TGSI", "::", "IRegsRegClass", ";", "}", "}", ""], "natrual_language": ["get", "the", "register", "class", "of", "the", "specified", "type", "to", "use", "in", "the", "CFGStructurizer"], "TS_V_token": ["TGSI", "TGSI", "MVT::i32", "TGSI::IRegsRegClass"], "File": "TGSIRegisterInfo", "Func": "getCFGStructurizerRegClass", "Target": "TGSI", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2782, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"AMDGPURegBankCombiner\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AMDGPU", "\"AMDGPURegBankCombiner\""], "File": "AMDGPURegBankCombiner", "Func": "getPassName", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2783, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_function_specific_print", "(", "FILE", "*", "file", ",", "int", "indent", ",", "struct", "cl_target_option", "*", "ptr", ")", "{", "char", "*", "target_string", "=", "ix86_target_string", "(", "ptr", "->", "x_ix86_isa_flags", ",", "ptr", "->", "x_ix86_isa_flags2", ",", "ptr", "->", "x_target_flags", ",", "ptr", "->", "x_ix86_target_flags", ",", "NULL", ",", "NULL", ",", "ptr", "->", "x_ix86_fpmath", ",", "false", ")", ";", "gcc_assert", "(", "ptr", "->", "arch", "<", "PROCESSOR_max", ")", ";", "fprintf", "(", "file", ",", "\"%*sarch = %d (%s)\\n\"", ",", "indent", ",", "\"\"", ",", "ptr", "->", "arch", ",", "processor_target_table", "[", "ptr", "->", "arch", "]", ".", "name", ")", ";", "gcc_assert", "(", "ptr", "->", "tune", "<", "PROCESSOR_max", ")", ";", "fprintf", "(", "file", ",", "\"%*stune = %d (%s)\\n\"", ",", "indent", ",", "\"\"", ",", "ptr", "->", "tune", ",", "processor_target_table", "[", "ptr", "->", "tune", "]", ".", "name", ")", ";", "fprintf", "(", "file", ",", "\"%*sbranch_cost = %d\\n\"", ",", "indent", ",", "\"\"", ",", "ptr", "->", "branch_cost", ")", ";", "if", "(", "target_string", ")", "{", "fprintf", "(", "file", ",", "\"%*s%s\\n\"", ",", "indent", ",", "\"\"", ",", "target_string", ")", ";", "free", "(", "target_string", ")", ";", "}", "}", ""], "natrual_language": ["Print", "the", "current", "options"], "TS_V_token": ["i386", "\"%*sarch = %d (%s)\\n\"", "\"\"", "\"%*stune = %d (%s)\\n\"", "\"\"", "\"%*sbranch_cost = %d\\n\"", "\"\"", "\"%*s%s\\n\"", "\"\""], "File": "i3866", "Func": "ix86_function_specific_print", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2784, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "expand_block_clear", "(", "rtx", "operands", "[", "]", ")", "{", "rtx", "orig_dest", "=", "operands", "[", "0", "]", ";", "rtx", "bytes_rtx", "=", "operands", "[", "1", "]", ";", "rtx", "align_rtx", "=", "operands", "[", "3", "]", ";", "bool", "constp", "=", "CONST_INT_P", "(", "bytes_rtx", ")", ";", "HOST_WIDE_INT", "align", ";", "HOST_WIDE_INT", "bytes", ";", "int", "offset", ";", "int", "clear_bytes", ";", "int", "clear_step", ";", "if", "(", "!", "constp", ")", "return", "0", ";", "gcc_assert", "(", "CONST_INT_P", "(", "align_rtx", ")", ")", ";", "align", "=", "INTVAL", "(", "align_rtx", ")", "*", "BITS_PER_UNIT", ";", "bytes", "=", "INTVAL", "(", "bytes_rtx", ")", ";", "if", "(", "bytes", "<=", "0", ")", "return", "1", ";", "if", "(", "TARGET_ALTIVEC", "&&", "(", "align", ">=", "128", "||", "TARGET_EFFICIENT_UNALIGNED_VSX", ")", ")", "clear_step", "=", "16", ";", "else", "if", "(", "TARGET_POWERPC64", "&&", "(", "align", ">=", "64", "||", "!", "STRICT_ALIGNMENT", ")", ")", "clear_step", "=", "8", ";", "else", "clear_step", "=", "4", ";", "if", "(", "optimize_size", "&&", "bytes", ">", "3", "*", "clear_step", ")", "return", "0", ";", "if", "(", "!", "optimize_size", "&&", "bytes", ">", "8", "*", "clear_step", ")", "return", "0", ";", "bool", "unaligned_vsx_ok", "=", "(", "bytes", ">=", "32", "&&", "TARGET_EFFICIENT_UNALIGNED_VSX", ")", ";", "for", "(", "offset", "=", "0", ";", "bytes", ">", "0", ";", "offset", "+=", "clear_bytes", ",", "bytes", "-=", "clear_bytes", ")", "{", "machine_mode", "mode", "=", "BLKmode", ";", "rtx", "dest", ";", "if", "(", "TARGET_ALTIVEC", "&&", "(", "bytes", ">=", "16", "&&", "(", "align", ">=", "128", "||", "unaligned_vsx_ok", ")", ")", ")", "{", "clear_bytes", "=", "16", ";", "mode", "=", "V4SImode", ";", "}", "else", "if", "(", "bytes", ">=", "8", "&&", "TARGET_POWERPC64", "&&", "(", "align", ">=", "64", "||", "!", "STRICT_ALIGNMENT", ")", ")", "{", "clear_bytes", "=", "8", ";", "mode", "=", "DImode", ";", "if", "(", "offset", "==", "0", "&&", "align", "<", "64", ")", "{", "rtx", "addr", ";", "addr", "=", "XEXP", "(", "orig_dest", ",", "0", ")", ";", "if", "(", "(", "GET_CODE", "(", "addr", ")", "==", "PLUS", "||", "GET_CODE", "(", "addr", ")", "==", "LO_SUM", ")", "&&", "CONST_INT_P", "(", "XEXP", "(", "addr", ",", "1", ")", ")", "&&", "(", "INTVAL", "(", "XEXP", "(", "addr", ",", "1", ")", ")", "&", "3", ")", "!=", "0", ")", "{", "addr", "=", "copy_addr_to_reg", "(", "addr", ")", ";", "orig_dest", "=", "replace_equiv_address", "(", "orig_dest", ",", "addr", ")", ";", "}", "}", "}", "else", "if", "(", "bytes", ">=", "4", "&&", "(", "align", ">=", "32", "||", "!", "STRICT_ALIGNMENT", ")", ")", "{", "clear_bytes", "=", "4", ";", "mode", "=", "SImode", ";", "}", "else", "if", "(", "bytes", ">=", "2", "&&", "(", "align", ">=", "16", "||", "!", "STRICT_ALIGNMENT", ")", ")", "{", "clear_bytes", "=", "2", ";", "mode", "=", "HImode", ";", "}", "else", "{", "clear_bytes", "=", "1", ";", "mode", "=", "QImode", ";", "}", "dest", "=", "adjust_address", "(", "orig_dest", ",", "mode", ",", "offset", ")", ";", "emit_move_insn", "(", "dest", ",", "CONST0_RTX", "(", "mode", ")", ")", ";", "}", "return", "1", ";", "}", ""], "natrual_language": ["Expand", "a", "block", "clear", "operation", ",", "and", "return", "1", "if", "successful", ".", "Return", "0", "if", "we", "should", "let", "the", "compiler", "generate", "normal", "code", ".", "operands", "[", "0", "]", "is", "the", "destination", "operands", "[", "1", "]", "is", "the", "length", "operands", "[", "3", "]", "is", "the", "alignment"], "TS_V_token": ["rs6000", "0", "1", "3", "0", "0", "1", "128", "16", "64", "8", "4", "3", "0", "8", "0", "32", "0", "0", "16", "128", "16", "8", "64", "8", "0", "64", "0", "1", "1", "3", "0", "4", "32", "4", "2", "16", "2", "1", "1"], "File": "rs6000-string", "Func": "expand_block_clear", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2785, "Length": 432, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumberOfRegisters", "(", "bool", "Vector", ")", "const", "override", "{", "if", "(", "Vector", ")", "{", "if", "(", "ST", "->", "hasNEON", "(", ")", ")", "return", "32", ";", "return", "0", ";", "}", "return", "31", ";", "}", ""], "natrual_language": ["\ufffd", "?", "Vector", "TTI", "begin", "\ufffd", "?"], "TS_V_token": ["AArch64", "32", "0", "31"], "File": "AArch64TargetTransformInfo1", "Func": "getNumberOfRegisters", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2786, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "shouldExpandAtomicCmpXchgInIR", "(", "AtomicCmpXchgInst", "*", "AI", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "given", "atomic", "cmpxchg", "should", "be", "expanded", "by", "the", "IR-level", "AtomicExpand", "pass", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64ISelLowering (2)1", "Func": "shouldExpandAtomicCmpXchgInIR", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2787, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isReachable", "(", "const", "MachineInstr", "*", "From", ",", "const", "MachineInstr", "*", "To", ",", "const", "MachineBasicBlock", "*", "CutOff", ",", "MachineDominatorTree", "&", "MDT", ")", "{", "if", "(", "MDT", ".", "dominates", "(", "From", ",", "To", ")", ")", "return", "true", ";", "const", "MachineBasicBlock", "*", "MBBFrom", "=", "From", "->", "getParent", "(", ")", ";", "const", "MachineBasicBlock", "*", "MBBTo", "=", "To", "->", "getParent", "(", ")", ";", "return", "searchPredecessors", "(", "MBBTo", ",", "CutOff", ",", "[", "MBBFrom", "]", "(", "const", "MachineBasicBlock", "*", "MBB", ")", "{", "return", "MBB", "==", "MBBFrom", ";", "}", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "instruction", "is", "reachable", "from", "entry", "."], "TS_V_token": ["AMDGPU"], "File": "SIFixSGPRCopies14", "Func": "isReachable", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2788, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "MipsRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "if", "(", "Subtarget", ".", "isSingleFloat", "(", ")", ")", "return", "CSR_SingleFloatOnly_SaveList", ";", "if", "(", "Subtarget", ".", "isABI_N64", "(", ")", ")", "return", "CSR_N64_SaveList", ";", "if", "(", "Subtarget", ".", "isABI_N32", "(", ")", ")", "return", "CSR_N32_SaveList", ";", "if", "(", "Subtarget", ".", "isFP64bit", "(", ")", ")", "return", "CSR_O32_FP64_SaveList", ";", "return", "CSR_O32_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["Mips", "Mips"], "File": "MipsRegisterInfo42", "Func": "getCalleeSavedRegs", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2789, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonInstrInfo", "::", "areMemAccessesTriviallyDisjoint", "(", "MachineInstr", "&", "MIa", ",", "MachineInstr", "&", "MIb", ",", "AliasAnalysis", "*", "AA", ")", "const", "{", "int", "OffsetA", "=", "0", ",", "OffsetB", "=", "0", ";", "unsigned", "SizeA", "=", "0", ",", "SizeB", "=", "0", ";", "if", "(", "MIa", ".", "hasUnmodeledSideEffects", "(", ")", "||", "MIb", ".", "hasUnmodeledSideEffects", "(", ")", "||", "MIa", ".", "hasOrderedMemoryRef", "(", ")", "||", "MIb", ".", "hasOrderedMemoryRef", "(", ")", ")", "return", "false", ";", "if", "(", "MIa", ".", "mayLoad", "(", ")", "&&", "!", "isMemOp", "(", "MIa", ")", "&&", "MIb", ".", "mayLoad", "(", ")", "&&", "!", "isMemOp", "(", "MIb", ")", ")", "return", "true", ";", "unsigned", "BaseRegA", "=", "getBaseAndOffset", "(", "MIa", ",", "OffsetA", ",", "SizeA", ")", ";", "if", "(", "!", "BaseRegA", "||", "!", "SizeA", ")", "return", "false", ";", "unsigned", "BaseRegB", "=", "getBaseAndOffset", "(", "MIb", ",", "OffsetB", ",", "SizeB", ")", ";", "if", "(", "!", "BaseRegB", "||", "!", "SizeB", ")", "return", "false", ";", "if", "(", "BaseRegA", "!=", "BaseRegB", ")", "return", "false", ";", "if", "(", "OffsetA", ">", "OffsetB", ")", "{", "uint64_t", "offDiff", "=", "(", "uint64_t", ")", "(", "(", "int64_t", ")", "OffsetA", "-", "(", "int64_t", ")", "OffsetB", ")", ";", "return", "(", "SizeB", "<=", "offDiff", ")", ";", "}", "else", "if", "(", "OffsetA", "<", "OffsetB", ")", "{", "uint64_t", "offDiff", "=", "(", "uint64_t", ")", "(", "(", "int64_t", ")", "OffsetB", "-", "(", "int64_t", ")", "OffsetA", ")", ";", "return", "(", "SizeA", "<=", "offDiff", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Sometimes", ",", "it", "is", "possible", "for", "the", "target", "to", "tell", ",", "even", "without", "aliasing", "information", ",", "that", "two", "MIs", "access", "different", "memory", "addresses", "."], "TS_V_token": ["Hexagon", "Hexagon", "0", "0", "0", "0"], "File": "HexagonInstrInfo10", "Func": "areMemAccessesTriviallyDisjoint", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2790, "Length": 221, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "MipsTargetStreamer", "&", "TS", "=", "getTargetStreamer", "(", ")", ";", "unsigned", "Opc", "=", "MI", "->", "getOpcode", "(", ")", ";", "TS", ".", "forbidModuleDirective", "(", ")", ";", "if", "(", "MI", "->", "isDebugValue", "(", ")", ")", "{", "SmallString", "<", "128", ">", "Str", ";", "raw_svector_ostream", "OS", "(", "Str", ")", ";", "PrintDebugValueComment", "(", "MI", ",", "OS", ")", ";", "return", ";", "}", "if", "(", "MI", "->", "isDebugLabel", "(", ")", ")", "return", ";", "if", "(", "InConstantPool", "&&", "Opc", "!=", "Mips", "::", "CONSTPOOL_ENTRY", ")", "{", "OutStreamer", "->", "EmitDataRegion", "(", "MCDR_DataRegionEnd", ")", ";", "InConstantPool", "=", "false", ";", "}", "if", "(", "Opc", "==", "Mips", "::", "CONSTPOOL_ENTRY", ")", "{", "unsigned", "LabelId", "=", "(", "unsigned", ")", "MI", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "unsigned", "CPIdx", "=", "(", "unsigned", ")", "MI", "->", "getOperand", "(", "1", ")", ".", "getIndex", "(", ")", ";", "if", "(", "!", "InConstantPool", ")", "{", "OutStreamer", "->", "EmitDataRegion", "(", "MCDR_DataRegion", ")", ";", "InConstantPool", "=", "true", ";", "}", "OutStreamer", "->", "EmitLabel", "(", "GetCPISymbol", "(", "LabelId", ")", ")", ";", "const", "MachineConstantPoolEntry", "&", "MCPE", "=", "MCP", "->", "getConstants", "(", ")", "[", "CPIdx", "]", ";", "if", "(", "MCPE", ".", "isMachineConstantPoolEntry", "(", ")", ")", "EmitMachineConstantPoolValue", "(", "MCPE", ".", "Val", ".", "MachineCPVal", ")", ";", "else", "EmitGlobalConstant", "(", "MF", "->", "getDataLayout", "(", ")", ",", "MCPE", ".", "Val", ".", "ConstVal", ")", ";", "return", ";", "}", "switch", "(", "Opc", ")", "{", "case", "Mips", "::", "PATCHABLE_FUNCTION_ENTER", ":", "LowerPATCHABLE_FUNCTION_ENTER", "(", "*", "MI", ")", ";", "return", ";", "case", "Mips", "::", "PATCHABLE_FUNCTION_EXIT", ":", "LowerPATCHABLE_FUNCTION_EXIT", "(", "*", "MI", ")", ";", "return", ";", "case", "Mips", "::", "PATCHABLE_TAIL_CALL", ":", "LowerPATCHABLE_TAIL_CALL", "(", "*", "MI", ")", ";", "return", ";", "}", "if", "(", "EmitJalrReloc", "&&", "(", "MI", "->", "isReturn", "(", ")", "||", "MI", "->", "isCall", "(", ")", "||", "MI", "->", "isIndirectBranch", "(", ")", ")", ")", "{", "emitDirectiveRelocJalr", "(", "*", "MI", ",", "OutContext", ",", "TM", ",", "*", "OutStreamer", ",", "*", "Subtarget", ")", ";", "}", "MachineBasicBlock", "::", "const_instr_iterator", "I", "=", "MI", "->", "getIterator", "(", ")", ";", "MachineBasicBlock", "::", "const_instr_iterator", "E", "=", "MI", "->", "getParent", "(", ")", "->", "instr_end", "(", ")", ";", "do", "{", "if", "(", "emitPseudoExpansionLowering", "(", "*", "OutStreamer", ",", "&", "*", "I", ")", ")", "continue", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "Mips", "::", "PseudoReturn", "||", "I", "->", "getOpcode", "(", ")", "==", "Mips", "::", "PseudoReturn64", "||", "I", "->", "getOpcode", "(", ")", "==", "Mips", "::", "PseudoIndirectBranch", "||", "I", "->", "getOpcode", "(", ")", "==", "Mips", "::", "PseudoIndirectBranch64", "||", "I", "->", "getOpcode", "(", ")", "==", "Mips", "::", "TAILCALLREG", "||", "I", "->", "getOpcode", "(", ")", "==", "Mips", "::", "TAILCALLREG64", ")", "{", "emitPseudoIndirectBranch", "(", "*", "OutStreamer", ",", "&", "*", "I", ")", ";", "continue", ";", "}", "if", "(", "I", "->", "isPseudo", "(", ")", "&&", "!", "Subtarget", "->", "inMips16Mode", "(", ")", "&&", "!", "isLongBranchPseudo", "(", "I", "->", "getOpcode", "(", ")", ")", ")", "llvm_unreachable", "(", "\"Pseudo opcode found in EmitInstruction()\"", ")", ";", "MCInst", "TmpInst0", ";", "MCInstLowering", ".", "Lower", "(", "&", "*", "I", ",", "TmpInst0", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "TmpInst0", ")", ";", "}", "while", "(", "(", "++", "I", "!=", "E", ")", "&&", "I", "->", "isInsideBundle", "(", ")", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["Mips", "Mips", "Mips", "128", "Mips::CONSTPOOL_ENTRY", "Mips::CONSTPOOL_ENTRY", "0", "1", "Mips::PATCHABLE_FUNCTION_ENTER", "Mips::PATCHABLE_FUNCTION_EXIT", "Mips::PATCHABLE_TAIL_CALL", "Mips::PseudoReturn", "Mips::PseudoReturn64", "Mips::PseudoIndirectBranch", "Mips::PseudoIndirectBranch64", "Mips::TAILCALLREG", "Mips::TAILCALLREG64", "Mips", "\"Pseudo opcode found in EmitInstruction()\""], "File": "MipsAsmPrinter10", "Func": "EmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2791, "Length": 494, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "AArch64TargetStreamer", "::", "addConstantPoolEntry", "(", "const", "MCExpr", "*", "Expr", ")", "{", "return", "ConstantPools", "->", "addEntry", "(", "Streamer", ",", "Expr", ")", ";", "}", ""], "natrual_language": ["Add", "a", "new", "entry", "to", "the", "constant", "pool", "for", "the", "current", "section", "and", "return", "an", "MCExpr", "that", "can", "be", "used", "to", "refer", "to", "the", "constant", "pool", "location", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64TargetStreamer", "Func": "addConstantPoolEntry", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2792, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "get_mode_no_for_insn", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "reg", ",", "mem", ",", "mode_rtx", ";", "int", "mode_no", ";", "bool", "extend_p", ";", "extract_insn_cached", "(", "insn", ")", ";", "if", "(", "recog_data", ".", "n_operands", "!=", "2", ")", "return", "-", "1", ";", "reg", "=", "recog_data", ".", "operand", "[", "0", "]", ";", "mem", "=", "recog_data", ".", "operand", "[", "1", "]", ";", "if", "(", "get_attr_speculable1", "(", "insn", ")", "==", "SPECULABLE1_YES", ")", "{", "if", "(", "!", "reload_completed", ")", "{", "if", "(", "!", "REG_P", "(", "reg", ")", "||", "AR_REGNO_P", "(", "REGNO", "(", "reg", ")", ")", ")", "return", "-", "1", ";", "if", "(", "!", "MEM_P", "(", "mem", ")", ")", "return", "-", "1", ";", "{", "rtx", "mem_reg", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "if", "(", "!", "REG_P", "(", "mem_reg", ")", ")", "return", "-", "1", ";", "}", "mode_rtx", "=", "mem", ";", "}", "else", "if", "(", "get_attr_speculable2", "(", "insn", ")", "==", "SPECULABLE2_YES", ")", "{", "gcc_assert", "(", "REG_P", "(", "reg", ")", "&&", "MEM_P", "(", "mem", ")", ")", ";", "mode_rtx", "=", "mem", ";", "}", "else", "return", "-", "1", ";", "}", "else", "if", "(", "get_attr_data_speculative", "(", "insn", ")", "==", "DATA_SPECULATIVE_YES", "||", "get_attr_control_speculative", "(", "insn", ")", "==", "CONTROL_SPECULATIVE_YES", "||", "get_attr_check_load", "(", "insn", ")", "==", "CHECK_LOAD_YES", ")", "{", "gcc_assert", "(", "REG_P", "(", "reg", ")", "&&", "MEM_P", "(", "mem", ")", ")", ";", "mode_rtx", "=", "mem", ";", "}", "else", "{", "enum", "attr_itanium_class", "attr_class", "=", "get_attr_itanium_class", "(", "insn", ")", ";", "if", "(", "attr_class", "==", "ITANIUM_CLASS_CHK_A", "||", "attr_class", "==", "ITANIUM_CLASS_CHK_S_I", "||", "attr_class", "==", "ITANIUM_CLASS_CHK_S_F", ")", "mode_rtx", "=", "reg", ";", "else", "return", "-", "1", ";", "}", "mode_no", "=", "ia64_mode_to_int", "(", "GET_MODE", "(", "mode_rtx", ")", ")", ";", "if", "(", "mode_no", "==", "SPEC_MODE_INVALID", ")", "return", "-", "1", ";", "extend_p", "=", "(", "GET_MODE", "(", "reg", ")", "!=", "GET_MODE", "(", "mode_rtx", ")", ")", ";", "if", "(", "extend_p", ")", "{", "if", "(", "!", "(", "SPEC_MODE_FOR_EXTEND_FIRST", "<=", "mode_no", "&&", "mode_no", "<=", "SPEC_MODE_FOR_EXTEND_LAST", ")", ")", "return", "-", "1", ";", "mode_no", "+=", "SPEC_GEN_EXTEND_OFFSET", ";", "}", "return", "mode_no", ";", "}", ""], "natrual_language": ["If", "INSN", "is", "an", "appropriate", "load", "return", "its", "mode", ".", "Return", "-1", "otherwise", "."], "TS_V_token": ["ia64", "2", "1", "0", "1", "1", "1", "0", "1", "1", "1", "1", "1"], "File": "ia64", "Func": "get_mode_no_for_insn", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2793, "Length": 312, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "get_default_ta", "(", ")", "{", "return", "(", "bool", ")", "(", "get_prefer_tail_policy", "(", ")", "&", "0x1", "||", "(", "get_prefer_tail_policy", "(", ")", ">>", "1", "&", "0x1", ")", ")", ";", "}", ""], "natrual_language": ["Get", "default", "tail", "policy", "."], "TS_V_token": ["riscv", "0x1", "1", "0x1"], "File": "riscv-vsetvl", "Func": "get_default_ta", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2794, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PadShortFunc", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "MF", ".", "getFunction", "(", ")", "->", "hasFnAttribute", "(", "Attribute", "::", "OptimizeForSize", ")", "||", "MF", ".", "getFunction", "(", ")", "->", "hasFnAttribute", "(", "Attribute", "::", "MinSize", ")", ")", "{", "return", "false", ";", "}", "STI", "=", "&", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "!", "STI", "->", "padShortFunctions", "(", ")", ")", "return", "false", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "ReturnBBs", ".", "clear", "(", ")", ";", "VisitedBBs", ".", "clear", "(", ")", ";", "findReturns", "(", "MF", ".", "begin", "(", ")", ")", ";", "bool", "MadeChange", "=", "false", ";", "MachineBasicBlock", "*", "MBB", ";", "unsigned", "int", "Cycles", "=", "0", ";", "for", "(", "DenseMap", "<", "MachineBasicBlock", "*", ",", "unsigned", "int", ">", "::", "iterator", "I", "=", "ReturnBBs", ".", "begin", "(", ")", ";", "I", "!=", "ReturnBBs", ".", "end", "(", ")", ";", "++", "I", ")", "{", "MBB", "=", "I", "->", "first", ";", "Cycles", "=", "I", "->", "second", ";", "if", "(", "Cycles", "<", "Threshold", ")", "{", "assert", "(", "MBB", "->", "size", "(", ")", ">", "0", "&&", "\"Basic block should contain at least a RET but is empty\"", ")", ";", "MachineBasicBlock", "::", "iterator", "ReturnLoc", "=", "--", "MBB", "->", "end", "(", ")", ";", "while", "(", "ReturnLoc", "->", "isDebugValue", "(", ")", ")", "--", "ReturnLoc", ";", "assert", "(", "ReturnLoc", "->", "isReturn", "(", ")", "&&", "!", "ReturnLoc", "->", "isCall", "(", ")", "&&", "\"Basic block does not end with RET\"", ")", ";", "addPadding", "(", "MBB", ",", "ReturnLoc", ",", "Threshold", "-", "Cycles", ")", ";", "NumBBsPadded", "++", ";", "MadeChange", "=", "true", ";", "}", "}", "return", "MadeChange", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "0", "0", "\"Basic block should contain at least a RET but is empty\"", "\"Basic block does not end with RET\""], "File": "X86PadShortFunction23", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2795, "Length": 240, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "ix86_function_arg_boundary", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "unsigned", "int", "align", ";", "if", "(", "type", ")", "{", "type", "=", "TYPE_MAIN_VARIANT", "(", "type", ")", ";", "align", "=", "TYPE_ALIGN", "(", "type", ")", ";", "if", "(", "TYPE_EMPTY_P", "(", "type", ")", ")", "return", "PARM_BOUNDARY", ";", "}", "else", "align", "=", "GET_MODE_ALIGNMENT", "(", "mode", ")", ";", "if", "(", "align", "<", "PARM_BOUNDARY", ")", "align", "=", "PARM_BOUNDARY", ";", "else", "{", "static", "bool", "warned", ";", "unsigned", "int", "saved_align", "=", "align", ";", "if", "(", "!", "TARGET_64BIT", ")", "{", "if", "(", "!", "type", ")", "{", "if", "(", "mode", "==", "XFmode", "||", "mode", "==", "XCmode", ")", "align", "=", "PARM_BOUNDARY", ";", "}", "else", "if", "(", "!", "ix86_contains_aligned_value_p", "(", "type", ")", ")", "align", "=", "PARM_BOUNDARY", ";", "if", "(", "align", "<", "128", ")", "align", "=", "PARM_BOUNDARY", ";", "}", "if", "(", "warn_psabi", "&&", "!", "warned", "&&", "align", "!=", "ix86_compat_function_arg_boundary", "(", "mode", ",", "type", ",", "saved_align", ")", ")", "{", "warned", "=", "true", ";", "inform", "(", "input_location", ",", "\"the ABI for passing parameters with %d-byte\"", "\" alignment has changed in GCC 4.6\"", ",", "align", "/", "BITS_PER_UNIT", ")", ";", "}", "}", "return", "align", ";", "}", ""], "natrual_language": ["Gives", "the", "alignment", "boundary", ",", "in", "bits", ",", "of", "an", "argument", "with", "the", "specified", "mode", "and", "type", "."], "TS_V_token": ["i386", "128", "\"the ABI for passing parameters with %d-byte\"", "\" alignment has changed in GCC 4.6\""], "File": "i386", "Func": "ix86_function_arg_boundary", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2796, "Length": 168, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MipsTargetLowering", "::", "getTargetNode", "(", "ConstantPoolSDNode", "*", "N", ",", "EVT", "Ty", ",", "SelectionDAG", "&", "DAG", ",", "unsigned", "Flag", ")", "const", "{", "return", "DAG", ".", "getTargetConstantPool", "(", "N", "->", "getConstVal", "(", ")", ",", "Ty", ",", "N", "->", "getAlignment", "(", ")", ",", "N", "->", "getOffset", "(", ")", ",", "Flag", ")", ";", "}", ""], "natrual_language": ["Retrieve", "the", "target", "node", "this", "edge", "connects", "to", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsISelLowering (2)1", "Func": "getTargetNode", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2797, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "MipsTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "EVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'r'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "Mips", "::", "CPURegsRegisterClass", ")", ";", "case", "'f'", ":", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "Mips", "::", "FGR32RegisterClass", ")", ";", "if", "(", "VT", "==", "MVT", "::", "f64", ")", "if", "(", "(", "!", "Subtarget", "->", "isSingleFloat", "(", ")", ")", "&&", "(", "!", "Subtarget", "->", "isFP64bit", "(", ")", ")", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "Mips", "::", "AFGR64RegisterClass", ")", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["Mips", "Mips", "1", "0", "0U", "Mips::CPURegsRegisterClass", "MVT::f32", "0U", "Mips::FGR32RegisterClass", "MVT::f64", "0U", "Mips::AFGR64RegisterClass"], "File": "MipsISelLowering115", "Func": "getRegForInlineAsmConstraint", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2798, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addPreserved", "<", "MachineFunctionAnalysis", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineFunctionAnalysis", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "MachinePostDominatorTree", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineLoopInfo", ">", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["R600"], "File": "AMDILCFGStructurizer1", "Func": "getAnalysisUsage", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2799, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "indirectable_constant_address_p", "(", "rtx", "x", ")", "{", "return", "CONSTANT_ADDRESS_P", "(", "x", ")", ";", "}", ""], "natrual_language": ["Re-definition", "of", "CONSTANT_ADDRESS_P", ",", "which", "is", "true", "only", "when", "there", "are", "no", "SYMBOL_REFs", "for", "external", "symbols", "present", "."], "TS_V_token": ["vax"], "File": "vax3", "Func": "indirectable_constant_address_p", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2800, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_disqualify_components", "(", "sbitmap", "components", ",", "edge", "e", ",", "sbitmap", "edge_components", ",", "bool", ")", "{", "if", "(", "bitmap_bit_p", "(", "edge_components", ",", "0", ")", "&&", "bitmap_bit_p", "(", "DF_LIVE_IN", "(", "e", "->", "dest", ")", ",", "0", ")", ")", "{", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"Disqualifying LR because GPR0 is live \"", "\"on entry to bb %d\\n\"", ",", "e", "->", "dest", "->", "index", ")", ";", "bitmap_clear_bit", "(", "components", ",", "0", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_SHRINK_WRAP_DISQUALIFY_COMPONENTS", "."], "TS_V_token": ["rs6000", "0", "0", "\"Disqualifying LR because GPR0 is live \"", "\"on entry to bb %d\\n\"", "0"], "File": "rs60006", "Func": "rs6000_disqualify_components", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2801, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "F2003fFiMalkrz", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "const", "F2003fInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "F2003fInstrInfo", "*", ">", "(", "F", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "for", "(", "auto", "&", "BB", ":", "F", ")", "{", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "BB", ".", "begin", "(", ")", ";", "I", "!=", "BB", ".", "end", "(", ")", ";", ")", "{", "MachineInstr", "&", "MI", "=", "*", "I", ";", "DebugLoc", "DL", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "unsigned", "FiOpc", "=", "TII", ".", "getFiFromFiMalkrz", "(", "Opc", ")", ";", "if", "(", "FiOpc", "!=", "F2003f", "::", "INSTRUCTION_LIST_END", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Expand: \"", ")", ";", "DEBUG", "(", "MI", ".", "dump", "(", ")", ")", ";", "MIBundleBuilder", "Bundle", "(", "BB", ",", "I", ")", ";", "unsigned", "MalkrzOpc", "=", "TII", ".", "getMalkrzFromFiMalkrz", "(", "Opc", ")", ";", "unsigned", "MalkrzNumOperands", "=", "TII", ".", "get", "(", "MalkrzOpc", ")", ".", "getNumOperands", "(", ")", ";", "MachineInstrBuilder", "Malkrz", "=", "BuildMI", "(", "F", ",", "DL", ",", "TII", ".", "get", "(", "MalkrzOpc", ")", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "MalkrzNumOperands", ";", "i", "++", ")", "{", "Malkrz", ".", "add", "(", "MI", ".", "getOperand", "(", "i", ")", ")", ";", "}", "Bundle", ".", "prepend", "(", "Malkrz", ")", ";", "unsigned", "FiNumOperands", "=", "TII", ".", "get", "(", "FiOpc", ")", ".", "getNumOperands", "(", ")", ";", "MachineInstrBuilder", "Fi", "=", "BuildMI", "(", "F", ",", "DL", ",", "TII", ".", "get", "(", "FiOpc", ")", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "FiNumOperands", ";", "i", "++", ")", "{", "Fi", ".", "add", "(", "MI", ".", "getOperand", "(", "i", "+", "MalkrzNumOperands", ")", ")", ";", "}", "Bundle", ".", "prepend", "(", "Fi", ")", ";", "I", "=", "BB", ".", "erase", "(", "MI", ")", ";", "}", "else", "{", "++", "I", ";", "}", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["F2003f", "F2003f", "F2003f", "F2003f", "F2003f::INSTRUCTION_LIST_END", "\"Expand: \"", "0", "0"], "File": "F2003fFiMalkrz", "Func": "runOnMachineFunction", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2802, "Length": 302, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "Reset", "(", ")", "{", "ResourceAssignment", "::", "Reset", "(", ")", ";", "}", ""], "natrual_language": ["Reset", "an", "existing", "scalar", "value", "for", "Def", "and", "a", "given", "Instance", "."], "TS_V_token": ["TMS320C64X"], "File": "TMS320C64XHazardRecognizer", "Func": "reset", "Target": "TMS320C64X", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 2803, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getEUsPerCU", "(", ")", "const", "{", "return", "AMDGPU", "::", "IsaInfo", "::", "getEUsPerCU", "(", "getFeatureBits", "(", ")", ")", ";", "}", ""], "natrual_language": ["Number", "of", "SIMDs/EUs", "(", "execution", "units", ")", "per", "``", "CU", "''", "(", "``", "compute", "unit", "''", ")", ",", "where", "the", "``", "CU", "''", "is", "the", "unit", "onto", "which", "workgroups", "are", "mapped", "."], "TS_V_token": ["AMDGPU", "AMDGPU::IsaInfo"], "File": "AMDGPUSubtarget10", "Func": "getEUsPerCU", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2804, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MSP430InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "DestReg", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "RC", "==", "&", "MSP430", "::", "GR16RegClass", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "MSP430", "::", "MOV16rm", ")", ")", ".", "addReg", "(", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addImm", "(", "0", ")", ";", "else", "if", "(", "RC", "==", "&", "MSP430", "::", "GR8RegClass", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "MSP430", "::", "MOV8rm", ")", ")", ".", "addReg", "(", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addImm", "(", "0", ")", ";", "else", "assert", "(", "0", "&&", "\"Cannot store this register to stack slot!\"", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["MSP430", "MSP430", "MSP430::GR16RegClass", "MSP430::MOV16rm", "0", "MSP430::GR8RegClass", "MSP430::MOV8rm", "0", "0", "\"Cannot store this register to stack slot!\""], "File": "MSP430InstrInfo14", "Func": "loadRegFromStackSlot", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2805, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "m32c_function_value", "(", "tree", "valtype", ",", "tree", "func", "ATTRIBUTE_UNUSED", ")", "{", "enum", "machine_mode", "mode", "=", "TYPE_MODE", "(", "valtype", ")", ";", "return", "m32c_libcall_value", "(", "mode", ")", ";", "}", ""], "natrual_language": ["Implements", "FUNCTION_VALUE", ".", "Functions", "and", "libcalls", "have", "the", "same", "conventions", "."], "TS_V_token": ["m32c"], "File": "m32c2", "Func": "m32c_function_value", "Target": "m32c", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2806, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "m68k_legitimate_constant_p", "(", "machine_mode", "mode", ",", "rtx", "x", ")", "{", "return", "mode", "!=", "XFmode", "&&", "!", "m68k_illegitimate_symbolic_constant_p", "(", "x", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_LEGITIMATE_CONSTANT_P", "."], "TS_V_token": ["m68k"], "File": "m68k", "Func": "m68k_legitimate_constant_p", "Target": "m68k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2807, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "hasHighOperandLatency", "(", "const", "InstrItineraryData", "*", "ItinData", ",", "const", "MachineRegisterInfo", "*", "MRI", ",", "const", "MachineInstr", "*", "DefMI", ",", "unsigned", "DefIdx", ",", "const", "MachineInstr", "*", "UseMI", ",", "unsigned", "UseIdx", ")", "const", "{", "unsigned", "DDomain", "=", "DefMI", "->", "getDesc", "(", ")", ".", "TSFlags", "&", "ARMII", "::", "DomainMask", ";", "unsigned", "UDomain", "=", "UseMI", "->", "getDesc", "(", ")", ".", "TSFlags", "&", "ARMII", "::", "DomainMask", ";", "if", "(", "Subtarget", ".", "isCortexA8", "(", ")", "&&", "(", "DDomain", "==", "ARMII", "::", "DomainVFP", "||", "UDomain", "==", "ARMII", "::", "DomainVFP", ")", ")", "return", "true", ";", "int", "Latency", "=", "computeOperandLatency", "(", "ItinData", ",", "DefMI", ",", "DefIdx", ",", "UseMI", ",", "UseIdx", ",", "false", ")", ";", "if", "(", "Latency", "<", "0", ")", "Latency", "=", "getInstrLatency", "(", "ItinData", ",", "DefMI", ")", ";", "if", "(", "Latency", "<=", "3", ")", "return", "false", ";", "return", "DDomain", "==", "ARMII", "::", "DomainVFP", "||", "DDomain", "==", "ARMII", "::", "DomainNEON", "||", "UDomain", "==", "ARMII", "::", "DomainVFP", "||", "UDomain", "==", "ARMII", "::", "DomainNEON", ";", "}", ""], "natrual_language": ["Compute", "operand", "latency", "between", "a", "def", "of", "'Reg", "'", "and", "a", "use", "in", "the", "current", "loop", "."], "TS_V_token": ["ARM", "ARM", "ARMII::DomainMask", "ARMII::DomainMask", "ARMII::DomainVFP", "ARMII::DomainVFP", "0", "3", "ARMII::DomainVFP", "ARMII::DomainNEON", "ARMII::DomainVFP", "ARMII::DomainNEON"], "File": "ARMBaseInstrInfo101", "Func": "hasHighOperandLatency", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2808, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "LatticeCell", "&", "get", "(", "Register", "R", ")", "const", "{", "if", "(", "!", "R", ".", "isVirtual", "(", ")", ")", "return", "Bottom", ";", "MapType", "::", "const_iterator", "F", "=", "Map", ".", "find", "(", "R", ")", ";", "if", "(", "F", "!=", "Map", ".", "end", "(", ")", ")", "return", "F", "->", "second", ";", "return", "Top", ";", "}", ""], "natrual_language": ["Get", "the", "generated", "Value", "for", "a", "given", "VPValue", "and", "given", "Part", "and", "Lane", "."], "TS_V_token": ["Hexagon"], "File": "HexagonConstPropagation11", "Func": "get", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2809, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arc_epilogue_uses", "(", "int", "regno", ")", "{", "unsigned", "int", "fn_type", ";", "fn_type", "=", "arc_compute_function_type", "(", "cfun", ")", ";", "if", "(", "regno", "==", "arc_tp_regno", ")", "return", "true", ";", "if", "(", "regno", "==", "RETURN_ADDR_REGNUM", ")", "return", "true", ";", "if", "(", "regno", "==", "arc_return_address_register", "(", "fn_type", ")", ")", "return", "true", ";", "if", "(", "epilogue_completed", "&&", "ARC_INTERRUPT_P", "(", "fn_type", ")", ")", "{", "if", "(", "df_regs_ever_live_p", "(", "regno", ")", "||", "call_used_or_fixed_reg_p", "(", "regno", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "EPILOGUE__USES", ".", "Return", "true", "if", "REGNO", "should", "be", "added", "to", "the", "deemed", "uses", "of", "the", "epilogue", ".", "We", "use", "the", "return", "address", "arc_return_address_regs", "[", "arc_compute_function_type", "(", "cfun", ")", "]", ".", "But", "also", ",", "we", "have", "to", "make", "sure", "all", "the", "register", "restore", "instructions", "are", "known", "to", "be", "live", "in", "interrupt", "functions", ",", "plus", "the", "blink", "register", "if", "it", "is", "clobbered", "by", "the", "isr", "."], "TS_V_token": ["arc"], "File": "arc", "Func": "arc_epilogue_uses", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2810, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "fma_node", "*", "func_fma_steering", "::", "get_fma_node", "(", "rtx_insn", "*", "insn", ")", "{", "fma_node", "*", "*", "fma_slot", ";", "fma_slot", "=", "this", "->", "m_insn_fma_head_map", "->", "get", "(", "insn", ")", ";", "if", "(", "fma_slot", ")", "return", "*", "fma_slot", ";", "return", "NULL", ";", "}", ""], "natrual_language": ["Return", "whether", "an", "fma_node", "object", "exists", "for", "instruction", "INSN", "and", ",", "if", "not", ",", "allocate", "one", "in", "*", "RET", "."], "TS_V_token": ["aarch64"], "File": "cortex-a57-fma-steering", "Func": "get_fma_node", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2811, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "UnwindOpcodeAssembler", "::", "EmitRegSave", "(", "uint32_t", "RegSave", ")", "{", "if", "(", "RegSave", "==", "0u", ")", "return", ";", "if", "(", "RegSave", "&", "(", "1u", "<<", "4", ")", ")", "{", "uint32_t", "Range", "=", "0", ";", "uint32_t", "Mask", "=", "(", "1u", "<<", "4", ")", ";", "for", "(", "uint32_t", "Bit", "=", "(", "1u", "<<", "5", ")", ";", "Bit", "<", "(", "1u", "<<", "12", ")", ";", "Bit", "<<=", "1", ")", "{", "if", "(", "(", "RegSave", "&", "Bit", ")", "==", "0u", ")", "break", ";", "++", "Range", ";", "Mask", "|=", "Bit", ";", "}", "uint32_t", "UnmaskedReg", "=", "RegSave", "&", "0xfff0u", "&", "(", "~", "Mask", ")", ";", "if", "(", "UnmaskedReg", "==", "0u", ")", "{", "EmitInt8", "(", "ARM", "::", "EHABI", "::", "UNWIND_OPCODE_POP_REG_RANGE_R4", "|", "Range", ")", ";", "RegSave", "&=", "0x000fu", ";", "}", "else", "if", "(", "UnmaskedReg", "==", "(", "1u", "<<", "14", ")", ")", "{", "EmitInt8", "(", "ARM", "::", "EHABI", "::", "UNWIND_OPCODE_POP_REG_RANGE_R4_R14", "|", "Range", ")", ";", "RegSave", "&=", "0x000fu", ";", "}", "}", "if", "(", "(", "RegSave", "&", "0xfff0u", ")", "!=", "0", ")", "EmitInt16", "(", "ARM", "::", "EHABI", "::", "UNWIND_OPCODE_POP_REG_MASK_R4", "|", "(", "RegSave", ">>", "4", ")", ")", ";", "if", "(", "(", "RegSave", "&", "0x000fu", ")", "!=", "0", ")", "EmitInt16", "(", "ARM", "::", "EHABI", "::", "UNWIND_OPCODE_POP_REG_MASK", "|", "(", "RegSave", "&", "0x000fu", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "unwind", "opcodes", "for", ".save", "directives", "."], "TS_V_token": ["ARM", "0u", "1u", "4", "0", "1u", "4", "1u", "5", "1u", "12", "1", "0u", "0xfff0u", "0u", "ARM::EHABI", "0x000fu", "1u", "14", "ARM::EHABI", "0x000fu", "0xfff0u", "0", "ARM::EHABI", "4", "0x000fu", "0", "ARM::EHABI", "0x000fu"], "File": "ARMUnwindOpAsm7", "Func": "EmitRegSave", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2812, "Length": 201, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "OR1KAsmBackend", "::", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "if", "(", "(", "Count", "%", "4", ")", "!=", "0", ")", "return", "false", ";", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "<", "Count", ";", "i", "+=", "4", ")", "OW", "->", "write32", "(", "0x15000000", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["OR1K", "OR1K", "4", "0", "0", "4", "0x15000000"], "File": "OR1KAsmBackend1", "Func": "writeNopData", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2813, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SPUTargetMachine", "::", "addInstSelector", "(", "PassManagerBase", "&", "PM", ")", "{", "PM", ".", "add", "(", "createSPUISelDag", "(", "*", "this", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["CellSPU", "SPU", "SPU"], "File": "SPUTargetMachine1", "Func": "addInstSelector", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2814, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SMLoc", "getEndLoc", "(", ")", "const", "override", "{", "return", "EndLoc", ";", "}", ""], "natrual_language": ["getEndLoc", "-", "Get", "the", "location", "of", "the", "last", "token", "of", "this", "operand", "."], "TS_V_token": ["Lanai"], "File": "LanaiAsmParser (2)", "Func": "getEndLoc", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2815, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** ISelDAGToDAG **********\\n\"", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "checkForInvalidNodes", "(", "MF", ".", "getFunction", "(", ")", ")", ";", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "WebAssemblySubtarget", ">", "(", ")", ";", "return", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["WebAssembly", "\"********** ISelDAGToDAG **********\\n\"", "\"********** Function: \"", "WebAssembly"], "File": "WebAssemblyISelDAGToDAG12", "Func": "runOnMachineFunction", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2816, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_sched_fusion_priority", "(", "rtx_insn", "*", "insn", ",", "int", "max_pri", ",", "int", "*", "fusion_pri", ",", "int", "*", "pri", ")", "{", "int", "tmp", ",", "off_val", ";", "rtx", "base", ",", "offset", ";", "enum", "sched_fusion_type", "fusion", ";", "gcc_assert", "(", "INSN_P", "(", "insn", ")", ")", ";", "tmp", "=", "max_pri", "-", "1", ";", "fusion", "=", "fusion_load_store", "(", "insn", ",", "&", "base", ",", "&", "offset", ")", ";", "if", "(", "fusion", "==", "SCHED_FUSION_NONE", ")", "{", "*", "pri", "=", "tmp", ";", "*", "fusion_pri", "=", "tmp", ";", "return", ";", "}", "*", "fusion_pri", "=", "tmp", "-", "fusion", "*", "FIRST_PSEUDO_REGISTER", "-", "REGNO", "(", "base", ")", ";", "tmp", "/=", "2", ";", "off_val", "=", "(", "int", ")", "(", "INTVAL", "(", "offset", ")", ")", ";", "if", "(", "off_val", ">=", "0", ")", "tmp", "-=", "(", "off_val", "&", "0xfffff", ")", ";", "else", "tmp", "+=", "(", "(", "-", "off_val", ")", "&", "0xfffff", ")", ";", "*", "pri", "=", "tmp", ";", "return", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_SCHED_FUSION_PRIORITY", "hook", ".", "Currently", "we", "only", "support", "to", "fuse", "ldr", "or", "str", "instructions", ",", "so", "FUSION_PRI", "and", "PRI", "are", "only", "calculated", "for", "these", "instructions", ".", "For", "other", "instruction", ",", "FUSION_PRI", "and", "PRI", "are", "simply", "set", "to", "MAX_PRI", "-", "1", ".", "In", "the", "future", ",", "other", "type", "instruction", "fusion", "can", "be", "added", "by", "returning", "different", "priorities", ".", "It", "'s", "important", "that", "irrelevant", "instructions", "get", "the", "largest", "FUSION_PRI", "."], "TS_V_token": ["aarch64", "1", "2", "0", "0xfffff", "0xfffff"], "File": "aarch64", "Func": "aarch64_sched_fusion_priority", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2817, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "X86RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "bool", "callsEHReturn", "=", "false", ";", "bool", "ghcCall", "=", "false", ";", "bool", "oclBiCall", "=", "false", ";", "bool", "HasAVX", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "hasAVX", "(", ")", ";", "if", "(", "MF", ")", "{", "callsEHReturn", "=", "MF", "->", "getMMI", "(", ")", ".", "callsEHReturn", "(", ")", ";", "const", "Function", "*", "F", "=", "MF", "->", "getFunction", "(", ")", ";", "ghcCall", "=", "(", "F", "?", "F", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "GHC", ":", "false", ")", ";", "oclBiCall", "=", "(", "F", "?", "F", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "Intel_OCL_BI", ":", "false", ")", ";", "}", "if", "(", "ghcCall", ")", "return", "CSR_NoRegs_SaveList", ";", "if", "(", "oclBiCall", ")", "{", "if", "(", "HasAVX", "&&", "IsWin64", ")", "return", "CSR_Win64_Intel_OCL_BI_AVX_SaveList", ";", "if", "(", "HasAVX", "&&", "Is64Bit", ")", "return", "CSR_64_Intel_OCL_BI_AVX_SaveList", ";", "if", "(", "!", "HasAVX", "&&", "!", "IsWin64", "&&", "Is64Bit", ")", "return", "CSR_64_Intel_OCL_BI_SaveList", ";", "}", "if", "(", "Is64Bit", ")", "{", "if", "(", "IsWin64", ")", "return", "CSR_Win64_SaveList", ";", "if", "(", "callsEHReturn", ")", "return", "CSR_64EHRet_SaveList", ";", "return", "CSR_64_SaveList", ";", "}", "if", "(", "callsEHReturn", ")", "return", "CSR_32EHRet_SaveList", ";", "return", "CSR_32_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86RegisterInfo58", "Func": "getCalleeSavedRegs", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2818, "Length": 188, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "m68k_handle_fndecl_attribute", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", "args", "ATTRIBUTE_UNUSED", ",", "int", "flags", "ATTRIBUTE_UNUSED", ",", "bool", "*", "no_add_attrs", ")", "{", "if", "(", "TREE_CODE", "(", "*", "node", ")", "!=", "FUNCTION_DECL", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qE attribute only applies to functions\"", ",", "name", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "if", "(", "m68k_get_function_kind", "(", "*", "node", ")", "!=", "m68k_fk_normal_function", ")", "{", "error", "(", "\"multiple interrupt attributes not allowed\"", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "if", "(", "!", "TARGET_FIDOA", "&&", "!", "strcmp", "(", "IDENTIFIER_POINTER", "(", "name", ")", ",", "\"interrupt_thread\"", ")", ")", "{", "error", "(", "\"% is available only on fido\"", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Handle", "an", "attribute", "requiring", "a", "FUNCTION_DECL", ";", "arguments", "as", "in", "struct", "attribute_spec.handler", "."], "TS_V_token": ["m68k", "\"%qE attribute only applies to functions\"", "\"multiple interrupt attributes not allowed\"", "\"interrupt_thread\"", "\"% is available only on fido\""], "File": "m68k", "Func": "m68k_handle_fndecl_attribute", "Target": "m68k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2819, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isPairableLdStInst", "(", "const", "MachineInstr", "&", "MI", ")", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "AArch64", "::", "STRSui", ":", "case", "AArch64", "::", "STRDui", ":", "case", "AArch64", "::", "STRQui", ":", "case", "AArch64", "::", "STRXui", ":", "case", "AArch64", "::", "STRWui", ":", "case", "AArch64", "::", "LDRSui", ":", "case", "AArch64", "::", "LDRDui", ":", "case", "AArch64", "::", "LDRQui", ":", "case", "AArch64", "::", "LDRXui", ":", "case", "AArch64", "::", "LDRWui", ":", "case", "AArch64", "::", "LDRSWui", ":", "case", "AArch64", "::", "STURSi", ":", "case", "AArch64", "::", "STURDi", ":", "case", "AArch64", "::", "STURQi", ":", "case", "AArch64", "::", "STURWi", ":", "case", "AArch64", "::", "STURXi", ":", "case", "AArch64", "::", "LDURSi", ":", "case", "AArch64", "::", "LDURDi", ":", "case", "AArch64", "::", "LDURQi", ":", "case", "AArch64", "::", "LDURWi", ":", "case", "AArch64", "::", "LDURXi", ":", "case", "AArch64", "::", "LDURSWi", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "pairing", "the", "given", "load", "or", "store", "may", "be", "paired", "with", "another", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::STRSui", "AArch64::STRDui", "AArch64::STRQui", "AArch64::STRXui", "AArch64::STRWui", "AArch64::LDRSui", "AArch64::LDRDui", "AArch64::LDRQui", "AArch64::LDRXui", "AArch64::LDRWui", "AArch64::LDRSWui", "AArch64::STURSi", "AArch64::STURDi", "AArch64::STURQi", "AArch64::STURWi", "AArch64::STURXi", "AArch64::LDURSi", "AArch64::LDURDi", "AArch64::LDURQi", "AArch64::LDURWi", "AArch64::LDURXi", "AArch64::LDURSWi"], "File": "AArch64InstrInfo (2)1", "Func": "isPairableLdStInst", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2820, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Cpu0SEFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "assert", "(", "&", "MF", ".", "front", "(", ")", "==", "&", "MBB", "&&", "\"Shrink-wrapping not yet supported\"", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "Cpu0MachineFunctionInfo", "*", "Cpu0FI", "=", "MF", ".", "getInfo", "<", "Cpu0MachineFunctionInfo", ">", "(", ")", ";", "const", "Cpu0SEInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "Cpu0SEInstrInfo", "*", ">", "(", "STI", ".", "getInstrInfo", "(", ")", ")", ";", "const", "Cpu0RegisterInfo", "&", "RegInfo", "=", "*", "static_cast", "<", "const", "Cpu0RegisterInfo", "*", ">", "(", "STI", ".", "getRegisterInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "Cpu0ABIInfo", "ABI", "=", "STI", ".", "getABI", "(", ")", ";", "unsigned", "SP", "=", "Cpu0", "::", "SP", ";", "const", "TargetRegisterClass", "*", "RC", "=", "&", "Cpu0", "::", "GPROutRegClass", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "StackSize", "==", "0", "&&", "!", "MFI", ".", "adjustsStack", "(", ")", ")", "return", ";", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "const", "MCRegisterInfo", "*", "MRI", "=", "MMI", ".", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "TII", ".", "adjustStackPtr", "(", "SP", ",", "-", "StackSize", ",", "MBB", ",", "MBBI", ")", ";", "unsigned", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createDefCfaOffset", "(", "nullptr", ",", "-", "StackSize", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", ".", "getCalleeSavedInfo", "(", ")", ";", "if", "(", "CSI", ".", "size", "(", ")", ")", "{", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "CSI", ".", "size", "(", ")", ";", "++", "i", ")", "++", "MBBI", ";", "for", "(", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "::", "const_iterator", "I", "=", "CSI", ".", "begin", "(", ")", ",", "E", "=", "CSI", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "int64_t", "Offset", "=", "MFI", ".", "getObjectOffset", "(", "I", "->", "getFrameIdx", "(", ")", ")", ";", "unsigned", "Reg", "=", "I", "->", "getReg", "(", ")", ";", "{", "unsigned", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createOffset", "(", "nullptr", ",", "MRI", "->", "getDwarfRegNum", "(", "Reg", ",", "1", ")", ",", "Offset", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "}", "}", "}", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Cpu0", "Cpu0", "\"Shrink-wrapping not yet supported\"", "Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0::SP", "Cpu0::GPROutRegClass", "0", "0", "1"], "File": "Cpu0SEFrameLowering1", "Func": "emitPrologue", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2821, "Length": 412, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "unspec_fcmla", "(", "int", "rot", ")", "{", "switch", "(", "rot", ")", "{", "case", "0", ":", "return", "UNSPEC_FCMLA", ";", "case", "90", ":", "return", "UNSPEC_FCMLA90", ";", "case", "180", ":", "return", "UNSPEC_FCMLA180", ";", "case", "270", ":", "return", "UNSPEC_FCMLA270", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "the", "UNSPEC_FCMLA", "*", "unspec", "for", "rotation", "amount", "ROT", "."], "TS_V_token": ["aarch64", "0", "90", "180", "270"], "File": "aarch64-sve-builtins-base", "Func": "unspec_fcmla", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2822, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "struct", "mips_multi_member", "*", "mips_multi_add", "(", "void", ")", "{", "mips_multi_member", "empty", ";", "return", "mips_multi_members", ".", "safe_push", "(", "empty", ")", ";", "}", ""], "natrual_language": ["Add", "a", "new", ",", "uninitialized", "member", "to", "the", "current", "multi-insn", "sequence", "."], "TS_V_token": ["mips"], "File": "mips4", "Func": "mips_multi_add", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2823, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "MCSymbol", "*", "GetSymbolFromOperand", "(", "const", "MachineOperand", "&", "MO", ",", "AsmPrinter", "&", "AP", ")", "{", "const", "TargetMachine", "&", "TM", "=", "AP", ".", "TM", ";", "Mangler", "*", "Mang", "=", "AP", ".", "Mang", ";", "const", "DataLayout", "*", "DL", "=", "TM", ".", "getDataLayout", "(", ")", ";", "MCContext", "&", "Ctx", "=", "AP", ".", "OutContext", ";", "SmallString", "<", "128", ">", "Name", ";", "StringRef", "Suffix", ";", "if", "(", "MO", ".", "getTargetFlags", "(", ")", "==", "PPCII", "::", "MO_DARWIN_STUB", ")", "Suffix", "=", "\"$stub\"", ";", "else", "if", "(", "MO", ".", "getTargetFlags", "(", ")", "&", "PPCII", "::", "MO_NLP_FLAG", ")", "Suffix", "=", "\"$non_lazy_ptr\"", ";", "if", "(", "!", "Suffix", ".", "empty", "(", ")", ")", "Name", "+=", "DL", "->", "getPrivateGlobalPrefix", "(", ")", ";", "unsigned", "PrefixLen", "=", "Name", ".", "size", "(", ")", ";", "if", "(", "!", "MO", ".", "isGlobal", "(", ")", ")", "{", "assert", "(", "MO", ".", "isSymbol", "(", ")", "&&", "\"Isn't a symbol reference\"", ")", ";", "Mang", "->", "getNameWithPrefix", "(", "Name", ",", "MO", ".", "getSymbolName", "(", ")", ")", ";", "}", "else", "{", "const", "GlobalValue", "*", "GV", "=", "MO", ".", "getGlobal", "(", ")", ";", "TM", ".", "getNameWithPrefix", "(", "Name", ",", "GV", ",", "*", "Mang", ")", ";", "}", "unsigned", "OrigLen", "=", "Name", ".", "size", "(", ")", "-", "PrefixLen", ";", "Name", "+=", "Suffix", ";", "MCSymbol", "*", "Sym", "=", "Ctx", ".", "GetOrCreateSymbol", "(", "Name", ".", "str", "(", ")", ")", ";", "StringRef", "OrigName", "=", "StringRef", "(", "Name", ")", ".", "substr", "(", "PrefixLen", ",", "OrigLen", ")", ";", "if", "(", "MO", ".", "getTargetFlags", "(", ")", "==", "PPCII", "::", "MO_DARWIN_STUB", ")", "{", "MachineModuleInfoImpl", "::", "StubValueTy", "&", "StubSym", "=", "getMachOMMI", "(", "AP", ")", ".", "getFnStubEntry", "(", "Sym", ")", ";", "if", "(", "StubSym", ".", "getPointer", "(", ")", ")", "return", "Sym", ";", "if", "(", "MO", ".", "isGlobal", "(", ")", ")", "{", "StubSym", "=", "MachineModuleInfoImpl", "::", "StubValueTy", "(", "AP", ".", "getSymbol", "(", "MO", ".", "getGlobal", "(", ")", ")", ",", "!", "MO", ".", "getGlobal", "(", ")", "->", "hasInternalLinkage", "(", ")", ")", ";", "}", "else", "{", "StubSym", "=", "MachineModuleInfoImpl", "::", "StubValueTy", "(", "Ctx", ".", "GetOrCreateSymbol", "(", "OrigName", ")", ",", "false", ")", ";", "}", "return", "Sym", ";", "}", "if", "(", "MO", ".", "getTargetFlags", "(", ")", "&", "PPCII", "::", "MO_NLP_FLAG", ")", "{", "MachineModuleInfoMachO", "&", "MachO", "=", "getMachOMMI", "(", "AP", ")", ";", "MachineModuleInfoImpl", "::", "StubValueTy", "&", "StubSym", "=", "(", "MO", ".", "getTargetFlags", "(", ")", "&", "PPCII", "::", "MO_NLP_HIDDEN_FLAG", ")", "?", "MachO", ".", "getHiddenGVStubEntry", "(", "Sym", ")", ":", "MachO", ".", "getGVStubEntry", "(", "Sym", ")", ";", "if", "(", "StubSym", ".", "getPointer", "(", ")", "==", "0", ")", "{", "assert", "(", "MO", ".", "isGlobal", "(", ")", "&&", "\"Extern symbol not handled yet\"", ")", ";", "StubSym", "=", "MachineModuleInfoImpl", "::", "StubValueTy", "(", "AP", ".", "getSymbol", "(", "MO", ".", "getGlobal", "(", ")", ")", ",", "!", "MO", ".", "getGlobal", "(", ")", "->", "hasInternalLinkage", "(", ")", ")", ";", "}", "return", "Sym", ";", "}", "return", "Sym", ";", "}", ""], "natrual_language": ["Lower", "an", "MO_GlobalAddress", "or", "MO_ExternalSymbol", "operand", "to", "an", "MCSymbol", "."], "TS_V_token": ["PowerPC", "128", "PPCII::MO_DARWIN_STUB", "\"$stub\"", "PPCII::MO_NLP_FLAG", "\"$non_lazy_ptr\"", "\"Isn't a symbol reference\"", "PPCII::MO_DARWIN_STUB", "PPCII::MO_NLP_FLAG", "PPCII::MO_NLP_HIDDEN_FLAG", "0", "\"Extern symbol not handled yet\""], "File": "PPCMCInstLower17", "Func": "GetSymbolFromOperand", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2824, "Length": 441, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "arc_unspec_offset", "(", "rtx", "loc", ",", "int", "unspec", ")", "{", "return", "gen_rtx_CONST", "(", "Pmode", ",", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "loc", ")", ",", "unspec", ")", ")", ";", "}", ""], "natrual_language": ["Helper", "to", "generate", "unspec", "constant", "."], "TS_V_token": ["arc", "1"], "File": "arc", "Func": "arc_unspec_offset", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2825, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SITargetLowering", "::", "isFPExtFoldable", "(", "unsigned", "Opcode", ",", "EVT", "DestVT", ",", "EVT", "SrcVT", ")", "const", "{", "return", "(", "(", "Opcode", "==", "ISD", "::", "FMAD", "&&", "Subtarget", "->", "hasMadMixInsts", "(", ")", ")", "||", "(", "Opcode", "==", "ISD", "::", "FMA", "&&", "Subtarget", "->", "hasFmaMixInsts", "(", ")", ")", ")", "&&", "DestVT", ".", "getScalarType", "(", ")", "==", "MVT", "::", "f32", "&&", "!", "Subtarget", "->", "hasFP32Denormals", "(", ")", "&&", "SrcVT", ".", "getScalarType", "(", ")", "==", "MVT", "::", "f16", ";", "}", ""], "natrual_language": ["Return", "true", "if", "an", "fpext", "operation", "input", "to", "an", "Opcode", "operation", "is", "free", "(", "for", "instance", ",", "because", "half-precision", "floating-point", "numbers", "are", "implicitly", "extended", "to", "float-precision", ")", "for", "an", "FMA", "instruction", "."], "TS_V_token": ["AMDGPU", "SI", "ISD::FMAD", "ISD::FMA", "MVT::f32", "MVT::f16"], "File": "SIISelLowering (2)3", "Func": "isFPExtFoldable", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2826, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "SNES_INSTRUMENT_FUNCTIONS_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["SNES", "SNES"], "File": "SNESInstrumentFunctions", "Func": "getPassName", "Target": "SNES", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2827, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emitSPUpdate", "(", "bool", "isARM", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "DebugLoc", "dl", ",", "const", "ARMBaseInstrInfo", "&", "TII", ",", "int", "NumBytes", ",", "unsigned", "MIFlags", "=", "MachineInstr", "::", "NoFlags", ",", "ARMCC", "::", "CondCodes", "Pred", "=", "ARMCC", "::", "AL", ",", "unsigned", "PredReg", "=", "0", ")", "{", "if", "(", "isARM", ")", "emitARMRegPlusImmediate", "(", "MBB", ",", "MBBI", ",", "dl", ",", "ARM", "::", "SP", ",", "ARM", "::", "SP", ",", "NumBytes", ",", "Pred", ",", "PredReg", ",", "TII", ",", "MIFlags", ")", ";", "else", "emitT2RegPlusImmediate", "(", "MBB", ",", "MBBI", ",", "dl", ",", "ARM", "::", "SP", ",", "ARM", "::", "SP", ",", "NumBytes", ",", "Pred", ",", "PredReg", ",", "TII", ",", "MIFlags", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "series", "of", "instructions", "to", "increment", "/", "decrement", "the", "stack", "pointer", "by", "a", "constant", "value", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARMCC::CondCodes", "ARMCC::AL", "0", "ARM", "ARM", "ARM::SP", "ARM::SP", "ARM::SP", "ARM::SP"], "File": "ARMFrameLowering1", "Func": "emitSPUpdate", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2828, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "msp430x_logical_shift_right", "(", "rtx", "amount", ")", "{", "gcc_assert", "(", "CONST_INT_P", "(", "amount", ")", ")", ";", "if", "(", "INTVAL", "(", "amount", ")", "<=", "0", "||", "INTVAL", "(", "amount", ")", ">=", "16", ")", "return", "\"# nop logical shift.\"", ";", "if", "(", "INTVAL", "(", "amount", ")", ">", "0", "&&", "INTVAL", "(", "amount", ")", "<", "5", ")", "return", "\"rrum.w\\t%2, %0\"", ";", "if", "(", "INTVAL", "(", "amount", ")", ">", "4", "&&", "INTVAL", "(", "amount", ")", "<", "9", ")", "return", "\"rrum.w\\t#4, %0 { rrum.w\\t%Y2, %0 \"", ";", "return", "\"rrum.w\\t#1, %0 { rpt\\t%Z2 { rrax.w\\t%0\"", ";", "}", ""], "natrual_language": ["Likewise", "for", "logical", "right", "shifts", "."], "TS_V_token": ["msp430", "0", "16", "\"# nop logical shift.\"", "0", "5", "\"rrum.w\\t%2, %0\"", "4", "9", "\"rrum.w\\t#4, %0 { rrum.w\\t%Y2, %0 \"", "\"rrum.w\\t#1, %0 { rpt\\t%Z2 { rrax.w\\t%0\""], "File": "msp430", "Func": "msp430x_logical_shift_right", "Target": "msp430", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2829, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyFixIrreducibleControlFlow", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** Fixing Irreducible Control Flow **********\\n\"", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "bool", "Changed", "=", "false", ";", "auto", "&", "MLI", "=", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "while", "(", "LLVM_UNLIKELY", "(", "runIteration", "(", "MF", ",", "MLI", ")", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Recomputing loops.\\n\"", ")", ";", "MF", ".", "getRegInfo", "(", ")", ".", "invalidateLiveness", "(", ")", ";", "MF", ".", "RenumberBlocks", "(", ")", ";", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ".", "runOnMachineFunction", "(", "MF", ")", ";", "MLI", ".", "runOnMachineFunction", "(", "MF", ")", ";", "Changed", "=", "true", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"********** Fixing Irreducible Control Flow **********\\n\"", "\"********** Function: \"", "\"Recomputing loops.\\n\""], "File": "WebAssemblyFixIrreducibleControlFlow", "Func": "runOnMachineFunction", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2830, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "char", "ConstraintCode", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "override", "{", "OutOps", ".", "push_back", "(", "Op", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["SelectInlineAsmMemoryOperand", "-", "Select", "the", "specified", "address", "as", "a", "target", "addressing", "mode", ",", "according", "to", "the", "specified", "constraint", "."], "TS_V_token": ["PowerPC"], "File": "PPCISelDAGToDAG102", "Func": "SelectInlineAsmMemoryOperand", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2831, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emit_unlikely_jump", "(", "rtx", "cond", ",", "rtx", "label", ")", "{", "rtx", "very_unlikely", "=", "GEN_INT", "(", "REG_BR_PROB_BASE", "/", "100", "-", "1", ")", ";", "rtx", "x", ";", "x", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "cond", ",", "label", ",", "pc_rtx", ")", ";", "x", "=", "emit_jump_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "pc_rtx", ",", "x", ")", ")", ";", "REG_NOTES", "(", "x", ")", "=", "gen_rtx_EXPR_LIST", "(", "REG_BR_PROB", ",", "very_unlikely", ",", "NULL_RTX", ")", ";", "}", ""], "natrual_language": ["Mark", "the", "previous", "jump", "instruction", "as", "unlikely", "."], "TS_V_token": ["rs6000", "100", "1"], "File": "rs60003", "Func": "emit_unlikely_jump", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2832, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TeeRISCInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ")", "{", "printInstruction", "(", "MI", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["TeeRISC", "TeeRISC"], "File": "TeeRISCInstPrinter", "Func": "printInst", "Target": "TeeRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2833, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnFunction", "(", "Function", "&", "F", ")", "override", "{", "TargetMachine", "*", "TM", "=", "&", "getAnalysis", "<", "TargetPassConfig", ">", "(", ")", ".", "getTM", "<", "TargetMachine", ">", "(", ")", ";", "bool", "C", "=", "false", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "None", ")", "{", "X86PreAMXConfig", "PCFG", "(", "F", ")", ";", "C", "=", "PCFG", ".", "preTileConfig", "(", ")", ";", "}", "return", "C", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["X86", "X86"], "File": "X86PreAMXConfig", "Func": "runOnFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2834, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64Subtarget", "::", "overrideSchedPolicy", "(", "MachineSchedPolicy", "&", "Policy", ",", "MachineInstr", "*", "begin", ",", "MachineInstr", "*", "end", ",", "unsigned", "NumRegionInstrs", ")", "const", "{", "Policy", ".", "OnlyTopDown", "=", "false", ";", "Policy", ".", "OnlyBottomUp", "=", "false", ";", "Policy", ".", "DisableLatencyHeuristic", "=", "DisableLatencySchedHeuristic", ";", "}", ""], "natrual_language": ["Override", "generic", "scheduling", "policy", "within", "a", "region", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64Subtarget52", "Func": "overrideSchedPolicy", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2835, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "cr16_function_arg", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "cum", "->", "last_parm_in_reg", "=", "0", ";", "if", "(", "type", "==", "void_type_node", ")", "return", "NULL_RTX", ";", "if", "(", "targetm", ".", "calls", ".", "must_pass_in_stack", "(", "mode", ",", "type", ")", "||", "(", "cum", "->", "ints", "<", "0", ")", ")", "return", "NULL_RTX", ";", "if", "(", "mode", "==", "BLKmode", ")", "{", "if", "(", "enough_regs_for_param", "(", "cum", ",", "type", ",", "mode", ")", "!=", "0", ")", "{", "cum", "->", "last_parm_in_reg", "=", "1", ";", "return", "gen_rtx_REG", "(", "mode", ",", "MIN_REG_FOR_PASSING_ARGS", "+", "cum", "->", "ints", ")", ";", "}", "}", "if", "(", "(", "MIN_REG_FOR_PASSING_ARGS", "+", "cum", "->", "ints", ")", ">", "MAX_REG_FOR_PASSING_ARGS", ")", "return", "NULL_RTX", ";", "else", "{", "if", "(", "enough_regs_for_param", "(", "cum", ",", "type", ",", "mode", ")", "!=", "0", ")", "{", "cum", "->", "last_parm_in_reg", "=", "1", ";", "return", "gen_rtx_REG", "(", "mode", ",", "MIN_REG_FOR_PASSING_ARGS", "+", "cum", "->", "ints", ")", ";", "}", "}", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Implements", "the", "macro", "FUNCTION_ARG", "defined", "in", "cr16.h", "."], "TS_V_token": ["cr16", "0", "0", "0", "1", "0", "1"], "File": "cr162", "Func": "cr16_function_arg", "Target": "cr16", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2836, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FixupLEAPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Func", ")", "{", "if", "(", "skipFunction", "(", "Func", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "MF", "=", "&", "Func", ";", "const", "X86Subtarget", "&", "ST", "=", "Func", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "bool", "IsSlowLEA", "=", "ST", ".", "slowLEA", "(", ")", ";", "bool", "IsSlow3OpsLEA", "=", "ST", ".", "slow3OpsLEA", "(", ")", ";", "OptIncDec", "=", "!", "ST", ".", "slowIncDec", "(", ")", "||", "Func", ".", "getFunction", "(", ")", ".", "optForMinSize", "(", ")", ";", "OptLEA", "=", "ST", ".", "LEAusesAG", "(", ")", "||", "IsSlowLEA", "||", "IsSlow3OpsLEA", ";", "if", "(", "!", "OptLEA", "&&", "!", "OptIncDec", ")", "return", "false", ";", "TSM", ".", "init", "(", "&", "Func", ".", "getSubtarget", "(", ")", ")", ";", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Start X86FixupLEAs\\n\"", ";", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "I", "=", "Func", ".", "begin", "(", ")", ",", "E", "=", "Func", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "processBasicBlock", "(", "Func", ",", "I", ",", "IsSlowLEA", ",", "IsSlow3OpsLEA", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"End X86FixupLEAs\\n\"", ";", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "\"Start X86FixupLEAs\\n\"", "\"End X86FixupLEAs\\n\""], "File": "X86FixupLEAs (2)2", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2837, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "s390_d_target_versions", "(", "void", ")", "{", "if", "(", "TARGET_ZARCH", ")", "d_add_builtin_version", "(", "\"SystemZ\"", ")", ";", "else", "if", "(", "TARGET_64BIT", ")", "d_add_builtin_version", "(", "\"S390X\"", ")", ";", "else", "d_add_builtin_version", "(", "\"S390\"", ")", ";", "if", "(", "TARGET_SOFT_FLOAT", ")", "d_add_builtin_version", "(", "\"D_SoftFloat\"", ")", ";", "else", "if", "(", "TARGET_HARD_FLOAT", ")", "d_add_builtin_version", "(", "\"D_HardFloat\"", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_D_CPU_VERSIONS", "for", "S/390", "and", "zSeries", "targets", "."], "TS_V_token": ["s390", "\"SystemZ\"", "\"S390X\"", "\"S390\"", "\"D_SoftFloat\"", "\"D_HardFloat\""], "File": "s390-d", "Func": "s390_d_target_versions", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2838, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "umips_output_load_store_pair_1", "(", "bool", "load_p", ",", "rtx", "reg", ",", "rtx", "mem", ")", "{", "rtx", "ops", "[", "]", "=", "{", "reg", ",", "mem", "}", ";", "if", "(", "load_p", ")", "output_asm_insn", "(", "\"lwp\\t%0,%1\"", ",", "ops", ")", ";", "else", "output_asm_insn", "(", "\"swp\\t%0,%1\"", ",", "ops", ")", ";", "}", ""], "natrual_language": ["Return", "the", "assembly", "instruction", "for", "a", "microMIPS", "LWP", "or", "SWP", "in", "which", "the", "first", "register", "is", "REG", "and", "the", "first", "memory", "slot", "is", "MEM", ".", "LOAD_P", "is", "true", "for", "LWP", "."], "TS_V_token": ["mips", "\"lwp\\t%0,%1\"", "\"swp\\t%0,%1\""], "File": "mips", "Func": "umips_output_load_store_pair_1", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2839, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_validate_address_register", "(", "rtx", "op", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "op", ")", ";", "if", "(", "mode", "!=", "SImode", "&&", "mode", "!=", "DImode", ")", "return", "NULL_RTX", ";", "if", "(", "REG_P", "(", "op", ")", ")", "return", "op", ";", "else", "if", "(", "SUBREG_P", "(", "op", ")", ")", "{", "rtx", "reg", "=", "SUBREG_REG", "(", "op", ")", ";", "if", "(", "!", "REG_P", "(", "reg", ")", ")", "return", "NULL_RTX", ";", "mode", "=", "GET_MODE", "(", "reg", ")", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", ">", "UNITS_PER_WORD", ")", "return", "NULL_RTX", ";", "if", "(", "register_no_elim_operand", "(", "reg", ",", "mode", ")", ")", "return", "reg", ";", "}", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Determine", "if", "op", "is", "suitable", "RTX", "for", "an", "address", "register", ".", "Return", "naked", "register", "if", "a", "register", "or", "a", "register", "subreg", "is", "found", ",", "otherwise", "return", "NULL_RTX", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_validate_address_register", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2840, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "char", "avr_class_max_nregs", "(", "reg_class_t", "rclass", ",", "machine_mode", "mode", ")", "{", "if", "(", "rclass", "==", "CC_REG", "&&", "mode", "==", "CCmode", ")", "return", "1", ";", "return", "CEIL", "(", "GET_MODE_SIZE", "(", "mode", ")", ",", "UNITS_PER_WORD", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CLASS_MAX_NREGS", ".", "Reasons", "described", "in", "comments", "for", "avr_hard_regno_nregs", "."], "TS_V_token": ["avr", "1"], "File": "avr", "Func": "avr_class_max_nregs", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2841, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isShuffleMaskLegal", "(", "const", "SmallVectorImpl", "<", "int", ">", "&", "M", ",", "EVT", "VT", ")", "const", "{", "if", "(", "VT", ".", "getVectorNumElements", "(", ")", "==", "4", "&&", "(", "VT", ".", "is128BitVector", "(", ")", "||", "VT", ".", "is64BitVector", "(", ")", ")", ")", "{", "unsigned", "PFIndexes", "[", "4", "]", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "4", ";", "++", "i", ")", "{", "if", "(", "M", "[", "i", "]", "<", "0", ")", "PFIndexes", "[", "i", "]", "=", "8", ";", "else", "PFIndexes", "[", "i", "]", "=", "M", "[", "i", "]", ";", "}", "unsigned", "PFTableIndex", "=", "PFIndexes", "[", "0", "]", "*", "9", "*", "9", "*", "9", "+", "PFIndexes", "[", "1", "]", "*", "9", "*", "9", "+", "PFIndexes", "[", "2", "]", "*", "9", "+", "PFIndexes", "[", "3", "]", ";", "unsigned", "PFEntry", "=", "PerfectShuffleTable", "[", "PFTableIndex", "]", ";", "unsigned", "Cost", "=", "(", "PFEntry", ">>", "30", ")", ";", "if", "(", "Cost", "<=", "4", ")", "return", "true", ";", "}", "bool", "ReverseVEXT", ",", "isV_UNDEF", ";", "unsigned", "Imm", ",", "WhichResult", ";", "unsigned", "EltSize", "=", "VT", ".", "getVectorElementType", "(", ")", ".", "getSizeInBits", "(", ")", ";", "return", "(", "EltSize", ">=", "32", "||", "ShuffleVectorSDNode", "::", "isSplatMask", "(", "&", "M", "[", "0", "]", ",", "VT", ")", "||", "isVREVMask", "(", "M", ",", "VT", ",", "64", ")", "||", "isVREVMask", "(", "M", ",", "VT", ",", "32", ")", "||", "isVREVMask", "(", "M", ",", "VT", ",", "16", ")", "||", "isVEXTMask", "(", "M", ",", "VT", ",", "ReverseVEXT", ",", "Imm", ")", "||", "isVTBLMask", "(", "M", ",", "VT", ")", "||", "isNEONTwoResultShuffleMask", "(", "M", ",", "VT", ",", "WhichResult", ",", "isV_UNDEF", ")", "||", "(", "(", "VT", "==", "MVT", "::", "v8i16", "||", "VT", "==", "MVT", "::", "v16i8", ")", "&&", "isReverseMask", "(", "M", ",", "VT", ")", ")", ")", ";", "}", ""], "natrual_language": ["Targets", "can", "use", "this", "to", "indicate", "that", "they", "only", "support", "some", "VECTOR_SHUFFLE", "operations", ",", "those", "with", "specific", "masks", "."], "TS_V_token": ["ARM", "ARM", "4", "4", "0", "4", "0", "8", "0", "9", "9", "9", "1", "9", "9", "2", "9", "3", "30", "4", "32", "0", "64", "32", "16", "MVT::v8i16", "MVT::v16i8"], "File": "ARMISelLowering (2)2", "Func": "isShuffleMaskLegal", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2842, "Length": 277, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "uint64_t", "Address", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "raw_ostream", "&", "O", ")", "{", "bool", "Res", "=", "false", ";", "const", "MCInst", "*", "NewMI", "=", "MI", ";", "MCInst", "UncompressedMI", ";", "if", "(", "!", "NoAliases", ")", "Res", "=", "uncompressInst", "(", "UncompressedMI", ",", "*", "MI", ",", "MRI", ",", "STI", ")", ";", "if", "(", "Res", ")", "NewMI", "=", "const_cast", "<", "MCInst", "*", ">", "(", "&", "UncompressedMI", ")", ";", "if", "(", "NoAliases", "||", "!", "printAliasInstr", "(", "NewMI", ",", "Address", ",", "STI", ",", "O", ")", ")", "printInstruction", "(", "NewMI", ",", "Address", ",", "STI", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVInstPrinter1", "Func": "printInst", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2843, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isScalable", "(", ")", "const", "{", "return", "Type", "==", "PPR", "||", "Type", "==", "ZPR", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "LLT", "is", "a", "scalable", "vector", "."], "TS_V_token": ["AArch64"], "File": "AArch64FrameLowering (2)1", "Func": "isScalable", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2844, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_output_ttype", "(", "rtx", "x", ")", "{", "fputs", "(", "\"\\t.word\\t\"", ",", "asm_out_file", ")", ";", "output_addr_const", "(", "asm_out_file", ",", "x", ")", ";", "if", "(", "!", "CONST_INT_P", "(", "x", ")", ")", "fputs", "(", "\"(TARGET2)\"", ",", "asm_out_file", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "return", "TRUE", ";", "}", ""], "natrual_language": ["Output", "a", "reference", "from", "a", "function", "exception", "table", "to", "the", "type_info", "object", "X", ".", "The", "EABI", "specifies", "that", "the", "symbol", "should", "be", "relocated", "by", "an", "R_ARM_TARGET2", "relocation", "."], "TS_V_token": ["arm", "\"\\t.word\\t\"", "\"(TARGET2)\""], "File": "arm", "Func": "arm_output_ttype", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2845, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_short_vector_p", "(", "const_tree", "type", ",", "machine_mode", "mode", ")", "{", "poly_int64", "size", "=", "-", "1", ";", "if", "(", "type", "&&", "TREE_CODE", "(", "type", ")", "==", "VECTOR_TYPE", ")", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "else", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_INT", "||", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_FLOAT", ")", "size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "return", "known_eq", "(", "size", ",", "8", ")", "||", "known_eq", "(", "size", ",", "16", ")", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "the", "type", ",", "as", "described", "by", "TYPE", "and", "MODE", ",", "is", "a", "short", "vector", "type", "as", "described", "in", "AAPCS64", "\\S", "4.1.2", ".", "See", "the", "comment", "above", "aarch64_composite_type_p", "for", "the", "notes", "on", "MODE", "."], "TS_V_token": ["aarch64", "1", "8", "16"], "File": "aarch645", "Func": "aarch64_short_vector_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2846, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "M68kSubtarget", "::", "M68kSubtarget", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "M68kTargetMachine", "&", "TM", ")", ":", "M68kGenSubtargetInfo", "(", "TT", ",", "CPU", ",", "CPU", ",", "FS", ")", ",", "TM", "(", "TM", ")", ",", "TSInfo", "(", ")", ",", "InstrInfo", "(", "initializeSubtargetDependencies", "(", "CPU", ",", "TT", ",", "FS", ",", "TM", ")", ")", ",", "FrameLowering", "(", "*", "this", ",", "this", "->", "getStackAlignment", "(", ")", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", ",", "TargetTriple", "(", "TT", ")", "{", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["M68k", "M68k", "M68k", "M68k", "M68k"], "File": "M68kSubtarget3", "Func": "M68kSubtarget", "Target": "M68k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2847, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "s390_asm_output_function_label", "(", "FILE", "*", "asm_out_file", ",", "const", "char", "*", "fname", ",", "tree", "decl", ")", "{", "int", "hw_before", ",", "hw_after", ";", "s390_function_num_hotpatch_hw", "(", "decl", ",", "&", "hw_before", ",", "&", "hw_after", ")", ";", "if", "(", "hw_before", ">", "0", ")", "{", "unsigned", "int", "function_alignment", ";", "int", "i", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\tnopr\\t%%r7\"", "\"\\t# pre-label NOPs for hotpatch (%d halfwords)\\n\"", ",", "hw_before", ")", ";", "for", "(", "i", "=", "1", ";", "i", "<", "hw_before", ";", "i", "++", ")", "fputs", "(", "\"\\tnopr\\t%r7\\n\"", ",", "asm_out_file", ")", ";", "function_alignment", "=", "MAX", "(", "8", ",", "DECL_ALIGN", "(", "decl", ")", "/", "BITS_PER_UNIT", ")", ";", "if", "(", "!", "DECL_USER_ALIGN", "(", "decl", ")", ")", "function_alignment", "=", "MAX", "(", "function_alignment", ",", "(", "unsigned", "int", ")", "align_functions", ")", ";", "fputs", "(", "\"\\t# alignment for hotpatch\\n\"", ",", "asm_out_file", ")", ";", "ASM_OUTPUT_ALIGN", "(", "asm_out_file", ",", "floor_log2", "(", "function_alignment", ")", ")", ";", "}", "if", "(", "S390_USE_TARGET_ATTRIBUTE", "&&", "TARGET_DEBUG_ARG", ")", "{", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t# fn:%s ar%d\\n\"", ",", "fname", ",", "s390_arch", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t# fn:%s tu%d\\n\"", ",", "fname", ",", "s390_tune", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t# fn:%s sg%d\\n\"", ",", "fname", ",", "s390_stack_guard", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t# fn:%s ss%d\\n\"", ",", "fname", ",", "s390_stack_size", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t# fn:%s bc%d\\n\"", ",", "fname", ",", "s390_branch_cost", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t# fn:%s wf%d\\n\"", ",", "fname", ",", "s390_warn_framesize", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t# fn:%s ba%d\\n\"", ",", "fname", ",", "TARGET_BACKCHAIN", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t# fn:%s hd%d\\n\"", ",", "fname", ",", "TARGET_HARD_DFP", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t# fn:%s hf%d\\n\"", ",", "fname", ",", "!", "TARGET_SOFT_FLOAT", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t# fn:%s ht%d\\n\"", ",", "fname", ",", "TARGET_OPT_HTM", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t# fn:%s vx%d\\n\"", ",", "fname", ",", "TARGET_OPT_VX", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t# fn:%s ps%d\\n\"", ",", "fname", ",", "TARGET_PACKED_STACK", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t# fn:%s se%d\\n\"", ",", "fname", ",", "TARGET_SMALL_EXEC", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t# fn:%s mv%d\\n\"", ",", "fname", ",", "TARGET_MVCLE", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t# fn:%s zv%d\\n\"", ",", "fname", ",", "TARGET_ZVECTOR", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t# fn:%s wd%d\\n\"", ",", "fname", ",", "s390_warn_dynamicstack_p", ")", ";", "}", "ASM_OUTPUT_LABEL", "(", "asm_out_file", ",", "fname", ")", ";", "if", "(", "hw_after", ">", "0", ")", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t# post-label NOPs for hotpatch (%d halfwords)\\n\"", ",", "hw_after", ")", ";", "}", ""], "natrual_language": ["Write", "the", "extra", "assembler", "code", "needed", "to", "declare", "a", "function", "properly", "."], "TS_V_token": ["s390", "0", "\"\\tnopr\\t%%r7\"", "\"\\t# pre-label NOPs for hotpatch (%d halfwords)\\n\"", "1", "\"\\tnopr\\t%r7\\n\"", "8", "\"\\t# alignment for hotpatch\\n\"", "\"\\t# fn:%s ar%d\\n\"", "\"\\t# fn:%s tu%d\\n\"", "\"\\t# fn:%s sg%d\\n\"", "\"\\t# fn:%s ss%d\\n\"", "\"\\t# fn:%s bc%d\\n\"", "\"\\t# fn:%s wf%d\\n\"", "\"\\t# fn:%s ba%d\\n\"", "\"\\t# fn:%s hd%d\\n\"", "\"\\t# fn:%s hf%d\\n\"", "\"\\t# fn:%s ht%d\\n\"", "\"\\t# fn:%s vx%d\\n\"", "\"\\t# fn:%s ps%d\\n\"", "\"\\t# fn:%s se%d\\n\"", "\"\\t# fn:%s mv%d\\n\"", "\"\\t# fn:%s zv%d\\n\"", "\"\\t# fn:%s wd%d\\n\"", "0", "\"\\t# post-label NOPs for hotpatch (%d halfwords)\\n\""], "File": "s3905", "Func": "s390_asm_output_function_label", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2848, "Length": 337, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "MMIXRegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", ",", "CallingConv", "::", "ID", ")", "const", "{", "return", "CSR_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["MMIX", "MMIX"], "File": "MMIXRegisterInfo", "Func": "getCallPreservedMask", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2849, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mmix_asm_output_aligned_local", "(", "FILE", "*", "stream", ",", "const", "char", "*", "name", ",", "int", "size", ",", "int", "align", ")", "{", "data_section", "(", ")", ";", "ASM_OUTPUT_ALIGN", "(", "stream", ",", "exact_log2", "(", "align", "/", "BITS_PER_UNIT", ")", ")", ";", "assemble_name", "(", "stream", ",", "name", ")", ";", "fprintf", "(", "stream", ",", "\"\\tLOC @+%d\\n\"", ",", "size", ")", ";", "}", ""], "natrual_language": ["ASM_OUTPUT_ALIGNED_LOCAL", "."], "TS_V_token": ["mmix", "\"\\tLOC @+%d\\n\""], "File": "mmix3", "Func": "mmix_asm_output_aligned_local", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2850, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "function_builder", "::", "append_sew", "(", "int", "sew", ")", "{", "switch", "(", "sew", ")", "{", "case", "8", ":", "append_name", "(", "\"8\"", ")", ";", "break", ";", "case", "16", ":", "append_name", "(", "\"16\"", ")", ";", "break", ";", "case", "32", ":", "append_name", "(", "\"32\"", ")", ";", "break", ";", "case", "64", ":", "append_name", "(", "\"64\"", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Add", "SEW", "into", "function", "name", "."], "TS_V_token": ["riscv", "8", "\"8\"", "16", "\"16\"", "32", "\"32\"", "64", "\"64\""], "File": "riscv-vector-builtins", "Func": "append_sew", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2851, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "RTX_CODE", "compare_condition", "(", "rtx", "insn", ")", "{", "rtx", "next", "=", "next_real_insn", "(", "insn", ")", ";", "RTX_CODE", "cond", "=", "UNKNOWN", ";", "if", "(", "next", "&&", "GET_CODE", "(", "next", ")", "==", "JUMP_INSN", ")", "{", "rtx", "pat", "=", "PATTERN", "(", "next", ")", ";", "rtx", "src", "=", "SET_SRC", "(", "pat", ")", ";", "rtx", "t", "=", "XEXP", "(", "src", ",", "0", ")", ";", "cond", "=", "GET_CODE", "(", "t", ")", ";", "}", "return", "cond", ";", "}", ""], "natrual_language": ["Returns", "the", "condition", "of", "compare", "insn", "INSN", ",", "or", "UNKNOWN", "."], "TS_V_token": ["avr", "0"], "File": "avr3", "Func": "compare_condition", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2852, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "TMS320C64XLowering", "::", "LowerOperation", "(", "SDValue", "op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "op", ",", "DAG", ")", ";", "case", "ISD", "::", "JumpTable", ":", "return", "LowerJumpTable", "(", "op", ",", "DAG", ")", ";", "case", "ISD", "::", "RETURNADDR", ":", "return", "LowerReturnAddr", "(", "op", ",", "DAG", ")", ";", "case", "ISD", "::", "BR_CC", ":", "return", "LowerBRCC", "(", "op", ",", "DAG", ")", ";", "case", "ISD", "::", "SETCC", ":", "return", "LowerSETCC", "(", "op", ",", "DAG", ")", ";", "case", "ISD", "::", "LOAD", ":", "return", "LowerExtLoad", "(", "op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "LowerSelect", "(", "op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "op", ",", "DAG", ")", ";", "case", "ISD", "::", "VAARG", ":", "return", "LowerVAARG", "(", "op", ",", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_W_CHAIN", ":", "return", "LowerIntrinsic", "(", "op", ",", "DAG", ")", ";", "default", ":", "llvm_unreachable", "(", "op", ".", "getNode", "(", ")", "->", "getOperationName", "(", ")", ".", "c_str", "(", ")", ")", ";", "}", "return", "op", ";", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["TMS320C64X", "TMS320C64X", "ISD::GlobalAddress", "ISD::JumpTable", "ISD::RETURNADDR", "ISD::BR_CC", "ISD::SETCC", "ISD::LOAD", "ISD::SELECT", "ISD::VASTART", "ISD::VAARG", "ISD::INTRINSIC_W_CHAIN"], "File": "TMS320C64XLowering", "Func": "LowerOperation", "Target": "TMS320C64X", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 2853, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arc_return_address_register", "(", "unsigned", "int", "fn_type", ")", "{", "int", "regno", "=", "0", ";", "if", "(", "ARC_INTERRUPT_P", "(", "fn_type", ")", ")", "{", "if", "(", "(", "(", "fn_type", "&", "ARC_FUNCTION_ILINK1", ")", "|", "ARC_FUNCTION_FIRQ", ")", "!=", "0", ")", "regno", "=", "ILINK1_REGNUM", ";", "else", "if", "(", "(", "fn_type", "&", "ARC_FUNCTION_ILINK2", ")", "!=", "0", ")", "regno", "=", "ILINK2_REGNUM", ";", "else", "gcc_unreachable", "(", ")", ";", "}", "else", "if", "(", "ARC_NORMAL_P", "(", "fn_type", ")", "||", "ARC_NAKED_P", "(", "fn_type", ")", ")", "regno", "=", "RETURN_ADDR_REGNUM", ";", "gcc_assert", "(", "regno", "!=", "0", ")", ";", "return", "regno", ";", "}", ""], "natrual_language": ["Return", "the", "register", "number", "of", "the", "register", "holding", "the", "return", "address", "for", "a", "function", "of", "type", "TYPE", "."], "TS_V_token": ["arc", "0", "0", "0", "0"], "File": "arc7", "Func": "arc_return_address_register", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2854, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "MBlazeTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "MBB", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected instr type to insert\"", ")", ";", "case", "MBlaze", "::", "ShiftRL", ":", "case", "MBlaze", "::", "ShiftRA", ":", "case", "MBlaze", "::", "ShiftL", ":", "return", "EmitCustomShift", "(", "MI", ",", "MBB", ")", ";", "case", "MBlaze", "::", "Select_FCC", ":", "case", "MBlaze", "::", "Select_CC", ":", "return", "EmitCustomSelect", "(", "MI", ",", "MBB", ")", ";", "case", "MBlaze", "::", "CAS32", ":", "case", "MBlaze", "::", "SWP32", ":", "case", "MBlaze", "::", "LAA32", ":", "case", "MBlaze", "::", "LAS32", ":", "case", "MBlaze", "::", "LAD32", ":", "case", "MBlaze", "::", "LAO32", ":", "case", "MBlaze", "::", "LAX32", ":", "case", "MBlaze", "::", "LAN32", ":", "return", "EmitCustomAtomic", "(", "MI", ",", "MBB", ")", ";", "case", "MBlaze", "::", "MEMBARRIER", ":", "MI", "->", "eraseFromParent", "(", ")", ";", "return", "MBB", ";", "}", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "."], "TS_V_token": ["MBlaze", "MBlaze", "\"Unexpected instr type to insert\"", "MBlaze::ShiftRL", "MBlaze::ShiftRA", "MBlaze::ShiftL", "MBlaze::Select_FCC", "MBlaze::Select_CC", "MBlaze::CAS32", "MBlaze::SWP32", "MBlaze::LAA32", "MBlaze::LAS32", "MBlaze::LAD32", "MBlaze::LAO32", "MBlaze::LAX32", "MBlaze::LAN32", "MBlaze::MEMBARRIER"], "File": "MBlazeISelLowering", "Func": "EmitInstrWithCustomInserter", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2855, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "register_builtin_types", "(", ")", "{", "scalar_types", "[", "VECTOR_TYPE_", "##", "ACLE_NAME", "]", "=", "SCALAR_TYPE", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "NUM_VECTOR_TYPES", ";", "++", "i", ")", "{", "if", "(", "vector_types", "[", "i", "]", ".", "requires_float", "&&", "!", "TARGET_HAVE_MVE_FLOAT", ")", "continue", ";", "tree", "eltype", "=", "scalar_types", "[", "i", "]", ";", "tree", "vectype", ";", "if", "(", "eltype", "==", "boolean_type_node", ")", "{", "vectype", "=", "get_typenode_from_name", "(", "UINT16_TYPE", ")", ";", "gcc_assert", "(", "GET_MODE_SIZE", "(", "TYPE_MODE", "(", "vectype", ")", ")", "==", "2", ")", ";", "}", "else", "{", "vectype", "=", "arm_mve_type_for_scalar_type", "(", "eltype", ")", ";", "gcc_assert", "(", "VECTOR_MODE_P", "(", "TYPE_MODE", "(", "vectype", ")", ")", "&&", "GET_MODE_SIZE", "(", "TYPE_MODE", "(", "vectype", ")", ")", "==", "16", ")", ";", "}", "abi_vector_types", "[", "i", "]", "=", "vectype", ";", "}", "}", ""], "natrual_language": ["Register", "the", "built-in", "RVV", "ABI", "types", ",", "such", "as", "__rvv_int32m1_t", "."], "TS_V_token": ["arm", "0", "2", "16"], "File": "arm-mve-builtins", "Func": "register_builtin_types", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2856, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "pdp10_stack_dynamic_offset", "(", ")", "{", "return", "1", ";", "}", ""], "natrual_language": ["Called", "by", "the", "STACK_DYNAMIC_OFFSET", "macro", "."], "TS_V_token": ["pdp10", "1"], "File": "pdp10", "Func": "pdp10_stack_dynamic_offset", "Target": "pdp10", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2857, "Length": 9, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMGlobalMerge", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "SmallVector", "<", "GlobalVariable", "*", ",", "16", ">", "Globals", ",", "ConstGlobals", ",", "BSSGlobals", ";", "const", "TargetData", "*", "TD", "=", "TLI", "->", "getTargetData", "(", ")", ";", "unsigned", "MaxOffset", "=", "TLI", "->", "getMaximalGlobalOffset", "(", ")", ";", "bool", "Changed", "=", "false", ";", "if", "(", "TLI", "->", "getTargetMachine", "(", ")", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "isTargetDarwin", "(", ")", ")", "return", "false", ";", "for", "(", "Module", "::", "global_iterator", "I", "=", "M", ".", "global_begin", "(", ")", ",", "E", "=", "M", ".", "global_end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "!", "I", "->", "hasLocalLinkage", "(", ")", "||", "I", "->", "isThreadLocal", "(", ")", "||", "I", "->", "hasSection", "(", ")", ")", "continue", ";", "if", "(", "I", "->", "getAlignment", "(", ")", "!=", "0", ")", "continue", ";", "if", "(", "I", "->", "getName", "(", ")", ".", "startswith", "(", "\"llvm.\"", ")", "||", "I", "->", "getName", "(", ")", ".", "startswith", "(", "\".llvm.\"", ")", ")", "continue", ";", "if", "(", "TD", "->", "getTypeAllocSize", "(", "I", "->", "getType", "(", ")", "->", "getElementType", "(", ")", ")", "<", "MaxOffset", ")", "{", "const", "TargetLoweringObjectFile", "&", "TLOF", "=", "TLI", "->", "getObjFileLowering", "(", ")", ";", "if", "(", "TLOF", ".", "getKindForGlobal", "(", "I", ",", "TLI", "->", "getTargetMachine", "(", ")", ")", ".", "isBSSLocal", "(", ")", ")", "BSSGlobals", ".", "push_back", "(", "I", ")", ";", "else", "if", "(", "I", "->", "isConstant", "(", ")", ")", "ConstGlobals", ".", "push_back", "(", "I", ")", ";", "else", "Globals", ".", "push_back", "(", "I", ")", ";", "}", "}", "if", "(", "Globals", ".", "size", "(", ")", ">", "1", ")", "Changed", "|=", "doMerge", "(", "Globals", ",", "M", ",", "false", ")", ";", "if", "(", "BSSGlobals", ".", "size", "(", ")", ">", "1", ")", "Changed", "|=", "doMerge", "(", "BSSGlobals", ",", "M", ",", "false", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["ARM", "ARM", "16", "ARM", "0", "\"llvm.\"", "\".llvm.\"", "1", "1"], "File": "ARMGlobalMerge2", "Func": "doInitialization", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2858, "Length": 289, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "getSetCCResultType", "(", "const", "DataLayout", "&", ",", "LLVMContext", "&", "C", ",", "EVT", "VT", ")", "const", "override", "{", "if", "(", "!", "VT", ".", "isVector", "(", ")", ")", "return", "MVT", "::", "i1", ";", "else", "return", "EVT", "::", "getVectorVT", "(", "C", ",", "MVT", "::", "i1", ",", "VT", ".", "getVectorNumElements", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["Hexagon", "MVT::i1", "MVT::i1"], "File": "HexagonISelLowering (2)", "Func": "getSetCCResultType", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2859, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nvptx_emit_forking", "(", "unsigned", "mask", ",", "bool", "is_call", ")", "{", "mask", "&=", "(", "GOMP_DIM_MASK", "(", "GOMP_DIM_WORKER", ")", "|", "GOMP_DIM_MASK", "(", "GOMP_DIM_VECTOR", ")", ")", ";", "if", "(", "mask", ")", "{", "rtx", "op", "=", "GEN_INT", "(", "mask", "|", "(", "is_call", "<<", "GOMP_DIM_MAX", ")", ")", ";", "emit_insn", "(", "gen_nvptx_fork", "(", "op", ")", ")", ";", "emit_insn", "(", "gen_nvptx_forked", "(", "op", ")", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "forking", "instructions", "for", "MASK", "."], "TS_V_token": ["nvptx"], "File": "nvptx", "Func": "nvptx_emit_forking", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 2860, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_function_specific_print", "(", "FILE", "*", "file", ",", "int", "indent", ",", "struct", "cl_target_option", "*", "ptr", ")", "{", "char", "*", "target_string", "=", "ix86_target_string", "(", "ptr", "->", "x_ix86_isa_flags", ",", "ptr", "->", "x_target_flags", ",", "NULL", ",", "NULL", ",", "ptr", "->", "x_ix86_fpmath", ",", "false", ")", ";", "gcc_assert", "(", "ptr", "->", "arch", "<", "PROCESSOR_max", ")", ";", "fprintf", "(", "file", ",", "\"%*sarch = %d (%s)\\n\"", ",", "indent", ",", "\"\"", ",", "ptr", "->", "arch", ",", "processor_target_table", "[", "ptr", "->", "arch", "]", ".", "name", ")", ";", "gcc_assert", "(", "ptr", "->", "tune", "<", "PROCESSOR_max", ")", ";", "fprintf", "(", "file", ",", "\"%*stune = %d (%s)\\n\"", ",", "indent", ",", "\"\"", ",", "ptr", "->", "tune", ",", "processor_target_table", "[", "ptr", "->", "tune", "]", ".", "name", ")", ";", "fprintf", "(", "file", ",", "\"%*sbranch_cost = %d\\n\"", ",", "indent", ",", "\"\"", ",", "ptr", "->", "branch_cost", ")", ";", "if", "(", "target_string", ")", "{", "fprintf", "(", "file", ",", "\"%*s%s\\n\"", ",", "indent", ",", "\"\"", ",", "target_string", ")", ";", "free", "(", "target_string", ")", ";", "}", "}", ""], "natrual_language": ["Print", "the", "current", "options"], "TS_V_token": ["i386", "\"%*sarch = %d (%s)\\n\"", "\"\"", "\"%*stune = %d (%s)\\n\"", "\"\"", "\"%*sbranch_cost = %d\\n\"", "\"\"", "\"%*s%s\\n\"", "\"\""], "File": "i3864", "Func": "ix86_function_specific_print", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2861, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "alpha_can_change_mode_class", "(", "machine_mode", "from", ",", "machine_mode", "to", ",", "reg_class_t", "rclass", ")", "{", "return", "(", "GET_MODE_SIZE", "(", "from", ")", "==", "GET_MODE_SIZE", "(", "to", ")", "||", "!", "reg_classes_intersect_p", "(", "FLOAT_REGS", ",", "rclass", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CAN_CHANGE_MODE_CLASS", "."], "TS_V_token": ["alpha"], "File": "alpha", "Func": "alpha_can_change_mode_class", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2862, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "loongarch_12bit_offset_address_p", "(", "rtx", "x", ",", "machine_mode", "mode", ")", "{", "struct", "loongarch_address_info", "addr", ";", "return", "(", "loongarch_classify_address", "(", "&", "addr", ",", "x", ",", "mode", ",", "false", ")", "&&", "addr", ".", "type", "==", "ADDRESS_REG", "&&", "CONST_INT_P", "(", "addr", ".", "offset", ")", "&&", "LARCH_U12BIT_OFFSET_P", "(", "INTVAL", "(", "addr", ".", "offset", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "legitimate", "address", "with", "a", "12-bit", "offset", "or", "addr.type", "is", "ADDRESS_LO_SUM", ".", "MODE", "is", "the", "mode", "of", "the", "value", "being", "accessed", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_12bit_offset_address_p", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2863, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "getRegClass", "(", "bool", "IsVgpr", ",", "unsigned", "RegWidth", ")", "{", "if", "(", "IsVgpr", ")", "{", "switch", "(", "RegWidth", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown register width\"", ")", ";", "case", "1", ":", "return", "AMDGPU", "::", "VGPR_32RegClassID", ";", "case", "2", ":", "return", "AMDGPU", "::", "VReg_64RegClassID", ";", "case", "3", ":", "return", "AMDGPU", "::", "VReg_96RegClassID", ";", "case", "4", ":", "return", "AMDGPU", "::", "VReg_128RegClassID", ";", "case", "8", ":", "return", "AMDGPU", "::", "VReg_256RegClassID", ";", "case", "16", ":", "return", "AMDGPU", "::", "VReg_512RegClassID", ";", "}", "}", "switch", "(", "RegWidth", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown register width\"", ")", ";", "case", "1", ":", "return", "AMDGPU", "::", "SGPR_32RegClassID", ";", "case", "2", ":", "return", "AMDGPU", "::", "SGPR_64RegClassID", ";", "case", "4", ":", "return", "AMDGPU", "::", "SReg_128RegClassID", ";", "case", "8", ":", "return", "AMDGPU", "::", "SReg_256RegClassID", ";", "case", "16", ":", "return", "AMDGPU", "::", "SReg_512RegClassID", ";", "}", "}", ""], "natrual_language": ["Given", "a", "machine", "instruction", "descriptor", ",", "returns", "the", "register", "class", "constraint", "for", "OpNum", ",", "or", "NULL", "."], "TS_V_token": ["R600", "\"Unknown register width\"", "1", "2", "3", "4", "8", "16", "\"Unknown register width\"", "1", "2", "4", "8", "16"], "File": "AMDGPUAsmParser18", "Func": "getRegClass", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2864, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "explicit", "Entry", "(", "const", "SortRegion", "*", "R", ")", ":", "TheRegion", "(", "R", ")", ",", "NumBlocksLeft", "(", "R", "->", "getNumBlocks", "(", ")", ")", "{", "}", ""], "natrual_language": ["The", "index", "of", "the", "entry", "block", "."], "TS_V_token": ["WebAssembly"], "File": "WebAssemblyCFGSort10", "Func": "Entry", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2865, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "NVPTXPassConfig", "::", "addIRPasses", "(", ")", "{", "disablePass", "(", "&", "PrologEpilogCodeInserterID", ")", ";", "disablePass", "(", "&", "MachineCopyPropagationID", ")", ";", "disablePass", "(", "&", "BranchFolderPassID", ")", ";", "disablePass", "(", "&", "TailDuplicateID", ")", ";", "addPass", "(", "createNVPTXImageOptimizerPass", "(", ")", ")", ";", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "addPass", "(", "createNVPTXAssignValidGlobalNamesPass", "(", ")", ")", ";", "addPass", "(", "createGenericToNVVMPass", "(", ")", ")", ";", "addPass", "(", "createNVPTXFavorNonGenericAddrSpacesPass", "(", ")", ")", ";", "addPass", "(", "createStraightLineStrengthReducePass", "(", ")", ")", ";", "addPass", "(", "createSeparateConstOffsetFromGEPPass", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "Aggressive", ")", "addPass", "(", "createGVNPass", "(", ")", ")", ";", "else", "addPass", "(", "createEarlyCSEPass", "(", ")", ")", ";", "addPass", "(", "createDeadCodeEliminationPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX"], "File": "NVPTXTargetMachine17", "Func": "addIRPasses", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2866, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MipsSubtarget", "::", "MipsSubtarget", "(", "const", "Triple", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "bool", "little", ",", "const", "MipsTargetMachine", "&", "TM", ")", ":", "MipsGenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "MipsArchVersion", "(", "MipsDefault", ")", ",", "IsLittle", "(", "little", ")", ",", "IsSoftFloat", "(", "false", ")", ",", "IsSingleFloat", "(", "false", ")", ",", "IsFPXX", "(", "false", ")", ",", "NoABICalls", "(", "false", ")", ",", "IsFP64bit", "(", "false", ")", ",", "UseOddSPReg", "(", "true", ")", ",", "IsNaN2008bit", "(", "false", ")", ",", "IsGP64bit", "(", "false", ")", ",", "HasVFPU", "(", "false", ")", ",", "HasCnMips", "(", "false", ")", ",", "HasMips3_32", "(", "false", ")", ",", "HasMips3_32r2", "(", "false", ")", ",", "HasMips4_32", "(", "false", ")", ",", "HasMips4_32r2", "(", "false", ")", ",", "HasMips5_32r2", "(", "false", ")", ",", "InMips16Mode", "(", "false", ")", ",", "InMips16HardFloat", "(", "Mips16HardFloat", ")", ",", "InMicroMipsMode", "(", "false", ")", ",", "HasDSP", "(", "false", ")", ",", "HasDSPR2", "(", "false", ")", ",", "HasDSPR3", "(", "false", ")", ",", "AllowMixed16_32", "(", "Mixed16_32", "|", "Mips_Os16", ")", ",", "Os16", "(", "Mips_Os16", ")", ",", "HasMSA", "(", "false", ")", ",", "UseTCCInDIV", "(", "false", ")", ",", "HasEVA", "(", "false", ")", ",", "TM", "(", "TM", ")", ",", "TargetTriple", "(", "TT", ")", ",", "TSInfo", "(", ")", ",", "InstrInfo", "(", "MipsInstrInfo", "::", "create", "(", "initializeSubtargetDependencies", "(", "CPU", ",", "FS", ",", "TM", ")", ")", ")", ",", "FrameLowering", "(", "MipsFrameLowering", "::", "create", "(", "*", "this", ")", ")", ",", "TLInfo", "(", "MipsTargetLowering", "::", "create", "(", "TM", ",", "*", "this", ")", ")", "{", "PreviousInMips16Mode", "=", "InMips16Mode", ";", "if", "(", "MipsArchVersion", "==", "MipsDefault", ")", "MipsArchVersion", "=", "Mips32", ";", "if", "(", "MipsArchVersion", "==", "Mips1", ")", "report_fatal_error", "(", "\"Code generation for MIPS-I is not implemented\"", ",", "false", ")", ";", "if", "(", "MipsArchVersion", "==", "Mips5", ")", "report_fatal_error", "(", "\"Code generation for MIPS-V is not implemented\"", ",", "false", ")", ";", "assert", "(", "(", "(", "!", "isGP64bit", "(", ")", "&&", "isABI_O32", "(", ")", ")", "||", "(", "isGP64bit", "(", ")", "&&", "(", "isABI_N32", "(", ")", "||", "isABI_N64", "(", ")", ")", ")", ")", "&&", "\"Invalid Arch & ABI pair.\"", ")", ";", "if", "(", "hasMSA", "(", ")", "&&", "!", "isFP64bit", "(", ")", ")", "report_fatal_error", "(", "\"MSA requires a 64-bit FPU register file (FR=1 mode). \"", "\"See -mattr=+fp64.\"", ",", "false", ")", ";", "if", "(", "!", "isABI_O32", "(", ")", "&&", "!", "useOddSPReg", "(", ")", ")", "report_fatal_error", "(", "\"-mattr=+nooddspreg requires the O32 ABI.\"", ",", "false", ")", ";", "if", "(", "IsFPXX", "&&", "(", "isABI_N32", "(", ")", "||", "isABI_N64", "(", ")", ")", ")", "report_fatal_error", "(", "\"FPXX is not permitted for the N32/N64 ABI's.\"", ",", "false", ")", ";", "if", "(", "hasMips32r6", "(", ")", ")", "{", "StringRef", "ISA", "=", "hasMips64r6", "(", ")", "?", "\"MIPS64r6\"", ":", "\"MIPS32r6\"", ";", "assert", "(", "isFP64bit", "(", ")", ")", ";", "assert", "(", "isNaN2008", "(", ")", ")", ";", "if", "(", "hasDSP", "(", ")", ")", "report_fatal_error", "(", "ISA", "+", "\" is not compatible with the DSP ASE\"", ",", "false", ")", ";", "}", "if", "(", "NoABICalls", "&&", "TM", ".", "isPositionIndependent", "(", ")", ")", "report_fatal_error", "(", "\"position-independent code requires '-mabicalls'\"", ")", ";", "UseSmallSection", "=", "GPOpt", ";", "if", "(", "!", "NoABICalls", "&&", "GPOpt", ")", "{", "errs", "(", ")", "<<", "\"warning: cannot use small-data accesses for '-mabicalls'\"", "<<", "\"\\n\"", ";", "UseSmallSection", "=", "false", ";", "}", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "\"Code generation for MIPS-I is not implemented\"", "Mips", "Mips", "\"Code generation for MIPS-V is not implemented\"", "\"Invalid Arch & ABI pair.\"", "\"MSA requires a 64-bit FPU register file (FR=1 mode). \"", "\"See -mattr=+fp64.\"", "\"-mattr=+nooddspreg requires the O32 ABI.\"", "\"FPXX is not permitted for the N32/N64 ABI's.\"", "Mips", "Mips", "\"MIPS64r6\"", "\"MIPS32r6\"", "\" is not compatible with the DSP ASE\"", "\"position-independent code requires '-mabicalls'\"", "\"warning: cannot use small-data accesses for '-mabicalls'\"", "\"\\n\""], "File": "MipsSubtarget18", "Func": "MipsSubtarget", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2867, "Length": 460, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "abi_v4_pass_in_fpr", "(", "machine_mode", "mode", ")", "{", "if", "(", "!", "TARGET_FPRS", "||", "!", "TARGET_HARD_FLOAT", ")", "return", "false", ";", "if", "(", "TARGET_SINGLE_FLOAT", "&&", "mode", "==", "SFmode", ")", "return", "true", ";", "if", "(", "TARGET_DOUBLE_FLOAT", "&&", "mode", "==", "DFmode", ")", "return", "true", ";", "if", "(", "is_complex_IBM_long_double", "(", "mode", ")", ")", "return", "false", ";", "if", "(", "FLOAT128_2REG_P", "(", "mode", ")", ")", "return", "true", ";", "if", "(", "DECIMAL_FLOAT_MODE_P", "(", "mode", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Whether", "ABI_V4", "passes", "MODE", "args", "to", "a", "function", "in", "floating", "point", "registers", "."], "TS_V_token": ["rs6000"], "File": "rs60006", "Func": "abi_v4_pass_in_fpr", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2868, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "classifyLEAReg", "(", "MachineInstr", "&", "MI", ",", "const", "MachineOperand", "&", "Src", ",", "unsigned", "Opc", ",", "bool", "AllowSP", ",", "unsigned", "&", "NewSrc", ",", "bool", "&", "isKill", ",", "bool", "&", "isUndef", ",", "MachineOperand", "&", "ImplicitOp", ",", "LiveVariables", "*", "LV", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", ";", "if", "(", "AllowSP", ")", "{", "RC", "=", "Opc", "!=", "X86", "::", "LEA32r", "?", "&", "X86", "::", "GR64RegClass", ":", "&", "X86", "::", "GR32RegClass", ";", "}", "else", "{", "RC", "=", "Opc", "!=", "X86", "::", "LEA32r", "?", "&", "X86", "::", "GR64_NOSPRegClass", ":", "&", "X86", "::", "GR32_NOSPRegClass", ";", "}", "unsigned", "SrcReg", "=", "Src", ".", "getReg", "(", ")", ";", "if", "(", "Opc", "!=", "X86", "::", "LEA64_32r", ")", "{", "NewSrc", "=", "SrcReg", ";", "isKill", "=", "Src", ".", "isKill", "(", ")", ";", "isUndef", "=", "Src", ".", "isUndef", "(", ")", ";", "if", "(", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "NewSrc", ")", "&&", "!", "MF", ".", "getRegInfo", "(", ")", ".", "constrainRegClass", "(", "NewSrc", ",", "RC", ")", ")", "return", "false", ";", "return", "true", ";", "}", "if", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "SrcReg", ")", ")", "{", "ImplicitOp", "=", "Src", ";", "ImplicitOp", ".", "setImplicit", "(", ")", ";", "NewSrc", "=", "getX86SubSuperRegister", "(", "Src", ".", "getReg", "(", ")", ",", "64", ")", ";", "isKill", "=", "Src", ".", "isKill", "(", ")", ";", "isUndef", "=", "Src", ".", "isUndef", "(", ")", ";", "}", "else", "{", "NewSrc", "=", "MF", ".", "getRegInfo", "(", ")", ".", "createVirtualRegister", "(", "RC", ")", ";", "MachineInstr", "*", "Copy", "=", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "MI", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "get", "(", "TargetOpcode", "::", "COPY", ")", ")", ".", "addReg", "(", "NewSrc", ",", "RegState", "::", "Define", "|", "RegState", "::", "Undef", ",", "X86", "::", "sub_32bit", ")", ".", "addOperand", "(", "Src", ")", ";", "isKill", "=", "true", ";", "isUndef", "=", "false", ";", "if", "(", "LV", ")", "LV", "->", "replaceKillInstruction", "(", "SrcReg", ",", "MI", ",", "*", "Copy", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Given", "an", "operand", "within", "a", "MachineInstr", ",", "insert", "preceding", "code", "to", "put", "it", "into", "the", "right", "format", "for", "a", "particular", "kind", "of", "LEA", "instruction", "."], "TS_V_token": ["X86", "X86", "X86::LEA32r", "X86::GR64RegClass", "X86::GR32RegClass", "X86::LEA32r", "X86::GR64_NOSPRegClass", "X86::GR32_NOSPRegClass", "X86::LEA64_32r", "X86", "64", "X86::sub_32bit"], "File": "X86InstrInfo112", "Func": "classifyLEAReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2869, "Length": 320, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "pru_output_signed_cbranch", "(", "rtx", "*", "operands", ",", "bool", "is_near", ")", "{", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "operands", "[", "0", "]", ")", ";", "if", "(", "code", "==", "LT", "||", "code", "==", "LE", ")", "return", "pru_output_ltle_signed_cbranch", "(", "operands", ",", "is_near", ")", ";", "else", "if", "(", "code", "==", "GT", "||", "code", "==", "GE", ")", "return", "pru_output_gtge_signed_cbranch", "(", "operands", ",", "is_near", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Output", "asm", "code", "for", "a", "signed-compare", "conditional", "branch", ".", "If", "IS_NEAR", "is", "true", ",", "then", "QBBx", "instructions", "may", "be", "used", "for", "reaching", "the", "destination", "label", ".", "Otherwise", "JMP", "is", "used", ",", "at", "the", "expense", "of", "increased", "code", "size", "."], "TS_V_token": ["pru", "0"], "File": "pru", "Func": "pru_output_signed_cbranch", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2870, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonMCChecker", "::", "check", "(", "bool", "FullCheck", ")", "{", "bool", "chkP", "=", "checkPredicates", "(", ")", ";", "bool", "chkNV", "=", "checkNewValues", "(", ")", ";", "bool", "chkR", "=", "checkRegisters", "(", ")", ";", "bool", "chkRRO", "=", "checkRegistersReadOnly", "(", ")", ";", "checkRegisterCurDefs", "(", ")", ";", "bool", "chkS", "=", "checkSolo", "(", ")", ";", "bool", "chkSh", "=", "true", ";", "if", "(", "FullCheck", ")", "chkSh", "=", "checkShuffle", "(", ")", ";", "bool", "chkSl", "=", "true", ";", "if", "(", "FullCheck", ")", "chkSl", "=", "checkSlots", "(", ")", ";", "bool", "chkAXOK", "=", "checkAXOK", "(", ")", ";", "bool", "chkCofMax1", "=", "checkCOFMax1", "(", ")", ";", "bool", "chkHWLoop", "=", "checkHWLoop", "(", ")", ";", "bool", "chkValidTmpDst", "=", "FullCheck", "?", "checkValidTmpDst", "(", ")", ":", "true", ";", "bool", "chkLegalVecRegPair", "=", "checkLegalVecRegPair", "(", ")", ";", "bool", "chk", "=", "chkP", "&&", "chkNV", "&&", "chkR", "&&", "chkRRO", "&&", "chkS", "&&", "chkSh", "&&", "chkSl", "&&", "chkAXOK", "&&", "chkCofMax1", "&&", "chkHWLoop", "&&", "chkValidTmpDst", "&&", "chkLegalVecRegPair", ";", "return", "chk", ";", "}", ""], "natrual_language": ["Check", "if", "the", "constraints", "are", "satisfiable", "."], "TS_V_token": ["Hexagon", "Hexagon"], "File": "HexagonMCChecker20", "Func": "check", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2871, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "isReallyTriviallyReMaterializable", "(", "const", "MachineInstr", "&", "MI", ",", "AliasAnalysis", "*", "AA", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown rematerializable operation!\"", ")", ";", "break", ";", "case", "PPC", "::", "LI", ":", "case", "PPC", "::", "LI8", ":", "case", "PPC", "::", "LIS", ":", "case", "PPC", "::", "LIS8", ":", "case", "PPC", "::", "QVGPCI", ":", "case", "PPC", "::", "ADDIStocHA", ":", "case", "PPC", "::", "ADDItocL", ":", "case", "PPC", "::", "LOAD_STACK_GUARD", ":", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["For", "instructions", "with", "opcodes", "for", "which", "the", "M_REMATERIALIZABLE", "flag", "is", "set", ",", "this", "hook", "lets", "the", "target", "specify", "whether", "the", "instruction", "is", "actually", "trivially", "rematerializable", ",", "taking", "into", "consideration", "its", "operands", "."], "TS_V_token": ["PowerPC", "PPC", "\"Unknown rematerializable operation!\"", "PPC::LI", "PPC::LI8", "PPC::LIS", "PPC::LIS8", "PPC::QVGPCI", "PPC::ADDIStocHA", "PPC::ADDItocL", "PPC::LOAD_STACK_GUARD"], "File": "PPCInstrInfo (2)2", "Func": "isReallyTriviallyReMaterializable", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2872, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "timode_scalar_chain", "::", "mark_dual_mode_def", "(", "df_ref", ")", "{", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["For", "DImode", "conversion", ",", "mark", "register", "defined", "by", "DEF", "as", "requiring", "conversion", "."], "TS_V_token": ["i386"], "File": "i386-features", "Func": "mark_dual_mode_def", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2873, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "use_return_insn", "(", "int", "iscond", ",", "rtx", "sibling", ")", "{", "int", "regno", ";", "unsigned", "int", "func_type", ";", "unsigned", "long", "saved_int_regs", ";", "unsigned", "HOST_WIDE_INT", "stack_adjust", ";", "arm_stack_offsets", "*", "offsets", ";", "if", "(", "!", "reload_completed", ")", "return", "0", ";", "func_type", "=", "arm_current_func_type", "(", ")", ";", "if", "(", "func_type", "&", "(", "ARM_FT_VOLATILE", "|", "ARM_FT_NAKED", "|", "ARM_FT_STACKALIGN", ")", ")", "return", "0", ";", "if", "(", "IS_INTERRUPT", "(", "func_type", ")", "&&", "(", "frame_pointer_needed", "||", "TARGET_THUMB", ")", ")", "return", "0", ";", "if", "(", "TARGET_LDRD", "&&", "current_tune", "->", "prefer_ldrd_strd", "&&", "!", "optimize_function_for_size_p", "(", "cfun", ")", ")", "return", "0", ";", "offsets", "=", "arm_get_frame_offsets", "(", ")", ";", "stack_adjust", "=", "offsets", "->", "outgoing_args", "-", "offsets", "->", "saved_regs", ";", "if", "(", "crtl", "->", "args", ".", "pretend_args_size", "||", "cfun", "->", "machine", "->", "uses_anonymous_args", "||", "crtl", "->", "calls_eh_return", "||", "cfun", "->", "calls_alloca", "||", "!", "(", "stack_adjust", "==", "0", "||", "(", "TARGET_APCS_FRAME", "&&", "frame_pointer_needed", "&&", "stack_adjust", "==", "4", ")", ")", "||", "(", "!", "(", "TARGET_APCS_FRAME", "&&", "frame_pointer_needed", ")", "&&", "arm_compute_static_chain_stack_bytes", "(", ")", "!=", "0", ")", ")", "return", "0", ";", "saved_int_regs", "=", "offsets", "->", "saved_regs_mask", ";", "if", "(", "stack_adjust", "==", "4", "&&", "!", "arm_arch5", "&&", "TARGET_ARM", ")", "{", "if", "(", "!", "call_used_regs", "[", "3", "]", ")", "return", "0", ";", "if", "(", "arm_size_return_regs", "(", ")", ">=", "(", "4", "*", "UNITS_PER_WORD", ")", ")", "return", "0", ";", "if", "(", "sibling", ")", "{", "gcc_assert", "(", "CALL_P", "(", "sibling", ")", ")", ";", "if", "(", "find_regno_fusage", "(", "sibling", ",", "USE", ",", "3", ")", ")", "return", "0", ";", "}", "if", "(", "saved_int_regs", "&", "0x7", ")", "return", "0", ";", "}", "if", "(", "TARGET_INTERWORK", "&&", "saved_int_regs", "!=", "0", "&&", "!", "IS_INTERRUPT", "(", "func_type", ")", ")", "return", "0", ";", "if", "(", "iscond", "&&", "arm_tune_strongarm", ")", "{", "if", "(", "saved_int_regs", "!=", "0", "&&", "saved_int_regs", "!=", "(", "1", "<<", "LR_REGNUM", ")", ")", "return", "0", ";", "if", "(", "flag_pic", "&&", "arm_pic_register", "!=", "INVALID_REGNUM", "&&", "df_regs_ever_live_p", "(", "PIC_OFFSET_TABLE_REGNUM", ")", ")", "return", "0", ";", "}", "if", "(", "saved_int_regs", "&&", "!", "(", "saved_int_regs", "&", "(", "1", "<<", "LR_REGNUM", ")", ")", ")", "return", "0", ";", "if", "(", "TARGET_HARD_FLOAT", "&&", "TARGET_VFP", ")", "for", "(", "regno", "=", "FIRST_VFP_REGNUM", ";", "regno", "<=", "LAST_VFP_REGNUM", ";", "regno", "++", ")", "if", "(", "df_regs_ever_live_p", "(", "regno", ")", "&&", "!", "call_used_regs", "[", "regno", "]", ")", "return", "0", ";", "if", "(", "TARGET_REALLY_IWMMXT", ")", "for", "(", "regno", "=", "FIRST_IWMMXT_REGNUM", ";", "regno", "<=", "LAST_IWMMXT_REGNUM", ";", "regno", "++", ")", "if", "(", "df_regs_ever_live_p", "(", "regno", ")", "&&", "!", "call_used_regs", "[", "regno", "]", ")", "return", "0", ";", "return", "1", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "function", "'s", "epilogue", "can", "be", "output", "as", "RTL", "."], "TS_V_token": ["arm", "0", "0", "0", "0", "0", "4", "0", "0", "4", "3", "0", "4", "0", "3", "0", "0x7", "0", "0", "0", "0", "1", "0", "0", "1", "0", "0", "0", "1"], "File": "arm5", "Func": "use_return_insn", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2874, "Length": 394, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"rvex DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["rvex", "\"rvex DAG->DAG Pattern Instruction Selection\""], "File": "rvexISelDAGToDAG", "Func": "getPassName", "Target": "rvex", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 2875, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arc_setup_incoming_varargs", "(", "cumulative_args_t", "args_so_far", ",", "machine_mode", "mode", ",", "tree", "type", ",", "int", "*", "pretend_size", ",", "int", "no_rtl", ")", "{", "int", "first_anon_arg", ";", "CUMULATIVE_ARGS", "next_cum", ";", "next_cum", "=", "*", "get_cumulative_args", "(", "args_so_far", ")", ";", "arc_function_arg_advance", "(", "pack_cumulative_args", "(", "&", "next_cum", ")", ",", "mode", ",", "type", ",", "true", ")", ";", "first_anon_arg", "=", "next_cum", ";", "if", "(", "FUNCTION_ARG_REGNO_P", "(", "first_anon_arg", ")", ")", "{", "int", "first_reg_offset", "=", "first_anon_arg", ";", "if", "(", "!", "no_rtl", ")", "{", "rtx", "regblock", "=", "gen_rtx_MEM", "(", "BLKmode", ",", "plus_constant", "(", "Pmode", ",", "arg_pointer_rtx", ",", "FIRST_PARM_OFFSET", "(", "0", ")", ")", ")", ";", "move_block_from_reg", "(", "first_reg_offset", ",", "regblock", ",", "MAX_ARC_PARM_REGS", "-", "first_reg_offset", ")", ";", "}", "*", "pretend_size", "=", "(", "(", "MAX_ARC_PARM_REGS", "-", "first_reg_offset", ")", "*", "UNITS_PER_WORD", ")", ";", "}", "}", ""], "natrual_language": ["Do", "any", "needed", "setup", "for", "a", "variadic", "function", ".", "For", "the", "ARC", ",", "we", "must", "create", "a", "register", "parameter", "block", ",", "and", "then", "copy", "any", "anonymous", "arguments", "in", "registers", "to", "memory", ".", "CUM", "has", "not", "been", "updated", "for", "the", "last", "named", "argument", "which", "has", "type", "TYPE", "and", "mode", "MODE", ",", "and", "we", "rely", "on", "this", "fact", "."], "TS_V_token": ["arc", "0"], "File": "arc5", "Func": "arc_setup_incoming_varargs", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2876, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SIRegisterInfo", "::", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "SISubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "SISubtarget", ">", "(", ")", ";", "const", "SIMachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "unsigned", "Occupancy", "=", "ST", ".", "getOccupancyWithLocalMemSize", "(", "MFI", "->", "getLDSSize", "(", ")", ",", "*", "MF", ".", "getFunction", "(", ")", ")", ";", "switch", "(", "RC", "->", "getID", "(", ")", ")", "{", "default", ":", "return", "AMDGPURegisterInfo", "::", "getRegPressureLimit", "(", "RC", ",", "MF", ")", ";", "case", "AMDGPU", "::", "VGPR_32RegClassID", ":", "return", "std", "::", "min", "(", "ST", ".", "getMaxNumVGPRs", "(", "Occupancy", ")", ",", "ST", ".", "getMaxNumVGPRs", "(", "MF", ")", ")", ";", "case", "AMDGPU", "::", "SGPR_32RegClassID", ":", "return", "std", "::", "min", "(", "ST", ".", "getMaxNumSGPRs", "(", "Occupancy", ",", "true", ")", ",", "ST", ".", "getMaxNumSGPRs", "(", "MF", ")", ")", ";", "}", "}", ""], "natrual_language": ["Return", "the", "register", "pressure", "``", "high", "water", "mark", "''", "for", "the", "specific", "register", "class", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "SI", "SI", "AMDGPU", "AMDGPU::VGPR_32RegClassID", "AMDGPU::SGPR_32RegClassID"], "File": "SIRegisterInfo11", "Func": "getRegPressureLimit", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2877, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_valid_attribute_p", "(", "tree", "fndecl", ",", "tree", "ARG_UNUSED", "(", "name", ")", ",", "tree", "args", ",", "int", "flags", ")", "{", "struct", "cl_target_option", "cur_target", ";", "bool", "ret", ";", "tree", "old_optimize", "=", "build_optimization_node", "(", "&", "global_options", ")", ";", "tree", "new_target", ",", "new_optimize", ";", "tree", "func_optimize", "=", "DECL_FUNCTION_SPECIFIC_OPTIMIZATION", "(", "fndecl", ")", ";", "gcc_assert", "(", "(", "fndecl", "!=", "NULL_TREE", ")", "&&", "(", "args", "!=", "NULL_TREE", ")", ")", ";", "if", "(", "TARGET_DEBUG_TARGET", ")", "{", "tree", "tname", "=", "DECL_NAME", "(", "fndecl", ")", ";", "fprintf", "(", "stderr", ",", "\"\\n==================== rs6000_valid_attribute_p:\\n\"", ")", ";", "if", "(", "tname", ")", "fprintf", "(", "stderr", ",", "\"function: %.*s\\n\"", ",", "(", "int", ")", "IDENTIFIER_LENGTH", "(", "tname", ")", ",", "IDENTIFIER_POINTER", "(", "tname", ")", ")", ";", "else", "fprintf", "(", "stderr", ",", "\"function: unknown\\n\"", ")", ";", "fprintf", "(", "stderr", ",", "\"args:\"", ")", ";", "rs6000_debug_target_options", "(", "args", ",", "\" \"", ")", ";", "fprintf", "(", "stderr", ",", "\"\\n\"", ")", ";", "if", "(", "flags", ")", "fprintf", "(", "stderr", ",", "\"flags: 0x%x\\n\"", ",", "flags", ")", ";", "fprintf", "(", "stderr", ",", "\"--------------------\\n\"", ")", ";", "}", "old_optimize", "=", "build_optimization_node", "(", "&", "global_options", ")", ";", "func_optimize", "=", "DECL_FUNCTION_SPECIFIC_OPTIMIZATION", "(", "fndecl", ")", ";", "if", "(", "func_optimize", "&&", "func_optimize", "!=", "old_optimize", ")", "cl_optimization_restore", "(", "&", "global_options", ",", "TREE_OPTIMIZATION", "(", "func_optimize", ")", ")", ";", "cl_target_option_save", "(", "&", "cur_target", ",", "&", "global_options", ")", ";", "rs6000_cpu_index", "=", "rs6000_tune_index", "=", "-", "1", ";", "ret", "=", "rs6000_inner_target_options", "(", "args", ",", "true", ")", ";", "if", "(", "ret", ")", "{", "ret", "=", "rs6000_option_override_internal", "(", "false", ")", ";", "new_target", "=", "build_target_option_node", "(", "&", "global_options", ")", ";", "}", "else", "new_target", "=", "NULL", ";", "new_optimize", "=", "build_optimization_node", "(", "&", "global_options", ")", ";", "if", "(", "!", "new_target", ")", "ret", "=", "false", ";", "else", "if", "(", "fndecl", ")", "{", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "fndecl", ")", "=", "new_target", ";", "if", "(", "old_optimize", "!=", "new_optimize", ")", "DECL_FUNCTION_SPECIFIC_OPTIMIZATION", "(", "fndecl", ")", "=", "new_optimize", ";", "}", "cl_target_option_restore", "(", "&", "global_options", ",", "&", "cur_target", ")", ";", "if", "(", "old_optimize", "!=", "new_optimize", ")", "cl_optimization_restore", "(", "&", "global_options", ",", "TREE_OPTIMIZATION", "(", "old_optimize", ")", ")", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Hook", "to", "validate", "attribute", "(", "(", "target", "(", "``", "...", "''", ")", ")", ")", "."], "TS_V_token": ["rs6000", "\"\\n==================== rs6000_valid_attribute_p:\\n\"", "\"function: %.*s\\n\"", "\"function: unknown\\n\"", "\"args:\"", "\" \"", "\"\\n\"", "\"flags: 0x%x\\n\"", "\"--------------------\\n\"", "1"], "File": "rs60004", "Func": "rs6000_valid_attribute_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2878, "Length": 317, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getAlignment", "(", ")", "const", "{", "return", "Alignment", ";", "}", ""], "natrual_language": ["getAlignment", "-", "Return", "the", "alignment", "of", "the", "function", "."], "TS_V_token": ["GBZ80"], "File": "GBZ80TargetObjectFile", "Func": "getAlignment", "Target": "GBZ80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2879, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "InstructionCost", ",", "MVT", ">", "SITargetLowering", "::", "getTypeLegalizationCost", "(", "const", "DataLayout", "&", "DL", ",", "Type", "*", "Ty", ")", "const", "{", "std", "::", "pair", "<", "InstructionCost", ",", "MVT", ">", "Cost", "=", "TargetLoweringBase", "::", "getTypeLegalizationCost", "(", "DL", ",", "Ty", ")", ";", "auto", "Size", "=", "DL", ".", "getTypeSizeInBits", "(", "Ty", ")", ";", "if", "(", "Size", "<=", "256", ")", "return", "Cost", ";", "Cost", ".", "first", "+=", "(", "Size", "+", "255", ")", "/", "256", ";", "return", "Cost", ";", "}", ""], "natrual_language": ["Estimate", "the", "cost", "of", "type-legalization", "and", "the", "legalized", "type", "."], "TS_V_token": ["AMDGPU", "SI", "256", "255", "256"], "File": "SIISelLowering10", "Func": "getTypeLegalizationCost", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2880, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Z80oldTargetLowering", "::", "AdjustInstrPostInstrSelection", "(", "MachineInstr", "&", "MI", ",", "SDNode", "*", "Node", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected instr type to insert\"", ")", ";", "case", "Z80old", "::", "ADJCALLSTACKUP16", ":", "case", "Z80old", "::", "ADJCALLSTACKDOWN16", ":", "return", "AdjustAdjCallStack", "(", "MI", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'hasPostISelHook", "'", "flag", "."], "TS_V_token": ["Z80old", "Z80old", "\"Unexpected instr type to insert\"", "Z80old::ADJCALLSTACKUP16", "Z80old::ADJCALLSTACKDOWN16"], "File": "Z80oldISelLowering", "Func": "AdjustInstrPostInstrSelection", "Target": "Z80old", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2881, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64TargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "SelectionDAG", "&", "DAG", "=", "DCI", ".", "DAG", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "ADD", ":", "case", "ISD", "::", "SUB", ":", "return", "performAddSubLongCombine", "(", "N", ",", "DCI", ",", "DAG", ")", ";", "case", "ISD", "::", "XOR", ":", "return", "performXorCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "MUL", ":", "return", "performMulCombine", "(", "N", ",", "DAG", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "SINT_TO_FP", ":", "case", "ISD", "::", "UINT_TO_FP", ":", "return", "performIntToFpCombine", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "case", "ISD", "::", "OR", ":", "return", "performORCombine", "(", "N", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "performIntrinsicCombine", "(", "N", ",", "DCI", ",", "Subtarget", ")", ";", "case", "ISD", "::", "ANY_EXTEND", ":", "case", "ISD", "::", "ZERO_EXTEND", ":", "case", "ISD", "::", "SIGN_EXTEND", ":", "return", "performExtendCombine", "(", "N", ",", "DCI", ",", "DAG", ")", ";", "case", "ISD", "::", "BITCAST", ":", "return", "performBitcastCombine", "(", "N", ",", "DCI", ",", "DAG", ")", ";", "case", "ISD", "::", "CONCAT_VECTORS", ":", "return", "performConcatVectorsCombine", "(", "N", ",", "DCI", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "performSelectCombine", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "VSELECT", ":", "return", "performVSelectCombine", "(", "N", ",", "DCI", ".", "DAG", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "performSelectCCCombine", "(", "N", ",", "DCI", ".", "DAG", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "performSTORECombine", "(", "N", ",", "DCI", ",", "DAG", ",", "Subtarget", ")", ";", "case", "AArch64ISD", "::", "BRCOND", ":", "return", "performBRCONDCombine", "(", "N", ",", "DCI", ",", "DAG", ")", ";", "case", "AArch64ISD", "::", "CSEL", ":", "return", "performCONDCombine", "(", "N", ",", "DCI", ",", "DAG", ",", "2", ",", "3", ")", ";", "case", "AArch64ISD", "::", "DUP", ":", "return", "performPostLD1Combine", "(", "N", ",", "DCI", ",", "false", ")", ";", "case", "ISD", "::", "INSERT_VECTOR_ELT", ":", "return", "performPostLD1Combine", "(", "N", ",", "DCI", ",", "true", ")", ";", "case", "ISD", "::", "INTRINSIC_VOID", ":", "case", "ISD", "::", "INTRINSIC_W_CHAIN", ":", "switch", "(", "cast", "<", "ConstantSDNode", ">", "(", "N", "->", "getOperand", "(", "1", ")", ")", "->", "getZExtValue", "(", ")", ")", "{", "case", "Intrinsic", "::", "aarch64_neon_ld2", ":", "case", "Intrinsic", "::", "aarch64_neon_ld3", ":", "case", "Intrinsic", "::", "aarch64_neon_ld4", ":", "case", "Intrinsic", "::", "aarch64_neon_ld1x2", ":", "case", "Intrinsic", "::", "aarch64_neon_ld1x3", ":", "case", "Intrinsic", "::", "aarch64_neon_ld1x4", ":", "case", "Intrinsic", "::", "aarch64_neon_ld2lane", ":", "case", "Intrinsic", "::", "aarch64_neon_ld3lane", ":", "case", "Intrinsic", "::", "aarch64_neon_ld4lane", ":", "case", "Intrinsic", "::", "aarch64_neon_ld2r", ":", "case", "Intrinsic", "::", "aarch64_neon_ld3r", ":", "case", "Intrinsic", "::", "aarch64_neon_ld4r", ":", "case", "Intrinsic", "::", "aarch64_neon_st2", ":", "case", "Intrinsic", "::", "aarch64_neon_st3", ":", "case", "Intrinsic", "::", "aarch64_neon_st4", ":", "case", "Intrinsic", "::", "aarch64_neon_st1x2", ":", "case", "Intrinsic", "::", "aarch64_neon_st1x3", ":", "case", "Intrinsic", "::", "aarch64_neon_st1x4", ":", "case", "Intrinsic", "::", "aarch64_neon_st2lane", ":", "case", "Intrinsic", "::", "aarch64_neon_st3lane", ":", "case", "Intrinsic", "::", "aarch64_neon_st4lane", ":", "return", "performNEONPostLDSTCombine", "(", "N", ",", "DCI", ",", "DAG", ")", ";", "default", ":", "break", ";", "}", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["This", "method", "will", "be", "invoked", "for", "all", "target", "nodes", "and", "for", "any", "target-independent", "nodes", "that", "the", "target", "has", "registered", "with", "invoke", "it", "for", "."], "TS_V_token": ["AArch64", "AArch64", "ISD::ADD", "ISD::SUB", "ISD::XOR", "ISD::MUL", "ISD::SINT_TO_FP", "ISD::UINT_TO_FP", "ISD::OR", "ISD::INTRINSIC_WO_CHAIN", "ISD::ANY_EXTEND", "ISD::ZERO_EXTEND", "ISD::SIGN_EXTEND", "ISD::BITCAST", "ISD::CONCAT_VECTORS", "ISD::SELECT", "ISD::VSELECT", "ISD::SELECT_CC", "ISD::STORE", "AArch64ISD::BRCOND", "AArch64ISD::CSEL", "2", "3", "AArch64ISD::DUP", "ISD::INSERT_VECTOR_ELT", "ISD::INTRINSIC_VOID", "ISD::INTRINSIC_W_CHAIN", "1", "Intrinsic::aarch64_neon_ld2", "Intrinsic::aarch64_neon_ld3", "Intrinsic::aarch64_neon_ld4", "Intrinsic::aarch64_neon_ld1x2", "Intrinsic::aarch64_neon_ld1x3", "Intrinsic::aarch64_neon_ld1x4", "Intrinsic::aarch64_neon_ld2lane", "Intrinsic::aarch64_neon_ld3lane", "Intrinsic::aarch64_neon_ld4lane", "Intrinsic::aarch64_neon_ld2r", "Intrinsic::aarch64_neon_ld3r", "Intrinsic::aarch64_neon_ld4r", "Intrinsic::aarch64_neon_st2", "Intrinsic::aarch64_neon_st3", "Intrinsic::aarch64_neon_st4", "Intrinsic::aarch64_neon_st1x2", "Intrinsic::aarch64_neon_st1x3", "Intrinsic::aarch64_neon_st1x4", "Intrinsic::aarch64_neon_st2lane", "Intrinsic::aarch64_neon_st3lane", "Intrinsic::aarch64_neon_st4lane"], "File": "AArch64ISelLowering116", "Func": "PerformDAGCombine", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2882, "Length": 476, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "nios2_return_in_memory", "(", "const_tree", "type", ",", "const_tree", "fntype", "ATTRIBUTE_UNUSED", ")", "{", "return", "(", "int_size_in_bytes", "(", "type", ")", ">", "(", "2", "*", "UNITS_PER_WORD", ")", "||", "int_size_in_bytes", "(", "type", ")", "==", "-", "1", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_RETURN_IN_MEMORY", "."], "TS_V_token": ["nios2", "2", "1"], "File": "nios2", "Func": "nios2_return_in_memory", "Target": "nios2", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2883, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "Initialize", "(", "MCContext", "&", "ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "TargetLoweringObjectFile", "::", "Initialize", "(", "ctx", ",", "TM", ")", ";", "TextSection", "=", "new", "Z80Section", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getText", "(", ")", ")", ";", "DataSection", "=", "new", "Z80Section", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getDataRel", "(", ")", ")", ";", "BSSSection", "=", "new", "Z80Section", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getBSS", "(", ")", ")", ";", "ReadOnlySection", "=", "new", "Z80Section", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getReadOnly", "(", ")", ")", ";", "StaticCtorSection", "=", "new", "Z80Section", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "StaticDtorSection", "=", "new", "Z80Section", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "LSDASection", "=", "new", "Z80Section", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "EHFrameSection", "=", "new", "Z80Section", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "DwarfAbbrevSection", "=", "new", "Z80Section", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "DwarfInfoSection", "=", "new", "Z80Section", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "DwarfLineSection", "=", "new", "Z80Section", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "DwarfFrameSection", "=", "new", "Z80Section", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "DwarfPubTypesSection", "=", "new", "Z80Section", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "DwarfDebugInlineSection", "=", "new", "Z80Section", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "DwarfStrSection", "=", "new", "Z80Section", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "DwarfLocSection", "=", "new", "Z80Section", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "DwarfARangesSection", "=", "new", "Z80Section", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "DwarfRangesSection", "=", "new", "Z80Section", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "DwarfMacroInfoSection", "=", "new", "Z80Section", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["Z80", "Z80", "Z80", "Z80", "Z80", "Z80", "Z80", "Z80", "Z80", "Z80", "Z80", "Z80", "Z80", "Z80", "Z80", "Z80", "Z80", "Z80", "Z80", "Z80"], "File": "Z80TargetObjectFile", "Func": "Initialize", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2884, "Length": 328, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "reg_class", "aarch64_regno_regclass", "(", "unsigned", "regno", ")", "{", "if", "(", "GP_REGNUM_P", "(", "regno", ")", ")", "return", "GENERAL_REGS", ";", "if", "(", "regno", "==", "SP_REGNUM", ")", "return", "STACK_REG", ";", "if", "(", "regno", "==", "FRAME_POINTER_REGNUM", "||", "regno", "==", "ARG_POINTER_REGNUM", ")", "return", "POINTER_REGS", ";", "if", "(", "FP_REGNUM_P", "(", "regno", ")", ")", "return", "FP_LO_REGNUM_P", "(", "regno", ")", "?", "FP_LO_REGS", ":", "FP_REGS", ";", "return", "NO_REGS", ";", "}", ""], "natrual_language": ["Implement", "REGNO_REG_CLASS", "."], "TS_V_token": ["aarch64"], "File": "aarch642", "Func": "aarch64_regno_regclass", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2885, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Cpu0MCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "uint32_t", "Binary", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "(", "Opcode", "!=", "Cpu0", "::", "NOP", ")", "&&", "(", "Opcode", "!=", "Cpu0", "::", "SHL", ")", "&&", "!", "Binary", ")", "llvm_unreachable", "(", "\"unimplemented opcode in encodeInstruction()\"", ")", ";", "const", "MCInstrDesc", "&", "Desc", "=", "MCII", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "uint64_t", "TSFlags", "=", "Desc", ".", "TSFlags", ";", "if", "(", "(", "TSFlags", "&", "Cpu0II", "::", "FormMask", ")", "==", "Cpu0II", "::", "Pseudo", ")", "llvm_unreachable", "(", "\"Pseudo opcode found in encodeInstruction()\"", ")", ";", "int", "Size", "=", "4", ";", "EmitInstruction", "(", "Binary", ",", "Size", ",", "OS", ")", ";", "}", ""], "natrual_language": ["Encode", "the", "given", "Inst", "to", "bytes", "and", "append", "to", "CB", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0::NOP", "Cpu0::SHL", "\"unimplemented opcode in encodeInstruction()\"", "Cpu0II::FormMask", "Cpu0II::Pseudo", "\"Pseudo opcode found in encodeInstruction()\"", "4"], "File": "Cpu0MCCodeEmitter", "Func": "encodeInstruction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2886, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64RedundantCopyElimination", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "*", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "ClobberedRegs", ".", "resize", "(", "TRI", "->", "getNumRegs", "(", ")", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "Changed", "|=", "optimizeCopy", "(", "&", "MBB", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64RedundantCopyElimination", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2887, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "mayBeEmittedAsTailCall", "(", "CallInst", "*", "CI", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "supportsTailCall", "(", ")", ")", "return", "false", ";", "if", "(", "!", "CI", "->", "isTailCall", "(", ")", "||", "getTargetMachine", "(", ")", ".", "Options", ".", "DisableTailCalls", ")", "return", "false", ";", "return", "!", "Subtarget", "->", "isThumb1Only", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "may", "be", "able", "emit", "the", "call", "instruction", "as", "a", "tail", "call", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMISelLowering (2)", "Func": "mayBeEmittedAsTailCall", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2888, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "ARMBaseRegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{", "const", "ARMSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "if", "(", "CC", "==", "CallingConv", "::", "GHC", ")", "return", "CSR_NoRegs_RegMask", ";", "if", "(", "STI", ".", "isTargetDarwin", "(", ")", "&&", "STI", ".", "getTargetLowering", "(", ")", "->", "supportSwiftError", "(", ")", "&&", "MF", ".", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ".", "hasAttrSomewhere", "(", "Attribute", "::", "SwiftError", ")", ")", "return", "CSR_iOS_SwiftError_RegMask", ";", "if", "(", "STI", ".", "isTargetDarwin", "(", ")", "&&", "CC", "==", "CallingConv", "::", "CXX_FAST_TLS", ")", "return", "CSR_iOS_CXX_TLS_RegMask", ";", "return", "STI", ".", "isTargetDarwin", "(", ")", "?", "CSR_iOS_RegMask", ":", "CSR_AAPCS_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM"], "File": "ARMBaseRegisterInfo10", "Func": "getCallPreservedMask", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2889, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "PredicateInstruction", "(", "MachineInstr", "*", "MI", ",", "const", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Pred", ")", "const", "{", "assert", "(", "Pred", ".", "size", "(", ")", "==", "2", "&&", "\"Invalid condition\"", ")", ";", "unsigned", "CCValid", "=", "Pred", "[", "0", "]", ".", "getImm", "(", ")", ";", "unsigned", "CCMask", "=", "Pred", "[", "1", "]", ".", "getImm", "(", ")", ";", "assert", "(", "CCMask", ">", "0", "&&", "CCMask", "<", "15", "&&", "\"Invalid predicate\"", ")", ";", "unsigned", "Opcode", "=", "MI", "->", "getOpcode", "(", ")", ";", "if", "(", "STI", ".", "hasLoadStoreOnCond", "(", ")", ")", "{", "if", "(", "unsigned", "CondOpcode", "=", "getConditionalMove", "(", "Opcode", ")", ")", "{", "MI", "->", "setDesc", "(", "get", "(", "CondOpcode", ")", ")", ";", "MachineInstrBuilder", "(", "*", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ",", "MI", ")", ".", "addImm", "(", "CCValid", ")", ".", "addImm", "(", "CCMask", ")", ".", "addReg", "(", "SystemZ", "::", "CC", ",", "RegState", "::", "Implicit", ")", ";", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Convert", "the", "instruction", "into", "a", "predicated", "instruction", "."], "TS_V_token": ["SystemZ", "SystemZ", "2", "\"Invalid condition\"", "0", "1", "0", "15", "\"Invalid predicate\"", "SystemZ::CC"], "File": "SystemZInstrInfo14", "Func": "PredicateInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2890, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mmix_eh_return_data_regno", "(", "int", "n", ")", "{", "if", "(", "n", ">=", "0", "&&", "n", "<", "4", ")", "return", "MMIX_EH_RETURN_DATA_REGNO_START", "+", "n", ";", "return", "INVALID_REGNUM", ";", "}", ""], "natrual_language": ["EH_RETURN_DATA_REGNO", "."], "TS_V_token": ["mmix", "0", "4"], "File": "mmix", "Func": "mmix_eh_return_data_regno", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2891, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_debug_legitimate_address_p", "(", "machine_mode", "mode", ",", "rtx", "x", ",", "bool", "reg_ok_strict", ")", "{", "bool", "ret", "=", "rs6000_legitimate_address_p", "(", "mode", ",", "x", ",", "reg_ok_strict", ")", ";", "fprintf", "(", "stderr", ",", "\"\\nrs6000_legitimate_address_p: return = %s, mode = %s, \"", "\"strict = %d, reload = %s, code = %s\\n\"", ",", "ret", "?", "\"true\"", ":", "\"false\"", ",", "GET_MODE_NAME", "(", "mode", ")", ",", "reg_ok_strict", ",", "(", "reload_completed", "?", "\"after\"", ":", "(", "reload_in_progress", "?", "\"progress\"", ":", "\"before\"", ")", ")", ",", "GET_RTX_NAME", "(", "GET_CODE", "(", "x", ")", ")", ")", ";", "debug_rtx", "(", "x", ")", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Debug", "version", "of", "rs6000_legitimate_address_p", "."], "TS_V_token": ["rs6000", "\"\\nrs6000_legitimate_address_p: return = %s, mode = %s, \"", "\"strict = %d, reload = %s, code = %s\\n\"", "\"true\"", "\"false\"", "\"after\"", "\"progress\"", "\"before\""], "File": "rs60004", "Func": "rs6000_debug_legitimate_address_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2892, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "WebAssemblyTargetAsmStreamer", "::", "emitTagType", "(", "const", "MCSymbolWasm", "*", "Sym", ")", "{", "assert", "(", "Sym", "->", "isTag", "(", ")", ")", ";", "OS", "<<", "\"\\t.tagtype\\t\"", "<<", "Sym", "->", "getName", "(", ")", "<<", "\" \"", ";", "OS", "<<", "WebAssembly", "::", "typeListToString", "(", "Sym", "->", "getSignature", "(", ")", "->", "Params", ")", ";", "OS", "<<", "\"\\n\"", ";", "}", ""], "natrual_language": [".tagtype"], "TS_V_token": ["WebAssembly", "WebAssembly", "\"\\t.tagtype\\t\"", "\" \"", "WebAssembly::typeListToString", "\"\\n\""], "File": "WebAssemblyTargetStreamer12", "Func": "emitTagType", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2893, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_destroy_cost_data", "(", "void", "*", "data", ")", "{", "delete", "static_cast", "<", "aarch64_vector_costs", "*", ">", "(", "data", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_VECTORIZE_DESTROY_COST_DATA", "."], "TS_V_token": ["aarch64"], "File": "aarch641", "Func": "aarch64_destroy_cost_data", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2894, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "output_reg_adjust", "(", "rtx", "reg", ",", "int", "n", ")", "{", "const", "char", "*", "s", ";", "gcc_assert", "(", "GET_MODE", "(", "reg", ")", "==", "SImode", "&&", "-", "12", "<=", "n", "&&", "n", "!=", "0", "&&", "n", "<=", "12", ")", ";", "switch", "(", "n", ")", "{", "case", "12", ":", "s", "=", "\"add%.l #12,%0\"", ";", "break", ";", "case", "8", ":", "s", "=", "\"addq%.l #8,%0\"", ";", "break", ";", "case", "4", ":", "s", "=", "\"addq%.l #4,%0\"", ";", "break", ";", "case", "-", "12", ":", "s", "=", "\"sub%.l #12,%0\"", ";", "break", ";", "case", "-", "8", ":", "s", "=", "\"subq%.l #8,%0\"", ";", "break", ";", "case", "-", "4", ":", "s", "=", "\"subq%.l #4,%0\"", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "s", "=", "NULL", ";", "}", "output_asm_insn", "(", "s", ",", "&", "reg", ")", ";", "}", ""], "natrual_language": ["Output", "assembler", "code", "to", "adjust", "REG", "by", "N", "."], "TS_V_token": ["m68k", "12", "0", "12", "12", "\"add%.l #12,%0\"", "8", "\"addq%.l #8,%0\"", "4", "\"addq%.l #4,%0\"", "12", "\"sub%.l #12,%0\"", "8", "\"subq%.l #8,%0\"", "4", "\"subq%.l #4,%0\""], "File": "m68k4", "Func": "output_reg_adjust", "Target": "m68k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2895, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "function_expander", "::", "add_input_operand", "(", "insn_code", "icode", ",", "rtx", "x", ")", "{", "unsigned", "int", "opno", "=", "m_ops", ".", "length", "(", ")", ";", "const", "insn_operand_data", "&", "operand", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "opno", "]", ";", "machine_mode", "mode", "=", "operand", ".", "mode", ";", "if", "(", "mode", "==", "VOIDmode", ")", "{", "gcc_assert", "(", "operand", ".", "predicate", "==", "aarch64_any_register_operand", ")", ";", "mode", "=", "GET_MODE", "(", "x", ")", ";", "}", "else", "if", "(", "!", "VECTOR_MODE_P", "(", "GET_MODE", "(", "x", ")", ")", "&&", "VECTOR_MODE_P", "(", "mode", ")", ")", "x", "=", "expand_vector_broadcast", "(", "mode", ",", "x", ")", ";", "else", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_BOOL", ")", "{", "gcc_assert", "(", "GET_MODE", "(", "x", ")", "==", "VNx16BImode", ")", ";", "x", "=", "gen_lowpart", "(", "mode", ",", "x", ")", ";", "}", "m_ops", ".", "safe_grow", "(", "m_ops", ".", "length", "(", ")", "+", "1", ")", ";", "create_input_operand", "(", "&", "m_ops", ".", "last", "(", ")", ",", "x", ",", "mode", ")", ";", "}", ""], "natrual_language": ["Create", "op", "and", "add", "it", "into", "M_OPS", "and", "increase", "OPNO", "."], "TS_V_token": ["aarch64", "1"], "File": "aarch64-sve-builtins", "Func": "add_input_operand", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2896, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "TGSITargetLowering", "::", "CreateLiveInRegister", "(", "SelectionDAG", "&", "DAG", ",", "const", "TargetRegisterClass", "*", "RC", ",", "unsigned", "Reg", ",", "EVT", "VT", ")", "const", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "unsigned", "VirtualRegister", ";", "if", "(", "!", "MRI", ".", "isLiveIn", "(", "Reg", ")", ")", "{", "VirtualRegister", "=", "MRI", ".", "createVirtualRegister", "(", "RC", ")", ";", "MRI", ".", "addLiveIn", "(", "Reg", ",", "VirtualRegister", ")", ";", "}", "else", "{", "VirtualRegister", "=", "MRI", ".", "getLiveInVirtReg", "(", "Reg", ")", ";", "}", "return", "DAG", ".", "getRegister", "(", "VirtualRegister", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Helper", "function", "that", "adds", "Reg", "to", "the", "LiveIn", "list", "of", "the", "DAG", "'s", "MachineFunction", "."], "TS_V_token": ["TGSI", "TGSI"], "File": "TGSIISelLowering", "Func": "CreateLiveInRegister", "Target": "TGSI", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2897, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "ConstraintWeight", "SPUTargetLowering", "::", "getSingleConstraintMatchWeight", "(", "AsmOperandInfo", "&", "info", ",", "const", "char", "*", "constraint", ")", "const", "{", "ConstraintWeight", "weight", "=", "CW_Invalid", ";", "Value", "*", "CallOperandVal", "=", "info", ".", "CallOperandVal", ";", "if", "(", "CallOperandVal", "==", "NULL", ")", "return", "CW_Default", ";", "switch", "(", "*", "constraint", ")", "{", "default", ":", "weight", "=", "TargetLowering", "::", "getSingleConstraintMatchWeight", "(", "info", ",", "constraint", ")", ";", "break", ";", "case", "'b'", ":", "case", "'r'", ":", "case", "'f'", ":", "case", "'d'", ":", "case", "'v'", ":", "case", "'y'", ":", "weight", "=", "CW_Register", ";", "break", ";", "}", "return", "weight", ";", "}", ""], "natrual_language": ["Examine", "constraint", "string", "and", "operand", "type", "and", "determine", "a", "weight", "value", "."], "TS_V_token": ["CellSPU", "SPU"], "File": "SPUISelLowering11", "Func": "getSingleConstraintMatchWeight", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2898, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUSymbolizer", "::", "tryAddingSymbolicOperand", "(", "MCInst", "&", "Inst", ",", "raw_ostream", "&", ",", "int64_t", "Value", ",", "uint64_t", ",", "bool", "IsBranch", ",", "uint64_t", ",", "uint64_t", ")", "{", "if", "(", "!", "IsBranch", ")", "{", "return", "false", ";", "}", "auto", "*", "Symbols", "=", "static_cast", "<", "SectionSymbolsTy", "*", ">", "(", "DisInfo", ")", ";", "if", "(", "!", "Symbols", ")", "return", "false", ";", "auto", "Result", "=", "llvm", "::", "find_if", "(", "*", "Symbols", ",", "[", "Value", "]", "(", "const", "SymbolInfoTy", "&", "Val", ")", "{", "return", "Val", ".", "Addr", "==", "static_cast", "<", "uint64_t", ">", "(", "Value", ")", "&&", "Val", ".", "Type", "==", "ELF", "::", "STT_NOTYPE", ";", "}", ")", ";", "if", "(", "Result", "!=", "Symbols", "->", "end", "(", ")", ")", "{", "auto", "*", "Sym", "=", "Ctx", ".", "getOrCreateSymbol", "(", "Result", "->", "Name", ")", ";", "const", "auto", "*", "Add", "=", "MCSymbolRefExpr", "::", "create", "(", "Sym", ",", "Ctx", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createExpr", "(", "Add", ")", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Try", "to", "add", "a", "symbolic", "operand", "instead", "of", "Value", "to", "the", "MCInst", "."], "TS_V_token": ["AMDGPU", "AMDGPU"], "File": "AMDGPUDisassembler46", "Func": "tryAddingSymbolicOperand", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2899, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ",", "MCStreamer", "&", "Out", ")", "{", "MCInst", "Inst", ";", "unsigned", "ErrorInfo", ";", "unsigned", "MatchResult", ";", "MatchResult", "=", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ")", ";", "switch", "(", "MatchResult", ")", "{", "default", ":", "break", ";", "case", "Match_Success", ":", "if", "(", "validateInstruction", "(", "Inst", ",", "Operands", ")", ")", "{", "forwardITPosition", "(", ")", ";", "return", "true", ";", "}", "while", "(", "processInstruction", "(", "Inst", ",", "Operands", ")", ")", ";", "forwardITPosition", "(", ")", ";", "if", "(", "Inst", ".", "getOpcode", "(", ")", "==", "ARM", "::", "ITasm", ")", "return", "false", ";", "Inst", ".", "setLoc", "(", "IDLoc", ")", ";", "Out", ".", "EmitInstruction", "(", "Inst", ")", ";", "return", "false", ";", "case", "Match_MissingFeature", ":", "Error", "(", "IDLoc", ",", "\"instruction requires a CPU feature not currently enabled\"", ")", ";", "return", "true", ";", "case", "Match_InvalidOperand", ":", "{", "SMLoc", "ErrorLoc", "=", "IDLoc", ";", "if", "(", "ErrorInfo", "!=", "~", "0U", ")", "{", "if", "(", "ErrorInfo", ">=", "Operands", ".", "size", "(", ")", ")", "return", "Error", "(", "IDLoc", ",", "\"too few operands for instruction\"", ")", ";", "ErrorLoc", "=", "(", "(", "ARMOperand", "*", ")", "Operands", "[", "ErrorInfo", "]", ")", "->", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IDLoc", ";", "}", "return", "Error", "(", "ErrorLoc", ",", "\"invalid operand for instruction\"", ")", ";", "}", "case", "Match_MnemonicFail", ":", "return", "Error", "(", "IDLoc", ",", "\"invalid instruction\"", ",", "(", "(", "ARMOperand", "*", ")", "Operands", "[", "0", "]", ")", "->", "getLocRange", "(", ")", ")", ";", "case", "Match_ConversionFail", ":", "return", "true", ";", "case", "Match_RequiresNotITBlock", ":", "return", "Error", "(", "IDLoc", ",", "\"flag setting instruction only valid outside IT block\"", ")", ";", "case", "Match_RequiresITBlock", ":", "return", "Error", "(", "IDLoc", ",", "\"instruction only valid inside IT block\"", ")", ";", "case", "Match_RequiresV6", ":", "return", "Error", "(", "IDLoc", ",", "\"instruction variant requires ARMv6 or later\"", ")", ";", "case", "Match_RequiresThumb2", ":", "return", "Error", "(", "IDLoc", ",", "\"instruction variant requires Thumb2\"", ")", ";", "}", "llvm_unreachable", "(", "\"Implement any new match types added!\"", ")", ";", "}", ""], "natrual_language": ["MatchAndEmitInstruction", "-", "Recognize", "a", "series", "of", "operands", "of", "a", "parsed", "instruction", "as", "an", "actual", "MCInst", "and", "emit", "it", "to", "the", "specified", "MCStreamer", "."], "TS_V_token": ["ARM", "ARM", "ARM::ITasm", "\"instruction requires a CPU feature not currently enabled\"", "0U", "\"too few operands for instruction\"", "ARM", "\"invalid operand for instruction\"", "\"invalid instruction\"", "ARM", "0", "\"flag setting instruction only valid outside IT block\"", "\"instruction only valid inside IT block\"", "\"instruction variant requires ARMv6 or later\"", "\"instruction variant requires Thumb2\"", "\"Implement any new match types added!\""], "File": "ARMAsmParser86", "Func": "MatchAndEmitInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2900, "Length": 287, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "strict_low_part_peephole_ok", "(", "enum", "machine_mode", "mode", ",", "rtx", "first_insn", ",", "rtx", "target", ")", "{", "rtx", "p", ";", "p", "=", "prev_nonnote_insn", "(", "first_insn", ")", ";", "while", "(", "p", ")", "{", "if", "(", "GET_CODE", "(", "p", ")", "!=", "INSN", ")", "return", "false", ";", "if", "(", "reg_set_p", "(", "target", ",", "p", ")", ")", "{", "rtx", "set", "=", "single_set", "(", "p", ")", ";", "rtx", "dest", ";", "if", "(", "!", "set", ")", "return", "false", ";", "dest", "=", "SET_DEST", "(", "set", ")", ";", "if", "(", "rtx_equal_p", "(", "dest", ",", "target", ")", "&&", "SET_SRC", "(", "set", ")", "==", "const0_rtx", ")", "return", "true", ";", "else", "if", "(", "GET_CODE", "(", "dest", ")", "==", "STRICT_LOW_PART", "&&", "GET_CODE", "(", "XEXP", "(", "dest", ",", "0", ")", ")", "==", "REG", "&&", "REGNO", "(", "XEXP", "(", "dest", ",", "0", ")", ")", "==", "REGNO", "(", "target", ")", "&&", "(", "GET_MODE_SIZE", "(", "GET_MODE", "(", "XEXP", "(", "dest", ",", "0", ")", ")", ")", "<=", "GET_MODE_SIZE", "(", "mode", ")", ")", ")", ";", "else", "return", "false", ";", "}", "p", "=", "prev_nonnote_insn", "(", "p", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Check", "for", "cases", "where", "a", "clr", "insns", "can", "be", "omitted", "from", "code", "using", "strict_low_part", "sets", ".", "For", "example", ",", "the", "second", "clrl", "here", "is", "not", "needed", ":", "clrl", "d0", ";", "movw", "a0", "@", "+", ",", "d0", ";", "use", "d0", ";", "clrl", "d0", ";", "movw", "a0", "@", "+", ";", "use", "d0", ";", "...", "MODE", "is", "the", "mode", "of", "this", "STRICT_LOW_PART", "set", ".", "FIRST_INSN", "is", "the", "clear", "insn", "we", "are", "checking", "for", "redundancy", ".", "TARGET", "is", "the", "register", "set", "by", "the", "clear", "insn", "."], "TS_V_token": ["m68k", "0", "0", "0"], "File": "m68k3", "Func": "strict_low_part_peephole_ok", "Target": "m68k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2901, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rl78_hi8", "(", "rtx", "addr", ")", "{", "if", "(", "GET_CODE", "(", "addr", ")", "==", "SYMBOL_REF", "||", "GET_CODE", "(", "addr", ")", "==", "CONST", ")", "{", "rtx", "r", "=", "gen_rtx_ZERO_EXTRACT", "(", "QImode", ",", "addr", ",", "GEN_INT", "(", "8", ")", ",", "GEN_INT", "(", "16", ")", ")", ";", "r", "=", "gen_rtx_CONST", "(", "QImode", ",", "r", ")", ";", "return", "r", ";", "}", "return", "rl78_subreg", "(", "QImode", ",", "addr", ",", "SImode", ",", "2", ")", ";", "}", ""], "natrual_language": ["Return", "a", "suitable", "RTX", "for", "the", "high", "half", "'s", "lower", "byte", "of", "a", "__far", "address", "."], "TS_V_token": ["rl78", "8", "16", "2"], "File": "rl78", "Func": "rl78_hi8", "Target": "rl78", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2902, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "HexagonTTIImpl", "::", "getScalarizationOverhead", "(", "Type", "*", "Ty", ",", "bool", "Insert", ",", "bool", "Extract", ")", "{", "return", "BaseT", "::", "getScalarizationOverhead", "(", "Ty", ",", "Insert", ",", "Extract", ")", ";", "}", ""], "natrual_language": ["Estimate", "the", "overhead", "of", "scalarizing", "an", "instruction", "."], "TS_V_token": ["Hexagon", "Hexagon"], "File": "HexagonTargetTransformInfo11", "Func": "getScalarizationOverhead", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2903, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "PPCRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCTargetMachine22", "Func": "getRegisterInfo", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2904, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "MipsTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "BB", ",", "DenseMap", "<", "MachineBasicBlock", "*", ",", "MachineBasicBlock", "*", ">", "*", "EM", ")", "const", "{", "const", "TargetInstrInfo", "*", "TII", "=", "getTargetMachine", "(", ")", ".", "getInstrInfo", "(", ")", ";", "bool", "isFPCmp", "=", "false", ";", "DebugLoc", "dl", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "assert", "(", "false", "&&", "\"Unexpected instr type to insert\"", ")", ";", "case", "Mips", "::", "Select_FCC", ":", "case", "Mips", "::", "Select_FCC_S32", ":", "case", "Mips", "::", "Select_FCC_D32", ":", "isFPCmp", "=", "true", ";", "case", "Mips", "::", "Select_CC", ":", "case", "Mips", "::", "Select_CC_S32", ":", "case", "Mips", "::", "Select_CC_D32", ":", "{", "const", "BasicBlock", "*", "LLVM_BB", "=", "BB", "->", "getBasicBlock", "(", ")", ";", "MachineFunction", "::", "iterator", "It", "=", "BB", ";", "++", "It", ";", "MachineBasicBlock", "*", "thisMBB", "=", "BB", ";", "MachineFunction", "*", "F", "=", "BB", "->", "getParent", "(", ")", ";", "MachineBasicBlock", "*", "copy0MBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineBasicBlock", "*", "sinkMBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "if", "(", "isFPCmp", ")", "{", "Mips", "::", "CondCode", "CC", "=", "(", "Mips", "::", "CondCode", ")", "MI", "->", "getOperand", "(", "4", ")", ".", "getImm", "(", ")", ";", "unsigned", "Opc", "=", "FPBranchCodeToOpc", "(", "GetFPBranchCodeFromCond", "(", "CC", ")", ")", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", "->", "get", "(", "Opc", ")", ")", ".", "addMBB", "(", "sinkMBB", ")", ";", "}", "else", "BuildMI", "(", "BB", ",", "dl", ",", "TII", "->", "get", "(", "Mips", "::", "BNE", ")", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ".", "addReg", "(", "Mips", "::", "ZERO", ")", ".", "addMBB", "(", "sinkMBB", ")", ";", "F", "->", "insert", "(", "It", ",", "copy0MBB", ")", ";", "F", "->", "insert", "(", "It", ",", "sinkMBB", ")", ";", "for", "(", "MachineBasicBlock", "::", "succ_iterator", "i", "=", "BB", "->", "succ_begin", "(", ")", ",", "e", "=", "BB", "->", "succ_end", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "EM", "->", "insert", "(", "std", "::", "make_pair", "(", "*", "i", ",", "sinkMBB", ")", ")", ";", "sinkMBB", "->", "addSuccessor", "(", "*", "i", ")", ";", "}", "while", "(", "!", "BB", "->", "succ_empty", "(", ")", ")", "BB", "->", "removeSuccessor", "(", "BB", "->", "succ_begin", "(", ")", ")", ";", "BB", "->", "addSuccessor", "(", "copy0MBB", ")", ";", "BB", "->", "addSuccessor", "(", "sinkMBB", ")", ";", "BB", "=", "copy0MBB", ";", "BB", "->", "addSuccessor", "(", "sinkMBB", ")", ";", "BB", "=", "sinkMBB", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", "->", "get", "(", "Mips", "::", "PHI", ")", ",", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "copy0MBB", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "thisMBB", ")", ";", "F", "->", "DeleteMachineInstr", "(", "MI", ")", ";", "return", "BB", ";", "}", "}", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "."], "TS_V_token": ["Mips", "Mips", "\"Unexpected instr type to insert\"", "Mips::Select_FCC", "Mips::Select_FCC_S32", "Mips::Select_FCC_D32", "Mips::Select_CC", "Mips::Select_CC_S32", "Mips::Select_CC_D32", "Mips::CondCode", "Mips::CondCode", "4", "Mips::BNE", "1", "Mips::ZERO", "Mips::PHI", "0", "2", "3"], "File": "MipsISelLowering115", "Func": "EmitInstrWithCustomInserter", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2905, "Length": 464, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetLowering", "::", "finalizeLowering", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MF", ".", "getFrameInfo", "(", ")", ".", "computeMaxCallFrameSize", "(", "MF", ")", ";", "TargetLoweringBase", "::", "finalizeLowering", "(", "MF", ")", ";", "}", ""], "natrual_language": ["Execute", "target", "specific", "actions", "to", "finalize", "target", "lowering", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMISelLowering (2)5", "Func": "finalizeLowering", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2906, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "get_jump_target", "(", "rtx", "branch", ")", "{", "if", "(", "CALL_P", "(", "branch", ")", ")", "{", "rtx", "call", ";", "call", "=", "PATTERN", "(", "branch", ")", ";", "if", "(", "GET_CODE", "(", "call", ")", "==", "PARALLEL", ")", "call", "=", "XVECEXP", "(", "call", ",", "0", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "call", ")", "==", "SET", ")", "call", "=", "SET_SRC", "(", "call", ")", ";", "if", "(", "GET_CODE", "(", "call", ")", "==", "CALL", ")", "return", "XEXP", "(", "XEXP", "(", "call", ",", "0", ")", ",", "0", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "the", "rtx", "for", "the", "jump", "target", "."], "TS_V_token": ["tilegx", "0", "0", "0", "0", "0"], "File": "tilegx", "Func": "get_jump_target", "Target": "tilegx", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 2907, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "Cpu0RegisterInfo", "&", "Cpu0InstrInfo", "::", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0"], "File": "Cpu0InstrInfo1", "Func": "getRegisterInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2908, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "hasHighOperandLatency", "(", "const", "TargetSchedModel", "&", "SchedModel", ",", "const", "MachineRegisterInfo", "*", "MRI", ",", "const", "MachineInstr", "*", "DefMI", ",", "unsigned", "DefIdx", ",", "const", "MachineInstr", "*", "UseMI", ",", "unsigned", "UseIdx", ")", "const", "{", "return", "isHighLatencyDef", "(", "DefMI", "->", "getOpcode", "(", ")", ")", ";", "}", ""], "natrual_language": ["Compute", "operand", "latency", "between", "a", "def", "of", "'Reg", "'", "and", "a", "use", "in", "the", "current", "loop", "."], "TS_V_token": ["X86", "X86"], "File": "X86InstrInfo (2)2", "Func": "hasHighOperandLatency", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2909, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["TMS320C64X"], "File": "TMS320C64XClusterAssignment", "Func": "getAnalysisUsage", "Target": "TMS320C64X", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 2910, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "OptimizeLEAPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "bool", "Changed", "=", "false", ";", "if", "(", "DisableX86LEAOpt", "||", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "TII", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "MemOpMap", "LEAs", ";", "InstrPos", ".", "clear", "(", ")", ";", "findLEAs", "(", "MBB", ",", "LEAs", ")", ";", "if", "(", "LEAs", ".", "empty", "(", ")", ")", "continue", ";", "Changed", "|=", "removeRedundantLEAs", "(", "LEAs", ")", ";", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "optForSize", "(", ")", ")", "Changed", "|=", "removeRedundantAddrCalc", "(", "LEAs", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86OptimizeLEAs", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2911, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "addExpr", "(", "MCInst", "&", "Inst", ",", "const", "MCExpr", "*", "Expr", ")", "const", "{", "if", "(", "!", "Expr", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "0", ")", ")", ";", "else", "if", "(", "auto", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Expr", ")", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "CE", "->", "getValue", "(", ")", ")", ")", ";", "else", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createExpr", "(", "Expr", ")", ")", ";", "}", ""], "natrual_language": ["Add", "a", "new", "MCExpr", "operand", "."], "TS_V_token": ["SystemZ", "0"], "File": "SystemZAsmParser (2)", "Func": "addExpr", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2912, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ")", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_PPC", ")", ";", "if", "(", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "liveout_empty", "(", ")", ")", "{", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "addLiveOut", "(", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ")", ";", "}", "SDValue", "Flag", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Can only return in registers!\"", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "Outs", "[", "i", "]", ".", "Val", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "}", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "return", "DAG", ".", "getNode", "(", "PPCISD", "::", "RET_FLAG", ",", "dl", ",", "MVT", "::", "Other", ",", "Chain", ",", "Flag", ")", ";", "else", "return", "DAG", ".", "getNode", "(", "PPCISD", "::", "RET_FLAG", ",", "dl", ",", "MVT", "::", "Other", ",", "Chain", ")", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "outgoing", "return", "values", ",", "described", "by", "the", "Outs", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["PowerPC", "PPC", "ISD::OutputArg", "16", "PPC", "0", "0", "\"Can only return in registers!\"", "1", "PPCISD::RET_FLAG", "MVT::Other", "PPCISD::RET_FLAG", "MVT::Other"], "File": "PPCISelLowering107", "Func": "LowerReturn", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2913, "Length": 256, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "h8300_can_use_return_insn_p", "(", "void", ")", "{", "return", "(", "reload_completed", "&&", "!", "frame_pointer_needed", "&&", "get_frame_size", "(", ")", "==", "0", "&&", "compute_saved_regs", "(", ")", "==", "0", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "we", "can", "use", "``", "rts", "''", "for", "the", "function", "currently", "being", "compiled", "."], "TS_V_token": ["h8300", "0", "0"], "File": "h8300", "Func": "h8300_can_use_return_insn_p", "Target": "h8300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2914, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86RegisterInfo", "::", "canRealignStack", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "(", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "RealignStack", "&&", "!", "MFI", "->", "hasVarSizedObjects", "(", ")", ")", ";", "}", ""], "natrual_language": ["True", "if", "the", "stack", "can", "be", "realigned", "for", "the", "target", "."], "TS_V_token": ["X86", "X86"], "File": "X86RegisterInfo36", "Func": "canRealignStack", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2915, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "shouldConvertConstantLoadToIntImm", "(", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "const", "{", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "unsigned", "BitSize", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "BitSize", "==", "0", ")", "return", "false", ";", "int64_t", "Val", "=", "Imm", ".", "getSExtValue", "(", ")", ";", "if", "(", "Val", "==", "0", "||", "AArch64_AM", "::", "isLogicalImmediate", "(", "Val", ",", "BitSize", ")", ")", "return", "true", ";", "if", "(", "(", "int64_t", ")", "Val", "<", "0", ")", "Val", "=", "~", "Val", ";", "if", "(", "BitSize", "==", "32", ")", "Val", "&=", "(", "1LL", "<<", "32", ")", "-", "1", ";", "unsigned", "LZ", "=", "countLeadingZeros", "(", "(", "uint64_t", ")", "Val", ")", ";", "unsigned", "Shift", "=", "(", "63", "-", "LZ", ")", "/", "16", ";", "return", "Shift", "<", "3", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "it", "is", "beneficial", "to", "convert", "a", "load", "of", "a", "constant", "to", "just", "the", "constant", "itself", "."], "TS_V_token": ["AArch64", "AArch64", "0", "0", "AArch64_AM::isLogicalImmediate", "0", "32", "1LL", "32", "1", "63", "16", "3"], "File": "AArch64ISelLowering (2)", "Func": "shouldConvertConstantLoadToIntImm", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2916, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PIC16AsmPrinter", "::", "doFinalization", "(", "Module", "&", "M", ")", "{", "O", "<<", "\"\\t\"", "<<", "\"END\\n\"", ";", "bool", "Result", "=", "AsmPrinter", "::", "doFinalization", "(", "M", ")", ";", "return", "Result", ";", "}", ""], "natrual_language": ["doFinalization", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "any", "necessary", "clean", "up", "after", "all", "passes", "have", "run", "."], "TS_V_token": ["PIC16", "PIC16", "\"\\t\"", "\"END\\n\""], "File": "PIC16AsmPrinter4", "Func": "doFinalization", "Target": "PIC16", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2917, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "address_is_prefixed", "(", "rtx", "addr", ",", "machine_mode", "mode", ",", "enum", "non_prefixed_form", "non_prefixed", ")", "{", "enum", "insn_form", "iform", "=", "address_to_insn_form", "(", "addr", ",", "mode", ",", "non_prefixed", ")", ";", "return", "(", "iform", "==", "INSN_FORM_PREFIXED_NUMERIC", "||", "iform", "==", "INSN_FORM_PCREL_LOCAL", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "address", "can", "be", "used", "for", "a", "prefixed", "load", ",", "store", ",", "or", "add", "immediate", "instructions", "that", "can", "not", "be", "used", "with", "a", "non-prefixed", "instruction", ".", "For", "example", ",", "using", "a", "numeric", "offset", "that", "is", "not", "valid", "for", "the", "non-prefixed", "instruction", "or", "a", "PC-relative", "reference", "to", "a", "local", "symbol", "would", "return", "true", ",", "but", "an", "address", "with", "an", "offset", "of", "64", "would", "not", "return", "true", ".", "References", "to", "external", "PC-relative", "symbols", "are", "n't", "allowed", ",", "because", "GCC", "has", "to", "load", "the", "address", "into", "a", "register", "and", "then", "issue", "a", "separate", "load", "or", "store", "."], "TS_V_token": ["rs6000"], "File": "rs6000-protos", "Func": "address_is_prefixed", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2918, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64LegalizerInfo", "::", "legalizeCustom", "(", "MachineInstr", "&", "MI", ",", "MachineRegisterInfo", "&", "MRI", ",", "MachineIRBuilder", "&", "MIRBuilder", ",", "GISelChangeObserver", "&", "Observer", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "TargetOpcode", "::", "G_VAARG", ":", "return", "legalizeVaArg", "(", "MI", ",", "MRI", ",", "MIRBuilder", ")", ";", "}", "llvm_unreachable", "(", "\"expected switch to return\"", ")", ";", "}", ""], "natrual_language": ["Called", "for", "instructions", "with", "the", "Custom", "LegalizationAction", "."], "TS_V_token": ["AArch64", "AArch64", "\"expected switch to return\""], "File": "AArch64LegalizerInfo", "Func": "legalizeCustom", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2919, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_save_reg_p", "(", "unsigned", "int", "regno", ")", "{", "bool", "call_saved", "=", "!", "global_regs", "[", "regno", "]", "&&", "!", "call_used_regs", "[", "regno", "]", ";", "bool", "might_clobber", "=", "crtl", "->", "saves_all_registers", "||", "df_regs_ever_live_p", "(", "regno", ")", ";", "if", "(", "call_saved", "&&", "might_clobber", ")", "return", "true", ";", "if", "(", "regno", "==", "HARD_FRAME_POINTER_REGNUM", "&&", "frame_pointer_needed", ")", "return", "true", ";", "if", "(", "regno", "==", "RETURN_ADDR_REGNUM", "&&", "crtl", "->", "calls_eh_return", ")", "return", "true", ";", "if", "(", "cfun", "->", "machine", "->", "interrupt_handler_p", ")", "{", "if", "(", "regno", "==", "GP_REG_FIRST", ")", "return", "false", ";", "if", "(", "regno", "==", "STACK_POINTER_REGNUM", ")", "return", "false", ";", "if", "(", "regno", "==", "GP_REGNUM", "||", "regno", "==", "THREAD_POINTER_REGNUM", ")", "return", "false", ";", "if", "(", "df_regs_ever_live_p", "(", "regno", ")", "||", "(", "!", "crtl", "->", "is_leaf", "&&", "call_used_regs", "[", "regno", "]", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "current", "function", "must", "save", "register", "REGNO", "."], "TS_V_token": ["riscv"], "File": "riscv4", "Func": "riscv_save_reg_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2920, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "mn10300_md_asm_clobbers", "(", "tree", "outputs", "ATTRIBUTE_UNUSED", ",", "tree", "inputs", "ATTRIBUTE_UNUSED", ",", "tree", "clobbers", ")", "{", "clobbers", "=", "tree_cons", "(", "NULL_TREE", ",", "build_string", "(", "5", ",", "\"EPSW\"", ")", ",", "clobbers", ")", ";", "return", "clobbers", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_MD_ASM_CLOBBERS", ".", "We", "do", "this", "in", "the", "mn10300", "backend", "to", "maintain", "source", "compatibility", "with", "the", "old", "cc0-based", "compiler", "."], "TS_V_token": ["mn10300", "5", "\"EPSW\""], "File": "mn103004", "Func": "mn10300_md_asm_clobbers", "Target": "mn10300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2921, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "::", "HazardType", "SPUHazardRecognizer", "::", "getHazardType", "(", "SUnit", "*", "SU", ")", "{", "const", "SDNode", "*", "Node", "=", "SU", "->", "getNode", "(", ")", "->", "getFlaggedMachineNode", "(", ")", ";", "ScheduleHazardRecognizer", "::", "HazardType", "retval", "=", "NoHazard", ";", "bool", "mustBeOdd", "=", "false", ";", "switch", "(", "Node", "->", "getOpcode", "(", ")", ")", "{", "case", "SPU", "::", "LQDv16i8", ":", "case", "SPU", "::", "LQDv8i16", ":", "case", "SPU", "::", "LQDv4i32", ":", "case", "SPU", "::", "LQDv4f32", ":", "case", "SPU", "::", "LQDv2f64", ":", "case", "SPU", "::", "LQDr128", ":", "case", "SPU", "::", "LQDr64", ":", "case", "SPU", "::", "LQDr32", ":", "case", "SPU", "::", "LQDr16", ":", "case", "SPU", "::", "LQAv16i8", ":", "case", "SPU", "::", "LQAv8i16", ":", "case", "SPU", "::", "LQAv4i32", ":", "case", "SPU", "::", "LQAv4f32", ":", "case", "SPU", "::", "LQAv2f64", ":", "case", "SPU", "::", "LQAr128", ":", "case", "SPU", "::", "LQAr64", ":", "case", "SPU", "::", "LQAr32", ":", "case", "SPU", "::", "LQXv4i32", ":", "case", "SPU", "::", "LQXr128", ":", "case", "SPU", "::", "LQXr64", ":", "case", "SPU", "::", "LQXr32", ":", "case", "SPU", "::", "LQXr16", ":", "case", "SPU", "::", "STQDv16i8", ":", "case", "SPU", "::", "STQDv8i16", ":", "case", "SPU", "::", "STQDv4i32", ":", "case", "SPU", "::", "STQDv4f32", ":", "case", "SPU", "::", "STQDv2f64", ":", "case", "SPU", "::", "STQDr128", ":", "case", "SPU", "::", "STQDr64", ":", "case", "SPU", "::", "STQDr32", ":", "case", "SPU", "::", "STQDr16", ":", "case", "SPU", "::", "STQDr8", ":", "case", "SPU", "::", "STQAv16i8", ":", "case", "SPU", "::", "STQAv8i16", ":", "case", "SPU", "::", "STQAv4i32", ":", "case", "SPU", "::", "STQAv4f32", ":", "case", "SPU", "::", "STQAv2f64", ":", "case", "SPU", "::", "STQAr128", ":", "case", "SPU", "::", "STQAr64", ":", "case", "SPU", "::", "STQAr32", ":", "case", "SPU", "::", "STQAr16", ":", "case", "SPU", "::", "STQAr8", ":", "case", "SPU", "::", "STQXv16i8", ":", "case", "SPU", "::", "STQXv8i16", ":", "case", "SPU", "::", "STQXv4i32", ":", "case", "SPU", "::", "STQXv4f32", ":", "case", "SPU", "::", "STQXv2f64", ":", "case", "SPU", "::", "STQXr128", ":", "case", "SPU", "::", "STQXr64", ":", "case", "SPU", "::", "STQXr32", ":", "case", "SPU", "::", "STQXr16", ":", "case", "SPU", "::", "STQXr8", ":", "case", "SPU", "::", "RET", ":", "mustBeOdd", "=", "true", ";", "break", ";", "default", ":", "break", ";", "}", "if", "(", "mustBeOdd", "&&", "!", "EvenOdd", ")", "retval", "=", "Hazard", ";", "DOUT", "(", "llvm", "::", "dbgs", "(", ")", "<<", "\"SPUHazardRecognizer EvenOdd \"", "<<", "EvenOdd", "<<", "\" Hazard \"", "<<", "retval", "<<", "\"\\n\"", ";", "EvenOdd", "^=", "1", ";", "return", "retval", ";", "return", "NoHazard", ";", "}", ""], "natrual_language": ["getHazardType", "-", "Return", "the", "hazard", "type", "of", "emitting", "this", "node", "."], "TS_V_token": ["CellSPU", "SPU", "SPU::LQDv16i8", "SPU::LQDv8i16", "SPU::LQDv4i32", "SPU::LQDv4f32", "SPU::LQDv2f64", "SPU::LQDr128", "SPU::LQDr64", "SPU::LQDr32", "SPU::LQDr16", "SPU::LQAv16i8", "SPU::LQAv8i16", "SPU::LQAv4i32", "SPU::LQAv4f32", "SPU::LQAv2f64", "SPU::LQAr128", "SPU::LQAr64", "SPU::LQAr32", "SPU::LQXv4i32", "SPU::LQXr128", "SPU::LQXr64", "SPU::LQXr32", "SPU::LQXr16", "SPU::STQDv16i8", "SPU::STQDv8i16", "SPU::STQDv4i32", "SPU::STQDv4f32", "SPU::STQDv2f64", "SPU::STQDr128", "SPU::STQDr64", "SPU::STQDr32", "SPU::STQDr16", "SPU::STQDr8", "SPU::STQAv16i8", "SPU::STQAv8i16", "SPU::STQAv4i32", "SPU::STQAv4f32", "SPU::STQAv2f64", "SPU::STQAr128", "SPU::STQAr64", "SPU::STQAr32", "SPU::STQAr16", "SPU::STQAr8", "SPU::STQXv16i8", "SPU::STQXv8i16", "SPU::STQXv4i32", "SPU::STQXv4f32", "SPU::STQXv2f64", "SPU::STQXr128", "SPU::STQXr64", "SPU::STQXr32", "SPU::STQXr16", "SPU::STQXr8", "SPU::RET", "\"SPUHazardRecognizer EvenOdd \"", "\" Hazard \"", "\"\\n\"", "1"], "File": "SPUHazardRecognizers3", "Func": "getHazardType", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2922, "Length": 364, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "outliner", "::", "OutlinedFunction", "X86InstrInfo", "::", "getOutliningCandidateInfo", "(", "std", "::", "vector", "<", "outliner", "::", "Candidate", ">", "&", "RepeatedSequenceLocs", ")", "const", "{", "unsigned", "SequenceSize", "=", "std", "::", "accumulate", "(", "RepeatedSequenceLocs", "[", "0", "]", ".", "front", "(", ")", ",", "std", "::", "next", "(", "RepeatedSequenceLocs", "[", "0", "]", ".", "back", "(", ")", ")", ",", "0", ",", "[", "]", "(", "unsigned", "Sum", ",", "const", "MachineInstr", "&", "MI", ")", "{", "if", "(", "MI", ".", "isDebugInstr", "(", ")", "||", "MI", ".", "isKill", "(", ")", ")", "return", "Sum", ";", "return", "Sum", "+", "1", ";", "}", ")", ";", "unsigned", "CFICount", "=", "0", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "RepeatedSequenceLocs", "[", "0", "]", ".", "front", "(", ")", ";", "for", "(", "unsigned", "Loc", "=", "RepeatedSequenceLocs", "[", "0", "]", ".", "getStartIdx", "(", ")", ";", "Loc", "<", "RepeatedSequenceLocs", "[", "0", "]", ".", "getEndIdx", "(", ")", "+", "1", ";", "Loc", "++", ")", "{", "const", "std", "::", "vector", "<", "MCCFIInstruction", ">", "&", "CFIInstructions", "=", "RepeatedSequenceLocs", "[", "0", "]", ".", "getMF", "(", ")", "->", "getFrameInstructions", "(", ")", ";", "if", "(", "MBBI", "->", "isCFIInstruction", "(", ")", ")", "{", "unsigned", "CFIIndex", "=", "MBBI", "->", "getOperand", "(", "0", ")", ".", "getCFIIndex", "(", ")", ";", "MCCFIInstruction", "CFI", "=", "CFIInstructions", "[", "CFIIndex", "]", ";", "CFICount", "++", ";", "}", "MBBI", "++", ";", "}", "for", "(", "outliner", "::", "Candidate", "&", "C", ":", "RepeatedSequenceLocs", ")", "{", "std", "::", "vector", "<", "MCCFIInstruction", ">", "CFIInstructions", "=", "C", ".", "getMF", "(", ")", "->", "getFrameInstructions", "(", ")", ";", "if", "(", "CFICount", ">", "0", "&&", "CFICount", "!=", "CFIInstructions", ".", "size", "(", ")", ")", "return", "outliner", "::", "OutlinedFunction", "(", ")", ";", "}", "if", "(", "RepeatedSequenceLocs", "[", "0", "]", ".", "back", "(", ")", "->", "isTerminator", "(", ")", ")", "{", "for", "(", "outliner", "::", "Candidate", "&", "C", ":", "RepeatedSequenceLocs", ")", "C", ".", "setCallInfo", "(", "MachineOutlinerTailCall", ",", "1", ")", ";", "return", "outliner", "::", "OutlinedFunction", "(", "RepeatedSequenceLocs", ",", "SequenceSize", ",", "0", ",", "MachineOutlinerTailCall", ")", ";", "}", "if", "(", "CFICount", ">", "0", ")", "return", "outliner", "::", "OutlinedFunction", "(", ")", ";", "for", "(", "outliner", "::", "Candidate", "&", "C", ":", "RepeatedSequenceLocs", ")", "C", ".", "setCallInfo", "(", "MachineOutlinerDefault", ",", "1", ")", ";", "return", "outliner", "::", "OutlinedFunction", "(", "RepeatedSequenceLocs", ",", "SequenceSize", ",", "1", ",", "MachineOutlinerDefault", ")", ";", "}", ""], "natrual_language": ["Returns", "a", "outliner", ":", ":OutlinedFunction", "struct", "containing", "target-specific", "information", "for", "a", "set", "of", "outlining", "candidates", "."], "TS_V_token": ["X86", "X86", "0", "0", "0", "1", "0", "0", "0", "0", "1", "0", "0", "0", "0", "1", "0", "0", "1", "1"], "File": "X86InstrInfo (2)3", "Func": "getOutliningCandidateInfo", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2923, "Length": 349, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMAsmBackend", "::", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ",", "MCContext", "&", "Ctx", ")", "const", "{", "unsigned", "NumBytes", "=", "getFixupKindNumBytes", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ",", "IsPCRel", ",", "Ctx", ",", "IsLittleEndian", ",", "true", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "assert", "(", "Offset", "+", "NumBytes", "<=", "Data", ".", "size", "(", ")", "&&", "\"Invalid fixup offset!\"", ")", ";", "unsigned", "FullSizeBytes", ";", "if", "(", "!", "IsLittleEndian", ")", "{", "FullSizeBytes", "=", "getFixupKindContainerSizeBytes", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "assert", "(", "(", "Offset", "+", "FullSizeBytes", ")", "<=", "Data", ".", "size", "(", ")", "&&", "\"Invalid fixup size!\"", ")", ";", "assert", "(", "NumBytes", "<=", "FullSizeBytes", "&&", "\"Invalid fixup size!\"", ")", ";", "}", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "IsLittleEndian", "?", "i", ":", "(", "FullSizeBytes", "-", "1", "-", "i", ")", ";", "Data", "[", "Offset", "+", "Idx", "]", "|=", "uint8_t", "(", "(", "Value", ">>", "(", "i", "*", "8", ")", ")", "&", "0xff", ")", ";", "}", "}", ""], "natrual_language": ["Apply", "the", "Value", "for", "given", "Fixup", "into", "the", "provided", "data", "fragment", ",", "at", "the", "offset", "specified", "by", "the", "fixup", "and", "following", "the", "fixup", "kind", "as", "appropriate", "."], "TS_V_token": ["ARM", "ARM", "\"Invalid fixup offset!\"", "\"Invalid fixup size!\"", "\"Invalid fixup size!\"", "0", "1", "8", "0xff"], "File": "ARMAsmBackend4", "Func": "applyFixup", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2924, "Length": 189, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "ix86_autovectorize_vector_sizes", "(", "void", ")", "{", "return", "TARGET_AVX512F", "?", "64", "|", "32", "|", "16", ":", "(", "TARGET_AVX", "&&", "!", "TARGET_PREFER_AVX128", ")", "?", "32", "|", "16", ":", "0", ";", "}", ""], "natrual_language": ["If", "AVX", "is", "enabled", "then", "try", "vectorizing", "with", "both", "256bit", "and", "128bit", "vectors", ".", "If", "AVX512F", "is", "enabled", "then", "try", "vectorizing", "with", "512bit", ",", "256bit", "and", "128bit", "vectors", "."], "TS_V_token": ["i386", "64", "32", "16", "32", "16", "0"], "File": "i3864", "Func": "ix86_autovectorize_vector_sizes", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2925, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isValid", "(", ")", "const", "{", "return", "Valid", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "this", "iterator", "is", "still", "pointing", "at", "a", "valid", "entry", "."], "TS_V_token": ["Patmos"], "File": "PatmosStackCacheAnalysis", "Func": "isValid", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 2926, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "printInstruction", "(", "MI", ")", ";", "OutStreamer", ".", "AddBlankLine", "(", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["Sparc"], "File": "SparcAsmPrinter28", "Func": "EmitInstruction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2927, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AGCRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "~", "0u", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["AGC", "AGC", "0u"], "File": "AGCRegisterInfo", "Func": "getFrameRegister", "Target": "AGC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2928, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "SITargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "I", "=", "*", "MI", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "AMDGPUTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MI", ",", "BB", ")", ";", "case", "AMDGPU", "::", "BRANCH", ":", "return", "BB", ";", "case", "AMDGPU", "::", "SI_ADDR64_RSRC", ":", "{", "const", "SIInstrInfo", "*", "TII", "=", "static_cast", "<", "const", "SIInstrInfo", "*", ">", "(", "getTargetMachine", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "BB", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "unsigned", "SuperReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "unsigned", "SubRegLo", "=", "MRI", ".", "createVirtualRegister", "(", "&", "AMDGPU", "::", "SReg_64RegClass", ")", ";", "unsigned", "SubRegHi", "=", "MRI", ".", "createVirtualRegister", "(", "&", "AMDGPU", "::", "SReg_64RegClass", ")", ";", "unsigned", "SubRegHiHi", "=", "MRI", ".", "createVirtualRegister", "(", "&", "AMDGPU", "::", "SReg_32RegClass", ")", ";", "unsigned", "SubRegHiLo", "=", "MRI", ".", "createVirtualRegister", "(", "&", "AMDGPU", "::", "SReg_32RegClass", ")", ";", "BuildMI", "(", "*", "BB", ",", "I", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "AMDGPU", "::", "S_MOV_B64", ")", ",", "SubRegLo", ")", ".", "addOperand", "(", "MI", "->", "getOperand", "(", "1", ")", ")", ";", "BuildMI", "(", "*", "BB", ",", "I", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "AMDGPU", "::", "S_MOV_B32", ")", ",", "SubRegHiLo", ")", ".", "addImm", "(", "0", ")", ";", "BuildMI", "(", "*", "BB", ",", "I", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "AMDGPU", "::", "S_MOV_B32", ")", ",", "SubRegHiHi", ")", ".", "addImm", "(", "RSRC_DATA_FORMAT", ">>", "32", ")", ";", "BuildMI", "(", "*", "BB", ",", "I", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "AMDGPU", "::", "REG_SEQUENCE", ")", ",", "SubRegHi", ")", ".", "addReg", "(", "SubRegHiLo", ")", ".", "addImm", "(", "AMDGPU", "::", "sub0", ")", ".", "addReg", "(", "SubRegHiHi", ")", ".", "addImm", "(", "AMDGPU", "::", "sub1", ")", ";", "BuildMI", "(", "*", "BB", ",", "I", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "AMDGPU", "::", "REG_SEQUENCE", ")", ",", "SuperReg", ")", ".", "addReg", "(", "SubRegLo", ")", ".", "addImm", "(", "AMDGPU", "::", "sub0_sub1", ")", ".", "addReg", "(", "SubRegHi", ")", ".", "addImm", "(", "AMDGPU", "::", "sub2_sub3", ")", ";", "MI", "->", "eraseFromParent", "(", ")", ";", "break", ";", "}", "case", "AMDGPU", "::", "V_SUB_F64", ":", "{", "const", "SIInstrInfo", "*", "TII", "=", "static_cast", "<", "const", "SIInstrInfo", "*", ">", "(", "getTargetMachine", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "BuildMI", "(", "*", "BB", ",", "I", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "AMDGPU", "::", "V_ADD_F64", ")", ",", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "2", ")", ";", "MI", "->", "eraseFromParent", "(", ")", ";", "break", ";", "}", "}", "return", "BB", ";", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "."], "TS_V_token": ["R600", "SI", "SI", "SI", "SI", "0", "1", "0", "32", "SI", "SI", "0", "1", "2", "0", "0", "0", "0", "2"], "File": "SIISelLowering107", "Func": "EmitInstrWithCustomInserter", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2929, "Length": 492, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonOptAddrMode", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "*", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "auto", "&", "HST", "=", "MF", ".", "getSubtarget", "<", "HexagonSubtarget", ">", "(", ")", ";", "auto", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "HII", "=", "HST", ".", "getInstrInfo", "(", ")", ";", "const", "auto", "&", "MDF", "=", "getAnalysis", "<", "MachineDominanceFrontier", ">", "(", ")", ";", "MDT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "const", "auto", "&", "TRI", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "const", "TargetOperandInfo", "TOI", "(", "*", "HII", ")", ";", "DataFlowGraph", "G", "(", "MF", ",", "*", "HII", ",", "TRI", ",", "*", "MDT", ",", "MDF", ",", "TOI", ")", ";", "G", ".", "build", "(", ")", ";", "DFG", "=", "&", "G", ";", "Liveness", "L", "(", "MRI", ",", "*", "DFG", ")", ";", "L", ".", "computePhiInfo", "(", ")", ";", "LV", "=", "&", "L", ";", "Deleted", ".", "clear", "(", ")", ";", "NodeAddr", "<", "FuncNode", "*", ">", "FA", "=", "DFG", "->", "getFunc", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"==== [RefMap#]=====:\\n \"", "<<", "Print", "<", "NodeAddr", "<", "FuncNode", "*", ">>", "(", "FA", ",", "*", "DFG", ")", "<<", "\"\\n\"", ")", ";", "for", "(", "NodeAddr", "<", "BlockNode", "*", ">", "BA", ":", "FA", ".", "Addr", "->", "members", "(", "*", "DFG", ")", ")", "Changed", "|=", "processBlock", "(", "BA", ")", ";", "for", "(", "auto", "MI", ":", "Deleted", ")", "MI", "->", "eraseFromParent", "(", ")", ";", "if", "(", "Changed", ")", "{", "G", ".", "build", "(", ")", ";", "L", ".", "computeLiveIns", "(", ")", ";", "L", ".", "resetLiveIns", "(", ")", ";", "L", ".", "resetKills", "(", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "\"==== [RefMap#]=====:\\n \"", "\"\\n\""], "File": "HexagonOptAddrMode19", "Func": "runOnMachineFunction", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2930, "Length": 273, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "AArch64Operand", "*", "CreateReg", "(", "unsigned", "RegNum", ",", "bool", "isVector", ",", "SMLoc", "S", ",", "SMLoc", "E", ",", "MCContext", "&", "Ctx", ")", "{", "AArch64Operand", "*", "Op", "=", "new", "AArch64Operand", "(", "k_Register", ",", "Ctx", ")", ";", "Op", "->", "Reg", ".", "RegNum", "=", "RegNum", ";", "Op", "->", "Reg", ".", "isVector", "=", "isVector", ";", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "E", ";", "return", "Op", ";", "}", ""], "natrual_language": ["CreateReg", "-", "Allocate", "a", "single", "virtual", "register", "for", "the", "given", "type", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64AsmParser45", "Func": "CreateReg", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2931, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "classof", "(", "const", "MCStreamer", "*", "S", ")", "{", "return", "S", "->", "getKind", "(", ")", "==", "SK_AsmStreamer", ";", "}", ""], "natrual_language": ["Methods", "for", "support", "type", "inquiry", "through", "isa", ",", "cast", ",", "and", "dyn_cast", ":"], "TS_V_token": ["Cpu0"], "File": "Cpu0AsmStreamer", "Func": "classof", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2932, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "int", "and_xor_ior_costs", "(", "rtx", "x", ",", "int", "code", ")", "{", "const", "int", "cost_scale", "=", "!", "TARGET_SHMEDIA", "&&", "GET_MODE_SIZE", "(", "GET_MODE", "(", "x", ")", ")", ">", "UNITS_PER_WORD", "?", "2", ":", "1", ";", "if", "(", "!", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "return", "1", "*", "cost_scale", ";", "int", "i", "=", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ";", "if", "(", "TARGET_SHMEDIA", ")", "{", "if", "(", "satisfies_constraint_I10", "(", "XEXP", "(", "x", ",", "1", ")", ")", "||", "satisfies_constraint_J16", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "return", "1", ";", "else", "return", "1", "+", "rtx_cost", "(", "XEXP", "(", "x", ",", "1", ")", ",", "GET_MODE", "(", "x", ")", ",", "AND", ",", "1", ",", "!", "optimize_size", ")", ";", "}", "if", "(", "(", "i", "==", "0xff", "||", "i", "==", "0xffff", ")", "&&", "code", "==", "AND", ")", "return", "1", "*", "cost_scale", ";", "if", "(", "CONST_OK_FOR_K08", "(", "i", ")", ")", "return", "2", "*", "cost_scale", ";", "if", "(", "CONST_OK_FOR_I08", "(", "i", ")", ")", "return", "2", "*", "cost_scale", ";", "return", "3", "*", "cost_scale", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "an", "AND/XOR/IOR", "operation", "."], "TS_V_token": ["sh", "2", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0xff", "0xffff", "1", "2", "2", "3"], "File": "sh5", "Func": "and_xor_ior_costs", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2933, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "s390_frame_info", "(", "void", ")", "{", "HOST_WIDE_INT", "lowest_offset", ";", "cfun_frame_layout", ".", "first_save_gpr_slot", "=", "cfun_frame_layout", ".", "first_save_gpr", ";", "cfun_frame_layout", ".", "last_save_gpr_slot", "=", "cfun_frame_layout", ".", "last_save_gpr", ";", "if", "(", "cfun", "->", "stdarg", "&&", "cfun_save_arg_fprs_p", ")", "{", "cfun_frame_layout", ".", "last_save_gpr_slot", "=", "STACK_POINTER_REGNUM", ";", "if", "(", "cfun_frame_layout", ".", "first_save_gpr_slot", "==", "-", "1", ")", "cfun_frame_layout", ".", "first_save_gpr_slot", "=", "STACK_POINTER_REGNUM", ";", "}", "cfun_frame_layout", ".", "frame_size", "=", "get_frame_size", "(", ")", ";", "if", "(", "!", "TARGET_64BIT", "&&", "cfun_frame_layout", ".", "frame_size", ">", "0x7fff0000", ")", "fatal_error", "(", "input_location", ",", "\"total size of local variables exceeds architecture limit\"", ")", ";", "if", "(", "!", "TARGET_PACKED_STACK", ")", "{", "cfun_frame_layout", ".", "backchain_offset", "=", "0", ";", "cfun_frame_layout", ".", "f0_offset", "=", "16", "*", "UNITS_PER_LONG", ";", "cfun_frame_layout", ".", "f4_offset", "=", "cfun_frame_layout", ".", "f0_offset", "+", "2", "*", "8", ";", "cfun_frame_layout", ".", "f8_offset", "=", "-", "cfun_frame_layout", ".", "high_fprs", "*", "8", ";", "cfun_frame_layout", ".", "gprs_offset", "=", "(", "cfun_frame_layout", ".", "first_save_gpr_slot", "*", "UNITS_PER_LONG", ")", ";", "}", "else", "if", "(", "TARGET_BACKCHAIN", ")", "{", "gcc_assert", "(", "TARGET_SOFT_FLOAT", ")", ";", "cfun_frame_layout", ".", "backchain_offset", "=", "(", "STACK_POINTER_OFFSET", "-", "UNITS_PER_LONG", ")", ";", "cfun_frame_layout", ".", "last_save_gpr_slot", "=", "STACK_POINTER_REGNUM", ";", "cfun_frame_layout", ".", "gprs_offset", "=", "cfun_frame_layout", ".", "backchain_offset", "-", "cfun_gprs_save_area_size", ";", "cfun_frame_layout", ".", "f0_offset", "=", "cfun_frame_layout", ".", "f4_offset", "=", "cfun_frame_layout", ".", "f8_offset", "=", "cfun_frame_layout", ".", "gprs_offset", ";", "}", "else", "{", "int", "num_fprs", ";", "num_fprs", "=", "(", "TARGET_64BIT", "&&", "cfun", "->", "stdarg", "?", "2", ":", "(", "cfun_fpr_save_p", "(", "FPR4_REGNUM", ")", "+", "cfun_fpr_save_p", "(", "FPR6_REGNUM", ")", ")", ")", ";", "cfun_frame_layout", ".", "f4_offset", "=", "STACK_POINTER_OFFSET", "-", "8", "*", "num_fprs", ";", "num_fprs", "=", "(", "cfun", "->", "stdarg", "?", "2", ":", "(", "cfun_fpr_save_p", "(", "FPR0_REGNUM", ")", "+", "cfun_fpr_save_p", "(", "FPR2_REGNUM", ")", ")", ")", ";", "cfun_frame_layout", ".", "f0_offset", "=", "cfun_frame_layout", ".", "f4_offset", "-", "8", "*", "num_fprs", ";", "cfun_frame_layout", ".", "gprs_offset", "=", "cfun_frame_layout", ".", "f0_offset", "-", "cfun_gprs_save_area_size", ";", "cfun_frame_layout", ".", "f8_offset", "=", "(", "cfun_frame_layout", ".", "gprs_offset", "-", "cfun_frame_layout", ".", "high_fprs", "*", "8", ")", ";", "}", "if", "(", "cfun_save_high_fprs_p", ")", "cfun_frame_layout", ".", "frame_size", "+=", "cfun_frame_layout", ".", "high_fprs", "*", "8", ";", "if", "(", "!", "crtl", "->", "is_leaf", ")", "cfun_frame_layout", ".", "frame_size", "+=", "crtl", "->", "outgoing_args_size", ";", "if", "(", "crtl", "->", "is_leaf", "&&", "!", "TARGET_TPF_PROFILING", "&&", "cfun_frame_layout", ".", "frame_size", "==", "0", "&&", "!", "cfun", "->", "calls_alloca", ")", "return", ";", "if", "(", "TARGET_PACKED_STACK", ")", "lowest_offset", "=", "MIN", "(", "MIN", "(", "cfun_frame_layout", ".", "f0_offset", ",", "cfun_frame_layout", ".", "f4_offset", ")", ",", "cfun_frame_layout", ".", "gprs_offset", ")", ";", "else", "lowest_offset", "=", "0", ";", "if", "(", "TARGET_BACKCHAIN", ")", "lowest_offset", "=", "MIN", "(", "lowest_offset", ",", "cfun_frame_layout", ".", "backchain_offset", ")", ";", "cfun_frame_layout", ".", "frame_size", "+=", "STACK_POINTER_OFFSET", "-", "lowest_offset", ";", "cfun_frame_layout", ".", "frame_size", "=", "(", "(", "cfun_frame_layout", ".", "frame_size", "+", "STACK_BOUNDARY", "/", "BITS_PER_UNIT", "-", "1", ")", "&", "~", "(", "STACK_BOUNDARY", "/", "BITS_PER_UNIT", "-", "1", ")", ")", ";", "}", ""], "natrual_language": ["Fill", "FRAME", "with", "info", "about", "frame", "of", "current", "function", "."], "TS_V_token": ["s390", "1", "0x7fff0000", "\"total size of local variables exceeds architecture limit\"", "0", "16", "2", "8", "8", "2", "8", "2", "8", "8", "8", "0", "0", "1", "1"], "File": "s390", "Func": "s390_frame_info", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2934, "Length": 424, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addPreserved", "<", "MachineDominatorTree", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "SlotIndexes", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "LiveIntervals", ">", "(", ")", ";", "AU", ".", "addPreservedID", "(", "LiveVariablesID", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AMDGPU"], "File": "SILowerControlFlow1", "Func": "getAnalysisUsage", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2935, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "LowerCall", "(", "TargetLowering", "::", "CallLoweringInfo", "&", "CLI", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "SelectionDAG", "&", "DAG", "=", "CLI", ".", "DAG", ";", "DebugLoc", "&", "dl", "=", "CLI", ".", "DL", ";", "SmallVector", "<", "ISD", "::", "OutputArg", ",", "32", ">", "&", "Outs", "=", "CLI", ".", "Outs", ";", "SmallVector", "<", "SDValue", ",", "32", ">", "&", "OutVals", "=", "CLI", ".", "OutVals", ";", "SmallVector", "<", "ISD", "::", "InputArg", ",", "32", ">", "&", "Ins", "=", "CLI", ".", "Ins", ";", "SDValue", "Chain", "=", "CLI", ".", "Chain", ";", "SDValue", "Callee", "=", "CLI", ".", "Callee", ";", "bool", "&", "isTailCall", "=", "CLI", ".", "IsTailCall", ";", "CallingConv", "::", "ID", "CallConv", "=", "CLI", ".", "CallConv", ";", "bool", "isVarArg", "=", "CLI", ".", "IsVarArg", ";", "if", "(", "isTailCall", ")", "isTailCall", "=", "IsEligibleForTailCallOptimization", "(", "Callee", ",", "CallConv", ",", "isVarArg", ",", "Ins", ",", "DAG", ")", ";", "if", "(", "PPCSubTarget", ".", "isSVR4ABI", "(", ")", ")", "{", "if", "(", "PPCSubTarget", ".", "isPPC64", "(", ")", ")", "return", "LowerCall_64SVR4", "(", "Chain", ",", "Callee", ",", "CallConv", ",", "isVarArg", ",", "isTailCall", ",", "Outs", ",", "OutVals", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ")", ";", "else", "return", "LowerCall_32SVR4", "(", "Chain", ",", "Callee", ",", "CallConv", ",", "isVarArg", ",", "isTailCall", ",", "Outs", ",", "OutVals", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ")", ";", "}", "return", "LowerCall_Darwin", "(", "Chain", ",", "Callee", ",", "CallConv", ",", "isVarArg", ",", "isTailCall", ",", "Outs", ",", "OutVals", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ")", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "calls", "into", "the", "specified", "DAG", "."], "TS_V_token": ["PowerPC", "PPC", "ISD::OutputArg", "32", "32", "ISD::InputArg", "32", "PPC", "PPC", "PPC"], "File": "PPCISelLowering105", "Func": "LowerCall", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2936, "Length": 234, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ArrayRef", "<", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">>", "PPCInstrInfo", "::", "getSerializableBitmaskMachineOperandTargetFlags", "(", ")", "const", "{", "using", "namespace", "PPCII", ";", "static", "const", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">", "TargetFlags", "[", "]", "=", "{", "{", "MO_PLT", ",", "\"ppc-plt\"", "}", ",", "{", "MO_PIC_FLAG", ",", "\"ppc-pic\"", "}", ",", "{", "MO_PCREL_FLAG", ",", "\"ppc-pcrel\"", "}", ",", "{", "MO_GOT_FLAG", ",", "\"ppc-got\"", "}", ",", "{", "MO_PCREL_OPT_FLAG", ",", "\"ppc-opt-pcrel\"", "}", ",", "{", "MO_TLSGD_FLAG", ",", "\"ppc-tlsgd\"", "}", ",", "{", "MO_TLSLD_FLAG", ",", "\"ppc-tlsld\"", "}", ",", "{", "MO_TPREL_FLAG", ",", "\"ppc-tprel\"", "}", ",", "{", "MO_GOT_TLSGD_PCREL_FLAG", ",", "\"ppc-got-tlsgd-pcrel\"", "}", ",", "{", "MO_GOT_TLSLD_PCREL_FLAG", ",", "\"ppc-got-tlsld-pcrel\"", "}", ",", "{", "MO_GOT_TPREL_PCREL_FLAG", ",", "\"ppc-got-tprel-pcrel\"", "}", "}", ";", "return", "makeArrayRef", "(", "TargetFlags", ")", ";", "}", ""], "natrual_language": ["Return", "an", "array", "that", "contains", "the", "bitmask", "target", "flag", "values", "and", "their", "names", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "\"ppc-plt\"", "\"ppc-pic\"", "\"ppc-pcrel\"", "\"ppc-got\"", "\"ppc-opt-pcrel\"", "\"ppc-tlsgd\"", "\"ppc-tlsld\"", "\"ppc-tprel\"", "\"ppc-got-tlsgd-pcrel\"", "\"ppc-got-tlsld-pcrel\"", "\"ppc-got-tprel-pcrel\""], "File": "PPCInstrInfo129", "Func": "getSerializableBitmaskMachineOperandTargetFlags", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2937, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "xstormy16_expand_epilogue", "(", "void", ")", "{", "struct", "xstormy16_stack_layout", "layout", ";", "rtx", "mem_pop_rtx", ",", "insn", ";", "int", "regno", ";", "const", "int", "ifun", "=", "xstormy16_interrupt_function_p", "(", ")", ";", "mem_pop_rtx", "=", "gen_rtx_PRE_DEC", "(", "Pmode", ",", "stack_pointer_rtx", ")", ";", "mem_pop_rtx", "=", "gen_rtx_MEM", "(", "HImode", ",", "mem_pop_rtx", ")", ";", "layout", "=", "xstormy16_compute_stack_layout", "(", ")", ";", "if", "(", "layout", ".", "locals_size", ")", "{", "if", "(", "frame_pointer_needed", "&&", "layout", ".", "sp_minus_fp", "==", "layout", ".", "locals_size", ")", "emit_move_insn", "(", "stack_pointer_rtx", ",", "hard_frame_pointer_rtx", ")", ";", "else", "{", "insn", "=", "emit_addhi3_postreload", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "-", "layout", ".", "locals_size", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "}", "for", "(", "regno", "=", "FIRST_PSEUDO_REGISTER", "-", "1", ";", "regno", ">=", "0", ";", "regno", "--", ")", "if", "(", "REG_NEEDS_SAVE", "(", "regno", ",", "ifun", ")", ")", "{", "rtx", "dwarf", ";", "insn", "=", "emit_move_insn", "(", "gen_rtx_REG", "(", "HImode", ",", "regno", ")", ",", "mem_pop_rtx", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "dwarf", "=", "gen_rtx_SET", "(", "Pmode", ",", "stack_pointer_rtx", ",", "plus_constant", "(", "stack_pointer_rtx", ",", "-", "GET_MODE_SIZE", "(", "Pmode", ")", ")", ")", ";", "REG_NOTES", "(", "insn", ")", "=", "gen_rtx_EXPR_LIST", "(", "REG_FRAME_RELATED_EXPR", ",", "dwarf", ",", "REG_NOTES", "(", "insn", ")", ")", ";", "}", "if", "(", "layout", ".", "stdarg_save_size", ")", "{", "insn", "=", "emit_addhi3_postreload", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "-", "layout", ".", "stdarg_save_size", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "if", "(", "ifun", ")", "emit_jump_insn", "(", "gen_return_internal_interrupt", "(", ")", ")", ";", "else", "emit_jump_insn", "(", "gen_return_internal", "(", ")", ")", ";", "}", ""], "natrual_language": ["Called", "after", "register", "allocation", "to", "add", "any", "instructions", "needed", "for", "the", "epilogue", ".", "Using", "an", "epilogue", "insn", "is", "favored", "compared", "to", "putting", "all", "of", "the", "instructions", "in", "the", "TARGET_ASM_FUNCTION_PROLOGUE", "macro", ",", "since", "it", "allows", "the", "scheduler", "to", "intermix", "instructions", "with", "the", "saves", "of", "the", "caller", "saved", "registers", ".", "In", "some", "cases", ",", "it", "might", "be", "necessary", "to", "emit", "a", "barrier", "instruction", "as", "the", "last", "insn", "to", "prevent", "such", "scheduling", "."], "TS_V_token": ["stormy16", "1", "1", "0", "1", "1"], "File": "stormy163", "Func": "xstormy16_expand_epilogue", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2938, "Length": 243, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Align", "PPCTargetLowering", "::", "getPrefLoopAlignment", "(", "MachineLoop", "*", "ML", ")", "const", "{", "switch", "(", "Subtarget", ".", "getDarwinDirective", "(", ")", ")", "{", "default", ":", "break", ";", "case", "PPC", "::", "DIR_970", ":", "case", "PPC", "::", "DIR_PWR4", ":", "case", "PPC", "::", "DIR_PWR5", ":", "case", "PPC", "::", "DIR_PWR5X", ":", "case", "PPC", "::", "DIR_PWR6", ":", "case", "PPC", "::", "DIR_PWR6X", ":", "case", "PPC", "::", "DIR_PWR7", ":", "case", "PPC", "::", "DIR_PWR8", ":", "case", "PPC", "::", "DIR_PWR9", ":", "{", "if", "(", "!", "ML", ")", "break", ";", "if", "(", "!", "DisableInnermostLoopAlign32", ")", "{", "if", "(", "ML", "->", "getLoopDepth", "(", ")", ">", "1", "&&", "ML", "->", "getSubLoops", "(", ")", ".", "empty", "(", ")", ")", "return", "Align", "(", "32", ")", ";", "}", "const", "PPCInstrInfo", "*", "TII", "=", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "uint64_t", "LoopSize", "=", "0", ";", "for", "(", "auto", "I", "=", "ML", "->", "block_begin", "(", ")", ",", "IE", "=", "ML", "->", "block_end", "(", ")", ";", "I", "!=", "IE", ";", "++", "I", ")", "for", "(", "auto", "J", "=", "(", "*", "I", ")", "->", "begin", "(", ")", ",", "JE", "=", "(", "*", "I", ")", "->", "end", "(", ")", ";", "J", "!=", "JE", ";", "++", "J", ")", "{", "LoopSize", "+=", "TII", "->", "getInstSizeInBytes", "(", "*", "J", ")", ";", "if", "(", "LoopSize", ">", "32", ")", "break", ";", "}", "if", "(", "LoopSize", ">", "16", "&&", "LoopSize", "<=", "32", ")", "return", "Align", "(", "32", ")", ";", "break", ";", "}", "}", "return", "TargetLowering", "::", "getPrefLoopAlignment", "(", "ML", ")", ";", "}", ""], "natrual_language": ["Return", "the", "preferred", "loop", "alignment", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::DIR_970", "PPC::DIR_PWR4", "PPC::DIR_PWR5", "PPC::DIR_PWR5X", "PPC::DIR_PWR6", "PPC::DIR_PWR6X", "PPC::DIR_PWR7", "PPC::DIR_PWR8", "PPC::DIR_PWR9", "1", "32", "PPC", "0", "32", "16", "32", "32"], "File": "PPCISelLowering145", "Func": "getPrefLoopAlignment", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2939, "Length": 233, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonOperand", "::", "print", "(", "raw_ostream", "&", "OS", ")", "const", "{", "switch", "(", "Kind", ")", "{", "case", "Immediate", ":", "getImm", "(", ")", "->", "print", "(", "OS", ",", "nullptr", ")", ";", "break", ";", "case", "Register", ":", "OS", "<<", "\"\"", ";", "break", ";", "case", "Token", ":", "OS", "<<", "\"'\"", "<<", "getToken", "(", ")", "<<", "\"'\"", ";", "break", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["Hexagon", "Hexagon", "\"\"", "\"'\"", "\"'\""], "File": "HexagonAsmParser (2)", "Func": "print", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2940, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rx_override_options_after_change", "(", "void", ")", "{", "static", "bool", "first_time", "=", "TRUE", ";", "if", "(", "first_time", ")", "{", "if", "(", "TARGET_USE_FPU", ")", "flag_finite_math_only", "=", "1", ";", "first_time", "=", "FALSE", ";", "}", "else", "{", "if", "(", "TARGET_USE_FPU", "&&", "!", "flag_finite_math_only", ")", "warning", "(", "0", ",", "\"RX FPU instructions do not support NaNs and infinities\"", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE", "."], "TS_V_token": ["rx", "1", "0", "\"RX FPU instructions do not support NaNs and infinities\""], "File": "rx", "Func": "rx_override_options_after_change", "Target": "rx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2941, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "NyuziTargetLowering", "*", "getTLI", "(", ")", "const", "{", "return", "TLI", ";", "}", ""], "natrual_language": ["Getter", "for", "generic", "TargetLowering", "class", "."], "TS_V_token": ["Nyuzi", "Nyuzi"], "File": "NyuziTargetTransformInfo", "Func": "getTLI", "Target": "Nyuzi", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2942, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVMCExpr", "::", "evaluateAsConstant", "(", "int64_t", "&", "Res", ")", "const", "{", "MCValue", "Value", ";", "if", "(", "Kind", "==", "VK_RISCV_PCREL_HI", ")", "return", "false", ";", "if", "(", "!", "getSubExpr", "(", ")", "->", "evaluateAsRelocatable", "(", "Value", ",", "nullptr", ",", "nullptr", ")", ")", "return", "false", ";", "if", "(", "!", "Value", ".", "isAbsolute", "(", ")", ")", "return", "false", ";", "Res", "=", "evaluateAsInt64", "(", "Value", ".", "getConstant", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Evaluates", "the", "fixup", "as", "a", "constant", "value", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV"], "File": "RISCVMCExpr", "Func": "evaluateAsConstant", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2943, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "NVPTXAllocaHoisting", "::", "runOnFunction", "(", "Function", "&", "function", ")", "{", "bool", "functionModified", "=", "false", ";", "Function", "::", "iterator", "I", "=", "function", ".", "begin", "(", ")", ";", "TerminatorInst", "*", "firstTerminatorInst", "=", "(", "I", "++", ")", "->", "getTerminator", "(", ")", ";", "for", "(", "Function", "::", "iterator", "E", "=", "function", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "for", "(", "BasicBlock", "::", "iterator", "BI", "=", "I", "->", "begin", "(", ")", ",", "BE", "=", "I", "->", "end", "(", ")", ";", "BI", "!=", "BE", ";", ")", "{", "AllocaInst", "*", "allocaInst", "=", "dyn_cast", "<", "AllocaInst", ">", "(", "BI", "++", ")", ";", "if", "(", "allocaInst", "&&", "isa", "<", "ConstantInt", ">", "(", "allocaInst", "->", "getArraySize", "(", ")", ")", ")", "{", "allocaInst", "->", "moveBefore", "(", "firstTerminatorInst", ")", ";", "functionModified", "=", "true", ";", "}", "}", "}", "return", "functionModified", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["NVPTX", "NVPTX"], "File": "NVPTXAllocaHoisting3", "Func": "runOnFunction", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2944, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "nds32_n13_load_to_e2_p", "(", "rtx_insn", "*", "producer", ",", "rtx_insn", "*", "consumer", ")", "{", "rtx", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";", "gcc_assert", "(", "get_attr_type", "(", "producer", ")", "==", "TYPE_LOAD", ")", ";", "gcc_assert", "(", "REG_P", "(", "def_reg", ")", "||", "GET_CODE", "(", "def_reg", ")", "==", "SUBREG", ")", ";", "return", "n13_consumed_by_e2_dep_p", "(", "consumer", ",", "def_reg", ")", ";", "}", ""], "natrual_language": ["Check", "dependencies", "from", "Load-Store", "Unit", "(", "E3", ")", "to", "E2", "."], "TS_V_token": ["nds32"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n13_load_to_e2_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2945, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_set_tuning_info", "(", "void", ")", "{", "if", "(", "mips_tuning_info", ".", "initialized_p", "&&", "mips_tuning_info", ".", "arch", "==", "mips_arch", "&&", "mips_tuning_info", ".", "tune", "==", "mips_tune", "&&", "mips_tuning_info", ".", "mips16_p", "==", "TARGET_MIPS16", ")", "return", ";", "mips_tuning_info", ".", "arch", "=", "mips_arch", ";", "mips_tuning_info", ".", "tune", "=", "mips_tune", ";", "mips_tuning_info", ".", "mips16_p", "=", "TARGET_MIPS16", ";", "mips_tuning_info", ".", "initialized_p", "=", "true", ";", "dfa_start", "(", ")", ";", "struct", "mips_sim", "state", ";", "mips_sim_init", "(", "&", "state", ",", "alloca", "(", "state_size", "(", ")", ")", ")", ";", "mips_set_fast_mult_zero_zero_p", "(", "&", "state", ")", ";", "dfa_finish", "(", ")", ";", "}", ""], "natrual_language": ["Set", "up", "costs", "based", "on", "the", "current", "architecture", "and", "tuning", "settings", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_set_tuning_info", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2946, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineDominatorTree", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineLoopInfo", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineLoopInfo", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["Tile64"], "File": "Tile64VLIWPacketizer", "Func": "getAnalysisUsage", "Target": "Tile64", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 2947, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "reMaterialize", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "const", "MachineInstr", "*", "Orig", ")", "const", "{", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "unsigned", "SubIdx", "=", "Orig", "->", "getOperand", "(", "0", ")", ".", "isReg", "(", ")", "?", "Orig", "->", "getOperand", "(", "0", ")", ".", "getSubReg", "(", ")", ":", "0", ";", "bool", "ChangeSubIdx", "=", "SubIdx", "!=", "0", ";", "if", "(", "SubIdx", "&&", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "DestReg", ")", ")", "{", "DestReg", "=", "RI", ".", "getSubReg", "(", "DestReg", ",", "SubIdx", ")", ";", "SubIdx", "=", "0", ";", "}", "bool", "Emitted", "=", "false", ";", "switch", "(", "Orig", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "X86", "::", "MOV8r0", ":", "case", "X86", "::", "MOV16r0", ":", "case", "X86", "::", "MOV32r0", ":", "case", "X86", "::", "MOV64r0", ":", "{", "if", "(", "!", "isSafeToClobberEFLAGS", "(", "MBB", ",", "I", ")", ")", "{", "unsigned", "Opc", "=", "0", ";", "switch", "(", "Orig", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "X86", "::", "MOV8r0", ":", "Opc", "=", "X86", "::", "MOV8ri", ";", "break", ";", "case", "X86", "::", "MOV16r0", ":", "Opc", "=", "X86", "::", "MOV16ri", ";", "break", ";", "case", "X86", "::", "MOV32r0", ":", "Opc", "=", "X86", "::", "MOV32ri", ";", "break", ";", "case", "X86", "::", "MOV64r0", ":", "Opc", "=", "X86", "::", "MOV64ri32", ";", "break", ";", "}", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Opc", ")", ",", "DestReg", ")", ".", "addImm", "(", "0", ")", ";", "Emitted", "=", "true", ";", "}", "break", ";", "}", "}", "if", "(", "!", "Emitted", ")", "{", "MachineInstr", "*", "MI", "=", "MBB", ".", "getParent", "(", ")", "->", "CloneMachineInstr", "(", "Orig", ")", ";", "MI", "->", "getOperand", "(", "0", ")", ".", "setReg", "(", "DestReg", ")", ";", "MBB", ".", "insert", "(", "I", ",", "MI", ")", ";", "}", "if", "(", "ChangeSubIdx", ")", "{", "MachineInstr", "*", "NewMI", "=", "prior", "(", "I", ")", ";", "NewMI", "->", "getOperand", "(", "0", ")", ".", "setSubReg", "(", "SubIdx", ")", ";", "}", "}", ""], "natrual_language": ["Re-issue", "the", "specified", "'original", "'", "instruction", "at", "the", "specific", "location", "targeting", "a", "new", "destination", "register", "."], "TS_V_token": ["X86", "X86", "0", "0", "0", "0", "0", "X86::MOV8r0", "X86::MOV16r0", "X86::MOV32r0", "X86::MOV64r0", "0", "X86::MOV8r0", "X86::MOV8ri", "X86::MOV16r0", "X86::MOV16ri", "X86::MOV32r0", "X86::MOV32ri", "X86::MOV64r0", "X86::MOV64ri32", "0", "0", "0"], "File": "X86InstrInfo101", "Func": "reMaterialize", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2948, "Length": 335, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86CallLowering", "::", "splitToValueTypes", "(", "const", "ArgInfo", "&", "OrigArg", ",", "SmallVectorImpl", "<", "ArgInfo", ">", "&", "SplitArgs", ",", "const", "DataLayout", "&", "DL", ",", "MachineRegisterInfo", "&", "MRI", ",", "SplitArgTy", "PerformArgSplit", ")", "const", "{", "const", "X86TargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "X86TargetLowering", ">", "(", ")", ";", "LLVMContext", "&", "Context", "=", "OrigArg", ".", "Ty", "->", "getContext", "(", ")", ";", "SmallVector", "<", "EVT", ",", "4", ">", "SplitVTs", ";", "SmallVector", "<", "uint64_t", ",", "4", ">", "Offsets", ";", "ComputeValueVTs", "(", "TLI", ",", "DL", ",", "OrigArg", ".", "Ty", ",", "SplitVTs", ",", "&", "Offsets", ",", "0", ")", ";", "assert", "(", "OrigArg", ".", "Regs", ".", "size", "(", ")", "==", "1", "&&", "\"Can't handle multple regs yet\"", ")", ";", "if", "(", "OrigArg", ".", "Ty", "->", "isVoidTy", "(", ")", ")", "return", "true", ";", "EVT", "VT", "=", "SplitVTs", "[", "0", "]", ";", "unsigned", "NumParts", "=", "TLI", ".", "getNumRegisters", "(", "Context", ",", "VT", ")", ";", "if", "(", "NumParts", "==", "1", ")", "{", "SplitArgs", ".", "emplace_back", "(", "OrigArg", ".", "Regs", "[", "0", "]", ",", "VT", ".", "getTypeForEVT", "(", "Context", ")", ",", "OrigArg", ".", "Flags", ",", "OrigArg", ".", "IsFixed", ")", ";", "return", "true", ";", "}", "SmallVector", "<", "Register", ",", "8", ">", "SplitRegs", ";", "EVT", "PartVT", "=", "TLI", ".", "getRegisterType", "(", "Context", ",", "VT", ")", ";", "Type", "*", "PartTy", "=", "PartVT", ".", "getTypeForEVT", "(", "Context", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "NumParts", ";", "++", "i", ")", "{", "ArgInfo", "Info", "=", "ArgInfo", "{", "MRI", ".", "createGenericVirtualRegister", "(", "getLLTForType", "(", "*", "PartTy", ",", "DL", ")", ")", ",", "PartTy", ",", "OrigArg", ".", "Flags", "}", ";", "SplitArgs", ".", "push_back", "(", "Info", ")", ";", "SplitRegs", ".", "push_back", "(", "Info", ".", "Regs", "[", "0", "]", ")", ";", "}", "PerformArgSplit", "(", "SplitRegs", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Break", "OrigArgInfo", "into", "one", "or", "more", "pieces", "the", "calling", "convention", "can", "process", ",", "returned", "in", "SplitArgs", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "4", "4", "0", "1", "\"Can't handle multple regs yet\"", "0", "1", "0", "8", "0", "0"], "File": "X86CallLowering1", "Func": "splitToValueTypes", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2949, "Length": 276, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "print_operand_reloc", "(", "FILE", "*", "file", ",", "rtx", "op", ",", "const", "char", "*", "*", "relocs", ")", "{", "enum", "mips_symbol_type", "symbol_type", ";", "const", "char", "*", "p", ";", "rtx", "base", ";", "HOST_WIDE_INT", "offset", ";", "if", "(", "!", "mips_symbolic_constant_p", "(", "op", ",", "&", "symbol_type", ")", "||", "relocs", "[", "symbol_type", "]", "==", "0", ")", "fatal_insn", "(", "\"PRINT_OPERAND, invalid operand for relocation\"", ",", "op", ")", ";", "mips_split_const", "(", "op", ",", "&", "base", ",", "&", "offset", ")", ";", "if", "(", "UNSPEC_ADDRESS_P", "(", "base", ")", ")", "op", "=", "plus_constant", "(", "UNSPEC_ADDRESS", "(", "base", ")", ",", "offset", ")", ";", "fputs", "(", "relocs", "[", "symbol_type", "]", ",", "file", ")", ";", "output_addr_const", "(", "file", ",", "op", ")", ";", "for", "(", "p", "=", "relocs", "[", "symbol_type", "]", ";", "*", "p", "!=", "0", ";", "p", "++", ")", "if", "(", "*", "p", "==", "'('", ")", "fputc", "(", "')'", ",", "file", ")", ";", "}", ""], "natrual_language": ["Print", "symbolic", "operand", "OP", ",", "which", "is", "part", "of", "a", "HIGH", "or", "LO_SUM", ".", "RELOCS", "is", "the", "array", "of", "relocations", "to", "use", "."], "TS_V_token": ["mips", "0", "\"PRINT_OPERAND, invalid operand for relocation\"", "0"], "File": "mips3", "Func": "print_operand_reloc", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2950, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Fragment", "*", "MipsGOTPLT", "::", "create", "(", ")", "{", "return", "new", "GOTPLTEntry", "(", "0", ",", "m_SectionData", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["Mips", "Mips", "0"], "File": "MipsGOTPLT", "Func": "create", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2951, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "TargetRegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["Patmos"], "File": "PatmosInstrInfo", "Func": "getRegisterInfo", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 2952, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseRegisterInfo", "::", "getRegAllocationHints", "(", "unsigned", "VirtReg", ",", "ArrayRef", "<", "MCPhysReg", ">", "Order", ",", "SmallVectorImpl", "<", "MCPhysReg", ">", "&", "Hints", ",", "const", "MachineFunction", "&", "MF", ",", "const", "VirtRegMap", "*", "VRM", ")", "const", "{", "const", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "std", "::", "pair", "<", "unsigned", ",", "unsigned", ">", "Hint", "=", "MRI", ".", "getRegAllocationHint", "(", "VirtReg", ")", ";", "unsigned", "Odd", ";", "switch", "(", "Hint", ".", "first", ")", "{", "case", "ARMRI", "::", "RegPairEven", ":", "Odd", "=", "0", ";", "break", ";", "case", "ARMRI", "::", "RegPairOdd", ":", "Odd", "=", "1", ";", "break", ";", "default", ":", "TargetRegisterInfo", "::", "getRegAllocationHints", "(", "VirtReg", ",", "Order", ",", "Hints", ",", "MF", ",", "VRM", ")", ";", "return", ";", "}", "unsigned", "PairedPhys", "=", "0", ";", "if", "(", "VRM", "&&", "VRM", "->", "hasPhys", "(", "Hint", ".", "second", ")", ")", "{", "PairedPhys", "=", "getPairedGPR", "(", "VRM", "->", "getPhys", "(", "Hint", ".", "second", ")", ",", "Odd", ",", "this", ")", ";", "if", "(", "PairedPhys", "&&", "MRI", ".", "isReserved", "(", "PairedPhys", ")", ")", "PairedPhys", "=", "0", ";", "}", "if", "(", "PairedPhys", ")", "Hints", ".", "push_back", "(", "PairedPhys", ")", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "Order", ".", "size", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "unsigned", "Reg", "=", "Order", "[", "I", "]", ";", "if", "(", "Reg", "==", "PairedPhys", "||", "(", "getEncodingValue", "(", "Reg", ")", "&", "1", ")", "!=", "Odd", ")", "continue", ";", "unsigned", "Paired", "=", "getPairedGPR", "(", "Reg", ",", "!", "Odd", ",", "this", ")", ";", "if", "(", "!", "Paired", "||", "MRI", ".", "isReserved", "(", "Paired", ")", ")", "continue", ";", "Hints", ".", "push_back", "(", "Reg", ")", ";", "}", "}", ""], "natrual_language": ["Get", "a", "list", "of", "'hint", "'", "registers", "that", "the", "register", "allocator", "should", "try", "first", "when", "allocating", "a", "physical", "register", "for", "the", "virtual", "register", "VirtReg", "."], "TS_V_token": ["ARM", "ARM", "ARMRI::RegPairEven", "0", "ARMRI::RegPairOdd", "1", "0", "0", "0", "1"], "File": "ARMBaseRegisterInfo60", "Func": "getRegAllocationHints", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2953, "Length": 263, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emit_add_sp_const", "(", "HOST_WIDE_INT", "offset", ",", "bool", "frame_related_p", ")", "{", "rtx", "to_add", "=", "GEN_INT", "(", "offset", ")", ";", "rtx", "orig_to_add", "=", "to_add", ";", "rtx_insn", "*", "insn", ";", "if", "(", "offset", "==", "0", ")", "return", ";", "if", "(", "offset", "<", "-", "32768", "||", "offset", ">", "32767", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "REG_A0", ")", ";", "rtx", "low", "=", "GEN_INT", "(", "trunc_int_for_mode", "(", "offset", ",", "HImode", ")", ")", ";", "insn", "=", "emit_insn", "(", "gen_movsi_high", "(", "reg", ",", "low", ")", ")", ";", "if", "(", "frame_related_p", ")", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "insn", "=", "emit_insn", "(", "gen_movsi_lo_sum", "(", "reg", ",", "reg", ",", "to_add", ")", ")", ";", "if", "(", "frame_related_p", ")", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "to_add", "=", "reg", ";", "}", "insn", "=", "emit_insn", "(", "gen_addsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "to_add", ")", ")", ";", "if", "(", "frame_related_p", ")", "{", "if", "(", "REG_P", "(", "to_add", ")", ")", "add_reg_note", "(", "insn", ",", "REG_FRAME_RELATED_EXPR", ",", "gen_rtx_SET", "(", "VOIDmode", ",", "stack_pointer_rtx", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "orig_to_add", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "}", ""], "natrual_language": ["Emit", "insns", "to", "increment", "the", "stack", "pointer", "by", "OFFSET", ".", "If", "FRAME_RELATED_P", ",", "set", "the", "RTX_FRAME_RELATED_P", "flag", "on", "the", "insns", ".", "Does", "nothing", "if", "the", "offset", "is", "zero", "."], "TS_V_token": ["c6x", "0", "32768", "32767", "1", "1", "1"], "File": "c6x2", "Func": "emit_add_sp_const", "Target": "c6x", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 2954, "Length": 182, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_v9branch", "(", "rtx", "op", ",", "rtx", "dest", ",", "int", "reg", ",", "int", "label", ",", "int", "reversed", ",", "int", "annul", ",", "rtx", "insn", ")", "{", "static", "char", "string", "[", "64", "]", ";", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "op", ")", ";", "enum", "machine_mode", "mode", "=", "GET_MODE", "(", "XEXP", "(", "op", ",", "0", ")", ")", ";", "rtx", "note", ";", "int", "far", ";", "char", "*", "p", ";", "far", "=", "get_attr_length", "(", "insn", ")", ">=", "3", ";", "if", "(", "reversed", "^", "far", ")", "code", "=", "reverse_condition", "(", "code", ")", ";", "gcc_assert", "(", "mode", "==", "DImode", ")", ";", "switch", "(", "code", ")", "{", "case", "NE", ":", "strcpy", "(", "string", ",", "\"brnz\"", ")", ";", "break", ";", "case", "EQ", ":", "strcpy", "(", "string", ",", "\"brz\"", ")", ";", "break", ";", "case", "GE", ":", "strcpy", "(", "string", ",", "\"brgez\"", ")", ";", "break", ";", "case", "LT", ":", "strcpy", "(", "string", ",", "\"brlz\"", ")", ";", "break", ";", "case", "LE", ":", "strcpy", "(", "string", ",", "\"brlez\"", ")", ";", "break", ";", "case", "GT", ":", "strcpy", "(", "string", ",", "\"brgz\"", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "p", "=", "strchr", "(", "string", ",", "'\\0'", ")", ";", "if", "(", "annul", "&&", "!", "far", ")", "{", "strcpy", "(", "p", ",", "\",a\"", ")", ";", "p", "+=", "2", ";", "}", "if", "(", "insn", "&&", "(", "note", "=", "find_reg_note", "(", "insn", ",", "REG_BR_PROB", ",", "NULL_RTX", ")", ")", ")", "{", "strcpy", "(", "p", ",", "(", "(", "INTVAL", "(", "XEXP", "(", "note", ",", "0", ")", ")", ">=", "REG_BR_PROB_BASE", "/", "2", ")", "^", "far", ")", "?", "\",pt\"", ":", "\",pn\"", ")", ";", "p", "+=", "3", ";", "}", "*", "p", "=", "p", "<", "string", "+", "8", "?", "'\\t'", ":", "' '", ";", "p", "++", ";", "*", "p", "++", "=", "'%'", ";", "*", "p", "++", "=", "'0'", "+", "reg", ";", "*", "p", "++", "=", "','", ";", "*", "p", "++", "=", "' '", ";", "if", "(", "far", ")", "{", "int", "veryfar", "=", "1", ",", "delta", ";", "if", "(", "INSN_ADDRESSES_SET_P", "(", ")", ")", "{", "delta", "=", "(", "INSN_ADDRESSES", "(", "INSN_UID", "(", "dest", ")", ")", "-", "INSN_ADDRESSES", "(", "INSN_UID", "(", "insn", ")", ")", ")", ";", "if", "(", "delta", ">=", "-", "260000", "&&", "delta", "<", "260000", ")", "veryfar", "=", "0", ";", "}", "strcpy", "(", "p", ",", "\".+12\\n\\t nop\\n\\t\"", ")", ";", "if", "(", "annul", "||", "!", "final_sequence", ")", "p", "[", "3", "]", "=", "'6'", ";", "p", "+=", "12", ";", "if", "(", "veryfar", ")", "{", "strcpy", "(", "p", ",", "\"b\\t\"", ")", ";", "p", "+=", "2", ";", "}", "else", "{", "strcpy", "(", "p", ",", "\"ba,pt\\t%%xcc, \"", ")", ";", "p", "+=", "13", ";", "}", "}", "*", "p", "++", "=", "'%'", ";", "*", "p", "++", "=", "'l'", ";", "*", "p", "++", "=", "'0'", "+", "label", ";", "*", "p", "++", "=", "'%'", ";", "*", "p", "++", "=", "'#'", ";", "*", "p", "=", "'\\0'", ";", "return", "string", ";", "}", ""], "natrual_language": ["Return", "the", "string", "to", "output", "a", "conditional", "branch", "to", "LABEL", ",", "testing", "register", "REG", ".", "LABEL", "is", "the", "operand", "number", "of", "the", "label", ";", "REG", "is", "the", "operand", "number", "of", "the", "reg", ".", "OP", "is", "the", "conditional", "expression", ".", "The", "mode", "of", "REG", "says", "what", "kind", "of", "comparison", "we", "made", ".", "REVERSED", "is", "non-zero", "if", "we", "should", "reverse", "the", "sense", "of", "the", "comparison", ".", "ANNUL", "is", "non-zero", "if", "we", "should", "generate", "an", "annulling", "branch", ".", "NOOP", "is", "non-zero", "if", "we", "have", "to", "follow", "this", "branch", "by", "a", "noop", "."], "TS_V_token": ["sparc", "64", "0", "3", "\"brnz\"", "\"brz\"", "\"brgez\"", "\"brlz\"", "\"brlez\"", "\"brgz\"", "\",a\"", "2", "0", "2", "\",pt\"", "\",pn\"", "3", "8", "1", "260000", "260000", "0", "\".+12\\n\\t nop\\n\\t\"", "3", "12", "\"b\\t\"", "2", "\"ba,pt\\t%%xcc, \"", "13"], "File": "sparc3", "Func": "output_v9branch", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2955, "Length": 456, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mips_adjust_cost", "(", "rtx_insn", "*", ",", "int", "dep_type", ",", "rtx_insn", "*", ",", "int", "cost", ",", "unsigned", "int", ")", "{", "if", "(", "dep_type", "!=", "0", "&&", "(", "dep_type", "!=", "REG_DEP_OUTPUT", "||", "!", "TUNE_20KC", ")", ")", "return", "0", ";", "return", "cost", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SCHED_ADJUST_COST", ".", "We", "assume", "that", "anti", "and", "output", "dependencies", "have", "no", "cost", "."], "TS_V_token": ["mips", "0", "0"], "File": "mips", "Func": "mips_adjust_cost", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2956, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "DLXRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", ")", "const", "{", "return", "DLX", "::", "FP", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["DLX", "DLX", "DLX::FP"], "File": "DLXRegisterInfo", "Func": "getFrameRegister", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2957, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "BPFInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "if", "(", "RC", "==", "&", "BPF", "::", "GPRRegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "BPF", "::", "LDD", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "else", "if", "(", "RC", "==", "&", "BPF", "::", "GPR32RegClass", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "BPF", "::", "LDW32", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "else", "llvm_unreachable", "(", "\"Can't load this register from stack slot\"", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["BPF", "BPF", "BPF::GPRRegClass", "BPF::LDD", "0", "BPF::GPR32RegClass", "BPF::LDW32", "0", "\"Can't load this register from stack slot\""], "File": "BPFInstrInfo12", "Func": "loadRegFromStackSlot", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2958, "Length": 135, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "s390_init_frame_layout", "(", "void", ")", "{", "HOST_WIDE_INT", "frame_size", ";", "int", "base_used", ";", "if", "(", "reload_completed", ")", "return", ";", "if", "(", "!", "TARGET_CPU_ZARCH", ")", "cfun", "->", "machine", "->", "split_branches_pending_p", "=", "true", ";", "do", "{", "frame_size", "=", "cfun_frame_layout", ".", "frame_size", ";", "base_used", "=", "cfun", "->", "machine", "->", "split_branches_pending_p", "||", "crtl", "->", "uses_const_pool", "||", "(", "!", "DISP_IN_RANGE", "(", "frame_size", ")", "&&", "!", "CONST_OK_FOR_K", "(", "frame_size", ")", ")", ";", "if", "(", "!", "base_used", ")", "cfun", "->", "machine", "->", "base_reg", "=", "NULL_RTX", ";", "else", "{", "int", "br", "=", "0", ";", "if", "(", "crtl", "->", "is_leaf", ")", "for", "(", "br", "=", "5", ";", "br", ">=", "2", "&&", "df_regs_ever_live_p", "(", "br", ")", ";", "br", "--", ")", ";", "cfun", "->", "machine", "->", "base_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "(", "br", ">=", "2", ")", "?", "br", ":", "BASE_REGNUM", ")", ";", "}", "s390_register_info", "(", ")", ";", "s390_frame_info", "(", ")", ";", "}", "while", "(", "frame_size", "!=", "cfun_frame_layout", ".", "frame_size", ")", ";", "}", ""], "natrual_language": ["Generate", "frame", "layout", ".", "Fills", "in", "register", "and", "frame", "data", "for", "the", "current", "function", "in", "cfun-", ">", "machine", ".", "This", "routine", "can", "be", "called", "multiple", "times", ";", "it", "will", "re-do", "the", "complete", "frame", "layout", "every", "time", "."], "TS_V_token": ["s390", "0", "5", "2", "2"], "File": "s3905", "Func": "s390_init_frame_layout", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2959, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSection", "*", "getSectionForConstant", "(", "const", "DataLayout", "&", "DL", ",", "SectionKind", "Kind", ",", "const", "Constant", "*", "C", ",", "unsigned", "&", "Align", ")", "const", "override", "{", "return", "ReadOnlySection", ";", "}", ""], "natrual_language": ["Given", "a", "constant", "with", "the", "SectionKind", ",", "return", "a", "section", "that", "it", "should", "be", "placed", "in", "."], "TS_V_token": ["TGSI"], "File": "TGSITargetObjectFile", "Func": "getSectionForConstant", "Target": "TGSI", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2960, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "arm_preferred_simd_mode", "(", "scalar_mode", "mode", ")", "{", "if", "(", "TARGET_NEON", ")", "switch", "(", "mode", ")", "{", "case", "E_HFmode", ":", "return", "TARGET_NEON_VECTORIZE_DOUBLE", "?", "V4HFmode", ":", "V8HFmode", ";", "case", "E_SFmode", ":", "return", "TARGET_NEON_VECTORIZE_DOUBLE", "?", "V2SFmode", ":", "V4SFmode", ";", "case", "E_SImode", ":", "return", "TARGET_NEON_VECTORIZE_DOUBLE", "?", "V2SImode", ":", "V4SImode", ";", "case", "E_HImode", ":", "return", "TARGET_NEON_VECTORIZE_DOUBLE", "?", "V4HImode", ":", "V8HImode", ";", "case", "E_QImode", ":", "return", "TARGET_NEON_VECTORIZE_DOUBLE", "?", "V8QImode", ":", "V16QImode", ";", "case", "E_DImode", ":", "if", "(", "!", "TARGET_NEON_VECTORIZE_DOUBLE", ")", "return", "V2DImode", ";", "break", ";", "default", ":", ";", "}", "if", "(", "TARGET_REALLY_IWMMXT", ")", "switch", "(", "mode", ")", "{", "case", "E_SImode", ":", "return", "V2SImode", ";", "case", "E_HImode", ":", "return", "V4HImode", ";", "case", "E_QImode", ":", "return", "V8QImode", ";", "default", ":", ";", "}", "if", "(", "TARGET_HAVE_MVE", ")", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "return", "V16QImode", ";", "case", "E_HImode", ":", "return", "V8HImode", ";", "case", "E_SImode", ":", "return", "V4SImode", ";", "default", ":", ";", "}", "if", "(", "TARGET_HAVE_MVE_FLOAT", ")", "switch", "(", "mode", ")", "{", "case", "E_HFmode", ":", "return", "V8HFmode", ";", "case", "E_SFmode", ":", "return", "V4SFmode", ";", "default", ":", ";", "}", "return", "word_mode", ";", "}", ""], "natrual_language": ["Use", "the", "option", "-mvectorize-with-neon-double", "to", "override", "the", "use", "of", "quardword", "registers", "when", "autovectorizing", "for", "Neon", ",", "at", "least", "until", "multiple", "vector", "widths", "are", "supported", "properly", "by", "the", "middle-end", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_preferred_simd_mode", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2961, "Length": 175, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86CallLowering", "::", "lowerFormalArguments", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Function", "&", "F", ",", "ArrayRef", "<", "unsigned", ">", "VRegs", ")", "const", "{", "return", "F", ".", "arg_empty", "(", ")", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "VRegs", ",", "for", "GlobalISel", "."], "TS_V_token": ["X86", "X86"], "File": "X86CallLowering4", "Func": "lowerFormalArguments", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2962, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64TargetLowering", "::", "getAddr", "(", "NodeTy", "*", "N", ",", "SelectionDAG", "&", "DAG", ",", "unsigned", "Flags", ")", "const", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"AArch64TargetLowering::getAddr\\n\"", ")", ";", "SDLoc", "DL", "(", "N", ")", ";", "EVT", "Ty", "=", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ";", "SDValue", "Hi", "=", "getTargetNode", "(", "N", ",", "Ty", ",", "DAG", ",", "AArch64II", "::", "MO_PAGE", "|", "Flags", ")", ";", "SDValue", "Lo", "=", "getTargetNode", "(", "N", ",", "Ty", ",", "DAG", ",", "AArch64II", "::", "MO_PAGEOFF", "|", "AArch64II", "::", "MO_NC", "|", "Flags", ")", ";", "SDValue", "ADRP", "=", "DAG", ".", "getNode", "(", "AArch64ISD", "::", "ADRP", ",", "DL", ",", "Ty", ",", "Hi", ")", ";", "return", "DAG", ".", "getNode", "(", "AArch64ISD", "::", "ADDlow", ",", "DL", ",", "Ty", ",", "ADRP", ",", "Lo", ")", ";", "}", ""], "natrual_language": ["Return", "the", "address", "accessed", "by", "this", "recipe", "."], "TS_V_token": ["AArch64", "AArch64", "\"AArch64TargetLowering::getAddr\\n\"", "AArch64II::MO_PAGE", "AArch64II::MO_PAGEOFF", "AArch64II::MO_NC", "AArch64ISD::ADRP", "AArch64ISD::ADDlow"], "File": "AArch64ISelLowering106", "Func": "getAddr", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2963, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "LC3RegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["LC3", "LC3"], "File": "LC3InstrInfo", "Func": "getRegisterInfo", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2964, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "HexagonTargetLowering", "::", "getPICJumpTableRelocBase", "(", "SDValue", "Table", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "int", "Idx", "=", "cast", "<", "JumpTableSDNode", ">", "(", "Table", ")", "->", "getIndex", "(", ")", ";", "EVT", "VT", "=", "Table", ".", "getValueType", "(", ")", ";", "SDValue", "T", "=", "DAG", ".", "getTargetJumpTable", "(", "Idx", ",", "VT", ",", "HexagonII", "::", "MO_PCREL", ")", ";", "return", "DAG", ".", "getNode", "(", "HexagonISD", "::", "AT_PCREL", ",", "SDLoc", "(", "Table", ")", ",", "VT", ",", "T", ")", ";", "}", ""], "natrual_language": ["Returns", "relocation", "base", "for", "the", "given", "PIC", "jumptable", "."], "TS_V_token": ["Hexagon", "Hexagon", "HexagonII::MO_PCREL", "HexagonISD::AT_PCREL"], "File": "HexagonISelLowering (2)", "Func": "getPICJumpTableRelocBase", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 2965, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_function_arg_regno_p", "(", "int", "regno", ")", "{", "int", "i", ";", "const", "int", "*", "parm_regs", ";", "if", "(", "TARGET_MPX", "&&", "BND_REGNO_P", "(", "regno", ")", ")", "return", "true", ";", "if", "(", "!", "TARGET_64BIT", ")", "{", "if", "(", "TARGET_MACHO", ")", "return", "(", "regno", "<", "REGPARM_MAX", "||", "(", "TARGET_SSE", "&&", "SSE_REGNO_P", "(", "regno", ")", "&&", "!", "fixed_regs", "[", "regno", "]", ")", ")", ";", "else", "return", "(", "regno", "<", "REGPARM_MAX", "||", "(", "TARGET_MMX", "&&", "MMX_REGNO_P", "(", "regno", ")", "&&", "(", "regno", "<", "FIRST_MMX_REG", "+", "MMX_REGPARM_MAX", ")", ")", "||", "(", "TARGET_SSE", "&&", "SSE_REGNO_P", "(", "regno", ")", "&&", "(", "regno", "<", "FIRST_SSE_REG", "+", "SSE_REGPARM_MAX", ")", ")", ")", ";", "}", "if", "(", "TARGET_SSE", "&&", "SSE_REGNO_P", "(", "regno", ")", "&&", "(", "regno", "<", "FIRST_SSE_REG", "+", "SSE_REGPARM_MAX", ")", ")", "return", "true", ";", "if", "(", "ix86_abi", "==", "SYSV_ABI", "&&", "regno", "==", "AX_REG", ")", "return", "true", ";", "if", "(", "ix86_abi", "==", "MS_ABI", ")", "parm_regs", "=", "x86_64_ms_abi_int_parameter_registers", ";", "else", "parm_regs", "=", "x86_64_int_parameter_registers", ";", "for", "(", "i", "=", "0", ";", "i", "<", "(", "ix86_abi", "==", "MS_ABI", "?", "X86_64_MS_REGPARM_MAX", ":", "X86_64_REGPARM_MAX", ")", ";", "i", "++", ")", "if", "(", "regno", "==", "parm_regs", "[", "i", "]", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "when", "register", "may", "be", "used", "to", "pass", "function", "parameters", "."], "TS_V_token": ["i386", "0"], "File": "i3864", "Func": "ix86_function_arg_regno_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2966, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "function_expander", "::", "rotate_inputs_left", "(", "unsigned", "int", "start", ",", "unsigned", "int", "end", ")", "{", "rtx", "new_last", "=", "args", "[", "start", "]", ";", "for", "(", "unsigned", "int", "i", "=", "start", ";", "i", "<", "end", "-", "1", ";", "++", "i", ")", "args", "[", "i", "]", "=", "args", "[", "i", "+", "1", "]", ";", "args", "[", "end", "-", "1", "]", "=", "new_last", ";", "}", ""], "natrual_language": ["Rotate", "inputs", "args", "[", "START", ":", "END", "]", "one", "position", "to", "the", "left", ",", "so", "that", "args", "[", "START", "]", "becomes", "args", "[", "END", "-", "1", "]", "."], "TS_V_token": ["aarch64", "1", "1", "1"], "File": "aarch64-sve-builtins", "Func": "rotate_inputs_left", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2967, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "nvptx_wpropagate", "(", "bool", "pre_p", ",", "bool", "is_call", ",", "basic_block", "block", ",", "rtx_insn", "*", "insn", ")", "{", "wcast_data_t", "data", ";", "data", ".", "base", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "data", ".", "offset", "=", "0", ";", "data", ".", "ptr", "=", "NULL_RTX", ";", "bool", "empty", "=", "nvptx_propagate", "(", "is_call", ",", "block", ",", "insn", ",", "pre_p", "?", "PM_read", ":", "PM_write", ",", "wprop_gen", ",", "&", "data", ")", ";", "gcc_assert", "(", "empty", "==", "!", "data", ".", "offset", ")", ";", "if", "(", "data", ".", "offset", ")", "{", "rtx", "init", "=", "gen_rtx_SET", "(", "data", ".", "base", ",", "worker_bcast_sym", ")", ";", "emit_insn_after", "(", "init", ",", "insn", ")", ";", "if", "(", "worker_bcast_size", "<", "data", ".", "offset", ")", "worker_bcast_size", "=", "data", ".", "offset", ";", "}", "return", "empty", ";", "}", ""], "natrual_language": ["Spill", "or", "fill", "live", "state", "that", "is", "live", "at", "start", "of", "BLOCK", ".", "PRE_P", "indicates", "if", "this", "is", "just", "before", "partitioned", "mode", "(", "do", "spill", ")", ",", "or", "just", "after", "it", "starts", "(", "do", "fill", ")", ".", "Sequence", "is", "inserted", "just", "after", "INSN", ".", "IS_CALL", "and", "return", "as", "for", "nvptx_propagate", "."], "TS_V_token": ["nvptx", "0"], "File": "nvptx5", "Func": "nvptx_wpropagate", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 2968, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "LanaiSubtarget", "*", "getSubtargetImpl", "(", "const", "llvm", "::", "Function", "&", "Fn", ")", "const", "override", "{", "return", "&", "Subtarget", ";", "}", ""], "natrual_language": ["Virtual", "method", "implemented", "by", "subclasses", "that", "returns", "a", "reference", "to", "that", "target", "'s", "TargetSubtargetInfo-derived", "member", "variable", "."], "TS_V_token": ["Lanai", "Lanai"], "File": "LanaiTargetMachine11", "Func": "getSubtargetImpl", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2969, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "xstormy16_mode_dependent_address_p", "(", "const_rtx", "x", ",", "addr_space_t", "as", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "LEGITIMATE_ADDRESS_CONST_INT_P", "(", "x", ",", "0", ")", "&&", "!", "LEGITIMATE_ADDRESS_CONST_INT_P", "(", "x", ",", "6", ")", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "LEGITIMATE_ADDRESS_INTEGER_P", "(", "XEXP", "(", "x", ",", "1", ")", ",", "0", ")", "&&", "!", "LEGITIMATE_ADDRESS_INTEGER_P", "(", "XEXP", "(", "x", ",", "1", ")", ",", "6", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "memory", "address", "X", "(", "an", "RTX", ")", "can", "have", "different", "meanings", "depending", "on", "the", "machine", "mode", "of", "the", "memory", "reference", "it", "is", "used", "for", "or", "if", "the", "address", "is", "valid", "for", "some", "modes", "but", "not", "others", ".", "Autoincrement", "and", "autodecrement", "addresses", "typically", "have", "mode-dependent", "effects", "because", "the", "amount", "of", "the", "increment", "or", "decrement", "is", "the", "size", "of", "the", "operand", "being", "addressed", ".", "Some", "machines", "have", "other", "mode-dependent", "addresses", ".", "Many", "RISC", "machines", "have", "no", "mode-dependent", "addresses", ".", "You", "may", "assume", "that", "ADDR", "is", "a", "valid", "address", "for", "the", "machine", ".", "On", "this", "chip", ",", "this", "is", "true", "if", "the", "address", "is", "valid", "with", "an", "offset", "of", "0", "but", "not", "of", "6", ",", "because", "in", "that", "case", "it", "can", "not", "be", "used", "as", "an", "address", "for", "DImode", "or", "DFmode", ",", "or", "if", "the", "address", "is", "a", "post-increment", "or", "pre-decrement", "address", "."], "TS_V_token": ["stormy16", "0", "6", "1", "0", "1", "6"], "File": "stormy16", "Func": "xstormy16_mode_dependent_address_p", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2970, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "XCoreRegisterInfo", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "prior", "(", "MBB", ".", "end", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "bool", "FP", "=", "hasFP", "(", "MF", ")", ";", "if", "(", "FP", ")", "{", "unsigned", "FramePtr", "=", "XCore", "::", "R10", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "XCore", "::", "SETSP_1r", ")", ")", ".", "addReg", "(", "FramePtr", ")", ";", "}", "int", "FrameSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "assert", "(", "FrameSize", "%", "4", "==", "0", "&&", "\"Misaligned frame size\"", ")", ";", "FrameSize", "/=", "4", ";", "bool", "isU6", "=", "isImmU6", "(", "FrameSize", ")", ";", "if", "(", "!", "isU6", "&&", "!", "isImmU16", "(", "FrameSize", ")", ")", "{", "std", "::", "string", "msg", ";", "raw_string_ostream", "Msg", "(", "msg", ")", ";", "Msg", "<<", "\"emitEpilogue Frame size too big: \"", "<<", "FrameSize", ";", "llvm_report_error", "(", "Msg", ".", "str", "(", ")", ")", ";", "}", "if", "(", "FrameSize", ")", "{", "XCoreFunctionInfo", "*", "XFI", "=", "MF", ".", "getInfo", "<", "XCoreFunctionInfo", ">", "(", ")", ";", "if", "(", "FP", ")", "{", "int", "FPSpillOffset", "=", "MFI", "->", "getObjectOffset", "(", "XFI", "->", "getFPSpillSlot", "(", ")", ")", ";", "FPSpillOffset", "+=", "FrameSize", "*", "4", ";", "loadFromStack", "(", "MBB", ",", "MBBI", ",", "XCore", "::", "R10", ",", "FPSpillOffset", ",", "dl", ")", ";", "}", "bool", "restoreLR", "=", "XFI", "->", "getUsesLR", "(", ")", ";", "if", "(", "restoreLR", "&&", "MFI", "->", "getObjectOffset", "(", "XFI", "->", "getLRSpillSlot", "(", ")", ")", "!=", "0", ")", "{", "int", "LRSpillOffset", "=", "MFI", "->", "getObjectOffset", "(", "XFI", "->", "getLRSpillSlot", "(", ")", ")", ";", "LRSpillOffset", "+=", "FrameSize", "*", "4", ";", "loadFromStack", "(", "MBB", ",", "MBBI", ",", "XCore", "::", "LR", ",", "LRSpillOffset", ",", "dl", ")", ";", "restoreLR", "=", "false", ";", "}", "if", "(", "restoreLR", ")", "{", "assert", "(", "MBBI", "->", "getOpcode", "(", ")", "==", "XCore", "::", "RETSP_u6", "||", "MBBI", "->", "getOpcode", "(", ")", "==", "XCore", "::", "RETSP_lu6", ")", ";", "int", "Opcode", "=", "(", "isU6", ")", "?", "XCore", "::", "RETSP_u6", ":", "XCore", "::", "RETSP_lu6", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Opcode", ")", ")", ".", "addImm", "(", "FrameSize", ")", ";", "MBB", ".", "erase", "(", "MBBI", ")", ";", "}", "else", "{", "int", "Opcode", "=", "(", "isU6", ")", "?", "XCore", "::", "LDAWSP_ru6_RRegs", ":", "XCore", "::", "LDAWSP_lru6_RRegs", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Opcode", ")", ",", "XCore", "::", "SP", ")", ".", "addImm", "(", "FrameSize", ")", ";", "}", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["XCore", "XCore", "XCore::R10", "XCore::SETSP_1r", "4", "0", "\"Misaligned frame size\"", "4", "\"emitEpilogue Frame size too big: \"", "XCore", "XCore", "4", "XCore::R10", "0", "4", "XCore::LR", "XCore::RETSP_u6", "XCore::RETSP_lu6", "XCore::RETSP_u6", "XCore::RETSP_lu6", "XCore::LDAWSP_ru6_RRegs", "XCore::LDAWSP_lru6_RRegs", "XCore::SP"], "File": "XCoreRegisterInfo20", "Func": "emitEpilogue", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2971, "Length": 406, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SITargetLowering", "::", "bundleInstWithWaitcnt", "(", "MachineInstr", "&", "MI", ")", "const", "{", "MachineBasicBlock", "*", "MBB", "=", "MI", ".", "getParent", "(", ")", ";", "const", "SIInstrInfo", "*", "TII", "=", "getSubtarget", "(", ")", "->", "getInstrInfo", "(", ")", ";", "auto", "I", "=", "MI", ".", "getIterator", "(", ")", ";", "auto", "E", "=", "std", "::", "next", "(", "I", ")", ";", "BuildMI", "(", "*", "MBB", ",", "E", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "AMDGPU", "::", "S_WAITCNT", ")", ")", ".", "addImm", "(", "0", ")", ";", "MIBundleBuilder", "Bundler", "(", "*", "MBB", ",", "I", ",", "E", ")", ";", "finalizeBundle", "(", "*", "MBB", ",", "Bundler", ".", "begin", "(", ")", ")", ";", "}", ""], "natrual_language": ["Insert", "MI", "into", "a", "BUNDLE", "with", "an", "S_WAITCNT", "0", "immediately", "following", "it", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "AMDGPU::S_WAITCNT", "0"], "File": "SIISelLowering10", "Func": "bundleInstWithWaitcnt", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2972, "Length": 105, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isImm", "(", ")", "const", "{", "return", "sz", "<=", "BlkdropImmLimit", ";", "}", ""], "natrual_language": ["isImm", "-", "Is", "this", "an", "immediate", "operand", "?"], "TS_V_token": ["TVM"], "File": "TVMStackFixup", "Func": "isImm", "Target": "TVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2973, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "RCPair", "ARMTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "TargetRegisterInfo", "*", "TRI", ",", "StringRef", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'l'", ":", "if", "(", "Subtarget", "->", "isThumb", "(", ")", ")", "return", "RCPair", "(", "0U", ",", "&", "ARM", "::", "tGPRRegClass", ")", ";", "return", "RCPair", "(", "0U", ",", "&", "ARM", "::", "GPRRegClass", ")", ";", "case", "'h'", ":", "if", "(", "Subtarget", "->", "isThumb", "(", ")", ")", "return", "RCPair", "(", "0U", ",", "&", "ARM", "::", "hGPRRegClass", ")", ";", "break", ";", "case", "'r'", ":", "if", "(", "Subtarget", "->", "isThumb1Only", "(", ")", ")", "return", "RCPair", "(", "0U", ",", "&", "ARM", "::", "tGPRRegClass", ")", ";", "return", "RCPair", "(", "0U", ",", "&", "ARM", "::", "GPRRegClass", ")", ";", "case", "'w'", ":", "if", "(", "VT", "==", "MVT", "::", "Other", ")", "break", ";", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "return", "RCPair", "(", "0U", ",", "&", "ARM", "::", "SPRRegClass", ")", ";", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "64", ")", "return", "RCPair", "(", "0U", ",", "&", "ARM", "::", "DPRRegClass", ")", ";", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "128", ")", "return", "RCPair", "(", "0U", ",", "&", "ARM", "::", "QPRRegClass", ")", ";", "break", ";", "case", "'x'", ":", "if", "(", "VT", "==", "MVT", "::", "Other", ")", "break", ";", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "return", "RCPair", "(", "0U", ",", "&", "ARM", "::", "SPR_8RegClass", ")", ";", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "64", ")", "return", "RCPair", "(", "0U", ",", "&", "ARM", "::", "DPR_8RegClass", ")", ";", "if", "(", "VT", ".", "getSizeInBits", "(", ")", "==", "128", ")", "return", "RCPair", "(", "0U", ",", "&", "ARM", "::", "QPR_8RegClass", ")", ";", "break", ";", "case", "'t'", ":", "if", "(", "VT", "==", "MVT", "::", "f32", "||", "VT", "==", "MVT", "::", "i32", ")", "return", "RCPair", "(", "0U", ",", "&", "ARM", "::", "SPRRegClass", ")", ";", "break", ";", "}", "}", "if", "(", "StringRef", "(", "\"{cc}\"", ")", ".", "equals_lower", "(", "Constraint", ")", ")", "return", "std", "::", "make_pair", "(", "unsigned", "(", "ARM", "::", "CPSR", ")", ",", "&", "ARM", "::", "CCRRegClass", ")", ";", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "TRI", ",", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["ARM", "ARM", "1", "0", "0U", "ARM::tGPRRegClass", "0U", "ARM::GPRRegClass", "0U", "ARM::hGPRRegClass", "0U", "ARM::tGPRRegClass", "0U", "ARM::GPRRegClass", "MVT::Other", "MVT::f32", "0U", "ARM::SPRRegClass", "64", "0U", "ARM::DPRRegClass", "128", "0U", "ARM::QPRRegClass", "MVT::Other", "MVT::f32", "0U", "ARM::SPR_8RegClass", "64", "0U", "ARM::DPR_8RegClass", "128", "0U", "ARM::QPR_8RegClass", "MVT::f32", "MVT::i32", "0U", "ARM::SPRRegClass", "\"{cc}\"", "ARM::CPSR", "ARM::CCRRegClass"], "File": "ARMISelLowering108", "Func": "getRegForInlineAsmConstraint", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2974, "Length": 354, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSymbol", "*", "LanaiMCInstLower", "::", "GetExternalSymbolSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", "{", "return", "Printer", ".", "GetExternalSymbolSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "MCSymbol", "for", "the", "specified", "ExternalSymbol", "."], "TS_V_token": ["Lanai", "Lanai"], "File": "LanaiMCInstLower", "Func": "GetExternalSymbolSymbol", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2975, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "enableMachineScheduler", "(", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Enable", "the", "MachineScheduler", "pass", "for", "all", "X86", "subtargets", "."], "TS_V_token": ["RI5CY"], "File": "RISCVSubtarget", "Func": "enableMachineScheduler", "Target": "RI5CY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2976, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "printInstruction", "(", "MI", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVInstPrinter (2)", "Func": "printInst", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2977, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "bank_switch_p", "(", "tree", "node", "ATTRIBUTE_UNUSED", ")", "{", "tree", "list", "=", "M32C_ATTRIBUTES", "(", "node", ")", ";", "while", "(", "list", ")", "{", "if", "(", "is_attribute_p", "(", "\"bank_switch\"", ",", "TREE_PURPOSE", "(", "list", ")", ")", ")", "return", "1", ";", "list", "=", "TREE_CHAIN", "(", "list", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Returns", "TRUE", "if", "the", "given", "tree", "has", "the", "``", "bank_switch", "''", "attribute", "."], "TS_V_token": ["m32c", "\"bank_switch\"", "1", "0"], "File": "m32c", "Func": "bank_switch_p", "Target": "m32c", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2978, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "frame_pointer_required_p", "(", ")", "{", "return", "(", "current_function_calls_alloca", "||", "current_function_args_info", ".", "nregs", "==", "0", "||", "current_function_varargs", "||", "get_frame_size", "(", ")", ">", "0", ")", ";", "}", ""], "natrual_language": ["Return", "1", "if", "frame", "pointer", "for", "current", "function", "required", "."], "TS_V_token": ["avr", "0", "0"], "File": "avr2", "Func": "frame_pointer_required_p", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2979, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rank_for_reorder", "(", "const", "void", "*", "x", ",", "const", "void", "*", "y", ")", "{", "rtx_insn", "*", "tmp", "=", "*", "(", "rtx_insn", "*", "const", "*", ")", "y", ";", "rtx_insn", "*", "tmp2", "=", "*", "(", "rtx_insn", "*", "const", "*", ")", "x", ";", "if", "(", "SCHED_GROUP_P", "(", "tmp", ")", "!=", "SCHED_GROUP_P", "(", "tmp2", ")", ")", "return", "SCHED_GROUP_P", "(", "tmp2", ")", "?", "1", ":", "-", "1", ";", "return", "INSN_LUID", "(", "tmp", ")", "-", "INSN_LUID", "(", "tmp2", ")", ";", "}", ""], "natrual_language": ["Comparison", "function", "for", "ready", "queue", "sorting", "."], "TS_V_token": ["sh", "1", "1"], "File": "sh", "Func": "rank_for_reorder", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2980, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "LanaiTargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "const", "SDLoc", "&", "DL", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_Lanai32", ")", ";", "SDValue", "Flag", ";", "SmallVector", "<", "SDValue", ",", "4", ">", "RetOps", "(", "1", ",", "Chain", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Can only return in registers!\"", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "VA", ".", "getLocReg", "(", ")", ",", "OutVals", "[", "i", "]", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "VA", ".", "getLocReg", "(", ")", ",", "VA", ".", "getLocVT", "(", ")", ")", ")", ";", "}", "if", "(", "DAG", ".", "getMachineFunction", "(", ")", ".", "getFunction", "(", ")", "->", "hasStructRetAttr", "(", ")", ")", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "LanaiMachineFunctionInfo", "*", "LanaiMFI", "=", "MF", ".", "getInfo", "<", "LanaiMachineFunctionInfo", ">", "(", ")", ";", "unsigned", "Reg", "=", "LanaiMFI", "->", "getSRetReturnReg", "(", ")", ";", "assert", "(", "Reg", "&&", "\"SRetReturnReg should have been set in LowerFormalArguments().\"", ")", ";", "SDValue", "Val", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "DL", ",", "Reg", ",", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "Lanai", "::", "RV", ",", "Val", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "Lanai", "::", "RV", ",", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ")", ")", ";", "}", "RetOps", "[", "0", "]", "=", "Chain", ";", "unsigned", "Opc", "=", "LanaiISD", "::", "RET_FLAG", ";", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "RetOps", ".", "push_back", "(", "Flag", ")", ";", "return", "DAG", ".", "getNode", "(", "Opc", ",", "DL", ",", "MVT", "::", "Other", ",", "ArrayRef", "<", "SDValue", ">", "(", "&", "RetOps", "[", "0", "]", ",", "RetOps", ".", "size", "(", ")", ")", ")", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "outgoing", "return", "values", ",", "described", "by", "the", "Outs", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["Lanai", "Lanai", "ISD::OutputArg", "16", "Lanai", "4", "1", "0", "\"Can only return in registers!\"", "1", "Lanai", "Lanai", "Lanai", "Lanai", "\"SRetReturnReg should have been set in LowerFormalArguments().\"", "Lanai::RV", "1", "Lanai::RV", "0", "LanaiISD::RET_FLAG", "MVT::Other", "0"], "File": "LanaiISelLowering1", "Func": "LowerReturn", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2981, "Length": 389, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "Constant", "*", "getValue", "(", ")", "const", "{", "return", "Value", ";", "}", ""], "natrual_language": ["Return", "the", "contained", "Value", "."], "TS_V_token": ["J2"], "File": "J2ConstantPoolValue", "Func": "getValue", "Target": "J2", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2982, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "alpha_function_value", "(", "const_tree", "valtype", ",", "const_tree", "fn_decl_or_type", ",", "bool", ")", "{", "return", "alpha_function_value_1", "(", "valtype", ",", "fn_decl_or_type", ",", "VOIDmode", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FUNCTION_VALUE", "."], "TS_V_token": ["alpha"], "File": "alpha", "Func": "alpha_function_value", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2983, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "get_element_number", "(", "tree", "vec_type", ",", "tree", "arg", ")", "{", "unsigned", "HOST_WIDE_INT", "elt", ",", "max", "=", "TYPE_VECTOR_SUBPARTS", "(", "vec_type", ")", "-", "1", ";", "if", "(", "!", "tree_fits_uhwi_p", "(", "arg", ")", "||", "(", "elt", "=", "tree_to_uhwi", "(", "arg", ")", ",", "elt", ">", "max", ")", ")", "{", "error", "(", "\"selector must be an integer constant in the range 0..%wi\"", ",", "max", ")", ";", "return", "0", ";", "}", "return", "elt", ";", "}", ""], "natrual_language": ["Return", "the", "integer", "constant", "in", "ARG", ".", "Constrain", "it", "to", "be", "in", "the", "range", "of", "the", "subparts", "of", "VEC_TYPE", ";", "issue", "an", "error", "if", "not", "."], "TS_V_token": ["rs6000", "1", "\"selector must be an integer constant in the range 0..%wi\"", "0"], "File": "rs60004", "Func": "get_element_number", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2984, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_expand_prologue", "(", "void", ")", "{", "aarch64_layout_frame", "(", ")", ";", "HOST_WIDE_INT", "frame_size", "=", "cfun", "->", "machine", "->", "frame", ".", "frame_size", ";", "HOST_WIDE_INT", "initial_adjust", "=", "cfun", "->", "machine", "->", "frame", ".", "initial_adjust", ";", "HOST_WIDE_INT", "callee_adjust", "=", "cfun", "->", "machine", "->", "frame", ".", "callee_adjust", ";", "HOST_WIDE_INT", "final_adjust", "=", "cfun", "->", "machine", "->", "frame", ".", "final_adjust", ";", "HOST_WIDE_INT", "callee_offset", "=", "cfun", "->", "machine", "->", "frame", ".", "callee_offset", ";", "unsigned", "reg1", "=", "cfun", "->", "machine", "->", "frame", ".", "wb_candidate1", ";", "unsigned", "reg2", "=", "cfun", "->", "machine", "->", "frame", ".", "wb_candidate2", ";", "rtx_insn", "*", "insn", ";", "if", "(", "aarch64_return_address_signing_enabled", "(", ")", ")", "{", "insn", "=", "emit_insn", "(", "gen_pacisp", "(", ")", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_TOGGLE_RA_MANGLE", ",", "const0_rtx", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "if", "(", "flag_stack_usage_info", ")", "current_function_static_stack_size", "=", "frame_size", ";", "if", "(", "flag_stack_check", "==", "STATIC_BUILTIN_STACK_CHECK", ")", "{", "if", "(", "crtl", "->", "is_leaf", "&&", "!", "cfun", "->", "calls_alloca", ")", "{", "if", "(", "frame_size", ">", "PROBE_INTERVAL", "&&", "frame_size", ">", "STACK_CHECK_PROTECT", ")", "aarch64_emit_probe_stack_range", "(", "STACK_CHECK_PROTECT", ",", "frame_size", "-", "STACK_CHECK_PROTECT", ")", ";", "}", "else", "if", "(", "frame_size", ">", "0", ")", "aarch64_emit_probe_stack_range", "(", "STACK_CHECK_PROTECT", ",", "frame_size", ")", ";", "}", "aarch64_sub_sp", "(", "IP0_REGNUM", ",", "initial_adjust", ",", "true", ")", ";", "if", "(", "callee_adjust", "!=", "0", ")", "aarch64_push_regs", "(", "reg1", ",", "reg2", ",", "callee_adjust", ")", ";", "if", "(", "frame_pointer_needed", ")", "{", "if", "(", "callee_adjust", "==", "0", ")", "aarch64_save_callee_saves", "(", "DImode", ",", "callee_offset", ",", "R29_REGNUM", ",", "R30_REGNUM", ",", "false", ")", ";", "insn", "=", "emit_insn", "(", "gen_add3_insn", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "callee_offset", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "emit_insn", "(", "gen_stack_tie", "(", "stack_pointer_rtx", ",", "hard_frame_pointer_rtx", ")", ")", ";", "}", "aarch64_save_callee_saves", "(", "DImode", ",", "callee_offset", ",", "R0_REGNUM", ",", "R30_REGNUM", ",", "callee_adjust", "!=", "0", "||", "frame_pointer_needed", ")", ";", "aarch64_save_callee_saves", "(", "DFmode", ",", "callee_offset", ",", "V0_REGNUM", ",", "V31_REGNUM", ",", "callee_adjust", "!=", "0", "||", "frame_pointer_needed", ")", ";", "aarch64_sub_sp", "(", "IP1_REGNUM", ",", "final_adjust", ",", "!", "frame_pointer_needed", ")", ";", "}", ""], "natrual_language": ["Generate", "the", "prologue", "instructions", "for", "entry", "into", "a", "function", ".", "Establish", "the", "stack", "frame", "by", "decreasing", "the", "stack", "pointer", "with", "a", "properly", "calculated", "size", "and", ",", "if", "necessary", ",", "create", "a", "frame", "record", "filled", "with", "the", "values", "of", "LR", "and", "previous", "frame", "pointer", ".", "The", "current", "FP", "is", "also", "set", "up", "if", "it", "is", "in", "use", "."], "TS_V_token": ["aarch64", "1", "0", "0", "0", "1", "0", "0"], "File": "aarch644", "Func": "aarch64_expand_prologue", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2985, "Length": 314, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "OpenRISCRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "Reserved", ".", "set", "(", "OpenRISC", "::", "SP", ")", ";", "Reserved", ".", "set", "(", "OpenRISC", "::", "PC", ")", ";", "Reserved", ".", "set", "(", "OpenRISC", "::", "ZERO", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "OpenRISC", "::", "FP", ")", ";", "return", "Reserved", ";", "}", ""], "natrual_language": ["getReservedRegs", "-", "Returns", "a", "bitset", "indexed", "by", "physical", "register", "number", "indicating", "if", "a", "register", "is", "a", "special", "register", "that", "has", "particular", "uses", "and", "should", "be", "considered", "unavailable", "at", "all", "times", ",", "e.g", "."], "TS_V_token": ["OpenRISC", "OpenRISC", "OpenRISC::SP", "OpenRISC::PC", "OpenRISC::ZERO", "OpenRISC::FP"], "File": "OpenRISCRegisterInfo", "Func": "getReservedRegs", "Target": "OpenRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2986, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SPURegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "RegScavenger", "*", "RS", ")", "const", "{", "unsigned", "i", "=", "0", ";", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "DebugLoc", "dl", "=", "II", "->", "getDebugLoc", "(", ")", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "\"Instr doesn't have FrameIndex operand!\"", ")", ";", "}", "MachineOperand", "&", "SPOp", "=", "MI", ".", "getOperand", "(", "i", ")", ";", "int", "FrameIndex", "=", "SPOp", ".", "getIndex", "(", ")", ";", "int", "Offset", "=", "MFI", "->", "getObjectOffset", "(", "FrameIndex", ")", ";", "unsigned", "OpNo", "=", "1", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "SPU", "::", "AIr32", "||", "MI", ".", "getOpcode", "(", ")", "==", "SPU", "::", "ILAr32", ")", "OpNo", "=", "2", ";", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "Offset", "+=", "MO", ".", "getImm", "(", ")", "+", "MFI", "->", "getStackSize", "(", ")", "+", "SPUFrameLowering", "::", "minStackSize", "(", ")", ";", "assert", "(", "(", "Offset", "&", "0xf", ")", "==", "0", "&&", "\"16-byte alignment violated in eliminateFrameIndex\"", ")", ";", "SPOp", ".", "ChangeToRegister", "(", "SPU", "::", "R1", ",", "false", ")", ";", "if", "(", "(", "MI", ".", "getOpcode", "(", ")", "==", "SPU", "::", "AIr32", "&&", "!", "isInt", "<", "10", ">", "(", "Offset", ")", ")", "||", "!", "isInt", "<", "14", ">", "(", "Offset", ")", ")", "{", "int", "newOpcode", "=", "convertDFormToXForm", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "unsigned", "tmpReg", "=", "findScratchRegister", "(", "II", ",", "RS", ",", "&", "SPU", "::", "R32CRegClass", ",", "SPAdj", ")", ";", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "SPU", "::", "ILr32", ")", ",", "tmpReg", ")", ".", "addImm", "(", "Offset", ")", ";", "BuildMI", "(", "MBB", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "newOpcode", ")", ",", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "addReg", "(", "tmpReg", ",", "RegState", "::", "Kill", ")", ".", "addReg", "(", "SPU", "::", "R1", ")", ";", "MBB", ".", "erase", "(", "II", ")", ";", "}", "else", "{", "MO", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["CellSPU", "SPU", "0", "\"Instr doesn't have FrameIndex operand!\"", "1", "SPU::AIr32", "SPU::ILAr32", "2", "SPU", "0xf", "0", "\"16-byte alignment violated in eliminateFrameIndex\"", "SPU::R1", "SPU::AIr32", "10", "14", "SPU::R32CRegClass", "SPU::ILr32", "0", "SPU::R1"], "File": "SPURegisterInfo11", "Func": "eliminateFrameIndex", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2987, "Length": 369, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "if", "(", "(", "Count", "%", "4", ")", "!=", "0", ")", "return", "false", ";", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "<", "Count", ";", "i", "+=", "4", ")", "OW", "->", "Write32", "(", "0x00400000", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["Patmos", "4", "0", "0", "4", "0x00400000"], "File": "PatmosAsmBackend", "Func": "writeNopData", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 2988, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "OR1KInstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["OR1K", "OR1K"], "File": "OR1KSubtarget1", "Func": "getInstrInfo", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2989, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "CCAssignFn", "*", "AMDGPUCallLowering", "::", "CCAssignFnForCall", "(", "CallingConv", "::", "ID", "CC", ",", "bool", "IsVarArg", ")", "{", "switch", "(", "CC", ")", "{", "case", "CallingConv", "::", "AMDGPU_VS", ":", "case", "CallingConv", "::", "AMDGPU_GS", ":", "case", "CallingConv", "::", "AMDGPU_PS", ":", "case", "CallingConv", "::", "AMDGPU_CS", ":", "case", "CallingConv", "::", "AMDGPU_HS", ":", "case", "CallingConv", "::", "AMDGPU_ES", ":", "case", "CallingConv", "::", "AMDGPU_LS", ":", "return", "CC_AMDGPU", ";", "case", "CallingConv", "::", "C", ":", "case", "CallingConv", "::", "Fast", ":", "case", "CallingConv", "::", "Cold", ":", "return", "CC_AMDGPU_Func", ";", "case", "CallingConv", "::", "AMDGPU_KERNEL", ":", "case", "CallingConv", "::", "SPIR_KERNEL", ":", "default", ":", "report_fatal_error", "(", "\"Unsupported calling convention for call\"", ")", ";", "}", "}", ""], "natrual_language": ["Selects", "the", "correct", "CCAssignFn", "for", "a", "given", "CallingConvention", "value", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "\"Unsupported calling convention for call\""], "File": "AMDGPUISelLowering (2)2", "Func": "CCAssignFnForCall", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 2990, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "Triple", "&", "getTargetTriple", "(", ")", "const", "{", "return", "TargetTriple", ";", "}", ""], "natrual_language": ["Get", "the", "target", "triple", "which", "is", "a", "string", "describing", "the", "target", "host", "."], "TS_V_token": ["Z80"], "File": "Z80Subtarget2", "Func": "getTargetTriple", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 2991, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCFrameLowering", "::", "determineFrameLayout", "(", "MachineFunction", "&", "MF", ",", "bool", "UpdateMF", ",", "bool", "UseEstimate", ")", "const", "{", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "FrameSize", "=", "UseEstimate", "?", "MFI", ".", "estimateStackSize", "(", "MF", ")", ":", "MFI", ".", "getStackSize", "(", ")", ";", "unsigned", "TargetAlign", "=", "getStackAlignment", "(", ")", ";", "unsigned", "MaxAlign", "=", "MFI", ".", "getMaxAlignment", "(", ")", ";", "unsigned", "AlignMask", "=", "std", "::", "max", "(", "MaxAlign", ",", "TargetAlign", ")", "-", "1", ";", "const", "PPCRegisterInfo", "*", "RegInfo", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "LR", "=", "RegInfo", "->", "getRARegister", "(", ")", ";", "bool", "DisableRedZone", "=", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "Attribute", "::", "NoRedZone", ")", ";", "bool", "CanUseRedZone", "=", "!", "MFI", ".", "hasVarSizedObjects", "(", ")", "&&", "!", "MFI", ".", "adjustsStack", "(", ")", "&&", "!", "MustSaveLR", "(", "MF", ",", "LR", ")", "&&", "!", "RegInfo", "->", "hasBasePointer", "(", "MF", ")", ";", "bool", "FitsInRedZone", "=", "FrameSize", "<=", "Subtarget", ".", "getRedZoneSize", "(", ")", ";", "if", "(", "!", "DisableRedZone", "&&", "CanUseRedZone", "&&", "FitsInRedZone", ")", "{", "if", "(", "UpdateMF", ")", "MFI", ".", "setStackSize", "(", "0", ")", ";", "return", "0", ";", "}", "unsigned", "maxCallFrameSize", "=", "MFI", ".", "getMaxCallFrameSize", "(", ")", ";", "unsigned", "minCallFrameSize", "=", "getLinkageSize", "(", ")", ";", "maxCallFrameSize", "=", "std", "::", "max", "(", "maxCallFrameSize", ",", "minCallFrameSize", ")", ";", "if", "(", "MFI", ".", "hasVarSizedObjects", "(", ")", ")", "maxCallFrameSize", "=", "(", "maxCallFrameSize", "+", "AlignMask", ")", "&", "~", "AlignMask", ";", "if", "(", "UpdateMF", ")", "MFI", ".", "setMaxCallFrameSize", "(", "maxCallFrameSize", ")", ";", "FrameSize", "+=", "maxCallFrameSize", ";", "FrameSize", "=", "(", "FrameSize", "+", "AlignMask", ")", "&", "~", "AlignMask", ";", "if", "(", "UpdateMF", ")", "MFI", ".", "setStackSize", "(", "FrameSize", ")", ";", "return", "FrameSize", ";", "}", ""], "natrual_language": ["Determine", "the", "frame", "layout", "but", "do", "not", "update", "the", "machine", "function", "."], "TS_V_token": ["PowerPC", "PPC", "1", "PPC", "0", "0"], "File": "PPCFrameLowering11", "Func": "determineFrameLayout", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2992, "Length": 267, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_expand_compare_and_swap", "(", "rtx", "operands", "[", "]", ")", "{", "rtx", "bval", ",", "bdst", ",", "rval", ",", "mem", ",", "oldval", ",", "newval", ",", "is_weak", ",", "mod_s", ",", "mod_f", ",", "x", ";", "machine_mode", "mode", ";", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ")", ";", "bval", "=", "operands", "[", "0", "]", ";", "rval", "=", "operands", "[", "1", "]", ";", "mem", "=", "operands", "[", "2", "]", ";", "oldval", "=", "operands", "[", "3", "]", ";", "newval", "=", "operands", "[", "4", "]", ";", "is_weak", "=", "operands", "[", "5", "]", ";", "mod_s", "=", "operands", "[", "6", "]", ";", "mod_f", "=", "operands", "[", "7", "]", ";", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "if", "(", "TARGET_HAVE_LDACQ", "&&", "is_mm_acquire", "(", "memmodel_from_int", "(", "INTVAL", "(", "mod_f", ")", ")", ")", "&&", "is_mm_release", "(", "memmodel_from_int", "(", "INTVAL", "(", "mod_s", ")", ")", ")", ")", "mod_s", "=", "GEN_INT", "(", "MEMMODEL_ACQ_REL", ")", ";", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "case", "E_HImode", ":", "rval", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "oldval", "=", "convert_modes", "(", "SImode", ",", "mode", ",", "oldval", ",", "true", ")", ";", "case", "E_SImode", ":", "if", "(", "!", "arm_add_operand", "(", "oldval", ",", "SImode", ")", ")", "oldval", "=", "force_reg", "(", "SImode", ",", "oldval", ")", ";", "break", ";", "case", "E_DImode", ":", "if", "(", "!", "cmpdi_operand", "(", "oldval", ",", "mode", ")", ")", "oldval", "=", "force_reg", "(", "mode", ",", "oldval", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "TARGET_THUMB1", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "gen", "=", "gen_atomic_compare_and_swapt1qi_1", ";", "break", ";", "case", "E_HImode", ":", "gen", "=", "gen_atomic_compare_and_swapt1hi_1", ";", "break", ";", "case", "E_SImode", ":", "gen", "=", "gen_atomic_compare_and_swapt1si_1", ";", "break", ";", "case", "E_DImode", ":", "gen", "=", "gen_atomic_compare_and_swapt1di_1", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "else", "{", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "gen", "=", "gen_atomic_compare_and_swap32qi_1", ";", "break", ";", "case", "E_HImode", ":", "gen", "=", "gen_atomic_compare_and_swap32hi_1", ";", "break", ";", "case", "E_SImode", ":", "gen", "=", "gen_atomic_compare_and_swap32si_1", ";", "break", ";", "case", "E_DImode", ":", "gen", "=", "gen_atomic_compare_and_swap32di_1", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "bdst", "=", "TARGET_THUMB1", "?", "bval", ":", "gen_rtx_REG", "(", "CC_Zmode", ",", "CC_REGNUM", ")", ";", "emit_insn", "(", "gen", "(", "bdst", ",", "rval", ",", "mem", ",", "oldval", ",", "newval", ",", "is_weak", ",", "mod_s", ",", "mod_f", ")", ")", ";", "if", "(", "mode", "==", "QImode", "||", "mode", "==", "HImode", ")", "emit_move_insn", "(", "operands", "[", "1", "]", ",", "gen_lowpart", "(", "mode", ",", "rval", ")", ")", ";", "if", "(", "TARGET_THUMB1", ")", "emit_insn", "(", "gen_cstoresi_eq0_thumb1", "(", "bval", ",", "bdst", ")", ")", ";", "else", "{", "x", "=", "gen_rtx_EQ", "(", "SImode", ",", "bdst", ",", "const0_rtx", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "bval", ",", "x", ")", ")", ";", "}", "}", ""], "natrual_language": ["Expand", "a", "compare", "and", "swap", "pattern", "."], "TS_V_token": ["arm", "0", "1", "2", "3", "4", "5", "6", "7", "1"], "File": "arm7", "Func": "arm_expand_compare_and_swap", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 2993, "Length": 442, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "ARMTargetLowering", "::", "getOptimalMemOpType", "(", "uint64_t", "Size", ",", "unsigned", "DstAlign", ",", "unsigned", "SrcAlign", ",", "bool", "IsMemset", ",", "bool", "ZeroMemset", ",", "bool", "MemcpyStrSrc", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "Function", "*", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "(", "!", "IsMemset", "||", "ZeroMemset", ")", "&&", "Subtarget", "->", "hasNEON", "(", ")", "&&", "!", "F", "->", "getAttributes", "(", ")", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "NoImplicitFloat", ")", ")", "{", "bool", "Fast", ";", "if", "(", "Size", ">=", "16", "&&", "(", "memOpAlign", "(", "SrcAlign", ",", "DstAlign", ",", "16", ")", "||", "(", "allowsUnalignedMemoryAccesses", "(", "MVT", "::", "v2f64", ",", "&", "Fast", ")", "&&", "Fast", ")", ")", ")", "{", "return", "MVT", "::", "v2f64", ";", "}", "else", "if", "(", "Size", ">=", "8", "&&", "(", "memOpAlign", "(", "SrcAlign", ",", "DstAlign", ",", "8", ")", "||", "(", "allowsUnalignedMemoryAccesses", "(", "MVT", "::", "f64", ",", "&", "Fast", ")", "&&", "Fast", ")", ")", ")", "{", "return", "MVT", "::", "f64", ";", "}", "}", "if", "(", "Size", ">=", "4", ")", "return", "MVT", "::", "i32", ";", "else", "if", "(", "Size", ">=", "2", ")", "return", "MVT", "::", "i16", ";", "return", "MVT", "::", "Other", ";", "}", ""], "natrual_language": ["It", "returns", "EVT", ":", ":Other", "if", "the", "type", "should", "be", "determined", "using", "generic", "target-independent", "logic", "."], "TS_V_token": ["ARM", "ARM", "16", "16", "MVT::v2f64", "MVT::v2f64", "8", "8", "MVT::f64", "MVT::f64", "4", "MVT::i32", "2", "MVT::i16", "MVT::Other"], "File": "ARMISelLowering (2)1", "Func": "getOptimalMemOpType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2994, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86AsmParser", "::", "checkTargetMatchPredicate", "(", "MCInst", "&", "Inst", ")", "{", "unsigned", "Opc", "=", "Inst", ".", "getOpcode", "(", ")", ";", "const", "MCInstrDesc", "&", "MCID", "=", "MII", ".", "get", "(", "Opc", ")", ";", "if", "(", "ForcedVEXEncoding", "==", "VEXEncoding_EVEX", "&&", "(", "MCID", ".", "TSFlags", "&", "X86II", "::", "EncodingMask", ")", "!=", "X86II", "::", "EVEX", ")", "return", "Match_Unsupported", ";", "if", "(", "(", "ForcedVEXEncoding", "==", "VEXEncoding_VEX", "||", "ForcedVEXEncoding", "==", "VEXEncoding_VEX2", "||", "ForcedVEXEncoding", "==", "VEXEncoding_VEX3", ")", "&&", "(", "MCID", ".", "TSFlags", "&", "X86II", "::", "EncodingMask", ")", "!=", "X86II", "::", "VEX", ")", "return", "Match_Unsupported", ";", "if", "(", "MCID", ".", "TSFlags", "&", "X86II", "::", "ExplicitVEXPrefix", "&&", "(", "ForcedVEXEncoding", "!=", "VEXEncoding_VEX", "&&", "ForcedVEXEncoding", "!=", "VEXEncoding_VEX2", "&&", "ForcedVEXEncoding", "!=", "VEXEncoding_VEX3", ")", ")", "return", "Match_Unsupported", ";", "switch", "(", "Opc", ")", "{", "case", "X86", "::", "VCVTSD2SIZrm_Int", ":", "case", "X86", "::", "VCVTSD2SI64Zrm_Int", ":", "case", "X86", "::", "VCVTSS2SIZrm_Int", ":", "case", "X86", "::", "VCVTSS2SI64Zrm_Int", ":", "case", "X86", "::", "VCVTTSD2SIZrm", ":", "case", "X86", "::", "VCVTTSD2SIZrm_Int", ":", "case", "X86", "::", "VCVTTSD2SI64Zrm", ":", "case", "X86", "::", "VCVTTSD2SI64Zrm_Int", ":", "case", "X86", "::", "VCVTTSS2SIZrm", ":", "case", "X86", "::", "VCVTTSS2SIZrm_Int", ":", "case", "X86", "::", "VCVTTSS2SI64Zrm", ":", "case", "X86", "::", "VCVTTSS2SI64Zrm_Int", ":", "if", "(", "ForcedVEXEncoding", "!=", "VEXEncoding_EVEX", ")", "return", "Match_Unsupported", ";", "break", ";", "}", "return", "Match_Success", ";", "}", ""], "natrual_language": ["checkTargetMatchPredicate", "-", "Validate", "the", "instruction", "match", "against", "any", "complex", "target", "predicates", "not", "expressible", "via", "match", "classes", "."], "TS_V_token": ["X86", "X86", "X86II::EncodingMask", "X86II::EVEX", "X86II::EncodingMask", "X86II::VEX", "X86II::ExplicitVEXPrefix", "X86::VCVTSD2SIZrm_Int", "X86::VCVTSD2SI64Zrm_Int", "X86::VCVTSS2SIZrm_Int", "X86::VCVTSS2SI64Zrm_Int", "X86::VCVTTSD2SIZrm", "X86::VCVTTSD2SIZrm_Int", "X86::VCVTTSD2SI64Zrm", "X86::VCVTTSD2SI64Zrm_Int", "X86::VCVTTSS2SIZrm", "X86::VCVTTSS2SIZrm_Int", "X86::VCVTTSS2SI64Zrm", "X86::VCVTTSS2SI64Zrm_Int"], "File": "X86AsmParser118", "Func": "checkTargetMatchPredicate", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2995, "Length": 195, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "avr_legitimate_address_p", "(", "machine_mode", "mode", ",", "rtx", "x", ",", "bool", "strict", ")", "{", "bool", "ok", "=", "CONSTANT_ADDRESS_P", "(", "x", ")", ";", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "REG", ":", "ok", "=", "avr_reg_ok_for_addr_p", "(", "x", ",", "ADDR_SPACE_GENERIC", ",", "MEM", ",", "strict", ")", ";", "if", "(", "strict", "&&", "GET_MODE_SIZE", "(", "mode", ")", ">", "4", "&&", "REG_X", "==", "REGNO", "(", "x", ")", ")", "{", "ok", "=", "false", ";", "}", "break", ";", "case", "POST_INC", ":", "case", "PRE_DEC", ":", "ok", "=", "avr_reg_ok_for_addr_p", "(", "XEXP", "(", "x", ",", "0", ")", ",", "ADDR_SPACE_GENERIC", ",", "GET_CODE", "(", "x", ")", ",", "strict", ")", ";", "break", ";", "case", "PLUS", ":", "{", "rtx", "reg", "=", "XEXP", "(", "x", ",", "0", ")", ";", "rtx", "op1", "=", "XEXP", "(", "x", ",", "1", ")", ";", "if", "(", "REG_P", "(", "reg", ")", "&&", "CONST_INT_P", "(", "op1", ")", "&&", "INTVAL", "(", "op1", ")", ">=", "0", ")", "{", "bool", "fit", "=", "IN_RANGE", "(", "INTVAL", "(", "op1", ")", ",", "0", ",", "MAX_LD_OFFSET", "(", "mode", ")", ")", ";", "if", "(", "fit", ")", "{", "ok", "=", "(", "!", "strict", "||", "avr_reg_ok_for_addr_p", "(", "reg", ",", "ADDR_SPACE_GENERIC", ",", "PLUS", ",", "strict", ")", ")", ";", "if", "(", "reg", "==", "frame_pointer_rtx", "||", "reg", "==", "arg_pointer_rtx", ")", "{", "ok", "=", "true", ";", "}", "}", "else", "if", "(", "frame_pointer_needed", "&&", "reg", "==", "frame_pointer_rtx", ")", "{", "ok", "=", "true", ";", "}", "}", "}", "break", ";", "default", ":", "break", ";", "}", "if", "(", "AVR_TINY", "&&", "CONSTANT_ADDRESS_P", "(", "x", ")", ")", "{", "ok", "=", "avr_address_tiny_absdata_p", "(", "x", ",", "mode", ")", ";", "}", "if", "(", "avr_log", ".", "legitimate_address_p", ")", "{", "avr_edump", "(", "\"\\n%?: ret=%d, mode=%m strict=%d \"", "\"reload_completed=%d reload_in_progress=%d %s:\"", ",", "ok", ",", "mode", ",", "strict", ",", "reload_completed", ",", "reload_in_progress", ",", "reg_renumber", "?", "\"(reg_renumber)\"", ":", "\"\"", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", "&&", "IN_RANGE", "(", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ",", "0", ",", "MAX_LD_OFFSET", "(", "mode", ")", ")", "&&", "reg_renumber", ")", "{", "avr_edump", "(", "\"(r%d ---> r%d)\"", ",", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", ",", "true_regnum", "(", "XEXP", "(", "x", ",", "0", ")", ")", ")", ";", "}", "avr_edump", "(", "\"\\n%r\\n\"", ",", "x", ")", ";", "}", "return", "ok", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "X", "(", "an", "RTX", ")", "is", "a", "legitimate", "memory", "address", "on", "the", "target", "machine", "for", "a", "memory", "operand", "of", "mode", "MODE", "."], "TS_V_token": ["avr", "4", "0", "0", "1", "0", "0", "\"\\n%?: ret=%d, mode=%m strict=%d \"", "\"reload_completed=%d reload_in_progress=%d %s:\"", "\"(reg_renumber)\"", "\"\"", "0", "1", "1", "0", "\"(r%d ---> r%d)\"", "0", "0", "\"\\n%r\\n\""], "File": "avr", "Func": "avr_legitimate_address_p", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 2996, "Length": 366, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "BPFPreserveDIType", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** preserve debuginfo type **********\\n\"", ")", ";", "M", "=", "F", ".", "getParent", "(", ")", ";", "if", "(", "!", "M", ")", "return", "false", ";", "if", "(", "M", "->", "debug_compile_units", "(", ")", ".", "empty", "(", ")", ")", "return", "false", ";", "return", "doTransformation", "(", "F", ")", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["BPF", "BPF", "\"********** preserve debuginfo type **********\\n\""], "File": "BPFPreserveDIType8", "Func": "runOnFunction", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 2997, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "AArch64TargetLowering", "::", "getIRStackGuard", "(", "IRBuilderBase", "&", "IRB", ")", "const", "{", "if", "(", "Subtarget", "->", "isTargetAndroid", "(", ")", ")", "return", "UseTlsOffset", "(", "IRB", ",", "0x28", ")", ";", "if", "(", "Subtarget", "->", "isTargetFuchsia", "(", ")", ")", "return", "UseTlsOffset", "(", "IRB", ",", "-", "0x10", ")", ";", "return", "TargetLowering", "::", "getIRStackGuard", "(", "IRB", ")", ";", "}", ""], "natrual_language": ["If", "the", "target", "has", "a", "standard", "location", "for", "the", "stack", "protector", "cookie", ",", "returns", "the", "address", "of", "that", "location", "."], "TS_V_token": ["AArch64", "AArch64", "0x28", "0x10"], "File": "AArch64ISelLowering (2)2", "Func": "getIRStackGuard", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2998, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMElfTargetObjectFile", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "const", "ARMBaseTargetMachine", "&", "ARM_TM", "=", "static_cast", "<", "const", "ARMBaseTargetMachine", "&", ">", "(", "TM", ")", ";", "bool", "isAAPCS_ABI", "=", "ARM_TM", ".", "TargetABI", "==", "ARMBaseTargetMachine", "::", "ARMABI", "::", "ARM_ABI_AAPCS", ";", "TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "InitializeELF", "(", "isAAPCS_ABI", ")", ";", "if", "(", "isAAPCS_ABI", ")", "{", "LSDASection", "=", "nullptr", ";", "}", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARMABI::ARM_ABI_AAPCS"], "File": "ARMTargetObjectFile5", "Func": "Initialize", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 2999, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_expand_vector_init_one_var", "(", "bool", "mmx_ok", ",", "machine_mode", "mode", ",", "rtx", "target", ",", "rtx", "vals", ",", "int", "one_var", ")", "{", "rtx", "var", "=", "XVECEXP", "(", "vals", ",", "0", ",", "one_var", ")", ";", "machine_mode", "wmode", ";", "rtx", "const_vec", ",", "x", ";", "const_vec", "=", "copy_rtx", "(", "vals", ")", ";", "XVECEXP", "(", "const_vec", ",", "0", ",", "one_var", ")", "=", "CONST0_RTX", "(", "GET_MODE_INNER", "(", "mode", ")", ")", ";", "const_vec", "=", "gen_rtx_CONST_VECTOR", "(", "mode", ",", "XVEC", "(", "const_vec", ",", "0", ")", ")", ";", "switch", "(", "mode", ")", "{", "case", "V2DFmode", ":", "case", "V2DImode", ":", "case", "V2SFmode", ":", "case", "V2SImode", ":", "return", "false", ";", "case", "V4DImode", ":", "if", "(", "!", "TARGET_64BIT", ")", "return", "false", ";", "case", "V4DFmode", ":", "case", "V8SFmode", ":", "case", "V8SImode", ":", "case", "V16HImode", ":", "case", "V32QImode", ":", "case", "V4SFmode", ":", "case", "V4SImode", ":", "case", "V8HImode", ":", "case", "V4HImode", ":", "break", ";", "case", "V16QImode", ":", "if", "(", "TARGET_SSE4_1", ")", "break", ";", "wmode", "=", "V8HImode", ";", "goto", "widen", ";", "case", "V8QImode", ":", "wmode", "=", "V4HImode", ";", "goto", "widen", ";", "widen", ":", "x", "=", "XVECEXP", "(", "vals", ",", "0", ",", "one_var", "^", "1", ")", ";", "if", "(", "one_var", "&", "1", ")", "{", "var", "=", "convert_modes", "(", "HImode", ",", "QImode", ",", "var", ",", "true", ")", ";", "var", "=", "expand_simple_binop", "(", "HImode", ",", "ASHIFT", ",", "var", ",", "GEN_INT", "(", "8", ")", ",", "NULL_RTX", ",", "1", ",", "OPTAB_LIB_WIDEN", ")", ";", "x", "=", "GEN_INT", "(", "INTVAL", "(", "x", ")", "&", "0xff", ")", ";", "}", "else", "{", "var", "=", "convert_modes", "(", "HImode", ",", "QImode", ",", "var", ",", "true", ")", ";", "x", "=", "gen_int_mode", "(", "INTVAL", "(", "x", ")", "<<", "8", ",", "HImode", ")", ";", "}", "if", "(", "x", "!=", "const0_rtx", ")", "var", "=", "expand_simple_binop", "(", "HImode", ",", "IOR", ",", "var", ",", "x", ",", "var", ",", "1", ",", "OPTAB_LIB_WIDEN", ")", ";", "x", "=", "gen_reg_rtx", "(", "wmode", ")", ";", "emit_move_insn", "(", "x", ",", "gen_lowpart", "(", "wmode", ",", "const_vec", ")", ")", ";", "ix86_expand_vector_set", "(", "mmx_ok", ",", "x", ",", "var", ",", "one_var", ">>", "1", ")", ";", "emit_move_insn", "(", "target", ",", "gen_lowpart", "(", "mode", ",", "x", ")", ")", ";", "return", "true", ";", "default", ":", "return", "false", ";", "}", "emit_move_insn", "(", "target", ",", "const_vec", ")", ";", "ix86_expand_vector_set", "(", "mmx_ok", ",", "target", ",", "var", ",", "one_var", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "ix86_expand_vector_init", ".", "Store", "into", "TARGET", "a", "vector", "consisting", "of", "the", "values", "in", "VALS", ".", "It", "is", "known", "that", "all", "elements", "except", "ONE_VAR", "are", "constants", ".", "Return", "true", "if", "successful", "."], "TS_V_token": ["i386", "0", "0", "0", "0", "1", "1", "8", "1", "0xff", "8", "1", "1"], "File": "i3864", "Func": "ix86_expand_vector_init_one_var", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3000, "Length": 364, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "CCAssignFn", "*", "X86FastISel", "::", "CCAssignFnForCall", "(", "unsigned", "CC", ",", "bool", "isTaillCall", ")", "{", "if", "(", "Subtarget", "->", "is64Bit", "(", ")", ")", "{", "if", "(", "Subtarget", "->", "isTargetWin64", "(", ")", ")", "return", "CC_X86_Win64_C", ";", "else", "if", "(", "CC", "==", "CallingConv", "::", "Fast", "&&", "isTaillCall", ")", "return", "CC_X86_64_TailCall", ";", "else", "return", "CC_X86_64_C", ";", "}", "if", "(", "CC", "==", "CallingConv", "::", "X86_FastCall", ")", "return", "CC_X86_32_FastCall", ";", "else", "if", "(", "CC", "==", "CallingConv", "::", "Fast", ")", "return", "CC_X86_32_FastCC", ";", "else", "return", "CC_X86_32_C", ";", "}", ""], "natrual_language": ["Selects", "the", "correct", "CCAssignFn", "for", "a", "given", "CallingConvention", "value", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86"], "File": "X86FastISel41", "Func": "CCAssignFnForCall", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3001, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["Hexagon"], "File": "HexagonFixupHwLoops2", "Func": "getAnalysisUsage", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3002, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SMLoc", "getStartLoc", "(", ")", "const", "override", "{", "return", "StartLoc", ";", "}", ""], "natrual_language": ["getStartLoc", "-", "Get", "the", "location", "of", "the", "first", "token", "of", "this", "operand", "."], "TS_V_token": ["ARM"], "File": "ARMAsmParser (2)", "Func": "getStartLoc", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3003, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "visitCallInst", "(", "CallInst", "&", "I", ")", "{", "if", "(", "!", "I", ".", "getCalledFunction", "(", ")", ")", "return", ";", "StringRef", "Name", "=", "I", ".", "getCalledFunction", "(", ")", "->", "getName", "(", ")", ";", "if", "(", "Name", "==", "\"llvm.AMDGPU.tex\"", ")", "{", "ReplaceTexIntrinsic", "(", "I", ",", "false", ",", "TexSign", ",", "\"llvm.R600.tex\"", ",", "\"llvm.R600.texc\"", ")", ";", "return", ";", "}", "if", "(", "Name", "==", "\"llvm.AMDGPU.txl\"", ")", "{", "ReplaceTexIntrinsic", "(", "I", ",", "true", ",", "TexSign", ",", "\"llvm.R600.txl\"", ",", "\"llvm.R600.txlc\"", ")", ";", "return", ";", "}", "if", "(", "Name", "==", "\"llvm.AMDGPU.txb\"", ")", "{", "ReplaceTexIntrinsic", "(", "I", ",", "true", ",", "TexSign", ",", "\"llvm.R600.txb\"", ",", "\"llvm.R600.txbc\"", ")", ";", "return", ";", "}", "if", "(", "Name", "==", "\"llvm.AMDGPU.txf\"", ")", "{", "ReplaceTXF", "(", "I", ")", ";", "return", ";", "}", "if", "(", "Name", "==", "\"llvm.AMDGPU.txq\"", ")", "{", "ReplaceTexIntrinsic", "(", "I", ",", "false", ",", "TexQSign", ",", "\"llvm.R600.txq\"", ",", "\"llvm.R600.txq\"", ")", ";", "return", ";", "}", "if", "(", "Name", "==", "\"llvm.AMDGPU.ddx\"", ")", "{", "ReplaceTexIntrinsic", "(", "I", ",", "false", ",", "TexSign", ",", "\"llvm.R600.ddx\"", ",", "\"llvm.R600.ddx\"", ")", ";", "return", ";", "}", "if", "(", "Name", "==", "\"llvm.AMDGPU.ddy\"", ")", "{", "ReplaceTexIntrinsic", "(", "I", ",", "false", ",", "TexSign", ",", "\"llvm.R600.ddy\"", ",", "\"llvm.R600.ddy\"", ")", ";", "return", ";", "}", "}", ""], "natrual_language": ["CallInst", "simplification", "."], "TS_V_token": ["R600", "\"llvm.AMDGPU.tex\"", "\"llvm.R600.tex\"", "\"llvm.R600.texc\"", "\"llvm.AMDGPU.txl\"", "\"llvm.R600.txl\"", "\"llvm.R600.txlc\"", "\"llvm.AMDGPU.txb\"", "\"llvm.R600.txb\"", "\"llvm.R600.txbc\"", "\"llvm.AMDGPU.txf\"", "\"llvm.AMDGPU.txq\"", "\"llvm.R600.txq\"", "\"llvm.R600.txq\"", "\"llvm.AMDGPU.ddx\"", "\"llvm.R600.ddx\"", "\"llvm.R600.ddx\"", "\"llvm.AMDGPU.ddy\"", "\"llvm.R600.ddy\"", "\"llvm.R600.ddy\""], "File": "R600TextureIntrinsicsReplacer", "Func": "visitCallInst", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3004, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nios2_option_override", "(", "void", ")", "{", "unsigned", "int", "i", ";", "SUBTARGET_OVERRIDE_OPTIONS", ";", "if", "(", "flag_pic", "&&", "!", "TARGET_LINUX_ABI", ")", "sorry", "(", "\"position-independent code requires the Linux ABI\"", ")", ";", "if", "(", "flag_pic", "&&", "stack_limit_rtx", "&&", "GET_CODE", "(", "stack_limit_rtx", ")", "==", "SYMBOL_REF", ")", "sorry", "(", "\"PIC support for -fstack-limit-symbol\"", ")", ";", "init_machine_status", "=", "&", "nios2_init_machine_status", ";", "nios2_section_threshold", "=", "(", "global_options_set", ".", "x_g_switch_value", "?", "g_switch_value", ":", "NIOS2_DEFAULT_GVALUE", ")", ";", "if", "(", "nios2_gpopt_option", "==", "gpopt_unspecified", ")", "{", "if", "(", "flag_pic", ")", "nios2_gpopt_option", "=", "gpopt_none", ";", "else", "nios2_gpopt_option", "=", "gpopt_local", ";", "}", "if", "(", "!", "TARGET_HAS_MUL", "&&", "TARGET_HAS_MULX", ")", "target_flags", "&=", "~", "MASK_HAS_MULX", ";", "if", "(", "!", "TARGET_ARCH_R2", ")", "{", "if", "(", "TARGET_HAS_BMX", ")", "error", "(", "\"BMX instructions are only supported with R2 architecture\"", ")", ";", "if", "(", "TARGET_HAS_CDX", ")", "error", "(", "\"CDX instructions are only supported with R2 architecture\"", ")", ";", "}", "if", "(", "TARGET_ARCH_R2", "&&", "TARGET_BIG_ENDIAN", ")", "error", "(", "\"R2 architecture is little-endian only\"", ")", ";", "nios2_init_fpu_configs", "(", ")", ";", "if", "(", "nios2_custom_fpu_cfg_string", "&&", "*", "nios2_custom_fpu_cfg_string", ")", "nios2_handle_custom_fpu_cfg", "(", "nios2_custom_fpu_cfg_string", ",", "NULL", ",", "false", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "nios2_fpu_insn", ")", ";", "i", "++", ")", "nios2_handle_custom_fpu_insn_option", "(", "i", ")", ";", "nios2_custom_check_insns", "(", ")", ";", "target_option_default_node", "=", "target_option_current_node", "=", "build_target_option_node", "(", "&", "global_options", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_OPTION_OVERRIDE", "."], "TS_V_token": ["nios2", "\"position-independent code requires the Linux ABI\"", "\"PIC support for -fstack-limit-symbol\"", "\"BMX instructions are only supported with R2 architecture\"", "\"CDX instructions are only supported with R2 architecture\"", "\"R2 architecture is little-endian only\"", "0"], "File": "nios23", "Func": "nios2_option_override", "Target": "nios2", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3005, "Length": 185, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "forceScalarizeMaskedScatter", "(", "VectorType", "*", "VTy", ",", "Align", "Alignment", ")", "{", "return", "forceScalarizeMaskedGather", "(", "VTy", ",", "Alignment", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "forces", "scalarizing", "of", "llvm.masked.scatter", "intrinsics", "."], "TS_V_token": ["ARM"], "File": "ARMTargetTransformInfo (2)1", "Func": "forceScalarizeMaskedScatter", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3006, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "ARMBaseRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "const", "ARMSubtarget", "&", "STI", "=", "MF", "->", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "bool", "UseSplitPush", "=", "STI", ".", "splitFramePushPop", "(", ")", ";", "const", "MCPhysReg", "*", "RegList", "=", "STI", ".", "isTargetDarwin", "(", ")", "?", "CSR_iOS_SaveList", ":", "(", "UseSplitPush", "?", "CSR_AAPCS_SplitPush_SaveList", ":", "CSR_AAPCS_SaveList", ")", ";", "const", "Function", "*", "F", "=", "MF", "->", "getFunction", "(", ")", ";", "if", "(", "F", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "GHC", ")", "{", "return", "CSR_NoRegs_SaveList", ";", "}", "else", "if", "(", "F", "->", "hasFnAttribute", "(", "\"interrupt\"", ")", ")", "{", "if", "(", "STI", ".", "isMClass", "(", ")", ")", "{", "return", "UseSplitPush", "?", "CSR_AAPCS_SplitPush_SaveList", ":", "CSR_AAPCS_SaveList", ";", "}", "else", "if", "(", "F", "->", "getFnAttribute", "(", "\"interrupt\"", ")", ".", "getValueAsString", "(", ")", "==", "\"FIQ\"", ")", "{", "return", "CSR_FIQ_SaveList", ";", "}", "else", "{", "return", "CSR_GenericInt_SaveList", ";", "}", "}", "if", "(", "STI", ".", "isTargetDarwin", "(", ")", "&&", "STI", ".", "getTargetLowering", "(", ")", "->", "supportSwiftError", "(", ")", "&&", "F", "->", "getAttributes", "(", ")", ".", "hasAttrSomewhere", "(", "Attribute", "::", "SwiftError", ")", ")", "return", "CSR_iOS_SwiftError_SaveList", ";", "if", "(", "STI", ".", "isTargetDarwin", "(", ")", "&&", "F", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "CXX_FAST_TLS", ")", "return", "MF", "->", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", "->", "isSplitCSR", "(", ")", "?", "CSR_iOS_CXX_TLS_PE_SaveList", ":", "CSR_iOS_CXX_TLS_SaveList", ";", "return", "RegList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "\"interrupt\"", "\"interrupt\"", "\"FIQ\"", "ARM"], "File": "ARMBaseRegisterInfo54", "Func": "getCalleeSavedRegs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3007, "Length": 216, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "SystemZInstrInfo", "::", "convertToThreeAddress", "(", "MachineInstr", "&", "MI", ",", "LiveVariables", "*", "LV", ")", "const", "{", "MachineBasicBlock", "*", "MBB", "=", "MI", ".", "getParent", "(", ")", ";", "if", "(", "LogicOp", "And", "=", "interpretAndImmediate", "(", "MI", ".", "getOpcode", "(", ")", ")", ")", "{", "uint64_t", "Imm", "=", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "<<", "And", ".", "ImmLSB", ";", "Imm", "|=", "allOnes", "(", "And", ".", "RegSize", ")", "&", "~", "(", "allOnes", "(", "And", ".", "ImmSize", ")", "<<", "And", ".", "ImmLSB", ")", ";", "unsigned", "Start", ",", "End", ";", "if", "(", "isRxSBGMask", "(", "Imm", ",", "And", ".", "RegSize", ",", "Start", ",", "End", ")", ")", "{", "unsigned", "NewOpcode", ";", "if", "(", "And", ".", "RegSize", "==", "64", ")", "{", "NewOpcode", "=", "SystemZ", "::", "RISBG", ";", "if", "(", "STI", ".", "hasMiscellaneousExtensions", "(", ")", ")", "NewOpcode", "=", "SystemZ", "::", "RISBGN", ";", "}", "else", "{", "NewOpcode", "=", "SystemZ", "::", "RISBMux", ";", "Start", "&=", "31", ";", "End", "&=", "31", ";", "}", "MachineOperand", "&", "Dest", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "MachineOperand", "&", "Src", "=", "MI", ".", "getOperand", "(", "1", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "*", "MBB", ",", "MI", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "get", "(", "NewOpcode", ")", ")", ".", "add", "(", "Dest", ")", ".", "addReg", "(", "0", ")", ".", "addReg", "(", "Src", ".", "getReg", "(", ")", ",", "getKillRegState", "(", "Src", ".", "isKill", "(", ")", ")", ",", "Src", ".", "getSubReg", "(", ")", ")", ".", "addImm", "(", "Start", ")", ".", "addImm", "(", "End", "+", "128", ")", ".", "addImm", "(", "0", ")", ";", "if", "(", "LV", ")", "{", "unsigned", "NumOps", "=", "MI", ".", "getNumOperands", "(", ")", ";", "for", "(", "unsigned", "I", "=", "1", ";", "I", "<", "NumOps", ";", "++", "I", ")", "{", "MachineOperand", "&", "Op", "=", "MI", ".", "getOperand", "(", "I", ")", ";", "if", "(", "Op", ".", "isReg", "(", ")", "&&", "Op", ".", "isKill", "(", ")", ")", "LV", "->", "replaceKillInstruction", "(", "Op", ".", "getReg", "(", ")", ",", "MI", ",", "*", "MIB", ")", ";", "}", "}", "transferDeadCC", "(", "&", "MI", ",", "MIB", ")", ";", "return", "MIB", ";", "}", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["convertToThreeAddress", "-", "This", "method", "must", "be", "implemented", "by", "targets", "that", "set", "the", "M_CONVERTIBLE_TO_3_ADDR", "flag", "."], "TS_V_token": ["SystemZ", "SystemZ", "2", "64", "SystemZ::RISBG", "SystemZ::RISBGN", "SystemZ::RISBMux", "31", "31", "0", "1", "0", "128", "0", "1"], "File": "SystemZInstrInfo2", "Func": "convertToThreeAddress", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3008, "Length": 337, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getReturnSaveOffset", "(", ")", "const", "{", "return", "ReturnSaveOffset", ";", "}", ""], "natrual_language": ["getReturnSaveOffset", "-", "Return", "the", "previous", "frame", "offset", "to", "save", "the", "return", "address", "."], "TS_V_token": ["PowerPC"], "File": "PPCFrameLowering (2)", "Func": "getReturnSaveOffset", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3009, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_float_const_zero_rtx_p", "(", "rtx", "x", ")", "{", "REAL_VALUE_TYPE", "r", ";", "if", "(", "GET_MODE", "(", "x", ")", "==", "VOIDmode", ")", "return", "false", ";", "REAL_VALUE_FROM_CONST_DOUBLE", "(", "r", ",", "x", ")", ";", "if", "(", "REAL_VALUE_MINUS_ZERO", "(", "r", ")", ")", "return", "!", "HONOR_SIGNED_ZEROS", "(", "GET_MODE", "(", "x", ")", ")", ";", "return", "REAL_VALUES_EQUAL", "(", "r", ",", "dconst0", ")", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "rtx", "X", "is", "immediate", "constant", "0.0"], "TS_V_token": ["aarch64"], "File": "aarch642", "Func": "aarch64_float_const_zero_rtx_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3010, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PatmosRegisterInfo", "::", "hasReservedSpillSlot", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Reg", ",", "int", "&", "FrameIdx", ")", "const", "{", "if", "(", "Patmos", "::", "PRegsRegClass", ".", "contains", "(", "Reg", ")", ")", "return", "true", ";", "const", "PatmosMachineFunctionInfo", "&", "PMFI", "=", "*", "MF", ".", "getInfo", "<", "PatmosMachineFunctionInfo", ">", "(", ")", ";", "if", "(", "Reg", "==", "Patmos", "::", "S0", "&&", "PMFI", ".", "getS0SpillReg", "(", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "target", "has", "reserved", "a", "spill", "slot", "in", "the", "stack", "frame", "of", "the", "given", "function", "for", "the", "specified", "register", "."], "TS_V_token": ["Patmos", "Patmos", "Patmos::PRegsRegClass", "Patmos", "Patmos", "Patmos::S0"], "File": "PatmosRegisterInfo", "Func": "hasReservedSpillSlot", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 3011, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyInstrInfo", "::", "reverseBranchCondition", "(", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ")", "const", "{", "assert", "(", "Cond", ".", "size", "(", ")", "==", "2", "&&", "\"Expected a flag and a successor block\"", ")", ";", "Cond", ".", "front", "(", ")", "=", "MachineOperand", "::", "CreateImm", "(", "!", "Cond", ".", "front", "(", ")", ".", "getImm", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Reverses", "the", "branch", "condition", "of", "the", "specified", "condition", "list", ",", "returning", "false", "on", "success", "and", "true", "if", "it", "can", "not", "be", "reversed", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "2", "\"Expected a flag and a successor block\""], "File": "WebAssemblyInstrInfo1", "Func": "reverseBranchCondition", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3012, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SPIRVOCLRegularizer", "::", "visitCallInst", "(", "CallInst", "&", "CI", ")", "{", "auto", "F", "=", "CI", ".", "getCalledFunction", "(", ")", ";", "if", "(", "!", "F", ")", "return", ";", "auto", "MangledName", "=", "F", "->", "getName", "(", ")", ";", "size_t", "n", ";", "int", "status", ";", "char", "*", "NameStr", "=", "itaniumDemangle", "(", "F", "->", "getName", "(", ")", ".", "data", "(", ")", ",", "nullptr", ",", "&", "n", ",", "&", "status", ")", ";", "StringRef", "DemangledName", "(", "NameStr", ")", ";", "if", "(", "DemangledName", ".", "startswith", "(", "\"fmin\"", ")", "||", "DemangledName", ".", "startswith", "(", "\"fmax\"", ")", "||", "DemangledName", ".", "startswith", "(", "\"min\"", ")", "||", "DemangledName", ".", "startswith", "(", "\"max\"", ")", ")", "visitCallScalToVec", "(", "&", "CI", ",", "MangledName", ",", "DemangledName", ")", ";", "free", "(", "NameStr", ")", ";", "}", ""], "natrual_language": ["CallInst", "simplification", "."], "TS_V_token": ["SPIRV", "SPIRV", "\"fmin\"", "\"fmax\"", "\"min\"", "\"max\""], "File": "SPIRVOCLRegularizer", "Func": "visitCallInst", "Target": "SPIRV", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3013, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_gen_conditional_trap", "(", "rtx", "*", "operands", ")", "{", "rtx", "op0", ",", "op1", ";", "enum", "rtx_code", "cmp_code", "=", "GET_CODE", "(", "operands", "[", "0", "]", ")", ";", "enum", "machine_mode", "mode", "=", "GET_MODE", "(", "cmp_operands", "[", "0", "]", ")", ";", "switch", "(", "cmp_code", ")", "{", "case", "GT", ":", "cmp_code", "=", "LT", ";", "break", ";", "case", "LE", ":", "cmp_code", "=", "GE", ";", "break", ";", "case", "GTU", ":", "cmp_code", "=", "LTU", ";", "break", ";", "case", "LEU", ":", "cmp_code", "=", "GEU", ";", "break", ";", "default", ":", "break", ";", "}", "if", "(", "cmp_code", "==", "GET_CODE", "(", "operands", "[", "0", "]", ")", ")", "{", "op0", "=", "cmp_operands", "[", "0", "]", ";", "op1", "=", "cmp_operands", "[", "1", "]", ";", "}", "else", "{", "op0", "=", "cmp_operands", "[", "1", "]", ";", "op1", "=", "cmp_operands", "[", "0", "]", ";", "}", "op0", "=", "force_reg", "(", "mode", ",", "op0", ")", ";", "if", "(", "!", "arith_operand", "(", "op1", ",", "mode", ")", ")", "op1", "=", "force_reg", "(", "mode", ",", "op1", ")", ";", "emit_insn", "(", "gen_rtx_TRAP_IF", "(", "VOIDmode", ",", "gen_rtx_fmt_ee", "(", "cmp_code", ",", "mode", ",", "op0", ",", "op1", ")", ",", "operands", "[", "1", "]", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "conditional", "trap", ".", "OPERANDS", "is", "the", "array", "of", "operands", "passed", "to", "the", "conditional_trap", "expander", "."], "TS_V_token": ["mips", "0", "0", "0", "0", "1", "1", "0", "1"], "File": "mips3", "Func": "mips_gen_conditional_trap", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3014, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVFrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRegs", ",", "RS", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "auto", "*", "RVFI", "=", "MF", ".", "getInfo", "<", "RISCVMachineFunctionInfo", ">", "(", ")", ";", "for", "(", "int", "Id", "=", "MFI", ".", "getObjectIndexBegin", "(", ")", ",", "EId", "=", "MFI", ".", "getObjectIndexEnd", "(", ")", ";", "Id", "<", "EId", ";", "Id", "++", ")", "{", "if", "(", "MFI", ".", "getStackID", "(", "Id", ")", "==", "TargetStackID", "::", "RISCVVector", "&&", "!", "MFI", ".", "isDeadObjectIndex", "(", "Id", ")", ")", "{", "RVFI", "->", "setHasSpillVRs", "(", ")", ";", "}", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "SavedRegs", ".", "set", "(", "RISCV", "::", "X1", ")", ";", "SavedRegs", ".", "set", "(", "RISCV", "::", "X8", ")", ";", "}", "if", "(", "hasBP", "(", "MF", ")", ")", "SavedRegs", ".", "set", "(", "RISCVABI", "::", "getBPReg", "(", ")", ")", ";", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "\"interrupt\"", ")", "&&", "MFI", ".", "hasCalls", "(", ")", ")", "{", "static", "const", "MCPhysReg", "CSRegs", "[", "]", "=", "{", "RISCV", "::", "X1", ",", "RISCV", "::", "X5", ",", "RISCV", "::", "X6", ",", "RISCV", "::", "X7", ",", "RISCV", "::", "X10", ",", "RISCV", "::", "X11", ",", "RISCV", "::", "X12", ",", "RISCV", "::", "X13", ",", "RISCV", "::", "X14", ",", "RISCV", "::", "X15", ",", "RISCV", "::", "X16", ",", "RISCV", "::", "X17", ",", "RISCV", "::", "X28", ",", "RISCV", "::", "X29", ",", "RISCV", "::", "X30", ",", "RISCV", "::", "X31", ",", "0", "}", ";", "for", "(", "unsigned", "i", "=", "0", ";", "CSRegs", "[", "i", "]", ";", "++", "i", ")", "SavedRegs", ".", "set", "(", "CSRegs", "[", "i", "]", ")", ";", "if", "(", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ".", "hasStdExtD", "(", ")", "||", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ".", "hasStdExtF", "(", ")", ")", "{", "const", "MCPhysReg", "*", "Regs", "=", "MF", ".", "getRegInfo", "(", ")", ".", "getCalleeSavedRegs", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "Regs", "[", "i", "]", ";", "++", "i", ")", "if", "(", "RISCV", "::", "FPR32RegClass", ".", "contains", "(", "Regs", "[", "i", "]", ")", "||", "RISCV", "::", "FPR64RegClass", ".", "contains", "(", "Regs", "[", "i", "]", ")", ")", "SavedRegs", ".", "set", "(", "Regs", "[", "i", "]", ")", ";", "}", "}", "}", ""], "natrual_language": ["This", "method", "determines", "which", "of", "the", "registers", "reported", "by", "TargetRegisterInfo", ":", ":getCalleeSavedRegs", "(", ")", "should", "actually", "get", "saved", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "RISCV", "RISCV::X1", "RISCV::X8", "RISCVABI::getBPReg", "\"interrupt\"", "RISCV::X1", "RISCV::X5", "RISCV::X6", "RISCV::X7", "RISCV::X10", "RISCV::X11", "RISCV::X12", "RISCV::X13", "RISCV::X14", "RISCV::X15", "RISCV::X16", "RISCV::X17", "RISCV::X28", "RISCV::X29", "RISCV::X30", "RISCV::X31", "0", "0", "RISCV", "RISCV", "0", "RISCV::FPR32RegClass", "RISCV::FPR64RegClass"], "File": "RISCVFrameLowering20", "Func": "determineCalleeSaves", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3015, "Length": 374, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FastISel", "::", "tryToFoldLoadIntoMI", "(", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "const", "LoadInst", "*", "LI", ")", "{", "X86AddressMode", "AM", ";", "if", "(", "!", "X86SelectAddress", "(", "LI", "->", "getOperand", "(", "0", ")", ",", "AM", ")", ")", "return", "false", ";", "const", "X86InstrInfo", "&", "XII", "=", "(", "const", "X86InstrInfo", "&", ")", "TII", ";", "unsigned", "Size", "=", "DL", ".", "getTypeAllocSize", "(", "LI", "->", "getType", "(", ")", ")", ";", "unsigned", "Alignment", "=", "LI", "->", "getAlignment", "(", ")", ";", "SmallVector", "<", "MachineOperand", ",", "8", ">", "AddrOps", ";", "AM", ".", "getFullAddress", "(", "AddrOps", ")", ";", "MachineInstr", "*", "Result", "=", "XII", ".", "foldMemoryOperandImpl", "(", "*", "FuncInfo", ".", "MF", ",", "MI", ",", "OpNo", ",", "AddrOps", ",", "Size", ",", "Alignment", ")", ";", "if", "(", "!", "Result", ")", "return", "false", ";", "FuncInfo", ".", "MBB", "->", "insert", "(", "FuncInfo", ".", "InsertPt", ",", "Result", ")", ";", "MI", "->", "eraseFromParent", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["The", "specified", "machine", "instr", "operand", "is", "a", "vreg", ",", "and", "that", "vreg", "is", "being", "provided", "by", "the", "specified", "load", "instruction", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "0", "X86", "X86", "8"], "File": "X86FastISel64", "Func": "tryToFoldLoadIntoMI", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3016, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_sve_struct_memory_operand_p", "(", "rtx", "op", ")", "{", "if", "(", "!", "MEM_P", "(", "op", ")", ")", "return", "false", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "op", ")", ";", "struct", "aarch64_address_info", "addr", ";", "if", "(", "!", "aarch64_classify_address", "(", "&", "addr", ",", "XEXP", "(", "op", ",", "0", ")", ",", "SVE_BYTE_MODE", ",", "false", ",", "ADDR_QUERY_ANY", ")", "||", "addr", ".", "type", "!=", "ADDRESS_REG_IMM", ")", "return", "false", ";", "poly_int64", "first", "=", "addr", ".", "const_offset", ";", "poly_int64", "last", "=", "first", "+", "GET_MODE_SIZE", "(", "mode", ")", "-", "BYTES_PER_SVE_VECTOR", ";", "return", "(", "offset_4bit_signed_scaled_p", "(", "SVE_BYTE_MODE", ",", "first", ")", "&&", "offset_4bit_signed_scaled_p", "(", "SVE_BYTE_MODE", ",", "last", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OP", "is", "a", "valid", "MEM", "operand", "for", "an", "SVE_STRUCT", "mode", ".", "We", "need", "to", "be", "able", "to", "access", "the", "individual", "pieces", ",", "so", "the", "range", "is", "different", "from", "LD", "[", "234", "]", "and", "ST", "[", "234", "]", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64", "Func": "aarch64_sve_struct_memory_operand_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3017, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "shouldExpandAtomicStoreInIR", "(", "StoreInst", "*", "SI", ")", "const", "{", "bool", "has64BitAtomicStore", ";", "if", "(", "Subtarget", "->", "isMClass", "(", ")", ")", "has64BitAtomicStore", "=", "false", ";", "else", "if", "(", "Subtarget", "->", "isThumb", "(", ")", ")", "has64BitAtomicStore", "=", "Subtarget", "->", "hasV7Ops", "(", ")", ";", "else", "has64BitAtomicStore", "=", "Subtarget", "->", "hasV6Ops", "(", ")", ";", "unsigned", "Size", "=", "SI", "->", "getValueOperand", "(", ")", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ";", "return", "Size", "==", "64", "&&", "has64BitAtomicStore", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "given", "(", "atomic", ")", "store", "should", "be", "expanded", "by", "the", "IR-level", "AtomicExpand", "pass", "into", "."], "TS_V_token": ["ARM", "ARM", "64"], "File": "ARMISelLowering12", "Func": "shouldExpandAtomicStoreInIR", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3018, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb2InstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "if", "(", "RC", "==", "ARM", "::", "GPRRegisterClass", ")", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "*", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "PseudoSourceValue", "::", "getFixedStack", "(", "FI", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "0", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ")", ";", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "t2STRi12", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ")", ";", "return", ";", "}", "ARMBaseInstrInfo", "::", "storeRegToStackSlot", "(", "MBB", ",", "I", ",", "SrcReg", ",", "isKill", ",", "FI", ",", "RC", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["ARM", "ARM::GPRRegisterClass", "0", "ARM::t2STRi12", "0", "ARM"], "File": "Thumb2InstrInfo37", "Func": "storeRegToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3019, "Length": 189, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "NyuziRegisterInfo", "::", "trackLivenessAfterRegAlloc", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "live-ins", "should", "be", "tracked", "after", "register", "allocation", "."], "TS_V_token": ["Nyuzi", "Nyuzi"], "File": "NyuziRegisterInfo", "Func": "trackLivenessAfterRegAlloc", "Target": "Nyuzi", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3020, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "isFPImmLegal", "(", "const", "APFloat", "&", "Imm", ",", "EVT", "VT", ",", "bool", "ForCodeSize", ")", "const", "{", "if", "(", "VT", "==", "MVT", "::", "f16", "&&", "!", "Subtarget", ".", "hasStdExtZfh", "(", ")", ")", "return", "false", ";", "if", "(", "VT", "==", "MVT", "::", "f32", "&&", "!", "Subtarget", ".", "hasStdExtF", "(", ")", ")", "return", "false", ";", "if", "(", "VT", "==", "MVT", "::", "f64", "&&", "!", "Subtarget", ".", "hasStdExtD", "(", ")", ")", "return", "false", ";", "return", "Imm", ".", "isZero", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "can", "instruction", "select", "the", "specified", "FP", "immediate", "natively", "."], "TS_V_token": ["RISCV", "RISCV", "MVT::f16", "MVT::f32", "MVT::f64"], "File": "RISCVISelLowering20", "Func": "isFPImmLegal", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3021, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"AMDGPU Control Flow Graph structurizer Pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["R600", "\"AMDGPU Control Flow Graph structurizer Pass\""], "File": "AMDILCFGStructurizer1", "Func": "getPassName", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3022, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "ARMSelectionDAGInfo", "::", "EmitTargetCodeForMemmove", "(", "SelectionDAG", "&", "DAG", ",", "const", "SDLoc", "&", "dl", ",", "SDValue", "Chain", ",", "SDValue", "Dst", ",", "SDValue", "Src", ",", "SDValue", "Size", ",", "Align", "Alignment", ",", "bool", "isVolatile", ",", "bool", "MustPreserveCheriCapabilities", ",", "MachinePointerInfo", "DstPtrInfo", ",", "MachinePointerInfo", "SrcPtrInfo", ")", "const", "{", "return", "EmitSpecializedLibcall", "(", "DAG", ",", "dl", ",", "Chain", ",", "Dst", ",", "Src", ",", "Size", ",", "Alignment", ".", "value", "(", ")", ",", "RTLIB", "::", "MEMMOVE", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memmove", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMSelectionDAGInfo27", "Func": "EmitTargetCodeForMemmove", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3023, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMem", "(", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["isMem", "-", "Is", "this", "a", "memory", "operand", "?"], "TS_V_token": ["MMIX"], "File": "MMIXAsmParser", "Func": "isMem", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3024, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AsmBackend", "::", "relaxInstruction", "(", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "bool", "Is16BitMode", "=", "STI", ".", "getFeatureBits", "(", ")", "[", "X86", "::", "Is16Bit", "]", ";", "unsigned", "RelaxedOp", "=", "getRelaxedOpcode", "(", "Inst", ",", "Is16BitMode", ")", ";", "if", "(", "RelaxedOp", "==", "Inst", ".", "getOpcode", "(", ")", ")", "{", "SmallString", "<", "256", ">", "Tmp", ";", "raw_svector_ostream", "OS", "(", "Tmp", ")", ";", "Inst", ".", "dump_pretty", "(", "OS", ")", ";", "OS", "<<", "\"\\n\"", ";", "report_fatal_error", "(", "\"unexpected instruction to relax: \"", "+", "OS", ".", "str", "(", ")", ")", ";", "}", "Inst", ".", "setOpcode", "(", "RelaxedOp", ")", ";", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["X86", "X86", "X86::Is16Bit", "256", "\"\\n\"", "\"unexpected instruction to relax: \""], "File": "X86AsmBackend (2)1", "Func": "relaxInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3025, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "nds32_isr_function_p", "(", "tree", "func", ")", "{", "tree", "t_intr", ";", "tree", "t_excp", ";", "tree", "t_reset", ";", "tree", "attrs", ";", "if", "(", "TREE_CODE", "(", "func", ")", "!=", "FUNCTION_DECL", ")", "abort", "(", ")", ";", "attrs", "=", "DECL_ATTRIBUTES", "(", "func", ")", ";", "t_intr", "=", "lookup_attribute", "(", "\"interrupt\"", ",", "attrs", ")", ";", "t_excp", "=", "lookup_attribute", "(", "\"exception\"", ",", "attrs", ")", ";", "t_reset", "=", "lookup_attribute", "(", "\"reset\"", ",", "attrs", ")", ";", "return", "(", "(", "t_intr", "!=", "NULL_TREE", ")", "||", "(", "t_excp", "!=", "NULL_TREE", ")", "||", "(", "t_reset", "!=", "NULL_TREE", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "FUNC", "is", "a", "isr", "function", "."], "TS_V_token": ["nds32", "\"interrupt\"", "\"exception\"", "\"reset\""], "File": "nds32-isr", "Func": "nds32_isr_function_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3026, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64FrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetRegisterInfo", "*", "RegInfo", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "if", "(", "MFI", ".", "hasCalls", "(", ")", "&&", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", ")", "return", "true", ";", "if", "(", "MFI", ".", "hasVarSizedObjects", "(", ")", "||", "MFI", ".", "isFrameAddressTaken", "(", ")", "||", "MFI", ".", "hasStackMap", "(", ")", "||", "MFI", ".", "hasPatchPoint", "(", ")", "||", "RegInfo", "->", "needsStackRealignment", "(", "MF", ")", ")", "return", "true", ";", "if", "(", "!", "MFI", ".", "isMaxCallFrameSizeComputed", "(", ")", "||", "MFI", ".", "getMaxCallFrameSize", "(", ")", ">", "DefaultSafeSPDisplacement", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64FrameLowering10", "Func": "hasFP", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3027, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "VideocoreTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Should not custom lower this!\"", ")", ";", "case", "ISD", "::", "BRCOND", ":", "return", "LowerBRCOND", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BR_CC", ":", "return", "LowerBR_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "LowerSELECT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SETCC", ":", "return", "LowerSETCC", "(", "Op", ",", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["Videocore", "Videocore", "\"Should not custom lower this!\"", "ISD::BRCOND", "ISD::BR_CC", "ISD::SELECT", "ISD::SELECT_CC", "ISD::SETCC"], "File": "VideocoreISelLowering", "Func": "LowerOperation", "Target": "Videocore", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3028, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "override", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "const", "MCInstrDesc", "&", "Desc", "=", "MCII", ".", "get", "(", "Opcode", ")", ";", "if", "(", "Opcode", "==", "TargetOpcode", "::", "COPY_TO_REGCLASS", ")", "return", ";", "uint64_t", "Bits", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "unsigned", "Size", "=", "Desc", ".", "getSize", "(", ")", ";", "switch", "(", "Size", ")", "{", "case", "4", ":", "if", "(", "IsLittleEndian", ")", "{", "support", "::", "endian", "::", "Writer", "<", "support", "::", "little", ">", "(", "OS", ")", ".", "write", "<", "uint32_t", ">", "(", "Bits", ")", ";", "}", "else", "{", "support", "::", "endian", "::", "Writer", "<", "support", "::", "big", ">", "(", "OS", ")", ".", "write", "<", "uint32_t", ">", "(", "Bits", ")", ";", "}", "break", ";", "case", "8", ":", "if", "(", "IsLittleEndian", ")", "{", "uint64_t", "Swapped", "=", "(", "Bits", "<<", "32", ")", "|", "(", "Bits", ">>", "32", ")", ";", "support", "::", "endian", "::", "Writer", "<", "support", "::", "little", ">", "(", "OS", ")", ".", "write", "<", "uint64_t", ">", "(", "Swapped", ")", ";", "}", "else", "{", "support", "::", "endian", "::", "Writer", "<", "support", "::", "big", ">", "(", "OS", ")", ".", "write", "<", "uint64_t", ">", "(", "Bits", ")", ";", "}", "break", ";", "default", ":", "llvm_unreachable", "(", "\"Invalid instruction size\"", ")", ";", "}", "++", "MCNumEmitted", ";", "}", ""], "natrual_language": ["Encode", "the", "given", "Inst", "to", "bytes", "and", "append", "to", "CB", "."], "TS_V_token": ["PowerPC", "4", "support::endian", "support::little", "support::endian", "support::big", "8", "32", "32", "support::endian", "support::little", "support::endian", "support::big", "\"Invalid instruction size\""], "File": "PPCMCCodeEmitter (2)", "Func": "encodeInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3029, "Length": 227, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIInstrInfo", "::", "isOperandLegal", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpIdx", ",", "const", "MachineOperand", "*", "MO", ")", "const", "{", "const", "MachineRegisterInfo", "&", "MRI", "=", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "MCInstrDesc", "&", "InstDesc", "=", "MI", "->", "getDesc", "(", ")", ";", "const", "MCOperandInfo", "&", "OpInfo", "=", "InstDesc", ".", "OpInfo", "[", "OpIdx", "]", ";", "const", "TargetRegisterClass", "*", "DefinedRC", "=", "OpInfo", ".", "RegClass", "!=", "-", "1", "?", "RI", ".", "getRegClass", "(", "OpInfo", ".", "RegClass", ")", ":", "nullptr", ";", "if", "(", "!", "MO", ")", "MO", "=", "&", "MI", "->", "getOperand", "(", "OpIdx", ")", ";", "if", "(", "isVALU", "(", "*", "MI", ")", "&&", "usesConstantBus", "(", "MRI", ",", "*", "MO", ",", "DefinedRC", "->", "getSize", "(", ")", ")", ")", "{", "RegSubRegPair", "SGPRUsed", ";", "if", "(", "MO", "->", "isReg", "(", ")", ")", "SGPRUsed", "=", "RegSubRegPair", "(", "MO", "->", "getReg", "(", ")", ",", "MO", "->", "getSubReg", "(", ")", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "MI", "->", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "if", "(", "i", "==", "OpIdx", ")", "continue", ";", "const", "MachineOperand", "&", "Op", "=", "MI", "->", "getOperand", "(", "i", ")", ";", "if", "(", "Op", ".", "isReg", "(", ")", "&&", "(", "Op", ".", "getReg", "(", ")", "!=", "SGPRUsed", ".", "Reg", "||", "Op", ".", "getSubReg", "(", ")", "!=", "SGPRUsed", ".", "SubReg", ")", "&&", "usesConstantBus", "(", "MRI", ",", "Op", ",", "getOpSize", "(", "*", "MI", ",", "i", ")", ")", ")", "{", "return", "false", ";", "}", "}", "}", "if", "(", "MO", "->", "isReg", "(", ")", ")", "{", "assert", "(", "DefinedRC", ")", ";", "return", "isLegalRegOperand", "(", "MRI", ",", "OpInfo", ",", "*", "MO", ")", ";", "}", "assert", "(", "MO", "->", "isImm", "(", ")", "||", "MO", "->", "isTargetIndex", "(", ")", "||", "MO", "->", "isFI", "(", ")", ")", ";", "if", "(", "!", "DefinedRC", ")", "{", "return", "true", ";", "}", "return", "isImmOperandLegal", "(", "MI", ",", "OpIdx", ",", "*", "MO", ")", ";", "}", ""], "natrual_language": ["Check", "if", "MO", "is", "a", "legal", "operand", "if", "it", "was", "the", "OpIdx", "Operand", "for", "MI", "."], "TS_V_token": ["AMDGPU", "SI", "1", "0"], "File": "SIInstrInfo128", "Func": "isOperandLegal", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3030, "Length": 315, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMSubtarget", "::", "ARMSubtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "FS", ",", "bool", "isT", ")", ":", "ARMArchVersion", "(", "V4", ")", ",", "ARMFPUType", "(", "None", ")", ",", "UseNEONForSinglePrecisionFP", "(", "false", ")", ",", "SlowVMLx", "(", "false", ")", ",", "IsThumb", "(", "isT", ")", ",", "ThumbMode", "(", "Thumb1", ")", ",", "PostRAScheduler", "(", "false", ")", ",", "IsR9Reserved", "(", "ReserveR9", ")", ",", "UseMovt", "(", "UseMOVT", ")", ",", "HasFP16", "(", "false", ")", ",", "stackAlignment", "(", "4", ")", ",", "CPUString", "(", "\"generic\"", ")", ",", "TargetType", "(", "isELF", ")", ",", "TargetABI", "(", "ARM_ABI_APCS", ")", "{", "if", "(", "FloatABIType", "==", "FloatABI", "::", "Default", ")", "FloatABIType", "=", "FloatABI", "::", "Soft", ";", "CPUString", "=", "ParseSubtargetFeatures", "(", "FS", ",", "CPUString", ")", ";", "if", "(", "CPUString", "==", "\"generic\"", "&&", "(", "FS", ".", "empty", "(", ")", "||", "FS", "==", "\"generic\"", ")", ")", "ARMArchVersion", "=", "V4T", ";", "unsigned", "Len", "=", "TT", ".", "length", "(", ")", ";", "unsigned", "Idx", "=", "0", ";", "if", "(", "Len", ">=", "5", "&&", "TT", ".", "substr", "(", "0", ",", "4", ")", "==", "\"armv\"", ")", "Idx", "=", "4", ";", "else", "if", "(", "Len", ">=", "6", "&&", "TT", ".", "substr", "(", "0", ",", "5", ")", "==", "\"thumb\"", ")", "{", "IsThumb", "=", "true", ";", "if", "(", "Len", ">=", "7", "&&", "TT", "[", "5", "]", "==", "'v'", ")", "Idx", "=", "6", ";", "}", "if", "(", "Idx", ")", "{", "unsigned", "SubVer", "=", "TT", "[", "Idx", "]", ";", "if", "(", "SubVer", ">=", "'7'", "&&", "SubVer", "<=", "'9'", ")", "{", "ARMArchVersion", "=", "V7A", ";", "}", "else", "if", "(", "SubVer", "==", "'6'", ")", "{", "ARMArchVersion", "=", "V6", ";", "if", "(", "Len", ">=", "Idx", "+", "3", "&&", "TT", "[", "Idx", "+", "1", "]", "==", "'t'", "&&", "TT", "[", "Idx", "+", "2", "]", "==", "'2'", ")", "ARMArchVersion", "=", "V6T2", ";", "}", "else", "if", "(", "SubVer", "==", "'5'", ")", "{", "ARMArchVersion", "=", "V5T", ";", "if", "(", "Len", ">=", "Idx", "+", "3", "&&", "TT", "[", "Idx", "+", "1", "]", "==", "'t'", "&&", "TT", "[", "Idx", "+", "2", "]", "==", "'e'", ")", "ARMArchVersion", "=", "V5TE", ";", "}", "else", "if", "(", "SubVer", "==", "'4'", ")", "{", "if", "(", "Len", ">=", "Idx", "+", "2", "&&", "TT", "[", "Idx", "+", "1", "]", "==", "'t'", ")", "ARMArchVersion", "=", "V4T", ";", "else", "ARMArchVersion", "=", "V4", ";", "}", "}", "if", "(", "ARMArchVersion", ">=", "V6T2", ")", "ThumbMode", "=", "Thumb2", ";", "else", "if", "(", "ThumbMode", ">=", "Thumb2", ")", "ARMArchVersion", "=", "V6T2", ";", "if", "(", "Len", ">=", "10", ")", "{", "if", "(", "TT", ".", "find", "(", "\"-darwin\"", ")", "!=", "std", "::", "string", "::", "npos", ")", "TargetType", "=", "isDarwin", ";", "}", "if", "(", "TT", ".", "find", "(", "\"eabi\"", ")", "!=", "std", "::", "string", "::", "npos", ")", "TargetABI", "=", "ARM_ABI_AAPCS", ";", "if", "(", "isAAPCS_ABI", "(", ")", ")", "stackAlignment", "=", "8", ";", "if", "(", "isTargetDarwin", "(", ")", ")", "IsR9Reserved", "=", "ReserveR9", "|", "(", "ARMArchVersion", "<", "V6", ")", ";", "if", "(", "!", "isThumb", "(", ")", "||", "hasThumb2", "(", ")", ")", "PostRAScheduler", "=", "true", ";", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM", "4", "\"generic\"", "ARM", "\"generic\"", "\"generic\"", "ARM", "0", "5", "0", "4", "\"armv\"", "4", "6", "0", "5", "\"thumb\"", "7", "5", "6", "ARM", "ARM", "3", "1", "2", "ARM", "ARM", "3", "1", "2", "ARM", "2", "1", "ARM", "ARM", "ARM", "ARM", "10", "\"-darwin\"", "\"eabi\"", "ARM", "8", "ARM"], "File": "ARMSubtarget10", "Func": "ARMSubtarget", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3031, "Length": 473, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emit_load_locked", "(", "machine_mode", "mode", ",", "rtx", "reg", ",", "rtx", "mem", ")", "{", "rtx", "(", "*", "fn", ")", "(", "rtx", ",", "rtx", ")", "=", "NULL", ";", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "fn", "=", "gen_load_lockedqi", ";", "break", ";", "case", "E_HImode", ":", "fn", "=", "gen_load_lockedhi", ";", "break", ";", "case", "E_SImode", ":", "if", "(", "GET_MODE", "(", "mem", ")", "==", "QImode", ")", "fn", "=", "gen_load_lockedqi_si", ";", "else", "if", "(", "GET_MODE", "(", "mem", ")", "==", "HImode", ")", "fn", "=", "gen_load_lockedhi_si", ";", "else", "fn", "=", "gen_load_lockedsi", ";", "break", ";", "case", "E_DImode", ":", "fn", "=", "gen_load_lockeddi", ";", "break", ";", "case", "E_TImode", ":", "fn", "=", "gen_load_lockedti", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "emit_insn", "(", "fn", "(", "reg", ",", "mem", ")", ")", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "the", "atomic", "operation", "splitters", ".", "Emit", "a", "load-locked", "instruction", "in", "MODE", ".", "For", "QI/HImode", ",", "possibly", "use", "a", "pattern", "than", "includes", "the", "zero_extend", "operation", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "emit_load_locked", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3032, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "P2AsmBackend", "::", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsResolved", ",", "const", "MCSubtargetInfo", "*", "STI", ")", "const", "{", "MCFixupKind", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "LLVM_DEBUG", "(", "errs", "(", ")", "<<", "\"-- applying fixup\\n\"", ")", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "(", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", "+", "7", ")", "/", "8", ";", "uint64_t", "CurVal", "=", "0", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "CurVal", "|=", "(", "uint64_t", ")", "(", "(", "uint8_t", ")", "Data", "[", "Offset", "+", "i", "]", ")", "<<", "(", "i", "*", "8", ")", ";", "}", "uint64_t", "Mask", "=", "(", "(", "uint64_t", ")", "(", "-", "1", ")", ">>", "(", "64", "-", "getFixupKindInfo", "(", "Kind", ")", ".", "TargetSize", ")", ")", ";", "CurVal", "|=", "Value", "&", "Mask", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "Data", "[", "Offset", "+", "i", "]", "=", "(", "uint8_t", ")", "(", "(", "CurVal", ">>", "(", "i", "*", "8", ")", ")", "&", "0xff", ")", ";", "}", "}", ""], "natrual_language": ["Apply", "the", "Value", "for", "given", "Fixup", "into", "the", "provided", "data", "fragment", ",", "at", "the", "offset", "specified", "by", "the", "fixup", "and", "following", "the", "fixup", "kind", "as", "appropriate", "."], "TS_V_token": ["P2", "P2", "\"-- applying fixup\\n\"", "7", "8", "0", "0", "8", "1", "64", "0", "8", "0xff"], "File": "P2AsmBackend", "Func": "applyFixup", "Target": "P2", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3033, "Length": 213, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AMDGPUAsmBackend", "::", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ")", "const", "{", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ",", "&", "Asm", ".", "getContext", "(", ")", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "MCFixupKindInfo", "Info", "=", "getFixupKindInfo", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "Value", "<<=", "Info", ".", "TargetOffset", ";", "unsigned", "NumBytes", "=", "getFixupKindNumBytes", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "uint32_t", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "assert", "(", "Offset", "+", "NumBytes", "<=", "Data", ".", "size", "(", ")", "&&", "\"Invalid fixup offset!\"", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "Data", "[", "Offset", "+", "i", "]", "|=", "static_cast", "<", "uint8_t", ">", "(", "(", "Value", ">>", "(", "i", "*", "8", ")", ")", "&", "0xff", ")", ";", "}", ""], "natrual_language": ["Apply", "the", "Value", "for", "given", "Fixup", "into", "the", "provided", "data", "fragment", ",", "at", "the", "offset", "specified", "by", "the", "fixup", "and", "following", "the", "fixup", "kind", "as", "appropriate", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "\"Invalid fixup offset!\"", "0", "8", "0xff"], "File": "AMDGPUAsmBackend8", "Func": "applyFixup", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3034, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "WebAssemblySubtarget", "::", "WebAssemblySubtarget", "(", "const", "Triple", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "const", "TargetMachine", "&", "TM", ")", ":", "WebAssemblyGenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "HasSIMD128", "(", "false", ")", ",", "HasAtomics", "(", "false", ")", ",", "HasNontrappingFPToInt", "(", "false", ")", ",", "HasSignExt", "(", "false", ")", ",", "HasExceptionHandling", "(", "false", ")", ",", "CPUString", "(", "CPU", ")", ",", "TargetTriple", "(", "TT", ")", ",", "FrameLowering", "(", ")", ",", "InstrInfo", "(", "initializeSubtargetDependencies", "(", "FS", ")", ")", ",", "TSInfo", "(", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", "{", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly"], "File": "WebAssemblySubtarget14", "Func": "WebAssemblySubtarget", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3035, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nds32_asm_function_end_prologue", "(", "FILE", "*", "file", ")", "{", "fprintf", "(", "file", ",", "\"\\t! END PROLOGUE\\n\"", ")", ";", "if", "(", "!", "frame_pointer_needed", "&&", "!", "cfun", "->", "machine", "->", "naked_p", "&&", "cfun", "->", "machine", "->", "fp_as_gp_p", ")", "{", "fprintf", "(", "file", ",", "\"\\t! ----------------------------------------\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\t! Guide linker to do \"", "\"link time optimization: fp-as-gp\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\t! We add one more instruction to \"", "\"initialize $fp near to $gp location.\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\t! If linker fails to use fp-as-gp transformation,\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\t! this extra instruction should be \"", "\"eliminated at link stage.\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\t.omit_fp_begin\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\tla\\t$fp,_FP_BASE_\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\t! ----------------------------------------\\n\"", ")", ";", "}", "}", ""], "natrual_language": ["After", "rtl", "prologue", "has", "been", "expanded", ",", "this", "function", "is", "used", "."], "TS_V_token": ["nds32", "\"\\t! END PROLOGUE\\n\"", "\"\\t! ----------------------------------------\\n\"", "\"\\t! Guide linker to do \"", "\"link time optimization: fp-as-gp\\n\"", "\"\\t! We add one more instruction to \"", "\"initialize $fp near to $gp location.\\n\"", "\"\\t! If linker fails to use fp-as-gp transformation,\\n\"", "\"\\t! this extra instruction should be \"", "\"eliminated at link stage.\\n\"", "\"\\t.omit_fp_begin\\n\"", "\"\\tla\\t$fp,_FP_BASE_\\n\"", "\"\\t! ----------------------------------------\\n\""], "File": "nds322", "Func": "nds32_asm_function_end_prologue", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3036, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUPromoteAlloca", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "FunctionType", "*", "FTy", "=", "F", ".", "getFunctionType", "(", ")", ";", "LocalMemAvailable", "=", "ST", ".", "getLocalMemorySize", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "FTy", "->", "getNumParams", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "Type", "*", "ParamTy", "=", "FTy", "->", "getParamType", "(", "i", ")", ";", "if", "(", "ParamTy", "->", "isPointerTy", "(", ")", "&&", "ParamTy", "->", "getPointerAddressSpace", "(", ")", "==", "AMDGPUAS", "::", "LOCAL_ADDRESS", ")", "{", "LocalMemAvailable", "=", "0", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Function has local memory argument. Promoting to \"", "\"local memory disabled.\\n\"", ")", ";", "break", ";", "}", "}", "if", "(", "LocalMemAvailable", ">", "0", ")", "{", "for", "(", "Module", "::", "global_iterator", "I", "=", "Mod", "->", "global_begin", "(", ")", ",", "E", "=", "Mod", "->", "global_end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "GlobalVariable", "*", "GV", "=", "&", "*", "I", ";", "if", "(", "GV", "->", "getType", "(", ")", "->", "getAddressSpace", "(", ")", "!=", "AMDGPUAS", "::", "LOCAL_ADDRESS", ")", "continue", ";", "for", "(", "Value", "::", "use_iterator", "U", "=", "GV", "->", "use_begin", "(", ")", ",", "UE", "=", "GV", "->", "use_end", "(", ")", ";", "U", "!=", "UE", ";", "++", "U", ")", "{", "Instruction", "*", "Use", "=", "dyn_cast", "<", "Instruction", ">", "(", "*", "U", ")", ";", "if", "(", "!", "Use", ")", "continue", ";", "if", "(", "Use", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "==", "&", "F", ")", "LocalMemAvailable", "-=", "Mod", "->", "getDataLayout", "(", ")", ".", "getTypeAllocSize", "(", "GV", "->", "getValueType", "(", ")", ")", ";", "}", "}", "}", "LocalMemAvailable", "=", "std", "::", "max", "(", "0", ",", "LocalMemAvailable", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "LocalMemAvailable", "<<", "\"bytes free in local memory.\\n\"", ")", ";", "visit", "(", "F", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "0", "AMDGPU", "0", "\"Function has local memory argument. Promoting to \"", "\"local memory disabled.\\n\"", "0", "AMDGPU", "0", "\"bytes free in local memory.\\n\""], "File": "AMDGPUPromoteAlloca35", "Func": "runOnFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3037, "Length": 276, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MachineInstr", "&", "MI", ",", "const", "MachineOperand", "&", "MO", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "{", "assert", "(", "(", "MI", ".", "getOpcode", "(", ")", "!=", "PPC", "::", "MTCRF", "&&", "MI", ".", "getOpcode", "(", ")", "!=", "PPC", "::", "MFOCRF", ")", "||", "MO", ".", "getReg", "(", ")", "<", "PPC", "::", "CR0", "||", "MO", ".", "getReg", "(", ")", ">", "PPC", "::", "CR7", ")", ";", "return", "PPCRegisterInfo", "::", "getRegisterNumbering", "(", "MO", ".", "getReg", "(", ")", ")", ";", "}", "assert", "(", "MO", ".", "isImm", "(", ")", "&&", "\"Relocation required in an instruction that we cannot encode!\"", ")", ";", "return", "MO", ".", "getImm", "(", ")", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::MTCRF", "PPC::MFOCRF", "PPC::CR0", "PPC::CR7", "PPC", "\"Relocation required in an instruction that we cannot encode!\""], "File": "PPCCodeEmitter6", "Func": "getMachineOpValue", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3038, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86TargetLowering", "::", "getRegisterByName", "(", "const", "char", "*", "RegName", ")", "const", "{", "unsigned", "Reg", "=", "StringSwitch", "<", "unsigned", ">", "(", "RegName", ")", ".", "Case", "(", "\"esp\"", ",", "X86", "::", "ESP", ")", ".", "Case", "(", "\"rsp\"", ",", "X86", "::", "RSP", ")", ".", "Default", "(", "0", ")", ";", "if", "(", "Reg", ")", "return", "Reg", ";", "report_fatal_error", "(", "\"Invalid register name global variable\"", ")", ";", "}", ""], "natrual_language": ["Return", "the", "register", "ID", "of", "the", "name", "passed", "in", "."], "TS_V_token": ["X86", "X86", "\"esp\"", "X86::ESP", "\"rsp\"", "X86::RSP", "0", "\"Invalid register name global variable\""], "File": "X86ISelLowering157", "Func": "getRegisterByName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3039, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64FrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "DL", ";", "SmallVector", "<", "RegPairInfo", ",", "8", ">", "RegPairs", ";", "computeCalleeSaveRegisterPairs", "(", "MF", ",", "CSI", ",", "TRI", ",", "RegPairs", ")", ";", "for", "(", "auto", "RPII", "=", "RegPairs", ".", "rbegin", "(", ")", ",", "RPIE", "=", "RegPairs", ".", "rend", "(", ")", ";", "RPII", "!=", "RPIE", ";", "++", "RPII", ")", "{", "RegPairInfo", "RPI", "=", "*", "RPII", ";", "unsigned", "Reg1", "=", "RPI", ".", "Reg1", ";", "unsigned", "Reg2", "=", "RPI", ".", "Reg2", ";", "unsigned", "StrOpc", ";", "bool", "BumpSP", "=", "RPII", "==", "RegPairs", ".", "rbegin", "(", ")", ";", "if", "(", "RPI", ".", "IsGPR", ")", "{", "if", "(", "BumpSP", ")", "StrOpc", "=", "RPI", ".", "isPaired", "(", ")", "?", "AArch64", "::", "STPXpre", ":", "AArch64", "::", "STRXpre", ";", "else", "StrOpc", "=", "RPI", ".", "isPaired", "(", ")", "?", "AArch64", "::", "STPXi", ":", "AArch64", "::", "STRXui", ";", "}", "else", "{", "if", "(", "BumpSP", ")", "StrOpc", "=", "RPI", ".", "isPaired", "(", ")", "?", "AArch64", "::", "STPDpre", ":", "AArch64", "::", "STRDpre", ";", "else", "StrOpc", "=", "RPI", ".", "isPaired", "(", ")", "?", "AArch64", "::", "STPDi", ":", "AArch64", "::", "STRDui", ";", "}", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"CSR spill: (\"", "<<", "TRI", "->", "getName", "(", "Reg1", ")", ";", "if", "(", "RPI", ".", "isPaired", "(", ")", ")", "dbgs", "(", ")", "<<", "\", \"", "<<", "TRI", "->", "getName", "(", "Reg2", ")", ";", "dbgs", "(", ")", "<<", "\") -> fi#(\"", "<<", "RPI", ".", "FrameIdx", ";", "if", "(", "RPI", ".", "isPaired", "(", ")", ")", "dbgs", "(", ")", "<<", "\", \"", "<<", "RPI", ".", "FrameIdx", "+", "1", ";", "dbgs", "(", ")", "<<", "\")\\n\"", ")", ";", "const", "int", "Offset", "=", "BumpSP", "?", "-", "RPI", ".", "Offset", ":", "RPI", ".", "Offset", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "StrOpc", ")", ")", ";", "if", "(", "BumpSP", ")", "MIB", ".", "addReg", "(", "AArch64", "::", "SP", ",", "RegState", "::", "Define", ")", ";", "if", "(", "RPI", ".", "isPaired", "(", ")", ")", "{", "MBB", ".", "addLiveIn", "(", "Reg1", ")", ";", "MBB", ".", "addLiveIn", "(", "Reg2", ")", ";", "MIB", ".", "addReg", "(", "Reg2", ",", "getPrologueDeath", "(", "MF", ",", "Reg2", ")", ")", ".", "addReg", "(", "Reg1", ",", "getPrologueDeath", "(", "MF", ",", "Reg1", ")", ")", ".", "addReg", "(", "AArch64", "::", "SP", ")", ".", "addImm", "(", "Offset", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "else", "{", "MBB", ".", "addLiveIn", "(", "Reg1", ")", ";", "MIB", ".", "addReg", "(", "Reg1", ",", "getPrologueDeath", "(", "MF", ",", "Reg1", ")", ")", ".", "addReg", "(", "AArch64", "::", "SP", ")", ".", "addImm", "(", "BumpSP", "?", "Offset", "*", "8", ":", "Offset", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["spillCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "spill", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "store", "instructions", "via", "storeRegToStackSlot", "(", ")", "."], "TS_V_token": ["AArch64", "AArch64", "8", "AArch64::STPXpre", "AArch64::STRXpre", "AArch64::STPXi", "AArch64::STRXui", "AArch64::STPDpre", "AArch64::STRDpre", "AArch64::STPDi", "AArch64::STRDui", "\"CSR spill: (\"", "\", \"", "\") -> fi#(\"", "\", \"", "1", "\")\\n\"", "AArch64::SP", "AArch64::SP", "AArch64::SP", "8"], "File": "AArch64FrameLowering9", "Func": "spillCalleeSavedRegisters", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3040, "Length": 473, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "pa_pass_by_reference", "(", "cumulative_args_t", "ca", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "HOST_WIDE_INT", "size", ";", "if", "(", "type", ")", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "else", "size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "if", "(", "TARGET_64BIT", ")", "return", "size", "<=", "0", ";", "else", "return", "size", "<=", "0", "||", "size", ">", "8", ";", "}", ""], "natrual_language": ["In", "the", "32-bit", "runtime", ",", "arguments", "larger", "than", "eight", "bytes", "are", "passed", "by", "invisible", "reference", ".", "As", "a", "GCC", "extension", ",", "we", "also", "pass", "anything", "with", "a", "zero", "or", "variable", "size", "by", "reference", ".", "The", "64-bit", "runtime", "does", "not", "describe", "passing", "any", "types", "by", "invisible", "reference", ".", "The", "internals", "of", "GCC", "ca", "n't", "currently", "handle", "passing", "empty", "structures", ",", "and", "zero", "or", "variable", "length", "arrays", "when", "they", "are", "not", "passed", "entirely", "on", "the", "stack", "or", "by", "reference", ".", "Thus", ",", "as", "a", "GCC", "extension", ",", "we", "pass", "these", "types", "by", "reference", ".", "The", "HP", "compiler", "does", "n't", "support", "these", "types", ",", "so", "hopefully", "there", "should", "n't", "be", "any", "compatibility", "issues", ".", "This", "may", "have", "to", "be", "revisited", "when", "HP", "releases", "a", "C99", "compiler", "or", "updates", "the", "ABI", "."], "TS_V_token": ["pa", "0", "0", "8"], "File": "pa4", "Func": "pa_pass_by_reference", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3041, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "initialize", "(", "ScheduleDAGMI", "*", "dag", ")", "{", "}", ""], "natrual_language": ["Initialize", "the", "strategy", "after", "building", "the", "DAG", "for", "a", "new", "region", "."], "TS_V_token": ["Patmos"], "File": "PatmosSchedStrategy", "Func": "initialize", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 3042, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isSuitableForJumpTable", "(", "const", "SwitchInst", "*", "SI", ",", "uint64_t", "NumCases", ",", "uint64_t", "Range", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "lowering", "to", "a", "jump", "table", "is", "suitable", "for", "a", "set", "of", "case", "clusters", "which", "may", "contain", "NumCases", "cases", ",", "Range", "range", "of", "values", "."], "TS_V_token": ["JVM"], "File": "JVMISelLowering", "Func": "isSuitableForJumpTable", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3043, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "CSKYTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"unimplemented op\"", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ExternalSymbol", ":", "return", "LowerExternalSymbol", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalTLSAddress", ":", "return", "LowerGlobalTLSAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "JumpTable", ":", "return", "LowerJumpTable", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "LowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "LowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "RETURNADDR", ":", "return", "LowerRETURNADDR", "(", "Op", ",", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["CSKY", "CSKY", "\"unimplemented op\"", "ISD::GlobalAddress", "ISD::ExternalSymbol", "ISD::GlobalTLSAddress", "ISD::JumpTable", "ISD::BlockAddress", "ISD::VASTART", "ISD::FRAMEADDR", "ISD::RETURNADDR"], "File": "CSKYISelLowering", "Func": "LowerOperation", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3044, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZTDCPass", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "ConvertedInsts", ".", "clear", "(", ")", ";", "LogicOpsWorklist", ".", "clear", "(", ")", ";", "PossibleJunk", ".", "clear", "(", ")", ";", "for", "(", "auto", "&", "I", ":", "instructions", "(", "F", ")", ")", "{", "if", "(", "I", ".", "getOpcode", "(", ")", "==", "Instruction", "::", "FCmp", ")", "convertFCmp", "(", "cast", "<", "CmpInst", ">", "(", "I", ")", ")", ";", "else", "if", "(", "I", ".", "getOpcode", "(", ")", "==", "Instruction", "::", "ICmp", ")", "convertICmp", "(", "cast", "<", "CmpInst", ">", "(", "I", ")", ")", ";", "}", "if", "(", "ConvertedInsts", ".", "empty", "(", ")", ")", "return", "false", ";", "while", "(", "!", "LogicOpsWorklist", ".", "empty", "(", ")", ")", "{", "BinaryOperator", "*", "Op", "=", "LogicOpsWorklist", ".", "back", "(", ")", ";", "LogicOpsWorklist", ".", "pop_back", "(", ")", ";", "if", "(", "ConvertedInsts", ".", "count", "(", "dyn_cast", "<", "Instruction", ">", "(", "Op", "->", "getOperand", "(", "0", ")", ")", ")", "&&", "ConvertedInsts", ".", "count", "(", "dyn_cast", "<", "Instruction", ">", "(", "Op", "->", "getOperand", "(", "1", ")", ")", ")", "&&", "!", "ConvertedInsts", ".", "count", "(", "Op", ")", ")", "convertLogicOp", "(", "*", "Op", ")", ";", "}", "Module", "&", "M", "=", "*", "F", ".", "getParent", "(", ")", ";", "auto", "&", "Ctx", "=", "M", ".", "getContext", "(", ")", ";", "Value", "*", "Zero32", "=", "ConstantInt", "::", "get", "(", "Type", "::", "getInt32Ty", "(", "Ctx", ")", ",", "0", ")", ";", "bool", "MadeChange", "=", "false", ";", "for", "(", "auto", "&", "It", ":", "reverse", "(", "ConvertedInsts", ")", ")", "{", "Instruction", "*", "I", "=", "It", ".", "first", ";", "Value", "*", "V", ";", "int", "Mask", ";", "bool", "Worthy", ";", "std", "::", "tie", "(", "V", ",", "Mask", ",", "Worthy", ")", "=", "It", ".", "second", ";", "if", "(", "!", "I", "->", "user_empty", "(", ")", ")", "{", "if", "(", "!", "Worthy", ")", "continue", ";", "Value", "*", "TDCFunc", "=", "Intrinsic", "::", "getDeclaration", "(", "&", "M", ",", "Intrinsic", "::", "s390_tdc", ",", "V", "->", "getType", "(", ")", ")", ";", "IRBuilder", "<", ">", "IRB", "(", "I", ")", ";", "Value", "*", "MaskVal", "=", "ConstantInt", "::", "get", "(", "Type", "::", "getInt64Ty", "(", "Ctx", ")", ",", "Mask", ")", ";", "Instruction", "*", "TDC", "=", "IRB", ".", "CreateCall", "(", "TDCFunc", ",", "{", "V", ",", "MaskVal", "}", ")", ";", "Value", "*", "ICmp", "=", "IRB", ".", "CreateICmp", "(", "CmpInst", "::", "ICMP_NE", ",", "TDC", ",", "Zero32", ")", ";", "I", "->", "replaceAllUsesWith", "(", "ICmp", ")", ";", "}", "I", "->", "eraseFromParent", "(", ")", ";", "MadeChange", "=", "true", ";", "}", "if", "(", "!", "MadeChange", ")", "return", "false", ";", "for", "(", "auto", "*", "I", ":", "PossibleJunk", ")", "if", "(", "I", "->", "user_empty", "(", ")", ")", "I", "->", "eraseFromParent", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["SystemZ", "SystemZ", "0", "1", "0", "Intrinsic::getDeclaration", "Intrinsic::s390_tdc"], "File": "SystemZTDC", "Func": "runOnFunction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3045, "Length": 419, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "riscv_gen_gpr_save_insn", "(", "struct", "riscv_frame_info", "*", "frame", ")", "{", "unsigned", "count", "=", "riscv_save_libcall_count", "(", "frame", "->", "mask", ")", ";", "unsigned", "veclen", "=", "1", "+", "2", "+", "1", "+", "count", ";", "rtvec", "vec", "=", "rtvec_alloc", "(", "veclen", ")", ";", "gcc_assert", "(", "veclen", "<=", "ARRAY_SIZE", "(", "gpr_save_reg_order", ")", ")", ";", "RTVEC_ELT", "(", "vec", ",", "0", ")", "=", "gen_rtx_UNSPEC_VOLATILE", "(", "VOIDmode", ",", "gen_rtvec", "(", "1", ",", "GEN_INT", "(", "count", ")", ")", ",", "UNSPECV_GPR_SAVE", ")", ";", "for", "(", "unsigned", "i", "=", "1", ";", "i", "<", "veclen", ";", "++", "i", ")", "{", "unsigned", "regno", "=", "gpr_save_reg_order", "[", "i", "]", ";", "rtx", "reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "regno", ")", ";", "rtx", "elt", ";", "if", "(", "i", "<", "3", ")", "elt", "=", "gen_rtx_CLOBBER", "(", "Pmode", ",", "reg", ")", ";", "else", "elt", "=", "gen_rtx_USE", "(", "Pmode", ",", "reg", ")", ";", "RTVEC_ELT", "(", "vec", ",", "i", ")", "=", "elt", ";", "}", "gcc_assert", "(", "(", "count", "==", "0", ")", "||", "BITSET_P", "(", "frame", "->", "mask", ",", "gpr_save_reg_order", "[", "veclen", "-", "1", "]", ")", ")", ";", "return", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "vec", ")", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "generating", "gpr_save", "pattern", "."], "TS_V_token": ["riscv", "1", "2", "1", "0", "1", "1", "3", "0", "1"], "File": "riscv", "Func": "riscv_gen_gpr_save_insn", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3046, "Length": 175, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_expand_vcondv2sf", "(", "rtx", "dest", ",", "rtx", "true_src", ",", "rtx", "false_src", ",", "enum", "rtx_code", "cond", ",", "rtx", "cmp_op0", ",", "rtx", "cmp_op1", ")", "{", "rtx", "cmp_result", ";", "bool", "reversed_p", ";", "reversed_p", "=", "mips_reversed_fp_cond", "(", "&", "cond", ")", ";", "cmp_result", "=", "mips_allocate_fcc", "(", "CCV2mode", ")", ";", "emit_insn", "(", "gen_scc_ps", "(", "cmp_result", ",", "gen_rtx_fmt_ee", "(", "cond", ",", "VOIDmode", ",", "cmp_op0", ",", "cmp_op1", ")", ")", ")", ";", "if", "(", "reversed_p", ")", "emit_insn", "(", "gen_mips_cond_move_tf_ps", "(", "dest", ",", "false_src", ",", "true_src", ",", "cmp_result", ")", ")", ";", "else", "emit_insn", "(", "gen_mips_cond_move_tf_ps", "(", "dest", ",", "true_src", ",", "false_src", ",", "cmp_result", ")", ")", ";", "}", ""], "natrual_language": ["Implement", ":", "(", "set", "temp", "(", "COND", ":", "CCV2", "CMP_OP0", "CMP_OP1", ")", ")", "(", "set", "DEST", "(", "unspec", "[", "TRUE_SRC", "FALSE_SRC", "temp", "]", "UNSPEC_MOVE_TF_PS", ")", ")"], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_expand_vcondv2sf", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3047, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isVectorLoadExtDesirable", "(", "SDValue", "ExtVal", ")", "const", "{", "return", "ExtVal", ".", "getValueType", "(", ")", ".", "isScalableVector", "(", ")", "||", "useSVEForFixedLengthVectorVT", "(", "ExtVal", ".", "getValueType", "(", ")", ",", "true", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "folding", "a", "vector", "load", "into", "ExtVal", "(", "a", "sign", ",", "zero", ",", "or", "any", "extend", "node", ")", "is", "profitable", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64ISelLowering (2)2", "Func": "isVectorLoadExtDesirable", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3048, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "ParamLoadedValue", ">", "MipsInstrInfo", "::", "describeLoadedValue", "(", "const", "MachineInstr", "&", "MI", ",", "Register", "Reg", ")", "const", "{", "DIExpression", "*", "Expr", "=", "DIExpression", "::", "get", "(", "MI", ".", "getMF", "(", ")", "->", "getFunction", "(", ")", ".", "getContext", "(", ")", ",", "{", "}", ")", ";", "if", "(", "auto", "RegImm", "=", "isAddImmediate", "(", "MI", ",", "Reg", ")", ")", "{", "Register", "SrcReg", "=", "RegImm", "->", "Reg", ";", "int64_t", "Offset", "=", "RegImm", "->", "Imm", ";", "if", "(", "SrcReg", "==", "Mips", "::", "ZERO", "||", "SrcReg", "==", "Mips", "::", "ZERO_64", ")", "{", "return", "ParamLoadedValue", "(", "MI", ".", "getOperand", "(", "2", ")", ",", "Expr", ")", ";", "}", "Expr", "=", "DIExpression", "::", "prepend", "(", "Expr", ",", "DIExpression", "::", "ApplyOffset", ",", "Offset", ")", ";", "return", "ParamLoadedValue", "(", "MachineOperand", "::", "CreateReg", "(", "SrcReg", ",", "false", ")", ",", "Expr", ")", ";", "}", "else", "if", "(", "auto", "DestSrc", "=", "isCopyInstr", "(", "MI", ")", ")", "{", "const", "MachineFunction", "*", "MF", "=", "MI", ".", "getMF", "(", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "MF", "->", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "Register", "DestReg", "=", "DestSrc", "->", "Destination", "->", "getReg", "(", ")", ";", "if", "(", "TRI", "->", "isSuperRegister", "(", "Reg", ",", "DestReg", ")", "||", "TRI", "->", "isSubRegister", "(", "Reg", ",", "DestReg", ")", ")", "return", "None", ";", "}", "return", "TargetInstrInfo", "::", "describeLoadedValue", "(", "MI", ",", "Reg", ")", ";", "}", ""], "natrual_language": ["Produce", "the", "expression", "describing", "the", "MI", "loading", "a", "value", "into", "the", "physical", "register", "Reg", "."], "TS_V_token": ["Mips", "Mips", "Mips::ZERO", "Mips::ZERO_64", "2"], "File": "MipsInstrInfo28", "Func": "describeLoadedValue", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3049, "Length": 215, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isTruncateFree", "(", "EVT", "VT1", ",", "EVT", "VT2", ")", "const", "{", "if", "(", "!", "VT1", ".", "isInteger", "(", ")", "||", "!", "VT2", ".", "isInteger", "(", ")", ")", "return", "false", ";", "unsigned", "NumBits1", "=", "VT1", ".", "getSizeInBits", "(", ")", ";", "unsigned", "NumBits2", "=", "VT2", ".", "getSizeInBits", "(", ")", ";", "return", "NumBits1", ">", "NumBits2", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "'s", "free", "to", "truncate", "a", "value", "of", "type", "Ty1", "to", "type", "Ty2", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering (2)", "Func": "isTruncateFree", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3050, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "AArch64AsmParser", "::", "tryParseRegister", "(", ")", "{", "MCAsmParser", "&", "Parser", "=", "getParser", "(", ")", ";", "const", "AsmToken", "&", "Tok", "=", "Parser", ".", "getTok", "(", ")", ";", "if", "(", "Tok", ".", "isNot", "(", "AsmToken", "::", "Identifier", ")", ")", "return", "-", "1", ";", "std", "::", "string", "lowerCase", "=", "Tok", ".", "getString", "(", ")", ".", "lower", "(", ")", ";", "unsigned", "RegNum", "=", "matchRegisterNameAlias", "(", "lowerCase", ",", "RegKind", "::", "Scalar", ")", ";", "if", "(", "RegNum", "==", "0", ")", "RegNum", "=", "StringSwitch", "<", "unsigned", ">", "(", "lowerCase", ")", ".", "Case", "(", "\"fp\"", ",", "AArch64", "::", "FP", ")", ".", "Case", "(", "\"lr\"", ",", "AArch64", "::", "LR", ")", ".", "Case", "(", "\"x31\"", ",", "AArch64", "::", "XZR", ")", ".", "Case", "(", "\"w31\"", ",", "AArch64", "::", "WZR", ")", ".", "Default", "(", "0", ")", ";", "if", "(", "RegNum", "==", "0", ")", "return", "-", "1", ";", "Parser", ".", "Lex", "(", ")", ";", "return", "RegNum", ";", "}", ""], "natrual_language": ["tryParseRegister", "-", "parse", "one", "register", "if", "possible"], "TS_V_token": ["AArch64", "AArch64", "1", "0", "\"fp\"", "AArch64::FP", "\"lr\"", "AArch64::LR", "\"x31\"", "AArch64::XZR", "\"w31\"", "AArch64::WZR", "0", "0", "1"], "File": "AArch64AsmParser12", "Func": "tryParseRegister", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3051, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "string", "getName", "(", ")", "const", "override", "{", "return", "Name", ";", "}", ""], "natrual_language": ["Return", "a", "string", "with", "the", "name", "of", "the", "plan", "and", "the", "applicable", "VFs", "and", "UFs", "."], "TS_V_token": ["AMDGPU"], "File": "AMDGPULibFunc (2)", "Func": "getName", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3052, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "frv_option_override", "(", "void", ")", "{", "int", "regno", ";", "unsigned", "int", "i", ";", "target_flags", "|=", "(", "frv_default_flags_for_cpu", "(", ")", "&", "~", "target_flags_explicit", ")", ";", "if", "(", "TARGET_LIBPIC", ")", "{", "if", "(", "!", "flag_pic", ")", "flag_pic", "=", "2", ";", "if", "(", "!", "OPTION_SET_P", "(", "g_switch_value", ")", ")", "{", "g_switch_value", "=", "0", ";", "}", "}", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "{", "enum", "reg_class", "rclass", ";", "if", "(", "GPR_P", "(", "regno", ")", ")", "{", "int", "gpr_reg", "=", "regno", "-", "GPR_FIRST", ";", "if", "(", "gpr_reg", "==", "GR8_REG", ")", "rclass", "=", "GR8_REGS", ";", "else", "if", "(", "gpr_reg", "==", "GR9_REG", ")", "rclass", "=", "GR9_REGS", ";", "else", "if", "(", "gpr_reg", "==", "GR14_REG", ")", "rclass", "=", "FDPIC_FPTR_REGS", ";", "else", "if", "(", "gpr_reg", "==", "FDPIC_REGNO", ")", "rclass", "=", "FDPIC_REGS", ";", "else", "if", "(", "(", "gpr_reg", "&", "3", ")", "==", "0", ")", "rclass", "=", "QUAD_REGS", ";", "else", "if", "(", "(", "gpr_reg", "&", "1", ")", "==", "0", ")", "rclass", "=", "EVEN_REGS", ";", "else", "rclass", "=", "GPR_REGS", ";", "}", "else", "if", "(", "FPR_P", "(", "regno", ")", ")", "{", "int", "fpr_reg", "=", "regno", "-", "GPR_FIRST", ";", "if", "(", "(", "fpr_reg", "&", "3", ")", "==", "0", ")", "rclass", "=", "QUAD_FPR_REGS", ";", "else", "if", "(", "(", "fpr_reg", "&", "1", ")", "==", "0", ")", "rclass", "=", "FEVEN_REGS", ";", "else", "rclass", "=", "FPR_REGS", ";", "}", "else", "if", "(", "regno", "==", "LR_REGNO", ")", "rclass", "=", "LR_REG", ";", "else", "if", "(", "regno", "==", "LCR_REGNO", ")", "rclass", "=", "LCR_REG", ";", "else", "if", "(", "ICC_P", "(", "regno", ")", ")", "rclass", "=", "ICC_REGS", ";", "else", "if", "(", "FCC_P", "(", "regno", ")", ")", "rclass", "=", "FCC_REGS", ";", "else", "if", "(", "ICR_P", "(", "regno", ")", ")", "rclass", "=", "ICR_REGS", ";", "else", "if", "(", "FCR_P", "(", "regno", ")", ")", "rclass", "=", "FCR_REGS", ";", "else", "if", "(", "ACC_P", "(", "regno", ")", ")", "{", "int", "r", "=", "regno", "-", "ACC_FIRST", ";", "if", "(", "(", "r", "&", "3", ")", "==", "0", ")", "rclass", "=", "QUAD_ACC_REGS", ";", "else", "if", "(", "(", "r", "&", "1", ")", "==", "0", ")", "rclass", "=", "EVEN_ACC_REGS", ";", "else", "rclass", "=", "ACC_REGS", ";", "}", "else", "if", "(", "ACCG_P", "(", "regno", ")", ")", "rclass", "=", "ACCG_REGS", ";", "else", "rclass", "=", "NO_REGS", ";", "regno_reg_class", "[", "regno", "]", "=", "rclass", ";", "}", "if", "(", "!", "OPTION_SET_P", "(", "g_switch_value", ")", "&&", "!", "TARGET_LIBPIC", ")", "g_switch_value", "=", "SDATA_DEFAULT_SIZE", ";", "if", "(", "flag_pic", "||", "TARGET_FDPIC", ")", "targetm", ".", "asm_out", ".", "unaligned_op", ".", "si", "=", "0", ";", "if", "(", "(", "target_flags_explicit", "&", "MASK_LINKED_FP", ")", "==", "0", ")", "target_flags", "|=", "MASK_LINKED_FP", ";", "if", "(", "(", "target_flags_explicit", "&", "MASK_OPTIMIZE_MEMBAR", ")", "==", "0", ")", "target_flags", "|=", "MASK_OPTIMIZE_MEMBAR", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "frv_unit_names", ")", ";", "i", "++", ")", "frv_unit_codes", "[", "i", "]", "=", "get_cpu_unit_code", "(", "frv_unit_names", "[", "i", "]", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "frv_type_to_unit", ")", ";", "i", "++", ")", "frv_type_to_unit", "[", "i", "]", "=", "ARRAY_SIZE", "(", "frv_unit_codes", ")", ";", "init_machine_status", "=", "frv_init_machine_status", ";", "}", ""], "natrual_language": ["Implement", "TARGET_OPTION_OVERRIDE", "."], "TS_V_token": ["frv", "2", "0", "0", "3", "0", "1", "0", "3", "0", "1", "0", "3", "0", "1", "0", "0", "0", "0", "0", "0"], "File": "frv", "Func": "frv_option_override", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 3053, "Length": 482, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "uint64_t", "Address", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "raw_ostream", "&", "OS", ")", "{", "assert", "(", "HexagonMCInstrInfo", "::", "isBundle", "(", "*", "MI", ")", ")", ";", "assert", "(", "HexagonMCInstrInfo", "::", "bundleSize", "(", "*", "MI", ")", "<=", "HEXAGON_PACKET_SIZE", ")", ";", "assert", "(", "HexagonMCInstrInfo", "::", "bundleSize", "(", "*", "MI", ")", ">", "0", ")", ";", "HasExtender", "=", "false", ";", "for", "(", "auto", "const", "&", "I", ":", "HexagonMCInstrInfo", "::", "bundleInstructions", "(", "*", "MI", ")", ")", "{", "MCInst", "const", "&", "MCI", "=", "*", "I", ".", "getInst", "(", ")", ";", "if", "(", "HexagonMCInstrInfo", "::", "isDuplex", "(", "MII", ",", "MCI", ")", ")", "{", "printInstruction", "(", "MCI", ".", "getOperand", "(", "1", ")", ".", "getInst", "(", ")", ",", "Address", ",", "OS", ")", ";", "OS", "<<", "'\\v'", ";", "HasExtender", "=", "false", ";", "printInstruction", "(", "MCI", ".", "getOperand", "(", "0", ")", ".", "getInst", "(", ")", ",", "Address", ",", "OS", ")", ";", "}", "else", "printInstruction", "(", "&", "MCI", ",", "Address", ",", "OS", ")", ";", "HasExtender", "=", "HexagonMCInstrInfo", "::", "isImmext", "(", "MCI", ")", ";", "OS", "<<", "\"\\n\"", ";", "}", "bool", "IsLoop0", "=", "HexagonMCInstrInfo", "::", "isInnerLoop", "(", "*", "MI", ")", ";", "bool", "IsLoop1", "=", "HexagonMCInstrInfo", "::", "isOuterLoop", "(", "*", "MI", ")", ";", "if", "(", "IsLoop0", ")", "{", "OS", "<<", "(", "IsLoop1", "?", "\" :endloop01\"", ":", "\" :endloop0\"", ")", ";", "}", "else", "if", "(", "IsLoop1", ")", "{", "OS", "<<", "\" :endloop1\"", ";", "}", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "0", "Hexagon", "Hexagon", "1", "0", "Hexagon", "\"\\n\"", "Hexagon", "Hexagon", "\" :endloop01\"", "\" :endloop0\"", "\" :endloop1\""], "File": "HexagonInstPrinter12", "Func": "printInst", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3054, "Length": 227, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", ",", "unsigned", ",", "bool", "*", "Fast", ")", "const", "{", "bool", "AllowsUnaligned", "=", "Subtarget", "->", "allowsUnalignedMem", "(", ")", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "default", ":", "return", "false", ";", "case", "MVT", "::", "i8", ":", "case", "MVT", "::", "i16", ":", "case", "MVT", "::", "i32", ":", "{", "if", "(", "AllowsUnaligned", ")", "{", "if", "(", "Fast", ")", "*", "Fast", "=", "Subtarget", "->", "hasV7Ops", "(", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", "case", "MVT", "::", "f64", ":", "case", "MVT", "::", "v2f64", ":", "{", "if", "(", "Subtarget", "->", "hasNEON", "(", ")", "&&", "(", "AllowsUnaligned", "||", "Subtarget", "->", "isLittle", "(", ")", ")", ")", "{", "if", "(", "Fast", ")", "*", "Fast", "=", "true", ";", "return", "true", ";", "}", "return", "false", ";", "}", "}", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "allows", "unaligned", "memory", "accesses", "of", "the", "specified", "type", "."], "TS_V_token": ["ARM", "ARM", "MVT::i8", "MVT::i16", "MVT::i32", "MVT::f64", "MVT::v2f64"], "File": "ARMISelLowering (2)2", "Func": "allowsMisalignedMemoryAccesses", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3055, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "s390_atomic_assign_expand_fenv", "(", "tree", "*", "hold", ",", "tree", "*", "clear", ",", "tree", "*", "update", ")", "{", "tree", "sfpc", "=", "s390_builtin_decls", "[", "S390_BUILTIN_S390_SFPC", "]", ";", "tree", "efpc", "=", "s390_builtin_decls", "[", "S390_BUILTIN_S390_EFPC", "]", ";", "tree", "call_efpc", "=", "build_call_expr", "(", "efpc", ",", "0", ")", ";", "tree", "fenv_var", "=", "create_tmp_var", "(", "unsigned_type_node", ")", ";", "tree", "old_fpc", "=", "build2", "(", "MODIFY_EXPR", ",", "unsigned_type_node", ",", "fenv_var", ",", "call_efpc", ")", ";", "tree", "new_fpc", "=", "build2", "(", "BIT_AND_EXPR", ",", "unsigned_type_node", ",", "fenv_var", ",", "build_int_cst", "(", "unsigned_type_node", ",", "~", "(", "FPC_DXC_MASK", "|", "FPC_FLAGS_MASK", "|", "FPC_EXCEPTION_MASK", ")", ")", ")", ";", "tree", "set_new_fpc", "=", "build_call_expr", "(", "sfpc", ",", "1", ",", "new_fpc", ")", ";", "*", "hold", "=", "build2", "(", "COMPOUND_EXPR", ",", "void_type_node", ",", "old_fpc", ",", "set_new_fpc", ")", ";", "new_fpc", "=", "build2", "(", "BIT_AND_EXPR", ",", "unsigned_type_node", ",", "call_efpc", ",", "build_int_cst", "(", "unsigned_type_node", ",", "~", "(", "FPC_DXC_MASK", "|", "FPC_FLAGS_MASK", ")", ")", ")", ";", "*", "clear", "=", "build_call_expr", "(", "sfpc", ",", "1", ",", "new_fpc", ")", ";", "old_fpc", "=", "create_tmp_var", "(", "unsigned_type_node", ")", ";", "tree", "store_old_fpc", "=", "build2", "(", "MODIFY_EXPR", ",", "void_type_node", ",", "old_fpc", ",", "call_efpc", ")", ";", "set_new_fpc", "=", "build_call_expr", "(", "sfpc", ",", "1", ",", "fenv_var", ")", ";", "tree", "raise_old_except", "=", "build2", "(", "BIT_AND_EXPR", ",", "unsigned_type_node", ",", "old_fpc", ",", "build_int_cst", "(", "unsigned_type_node", ",", "FPC_FLAGS_MASK", ")", ")", ";", "raise_old_except", "=", "build2", "(", "RSHIFT_EXPR", ",", "unsigned_type_node", ",", "raise_old_except", ",", "build_int_cst", "(", "unsigned_type_node", ",", "FPC_FLAGS_SHIFT", ")", ")", ";", "tree", "atomic_feraiseexcept", "=", "builtin_decl_implicit", "(", "BUILT_IN_ATOMIC_FERAISEEXCEPT", ")", ";", "raise_old_except", "=", "build_call_expr", "(", "atomic_feraiseexcept", ",", "1", ",", "raise_old_except", ")", ";", "*", "update", "=", "build2", "(", "COMPOUND_EXPR", ",", "void_type_node", ",", "build2", "(", "COMPOUND_EXPR", ",", "void_type_node", ",", "store_old_fpc", ",", "set_new_fpc", ")", ",", "raise_old_except", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ATOMIC_ASSIGN_EXPAND_FENV", "hook", "."], "TS_V_token": ["s390", "0", "1", "1", "1", "1"], "File": "s3904", "Func": "s390_atomic_assign_expand_fenv", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3056, "Length": 264, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZFrameInfo", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "DisableFramePointerElim", "(", "MF", ")", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZFrameInfo", "Func": "hasFP", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3057, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "addPostRegAlloc", "(", ")", "override", "{", "if", "(", "PatmosSinglePathInfo", "::", "isEnabled", "(", ")", ")", "{", "addPass", "(", "createPatmosSPMarkPass", "(", "getPatmosTargetMachine", "(", ")", ")", ")", ";", "addPass", "(", "createPatmosSinglePathInfoPass", "(", "getPatmosTargetMachine", "(", ")", ")", ")", ";", "addPass", "(", "createPatmosSPPreparePass", "(", "getPatmosTargetMachine", "(", ")", ")", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "after", "register", "allocation", "pass", "pipeline", "but", "before", "prolog-epilog", "insertion", "."], "TS_V_token": ["Patmos", "Patmos", "Patmos", "Patmos", "Patmos", "Patmos", "Patmos", "Patmos"], "File": "PatmosTargetMachine1", "Func": "addPostRegAlloc", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 3058, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TeakDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "LOAD", ":", "if", "(", "SelectLoad", "(", "N", ")", ")", "return", ";", "break", ";", "}", "SelectCode", "(", "N", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["Teak", "Teak", "ISD::LOAD"], "File": "TeakISelDAGToDAG", "Func": "Select", "Target": "Teak", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3059, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "X86TargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "SelectionDAG", "&", "DAG", "=", "DCI", ".", "DAG", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "VECTOR_SHUFFLE", ":", "return", "PerformShuffleCombine", "(", "N", ",", "DAG", ",", "*", "this", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "PerformSELECTCombine", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "case", "X86ISD", "::", "CMOV", ":", "return", "PerformCMOVCombine", "(", "N", ",", "DAG", ",", "DCI", ")", ";", "case", "ISD", "::", "MUL", ":", "return", "PerformMulCombine", "(", "N", ",", "DAG", ",", "DCI", ")", ";", "case", "ISD", "::", "SHL", ":", "case", "ISD", "::", "SRA", ":", "case", "ISD", "::", "SRL", ":", "return", "PerformShiftCombine", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "PerformSTORECombine", "(", "N", ",", "DAG", ",", "Subtarget", ")", ";", "case", "X86ISD", "::", "FXOR", ":", "case", "X86ISD", "::", "FOR", ":", "return", "PerformFORCombine", "(", "N", ",", "DAG", ")", ";", "case", "X86ISD", "::", "FAND", ":", "return", "PerformFANDCombine", "(", "N", ",", "DAG", ")", ";", "case", "X86ISD", "::", "BT", ":", "return", "PerformBTCombine", "(", "N", ",", "DAG", ",", "DCI", ")", ";", "case", "X86ISD", "::", "VZEXT_MOVL", ":", "return", "PerformVZEXT_MOVLCombine", "(", "N", ",", "DAG", ")", ";", "case", "ISD", "::", "MEMBARRIER", ":", "return", "PerformMEMBARRIERCombine", "(", "N", ",", "DAG", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["This", "method", "will", "be", "invoked", "for", "all", "target", "nodes", "and", "for", "any", "target-independent", "nodes", "that", "the", "target", "has", "registered", "with", "invoke", "it", "for", "."], "TS_V_token": ["X86", "X86", "ISD::VECTOR_SHUFFLE", "ISD::SELECT", "X86ISD::CMOV", "ISD::MUL", "ISD::SHL", "ISD::SRA", "ISD::SRL", "ISD::STORE", "X86ISD::FXOR", "X86ISD::FOR", "X86ISD::FAND", "X86ISD::BT", "X86ISD::VZEXT_MOVL", "ISD::MEMBARRIER"], "File": "X86ISelLowering94", "Func": "PerformDAGCombine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3060, "Length": 216, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MBlazeRegisterInfo", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MBlazeFunctionInfo", "*", "MBlazeFI", "=", "MF", ".", "getInfo", "<", "MBlazeFunctionInfo", ">", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "DL", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "adjustMBlazeStackFrame", "(", "MF", ")", ";", "unsigned", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "StackSize", "==", "0", "&&", "!", "MFI", "->", "adjustsStack", "(", ")", ")", "return", ";", "if", "(", "StackSize", "<", "28", "&&", "MFI", "->", "adjustsStack", "(", ")", ")", "StackSize", "=", "28", ";", "int", "FPOffset", "=", "MBlazeFI", "->", "getFPStackOffset", "(", ")", ";", "int", "RAOffset", "=", "MBlazeFI", "->", "getRAStackOffset", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "MBlaze", "::", "ADDI", ")", ",", "MBlaze", "::", "R1", ")", ".", "addReg", "(", "MBlaze", "::", "R1", ")", ".", "addImm", "(", "-", "StackSize", ")", ";", "if", "(", "MFI", "->", "adjustsStack", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "MBlaze", "::", "SWI", ")", ")", ".", "addReg", "(", "MBlaze", "::", "R15", ")", ".", "addImm", "(", "RAOffset", ")", ".", "addReg", "(", "MBlaze", "::", "R1", ")", ";", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "MBlaze", "::", "SWI", ")", ")", ".", "addReg", "(", "MBlaze", "::", "R19", ")", ".", "addImm", "(", "FPOffset", ")", ".", "addReg", "(", "MBlaze", "::", "R1", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "MBlaze", "::", "ADD", ")", ",", "MBlaze", "::", "R19", ")", ".", "addReg", "(", "MBlaze", "::", "R1", ")", ".", "addReg", "(", "MBlaze", "::", "R0", ")", ";", "}", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["MBlaze", "MBlaze", "MBlaze", "MBlaze", "MBlaze", "MBlaze", "0", "28", "28", "MBlaze", "MBlaze", "MBlaze::ADDI", "MBlaze::R1", "MBlaze::R1", "MBlaze::SWI", "MBlaze::R15", "MBlaze::R1", "MBlaze::SWI", "MBlaze::R19", "MBlaze::R1", "MBlaze::ADD", "MBlaze::R19", "MBlaze::R1", "MBlaze::R0"], "File": "MBlazeRegisterInfo3", "Func": "emitPrologue", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3061, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_function_specific_restore", "(", "struct", "gcc_options", "*", "opts", ",", "struct", "cl_target_option", "*", "ptr", ")", "{", "opts", "->", "x_rs6000_isa_flags", "=", "ptr", "->", "x_rs6000_isa_flags", ";", "opts", "->", "x_rs6000_isa_flags_explicit", "=", "ptr", "->", "x_rs6000_isa_flags_explicit", ";", "(", "void", ")", "rs6000_option_override_internal", "(", "false", ")", ";", "}", ""], "natrual_language": ["Restore", "the", "current", "options"], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_function_specific_restore", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3062, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "HexagonTargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "Glue", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "const", "SDLoc", "&", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "SDValue", "Callee", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC_Hexagon", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "SDValue", "RetVal", ";", "if", "(", "RVLocs", "[", "i", "]", ".", "getValVT", "(", ")", "==", "MVT", "::", "i1", ")", "{", "auto", "&", "MRI", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ";", "SDValue", "FR0", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ",", "MVT", "::", "i32", ",", "Glue", ")", ";", "unsigned", "PredR", "=", "MRI", ".", "createVirtualRegister", "(", "&", "Hexagon", "::", "PredRegsRegClass", ")", ";", "SDValue", "TPR", "=", "DAG", ".", "getCopyToReg", "(", "FR0", ".", "getValue", "(", "1", ")", ",", "dl", ",", "PredR", ",", "FR0", ".", "getValue", "(", "0", ")", ",", "FR0", ".", "getValue", "(", "2", ")", ")", ";", "RetVal", "=", "DAG", ".", "getCopyFromReg", "(", "TPR", ".", "getValue", "(", "0", ")", ",", "dl", ",", "PredR", ",", "MVT", "::", "i1", ")", ";", "Glue", "=", "TPR", ".", "getValue", "(", "1", ")", ";", "Chain", "=", "TPR", ".", "getValue", "(", "0", ")", ";", "}", "else", "{", "RetVal", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ",", "RVLocs", "[", "i", "]", ".", "getValVT", "(", ")", ",", "Glue", ")", ";", "Glue", "=", "RetVal", ".", "getValue", "(", "2", ")", ";", "Chain", "=", "RetVal", ".", "getValue", "(", "1", ")", ";", "}", "InVals", ".", "push_back", "(", "RetVal", ".", "getValue", "(", "0", ")", ")", ";", "}", "return", "Chain", ";", "}", ""], "natrual_language": ["LowerCallResult", "-", "Lower", "the", "result", "values", "of", "an", "ISD", ":", ":CALL", "into", "the", "appropriate", "copies", "out", "of", "appropriate", "physical", "registers", "."], "TS_V_token": ["Hexagon", "Hexagon", "ISD::InputArg", "16", "Hexagon", "0", "MVT::i1", "MVT::i32", "Hexagon::PredRegsRegClass", "1", "0", "2", "0", "MVT::i1", "1", "0", "2", "1", "0"], "File": "HexagonISelLowering (2)1", "Func": "LowerCallResult", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3063, "Length": 333, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVELFTargetObjectFile", "::", "getModuleMetadata", "(", "Module", "&", "M", ")", "{", "SmallVector", "<", "Module", "::", "ModuleFlagEntry", ",", "8", ">", "ModuleFlags", ";", "M", ".", "getModuleFlagsMetadata", "(", "ModuleFlags", ")", ";", "for", "(", "const", "auto", "&", "MFE", ":", "ModuleFlags", ")", "{", "StringRef", "Key", "=", "MFE", ".", "Key", "->", "getString", "(", ")", ";", "if", "(", "Key", "==", "\"SmallDataLimit\"", ")", "{", "SSThreshold", "=", "mdconst", "::", "extract", "<", "ConstantInt", ">", "(", "MFE", ".", "Val", ")", "->", "getZExtValue", "(", ")", ";", "break", ";", "}", "}", "}", ""], "natrual_language": ["Get", "the", "module-level", "metadata", "that", "the", "platform", "cares", "about", "."], "TS_V_token": ["RISCV", "RISCV", "8", "\"SmallDataLimit\""], "File": "RISCVTargetObjectFile2", "Func": "getModuleMetadata", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3064, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AsmPrinter", "::", "emitEndOfAsmFile", "(", "Module", "&", "M", ")", "{", "const", "Triple", "&", "TT", "=", "TM", ".", "getTargetTriple", "(", ")", ";", "if", "(", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", "{", "emitNonLazyStubs", "(", "MMI", ",", "*", "OutStreamer", ")", ";", "emitStackMaps", "(", "SM", ")", ";", "FM", ".", "serializeToFaultMapSection", "(", ")", ";", "OutStreamer", "->", "emitAssemblerFlag", "(", "MCAF_SubsectionsViaSymbols", ")", ";", "}", "else", "if", "(", "TT", ".", "isOSBinFormatCOFF", "(", ")", ")", "{", "if", "(", "MMI", "->", "usesMSVCFloatingPoint", "(", ")", ")", "{", "StringRef", "SymbolName", "=", "(", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "x86", ")", "?", "\"__fltused\"", ":", "\"_fltused\"", ";", "MCSymbol", "*", "S", "=", "MMI", "->", "getContext", "(", ")", ".", "getOrCreateSymbol", "(", "SymbolName", ")", ";", "OutStreamer", "->", "emitSymbolAttribute", "(", "S", ",", "MCSA_Global", ")", ";", "return", ";", "}", "emitStackMaps", "(", "SM", ")", ";", "}", "else", "if", "(", "TT", ".", "isOSBinFormatELF", "(", ")", ")", "{", "emitStackMaps", "(", "SM", ")", ";", "FM", ".", "serializeToFaultMapSection", "(", ")", ";", "}", "}", ""], "natrual_language": ["This", "virtual", "method", "can", "be", "overridden", "by", "targets", "that", "want", "to", "emit", "something", "at", "the", "end", "of", "their", "file", "."], "TS_V_token": ["X86", "X86", "\"__fltused\"", "\"_fltused\""], "File": "X86AsmPrinter10", "Func": "emitEndOfAsmFile", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3065, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sh_split_movrt_negc_to_movt_xor", "(", "rtx_insn", "*", "curr_insn", ",", "rtx", "operands", "[", "]", ")", "{", "if", "(", "!", "can_create_pseudo_p", "(", ")", ")", "return", "false", ";", "set_of_reg", "t_before_negc", "=", "sh_find_set_of_reg", "(", "get_t_reg_rtx", "(", ")", ",", "curr_insn", ",", "prev_nonnote_insn_bb", ")", ";", "set_of_reg", "t_after_negc", "=", "sh_find_set_of_reg", "(", "get_t_reg_rtx", "(", ")", ",", "curr_insn", ",", "next_nonnote_insn_bb", ")", ";", "if", "(", "t_before_negc", ".", "set_rtx", "!=", "NULL_RTX", "&&", "t_after_negc", ".", "set_rtx", "!=", "NULL_RTX", "&&", "rtx_equal_p", "(", "t_before_negc", ".", "set_rtx", ",", "t_after_negc", ".", "set_rtx", ")", "&&", "!", "reg_used_between_p", "(", "get_t_reg_rtx", "(", ")", ",", "curr_insn", ",", "t_after_negc", ".", "insn", ")", "&&", "!", "sh_insn_operands_modified_between_p", "(", "t_before_negc", ".", "insn", ",", "t_before_negc", ".", "insn", ",", "t_after_negc", ".", "insn", ")", "&&", "!", "sh_unspec_insn_p", "(", "t_after_negc", ".", "insn", ")", "&&", "!", "volatile_insn_p", "(", "PATTERN", "(", "t_after_negc", ".", "insn", ")", ")", "&&", "!", "side_effects_p", "(", "PATTERN", "(", "t_after_negc", ".", "insn", ")", ")", "&&", "!", "may_trap_or_fault_p", "(", "PATTERN", "(", "t_after_negc", ".", "insn", ")", ")", ")", "{", "emit_insn", "(", "gen_movrt_xor", "(", "operands", "[", "0", "]", ",", "get_t_reg_rtx", "(", ")", ")", ")", ";", "set_insn_deleted", "(", "t_after_negc", ".", "insn", ")", ";", "return", "true", ";", "}", "else", "return", "false", ";", "}", ""], "natrual_language": ["Given", "the", "current", "insn", ",", "which", "is", "assumed", "to", "be", "a", "movrt_negc", "insn", ",", "try", "to", "figure", "out", "whether", "it", "should", "be", "converted", "into", "a", "movt-xor", "sequence", "in", "the", "movrt_negc", "splitter", ".", "Returns", "true", "if", "insns", "have", "been", "modified", "and", "the", "splitter", "has", "succeeded", "."], "TS_V_token": ["sh", "0"], "File": "sh4", "Func": "sh_split_movrt_negc_to_movt_xor", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3066, "Length": 179, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "avr_out_movhi_r_mr_pre_dec_tiny", "(", "rtx_insn", "*", "insn", ",", "rtx", "op", "[", "]", ",", "int", "*", "plen", ")", "{", "int", "mem_volatile_p", "=", "0", ";", "rtx", "dest", "=", "op", "[", "0", "]", ";", "rtx", "src", "=", "op", "[", "1", "]", ";", "rtx", "base", "=", "XEXP", "(", "src", ",", "0", ")", ";", "mem_volatile_p", "=", "MEM_VOLATILE_P", "(", "src", ")", ";", "if", "(", "reg_overlap_mentioned_p", "(", "dest", ",", "XEXP", "(", "base", ",", "0", ")", ")", ")", "fatal_insn", "(", "\"incorrect insn:\"", ",", "insn", ")", ";", "if", "(", "!", "mem_volatile_p", ")", "return", "avr_asm_len", "(", "\"ld %B0,%1\"", "CR_TAB", "\"ld %A0,%1\"", ",", "op", ",", "plen", ",", "-", "2", ")", ";", "return", "avr_asm_len", "(", "TINY_SBIW", "(", "%", "I1", ",", "%", "J1", ",", "2", ")", "CR_TAB", "\"ld %A0,%p1+\"", "CR_TAB", "\"ld %B0,%p1\"", "CR_TAB", "TINY_SBIW", "(", "%", "I1", ",", "%", "J1", ",", "1", ")", ",", "op", ",", "plen", ",", "-", "6", ")", ";", "}", ""], "natrual_language": ["Same", "as", "movhi_r_mr", ",", "but", "TINY", "does", "not", "have", "ADIW", ",", "SBIW", "and", "LDD"], "TS_V_token": ["avr", "0", "0", "1", "0", "0", "\"incorrect insn:\"", "\"ld %B0,%1\"", "\"ld %A0,%1\"", "2", "2", "\"ld %A0,%p1+\"", "\"ld %B0,%p1\"", "1", "6"], "File": "avr", "Func": "avr_out_movhi_r_mr_pre_dec_tiny", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3067, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "if", "(", "N", "->", "isMachineOpcode", "(", ")", ")", "{", "N", "->", "setNodeId", "(", "-", "1", ")", ";", "return", ";", "}", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "Constant", ":", "SelectConstant", "(", "N", ")", ";", "return", ";", "case", "ISD", "::", "ConstantFP", ":", "SelectConstantFP", "(", "N", ")", ";", "return", ";", "case", "ISD", "::", "FrameIndex", ":", "SelectFrameIndex", "(", "N", ")", ";", "return", ";", "case", "ISD", "::", "BITCAST", ":", "SelectBitcast", "(", "N", ")", ";", "return", ";", "case", "ISD", "::", "SHL", ":", "SelectSHL", "(", "N", ")", ";", "return", ";", "case", "ISD", "::", "LOAD", ":", "SelectLoad", "(", "N", ")", ";", "return", ";", "case", "ISD", "::", "STORE", ":", "SelectStore", "(", "N", ")", ";", "return", ";", "case", "ISD", "::", "MUL", ":", "SelectMul", "(", "N", ")", ";", "return", ";", "case", "ISD", "::", "ZERO_EXTEND", ":", "SelectZeroExtend", "(", "N", ")", ";", "return", ";", "case", "ISD", "::", "INTRINSIC_W_CHAIN", ":", "SelectIntrinsicWChain", "(", "N", ")", ";", "return", ";", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "SelectIntrinsicWOChain", "(", "N", ")", ";", "return", ";", "}", "SelectCode", "(", "N", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["Hexagon", "Hexagon", "1", "ISD::Constant", "ISD::ConstantFP", "ISD::FrameIndex", "ISD::BITCAST", "ISD::SHL", "ISD::LOAD", "ISD::STORE", "ISD::MUL", "ISD::ZERO_EXTEND", "ISD::INTRINSIC_W_CHAIN", "ISD::INTRINSIC_WO_CHAIN"], "File": "HexagonISelDAGToDAG50", "Func": "Select", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3068, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "create_complex_muldiv", "(", "const", "char", "*", "name", ",", "built_in_function", "fncode", ",", "tree", "fntype", ")", "{", "tree", "fndecl", "=", "add_builtin_function", "(", "name", ",", "fntype", ",", "fncode", ",", "BUILT_IN_NORMAL", ",", "name", ",", "NULL_TREE", ")", ";", "set_builtin_decl", "(", "fncode", ",", "fndecl", ",", "true", ")", ";", "if", "(", "TARGET_DEBUG_BUILTIN", ")", "fprintf", "(", "stderr", ",", "\"create complex %s, fncode: %d\\n\"", ",", "name", ",", "(", "int", ")", "fncode", ")", ";", "return", ";", "}", ""], "natrual_language": ["Create", "a", "decl", "for", "either", "complex", "long", "double", "multiply", "or", "complex", "long", "double", "divide", "when", "long", "double", "is", "IEEE", "128-bit", "floating", "point", ".", "We", "ca", "n't", "use", "__multc3", "and", "__divtc3", "because", "the", "original", "long", "double", "using", "IBM", "extended", "double", "used", "those", "names", ".", "The", "complex", "multiply/divide", "functions", "are", "encoded", "as", "builtin", "functions", "with", "a", "complex", "result", "and", "4", "scalar", "inputs", "."], "TS_V_token": ["rs6000", "\"create complex %s, fncode: %d\\n\""], "File": "rs6000", "Func": "create_complex_muldiv", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3069, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "FastISel", "*", "ARM", "::", "createFastISel", "(", "FunctionLoweringInfo", "&", "funcInfo", ",", "const", "TargetLibraryInfo", "*", "libInfo", ")", "{", "const", "TargetMachine", "&", "TM", "=", "funcInfo", ".", "MF", "->", "getTarget", "(", ")", ";", "const", "ARMSubtarget", "*", "Subtarget", "=", "&", "TM", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "bool", "UseFastISel", "=", "false", ";", "UseFastISel", "|=", "Subtarget", "->", "isTargetMachO", "(", ")", "&&", "!", "Subtarget", "->", "isThumb1Only", "(", ")", ";", "UseFastISel", "|=", "Subtarget", "->", "isTargetLinux", "(", ")", "&&", "!", "Subtarget", "->", "isThumb", "(", ")", ";", "UseFastISel", "|=", "Subtarget", "->", "isTargetNaCl", "(", ")", "&&", "!", "Subtarget", "->", "isThumb", "(", ")", ";", "if", "(", "UseFastISel", ")", "{", "TM", ".", "Options", ".", "NoFramePointerElim", "=", "true", ";", "return", "new", "ARMFastISel", "(", "funcInfo", ",", "libInfo", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["This", "method", "returns", "a", "target", "specific", "FastISel", "object", ",", "or", "null", "if", "the", "target", "does", "not", "support", "``", "fast", "''", "ISel", "."], "TS_V_token": ["ARM", "ARM::createFastISel", "ARM", "ARM", "ARM", "0"], "File": "ARMFastISel (2)", "Func": "createFastISel", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3070, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMem", "(", ")", "const", "{", "return", "Kind", "==", "k_Memory", ";", "}", ""], "natrual_language": ["isMem", "-", "Is", "this", "a", "memory", "operand", "?"], "TS_V_token": ["ARM64"], "File": "ARM64AsmParser", "Func": "isMem", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3071, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIFoldOperands", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "*", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "const", "SIInstrInfo", "*", "TII", "=", "static_cast", "<", "const", "SIInstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "const", "SIRegisterInfo", "&", "TRI", "=", "TII", "->", "getRegisterInfo", "(", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "BI", "=", "MF", ".", "begin", "(", ")", ",", "BE", "=", "MF", ".", "end", "(", ")", ";", "BI", "!=", "BE", ";", "++", "BI", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "BI", ";", "MachineBasicBlock", "::", "iterator", "I", ",", "Next", ";", "for", "(", "I", "=", "MBB", ".", "begin", "(", ")", ";", "I", "!=", "MBB", ".", "end", "(", ")", ";", "I", "=", "Next", ")", "{", "Next", "=", "std", "::", "next", "(", "I", ")", ";", "MachineInstr", "&", "MI", "=", "*", "I", ";", "if", "(", "!", "isSafeToFold", "(", "MI", ".", "getOpcode", "(", ")", ")", ")", "continue", ";", "unsigned", "OpSize", "=", "TII", "->", "getOpSize", "(", "MI", ",", "1", ")", ";", "MachineOperand", "&", "OpToFold", "=", "MI", ".", "getOperand", "(", "1", ")", ";", "bool", "FoldingImm", "=", "OpToFold", ".", "isImm", "(", ")", ";", "if", "(", "!", "FoldingImm", "&&", "!", "OpToFold", ".", "isReg", "(", ")", ")", "continue", ";", "if", "(", "FoldingImm", "&&", "!", "TII", "->", "isInlineConstant", "(", "OpToFold", ",", "OpSize", ")", "&&", "!", "MRI", ".", "hasOneUse", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", "continue", ";", "if", "(", "OpToFold", ".", "isReg", "(", ")", "&&", "!", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "OpToFold", ".", "getReg", "(", ")", ")", ")", "continue", ";", "MachineOperand", "&", "Dst", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "if", "(", "Dst", ".", "isReg", "(", ")", "&&", "!", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "Dst", ".", "getReg", "(", ")", ")", ")", "continue", ";", "SmallVector", "<", "MachineInstr", "*", ",", "4", ">", "CopiesToReplace", ";", "std", "::", "vector", "<", "FoldCandidate", ">", "FoldList", ";", "for", "(", "MachineRegisterInfo", "::", "use_iterator", "Use", "=", "MRI", ".", "use_begin", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ",", "E", "=", "MRI", ".", "use_end", "(", ")", ";", "Use", "!=", "E", ";", "++", "Use", ")", "{", "MachineInstr", "*", "UseMI", "=", "Use", "->", "getParent", "(", ")", ";", "foldOperand", "(", "OpToFold", ",", "UseMI", ",", "Use", ".", "getOperandNo", "(", ")", ",", "FoldList", ",", "CopiesToReplace", ",", "TII", ",", "TRI", ",", "MRI", ")", ";", "}", "for", "(", "MachineInstr", "*", "Copy", ":", "CopiesToReplace", ")", "Copy", "->", "addImplicitDefUseOperands", "(", "MF", ")", ";", "for", "(", "FoldCandidate", "&", "Fold", ":", "FoldList", ")", "{", "if", "(", "updateOperand", "(", "Fold", ",", "TRI", ")", ")", "{", "if", "(", "!", "Fold", ".", "isImm", "(", ")", ")", "{", "assert", "(", "Fold", ".", "OpToFold", "&&", "Fold", ".", "OpToFold", "->", "isReg", "(", ")", ")", ";", "MRI", ".", "clearKillFlags", "(", "Fold", ".", "OpToFold", "->", "getReg", "(", ")", ")", ";", "}", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Folded source from \"", "<<", "MI", "<<", "\" into OpNo \"", "<<", "Fold", ".", "UseOpNo", "<<", "\" of \"", "<<", "*", "Fold", ".", "UseMI", "<<", "'\\n'", ")", ";", "}", "}", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "SI", "1", "1", "0", "0", "4", "0", "\"Folded source from \"", "\" into OpNo \"", "\" of \""], "File": "SIFoldOperands45", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3072, "Length": 496, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "IndexType", "end", "(", ")", "const", "{", "return", "second", ";", "}", ""], "natrual_language": ["Get", "a", "const_iterator", "to", "the", "end", "of", "the", "symbol", "table", "."], "TS_V_token": ["Hexagon"], "File": "HexagonBlockRanges", "Func": "end", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3073, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"X86 vzeroupper inserter\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 vzeroupper inserter\""], "File": "X86VZeroUpper", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3074, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_address_cost", "(", "rtx", "x", ",", "machine_mode", ",", "addr_space_t", ",", "bool", ")", "{", "struct", "ix86_address", "parts", ";", "int", "cost", "=", "1", ";", "int", "ok", "=", "ix86_decompose_address", "(", "x", ",", "&", "parts", ")", ";", "gcc_assert", "(", "ok", ")", ";", "if", "(", "parts", ".", "base", "&&", "GET_CODE", "(", "parts", ".", "base", ")", "==", "SUBREG", ")", "parts", ".", "base", "=", "SUBREG_REG", "(", "parts", ".", "base", ")", ";", "if", "(", "parts", ".", "index", "&&", "GET_CODE", "(", "parts", ".", "index", ")", "==", "SUBREG", ")", "parts", ".", "index", "=", "SUBREG_REG", "(", "parts", ".", "index", ")", ";", "if", "(", "parts", ".", "base", "&&", "(", "!", "REG_P", "(", "parts", ".", "base", ")", "||", "REGNO", "(", "parts", ".", "base", ")", ">=", "FIRST_PSEUDO_REGISTER", ")", "&&", "(", "current_pass", "->", "type", "==", "GIMPLE_PASS", "||", "!", "pic_offset_table_rtx", "||", "!", "REG_P", "(", "parts", ".", "base", ")", "||", "REGNO", "(", "pic_offset_table_rtx", ")", "!=", "REGNO", "(", "parts", ".", "base", ")", ")", ")", "cost", "++", ";", "if", "(", "parts", ".", "index", "&&", "(", "!", "REG_P", "(", "parts", ".", "index", ")", "||", "REGNO", "(", "parts", ".", "index", ")", ">=", "FIRST_PSEUDO_REGISTER", ")", "&&", "(", "current_pass", "->", "type", "==", "GIMPLE_PASS", "||", "!", "pic_offset_table_rtx", "||", "!", "REG_P", "(", "parts", ".", "index", ")", "||", "REGNO", "(", "pic_offset_table_rtx", ")", "!=", "REGNO", "(", "parts", ".", "index", ")", ")", ")", "cost", "++", ";", "if", "(", "TARGET_K6", "&&", "(", "(", "!", "parts", ".", "disp", "&&", "parts", ".", "base", "&&", "parts", ".", "index", "&&", "parts", ".", "scale", "!=", "1", ")", "||", "(", "parts", ".", "disp", "&&", "!", "parts", ".", "base", "&&", "parts", ".", "index", "&&", "parts", ".", "scale", "!=", "1", ")", "||", "(", "!", "parts", ".", "disp", "&&", "parts", ".", "base", "&&", "parts", ".", "index", "&&", "parts", ".", "scale", "==", "1", ")", ")", ")", "cost", "+=", "10", ";", "return", "cost", ";", "}", ""], "natrual_language": ["Return", "cost", "of", "the", "memory", "address", "x", ".", "For", "i386", ",", "it", "is", "better", "to", "use", "a", "complex", "address", "than", "let", "gcc", "copy", "the", "address", "into", "a", "reg", "and", "make", "a", "new", "pseudo", ".", "But", "not", "if", "the", "address", "requires", "to", "two", "regs", "-", "that", "would", "mean", "more", "pseudos", "with", "longer", "lifetimes", "."], "TS_V_token": ["i386", "1", "1", "1", "1", "10"], "File": "i3864", "Func": "ix86_address_cost", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3075, "Length": 286, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "originalTypeIsF128", "(", "const", "Type", "*", "Ty", ",", "const", "char", "*", "Func", ")", "{", "if", "(", "Ty", "->", "isFP128Ty", "(", ")", ")", "return", "true", ";", "if", "(", "Ty", "->", "isStructTy", "(", ")", "&&", "Ty", "->", "getStructNumElements", "(", ")", "==", "1", "&&", "Ty", "->", "getStructElementType", "(", "0", ")", "->", "isFP128Ty", "(", ")", ")", "return", "true", ";", "return", "(", "Func", "&&", "Ty", "->", "isIntegerTy", "(", "128", ")", "&&", "isF128SoftLibCall", "(", "Func", ")", ")", ";", "}", ""], "natrual_language": ["This", "function", "returns", "true", "if", "Ty", "is", "fp128", ",", "{", "f128", "}", "or", "i128", "which", "was", "originally", "a", "fp128", "."], "TS_V_token": ["Mips", "1", "0", "128"], "File": "MipsCCState", "Func": "originalTypeIsF128", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3076, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUAnnotateKernelFeatures", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "Triple", "TT", "(", "M", ".", "getTargetTriple", "(", ")", ")", ";", "static", "const", "StringRef", "IntrinsicToAttr", "[", "]", "[", "2", "]", "=", "{", "{", "\"llvm.r600.read.tgid.y\"", ",", "\"amdgpu-work-group-id-y\"", "}", ",", "{", "\"llvm.r600.read.tgid.z\"", ",", "\"amdgpu-work-group-id-z\"", "}", ",", "{", "\"llvm.r600.read.tidig.y\"", ",", "\"amdgpu-work-item-id-y\"", "}", ",", "{", "\"llvm.r600.read.tidig.z\"", ",", "\"amdgpu-work-item-id-z\"", "}", "}", ";", "static", "const", "StringRef", "HSAIntrinsicToAttr", "[", "]", "[", "2", "]", "=", "{", "{", "\"llvm.r600.read.local.size.x\"", ",", "\"amdgpu-dispatch-ptr\"", "}", ",", "{", "\"llvm.r600.read.local.size.y\"", ",", "\"amdgpu-dispatch-ptr\"", "}", ",", "{", "\"llvm.r600.read.local.size.z\"", ",", "\"amdgpu-dispatch-ptr\"", "}", ",", "{", "\"llvm.r600.read.global.size.x\"", ",", "\"amdgpu-dispatch-ptr\"", "}", ",", "{", "\"llvm.r600.read.global.size.y\"", ",", "\"amdgpu-dispatch-ptr\"", "}", ",", "{", "\"llvm.r600.read.global.size.z\"", ",", "\"amdgpu-dispatch-ptr\"", "}", ",", "{", "\"llvm.amdgcn.dispatch.ptr\"", ",", "\"amdgpu-dispatch-ptr\"", "}", "}", ";", "bool", "Changed", "=", "addAttrsForIntrinsics", "(", "M", ",", "IntrinsicToAttr", ")", ";", "if", "(", "TT", ".", "getOS", "(", ")", "==", "Triple", "::", "AMDHSA", ")", "Changed", "|=", "addAttrsForIntrinsics", "(", "M", ",", "HSAIntrinsicToAttr", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "2", "\"llvm.r600.read.tgid.y\"", "\"amdgpu-work-group-id-y\"", "\"llvm.r600.read.tgid.z\"", "\"amdgpu-work-group-id-z\"", "\"llvm.r600.read.tidig.y\"", "\"amdgpu-work-item-id-y\"", "\"llvm.r600.read.tidig.z\"", "\"amdgpu-work-item-id-z\"", "2", "\"llvm.r600.read.local.size.x\"", "\"amdgpu-dispatch-ptr\"", "\"llvm.r600.read.local.size.y\"", "\"amdgpu-dispatch-ptr\"", "\"llvm.r600.read.local.size.z\"", "\"amdgpu-dispatch-ptr\"", "\"llvm.r600.read.global.size.x\"", "\"amdgpu-dispatch-ptr\"", "\"llvm.r600.read.global.size.y\"", "\"amdgpu-dispatch-ptr\"", "\"llvm.r600.read.global.size.z\"", "\"amdgpu-dispatch-ptr\"", "\"llvm.amdgcn.dispatch.ptr\"", "\"amdgpu-dispatch-ptr\""], "File": "AMDGPUAnnotateKernelFeatures4", "Func": "runOnModule", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3077, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUOpenCLEnqueuedBlockLowering", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "DenseSet", "<", "Function", "*", ">", "Callers", ";", "auto", "&", "C", "=", "M", ".", "getContext", "(", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "&", "F", ":", "M", ".", "functions", "(", ")", ")", "{", "if", "(", "F", ".", "hasFnAttribute", "(", "\"enqueued-block\"", ")", ")", "{", "if", "(", "!", "F", ".", "hasName", "(", ")", ")", "{", "SmallString", "<", "64", ">", "Name", ";", "Mangler", "::", "getNameWithPrefix", "(", "Name", ",", "\"__amdgpu_enqueued_kernel\"", ",", "M", ".", "getDataLayout", "(", ")", ")", ";", "F", ".", "setName", "(", "Name", ")", ";", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"found enqueued kernel: \"", "<<", "F", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "auto", "RuntimeHandle", "=", "(", "F", ".", "getName", "(", ")", "+", "\".runtime_handle\"", ")", ".", "str", "(", ")", ";", "auto", "T", "=", "ArrayType", "::", "get", "(", "Type", "::", "getInt64Ty", "(", "C", ")", ",", "2", ")", ";", "auto", "*", "GV", "=", "new", "GlobalVariable", "(", "M", ",", "T", ",", "false", ",", "GlobalValue", "::", "ExternalLinkage", ",", "Constant", "::", "getNullValue", "(", "T", ")", ",", "RuntimeHandle", ",", "nullptr", ",", "GlobalValue", "::", "NotThreadLocal", ",", "AMDGPUAS", "::", "GLOBAL_ADDRESS", ",", "false", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"runtime handle created: \"", "<<", "*", "GV", "<<", "'\\n'", ")", ";", "for", "(", "auto", "U", ":", "F", ".", "users", "(", ")", ")", "{", "auto", "*", "UU", "=", "&", "*", "U", ";", "if", "(", "!", "isa", "<", "ConstantExpr", ">", "(", "UU", ")", ")", "continue", ";", "collectFunctionUsers", "(", "UU", ",", "Callers", ")", ";", "auto", "*", "BitCast", "=", "cast", "<", "ConstantExpr", ">", "(", "UU", ")", ";", "auto", "*", "NewPtr", "=", "ConstantExpr", "::", "getPointerCast", "(", "GV", ",", "BitCast", "->", "getType", "(", ")", ")", ";", "BitCast", "->", "replaceAllUsesWith", "(", "NewPtr", ")", ";", "F", ".", "addFnAttr", "(", "\"runtime-handle\"", ",", "RuntimeHandle", ")", ";", "F", ".", "setLinkage", "(", "GlobalValue", "::", "ExternalLinkage", ")", ";", "Changed", "=", "true", ";", "}", "}", "}", "for", "(", "auto", "F", ":", "Callers", ")", "{", "if", "(", "F", "->", "getCallingConv", "(", ")", "!=", "CallingConv", "::", "AMDGPU_KERNEL", ")", "continue", ";", "F", "->", "addFnAttr", "(", "\"calls-enqueue-kernel\"", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"mark enqueue_kernel caller:\"", "<<", "F", "->", "getName", "(", ")", "<<", "'\\n'", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "\"enqueued-block\"", "64", "\"__amdgpu_enqueued_kernel\"", "\"found enqueued kernel: \"", "\".runtime_handle\"", "2", "AMDGPU", "\"runtime handle created: \"", "\"runtime-handle\"", "AMDGPU", "\"calls-enqueue-kernel\"", "\"mark enqueue_kernel caller:\""], "File": "AMDGPUOpenCLEnqueuedBlockLowering (2)1", "Func": "runOnModule", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3078, "Length": 350, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCRegisterInfo", "::", "needsFrameBaseReg", "(", "MachineInstr", "*", "MI", ",", "int64_t", "Offset", ")", "const", "{", "assert", "(", "Offset", "<", "0", "&&", "\"Local offset must be negative\"", ")", ";", "unsigned", "FIOperandNum", "=", "0", ";", "while", "(", "!", "MI", "->", "getOperand", "(", "FIOperandNum", ")", ".", "isFI", "(", ")", ")", "{", "++", "FIOperandNum", ";", "assert", "(", "FIOperandNum", "<", "MI", "->", "getNumOperands", "(", ")", "&&", "\"Instr doesn't have FrameIndex operand!\"", ")", ";", "}", "unsigned", "OffsetOperandNo", "=", "getOffsetONFromFION", "(", "*", "MI", ",", "FIOperandNum", ")", ";", "Offset", "+=", "MI", "->", "getOperand", "(", "OffsetOperandNo", ")", ".", "getImm", "(", ")", ";", "unsigned", "OpC", "=", "MI", "->", "getOpcode", "(", ")", ";", "if", "(", "!", "ImmToIdxMap", ".", "count", "(", "OpC", ")", ")", "return", "false", ";", "if", "(", "(", "OpC", "==", "PPC", "::", "ADDI", "||", "OpC", "==", "PPC", "::", "ADDI8", ")", "&&", "MI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "==", "0", ")", "return", "false", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", "->", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "PPCFrameLowering", "*", "PPCFI", "=", "static_cast", "<", "const", "PPCFrameLowering", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ")", ";", "unsigned", "StackEst", "=", "PPCFI", "->", "determineFrameLayout", "(", "MF", ",", "false", ",", "true", ")", ";", "if", "(", "!", "StackEst", ")", "return", "false", ";", "Offset", "+=", "StackEst", ";", "return", "!", "isFrameOffsetLegal", "(", "MI", ",", "Offset", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "instruction", "'s", "frame", "index", "reference", "would", "be", "better", "served", "by", "a", "base", "register", "other", "than", "FP", "or", "SP", "."], "TS_V_token": ["PowerPC", "PPC", "0", "\"Local offset must be negative\"", "0", "\"Instr doesn't have FrameIndex operand!\"", "PPC::ADDI", "PPC::ADDI8", "2", "0", "PPC", "PPC", "PPC", "PPC"], "File": "PPCRegisterInfo (2)", "Func": "needsFrameBaseReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3079, "Length": 219, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "pa_attr_length_indirect_call", "(", "rtx_insn", "*", "insn", ")", "{", "unsigned", "long", "distance", "=", "-", "1", ";", "unsigned", "long", "total", "=", "IN_NAMED_SECTION_P", "(", "cfun", "->", "decl", ")", "?", "0", ":", "total_code_bytes", ";", "if", "(", "INSN_ADDRESSES_SET_P", "(", ")", ")", "{", "distance", "=", "(", "total", "+", "insn_current_reference_address", "(", "insn", ")", ")", ";", "if", "(", "distance", "<", "total", ")", "distance", "=", "-", "1", ";", "}", "if", "(", "TARGET_64BIT", ")", "return", "12", ";", "if", "(", "TARGET_FAST_INDIRECT_CALLS", "||", "(", "!", "TARGET_LONG_CALLS", "&&", "!", "TARGET_PORTABLE_RUNTIME", "&&", "(", "(", "TARGET_PA_20", "&&", "!", "TARGET_SOM", "&&", "distance", "<", "7600000", ")", "||", "distance", "<", "MAX_PCREL17F_OFFSET", ")", ")", ")", "return", "8", ";", "if", "(", "flag_pic", ")", "return", "20", ";", "if", "(", "TARGET_PORTABLE_RUNTIME", ")", "return", "16", ";", "return", "12", ";", "}", ""], "natrual_language": ["Return", "the", "attribute", "length", "of", "the", "indirect", "call", "instruction", "INSN", ".", "The", "length", "must", "match", "the", "code", "generated", "by", "output_indirect", "call", ".", "The", "returned", "length", "includes", "the", "delay", "slot", ".", "Currently", ",", "the", "delay", "slot", "of", "an", "indirect", "call", "sequence", "is", "not", "exposed", "and", "it", "is", "used", "by", "the", "sequence", "itself", "."], "TS_V_token": ["pa", "1", "0", "1", "12", "7600000", "8", "20", "16", "12"], "File": "pa4", "Func": "pa_attr_length_indirect_call", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3080, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Z80oldDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "SDLoc", "DL", "(", "Node", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Selecting: \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "dbgs", "(", ")", "<<", "'\\n'", ")", ";", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"== \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "dbgs", "(", ")", "<<", "'\\n'", ")", ";", "Node", "->", "setNodeId", "(", "-", "1", ")", ";", "return", ";", "}", "SelectCode", "(", "Node", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["Z80old", "Z80old", "\"Selecting: \"", "\"== \"", "1"], "File": "Z80oldISelDAGToDAG", "Func": "Select", "Target": "Z80old", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3081, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "epiphany_adjust_cost", "(", "rtx_insn", "*", "insn", ",", "int", "dep_type", ",", "rtx_insn", "*", "dep_insn", ",", "int", "cost", ",", "unsigned", "int", ")", "{", "if", "(", "dep_type", "==", "0", ")", "{", "rtx", "dep_set", ";", "if", "(", "recog_memoized", "(", "insn", ")", "<", "0", "||", "recog_memoized", "(", "dep_insn", ")", "<", "0", ")", "return", "cost", ";", "dep_set", "=", "single_set", "(", "dep_insn", ")", ";", "if", "(", "dep_set", "&&", "MEM_P", "(", "SET_SRC", "(", "dep_set", ")", ")", "&&", "cost", ">", "1", ")", "{", "rtx", "set", "=", "single_set", "(", "insn", ")", ";", "if", "(", "set", "&&", "!", "reg_overlap_mentioned_p", "(", "SET_DEST", "(", "dep_set", ")", ",", "SET_SRC", "(", "set", ")", ")", "&&", "(", "!", "MEM_P", "(", "SET_DEST", "(", "set", ")", ")", "||", "!", "reg_overlap_mentioned_p", "(", "SET_DEST", "(", "dep_set", ")", ",", "XEXP", "(", "SET_DEST", "(", "set", ")", ",", "0", ")", ")", ")", ")", "cost", "=", "1", ";", "}", "}", "return", "cost", ";", "}", ""], "natrual_language": ["Function", "to", "update", "the", "integer", "COST", "based", "on", "the", "relationship", "between", "INSN", "that", "is", "dependent", "on", "DEP_INSN", "through", "the", "dependence", "LINK", ".", "The", "default", "is", "to", "make", "no", "adjustment", "to", "COST", ".", "This", "can", "be", "used", "for", "example", "to", "specify", "to", "the", "scheduler", "that", "an", "output-", "or", "anti-dependence", "does", "not", "incur", "the", "same", "cost", "as", "a", "data-dependence", ".", "The", "return", "value", "should", "be", "the", "new", "value", "for", "COST", "."], "TS_V_token": ["epiphany", "0", "0", "0", "1", "0", "1"], "File": "epiphany", "Func": "epiphany_adjust_cost", "Target": "epiphany", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3082, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64InstrInfo", "::", "getInstSizeInBytes", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "const", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "const", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "MCAsmInfo", "*", "MAI", "=", "MF", "->", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", ";", "{", "auto", "Op", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "Op", "==", "AArch64", "::", "INLINEASM", "||", "Op", "==", "AArch64", "::", "INLINEASM_BR", ")", "return", "getInlineAsmLength", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getSymbolName", "(", ")", ",", "*", "MAI", ")", ";", "}", "if", "(", "MI", ".", "isMetaInstruction", "(", ")", ")", "return", "0", ";", "unsigned", "NumBytes", "=", "0", ";", "const", "MCInstrDesc", "&", "Desc", "=", "MI", ".", "getDesc", "(", ")", ";", "switch", "(", "Desc", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "NumBytes", "=", "4", ";", "break", ";", "case", "TargetOpcode", "::", "STACKMAP", ":", "NumBytes", "=", "StackMapOpers", "(", "&", "MI", ")", ".", "getNumPatchBytes", "(", ")", ";", "assert", "(", "NumBytes", "%", "4", "==", "0", "&&", "\"Invalid number of NOP bytes requested!\"", ")", ";", "break", ";", "case", "TargetOpcode", "::", "PATCHPOINT", ":", "NumBytes", "=", "PatchPointOpers", "(", "&", "MI", ")", ".", "getNumPatchBytes", "(", ")", ";", "assert", "(", "NumBytes", "%", "4", "==", "0", "&&", "\"Invalid number of NOP bytes requested!\"", ")", ";", "break", ";", "case", "TargetOpcode", "::", "STATEPOINT", ":", "NumBytes", "=", "StatepointOpers", "(", "&", "MI", ")", ".", "getNumPatchBytes", "(", ")", ";", "assert", "(", "NumBytes", "%", "4", "==", "0", "&&", "\"Invalid number of NOP bytes requested!\"", ")", ";", "if", "(", "NumBytes", "==", "0", ")", "NumBytes", "=", "4", ";", "break", ";", "case", "AArch64", "::", "TLSDESC_CALLSEQ", ":", "NumBytes", "=", "16", ";", "break", ";", "case", "AArch64", "::", "SpeculationBarrierISBDSBEndBB", ":", "NumBytes", "=", "8", ";", "break", ";", "case", "AArch64", "::", "SpeculationBarrierSBEndBB", ":", "NumBytes", "=", "4", ";", "break", ";", "case", "AArch64", "::", "JumpTableDest32", ":", "case", "AArch64", "::", "JumpTableDest16", ":", "case", "AArch64", "::", "JumpTableDest8", ":", "NumBytes", "=", "12", ";", "break", ";", "case", "AArch64", "::", "SPACE", ":", "NumBytes", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "break", ";", "case", "TargetOpcode", "::", "BUNDLE", ":", "NumBytes", "=", "getInstBundleLength", "(", "MI", ")", ";", "break", ";", "}", "return", "NumBytes", ";", "}", ""], "natrual_language": ["Returns", "the", "size", "in", "bytes", "of", "the", "specified", "MachineInstr", ",", "or", "~0U", "when", "this", "function", "is", "not", "implemented", "by", "a", "target", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::INLINEASM", "AArch64::INLINEASM_BR", "0", "0", "0", "4", "4", "0", "\"Invalid number of NOP bytes requested!\"", "4", "0", "\"Invalid number of NOP bytes requested!\"", "4", "0", "\"Invalid number of NOP bytes requested!\"", "0", "4", "AArch64::TLSDESC_CALLSEQ", "16", "AArch64::SpeculationBarrierISBDSBEndBB", "8", "AArch64::SpeculationBarrierSBEndBB", "4", "AArch64::JumpTableDest32", "AArch64::JumpTableDest16", "AArch64::JumpTableDest8", "12", "AArch64::SPACE", "1"], "File": "AArch64InstrInfo107", "Func": "getInstSizeInBytes", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3083, "Length": 330, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MOSTargetLowering", "*", "getTLI", "(", ")", "const", "{", "return", "TLI", ";", "}", ""], "natrual_language": ["Getter", "for", "generic", "TargetLowering", "class", "."], "TS_V_token": ["MOS", "MOS"], "File": "MOSTargetTransformInfo", "Func": "getTLI", "Target": "MOS", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3084, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUPerfHint", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "const", "Module", "&", "M", "=", "*", "F", ".", "getParent", "(", ")", ";", "DL", "=", "&", "M", ".", "getDataLayout", "(", ")", ";", "if", "(", "F", ".", "hasFnAttribute", "(", "\"amdgpu-wave-limiter\"", ")", "&&", "F", ".", "hasFnAttribute", "(", "\"amdgpu-memory-bound\"", ")", ")", "return", "false", ";", "const", "AMDGPUPerfHintAnalysis", "::", "FuncInfo", "*", "Info", "=", "visit", "(", "F", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "F", ".", "getName", "(", ")", "<<", "\" MemInst: \"", "<<", "Info", "->", "MemInstCount", "<<", "'\\n'", "<<", "\" IAMInst: \"", "<<", "Info", "->", "IAMInstCount", "<<", "'\\n'", "<<", "\" LSMInst: \"", "<<", "Info", "->", "LSMInstCount", "<<", "'\\n'", "<<", "\" TotalInst: \"", "<<", "Info", "->", "InstCount", "<<", "'\\n'", ")", ";", "if", "(", "isMemBound", "(", "*", "Info", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "F", ".", "getName", "(", ")", "<<", "\" is memory bound\\n\"", ")", ";", "NumMemBound", "++", ";", "F", ".", "addFnAttr", "(", "\"amdgpu-memory-bound\"", ",", "\"true\"", ")", ";", "}", "if", "(", "AMDGPU", "::", "isEntryFunctionCC", "(", "F", ".", "getCallingConv", "(", ")", ")", "&&", "needLimitWave", "(", "*", "Info", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "F", ".", "getName", "(", ")", "<<", "\" needs limit wave\\n\"", ")", ";", "NumLimitWave", "++", ";", "F", ".", "addFnAttr", "(", "\"amdgpu-wave-limiter\"", ",", "\"true\"", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "\"amdgpu-wave-limiter\"", "\"amdgpu-memory-bound\"", "AMDGPU", "\" MemInst: \"", "\" IAMInst: \"", "\" LSMInst: \"", "\" TotalInst: \"", "\" is memory bound\\n\"", "\"amdgpu-memory-bound\"", "\"true\"", "AMDGPU::isEntryFunctionCC", "\" needs limit wave\\n\"", "\"amdgpu-wave-limiter\"", "\"true\""], "File": "AMDGPUPerfHintAnalysis13", "Func": "runOnFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3085, "Length": 196, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emitAssemblerFlag", "(", "MCAssemblerFlag", "Flag", ")", "override", "{", "}", ""], "natrual_language": ["Note", "in", "the", "output", "the", "specified", "Flag", "."], "TS_V_token": ["Patmos"], "File": "PatmosInstrInfo1", "Func": "emitAssemblerFlag", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 3086, "Length": 9, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mayNeedRelaxation", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["Check", "whether", "the", "given", "instruction", "may", "need", "relaxation", "."], "TS_V_token": ["SystemZ"], "File": "SystemZMCAsmBackend21", "Func": "mayNeedRelaxation", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3087, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "R600SchedStrategy", "::", "initialize", "(", "ScheduleDAGMI", "*", "dag", ")", "{", "assert", "(", "dag", "->", "hasVRegLiveness", "(", ")", "&&", "\"R600SchedStrategy needs vreg liveness\"", ")", ";", "DAG", "=", "static_cast", "<", "ScheduleDAGMILive", "*", ">", "(", "dag", ")", ";", "const", "R600Subtarget", "&", "ST", "=", "DAG", "->", "MF", ".", "getSubtarget", "<", "R600Subtarget", ">", "(", ")", ";", "TII", "=", "static_cast", "<", "const", "R600InstrInfo", "*", ">", "(", "DAG", "->", "TII", ")", ";", "TRI", "=", "static_cast", "<", "const", "R600RegisterInfo", "*", ">", "(", "DAG", "->", "TRI", ")", ";", "VLIW5", "=", "!", "ST", ".", "hasCaymanISA", "(", ")", ";", "MRI", "=", "&", "DAG", "->", "MRI", ";", "CurInstKind", "=", "IDOther", ";", "CurEmitted", "=", "0", ";", "OccupedSlotsMask", "=", "31", ";", "InstKindLimit", "[", "IDAlu", "]", "=", "TII", "->", "getMaxAlusPerClause", "(", ")", ";", "InstKindLimit", "[", "IDOther", "]", "=", "32", ";", "InstKindLimit", "[", "IDFetch", "]", "=", "ST", ".", "getTexVTXClauseSize", "(", ")", ";", "AluInstCount", "=", "0", ";", "FetchInstCount", "=", "0", ";", "}", ""], "natrual_language": ["Initialize", "the", "strategy", "after", "building", "the", "DAG", "for", "a", "new", "region", "."], "TS_V_token": ["AMDGPU", "R600", "\"R600SchedStrategy needs vreg liveness\"", "R600", "R600", "R600", "R600", "0", "31", "32", "0", "0"], "File": "R600MachineScheduler11", "Func": "initialize", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3088, "Length": 142, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "PPCMCExpr", "*", "PPCMCExpr", "::", "create", "(", "VariantKind", "Kind", ",", "const", "MCExpr", "*", "Expr", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "(", "Ctx", ")", "PPCMCExpr", "(", "Kind", ",", "Expr", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC"], "File": "PPCMCExpr11", "Func": "create", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3089, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_function_arg", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "machine_mode", "mode", "=", "arg", ".", "mode", ";", "HOST_WIDE_INT", "bytes", ",", "words", ";", "rtx", "reg", ";", "if", "(", "!", "cum", "->", "caller", "&&", "cfun", "->", "machine", "->", "func_type", "!=", "TYPE_NORMAL", ")", "{", "gcc_assert", "(", "arg", ".", "type", "!=", "NULL_TREE", ")", ";", "if", "(", "POINTER_TYPE_P", "(", "arg", ".", "type", ")", ")", "{", "gcc_assert", "(", "TYPE_MODE", "(", "arg", ".", "type", ")", "==", "Pmode", ")", ";", "reg", "=", "plus_constant", "(", "Pmode", ",", "arg_pointer_rtx", ",", "-", "UNITS_PER_WORD", ")", ";", "}", "else", "{", "gcc_assert", "(", "cfun", "->", "machine", "->", "func_type", "==", "TYPE_EXCEPTION", "&&", "TREE_CODE", "(", "arg", ".", "type", ")", "==", "INTEGER_TYPE", "&&", "TYPE_MODE", "(", "arg", ".", "type", ")", "==", "word_mode", ")", ";", "reg", "=", "gen_rtx_MEM", "(", "word_mode", ",", "plus_constant", "(", "Pmode", ",", "arg_pointer_rtx", ",", "-", "2", "*", "UNITS_PER_WORD", ")", ")", ";", "}", "return", "reg", ";", "}", "bytes", "=", "arg", ".", "promoted_size_in_bytes", "(", ")", ";", "words", "=", "CEIL", "(", "bytes", ",", "UNITS_PER_WORD", ")", ";", "if", "(", "arg", ".", "type", "&&", "TREE_CODE", "(", "arg", ".", "type", ")", "==", "VECTOR_TYPE", ")", "mode", "=", "type_natural_mode", "(", "arg", ".", "type", ",", "cum", ",", "false", ")", ";", "if", "(", "TARGET_64BIT", ")", "{", "enum", "calling_abi", "call_abi", "=", "cum", "?", "cum", "->", "call_abi", ":", "ix86_abi", ";", "if", "(", "call_abi", "==", "MS_ABI", ")", "reg", "=", "function_arg_ms_64", "(", "cum", ",", "mode", ",", "arg", ".", "mode", ",", "arg", ".", "named", ",", "arg", ".", "type", ",", "bytes", ")", ";", "else", "reg", "=", "function_arg_64", "(", "cum", ",", "mode", ",", "arg", ".", "mode", ",", "arg", ".", "type", ",", "arg", ".", "named", ")", ";", "}", "else", "reg", "=", "function_arg_32", "(", "cum", ",", "mode", ",", "arg", ".", "mode", ",", "arg", ".", "type", ",", "bytes", ",", "words", ")", ";", "if", "(", "reg", "==", "NULL_RTX", "&&", "cum", "->", "caller", ")", "cfun", "->", "machine", "->", "outgoing_args_on_stack", "=", "true", ";", "return", "reg", ";", "}", ""], "natrual_language": ["Return", "where", "to", "put", "the", "arguments", "to", "a", "function", ".", "Return", "zero", "to", "push", "the", "argument", "on", "the", "stack", ",", "or", "a", "hard", "register", "in", "which", "to", "store", "the", "argument", ".", "MODE", "is", "the", "argument", "'s", "machine", "mode", ".", "TYPE", "is", "the", "data", "type", "of", "the", "argument", ".", "It", "is", "null", "for", "libcalls", "where", "that", "information", "may", "not", "be", "available", ".", "CUM", "gives", "information", "about", "the", "preceding", "args", "and", "about", "the", "function", "being", "called", ".", "NAMED", "is", "nonzero", "if", "this", "argument", "is", "a", "named", "parameter", "(", "otherwise", "it", "is", "an", "extra", "parameter", "matching", "an", "ellipsis", ")", "."], "TS_V_token": ["i386", "2"], "File": "i386", "Func": "ix86_function_arg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3090, "Length": 310, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonFrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "bool", "HasAlloca", "=", "MFI", ".", "hasVarSizedObjects", "(", ")", ";", "bool", "NeedsAlign", "=", "(", "MFI", ".", "getMaxAlignment", "(", ")", ">", "getStackAlignment", "(", ")", ")", ";", "if", "(", "!", "HasAlloca", "||", "!", "NeedsAlign", ")", "return", ";", "unsigned", "LFS", "=", "MFI", ".", "getLocalFrameSize", "(", ")", ";", "for", "(", "int", "i", "=", "0", ",", "e", "=", "MFI", ".", "getObjectIndexEnd", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "if", "(", "!", "MFI", ".", "isSpillSlotObjectIndex", "(", "i", ")", "||", "MFI", ".", "isDeadObjectIndex", "(", "i", ")", ")", "continue", ";", "unsigned", "S", "=", "MFI", ".", "getObjectSize", "(", "i", ")", ";", "unsigned", "A", "=", "std", "::", "max", "(", "MFI", ".", "getObjectAlignment", "(", "i", ")", ",", "8U", ")", ";", "MFI", ".", "setObjectAlignment", "(", "i", ",", "8", ")", ";", "LFS", "=", "alignTo", "(", "LFS", "+", "S", ",", "A", ")", ";", "MFI", ".", "mapLocalFrameObject", "(", "i", ",", "-", "LFS", ")", ";", "}", "MFI", ".", "setLocalFrameSize", "(", "LFS", ")", ";", "Align", "A", "=", "MFI", ".", "getLocalFrameMaxAlign", "(", ")", ";", "assert", "(", "A", "<=", "8", "&&", "\"Unexpected local frame alignment\"", ")", ";", "if", "(", "A", "==", "1", ")", "MFI", ".", "setLocalFrameMaxAlign", "(", "llvm", "::", "Align", "(", "8", ")", ")", ";", "MFI", ".", "setUseLocalStackAllocationBlock", "(", "true", ")", ";", "unsigned", "AP", "=", "0", ";", "if", "(", "const", "MachineInstr", "*", "AI", "=", "getAlignaInstr", "(", "MF", ")", ")", "AP", "=", "AI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "auto", "&", "HMFI", "=", "*", "MF", ".", "getInfo", "<", "HexagonMachineFunctionInfo", ">", "(", ")", ";", "HMFI", ".", "setStackAlignBasePhysReg", "(", "AP", ")", ";", "}", ""], "natrual_language": ["processFunctionBeforeFrameFinalized", "-", "This", "method", "is", "called", "immediately", "before", "the", "specified", "function", "'s", "frame", "layout", "(", "MF.getFrameInfo", "(", ")", ")", "is", "finalized", "."], "TS_V_token": ["Hexagon", "Hexagon", "0", "8U", "8", "8", "\"Unexpected local frame alignment\"", "1", "8", "0", "0", "Hexagon"], "File": "HexagonFrameLowering68", "Func": "processFunctionBeforeFrameFinalized", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3091, "Length": 270, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "DataLayout", "*", "getDataLayout", "(", ")", "const", "override", "{", "return", "getSubtargetImpl", "(", ")", "->", "getDataLayout", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "DataLayout", "associated", "with", "the", "module", "this", "SCEV", "instance", "is", "operating", "on", "."], "TS_V_token": ["X86"], "File": "X86TargetMachine", "Func": "getDataLayout", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3092, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "direct_return", "(", "void", ")", "{", "return", "(", "!", "TARGET_ABI_OPEN_VMS", "&&", "!", "TARGET_ABI_UNICOSMK", "&&", "reload_completed", "&&", "alpha_sa_size", "(", ")", "==", "0", "&&", "get_frame_size", "(", ")", "==", "0", "&&", "current_function_outgoing_args_size", "==", "0", "&&", "current_function_pretend_args_size", "==", "0", ")", ";", "}", ""], "natrual_language": ["Return", "non-zero", "if", "this", "function", "is", "known", "to", "have", "a", "null", "epilogue", "."], "TS_V_token": ["alpha", "0", "0", "0", "0"], "File": "alpha3", "Func": "direct_return", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3093, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "nvptx_print_operand_punct_valid_p", "(", "unsigned", "char", "c", ")", "{", "return", "c", "==", "'.'", "||", "c", "==", "'#'", ";", "}", ""], "natrual_language": ["Implement", "TARGET_PRINT_OPERAND_PUNCT_VALID_P", "."], "TS_V_token": ["nvptx"], "File": "nvptx", "Func": "nvptx_print_operand_punct_valid_p", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 3094, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rbt_new", "(", "struct", "rbt_strings", "*", "t", ")", "{", "t", "->", "rbt_nil", "=", "(", "rbt_string_node", "*", ")", "malloc", "(", "sizeof", "(", "rbt_string_node", ")", ")", ";", "t", "->", "rbt_nil", "->", "color", "=", "RBT_BLACK", ";", "t", "->", "rbt_root", "=", "t", "->", "rbt_nil", ";", "}", ""], "natrual_language": ["Initialize", "a", "red-black", "tree", "."], "TS_V_token": ["rs6000"], "File": "rbtree", "Func": "rbt_new", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3095, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "Z80oldRegisterInfo", "::", "getLargestLegalSuperClass", "(", "const", "TargetRegisterClass", "*", "RC", ",", "const", "MachineFunction", "&", ")", "const", "{", "const", "TargetRegisterClass", "*", "Super", "=", "RC", ";", "TargetRegisterClass", "::", "sc_iterator", "I", "=", "RC", "->", "getSuperClasses", "(", ")", ";", "do", "{", "switch", "(", "Super", "->", "getID", "(", ")", ")", "{", "case", "Z80old", "::", "RR8RegClassID", ":", "case", "Z80old", "::", "R16RegClassID", ":", "return", "Super", ";", "}", "Super", "=", "*", "I", "++", ";", "}", "while", "(", "Super", ")", ";", "return", "RC", ";", "}", ""], "natrual_language": ["Returns", "the", "largest", "super", "class", "of", "RC", "that", "is", "legal", "to", "use", "in", "the", "current", "sub-target", "and", "has", "the", "same", "spill", "size", "."], "TS_V_token": ["Z80old", "Z80old", "Z80old::RR8RegClassID", "Z80old::R16RegClassID"], "File": "Z80oldRegisterInfo", "Func": "getLargestLegalSuperClass", "Target": "Z80old", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3096, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "SDValue", "buildRSRC", "(", "SelectionDAG", "*", "DAG", ",", "SDLoc", "DL", ",", "SDValue", "Ptr", ",", "uint32_t", "RsrcDword1", ",", "uint64_t", "RsrcDword2And3", ")", "{", "SDValue", "PtrLo", "=", "DAG", "->", "getTargetExtractSubreg", "(", "AMDGPU", "::", "sub0", ",", "DL", ",", "MVT", "::", "i32", ",", "Ptr", ")", ";", "SDValue", "PtrHi", "=", "DAG", "->", "getTargetExtractSubreg", "(", "AMDGPU", "::", "sub1", ",", "DL", ",", "MVT", "::", "i32", ",", "Ptr", ")", ";", "if", "(", "RsrcDword1", ")", "{", "PtrHi", "=", "SDValue", "(", "DAG", "->", "getMachineNode", "(", "AMDGPU", "::", "S_OR_B32", ",", "DL", ",", "MVT", "::", "i32", ",", "PtrHi", ",", "DAG", "->", "getConstant", "(", "RsrcDword1", ",", "MVT", "::", "i32", ")", ")", ",", "0", ")", ";", "}", "SDValue", "DataLo", "=", "buildSMovImm32", "(", "DAG", ",", "DL", ",", "RsrcDword2And3", "&", "UINT64_C", "(", "0xFFFFFFFF", ")", ")", ";", "SDValue", "DataHi", "=", "buildSMovImm32", "(", "DAG", ",", "DL", ",", "RsrcDword2And3", ">>", "32", ")", ";", "const", "SDValue", "Ops", "[", "]", "=", "{", "DAG", "->", "getTargetConstant", "(", "AMDGPU", "::", "SReg_128RegClassID", ",", "MVT", "::", "i32", ")", ",", "PtrLo", ",", "DAG", "->", "getTargetConstant", "(", "AMDGPU", "::", "sub0", ",", "MVT", "::", "i32", ")", ",", "PtrHi", ",", "DAG", "->", "getTargetConstant", "(", "AMDGPU", "::", "sub1", ",", "MVT", "::", "i32", ")", ",", "DataLo", ",", "DAG", "->", "getTargetConstant", "(", "AMDGPU", "::", "sub2", ",", "MVT", "::", "i32", ")", ",", "DataHi", ",", "DAG", "->", "getTargetConstant", "(", "AMDGPU", "::", "sub3", ",", "MVT", "::", "i32", ")", "}", ";", "return", "SDValue", "(", "DAG", "->", "getMachineNode", "(", "AMDGPU", "::", "REG_SEQUENCE", ",", "DL", ",", "MVT", "::", "v4i32", ",", "Ops", ")", ",", "0", ")", ";", "}", ""], "natrual_language": ["Return", "a", "resource", "descriptor", "with", "the", "'Add", "TID", "'", "bit", "enabled", "The", "TID", "(", "Thread", "ID", ")", "is", "multiplied", "by", "the", "stride", "value", "(", "bits", "[", "61:48", "]", "of", "the", "resource", "descriptor", ")", "to", "create", "an", "offset", ",", "which", "is", "added", "to", "the", "resource", "pointer", "."], "TS_V_token": ["R600", "MVT::i32", "MVT::i32", "MVT::i32", "MVT::i32", "0", "0xFFFFFFFF", "32", "MVT::i32", "MVT::i32", "MVT::i32", "MVT::i32", "MVT::i32", "MVT::v4i32", "0"], "File": "AMDGPUISelDAGToDAG104", "Func": "buildRSRC", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3097, "Length": 238, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "RootScope", "=", "getAnalysis", "<", "PatmosSPBundling", ">", "(", ")", ".", "getRootScope", "(", ")", ";", "PMFI", "=", "MF", ".", "getInfo", "<", "PatmosMachineFunctionInfo", ">", "(", ")", ";", "bool", "changed", "=", "false", ";", "if", "(", "MF", ".", "getInfo", "<", "PatmosMachineFunctionInfo", ">", "(", ")", "->", "isSinglePath", "(", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"[Single-Path] Reducing \"", "<<", "MF", ".", "getFunction", "(", ")", ".", "getName", "(", ")", "<<", "\"\\n\"", ")", ";", "doReduceFunction", "(", "MF", ")", ";", "changed", "|=", "true", ";", "}", "return", "changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Patmos", "Patmos", "Patmos", "Patmos", "\"[Single-Path] Reducing \"", "\"\\n\""], "File": "PatmosSPReduce1", "Func": "runOnMachineFunction", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 3098, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mask_agnostic_p", "(", "rtx_insn", "*", "rinsn", ")", "{", "extract_insn_cached", "(", "rinsn", ")", ";", "int", "ma", "=", "get_attr_ma", "(", "rinsn", ")", ";", "return", "ma", "==", "INVALID_ATTRIBUTE", "?", "get_default_ma", "(", ")", ":", "IS_AGNOSTIC", "(", "ma", ")", ";", "}", ""], "natrual_language": ["Helper", "function", "to", "get", "MA", "operand", "."], "TS_V_token": ["riscv"], "File": "riscv-vsetvl", "Func": "mask_agnostic_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3099, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getReg", "(", ")", "const", "{", "assert", "(", "isRegBase", "(", ")", "&&", "\"Invalid base register access!\"", ")", ";", "return", "Base", ".", "Reg", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "associated", "with", "this", "edge", "."], "TS_V_token": ["ARM64", "\"Invalid base register access!\""], "File": "ARM64FastISel", "Func": "getReg", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3100, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "::", "HazardType", "ARMHazardRecognizer", "::", "getHazardType", "(", "SUnit", "*", "SU", ",", "int", "Stalls", ")", "{", "assert", "(", "Stalls", "==", "0", "&&", "\"ARM hazards don't support scoreboard lookahead\"", ")", ";", "MachineInstr", "*", "MI", "=", "SU", "->", "getInstr", "(", ")", ";", "if", "(", "!", "MI", "->", "isDebugValue", "(", ")", ")", "{", "const", "MCInstrDesc", "&", "MCID", "=", "MI", "->", "getDesc", "(", ")", ";", "if", "(", "LastMI", "&&", "(", "MCID", ".", "TSFlags", "&", "ARMII", "::", "DomainMask", ")", "!=", "ARMII", "::", "DomainGeneral", ")", "{", "MachineInstr", "*", "DefMI", "=", "LastMI", ";", "const", "MCInstrDesc", "&", "LastMCID", "=", "LastMI", "->", "getDesc", "(", ")", ";", "const", "TargetMachine", "&", "TM", "=", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getTarget", "(", ")", ";", "const", "ARMBaseInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "ARMBaseInstrInfo", "*", ">", "(", "TM", ".", "getInstrInfo", "(", ")", ")", ";", "if", "(", "!", "LastMI", "->", "isBarrier", "(", ")", "&&", "!", "(", "TII", ".", "getSubtarget", "(", ")", ".", "isLikeA9", "(", ")", "&&", "(", "LastMI", "->", "mayLoad", "(", ")", "||", "LastMI", "->", "mayStore", "(", ")", ")", ")", "&&", "(", "LastMCID", ".", "TSFlags", "&", "ARMII", "::", "DomainMask", ")", "==", "ARMII", "::", "DomainGeneral", ")", "{", "MachineBasicBlock", "::", "iterator", "I", "=", "LastMI", ";", "if", "(", "I", "!=", "LastMI", "->", "getParent", "(", ")", "->", "begin", "(", ")", ")", "{", "I", "=", "std", "::", "prev", "(", "I", ")", ";", "DefMI", "=", "&", "*", "I", ";", "}", "}", "if", "(", "TII", ".", "isFpMLxInstruction", "(", "DefMI", "->", "getOpcode", "(", ")", ")", "&&", "(", "TII", ".", "canCauseFpMLxStall", "(", "MI", "->", "getOpcode", "(", ")", ")", "||", "hasRAWHazard", "(", "DefMI", ",", "MI", ",", "TII", ".", "getRegisterInfo", "(", ")", ")", ")", ")", "{", "if", "(", "FpMLxStalls", "==", "0", ")", "FpMLxStalls", "=", "4", ";", "return", "Hazard", ";", "}", "}", "}", "return", "ScoreboardHazardRecognizer", "::", "getHazardType", "(", "SU", ",", "Stalls", ")", ";", "}", ""], "natrual_language": ["getHazardType", "-", "Return", "the", "hazard", "type", "of", "emitting", "this", "node", "."], "TS_V_token": ["ARM", "ARM", "0", "\"ARM hazards don't support scoreboard lookahead\"", "ARMII::DomainMask", "ARMII::DomainGeneral", "ARM", "ARM", "ARMII::DomainMask", "ARMII::DomainGeneral", "0", "4"], "File": "ARMHazardRecognizer", "Func": "getHazardType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3101, "Length": 287, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIFrameLowering", "::", "assignCalleeSavedSpillSlots", "(", "MachineFunction", "&", "MF", ",", "const", "TargetRegisterInfo", "*", "TRI", ",", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "true", ";", "const", "SIMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "if", "(", "!", "FuncInfo", "->", "SGPRForFPSaveRestoreCopy", "&&", "!", "FuncInfo", "->", "SGPRForBPSaveRestoreCopy", ")", "return", "false", ";", "const", "GCNSubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "const", "SIRegisterInfo", "*", "RI", "=", "ST", ".", "getRegisterInfo", "(", ")", ";", "Register", "FramePtrReg", "=", "FuncInfo", "->", "getFrameOffsetReg", "(", ")", ";", "Register", "BasePtrReg", "=", "RI", "->", "getBaseRegister", "(", ")", ";", "unsigned", "NumModifiedRegs", "=", "0", ";", "if", "(", "FuncInfo", "->", "SGPRForFPSaveRestoreCopy", ")", "NumModifiedRegs", "++", ";", "if", "(", "FuncInfo", "->", "SGPRForBPSaveRestoreCopy", ")", "NumModifiedRegs", "++", ";", "for", "(", "auto", "&", "CS", ":", "CSI", ")", "{", "if", "(", "CS", ".", "getReg", "(", ")", "==", "FramePtrReg", "&&", "FuncInfo", "->", "SGPRForFPSaveRestoreCopy", ")", "{", "CS", ".", "setDstReg", "(", "FuncInfo", "->", "SGPRForFPSaveRestoreCopy", ")", ";", "if", "(", "--", "NumModifiedRegs", ")", "break", ";", "}", "else", "if", "(", "CS", ".", "getReg", "(", ")", "==", "BasePtrReg", "&&", "FuncInfo", "->", "SGPRForBPSaveRestoreCopy", ")", "{", "CS", ".", "setDstReg", "(", "FuncInfo", "->", "SGPRForBPSaveRestoreCopy", ")", ";", "if", "(", "--", "NumModifiedRegs", ")", "break", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["This", "function", "will", "assign", "callee", "saved", "gprs", "to", "volatile", "vector", "registers", "for", "prologue", "spills", "when", "applicable", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "SI", "SI", "SI", "0", "SI"], "File": "SIFrameLowering", "Func": "assignCalleeSavedSpillSlots", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3102, "Length": 210, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb2InstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "*", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FI", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ")", ";", "if", "(", "RC", "==", "&", "ARM", "::", "GPRRegClass", "||", "RC", "==", "&", "ARM", "::", "tGPRRegClass", "||", "RC", "==", "&", "ARM", "::", "tcGPRRegClass", "||", "RC", "==", "&", "ARM", "::", "rGPRRegClass", "||", "RC", "==", "&", "ARM", "::", "GPRnopcRegClass", ")", "{", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "t2STRi12", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ")", ";", "return", ";", "}", "if", "(", "ARM", "::", "GPRPairRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "if", "(", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "SrcReg", ")", ")", "{", "MachineRegisterInfo", "*", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "MRI", "->", "constrainRegClass", "(", "SrcReg", ",", "&", "ARM", "::", "GPRPair_with_gsub_1_in_rGPRRegClass", ")", ";", "}", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "t2STRDi8", ")", ")", ";", "AddDReg", "(", "MIB", ",", "SrcReg", ",", "ARM", "::", "gsub_0", ",", "getKillRegState", "(", "isKill", ")", ",", "TRI", ")", ";", "AddDReg", "(", "MIB", ",", "SrcReg", ",", "ARM", "::", "gsub_1", ",", "0", ",", "TRI", ")", ";", "MIB", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "AddDefaultPred", "(", "MIB", ")", ";", "return", ";", "}", "ARMBaseInstrInfo", "::", "storeRegToStackSlot", "(", "MBB", ",", "I", ",", "SrcReg", ",", "isKill", ",", "FI", ",", "RC", ",", "TRI", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["ARM", "ARM::GPRRegClass", "ARM::tGPRRegClass", "ARM::tcGPRRegClass", "ARM::rGPRRegClass", "ARM::GPRnopcRegClass", "ARM::t2STRi12", "0", "ARM::GPRPairRegClass", "ARM::GPRPair_with_gsub_1_in_rGPRRegClass", "ARM::t2STRDi8", "ARM::gsub_0", "ARM::gsub_1", "0", "0", "ARM"], "File": "Thumb2InstrInfo40", "Func": "storeRegToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3103, "Length": 342, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "extract_devices_dir_from_exec_prefix", "(", "char", "*", "*", "devices_loc", ")", "{", "const", "char", "*", "temp", ";", "char", "*", "gcc_exec_prefix", "=", "*", "devices_loc", ";", "int", "len", "=", "strlen", "(", "gcc_exec_prefix", ")", ";", "if", "(", "len", ">", "(", "int", ")", "sizeof", "(", "\"/lib/gcc/\"", ")", "-", "1", "&&", "(", "IS_DIR_SEPARATOR", "(", "gcc_exec_prefix", "[", "len", "-", "1", "]", ")", ")", ")", "{", "temp", "=", "gcc_exec_prefix", "+", "len", "-", "sizeof", "(", "\"/lib/gcc/\"", ")", "+", "1", ";", "if", "(", "IS_DIR_SEPARATOR", "(", "*", "temp", ")", "&&", "filename_ncmp", "(", "temp", "+", "1", ",", "\"lib\"", ",", "3", ")", "==", "0", "&&", "IS_DIR_SEPARATOR", "(", "temp", "[", "4", "]", ")", "&&", "filename_ncmp", "(", "temp", "+", "5", ",", "\"gcc\"", ",", "3", ")", "==", "0", ")", "{", "len", "-=", "sizeof", "(", "\"/lib/gcc/\"", ")", "-", "1", ";", "gcc_exec_prefix", "[", "len", "+", "1", "]", "=", "(", "char", ")", "0", ";", "*", "devices_loc", "=", "concat", "(", "gcc_exec_prefix", ",", "rest_of_devices_path", ",", "NULL", ")", ";", "return", ";", "}", "}", "}", ""], "natrual_language": ["``", "The", "default", "value", "of", "GCC_EXEC_PREFIX", "is", "prefix/lib/gcc", "''", ".", "Strip", "lib/gcc", "from", "GCC_EXEC_PREFIX", "to", "get", "the", "path", "to", "the", "installed", "toolchain", "."], "TS_V_token": ["msp430", "\"/lib/gcc/\"", "1", "1", "\"/lib/gcc/\"", "1", "1", "\"lib\"", "3", "0", "4", "5", "\"gcc\"", "3", "0", "\"/lib/gcc/\"", "1", "1", "0"], "File": "msp430-devices", "Func": "extract_devices_dir_from_exec_prefix", "Target": "msp430", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3104, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleDAGInstrs", "*", "createPostMachineScheduler", "(", "MachineSchedContext", "*", "C", ")", "const", "override", "{", "return", "new", "ScheduleDAGMI", "(", "C", ",", "std", "::", "make_unique", "<", "SystemZPostRASchedStrategy", ">", "(", "C", ")", ",", "true", ")", ";", "}", ""], "natrual_language": ["Similar", "to", "createMachineScheduler", "but", "used", "when", "postRA", "machine", "scheduling", "is", "enabled", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZTargetMachine18", "Func": "createPostMachineScheduler", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3105, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "FoldImmediate", "(", "MachineInstr", "*", "UseMI", ",", "MachineInstr", "*", "DefMI", ",", "unsigned", "Reg", ",", "MachineRegisterInfo", "*", "MRI", ")", "const", "{", "unsigned", "DefOpc", "=", "DefMI", "->", "getOpcode", "(", ")", ";", "if", "(", "DefOpc", "!=", "PPC", "::", "LI", "&&", "DefOpc", "!=", "PPC", "::", "LI8", ")", "return", "false", ";", "if", "(", "!", "DefMI", "->", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", ")", "return", "false", ";", "if", "(", "DefMI", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", "!=", "0", ")", "return", "false", ";", "const", "MCInstrDesc", "&", "UseMCID", "=", "UseMI", "->", "getDesc", "(", ")", ";", "if", "(", "UseMCID", ".", "isPseudo", "(", ")", ")", "return", "false", ";", "unsigned", "UseIdx", ";", "for", "(", "UseIdx", "=", "0", ";", "UseIdx", "<", "UseMI", "->", "getNumOperands", "(", ")", ";", "++", "UseIdx", ")", "if", "(", "UseMI", "->", "getOperand", "(", "UseIdx", ")", ".", "isReg", "(", ")", "&&", "UseMI", "->", "getOperand", "(", "UseIdx", ")", ".", "getReg", "(", ")", "==", "Reg", ")", "break", ";", "assert", "(", "UseIdx", "<", "UseMI", "->", "getNumOperands", "(", ")", "&&", "\"Cannot find Reg in UseMI\"", ")", ";", "assert", "(", "UseIdx", "<", "UseMCID", ".", "getNumOperands", "(", ")", "&&", "\"No operand description for Reg\"", ")", ";", "const", "MCOperandInfo", "*", "UseInfo", "=", "&", "UseMCID", ".", "OpInfo", "[", "UseIdx", "]", ";", "if", "(", "UseInfo", "->", "isLookupPtrRegClass", "(", ")", ")", "{", "if", "(", "UseInfo", "->", "RegClass", "!=", "1", ")", "return", "false", ";", "}", "else", "{", "if", "(", "UseInfo", "->", "RegClass", "!=", "PPC", "::", "GPRC_NOR0RegClassID", "&&", "UseInfo", "->", "RegClass", "!=", "PPC", "::", "G8RC_NOX0RegClassID", ")", "return", "false", ";", "}", "if", "(", "UseInfo", "->", "Constraints", "!=", "0", ")", "return", "false", ";", "unsigned", "ZeroReg", ";", "if", "(", "UseInfo", "->", "isLookupPtrRegClass", "(", ")", ")", "{", "bool", "isPPC64", "=", "TM", ".", "getSubtargetImpl", "(", ")", "->", "isPPC64", "(", ")", ";", "ZeroReg", "=", "isPPC64", "?", "PPC", "::", "ZERO8", ":", "PPC", "::", "ZERO", ";", "}", "else", "{", "ZeroReg", "=", "UseInfo", "->", "RegClass", "==", "PPC", "::", "G8RC_NOX0RegClassID", "?", "PPC", "::", "ZERO8", ":", "PPC", "::", "ZERO", ";", "}", "bool", "DeleteDef", "=", "MRI", "->", "hasOneNonDBGUse", "(", "Reg", ")", ";", "UseMI", "->", "getOperand", "(", "UseIdx", ")", ".", "setReg", "(", "ZeroReg", ")", ";", "if", "(", "DeleteDef", ")", "DefMI", "->", "eraseFromParent", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Reg", "is", "known", "to", "be", "defined", "by", "a", "move", "immediate", "instruction", ",", "try", "to", "fold", "the", "immediate", "into", "the", "use", "instruction", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::LI", "PPC::LI8", "1", "1", "0", "0", "\"Cannot find Reg in UseMI\"", "\"No operand description for Reg\"", "1", "PPC::GPRC_NOR0RegClassID", "PPC::G8RC_NOX0RegClassID", "0", "PPC", "PPC", "PPC", "PPC::ZERO8", "PPC::ZERO", "PPC::G8RC_NOX0RegClassID", "PPC::ZERO8", "PPC::ZERO"], "File": "PPCInstrInfo (2)", "Func": "FoldImmediate", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3106, "Length": 343, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "function_instance", "::", "reads_global_state_p", "(", ")", "const", "{", "unsigned", "int", "flags", "=", "call_properties", "(", ")", ";", "if", "(", "flags", "&", "CP_READ_FPCR", ")", "return", "true", ";", "return", "flags", "&", "(", "CP_READ_MEMORY", "|", "CP_READ_CSR", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "calls", "to", "the", "function", "could", "read", "some", "form", "of", "global", "state", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins", "Func": "reads_global_state_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3107, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_call_aix", "(", "rtx", "value", ",", "rtx", "func_desc", ",", "rtx", "flag", ",", "rtx", "cookie", ")", "{", "const", "bool", "direct_call_p", "=", "GET_CODE", "(", "func_desc", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_FUNCTION_P", "(", "func_desc", ")", ";", "rtx", "toc_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "TOC_REGNUM", ")", ";", "rtx", "toc_load", "=", "NULL_RTX", ";", "rtx", "toc_restore", "=", "NULL_RTX", ";", "rtx", "func_addr", ";", "rtx", "abi_reg", "=", "NULL_RTX", ";", "rtx", "call", "[", "4", "]", ";", "int", "n_call", ";", "rtx", "insn", ";", "if", "(", "INTVAL", "(", "cookie", ")", "&", "CALL_LONG", ")", "func_desc", "=", "rs6000_longcall_ref", "(", "func_desc", ")", ";", "if", "(", "GET_CODE", "(", "func_desc", ")", "!=", "SYMBOL_REF", "||", "(", "DEFAULT_ABI", "==", "ABI_AIX", "&&", "!", "SYMBOL_REF_FUNCTION_P", "(", "func_desc", ")", ")", ")", "{", "rtx", "stack_ptr", "=", "gen_rtx_REG", "(", "Pmode", ",", "STACK_POINTER_REGNUM", ")", ";", "rtx", "stack_toc_offset", "=", "GEN_INT", "(", "RS6000_TOC_SAVE_SLOT", ")", ";", "rtx", "stack_toc_mem", "=", "gen_frame_mem", "(", "Pmode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_ptr", ",", "stack_toc_offset", ")", ")", ";", "rtx", "stack_toc_unspec", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "stack_toc_offset", ")", ",", "UNSPEC_TOCSLOT", ")", ";", "toc_restore", "=", "gen_rtx_SET", "(", "toc_reg", ",", "stack_toc_unspec", ")", ";", "if", "(", "TARGET_SAVE_TOC_INDIRECT", "&&", "!", "cfun", "->", "calls_alloca", ")", "cfun", "->", "machine", "->", "save_toc_in_prologue", "=", "true", ";", "else", "{", "MEM_VOLATILE_P", "(", "stack_toc_mem", ")", "=", "1", ";", "emit_move_insn", "(", "stack_toc_mem", ",", "toc_reg", ")", ";", "}", "if", "(", "DEFAULT_ABI", "==", "ABI_ELFv2", ")", "{", "func_addr", "=", "gen_rtx_REG", "(", "Pmode", ",", "12", ")", ";", "emit_move_insn", "(", "func_addr", ",", "func_desc", ")", ";", "abi_reg", "=", "func_addr", ";", "}", "else", "{", "func_desc", "=", "force_reg", "(", "Pmode", ",", "func_desc", ")", ";", "func_addr", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_move_insn", "(", "func_addr", ",", "gen_rtx_MEM", "(", "Pmode", ",", "func_desc", ")", ")", ";", "rtx", "func_toc_offset", "=", "GEN_INT", "(", "GET_MODE_SIZE", "(", "Pmode", ")", ")", ";", "rtx", "func_toc_mem", "=", "gen_rtx_MEM", "(", "Pmode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "func_desc", ",", "func_toc_offset", ")", ")", ";", "toc_load", "=", "gen_rtx_USE", "(", "VOIDmode", ",", "func_toc_mem", ")", ";", "if", "(", "!", "direct_call_p", "&&", "TARGET_POINTERS_TO_NESTED_FUNCTIONS", "&&", "!", "chain_already_loaded", "(", "get_current_sequence", "(", ")", "->", "next", "->", "last", ")", ")", "{", "rtx", "sc_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "STATIC_CHAIN_REGNUM", ")", ";", "rtx", "func_sc_offset", "=", "GEN_INT", "(", "2", "*", "GET_MODE_SIZE", "(", "Pmode", ")", ")", ";", "rtx", "func_sc_mem", "=", "gen_rtx_MEM", "(", "Pmode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "func_desc", ",", "func_sc_offset", ")", ")", ";", "emit_move_insn", "(", "sc_reg", ",", "func_sc_mem", ")", ";", "abi_reg", "=", "sc_reg", ";", "}", "}", "}", "else", "{", "abi_reg", "=", "toc_reg", ";", "func_addr", "=", "func_desc", ";", "}", "call", "[", "0", "]", "=", "gen_rtx_CALL", "(", "VOIDmode", ",", "gen_rtx_MEM", "(", "SImode", ",", "func_addr", ")", ",", "flag", ")", ";", "if", "(", "value", "!=", "NULL_RTX", ")", "call", "[", "0", "]", "=", "gen_rtx_SET", "(", "value", ",", "call", "[", "0", "]", ")", ";", "n_call", "=", "1", ";", "if", "(", "toc_load", ")", "call", "[", "n_call", "++", "]", "=", "toc_load", ";", "if", "(", "toc_restore", ")", "call", "[", "n_call", "++", "]", "=", "toc_restore", ";", "call", "[", "n_call", "++", "]", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "Pmode", ",", "LR_REGNO", ")", ")", ";", "insn", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec_v", "(", "n_call", ",", "call", ")", ")", ";", "insn", "=", "emit_call_insn", "(", "insn", ")", ";", "if", "(", "abi_reg", ")", "use_reg", "(", "&", "CALL_INSN_FUNCTION_USAGE", "(", "insn", ")", ",", "abi_reg", ")", ";", "}", ""], "natrual_language": ["Expand", "code", "to", "perform", "a", "call", "under", "the", "AIX", "or", "ELFv2", "ABI", "."], "TS_V_token": ["rs6000", "4", "1", "1", "12", "2", "0", "0", "0", "1"], "File": "rs60005", "Func": "rs6000_call_aix", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3108, "Length": 508, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequiredID", "(", "LoopSimplifyID", ")", ";", "AU", ".", "addRequiredID", "(", "LCSSAID", ")", ";", "AU", ".", "addPreservedID", "(", "LCSSAID", ")", ";", "AU", ".", "setPreservesCFG", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["Hexagon"], "File": "HexagonVectorLoopCarriedReuse2", "Func": "getAnalysisUsage", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3109, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonTargetMachine", "::", "registerPassBuilderCallbacks", "(", "PassBuilder", "&", "PB", ")", "{", "PB", ".", "registerLateLoopOptimizationsEPCallback", "(", "[", "=", "]", "(", "LoopPassManager", "&", "LPM", ",", "OptimizationLevel", "Level", ")", "{", "LPM", ".", "addPass", "(", "HexagonLoopIdiomRecognitionPass", "(", ")", ")", ";", "}", ")", ";", "PB", ".", "registerLoopOptimizerEndEPCallback", "(", "[", "=", "]", "(", "LoopPassManager", "&", "LPM", ",", "OptimizationLevel", "Level", ")", "{", "LPM", ".", "addPass", "(", "HexagonVectorLoopCarriedReusePass", "(", ")", ")", ";", "}", ")", ";", "}", ""], "natrual_language": ["Invoke", "the", "PassBuilder", "callback", "registration", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "Hexagon"], "File": "HexagonTargetMachine12", "Func": "registerPassBuilderCallbacks", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3110, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "expand_vec_perm_interleave3", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "i", ",", "nelt", ";", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ";", "if", "(", "d", "->", "one_operand_p", ")", "return", "false", ";", "if", "(", "TARGET_AVX2", "&&", "GET_MODE_SIZE", "(", "d", "->", "vmode", ")", "==", "32", ")", ";", "else", "if", "(", "TARGET_AVX", "&&", "(", "d", "->", "vmode", "==", "V8SFmode", "||", "d", "->", "vmode", "==", "V4DFmode", ")", ")", ";", "else", "return", "false", ";", "nelt", "=", "d", "->", "nelt", ";", "if", "(", "d", "->", "perm", "[", "0", "]", "!=", "0", "&&", "d", "->", "perm", "[", "0", "]", "!=", "nelt", "/", "2", ")", "return", "false", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nelt", ";", "i", "+=", "2", ")", "if", "(", "d", "->", "perm", "[", "i", "]", "!=", "d", "->", "perm", "[", "0", "]", "+", "i", "/", "2", "||", "d", "->", "perm", "[", "i", "+", "1", "]", "!=", "d", "->", "perm", "[", "0", "]", "+", "i", "/", "2", "+", "nelt", ")", "return", "false", ";", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "switch", "(", "d", "->", "vmode", ")", "{", "case", "E_V32QImode", ":", "if", "(", "d", "->", "perm", "[", "0", "]", ")", "gen", "=", "gen_vec_interleave_highv32qi", ";", "else", "gen", "=", "gen_vec_interleave_lowv32qi", ";", "break", ";", "case", "E_V16HImode", ":", "if", "(", "d", "->", "perm", "[", "0", "]", ")", "gen", "=", "gen_vec_interleave_highv16hi", ";", "else", "gen", "=", "gen_vec_interleave_lowv16hi", ";", "break", ";", "case", "E_V8SImode", ":", "if", "(", "d", "->", "perm", "[", "0", "]", ")", "gen", "=", "gen_vec_interleave_highv8si", ";", "else", "gen", "=", "gen_vec_interleave_lowv8si", ";", "break", ";", "case", "E_V4DImode", ":", "if", "(", "d", "->", "perm", "[", "0", "]", ")", "gen", "=", "gen_vec_interleave_highv4di", ";", "else", "gen", "=", "gen_vec_interleave_lowv4di", ";", "break", ";", "case", "E_V8SFmode", ":", "if", "(", "d", "->", "perm", "[", "0", "]", ")", "gen", "=", "gen_vec_interleave_highv8sf", ";", "else", "gen", "=", "gen_vec_interleave_lowv8sf", ";", "break", ";", "case", "E_V4DFmode", ":", "if", "(", "d", "->", "perm", "[", "0", "]", ")", "gen", "=", "gen_vec_interleave_highv4df", ";", "else", "gen", "=", "gen_vec_interleave_lowv4df", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "emit_insn", "(", "gen", "(", "d", "->", "target", ",", "d", "->", "op0", ",", "d", "->", "op1", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["A", "subroutine", "of", "ix86_expand_vec_perm_builtin_1", ".", "Try", "to", "simplify", "a", "two", "vector", "permutation", "using", "2", "intra-lane", "interleave", "insns", "and", "cross-lane", "shuffle", "for", "32-byte", "vectors", "."], "TS_V_token": ["i386", "32", "0", "0", "0", "2", "0", "2", "0", "2", "1", "0", "2", "0", "0", "0", "0", "0", "0"], "File": "i386-expand", "Func": "expand_vec_perm_interleave3", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3111, "Length": 348, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MipsSubtarget", "::", "MipsSubtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "bool", "little", ",", "Reloc", "::", "Model", "_RM", ",", "MipsTargetMachine", "*", "_TM", ")", ":", "MipsGenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "MipsArchVersion", "(", "Mips32", ")", ",", "MipsABI", "(", "UnknownABI", ")", ",", "IsLittle", "(", "little", ")", ",", "IsSingleFloat", "(", "false", ")", ",", "IsFP64bit", "(", "false", ")", ",", "IsGP64bit", "(", "false", ")", ",", "HasVFPU", "(", "false", ")", ",", "IsLinux", "(", "true", ")", ",", "HasSEInReg", "(", "false", ")", ",", "HasCondMov", "(", "false", ")", ",", "HasSwap", "(", "false", ")", ",", "HasBitCount", "(", "false", ")", ",", "HasFPIdx", "(", "false", ")", ",", "InMips16Mode", "(", "false", ")", ",", "InMips16HardFloat", "(", "Mips16HardFloat", ")", ",", "InMicroMipsMode", "(", "false", ")", ",", "HasDSP", "(", "false", ")", ",", "HasDSPR2", "(", "false", ")", ",", "AllowMixed16_32", "(", "Mixed16_32", "|", "Mips_Os16", ")", ",", "Os16", "(", "Mips_Os16", ")", ",", "HasMSA", "(", "false", ")", ",", "RM", "(", "_RM", ")", ",", "OverrideMode", "(", "NoOverride", ")", ",", "TM", "(", "_TM", ")", "{", "std", "::", "string", "CPUName", "=", "CPU", ";", "if", "(", "CPUName", ".", "empty", "(", ")", ")", "CPUName", "=", "\"mips32\"", ";", "ParseSubtargetFeatures", "(", "CPUName", ",", "FS", ")", ";", "PreviousInMips16Mode", "=", "InMips16Mode", ";", "InstrItins", "=", "getInstrItineraryForCPU", "(", "CPUName", ")", ";", "if", "(", "MipsABI", "==", "UnknownABI", ")", "MipsABI", "=", "hasMips64", "(", ")", "?", "N64", ":", "O32", ";", "assert", "(", "(", "(", "!", "hasMips64", "(", ")", "&&", "(", "isABI_O32", "(", ")", "||", "isABI_EABI", "(", ")", ")", ")", "||", "(", "hasMips64", "(", ")", "&&", "(", "isABI_N32", "(", ")", "||", "isABI_N64", "(", ")", ")", ")", ")", "&&", "\"Invalid Arch & ABI pair.\"", ")", ";", "if", "(", "TT", ".", "find", "(", "\"linux\"", ")", "==", "std", "::", "string", "::", "npos", ")", "IsLinux", "=", "false", ";", "UseSmallSection", "=", "!", "IsLinux", "&&", "(", "RM", "==", "Reloc", "::", "Static", ")", ";", "if", "(", "inMips16Mode", "(", ")", ")", "HasBitCount", "=", "false", ";", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "\"mips32\"", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "\"Invalid Arch & ABI pair.\"", "\"linux\"", "Mips"], "File": "MipsSubtarget8", "Func": "MipsSubtarget", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3112, "Length": 305, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "AU", ".", "addRequired", "<", "TargetPassConfig", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "LoopInfoWrapperPass", ">", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["RISCV"], "File": "RISCVGatherScatterLowering", "Func": "getAnalysisUsage", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3113, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "rs6000_builtin_type_compatible", "(", "tree", "t", ",", "int", "id", ")", "{", "tree", "builtin_type", ";", "builtin_type", "=", "rs6000_builtin_type", "(", "id", ")", ";", "if", "(", "INTEGRAL_TYPE_P", "(", "t", ")", "&&", "INTEGRAL_TYPE_P", "(", "builtin_type", ")", ")", "return", "true", ";", "else", "return", "lang_hooks", ".", "types_compatible_p", "(", "t", ",", "builtin_type", ")", ";", "}", ""], "natrual_language": ["Return", "true", "iff", "ARGTYPE", "can", "be", "compatibly", "passed", "as", "PARMTYPE", "."], "TS_V_token": ["rs6000"], "File": "rs6000-c2", "Func": "rs6000_builtin_type_compatible", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3114, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64StorePairSuppress", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "const", "TargetSubtargetInfo", "&", "ST", "=", "MF", ".", "getSubtarget", "(", ")", ";", "TII", "=", "static_cast", "<", "const", "AArch64InstrInfo", "*", ">", "(", "ST", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "ST", ".", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "SchedModel", ".", "init", "(", "&", "ST", ")", ";", "Traces", "=", "&", "getAnalysis", "<", "MachineTraceMetrics", ">", "(", ")", ";", "MinInstr", "=", "nullptr", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"*** \"", "<<", "getPassName", "(", ")", "<<", "\": \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "if", "(", "!", "SchedModel", ".", "hasInstrSchedModel", "(", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\" Skipping pass: no machine model present.\\n\"", ")", ";", "return", "false", ";", "}", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "bool", "SuppressSTP", "=", "false", ";", "unsigned", "PrevBaseReg", "=", "0", ";", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "{", "if", "(", "!", "isNarrowFPStore", "(", "MI", ")", ")", "continue", ";", "MachineOperand", "*", "BaseOp", ";", "int64_t", "Offset", ";", "if", "(", "TII", "->", "getMemOperandWithOffset", "(", "MI", ",", "BaseOp", ",", "Offset", ",", "TRI", ")", "&&", "BaseOp", "->", "isReg", "(", ")", ")", "{", "unsigned", "BaseReg", "=", "BaseOp", "->", "getReg", "(", ")", ";", "if", "(", "PrevBaseReg", "==", "BaseReg", ")", "{", "if", "(", "!", "SuppressSTP", "&&", "shouldAddSTPToBlock", "(", "MI", ".", "getParent", "(", ")", ")", ")", "break", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Unpairing store \"", "<<", "MI", "<<", "\"\\n\"", ")", ";", "SuppressSTP", "=", "true", ";", "TII", "->", "suppressLdStPair", "(", "MI", ")", ";", "}", "PrevBaseReg", "=", "BaseReg", ";", "}", "else", "PrevBaseReg", "=", "0", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "\"*** \"", "\": \"", "\" Skipping pass: no machine model present.\\n\"", "0", "\"Unpairing store \"", "\"\\n\"", "0"], "File": "AArch64StorePairSuppress27", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3115, "Length": 276, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCFastISel", "::", "fastEmitInst_r", "(", "unsigned", "MachineInstOpcode", ",", "const", "TargetRegisterClass", "*", "RC", ",", "unsigned", "Op0", ")", "{", "const", "TargetRegisterClass", "*", "UseRC", "=", "(", "RC", "==", "&", "PPC", "::", "GPRCRegClass", "?", "&", "PPC", "::", "GPRC_and_GPRC_NOR0RegClass", ":", "(", "RC", "==", "&", "PPC", "::", "G8RCRegClass", "?", "&", "PPC", "::", "G8RC_and_G8RC_NOX0RegClass", ":", "RC", ")", ")", ";", "return", "FastISel", "::", "fastEmitInst_r", "(", "MachineInstOpcode", ",", "UseRC", ",", "Op0", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "MachineInstr", "with", "one", "register", "operand", "and", "a", "result", "register", "in", "the", "given", "register", "class", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::GPRCRegClass", "PPC::GPRC_and_GPRC_NOR0RegClass", "PPC::G8RCRegClass", "PPC::G8RC_and_G8RC_NOX0RegClass"], "File": "PPCFastISel12", "Func": "fastEmitInst_r", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3116, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CallLowering", "::", "lowerFormalArguments", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Function", "::", "ArgumentListType", "&", "Args", ",", "ArrayRef", "<", "unsigned", ">", "VRegs", ")", "const", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "const", "Function", "&", "F", "=", "*", "MF", ".", "getFunction", "(", ")", ";", "SmallVector", "<", "MVT", ",", "8", ">", "ArgTys", ";", "for", "(", "auto", "&", "Arg", ":", "Args", ")", "ArgTys", ".", "push_back", "(", "MVT", "::", "getVT", "(", "Arg", ".", "getType", "(", ")", ")", ")", ";", "const", "AArch64TargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "AArch64TargetLowering", ">", "(", ")", ";", "CCAssignFn", "*", "AssignFn", "=", "TLI", ".", "CCAssignFnForCall", "(", "F", ".", "getCallingConv", "(", ")", ",", "false", ")", ";", "return", "handleAssignments", "(", "MIRBuilder", ",", "AssignFn", ",", "ArgTys", ",", "VRegs", ",", "[", "]", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "unsigned", "ValReg", ",", "unsigned", "PhysReg", ")", "{", "MIRBuilder", ".", "getMBB", "(", ")", ".", "addLiveIn", "(", "PhysReg", ")", ";", "MIRBuilder", ".", "buildCopy", "(", "ValReg", ",", "PhysReg", ")", ";", "}", ")", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "VRegs", ",", "for", "GlobalISel", "."], "TS_V_token": ["AArch64", "AArch64", "8", "MVT::getVT", "AArch64", "AArch64"], "File": "AArch64CallLowering47", "Func": "lowerFormalArguments", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3117, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MandarinFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MandarinMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "MandarinMachineFunctionInfo", ">", "(", ")", ";", "const", "MandarinInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "MandarinInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "DL", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "uint64_t", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "MFI", "->", "setOffsetAdjustment", "(", "-", "StackSize", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "MD", "::", "STORELri", ")", ",", "MD", "::", "R31", ")", ".", "addImm", "(", "0", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "MD", "::", "MOVrr", ")", ",", "MD", "::", "R31", ")", ".", "addReg", "(", "MD", "::", "R30", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "I", "=", "llvm", "::", "next", "(", "MF", ".", "begin", "(", ")", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "I", "->", "addLiveIn", "(", "MD", "::", "R31", ")", ";", "}", "if", "(", "StackSize", ")", "{", "MachineInstr", "*", "MI", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "MD", "::", "ADDri", ")", ",", "MD", "::", "R30", ")", ".", "addReg", "(", "MD", "::", "R30", ")", ".", "addImm", "(", "StackSize", ")", ";", "}", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Mandarin", "MD::STORELri", "MD::R31", "0", "MD::MOVrr", "MD::R31", "MD::R30", "MD::R31", "MD::ADDri", "MD::R30", "MD::R30"], "File": "MandarinFrameLowering", "Func": "emitPrologue", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3118, "Length": 269, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "M680x0RegisterInfo", "::", "requiresRegisterScavenging", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "requires", "(", "and", "can", "make", "use", "of", ")", "the", "register", "scavenger", "."], "TS_V_token": ["M680x0", "M680x0"], "File": "M680x0RegisterInfo", "Func": "requiresRegisterScavenging", "Target": "M680x0", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3119, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ix86_build_builtin_va_list", "(", "void", ")", "{", "tree", "f_gpr", ",", "f_fpr", ",", "f_ovf", ",", "f_sav", ",", "record", ",", "type_decl", ";", "if", "(", "!", "TARGET_64BIT", ")", "return", "build_pointer_type", "(", "char_type_node", ")", ";", "record", "=", "(", "*", "lang_hooks", ".", "types", ".", "make_type", ")", "(", "RECORD_TYPE", ")", ";", "type_decl", "=", "build_decl", "(", "TYPE_DECL", ",", "get_identifier", "(", "\"__va_list_tag\"", ")", ",", "record", ")", ";", "f_gpr", "=", "build_decl", "(", "FIELD_DECL", ",", "get_identifier", "(", "\"gp_offset\"", ")", ",", "unsigned_type_node", ")", ";", "f_fpr", "=", "build_decl", "(", "FIELD_DECL", ",", "get_identifier", "(", "\"fp_offset\"", ")", ",", "unsigned_type_node", ")", ";", "f_ovf", "=", "build_decl", "(", "FIELD_DECL", ",", "get_identifier", "(", "\"overflow_arg_area\"", ")", ",", "ptr_type_node", ")", ";", "f_sav", "=", "build_decl", "(", "FIELD_DECL", ",", "get_identifier", "(", "\"reg_save_area\"", ")", ",", "ptr_type_node", ")", ";", "va_list_gpr_counter_field", "=", "f_gpr", ";", "va_list_fpr_counter_field", "=", "f_fpr", ";", "DECL_FIELD_CONTEXT", "(", "f_gpr", ")", "=", "record", ";", "DECL_FIELD_CONTEXT", "(", "f_fpr", ")", "=", "record", ";", "DECL_FIELD_CONTEXT", "(", "f_ovf", ")", "=", "record", ";", "DECL_FIELD_CONTEXT", "(", "f_sav", ")", "=", "record", ";", "TREE_CHAIN", "(", "record", ")", "=", "type_decl", ";", "TYPE_NAME", "(", "record", ")", "=", "type_decl", ";", "TYPE_FIELDS", "(", "record", ")", "=", "f_gpr", ";", "TREE_CHAIN", "(", "f_gpr", ")", "=", "f_fpr", ";", "TREE_CHAIN", "(", "f_fpr", ")", "=", "f_ovf", ";", "TREE_CHAIN", "(", "f_ovf", ")", "=", "f_sav", ";", "layout_type", "(", "record", ")", ";", "return", "build_array_type", "(", "record", ",", "build_index_type", "(", "size_zero_node", ")", ")", ";", "}", ""], "natrual_language": ["Create", "the", "va_list", "data", "type", "."], "TS_V_token": ["i386", "\"__va_list_tag\"", "\"gp_offset\"", "\"fp_offset\"", "\"overflow_arg_area\"", "\"reg_save_area\""], "File": "i3863", "Func": "ix86_build_builtin_va_list", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3120, "Length": 210, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86CallLowering", "::", "lowerFormalArguments", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Function", "&", "F", ",", "ArrayRef", "<", "ArrayRef", "<", "Register", ">>", "VRegs", ")", "const", "{", "if", "(", "F", ".", "arg_empty", "(", ")", ")", "return", "true", ";", "if", "(", "F", ".", "isVarArg", "(", ")", ")", "return", "false", ";", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "auto", "DL", "=", "MF", ".", "getDataLayout", "(", ")", ";", "SmallVector", "<", "ArgInfo", ",", "8", ">", "SplitArgs", ";", "unsigned", "Idx", "=", "0", ";", "for", "(", "auto", "&", "Arg", ":", "F", ".", "args", "(", ")", ")", "{", "if", "(", "Arg", ".", "hasAttribute", "(", "Attribute", "::", "ByVal", ")", "||", "Arg", ".", "hasAttribute", "(", "Attribute", "::", "InReg", ")", "||", "Arg", ".", "hasAttribute", "(", "Attribute", "::", "StructRet", ")", "||", "Arg", ".", "hasAttribute", "(", "Attribute", "::", "SwiftSelf", ")", "||", "Arg", ".", "hasAttribute", "(", "Attribute", "::", "SwiftError", ")", "||", "Arg", ".", "hasAttribute", "(", "Attribute", "::", "Nest", ")", "||", "VRegs", "[", "Idx", "]", ".", "size", "(", ")", ">", "1", ")", "return", "false", ";", "ArgInfo", "OrigArg", "(", "VRegs", "[", "Idx", "]", ",", "Arg", ".", "getType", "(", ")", ")", ";", "setArgFlags", "(", "OrigArg", ",", "Idx", "+", "AttributeList", "::", "FirstArgIndex", ",", "DL", ",", "F", ")", ";", "if", "(", "!", "splitToValueTypes", "(", "OrigArg", ",", "SplitArgs", ",", "DL", ",", "MRI", ",", "[", "&", "]", "(", "ArrayRef", "<", "Register", ">", "Regs", ")", "{", "MIRBuilder", ".", "buildMerge", "(", "VRegs", "[", "Idx", "]", "[", "0", "]", ",", "Regs", ")", ";", "}", ")", ")", "return", "false", ";", "Idx", "++", ";", "}", "MachineBasicBlock", "&", "MBB", "=", "MIRBuilder", ".", "getMBB", "(", ")", ";", "if", "(", "!", "MBB", ".", "empty", "(", ")", ")", "MIRBuilder", ".", "setInstr", "(", "*", "MBB", ".", "begin", "(", ")", ")", ";", "FormalArgHandler", "Handler", "(", "MIRBuilder", ",", "MRI", ",", "CC_X86", ")", ";", "if", "(", "!", "handleAssignments", "(", "MIRBuilder", ",", "SplitArgs", ",", "Handler", ")", ")", "return", "false", ";", "MIRBuilder", ".", "setMBB", "(", "MBB", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "VRegs", ",", "for", "GlobalISel", "."], "TS_V_token": ["X86", "X86", "8", "0", "1", "0", "X86"], "File": "X86CallLowering1", "Func": "lowerFormalArguments", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3121, "Length": 317, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "NVPTXLowerAlloca", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "skipFunction", "(", "F", ")", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "&", "BB", ":", "F", ")", "for", "(", "auto", "&", "I", ":", "BB", ")", "{", "if", "(", "auto", "allocaInst", "=", "dyn_cast", "<", "AllocaInst", ">", "(", "&", "I", ")", ")", "{", "Changed", "=", "true", ";", "auto", "ETy", "=", "allocaInst", "->", "getAllocatedType", "(", ")", ";", "auto", "LocalAddrTy", "=", "PointerType", "::", "get", "(", "ETy", ",", "ADDRESS_SPACE_LOCAL", ")", ";", "auto", "NewASCToLocal", "=", "new", "AddrSpaceCastInst", "(", "allocaInst", ",", "LocalAddrTy", ",", "\"\"", ")", ";", "auto", "GenericAddrTy", "=", "PointerType", "::", "get", "(", "ETy", ",", "ADDRESS_SPACE_GENERIC", ")", ";", "auto", "NewASCToGeneric", "=", "new", "AddrSpaceCastInst", "(", "NewASCToLocal", ",", "GenericAddrTy", ",", "\"\"", ")", ";", "NewASCToLocal", "->", "insertAfter", "(", "allocaInst", ")", ";", "NewASCToGeneric", "->", "insertAfter", "(", "NewASCToLocal", ")", ";", "for", "(", "Value", "::", "use_iterator", "UI", "=", "allocaInst", "->", "use_begin", "(", ")", ",", "UE", "=", "allocaInst", "->", "use_end", "(", ")", ";", "UI", "!=", "UE", ";", ")", "{", "const", "auto", "&", "AllocaUse", "=", "*", "UI", "++", ";", "auto", "LI", "=", "dyn_cast", "<", "LoadInst", ">", "(", "AllocaUse", ".", "getUser", "(", ")", ")", ";", "if", "(", "LI", "&&", "LI", "->", "getPointerOperand", "(", ")", "==", "allocaInst", "&&", "!", "LI", "->", "isVolatile", "(", ")", ")", "{", "LI", "->", "setOperand", "(", "LI", "->", "getPointerOperandIndex", "(", ")", ",", "NewASCToGeneric", ")", ";", "continue", ";", "}", "auto", "SI", "=", "dyn_cast", "<", "StoreInst", ">", "(", "AllocaUse", ".", "getUser", "(", ")", ")", ";", "if", "(", "SI", "&&", "SI", "->", "getPointerOperand", "(", ")", "==", "allocaInst", "&&", "!", "SI", "->", "isVolatile", "(", ")", ")", "{", "SI", "->", "setOperand", "(", "SI", "->", "getPointerOperandIndex", "(", ")", ",", "NewASCToGeneric", ")", ";", "continue", ";", "}", "auto", "GI", "=", "dyn_cast", "<", "GetElementPtrInst", ">", "(", "AllocaUse", ".", "getUser", "(", ")", ")", ";", "if", "(", "GI", "&&", "GI", "->", "getPointerOperand", "(", ")", "==", "allocaInst", ")", "{", "GI", "->", "setOperand", "(", "GI", "->", "getPointerOperandIndex", "(", ")", ",", "NewASCToGeneric", ")", ";", "continue", ";", "}", "auto", "BI", "=", "dyn_cast", "<", "BitCastInst", ">", "(", "AllocaUse", ".", "getUser", "(", ")", ")", ";", "if", "(", "BI", "&&", "BI", "->", "getOperand", "(", "0", ")", "==", "allocaInst", ")", "{", "BI", "->", "setOperand", "(", "0", ",", "NewASCToGeneric", ")", ";", "continue", ";", "}", "}", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["NVPTX", "NVPTX", "\"\"", "\"\"", "0", "0"], "File": "NVPTXLowerAlloca7", "Func": "runOnFunction", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3122, "Length": 364, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "function_builder", "::", "apply_predication", "(", "const", "function_instance", "&", "instance", ",", "tree", "return_type", ",", "vec", "<", "tree", ">", "&", "argument_types", ")", "const", "{", "if", "(", "instance", ".", "base", "->", "has_merge_operand_p", "(", ")", ")", "if", "(", "instance", ".", "pred", "==", "PRED_TYPE_tu", "||", "instance", ".", "pred", "==", "PRED_TYPE_tum", "||", "instance", ".", "pred", "==", "PRED_TYPE_tumu", "||", "instance", ".", "pred", "==", "PRED_TYPE_mu", ")", "argument_types", ".", "quick_insert", "(", "0", ",", "return_type", ")", ";", "vector_type_index", "mask_type_index", "=", "function_types", "[", "instance", ".", "type", ".", "index", "]", ".", "type_indexes", "[", "RVV_BASE_mask", "]", ";", "tree", "mask_type", "=", "builtin_types", "[", "mask_type_index", "]", ".", "vector", ";", "if", "(", "instance", ".", "pred", "==", "PRED_TYPE_m", "||", "instance", ".", "pred", "==", "PRED_TYPE_tum", "||", "instance", ".", "pred", "==", "PRED_TYPE_tumu", "||", "instance", ".", "pred", "==", "PRED_TYPE_mu", ")", "argument_types", ".", "quick_insert", "(", "0", ",", "mask_type", ")", ";", "if", "(", "instance", ".", "base", "->", "apply_vl_p", "(", ")", ")", "argument_types", ".", "quick_push", "(", "size_type_node", ")", ";", "}", ""], "natrual_language": ["Apply", "predication", "into", "argument_types", "."], "TS_V_token": ["riscv", "0", "0"], "File": "riscv-vector-builtins", "Func": "apply_predication", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3123, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "fully_fold_convert", "(", "tree", "type", ",", "tree", "expr", ")", "{", "tree", "result", "=", "fold_convert", "(", "type", ",", "expr", ")", ";", "bool", "maybe_const", "=", "true", ";", "if", "(", "!", "c_dialect_cxx", "(", ")", ")", "result", "=", "c_fully_fold", "(", "result", ",", "false", ",", "&", "maybe_const", ")", ";", "return", "result", ";", "}", ""], "natrual_language": ["In", "addition", "to", "calling", "fold_convert", "for", "EXPR", "of", "type", "TYPE", ",", "also", "call", "c_fully_fold", "to", "remove", "any", "C_MAYBE_CONST_EXPRs", "that", "could", "be", "hiding", "there", "(", "PR47197", ")", "."], "TS_V_token": ["s390"], "File": "s390-c", "Func": "fully_fold_convert", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3124, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_modes_tieable_p", "(", "machine_mode", "mode1", ",", "machine_mode", "mode2", ")", "{", "return", "(", "mode1", "==", "mode2", "||", "(", "!", "mips_mode_ok_for_mov_fmt_p", "(", "mode1", ")", "&&", "!", "mips_mode_ok_for_mov_fmt_p", "(", "mode2", ")", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "MODES_TIEABLE_P", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_modes_tieable_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3125, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVInstrInfo", "::", "isAsCheapAsAMove", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "const", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "break", ";", "case", "RISCV", "::", "CMove", ":", "return", "true", ";", "case", "RISCV", "::", "CIncOffset", ":", "return", "(", "MI", ".", "getOperand", "(", "2", ")", ".", "isReg", "(", ")", "&&", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", "==", "RISCV", "::", "X0", ")", "||", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "RISCV", "::", "C0", ")", ";", "case", "RISCV", "::", "CIncOffsetImm", ":", "return", "(", "MI", ".", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", "&&", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "==", "0", ")", "||", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "RISCV", "::", "C0", ")", ";", "case", "RISCV", "::", "FSGNJ_D", ":", "case", "RISCV", "::", "FSGNJ_S", ":", "return", "MI", ".", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "&&", "MI", ".", "getOperand", "(", "2", ")", ".", "isReg", "(", ")", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ";", "case", "RISCV", "::", "ADDI", ":", "case", "RISCV", "::", "ORI", ":", "case", "RISCV", "::", "XORI", ":", "return", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "RISCV", "::", "X0", ")", "||", "(", "MI", ".", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", "&&", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "==", "0", ")", ";", "}", "return", "MI", ".", "isAsCheapAsAMove", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "instruction", "is", "as", "cheap", "as", "a", "move", "instruction", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::CMove", "RISCV::CIncOffset", "2", "2", "RISCV::X0", "1", "1", "RISCV::C0", "RISCV::CIncOffsetImm", "2", "2", "0", "1", "1", "RISCV::C0", "RISCV::FSGNJ_D", "RISCV::FSGNJ_S", "1", "2", "1", "2", "RISCV::ADDI", "RISCV::ORI", "RISCV::XORI", "1", "1", "RISCV::X0", "2", "2", "0"], "File": "RISCVInstrInfo26", "Func": "isAsCheapAsAMove", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3126, "Length": 295, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_init_builtin", "(", "unsigned", "int", "fcode", ",", "arm_builtin_datum", "*", "d", ",", "const", "char", "*", "prefix", ")", "{", "bool", "print_type_signature_p", "=", "false", ";", "char", "type_signature", "[", "SIMD_MAX_BUILTIN_ARGS", "]", "=", "{", "0", "}", ";", "char", "namebuf", "[", "60", "]", ";", "tree", "ftype", "=", "NULL", ";", "tree", "fndecl", "=", "NULL", ";", "d", "->", "fcode", "=", "fcode", ";", "int", "op_num", "=", "insn_data", "[", "d", "->", "code", "]", ".", "n_operands", "-", "1", ";", "int", "arg_num", "=", "d", "->", "qualifiers", "[", "0", "]", "&", "qualifier_void", "?", "op_num", "+", "1", ":", "op_num", ";", "tree", "return_type", "=", "void_type_node", ",", "args", "=", "void_list_node", ";", "tree", "eltype", ";", "for", "(", ";", "op_num", ">=", "0", ";", "arg_num", "--", ",", "op_num", "--", ")", "{", "machine_mode", "op_mode", "=", "insn_data", "[", "d", "->", "code", "]", ".", "operand", "[", "op_num", "]", ".", "mode", ";", "enum", "arm_type_qualifiers", "qualifiers", "=", "d", "->", "qualifiers", "[", "arg_num", "]", ";", "if", "(", "qualifiers", "&", "qualifier_unsigned", ")", "{", "type_signature", "[", "arg_num", "]", "=", "'u'", ";", "print_type_signature_p", "=", "true", ";", "}", "else", "if", "(", "qualifiers", "&", "qualifier_poly", ")", "{", "type_signature", "[", "arg_num", "]", "=", "'p'", ";", "print_type_signature_p", "=", "true", ";", "}", "else", "type_signature", "[", "arg_num", "]", "=", "'s'", ";", "if", "(", "qualifiers", "&", "qualifier_internal", ")", "continue", ";", "if", "(", "qualifiers", "&", "qualifier_map_mode", ")", "op_mode", "=", "d", "->", "mode", ";", "if", "(", "qualifiers", "&", "qualifier_predicate", ")", "op_mode", "=", "HImode", ";", "if", "(", "qualifiers", "&", "qualifier_pointer", "&&", "VECTOR_MODE_P", "(", "op_mode", ")", ")", "op_mode", "=", "GET_MODE_INNER", "(", "op_mode", ")", ";", "if", "(", "qualifiers", "&", "qualifier_void_pointer", ")", "eltype", "=", "qualifiers", "&", "qualifier_const", "?", "const_ptr_type_node", ":", "ptr_type_node", ";", "else", "{", "eltype", "=", "arm_simd_builtin_type", "(", "op_mode", ",", "(", "qualifiers", "&", "qualifier_unsigned", ")", "!=", "0", ",", "(", "qualifiers", "&", "qualifier_poly", ")", "!=", "0", ")", ";", "gcc_assert", "(", "eltype", "!=", "NULL", ")", ";", "if", "(", "qualifiers", "&", "qualifier_const", ")", "eltype", "=", "build_qualified_type", "(", "eltype", ",", "TYPE_QUAL_CONST", ")", ";", "if", "(", "qualifiers", "&", "qualifier_pointer", ")", "eltype", "=", "build_pointer_type", "(", "eltype", ")", ";", "}", "if", "(", "arg_num", "==", "0", ")", "return_type", "=", "eltype", ";", "else", "args", "=", "tree_cons", "(", "NULL_TREE", ",", "eltype", ",", "args", ")", ";", "}", "ftype", "=", "build_function_type", "(", "return_type", ",", "args", ")", ";", "gcc_assert", "(", "ftype", "!=", "NULL", ")", ";", "if", "(", "print_type_signature_p", "&&", "IN_RANGE", "(", "fcode", ",", "ARM_BUILTIN_VFP_BASE", ",", "ARM_BUILTIN_ACLE_BASE", "-", "1", ")", ")", "snprintf", "(", "namebuf", ",", "sizeof", "(", "namebuf", ")", ",", "\"%s_%s_%s\"", ",", "prefix", ",", "d", "->", "name", ",", "type_signature", ")", ";", "else", "snprintf", "(", "namebuf", ",", "sizeof", "(", "namebuf", ")", ",", "\"%s_%s\"", ",", "prefix", ",", "d", "->", "name", ")", ";", "fndecl", "=", "add_builtin_function", "(", "namebuf", ",", "ftype", ",", "fcode", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "arm_builtin_decls", "[", "fcode", "]", "=", "fndecl", ";", "}", ""], "natrual_language": ["Set", "up", "a", "builtin", ".", "It", "will", "use", "information", "stored", "in", "the", "argument", "struct", "D", "to", "derive", "the", "builtin", "'s", "type", "signature", "and", "name", ".", "It", "will", "append", "the", "name", "in", "D", "to", "the", "PREFIX", "passed", "and", "use", "these", "to", "create", "a", "builtin", "declaration", "that", "is", "then", "stored", "in", "'arm_builtin_decls", "'", "under", "index", "FCODE", ".", "This", "FCODE", "is", "also", "written", "back", "to", "D", "for", "future", "use", "."], "TS_V_token": ["arm", "0", "60", "1", "0", "1", "0", "0", "0", "0", "1", "\"%s_%s_%s\"", "\"%s_%s\""], "File": "arm-builtins", "Func": "arm_init_builtin", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3127, "Length": 431, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "Z80RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "return", "CC_Save_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["Z80", "Z80"], "File": "Z80RegisterInfo (2)", "Func": "getCalleeSavedRegs", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3128, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86Subtarget", "::", "enablePostRAScheduler", "(", "CodeGenOpt", "::", "Level", "OptLevel", ",", "TargetSubtarget", "::", "AntiDepBreakMode", "&", "Mode", ",", "RegClassVector", "&", "CriticalPathRCs", ")", "const", "{", "Mode", "=", "TargetSubtarget", "::", "ANTIDEP_CRITICAL", ";", "CriticalPathRCs", ".", "clear", "(", ")", ";", "return", "OptLevel", ">=", "CodeGenOpt", "::", "Aggressive", ";", "}", ""], "natrual_language": ["True", "if", "the", "subtarget", "should", "run", "a", "scheduler", "after", "register", "allocation", "."], "TS_V_token": ["X86", "X86"], "File": "X86Subtarget62", "Func": "enablePostRAScheduler", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3129, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"Cpu0 Del Useless jmp\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Cpu0", "\"Cpu0 Del Useless jmp\""], "File": "Cpu0DelUselessJMP", "Func": "getPassName", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3130, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleDAGInstrs", "*", "createMachineScheduler", "(", "MachineSchedContext", "*", "C", ")", "const", "override", "{", "const", "AMDGPUSubtarget", "&", "ST", "=", "*", "getAMDGPUTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", ";", "if", "(", "ST", ".", "getGeneration", "(", ")", "<=", "AMDGPUSubtarget", "::", "NORTHERN_ISLANDS", ")", "return", "createR600MachineScheduler", "(", "C", ")", ";", "else", "if", "(", "ST", ".", "enableSIScheduler", "(", ")", ")", "return", "createSIMachineScheduler", "(", "C", ")", ";", "return", "nullptr", ";", "}", ""], "natrual_language": ["Create", "an", "instance", "of", "ScheduleDAGInstrs", "to", "be", "run", "within", "the", "standard", "MachineScheduler", "pass", "for", "this", "function", "and", "target", "at", "the", "current", "optimization", "level", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "R600", "SI", "SI"], "File": "AMDGPUTargetMachine12", "Func": "createMachineScheduler", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3131, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "push", "(", "int", "rn", ")", "{", "rtx", "x", ";", "if", "(", "rn", "==", "FPUL_REG", ")", "x", "=", "gen_push_fpul", "(", ")", ";", "else", "if", "(", "rn", "==", "FPSCR_REG", ")", "x", "=", "gen_push_fpscr", "(", ")", ";", "else", "if", "(", "(", "TARGET_SH4", "||", "TARGET_SH2A_DOUBLE", ")", "&&", "TARGET_FMOVD", "&&", "!", "TARGET_FPU_SINGLE", "&&", "FP_OR_XD_REGISTER_P", "(", "rn", ")", ")", "{", "if", "(", "FP_REGISTER_P", "(", "rn", ")", "&&", "(", "rn", "-", "FIRST_FP_REG", ")", "&", "1", ")", "return", "NULL_RTX", ";", "x", "=", "gen_push_4", "(", "gen_rtx_REG", "(", "DFmode", ",", "rn", ")", ")", ";", "}", "else", "if", "(", "TARGET_SH2E", "&&", "FP_REGISTER_P", "(", "rn", ")", ")", "x", "=", "gen_push_e", "(", "gen_rtx_REG", "(", "SFmode", ",", "rn", ")", ")", ";", "else", "x", "=", "gen_push", "(", "gen_rtx_REG", "(", "SImode", ",", "rn", ")", ")", ";", "x", "=", "frame_insn", "(", "x", ")", ";", "add_reg_note", "(", "x", ",", "REG_INC", ",", "gen_rtx_REG", "(", "SImode", ",", "STACK_POINTER_REGNUM", ")", ")", ";", "return", "x", ";", "}", ""], "natrual_language": ["Output", "RTL", "to", "push", "register", "RN", "onto", "the", "stack", "."], "TS_V_token": ["sh", "1"], "File": "sh4", "Func": "push", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3132, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ")", "{", "StringRef", "Mnemonic", ";", "if", "(", "requestsDoubleOperand", "(", "Name", ")", ")", "{", "setFpFormat", "(", "FP_FORMAT_D", ")", ";", "Operands", ".", "push_back", "(", "MipsOperand", "::", "CreateToken", "(", "Name", ",", "NameLoc", ")", ")", ";", "Mnemonic", "=", "Name", ";", "}", "else", "{", "setDefaultFpFormat", "(", ")", ";", "size_t", "Start", "=", "0", ",", "Next", "=", "Name", ".", "find", "(", "'.'", ")", ";", "Mnemonic", "=", "Name", ".", "slice", "(", "Start", ",", "Next", ")", ";", "Operands", ".", "push_back", "(", "MipsOperand", "::", "CreateToken", "(", "Mnemonic", ",", "NameLoc", ")", ")", ";", "if", "(", "Next", "!=", "StringRef", "::", "npos", ")", "{", "size_t", "Dot", "=", "Name", ".", "find", "(", "'.'", ",", "Next", "+", "1", ")", ";", "StringRef", "Format", "=", "Name", ".", "slice", "(", "Next", ",", "Dot", ")", ";", "if", "(", "Dot", "==", "StringRef", "::", "npos", ")", "Operands", ".", "push_back", "(", "MipsOperand", "::", "CreateToken", "(", "Format", ",", "NameLoc", ")", ")", ";", "else", "{", "if", "(", "Name", ".", "startswith", "(", "\"c.\"", ")", ")", "{", "Operands", ".", "push_back", "(", "MipsOperand", "::", "CreateToken", "(", "\".\"", ",", "NameLoc", ")", ")", ";", "int", "Cc", "=", "ConvertCcString", "(", "Format", ")", ";", "if", "(", "Cc", "==", "-", "1", ")", "{", "return", "Error", "(", "NameLoc", ",", "\"Invalid conditional code\"", ")", ";", "}", "SMLoc", "E", "=", "SMLoc", "::", "getFromPointer", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ".", "getPointer", "(", ")", "-", "1", ")", ";", "Operands", ".", "push_back", "(", "MipsOperand", "::", "CreateImm", "(", "MCConstantExpr", "::", "Create", "(", "Cc", ",", "getContext", "(", ")", ")", ",", "NameLoc", ",", "E", ")", ")", ";", "}", "else", "{", "return", "parseMathOperation", "(", "Name", ",", "NameLoc", ",", "Operands", ")", ";", "}", "Format", "=", "Name", ".", "slice", "(", "Dot", ",", "StringRef", "::", "npos", ")", ";", "Operands", ".", "push_back", "(", "MipsOperand", "::", "CreateToken", "(", "Format", ",", "NameLoc", ")", ")", ";", "}", "setFpFormat", "(", "Format", ")", ";", "}", "}", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "if", "(", "ParseOperand", "(", "Operands", ",", "Mnemonic", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "\"unexpected token in argument list\"", ")", ";", "}", "while", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "ParseOperand", "(", "Operands", ",", "Name", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "\"unexpected token in argument list\"", ")", ";", "}", "}", "}", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "SMLoc", "Loc", "=", "getLexer", "(", ")", ".", "getLoc", "(", ")", ";", "Parser", ".", "eatToEndOfStatement", "(", ")", ";", "return", "Error", "(", "Loc", ",", "\"unexpected token in argument list\"", ")", ";", "}", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["Mips", "Mips", "MipsOperand::CreateToken", "0", "MipsOperand::CreateToken", "1", "MipsOperand::CreateToken", "\"c.\"", "MipsOperand::CreateToken", "\".\"", "1", "\"Invalid conditional code\"", "1", "MipsOperand::CreateImm", "MipsOperand::CreateToken", "\"unexpected token in argument list\"", "\"unexpected token in argument list\"", "\"unexpected token in argument list\""], "File": "MipsAsmParser44", "Func": "ParseInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3133, "Length": 468, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "A15SDOptimizer", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "TII", "=", "static_cast", "<", "const", "ARMBaseInstrInfo", "*", ">", "(", "Fn", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "Fn", ".", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "Fn", ".", "getRegInfo", "(", ")", ";", "bool", "Modified", "=", "false", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Running on function \"", "<<", "Fn", ".", "getName", "(", ")", "<<", "\"\\n\"", ")", ";", "DeadInstr", ".", "clear", "(", ")", ";", "Replacements", ".", "clear", "(", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "MFI", "=", "Fn", ".", "begin", "(", ")", ",", "E", "=", "Fn", ".", "end", "(", ")", ";", "MFI", "!=", "E", ";", "++", "MFI", ")", "{", "for", "(", "MachineBasicBlock", "::", "iterator", "MI", "=", "MFI", "->", "begin", "(", ")", ",", "ME", "=", "MFI", "->", "end", "(", ")", ";", "MI", "!=", "ME", ";", ")", "{", "Modified", "|=", "runOnInstruction", "(", "MI", "++", ")", ";", "}", "}", "for", "(", "std", "::", "set", "<", "MachineInstr", "*", ">", "::", "iterator", "I", "=", "DeadInstr", ".", "begin", "(", ")", ",", "E", "=", "DeadInstr", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "(", "*", "I", ")", "->", "eraseFromParent", "(", ")", ";", "}", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "\"Running on function \"", "\"\\n\""], "File": "A15SDOptimizer (2)", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3134, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AsmBackend", "::", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsResolved", ",", "const", "MCSubtargetInfo", "*", "STI", ")", "const", "{", "unsigned", "Size", "=", "getFixupKindSize", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "assert", "(", "Fixup", ".", "getOffset", "(", ")", "+", "Size", "<=", "Data", ".", "size", "(", ")", "&&", "\"Invalid fixup offset!\"", ")", ";", "int64_t", "SignedValue", "=", "static_cast", "<", "int64_t", ">", "(", "Value", ")", ";", "if", "(", "(", "Target", ".", "isAbsolute", "(", ")", "||", "IsResolved", ")", "&&", "getFixupKindInfo", "(", "Fixup", ".", "getKind", "(", ")", ")", ".", "Flags", "&", "MCFixupKindInfo", "::", "FKF_IsPCRel", ")", "{", "if", "(", "Size", ">", "0", "&&", "!", "isIntN", "(", "Size", "*", "8", ",", "SignedValue", ")", ")", "Asm", ".", "getContext", "(", ")", ".", "reportError", "(", "Fixup", ".", "getLoc", "(", ")", ",", "\"value of \"", "+", "Twine", "(", "SignedValue", ")", "+", "\" is too large for field of \"", "+", "Twine", "(", "Size", ")", "+", "(", "(", "Size", "==", "1", ")", "?", "\" byte.\"", ":", "\" bytes.\"", ")", ")", ";", "}", "else", "{", "assert", "(", "(", "Size", "==", "0", "||", "isIntN", "(", "Size", "*", "8", "+", "1", ",", "SignedValue", ")", ")", "&&", "\"Value does not fit in the Fixup field\"", ")", ";", "}", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "Size", ";", "++", "i", ")", "Data", "[", "Fixup", ".", "getOffset", "(", ")", "+", "i", "]", "=", "uint8_t", "(", "Value", ">>", "(", "i", "*", "8", ")", ")", ";", "}", ""], "natrual_language": ["Apply", "the", "Value", "for", "given", "Fixup", "into", "the", "provided", "data", "fragment", ",", "at", "the", "offset", "specified", "by", "the", "fixup", "and", "following", "the", "fixup", "kind", "as", "appropriate", "."], "TS_V_token": ["X86", "X86", "\"Invalid fixup offset!\"", "0", "8", "\"value of \"", "\" is too large for field of \"", "1", "\" byte.\"", "\" bytes.\"", "0", "8", "1", "\"Value does not fit in the Fixup field\"", "0", "8"], "File": "X86AsmBackend17", "Func": "applyFixup", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3135, "Length": 229, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOp", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "SPAdj", "==", "0", "&&", "\"Unexpected\"", ")", ";", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineBasicBlock", "&", "MB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MB", ".", "getParent", "(", ")", ";", "auto", "&", "HST", "=", "MF", ".", "getSubtarget", "<", "HexagonSubtarget", ">", "(", ")", ";", "auto", "&", "HII", "=", "*", "HST", ".", "getInstrInfo", "(", ")", ";", "auto", "&", "HFI", "=", "*", "HST", ".", "getFrameLowering", "(", ")", ";", "Register", "BP", ";", "int", "FI", "=", "MI", ".", "getOperand", "(", "FIOp", ")", ".", "getIndex", "(", ")", ";", "int", "Offset", "=", "HFI", ".", "getFrameIndexReference", "(", "MF", ",", "FI", ",", "BP", ")", ".", "getFixed", "(", ")", ";", "int", "RealOffset", "=", "Offset", "+", "MI", ".", "getOperand", "(", "FIOp", "+", "1", ")", ".", "getImm", "(", ")", ";", "bool", "IsKill", "=", "false", ";", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opc", ")", "{", "case", "Hexagon", "::", "PS_fia", ":", "MI", ".", "setDesc", "(", "HII", ".", "get", "(", "Hexagon", "::", "A2_addi", ")", ")", ";", "MI", ".", "getOperand", "(", "FIOp", ")", ".", "ChangeToImmediate", "(", "RealOffset", ")", ";", "MI", ".", "RemoveOperand", "(", "FIOp", "+", "1", ")", ";", "return", ";", "case", "Hexagon", "::", "PS_fi", ":", "MI", ".", "setDesc", "(", "HII", ".", "get", "(", "Hexagon", "::", "A2_addi", ")", ")", ";", "break", ";", "}", "if", "(", "!", "HII", ".", "isValidOffset", "(", "Opc", ",", "RealOffset", ",", "this", ")", ")", "{", "auto", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "Register", "TmpR", "=", "MRI", ".", "createVirtualRegister", "(", "&", "Hexagon", "::", "IntRegsRegClass", ")", ";", "const", "DebugLoc", "&", "DL", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "BuildMI", "(", "MB", ",", "II", ",", "DL", ",", "HII", ".", "get", "(", "Hexagon", "::", "A2_addi", ")", ",", "TmpR", ")", ".", "addReg", "(", "BP", ")", ".", "addImm", "(", "RealOffset", ")", ";", "BP", "=", "TmpR", ";", "RealOffset", "=", "0", ";", "IsKill", "=", "true", ";", "}", "MI", ".", "getOperand", "(", "FIOp", ")", ".", "ChangeToRegister", "(", "BP", ",", "false", ",", "false", ",", "IsKill", ")", ";", "MI", ".", "getOperand", "(", "FIOp", "+", "1", ")", ".", "ChangeToImmediate", "(", "RealOffset", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["Hexagon", "Hexagon", "0", "\"Unexpected\"", "Hexagon", "1", "Hexagon::PS_fia", "Hexagon::A2_addi", "1", "Hexagon::PS_fi", "Hexagon::A2_addi", "Hexagon::IntRegsRegClass", "Hexagon::A2_addi", "0", "1"], "File": "HexagonRegisterInfo26", "Func": "eliminateFrameIndex", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3136, "Length": 356, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PIC16InstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "PIC16TargetLowering", "*", "PTLI", "=", "TM", ".", "getTargetLowering", "(", ")", ";", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "const", "Function", "*", "Func", "=", "MBB", ".", "getParent", "(", ")", "->", "getFunction", "(", ")", ";", "const", "std", "::", "string", "FuncName", "=", "Func", "->", "getName", "(", ")", ";", "const", "char", "*", "tmpName", "=", "createESName", "(", "PAN", "::", "getTempdataLabel", "(", "FuncName", ")", ")", ";", "if", "(", "RC", "==", "PIC16", "::", "GPRRegisterClass", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "PIC16", "::", "movwf", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addImm", "(", "PTLI", "->", "GetTmpOffsetForFI", "(", "FI", ",", "1", ")", ")", ".", "addExternalSymbol", "(", "tmpName", ")", ".", "addImm", "(", "1", ")", ";", "}", "else", "if", "(", "RC", "==", "PIC16", "::", "FSR16RegisterClass", ")", "{", "unsigned", "opcode", "=", "(", "SrcReg", "==", "PIC16", "::", "FSR0", ")", "?", "PIC16", "::", "save_fsr0", ":", "PIC16", "::", "save_fsr1", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "opcode", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addImm", "(", "PTLI", "->", "GetTmpOffsetForFI", "(", "FI", ",", "3", ")", ")", ".", "addExternalSymbol", "(", "tmpName", ")", ".", "addImm", "(", "1", ")", ";", "}", "else", "assert", "(", "0", "&&", "\"Can't store this register to stack slot\"", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["PIC16", "PIC16", "PIC16", "PIC16::GPRRegisterClass", "PIC16::movwf", "1", "1", "PIC16::FSR16RegisterClass", "PIC16::FSR0", "PIC16::save_fsr0", "PIC16::save_fsr1", "3", "1", "0", "\"Can't store this register to stack slot\""], "File": "PIC16InstrInfo3", "Func": "storeRegToStackSlot", "Target": "PIC16", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3137, "Length": 252, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVCleanupVSETVLI", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "const", "RISCVSubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ";", "if", "(", "!", "ST", ".", "hasStdExtV", "(", ")", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "Changed", "|=", "runOnMachineBasicBlock", "(", "MBB", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["RI5CY", "RISCV", "RISCV", "RISCV"], "File": "RISCVCleanupVSETVLI", "Func": "runOnMachineFunction", "Target": "RI5CY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3138, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "BlackfinRegisterInfo", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "if", "(", "!", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "int64_t", "Amount", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "Amount", "!=", "0", ")", "{", "assert", "(", "Amount", "%", "4", "==", "0", "&&", "\"Unaligned call frame size\"", ")", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "BF", "::", "ADJCALLSTACKDOWN", ")", "{", "adjustRegister", "(", "MBB", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "BF", "::", "SP", ",", "BF", "::", "P1", ",", "-", "Amount", ")", ";", "}", "else", "{", "assert", "(", "I", "->", "getOpcode", "(", ")", "==", "BF", "::", "ADJCALLSTACKUP", "&&", "\"Unknown call frame pseudo instruction\"", ")", ";", "adjustRegister", "(", "MBB", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "BF", "::", "SP", ",", "BF", "::", "P1", ",", "Amount", ")", ";", "}", "}", "}", "MBB", ".", "erase", "(", "I", ")", ";", "}", ""], "natrual_language": ["This", "method", "is", "called", "during", "prolog/epilog", "code", "insertion", "to", "eliminate", "call", "frame", "setup", "and", "destroy", "pseudo", "instructions", "(", "but", "only", "if", "the", "Target", "is", "using", "them", ")", "."], "TS_V_token": ["Blackfin", "0", "0", "4", "0", "\"Unaligned call frame size\"", "BF::ADJCALLSTACKDOWN", "BF::SP", "BF::P1", "BF::ADJCALLSTACKUP", "\"Unknown call frame pseudo instruction\"", "BF::SP", "BF::P1"], "File": "BlackfinRegisterInfo1", "Func": "eliminateCallFramePseudoInstr", "Target": "Blackfin", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3139, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "FunctionPass", "*", "GCNPassConfig", "::", "createRegAllocPass", "(", "bool", "Optimized", ")", "{", "llvm_unreachable", "(", "\"should not be used\"", ")", ";", "}", ""], "natrual_language": ["addMachinePasses", "helper", "to", "create", "the", "target-selected", "or", "overriden", "regalloc", "pass", "."], "TS_V_token": ["AMDGPU", "\"should not be used\""], "File": "AMDGPUTargetMachine (2)1", "Func": "createRegAllocPass", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3140, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emit_reg_adjust", "(", "rtx", "reg1", ",", "int", "n", ")", "{", "rtx", "reg2", ";", "gcc_assert", "(", "GET_MODE", "(", "reg1", ")", "==", "SImode", "&&", "n", ">=", "-", "12", "&&", "n", "!=", "0", "&&", "n", "<=", "12", ")", ";", "reg1", "=", "copy_rtx", "(", "reg1", ")", ";", "reg2", "=", "copy_rtx", "(", "reg1", ")", ";", "if", "(", "n", "<", "0", ")", "emit_insn", "(", "gen_subsi3", "(", "reg1", ",", "reg2", ",", "GEN_INT", "(", "-", "n", ")", ")", ")", ";", "else", "if", "(", "n", ">", "0", ")", "emit_insn", "(", "gen_addsi3", "(", "reg1", ",", "reg2", ",", "GEN_INT", "(", "n", ")", ")", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Emit", "rtl", "code", "to", "adjust", "REG", "by", "N", "."], "TS_V_token": ["m68k", "12", "0", "12", "0", "0"], "File": "m68k", "Func": "emit_reg_adjust", "Target": "m68k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3141, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetStreamer", "::", "reset", "(", ")", "{", "}", ""], "natrual_language": ["Reset", "an", "existing", "scalar", "value", "for", "Def", "and", "a", "given", "Instance", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMTargetStreamer (2)1", "Func": "reset", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3142, "Length": 8, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "hasLiveCondCodeDef", "(", "MachineInstr", "*", "MI", ")", "const", "{", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "MI", "->", "getNumOperands", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "i", ")", ";", "if", "(", "MO", ".", "isReg", "(", ")", "&&", "MO", ".", "isDef", "(", ")", "&&", "MO", ".", "getReg", "(", ")", "==", "X86", "::", "EFLAGS", "&&", "!", "MO", ".", "isDead", "(", ")", ")", "{", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["True", "if", "MI", "has", "a", "condition", "code", "def", ",", "e.g", "."], "TS_V_token": ["X86", "X86", "0", "X86::EFLAGS"], "File": "X86InstrInfo (2)2", "Func": "hasLiveCondCodeDef", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3143, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "arc_builtin_decl", "(", "unsigned", "id", ",", "bool", "initialize_p", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "id", "<", "ARC_BUILTIN_COUNT", ")", "return", "arc_bdesc", "[", "id", "]", ".", "fndecl", ";", "return", "error_mark_node", ";", "}", ""], "natrual_language": ["Implement", "`", "TARGET_BUILTIN_DECL", "'", "."], "TS_V_token": ["arc"], "File": "arc", "Func": "arc_builtin_decl", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3144, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCSection", "*", "AMDGPUMCAsmInfo", "::", "getNonexecutableStackSection", "(", "MCContext", "&", "CTX", ")", "const", "{", "return", "0", ";", "}", ""], "natrual_language": ["Targets", "can", "implement", "this", "method", "to", "specify", "a", "section", "to", "switch", "to", "if", "the", "translation", "unit", "does", "n't", "have", "any", "trampolines", "that", "require", "an", "executable", "stack", "."], "TS_V_token": ["R600", "0"], "File": "AMDGPUMCAsmInfo11", "Func": "getNonexecutableStackSection", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3145, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_no_early_alu_shift_value_dep", "(", "rtx", "producer", ",", "rtx", "consumer", ")", "{", "rtx", "value", "=", "PATTERN", "(", "producer", ")", ";", "rtx", "op", "=", "PATTERN", "(", "consumer", ")", ";", "rtx", "early_op", ";", "if", "(", "GET_CODE", "(", "value", ")", "==", "COND_EXEC", ")", "value", "=", "COND_EXEC_CODE", "(", "value", ")", ";", "if", "(", "GET_CODE", "(", "value", ")", "==", "PARALLEL", ")", "value", "=", "XVECEXP", "(", "value", ",", "0", ",", "0", ")", ";", "value", "=", "XEXP", "(", "value", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "COND_EXEC", ")", "op", "=", "COND_EXEC_CODE", "(", "op", ")", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "PARALLEL", ")", "op", "=", "XVECEXP", "(", "op", ",", "0", ",", "0", ")", ";", "op", "=", "XEXP", "(", "op", ",", "1", ")", ";", "early_op", "=", "XEXP", "(", "op", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "early_op", ")", "!=", "REG", ")", "early_op", "=", "XEXP", "(", "early_op", ",", "0", ")", ";", "return", "!", "reg_overlap_mentioned_p", "(", "value", ",", "early_op", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "the", "CONSUMER", "instruction", "(", "an", "ALU", "op", ")", "does", "not", "have", "an", "early", "register", "shift", "value", "dependency", "on", "the", "result", "of", "PRODUCER", "."], "TS_V_token": ["arm", "0", "0", "0", "0", "0", "1", "0", "0"], "File": "arm3", "Func": "arm_no_early_alu_shift_value_dep", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3146, "Length": 156, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PIC16RegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "llvm_unreachable", "(", "\"PIC16 Does not have any frame register\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["PIC16", "PIC16", "\"PIC16 Does not have any frame register\"", "0"], "File": "PIC16RegisterInfo1", "Func": "getFrameRegister", "Target": "PIC16", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3147, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "XCoreInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "const", "DebugLoc", "&", "DL", ",", "MCRegister", "DestReg", ",", "MCRegister", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "bool", "GRDest", "=", "XCore", "::", "GRRegsRegClass", ".", "contains", "(", "DestReg", ")", ";", "bool", "GRSrc", "=", "XCore", "::", "GRRegsRegClass", ".", "contains", "(", "SrcReg", ")", ";", "if", "(", "GRDest", "&&", "GRSrc", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "XCore", "::", "ADD_2rus", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ".", "addImm", "(", "0", ")", ";", "return", ";", "}", "if", "(", "GRDest", "&&", "SrcReg", "==", "XCore", "::", "SP", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "XCore", "::", "LDAWSP_ru6", ")", ",", "DestReg", ")", ".", "addImm", "(", "0", ")", ";", "return", ";", "}", "if", "(", "DestReg", "==", "XCore", "::", "SP", "&&", "GRSrc", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "XCore", "::", "SETSP_1r", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "return", ";", "}", "llvm_unreachable", "(", "\"Impossible reg-to-reg copy\"", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["XCore", "XCore", "XCore::GRRegsRegClass", "XCore::GRRegsRegClass", "XCore::ADD_2rus", "0", "XCore::SP", "XCore::LDAWSP_ru6", "0", "XCore::SP", "XCore::SETSP_1r", "\"Impossible reg-to-reg copy\""], "File": "XCoreInstrInfo18", "Func": "copyPhysReg", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3148, "Length": 180, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "MCInst", "&", "Res", ")", "const", "override", "{", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["Mips"], "File": "MipsAsmBackend1", "Func": "relaxInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3149, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "MipsAsmParser", "::", "tryParseRegister", "(", "StringRef", "Mnemonic", ")", "{", "const", "AsmToken", "&", "Tok", "=", "Parser", ".", "getTok", "(", ")", ";", "int", "RegNum", "=", "-", "1", ";", "if", "(", "Tok", ".", "is", "(", "AsmToken", "::", "Identifier", ")", ")", "{", "std", "::", "string", "lowerCase", "=", "Tok", ".", "getString", "(", ")", ".", "lower", "(", ")", ";", "RegNum", "=", "matchRegisterName", "(", "lowerCase", ")", ";", "}", "else", "if", "(", "Tok", ".", "is", "(", "AsmToken", "::", "Integer", ")", ")", "RegNum", "=", "matchRegisterByNumber", "(", "static_cast", "<", "unsigned", ">", "(", "Tok", ".", "getIntVal", "(", ")", ")", ",", "Mnemonic", ".", "lower", "(", ")", ")", ";", "else", "return", "RegNum", ";", "if", "(", "isMips64", "(", ")", "&&", "RegNum", "==", "Mips", "::", "ZERO_64", ")", "{", "if", "(", "Mnemonic", ".", "find", "(", "\"ddiv\"", ")", "!=", "StringRef", "::", "npos", ")", "RegNum", "=", "Mips", "::", "ZERO", ";", "}", "return", "RegNum", ";", "}", ""], "natrual_language": ["tryParseRegister", "-", "parse", "one", "register", "if", "possible"], "TS_V_token": ["Mips", "Mips", "1", "Mips", "Mips::ZERO_64", "\"ddiv\"", "Mips::ZERO"], "File": "MipsAsmParser41", "Func": "tryParseRegister", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3150, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SHUXIAsmBackend", "::", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "if", "(", "Count", "==", "0", ")", "{", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["SHUXI", "SHUXI", "0"], "File": "SHUXIAsmBackend", "Func": "writeNopData", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3151, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Initialize", "(", "MCContext", "&", "ctx", ",", "const", "TargetMachine", "&", "TM", ")", "override", "{", "TargetLoweringObjectFile", "::", "Initialize", "(", "ctx", ",", "TM", ")", ";", "TextSection", "=", "new", "NVPTXSection", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getText", "(", ")", ")", ";", "DataSection", "=", "new", "NVPTXSection", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getData", "(", ")", ")", ";", "BSSSection", "=", "new", "NVPTXSection", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getBSS", "(", ")", ")", ";", "ReadOnlySection", "=", "new", "NVPTXSection", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getReadOnly", "(", ")", ")", ";", "StaticCtorSection", "=", "new", "NVPTXSection", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "StaticDtorSection", "=", "new", "NVPTXSection", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "LSDASection", "=", "new", "NVPTXSection", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "EHFrameSection", "=", "new", "NVPTXSection", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "DwarfAbbrevSection", "=", "new", "NVPTXSection", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "DwarfInfoSection", "=", "new", "NVPTXSection", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "DwarfLineSection", "=", "new", "NVPTXSection", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "DwarfFrameSection", "=", "new", "NVPTXSection", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "DwarfPubTypesSection", "=", "new", "NVPTXSection", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "DwarfDebugInlineSection", "=", "new", "NVPTXSection", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "DwarfStrSection", "=", "new", "NVPTXSection", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "DwarfLocSection", "=", "new", "NVPTXSection", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "DwarfARangesSection", "=", "new", "NVPTXSection", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "DwarfRangesSection", "=", "new", "NVPTXSection", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "DwarfMacinfoSection", "=", "new", "NVPTXSection", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX"], "File": "NVPTXTargetObjectFile15", "Func": "Initialize", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3152, "Length": 328, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"optimise barriers pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "\"optimise barriers pass\""], "File": "ARMOptimizeBarriersPass15", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3153, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "MipsTargetLowering", "::", "getSetCCResultType", "(", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isVector", "(", ")", ")", "return", "MVT", "::", "i32", ";", "return", "VT", ".", "changeVectorElementTypeToInteger", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["Mips", "Mips", "MVT::i32"], "File": "MipsISelLowering126", "Func": "getSetCCResultType", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3154, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyAddMissingPrototypes", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** Add Missing Prototypes **********\\n\"", ")", ";", "std", "::", "vector", "<", "std", "::", "pair", "<", "Function", "*", ",", "Function", "*", ">>", "Replacements", ";", "for", "(", "Function", "&", "F", ":", "M", ")", "{", "if", "(", "!", "F", ".", "isDeclaration", "(", ")", "||", "!", "F", ".", "hasFnAttribute", "(", "\"no-prototype\"", ")", ")", "continue", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Found no-prototype function: \"", "<<", "F", ".", "getName", "(", ")", "<<", "\"\\n\"", ")", ";", "if", "(", "!", "F", ".", "isVarArg", "(", ")", ")", "report_fatal_error", "(", "\"Functions with 'no-prototype' attribute must take varargs: \"", "+", "F", ".", "getName", "(", ")", ")", ";", "if", "(", "F", ".", "getFunctionType", "(", ")", "->", "getNumParams", "(", ")", "!=", "0", ")", "report_fatal_error", "(", "\"Functions with 'no-prototype' attribute should not have params: \"", "+", "F", ".", "getName", "(", ")", ")", ";", "FunctionType", "*", "NewType", "=", "nullptr", ";", "for", "(", "Use", "&", "U", ":", "F", ".", "uses", "(", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"prototype-less use: \"", "<<", "F", ".", "getName", "(", ")", "<<", "\"\\n\"", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "*", "U", ".", "getUser", "(", ")", "<<", "\"\\n\"", ")", ";", "if", "(", "auto", "*", "BC", "=", "dyn_cast", "<", "BitCastOperator", ">", "(", "U", ".", "getUser", "(", ")", ")", ")", "{", "if", "(", "auto", "*", "DestType", "=", "dyn_cast", "<", "FunctionType", ">", "(", "BC", "->", "getDestTy", "(", ")", "->", "getPointerElementType", "(", ")", ")", ")", "{", "if", "(", "!", "NewType", ")", "{", "NewType", "=", "DestType", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"found function type: \"", "<<", "*", "NewType", "<<", "\"\\n\"", ")", ";", "}", "else", "if", "(", "NewType", "!=", "DestType", ")", "{", "errs", "(", ")", "<<", "\"warning: prototype-less function used with \"", "\"conflicting signatures: \"", "<<", "F", ".", "getName", "(", ")", "<<", "\"\\n\"", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\" \"", "<<", "*", "DestType", "<<", "\"\\n\"", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\" \"", "<<", "*", "NewType", "<<", "\"\\n\"", ")", ";", "}", "}", "}", "}", "if", "(", "!", "NewType", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"could not derive a function prototype from usage: \"", "+", "F", ".", "getName", "(", ")", "+", "\"\\n\"", ")", ";", "NewType", "=", "FunctionType", "::", "get", "(", "F", ".", "getFunctionType", "(", ")", "->", "getReturnType", "(", ")", ",", "false", ")", ";", "}", "Function", "*", "NewF", "=", "Function", "::", "Create", "(", "NewType", ",", "F", ".", "getLinkage", "(", ")", ",", "F", ".", "getName", "(", ")", "+", "\".fixed_sig\"", ")", ";", "NewF", "->", "setAttributes", "(", "F", ".", "getAttributes", "(", ")", ")", ";", "NewF", "->", "removeFnAttr", "(", "\"no-prototype\"", ")", ";", "Replacements", ".", "emplace_back", "(", "&", "F", ",", "NewF", ")", ";", "}", "for", "(", "auto", "&", "Pair", ":", "Replacements", ")", "{", "Function", "*", "OldF", "=", "Pair", ".", "first", ";", "Function", "*", "NewF", "=", "Pair", ".", "second", ";", "std", "::", "string", "Name", "=", "OldF", "->", "getName", "(", ")", ";", "M", ".", "getFunctionList", "(", ")", ".", "push_back", "(", "NewF", ")", ";", "OldF", "->", "replaceAllUsesWith", "(", "ConstantExpr", "::", "getPointerBitCastOrAddrSpaceCast", "(", "NewF", ",", "OldF", "->", "getType", "(", ")", ")", ")", ";", "OldF", "->", "eraseFromParent", "(", ")", ";", "NewF", "->", "setName", "(", "Name", ")", ";", "}", "return", "!", "Replacements", ".", "empty", "(", ")", ";", "}", ""], "natrual_language": ["runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"********** Add Missing Prototypes **********\\n\"", "\"no-prototype\"", "\"Found no-prototype function: \"", "\"\\n\"", "\"Functions with 'no-prototype' attribute must take varargs: \"", "0", "\"Functions with 'no-prototype' attribute should not have params: \"", "\"prototype-less use: \"", "\"\\n\"", "\"\\n\"", "\"found function type: \"", "\"\\n\"", "\"warning: prototype-less function used with \"", "\"conflicting signatures: \"", "\"\\n\"", "\" \"", "\"\\n\"", "\" \"", "\"\\n\"", "\"could not derive a function prototype from usage: \"", "\"\\n\"", "\".fixed_sig\"", "\"no-prototype\""], "File": "WebAssemblyAddMissingPrototypes12", "Func": "runOnModule", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3155, "Length": 484, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "arm_handle_isr_attribute", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", "args", ",", "int", "flags", ",", "bool", "*", "no_add_attrs", ")", "{", "if", "(", "DECL_P", "(", "*", "node", ")", ")", "{", "if", "(", "TREE_CODE", "(", "*", "node", ")", "!=", "FUNCTION_DECL", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qE attribute only applies to functions\"", ",", "name", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "else", "if", "(", "TARGET_VFP_BASE", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"FP registers might be clobbered despite %qE attribute: compile with %<-mgeneral-regs-only%>\"", ",", "name", ")", ";", "}", "}", "else", "{", "if", "(", "TREE_CODE", "(", "*", "node", ")", "==", "FUNCTION_TYPE", "||", "TREE_CODE", "(", "*", "node", ")", "==", "METHOD_TYPE", ")", "{", "if", "(", "arm_isr_value", "(", "args", ")", "==", "ARM_FT_UNKNOWN", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qE attribute ignored\"", ",", "name", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "}", "else", "if", "(", "TREE_CODE", "(", "*", "node", ")", "==", "POINTER_TYPE", "&&", "(", "TREE_CODE", "(", "TREE_TYPE", "(", "*", "node", ")", ")", "==", "FUNCTION_TYPE", "||", "TREE_CODE", "(", "TREE_TYPE", "(", "*", "node", ")", ")", "==", "METHOD_TYPE", ")", "&&", "arm_isr_value", "(", "args", ")", "!=", "ARM_FT_UNKNOWN", ")", "{", "*", "node", "=", "build_variant_type_copy", "(", "*", "node", ")", ";", "TREE_TYPE", "(", "*", "node", ")", "=", "build_type_attribute_variant", "(", "TREE_TYPE", "(", "*", "node", ")", ",", "tree_cons", "(", "name", ",", "args", ",", "TYPE_ATTRIBUTES", "(", "TREE_TYPE", "(", "*", "node", ")", ")", ")", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "else", "{", "if", "(", "flags", "&", "(", "(", "int", ")", "ATTR_FLAG_DECL_NEXT", "|", "(", "int", ")", "ATTR_FLAG_FUNCTION_NEXT", "|", "(", "int", ")", "ATTR_FLAG_ARRAY_NEXT", ")", ")", "{", "*", "no_add_attrs", "=", "true", ";", "return", "tree_cons", "(", "name", ",", "args", ",", "NULL_TREE", ")", ";", "}", "else", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qE attribute ignored\"", ",", "name", ")", ";", "}", "}", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Handle", "an", "``", "interrupt", "''", "or", "``", "isr", "''", "attribute", ";", "arguments", "as", "in", "struct", "attribute_spec.handler", "."], "TS_V_token": ["arm", "\"%qE attribute only applies to functions\"", "\"FP registers might be clobbered despite %qE attribute: compile with %<-mgeneral-regs-only%>\"", "\"%qE attribute ignored\"", "\"%qE attribute ignored\""], "File": "arm", "Func": "arm_handle_isr_attribute", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3156, "Length": 268, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "avr_2word_insn_p", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "TARGET_SKIP_BUG", "||", "!", "insn", "||", "2", "!=", "get_attr_length", "(", "insn", ")", ")", "{", "return", "false", ";", "}", "switch", "(", "INSN_CODE", "(", "insn", ")", ")", "{", "default", ":", "return", "false", ";", "case", "CODE_FOR_movqi_insn", ":", "case", "CODE_FOR_movuqq_insn", ":", "case", "CODE_FOR_movqq_insn", ":", "{", "rtx", "set", "=", "single_set", "(", "insn", ")", ";", "rtx", "src", "=", "SET_SRC", "(", "set", ")", ";", "rtx", "dest", "=", "SET_DEST", "(", "set", ")", ";", "if", "(", "MEM_P", "(", "dest", ")", "&&", "(", "REG_P", "(", "src", ")", "||", "src", "==", "CONST0_RTX", "(", "GET_MODE", "(", "dest", ")", ")", ")", ")", "{", "return", "CONSTANT_ADDRESS_P", "(", "XEXP", "(", "dest", ",", "0", ")", ")", ";", "}", "else", "if", "(", "REG_P", "(", "dest", ")", "&&", "MEM_P", "(", "src", ")", ")", "{", "return", "CONSTANT_ADDRESS_P", "(", "XEXP", "(", "src", ",", "0", ")", ")", ";", "}", "return", "false", ";", "}", "case", "CODE_FOR_call_insn", ":", "case", "CODE_FOR_call_value_insn", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Helper", "for", "jump_over_one_insn_p", ":", "Test", "if", "INSN", "is", "a", "2-word", "instruction", "and", "thus", "is", "suitable", "to", "be", "skipped", "by", "CPSE", ",", "SBRC", ",", "etc", "."], "TS_V_token": ["avr", "2", "0", "0"], "File": "avr4", "Func": "avr_2word_insn_p", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3157, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isTailCall", "(", "const", "MachineInstr", "&", "Inst", ")", "const", "{", "switch", "(", "Inst", ".", "getOpcode", "(", ")", ")", "{", "case", "AArch64", "::", "TCRETURNdi", ":", "case", "AArch64", "::", "TCRETURNri", ":", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Determines", "whether", "Inst", "is", "a", "tail", "call", "instruction", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::TCRETURNdi", "AArch64::TCRETURNri"], "File": "AArch64InstrInfo127", "Func": "isTailCall", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3158, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonInstrInfo", "::", "analyzeCompare", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "&", "SrcReg", ",", "unsigned", "&", "SrcReg2", ",", "int", "&", "Mask", ",", "int", "&", "Value", ")", "const", "{", "unsigned", "Opc", "=", "MI", "->", "getOpcode", "(", ")", ";", "switch", "(", "Opc", ")", "{", "case", "Hexagon", "::", "C2_cmpeq", ":", "case", "Hexagon", "::", "C2_cmpeqp", ":", "case", "Hexagon", "::", "C2_cmpgt", ":", "case", "Hexagon", "::", "C2_cmpgtp", ":", "case", "Hexagon", "::", "C2_cmpgtu", ":", "case", "Hexagon", "::", "C2_cmpgtup", ":", "case", "Hexagon", "::", "C4_cmpneq", ":", "case", "Hexagon", "::", "C4_cmplte", ":", "case", "Hexagon", "::", "C4_cmplteu", ":", "case", "Hexagon", "::", "C2_cmpeqi", ":", "case", "Hexagon", "::", "C2_cmpgti", ":", "case", "Hexagon", "::", "C2_cmpgtui", ":", "case", "Hexagon", "::", "C4_cmpneqi", ":", "case", "Hexagon", "::", "C4_cmplteui", ":", "case", "Hexagon", "::", "C4_cmpltei", ":", "SrcReg", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "Mask", "=", "~", "0", ";", "break", ";", "case", "Hexagon", "::", "A4_cmpbeq", ":", "case", "Hexagon", "::", "A4_cmpbgt", ":", "case", "Hexagon", "::", "A4_cmpbgtu", ":", "case", "Hexagon", "::", "A4_cmpbeqi", ":", "case", "Hexagon", "::", "A4_cmpbgti", ":", "case", "Hexagon", "::", "A4_cmpbgtui", ":", "SrcReg", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "Mask", "=", "0xFF", ";", "break", ";", "case", "Hexagon", "::", "A4_cmpheq", ":", "case", "Hexagon", "::", "A4_cmphgt", ":", "case", "Hexagon", "::", "A4_cmphgtu", ":", "case", "Hexagon", "::", "A4_cmpheqi", ":", "case", "Hexagon", "::", "A4_cmphgti", ":", "case", "Hexagon", "::", "A4_cmphgtui", ":", "SrcReg", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "Mask", "=", "0xFFFF", ";", "break", ";", "}", "switch", "(", "Opc", ")", "{", "case", "Hexagon", "::", "C2_cmpeq", ":", "case", "Hexagon", "::", "C2_cmpeqp", ":", "case", "Hexagon", "::", "C2_cmpgt", ":", "case", "Hexagon", "::", "C2_cmpgtp", ":", "case", "Hexagon", "::", "C2_cmpgtu", ":", "case", "Hexagon", "::", "C2_cmpgtup", ":", "case", "Hexagon", "::", "A4_cmpbeq", ":", "case", "Hexagon", "::", "A4_cmpbgt", ":", "case", "Hexagon", "::", "A4_cmpbgtu", ":", "case", "Hexagon", "::", "A4_cmpheq", ":", "case", "Hexagon", "::", "A4_cmphgt", ":", "case", "Hexagon", "::", "A4_cmphgtu", ":", "case", "Hexagon", "::", "C4_cmpneq", ":", "case", "Hexagon", "::", "C4_cmplte", ":", "case", "Hexagon", "::", "C4_cmplteu", ":", "SrcReg2", "=", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ";", "return", "true", ";", "case", "Hexagon", "::", "C2_cmpeqi", ":", "case", "Hexagon", "::", "C2_cmpgtui", ":", "case", "Hexagon", "::", "C2_cmpgti", ":", "case", "Hexagon", "::", "C4_cmpneqi", ":", "case", "Hexagon", "::", "C4_cmplteui", ":", "case", "Hexagon", "::", "C4_cmpltei", ":", "case", "Hexagon", "::", "A4_cmpbeqi", ":", "case", "Hexagon", "::", "A4_cmpbgti", ":", "case", "Hexagon", "::", "A4_cmpbgtui", ":", "case", "Hexagon", "::", "A4_cmpheqi", ":", "case", "Hexagon", "::", "A4_cmphgti", ":", "case", "Hexagon", "::", "A4_cmphgtui", ":", "SrcReg2", "=", "0", ";", "Value", "=", "MI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["analyzeCompare", "-", "For", "a", "comparison", "instruction", ",", "return", "the", "source", "registers", "in", "SrcReg", "and", "SrcReg2", "if", "having", "two", "register", "operands", ",", "and", "the", "value", "it", "compares", "against", "in", "CmpValue", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon::C2_cmpeq", "Hexagon::C2_cmpeqp", "Hexagon::C2_cmpgt", "Hexagon::C2_cmpgtp", "Hexagon::C2_cmpgtu", "Hexagon::C2_cmpgtup", "Hexagon::C4_cmpneq", "Hexagon::C4_cmplte", "Hexagon::C4_cmplteu", "Hexagon::C2_cmpeqi", "Hexagon::C2_cmpgti", "Hexagon::C2_cmpgtui", "Hexagon::C4_cmpneqi", "Hexagon::C4_cmplteui", "Hexagon::C4_cmpltei", "1", "0", "Hexagon::A4_cmpbeq", "Hexagon::A4_cmpbgt", "Hexagon::A4_cmpbgtu", "Hexagon::A4_cmpbeqi", "Hexagon::A4_cmpbgti", "Hexagon::A4_cmpbgtui", "1", "0xFF", "Hexagon::A4_cmpheq", "Hexagon::A4_cmphgt", "Hexagon::A4_cmphgtu", "Hexagon::A4_cmpheqi", "Hexagon::A4_cmphgti", "Hexagon::A4_cmphgtui", "1", "0xFFFF", "Hexagon::C2_cmpeq", "Hexagon::C2_cmpeqp", "Hexagon::C2_cmpgt", "Hexagon::C2_cmpgtp", "Hexagon::C2_cmpgtu", "Hexagon::C2_cmpgtup", "Hexagon::A4_cmpbeq", "Hexagon::A4_cmpbgt", "Hexagon::A4_cmpbgtu", "Hexagon::A4_cmpheq", "Hexagon::A4_cmphgt", "Hexagon::A4_cmphgtu", "Hexagon::C4_cmpneq", "Hexagon::C4_cmplte", "Hexagon::C4_cmplteu", "2", "Hexagon::C2_cmpeqi", "Hexagon::C2_cmpgtui", "Hexagon::C2_cmpgti", "Hexagon::C4_cmpneqi", "Hexagon::C4_cmplteui", "Hexagon::C4_cmpltei", "Hexagon::A4_cmpbeqi", "Hexagon::A4_cmpbgti", "Hexagon::A4_cmpbgtui", "Hexagon::A4_cmpheqi", "Hexagon::A4_cmphgti", "Hexagon::A4_cmphgtui", "0", "2"], "File": "HexagonInstrInfo", "Func": "analyzeCompare", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3159, "Length": 417, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_can_use_return_insn_p", "(", "void", ")", "{", "if", "(", "ix86_function_ms_hook_prologue", "(", "current_function_decl", ")", ")", "return", "false", ";", "if", "(", "ix86_function_naked", "(", "current_function_decl", ")", ")", "return", "false", ";", "if", "(", "!", "reload_completed", "||", "frame_pointer_needed", "||", "cfun", "->", "machine", "->", "func_type", "!=", "TYPE_NORMAL", ")", "return", "0", ";", "if", "(", "crtl", "->", "args", ".", "pops_args", "&&", "crtl", "->", "args", ".", "size", ">=", "32768", ")", "return", "0", ";", "struct", "ix86_frame", "&", "frame", "=", "cfun", "->", "machine", "->", "frame", ";", "return", "(", "frame", ".", "stack_pointer_offset", "==", "UNITS_PER_WORD", "&&", "(", "frame", ".", "nregs", "+", "frame", ".", "nsseregs", ")", "==", "0", ")", ";", "}", ""], "natrual_language": ["Return", "1", "if", "it", "is", "appropriate", "to", "emit", "`", "ret", "'", "instructions", "in", "the", "body", "of", "a", "function", ".", "Do", "this", "only", "if", "the", "epilogue", "is", "simple", ",", "needing", "a", "couple", "of", "insns", ".", "Prior", "to", "reloading", ",", "we", "ca", "n't", "tell", "how", "many", "registers", "must", "be", "saved", ",", "so", "return", "0", "then", ".", "Return", "0", "if", "there", "is", "no", "frame", "marker", "to", "de-allocate", "."], "TS_V_token": ["i386", "0", "32768", "0", "0"], "File": "i386", "Func": "ix86_can_use_return_insn_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3160, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "evaluateBranch", "(", "const", "MCInst", "&", "Inst", ",", "uint64_t", "Addr", ",", "uint64_t", "Size", ",", "uint64_t", "&", "Target", ")", "const", "override", "{", "if", "(", "isConditionalBranch", "(", "Inst", ")", "||", "isUnconditionalBranch", "(", "Inst", ")", ")", "{", "int64_t", "Imm", ";", "Imm", "=", "Inst", ".", "getOperand", "(", "Inst", ".", "getNumOperands", "(", ")", "-", "1", ")", ".", "getImm", "(", ")", ";", "Target", "=", "Addr", "+", "Imm", ";", "return", "true", ";", "}", "if", "(", "Inst", ".", "getOpcode", "(", ")", "==", "CSKY", "::", "BSR32", ")", "{", "Target", "=", "Addr", "+", "Inst", ".", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "return", "true", ";", "}", "switch", "(", "Inst", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "CSKY", "::", "LRW16", ":", "case", "CSKY", "::", "LRW32", ":", "case", "CSKY", "::", "JSRI32", ":", "case", "CSKY", "::", "JMPI32", ":", "int64_t", "Imm", "=", "Inst", ".", "getOperand", "(", "Inst", ".", "getNumOperands", "(", ")", "-", "1", ")", ".", "getImm", "(", ")", ";", "Target", "=", "(", "(", "Addr", "+", "Imm", ")", "&", "0xFFFFFFFC", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Given", "a", "branch", "instruction", "try", "to", "get", "the", "address", "the", "branch", "targets", "."], "TS_V_token": ["CSKY", "1", "CSKY::BSR32", "0", "CSKY::LRW16", "CSKY::LRW32", "CSKY::JSRI32", "CSKY::JMPI32", "1", "0xFFFFFFFC"], "File": "CSKYMCTargetDesc", "Func": "evaluateBranch", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3161, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isShiftedMask", "(", "uint64_t", "Mask", ",", "EVT", "VT", ")", "{", "assert", "(", "VT", "==", "MVT", "::", "i32", "||", "VT", "==", "MVT", "::", "i64", ")", ";", "if", "(", "VT", "==", "MVT", "::", "i32", ")", "return", "isShiftedMask_32", "(", "Mask", ")", ";", "return", "isShiftedMask_64", "(", "Mask", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "APInt", "value", "contains", "a", "non-empty", "sequence", "of", "ones", "with", "the", "remainder", "zero", "."], "TS_V_token": ["AArch64", "MVT::i32", "MVT::i64", "MVT::i32"], "File": "AArch64ISelDAGToDAG (2)2", "Func": "isShiftedMask", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3162, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "assignValueToAddress", "(", "unsigned", "ValVReg", ",", "unsigned", "Addr", ",", "uint64_t", "Size", ",", "MachinePointerInfo", "&", "MPO", ",", "CCValAssign", "&", "VA", ")", "override", "{", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "LocInfo", "::", "AExt", ")", "{", "Size", "=", "VA", ".", "getLocVT", "(", ")", ".", "getSizeInBits", "(", ")", "/", "8", ";", "ValVReg", "=", "MIRBuilder", ".", "buildAnyExt", "(", "LLT", "::", "scalar", "(", "Size", "*", "8", ")", ",", "ValVReg", ")", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "}", "auto", "MMO", "=", "MIRBuilder", ".", "getMF", "(", ")", ".", "getMachineMemOperand", "(", "MPO", ",", "MachineMemOperand", "::", "MOStore", ",", "Size", ",", "0", ")", ";", "MIRBuilder", ".", "buildStore", "(", "ValVReg", ",", "Addr", ",", "*", "MMO", ")", ";", "}", ""], "natrual_language": ["An", "overload", "which", "takes", "an", "ArgInfo", "if", "additional", "information", "about", "the", "arg", "is", "needed", "."], "TS_V_token": ["AArch64", "8", "8", "0", "0"], "File": "AArch64CallLowering", "Func": "assignValueToAddress", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3163, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "explicit", "AMDGPULibFunc", "(", ")", ":", "Impl", "(", "std", "::", "unique_ptr", "<", "AMDGPULibFuncImpl", ">", "(", ")", ")", "{", "}", ""], "natrual_language": ["Construct", "an", "unmangled", "library", "function", "on", "the", "fly", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU"], "File": "AMDGPULibFunc (2)", "Func": "AMDGPULibFunc", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3164, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "attr_length_millicode_call", "(", "rtx", "insn", ")", "{", "unsigned", "long", "distance", "=", "-", "1", ";", "unsigned", "long", "total", "=", "IN_NAMED_SECTION_P", "(", "cfun", "->", "decl", ")", "?", "0", ":", "total_code_bytes", ";", "if", "(", "INSN_ADDRESSES_SET_P", "(", ")", ")", "{", "distance", "=", "(", "total", "+", "insn_current_reference_address", "(", "insn", ")", ")", ";", "if", "(", "distance", "<", "total", ")", "distance", "=", "-", "1", ";", "}", "if", "(", "TARGET_64BIT", ")", "{", "if", "(", "!", "TARGET_LONG_CALLS", "&&", "distance", "<", "7600000", ")", "return", "8", ";", "return", "20", ";", "}", "else", "if", "(", "TARGET_PORTABLE_RUNTIME", ")", "return", "24", ";", "else", "{", "if", "(", "!", "TARGET_LONG_CALLS", "&&", "distance", "<", "240000", ")", "return", "8", ";", "if", "(", "TARGET_LONG_ABS_CALL", "&&", "!", "flag_pic", ")", "return", "12", ";", "return", "24", ";", "}", "}", ""], "natrual_language": ["Return", "the", "attribute", "length", "for", "the", "millicode", "call", "instruction", "INSN", ".", "The", "length", "must", "match", "the", "code", "generated", "by", "output_millicode_call", ".", "We", "include", "the", "delay", "slot", "in", "the", "returned", "length", "as", "it", "is", "better", "to", "over", "estimate", "the", "length", "than", "to", "under", "estimate", "it", "."], "TS_V_token": ["pa", "1", "0", "1", "7600000", "8", "20", "24", "240000", "8", "12", "24"], "File": "pa3", "Func": "attr_length_millicode_call", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3165, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "do_overlap_load_compare", "(", "machine_mode", "load_mode", ",", "bool", "isConst", ",", "HOST_WIDE_INT", "bytes_rem", ",", "rtx", "diff", ",", "rtx", "cmp_rem", ",", "rtx", "dcond", ",", "rtx", "src1_addr", ",", "rtx", "src2_addr", ",", "rtx", "orig_src1", ",", "rtx", "orig_src2", ")", "{", "HOST_WIDE_INT", "load_mode_size", "=", "GET_MODE_SIZE", "(", "load_mode", ")", ";", "HOST_WIDE_INT", "addr_adj", "=", "load_mode_size", "-", "bytes_rem", ";", "rtx", "d1", "=", "gen_reg_rtx", "(", "word_mode", ")", ";", "rtx", "d2", "=", "gen_reg_rtx", "(", "word_mode", ")", ";", "rtx", "addr1", ",", "addr2", ";", "if", "(", "!", "isConst", "||", "addr_adj", ")", "{", "rtx", "adj_reg", "=", "gen_reg_rtx", "(", "word_mode", ")", ";", "if", "(", "isConst", ")", "emit_move_insn", "(", "adj_reg", ",", "GEN_INT", "(", "-", "addr_adj", ")", ")", ";", "else", "{", "rtx", "reg_lms", "=", "gen_reg_rtx", "(", "word_mode", ")", ";", "emit_move_insn", "(", "reg_lms", ",", "GEN_INT", "(", "load_mode_size", ")", ")", ";", "do_sub3", "(", "adj_reg", ",", "cmp_rem", ",", "reg_lms", ")", ";", "}", "addr1", "=", "gen_rtx_PLUS", "(", "word_mode", ",", "src1_addr", ",", "adj_reg", ")", ";", "addr2", "=", "gen_rtx_PLUS", "(", "word_mode", ",", "src2_addr", ",", "adj_reg", ")", ";", "}", "else", "{", "addr1", "=", "src1_addr", ";", "addr2", "=", "src2_addr", ";", "}", "do_load_for_compare_from_addr", "(", "load_mode", ",", "d1", ",", "addr1", ",", "orig_src1", ")", ";", "do_load_for_compare_from_addr", "(", "load_mode", ",", "d2", ",", "addr2", ",", "orig_src2", ")", ";", "if", "(", "TARGET_P9_MISC", ")", "{", "rtx", "cmp", "=", "gen_rtx_COMPARE", "(", "CCUNSmode", ",", "d1", ",", "d2", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dcond", ",", "cmp", ")", ")", ";", "}", "else", "{", "if", "(", "word_mode", "==", "DImode", ")", "emit_insn", "(", "gen_subfdi3_carry", "(", "diff", ",", "d2", ",", "d1", ")", ")", ";", "else", "emit_insn", "(", "gen_subfsi3_carry", "(", "diff", ",", "d2", ",", "d1", ")", ")", ";", "}", "}", ""], "natrual_language": ["Generate", "rtl", "for", "an", "overlapping", "load", "and", "compare", "of", "less", "than", "a", "full", "load_mode", ".", "This", "assumes", "that", "the", "previous", "word", "is", "part", "of", "the", "block", "being", "compared", "so", "it", "'s", "ok", "to", "back", "up", "part", "of", "a", "word", "so", "we", "can", "compare", "the", "last", "unaligned", "full", "word", "that", "ends", "at", "the", "end", "of", "the", "block", ".", "LOAD_MODE", "is", "the", "machine", "mode", "for", "the", "loads", ".", "ISCONST", "tells", "whether", "the", "remaining", "length", "is", "a", "constant", "or", "in", "a", "register", ".", "BYTES_REM", "is", "the", "remaining", "length", "if", "ISCONST", "is", "true", ".", "DIFF", "is", "the", "reg", "for", "the", "difference", ".", "CMP_REM", "is", "the", "reg", "containing", "the", "remaining", "bytes", "to", "compare", "if", "!", "ISCONST", ".", "DCOND", "is", "the", "CCUNS", "reg", "for", "the", "compare", "if", "we", "are", "doing", "P9", "code", "with", "setb", ".", "SRC1_ADDR", "is", "the", "first", "source", "address", ".", "SRC2_ADDR", "is", "the", "second", "source", "address", ".", "ORIG_SRC1", "is", "the", "original", "first", "source", "block", "'s", "address", "rtx", ".", "ORIG_SRC2", "is", "the", "original", "second", "source", "block", "'s", "address", "rtx", "."], "TS_V_token": ["rs6000"], "File": "rs6000-string", "Func": "do_overlap_load_compare", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3166, "Length": 251, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "X86TargetLowering", "::", "getRegisterByName", "(", "const", "char", "*", "RegName", ",", "EVT", "VT", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "&", "TFI", "=", "*", "Subtarget", ".", "getFrameLowering", "(", ")", ";", "Register", "Reg", "=", "StringSwitch", "<", "unsigned", ">", "(", "RegName", ")", ".", "Case", "(", "\"esp\"", ",", "X86", "::", "ESP", ")", ".", "Case", "(", "\"rsp\"", ",", "X86", "::", "RSP", ")", ".", "Case", "(", "\"ebp\"", ",", "X86", "::", "EBP", ")", ".", "Case", "(", "\"rbp\"", ",", "X86", "::", "RBP", ")", ".", "Default", "(", "0", ")", ";", "if", "(", "Reg", "==", "X86", "::", "EBP", "||", "Reg", "==", "X86", "::", "RBP", ")", "{", "if", "(", "!", "TFI", ".", "hasFP", "(", "MF", ")", ")", "report_fatal_error", "(", "\"register \"", "+", "StringRef", "(", "RegName", ")", "+", "\" is allocatable: function has no frame pointer\"", ")", ";", "else", "{", "const", "X86RegisterInfo", "*", "RegInfo", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "Register", "FrameReg", "=", "RegInfo", "->", "getPtrSizedFrameRegister", "(", "MF", ")", ";", "assert", "(", "(", "FrameReg", "==", "X86", "::", "EBP", "||", "FrameReg", "==", "X86", "::", "RBP", ")", "&&", "\"Invalid Frame Register!\"", ")", ";", "}", "}", "if", "(", "Reg", ")", "return", "Reg", ";", "report_fatal_error", "(", "\"Invalid register name global variable\"", ")", ";", "}", ""], "natrual_language": ["Return", "the", "register", "ID", "of", "the", "name", "passed", "in", "."], "TS_V_token": ["X86", "X86", "\"esp\"", "X86::ESP", "\"rsp\"", "X86::RSP", "\"ebp\"", "X86::EBP", "\"rbp\"", "X86::RBP", "0", "X86::EBP", "X86::RBP", "\"register \"", "\" is allocatable: function has no frame pointer\"", "X86", "X86::EBP", "X86::RBP", "\"Invalid Frame Register!\"", "\"Invalid register name global variable\""], "File": "X86ISelLowering (2)6", "Func": "getRegisterByName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3167, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "hard_regs_intersect_p", "(", "HARD_REG_SET", "*", "a", ",", "HARD_REG_SET", "*", "b", ")", "{", "HARD_REG_SET", "c", ";", "COPY_HARD_REG_SET", "(", "c", ",", "*", "a", ")", ";", "AND_HARD_REG_SET", "(", "c", ",", "*", "b", ")", ";", "GO_IF_HARD_REG_SUBSET", "(", "c", ",", "reg_class_contents", "[", "(", "int", ")", "NO_REGS", "]", ",", "lose", ")", ";", "return", "1", ";", "lose", ":", "return", "0", ";", "}", ""], "natrual_language": ["Determine", "if", "two", "hard", "register", "sets", "intersect", ".", "Return", "1", "if", "they", "do", "."], "TS_V_token": ["sh", "1", "0"], "File": "sh3", "Func": "hard_regs_intersect_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3168, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "AU", ".", "addRequired", "<", "MachineModuleInfoWrapperPass", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineModuleInfoWrapperPass", ">", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AArch64"], "File": "AArch64SLSHardening", "Func": "getAnalysisUsage", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3169, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LEGFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "LEG", "::", "ADJCALLSTACKUP", "||", "I", "->", "getOpcode", "(", ")", "==", "LEG", "::", "ADJCALLSTACKDOWN", ")", "{", "MBB", ".", "erase", "(", "I", ")", ";", "}", "return", ";", "}", ""], "natrual_language": ["This", "method", "is", "called", "during", "prolog/epilog", "code", "insertion", "to", "eliminate", "call", "frame", "setup", "and", "destroy", "pseudo", "instructions", "(", "but", "only", "if", "the", "Target", "is", "using", "them", ")", "."], "TS_V_token": ["LEG", "LEG", "LEG::ADJCALLSTACKUP", "LEG::ADJCALLSTACKDOWN"], "File": "LEGFrameLowering1", "Func": "eliminateCallFramePseudoInstr", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3170, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CSKYAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["CSKY", "CSKY"], "File": "CSKYAsmParser", "Func": "ParseDirective", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3171, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "VEDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "SDLoc", "dl", "(", "N", ")", ";", "if", "(", "N", "->", "isMachineOpcode", "(", ")", ")", "{", "N", "->", "setNodeId", "(", "-", "1", ")", ";", "return", ";", "}", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "case", "VEISD", "::", "LEGALAVL", ":", "ReplaceNode", "(", "N", ",", "N", "->", "getOperand", "(", "0", ")", ".", "getNode", "(", ")", ")", ";", "return", ";", "case", "VEISD", "::", "VEC_BROADCAST", ":", "{", "MVT", "SplatResTy", "=", "N", "->", "getSimpleValueType", "(", "0", ")", ";", "if", "(", "SplatResTy", ".", "getVectorElementType", "(", ")", "!=", "MVT", "::", "i1", ")", "break", ";", "auto", "BConst", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "N", "->", "getOperand", "(", "0", ")", ")", ";", "if", "(", "!", "BConst", ")", "break", ";", "bool", "BCTrueMask", "=", "(", "BConst", "->", "getSExtValue", "(", ")", "!=", "0", ")", ";", "if", "(", "!", "BCTrueMask", ")", "break", ";", "SDValue", "New", ";", "if", "(", "SplatResTy", ".", "getVectorNumElements", "(", ")", "==", "StandardVectorWidth", ")", "{", "New", "=", "CurDAG", "->", "getCopyFromReg", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "SDLoc", "(", "N", ")", ",", "VE", "::", "VM0", ",", "MVT", "::", "v256i1", ")", ";", "}", "else", "if", "(", "SplatResTy", ".", "getVectorNumElements", "(", ")", "==", "PackedVectorWidth", ")", "{", "New", "=", "CurDAG", "->", "getCopyFromReg", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "SDLoc", "(", "N", ")", ",", "VE", "::", "VMP0", ",", "MVT", "::", "v512i1", ")", ";", "}", "else", "break", ";", "ReplaceNode", "(", "N", ",", "New", ".", "getNode", "(", ")", ")", ";", "return", ";", "}", "case", "VEISD", "::", "GLOBAL_BASE_REG", ":", "ReplaceNode", "(", "N", ",", "getGlobalBaseReg", "(", ")", ")", ";", "return", ";", "}", "SelectCode", "(", "N", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["VE", "VE", "1", "VEISD::LEGALAVL", "0", "VEISD::VEC_BROADCAST", "0", "MVT::i1", "0", "0", "VE::VM0", "MVT::v256i1", "VE::VMP0", "MVT::v512i1", "VEISD::GLOBAL_BASE_REG"], "File": "VEISelDAGToDAG2", "Func": "Select", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3172, "Length": 261, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_reg_live_or_pic_offset_p", "(", "int", "reg", ")", "{", "if", "(", "reg", "==", "RS6000_PIC_OFFSET_TABLE_REGNUM", "&&", "!", "TARGET_SINGLE_PIC_BASE", ")", "{", "if", "(", "TARGET_TOC", "&&", "TARGET_MINIMAL_TOC", "&&", "(", "crtl", "->", "calls_eh_return", "||", "df_regs_ever_live_p", "(", "reg", ")", "||", "!", "constant_pool_empty_p", "(", ")", ")", ")", "return", "true", ";", "if", "(", "(", "DEFAULT_ABI", "==", "ABI_V4", "||", "DEFAULT_ABI", "==", "ABI_DARWIN", ")", "&&", "flag_pic", ")", "return", "true", ";", "}", "return", "(", "(", "crtl", "->", "calls_eh_return", "||", "df_regs_ever_live_p", "(", "reg", ")", ")", "&&", "!", "call_used_regs", "[", "reg", "]", ")", ";", "}", ""], "natrual_language": ["Determine", "whether", "the", "gp", "REG", "is", "really", "used", "."], "TS_V_token": ["rs6000"], "File": "rs60006", "Func": "rs6000_reg_live_or_pic_offset_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3173, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "StringRef", "getPassName", "(", ")", "const", "{", "return", "StringRef", "(", "\"SHUXI Assembly Printer\"", ")", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["SHUXI", "\"SHUXI Assembly Printer\""], "File": "SHUXIAsmPrinter", "Func": "getPassName", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3174, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "any_set_in_bb_p", "(", "hash_set", "<", "set_info", "*", ">", "sets", ",", "const", "bb_info", "*", "bb", ")", "{", "for", "(", "const", "set_info", "*", "set", ":", "sets", ")", "if", "(", "set", "->", "bb", "(", ")", "->", "index", "(", ")", "==", "bb", "->", "index", "(", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "there", "is", "an", "INSN", "in", "insns", "staying", "in", "the", "block", "BB", "."], "TS_V_token": ["riscv"], "File": "riscv-vsetvl", "Func": "any_set_in_bb_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3175, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "s390_trampoline_template", "(", "FILE", "*", "file", ")", "{", "rtx", "op", "[", "2", "]", ";", "op", "[", "0", "]", "=", "gen_rtx_REG", "(", "Pmode", ",", "0", ")", ";", "op", "[", "1", "]", "=", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ";", "if", "(", "TARGET_64BIT", ")", "{", "output_asm_insn", "(", "\"basr\\t%1,0\"", ",", "op", ")", ";", "output_asm_insn", "(", "\"lmg\\t%0,%1,14(%1)\"", ",", "op", ")", ";", "output_asm_insn", "(", "\"br\\t%1\"", ",", "op", ")", ";", "ASM_OUTPUT_SKIP", "(", "file", ",", "(", "HOST_WIDE_INT", ")", "(", "TRAMPOLINE_SIZE", "-", "10", ")", ")", ";", "}", "else", "{", "output_asm_insn", "(", "\"basr\\t%1,0\"", ",", "op", ")", ";", "output_asm_insn", "(", "\"lm\\t%0,%1,6(%1)\"", ",", "op", ")", ";", "output_asm_insn", "(", "\"br\\t%1\"", ",", "op", ")", ";", "ASM_OUTPUT_SKIP", "(", "file", ",", "(", "HOST_WIDE_INT", ")", "(", "TRAMPOLINE_SIZE", "-", "8", ")", ")", ";", "}", "}", ""], "natrual_language": ["Output", "assembly", "code", "for", "the", "trampoline", "template", "to", "stdio", "stream", "FILE", ".", "On", "S/390", ",", "we", "use", "gpr", "1", "internally", "in", "the", "trampoline", "code", ";", "gpr", "0", "is", "used", "to", "hold", "the", "static", "chain", "."], "TS_V_token": ["s390", "2", "0", "0", "1", "1", "\"basr\\t%1,0\"", "\"lmg\\t%0,%1,14(%1)\"", "\"br\\t%1\"", "10", "\"basr\\t%1,0\"", "\"lm\\t%0,%1,6(%1)\"", "\"br\\t%1\"", "8"], "File": "s3903", "Func": "s390_trampoline_template", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3176, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "DataLayout", "*", "getDataLayout", "(", ")", "const", "{", "return", "&", "DL", ";", "}", ""], "natrual_language": ["Return", "the", "DataLayout", "associated", "with", "the", "module", "this", "SCEV", "instance", "is", "operating", "on", "."], "TS_V_token": ["Tile64"], "File": "Tile64TargetMachine", "Func": "getDataLayout", "Target": "Tile64", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 3177, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIRegisterInfo", "::", "resolveFrameIndex", "(", "MachineInstr", "&", "MI", ",", "unsigned", "BaseReg", ",", "int64_t", "Offset", ")", "const", "{", "MachineBasicBlock", "*", "MBB", "=", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "*", "MF", "=", "MBB", "->", "getParent", "(", ")", ";", "const", "SISubtarget", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "SISubtarget", ">", "(", ")", ";", "const", "SIInstrInfo", "*", "TII", "=", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "bool", "SeenFI", "=", "false", ";", "for", "(", "const", "MachineOperand", "&", "MO", ":", "MI", ".", "operands", "(", ")", ")", "{", "if", "(", "MO", ".", "isFI", "(", ")", ")", "{", "if", "(", "SeenFI", ")", "llvm_unreachable", "(", "\"should not see multiple frame indices\"", ")", ";", "SeenFI", "=", "true", ";", "}", "}", "MachineOperand", "*", "FIOp", "=", "TII", "->", "getNamedOperand", "(", "MI", ",", "AMDGPU", "::", "OpName", "::", "vaddr", ")", ";", "assert", "(", "FIOp", "&&", "FIOp", "->", "isFI", "(", ")", "&&", "\"frame index must be address operand\"", ")", ";", "assert", "(", "TII", "->", "isMUBUF", "(", "MI", ")", ")", ";", "MachineOperand", "*", "OffsetOp", "=", "TII", "->", "getNamedOperand", "(", "MI", ",", "AMDGPU", "::", "OpName", "::", "offset", ")", ";", "int64_t", "NewOffset", "=", "OffsetOp", "->", "getImm", "(", ")", "+", "Offset", ";", "if", "(", "isUInt", "<", "12", ">", "(", "NewOffset", ")", ")", "{", "FIOp", "->", "ChangeToRegister", "(", "BaseReg", ",", "false", ")", ";", "OffsetOp", "->", "setImm", "(", "NewOffset", ")", ";", "return", ";", "}", "MachineRegisterInfo", "&", "MRI", "=", "MF", "->", "getRegInfo", "(", ")", ";", "unsigned", "NewReg", "=", "MRI", ".", "createVirtualRegister", "(", "&", "AMDGPU", "::", "VGPR_32RegClass", ")", ";", "DebugLoc", "DL", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "assert", "(", "Offset", "!=", "0", "&&", "\"Non-zero offset expected\"", ")", ";", "unsigned", "UnusedCarry", "=", "MRI", ".", "createVirtualRegister", "(", "&", "AMDGPU", "::", "SReg_64RegClass", ")", ";", "unsigned", "OffsetReg", "=", "MRI", ".", "createVirtualRegister", "(", "&", "AMDGPU", "::", "SReg_32RegClass", ")", ";", "BuildMI", "(", "*", "MBB", ",", "MI", ",", "DL", ",", "TII", "->", "get", "(", "AMDGPU", "::", "S_MOV_B32", ")", ",", "OffsetReg", ")", ".", "addImm", "(", "Offset", ")", ";", "BuildMI", "(", "*", "MBB", ",", "MI", ",", "DL", ",", "TII", "->", "get", "(", "AMDGPU", "::", "V_ADD_I32_e64", ")", ",", "NewReg", ")", ".", "addReg", "(", "UnusedCarry", ",", "RegState", "::", "Define", "|", "RegState", "::", "Dead", ")", ".", "addReg", "(", "OffsetReg", ",", "RegState", "::", "Kill", ")", ".", "addReg", "(", "BaseReg", ")", ";", "FIOp", "->", "ChangeToRegister", "(", "NewReg", ",", "false", ")", ";", "}", ""], "natrual_language": ["Resolve", "a", "frame", "index", "operand", "of", "an", "instruction", "to", "reference", "the", "indicated", "base", "register", "plus", "offset", "instead", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "SI", "\"should not see multiple frame indices\"", "AMDGPU::OpName", "\"frame index must be address operand\"", "AMDGPU::OpName", "12", "AMDGPU::VGPR_32RegClass", "0", "\"Non-zero offset expected\"", "AMDGPU::SReg_64RegClass", "AMDGPU::SReg_32RegClass", "AMDGPU::S_MOV_B32", "AMDGPU::V_ADD_I32_e64"], "File": "SIRegisterInfo118", "Func": "resolveFrameIndex", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3178, "Length": 354, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "R600TargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "const", "SDLoc", "&", "DL", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "SmallVector", "<", "ISD", "::", "InputArg", ",", "8", ">", "LocalIns", ";", "if", "(", "AMDGPU", "::", "isShader", "(", "CallConv", ")", ")", "{", "CCInfo", ".", "AnalyzeFormalArguments", "(", "Ins", ",", "CCAssignFnForCall", "(", "CallConv", ",", "isVarArg", ")", ")", ";", "}", "else", "{", "analyzeFormalArgumentsCompute", "(", "CCInfo", ",", "Ins", ")", ";", "}", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "Ins", ".", "size", "(", ")", ";", "i", "<", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "ArgLocs", "[", "i", "]", ";", "const", "ISD", "::", "InputArg", "&", "In", "=", "Ins", "[", "i", "]", ";", "EVT", "VT", "=", "In", ".", "VT", ";", "EVT", "MemVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "if", "(", "!", "VT", ".", "isVector", "(", ")", "&&", "MemVT", ".", "isVector", "(", ")", ")", "{", "MemVT", "=", "MemVT", ".", "getVectorElementType", "(", ")", ";", "}", "if", "(", "AMDGPU", "::", "isShader", "(", "CallConv", ")", ")", "{", "unsigned", "Reg", "=", "MF", ".", "addLiveIn", "(", "VA", ".", "getLocReg", "(", ")", ",", "&", "R600", "::", "R600_Reg128RegClass", ")", ";", "SDValue", "Register", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "DL", ",", "Reg", ",", "VT", ")", ";", "InVals", ".", "push_back", "(", "Register", ")", ";", "continue", ";", "}", "PointerType", "*", "PtrTy", "=", "PointerType", "::", "get", "(", "VT", ".", "getTypeForEVT", "(", "*", "DAG", ".", "getContext", "(", ")", ")", ",", "AMDGPUASI", ".", "CONSTANT_BUFFER_0", ")", ";", "ISD", "::", "LoadExtType", "Ext", "=", "ISD", "::", "NON_EXTLOAD", ";", "if", "(", "MemVT", ".", "getScalarSizeInBits", "(", ")", "!=", "VT", ".", "getScalarSizeInBits", "(", ")", ")", "{", "Ext", "=", "ISD", "::", "SEXTLOAD", ";", "}", "unsigned", "ValBase", "=", "ArgLocs", "[", "In", ".", "getOrigArgIndex", "(", ")", "]", ".", "getLocMemOffset", "(", ")", ";", "unsigned", "PartOffset", "=", "VA", ".", "getLocMemOffset", "(", ")", ";", "unsigned", "Offset", "=", "Subtarget", "->", "getExplicitKernelArgOffset", "(", "MF", ")", "+", "VA", ".", "getLocMemOffset", "(", ")", ";", "MachinePointerInfo", "PtrInfo", "(", "UndefValue", "::", "get", "(", "PtrTy", ")", ",", "PartOffset", "-", "ValBase", ")", ";", "SDValue", "Arg", "=", "DAG", ".", "getLoad", "(", "ISD", "::", "UNINDEXED", ",", "Ext", ",", "VT", ",", "DL", ",", "Chain", ",", "DAG", ".", "getConstant", "(", "Offset", ",", "DL", ",", "MVT", "::", "i32", ")", ",", "DAG", ".", "getUNDEF", "(", "MVT", "::", "i32", ")", ",", "PtrInfo", ",", "MemVT", ",", "4", ",", "MachineMemOperand", "::", "MONonTemporal", "|", "MachineMemOperand", "::", "MODereferenceable", "|", "MachineMemOperand", "::", "MOInvariant", ")", ";", "InVals", ".", "push_back", "(", "Arg", ")", ";", "}", "return", "Chain", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "the", "Ins", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["AMDGPU", "R600", "ISD::InputArg", "16", "ISD::InputArg", "8", "AMDGPU::isShader", "0", "ISD::InputArg", "AMDGPU::isShader", "R600::R600_Reg128RegClass", "SI", "ISD::LoadExtType", "ISD::NON_EXTLOAD", "ISD::SEXTLOAD", "ISD::UNINDEXED", "MVT::i32", "MVT::i32", "4"], "File": "R600ISelLowering66", "Func": "LowerFormalArguments", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3179, "Length": 454, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MSP430FrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "assert", "(", "&", "MF", ".", "front", "(", ")", "==", "&", "MBB", "&&", "\"Shrink-wrapping not yet supported\"", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MSP430MachineFunctionInfo", "*", "MSP430FI", "=", "MF", ".", "getInfo", "<", "MSP430MachineFunctionInfo", ">", "(", ")", ";", "const", "MSP430InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "MSP430InstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "DL", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "uint64_t", "NumBytes", "=", "0", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "uint64_t", "FrameSize", "=", "StackSize", "-", "2", ";", "NumBytes", "=", "FrameSize", "-", "MSP430FI", "->", "getCalleeSavedFrameSize", "(", ")", ";", "MFI", ".", "setOffsetAdjustment", "(", "-", "NumBytes", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "MSP430", "::", "PUSH16r", ")", ")", ".", "addReg", "(", "MSP430", "::", "R4", ",", "RegState", "::", "Kill", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "MSP430", "::", "MOV16rr", ")", ",", "MSP430", "::", "R4", ")", ".", "addReg", "(", "MSP430", "::", "SP", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "I", "=", "std", "::", "next", "(", "MF", ".", "begin", "(", ")", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "I", "->", "addLiveIn", "(", "MSP430", "::", "R4", ")", ";", "}", "else", "NumBytes", "=", "StackSize", "-", "MSP430FI", "->", "getCalleeSavedFrameSize", "(", ")", ";", "while", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", "&&", "(", "MBBI", "->", "getOpcode", "(", ")", "==", "MSP430", "::", "PUSH16r", ")", ")", "++", "MBBI", ";", "if", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "NumBytes", ")", "{", "if", "(", "NumBytes", ")", "{", "MachineInstr", "*", "MI", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "MSP430", "::", "SUB16ri", ")", ",", "MSP430", "::", "SP", ")", ".", "addReg", "(", "MSP430", "::", "SP", ")", ".", "addImm", "(", "NumBytes", ")", ";", "MI", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "}", "}", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["MSP430", "MSP430", "\"Shrink-wrapping not yet supported\"", "MSP430", "MSP430", "MSP430", "MSP430", "MSP430", "0", "2", "MSP430", "MSP430::PUSH16r", "MSP430::R4", "MSP430::MOV16rr", "MSP430::R4", "MSP430::SP", "MSP430::R4", "MSP430", "MSP430::PUSH16r", "MSP430::SUB16ri", "MSP430::SP", "MSP430::SP", "3"], "File": "MSP430FrameLowering15", "Func": "emitPrologue", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3180, "Length": 373, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "safe_vector_operand", "(", "rtx", "x", ",", "machine_mode", "mode", ")", "{", "if", "(", "x", "!=", "const0_rtx", ")", "return", "x", ";", "x", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_movsi", "(", "x", ",", "CONST0_RTX", "(", "SImode", ")", ")", ")", ";", "return", "gen_lowpart", "(", "mode", ",", "x", ")", ";", "}", ""], "natrual_language": ["Errors", "in", "the", "source", "file", "can", "cause", "expand_expr", "to", "return", "const0_rtx", "where", "we", "expect", "a", "vector", ".", "To", "avoid", "crashing", ",", "use", "one", "of", "the", "vector", "clear", "instructions", "."], "TS_V_token": ["c6x"], "File": "c6x", "Func": "safe_vector_operand", "Target": "c6x", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 3181, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "reset", "(", ")", "{", "TentativelyCommuting", "=", "false", ";", "Declined", "=", "false", ";", "}", ""], "natrual_language": ["Reset", "an", "existing", "scalar", "value", "for", "Def", "and", "a", "given", "Instance", "."], "TS_V_token": ["WebAssembly"], "File": "WebAssemblyRegStackify13", "Func": "reset", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3182, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "aarch64_simd_gen_const_vector_dup", "(", "machine_mode", "mode", ",", "HOST_WIDE_INT", "val", ")", "{", "int", "nunits", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "rtvec", "v", "=", "rtvec_alloc", "(", "nunits", ")", ";", "int", "i", ";", "rtx", "cache", "=", "GEN_INT", "(", "val", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "nunits", ";", "i", "++", ")", "RTVEC_ELT", "(", "v", ",", "i", ")", "=", "cache", ";", "return", "gen_rtx_CONST_VECTOR", "(", "mode", ",", "v", ")", ";", "}", ""], "natrual_language": ["Return", "a", "const_int", "vector", "of", "VAL", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch644", "Func": "aarch64_simd_gen_const_vector_dup", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3183, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SystemZSelectionDAGInfo", "::", "EmitTargetCodeForMemcpy", "(", "SelectionDAG", "&", "DAG", ",", "SDLoc", "DL", ",", "SDValue", "Chain", ",", "SDValue", "Dst", ",", "SDValue", "Src", ",", "SDValue", "Size", ",", "unsigned", "Align", ",", "bool", "IsVolatile", ",", "bool", "AlwaysInline", ",", "MachinePointerInfo", "DstPtrInfo", ",", "MachinePointerInfo", "SrcPtrInfo", ")", "const", "{", "if", "(", "IsVolatile", ")", "return", "SDValue", "(", ")", ";", "if", "(", "ConstantSDNode", "*", "CSize", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Size", ")", ")", "{", "uint64_t", "Bytes", "=", "CSize", "->", "getZExtValue", "(", ")", ";", "if", "(", "Bytes", ">=", "1", "&&", "Bytes", "<=", "0x100", ")", "{", "return", "DAG", ".", "getNode", "(", "SystemZISD", "::", "MVC", ",", "DL", ",", "MVT", "::", "Other", ",", "Chain", ",", "Dst", ",", "Src", ",", "Size", ")", ";", "}", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memcpy", "."], "TS_V_token": ["SystemZ", "SystemZ", "1", "0x100", "SystemZISD::MVC", "MVT::Other"], "File": "SystemZSelectionDAGInfo7", "Func": "EmitTargetCodeForMemcpy", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3184, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_split_move_p", "(", "rtx", "dest", ",", "rtx", "src", ",", "enum", "mips_split_type", "split_type", ")", "{", "if", "(", "mips_mult_move_p", "(", "dest", ",", "src", ",", "split_type", ")", ")", "return", "false", ";", "unsigned", "int", "size", "=", "GET_MODE_SIZE", "(", "GET_MODE", "(", "dest", ")", ")", ";", "if", "(", "size", "==", "8", "&&", "FP_REG_RTX_P", "(", "src", ")", "&&", "FP_REG_RTX_P", "(", "dest", ")", ")", "return", "false", ";", "if", "(", "size", "==", "8", "&&", "ISA_HAS_LDC1_SDC1", ")", "{", "if", "(", "FP_REG_RTX_P", "(", "dest", ")", "&&", "MEM_P", "(", "src", ")", ")", "return", "false", ";", "if", "(", "FP_REG_RTX_P", "(", "src", ")", "&&", "MEM_P", "(", "dest", ")", ")", "return", "false", ";", "}", "if", "(", "MSA_SUPPORTED_MODE_P", "(", "GET_MODE", "(", "dest", ")", ")", ")", "return", "mips_split_128bit_move_p", "(", "dest", ",", "src", ")", ";", "return", "size", ">", "UNITS_PER_WORD", ";", "}", ""], "natrual_language": ["Return", "true", "if", "a", "move", "from", "SRC", "to", "DEST", "should", "be", "split", "into", "two", ".", "SPLIT_TYPE", "describes", "the", "split", "condition", "."], "TS_V_token": ["mips", "8", "8"], "File": "mips", "Func": "mips_split_move_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3185, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "error", "(", "const", "StringRef", "&", "Msg", ",", "const", "AsmToken", "&", "Tok", ")", "{", "return", "Parser", ".", "Error", "(", "Tok", ".", "getLoc", "(", ")", ",", "Msg", "+", "Tok", ".", "getString", "(", ")", ")", ";", "}", ""], "natrual_language": ["Convenience", "method", "for", "printing", "``", "error", ":", "``", "to", "the", "given", "stream", "."], "TS_V_token": ["WebAssembly"], "File": "WebAssemblyAsmParser1", "Func": "error", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3186, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsResolved", ",", "const", "MCSubtargetInfo", "*", "STI", ")", "const", "override", "{", "}", ""], "natrual_language": ["Apply", "the", "Value", "for", "given", "Fixup", "into", "the", "provided", "data", "fragment", ",", "at", "the", "offset", "specified", "by", "the", "fixup", "and", "following", "the", "fixup", "kind", "as", "appropriate", "."], "TS_V_token": ["SPIRV"], "File": "SPIRVAsmBackend", "Func": "applyFixup", "Target": "SPIRV", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3187, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "RISCVMCExpr", "::", "getVariantKindName", "(", "VariantKind", "Kind", ")", "{", "switch", "(", "Kind", ")", "{", "case", "VK_RISCV_Invalid", ":", "case", "VK_RISCV_None", ":", "llvm_unreachable", "(", "\"Invalid ELF symbol kind\"", ")", ";", "case", "VK_RISCV_LO", ":", "return", "\"lo\"", ";", "case", "VK_RISCV_HI", ":", "return", "\"hi\"", ";", "case", "VK_RISCV_PCREL_LO", ":", "return", "\"pcrel_lo\"", ";", "case", "VK_RISCV_PCREL_HI", ":", "return", "\"pcrel_hi\"", ";", "case", "VK_RISCV_GOT_HI", ":", "return", "\"got_pcrel_hi\"", ";", "case", "VK_RISCV_TPREL_LO", ":", "return", "\"tprel_lo\"", ";", "case", "VK_RISCV_TPREL_HI", ":", "return", "\"tprel_hi\"", ";", "case", "VK_RISCV_TPREL_ADD", ":", "return", "\"tprel_add\"", ";", "case", "VK_RISCV_TLS_GOT_HI", ":", "return", "\"tls_ie_pcrel_hi\"", ";", "case", "VK_RISCV_TLS_GD_HI", ":", "return", "\"tls_gd_pcrel_hi\"", ";", "case", "VK_RISCV_CAPTAB_PCREL_HI", ":", "return", "\"captab_pcrel_hi\"", ";", "case", "VK_RISCV_TPREL_CINCOFFSET", ":", "return", "\"tprel_cincoffset\"", ";", "case", "VK_RISCV_TLS_IE_CAPTAB_PCREL_HI", ":", "return", "\"tls_ie_captab_pcrel_hi\"", ";", "case", "VK_RISCV_TLS_GD_CAPTAB_PCREL_HI", ":", "return", "\"tls_gd_captab_pcrel_hi\"", ";", "case", "VK_RISCV_CALL", ":", "return", "\"call\"", ";", "case", "VK_RISCV_CALL_PLT", ":", "return", "\"call_plt\"", ";", "case", "VK_RISCV_CCALL", ":", "return", "\"ccall\"", ";", "case", "VK_RISCV_32_PCREL", ":", "return", "\"32_pcrel\"", ";", "}", "llvm_unreachable", "(", "\"Invalid ELF symbol kind\"", ")", ";", "}", ""], "natrual_language": ["Convert", "the", "variant", "kind", "into", "an", "ELF-appropriate", "modifier", "(", "e.g", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "RISCV", "\"Invalid ELF symbol kind\"", "RISCV", "\"lo\"", "RISCV", "\"hi\"", "RISCV", "\"pcrel_lo\"", "RISCV", "\"pcrel_hi\"", "RISCV", "\"got_pcrel_hi\"", "RISCV", "\"tprel_lo\"", "RISCV", "\"tprel_hi\"", "RISCV", "\"tprel_add\"", "RISCV", "\"tls_ie_pcrel_hi\"", "RISCV", "\"tls_gd_pcrel_hi\"", "RISCV", "\"captab_pcrel_hi\"", "RISCV", "\"tprel_cincoffset\"", "RISCV", "\"tls_ie_captab_pcrel_hi\"", "RISCV", "\"tls_gd_captab_pcrel_hi\"", "RISCV", "\"call\"", "RISCV", "\"call_plt\"", "RISCV", "\"ccall\"", "RISCV", "\"32_pcrel\"", "\"Invalid ELF symbol kind\""], "File": "RISCVMCExpr12", "Func": "getVariantKindName", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3188, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MSP430RegisterInfo", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "if", "(", "!", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "MachineInstr", "*", "Old", "=", "I", ";", "uint64_t", "Amount", "=", "Old", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "Amount", "!=", "0", ")", "{", "Amount", "=", "(", "Amount", "+", "StackAlign", "-", "1", ")", "/", "StackAlign", "*", "StackAlign", ";", "MachineInstr", "*", "New", "=", "0", ";", "if", "(", "Old", "->", "getOpcode", "(", ")", "==", "getCallFrameSetupOpcode", "(", ")", ")", "{", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "MSP430", "::", "SUB16ri", ")", ",", "MSP430", "::", "SPW", ")", ".", "addReg", "(", "MSP430", "::", "SPW", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Old", "->", "getOpcode", "(", ")", "==", "getCallFrameDestroyOpcode", "(", ")", ")", ";", "uint64_t", "CalleeAmt", "=", "Old", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "Amount", "-=", "CalleeAmt", ";", "if", "(", "Amount", ")", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "MSP430", "::", "ADD16ri", ")", ",", "MSP430", "::", "SPW", ")", ".", "addReg", "(", "MSP430", "::", "SPW", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "if", "(", "New", ")", "{", "New", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "MBB", ".", "insert", "(", "I", ",", "New", ")", ";", "}", "}", "}", "else", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "getCallFrameDestroyOpcode", "(", ")", ")", "{", "if", "(", "uint64_t", "CalleeAmt", "=", "I", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ")", "{", "MachineInstr", "*", "Old", "=", "I", ";", "MachineInstr", "*", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "MSP430", "::", "SUB16ri", ")", ",", "MSP430", "::", "SPW", ")", ".", "addReg", "(", "MSP430", "::", "SPW", ")", ".", "addImm", "(", "CalleeAmt", ")", ";", "New", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "MBB", ".", "insert", "(", "I", ",", "New", ")", ";", "}", "}", "MBB", ".", "erase", "(", "I", ")", ";", "}", ""], "natrual_language": ["This", "method", "is", "called", "during", "prolog/epilog", "code", "insertion", "to", "eliminate", "call", "frame", "setup", "and", "destroy", "pseudo", "instructions", "(", "but", "only", "if", "the", "Target", "is", "using", "them", ")", "."], "TS_V_token": ["MSP430", "MSP430", "0", "0", "1", "0", "MSP430::SUB16ri", "MSP430::SPW", "MSP430::SPW", "1", "MSP430::ADD16ri", "MSP430::SPW", "MSP430::SPW", "3", "1", "MSP430::SUB16ri", "MSP430::SPW", "MSP430::SPW", "3"], "File": "MSP430RegisterInfo10", "Func": "eliminateCallFramePseudoInstr", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3189, "Length": 339, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"X86 AT&T-Style Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 AT&T-Style Assembly Printer\""], "File": "X86AsmPrinter1", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3190, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "VideoCore4TargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "NULL", ";", "case", "VideoCore4ISD", "::", "RET_FLAG", ":", "return", "\"VideoCore4ISD::RET_FLAG\"", ";", "case", "VideoCore4ISD", "::", "CALL", ":", "return", "\"VideoCore4ISD::CALL\"", ";", "case", "VideoCore4ISD", "::", "GLOBAL", ":", "return", "\"VideoCore4ISD::GLOBAL\"", ";", "case", "VideoCore4ISD", "::", "BR_JT", ":", "return", "\"VideoCore4ISD::BR_JT\"", ";", "}", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["VideoCore4", "VideoCore4", "VideoCore4ISD::RET_FLAG", "\"VideoCore4ISD::RET_FLAG\"", "VideoCore4ISD::CALL", "\"VideoCore4ISD::CALL\"", "VideoCore4ISD::GLOBAL", "\"VideoCore4ISD::GLOBAL\"", "VideoCore4ISD::BR_JT", "\"VideoCore4ISD::BR_JT\""], "File": "VideoCore4ISelLowering", "Func": "getTargetNodeName", "Target": "VideoCore4", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3191, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "PatmosRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "(", "const", "PatmosRegisterInfo", "*", ")", "&", "InstrInfo", "->", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["Patmos", "Patmos", "Patmos"], "File": "PatmosSubtarget1", "Func": "getRegisterInfo", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 3192, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MipsTargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InFlag", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC_Mips", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ",", "RVLocs", "[", "i", "]", ".", "getValVT", "(", ")", ",", "InFlag", ")", ".", "getValue", "(", "1", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "2", ")", ";", "InVals", ".", "push_back", "(", "Chain", ".", "getValue", "(", "0", ")", ")", ";", "}", "return", "Chain", ";", "}", ""], "natrual_language": ["LowerCallResult", "-", "Lower", "the", "result", "values", "of", "an", "ISD", ":", ":CALL", "into", "the", "appropriate", "copies", "out", "of", "appropriate", "physical", "registers", "."], "TS_V_token": ["Mips", "Mips", "ISD::InputArg", "16", "Mips", "0", "1", "2", "0"], "File": "MipsISelLowering32", "Func": "LowerCallResult", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3193, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "MCAsmParser", "&", "Parser", "=", "getParser", "(", ")", ";", "StringRef", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ";", "if", "(", "IDVal", ".", "startswith", "(", "\".code\"", ")", ")", "return", "ParseDirectiveCode", "(", "IDVal", ",", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", ".", "startswith", "(", "\".att_syntax\"", ")", ")", "{", "getParser", "(", ")", ".", "setParsingInlineAsm", "(", "false", ")", ";", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "if", "(", "Parser", ".", "getTok", "(", ")", ".", "getString", "(", ")", "==", "\"prefix\"", ")", "Parser", ".", "Lex", "(", ")", ";", "else", "if", "(", "Parser", ".", "getTok", "(", ")", ".", "getString", "(", ")", "==", "\"noprefix\"", ")", "return", "Error", "(", "DirectiveID", ".", "getLoc", "(", ")", ",", "\"'.att_syntax noprefix' is not \"", "\"supported: registers must have a \"", "\"'%' prefix in .att_syntax\"", ")", ";", "}", "getParser", "(", ")", ".", "setAssemblerDialect", "(", "0", ")", ";", "return", "false", ";", "}", "else", "if", "(", "IDVal", ".", "startswith", "(", "\".intel_syntax\"", ")", ")", "{", "getParser", "(", ")", ".", "setAssemblerDialect", "(", "1", ")", ";", "getParser", "(", ")", ".", "setParsingInlineAsm", "(", "true", ")", ";", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "{", "if", "(", "Parser", ".", "getTok", "(", ")", ".", "getString", "(", ")", "==", "\"noprefix\"", ")", "Parser", ".", "Lex", "(", ")", ";", "else", "if", "(", "Parser", ".", "getTok", "(", ")", ".", "getString", "(", ")", "==", "\"prefix\"", ")", "return", "Error", "(", "DirectiveID", ".", "getLoc", "(", ")", ",", "\"'.intel_syntax prefix' is not \"", "\"supported: registers must not have \"", "\"a '%' prefix in .intel_syntax\"", ")", ";", "}", "return", "false", ";", "}", "else", "if", "(", "IDVal", "==", "\".even\"", ")", "return", "parseDirectiveEven", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".cv_fpo_proc\"", ")", "return", "parseDirectiveFPOProc", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".cv_fpo_setframe\"", ")", "return", "parseDirectiveFPOSetFrame", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".cv_fpo_pushreg\"", ")", "return", "parseDirectiveFPOPushReg", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".cv_fpo_stackalloc\"", ")", "return", "parseDirectiveFPOStackAlloc", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".cv_fpo_endprologue\"", ")", "return", "parseDirectiveFPOEndPrologue", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "else", "if", "(", "IDVal", "==", "\".cv_fpo_endproc\"", ")", "return", "parseDirectiveFPOEndProc", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["X86", "X86", "\".code\"", "\".att_syntax\"", "\"prefix\"", "\"noprefix\"", "\"'.att_syntax noprefix' is not \"", "\"supported: registers must have a \"", "\"'%' prefix in .att_syntax\"", "0", "\".intel_syntax\"", "1", "\"noprefix\"", "\"prefix\"", "\"'.intel_syntax prefix' is not \"", "\"supported: registers must not have \"", "\"a '%' prefix in .intel_syntax\"", "\".even\"", "\".cv_fpo_proc\"", "\".cv_fpo_setframe\"", "\".cv_fpo_pushreg\"", "\".cv_fpo_stackalloc\"", "\".cv_fpo_endprologue\"", "\".cv_fpo_endproc\""], "File": "X86AsmParser107", "Func": "ParseDirective", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3194, "Length": 364, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "c6x_issue_rate", "(", "void", ")", "{", "return", "8", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_SCHED_ISSUE_RATE", "hook", "."], "TS_V_token": ["c6x", "8"], "File": "c6x", "Func": "c6x_issue_rate", "Target": "c6x", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 3195, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "BT", "::", "run", "(", ")", "{", "reset", "(", ")", ";", "assert", "(", "FlowQ", ".", "empty", "(", ")", ")", ";", "typedef", "GraphTraits", "<", "const", "MachineFunction", "*", ">", "MachineFlowGraphTraits", ";", "const", "MachineBasicBlock", "*", "Entry", "=", "MachineFlowGraphTraits", "::", "getEntryNode", "(", "&", "MF", ")", ";", "unsigned", "MaxBN", "=", "0", ";", "for", "(", "MachineFunction", "::", "const_iterator", "I", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "assert", "(", "I", "->", "getNumber", "(", ")", ">=", "0", "&&", "\"Disconnected block\"", ")", ";", "unsigned", "BN", "=", "I", "->", "getNumber", "(", ")", ";", "if", "(", "BN", ">", "MaxBN", ")", "MaxBN", "=", "BN", ";", "}", "BitVector", "BlockScanned", "(", "MaxBN", "+", "1", ")", ";", "int", "EntryN", "=", "Entry", "->", "getNumber", "(", ")", ";", "FlowQ", ".", "push", "(", "CFGEdge", "(", "-", "1", ",", "EntryN", ")", ")", ";", "while", "(", "!", "FlowQ", ".", "empty", "(", ")", ")", "{", "CFGEdge", "Edge", "=", "FlowQ", ".", "front", "(", ")", ";", "FlowQ", ".", "pop", "(", ")", ";", "if", "(", "EdgeExec", ".", "count", "(", "Edge", ")", ")", "continue", ";", "EdgeExec", ".", "insert", "(", "Edge", ")", ";", "ReachedBB", ".", "insert", "(", "Edge", ".", "second", ")", ";", "const", "MachineBasicBlock", "&", "B", "=", "*", "MF", ".", "getBlockNumbered", "(", "Edge", ".", "second", ")", ";", "MachineBasicBlock", "::", "const_iterator", "It", "=", "B", ".", "begin", "(", ")", ",", "End", "=", "B", ".", "end", "(", ")", ";", "while", "(", "It", "!=", "End", "&&", "It", "->", "isPHI", "(", ")", ")", "{", "const", "MachineInstr", "&", "PI", "=", "*", "It", "++", ";", "InstrExec", ".", "insert", "(", "&", "PI", ")", ";", "visitPHI", "(", "PI", ")", ";", "}", "if", "(", "BlockScanned", "[", "Edge", ".", "second", "]", ")", "continue", ";", "BlockScanned", "[", "Edge", ".", "second", "]", "=", "true", ";", "while", "(", "It", "!=", "End", "&&", "!", "It", "->", "isBranch", "(", ")", ")", "{", "const", "MachineInstr", "&", "MI", "=", "*", "It", "++", ";", "InstrExec", ".", "insert", "(", "&", "MI", ")", ";", "visitNonBranch", "(", "MI", ")", ";", "}", "if", "(", "It", "==", "End", ")", "{", "MachineFunction", "::", "const_iterator", "BIt", "=", "B", ".", "getIterator", "(", ")", ";", "MachineFunction", "::", "const_iterator", "Next", "=", "std", "::", "next", "(", "BIt", ")", ";", "if", "(", "Next", "!=", "MF", ".", "end", "(", ")", "&&", "B", ".", "isSuccessor", "(", "&", "*", "Next", ")", ")", "{", "int", "ThisN", "=", "B", ".", "getNumber", "(", ")", ";", "int", "NextN", "=", "Next", "->", "getNumber", "(", ")", ";", "FlowQ", ".", "push", "(", "CFGEdge", "(", "ThisN", ",", "NextN", ")", ")", ";", "}", "}", "else", "{", "visitBranchesFrom", "(", "*", "It", ")", ";", "}", "}", "if", "(", "Trace", ")", "print_cells", "(", "dbgs", "(", ")", "<<", "\"Cells after propagation:\\n\"", ")", ";", "}", ""], "natrual_language": ["Run", "the", "analysis", "pass", "over", "a", "function", "and", "produce", "a", "dominator", "tree", "."], "TS_V_token": ["Hexagon", "0", "0", "\"Disconnected block\"", "1", "1", "\"Cells after propagation:\\n\""], "File": "BitTracker20", "Func": "run", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3196, "Length": 424, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVTargetStreamer", "::", "emitTargetAttributes", "(", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureRV32E", ")", ")", "emitAttribute", "(", "RISCVAttrs", "::", "STACK_ALIGN", ",", "RISCVAttrs", "::", "ALIGN_4", ")", ";", "else", "emitAttribute", "(", "RISCVAttrs", "::", "STACK_ALIGN", ",", "RISCVAttrs", "::", "ALIGN_16", ")", ";", "std", "::", "string", "Arch", "=", "\"rv32\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "Feature64Bit", ")", ")", "Arch", "=", "\"rv64\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureRV32E", ")", ")", "Arch", "+=", "\"e1p9\"", ";", "else", "Arch", "+=", "\"i2p0\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureStdExtM", ")", ")", "Arch", "+=", "\"_m2p0\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureStdExtA", ")", ")", "Arch", "+=", "\"_a2p0\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureStdExtF", ")", ")", "Arch", "+=", "\"_f2p0\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureStdExtD", ")", ")", "Arch", "+=", "\"_d2p0\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureStdExtC", ")", ")", "Arch", "+=", "\"_c2p0\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureStdExtV", ")", ")", "Arch", "+=", "\"_v0p10\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureStdExtZfh", ")", ")", "Arch", "+=", "\"_zfh0p1\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureStdExtZba", ")", ")", "Arch", "+=", "\"_zba0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureStdExtZbb", ")", ")", "Arch", "+=", "\"_zbb0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureStdExtZbc", ")", ")", "Arch", "+=", "\"_zbc0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureStdExtZbe", ")", ")", "Arch", "+=", "\"_zbe0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureStdExtZbf", ")", ")", "Arch", "+=", "\"_zbf0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureStdExtZbm", ")", ")", "Arch", "+=", "\"_zbm0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureStdExtZbp", ")", ")", "Arch", "+=", "\"_zbp0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureStdExtZbr", ")", ")", "Arch", "+=", "\"_zbr0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureStdExtZbs", ")", ")", "Arch", "+=", "\"_zbs0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureStdExtZbt", ")", ")", "Arch", "+=", "\"_zbt0p93\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureStdExtZvamo", ")", ")", "Arch", "+=", "\"_zvamo0p10\"", ";", "if", "(", "STI", ".", "hasFeature", "(", "RISCV", "::", "FeatureStdExtZvlsseg", ")", ")", "Arch", "+=", "\"_zvlsseg0p10\"", ";", "emitTextAttribute", "(", "RISCVAttrs", "::", "ARCH", ",", "Arch", ")", ";", "}", ""], "natrual_language": ["Emit", "the", "build", "attributes", "that", "only", "depend", "on", "the", "hardware", "that", "we", "expect", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::FeatureRV32E", "RISCVAttrs::STACK_ALIGN", "RISCVAttrs::ALIGN_4", "RISCVAttrs::STACK_ALIGN", "RISCVAttrs::ALIGN_16", "\"rv32\"", "RISCV::Feature64Bit", "\"rv64\"", "RISCV::FeatureRV32E", "\"e1p9\"", "\"i2p0\"", "RISCV::FeatureStdExtM", "\"_m2p0\"", "RISCV::FeatureStdExtA", "\"_a2p0\"", "RISCV::FeatureStdExtF", "\"_f2p0\"", "RISCV::FeatureStdExtD", "\"_d2p0\"", "RISCV::FeatureStdExtC", "\"_c2p0\"", "RISCV::FeatureStdExtV", "\"_v0p10\"", "RISCV::FeatureStdExtZfh", "\"_zfh0p1\"", "RISCV::FeatureStdExtZba", "\"_zba0p93\"", "RISCV::FeatureStdExtZbb", "\"_zbb0p93\"", "RISCV::FeatureStdExtZbc", "\"_zbc0p93\"", "RISCV::FeatureStdExtZbe", "\"_zbe0p93\"", "RISCV::FeatureStdExtZbf", "\"_zbf0p93\"", "RISCV::FeatureStdExtZbm", "\"_zbm0p93\"", "RISCV::FeatureStdExtZbp", "\"_zbp0p93\"", "RISCV::FeatureStdExtZbr", "\"_zbr0p93\"", "RISCV::FeatureStdExtZbs", "\"_zbs0p93\"", "RISCV::FeatureStdExtZbt", "\"_zbt0p93\"", "RISCV::FeatureStdExtZvamo", "\"_zvamo0p10\"", "RISCV::FeatureStdExtZvlsseg", "\"_zvlsseg0p10\"", "RISCVAttrs::ARCH"], "File": "RISCVTargetStreamer18", "Func": "emitTargetAttributes", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3197, "Length": 382, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "X86Subtarget", "*", "X86TargetMachine", "::", "getSubtargetImpl", "(", "const", "Function", "&", "F", ")", "const", "{", "Attribute", "CPUAttr", "=", "F", ".", "getFnAttribute", "(", "\"target-cpu\"", ")", ";", "Attribute", "FSAttr", "=", "F", ".", "getFnAttribute", "(", "\"target-features\"", ")", ";", "std", "::", "string", "CPU", "=", "!", "CPUAttr", ".", "hasAttribute", "(", "Attribute", "::", "None", ")", "?", "CPUAttr", ".", "getValueAsString", "(", ")", ".", "str", "(", ")", ":", "TargetCPU", ";", "std", "::", "string", "FS", "=", "!", "FSAttr", ".", "hasAttribute", "(", "Attribute", "::", "None", ")", "?", "FSAttr", ".", "getValueAsString", "(", ")", ".", "str", "(", ")", ":", "TargetFS", ";", "bool", "SoftFloat", "=", "F", ".", "hasFnAttribute", "(", "\"use-soft-float\"", ")", "&&", "F", ".", "getFnAttribute", "(", "\"use-soft-float\"", ")", ".", "getValueAsString", "(", ")", "==", "\"true\"", ";", "if", "(", "SoftFloat", ")", "FS", "+=", "FS", ".", "empty", "(", ")", "?", "\"+soft-float\"", ":", "\",+soft-float\"", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "CPU", "+", "FS", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "I", "=", "llvm", "::", "make_unique", "<", "X86Subtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "FS", ",", "*", "this", ",", "Options", ".", "StackAlignmentOverride", ")", ";", "}", "return", "I", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["Virtual", "method", "implemented", "by", "subclasses", "that", "returns", "a", "reference", "to", "that", "target", "'s", "TargetSubtargetInfo-derived", "member", "variable", "."], "TS_V_token": ["X86", "X86", "X86", "\"target-cpu\"", "\"target-features\"", "\"use-soft-float\"", "\"use-soft-float\"", "\"true\"", "\"+soft-float\"", "\",+soft-float\"", "X86"], "File": "X86TargetMachine10", "Func": "getSubtargetImpl", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3198, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_sim_record_set", "(", "rtx", "x", ",", "const_rtx", "pat", "ATTRIBUTE_UNUSED", ",", "void", "*", "data", ")", "{", "struct", "mips_sim", "*", "state", ";", "state", "=", "(", "struct", "mips_sim", "*", ")", "data", ";", "if", "(", "REG_P", "(", "x", ")", ")", "{", "unsigned", "int", "regno", ",", "end_regno", ";", "end_regno", "=", "END_REGNO", "(", "x", ")", ";", "for", "(", "regno", "=", "REGNO", "(", "x", ")", ";", "regno", "<", "end_regno", ";", "regno", "++", ")", "{", "state", "->", "last_set", "[", "regno", "]", ".", "insn", "=", "mips_sim_insn", ";", "state", "->", "last_set", "[", "regno", "]", ".", "time", "=", "state", "->", "time", ";", "}", "}", "}", ""], "natrual_language": ["mips_sim_insn", "has", "just", "set", "X.", "Update", "the", "LAST_SET", "array", "in", "simulation", "state", "DATA", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_sim_record_set", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3199, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ft32_pass_by_reference", "(", "cumulative_args_t", ",", "const", "function_arg_info", "&", "arg", ")", "{", "if", "(", "arg", ".", "aggregate_type_p", "(", ")", ")", "return", "true", ";", "unsigned", "HOST_WIDE_INT", "size", "=", "arg", ".", "type_size_in_bytes", "(", ")", ";", "return", "size", ">", "4", "*", "6", ";", "}", ""], "natrual_language": ["Return", "non-zero", "if", "the", "function", "argument", "described", "by", "TYPE", "is", "to", "be", "passed", "by", "reference", "."], "TS_V_token": ["ft32", "4", "6"], "File": "ft32", "Func": "ft32_pass_by_reference", "Target": "ft32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3200, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "ConstraintType", "HexagonTargetLowering", "::", "getConstraintType", "(", "StringRef", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'q'", ":", "case", "'v'", ":", "if", "(", "Subtarget", ".", "useHVXOps", "(", ")", ")", "return", "C_RegisterClass", ";", "break", ";", "case", "'a'", ":", "return", "C_RegisterClass", ";", "default", ":", "break", ";", "}", "}", "return", "TargetLowering", "::", "getConstraintType", "(", "Constraint", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constraint", "letter", ",", "return", "the", "type", "of", "constraint", "for", "this", "target", "."], "TS_V_token": ["Hexagon", "Hexagon", "1", "0"], "File": "HexagonISelLowering (2)1", "Func": "getConstraintType", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3201, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "decomposeMulByConstant", "(", "LLVMContext", "&", "Context", ",", "EVT", "VT", ",", "SDValue", "C", ")", "const", "{", "if", "(", "VT", ".", "isScalarInteger", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "hasStdExtM", "(", ")", "&&", "VT", ".", "getSizeInBits", "(", ")", ">", "Subtarget", ".", "getXLen", "(", ")", ")", "return", "false", ";", "if", "(", "auto", "*", "ConstNode", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "C", ".", "getNode", "(", ")", ")", ")", "{", "const", "APInt", "&", "Imm", "=", "ConstNode", "->", "getAPIntValue", "(", ")", ";", "if", "(", "(", "Imm", "+", "1", ")", ".", "isPowerOf2", "(", ")", "||", "(", "Imm", "-", "1", ")", ".", "isPowerOf2", "(", ")", "||", "(", "1", "-", "Imm", ")", ".", "isPowerOf2", "(", ")", "||", "(", "-", "1", "-", "Imm", ")", ".", "isPowerOf2", "(", ")", ")", "return", "true", ";", "if", "(", "Subtarget", ".", "hasStdExtZba", "(", ")", "&&", "!", "Imm", ".", "isSignedIntN", "(", "12", ")", "&&", "(", "(", "Imm", "-", "2", ")", ".", "isPowerOf2", "(", ")", "||", "(", "Imm", "-", "4", ")", ".", "isPowerOf2", "(", ")", "||", "(", "Imm", "-", "8", ")", ".", "isPowerOf2", "(", ")", ")", ")", "return", "true", ";", "if", "(", "Subtarget", ".", "hasStdExtM", "(", ")", "&&", "VT", ".", "getSizeInBits", "(", ")", ">=", "Subtarget", ".", "getXLen", "(", ")", ")", "return", "false", ";", "if", "(", "!", "Imm", ".", "isSignedIntN", "(", "12", ")", "&&", "Imm", ".", "countTrailingZeros", "(", ")", "<", "12", ")", "{", "APInt", "ImmS", "=", "Imm", ".", "ashr", "(", "Imm", ".", "countTrailingZeros", "(", ")", ")", ";", "if", "(", "(", "ImmS", "+", "1", ")", ".", "isPowerOf2", "(", ")", "||", "(", "ImmS", "-", "1", ")", ".", "isPowerOf2", "(", ")", "||", "(", "1", "-", "ImmS", ")", ".", "isPowerOf2", "(", ")", ")", "return", "true", ";", "}", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "profitable", "to", "transform", "an", "integer", "multiplication-by-constant", "into", "simpler", "operations", "like", "shifts", "and", "adds", "."], "TS_V_token": ["RISCV", "RISCV", "1", "1", "1", "1", "12", "2", "4", "8", "12", "12", "1", "1", "1"], "File": "RISCVISelLowering1", "Func": "decomposeMulByConstant", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3202, "Length": 274, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86TargetLowering", "::", "computeKnownBitsForTargetNode", "(", "const", "SDValue", "Op", ",", "KnownBits", "&", "Known", ",", "const", "APInt", "&", "DemandedElts", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "unsigned", "BitWidth", "=", "Known", ".", "getBitWidth", "(", ")", ";", "unsigned", "Opc", "=", "Op", ".", "getOpcode", "(", ")", ";", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "assert", "(", "(", "Opc", ">=", "ISD", "::", "BUILTIN_OP_END", "||", "Opc", "==", "ISD", "::", "INTRINSIC_WO_CHAIN", "||", "Opc", "==", "ISD", "::", "INTRINSIC_W_CHAIN", "||", "Opc", "==", "ISD", "::", "INTRINSIC_VOID", ")", "&&", "\"Should use MaskedValueIsZero if you don't know whether Op\"", "\" is a target node!\"", ")", ";", "Known", ".", "resetAll", "(", ")", ";", "switch", "(", "Opc", ")", "{", "default", ":", "break", ";", "case", "X86ISD", "::", "ADD", ":", "case", "X86ISD", "::", "SUB", ":", "case", "X86ISD", "::", "ADC", ":", "case", "X86ISD", "::", "SBB", ":", "case", "X86ISD", "::", "SMUL", ":", "case", "X86ISD", "::", "UMUL", ":", "case", "X86ISD", "::", "INC", ":", "case", "X86ISD", "::", "DEC", ":", "case", "X86ISD", "::", "OR", ":", "case", "X86ISD", "::", "XOR", ":", "case", "X86ISD", "::", "AND", ":", "if", "(", "Op", ".", "getResNo", "(", ")", "==", "0", ")", "break", ";", "LLVM_FALLTHROUGH", ";", "case", "X86ISD", "::", "SETCC", ":", "Known", ".", "Zero", ".", "setBitsFrom", "(", "1", ")", ";", "break", ";", "case", "X86ISD", "::", "MOVMSK", ":", "{", "unsigned", "NumLoBits", "=", "Op", ".", "getOperand", "(", "0", ")", ".", "getValueType", "(", ")", ".", "getVectorNumElements", "(", ")", ";", "Known", ".", "Zero", ".", "setBitsFrom", "(", "NumLoBits", ")", ";", "break", ";", "}", "case", "X86ISD", "::", "VSHLI", ":", "case", "X86ISD", "::", "VSRLI", ":", "{", "if", "(", "auto", "*", "ShiftImm", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "1", ")", ")", ")", "{", "if", "(", "ShiftImm", "->", "getAPIntValue", "(", ")", ".", "uge", "(", "VT", ".", "getScalarSizeInBits", "(", ")", ")", ")", "{", "Known", ".", "setAllZero", "(", ")", ";", "break", ";", "}", "DAG", ".", "computeKnownBits", "(", "Op", ".", "getOperand", "(", "0", ")", ",", "Known", ",", "Depth", "+", "1", ")", ";", "unsigned", "ShAmt", "=", "ShiftImm", "->", "getZExtValue", "(", ")", ";", "if", "(", "Opc", "==", "X86ISD", "::", "VSHLI", ")", "{", "Known", ".", "Zero", "<<=", "ShAmt", ";", "Known", ".", "One", "<<=", "ShAmt", ";", "Known", ".", "Zero", ".", "setLowBits", "(", "ShAmt", ")", ";", "}", "else", "{", "Known", ".", "Zero", ".", "lshrInPlace", "(", "ShAmt", ")", ";", "Known", ".", "One", ".", "lshrInPlace", "(", "ShAmt", ")", ";", "Known", ".", "Zero", ".", "setHighBits", "(", "ShAmt", ")", ";", "}", "}", "break", ";", "}", "case", "X86ISD", "::", "VZEXT", ":", "{", "SDValue", "N0", "=", "Op", ".", "getOperand", "(", "0", ")", ";", "unsigned", "NumElts", "=", "VT", ".", "getVectorNumElements", "(", ")", ";", "EVT", "SrcVT", "=", "N0", ".", "getValueType", "(", ")", ";", "unsigned", "InNumElts", "=", "SrcVT", ".", "getVectorNumElements", "(", ")", ";", "unsigned", "InBitWidth", "=", "SrcVT", ".", "getScalarSizeInBits", "(", ")", ";", "assert", "(", "InNumElts", ">=", "NumElts", "&&", "\"Illegal VZEXT input\"", ")", ";", "Known", "=", "KnownBits", "(", "InBitWidth", ")", ";", "APInt", "DemandedSrcElts", "=", "APInt", "::", "getLowBitsSet", "(", "InNumElts", ",", "NumElts", ")", ";", "DAG", ".", "computeKnownBits", "(", "N0", ",", "Known", ",", "DemandedSrcElts", ",", "Depth", "+", "1", ")", ";", "Known", "=", "Known", ".", "zext", "(", "BitWidth", ")", ";", "Known", ".", "Zero", ".", "setBitsFrom", "(", "InBitWidth", ")", ";", "break", ";", "}", "}", "}", ""], "natrual_language": ["Determine", "which", "of", "the", "bits", "specified", "in", "Mask", "are", "known", "to", "be", "either", "zero", "or", "one", "and", "return", "them", "in", "the", "KnownZero/KnownOne", "bitsets", "."], "TS_V_token": ["X86", "X86", "ISD::BUILTIN_OP_END", "ISD::INTRINSIC_WO_CHAIN", "ISD::INTRINSIC_W_CHAIN", "ISD::INTRINSIC_VOID", "\"Should use MaskedValueIsZero if you don't know whether Op\"", "\" is a target node!\"", "X86ISD::ADD", "X86ISD::SUB", "X86ISD::ADC", "X86ISD::SBB", "X86ISD::SMUL", "X86ISD::UMUL", "X86ISD::INC", "X86ISD::DEC", "X86ISD::OR", "X86ISD::XOR", "X86ISD::AND", "0", "X86ISD::SETCC", "1", "X86ISD::MOVMSK", "0", "X86ISD::VSHLI", "X86ISD::VSRLI", "1", "0", "1", "X86ISD::VSHLI", "X86ISD::VZEXT", "0", "\"Illegal VZEXT input\"", "1"], "File": "X86ISelLowering152", "Func": "computeKnownBitsForTargetNode", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3203, "Length": 491, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "XCoreTargetLowering", "::", "computeKnownBitsForTargetNode", "(", "const", "SDValue", "Op", ",", "APInt", "&", "KnownZero", ",", "APInt", "&", "KnownOne", ",", "const", "APInt", "&", "DemandedElts", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "KnownZero", "=", "KnownOne", "=", "APInt", "(", "KnownZero", ".", "getBitWidth", "(", ")", ",", "0", ")", ";", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "XCoreISD", "::", "LADD", ":", "case", "XCoreISD", "::", "LSUB", ":", "if", "(", "Op", ".", "getResNo", "(", ")", "==", "1", ")", "{", "KnownZero", "=", "APInt", "::", "getHighBitsSet", "(", "KnownZero", ".", "getBitWidth", "(", ")", ",", "KnownZero", ".", "getBitWidth", "(", ")", "-", "1", ")", ";", "}", "break", ";", "case", "ISD", "::", "INTRINSIC_W_CHAIN", ":", "{", "unsigned", "IntNo", "=", "cast", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "1", ")", ")", "->", "getZExtValue", "(", ")", ";", "switch", "(", "IntNo", ")", "{", "case", "Intrinsic", "::", "xcore_getts", ":", "KnownZero", "=", "APInt", "::", "getHighBitsSet", "(", "KnownZero", ".", "getBitWidth", "(", ")", ",", "KnownZero", ".", "getBitWidth", "(", ")", "-", "16", ")", ";", "break", ";", "case", "Intrinsic", "::", "xcore_int", ":", "case", "Intrinsic", "::", "xcore_inct", ":", "KnownZero", "=", "APInt", "::", "getHighBitsSet", "(", "KnownZero", ".", "getBitWidth", "(", ")", ",", "KnownZero", ".", "getBitWidth", "(", ")", "-", "8", ")", ";", "break", ";", "case", "Intrinsic", "::", "xcore_testct", ":", "KnownZero", "=", "APInt", "::", "getHighBitsSet", "(", "KnownZero", ".", "getBitWidth", "(", ")", ",", "KnownZero", ".", "getBitWidth", "(", ")", "-", "1", ")", ";", "break", ";", "case", "Intrinsic", "::", "xcore_testwct", ":", "KnownZero", "=", "APInt", "::", "getHighBitsSet", "(", "KnownZero", ".", "getBitWidth", "(", ")", ",", "KnownZero", ".", "getBitWidth", "(", ")", "-", "3", ")", ";", "break", ";", "}", "}", "break", ";", "}", "}", ""], "natrual_language": ["Determine", "which", "of", "the", "bits", "specified", "in", "Mask", "are", "known", "to", "be", "either", "zero", "or", "one", "and", "return", "them", "in", "the", "KnownZero/KnownOne", "bitsets", "."], "TS_V_token": ["XCore", "XCore", "0", "XCoreISD::LADD", "XCoreISD::LSUB", "1", "1", "ISD::INTRINSIC_W_CHAIN", "1", "Intrinsic::xcore_getts", "16", "Intrinsic::xcore_int", "Intrinsic::xcore_inct", "8", "Intrinsic::xcore_testct", "1", "Intrinsic::xcore_testwct", "3"], "File": "XCoreISelLowering64", "Func": "computeKnownBitsForTargetNode", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3204, "Length": 259, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SparcInstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "getSubtargetImpl", "(", ")", "->", "getInstrInfo", "(", ")", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["Sparc", "Sparc"], "File": "SparcTargetMachine2", "Func": "getInstrInfo", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3205, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "XCoreFrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", "->", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "bool", "AtStart", "=", "MI", "==", "MBB", ".", "begin", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "BeforeI", "=", "MI", ";", "if", "(", "!", "AtStart", ")", "--", "BeforeI", ";", "for", "(", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "::", "const_iterator", "it", "=", "CSI", ".", "begin", "(", ")", ";", "it", "!=", "CSI", ".", "end", "(", ")", ";", "++", "it", ")", "{", "unsigned", "Reg", "=", "it", "->", "getReg", "(", ")", ";", "assert", "(", "Reg", "!=", "XCore", "::", "LR", "&&", "!", "(", "Reg", "==", "XCore", "::", "R10", "&&", "hasFP", "(", "*", "MF", ")", ")", "&&", "\"LR & FP are always handled in emitEpilogue\"", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "TII", ".", "loadRegFromStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "it", "->", "getFrameIdx", "(", ")", ",", "RC", ",", "TRI", ")", ";", "assert", "(", "MI", "!=", "MBB", ".", "begin", "(", ")", "&&", "\"loadRegFromStackSlot didn't insert any code!\"", ")", ";", "if", "(", "AtStart", ")", "MI", "=", "MBB", ".", "begin", "(", ")", ";", "else", "{", "MI", "=", "BeforeI", ";", "++", "MI", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["restoreCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "restore", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "load", "instructions", "via", "loadRegToStackSlot", "(", ")", "."], "TS_V_token": ["XCore", "XCore", "XCore::LR", "XCore::R10", "\"LR & FP are always handled in emitEpilogue\"", "\"loadRegFromStackSlot didn't insert any code!\""], "File": "XCoreFrameLowering", "Func": "restoreCalleeSavedRegisters", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3206, "Length": 221, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "BlackfinSubtarget", "*", "getSubtargetImpl", "(", ")", "const", "{", "return", "&", "Subtarget", ";", "}", ""], "natrual_language": ["Virtual", "method", "implemented", "by", "subclasses", "that", "returns", "a", "reference", "to", "that", "target", "'s", "TargetSubtargetInfo-derived", "member", "variable", "."], "TS_V_token": ["Blackfin"], "File": "BlackfinTargetMachine", "Func": "getSubtargetImpl", "Target": "Blackfin", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3207, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isF128SoftLibCall", "(", "const", "char", "*", "CallSym", ")", "{", "const", "char", "*", "const", "LibCalls", "[", "]", "=", "{", "\"__addtf3\"", ",", "\"__divtf3\"", ",", "\"__eqtf2\"", ",", "\"__extenddftf2\"", ",", "\"__extendsftf2\"", ",", "\"__fixtfdi\"", ",", "\"__fixtfsi\"", ",", "\"__fixtfti\"", ",", "\"__fixunstfdi\"", ",", "\"__fixunstfsi\"", ",", "\"__fixunstfti\"", ",", "\"__floatditf\"", ",", "\"__floatsitf\"", ",", "\"__floattitf\"", ",", "\"__floatunditf\"", ",", "\"__floatunsitf\"", ",", "\"__floatuntitf\"", ",", "\"__getf2\"", ",", "\"__gttf2\"", ",", "\"__letf2\"", ",", "\"__lttf2\"", ",", "\"__multf3\"", ",", "\"__netf2\"", ",", "\"__powitf2\"", ",", "\"__subtf3\"", ",", "\"__trunctfdf2\"", ",", "\"__trunctfsf2\"", ",", "\"__unordtf2\"", ",", "\"ceill\"", ",", "\"copysignl\"", ",", "\"cosl\"", ",", "\"exp2l\"", ",", "\"expl\"", ",", "\"floorl\"", ",", "\"fmal\"", ",", "\"fmaxl\"", ",", "\"fmodl\"", ",", "\"log10l\"", ",", "\"log2l\"", ",", "\"logl\"", ",", "\"nearbyintl\"", ",", "\"powl\"", ",", "\"rintl\"", ",", "\"roundl\"", ",", "\"sinl\"", ",", "\"sqrtl\"", ",", "\"truncl\"", "}", ";", "auto", "Comp", "=", "[", "]", "(", "const", "char", "*", "S1", ",", "const", "char", "*", "S2", ")", "{", "return", "strcmp", "(", "S1", ",", "S2", ")", "<", "0", ";", "}", ";", "assert", "(", "std", "::", "is_sorted", "(", "std", "::", "begin", "(", "LibCalls", ")", ",", "std", "::", "end", "(", "LibCalls", ")", ",", "Comp", ")", ")", ";", "return", "std", "::", "binary_search", "(", "std", "::", "begin", "(", "LibCalls", ")", ",", "std", "::", "end", "(", "LibCalls", ")", ",", "CallSym", ",", "Comp", ")", ";", "}", ""], "natrual_language": ["This", "function", "returns", "true", "if", "CallSym", "is", "a", "long", "double", "emulation", "routine", "."], "TS_V_token": ["Mips", "\"__addtf3\"", "\"__divtf3\"", "\"__eqtf2\"", "\"__extenddftf2\"", "\"__extendsftf2\"", "\"__fixtfdi\"", "\"__fixtfsi\"", "\"__fixtfti\"", "\"__fixunstfdi\"", "\"__fixunstfsi\"", "\"__fixunstfti\"", "\"__floatditf\"", "\"__floatsitf\"", "\"__floattitf\"", "\"__floatunditf\"", "\"__floatunsitf\"", "\"__floatuntitf\"", "\"__getf2\"", "\"__gttf2\"", "\"__letf2\"", "\"__lttf2\"", "\"__multf3\"", "\"__netf2\"", "\"__powitf2\"", "\"__subtf3\"", "\"__trunctfdf2\"", "\"__trunctfsf2\"", "\"__unordtf2\"", "\"ceill\"", "\"copysignl\"", "\"cosl\"", "\"exp2l\"", "\"expl\"", "\"floorl\"", "\"fmal\"", "\"fmaxl\"", "\"fmodl\"", "\"log10l\"", "\"log2l\"", "\"logl\"", "\"nearbyintl\"", "\"powl\"", "\"rintl\"", "\"roundl\"", "\"sinl\"", "\"sqrtl\"", "\"truncl\"", "0"], "File": "MipsCCState15", "Func": "isF128SoftLibCall", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3208, "Length": 192, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "RISCVTTIImpl", "::", "getArithmeticReductionCost", "(", "unsigned", "Opcode", ",", "VectorType", "*", "VTy", ",", "Optional", "<", "FastMathFlags", ">", "FMF", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "if", "(", "!", "isa", "<", "FixedVectorType", ">", "(", "VTy", ")", ")", "return", "BaseT", "::", "getArithmeticReductionCost", "(", "Opcode", ",", "VTy", ",", "FMF", ",", "CostKind", ")", ";", "if", "(", "VTy", "->", "getElementType", "(", ")", "->", "isIntegerTy", "(", "1", ")", ")", "return", "BaseT", "::", "getArithmeticReductionCost", "(", "Opcode", ",", "VTy", ",", "FMF", ",", "CostKind", ")", ";", "if", "(", "!", "ST", "->", "useRVVForFixedLengthVectors", "(", ")", ")", "return", "BaseT", "::", "getArithmeticReductionCost", "(", "Opcode", ",", "VTy", ",", "FMF", ",", "CostKind", ")", ";", "if", "(", "VTy", "->", "getScalarSizeInBits", "(", ")", ">", "ST", "->", "getMaxELENForFixedLengthVectors", "(", ")", ")", "return", "BaseT", "::", "getArithmeticReductionCost", "(", "Opcode", ",", "VTy", ",", "FMF", ",", "CostKind", ")", ";", "int", "ISD", "=", "TLI", "->", "InstructionOpcodeToISD", "(", "Opcode", ")", ";", "assert", "(", "ISD", "&&", "\"Invalid opcode\"", ")", ";", "if", "(", "ISD", "!=", "ISD", "::", "ADD", "&&", "ISD", "!=", "ISD", "::", "OR", "&&", "ISD", "!=", "ISD", "::", "XOR", "&&", "ISD", "!=", "ISD", "::", "AND", "&&", "ISD", "!=", "ISD", "::", "FADD", ")", "return", "BaseT", "::", "getArithmeticReductionCost", "(", "Opcode", ",", "VTy", ",", "FMF", ",", "CostKind", ")", ";", "InstructionCost", "BaseCost", "=", "2", ";", "unsigned", "VL", "=", "cast", "<", "FixedVectorType", ">", "(", "VTy", ")", "->", "getNumElements", "(", ")", ";", "std", "::", "pair", "<", "InstructionCost", ",", "MVT", ">", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "DL", ",", "VTy", ")", ";", "if", "(", "TTI", "::", "requiresOrderedReduction", "(", "FMF", ")", ")", "return", "(", "LT", ".", "first", "-", "1", ")", "+", "BaseCost", "+", "VL", ";", "return", "(", "LT", ".", "first", "-", "1", ")", "+", "BaseCost", "+", "Log2_32_Ceil", "(", "VL", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "vector", "reduction", "intrinsics", "."], "TS_V_token": ["RISCV", "RISCV", "1", "\"Invalid opcode\"", "ISD::ADD", "ISD::OR", "ISD::XOR", "ISD::AND", "ISD::FADD", "2", "1", "1"], "File": "RISCVTargetTransformInfo5", "Func": "getArithmeticReductionCost", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3209, "Length": 268, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "HSAILIntrinsicInfo", "*", "getIntrinsicInfo", "(", ")", "const", "override", "{", "return", "&", "IntrinsicInfo", ";", "}", ""], "natrual_language": ["If", "intrinsic", "information", "is", "available", ",", "return", "it", ".", "If", "not", ",", "return", "null", "."], "TS_V_token": ["HSAIL", "HSAIL"], "File": "HSAILTargetMachine", "Func": "getIntrinsicInfo", "Target": "HSAIL", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3210, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "WebAssemblyPassConfig", "::", "addPreEmitPass", "(", ")", "{", "TargetPassConfig", "::", "addPreEmitPass", "(", ")", ";", "addPass", "(", "createWebAssemblyReplacePhysRegs", "(", ")", ")", ";", "addPass", "(", "createWebAssemblyCallIndirectFixup", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createWebAssemblyPrepareForLiveIntervals", "(", ")", ")", ";", "addPass", "(", "createWebAssemblyOptimizeLiveIntervals", "(", ")", ")", ";", "addPass", "(", "createWebAssemblyStoreResults", "(", ")", ")", ";", "addPass", "(", "createWebAssemblyRegStackify", "(", ")", ")", ";", "addPass", "(", "createWebAssemblyRegColoring", "(", ")", ")", ";", "}", "addPass", "(", "createWebAssemblyFixIrreducibleControlFlow", "(", ")", ")", ";", "addPass", "(", "createWebAssemblyExplicitLocals", "(", ")", ")", ";", "addPass", "(", "createWebAssemblyCFGSort", "(", ")", ")", ";", "addPass", "(", "createWebAssemblyCFGStackify", "(", ")", ")", ";", "addPass", "(", "createWebAssemblyLowerBrUnless", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createWebAssemblyPeephole", "(", ")", ")", ";", "addPass", "(", "createWebAssemblyRegNumbering", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly"], "File": "WebAssemblyTargetMachine14", "Func": "addPreEmitPass", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3211, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64TargetLowering", "::", "BuildSDIVPow2", "(", "SDNode", "*", "N", ",", "const", "APInt", "&", "Divisor", ",", "SelectionDAG", "&", "DAG", ",", "std", "::", "vector", "<", "SDNode", "*", ">", "*", "Created", ")", "const", "{", "AttributeSet", "Attr", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ";", "if", "(", "isIntDivCheap", "(", "N", "->", "getValueType", "(", "0", ")", ",", "Attr", ")", ")", "return", "SDValue", "(", "N", ",", "0", ")", ";", "EVT", "VT", "=", "N", "->", "getValueType", "(", "0", ")", ";", "if", "(", "(", "VT", "!=", "MVT", "::", "i32", "&&", "VT", "!=", "MVT", "::", "i64", ")", "||", "!", "(", "Divisor", ".", "isPowerOf2", "(", ")", "||", "(", "-", "Divisor", ")", ".", "isPowerOf2", "(", ")", ")", ")", "return", "SDValue", "(", ")", ";", "SDLoc", "DL", "(", "N", ")", ";", "SDValue", "N0", "=", "N", "->", "getOperand", "(", "0", ")", ";", "unsigned", "Lg2", "=", "Divisor", ".", "countTrailingZeros", "(", ")", ";", "SDValue", "Zero", "=", "DAG", ".", "getConstant", "(", "0", ",", "DL", ",", "VT", ")", ";", "SDValue", "Pow2MinusOne", "=", "DAG", ".", "getConstant", "(", "(", "1ULL", "<<", "Lg2", ")", "-", "1", ",", "DL", ",", "VT", ")", ";", "SDValue", "CCVal", ";", "SDValue", "Cmp", "=", "getAArch64Cmp", "(", "N0", ",", "Zero", ",", "ISD", "::", "SETLT", ",", "CCVal", ",", "DAG", ",", "DL", ")", ";", "SDValue", "Add", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ADD", ",", "DL", ",", "VT", ",", "N0", ",", "Pow2MinusOne", ")", ";", "SDValue", "CSel", "=", "DAG", ".", "getNode", "(", "AArch64ISD", "::", "CSEL", ",", "DL", ",", "VT", ",", "Add", ",", "N0", ",", "CCVal", ",", "Cmp", ")", ";", "if", "(", "Created", ")", "{", "Created", "->", "push_back", "(", "Cmp", ".", "getNode", "(", ")", ")", ";", "Created", "->", "push_back", "(", "Add", ".", "getNode", "(", ")", ")", ";", "Created", "->", "push_back", "(", "CSel", ".", "getNode", "(", ")", ")", ";", "}", "SDValue", "SRA", "=", "DAG", ".", "getNode", "(", "ISD", "::", "SRA", ",", "DL", ",", "VT", ",", "CSel", ",", "DAG", ".", "getConstant", "(", "Lg2", ",", "DL", ",", "MVT", "::", "i64", ")", ")", ";", "if", "(", "Divisor", ".", "isNonNegative", "(", ")", ")", "return", "SRA", ";", "if", "(", "Created", ")", "Created", "->", "push_back", "(", "SRA", ".", "getNode", "(", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "ISD", "::", "SUB", ",", "DL", ",", "VT", ",", "DAG", ".", "getConstant", "(", "0", ",", "DL", ",", "VT", ")", ",", "SRA", ")", ";", "}", ""], "natrual_language": ["Targets", "may", "override", "this", "function", "to", "provide", "custom", "SDIV", "lowering", "for", "power-of-2", "denominators", "."], "TS_V_token": ["AArch64", "AArch64", "0", "0", "0", "MVT::i32", "MVT::i64", "0", "0", "1ULL", "1", "AArch64", "ISD::SETLT", "ISD::ADD", "AArch64ISD::CSEL", "ISD::SRA", "MVT::i64", "ISD::SUB", "0"], "File": "AArch64ISelLowering (2)", "Func": "BuildSDIVPow2", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3212, "Length": 368, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "bool", "function_base", "::", "can_be_overloaded_p", "(", "enum", "predication_type_index", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Since", "most", "of", "intrinsics", "can", "be", "overloaded", ",", "we", "set", "it", "true", "by", "default", "."], "TS_V_token": ["riscv"], "File": "riscv-vector-builtins", "Func": "can_be_overloaded_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3213, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "h8300_unary_length", "(", "rtx", "op", ")", "{", "enum", "h8300_operand_class", "opclass", ";", "unsigned", "int", "size", ",", "operand_length", ";", "size", "=", "GET_MODE_SIZE", "(", "GET_MODE", "(", "op", ")", ")", ";", "operand_length", "=", "h8300_classify_operand", "(", "op", ",", "size", ",", "&", "opclass", ")", ";", "switch", "(", "opclass", ")", "{", "case", "H8OP_REGISTER", ":", "return", "2", ";", "case", "H8OP_MEM_BASE", ":", "return", "(", "size", "==", "4", "?", "6", ":", "4", ")", ";", "case", "H8OP_MEM_ABSOLUTE", ":", "return", "operand_length", "+", "(", "size", "==", "4", "?", "6", ":", "4", ")", ";", "case", "H8OP_MEM_COMPLEX", ":", "return", "operand_length", "+", "6", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "the", "length", "of", "a", "unary", "instruction", "such", "as", "neg", "or", "not", "given", "that", "its", "operand", "is", "OP", "."], "TS_V_token": ["h8300", "2", "4", "6", "4", "4", "6", "4", "6"], "File": "h8300", "Func": "h8300_unary_length", "Target": "h8300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3214, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "Nios2RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "return", "nullptr", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["Nios2", "Nios2"], "File": "Nios2RegisterInfo", "Func": "getCalleeSavedRegs", "Target": "Nios2", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3215, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emitFunctionBodyStart", "(", ")", "override", "{", "}", ""], "natrual_language": ["Targets", "can", "override", "this", "to", "emit", "stuff", "before", "the", "first", "basic", "block", "in", "the", "function", "."], "TS_V_token": ["SPIRV"], "File": "SPIRVAsmPrinter", "Func": "emitFunctionBodyStart", "Target": "SPIRV", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3216, "Length": 7, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "MCInst", "&", "Res", ")", "const", "{", "assert", "(", "0", ")", ";", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["TeeRISC", "0"], "File": "TeeRISCAsmBackend", "Func": "relaxInstruction", "Target": "TeeRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3217, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsAsmParser", "::", "getReg", "(", "int", "RC", ",", "int", "RegNo", ")", "{", "return", "*", "(", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ".", "getRegClass", "(", "RC", ")", ".", "begin", "(", ")", "+", "RegNo", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "associated", "with", "this", "edge", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsAsmParser18", "Func": "getReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3218, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["NVPTX"], "File": "NVPTXAtomicLower", "Func": "getAnalysisUsage", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3219, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARCRegisterInfo", "::", "needsFrameMoves", "(", "const", "MachineFunction", "&", "MF", ")", "{", "return", "MF", ".", "needsFrameMoves", "(", ")", ";", "}", ""], "natrual_language": ["Return", "whether", "to", "emit", "frame", "moves", "."], "TS_V_token": ["ARC", "ARC"], "File": "ARCRegisterInfo10", "Func": "needsFrameMoves", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3220, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "DestReg", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "unsigned", "Alignment", "=", "std", "::", "max", "<", "uint32_t", ">", "(", "RC", "->", "getSize", "(", ")", ",", "16", ")", ";", "bool", "isAligned", "=", "(", "TM", ".", "getFrameLowering", "(", ")", "->", "getStackAlignment", "(", ")", ">=", "Alignment", ")", "||", "RI", ".", "canRealignStack", "(", "MF", ")", ";", "unsigned", "Opc", "=", "getLoadRegOpcode", "(", "DestReg", ",", "RC", ",", "isAligned", ",", "TM", ")", ";", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "addFrameReference", "(", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opc", ")", ",", "DestReg", ")", ",", "FrameIdx", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["X86", "X86", "16"], "File": "X86InstrInfo (2)", "Func": "loadRegFromStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3221, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AMDGPUInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "return", "0", ";", "}", ""], "natrual_language": ["isLoadFromStackSlot", "-", "If", "the", "specified", "machine", "instruction", "is", "a", "direct", "load", "from", "a", "stack", "slot", ",", "return", "the", "virtual", "or", "physical", "register", "number", "of", "the", "destination", "along", "with", "the", "FrameIndex", "of", "the", "loaded", "stack", "slot", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "0"], "File": "AMDGPUInstrInfo", "Func": "isLoadFromStackSlot", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3222, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mt_function_arg_boundary", "(", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "tree", "type", "ATTRIBUTE_UNUSED", ")", "{", "return", "BITS_PER_WORD", ";", "}", ""], "natrual_language": ["Implement", "FUNCTION_ARG_BOUNDARY", "."], "TS_V_token": ["mt"], "File": "mt", "Func": "mt_function_arg_boundary", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3223, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Initialize", "(", "const", "MachineFunction", "&", "MF", ",", "bool", "isPIC", ")", "{", "const", "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "ConstPoolId2AddrMap", ".", "resize", "(", "AFI", "->", "getNumConstPoolEntries", "(", ")", ")", ";", "JumpTableId2AddrMap", ".", "resize", "(", "AFI", "->", "getNumJumpTables", "(", ")", ")", ";", "IsPIC", "=", "isPIC", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMJITInfo1", "Func": "Initialize", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3224, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "PPCSubtarget", "::", "PPCSubtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "bool", "is64Bit", ")", ":", "PPCGenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "StackAlignment", "(", "16", ")", ",", "DarwinDirective", "(", "PPC", "::", "DIR_NONE", ")", ",", "HasMFOCRF", "(", "false", ")", ",", "Has64BitSupport", "(", "false", ")", ",", "Use64BitRegs", "(", "false", ")", ",", "IsPPC64", "(", "is64Bit", ")", ",", "HasAltivec", "(", "false", ")", ",", "HasQPX", "(", "false", ")", ",", "HasFSQRT", "(", "false", ")", ",", "HasSTFIWX", "(", "false", ")", ",", "HasISEL", "(", "false", ")", ",", "IsBookE", "(", "false", ")", ",", "HasLazyResolverStubs", "(", "false", ")", ",", "IsJITCodeModel", "(", "false", ")", ",", "TargetTriple", "(", "TT", ")", "{", "std", "::", "string", "CPUName", "=", "CPU", ";", "if", "(", "CPUName", ".", "empty", "(", ")", ")", "CPUName", "=", "\"generic\"", ";", "(", "defined", "(", "__ppc__", ")", "||", "defined", "(", "__powerpc__", ")", ")", "if", "(", "CPUName", "==", "\"generic\"", ")", "CPUName", "=", "sys", "::", "getHostCPUName", "(", ")", ";", "InstrItins", "=", "getInstrItineraryForCPU", "(", "CPUName", ")", ";", "std", "::", "string", "FullFS", "=", "FS", ";", "if", "(", "is64Bit", ")", "{", "Has64BitSupport", "=", "true", ";", "Use64BitRegs", "=", "true", ";", "if", "(", "!", "FullFS", ".", "empty", "(", ")", ")", "FullFS", "=", "\"+64bit,\"", "+", "FullFS", ";", "else", "FullFS", "=", "\"+64bit\"", ";", "}", "ParseSubtargetFeatures", "(", "CPUName", ",", "FullFS", ")", ";", "if", "(", "use64BitRegs", "(", ")", "&&", "!", "has64BitSupport", "(", ")", ")", "Use64BitRegs", "=", "false", ";", "if", "(", "isDarwin", "(", ")", ")", "HasLazyResolverStubs", "=", "true", ";", "if", "(", "hasQPX", "(", ")", "||", "isBGQ", "(", ")", ")", "StackAlignment", "=", "32", ";", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "16", "PPC::DIR_NONE", "PPC", "\"generic\"", "\"generic\"", "\"+64bit,\"", "\"+64bit\"", "32"], "File": "PPCSubtarget11", "Func": "PPCSubtarget", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3225, "Length": 254, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "shouldConvertFpToSat", "(", "unsigned", "Op", ",", "EVT", "FPVT", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "isOperationLegalOrCustom", "(", "Op", ",", "VT", ")", "||", "!", "FPVT", ".", "isSimple", "(", ")", ")", "return", "false", ";", "switch", "(", "FPVT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "case", "MVT", "::", "f16", ":", "return", "Subtarget", "->", "hasVFP2Base", "(", ")", ";", "case", "MVT", "::", "f32", ":", "return", "Subtarget", "->", "hasVFP2Base", "(", ")", ";", "case", "MVT", "::", "f64", ":", "return", "Subtarget", "->", "hasFP64", "(", ")", ";", "case", "MVT", "::", "v4f32", ":", "case", "MVT", "::", "v8f16", ":", "return", "Subtarget", "->", "hasMVEFloatOps", "(", ")", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Should", "we", "generate", "fp_to_si_sat", "and", "fp_to_ui_sat", "from", "type", "FPVT", "to", "type", "VT", "from", "min", "(", "max", "(", "fptoi", ")", ")", "saturation", "patterns", "."], "TS_V_token": ["ARM", "ARM", "MVT::f16", "MVT::f32", "MVT::f64", "MVT::v4f32", "MVT::v8f16"], "File": "ARMISelLowering12", "Func": "shouldConvertFpToSat", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3226, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SHUXIInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "DestReg", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "SHUXI", "::", "POP", ")", ")", ".", "addReg", "(", "DestReg", ",", "getDefRegState", "(", "true", ")", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["SHUXI", "SHUXI", "SHUXI::POP"], "File": "SHUXIInstrInfo", "Func": "loadRegFromStackSlot", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3227, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "reg_class_t", "aarch64_ira_change_pseudo_allocno_class", "(", "int", "regno", ",", "reg_class_t", "allocno_class", ",", "reg_class_t", "best_class", ")", "{", "machine_mode", "mode", ";", "if", "(", "!", "reg_class_subset_p", "(", "GENERAL_REGS", ",", "allocno_class", ")", "||", "!", "reg_class_subset_p", "(", "FP_REGS", ",", "allocno_class", ")", ")", "return", "allocno_class", ";", "if", "(", "!", "reg_class_subset_p", "(", "GENERAL_REGS", ",", "best_class", ")", "||", "!", "reg_class_subset_p", "(", "FP_REGS", ",", "best_class", ")", ")", "return", "best_class", ";", "mode", "=", "PSEUDO_REGNO_MODE", "(", "regno", ")", ";", "return", "FLOAT_MODE_P", "(", "mode", ")", "||", "VECTOR_MODE_P", "(", "mode", ")", "?", "FP_REGS", ":", "GENERAL_REGS", ";", "}", ""], "natrual_language": ["Implement", "TARGET_IRA_CHANGE_PSEUDO_ALLOCNO_CLASS", ".", "The", "register", "allocator", "chooses", "ALL_REGS", "if", "FP_REGS", "and", "GENERAL_REGS", "have", "the", "same", "cost", "even", "if", "ALL_REGS", "has", "a", "much", "larger", "cost", ".", "ALL_REGS", "is", "also", "used", "if", "the", "cost", "of", "both", "FP_REGS", "and", "GENERAL_REGS", "is", "lower", "than", "the", "memory", "cost", "(", "in", "this", "case", "the", "best", "class", "is", "the", "lowest", "cost", "one", ")", ".", "Using", "ALL_REGS", "irrespectively", "of", "its", "cost", "results", "in", "bad", "allocations", "with", "many", "redundant", "int", "<", "-", ">", "FP", "moves", "which", "are", "expensive", "on", "various", "cores", ".", "To", "avoid", "this", "we", "do", "n't", "allow", "ALL_REGS", "as", "the", "allocno", "class", ",", "but", "force", "a", "decision", "between", "FP_REGS", "and", "GENERAL_REGS", ".", "We", "use", "the", "allocno", "class", "if", "it", "is", "n't", "ALL_REGS", ".", "Similarly", ",", "use", "the", "best", "class", "if", "it", "is", "n't", "ALL_REGS", ".", "Otherwise", "set", "the", "allocno", "class", "depending", "on", "the", "mode", ".", "The", "result", "of", "this", "is", "that", "it", "is", "no", "longer", "inefficient", "to", "have", "a", "higher", "memory", "move", "cost", "than", "the", "register", "move", "cost", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "aarch64_ira_change_pseudo_allocno_class", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3228, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SITargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "INSERT_VECTOR_ELT", ":", "{", "if", "(", "SDValue", "Res", "=", "lowerINSERT_VECTOR_ELT", "(", "SDValue", "(", "N", ",", "0", ")", ",", "DAG", ")", ")", "Results", ".", "push_back", "(", "Res", ")", ";", "return", ";", "}", "case", "ISD", "::", "EXTRACT_VECTOR_ELT", ":", "{", "if", "(", "SDValue", "Res", "=", "lowerEXTRACT_VECTOR_ELT", "(", "SDValue", "(", "N", ",", "0", ")", ",", "DAG", ")", ")", "Results", ".", "push_back", "(", "Res", ")", ";", "return", ";", "}", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "{", "unsigned", "IID", "=", "cast", "<", "ConstantSDNode", ">", "(", "N", "->", "getOperand", "(", "0", ")", ")", "->", "getZExtValue", "(", ")", ";", "switch", "(", "IID", ")", "{", "case", "Intrinsic", "::", "amdgcn_cvt_pkrtz", ":", "{", "SDValue", "Src0", "=", "N", "->", "getOperand", "(", "1", ")", ";", "SDValue", "Src1", "=", "N", "->", "getOperand", "(", "2", ")", ";", "SDLoc", "SL", "(", "N", ")", ";", "SDValue", "Cvt", "=", "DAG", ".", "getNode", "(", "AMDGPUISD", "::", "CVT_PKRTZ_F16_F32", ",", "SL", ",", "MVT", "::", "i32", ",", "Src0", ",", "Src1", ")", ";", "Results", ".", "push_back", "(", "DAG", ".", "getNode", "(", "ISD", "::", "BITCAST", ",", "SL", ",", "MVT", "::", "v2f16", ",", "Cvt", ")", ")", ";", "return", ";", "}", "default", ":", "break", ";", "}", "}", "default", ":", "break", ";", "}", "}", ""], "natrual_language": ["ReplaceNodeResults", "-", "Replace", "the", "results", "of", "node", "with", "an", "illegal", "result", "type", "with", "new", "values", "built", "out", "of", "custom", "code", "."], "TS_V_token": ["AMDGPU", "SI", "ISD::INSERT_VECTOR_ELT", "0", "ISD::EXTRACT_VECTOR_ELT", "0", "ISD::INTRINSIC_WO_CHAIN", "0", "Intrinsic::amdgcn_cvt_pkrtz", "1", "2", "AMDGPUISD::CVT_PKRTZ_F16_F32", "MVT::i32", "ISD::BITCAST", "MVT::v2f16"], "File": "SIISelLowering123", "Func": "ReplaceNodeResults", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3229, "Length": 219, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "getPreIndexedAddressParts", "(", "SDNode", "*", "N", ",", "SDValue", "&", "Base", ",", "SDValue", "&", "Offset", ",", "ISD", "::", "MemIndexedMode", "&", "AM", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "if", "(", "DisablePPCPreinc", ")", "return", "false", ";", "SDValue", "Ptr", ";", "EVT", "VT", ";", "unsigned", "Alignment", ";", "if", "(", "LoadSDNode", "*", "LD", "=", "dyn_cast", "<", "LoadSDNode", ">", "(", "N", ")", ")", "{", "Ptr", "=", "LD", "->", "getBasePtr", "(", ")", ";", "VT", "=", "LD", "->", "getMemoryVT", "(", ")", ";", "Alignment", "=", "LD", "->", "getAlignment", "(", ")", ";", "}", "else", "if", "(", "StoreSDNode", "*", "ST", "=", "dyn_cast", "<", "StoreSDNode", ">", "(", "N", ")", ")", "{", "Ptr", "=", "ST", "->", "getBasePtr", "(", ")", ";", "VT", "=", "ST", "->", "getMemoryVT", "(", ")", ";", "Alignment", "=", "ST", "->", "getAlignment", "(", ")", ";", "}", "else", "return", "false", ";", "if", "(", "VT", ".", "isVector", "(", ")", ")", "return", "false", ";", "if", "(", "SelectAddressRegReg", "(", "Ptr", ",", "Offset", ",", "Base", ",", "DAG", ")", ")", "{", "AM", "=", "ISD", "::", "PRE_INC", ";", "return", "true", ";", "}", "if", "(", "VT", "!=", "MVT", "::", "i64", ")", "{", "if", "(", "!", "SelectAddressRegImm", "(", "Ptr", ",", "Offset", ",", "Base", ",", "DAG", ")", ")", "return", "false", ";", "}", "else", "{", "if", "(", "Alignment", "<", "4", ")", "return", "false", ";", "if", "(", "!", "SelectAddressRegImmShift", "(", "Ptr", ",", "Offset", ",", "Base", ",", "DAG", ")", ")", "return", "false", ";", "}", "if", "(", "LoadSDNode", "*", "LD", "=", "dyn_cast", "<", "LoadSDNode", ">", "(", "N", ")", ")", "{", "if", "(", "LD", "->", "getValueType", "(", "0", ")", "==", "MVT", "::", "i64", "&&", "LD", "->", "getMemoryVT", "(", ")", "==", "MVT", "::", "i32", "&&", "LD", "->", "getExtensionType", "(", ")", "==", "ISD", "::", "SEXTLOAD", "&&", "isa", "<", "ConstantSDNode", ">", "(", "Offset", ")", ")", "return", "false", ";", "}", "AM", "=", "ISD", "::", "PRE_INC", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "by", "value", ",", "base", "pointer", "and", "offset", "pointer", "and", "addressing", "mode", "by", "reference", "if", "the", "node", "'s", "address", "can", "be", "legally", "represented", "as", "pre-indexed", "load", "/", "store", "address", "."], "TS_V_token": ["PowerPC", "PPC", "ISD::MemIndexedMode", "PPC", "ISD::PRE_INC", "MVT::i64", "4", "0", "MVT::i64", "MVT::i32", "ISD::SEXTLOAD", "ISD::PRE_INC"], "File": "PPCISelLowering5", "Func": "getPreIndexedAddressParts", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3230, "Length": 291, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SparcTargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "const", "SDLoc", "&", "DL", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "if", "(", "Subtarget", "->", "is64Bit", "(", ")", ")", "return", "LowerReturn_64", "(", "Chain", ",", "CallConv", ",", "IsVarArg", ",", "Outs", ",", "OutVals", ",", "DL", ",", "DAG", ")", ";", "return", "LowerReturn_32", "(", "Chain", ",", "CallConv", ",", "IsVarArg", ",", "Outs", ",", "OutVals", ",", "DL", ",", "DAG", ")", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "outgoing", "return", "values", ",", "described", "by", "the", "Outs", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["Sparc", "Sparc", "ISD::OutputArg"], "File": "SparcISelLowering (2)2", "Func": "LowerReturn", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3231, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "classof", "(", "const", "MCExpr", "*", "E", ")", "{", "return", "E", "->", "getKind", "(", ")", "==", "MCExpr", "::", "Target", ";", "}", ""], "natrual_language": ["Methods", "for", "support", "type", "inquiry", "through", "isa", ",", "cast", ",", "and", "dyn_cast", ":"], "TS_V_token": ["SIC"], "File": "SICMCExpr", "Func": "classof", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3232, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ISD", "::", "NodeType", "getExtendForAtomicOps", "(", ")", "const", "override", "{", "return", "ISD", "::", "SIGN_EXTEND", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "platform", "'s", "atomic", "operations", "are", "extended", "(", "ZERO_EXTEND", ",", "SIGN_EXTEND", ",", "or", "ANY_EXTEND", ")", "."], "TS_V_token": ["RI5CY", "ISD::NodeType", "ISD::SIGN_EXTEND"], "File": "RISCVISelLowering", "Func": "getExtendForAtomicOps", "Target": "RI5CY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3233, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sparc_can_use_return_insn_p", "(", "void", ")", "{", "return", "sparc_prologue_data_valid_p", "&&", "(", "actual_fsize", "==", "0", "||", "!", "sparc_leaf_function_p", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "appropriate", "to", "emit", "`", "return", "'", "instructions", "in", "the", "body", "of", "a", "function", "."], "TS_V_token": ["sparc", "0"], "File": "sparc3", "Func": "sparc_can_use_return_insn_p", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3234, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MandarinPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createMandarinISelDag", "(", "getMandarinTargetMachine", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["Mandarin"], "File": "MandarinTargetMachine", "Func": "addInstSelector", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3235, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcAsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "return", "true", ";", "O", "<<", "'['", ";", "printMemOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "O", "<<", "']'", ";", "return", "false", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "operand", "of", "MI", ",", "an", "INLINEASM", "instruction", ",", "using", "the", "specified", "assembler", "variant", "as", "an", "address", "."], "TS_V_token": ["Sparc", "Sparc", "0"], "File": "SparcAsmPrinter", "Func": "PrintAsmMemoryOperand", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3236, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVPulpHWLoops", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "!", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ".", "hasNonStdExtPulp", "(", ")", ")", "{", "return", "false", ";", "}", "TII", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MachineDominatorTree", "*", "MDT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "FindInstrPairs", "(", "MDT", "->", "getRootNode", "(", ")", ",", "nullptr", ",", "nullptr", ")", ";", "assert", "(", "Setups", ".", "size", "(", ")", "==", "Branches", ".", "size", "(", ")", "&&", "Setups", ".", "size", "(", ")", "==", "LoopNums", ".", "size", "(", ")", ")", ";", "if", "(", "Setups", ".", "empty", "(", ")", ")", "return", "false", ";", "while", "(", "!", "Setups", ".", "empty", "(", ")", ")", "{", "ProcessHardwareLoop", "(", "Setups", ".", "pop_back_val", "(", ")", ",", "Branches", ".", "pop_back_val", "(", ")", ",", "LoopNums", ".", "pop_back_val", "(", ")", ",", "MF", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV"], "File": "RISCVPulpHWLoops", "Func": "runOnMachineFunction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3237, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPassConfig", "::", "addPreSched2", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "if", "(", "!", "getARMSubtarget", "(", ")", ".", "isThumb1Only", "(", ")", ")", "{", "addPass", "(", "createARMLoadStoreOptimizationPass", "(", ")", ")", ";", "printAndVerify", "(", "\"After ARM load / store optimizer\"", ")", ";", "}", "if", "(", "getARMSubtarget", "(", ")", ".", "hasNEON", "(", ")", ")", "addPass", "(", "createExecutionDependencyFixPass", "(", "&", "ARM", "::", "DPRRegClass", ")", ")", ";", "}", "addPass", "(", "createARMExpandPseudoPass", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "if", "(", "!", "getARMSubtarget", "(", ")", ".", "isThumb1Only", "(", ")", ")", "addPass", "(", "&", "IfConverterID", ")", ";", "}", "if", "(", "getARMSubtarget", "(", ")", ".", "isThumb2", "(", ")", ")", "addPass", "(", "createThumb2ITBlockPass", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "after", "prolog-epilog", "insertion", "and", "before", "the", "second", "instruction", "scheduling", "pass", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "\"After ARM load / store optimizer\"", "ARM", "ARM::DPRRegClass", "ARM", "ARM", "ARM"], "File": "ARMTargetMachine106", "Func": "addPreSched2", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3238, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "changingInstr", "(", "MachineInstr", "&", "MI", ")", "override", "{", "}", ""], "natrual_language": ["This", "instruction", "is", "about", "to", "be", "mutated", "in", "some", "way", "."], "TS_V_token": ["AMDGPU"], "File": "AMDGPURegisterBankInfo (2)", "Func": "changingInstr", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3239, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "NVPTXDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "if", "(", "N", "->", "isMachineOpcode", "(", ")", ")", "return", "NULL", ";", "SDNode", "*", "ResNode", "=", "NULL", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "LOAD", ":", "ResNode", "=", "SelectLoad", "(", "N", ")", ";", "break", ";", "case", "ISD", "::", "STORE", ":", "ResNode", "=", "SelectStore", "(", "N", ")", ";", "break", ";", "case", "NVPTXISD", "::", "LoadV2", ":", "case", "NVPTXISD", "::", "LoadV4", ":", "ResNode", "=", "SelectLoadVector", "(", "N", ")", ";", "break", ";", "case", "NVPTXISD", "::", "LDGV2", ":", "case", "NVPTXISD", "::", "LDGV4", ":", "case", "NVPTXISD", "::", "LDUV2", ":", "case", "NVPTXISD", "::", "LDUV4", ":", "ResNode", "=", "SelectLDGLDUVector", "(", "N", ")", ";", "break", ";", "case", "NVPTXISD", "::", "StoreV2", ":", "case", "NVPTXISD", "::", "StoreV4", ":", "ResNode", "=", "SelectStoreVector", "(", "N", ")", ";", "break", ";", "default", ":", "break", ";", "}", "if", "(", "ResNode", ")", "return", "ResNode", ";", "return", "SelectCode", "(", "N", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["NVPTX", "NVPTX", "ISD::LOAD", "ISD::STORE", "NVPTXISD::LoadV2", "NVPTXISD::LoadV4", "NVPTXISD::LDGV2", "NVPTXISD::LDGV4", "NVPTXISD::LDUV2", "NVPTXISD::LDUV4", "NVPTXISD::StoreV2", "NVPTXISD::StoreV4"], "File": "NVPTXISelDAGToDAG24", "Func": "Select", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3240, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64AsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNum", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "if", "(", "!", "AsmPrinter", "::", "PrintAsmOperand", "(", "MI", ",", "OpNum", ",", "ExtraCode", ",", "O", ")", ")", "return", "false", ";", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "{", "if", "(", "ExtraCode", "[", "1", "]", "!=", "0", ")", "return", "true", ";", "switch", "(", "ExtraCode", "[", "0", "]", ")", "{", "default", ":", "return", "true", ";", "case", "'w'", ":", "case", "'x'", ":", "if", "(", "MO", ".", "isReg", "(", ")", ")", "return", "printAsmMRegister", "(", "MO", ",", "ExtraCode", "[", "0", "]", ",", "O", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", "&&", "MO", ".", "getImm", "(", ")", "==", "0", ")", "{", "unsigned", "Reg", "=", "ExtraCode", "[", "0", "]", "==", "'w'", "?", "AArch64", "::", "WZR", ":", "AArch64", "::", "XZR", ";", "O", "<<", "AArch64InstPrinter", "::", "getRegisterName", "(", "Reg", ")", ";", "return", "false", ";", "}", "printOperand", "(", "MI", ",", "OpNum", ",", "O", ")", ";", "return", "false", ";", "case", "'b'", ":", "case", "'h'", ":", "case", "'s'", ":", "case", "'d'", ":", "case", "'q'", ":", "if", "(", "MO", ".", "isReg", "(", ")", ")", "{", "const", "TargetRegisterClass", "*", "RC", ";", "switch", "(", "ExtraCode", "[", "0", "]", ")", "{", "case", "'b'", ":", "RC", "=", "&", "AArch64", "::", "FPR8RegClass", ";", "break", ";", "case", "'h'", ":", "RC", "=", "&", "AArch64", "::", "FPR16RegClass", ";", "break", ";", "case", "'s'", ":", "RC", "=", "&", "AArch64", "::", "FPR32RegClass", ";", "break", ";", "case", "'d'", ":", "RC", "=", "&", "AArch64", "::", "FPR64RegClass", ";", "break", ";", "case", "'q'", ":", "RC", "=", "&", "AArch64", "::", "FPR128RegClass", ";", "break", ";", "default", ":", "return", "true", ";", "}", "return", "printAsmRegInClass", "(", "MO", ",", "RC", ",", "false", ",", "O", ")", ";", "}", "printOperand", "(", "MI", ",", "OpNum", ",", "O", ")", ";", "return", "false", ";", "}", "}", "if", "(", "MO", ".", "isReg", "(", ")", ")", "{", "unsigned", "Reg", "=", "MO", ".", "getReg", "(", ")", ";", "if", "(", "AArch64", "::", "GPR32allRegClass", ".", "contains", "(", "Reg", ")", "||", "AArch64", "::", "GPR64allRegClass", ".", "contains", "(", "Reg", ")", ")", "return", "printAsmMRegister", "(", "MO", ",", "'x'", ",", "O", ")", ";", "return", "printAsmRegInClass", "(", "MO", ",", "&", "AArch64", "::", "FPR128RegClass", ",", "true", ",", "O", ")", ";", "}", "printOperand", "(", "MI", ",", "OpNum", ",", "O", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["AArch64", "AArch64", "0", "1", "0", "0", "0", "0", "0", "AArch64::WZR", "AArch64::XZR", "AArch64", "0", "AArch64::FPR8RegClass", "AArch64::FPR16RegClass", "AArch64::FPR32RegClass", "AArch64::FPR64RegClass", "AArch64::FPR128RegClass", "AArch64::GPR32allRegClass", "AArch64::GPR64allRegClass", "AArch64::FPR128RegClass"], "File": "AArch64AsmPrinter10", "Func": "PrintAsmOperand", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3241, "Length": 383, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86PassConfig", "::", "addPostRegAlloc", "(", ")", "{", "addPass", "(", "createX86FloatingPointStackifierPass", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createX86LoadValueInjectionLoadHardeningPass", "(", ")", ")", ";", "else", "addPass", "(", "createX86LoadValueInjectionLoadHardeningUnoptimizedPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "after", "register", "allocation", "pass", "pipeline", "but", "before", "prolog-epilog", "insertion", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86"], "File": "X86TargetMachine3", "Func": "addPostRegAlloc", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3242, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMInstructionSelector", "::", "select", "(", "MachineInstr", "&", "I", ")", "const", "{", "assert", "(", "I", ".", "getParent", "(", ")", "&&", "\"Instruction should be in a basic block!\"", ")", ";", "assert", "(", "I", ".", "getParent", "(", ")", "->", "getParent", "(", ")", "&&", "\"Instruction should be in a function!\"", ")", ";", "auto", "&", "MBB", "=", "*", "I", ".", "getParent", "(", ")", ";", "auto", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "auto", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "if", "(", "!", "isPreISelGenericOpcode", "(", "I", ".", "getOpcode", "(", ")", ")", ")", "{", "if", "(", "I", ".", "isCopy", "(", ")", ")", "return", "selectCopy", "(", "I", ",", "TII", ",", "MRI", ",", "TRI", ",", "RBI", ")", ";", "return", "true", ";", "}", "MachineInstrBuilder", "MIB", "{", "MF", ",", "I", "}", ";", "using", "namespace", "TargetOpcode", ";", "switch", "(", "I", ".", "getOpcode", "(", ")", ")", "{", "case", "G_ADD", ":", "I", ".", "setDesc", "(", "TII", ".", "get", "(", "ARM", "::", "ADDrr", ")", ")", ";", "AddDefaultCC", "(", "AddDefaultPred", "(", "MIB", ")", ")", ";", "break", ";", "case", "G_FRAME_INDEX", ":", "I", ".", "setDesc", "(", "TII", ".", "get", "(", "ARM", "::", "ADDri", ")", ")", ";", "AddDefaultCC", "(", "AddDefaultPred", "(", "MIB", ".", "addImm", "(", "0", ")", ")", ")", ";", "break", ";", "case", "G_LOAD", ":", "I", ".", "setDesc", "(", "TII", ".", "get", "(", "ARM", "::", "LDRi12", ")", ")", ";", "AddDefaultPred", "(", "MIB", ".", "addImm", "(", "0", ")", ")", ";", "break", ";", "default", ":", "return", "false", ";", "}", "return", "constrainSelectedInstRegOperands", "(", "I", ",", "TII", ",", "TRI", ",", "RBI", ")", ";", "}", ""], "natrual_language": ["Select", "the", "(", "possibly", "generic", ")", "instruction", "I", "to", "only", "use", "target-specific", "opcodes", "."], "TS_V_token": ["ARM", "ARM", "\"Instruction should be in a basic block!\"", "\"Instruction should be in a function!\"", "ARM::ADDrr", "ARM::ADDri", "0", "ARM::LDRi12", "0"], "File": "ARMInstructionSelector10", "Func": "select", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3243, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "classof", "(", "const", "ARMMCExpr", "*", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["Methods", "for", "support", "type", "inquiry", "through", "isa", ",", "cast", ",", "and", "dyn_cast", ":"], "TS_V_token": ["ARM", "ARM"], "File": "ARMMCExpr13", "Func": "classof", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3244, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "CCAssignFn", "*", "XtensaTargetLowering", "::", "CCAssignFnForReturn", "(", "CallingConv", "::", "ID", "CC", ")", "const", "{", "return", "RetCC_Xtensa", ";", "}", ""], "natrual_language": ["Selects", "the", "correct", "CCAssignFn", "for", "a", "given", "CallingConvention", "value", "."], "TS_V_token": ["Xtensa", "Xtensa", "Xtensa"], "File": "XtensaISelLowering", "Func": "CCAssignFnForReturn", "Target": "Xtensa", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3245, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "LiveIntervals", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "SlotIndexes", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "LiveIntervals", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineDominatorTree", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "MachinePostDominatorTree", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachinePostDominatorTree", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AMDGPU"], "File": "SIWholeQuadMode1", "Func": "getAnalysisUsage", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3246, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "uint16_t", ",", "uint16_t", ">", "X86InstrInfo", "::", "getExecutionDomain", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "uint16_t", "domain", "=", "(", "MI", ".", "getDesc", "(", ")", ".", "TSFlags", ">>", "X86II", "::", "SSEDomainShift", ")", "&", "3", ";", "unsigned", "opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "uint16_t", "validDomains", "=", "0", ";", "if", "(", "domain", ")", "{", "validDomains", "=", "getExecutionDomainCustom", "(", "MI", ")", ";", "if", "(", "validDomains", ")", "return", "std", "::", "make_pair", "(", "domain", ",", "validDomains", ")", ";", "if", "(", "lookup", "(", "opcode", ",", "domain", ",", "ReplaceableInstrs", ")", ")", "{", "validDomains", "=", "0xe", ";", "}", "else", "if", "(", "lookup", "(", "opcode", ",", "domain", ",", "ReplaceableInstrsAVX2", ")", ")", "{", "validDomains", "=", "Subtarget", ".", "hasAVX2", "(", ")", "?", "0xe", ":", "0x6", ";", "}", "else", "if", "(", "lookup", "(", "opcode", ",", "domain", ",", "ReplaceableInstrsAVX2InsertExtract", ")", ")", "{", "if", "(", "!", "Subtarget", ".", "hasAVX2", "(", ")", ")", "return", "std", "::", "make_pair", "(", "0", ",", "0", ")", ";", "validDomains", "=", "0xe", ";", "}", "else", "if", "(", "lookupAVX512", "(", "opcode", ",", "domain", ",", "ReplaceableInstrsAVX512", ")", ")", "{", "validDomains", "=", "0xe", ";", "}", "else", "if", "(", "Subtarget", ".", "hasDQI", "(", ")", "&&", "lookupAVX512", "(", "opcode", ",", "domain", ",", "ReplaceableInstrsAVX512DQ", ")", ")", "{", "validDomains", "=", "0xe", ";", "}", "else", "if", "(", "Subtarget", ".", "hasDQI", "(", ")", ")", "{", "if", "(", "const", "uint16_t", "*", "table", "=", "lookupAVX512", "(", "opcode", ",", "domain", ",", "ReplaceableInstrsAVX512DQMasked", ")", ")", "{", "if", "(", "domain", "==", "1", "||", "(", "domain", "==", "3", "&&", "table", "[", "3", "]", "==", "opcode", ")", ")", "validDomains", "=", "0xa", ";", "else", "validDomains", "=", "0xc", ";", "}", "}", "}", "return", "std", "::", "make_pair", "(", "domain", ",", "validDomains", ")", ";", "}", ""], "natrual_language": ["Return", "the", "current", "execution", "domain", "and", "bit", "mask", "of", "possible", "domains", "for", "instruction", "."], "TS_V_token": ["X86", "X86", "X86II::SSEDomainShift", "3", "0", "0xe", "0xe", "0x6", "0", "0", "0xe", "0xe", "0xe", "1", "3", "3", "0xa", "0xc"], "File": "X86InstrInfo", "Func": "getExecutionDomain", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3247, "Length": 269, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "tilegx_return_in_msb", "(", "const_tree", "valtype", ")", "{", "return", "(", "TARGET_BIG_ENDIAN", "&&", "AGGREGATE_TYPE_P", "(", "valtype", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_RETURN_IN_MSB", ".", "We", "return", "a", "value", "in", "the", "most", "significant", "part", "of", "a", "register", "if", ":", "-", "the", "target", "is", "big-endian", ";", "and", "-", "the", "value", "has", "an", "aggregate", "type", "(", "e.g.", ",", "structure", "or", "union", ")", "."], "TS_V_token": ["tilegx"], "File": "tilegx", "Func": "tilegx_return_in_msb", "Target": "tilegx", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 3248, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RV16KInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "SrcReg", ",", "bool", "IsKill", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "if", "(", "!", "RV16K", "::", "GPRRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "llvm_unreachable", "(", "\"Can't store this register to stack slot\"", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "RV16K", "::", "SW", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "IsKill", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["RV16K", "RV16K", "RV16K::GPRRegClass", "\"Can't store this register to stack slot\"", "RV16K::SW", "0"], "File": "RV16KInstrInfo", "Func": "storeRegToStackSlot", "Target": "RV16K", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3249, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "InstructionCost", "AArch64TTIImpl", "::", "getGatherScatterOpCost", "(", "unsigned", "Opcode", ",", "Type", "*", "DataTy", ",", "const", "Value", "*", "Ptr", ",", "bool", "VariableMask", ",", "Align", "Alignment", ",", "TTI", "::", "TargetCostKind", "CostKind", ",", "const", "Instruction", "*", "I", ")", "{", "if", "(", "!", "isa", "<", "ScalableVectorType", ">", "(", "DataTy", ")", ")", "return", "BaseT", "::", "getGatherScatterOpCost", "(", "Opcode", ",", "DataTy", ",", "Ptr", ",", "VariableMask", ",", "Alignment", ",", "CostKind", ",", "I", ")", ";", "auto", "*", "VT", "=", "cast", "<", "VectorType", ">", "(", "DataTy", ")", ";", "auto", "LT", "=", "TLI", "->", "getTypeLegalizationCost", "(", "DL", ",", "DataTy", ")", ";", "if", "(", "!", "LT", ".", "first", ".", "isValid", "(", ")", ")", "return", "InstructionCost", "::", "getInvalid", "(", ")", ";", "if", "(", "cast", "<", "VectorType", ">", "(", "DataTy", ")", "->", "getElementCount", "(", ")", "==", "ElementCount", "::", "getScalable", "(", "1", ")", ")", "return", "InstructionCost", "::", "getInvalid", "(", ")", ";", "ElementCount", "LegalVF", "=", "LT", ".", "second", ".", "getVectorElementCount", "(", ")", ";", "InstructionCost", "MemOpCost", "=", "getMemoryOpCost", "(", "Opcode", ",", "VT", "->", "getElementType", "(", ")", ",", "Alignment", ",", "0", ",", "CostKind", ",", "I", ")", ";", "return", "LT", ".", "first", "*", "MemOpCost", "*", "getMaxNumElements", "(", "LegalVF", ",", "I", "->", "getFunction", "(", ")", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "Gather", "/", "Scatter", "operation", "."], "TS_V_token": ["AArch64", "AArch64", "1", "0"], "File": "AArch64TargetTransformInfo39", "Func": "getGatherScatterOpCost", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3250, "Length": 187, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "direction", "function_arg_padding", "(", "enum", "machine_mode", "mode", ",", "tree", "type", ")", "{", "if", "(", "TARGET_ARCH64", "&&", "type", "!=", "0", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "return", "upward", ";", "return", "DEFAULT_FUNCTION_ARG_PADDING", "(", "mode", ",", "type", ")", ";", "}", ""], "natrual_language": ["Handle", "the", "FUNCTION_ARG_PADDING", "macro", ".", "For", "the", "64", "bit", "ABI", "structs", "are", "always", "stored", "left", "shifted", "in", "their", "argument", "slot", "."], "TS_V_token": ["sparc", "0"], "File": "sparc3", "Func": "function_arg_padding", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3251, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arc_split_compare_and_swap", "(", "rtx", "operands", "[", "]", ")", "{", "rtx", "rval", ",", "mem", ",", "oldval", ",", "newval", ";", "machine_mode", "mode", ";", "enum", "memmodel", "mod_s", ",", "mod_f", ";", "bool", "is_weak", ";", "rtx", "label1", ",", "label2", ",", "x", ",", "cond", ";", "rval", "=", "operands", "[", "0", "]", ";", "mem", "=", "operands", "[", "1", "]", ";", "oldval", "=", "operands", "[", "2", "]", ";", "newval", "=", "operands", "[", "3", "]", ";", "is_weak", "=", "(", "operands", "[", "4", "]", "!=", "const0_rtx", ")", ";", "mod_s", "=", "(", "enum", "memmodel", ")", "INTVAL", "(", "operands", "[", "5", "]", ")", ";", "mod_f", "=", "(", "enum", "memmodel", ")", "INTVAL", "(", "operands", "[", "6", "]", ")", ";", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "gcc_assert", "(", "mode", "==", "SImode", ")", ";", "arc_pre_atomic_barrier", "(", "mod_s", ")", ";", "label1", "=", "NULL_RTX", ";", "if", "(", "!", "is_weak", ")", "{", "label1", "=", "gen_label_rtx", "(", ")", ";", "emit_label", "(", "label1", ")", ";", "}", "label2", "=", "gen_label_rtx", "(", ")", ";", "emit_insn", "(", "gen_arc_load_exclusivesi", "(", "rval", ",", "mem", ")", ")", ";", "mode", "=", "SELECT_CC_MODE", "(", "NE", ",", "rval", ",", "oldval", ")", ";", "cond", "=", "gen_rtx_REG", "(", "mode", ",", "CC_REG", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "cond", ",", "gen_rtx_COMPARE", "(", "mode", ",", "rval", ",", "oldval", ")", ")", ")", ";", "x", "=", "gen_rtx_NE", "(", "VOIDmode", ",", "cond", ",", "const0_rtx", ")", ";", "x", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "x", ",", "gen_rtx_LABEL_REF", "(", "Pmode", ",", "label2", ")", ",", "pc_rtx", ")", ";", "emit_unlikely_jump", "(", "gen_rtx_SET", "(", "pc_rtx", ",", "x", ")", ")", ";", "emit_insn", "(", "gen_arc_store_exclusivesi", "(", "mem", ",", "newval", ")", ")", ";", "if", "(", "!", "is_weak", ")", "{", "cond", "=", "gen_rtx_REG", "(", "CC_Zmode", ",", "CC_REG", ")", ";", "x", "=", "gen_rtx_NE", "(", "VOIDmode", ",", "cond", ",", "const0_rtx", ")", ";", "x", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "x", ",", "gen_rtx_LABEL_REF", "(", "Pmode", ",", "label1", ")", ",", "pc_rtx", ")", ";", "emit_unlikely_jump", "(", "gen_rtx_SET", "(", "pc_rtx", ",", "x", ")", ")", ";", "}", "if", "(", "mod_f", "!=", "MEMMODEL_RELAXED", ")", "emit_label", "(", "label2", ")", ";", "arc_post_atomic_barrier", "(", "mod_s", ")", ";", "if", "(", "mod_f", "==", "MEMMODEL_RELAXED", ")", "emit_label", "(", "label2", ")", ";", "}", ""], "natrual_language": ["Helper", "function", "used", "by", "the", "``", "atomic_compare_and_swapsi_1", "''", "pattern", "."], "TS_V_token": ["arc", "0", "1", "2", "3", "4", "5", "6"], "File": "arc", "Func": "arc_split_compare_and_swap", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3252, "Length": 332, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "PPCMCExpr", "*", "PPCMCExpr", "::", "Create", "(", "VariantKind", "Kind", ",", "const", "MCExpr", "*", "Expr", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "(", "Ctx", ")", "PPCMCExpr", "(", "Kind", ",", "Expr", ")", ";", "}", ""], "natrual_language": ["Construct", "a", "unary", "instruction", ",", "given", "the", "opcode", "and", "an", "operand", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC"], "File": "PPCMCExpr24", "Func": "Create", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3253, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "GCNPassConfig", "::", "addMachineSSAOptimization", "(", ")", "{", "TargetPassConfig", "::", "addMachineSSAOptimization", "(", ")", ";", "addPass", "(", "&", "SIFoldOperandsID", ")", ";", "if", "(", "EnableDPPCombine", ")", "addPass", "(", "&", "GCNDPPCombineID", ")", ";", "addPass", "(", "&", "SILoadStoreOptimizerID", ")", ";", "if", "(", "isPassEnabled", "(", "EnableSDWAPeephole", ")", ")", "{", "addPass", "(", "&", "SIPeepholeSDWAID", ")", ";", "addPass", "(", "&", "EarlyMachineLICMID", ")", ";", "addPass", "(", "&", "MachineCSEID", ")", ";", "addPass", "(", "&", "SIFoldOperandsID", ")", ";", "}", "addPass", "(", "&", "DeadMachineInstructionElimID", ")", ";", "addPass", "(", "createSIShrinkInstructionsPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["Methods", "with", "trivial", "inline", "returns", "are", "convenient", "points", "in", "the", "common", "codegen", "pass", "pipeline", "where", "targets", "may", "insert", "passes", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "SI", "SI"], "File": "AMDGPUTargetMachine (2)1", "Func": "addMachineSSAOptimization", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3254, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "M88kAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "OS", ")", "{", "if", "(", "ExtraCode", ")", "return", "AsmPrinter", "::", "PrintAsmOperand", "(", "MI", ",", "OpNo", ",", "ExtraCode", ",", "OS", ")", ";", "M88kMCInstLower", "Lower", "(", "MF", "->", "getContext", "(", ")", ",", "*", "this", ")", ";", "MCOperand", "MO", "(", "Lower", ".", "lowerOperand", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ")", ")", ";", "M88kInstPrinter", "::", "printOperand", "(", "MO", ",", "MAI", ",", "OS", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["M88k", "M88k", "M88k", "M88k"], "File": "M88kAsmPrinter", "Func": "PrintAsmOperand", "Target": "M88k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3255, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "ARM64TargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InFlag", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "SDLoc", "DL", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ",", "bool", "isThisReturn", ",", "SDValue", "ThisVal", ")", "const", "{", "CCAssignFn", "*", "RetCC", "=", "CallConv", "==", "CallingConv", "::", "WebKit_JS", "?", "RetCC_ARM64_WebKit_JS", ":", "RetCC_ARM64_AAPCS", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "CCValAssign", "VA", "=", "RVLocs", "[", "i", "]", ";", "if", "(", "i", "==", "0", "&&", "isThisReturn", ")", "{", "assert", "(", "!", "VA", ".", "needsCustom", "(", ")", "&&", "VA", ".", "getLocVT", "(", ")", "==", "MVT", "::", "i64", "&&", "\"unexpected return calling convention register assignment\"", ")", ";", "InVals", ".", "push_back", "(", "ThisVal", ")", ";", "continue", ";", "}", "SDValue", "Val", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "DL", ",", "VA", ".", "getLocReg", "(", ")", ",", "VA", ".", "getLocVT", "(", ")", ",", "InFlag", ")", ";", "Chain", "=", "Val", ".", "getValue", "(", "1", ")", ";", "InFlag", "=", "Val", ".", "getValue", "(", "2", ")", ";", "switch", "(", "VA", ".", "getLocInfo", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown loc info!\"", ")", ";", "case", "CCValAssign", "::", "Full", ":", "break", ";", "case", "CCValAssign", "::", "BCvt", ":", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "BITCAST", ",", "DL", ",", "VA", ".", "getValVT", "(", ")", ",", "Val", ")", ";", "break", ";", "}", "InVals", ".", "push_back", "(", "Val", ")", ";", "}", "return", "Chain", ";", "}", ""], "natrual_language": ["LowerCallResult", "-", "Lower", "the", "result", "values", "of", "an", "ISD", ":", ":CALL", "into", "the", "appropriate", "copies", "out", "of", "appropriate", "physical", "registers", "."], "TS_V_token": ["ARM64", "ARM64", "ISD::InputArg", "ARM64", "ARM64", "16", "0", "0", "MVT::i64", "\"unexpected return calling convention register assignment\"", "1", "2", "\"Unknown loc info!\"", "ISD::BITCAST"], "File": "ARM64ISelLowering", "Func": "LowerCallResult", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3256, "Length": 285, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonGenInsert", "::", "removeDeadCode", "(", "MachineDomTreeNode", "*", "N", ")", "{", "bool", "Changed", "=", "false", ";", "typedef", "GraphTraits", "<", "MachineDomTreeNode", "*", ">", "GTN", ";", "for", "(", "auto", "I", "=", "GTN", "::", "child_begin", "(", "N", ")", ",", "E", "=", "GTN", "::", "child_end", "(", "N", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "Changed", "|=", "removeDeadCode", "(", "*", "I", ")", ";", "MachineBasicBlock", "*", "B", "=", "N", "->", "getBlock", "(", ")", ";", "std", "::", "vector", "<", "MachineInstr", "*", ">", "Instrs", ";", "for", "(", "auto", "I", "=", "B", "->", "rbegin", "(", ")", ",", "E", "=", "B", "->", "rend", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "Instrs", ".", "push_back", "(", "&", "*", "I", ")", ";", "for", "(", "auto", "I", "=", "Instrs", ".", "begin", "(", ")", ",", "E", "=", "Instrs", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "MachineInstr", "*", "MI", "=", "*", "I", ";", "unsigned", "Opc", "=", "MI", "->", "getOpcode", "(", ")", ";", "if", "(", "Opc", "==", "TargetOpcode", "::", "LIFETIME_START", "||", "Opc", "==", "TargetOpcode", "::", "LIFETIME_END", ")", "continue", ";", "bool", "Store", "=", "false", ";", "if", "(", "MI", "->", "isInlineAsm", "(", ")", "||", "!", "MI", "->", "isSafeToMove", "(", "nullptr", ",", "Store", ")", ")", "continue", ";", "bool", "AllDead", "=", "true", ";", "SmallVector", "<", "unsigned", ",", "2", ">", "Regs", ";", "for", "(", "ConstMIOperands", "Op", "(", "MI", ")", ";", "Op", ".", "isValid", "(", ")", ";", "++", "Op", ")", "{", "if", "(", "!", "Op", "->", "isReg", "(", ")", "||", "!", "Op", "->", "isDef", "(", ")", ")", "continue", ";", "unsigned", "R", "=", "Op", "->", "getReg", "(", ")", ";", "if", "(", "!", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "R", ")", "||", "!", "MRI", "->", "use_nodbg_empty", "(", "R", ")", ")", "{", "AllDead", "=", "false", ";", "break", ";", "}", "Regs", ".", "push_back", "(", "R", ")", ";", "}", "if", "(", "!", "AllDead", ")", "continue", ";", "B", "->", "erase", "(", "MI", ")", ";", "for", "(", "unsigned", "I", "=", "0", ",", "N", "=", "Regs", ".", "size", "(", ")", ";", "I", "!=", "N", ";", "++", "I", ")", "MRI", "->", "markUsesInDebugValueAsUndef", "(", "Regs", "[", "I", "]", ")", ";", "Changed", "=", "true", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["Remove", "all", "dead", "instructions", "between", "the", "I", "and", "E", "."], "TS_V_token": ["Hexagon", "Hexagon", "2", "0"], "File": "HexagonGenInsert (2)", "Func": "removeDeadCode", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3257, "Length": 344, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonTargetLowering", "::", "getTgtMemIntrinsic", "(", "IntrinsicInfo", "&", "Info", ",", "const", "CallInst", "&", "I", ",", "MachineFunction", "&", "MF", ",", "unsigned", "Intrinsic", ")", "const", "{", "switch", "(", "Intrinsic", ")", "{", "case", "Intrinsic", "::", "hexagon_L2_loadrd_pbr", ":", "case", "Intrinsic", "::", "hexagon_L2_loadri_pbr", ":", "case", "Intrinsic", "::", "hexagon_L2_loadrh_pbr", ":", "case", "Intrinsic", "::", "hexagon_L2_loadruh_pbr", ":", "case", "Intrinsic", "::", "hexagon_L2_loadrb_pbr", ":", "case", "Intrinsic", "::", "hexagon_L2_loadrub_pbr", ":", "{", "Info", ".", "opc", "=", "ISD", "::", "INTRINSIC_W_CHAIN", ";", "auto", "&", "DL", "=", "I", ".", "getCalledFunction", "(", ")", "->", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ";", "auto", "&", "Cont", "=", "I", ".", "getCalledFunction", "(", ")", "->", "getParent", "(", ")", "->", "getContext", "(", ")", ";", "Type", "*", "ElTy", "=", "I", ".", "getCalledFunction", "(", ")", "->", "getReturnType", "(", ")", "->", "getStructElementType", "(", "0", ")", ";", "Info", ".", "memVT", "=", "MVT", "::", "getVT", "(", "ElTy", ")", ";", "llvm", "::", "Value", "*", "BasePtrVal", "=", "I", ".", "getOperand", "(", "0", ")", ";", "Info", ".", "ptrVal", "=", "getUnderLyingObjectForBrevLdIntr", "(", "BasePtrVal", ")", ";", "Info", ".", "offset", "=", "0", ";", "Info", ".", "align", "=", "DL", ".", "getABITypeAlign", "(", "Info", ".", "memVT", ".", "getTypeForEVT", "(", "Cont", ")", ")", ";", "Info", ".", "flags", "=", "MachineMemOperand", "::", "MOLoad", ";", "return", "true", ";", "}", "case", "Intrinsic", "::", "hexagon_V6_vgathermw", ":", "case", "Intrinsic", "::", "hexagon_V6_vgathermw_128B", ":", "case", "Intrinsic", "::", "hexagon_V6_vgathermh", ":", "case", "Intrinsic", "::", "hexagon_V6_vgathermh_128B", ":", "case", "Intrinsic", "::", "hexagon_V6_vgathermhw", ":", "case", "Intrinsic", "::", "hexagon_V6_vgathermhw_128B", ":", "case", "Intrinsic", "::", "hexagon_V6_vgathermwq", ":", "case", "Intrinsic", "::", "hexagon_V6_vgathermwq_128B", ":", "case", "Intrinsic", "::", "hexagon_V6_vgathermhq", ":", "case", "Intrinsic", "::", "hexagon_V6_vgathermhq_128B", ":", "case", "Intrinsic", "::", "hexagon_V6_vgathermhwq", ":", "case", "Intrinsic", "::", "hexagon_V6_vgathermhwq_128B", ":", "{", "const", "Module", "&", "M", "=", "*", "I", ".", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "Info", ".", "opc", "=", "ISD", "::", "INTRINSIC_W_CHAIN", ";", "Type", "*", "VecTy", "=", "I", ".", "getArgOperand", "(", "1", ")", "->", "getType", "(", ")", ";", "Info", ".", "memVT", "=", "MVT", "::", "getVT", "(", "VecTy", ")", ";", "Info", ".", "ptrVal", "=", "I", ".", "getArgOperand", "(", "0", ")", ";", "Info", ".", "offset", "=", "0", ";", "Info", ".", "align", "=", "MaybeAlign", "(", "M", ".", "getDataLayout", "(", ")", ".", "getTypeAllocSizeInBits", "(", "VecTy", ")", "/", "8", ")", ";", "Info", ".", "flags", "=", "MachineMemOperand", "::", "MOLoad", "|", "MachineMemOperand", "::", "MOStore", "|", "MachineMemOperand", "::", "MOVolatile", ";", "return", "true", ";", "}", "default", ":", "break", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Given", "an", "intrinsic", ",", "checks", "if", "on", "the", "target", "the", "intrinsic", "will", "need", "to", "map", "to", "a", "MemIntrinsicNode", "(", "touches", "memory", ")", "."], "TS_V_token": ["Hexagon", "Hexagon", "Intrinsic::hexagon_L2_loadrd_pbr", "Intrinsic::hexagon_L2_loadri_pbr", "Intrinsic::hexagon_L2_loadrh_pbr", "Intrinsic::hexagon_L2_loadruh_pbr", "Intrinsic::hexagon_L2_loadrb_pbr", "Intrinsic::hexagon_L2_loadrub_pbr", "ISD::INTRINSIC_W_CHAIN", "0", "MVT::getVT", "0", "0", "Intrinsic::hexagon_V6_vgathermw", "Intrinsic::hexagon_V6_vgathermw_128B", "Intrinsic::hexagon_V6_vgathermh", "Intrinsic::hexagon_V6_vgathermh_128B", "Intrinsic::hexagon_V6_vgathermhw", "Intrinsic::hexagon_V6_vgathermhw_128B", "Intrinsic::hexagon_V6_vgathermwq", "Intrinsic::hexagon_V6_vgathermwq_128B", "Intrinsic::hexagon_V6_vgathermhq", "Intrinsic::hexagon_V6_vgathermhq_128B", "Intrinsic::hexagon_V6_vgathermhwq", "Intrinsic::hexagon_V6_vgathermhwq_128B", "ISD::INTRINSIC_W_CHAIN", "1", "MVT::getVT", "0", "0", "8"], "File": "HexagonISelLowering100", "Func": "getTgtMemIntrinsic", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3258, "Length": 372, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIInstrInfo", "::", "legalizeOpWithMove", "(", "MachineInstr", "&", "MI", ",", "unsigned", "OpIdx", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "I", "=", "MI", ";", "MachineBasicBlock", "*", "MBB", "=", "MI", ".", "getParent", "(", ")", ";", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpIdx", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MBB", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "unsigned", "RCID", "=", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ".", "OpInfo", "[", "OpIdx", "]", ".", "RegClass", ";", "const", "TargetRegisterClass", "*", "RC", "=", "RI", ".", "getRegClass", "(", "RCID", ")", ";", "unsigned", "Opcode", "=", "AMDGPU", "::", "V_MOV_B32_e32", ";", "if", "(", "MO", ".", "isReg", "(", ")", ")", "Opcode", "=", "AMDGPU", "::", "COPY", ";", "else", "if", "(", "RI", ".", "isSGPRClass", "(", "RC", ")", ")", "Opcode", "=", "AMDGPU", "::", "S_MOV_B32", ";", "const", "TargetRegisterClass", "*", "VRC", "=", "RI", ".", "getEquivalentVGPRClass", "(", "RC", ")", ";", "if", "(", "RI", ".", "getCommonSubClass", "(", "&", "AMDGPU", "::", "VReg_64RegClass", ",", "VRC", ")", ")", "VRC", "=", "&", "AMDGPU", "::", "VReg_64RegClass", ";", "else", "VRC", "=", "&", "AMDGPU", "::", "VGPR_32RegClass", ";", "unsigned", "Reg", "=", "MRI", ".", "createVirtualRegister", "(", "VRC", ")", ";", "DebugLoc", "DL", "=", "MBB", "->", "findDebugLoc", "(", "I", ")", ";", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "I", ",", "DL", ",", "get", "(", "Opcode", ")", ",", "Reg", ")", ".", "addOperand", "(", "MO", ")", ";", "MO", ".", "ChangeToRegister", "(", "Reg", ",", "false", ")", ";", "}", ""], "natrual_language": ["Legalize", "the", "OpIndex", "operand", "of", "this", "instruction", "by", "inserting", "a", "MOV", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU::V_MOV_B32_e32", "AMDGPU::COPY", "AMDGPU::S_MOV_B32", "AMDGPU::VReg_64RegClass", "AMDGPU::VReg_64RegClass", "AMDGPU::VGPR_32RegClass"], "File": "SIInstrInfo100", "Func": "legalizeOpWithMove", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3259, "Length": 221, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "aarch64_epilogue_uses", "(", "int", "regno", ")", "{", "if", "(", "epilogue_completed", ")", "{", "if", "(", "regno", "==", "LR_REGNUM", ")", "return", "1", ";", "if", "(", "aarch64_simd_decl_p", "(", "cfun", "->", "decl", ")", "&&", "FP_SIMD_SAVED_REGNUM_P", "(", "regno", ")", ")", "return", "1", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "1", "if", "the", "register", "is", "used", "by", "the", "epilogue", ".", "We", "need", "to", "say", "the", "return", "register", "is", "used", ",", "but", "only", "after", "epilogue", "generation", "is", "complete", ".", "Note", "that", "in", "the", "case", "of", "sibcalls", ",", "the", "values", "``", "used", "by", "the", "epilogue", "''", "are", "considered", "live", "at", "the", "start", "of", "the", "called", "function", ".", "For", "SIMD", "functions", "we", "need", "to", "return", "1", "for", "FP", "registers", "that", "are", "saved", "and", "restored", "by", "a", "function", "but", "are", "not", "zero", "in", "call_used_regs", ".", "If", "we", "do", "not", "do", "this", "optimizations", "may", "remove", "the", "restore", "of", "the", "register", "."], "TS_V_token": ["aarch64", "1", "1", "0"], "File": "aarch646", "Func": "aarch64_epilogue_uses", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3260, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_file_start", "(", "void", ")", "{", "default_file_start", "(", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.section .mdebug.%s\\n\\t.previous\\n\"", ",", "mips_mdebug_abi_name", "(", ")", ")", ";", "if", "(", "mips_abi", "==", "ABI_EABI", "||", "mips_abi", "==", "ABI_O64", ")", "fprintf", "(", "asm_out_file", ",", "\"\\t.section .gcc_compiled_long%d\\n\"", "\"\\t.previous\\n\"", ",", "TARGET_LONG64", "?", "64", ":", "32", ")", ";", "if", "(", "HAVE_AS_NAN", "||", "mips_nan", "!=", "MIPS_IEEE_754_DEFAULT", ")", "fprintf", "(", "asm_out_file", ",", "\"\\t.nan\\t%s\\n\"", ",", "mips_nan", "==", "MIPS_IEEE_754_2008", "?", "\"2008\"", ":", "\"legacy\"", ")", ";", "if", "(", "TARGET_NO_FLOAT", ")", "fputs", "(", "\"\\t.gnu_attribute 4, 0\\n\"", ",", "asm_out_file", ")", ";", ";", "else", "if", "(", "!", "TARGET_HARD_FLOAT_ABI", ")", "fputs", "(", "\"\\t.module\\tsoftfloat\\n\"", ",", "asm_out_file", ")", ";", "else", "if", "(", "!", "TARGET_DOUBLE_FLOAT", ")", "fputs", "(", "\"\\t.module\\tsinglefloat\\n\"", ",", "asm_out_file", ")", ";", "else", "if", "(", "TARGET_FLOATXX", ")", "fputs", "(", "\"\\t.module\\tfp=xx\\n\"", ",", "asm_out_file", ")", ";", "else", "if", "(", "TARGET_FLOAT64", ")", "fputs", "(", "\"\\t.module\\tfp=64\\n\"", ",", "asm_out_file", ")", ";", "else", "fputs", "(", "\"\\t.module\\tfp=32\\n\"", ",", "asm_out_file", ")", ";", "if", "(", "TARGET_ODD_SPREG", ")", "fputs", "(", "\"\\t.module\\toddspreg\\n\"", ",", "asm_out_file", ")", ";", "else", "fputs", "(", "\"\\t.module\\tnooddspreg\\n\"", ",", "asm_out_file", ")", ";", "{", "int", "attr", ";", "if", "(", "TARGET_NO_FLOAT", ")", "attr", "=", "0", ";", "else", "if", "(", "!", "TARGET_HARD_FLOAT_ABI", ")", "attr", "=", "3", ";", "else", "if", "(", "!", "TARGET_DOUBLE_FLOAT", ")", "attr", "=", "2", ";", "else", "if", "(", "TARGET_FLOATXX", ")", "attr", "=", "5", ";", "else", "if", "(", "mips_abi", "==", "ABI_32", "&&", "TARGET_FLOAT64", "&&", "TARGET_ODD_SPREG", ")", "attr", "=", "6", ";", "else", "if", "(", "mips_abi", "==", "ABI_32", "&&", "TARGET_FLOAT64", ")", "attr", "=", "7", ";", "else", "attr", "=", "1", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.gnu_attribute 4, %d\\n\"", ",", "attr", ")", ";", "}", "if", "(", "TARGET_ABICALLS", ")", "{", "fprintf", "(", "asm_out_file", ",", "\"\\t.abicalls\\n\"", ")", ";", "if", "(", "TARGET_ABICALLS_PIC0", ")", "fprintf", "(", "asm_out_file", ",", "\"\\t.option\\tpic0\\n\"", ")", ";", "}", "if", "(", "flag_verbose_asm", ")", "fprintf", "(", "asm_out_file", ",", "\"\\n%s -G value = %d, Arch = %s, ISA = %d\\n\"", ",", "ASM_COMMENT_START", ",", "mips_small_data_threshold", ",", "mips_arch_info", "->", "name", ",", "mips_isa", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_FILE_START", "."], "TS_V_token": ["mips", "\"\\t.section .mdebug.%s\\n\\t.previous\\n\"", "\"\\t.section .gcc_compiled_long%d\\n\"", "\"\\t.previous\\n\"", "64", "32", "\"\\t.nan\\t%s\\n\"", "\"2008\"", "\"legacy\"", "\"\\t.gnu_attribute 4, 0\\n\"", "\"\\t.module\\tsoftfloat\\n\"", "\"\\t.module\\tsinglefloat\\n\"", "\"\\t.module\\tfp=xx\\n\"", "\"\\t.module\\tfp=64\\n\"", "\"\\t.module\\tfp=32\\n\"", "\"\\t.module\\toddspreg\\n\"", "\"\\t.module\\tnooddspreg\\n\"", "0", "3", "2", "5", "6", "7", "1", "\"\\t.gnu_attribute 4, %d\\n\"", "\"\\t.abicalls\\n\"", "\"\\t.option\\tpic0\\n\"", "\"\\n%s -G value = %d, Arch = %s, ISA = %d\\n\""], "File": "mips4", "Func": "mips_file_start", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3261, "Length": 288, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVPassConfig", "::", "addLegalizeMachineIR", "(", ")", "{", "addPass", "(", "new", "Legalizer", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["This", "method", "should", "install", "a", "legalize", "pass", ",", "which", "converts", "the", "instruction", "sequence", "into", "one", "that", "can", "be", "selected", "by", "the", "target", "."], "TS_V_token": ["RI5CY", "RISCV"], "File": "RISCVTargetMachine", "Func": "addLegalizeMachineIR", "Target": "RI5CY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3262, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "nonpic_symbol_mentioned_p", "(", "rtx", "x", ")", "{", "const", "char", "*", "fmt", ";", "int", "i", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "||", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", "||", "GET_CODE", "(", "x", ")", "==", "PC", ")", "return", "1", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST_DOUBLE", ")", "return", "0", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", ")", "return", "0", ";", "fmt", "=", "GET_RTX_FORMAT", "(", "GET_CODE", "(", "x", ")", ")", ";", "for", "(", "i", "=", "GET_RTX_LENGTH", "(", "GET_CODE", "(", "x", ")", ")", "-", "1", ";", "i", ">=", "0", ";", "i", "--", ")", "{", "if", "(", "fmt", "[", "i", "]", "==", "'E'", ")", "{", "int", "j", ";", "for", "(", "j", "=", "XVECLEN", "(", "x", ",", "i", ")", "-", "1", ";", "j", ">=", "0", ";", "j", "--", ")", "if", "(", "nonpic_symbol_mentioned_p", "(", "XVECEXP", "(", "x", ",", "i", ",", "j", ")", ")", ")", "return", "1", ";", "}", "else", "if", "(", "fmt", "[", "i", "]", "==", "'e'", "&&", "nonpic_symbol_mentioned_p", "(", "XEXP", "(", "x", ",", "i", ")", ")", ")", "return", "1", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "X", "references", "a", "SYMBOL_REF", "or", "LABEL_REF", "whose", "symbol", "is", "n't", "protected", "by", "a", "PIC", "unspec", "."], "TS_V_token": ["lm32", "1", "0", "0", "1", "0", "1", "0", "1", "1", "0"], "File": "lm32", "Func": "nonpic_symbol_mentioned_p", "Target": "lm32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3263, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_declare_common_object", "(", "FILE", "*", "stream", ",", "const", "char", "*", "name", ",", "const", "char", "*", "init_string", ",", "unsigned", "HOST_WIDE_INT", "size", ",", "unsigned", "int", "align", ",", "bool", "takes_alignment_p", ")", "{", "if", "(", "!", "takes_alignment_p", ")", "{", "size", "+=", "(", "align", "/", "BITS_PER_UNIT", ")", "-", "1", ";", "size", "-=", "size", "%", "(", "align", "/", "BITS_PER_UNIT", ")", ";", "mips_declare_object", "(", "stream", ",", "name", ",", "init_string", ",", "\",\"", "HOST_WIDE_INT_PRINT_UNSIGNED", "\"\\n\"", ",", "size", ")", ";", "}", "else", "mips_declare_object", "(", "stream", ",", "name", ",", "init_string", ",", "\",\"", "HOST_WIDE_INT_PRINT_UNSIGNED", "\",%u\\n\"", ",", "size", ",", "align", "/", "BITS_PER_UNIT", ")", ";", "}", ""], "natrual_language": ["Declare", "a", "common", "object", "of", "SIZE", "bytes", "using", "asm", "directive", "INIT_STRING", ".", "NAME", "is", "the", "name", "of", "the", "object", "and", "ALIGN", "is", "the", "required", "alignment", "in", "bytes", ".", "TAKES_ALIGNMENT_P", "is", "true", "if", "the", "directive", "takes", "a", "third", "alignment", "argument", "."], "TS_V_token": ["mips", "1", "\",\"", "\"\\n\"", "\",\"", "\",%u\\n\""], "File": "mips", "Func": "mips_declare_common_object", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3264, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "LEGRegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["LEG", "LEG"], "File": "LEGInstrInfo", "Func": "getRegisterInfo", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3265, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MVT", "WebAssemblyTargetLowering", "::", "getScalarShiftAmountTy", "(", "const", "DataLayout", "&", ",", "EVT", "VT", ")", "const", "{", "unsigned", "BitWidth", "=", "NextPowerOf2", "(", "VT", ".", "getSizeInBits", "(", ")", "-", "1", ")", ";", "if", "(", "BitWidth", ">", "1", "&&", "BitWidth", "<", "8", ")", "BitWidth", "=", "8", ";", "if", "(", "BitWidth", ">", "64", ")", "{", "BitWidth", "=", "32", ";", "assert", "(", "BitWidth", ">=", "Log2_32_Ceil", "(", "VT", ".", "getSizeInBits", "(", ")", ")", "&&", "\"32-bit shift counts ought to be enough for anyone\"", ")", ";", "}", "MVT", "Result", "=", "MVT", "::", "getIntegerVT", "(", "BitWidth", ")", ";", "assert", "(", "Result", "!=", "MVT", "::", "INVALID_SIMPLE_VALUE_TYPE", "&&", "\"Unable to represent scalar shift amount type\"", ")", ";", "return", "Result", ";", "}", ""], "natrual_language": ["Return", "the", "type", "to", "use", "for", "a", "scalar", "shift", "opcode", ",", "given", "the", "shifted", "amount", "type", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "1", "1", "8", "8", "64", "32", "\"32-bit shift counts ought to be enough for anyone\"", "MVT::getIntegerVT", "MVT::INVALID_SIMPLE_VALUE_TYPE", "\"Unable to represent scalar shift amount type\""], "File": "WebAssemblyISelLowering (2)1", "Func": "getScalarShiftAmountTy", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3266, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "emit_cbcond_nop", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "next", "=", "next_active_insn", "(", "insn", ")", ";", "if", "(", "!", "next", ")", "return", "1", ";", "if", "(", "NONJUMP_INSN_P", "(", "next", ")", "&&", "GET_CODE", "(", "PATTERN", "(", "next", ")", ")", "==", "SEQUENCE", ")", "next", "=", "XVECEXP", "(", "PATTERN", "(", "next", ")", ",", "0", ",", "0", ")", ";", "else", "if", "(", "CALL_P", "(", "next", ")", "&&", "GET_CODE", "(", "PATTERN", "(", "next", ")", ")", "==", "PARALLEL", ")", "{", "rtx", "delay", "=", "XVECEXP", "(", "PATTERN", "(", "next", ")", ",", "0", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "delay", ")", "==", "RETURN", ")", "{", "if", "(", "sparc_leaf_function_p", "||", "TARGET_FLAT", ")", "return", "0", ";", "}", "}", "if", "(", "NONJUMP_INSN_P", "(", "next", ")", ")", "return", "0", ";", "return", "1", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "we", "should", "emit", "a", "nop", "after", "a", "cbcond", "instruction", ".", "The", "cbcond", "instruction", "does", "not", "have", "a", "delay", "slot", ",", "however", "there", "is", "a", "severe", "performance", "penalty", "if", "a", "control", "transfer", "appears", "right", "after", "a", "cbcond", ".", "Therefore", "we", "emit", "a", "nop", "when", "we", "detect", "this", "situation", "."], "TS_V_token": ["sparc", "1", "0", "0", "0", "1", "0", "0", "1"], "File": "sparc", "Func": "emit_cbcond_nop", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3267, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CJGFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["CJG", "CJG"], "File": "CJGFrameLowering", "Func": "emitEpilogue", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3268, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSymbol", "*", "WebAssemblyMCInstLower", "::", "GetExternalSymbolSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", "{", "const", "char", "*", "Name", "=", "MO", ".", "getSymbolName", "(", ")", ";", "MCSymbol", "*", "Sym", "=", "Printer", ".", "GetExternalSymbolSymbol", "(", "Name", ")", ";", "if", "(", "isa", "<", "MCSymbolELF", ">", "(", "Sym", ")", ")", "return", "Sym", ";", "MCSymbolWasm", "*", "WasmSym", "=", "cast", "<", "MCSymbolWasm", ">", "(", "Sym", ")", ";", "const", "WebAssemblySubtarget", "&", "Subtarget", "=", "Printer", ".", "getSubtarget", "(", ")", ";", "if", "(", "strcmp", "(", "Name", ",", "\"__stack_pointer\"", ")", "==", "0", ")", "{", "WasmSym", "->", "setType", "(", "wasm", "::", "WASM_SYMBOL_TYPE_GLOBAL", ")", ";", "WasmSym", "->", "setGlobalType", "(", "wasm", "::", "WasmGlobalType", "{", "uint8_t", "(", "Subtarget", ".", "hasAddr64", "(", ")", "?", "wasm", "::", "WASM_TYPE_I64", ":", "wasm", "::", "WASM_TYPE_I32", ")", ",", "true", "}", ")", ";", "return", "WasmSym", ";", "}", "SmallVector", "<", "wasm", "::", "ValType", ",", "4", ">", "Returns", ";", "SmallVector", "<", "wasm", "::", "ValType", ",", "4", ">", "Params", ";", "GetSignature", "(", "Subtarget", ",", "Name", ",", "Returns", ",", "Params", ")", ";", "WasmSym", "->", "setReturns", "(", "std", "::", "move", "(", "Returns", ")", ")", ";", "WasmSym", "->", "setParams", "(", "std", "::", "move", "(", "Params", ")", ")", ";", "WasmSym", "->", "setType", "(", "wasm", "::", "WASM_SYMBOL_TYPE_FUNCTION", ")", ";", "return", "WasmSym", ";", "}", ""], "natrual_language": ["Return", "the", "MCSymbol", "for", "the", "specified", "ExternalSymbol", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "WebAssembly", "\"__stack_pointer\"", "0", "wasm::WASM_SYMBOL_TYPE_GLOBAL", "wasm::WasmGlobalType", "wasm::WASM_TYPE_I64", "wasm::WASM_TYPE_I32", "wasm::ValType", "4", "wasm::ValType", "4", "wasm::WASM_SYMBOL_TYPE_FUNCTION"], "File": "WebAssemblyMCInstLower13", "Func": "GetExternalSymbolSymbol", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3269, "Length": 193, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "char", "X86Subtarget", "::", "classifyGlobalReference", "(", "const", "GlobalValue", "*", "GV", ",", "const", "Module", "&", "M", ")", "const", "{", "if", "(", "TM", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Large", "&&", "!", "isPositionIndependent", "(", ")", ")", "return", "X86II", "::", "MO_NO_FLAG", ";", "if", "(", "GV", ")", "{", "if", "(", "Optional", "<", "ConstantRange", ">", "CR", "=", "GV", "->", "getAbsoluteSymbolRange", "(", ")", ")", "{", "if", "(", "CR", "->", "getUnsignedMax", "(", ")", ".", "ult", "(", "128", ")", ")", "return", "X86II", "::", "MO_ABS8", ";", "else", "return", "X86II", "::", "MO_NO_FLAG", ";", "}", "}", "if", "(", "TM", ".", "shouldAssumeDSOLocal", "(", "M", ",", "GV", ")", ")", "return", "classifyLocalReference", "(", "GV", ")", ";", "if", "(", "isTargetCOFF", "(", ")", ")", "{", "if", "(", "!", "GV", ")", "return", "X86II", "::", "MO_NO_FLAG", ";", "if", "(", "GV", "->", "hasDLLImportStorageClass", "(", ")", ")", "return", "X86II", "::", "MO_DLLIMPORT", ";", "return", "X86II", "::", "MO_COFFSTUB", ";", "}", "if", "(", "isOSWindows", "(", ")", ")", "return", "X86II", "::", "MO_NO_FLAG", ";", "if", "(", "is64Bit", "(", ")", ")", "{", "if", "(", "TM", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Large", ")", "return", "isTargetELF", "(", ")", "?", "X86II", "::", "MO_GOT", ":", "X86II", "::", "MO_NO_FLAG", ";", "if", "(", "AllowTaggedGlobals", "&&", "GV", "&&", "!", "isa", "<", "Function", ">", "(", "GV", ")", ")", "return", "X86II", "::", "MO_GOTPCREL_NORELAX", ";", "return", "X86II", "::", "MO_GOTPCREL", ";", "}", "if", "(", "isTargetDarwin", "(", ")", ")", "{", "if", "(", "!", "isPositionIndependent", "(", ")", ")", "return", "X86II", "::", "MO_DARWIN_NONLAZY", ";", "return", "X86II", "::", "MO_DARWIN_NONLAZY_PIC_BASE", ";", "}", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Static", ")", "return", "X86II", "::", "MO_NO_FLAG", ";", "return", "X86II", "::", "MO_GOT", ";", "}", ""], "natrual_language": ["Classify", "a", "global", "variable", "reference", "for", "the", "current", "subtarget", "according", "to", "how", "we", "should", "reference", "it", "in", "a", "non-pcrel", "context", "."], "TS_V_token": ["X86", "X86", "X86II::MO_NO_FLAG", "128", "X86II::MO_ABS8", "X86II::MO_NO_FLAG", "X86II::MO_NO_FLAG", "X86II::MO_DLLIMPORT", "X86II::MO_COFFSTUB", "X86II::MO_NO_FLAG", "X86II::MO_GOT", "X86II::MO_NO_FLAG", "X86II::MO_GOTPCREL_NORELAX", "X86II::MO_GOTPCREL", "X86II::MO_DARWIN_NONLAZY", "X86II::MO_DARWIN_NONLAZY_PIC_BASE", "X86II::MO_NO_FLAG", "X86II::MO_GOT"], "File": "X86Subtarget41", "Func": "classifyGlobalReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3270, "Length": 256, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arc_ccfsm_branch_deleted_p", "(", "void", ")", "{", "if", "(", "arc_ccfsm_state", "==", "1", "||", "arc_ccfsm_state", "==", "2", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["See", "if", "the", "current", "insn", ",", "which", "is", "a", "conditional", "branch", ",", "is", "to", "be", "deleted", "."], "TS_V_token": ["arc", "1", "2", "1", "0"], "File": "arc3", "Func": "arc_ccfsm_branch_deleted_p", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3271, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "DataLayout", "*", "getDataLayout", "(", ")", "const", "override", "{", "return", "&", "DL", ";", "}", ""], "natrual_language": ["Return", "the", "DataLayout", "associated", "with", "the", "module", "this", "SCEV", "instance", "is", "operating", "on", "."], "TS_V_token": ["PowerPC"], "File": "PPCTargetMachine22", "Func": "getDataLayout", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3272, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "HexagonMCInst", "::", "getMinValue", "(", "void", ")", "const", "{", "const", "uint64_t", "F", "=", "MCID", ".", "TSFlags", ";", "unsigned", "isSigned", "=", "(", "F", ">>", "HexagonII", "::", "ExtentSignedPos", ")", "&", "HexagonII", "::", "ExtentSignedMask", ";", "unsigned", "bits", "=", "(", "F", ">>", "HexagonII", "::", "ExtentBitsPos", ")", "&", "HexagonII", "::", "ExtentBitsMask", ";", "if", "(", "isSigned", ")", "return", "-", "1U", "<<", "(", "bits", "-", "1", ")", ";", "else", "return", "0", ";", "}", ""], "natrual_language": ["Return", "the", "minimal", "unsigned", "value", "possible", "given", "these", "KnownBits", "."], "TS_V_token": ["Hexagon", "Hexagon", "HexagonII::ExtentSignedPos", "HexagonII::ExtentSignedMask", "HexagonII::ExtentBitsPos", "HexagonII::ExtentBitsMask", "1U", "1", "0"], "File": "HexagonMCInst4", "Func": "getMinValue", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3273, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "unsigned", "Opcode", "=", "Node", "->", "getOpcode", "(", ")", ";", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "LLVM_DEBUG", "(", "errs", "(", ")", "<<", "\"== \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "\"\\n\"", ")", ";", "Node", "->", "setNodeId", "(", "-", "1", ")", ";", "return", ";", "}", "if", "(", "trySelect", "(", "Node", ")", ")", "return", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "GLOBAL_OFFSET_TABLE", ":", "ReplaceNode", "(", "Node", ",", "getGlobalBaseReg", "(", ")", ")", ";", "return", ";", "case", "ISD", "::", "LOAD", ":", "case", "ISD", "::", "STORE", ":", "assert", "(", "(", "Subtarget", "->", "systemSupportsUnalignedAccess", "(", ")", "||", "cast", "<", "MemSDNode", ">", "(", "Node", ")", "->", "getMemoryVT", "(", ")", ".", "getSizeInBits", "(", ")", "/", "8", "<=", "cast", "<", "MemSDNode", ">", "(", "Node", ")", "->", "getAlignment", "(", ")", ")", "&&", "\"Unexpected unaligned loads/stores.\"", ")", ";", "break", ";", "}", "SelectCode", "(", "Node", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["Mips", "Mips", "\"== \"", "\"\\n\"", "1", "ISD::GLOBAL_OFFSET_TABLE", "ISD::LOAD", "ISD::STORE", "8", "\"Unexpected unaligned loads/stores.\""], "File": "MipsISelDAGToDAG12", "Func": "Select", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3274, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "standard_sse_constant_opcode", "(", "rtx_insn", "*", "insn", ",", "rtx", "*", "operands", ")", "{", "machine_mode", "mode", ";", "rtx", "x", "=", "operands", "[", "1", "]", ";", "gcc_assert", "(", "TARGET_SSE", ")", ";", "mode", "=", "GET_MODE", "(", "x", ")", ";", "if", "(", "x", "==", "const0_rtx", "||", "const0_operand", "(", "x", ",", "mode", ")", ")", "{", "switch", "(", "get_attr_mode", "(", "insn", ")", ")", "{", "case", "MODE_TI", ":", "if", "(", "!", "EXT_REX_SSE_REG_P", "(", "operands", "[", "0", "]", ")", ")", "return", "\"%vpxor\\t%0, %d0\"", ";", "case", "MODE_XI", ":", "case", "MODE_OI", ":", "if", "(", "EXT_REX_SSE_REG_P", "(", "operands", "[", "0", "]", ")", ")", "return", "(", "TARGET_AVX512VL", "?", "\"vpxord\\t%x0, %x0, %x0\"", ":", "\"vpxord\\t%g0, %g0, %g0\"", ")", ";", "return", "\"vpxor\\t%x0, %x0, %x0\"", ";", "case", "MODE_V2DF", ":", "if", "(", "!", "EXT_REX_SSE_REG_P", "(", "operands", "[", "0", "]", ")", ")", "return", "\"%vxorpd\\t%0, %d0\"", ";", "case", "MODE_V8DF", ":", "case", "MODE_V4DF", ":", "if", "(", "!", "EXT_REX_SSE_REG_P", "(", "operands", "[", "0", "]", ")", ")", "return", "\"vxorpd\\t%x0, %x0, %x0\"", ";", "else", "if", "(", "TARGET_AVX512DQ", ")", "return", "(", "TARGET_AVX512VL", "?", "\"vxorpd\\t%x0, %x0, %x0\"", ":", "\"vxorpd\\t%g0, %g0, %g0\"", ")", ";", "else", "return", "(", "TARGET_AVX512VL", "?", "\"vpxorq\\t%x0, %x0, %x0\"", ":", "\"vpxorq\\t%g0, %g0, %g0\"", ")", ";", "case", "MODE_V4SF", ":", "if", "(", "!", "EXT_REX_SSE_REG_P", "(", "operands", "[", "0", "]", ")", ")", "return", "\"%vxorps\\t%0, %d0\"", ";", "case", "MODE_V16SF", ":", "case", "MODE_V8SF", ":", "if", "(", "!", "EXT_REX_SSE_REG_P", "(", "operands", "[", "0", "]", ")", ")", "return", "\"vxorps\\t%x0, %x0, %x0\"", ";", "else", "if", "(", "TARGET_AVX512DQ", ")", "return", "(", "TARGET_AVX512VL", "?", "\"vxorps\\t%x0, %x0, %x0\"", ":", "\"vxorps\\t%g0, %g0, %g0\"", ")", ";", "else", "return", "(", "TARGET_AVX512VL", "?", "\"vpxord\\t%x0, %x0, %x0\"", ":", "\"vpxord\\t%g0, %g0, %g0\"", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "else", "if", "(", "x", "==", "constm1_rtx", "||", "vector_all_ones_operand", "(", "x", ",", "mode", ")", "||", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_FLOAT", "&&", "float_vector_all_ones_operand", "(", "x", ",", "mode", ")", ")", ")", "{", "enum", "attr_mode", "insn_mode", "=", "get_attr_mode", "(", "insn", ")", ";", "switch", "(", "insn_mode", ")", "{", "case", "MODE_XI", ":", "case", "MODE_V8DF", ":", "case", "MODE_V16SF", ":", "gcc_assert", "(", "TARGET_AVX512F", ")", ";", "return", "\"vpternlogd\\t{$0xFF, %g0, %g0, %g0|%g0, %g0, %g0, 0xFF}\"", ";", "case", "MODE_OI", ":", "case", "MODE_V4DF", ":", "case", "MODE_V8SF", ":", "gcc_assert", "(", "TARGET_AVX2", ")", ";", "case", "MODE_TI", ":", "case", "MODE_V2DF", ":", "case", "MODE_V4SF", ":", "gcc_assert", "(", "TARGET_SSE2", ")", ";", "if", "(", "!", "EXT_REX_SSE_REG_P", "(", "operands", "[", "0", "]", ")", ")", "return", "(", "TARGET_AVX", "?", "\"vpcmpeqd\\t%0, %0, %0\"", ":", "\"pcmpeqd\\t%0, %0\"", ")", ";", "else", "if", "(", "TARGET_AVX512VL", ")", "return", "\"vpternlogd\\t{$0xFF, %0, %0, %0|%0, %0, %0, 0xFF}\"", ";", "else", "return", "\"vpternlogd\\t{$0xFF, %g0, %g0, %g0|%g0, %g0, %g0, 0xFF}\"", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "opcode", "of", "the", "special", "instruction", "to", "be", "used", "to", "load", "the", "constant", "X", "."], "TS_V_token": ["i386", "1", "0", "\"%vpxor\\t%0, %d0\"", "0", "\"vpxord\\t%x0, %x0, %x0\"", "\"vpxord\\t%g0, %g0, %g0\"", "\"vpxor\\t%x0, %x0, %x0\"", "0", "\"%vxorpd\\t%0, %d0\"", "0", "\"vxorpd\\t%x0, %x0, %x0\"", "\"vxorpd\\t%x0, %x0, %x0\"", "\"vxorpd\\t%g0, %g0, %g0\"", "\"vpxorq\\t%x0, %x0, %x0\"", "\"vpxorq\\t%g0, %g0, %g0\"", "0", "\"%vxorps\\t%0, %d0\"", "0", "\"vxorps\\t%x0, %x0, %x0\"", "\"vxorps\\t%x0, %x0, %x0\"", "\"vxorps\\t%g0, %g0, %g0\"", "\"vpxord\\t%x0, %x0, %x0\"", "\"vpxord\\t%g0, %g0, %g0\"", "\"vpternlogd\\t{$0xFF, %g0, %g0, %g0|%g0, %g0, %g0, 0xFF}\"", "0", "\"vpcmpeqd\\t%0, %0, %0\"", "\"pcmpeqd\\t%0, %0\"", "\"vpternlogd\\t{$0xFF, %0, %0, %0|%0, %0, %0, 0xFF}\"", "\"vpternlogd\\t{$0xFF, %g0, %g0, %g0|%g0, %g0, %g0, 0xFF}\""], "File": "i386", "Func": "standard_sse_constant_opcode", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3275, "Length": 369, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "epiphany_address_cost", "(", "rtx", "addr", ",", "machine_mode", "mode", ",", "addr_space_t", "as", "ATTRIBUTE_UNUSED", ",", "bool", "speed", ")", "{", "rtx", "reg", ";", "rtx", "off", "=", "const0_rtx", ";", "int", "i", ";", "if", "(", "speed", ")", "return", "0", ";", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "case", "PLUS", ":", "reg", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "off", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "break", ";", "case", "POST_MODIFY", ":", "reg", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "off", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "off", ")", "==", "PLUS", "&&", "rtx_equal_p", "(", "reg", ",", "XEXP", "(", "off", ",", "0", ")", ")", ")", ";", "off", "=", "XEXP", "(", "off", ",", "1", ")", ";", "if", "(", "satisfies_constraint_Rgs", "(", "reg", ")", "&&", "satisfies_constraint_Rgs", "(", "off", ")", ")", "return", "0", ";", "return", "1", ";", "case", "REG", ":", "default", ":", "reg", "=", "addr", ";", "break", ";", "}", "if", "(", "!", "satisfies_constraint_Rgs", "(", "reg", ")", ")", "return", "1", ";", "if", "(", "!", "satisfies_constraint_L", "(", "off", ")", ")", "return", "1", ";", "i", "=", "INTVAL", "(", "off", ")", ";", "switch", "(", "GET_MODE_SIZE", "(", "mode", ")", ")", "{", "default", ":", "case", "4", ":", "if", "(", "i", "&", "1", ")", "return", "1", ";", "i", ">>=", "1", ";", "case", "2", ":", "if", "(", "i", "&", "1", ")", "return", "1", ";", "i", ">>=", "1", ";", "case", "1", ":", "return", "i", "<", "-", "7", "||", "i", ">", "7", ";", "}", "}", ""], "natrual_language": ["Provide", "the", "costs", "of", "an", "addressing", "mode", "that", "contains", "ADDR", ".", "If", "ADDR", "is", "not", "a", "valid", "address", ",", "its", "cost", "is", "irrelevant", "."], "TS_V_token": ["epiphany", "0", "0", "1", "0", "1", "0", "1", "0", "1", "1", "1", "4", "1", "1", "1", "2", "1", "1", "1", "1", "7", "7"], "File": "epiphany", "Func": "epiphany_address_cost", "Target": "epiphany", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3276, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "alpha_in_small_data_p", "(", "const_tree", "exp", ")", "{", "if", "(", "TREE_CODE", "(", "exp", ")", "==", "STRING_CST", ")", "return", "false", ";", "if", "(", "TREE_CODE", "(", "exp", ")", "==", "FUNCTION_DECL", ")", "return", "false", ";", "if", "(", "TREE_CODE", "(", "exp", ")", "==", "VAR_DECL", "&&", "DECL_COMMON", "(", "exp", ")", ")", "return", "false", ";", "if", "(", "TREE_CODE", "(", "exp", ")", "==", "VAR_DECL", "&&", "DECL_SECTION_NAME", "(", "exp", ")", ")", "{", "const", "char", "*", "section", "=", "DECL_SECTION_NAME", "(", "exp", ")", ";", "if", "(", "strcmp", "(", "section", ",", "\".sdata\"", ")", "==", "0", "||", "strcmp", "(", "section", ",", "\".sbss\"", ")", "==", "0", ")", "return", "true", ";", "}", "else", "{", "HOST_WIDE_INT", "size", "=", "int_size_in_bytes", "(", "TREE_TYPE", "(", "exp", ")", ")", ";", "if", "(", "size", ">", "0", "&&", "size", "<=", "g_switch_value", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "EXP", "should", "be", "placed", "in", "the", "small", "data", "section", "."], "TS_V_token": ["alpha", "\".sdata\"", "0", "\".sbss\"", "0", "0"], "File": "alpha", "Func": "alpha_in_small_data_p", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3277, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_probe_stack_range", "(", "rtx", "reg", ",", "rtx", "end", ")", "{", "static", "int", "labelno", "=", "0", ";", "char", "loop_lab", "[", "32", "]", ",", "end_lab", "[", "32", "]", ";", "rtx", "xops", "[", "3", "]", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "loop_lab", ",", "\"LPSRL\"", ",", "labelno", ")", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "end_lab", ",", "\"LPSRE\"", ",", "labelno", "++", ")", ";", "ASM_OUTPUT_INTERNAL_LABEL", "(", "asm_out_file", ",", "loop_lab", ")", ";", "xops", "[", "0", "]", "=", "reg", ";", "xops", "[", "1", "]", "=", "end", ";", "output_asm_insn", "(", "\"cmp%z0\\t{%1, %0|%0, %1}\"", ",", "xops", ")", ";", "fputs", "(", "\"\\tje\\t\"", ",", "asm_out_file", ")", ";", "assemble_name_raw", "(", "asm_out_file", ",", "end_lab", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "xops", "[", "1", "]", "=", "GEN_INT", "(", "PROBE_INTERVAL", ")", ";", "output_asm_insn", "(", "\"sub%z0\\t{%1, %0|%0, %1}\"", ",", "xops", ")", ";", "xops", "[", "0", "]", "=", "stack_pointer_rtx", ";", "xops", "[", "1", "]", "=", "reg", ";", "xops", "[", "2", "]", "=", "const0_rtx", ";", "output_asm_insn", "(", "\"or%z0\\t{%2, (%0,%1)|DWORD PTR [%0+%1], %2}\"", ",", "xops", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\tjmp\\t\"", ")", ";", "assemble_name_raw", "(", "asm_out_file", ",", "loop_lab", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "ASM_OUTPUT_INTERNAL_LABEL", "(", "asm_out_file", ",", "end_lab", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Wrapper", "around", "the", "output_probe_stack_range", "routines", "."], "TS_V_token": ["i386", "0", "32", "32", "3", "\"LPSRL\"", "\"LPSRE\"", "0", "1", "\"cmp%z0\\t{%1, %0|%0, %1}\"", "\"\\tje\\t\"", "1", "\"sub%z0\\t{%1, %0|%0, %1}\"", "0", "1", "2", "\"or%z0\\t{%2, (%0,%1)|DWORD PTR [%0+%1], %2}\"", "\"\\tjmp\\t\"", "\"\""], "File": "i3864", "Func": "output_probe_stack_range", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3278, "Length": 180, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "pdp11_assemble_integer", "(", "rtx", "x", ",", "unsigned", "int", "size", ",", "int", "aligned_p", ")", "{", "if", "(", "aligned_p", ")", "switch", "(", "size", ")", "{", "case", "1", ":", "fprintf", "(", "asm_out_file", ",", "\"\\t.byte\\t\"", ")", ";", "output_addr_const_pdp11", "(", "asm_out_file", ",", "x", ")", ";", "fprintf", "(", "asm_out_file", ",", "\" /* char */\\n\"", ")", ";", "return", "true", ";", "case", "2", ":", "fprintf", "(", "asm_out_file", ",", "TARGET_UNIX_ASM", "?", "\"\\t\"", ":", "\"\\t.word\\t\"", ")", ";", "output_addr_const_pdp11", "(", "asm_out_file", ",", "x", ")", ";", "fprintf", "(", "asm_out_file", ",", "\" /* short */\\n\"", ")", ";", "return", "true", ";", "}", "return", "default_assemble_integer", "(", "x", ",", "size", ",", "aligned_p", ")", ";", "}", ""], "natrual_language": ["Target", "hook", "to", "assemble", "integer", "objects", ".", "We", "need", "to", "use", "the", "pdp-specific", "version", "of", "output_addr_const", "."], "TS_V_token": ["pdp11", "1", "\"\\t.byte\\t\"", "\" /* char */\\n\"", "2", "\"\\t\"", "\"\\t.word\\t\"", "\" /* short */\\n\""], "File": "pdp113", "Func": "pdp11_assemble_integer", "Target": "pdp11", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3279, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "arm_valid_target_attribute_tree", "(", "tree", "args", ",", "struct", "gcc_options", "*", "opts", ",", "struct", "gcc_options", "*", "opts_set", ")", "{", "struct", "cl_target_option", "cl_opts", ";", "if", "(", "!", "arm_valid_target_attribute_rec", "(", "args", ",", "opts", ")", ")", "return", "NULL_TREE", ";", "cl_target_option_save", "(", "&", "cl_opts", ",", "opts", ",", "opts_set", ")", ";", "arm_configure_build_target", "(", "&", "arm_active_target", ",", "&", "cl_opts", ",", "false", ")", ";", "arm_option_check_internal", "(", "opts", ")", ";", "arm_option_reconfigure_globals", "(", ")", ";", "arm_options_perform_arch_sanity_checks", "(", ")", ";", "arm_option_override_internal", "(", "opts", ",", "opts_set", ")", ";", "return", "build_target_option_node", "(", "opts", ",", "opts_set", ")", ";", "}", ""], "natrual_language": ["Return", "a", "TARGET_OPTION_NODE", "tree", "of", "the", "target", "options", "listed", "or", "NULL", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_valid_target_attribute_tree", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3280, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "J2TargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "&", "MI", ",", "MachineBasicBlock", "*", "MBB", ")", "const", "{", "auto", "MF", "=", "MBB", "->", "getParent", "(", ")", ";", "auto", "&", "Ctx", "=", "MF", "->", "getFunction", "(", ")", ".", "getContext", "(", ")", ";", "auto", "&", "TTI", "=", "*", "static_cast", "<", "const", "J2Subtarget", "&", ">", "(", "MF", "->", "getSubtarget", "(", ")", ")", ".", "getInstrInfo", "(", ")", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "J2", "::", "MOV32ir", ":", "{", "switch", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "getType", "(", ")", ")", "{", "case", "MachineOperand", "::", "MO_Immediate", ":", "{", "auto", "MBBI", "=", "MI", ".", "getIterator", "(", ")", ";", "auto", "Pool", "=", "MF", "->", "getConstantPool", "(", ")", ";", "auto", "Imm", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "auto", "Constant", "=", "ConstantInt", "::", "getSigned", "(", "IntegerType", "::", "get", "(", "Ctx", ",", "32", ")", ",", "Imm", ")", ";", "auto", "CPI", "=", "Pool", "->", "getConstantPoolIndex", "(", "Constant", ",", "4", ")", ";", "BuildMI", "(", "*", "MBB", ",", "MBBI", ",", "MBBI", "->", "getDebugLoc", "(", ")", ",", "TTI", ".", "get", "(", "J2", "::", "MOV32PCR", ")", ",", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "addConstantPoolIndex", "(", "CPI", ")", ";", "(", "MBBI", "++", ")", "->", "eraseFromParent", "(", ")", ";", "return", "MBB", ";", "}", "default", ":", "llvm_unreachable", "(", "\"Unexpected operand type for MOV32ir\"", ")", ";", "}", "break", ";", "}", "default", ":", "llvm_unreachable", "(", "\"Unexpected instr type to insert\"", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "."], "TS_V_token": ["J2", "J2", "J2", "J2::MOV32ir", "1", "1", "32", "4", "J2::MOV32PCR", "0", "\"Unexpected operand type for MOV32ir\"", "\"Unexpected instr type to insert\""], "File": "J2ISelLowering", "Func": "EmitInstrWithCustomInserter", "Target": "J2", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3281, "Length": 232, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "XCoreTargetMachine", "::", "XCoreTargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "TLOF", "(", "make_unique", "<", "XCoreTargetObjectFile", ">", "(", ")", ")", ",", "DL", "(", "\"e-m:e-p:32:32-i1:8:32-i8:8:32-i16:16:32-i64:32-f64:32-a:0:32-n32\"", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "*", "this", ")", "{", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "ILP32", "architecture", "model", "."], "TS_V_token": ["XCore", "XCore", "XCore", "XCore", "\"e-m:e-p:32:32-i1:8:32-i8:8:32-i16:16:32-i64:32-f64:32-a:0:32-n32\""], "File": "XCoreTargetMachine26", "Func": "XCoreTargetMachine", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3282, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "mips16_gp_pseudo_reg", "(", ")", "{", "if", "(", "mips16_gp_pseudo_rtx", "==", "NULL_RTX", ")", "{", "rtx", "const_gp", ";", "rtx", "insn", ",", "scan", ";", "mips16_gp_pseudo_rtx", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "RTX_UNCHANGING_P", "(", "mips16_gp_pseudo_rtx", ")", "=", "1", ";", "const_gp", "=", "gen_rtx", "(", "CONST", ",", "Pmode", ",", "gen_rtx", "(", "REG", ",", "Pmode", ",", "GP_REG_FIRST", "+", "28", ")", ")", ";", "start_sequence", "(", ")", ";", "emit_move_insn", "(", "mips16_gp_pseudo_rtx", ",", "const_gp", ")", ";", "insn", "=", "gen_sequence", "(", ")", ";", "end_sequence", "(", ")", ";", "push_topmost_sequence", "(", ")", ";", "for", "(", "scan", "=", "get_insns", "(", ")", ";", "scan", "!=", "NULL_RTX", ";", "scan", "=", "NEXT_INSN", "(", "scan", ")", ")", "if", "(", "GET_CODE", "(", "scan", ")", "==", "NOTE", "&&", "NOTE_LINE_NUMBER", "(", "scan", ")", "==", "NOTE_INSN_FUNCTION_BEG", ")", "break", ";", "if", "(", "scan", "==", "NULL_RTX", ")", "scan", "=", "get_insns", "(", ")", ";", "insn", "=", "emit_insn_after", "(", "insn", ",", "scan", ")", ";", "pop_topmost_sequence", "(", ")", ";", "}", "return", "mips16_gp_pseudo_rtx", ";", "}", ""], "natrual_language": ["If", "we", "can", "access", "small", "data", "directly", "(", "using", "gp-relative", "relocation", "operators", ")", "return", "the", "small", "data", "pointer", ",", "otherwise", "return", "null", ".", "For", "each", "mips16", "function", "which", "refers", "to", "GP", "relative", "symbols", ",", "we", "use", "a", "pseudo", "register", ",", "initialized", "at", "the", "start", "of", "the", "function", ",", "to", "hold", "the", "$", "gp", "value", "."], "TS_V_token": ["mips", "1", "28"], "File": "mips2", "Func": "mips16_gp_pseudo_reg", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3283, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsAsmParser", "::", "checkTargetMatchPredicate", "(", "MCInst", "&", "Inst", ")", "{", "switch", "(", "Inst", ".", "getOpcode", "(", ")", ")", "{", "case", "Mips", "::", "JALR_HB", ":", "case", "Mips", "::", "JALRC_HB_MMR6", ":", "case", "Mips", "::", "JALRC_MMR6", ":", "if", "(", "Inst", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "==", "Inst", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", "return", "Match_RequiresDifferentSrcAndDst", ";", "return", "Match_Success", ";", "case", "Mips", "::", "LWP_MM", ":", "case", "Mips", "::", "LWP_MMR6", ":", "if", "(", "Inst", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "==", "Inst", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", "return", "Match_RequiresDifferentSrcAndDst", ";", "return", "Match_Success", ";", "case", "Mips", "::", "BLEZC", ":", "case", "Mips", "::", "BLEZC_MMR6", ":", "case", "Mips", "::", "BGEZC", ":", "case", "Mips", "::", "BGEZC_MMR6", ":", "case", "Mips", "::", "BGTZC", ":", "case", "Mips", "::", "BGTZC_MMR6", ":", "case", "Mips", "::", "BLTZC", ":", "case", "Mips", "::", "BLTZC_MMR6", ":", "case", "Mips", "::", "BEQZC", ":", "case", "Mips", "::", "BEQZC_MMR6", ":", "case", "Mips", "::", "BNEZC", ":", "case", "Mips", "::", "BNEZC_MMR6", ":", "case", "Mips", "::", "BLEZC64", ":", "case", "Mips", "::", "BGEZC64", ":", "case", "Mips", "::", "BGTZC64", ":", "case", "Mips", "::", "BLTZC64", ":", "case", "Mips", "::", "BEQZC64", ":", "case", "Mips", "::", "BNEZC64", ":", "if", "(", "Inst", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "==", "Mips", "::", "ZERO", "||", "Inst", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "==", "Mips", "::", "ZERO_64", ")", "return", "Match_RequiresNoZeroRegister", ";", "return", "Match_Success", ";", "case", "Mips", "::", "BGEC", ":", "case", "Mips", "::", "BGEC_MMR6", ":", "case", "Mips", "::", "BLTC", ":", "case", "Mips", "::", "BLTC_MMR6", ":", "case", "Mips", "::", "BGEUC", ":", "case", "Mips", "::", "BGEUC_MMR6", ":", "case", "Mips", "::", "BLTUC", ":", "case", "Mips", "::", "BLTUC_MMR6", ":", "case", "Mips", "::", "BEQC", ":", "case", "Mips", "::", "BEQC_MMR6", ":", "case", "Mips", "::", "BNEC", ":", "case", "Mips", "::", "BNEC_MMR6", ":", "case", "Mips", "::", "BGEC64", ":", "case", "Mips", "::", "BLTC64", ":", "case", "Mips", "::", "BGEUC64", ":", "case", "Mips", "::", "BLTUC64", ":", "case", "Mips", "::", "BEQC64", ":", "case", "Mips", "::", "BNEC64", ":", "if", "(", "Inst", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "==", "Mips", "::", "ZERO", "||", "Inst", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "==", "Mips", "::", "ZERO_64", ")", "return", "Match_RequiresNoZeroRegister", ";", "if", "(", "Inst", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "Mips", "::", "ZERO", "||", "Inst", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "Mips", "::", "ZERO_64", ")", "return", "Match_RequiresNoZeroRegister", ";", "if", "(", "Inst", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "==", "Inst", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", "return", "Match_RequiresDifferentOperands", ";", "return", "Match_Success", ";", "default", ":", "return", "Match_Success", ";", "}", "}", ""], "natrual_language": ["checkTargetMatchPredicate", "-", "Validate", "the", "instruction", "match", "against", "any", "complex", "target", "predicates", "not", "expressible", "via", "match", "classes", "."], "TS_V_token": ["Mips", "Mips", "Mips::JALR_HB", "Mips::JALRC_HB_MMR6", "Mips::JALRC_MMR6", "0", "1", "Mips::LWP_MM", "Mips::LWP_MMR6", "0", "2", "Mips::BLEZC", "Mips::BLEZC_MMR6", "Mips::BGEZC", "Mips::BGEZC_MMR6", "Mips::BGTZC", "Mips::BGTZC_MMR6", "Mips::BLTZC", "Mips::BLTZC_MMR6", "Mips::BEQZC", "Mips::BEQZC_MMR6", "Mips::BNEZC", "Mips::BNEZC_MMR6", "Mips::BLEZC64", "Mips::BGEZC64", "Mips::BGTZC64", "Mips::BLTZC64", "Mips::BEQZC64", "Mips::BNEZC64", "0", "Mips::ZERO", "0", "Mips::ZERO_64", "Mips::BGEC", "Mips::BGEC_MMR6", "Mips::BLTC", "Mips::BLTC_MMR6", "Mips::BGEUC", "Mips::BGEUC_MMR6", "Mips::BLTUC", "Mips::BLTUC_MMR6", "Mips::BEQC", "Mips::BEQC_MMR6", "Mips::BNEC", "Mips::BNEC_MMR6", "Mips::BGEC64", "Mips::BLTC64", "Mips::BGEUC64", "Mips::BLTUC64", "Mips::BEQC64", "Mips::BNEC64", "0", "Mips::ZERO", "0", "Mips::ZERO_64", "1", "Mips::ZERO", "1", "Mips::ZERO_64", "0", "1"], "File": "MipsAsmParser74", "Func": "checkTargetMatchPredicate", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3284, "Length": 429, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "Function", "&", "getFunction", "(", ")", "const", "{", "return", "Fn", ";", "}", ""], "natrual_language": ["getFunction", "-", "Return", "this", "trace", "'s", "parent", "function", "."], "TS_V_token": ["R600"], "File": "AMDGPUISelLowering100", "Func": "getFunction", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3285, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIRegisterInfo", "::", "resolveFrameIndex", "(", "MachineInstr", "&", "MI", ",", "Register", "BaseReg", ",", "int64_t", "Offset", ")", "const", "{", "const", "SIInstrInfo", "*", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "bool", "SeenFI", "=", "false", ";", "for", "(", "const", "MachineOperand", "&", "MO", ":", "MI", ".", "operands", "(", ")", ")", "{", "if", "(", "MO", ".", "isFI", "(", ")", ")", "{", "if", "(", "SeenFI", ")", "llvm_unreachable", "(", "\"should not see multiple frame indices\"", ")", ";", "SeenFI", "=", "true", ";", "}", "}", "MachineOperand", "*", "FIOp", "=", "TII", "->", "getNamedOperand", "(", "MI", ",", "AMDGPU", "::", "OpName", "::", "vaddr", ")", ";", "MachineBasicBlock", "*", "MBB", "=", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "*", "MF", "=", "MBB", "->", "getParent", "(", ")", ";", "assert", "(", "FIOp", "&&", "FIOp", "->", "isFI", "(", ")", "&&", "\"frame index must be address operand\"", ")", ";", "assert", "(", "TII", "->", "isMUBUF", "(", "MI", ")", ")", ";", "MachineOperand", "*", "SOffset", "=", "TII", "->", "getNamedOperand", "(", "MI", ",", "AMDGPU", "::", "OpName", "::", "soffset", ")", ";", "assert", "(", "SOffset", "->", "getReg", "(", ")", "==", "MF", "->", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", "->", "getStackPtrOffsetReg", "(", ")", "&&", "\"should only be seeing stack pointer offset relative FrameIndex\"", ")", ";", "MachineOperand", "*", "OffsetOp", "=", "TII", "->", "getNamedOperand", "(", "MI", ",", "AMDGPU", "::", "OpName", "::", "offset", ")", ";", "int64_t", "NewOffset", "=", "OffsetOp", "->", "getImm", "(", ")", "+", "Offset", ";", "assert", "(", "isUInt", "<", "12", ">", "(", "NewOffset", ")", "&&", "\"offset should be legal\"", ")", ";", "FIOp", "->", "ChangeToRegister", "(", "BaseReg", ",", "false", ")", ";", "OffsetOp", "->", "setImm", "(", "NewOffset", ")", ";", "SOffset", "->", "ChangeToImmediate", "(", "0", ")", ";", "}", ""], "natrual_language": ["Resolve", "a", "frame", "index", "operand", "of", "an", "instruction", "to", "reference", "the", "indicated", "base", "register", "plus", "offset", "instead", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "\"should not see multiple frame indices\"", "AMDGPU::OpName", "\"frame index must be address operand\"", "AMDGPU::OpName", "SI", "\"should only be seeing stack pointer offset relative FrameIndex\"", "AMDGPU::OpName", "12", "\"offset should be legal\"", "0"], "File": "SIRegisterInfo63", "Func": "resolveFrameIndex", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3286, "Length": 237, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "R600TargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "SDLoc", "DL", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "getTargetMachine", "(", ")", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "unsigned", "ShaderType", "=", "MF", ".", "getInfo", "<", "R600MachineFunctionInfo", ">", "(", ")", "->", "ShaderType", ";", "SmallVector", "<", "ISD", "::", "InputArg", ",", "8", ">", "LocalIns", ";", "getOriginalFunctionArgs", "(", "DAG", ",", "MF", ".", "getFunction", "(", ")", ",", "Ins", ",", "LocalIns", ")", ";", "AnalyzeFormalArguments", "(", "CCInfo", ",", "LocalIns", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "Ins", ".", "size", "(", ")", ";", "i", "<", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "ArgLocs", "[", "i", "]", ";", "EVT", "VT", "=", "Ins", "[", "i", "]", ".", "VT", ";", "EVT", "MemVT", "=", "LocalIns", "[", "i", "]", ".", "VT", ";", "if", "(", "ShaderType", "!=", "ShaderType", "::", "COMPUTE", ")", "{", "unsigned", "Reg", "=", "MF", ".", "addLiveIn", "(", "VA", ".", "getLocReg", "(", ")", ",", "&", "AMDGPU", "::", "R600_Reg128RegClass", ")", ";", "SDValue", "Register", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "DL", ",", "Reg", ",", "VT", ")", ";", "InVals", ".", "push_back", "(", "Register", ")", ";", "continue", ";", "}", "PointerType", "*", "PtrTy", "=", "PointerType", "::", "get", "(", "VT", ".", "getTypeForEVT", "(", "*", "DAG", ".", "getContext", "(", ")", ")", ",", "AMDGPUAS", "::", "CONSTANT_BUFFER_0", ")", ";", "ISD", "::", "LoadExtType", "Ext", "=", "ISD", "::", "SEXTLOAD", ";", "SDValue", "Arg", "=", "DAG", ".", "getExtLoad", "(", "Ext", ",", "DL", ",", "VT", ",", "Chain", ",", "DAG", ".", "getConstant", "(", "36", "+", "VA", ".", "getLocMemOffset", "(", ")", ",", "MVT", "::", "i32", ")", ",", "MachinePointerInfo", "(", "UndefValue", "::", "get", "(", "PtrTy", ")", ")", ",", "MemVT", ",", "false", ",", "false", ",", "4", ")", ";", "InVals", ".", "push_back", "(", "Arg", ")", ";", "}", "return", "Chain", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "the", "Ins", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["R600", "ISD::InputArg", "16", "ISD::InputArg", "8", "0", "AMDGPUAS::CONSTANT_BUFFER_0", "ISD::LoadExtType", "ISD::SEXTLOAD", "36", "MVT::i32", "4"], "File": "R600ISelLowering", "Func": "LowerFormalArguments", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3287, "Length": 336, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "msp430_hard_regno_nregs", "(", "unsigned", "int", ",", "machine_mode", "mode", ")", "{", "if", "(", "mode", "==", "PSImode", "&&", "msp430x", ")", "return", "1", ";", "if", "(", "mode", "==", "CPSImode", "&&", "msp430x", ")", "return", "2", ";", "return", "(", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ")", ";", "}", ""], "natrual_language": ["Implements", "HARD_REGNO_NREGS", ".", "MSP430X", "registers", "can", "hold", "a", "single", "PSImode", "value", ",", "but", "not", "an", "SImode", "value", "."], "TS_V_token": ["msp430", "1", "2", "1"], "File": "msp430", "Func": "msp430_hard_regno_nregs", "Target": "msp430", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3288, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIRegisterInfo", "::", "isFrameOffsetLegal", "(", "const", "MachineInstr", "*", "MI", ",", "Register", "BaseReg", ",", "int64_t", "Offset", ")", "const", "{", "if", "(", "!", "SIInstrInfo", "::", "isMUBUF", "(", "*", "MI", ")", "&&", "!", "SIInstrInfo", "::", "isFLATScratch", "(", "*", "MI", ")", ")", "return", "false", ";", "int64_t", "NewOffset", "=", "Offset", "+", "getScratchInstrOffset", "(", "MI", ")", ";", "if", "(", "SIInstrInfo", "::", "isMUBUF", "(", "*", "MI", ")", ")", "return", "SIInstrInfo", "::", "isLegalMUBUFImmOffset", "(", "NewOffset", ")", ";", "const", "SIInstrInfo", "*", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "return", "TII", "->", "isLegalFLATOffset", "(", "NewOffset", ",", "AMDGPUAS", "::", "PRIVATE_ADDRESS", ",", "SIInstrFlags", "::", "FlatScratch", ")", ";", "}", ""], "natrual_language": ["Determine", "whether", "a", "given", "base", "register", "plus", "offset", "immediate", "is", "encodable", "to", "resolve", "a", "frame", "index", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "SI", "SI", "SI", "AMDGPU", "SIInstrFlags::FlatScratch"], "File": "SIRegisterInfo (3)", "Func": "isFrameOffsetLegal", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3289, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_binds_local_p", "(", "const_tree", "exp", ")", "{", "bool", "direct_extern_access", "=", "(", "ix86_direct_extern_access", "&&", "!", "(", "VAR_OR_FUNCTION_DECL_P", "(", "exp", ")", "&&", "lookup_attribute", "(", "\"nodirect_extern_access\"", ",", "DECL_ATTRIBUTES", "(", "exp", ")", ")", ")", ")", ";", "if", "(", "!", "direct_extern_access", ")", "ix86_has_no_direct_extern_access", "=", "true", ";", "return", "default_binds_local_p_3", "(", "exp", ",", "flag_shlib", "!=", "0", ",", "true", ",", "direct_extern_access", ",", "(", "direct_extern_access", "&&", "(", "!", "flag_pic", "||", "(", "TARGET_64BIT", "&&", "HAVE_LD_PIE_COPYRELOC", "!=", "0", ")", ")", ")", ")", ";", "}", ""], "natrual_language": ["For", "i386", ",", "common", "symbol", "is", "local", "only", "for", "non-PIE", "binaries", ".", "For", "x86-64", ",", "common", "symbol", "is", "local", "only", "for", "non-PIE", "binaries", "or", "linker", "supports", "copy", "reloc", "in", "PIE", "binaries", "."], "TS_V_token": ["i386", "\"nodirect_extern_access\"", "0", "0"], "File": "i386", "Func": "ix86_binds_local_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3290, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64IndirectThunks", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "initTIs", "(", "M", ",", "TIs", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64SLSHardening", "Func": "doInitialization", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3291, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "GCNTTIImpl", "::", "collectFlatAddressOperands", "(", "SmallVectorImpl", "<", "int", ">", "&", "OpIndexes", ",", "Intrinsic", "::", "ID", "IID", ")", "const", "{", "switch", "(", "IID", ")", "{", "case", "Intrinsic", "::", "amdgcn_atomic_inc", ":", "case", "Intrinsic", "::", "amdgcn_atomic_dec", ":", "case", "Intrinsic", "::", "amdgcn_ds_fadd", ":", "case", "Intrinsic", "::", "amdgcn_ds_fmin", ":", "case", "Intrinsic", "::", "amdgcn_ds_fmax", ":", "case", "Intrinsic", "::", "amdgcn_is_shared", ":", "case", "Intrinsic", "::", "amdgcn_is_private", ":", "OpIndexes", ".", "push_back", "(", "0", ")", ";", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Return", "any", "intrinsic", "address", "operand", "indexes", "which", "may", "be", "rewritten", "if", "they", "use", "a", "flat", "address", "space", "pointer", "."], "TS_V_token": ["AMDGPU", "Intrinsic::ID", "Intrinsic::amdgcn_atomic_inc", "Intrinsic::amdgcn_atomic_dec", "Intrinsic::amdgcn_ds_fadd", "Intrinsic::amdgcn_ds_fmin", "Intrinsic::amdgcn_ds_fmax", "Intrinsic::amdgcn_is_shared", "Intrinsic::amdgcn_is_private", "0"], "File": "AMDGPUTargetTransformInfo (2)1", "Func": "collectFlatAddressOperands", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3292, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "X86TargetLowering", "::", "getSSPStackGuardCheck", "(", "const", "Module", "&", "M", ")", "const", "{", "if", "(", "Subtarget", ".", "getTargetTriple", "(", ")", ".", "isOSMSVCRT", "(", ")", ")", "return", "M", ".", "getFunction", "(", "\"__security_check_cookie\"", ")", ";", "return", "TargetLowering", "::", "getSSPStackGuardCheck", "(", "M", ")", ";", "}", ""], "natrual_language": ["If", "the", "target", "has", "a", "standard", "stack", "protection", "check", "function", "that", "performs", "validation", "and", "error", "handling", ",", "returns", "the", "function", "."], "TS_V_token": ["X86", "X86", "\"__security_check_cookie\""], "File": "X86ISelLowering (3)", "Func": "getSSPStackGuardCheck", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3293, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "X86FrameLowering", "::", "restoreWin32EHStackPointers", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "const", "DebugLoc", "&", "DL", ",", "bool", "RestoreSP", ")", "const", "{", "assert", "(", "STI", ".", "isTargetWindowsMSVC", "(", ")", "&&", "\"funclets only supported in MSVC env\"", ")", ";", "assert", "(", "STI", ".", "isTargetWin32", "(", ")", "&&", "\"EBP/ESI restoration only required on win32\"", ")", ";", "assert", "(", "STI", ".", "is32Bit", "(", ")", "&&", "!", "Uses64BitFramePtr", "&&", "\"restoring EBP/ESI on non-32-bit target\"", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "unsigned", "FramePtr", "=", "TRI", "->", "getFrameRegister", "(", "MF", ")", ";", "unsigned", "BasePtr", "=", "TRI", "->", "getBaseRegister", "(", ")", ";", "WinEHFuncInfo", "&", "FuncInfo", "=", "*", "MF", ".", "getWinEHFuncInfo", "(", ")", ";", "X86MachineFunctionInfo", "*", "X86FI", "=", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "int", "FI", "=", "FuncInfo", ".", "EHRegNodeFrameIndex", ";", "int", "EHRegSize", "=", "MFI", ".", "getObjectSize", "(", "FI", ")", ";", "if", "(", "RestoreSP", ")", "{", "addRegOffset", "(", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "X86", "::", "MOV32rm", ")", ",", "X86", "::", "ESP", ")", ",", "X86", "::", "EBP", ",", "true", ",", "-", "EHRegSize", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "unsigned", "UsedReg", ";", "int", "EHRegOffset", "=", "getFrameIndexReference", "(", "MF", ",", "FI", ",", "UsedReg", ")", ";", "int", "EndOffset", "=", "-", "EHRegOffset", "-", "EHRegSize", ";", "FuncInfo", ".", "EHRegNodeEndOffset", "=", "EndOffset", ";", "if", "(", "UsedReg", "==", "FramePtr", ")", "{", "unsigned", "ADDri", "=", "getADDriOpcode", "(", "false", ",", "EndOffset", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "ADDri", ")", ",", "FramePtr", ")", ".", "addReg", "(", "FramePtr", ")", ".", "addImm", "(", "EndOffset", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "assert", "(", "EndOffset", ">=", "0", "&&", "\"end of registration object above normal EBP position!\"", ")", ";", "}", "else", "if", "(", "UsedReg", "==", "BasePtr", ")", "{", "addRegOffset", "(", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "X86", "::", "LEA32r", ")", ",", "BasePtr", ")", ",", "FramePtr", ",", "false", ",", "EndOffset", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "assert", "(", "X86FI", "->", "getHasSEHFramePtrSave", "(", ")", ")", ";", "int", "Offset", "=", "getFrameIndexReference", "(", "MF", ",", "X86FI", "->", "getSEHFramePtrSaveIndex", "(", ")", ",", "UsedReg", ")", ";", "assert", "(", "UsedReg", "==", "BasePtr", ")", ";", "addRegOffset", "(", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "X86", "::", "MOV32rm", ")", ",", "FramePtr", ")", ",", "UsedReg", ",", "true", ",", "Offset", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "else", "{", "llvm_unreachable", "(", "\"32-bit frames with WinEH must use FramePtr or BasePtr\"", ")", ";", "}", "return", "MBBI", ";", "}", ""], "natrual_language": ["Sets", "up", "EBP", "and", "optionally", "ESI", "based", "on", "the", "incoming", "EBP", "value", "."], "TS_V_token": ["X86", "X86", "\"funclets only supported in MSVC env\"", "\"EBP/ESI restoration only required on win32\"", "\"restoring EBP/ESI on non-32-bit target\"", "X86", "X86", "X86", "X86::MOV32rm", "X86::ESP", "X86::EBP", "3", "0", "\"end of registration object above normal EBP position!\"", "X86::LEA32r", "X86", "X86", "X86::MOV32rm", "\"32-bit frames with WinEH must use FramePtr or BasePtr\""], "File": "X86FrameLowering (2)2", "Func": "restoreWin32EHStackPointers", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3294, "Length": 415, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nios2_print_operand", "(", "FILE", "*", "file", ",", "rtx", "op", ",", "int", "letter", ")", "{", "switch", "(", "letter", ")", "{", "case", "'i'", ":", "if", "(", "CONSTANT_P", "(", "op", ")", "&&", "op", "!=", "const0_rtx", ")", "fprintf", "(", "file", ",", "\"i\"", ")", ";", "return", ";", "case", "'o'", ":", "if", "(", "GET_CODE", "(", "op", ")", "==", "MEM", "&&", "(", "(", "MEM_VOLATILE_P", "(", "op", ")", "&&", "TARGET_BYPASS_CACHE_VOLATILE", ")", "||", "TARGET_BYPASS_CACHE", ")", ")", "fprintf", "(", "file", ",", "\"io\"", ")", ";", "return", ";", "default", ":", "break", ";", "}", "if", "(", "comparison_operator", "(", "op", ",", "VOIDmode", ")", ")", "{", "enum", "rtx_code", "cond", "=", "GET_CODE", "(", "op", ")", ";", "if", "(", "letter", "==", "0", ")", "{", "fprintf", "(", "file", ",", "\"%s\"", ",", "GET_RTX_NAME", "(", "cond", ")", ")", ";", "return", ";", "}", "if", "(", "letter", "==", "'R'", ")", "{", "fprintf", "(", "file", ",", "\"%s\"", ",", "GET_RTX_NAME", "(", "reverse_condition", "(", "cond", ")", ")", ")", ";", "return", ";", "}", "}", "switch", "(", "GET_CODE", "(", "op", ")", ")", "{", "case", "REG", ":", "if", "(", "letter", "==", "0", "||", "letter", "==", "'z'", ")", "{", "fprintf", "(", "file", ",", "\"%s\"", ",", "reg_names", "[", "REGNO", "(", "op", ")", "]", ")", ";", "return", ";", "}", "else", "if", "(", "letter", "==", "'D'", ")", "{", "fprintf", "(", "file", ",", "\"%s\"", ",", "reg_names", "[", "REGNO", "(", "op", ")", "+", "1", "]", ")", ";", "return", ";", "}", "break", ";", "case", "CONST_INT", ":", "if", "(", "INTVAL", "(", "op", ")", "==", "0", "&&", "letter", "==", "'z'", ")", "{", "fprintf", "(", "file", ",", "\"zero\"", ")", ";", "return", ";", "}", "if", "(", "letter", "==", "'U'", ")", "{", "HOST_WIDE_INT", "val", "=", "INTVAL", "(", "op", ")", ";", "val", "=", "(", "val", ">>", "16", ")", "&", "0xFFFF", ";", "output_addr_const", "(", "file", ",", "gen_int_mode", "(", "val", ",", "SImode", ")", ")", ";", "return", ";", "}", "case", "CONST", ":", "case", "LABEL_REF", ":", "case", "SYMBOL_REF", ":", "case", "CONST_DOUBLE", ":", "if", "(", "letter", "==", "0", "||", "letter", "==", "'z'", ")", "{", "output_addr_const", "(", "file", ",", "op", ")", ";", "return", ";", "}", "else", "if", "(", "letter", "==", "'H'", "||", "letter", "==", "'L'", ")", "{", "fprintf", "(", "file", ",", "\"%%\"", ")", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "op", ",", "0", ")", ")", "==", "UNSPEC", ")", "{", "rtx", "unspec", "=", "XEXP", "(", "op", ",", "0", ")", ";", "int", "unspec_reloc", "=", "XINT", "(", "unspec", ",", "1", ")", ";", "gcc_assert", "(", "nios2_large_offset_p", "(", "unspec_reloc", ")", ")", ";", "fprintf", "(", "file", ",", "\"%s_\"", ",", "nios2_unspec_reloc_name", "(", "unspec_reloc", ")", ")", ";", "op", "=", "XVECEXP", "(", "unspec", ",", "0", ",", "0", ")", ";", "}", "fprintf", "(", "file", ",", "letter", "==", "'H'", "?", "\"hiadj(\"", ":", "\"lo(\"", ")", ";", "output_addr_const", "(", "file", ",", "op", ")", ";", "fprintf", "(", "file", ",", "\")\"", ")", ";", "return", ";", "}", "break", ";", "case", "SUBREG", ":", "case", "MEM", ":", "if", "(", "letter", "==", "0", ")", "{", "output_address", "(", "op", ")", ";", "return", ";", "}", "break", ";", "case", "CODE_LABEL", ":", "if", "(", "letter", "==", "0", ")", "{", "output_addr_const", "(", "file", ",", "op", ")", ";", "return", ";", "}", "break", ";", "default", ":", "break", ";", "}", "output_operand_lossage", "(", "\"Unsupported operand for code '%c'\"", ",", "letter", ")", ";", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Print", "the", "operand", "OP", "to", "file", "stream", "FILE", "modified", "by", "LETTER", ".", "LETTER", "can", "be", "one", "of", ":", "i", ":", "print", "``", "i", "''", "if", "OP", "is", "an", "immediate", ",", "except", "0", "o", ":", "print", "``", "io", "''", "if", "OP", "is", "volatile", "z", ":", "for", "const0_rtx", "print", "$", "0", "instead", "of", "0", "H", ":", "for", "%", "hiadj", "L", ":", "for", "%", "lo", "U", ":", "for", "upper", "half", "of", "32", "bit", "value", "D", ":", "for", "the", "upper", "32-bits", "of", "a", "64-bit", "double", "value", "R", ":", "prints", "reverse", "condition", "."], "TS_V_token": ["nios2", "\"i\"", "\"io\"", "0", "\"%s\"", "\"%s\"", "0", "\"%s\"", "\"%s\"", "1", "0", "\"zero\"", "16", "0xFFFF", "0", "\"%%\"", "0", "0", "1", "\"%s_\"", "0", "0", "\"hiadj(\"", "\"lo(\"", "\")\"", "0", "0", "\"Unsupported operand for code '%c'\""], "File": "nios22", "Func": "nios2_print_operand", "Target": "nios2", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3295, "Length": 506, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "override_options", "(", "void", ")", "{", "target_flags", "&=", "~", "MASK_GPOPT", ";", "iq2000_isa", "=", "IQ2000_ISA_DEFAULT", ";", "iq2000_print_operand_punct", "[", "'?'", "]", "=", "1", ";", "iq2000_print_operand_punct", "[", "'#'", "]", "=", "1", ";", "iq2000_print_operand_punct", "[", "'&'", "]", "=", "1", ";", "iq2000_print_operand_punct", "[", "'!'", "]", "=", "1", ";", "iq2000_print_operand_punct", "[", "'*'", "]", "=", "1", ";", "iq2000_print_operand_punct", "[", "'@'", "]", "=", "1", ";", "iq2000_print_operand_punct", "[", "'.'", "]", "=", "1", ";", "iq2000_print_operand_punct", "[", "'('", "]", "=", "1", ";", "iq2000_print_operand_punct", "[", "')'", "]", "=", "1", ";", "iq2000_print_operand_punct", "[", "'['", "]", "=", "1", ";", "iq2000_print_operand_punct", "[", "']'", "]", "=", "1", ";", "iq2000_print_operand_punct", "[", "'<'", "]", "=", "1", ";", "iq2000_print_operand_punct", "[", "'>'", "]", "=", "1", ";", "iq2000_print_operand_punct", "[", "'{'", "]", "=", "1", ";", "iq2000_print_operand_punct", "[", "'}'", "]", "=", "1", ";", "iq2000_print_operand_punct", "[", "'^'", "]", "=", "1", ";", "iq2000_print_operand_punct", "[", "'$'", "]", "=", "1", ";", "iq2000_print_operand_punct", "[", "'+'", "]", "=", "1", ";", "iq2000_print_operand_punct", "[", "'~'", "]", "=", "1", ";", "gpr_mode", "=", "SImode", ";", "init_machine_status", "=", "iq2000_init_machine_status", ";", "}", ""], "natrual_language": ["Set", "global", "variables", "as", "needed", "for", "the", "options", "enabled", "."], "TS_V_token": ["iq2000", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1"], "File": "iq20002", "Func": "override_options", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3296, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_legitimate_combined_insn", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "(", "INSN_CODE", "(", "insn", ")", "=", "recog", "(", "PATTERN", "(", "insn", ")", ",", "insn", ",", "0", ")", ")", ">=", "0", ")", "{", "int", "i", ";", "extract_insn", "(", "insn", ")", ";", "preprocess_constraints", "(", "insn", ")", ";", "int", "n_operands", "=", "recog_data", ".", "n_operands", ";", "int", "n_alternatives", "=", "recog_data", ".", "n_alternatives", ";", "for", "(", "i", "=", "0", ";", "i", "<", "n_operands", ";", "i", "++", ")", "{", "rtx", "op", "=", "recog_data", ".", "operand", "[", "i", "]", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "op", ")", ";", "const", "operand_alternative", "*", "op_alt", ";", "int", "offset", "=", "0", ";", "bool", "win", ";", "int", "j", ";", "if", "(", "!", "TARGET_AVX", "&&", "VECTOR_MODE_P", "(", "GET_MODE", "(", "op", ")", ")", "&&", "misaligned_operand", "(", "op", ",", "GET_MODE", "(", "op", ")", ")", ")", "{", "int", "min_align", "=", "get_attr_ssememalign", "(", "insn", ")", ";", "if", "(", "min_align", "==", "0", ")", "return", "false", ";", "}", "if", "(", "UNARY_P", "(", "op", ")", ")", "op", "=", "XEXP", "(", "op", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "SUBREG", ")", "{", "if", "(", "REG_P", "(", "SUBREG_REG", "(", "op", ")", ")", "&&", "REGNO", "(", "SUBREG_REG", "(", "op", ")", ")", "<", "FIRST_PSEUDO_REGISTER", ")", "offset", "=", "subreg_regno_offset", "(", "REGNO", "(", "SUBREG_REG", "(", "op", ")", ")", ",", "GET_MODE", "(", "SUBREG_REG", "(", "op", ")", ")", ",", "SUBREG_BYTE", "(", "op", ")", ",", "GET_MODE", "(", "op", ")", ")", ";", "op", "=", "SUBREG_REG", "(", "op", ")", ";", "}", "if", "(", "!", "(", "REG_P", "(", "op", ")", "&&", "HARD_REGISTER_P", "(", "op", ")", ")", ")", "continue", ";", "op_alt", "=", "recog_op_alt", ";", "win", "=", "!", "n_alternatives", ";", "alternative_mask", "preferred", "=", "get_preferred_alternatives", "(", "insn", ")", ";", "for", "(", "j", "=", "0", ";", "j", "<", "n_alternatives", ";", "j", "++", ",", "op_alt", "+=", "n_operands", ")", "{", "if", "(", "!", "TEST_BIT", "(", "preferred", ",", "j", ")", ")", "continue", ";", "if", "(", "op_alt", "[", "i", "]", ".", "anything_ok", "||", "(", "op_alt", "[", "i", "]", ".", "matches", "!=", "-", "1", "&&", "operands_match_p", "(", "recog_data", ".", "operand", "[", "i", "]", ",", "recog_data", ".", "operand", "[", "op_alt", "[", "i", "]", ".", "matches", "]", ")", ")", "||", "reg_fits_class_p", "(", "op", ",", "op_alt", "[", "i", "]", ".", "cl", ",", "offset", ",", "mode", ")", ")", "{", "win", "=", "true", ";", "break", ";", "}", "}", "if", "(", "!", "win", ")", "return", "false", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_LEGITIMATE_COMBINED_INSN", "hook", "."], "TS_V_token": ["i386", "0", "0", "0", "0", "0", "0", "0", "1"], "File": "i3864", "Func": "ix86_legitimate_combined_insn", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3297, "Length": 381, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARCFrameLowering", "::", "assignCalleeSavedSpillSlots", "(", "MachineFunction", "&", "MF", ",", "const", "TargetRegisterInfo", "*", "TRI", ",", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ")", "const", "{", "int", "CurOffset", "=", "-", "4", ";", "unsigned", "Last", "=", "determineLastCalleeSave", "(", "CSI", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "int", "StackObj", "=", "MFI", ".", "CreateFixedSpillStackObject", "(", "4", ",", "CurOffset", ",", "true", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Creating fixed object (\"", "<<", "StackObj", "<<", "\") for FP at \"", "<<", "CurOffset", "<<", "\"\\n\"", ")", ";", "(", "void", ")", "StackObj", ";", "CurOffset", "-=", "4", ";", "}", "if", "(", "MFI", ".", "hasCalls", "(", ")", "||", "(", "UseSaveRestoreFunclet", "&&", "Last", ">", "ARC", "::", "R14", ")", ")", "{", "int", "StackObj", "=", "MFI", ".", "CreateFixedSpillStackObject", "(", "4", ",", "CurOffset", ",", "true", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Creating fixed object (\"", "<<", "StackObj", "<<", "\") for BLINK at \"", "<<", "CurOffset", "<<", "\"\\n\"", ")", ";", "(", "void", ")", "StackObj", ";", "CurOffset", "-=", "4", ";", "}", "for", "(", "unsigned", "Which", "=", "Last", ";", "Which", ">", "ARC", "::", "R12", ";", "Which", "--", ")", "{", "auto", "RegI", "=", "getSavedReg", "(", "CSI", ",", "Which", ")", ";", "if", "(", "RegI", "==", "CSI", ".", "end", "(", ")", "||", "RegI", "->", "getFrameIdx", "(", ")", "==", "0", ")", "{", "int", "FI", "=", "MFI", ".", "CreateFixedSpillStackObject", "(", "4", ",", "CurOffset", ",", "true", ")", ";", "if", "(", "RegI", "!=", "CSI", ".", "end", "(", ")", ")", "RegI", "->", "setFrameIdx", "(", "FI", ")", ";", "}", "else", "MFI", ".", "setObjectOffset", "(", "RegI", "->", "getFrameIdx", "(", ")", ",", "CurOffset", ")", ";", "CurOffset", "-=", "4", ";", "}", "for", "(", "auto", "&", "I", ":", "CSI", ")", "{", "if", "(", "I", ".", "getReg", "(", ")", ">", "ARC", "::", "R12", ")", "continue", ";", "if", "(", "I", ".", "getFrameIdx", "(", ")", "==", "0", ")", "{", "I", ".", "setFrameIdx", "(", "MFI", ".", "CreateFixedSpillStackObject", "(", "4", ",", "CurOffset", ",", "true", ")", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Creating fixed object (\"", "<<", "I", ".", "getFrameIdx", "(", ")", "<<", "\") for other register at \"", "<<", "CurOffset", "<<", "\"\\n\"", ")", ";", "}", "else", "{", "MFI", ".", "setObjectOffset", "(", "I", ".", "getFrameIdx", "(", ")", ",", "CurOffset", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Updating fixed object (\"", "<<", "I", ".", "getFrameIdx", "(", ")", "<<", "\") for other register at \"", "<<", "CurOffset", "<<", "\"\\n\"", ")", ";", "}", "CurOffset", "-=", "4", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["This", "function", "will", "assign", "callee", "saved", "gprs", "to", "volatile", "vector", "registers", "for", "prologue", "spills", "when", "applicable", "."], "TS_V_token": ["ARC", "ARC", "4", "4", "\"Creating fixed object (\"", "\") for FP at \"", "\"\\n\"", "4", "ARC::R14", "4", "\"Creating fixed object (\"", "\") for BLINK at \"", "\"\\n\"", "4", "ARC::R12", "0", "4", "4", "ARC::R12", "0", "4", "\"Creating fixed object (\"", "\") for other register at \"", "\"\\n\"", "\"Updating fixed object (\"", "\") for other register at \"", "\"\\n\"", "4"], "File": "ARCFrameLowering", "Func": "assignCalleeSavedSpillSlots", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3298, "Length": 373, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSection", "*", "ARMElfTargetObjectFile", "::", "getExplicitSectionGlobal", "(", "const", "GlobalObject", "*", "GO", ",", "SectionKind", "SK", ",", "const", "TargetMachine", "&", "TM", ")", "const", "{", "if", "(", "genExecuteOnly", "&&", "SK", ".", "isText", "(", ")", ")", "SK", "=", "SectionKind", "::", "getExecuteOnly", "(", ")", ";", "return", "TargetLoweringObjectFileELF", "::", "getExplicitSectionGlobal", "(", "GO", ",", "SK", ",", "TM", ")", ";", "}", ""], "natrual_language": ["Targets", "should", "implement", "this", "method", "to", "assign", "a", "section", "to", "globals", "with", "an", "explicit", "section", "specfied", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMTargetObjectFile1", "Func": "getExplicitSectionGlobal", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3299, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Wasn't expecting to be able to lower this!\"", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "LowerConstantPool", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "LowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalTLSAddress", ":", "return", "LowerGlobalTLSAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "JumpTable", ":", "return", "LowerJumpTable", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SETCC", ":", "return", "LowerSETCC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INIT_TRAMPOLINE", ":", "return", "LowerINIT_TRAMPOLINE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ADJUST_TRAMPOLINE", ":", "return", "LowerADJUST_TRAMPOLINE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ",", "Subtarget", ")", ";", "case", "ISD", "::", "VAARG", ":", "return", "LowerVAARG", "(", "Op", ",", "DAG", ",", "Subtarget", ")", ";", "case", "ISD", "::", "VACOPY", ":", "return", "LowerVACOPY", "(", "Op", ",", "DAG", ",", "Subtarget", ")", ";", "case", "ISD", "::", "STACKRESTORE", ":", "return", "LowerSTACKRESTORE", "(", "Op", ",", "DAG", ",", "Subtarget", ")", ";", "case", "ISD", "::", "DYNAMIC_STACKALLOC", ":", "return", "LowerDYNAMIC_STACKALLOC", "(", "Op", ",", "DAG", ",", "Subtarget", ")", ";", "case", "ISD", "::", "EH_SJLJ_SETJMP", ":", "return", "lowerEH_SJLJ_SETJMP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "EH_SJLJ_LONGJMP", ":", "return", "lowerEH_SJLJ_LONGJMP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "LOAD", ":", "return", "LowerLOAD", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "LowerSTORE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "TRUNCATE", ":", "return", "LowerTRUNCATE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FP_TO_UINT", ":", "case", "ISD", "::", "FP_TO_SINT", ":", "return", "LowerFP_TO_INT", "(", "Op", ",", "DAG", ",", "SDLoc", "(", "Op", ")", ")", ";", "case", "ISD", "::", "UINT_TO_FP", ":", "case", "ISD", "::", "SINT_TO_FP", ":", "return", "LowerINT_TO_FP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FLT_ROUNDS_", ":", "return", "LowerFLT_ROUNDS_", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SHL_PARTS", ":", "return", "LowerSHL_PARTS", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SRL_PARTS", ":", "return", "LowerSRL_PARTS", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SRA_PARTS", ":", "return", "LowerSRA_PARTS", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BUILD_VECTOR", ":", "return", "LowerBUILD_VECTOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VECTOR_SHUFFLE", ":", "return", "LowerVECTOR_SHUFFLE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "LowerINTRINSIC_WO_CHAIN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SCALAR_TO_VECTOR", ":", "return", "LowerSCALAR_TO_VECTOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SIGN_EXTEND_INREG", ":", "return", "LowerSIGN_EXTEND_INREG", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "EXTRACT_VECTOR_ELT", ":", "return", "LowerEXTRACT_VECTOR_ELT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "MUL", ":", "return", "LowerMUL", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_W_CHAIN", ":", "return", "SDValue", "(", ")", ";", "case", "ISD", "::", "RETURNADDR", ":", "return", "LowerRETURNADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "LowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["PowerPC", "PPC", "\"Wasn't expecting to be able to lower this!\"", "ISD::ConstantPool", "ISD::BlockAddress", "ISD::GlobalAddress", "ISD::GlobalTLSAddress", "ISD::JumpTable", "ISD::SETCC", "ISD::INIT_TRAMPOLINE", "ISD::ADJUST_TRAMPOLINE", "ISD::VASTART", "ISD::VAARG", "ISD::VACOPY", "ISD::STACKRESTORE", "ISD::DYNAMIC_STACKALLOC", "ISD::EH_SJLJ_SETJMP", "ISD::EH_SJLJ_LONGJMP", "ISD::LOAD", "ISD::STORE", "ISD::TRUNCATE", "ISD::SELECT_CC", "ISD::FP_TO_UINT", "ISD::FP_TO_SINT", "ISD::UINT_TO_FP", "ISD::SINT_TO_FP", "ISD::FLT_ROUNDS_", "ISD::SHL_PARTS", "ISD::SRL_PARTS", "ISD::SRA_PARTS", "ISD::BUILD_VECTOR", "ISD::VECTOR_SHUFFLE", "ISD::INTRINSIC_WO_CHAIN", "ISD::SCALAR_TO_VECTOR", "ISD::SIGN_EXTEND_INREG", "ISD::EXTRACT_VECTOR_ELT", "ISD::MUL", "ISD::INTRINSIC_W_CHAIN", "ISD::RETURNADDR", "ISD::FRAMEADDR"], "File": "PPCISelLowering1", "Func": "LowerOperation", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3300, "Length": 509, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "AtomicExpansionKind", "AMDGPUTargetLowering", "::", "shouldExpandAtomicRMWInIR", "(", "AtomicRMWInst", "*", "RMW", ")", "const", "{", "if", "(", "RMW", "->", "getOperation", "(", ")", "==", "AtomicRMWInst", "::", "Nand", ")", "return", "AtomicExpansionKind", "::", "CmpXChg", ";", "return", "AtomicExpansionKind", "::", "None", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "IR-level", "AtomicExpand", "pass", "should", "expand", "the", "given", "AtomicRMW", ",", "if", "at", "all", "."], "TS_V_token": ["AMDGPU", "AMDGPU"], "File": "AMDGPUISelLowering106", "Func": "shouldExpandAtomicRMWInIR", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3301, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "m32c_print_operand_punct_valid_p", "(", "unsigned", "char", "c", ")", "{", "if", "(", "c", "==", "'&'", "||", "c", "==", "'!'", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implements", "PRINT_OPERAND_PUNCT_VALID_P", ".", "See", "m32c_print_operand", "above", "for", "descriptions", "of", "what", "these", "do", "."], "TS_V_token": ["m32c"], "File": "m32c", "Func": "m32c_print_operand_punct_valid_p", "Target": "m32c", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3302, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "s390_legitimate_constant_p", "(", "machine_mode", "mode", ",", "rtx", "op", ")", "{", "if", "(", "!", "SYMBOLIC_CONST", "(", "op", ")", ")", "return", "1", ";", "if", "(", "TARGET_CPU_ZARCH", "&&", "larl_operand", "(", "op", ",", "mode", ")", ")", "return", "1", ";", "if", "(", "TLS_SYMBOLIC_CONST", "(", "op", ")", ")", "return", "0", ";", "if", "(", "flag_pic", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "constant", "value", "OP", "is", "a", "legitimate", "general", "operand", ".", "It", "is", "given", "that", "OP", "satisfies", "CONSTANT_P", "or", "is", "a", "CONST_DOUBLE", "."], "TS_V_token": ["s390", "1", "1", "0", "1", "0"], "File": "s3904", "Func": "s390_legitimate_constant_p", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3303, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "func_fma_steering", "::", "analyze", "(", ")", "{", "int", "i", ",", "n_blocks", ",", "*", "bb_dfs_preorder", ";", "basic_block", "bb", ";", "rtx_insn", "*", "insn", ";", "bb_dfs_preorder", "=", "XNEWVEC", "(", "int", ",", "last_basic_block_for_fn", "(", "cfun", ")", ")", ";", "n_blocks", "=", "pre_and_rev_post_order_compute", "(", "bb_dfs_preorder", ",", "NULL", ",", "false", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "n_blocks", ";", "i", "++", ")", "{", "bb", "=", "BASIC_BLOCK_FOR_FN", "(", "cfun", ",", "bb_dfs_preorder", "[", "i", "]", ")", ";", "FOR_BB_INSNS", "(", "bb", ",", "insn", ")", "{", "operand_rr_info", "*", "dest_op_info", ";", "struct", "du_chain", "*", "chain", "=", "NULL", ";", "unsigned", "dest_regno", ";", "fma_forest", "*", "forest", "=", "NULL", ";", "du_head_p", "head", "=", "NULL", ";", "int", "i", ";", "if", "(", "!", "is_fmul_fmac_insn", "(", "insn", ",", "true", ")", ")", "continue", ";", "dest_op_info", "=", "insn_rr", "[", "INSN_UID", "(", "insn", ")", "]", ".", "op_info", ";", "dest_regno", "=", "REGNO", "(", "SET_DEST", "(", "PATTERN", "(", "insn", ")", ")", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "dest_op_info", "->", "n_chains", ";", "i", "++", ")", "{", "if", "(", "dest_op_info", "->", "heads", "[", "i", "]", "->", "regno", "!=", "dest_regno", ")", "continue", ";", "head", "=", "dest_op_info", "->", "heads", "[", "i", "]", ";", "if", "(", "!", "head", "->", "first", ")", "head", "=", "regrename_chain_from_id", "(", "head", "->", "id", ")", ";", "forest", "=", "NULL", ";", "for", "(", "chain", "=", "head", "->", "first", ";", "chain", ";", "chain", "=", "chain", "->", "next_use", ")", "{", "fma_node", "*", "*", "fma_slot", ";", "if", "(", "!", "is_fmul_fmac_insn", "(", "chain", "->", "insn", ",", "true", ")", ")", "continue", ";", "if", "(", "chain", "->", "loc", "!=", "&", "SET_DEST", "(", "PATTERN", "(", "chain", "->", "insn", ")", ")", ")", "continue", ";", "if", "(", "chain", "->", "insn", "==", "insn", ")", "break", ";", "fma_slot", "=", "this", "->", "m_insn_fma_head_map", "->", "get", "(", "chain", "->", "insn", ")", ";", "if", "(", "fma_slot", "&&", "(", "*", "fma_slot", ")", "->", "get_children", "(", ")", ")", "forest", "=", "(", "*", "fma_slot", ")", "->", "get_forest", "(", ")", ";", "}", "if", "(", "chain", ")", "break", ";", "}", "gcc_assert", "(", "i", "<", "dest_op_info", "->", "n_chains", ")", ";", "this", "->", "analyze_fma_fmul_insn", "(", "forest", ",", "chain", ",", "head", ")", ";", "}", "}", "free", "(", "bb_dfs_preorder", ")", ";", "if", "(", "dump_file", ")", "this", "->", "dfs", "(", "dump_forest_info", ",", "dump_tree_root_info", ",", "dump_tree_node_info", ",", "false", ")", ";", "}", ""], "natrual_language": ["Count", "how", "many", "times", "each", "regno", "is", "referenced", "as", "base", "address", "for", "a", "memory", "access", "."], "TS_V_token": ["aarch64", "0", "0"], "File": "cortex-a57-fma-steering3", "Func": "analyze", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3304, "Length": 358, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isReg", "(", ")", "const", "{", "return", "Kind", "==", "MachineOperand", "::", "MO_Register", ";", "}", ""], "natrual_language": ["isReg", "-", "Is", "this", "a", "register", "operand", "?"], "TS_V_token": ["AMDGPU"], "File": "SIFoldOperands", "Func": "isReg", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3305, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_save_reg", "(", "unsigned", "int", "regno", ",", "bool", "maybe_eh_return", ",", "bool", "ignore_outlined", ")", "{", "if", "(", "cfun", "->", "machine", "->", "no_caller_saved_registers", ")", "{", "rtx", "reg", "=", "crtl", "->", "return_rtx", ";", "if", "(", "reg", ")", "{", "unsigned", "int", "i", "=", "REGNO", "(", "reg", ")", ";", "unsigned", "int", "nregs", "=", "REG_NREGS", "(", "reg", ")", ";", "while", "(", "nregs", "--", ">", "0", ")", "if", "(", "(", "i", "+", "nregs", ")", "==", "regno", ")", "return", "false", ";", "}", "return", "(", "df_regs_ever_live_p", "(", "regno", ")", "&&", "!", "fixed_regs", "[", "regno", "]", "&&", "!", "STACK_REGNO_P", "(", "regno", ")", "&&", "!", "MMX_REGNO_P", "(", "regno", ")", "&&", "(", "regno", "!=", "HARD_FRAME_POINTER_REGNUM", "||", "!", "frame_pointer_needed", ")", ")", ";", "}", "if", "(", "regno", "==", "REAL_PIC_OFFSET_TABLE_REGNUM", "&&", "pic_offset_table_rtx", ")", "{", "if", "(", "ix86_use_pseudo_pic_reg", "(", ")", ")", "{", "if", "(", "!", "TARGET_64BIT", "&&", "flag_pic", "&&", "crtl", "->", "profile", ")", "return", "true", ";", "}", "else", "if", "(", "df_regs_ever_live_p", "(", "REAL_PIC_OFFSET_TABLE_REGNUM", ")", "||", "crtl", "->", "profile", "||", "crtl", "->", "calls_eh_return", "||", "crtl", "->", "uses_const_pool", "||", "cfun", "->", "has_nonlocal_label", ")", "return", "ix86_select_alt_pic_regnum", "(", ")", "==", "INVALID_REGNUM", ";", "}", "if", "(", "crtl", "->", "calls_eh_return", "&&", "maybe_eh_return", ")", "{", "unsigned", "i", ";", "for", "(", "i", "=", "0", ";", ";", "i", "++", ")", "{", "unsigned", "test", "=", "EH_RETURN_DATA_REGNO", "(", "i", ")", ";", "if", "(", "test", "==", "INVALID_REGNUM", ")", "break", ";", "if", "(", "test", "==", "regno", ")", "return", "true", ";", "}", "}", "if", "(", "ignore_outlined", "&&", "cfun", "->", "machine", "->", "call_ms2sysv", ")", "{", "unsigned", "count", "=", "cfun", "->", "machine", "->", "call_ms2sysv_extra_regs", "+", "xlogue_layout", "::", "MIN_REGS", ";", "if", "(", "xlogue_layout", "::", "is_stub_managed_reg", "(", "regno", ",", "count", ")", ")", "return", "false", ";", "}", "if", "(", "crtl", "->", "drap_reg", "&&", "regno", "==", "REGNO", "(", "crtl", "->", "drap_reg", ")", "&&", "!", "cfun", "->", "machine", "->", "no_drap_save_restore", ")", "return", "true", ";", "return", "(", "df_regs_ever_live_p", "(", "regno", ")", "&&", "!", "call_used_regs", "[", "regno", "]", "&&", "!", "fixed_regs", "[", "regno", "]", "&&", "(", "regno", "!=", "HARD_FRAME_POINTER_REGNUM", "||", "!", "frame_pointer_needed", ")", ")", ";", "}", ""], "natrual_language": ["Return", "1", "if", "we", "need", "to", "save", "REGNO", "."], "TS_V_token": ["i386", "0", "0"], "File": "i3868", "Func": "ix86_save_reg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3306, "Length": 318, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64RegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "SPAdj", "==", "0", "&&", "\"Unexpected\"", ")", ";", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "AArch64FrameLowering", "*", "TFI", "=", "static_cast", "<", "const", "AArch64FrameLowering", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ")", ";", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "getIndex", "(", ")", ";", "unsigned", "FrameReg", ";", "int", "Offset", ";", "if", "(", "MI", ".", "isDebugValue", "(", ")", "||", "MI", ".", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "STACKMAP", "||", "MI", ".", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "PATCHPOINT", ")", "{", "Offset", "=", "TFI", "->", "resolveFrameIndexReference", "(", "MF", ",", "FrameIndex", ",", "FrameReg", ",", "true", ")", ";", "Offset", "+=", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "1", ")", ".", "getImm", "(", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "FrameReg", ",", "false", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "1", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "return", ";", "}", "Offset", "=", "TFI", "->", "resolveFrameIndexReference", "(", "MF", ",", "FrameIndex", ",", "FrameReg", ")", ";", "if", "(", "rewriteAArch64FrameIndex", "(", "MI", ",", "FIOperandNum", ",", "FrameReg", ",", "Offset", ",", "TII", ")", ")", "return", ";", "assert", "(", "(", "!", "RS", "||", "!", "RS", "->", "isScavengingFrameIndex", "(", "FrameIndex", ")", ")", "&&", "\"Emergency spill slot is out of reach\"", ")", ";", "unsigned", "ScratchReg", "=", "MF", ".", "getRegInfo", "(", ")", ".", "createVirtualRegister", "(", "&", "AArch64", "::", "GPR64RegClass", ")", ";", "emitFrameOffset", "(", "MBB", ",", "II", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "ScratchReg", ",", "FrameReg", ",", "Offset", ",", "TII", ")", ";", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "ChangeToRegister", "(", "ScratchReg", ",", "false", ",", "false", ",", "true", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["AArch64", "AArch64", "0", "\"Unexpected\"", "AArch64", "AArch64", "1", "1", "AArch64", "\"Emergency spill slot is out of reach\"", "AArch64::GPR64RegClass"], "File": "AArch64RegisterInfo47", "Func": "eliminateFrameIndex", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3307, "Length": 298, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "FixupVCallsPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "TM", "=", "&", "Fn", ".", "getTarget", "(", ")", ";", "TII", "=", "static_cast", "<", "const", "X86InstrInfo", "*", ">", "(", "Fn", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"During X86FixupVCalls pass\\n\"", ")", ";", "const", "DataLayout", "*", "DL", "=", "&", "Fn", ".", "getDataLayout", "(", ")", ";", "unsigned", "TrampSize", "=", "DL", "->", "getTypeSizeInBits", "(", "Type", "::", "getTrampolineTy", "(", "Fn", ".", "getFunction", "(", ")", "->", "getContext", "(", ")", ")", ")", "/", "8", ";", "for", "(", "auto", "&", "BB", ":", "Fn", ")", "{", "for", "(", "auto", "&", "MI", ":", "BB", ")", "{", "TrapInfo", "TI", "=", "MI", ".", "getTrapInfo", "(", ")", ";", "if", "(", "!", "TI", ".", "isUnknown", "(", ")", ")", "{", "uint64_t", "MaxNumVFuncs", "=", "TI", ".", "getMaxNumVFuncs", "(", ")", ";", "assert", "(", "MaxNumVFuncs", "<=", "(", "1", "<<", "15", ")", "/", "TrampSize", "&&", "\"Must not have more than 6553 virtual functions!\"", ")", ";", "if", "(", "MaxNumVFuncs", ">", "(", "1", "<<", "7", ")", "/", "TrampSize", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "MaxNumVFuncs", "<<", "\" vtable entries\\n\"", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "X86", "::", "ADD64ri8", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Replacing ADD64ri8 with ADD64ri16\\n\"", ")", ";", "MI", ".", "setDesc", "(", "TII", "->", "get", "(", "X86", "::", "ADD64ri32", ")", ")", ";", "}", "else", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Warning: Did not recognize vcall instruction, but I need to make sure it has room!\\n\"", ")", ";", "DEBUG", "(", "MI", ".", "dump", "(", ")", ")", ";", "}", "}", "}", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "\"During X86FixupVCalls pass\\n\"", "8", "1", "15", "\"Must not have more than 6553 virtual functions!\"", "1", "7", "\" vtable entries\\n\"", "X86::ADD64ri8", "\"Replacing ADD64ri8 with ADD64ri16\\n\"", "X86::ADD64ri32", "\"Warning: Did not recognize vcall instruction, but I need to make sure it has room!\\n\""], "File": "X86FixupVCalls", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3308, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MipsTargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InFlag", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "SDLoc", "DL", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ",", "const", "SDNode", "*", "CallNode", ",", "const", "Type", "*", "RetTy", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "MipsCC", "MipsCCInfo", "(", "CallConv", ",", "isO32", "(", ")", ",", "Subtarget", "->", "isFP64bit", "(", ")", ",", "CCInfo", ")", ";", "MipsCCInfo", ".", "analyzeCallResult", "(", "Ins", ",", "Subtarget", "->", "mipsSEUsesSoftFloat", "(", ")", ",", "CallNode", ",", "RetTy", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "SDValue", "Val", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "DL", ",", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ",", "RVLocs", "[", "i", "]", ".", "getLocVT", "(", ")", ",", "InFlag", ")", ";", "Chain", "=", "Val", ".", "getValue", "(", "1", ")", ";", "InFlag", "=", "Val", ".", "getValue", "(", "2", ")", ";", "if", "(", "RVLocs", "[", "i", "]", ".", "getValVT", "(", ")", "!=", "RVLocs", "[", "i", "]", ".", "getLocVT", "(", ")", ")", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "BITCAST", ",", "DL", ",", "RVLocs", "[", "i", "]", ".", "getValVT", "(", ")", ",", "Val", ")", ";", "InVals", ".", "push_back", "(", "Val", ")", ";", "}", "return", "Chain", ";", "}", ""], "natrual_language": ["LowerCallResult", "-", "Lower", "the", "result", "values", "of", "an", "ISD", ":", ":CALL", "into", "the", "appropriate", "copies", "out", "of", "appropriate", "physical", "registers", "."], "TS_V_token": ["Mips", "Mips", "ISD::InputArg", "16", "Mips", "Mips", "Mips", "0", "1", "2", "ISD::BITCAST"], "File": "MipsISelLowering62", "Func": "LowerCallResult", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3309, "Length": 250, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MBlazeAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "MBlazeMCInstLower", "MCInstLowering", "(", "OutContext", ",", "*", "this", ")", ";", "MCInst", "TmpInst", ";", "MCInstLowering", ".", "Lower", "(", "MI", ",", "TmpInst", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "TmpInst", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["MBlaze", "MBlaze", "MBlaze"], "File": "MBlazeAsmPrinter11", "Func": "EmitInstruction", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3310, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SystemZInstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "getTargetMachine", "(", ")", ".", "getInstrInfo", "(", ")", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZISelDAGToDAG10", "Func": "getInstrInfo", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3311, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "type_suffix_index", "function_resolver", "::", "infer_sd_vector_type", "(", "unsigned", "int", "argno", ")", "{", "type_suffix_index", "type", "=", "infer_vector_type", "(", "argno", ")", ";", "if", "(", "type", "==", "NUM_TYPE_SUFFIXES", ")", "return", "type", ";", "unsigned", "int", "bits", "=", "type_suffixes", "[", "type", "]", ".", "element_bits", ";", "if", "(", "bits", "!=", "32", "&&", "bits", "!=", "64", ")", "{", "error_at", "(", "location", ",", "\"passing %qT to argument %d of %qE, which\"", "\" expects a vector of 32-bit or 64-bit elements\"", ",", "get_argument_type", "(", "argno", ")", ",", "argno", "+", "1", ",", "fndecl", ")", ";", "return", "NUM_TYPE_SUFFIXES", ";", "}", "return", "type", ";", "}", ""], "natrual_language": ["Like", "infer_vector_type", ",", "but", "also", "require", "the", "element", "size", "to", "be", "32", "or", "64", "bits", "."], "TS_V_token": ["aarch64", "32", "64", "\"passing %qT to argument %d of %qE, which\"", "\" expects a vector of 32-bit or 64-bit elements\"", "1"], "File": "aarch64-sve-builtins", "Func": "infer_sd_vector_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3312, "Length": 76, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "DCPU16RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "const", "Function", "*", "F", "=", "MF", "->", "getFunction", "(", ")", ";", "static", "const", "uint16_t", "CalleeSavedRegs", "[", "]", "=", "{", "DCPU16", "::", "X", ",", "DCPU16", "::", "Y", ",", "DCPU16", "::", "Z", ",", "DCPU16", "::", "I", ",", "DCPU16", "::", "J", ",", "0", "}", ";", "static", "const", "uint16_t", "CalleeSavedRegsIntr", "[", "]", "=", "{", "DCPU16", "::", "EX", ",", "DCPU16", "::", "B", ",", "DCPU16", "::", "C", ",", "DCPU16", "::", "X", ",", "DCPU16", "::", "Y", ",", "DCPU16", "::", "Z", ",", "DCPU16", "::", "I", ",", "DCPU16", "::", "J", ",", "0", "}", ";", "return", "(", "F", "->", "getCallingConv", "(", ")", "==", "CallingConv", "::", "DCPU16_INTR", "?", "CalleeSavedRegsIntr", ":", "CalleeSavedRegs", ")", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["Dcpu16", "DCPU16", "DCPU16::X", "DCPU16::Y", "DCPU16::Z", "DCPU16::I", "DCPU16::J", "0", "DCPU16::EX", "DCPU16::B", "DCPU16::C", "DCPU16::X", "DCPU16::Y", "DCPU16::Z", "DCPU16::I", "DCPU16::J", "0", "DCPU16"], "File": "Dcpu16RegisterInfo", "Func": "getCalleeSavedRegs", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3313, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "m32r_setup_incoming_varargs", "(", "cumulative_args_t", "cum", ",", "const", "function_arg_info", "&", "arg", ",", "int", "*", "pretend_size", ",", "int", "no_rtl", ")", "{", "int", "first_anon_arg", ";", "if", "(", "no_rtl", ")", "return", ";", "if", "(", "!", "TYPE_NO_NAMED_ARGS_STDARG_P", "(", "TREE_TYPE", "(", "current_function_decl", ")", ")", ")", "gcc_assert", "(", "arg", ".", "mode", "!=", "BLKmode", ")", ";", "if", "(", "!", "TYPE_NO_NAMED_ARGS_STDARG_P", "(", "TREE_TYPE", "(", "current_function_decl", ")", ")", ")", "first_anon_arg", "=", "(", "ROUND_ADVANCE_CUM", "(", "*", "get_cumulative_args", "(", "cum", ")", ",", "arg", ".", "mode", ",", "arg", ".", "type", ")", "+", "ROUND_ADVANCE_ARG", "(", "arg", ".", "mode", ",", "arg", ".", "type", ")", ")", ";", "else", "first_anon_arg", "=", "*", "get_cumulative_args", "(", "cum", ")", ";", "if", "(", "first_anon_arg", "<", "M32R_MAX_PARM_REGS", ")", "{", "int", "first_reg_offset", "=", "first_anon_arg", ";", "int", "size", "=", "M32R_MAX_PARM_REGS", "-", "first_reg_offset", ";", "rtx", "regblock", ";", "regblock", "=", "gen_frame_mem", "(", "BLKmode", ",", "plus_constant", "(", "Pmode", ",", "arg_pointer_rtx", ",", "FIRST_PARM_OFFSET", "(", "0", ")", ")", ")", ";", "set_mem_alias_set", "(", "regblock", ",", "get_varargs_alias_set", "(", ")", ")", ";", "move_block_from_reg", "(", "first_reg_offset", ",", "regblock", ",", "size", ")", ";", "*", "pretend_size", "=", "(", "size", "*", "UNITS_PER_WORD", ")", ";", "}", "}", ""], "natrual_language": ["Do", "any", "needed", "setup", "for", "a", "variadic", "function", ".", "For", "the", "M32R", ",", "we", "must", "create", "a", "register", "parameter", "block", ",", "and", "then", "copy", "any", "anonymous", "arguments", "in", "registers", "to", "memory", ".", "CUM", "has", "not", "been", "updated", "for", "the", "last", "named", "argument", "which", "has", "type", "TYPE", "and", "mode", "MODE", ",", "and", "we", "rely", "on", "this", "fact", "."], "TS_V_token": ["m32r", "0"], "File": "m32r1", "Func": "m32r_setup_incoming_varargs", "Target": "m32r", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3314, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "thumb_find_work_register", "(", "unsigned", "long", "pushed_regs_mask", ")", "{", "int", "reg", ";", "for", "(", "reg", "=", "LAST_ARG_REGNUM", ";", "reg", ">=", "0", ";", "reg", "--", ")", "if", "(", "!", "df_regs_ever_live_p", "(", "reg", ")", ")", "return", "reg", ";", "if", "(", "cfun", "->", "machine", "->", "uses_anonymous_args", "&&", "crtl", "->", "args", ".", "pretend_args_size", ">", "0", ")", "return", "LAST_ARG_REGNUM", ";", "if", "(", "!", "cfun", "->", "machine", "->", "uses_anonymous_args", "&&", "crtl", "->", "args", ".", "size", ">=", "0", "&&", "crtl", "->", "args", ".", "size", "<=", "(", "LAST_ARG_REGNUM", "*", "UNITS_PER_WORD", ")", "&&", "(", "TARGET_AAPCS_BASED", "?", "crtl", "->", "args", ".", "info", ".", "aapcs_ncrn", "<", "4", ":", "crtl", "->", "args", ".", "info", ".", "nregs", "<", "4", ")", ")", "return", "LAST_ARG_REGNUM", ";", "for", "(", "reg", "=", "LAST_LO_REGNUM", ";", "reg", ">", "LAST_ARG_REGNUM", ";", "reg", "--", ")", "if", "(", "pushed_regs_mask", "&", "(", "1", "<<", "reg", ")", ")", "return", "reg", ";", "if", "(", "TARGET_THUMB2", ")", "{", "for", "(", "reg", "=", "FIRST_HI_REGNUM", ";", "reg", "<", "15", ";", "reg", "++", ")", "if", "(", "pushed_regs_mask", "&", "(", "1", "<<", "reg", ")", ")", "return", "reg", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Find", "a", "spare", "low", "register", "to", "use", "during", "the", "prolog", "of", "a", "function", "."], "TS_V_token": ["arm", "0", "0", "0", "4", "4", "1", "15", "1"], "File": "arm4", "Func": "thumb_find_work_register", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3315, "Length": 174, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "function_arg_record_value_2", "(", "tree", "type", ",", "HOST_WIDE_INT", "startbitpos", ",", "struct", "function_arg_record_value_parms", "*", "parms", ",", "bool", "packed_p", ")", "{", "tree", "field", ";", "if", "(", "!", "packed_p", ")", "for", "(", "field", "=", "TYPE_FIELDS", "(", "type", ")", ";", "field", ";", "field", "=", "TREE_CHAIN", "(", "field", ")", ")", "{", "if", "(", "TREE_CODE", "(", "field", ")", "==", "FIELD_DECL", "&&", "DECL_PACKED", "(", "field", ")", ")", "{", "packed_p", "=", "true", ";", "break", ";", "}", "}", "for", "(", "field", "=", "TYPE_FIELDS", "(", "type", ")", ";", "field", ";", "field", "=", "TREE_CHAIN", "(", "field", ")", ")", "{", "if", "(", "TREE_CODE", "(", "field", ")", "==", "FIELD_DECL", ")", "{", "HOST_WIDE_INT", "bitpos", "=", "startbitpos", ";", "if", "(", "DECL_SIZE", "(", "field", ")", "!=", "0", ")", "{", "if", "(", "integer_zerop", "(", "DECL_SIZE", "(", "field", ")", ")", ")", "continue", ";", "if", "(", "host_integerp", "(", "bit_position", "(", "field", ")", ",", "1", ")", ")", "bitpos", "+=", "int_bit_position", "(", "field", ")", ";", "}", "if", "(", "TREE_CODE", "(", "TREE_TYPE", "(", "field", ")", ")", "==", "RECORD_TYPE", ")", "function_arg_record_value_2", "(", "TREE_TYPE", "(", "field", ")", ",", "bitpos", ",", "parms", ",", "packed_p", ")", ";", "else", "if", "(", "(", "FLOAT_TYPE_P", "(", "TREE_TYPE", "(", "field", ")", ")", "||", "TREE_CODE", "(", "TREE_TYPE", "(", "field", ")", ")", "==", "VECTOR_TYPE", ")", "&&", "TARGET_FPU", "&&", "parms", "->", "named", "&&", "!", "packed_p", ")", "{", "int", "this_slotno", "=", "parms", "->", "slotno", "+", "bitpos", "/", "BITS_PER_WORD", ";", "int", "regno", ",", "nregs", ",", "pos", ";", "enum", "machine_mode", "mode", "=", "DECL_MODE", "(", "field", ")", ";", "rtx", "reg", ";", "function_arg_record_value_3", "(", "bitpos", ",", "parms", ")", ";", "if", "(", "TREE_CODE", "(", "TREE_TYPE", "(", "field", ")", ")", "==", "VECTOR_TYPE", "&&", "mode", "==", "BLKmode", ")", "{", "mode", "=", "TYPE_MODE", "(", "TREE_TYPE", "(", "TREE_TYPE", "(", "field", ")", ")", ")", ";", "nregs", "=", "TYPE_VECTOR_SUBPARTS", "(", "TREE_TYPE", "(", "field", ")", ")", ";", "}", "else", "if", "(", "TREE_CODE", "(", "TREE_TYPE", "(", "field", ")", ")", "==", "COMPLEX_TYPE", ")", "{", "mode", "=", "TYPE_MODE", "(", "TREE_TYPE", "(", "TREE_TYPE", "(", "field", ")", ")", ")", ";", "nregs", "=", "2", ";", "}", "else", "nregs", "=", "1", ";", "regno", "=", "SPARC_FP_ARG_FIRST", "+", "this_slotno", "*", "2", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "<=", "4", "&&", "(", "bitpos", "&", "32", ")", "!=", "0", ")", "regno", "++", ";", "reg", "=", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "pos", "=", "bitpos", "/", "BITS_PER_UNIT", ";", "XVECEXP", "(", "parms", "->", "ret", ",", "0", ",", "parms", "->", "stack", "+", "parms", "->", "nregs", ")", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "reg", ",", "GEN_INT", "(", "pos", ")", ")", ";", "parms", "->", "nregs", "+=", "1", ";", "while", "(", "--", "nregs", ">", "0", ")", "{", "regno", "+=", "GET_MODE_SIZE", "(", "mode", ")", "/", "4", ";", "reg", "=", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "pos", "+=", "GET_MODE_SIZE", "(", "mode", ")", ";", "XVECEXP", "(", "parms", "->", "ret", ",", "0", ",", "parms", "->", "stack", "+", "parms", "->", "nregs", ")", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "reg", ",", "GEN_INT", "(", "pos", ")", ")", ";", "parms", "->", "nregs", "+=", "1", ";", "}", "}", "else", "{", "if", "(", "parms", "->", "intoffset", "==", "-", "1", ")", "parms", "->", "intoffset", "=", "bitpos", ";", "}", "}", "}", "}", ""], "natrual_language": ["A", "subroutine", "of", "function_arg_record_value", ".", "Traverse", "the", "structure", "recursively", "and", "assign", "bits", "to", "floating", "point", "registers", ".", "Track", "which", "bits", "in", "between", "need", "integer", "registers", ";", "invoke", "function_arg_record_value_3", "to", "make", "that", "happen", "."], "TS_V_token": ["sparc", "0", "1", "2", "1", "2", "4", "32", "0", "0", "1", "0", "4", "0", "1", "1"], "File": "sparc3", "Func": "function_arg_record_value_2", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3316, "Length": 488, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "class", "LLVM_LIBRARY_VISIBILITY", "LM32MCInstLower", "{", "LM32AsmPrinter", "&", "AsmPrinter", ";", "const", "MCExpr", "*", "getExpr", "(", "const", "MachineOperand", "&", "MO", ")", "const", ";", "public", ":", "LM32MCInstLower", "(", "LM32AsmPrinter", "&", "asmPrinter", ")", ";", "void", "lower", "(", "const", "MachineInstr", "*", "MI", ",", "MCInst", "&", "OutMI", ")", "const", ";", "MCOperand", "lowerOperand", "(", "const", "MachineOperand", "&", "MO", ")", "const", ";", "}", ""], "natrual_language": ["Implementation", "of", "the", "SCEVPredicate", "interface", "."], "TS_V_token": ["LM32", "LM32", "LM32", "LM32", "LM32"], "File": "LM32MCInstLower", "Func": "getExpr", "Target": "LM32", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3317, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "direct_return", "(", ")", "{", "return", "(", "reload_completed", "&&", "xstormy16_compute_stack_layout", "(", ")", ".", "frame_size", "==", "0", ")", ";", "}", ""], "natrual_language": ["Return", "non-zero", "if", "this", "function", "is", "known", "to", "have", "a", "null", "epilogue", "."], "TS_V_token": ["stormy16", "0"], "File": "stormy162", "Func": "direct_return", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3318, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "machine_mode", "memory_vector_mode", "(", "const", "function_instance", "&", ")", "const", "override", "{", "return", "m_mode", ";", "}", ""], "natrual_language": ["If", "the", "function", "addresses", "memory", ",", "return", "a", "vector", "mode", "whose", "GET_MODE_NUNITS", "is", "the", "number", "of", "elements", "addressed", "and", "whose", "GET_MODE_INNER", "is", "the", "mode", "of", "a", "single", "scalar", "memory", "element", "."], "TS_V_token": ["aarch64"], "File": "aarch64-sve-builtins-base3", "Func": "memory_vector_mode", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3319, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "OR1KInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ")", "{", "printInstruction", "(", "MI", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["OR1K", "OR1K"], "File": "OR1KInstPrinter", "Func": "printInst", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3320, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb2InstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FI", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "MFI", ".", "getObjectSize", "(", "FI", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FI", ")", ")", ";", "if", "(", "ARM", "::", "GPRRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "t2STRi12", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "return", ";", "}", "if", "(", "ARM", "::", "GPRPairRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "if", "(", "Register", "::", "isVirtualRegister", "(", "SrcReg", ")", ")", "{", "MachineRegisterInfo", "*", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "MRI", "->", "constrainRegClass", "(", "SrcReg", ",", "&", "ARM", "::", "GPRPairnospRegClass", ")", ";", "}", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "t2STRDi8", ")", ")", ";", "AddDReg", "(", "MIB", ",", "SrcReg", ",", "ARM", "::", "gsub_0", ",", "getKillRegState", "(", "isKill", ")", ",", "TRI", ")", ";", "AddDReg", "(", "MIB", ",", "SrcReg", ",", "ARM", "::", "gsub_1", ",", "0", ",", "TRI", ")", ";", "MIB", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "return", ";", "}", "ARMBaseInstrInfo", "::", "storeRegToStackSlot", "(", "MBB", ",", "I", ",", "SrcReg", ",", "isKill", ",", "FI", ",", "RC", ",", "TRI", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["ARM", "ARM::GPRRegClass", "ARM::t2STRi12", "0", "ARMCC::AL", "ARM::GPRPairRegClass", "ARM::GPRPairnospRegClass", "ARM::t2STRDi8", "ARM::gsub_0", "ARM::gsub_1", "0", "0", "ARMCC::AL", "ARM"], "File": "Thumb2InstrInfo10", "Func": "storeRegToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3321, "Length": 327, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "SDValue", ",", "SDValue", ">", "SystemZSelectionDAGInfo", "::", "EmitTargetCodeForMemcmp", "(", "SelectionDAG", "&", "DAG", ",", "const", "SDLoc", "&", "DL", ",", "SDValue", "Chain", ",", "SDValue", "Src1", ",", "SDValue", "Src2", ",", "SDValue", "Size", ",", "MachinePointerInfo", "Op1PtrInfo", ",", "MachinePointerInfo", "Op2PtrInfo", ")", "const", "{", "if", "(", "auto", "*", "CSize", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Size", ")", ")", "{", "uint64_t", "Bytes", "=", "CSize", "->", "getZExtValue", "(", ")", ";", "assert", "(", "Bytes", ">", "0", "&&", "\"Caller should have handled 0-size case\"", ")", ";", "SDValue", "CCReg", "=", "emitCLC", "(", "DAG", ",", "DL", ",", "Chain", ",", "Src2", ",", "Src1", ",", "Bytes", ")", ";", "Chain", "=", "CCReg", ".", "getValue", "(", "1", ")", ";", "return", "std", "::", "make_pair", "(", "addIPMSequence", "(", "DL", ",", "CCReg", ",", "DAG", ")", ",", "Chain", ")", ";", "}", "return", "std", "::", "make_pair", "(", "SDValue", "(", ")", ",", "SDValue", "(", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memcmp/bcmp", ",", "in", "cases", "where", "that", "is", "faster", "than", "a", "libcall", "."], "TS_V_token": ["SystemZ", "SystemZ", "0", "\"Caller should have handled 0-size case\"", "1"], "File": "SystemZSelectionDAGInfo", "Func": "EmitTargetCodeForMemcmp", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3322, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "AArch64RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "AArch64", "::", "SP", ")", ";", "Reserved", ".", "set", "(", "AArch64", "::", "XZR", ")", ";", "Reserved", ".", "set", "(", "AArch64", "::", "WSP", ")", ";", "Reserved", ".", "set", "(", "AArch64", "::", "WZR", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", "||", "STI", "->", "isTargetDarwin", "(", ")", ")", "{", "Reserved", ".", "set", "(", "AArch64", "::", "FP", ")", ";", "Reserved", ".", "set", "(", "AArch64", "::", "W29", ")", ";", "}", "if", "(", "STI", "->", "isTargetDarwin", "(", ")", ")", "{", "Reserved", ".", "set", "(", "AArch64", "::", "X18", ")", ";", "Reserved", ".", "set", "(", "AArch64", "::", "W18", ")", ";", "}", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "{", "Reserved", ".", "set", "(", "AArch64", "::", "X19", ")", ";", "Reserved", ".", "set", "(", "AArch64", "::", "W19", ")", ";", "}", "return", "Reserved", ";", "}", ""], "natrual_language": ["getReservedRegs", "-", "Returns", "a", "bitset", "indexed", "by", "physical", "register", "number", "indicating", "if", "a", "register", "is", "a", "special", "register", "that", "has", "particular", "uses", "and", "should", "be", "considered", "unavailable", "at", "all", "times", ",", "e.g", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::SP", "AArch64::XZR", "AArch64::WSP", "AArch64::WZR", "AArch64::FP", "AArch64::W29", "AArch64::X18", "AArch64::W18", "AArch64::X19", "AArch64::W19"], "File": "AArch64RegisterInfo47", "Func": "getReservedRegs", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3323, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "XtensaInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "llvm_unreachable", "(", "\"Unimplemented operand\"", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["Xtensa", "Xtensa", "\"Unimplemented operand\""], "File": "XtensaInstrInfo", "Func": "storeRegToStackSlot", "Target": "Xtensa", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3324, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcPassConfig", "::", "addPreEmitPass", "(", ")", "{", "PM", ".", "add", "(", "createSparcFPMoverPass", "(", "getSparcTargetMachine", "(", ")", ")", ")", ";", "PM", ".", "add", "(", "createSparcDelaySlotFillerPass", "(", "getSparcTargetMachine", "(", ")", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc"], "File": "SparcTargetMachine15", "Func": "addPreEmitPass", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3325, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "GBZ80FrameLowering", "::", "canSimplifyCallFramePseudos", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["canSimplifyCallFramePseudos", "-", "If", "there", "is", "a", "reserved", "call", "frame", ",", "the", "call", "frame", "pseudos", "can", "be", "simplified", "."], "TS_V_token": ["GBZ80", "GB"], "File": "GBZ80FrameLowering", "Func": "canSimplifyCallFramePseudos", "Target": "GBZ80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3326, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_ok_to_clobber_flags", "(", "rtx_insn", "*", "insn", ")", "{", "basic_block", "bb", "=", "BLOCK_FOR_INSN", "(", "insn", ")", ";", "df_ref", "use", ";", "bitmap", "live", ";", "while", "(", "insn", ")", "{", "if", "(", "NONDEBUG_INSN_P", "(", "insn", ")", ")", "{", "FOR_EACH_INSN_USE", "(", "use", ",", "insn", ")", "if", "(", "DF_REF_REG_USE_P", "(", "use", ")", "&&", "DF_REF_REGNO", "(", "use", ")", "==", "FLAGS_REG", ")", "return", "false", ";", "if", "(", "insn_defines_reg", "(", "FLAGS_REG", ",", "INVALID_REGNUM", ",", "insn", ")", ")", "return", "true", ";", "}", "if", "(", "insn", "==", "BB_END", "(", "bb", ")", ")", "break", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ";", "}", "live", "=", "df_get_live_out", "(", "bb", ")", ";", "return", "!", "REGNO_REG_SET_P", "(", "live", ",", "FLAGS_REG", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "legal", "to", "clobber", "flags", "by", "INSN", "and", "false", "otherwise", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_ok_to_clobber_flags", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3327, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"OR1K Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["OR1K", "\"OR1K Assembly Printer\""], "File": "OR1KAsmPrinter1", "Func": "getPassName", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3328, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Wasn't expecting to be able to lower this!\"", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "LowerConstantPool", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "LowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalTLSAddress", ":", "return", "LowerGlobalTLSAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "JumpTable", ":", "return", "LowerJumpTable", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SETCC", ":", "return", "LowerSETCC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INIT_TRAMPOLINE", ":", "return", "LowerINIT_TRAMPOLINE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ADJUST_TRAMPOLINE", ":", "return", "LowerADJUST_TRAMPOLINE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ",", "PPCSubTarget", ")", ";", "case", "ISD", "::", "VAARG", ":", "return", "LowerVAARG", "(", "Op", ",", "DAG", ",", "PPCSubTarget", ")", ";", "case", "ISD", "::", "STACKRESTORE", ":", "return", "LowerSTACKRESTORE", "(", "Op", ",", "DAG", ",", "PPCSubTarget", ")", ";", "case", "ISD", "::", "DYNAMIC_STACKALLOC", ":", "return", "LowerDYNAMIC_STACKALLOC", "(", "Op", ",", "DAG", ",", "PPCSubTarget", ")", ";", "case", "ISD", "::", "EH_SJLJ_SETJMP", ":", "return", "lowerEH_SJLJ_SETJMP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "EH_SJLJ_LONGJMP", ":", "return", "lowerEH_SJLJ_LONGJMP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FP_TO_UINT", ":", "case", "ISD", "::", "FP_TO_SINT", ":", "return", "LowerFP_TO_INT", "(", "Op", ",", "DAG", ",", "SDLoc", "(", "Op", ")", ")", ";", "case", "ISD", "::", "UINT_TO_FP", ":", "case", "ISD", "::", "SINT_TO_FP", ":", "return", "LowerINT_TO_FP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FLT_ROUNDS_", ":", "return", "LowerFLT_ROUNDS_", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SHL_PARTS", ":", "return", "LowerSHL_PARTS", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SRL_PARTS", ":", "return", "LowerSRL_PARTS", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SRA_PARTS", ":", "return", "LowerSRA_PARTS", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BUILD_VECTOR", ":", "return", "LowerBUILD_VECTOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VECTOR_SHUFFLE", ":", "return", "LowerVECTOR_SHUFFLE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "LowerINTRINSIC_WO_CHAIN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SCALAR_TO_VECTOR", ":", "return", "LowerSCALAR_TO_VECTOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "MUL", ":", "return", "LowerMUL", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_W_CHAIN", ":", "return", "SDValue", "(", ")", ";", "case", "ISD", "::", "RETURNADDR", ":", "return", "LowerRETURNADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "LowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["PowerPC", "PPC", "\"Wasn't expecting to be able to lower this!\"", "ISD::ConstantPool", "ISD::BlockAddress", "ISD::GlobalAddress", "ISD::GlobalTLSAddress", "ISD::JumpTable", "ISD::SETCC", "ISD::INIT_TRAMPOLINE", "ISD::ADJUST_TRAMPOLINE", "ISD::VASTART", "PPC", "ISD::VAARG", "PPC", "ISD::STACKRESTORE", "PPC", "ISD::DYNAMIC_STACKALLOC", "PPC", "ISD::EH_SJLJ_SETJMP", "ISD::EH_SJLJ_LONGJMP", "ISD::SELECT_CC", "ISD::FP_TO_UINT", "ISD::FP_TO_SINT", "ISD::UINT_TO_FP", "ISD::SINT_TO_FP", "ISD::FLT_ROUNDS_", "ISD::SHL_PARTS", "ISD::SRL_PARTS", "ISD::SRA_PARTS", "ISD::BUILD_VECTOR", "ISD::VECTOR_SHUFFLE", "ISD::INTRINSIC_WO_CHAIN", "ISD::SCALAR_TO_VECTOR", "ISD::MUL", "ISD::INTRINSIC_W_CHAIN", "ISD::RETURNADDR", "ISD::FRAMEADDR"], "File": "PPCISelLowering173", "Func": "LowerOperation", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3329, "Length": 429, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64AsmBackend", "::", "shouldForceRelocation", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ")", "{", "if", "(", "(", "uint32_t", ")", "Fixup", ".", "getKind", "(", ")", "==", "AArch64", "::", "fixup_aarch64_pcrel_adrp_imm21", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Hook", "to", "check", "if", "a", "relocation", "is", "needed", "for", "some", "target", "specific", "reason", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::fixup_aarch64_pcrel_adrp_imm21"], "File": "AArch64AsmBackend12", "Func": "shouldForceRelocation", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3330, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TPCPassConfig", "::", "addIRPasses", "(", ")", "{", "addPass", "(", "createTPCIndexGen", "(", ")", ")", ";", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "addPass", "(", "createTPCAAWrapperPass", "(", ")", ")", ";", "addPass", "(", "createExternalAAWrapperPass", "(", "[", "]", "(", "Pass", "&", "P", ",", "Function", "&", ",", "AAResults", "&", "AAR", ")", "{", "if", "(", "auto", "*", "WrapperPass", "=", "P", ".", "getAnalysisIfAvailable", "<", "TPCAAWrapperPass", ">", "(", ")", ")", "AAR", ".", "addAAResult", "(", "WrapperPass", "->", "getResult", "(", ")", ")", ";", "}", ")", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["TPC", "TPC", "TPC", "TPC", "TPC"], "File": "TPCTargetMachine", "Func": "addIRPasses", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3331, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64RegisterInfo", "::", "useFPForScavengingIndex", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "const", "AArch64FrameLowering", "*", "AFI", "=", "static_cast", "<", "const", "AArch64FrameLowering", "*", ">", "(", "TFI", ")", ";", "return", "AFI", "->", "useFPForAddressing", "(", "MF", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "wants", "to", "use", "frame", "pointer", "based", "accesses", "to", "spill", "to", "the", "scavenger", "emergency", "spill", "slot", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64RegisterInfo20", "Func": "useFPForScavengingIndex", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3332, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "int", "UPTInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "return", "TargetInstrInfo", "::", "isStoreToStackSlot", "(", "MI", ",", "FrameIndex", ")", ";", "}", ""], "natrual_language": ["isStoreToStackSlot", "-", "If", "the", "specified", "machine", "instruction", "is", "a", "direct", "store", "to", "a", "stack", "slot", ",", "return", "the", "virtual", "or", "physical", "register", "number", "of", "the", "source", "reg", "along", "with", "the", "FrameIndex", "of", "the", "loaded", "stack", "slot", "."], "TS_V_token": ["UPT", "UPT"], "File": "UPTInstrInfo", "Func": "isStoreToStackSlot", "Target": "UPT", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3333, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesAll", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["NVPTX"], "File": "NVVMReflect", "Func": "getAnalysisUsage", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3334, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips16_rewrite_pool_constant", "(", "struct", "mips16_constant_pool", "*", "pool", ",", "rtx", "*", "x", ")", "{", "rtx", "base", ",", "offset", ";", "rtx_code_label", "*", "label", ";", "split_const", "(", "*", "x", ",", "&", "base", ",", "&", "offset", ")", ";", "if", "(", "GET_CODE", "(", "base", ")", "==", "SYMBOL_REF", "&&", "CONSTANT_POOL_ADDRESS_P", "(", "base", ")", ")", "{", "label", "=", "mips16_add_constant", "(", "pool", ",", "copy_rtx", "(", "get_pool_constant", "(", "base", ")", ")", ",", "get_pool_mode", "(", "base", ")", ")", ";", "base", "=", "gen_rtx_LABEL_REF", "(", "Pmode", ",", "label", ")", ";", "*", "x", "=", "mips_unspec_address_offset", "(", "base", ",", "offset", ",", "SYMBOL_PC_RELATIVE", ")", ";", "}", "}", ""], "natrual_language": ["If", "*", "X", "is", "a", "symbolic", "constant", "that", "refers", "to", "the", "constant", "pool", ",", "add", "the", "constant", "to", "POOL", "and", "rewrite", "*", "X", "to", "use", "the", "constant", "'s", "label", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips16_rewrite_pool_constant", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3335, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "aarch64_sched_variable_issue", "(", "FILE", "*", ",", "int", ",", "rtx_insn", "*", "insn", ",", "int", "more", ")", "{", "if", "(", "DEBUG_INSN_P", "(", "insn", ")", ")", "return", "more", ";", "rtx_code", "code", "=", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", ";", "if", "(", "code", "==", "USE", "||", "code", "==", "CLOBBER", ")", "return", "more", ";", "if", "(", "get_attr_type", "(", "insn", ")", "==", "TYPE_NO_INSN", ")", "return", "more", ";", "return", "more", "-", "1", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SCHED_VARIABLE_ISSUE", "."], "TS_V_token": ["aarch64", "1"], "File": "aarch64", "Func": "aarch64_sched_variable_issue", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3336, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addIRPasses", "(", ")", "{", "addPass", "(", "createAtomicExpandPass", "(", "TM", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableAtomicTidy", ")", "addPass", "(", "createCFGSimplificationPass", "(", ")", ")", ";", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createInterleavedAccessPass", "(", "TM", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "Aggressive", "&&", "EnableGEPOpt", ")", "{", "addPass", "(", "createSeparateConstOffsetFromGEPPass", "(", "TM", ",", "true", ")", ")", ";", "addPass", "(", "createEarlyCSEPass", "(", ")", ")", ";", "addPass", "(", "createLICMPass", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64TargetMachine10", "Func": "addIRPasses", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3337, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "HexagonFrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "unsigned", "&", "FrameReg", ")", "const", "{", "auto", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "auto", "&", "HRI", "=", "*", "MF", ".", "getSubtarget", "<", "HexagonSubtarget", ">", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "int", "Offset", "=", "MFI", ".", "getObjectOffset", "(", "FI", ")", ";", "bool", "HasAlloca", "=", "MFI", ".", "hasVarSizedObjects", "(", ")", ";", "bool", "HasExtraAlign", "=", "HRI", ".", "needsStackRealignment", "(", "MF", ")", ";", "bool", "NoOpt", "=", "MF", ".", "getTarget", "(", ")", ".", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "None", ";", "auto", "&", "HMFI", "=", "*", "MF", ".", "getInfo", "<", "HexagonMachineFunctionInfo", ">", "(", ")", ";", "unsigned", "FrameSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "unsigned", "SP", "=", "HRI", ".", "getStackRegister", "(", ")", ";", "unsigned", "FP", "=", "HRI", ".", "getFrameRegister", "(", ")", ";", "unsigned", "AP", "=", "HMFI", ".", "getStackAlignBasePhysReg", "(", ")", ";", "if", "(", "AP", "==", "0", ")", "AP", "=", "FP", ";", "bool", "UseFP", "=", "false", ",", "UseAP", "=", "false", ";", "if", "(", "NoOpt", "&&", "!", "HasExtraAlign", ")", "UseFP", "=", "true", ";", "if", "(", "MFI", ".", "isFixedObjectIndex", "(", "FI", ")", "||", "MFI", ".", "isObjectPreAllocated", "(", "FI", ")", ")", "{", "UseFP", "|=", "(", "HasAlloca", "||", "HasExtraAlign", ")", ";", "}", "else", "{", "if", "(", "HasAlloca", ")", "{", "if", "(", "HasExtraAlign", ")", "UseAP", "=", "true", ";", "else", "UseFP", "=", "true", ";", "}", "}", "bool", "HasFP", "=", "hasFP", "(", "MF", ")", ";", "assert", "(", "(", "HasFP", "||", "!", "UseFP", ")", "&&", "\"This function must have frame pointer\"", ")", ";", "if", "(", "Offset", ">", "0", "&&", "!", "HasFP", ")", "Offset", "-=", "8", ";", "if", "(", "UseFP", ")", "FrameReg", "=", "FP", ";", "else", "if", "(", "UseAP", ")", "FrameReg", "=", "AP", ";", "else", "FrameReg", "=", "SP", ";", "int", "RealOffset", "=", "Offset", ";", "if", "(", "!", "UseFP", "&&", "!", "UseAP", ")", "RealOffset", "=", "FrameSize", "+", "Offset", ";", "return", "RealOffset", ";", "}", ""], "natrual_language": ["getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "Hexagon", "0", "\"This function must have frame pointer\"", "0", "8"], "File": "HexagonFrameLowering10", "Func": "getFrameIndexReference", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3338, "Length": 299, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUTTIImpl", "::", "isSourceOfDivergence", "(", "const", "Value", "*", "V", ")", "const", "{", "if", "(", "const", "Argument", "*", "A", "=", "dyn_cast", "<", "Argument", ">", "(", "V", ")", ")", "return", "!", "isArgPassedInSGPR", "(", "A", ")", ";", "if", "(", "const", "LoadInst", "*", "Load", "=", "dyn_cast", "<", "LoadInst", ">", "(", "V", ")", ")", "return", "Load", "->", "getPointerAddressSpace", "(", ")", "==", "AMDGPUAS", "::", "PRIVATE_ADDRESS", ";", "if", "(", "const", "IntrinsicInst", "*", "Intrinsic", "=", "dyn_cast", "<", "IntrinsicInst", ">", "(", "V", ")", ")", "{", "const", "TargetMachine", "&", "TM", "=", "getTLI", "(", ")", "->", "getTargetMachine", "(", ")", ";", "return", "isIntrinsicSourceOfDivergence", "(", "TM", ".", "getIntrinsicInfo", "(", ")", ",", "Intrinsic", ")", ";", "}", "if", "(", "isa", "<", "CallInst", ">", "(", "V", ")", "||", "isa", "<", "InvokeInst", ">", "(", "V", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "whether", "V", "is", "a", "source", "of", "divergence", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU"], "File": "AMDGPUTargetTransformInfo18", "Func": "isSourceOfDivergence", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3339, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AMDGPUTargetLowering", "::", "SplitVectorStore", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "StoreSDNode", "*", "Store", "=", "cast", "<", "StoreSDNode", ">", "(", "Op", ")", ";", "SDValue", "Val", "=", "Store", "->", "getValue", "(", ")", ";", "EVT", "VT", "=", "Val", ".", "getValueType", "(", ")", ";", "if", "(", "VT", ".", "getVectorNumElements", "(", ")", "==", "2", ")", "return", "ScalarizeVectorStore", "(", "Op", ",", "DAG", ")", ";", "EVT", "MemVT", "=", "Store", "->", "getMemoryVT", "(", ")", ";", "SDValue", "Chain", "=", "Store", "->", "getChain", "(", ")", ";", "SDValue", "BasePtr", "=", "Store", "->", "getBasePtr", "(", ")", ";", "SDLoc", "SL", "(", "Op", ")", ";", "EVT", "LoVT", ",", "HiVT", ";", "EVT", "LoMemVT", ",", "HiMemVT", ";", "SDValue", "Lo", ",", "Hi", ";", "std", "::", "tie", "(", "LoVT", ",", "HiVT", ")", "=", "DAG", ".", "GetSplitDestVTs", "(", "VT", ")", ";", "std", "::", "tie", "(", "LoMemVT", ",", "HiMemVT", ")", "=", "DAG", ".", "GetSplitDestVTs", "(", "MemVT", ")", ";", "std", "::", "tie", "(", "Lo", ",", "Hi", ")", "=", "DAG", ".", "SplitVector", "(", "Val", ",", "SL", ",", "LoVT", ",", "HiVT", ")", ";", "EVT", "PtrVT", "=", "BasePtr", ".", "getValueType", "(", ")", ";", "SDValue", "HiPtr", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ADD", ",", "SL", ",", "PtrVT", ",", "BasePtr", ",", "DAG", ".", "getConstant", "(", "LoMemVT", ".", "getStoreSize", "(", ")", ",", "SL", ",", "PtrVT", ")", ")", ";", "const", "MachinePointerInfo", "&", "SrcValue", "=", "Store", "->", "getMemOperand", "(", ")", "->", "getPointerInfo", "(", ")", ";", "unsigned", "BaseAlign", "=", "Store", "->", "getAlignment", "(", ")", ";", "unsigned", "Size", "=", "LoMemVT", ".", "getStoreSize", "(", ")", ";", "unsigned", "HiAlign", "=", "MinAlign", "(", "BaseAlign", ",", "Size", ")", ";", "SDValue", "LoStore", "=", "DAG", ".", "getTruncStore", "(", "Chain", ",", "SL", ",", "Lo", ",", "BasePtr", ",", "SrcValue", ",", "LoMemVT", ",", "Store", "->", "isNonTemporal", "(", ")", ",", "Store", "->", "isVolatile", "(", ")", ",", "BaseAlign", ")", ";", "SDValue", "HiStore", "=", "DAG", ".", "getTruncStore", "(", "Chain", ",", "SL", ",", "Hi", ",", "HiPtr", ",", "SrcValue", ".", "getWithOffset", "(", "Size", ")", ",", "HiMemVT", ",", "Store", "->", "isNonTemporal", "(", ")", ",", "Store", "->", "isVolatile", "(", ")", ",", "HiAlign", ")", ";", "return", "DAG", ".", "getNode", "(", "ISD", "::", "TokenFactor", ",", "SL", ",", "MVT", "::", "Other", ",", "LoStore", ",", "HiStore", ")", ";", "}", ""], "natrual_language": ["Split", "a", "vector", "store", "into", "2", "stores", "of", "half", "the", "vector", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "2", "ISD::ADD", "ISD::TokenFactor", "MVT::Other"], "File": "AMDGPUISelLowering (2)", "Func": "SplitVectorStore", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3340, "Length": 343, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSymbol", "*", "J2MCInstLower", "::", "GetExternalSymbolSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", "{", "return", "Printer", ".", "GetExternalSymbolSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "MCSymbol", "for", "the", "specified", "ExternalSymbol", "."], "TS_V_token": ["J2", "J2"], "File": "J2MCInstLower", "Func": "GetExternalSymbolSymbol", "Target": "J2", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3341, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "rtx", "xtensa_expand_mask_and_shift", "(", "rtx", "val", ",", "machine_mode", "mode", ",", "rtx", "count", ")", "{", "val", "=", "expand_simple_binop", "(", "SImode", ",", "AND", ",", "val", ",", "GEN_INT", "(", "GET_MODE_MASK", "(", "mode", ")", ")", ",", "NULL_RTX", ",", "1", ",", "OPTAB_DIRECT", ")", ";", "return", "expand_simple_binop", "(", "SImode", ",", "ASHIFT", ",", "val", ",", "count", ",", "NULL_RTX", ",", "1", ",", "OPTAB_DIRECT", ")", ";", "}", ""], "natrual_language": ["Shift", "VAL", "of", "mode", "MODE", "left", "by", "COUNT", "bits", "."], "TS_V_token": ["xtensa", "1", "1"], "File": "xtensa", "Func": "xtensa_expand_mask_and_shift", "Target": "xtensa", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3342, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "sh_media_register_for_return", "(", "void", ")", "{", "int", "regno", ";", "int", "tr0_used", ";", "if", "(", "!", "crtl", "->", "is_leaf", ")", "return", "-", "1", ";", "if", "(", "lookup_attribute", "(", "\"interrupt_handler\"", ",", "DECL_ATTRIBUTES", "(", "current_function_decl", ")", ")", ")", "return", "-", "1", ";", "if", "(", "sh_cfun_interrupt_handler_p", "(", ")", ")", "return", "-", "1", ";", "tr0_used", "=", "flag_pic", "&&", "df_regs_ever_live_p", "(", "PIC_OFFSET_TABLE_REGNUM", ")", ";", "for", "(", "regno", "=", "FIRST_TARGET_REG", "+", "tr0_used", ";", "regno", "<=", "LAST_TARGET_REG", ";", "regno", "++", ")", "if", "(", "call_really_used_regs", "[", "regno", "]", "&&", "!", "df_regs_ever_live_p", "(", "regno", ")", ")", "return", "regno", ";", "return", "-", "1", ";", "}", ""], "natrual_language": ["Choose", "a", "call-clobbered", "target-branch", "register", "that", "remains", "unchanged", "along", "the", "whole", "function", ".", "We", "set", "it", "up", "as", "the", "return", "value", "in", "the", "prologue", "."], "TS_V_token": ["sh", "1", "\"interrupt_handler\"", "1", "1", "1"], "File": "sh4", "Func": "sh_media_register_for_return", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3343, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MOSPassConfig", "::", "addRegBankSelect", "(", ")", "{", "addPass", "(", "new", "RegBankSelect", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["This", "method", "should", "install", "a", "register", "bank", "selector", "pass", ",", "which", "assigns", "register", "banks", "to", "virtual", "registers", "without", "a", "register", "class", "or", "register", "banks", "."], "TS_V_token": ["MOS", "MOS"], "File": "MOSTargetMachine", "Func": "addRegBankSelect", "Target": "MOS", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3344, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineBlockFrequencyInfo", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineBlockFrequencyInfo", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "LiveIntervals", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "LiveIntervals", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "SlotIndexes", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "SlotIndexes", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "LiveStacks", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "LiveStacks", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineDominatorTree", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineLoopInfo", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineLoopInfo", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "VirtRegMap", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "VirtRegMap", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "LiveRegMatrix", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "LiveRegMatrix", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "EdgeBundles", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "SpillPlacement", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["Z80"], "File": "Z80ExpandPseudo", "Func": "getAnalysisUsage", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3345, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "DLXAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IdLoc", ",", "unsigned", "&", "Opcode", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "uint64_t", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "MCInst", "Inst", ";", "SMLoc", "ErrorLoc", ";", "switch", "(", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ")", "{", "case", "Match_Success", ":", "Out", ".", "EmitInstruction", "(", "Inst", ",", "SubtargetInfo", ")", ";", "Opcode", "=", "Inst", ".", "getOpcode", "(", ")", ";", "return", "false", ";", "case", "Match_MissingFeature", ":", "return", "Error", "(", "IdLoc", ",", "\"Instruction use requires option to be enabled\"", ")", ";", "case", "Match_MnemonicFail", ":", "return", "Error", "(", "IdLoc", ",", "\"Unrecognized instruction mnemonic\"", ")", ";", "case", "Match_InvalidOperand", ":", "{", "ErrorLoc", "=", "IdLoc", ";", "if", "(", "ErrorInfo", "!=", "~", "0U", ")", "{", "if", "(", "ErrorInfo", ">=", "Operands", ".", "size", "(", ")", ")", "return", "Error", "(", "IdLoc", ",", "\"Too few operands for instruction\"", ")", ";", "ErrorLoc", "=", "(", "(", "DLXOperand", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ")", ".", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IdLoc", ";", "}", "return", "Error", "(", "ErrorLoc", ",", "\"Invalid operand for instruction\"", ")", ";", "}", "default", ":", "break", ";", "}", "llvm_unreachable", "(", "\"Unknown match type detected!\"", ")", ";", "}", ""], "natrual_language": ["MatchAndEmitInstruction", "-", "Recognize", "a", "series", "of", "operands", "of", "a", "parsed", "instruction", "as", "an", "actual", "MCInst", "and", "emit", "it", "to", "the", "specified", "MCStreamer", "."], "TS_V_token": ["DLX", "DLX", "\"Instruction use requires option to be enabled\"", "\"Unrecognized instruction mnemonic\"", "0U", "\"Too few operands for instruction\"", "DLX", "\"Invalid operand for instruction\"", "\"Unknown match type detected!\""], "File": "DLXAsmParser", "Func": "MatchAndEmitInstruction", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3346, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "GBZ80RegisterInfo", "::", "getCallPreservedMask", "(", "CallingConv", "::", "ID", "CallConv", ")", "const", "{", "return", "CSR_16_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["GBZ80", "GB"], "File": "GBZ80RegisterInfo (2)", "Func": "getCallPreservedMask", "Target": "GBZ80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3347, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "reg_plus_index_p", "(", "rtx", "x", ",", "enum", "machine_mode", "mode", ",", "int", "strict", ")", "{", "rtx", "xfoo0", ",", "xfoo1", ";", "if", "(", "GET_CODE", "(", "x", ")", "!=", "PLUS", ")", "return", "0", ";", "xfoo0", "=", "XEXP", "(", "x", ",", "0", ")", ";", "xfoo1", "=", "XEXP", "(", "x", ",", "1", ")", ";", "if", "(", "BASE_REGISTER_P", "(", "xfoo0", ",", "strict", ")", "&&", "index_term_p", "(", "xfoo1", ",", "mode", ",", "strict", ")", ")", "return", "1", ";", "if", "(", "BASE_REGISTER_P", "(", "xfoo1", ",", "strict", ")", "&&", "index_term_p", "(", "xfoo0", ",", "mode", ",", "strict", ")", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["Return", "1", "if", "X", "is", "the", "sum", "of", "a", "register", "and", "a", "valid", "index", "term", "for", "mode", "MODE", "."], "TS_V_token": ["vax", "0", "0", "1", "1", "1", "0"], "File": "vax3", "Func": "reg_plus_index_p", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3348, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "riscv_integer_cost", "(", "HOST_WIDE_INT", "val", ")", "{", "struct", "riscv_integer_op", "codes", "[", "RISCV_MAX_INTEGER_OPS", "]", ";", "return", "MIN", "(", "riscv_build_integer", "(", "codes", ",", "val", ",", "VOIDmode", ")", ",", "riscv_split_integer_cost", "(", "val", ")", ")", ";", "}", ""], "natrual_language": ["Return", "the", "cost", "of", "constructing", "the", "integer", "constant", "VAL", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_integer_cost", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3349, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_xcoff_asm_init_sections", "(", "void", ")", "{", "read_only_data_section", "=", "get_unnamed_section", "(", "0", ",", "rs6000_xcoff_output_readonly_section_asm_op", ",", "&", "xcoff_read_only_section_name", ")", ";", "private_data_section", "=", "get_unnamed_section", "(", "SECTION_WRITE", ",", "rs6000_xcoff_output_readwrite_section_asm_op", ",", "&", "xcoff_private_data_section_name", ")", ";", "tls_data_section", "=", "get_unnamed_section", "(", "SECTION_TLS", ",", "rs6000_xcoff_output_tls_section_asm_op", ",", "&", "xcoff_tls_data_section_name", ")", ";", "tls_private_data_section", "=", "get_unnamed_section", "(", "SECTION_TLS", ",", "rs6000_xcoff_output_tls_section_asm_op", ",", "&", "xcoff_private_data_section_name", ")", ";", "read_only_private_data_section", "=", "get_unnamed_section", "(", "0", ",", "rs6000_xcoff_output_readonly_section_asm_op", ",", "&", "xcoff_private_data_section_name", ")", ";", "toc_section", "=", "get_unnamed_section", "(", "0", ",", "rs6000_xcoff_output_toc_section_asm_op", ",", "NULL", ")", ";", "readonly_data_section", "=", "read_only_data_section", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_INIT_SECTIONS", "."], "TS_V_token": ["rs6000", "0", "0", "0"], "File": "rs60005", "Func": "rs6000_xcoff_asm_init_sections", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3350, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_scalar_mode_supported_p", "(", "scalar_mode", "mode", ")", "{", "if", "(", "DECIMAL_FLOAT_MODE_P", "(", "mode", ")", ")", "return", "default_decimal_float_supported_p", "(", ")", ";", "else", "if", "(", "mode", "==", "TFmode", ")", "return", "true", ";", "else", "if", "(", "mode", "==", "HFmode", "&&", "TARGET_SSE2", ")", "return", "true", ";", "else", "return", "default_scalar_mode_supported_p", "(", "mode", ")", ";", "}", ""], "natrual_language": ["Target", "hook", "for", "scalar_mode_supported_p", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_scalar_mode_supported_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3351, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "alignment_mask", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "body", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "body", ")", "!=", "SET", "||", "GET_CODE", "(", "SET_SRC", "(", "body", ")", ")", "!=", "AND", "||", "!", "REG_P", "(", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ")", ")", ")", "return", "0", ";", "rtx", "mask", "=", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "1", ")", ";", "if", "(", "CONST_INT_P", "(", "mask", ")", ")", "{", "if", "(", "INTVAL", "(", "mask", ")", "==", "-", "16", ")", "return", "alignment_with_canonical_addr", "(", "SET_SRC", "(", "body", ")", ")", ";", "else", "return", "0", ";", "}", "if", "(", "!", "REG_P", "(", "mask", ")", ")", "return", "0", ";", "struct", "df_insn_info", "*", "insn_info", "=", "DF_INSN_INFO_GET", "(", "insn", ")", ";", "df_ref", "use", ";", "rtx", "real_mask", "=", "0", ";", "FOR_EACH_INSN_INFO_USE", "(", "use", ",", "insn_info", ")", "{", "if", "(", "!", "rtx_equal_p", "(", "DF_REF_REG", "(", "use", ")", ",", "mask", ")", ")", "continue", ";", "struct", "df_link", "*", "def_link", "=", "DF_REF_CHAIN", "(", "use", ")", ";", "if", "(", "!", "def_link", "||", "def_link", "->", "next", ")", "return", "0", ";", "rtx_insn", "*", "const_insn", "=", "DF_REF_INSN", "(", "def_link", "->", "ref", ")", ";", "rtx", "const_body", "=", "PATTERN", "(", "const_insn", ")", ";", "if", "(", "GET_CODE", "(", "const_body", ")", "!=", "SET", ")", "return", "0", ";", "real_mask", "=", "SET_SRC", "(", "const_body", ")", ";", "if", "(", "!", "CONST_INT_P", "(", "real_mask", ")", "||", "INTVAL", "(", "real_mask", ")", "!=", "-", "16", ")", "return", "0", ";", "}", "if", "(", "real_mask", "==", "0", ")", "return", "0", ";", "return", "alignment_with_canonical_addr", "(", "SET_SRC", "(", "body", ")", ")", ";", "}", ""], "natrual_language": ["Check", "whether", "an", "rtx", "is", "an", "alignment", "mask", ",", "and", "if", "so", ",", "return", "a", "fully-expanded", "rtx", "for", "the", "masking", "operation", "."], "TS_V_token": ["rs6000", "0", "0", "1", "16", "0", "0", "0", "0", "0", "16", "0", "0", "0"], "File": "rs6000-p8swap", "Func": "alignment_mask", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3352, "Length": 248, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "insn_is_swap_p", "(", "rtx", "insn", ")", "{", "rtx", "body", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "body", ")", "!=", "SET", ")", "return", "0", ";", "rtx", "rhs", "=", "SET_SRC", "(", "body", ")", ";", "if", "(", "pattern_is_rotate64", "(", "body", ")", ")", "return", "1", ";", "if", "(", "GET_CODE", "(", "rhs", ")", "!=", "VEC_SELECT", ")", "return", "0", ";", "rtx", "parallel", "=", "XEXP", "(", "rhs", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "parallel", ")", "!=", "PARALLEL", ")", "return", "0", ";", "unsigned", "int", "len", "=", "XVECLEN", "(", "parallel", ",", "0", ")", ";", "if", "(", "len", "!=", "2", "&&", "len", "!=", "4", "&&", "len", "!=", "8", "&&", "len", "!=", "16", ")", "return", "0", ";", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "len", "/", "2", ";", "++", "i", ")", "{", "rtx", "op", "=", "XVECEXP", "(", "parallel", ",", "0", ",", "i", ")", ";", "if", "(", "!", "CONST_INT_P", "(", "op", ")", "||", "INTVAL", "(", "op", ")", "!=", "len", "/", "2", "+", "i", ")", "return", "0", ";", "}", "for", "(", "unsigned", "int", "i", "=", "len", "/", "2", ";", "i", "<", "len", ";", "++", "i", ")", "{", "rtx", "op", "=", "XVECEXP", "(", "parallel", ",", "0", ",", "i", ")", ";", "if", "(", "!", "CONST_INT_P", "(", "op", ")", "||", "INTVAL", "(", "op", ")", "!=", "i", "-", "len", "/", "2", ")", "return", "0", ";", "}", "return", "1", ";", "}", ""], "natrual_language": ["Return", "1", "iff", "INSN", "swaps", "doublewords", ".", "This", "may", "be", "a", "reg-reg", "swap", ",", "a", "permuting", "load", ",", "or", "a", "permuting", "store", "."], "TS_V_token": ["rs6000", "0", "1", "0", "1", "0", "0", "2", "4", "8", "16", "0", "0", "2", "0", "2", "0", "2", "0", "2", "0", "1"], "File": "rs6000-p8swap", "Func": "insn_is_swap_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3353, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "LC2200InstrInfo", "::", "insertBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "TBB", ",", "MachineBasicBlock", "*", "FBB", ",", "ArrayRef", "<", "MachineOperand", ">", "Cond", ",", "const", "DebugLoc", "&", "DL", ",", "int", "*", "BytesAdded", ")", "const", "{", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "=", "0", ";", "if", "(", "Cond", ".", "empty", "(", ")", ")", "{", "assert", "(", "!", "FBB", "&&", "\"Unconditional branch with multiple successors!\"", ")", ";", "auto", "&", "MI", "=", "*", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "LC2200", "::", "GOTO", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "+=", "4", ";", "return", "1", ";", "}", "auto", "ConditionCode", "=", "(", "ISD", "::", "CondCode", ")", "Cond", "[", "0", "]", ".", "getImm", "(", ")", ";", "auto", "a", "=", "Cond", "[", "1", "]", ";", "auto", "b", "=", "Cond", "[", "2", "]", ";", "unsigned", "Count", "=", "resolveComparison", "(", "MBB", ",", "MBB", ".", "end", "(", ")", ",", "DL", ",", "ConditionCode", ",", "a", ",", "b", ")", ";", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "+=", "(", "int", ")", "Count", "*", "4", ";", "BuildMI", "(", "MBB", ",", "MBB", ".", "end", "(", ")", ",", "DL", ",", "get", "(", "LC2200", "::", "GOTO", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "+=", "4", ";", "Count", "++", ";", "if", "(", "FBB", ")", "{", "BuildMI", "(", "MBB", ",", "MBB", ".", "end", "(", ")", ",", "DL", ",", "get", "(", "LC2200", "::", "GOTO", ")", ")", ".", "addMBB", "(", "FBB", ")", ";", "if", "(", "BytesAdded", ")", "*", "BytesAdded", "+=", "4", ";", "Count", "++", ";", "}", "return", "Count", ";", "}", ""], "natrual_language": ["Insert", "branch", "code", "into", "the", "end", "of", "the", "specified", "MachineBasicBlock", "."], "TS_V_token": ["LC2200", "LC2200", "0", "\"Unconditional branch with multiple successors!\"", "LC2200::GOTO", "4", "1", "ISD::CondCode", "0", "1", "2", "4", "LC2200::GOTO", "4", "LC2200::GOTO", "4"], "File": "LC2200InstrInfo", "Func": "insertBranch", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3354, "Length": 251, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "OR1KTargetMachine", "&", "getTargetMachine", "(", ")", "{", "return", "static_cast", "<", "const", "OR1KTargetMachine", "&", ">", "(", "TM", ")", ";", "}", ""], "natrual_language": ["Return", "the", "target", "machine", "(", "if", "available", ")", "."], "TS_V_token": ["OR1K", "OR1K", "OR1K"], "File": "OR1KISelDAGToDAG", "Func": "getTargetMachine", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3355, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "LoongArchRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "LoongArch", "::", "R22", ":", "LoongArch", "::", "R3", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["LoongArch", "LoongArch", "LoongArch::R22", "LoongArch::R3"], "File": "LoongArchRegisterInfo", "Func": "getFrameRegister", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3356, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "OperandMatchResultTy", "AArch64AsmParser", "::", "tryParseRegister", "(", "unsigned", "&", "RegNo", ",", "SMLoc", "&", "StartLoc", ",", "SMLoc", "&", "EndLoc", ")", "{", "StartLoc", "=", "getLoc", "(", ")", ";", "auto", "Res", "=", "tryParseScalarRegister", "(", "RegNo", ")", ";", "EndLoc", "=", "SMLoc", "::", "getFromPointer", "(", "getLoc", "(", ")", ".", "getPointer", "(", ")", "-", "1", ")", ";", "return", "Res", ";", "}", ""], "natrual_language": ["tryParseRegister", "-", "parse", "one", "register", "if", "possible"], "TS_V_token": ["AArch64", "AArch64", "1"], "File": "AArch64AsmParser1", "Func": "tryParseRegister", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3357, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "WebAssemblyMCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "MO", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "return", "MRI", ".", "getEncodingValue", "(", "MO", ".", "getReg", "(", ")", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "assert", "(", "MO", ".", "isExpr", "(", ")", ")", ";", "assert", "(", "MO", ".", "getExpr", "(", ")", "->", "getKind", "(", ")", "==", "MCExpr", "::", "SymbolRef", ")", ";", "assert", "(", "false", "&&", "\"FIXME: not implemented yet\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"FIXME: not implemented yet\"", "0"], "File": "WebAssemblyMCCodeEmitter (2)", "Func": "getMachineOpValue", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3358, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_process_target_attr", "(", "tree", "args", ")", "{", "if", "(", "TREE_CODE", "(", "args", ")", "==", "TREE_LIST", ")", "{", "do", "{", "tree", "head", "=", "TREE_VALUE", "(", "args", ")", ";", "if", "(", "head", ")", "{", "if", "(", "!", "aarch64_process_target_attr", "(", "head", ")", ")", "return", "false", ";", "}", "args", "=", "TREE_CHAIN", "(", "args", ")", ";", "}", "while", "(", "args", ")", ";", "return", "true", ";", "}", "if", "(", "TREE_CODE", "(", "args", ")", "!=", "STRING_CST", ")", "{", "error", "(", "\"attribute % argument not a string\"", ")", ";", "return", "false", ";", "}", "size_t", "len", "=", "strlen", "(", "TREE_STRING_POINTER", "(", "args", ")", ")", ";", "char", "*", "str_to_check", "=", "(", "char", "*", ")", "alloca", "(", "len", "+", "1", ")", ";", "strcpy", "(", "str_to_check", ",", "TREE_STRING_POINTER", "(", "args", ")", ")", ";", "if", "(", "len", "==", "0", ")", "{", "error", "(", "\"malformed % pragma or attribute\"", ")", ";", "return", "false", ";", "}", "unsigned", "int", "num_commas", "=", "num_occurences_in_str", "(", "','", ",", "str_to_check", ")", ";", "char", "*", "token", "=", "strtok", "(", "str_to_check", ",", "\",\"", ")", ";", "unsigned", "int", "num_attrs", "=", "0", ";", "while", "(", "token", ")", "{", "num_attrs", "++", ";", "if", "(", "!", "aarch64_process_one_target_attr", "(", "token", ")", ")", "{", "error", "(", "\"pragma or attribute % is not valid\"", ",", "token", ")", ";", "return", "false", ";", "}", "token", "=", "strtok", "(", "NULL", ",", "\",\"", ")", ";", "}", "if", "(", "num_attrs", "!=", "num_commas", "+", "1", ")", "{", "error", "(", "\"malformed % pragma or attribute\"", ",", "TREE_STRING_POINTER", "(", "args", ")", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Parse", "the", "tree", "in", "ARGS", "that", "contains", "the", "target", "attribute", "information", "and", "update", "the", "global", "target", "options", "space", ".", "PRAGMA_OR_ATTR", "is", "a", "string", "to", "be", "used", "in", "error", "messages", ",", "specifying", "whether", "this", "is", "processing", "a", "target", "attribute", "or", "a", "target", "pragma", "."], "TS_V_token": ["aarch64", "\"attribute % argument not a string\"", "1", "0", "\"malformed % pragma or attribute\"", "\",\"", "0", "\"pragma or attribute % is not valid\"", "\",\"", "1", "\"malformed % pragma or attribute\""], "File": "aarch645", "Func": "aarch64_process_target_attr", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3359, "Length": 225, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64TargetLowering", "::", "insertSSPDeclarations", "(", "Module", "&", "M", ")", "const", "{", "if", "(", "Subtarget", "->", "getTargetTriple", "(", ")", ".", "isWindowsMSVCEnvironment", "(", ")", ")", "{", "M", ".", "getOrInsertGlobal", "(", "\"__security_cookie\"", ",", "Type", "::", "getInt8PtrTy", "(", "M", ".", "getContext", "(", ")", ")", ")", ";", "FunctionCallee", "SecurityCheckCookie", "=", "M", ".", "getOrInsertFunction", "(", "\"__security_check_cookie\"", ",", "Type", "::", "getVoidTy", "(", "M", ".", "getContext", "(", ")", ")", ",", "Type", "::", "getInt8PtrTy", "(", "M", ".", "getContext", "(", ")", ")", ")", ";", "if", "(", "Function", "*", "F", "=", "dyn_cast", "<", "Function", ">", "(", "SecurityCheckCookie", ".", "getCallee", "(", ")", ")", ")", "{", "F", "->", "setCallingConv", "(", "CallingConv", "::", "Win64", ")", ";", "F", "->", "addAttribute", "(", "1", ",", "Attribute", "::", "AttrKind", "::", "InReg", ")", ";", "}", "return", ";", "}", "TargetLowering", "::", "insertSSPDeclarations", "(", "M", ")", ";", "}", ""], "natrual_language": ["Inserts", "necessary", "declarations", "for", "SSP", "(", "stack", "protection", ")", "purpose", "."], "TS_V_token": ["AArch64", "AArch64", "\"__security_cookie\"", "\"__security_check_cookie\"", "1"], "File": "AArch64ISelLowering (2)3", "Func": "insertSSPDeclarations", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3360, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SPIRVInstrInfo", "::", "insertBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "TBB", ",", "MachineBasicBlock", "*", "FBB", ",", "ArrayRef", "<", "MachineOperand", ">", "Cond", ",", "const", "DebugLoc", "&", "DL", ",", "int", "*", "BytesAdded", ")", "const", "{", "report_fatal_error", "(", "\"Branch insertion not supported, as MBB info not \"", "\"propagated to OpPhi instructions. Try using \"", "\"-O0 instead.\"", ")", ";", "}", ""], "natrual_language": ["Insert", "branch", "code", "into", "the", "end", "of", "the", "specified", "MachineBasicBlock", "."], "TS_V_token": ["SPIRV", "SPIRV", "\"Branch insertion not supported, as MBB info not \"", "\"propagated to OpPhi instructions. Try using \"", "\"-O0 instead.\""], "File": "SPIRVInstrInfo", "Func": "insertBranch", "Target": "SPIRV", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3361, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "0", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["R600", "0"], "File": "AMDGPUAsmBackend3", "Func": "getNumFixupKinds", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3362, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AMDGPUPassConfig", "::", "addIRPasses", "(", ")", "{", "disablePass", "(", "&", "StackMapLivenessID", ")", ";", "disablePass", "(", "&", "FuncletLayoutID", ")", ";", "disablePass", "(", "&", "PatchableFunctionID", ")", ";", "addPass", "(", "createAMDGPUAlwaysInlinePass", "(", ")", ")", ";", "addPass", "(", "createAlwaysInlinerLegacyPass", "(", ")", ")", ";", "addPass", "(", "createBarrierNoopPass", "(", ")", ")", ";", "addPass", "(", "createAMDGPUOpenCLImageTypeLoweringPass", "(", ")", ")", ";", "const", "AMDGPUTargetMachine", "&", "TM", "=", "getAMDGPUTargetMachine", "(", ")", ";", "if", "(", "TM", ".", "getOptLevel", "(", ")", ">", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createAMDGPUPromoteAlloca", "(", "&", "TM", ")", ")", ";", "if", "(", "EnableSROA", ")", "addPass", "(", "createSROAPass", "(", ")", ")", ";", "}", "addStraightLineScalarOptimizationPasses", "(", ")", ";", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addEarlyCSEOrGVNPass", "(", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU"], "File": "AMDGPUTargetMachine84", "Func": "addIRPasses", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3363, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMExpandPseudo", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "STI", "=", "&", "static_cast", "<", "const", "ARMSubtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";", "TII", "=", "STI", "->", "getInstrInfo", "(", ")", ";", "TRI", "=", "STI", "->", "getRegisterInfo", "(", ")", ";", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "IsRelocPIC", "=", "MF", ".", "getTarget", "(", ")", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineFunction", "::", "iterator", "MFI", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "MFI", "!=", "E", ";", "++", "MFI", ")", "Modified", "|=", "ExpandMBB", "(", "*", "MFI", ")", ";", "if", "(", "VerifyARMPseudo", ")", "MF", ".", "verify", "(", "this", ",", "\"After expanding ARM pseudo instructions.\"", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM", "\"After expanding ARM pseudo instructions.\""], "File": "ARMExpandPseudoInsts78", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3364, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getArithmeticInstrCost", "(", "unsigned", "Opcode", ",", "Type", "*", "Ty", ",", "TTI", "::", "OperandValueKind", "Opd1Info", "=", "TTI", "::", "OK_AnyValue", ",", "TTI", "::", "OperandValueKind", "Opd2Info", "=", "TTI", "::", "OK_AnyValue", ",", "TTI", "::", "OperandValueProperties", "Opd1PropInfo", "=", "TTI", "::", "OP_None", ",", "TTI", "::", "OperandValueProperties", "Opd2PropInfo", "=", "TTI", "::", "OP_None", ",", "ArrayRef", "<", "const", "Value", "*", ">", "Args", "=", "ArrayRef", "<", "const", "Value", "*", ">", "(", ")", ")", "{", "return", "BaseT", "::", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", ",", "Opd1Info", ",", "Opd2Info", ",", "Opd1PropInfo", ",", "Opd2PropInfo", ",", "Args", ")", ";", "}", ""], "natrual_language": ["This", "is", "an", "approximation", "of", "reciprocal", "throughput", "of", "a", "math/logic", "op", "."], "TS_V_token": ["Hexagon"], "File": "HexagonTargetTransformInfo20", "Func": "getArithmeticInstrCost", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3365, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "Z80RegisterInfo", "::", "getPointerRegClass", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Kind", ")", "const", "{", "switch", "(", "Kind", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected Kind in getPointerRegClass!\"", ")", ";", "case", "0", ":", "return", "Is24Bit", "?", "&", "Z80", "::", "G24RegClass", ":", "&", "Z80", "::", "G16RegClass", ";", "case", "1", ":", "return", "Is24Bit", "?", "&", "Z80", "::", "A24RegClass", ":", "&", "Z80", "::", "A16RegClass", ";", "case", "2", ":", "return", "Is24Bit", "?", "&", "Z80", "::", "I24RegClass", ":", "&", "Z80", "::", "I16RegClass", ";", "}", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["Z80", "Z80", "\"Unexpected Kind in getPointerRegClass!\"", "0", "Z80::G24RegClass", "Z80::G16RegClass", "1", "Z80::A24RegClass", "Z80::A16RegClass", "2", "Z80::I24RegClass", "Z80::I16RegClass"], "File": "Z80RegisterInfo2", "Func": "getPointerRegClass", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3366, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "s390_register_info_stdarg_fpr", "(", ")", "{", "int", "i", ";", "int", "min_fpr", ";", "int", "max_fpr", ";", "if", "(", "!", "cfun", "->", "stdarg", "||", "!", "TARGET_HARD_FLOAT", "||", "!", "cfun", "->", "va_list_fpr_size", "||", "crtl", "->", "args", ".", "info", ".", "fprs", ">=", "FP_ARG_NUM_REG", ")", "return", ";", "min_fpr", "=", "crtl", "->", "args", ".", "info", ".", "fprs", ";", "max_fpr", "=", "min_fpr", "+", "cfun", "->", "va_list_fpr_size", ";", "if", "(", "max_fpr", ">", "FP_ARG_NUM_REG", ")", "max_fpr", "=", "FP_ARG_NUM_REG", ";", "for", "(", "i", "=", "min_fpr", ";", "i", "<", "max_fpr", ";", "i", "++", ")", "cfun_set_fpr_save", "(", "i", "+", "FPR0_REGNUM", ")", ";", "}", ""], "natrual_language": ["Set", "the", "bits", "in", "fpr_bitmap", "for", "FPRs", "which", "need", "to", "be", "saved", "due", "to", "stdarg", ".", "This", "is", "a", "helper", "routine", "for", "s390_register_info", "."], "TS_V_token": ["s390"], "File": "s3904", "Func": "s390_register_info_stdarg_fpr", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3367, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "nds32_float_mem_operand_p", "(", "rtx", "op", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "op", ")", ";", "rtx", "addr", "=", "XEXP", "(", "op", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "SYMBOL_REF", "||", "GET_CODE", "(", "addr", ")", "==", "CONST", "||", "GET_CODE", "(", "addr", ")", "==", "LO_SUM", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PLUS", ")", "{", "if", "(", "GET_CODE", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "==", "SYMBOL_REF", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "addr", ",", "1", ")", ")", "==", "CONST_INT", ")", "{", "if", "(", "(", "mode", "==", "SImode", "||", "mode", "==", "SFmode", ")", "&&", "NDS32_SINGLE_WORD_ALIGN_P", "(", "INTVAL", "(", "XEXP", "(", "addr", ",", "1", ")", ")", ")", "&&", "!", "satisfies_constraint_Is14", "(", "XEXP", "(", "addr", ",", "1", ")", ")", ")", "return", "false", ";", "if", "(", "(", "mode", "==", "DImode", "||", "mode", "==", "DFmode", ")", "&&", "NDS32_DOUBLE_WORD_ALIGN_P", "(", "INTVAL", "(", "XEXP", "(", "addr", ",", "1", ")", ")", ")", "&&", "!", "satisfies_constraint_Is14", "(", "XEXP", "(", "addr", ",", "1", ")", ")", ")", "return", "false", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Vaild", "memory", "operand", "for", "floating-point", "loads", "and", "stores"], "TS_V_token": ["nds32", "0", "0", "1", "1", "1", "1", "1"], "File": "nds32-predicates", "Func": "nds32_float_mem_operand_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3368, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "shouldConvertConstantLoadToIntImm", "(", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "it", "is", "beneficial", "to", "convert", "a", "load", "of", "a", "constant", "to", "just", "the", "constant", "itself", "."], "TS_V_token": ["CAHP"], "File": "CAHPISelLowering", "Func": "shouldConvertConstantLoadToIntImm", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3369, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "requiresFrameIndexScavenging", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "requires", "post", "PEI", "scavenging", "of", "registers", "for", "materializing", "frame", "index", "constants", "."], "TS_V_token": ["Mandarin"], "File": "MandarinRegisterInfo", "Func": "requiresFrameIndexScavenging", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3370, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "rtx_code", "s390_reverse_condition", "(", "machine_mode", "mode", ",", "enum", "rtx_code", "code", ")", "{", "if", "(", "mode", "==", "CCVFALLmode", "||", "mode", "==", "CCVFANYmode", ")", "return", "reverse_condition_maybe_unordered", "(", "code", ")", ";", "else", "if", "(", "mode", "==", "CCVIALLmode", "||", "mode", "==", "CCVIANYmode", ")", "return", "reverse_condition", "(", "code", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Invert", "the", "comparison", "CODE", "applied", "to", "a", "CC", "mode", ".", "This", "is", "only", "safe", "if", "we", "know", "whether", "there", "result", "was", "created", "by", "a", "floating", "point", "compare", "or", "not", ".", "For", "the", "CCV", "modes", "this", "is", "encoded", "as", "part", "of", "the", "mode", "."], "TS_V_token": ["s390"], "File": "s3906", "Func": "s390_reverse_condition", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3371, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_vfp_is_call_or_return_candidate", "(", "machine_mode", "mode", ",", "const_tree", "type", ",", "machine_mode", "*", "base_mode", ",", "int", "*", "count", ",", "bool", "*", "is_ha", ")", "{", "machine_mode", "new_mode", "=", "VOIDmode", ";", "bool", "composite_p", "=", "aarch64_composite_type_p", "(", "type", ",", "mode", ")", ";", "if", "(", "is_ha", "!=", "NULL", ")", "*", "is_ha", "=", "false", ";", "if", "(", "(", "!", "composite_p", "&&", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", ")", "||", "aarch64_short_vector_p", "(", "type", ",", "mode", ")", ")", "{", "*", "count", "=", "1", ";", "new_mode", "=", "mode", ";", "}", "else", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_COMPLEX_FLOAT", ")", "{", "if", "(", "is_ha", "!=", "NULL", ")", "*", "is_ha", "=", "true", ";", "*", "count", "=", "2", ";", "new_mode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "}", "else", "if", "(", "type", "&&", "composite_p", ")", "{", "int", "ag_count", "=", "aapcs_vfp_sub_candidate", "(", "type", ",", "&", "new_mode", ")", ";", "if", "(", "ag_count", ">", "0", "&&", "ag_count", "<=", "HA_MAX_NUM_FLDS", ")", "{", "if", "(", "is_ha", "!=", "NULL", ")", "*", "is_ha", "=", "true", ";", "*", "count", "=", "ag_count", ";", "}", "else", "return", "false", ";", "}", "else", "return", "false", ";", "*", "base_mode", "=", "new_mode", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "an", "argument", ",", "whose", "type", "is", "described", "by", "TYPE", "and", "MODE", ",", "shall", "be", "passed", "or", "returned", "in", "simd/fp", "register", "(", "s", ")", "(", "providing", "these", "parameter", "passing", "registers", "are", "available", ")", ".", "Upon", "successful", "return", ",", "*", "COUNT", "returns", "the", "number", "of", "needed", "registers", ",", "*", "BASE_MODE", "returns", "the", "mode", "of", "the", "individual", "register", "and", "when", "IS_HAF", "is", "not", "NULL", ",", "*", "IS_HA", "indicates", "whether", "or", "not", "the", "argument", "is", "a", "homogeneous", "floating-point", "aggregate", "or", "a", "homogeneous", "short-vector", "aggregate", "."], "TS_V_token": ["aarch64", "1", "2", "0"], "File": "aarch642", "Func": "aarch64_vfp_is_call_or_return_candidate", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3372, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "XCoreTargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InFlag", ",", "CallSDNode", "*", "TheCall", ",", "unsigned", "CallingConv", ",", "SelectionDAG", "&", "DAG", ")", "{", "bool", "isVarArg", "=", "TheCall", "->", "isVarArg", "(", ")", ";", "DebugLoc", "dl", "=", "TheCall", "->", "getDebugLoc", "(", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallingConv", ",", "isVarArg", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ")", ";", "CCInfo", ".", "AnalyzeCallResult", "(", "TheCall", ",", "RetCC_XCore", ")", ";", "SmallVector", "<", "SDValue", ",", "8", ">", "ResultVals", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ",", "RVLocs", "[", "i", "]", ".", "getValVT", "(", ")", ",", "InFlag", ")", ".", "getValue", "(", "1", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "2", ")", ";", "ResultVals", ".", "push_back", "(", "Chain", ".", "getValue", "(", "0", ")", ")", ";", "}", "ResultVals", ".", "push_back", "(", "Chain", ")", ";", "return", "DAG", ".", "getNode", "(", "ISD", "::", "MERGE_VALUES", ",", "dl", ",", "TheCall", "->", "getVTList", "(", ")", ",", "&", "ResultVals", "[", "0", "]", ",", "ResultVals", ".", "size", "(", ")", ")", ".", "getNode", "(", ")", ";", "}", ""], "natrual_language": ["LowerCallResult", "-", "Lower", "the", "result", "values", "of", "an", "ISD", ":", ":CALL", "into", "the", "appropriate", "copies", "out", "of", "appropriate", "physical", "registers", "."], "TS_V_token": ["XCore", "XCore", "16", "XCore", "8", "0", "1", "2", "0", "ISD::MERGE_VALUES", "0"], "File": "XCoreISelLowering17", "Func": "LowerCallResult", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3373, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "xtensa_dbx_register_number", "(", "int", "regno", ")", "{", "int", "first", "=", "-", "1", ";", "if", "(", "GP_REG_P", "(", "regno", ")", ")", "{", "regno", "-=", "GP_REG_FIRST", ";", "first", "=", "0", ";", "}", "else", "if", "(", "BR_REG_P", "(", "regno", ")", ")", "{", "regno", "-=", "BR_REG_FIRST", ";", "first", "=", "16", ";", "}", "else", "if", "(", "FP_REG_P", "(", "regno", ")", ")", "{", "regno", "-=", "FP_REG_FIRST", ";", "first", "=", "48", ";", "}", "else", "if", "(", "ACC_REG_P", "(", "regno", ")", ")", "{", "first", "=", "0x200", ";", "regno", "=", "16", ";", "}", "if", "(", "first", "==", "-", "1", ")", "return", "0", ";", "return", "first", "+", "regno", ";", "}", ""], "natrual_language": ["Return", "the", "stabs", "register", "number", "to", "use", "for", "'regno", "'", "."], "TS_V_token": ["xtensa", "1", "0", "16", "48", "0x200", "16", "1", "0"], "File": "xtensa", "Func": "xtensa_dbx_register_number", "Target": "xtensa", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3374, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "expand_vec_perm_broadcast", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "i", ",", "elt", ",", "nelt", "=", "d", "->", "nelt", ";", "unsigned", "char", "perm2", "[", "2", "]", ";", "rtx", "temp", ";", "bool", "ok", ";", "if", "(", "!", "d", "->", "one_operand_p", ")", "return", "false", ";", "elt", "=", "d", "->", "perm", "[", "0", "]", ";", "for", "(", "i", "=", "1", ";", "i", "<", "nelt", ";", "++", "i", ")", "if", "(", "d", "->", "perm", "[", "i", "]", "!=", "elt", ")", "return", "false", ";", "switch", "(", "d", "->", "vmode", ")", "{", "case", "E_V2SImode", ":", "case", "E_V2SFmode", ":", "perm2", "[", "0", "]", "=", "elt", ";", "perm2", "[", "1", "]", "=", "elt", "+", "2", ";", "ok", "=", "expand_vselect_vconcat", "(", "d", "->", "target", ",", "d", "->", "op0", ",", "d", "->", "op0", ",", "perm2", ",", "2", ")", ";", "gcc_assert", "(", "ok", ")", ";", "break", ";", "case", "E_V8QImode", ":", "if", "(", "BYTES_BIG_ENDIAN", ")", "elt", "=", "7", "-", "elt", ";", "elt", "*=", "BITS_PER_UNIT", ";", "temp", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "emit_insn", "(", "gen_extzv", "(", "temp", ",", "gen_lowpart", "(", "DImode", ",", "d", "->", "op0", ")", ",", "GEN_INT", "(", "8", ")", ",", "GEN_INT", "(", "elt", ")", ")", ")", ";", "emit_insn", "(", "gen_mux1_brcst_qi", "(", "d", "->", "target", ",", "gen_lowpart", "(", "QImode", ",", "temp", ")", ")", ")", ";", "break", ";", "case", "E_V4HImode", ":", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Pattern", "match", "broadcast", "permutations", "."], "TS_V_token": ["ia64", "2", "0", "1", "0", "1", "2", "2", "7", "8"], "File": "ia64", "Func": "expand_vec_perm_broadcast", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3375, "Length": 221, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "classof", "(", "const", "MCSection", "*", "S", ")", "{", "return", "S", "->", "getVariant", "(", ")", "==", "SV_GBZ80", ";", "}", ""], "natrual_language": ["Methods", "for", "support", "type", "inquiry", "through", "isa", ",", "cast", ",", "and", "dyn_cast", ":"], "TS_V_token": ["GBZ80", "GB"], "File": "GBZ80TargetObjectFile", "Func": "classof", "Target": "GBZ80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3376, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint32_t", "generateCompactUnwindEncoding", "(", "ArrayRef", "<", "MCCFIInstruction", ">", "Instrs", ")", "const", "override", "{", "if", "(", "Instrs", ".", "empty", "(", ")", ")", "return", "0", ";", "unsigned", "SavedRegIdx", "=", "0", ";", "memset", "(", "SavedRegs", ",", "0", ",", "sizeof", "(", "SavedRegs", ")", ")", ";", "bool", "HasFP", "=", "false", ";", "uint32_t", "CompactUnwindEncoding", "=", "0", ";", "unsigned", "SubtractInstrIdx", "=", "Is64Bit", "?", "3", ":", "2", ";", "unsigned", "InstrOffset", "=", "0", ";", "unsigned", "StackAdjust", "=", "0", ";", "unsigned", "StackSize", "=", "0", ";", "unsigned", "NumDefCFAOffsets", "=", "0", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "Instrs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "const", "MCCFIInstruction", "&", "Inst", "=", "Instrs", "[", "i", "]", ";", "switch", "(", "Inst", ".", "getOperation", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "MCCFIInstruction", "::", "OpDefCfaRegister", ":", "{", "HasFP", "=", "true", ";", "if", "(", "*", "MRI", ".", "getLLVMRegNum", "(", "Inst", ".", "getRegister", "(", ")", ",", "true", ")", "!=", "(", "Is64Bit", "?", "X86", "::", "RBP", ":", "X86", "::", "EBP", ")", ")", "return", "0", ";", "memset", "(", "SavedRegs", ",", "0", ",", "sizeof", "(", "SavedRegs", ")", ")", ";", "StackAdjust", "=", "0", ";", "SavedRegIdx", "=", "0", ";", "InstrOffset", "+=", "MoveInstrSize", ";", "break", ";", "}", "case", "MCCFIInstruction", "::", "OpDefCfaOffset", ":", "{", "StackSize", "=", "std", "::", "abs", "(", "Inst", ".", "getOffset", "(", ")", ")", "/", "StackDivide", ";", "++", "NumDefCFAOffsets", ";", "break", ";", "}", "case", "MCCFIInstruction", "::", "OpOffset", ":", "{", "if", "(", "SavedRegIdx", "==", "CU_NUM_SAVED_REGS", ")", "return", "CU", "::", "UNWIND_MODE_DWARF", ";", "unsigned", "Reg", "=", "*", "MRI", ".", "getLLVMRegNum", "(", "Inst", ".", "getRegister", "(", ")", ",", "true", ")", ";", "SavedRegs", "[", "SavedRegIdx", "++", "]", "=", "Reg", ";", "StackAdjust", "+=", "OffsetSize", ";", "InstrOffset", "+=", "PushInstrSize", "(", "Reg", ")", ";", "break", ";", "}", "}", "}", "StackAdjust", "/=", "StackDivide", ";", "if", "(", "HasFP", ")", "{", "if", "(", "(", "StackAdjust", "&", "0xFF", ")", "!=", "StackAdjust", ")", "return", "CU", "::", "UNWIND_MODE_DWARF", ";", "uint32_t", "RegEnc", "=", "encodeCompactUnwindRegistersWithFrame", "(", ")", ";", "if", "(", "RegEnc", "==", "~", "0U", ")", "return", "CU", "::", "UNWIND_MODE_DWARF", ";", "CompactUnwindEncoding", "|=", "CU", "::", "UNWIND_MODE_BP_FRAME", ";", "CompactUnwindEncoding", "|=", "(", "StackAdjust", "&", "0xFF", ")", "<<", "16", ";", "CompactUnwindEncoding", "|=", "RegEnc", "&", "CU", "::", "UNWIND_BP_FRAME_REGISTERS", ";", "}", "else", "{", "SubtractInstrIdx", "+=", "InstrOffset", ";", "++", "StackAdjust", ";", "if", "(", "(", "StackSize", "&", "0xFF", ")", "==", "StackSize", ")", "{", "CompactUnwindEncoding", "|=", "CU", "::", "UNWIND_MODE_STACK_IMMD", ";", "CompactUnwindEncoding", "|=", "(", "StackSize", "&", "0xFF", ")", "<<", "16", ";", "}", "else", "{", "if", "(", "(", "StackAdjust", "&", "0x7", ")", "!=", "StackAdjust", ")", "return", "CU", "::", "UNWIND_MODE_DWARF", ";", "CompactUnwindEncoding", "|=", "CU", "::", "UNWIND_MODE_STACK_IND", ";", "CompactUnwindEncoding", "|=", "(", "SubtractInstrIdx", "&", "0xFF", ")", "<<", "16", ";", "CompactUnwindEncoding", "|=", "(", "StackAdjust", "&", "0x7", ")", "<<", "13", ";", "}", "std", "::", "reverse", "(", "&", "SavedRegs", "[", "0", "]", ",", "&", "SavedRegs", "[", "SavedRegIdx", "]", ")", ";", "CompactUnwindEncoding", "|=", "(", "SavedRegIdx", "&", "0x7", ")", "<<", "10", ";", "uint32_t", "RegEnc", "=", "encodeCompactUnwindRegistersWithoutFrame", "(", "SavedRegIdx", ")", ";", "if", "(", "RegEnc", "==", "~", "0U", ")", "return", "CU", "::", "UNWIND_MODE_DWARF", ";", "CompactUnwindEncoding", "|=", "RegEnc", "&", "CU", "::", "UNWIND_FRAMELESS_STACK_REG_PERMUTATION", ";", "}", "return", "CompactUnwindEncoding", ";", "}", ""], "natrual_language": ["Generate", "compact", "unwind", "encoding", "for", "the", "function", "based", "on", "the", "CFI", "instructions", "."], "TS_V_token": ["X86", "0", "0", "0", "0", "3", "2", "0", "0", "0", "0", "0", "0", "X86::RBP", "X86::EBP", "0", "0", "0", "0", "0xFF", "0U", "0xFF", "16", "0xFF", "0xFF", "16", "0x7", "0xFF", "16", "0x7", "13", "0", "0x7", "10", "0U"], "File": "X86AsmBackend16", "Func": "generateCompactUnwindEncoding", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3377, "Length": 488, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUCodeGenPrepare", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "skipFunction", "(", "F", ")", ")", "return", "false", ";", "auto", "*", "TPC", "=", "getAnalysisIfAvailable", "<", "TargetPassConfig", ">", "(", ")", ";", "if", "(", "!", "TPC", ")", "return", "false", ";", "const", "AMDGPUTargetMachine", "&", "TM", "=", "TPC", "->", "getTM", "<", "AMDGPUTargetMachine", ">", "(", ")", ";", "ST", "=", "&", "TM", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", "F", ")", ";", "AC", "=", "&", "getAnalysis", "<", "AssumptionCacheTracker", ">", "(", ")", ".", "getAssumptionCache", "(", "F", ")", ";", "DA", "=", "&", "getAnalysis", "<", "LegacyDivergenceAnalysis", ">", "(", ")", ";", "HasUnsafeFPMath", "=", "hasUnsafeFPMath", "(", "F", ")", ";", "HasFP32Denormals", "=", "ST", "->", "hasFP32Denormals", "(", "F", ")", ";", "bool", "MadeChange", "=", "false", ";", "for", "(", "BasicBlock", "&", "BB", ":", "F", ")", "{", "BasicBlock", "::", "iterator", "Next", ";", "for", "(", "BasicBlock", "::", "iterator", "I", "=", "BB", ".", "begin", "(", ")", ",", "E", "=", "BB", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "I", "=", "Next", ")", "{", "Next", "=", "std", "::", "next", "(", "I", ")", ";", "MadeChange", "|=", "visit", "(", "*", "I", ")", ";", "}", "}", "return", "MadeChange", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU"], "File": "AMDGPUCodeGenPrepare46", "Func": "runOnFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3378, "Length": 179, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "hasDivRemOp", "(", "Type", "*", "DataType", ",", "bool", "IsSigned", ")", "{", "EVT", "VT", "=", "TLI", "->", "getValueType", "(", "DL", ",", "DataType", ")", ";", "return", "TLI", "->", "isOperationLegal", "(", "IsSigned", "?", "ISD", "::", "SDIVREM", ":", "ISD", "::", "UDIVREM", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "has", "a", "unified", "operation", "to", "calculate", "division", "and", "remainder", "."], "TS_V_token": ["X86", "X86", "ISD::SDIVREM", "ISD::UDIVREM"], "File": "X86TargetTransformInfo (2)", "Func": "hasDivRemOp", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3379, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mep_use_post_modify_p_1", "(", "rtx_insn", "*", "set_insn", ",", "rtx", "reg", ",", "rtx", "offset", ")", "{", "rtx_insn", "*", "insn", ";", "insn", "=", "set_insn", ";", "do", "{", "insn", "=", "PREV_INSN", "(", "insn", ")", ";", "if", "(", "INSN_P", "(", "insn", ")", ")", "{", "if", "(", "mep_use_post_modify_for_set_p", "(", "PATTERN", "(", "insn", ")", ",", "reg", ",", "offset", ")", ")", "{", "mep_make_parallel", "(", "insn", ",", "set_insn", ")", ";", "return", "true", ";", "}", "if", "(", "reg_set_p", "(", "reg", ",", "insn", ")", "||", "reg_referenced_p", "(", "reg", ",", "PATTERN", "(", "insn", ")", ")", "||", "volatile_insn_p", "(", "PATTERN", "(", "insn", ")", ")", ")", "return", "false", ";", "}", "}", "while", "(", "!", "NOTE_INSN_BASIC_BLOCK_P", "(", "insn", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["SET_INSN", "is", "an", "instruction", "that", "adds", "OFFSET", "to", "REG", ".", "Go", "back", "through", "the", "basic", "block", "to", "see", "if", "any", "previous", "load", "or", "store", "instruction", "can", "be", "persuaded", "to", "do", "SET_INSN", "as", "a", "side-effect", ".", "Return", "true", "if", "so", "."], "TS_V_token": ["mep"], "File": "mep", "Func": "mep_use_post_modify_p_1", "Target": "mep", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3380, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isOSWindows", "(", ")", "const", "{", "return", "TargetTriple", ".", "isOSWindows", "(", ")", ";", "}", ""], "natrual_language": ["Tests", "whether", "the", "OS", "is", "Windows", "."], "TS_V_token": ["X86"], "File": "X86Subtarget (2)", "Func": "isOSWindows", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3381, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonInstrInfo", "::", "isIndirectCall", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "Hexagon", "::", "J2_callr", ":", "case", "Hexagon", "::", "J2_callrf", ":", "case", "Hexagon", "::", "J2_callrt", ":", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "callsite", "is", "an", "indirect", "call", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon::J2_callr", "Hexagon::J2_callrf", "Hexagon::J2_callrt"], "File": "HexagonInstrInfo3", "Func": "isIndirectCall", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3382, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiDAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintCode", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "SDValue", "Op0", ",", "Op1", ",", "AluOp", ";", "switch", "(", "ConstraintCode", ")", "{", "default", ":", "return", "true", ";", "case", "InlineAsm", "::", "Constraint_m", ":", "if", "(", "!", "selectAddrRr", "(", "Op", ",", "Op0", ",", "Op1", ",", "AluOp", ")", "&&", "!", "selectAddrRi", "(", "Op", ",", "Op0", ",", "Op1", ",", "AluOp", ")", ")", "return", "true", ";", "break", ";", "}", "OutOps", ".", "push_back", "(", "Op0", ")", ";", "OutOps", ".", "push_back", "(", "Op1", ")", ";", "OutOps", ".", "push_back", "(", "AluOp", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["SelectInlineAsmMemoryOperand", "-", "Select", "the", "specified", "address", "as", "a", "target", "addressing", "mode", ",", "according", "to", "the", "specified", "constraint", "."], "TS_V_token": ["Lanai", "Lanai"], "File": "LanaiISelDAGToDAG", "Func": "SelectInlineAsmMemoryOperand", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3383, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "MCP", "=", "MF", ".", "getConstantPool", "(", ")", ";", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "SetupMachineFunction", "(", "MF", ")", ";", "const", "Function", "*", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "const", "TargetMachine", "&", "TM", "=", "MF", ".", "getTarget", "(", ")", ";", "for", "(", "auto", "*", "GV", ":", "AFI", "->", "getGlobalsPromotedToConstantPool", "(", ")", ")", "PromotedGlobals", ".", "insert", "(", "GV", ")", ";", "unsigned", "OptimizationGoal", ";", "if", "(", "F", "->", "hasFnAttribute", "(", "Attribute", "::", "OptimizeNone", ")", ")", "OptimizationGoal", "=", "6", ";", "else", "if", "(", "F", "->", "optForMinSize", "(", ")", ")", "OptimizationGoal", "=", "4", ";", "else", "if", "(", "F", "->", "optForSize", "(", ")", ")", "OptimizationGoal", "=", "3", ";", "else", "if", "(", "TM", ".", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "Aggressive", ")", "OptimizationGoal", "=", "2", ";", "else", "if", "(", "TM", ".", "getOptLevel", "(", ")", ">", "CodeGenOpt", "::", "None", ")", "OptimizationGoal", "=", "1", ";", "else", "OptimizationGoal", "=", "5", ";", "if", "(", "OptimizationGoals", "==", "-", "1", ")", "OptimizationGoals", "=", "OptimizationGoal", ";", "else", "if", "(", "OptimizationGoals", "!=", "(", "int", ")", "OptimizationGoal", ")", "OptimizationGoals", "=", "0", ";", "if", "(", "Subtarget", "->", "isTargetCOFF", "(", ")", ")", "{", "bool", "Internal", "=", "F", "->", "hasInternalLinkage", "(", ")", ";", "COFF", "::", "SymbolStorageClass", "Scl", "=", "Internal", "?", "COFF", "::", "IMAGE_SYM_CLASS_STATIC", ":", "COFF", "::", "IMAGE_SYM_CLASS_EXTERNAL", ";", "int", "Type", "=", "COFF", "::", "IMAGE_SYM_DTYPE_FUNCTION", "<<", "COFF", "::", "SCT_COMPLEX_TYPE_SHIFT", ";", "OutStreamer", "->", "BeginCOFFSymbolDef", "(", "CurrentFnSym", ")", ";", "OutStreamer", "->", "EmitCOFFSymbolStorageClass", "(", "Scl", ")", ";", "OutStreamer", "->", "EmitCOFFSymbolType", "(", "Type", ")", ";", "OutStreamer", "->", "EndCOFFSymbolDef", "(", ")", ";", "}", "EmitFunctionBody", "(", ")", ";", "emitXRayTable", "(", ")", ";", "if", "(", "!", "ThumbIndirectPads", ".", "empty", "(", ")", ")", "{", "OutStreamer", "->", "EmitAssemblerFlag", "(", "MCAF_Code16", ")", ";", "EmitAlignment", "(", "1", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "ThumbIndirectPads", ".", "size", "(", ")", ";", "i", "<", "e", ";", "i", "++", ")", "{", "OutStreamer", "->", "EmitLabel", "(", "ThumbIndirectPads", "[", "i", "]", ".", "second", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "MCInstBuilder", "(", "ARM", "::", "tBX", ")", ".", "addReg", "(", "ThumbIndirectPads", "[", "i", "]", ".", "first", ")", ".", "addImm", "(", "ARMCC", "::", "AL", ")", ".", "addReg", "(", "0", ")", ")", ";", "}", "ThumbIndirectPads", ".", "clear", "(", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "6", "4", "3", "2", "1", "5", "1", "0", "1", "0", "ARM::tBX", "ARMCC::AL", "0"], "File": "ARMAsmPrinter (2)1", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3384, "Length": 379, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "dump", "(", "const", "llvm", "::", "SelectionDAG", "*", "DAG", ")", "{", "errs", "(", ")", "<<", "\"SystemZAddressingMode \"", "<<", "this", "<<", "'\\n'", ";", "errs", "(", ")", "<<", "\" Base \"", ";", "if", "(", "Base", ".", "getNode", "(", ")", ")", "Base", ".", "getNode", "(", ")", "->", "dump", "(", "DAG", ")", ";", "else", "errs", "(", ")", "<<", "\"null\\n\"", ";", "if", "(", "hasIndexField", "(", ")", ")", "{", "errs", "(", ")", "<<", "\" Index \"", ";", "if", "(", "Index", ".", "getNode", "(", ")", ")", "Index", ".", "getNode", "(", ")", "->", "dump", "(", "DAG", ")", ";", "else", "errs", "(", ")", "<<", "\"null\\n\"", ";", "}", "errs", "(", ")", "<<", "\" Disp \"", "<<", "Disp", ";", "if", "(", "IncludesDynAlloc", ")", "errs", "(", ")", "<<", "\" + ADJDYNALLOC\"", ";", "errs", "(", ")", "<<", "'\\n'", ";", "}", ""], "natrual_language": ["Dump", "the", "plan", "to", "stderr", "(", "for", "debugging", ")", "."], "TS_V_token": ["SystemZ", "\"SystemZAddressingMode \"", "\" Base \"", "\"null\\n\"", "\" Index \"", "\"null\\n\"", "\" Disp \"", "\" + ADJDYNALLOC\""], "File": "SystemZISelDAGToDAG (2)1", "Func": "dump", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3385, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64AsmBackend", "::", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ")", "const", "{", "unsigned", "NumBytes", "=", "getFixupKindNumBytes", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "MCFixupKindInfo", "Info", "=", "getFixupKindInfo", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ".", "getKind", "(", ")", ",", "Value", ")", ";", "Value", "<<=", "Info", ".", "TargetOffset", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "assert", "(", "Offset", "+", "NumBytes", "<=", "DataSize", "&&", "\"Invalid fixup offset!\"", ")", ";", "unsigned", "FulleSizeInBytes", "=", "getFixupKindContainereSizeInBytes", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "if", "(", "FulleSizeInBytes", "==", "0", ")", "{", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "Data", "[", "Offset", "+", "i", "]", "|=", "uint8_t", "(", "(", "Value", ">>", "(", "i", "*", "8", ")", ")", "&", "0xff", ")", ";", "}", "}", "else", "{", "assert", "(", "(", "Offset", "+", "FulleSizeInBytes", ")", "<=", "DataSize", "&&", "\"Invalid fixup size!\"", ")", ";", "assert", "(", "NumBytes", "<=", "FulleSizeInBytes", "&&", "\"Invalid fixup size!\"", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "FulleSizeInBytes", "-", "1", "-", "i", ";", "Data", "[", "Offset", "+", "Idx", "]", "|=", "uint8_t", "(", "(", "Value", ">>", "(", "i", "*", "8", ")", ")", "&", "0xff", ")", ";", "}", "}", "}", ""], "natrual_language": ["Apply", "the", "Value", "for", "given", "Fixup", "into", "the", "provided", "data", "fragment", ",", "at", "the", "offset", "specified", "by", "the", "fixup", "and", "following", "the", "fixup", "kind", "as", "appropriate", "."], "TS_V_token": ["AArch64", "AArch64", "\"Invalid fixup offset!\"", "0", "0", "8", "0xff", "\"Invalid fixup size!\"", "\"Invalid fixup size!\"", "0", "1", "8", "0xff"], "File": "AArch64AsmBackend3", "Func": "applyFixup", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3386, "Length": 226, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "loongarch_unsigned_immediate_p", "(", "unsigned", "HOST_WIDE_INT", "x", ",", "int", "bits", ",", "int", "shift", "=", "0", ")", "{", "return", "(", "x", "&", "(", "(", "1", "<<", "shift", ")", "-", "1", ")", ")", "==", "0", "&&", "x", "<", "(", "(", "unsigned", ")", "1", "<<", "(", "shift", "+", "bits", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "fits", "within", "an", "unsigned", "field", "of", "BITS", "bits", "that", "is", "shifted", "left", "SHIFT", "bits", "before", "being", "used", "."], "TS_V_token": ["loongarch", "0", "1", "1", "0", "1"], "File": "loongarch", "Func": "loongarch_unsigned_immediate_p", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3387, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "m32c_return_addr_rtx", "(", "int", "count", ")", "{", "machine_mode", "mode", ";", "int", "offset", ";", "rtx", "ra_mem", ";", "if", "(", "count", ")", "return", "NULL_RTX", ";", "if", "(", "TARGET_A24", ")", "{", "mode", "=", "PSImode", ";", "offset", "=", "4", ";", "}", "else", "{", "mode", "=", "HImode", ";", "offset", "=", "2", ";", "}", "ra_mem", "=", "gen_rtx_MEM", "(", "mode", ",", "plus_constant", "(", "Pmode", ",", "gen_rtx_REG", "(", "Pmode", ",", "FP_REGNO", ")", ",", "offset", ")", ")", ";", "return", "copy_to_mode_reg", "(", "mode", ",", "ra_mem", ")", ";", "}", ""], "natrual_language": ["Implements", "RETURN_ADDR_RTX", ".", "Note", "that", "R8C", "and", "M16C", "push", "24", "bits", "(", "yes", ",", "THREE", "bytes", ")", "onto", "the", "stack", "for", "the", "return", "address", ",", "but", "we", "do", "n't", "support", "pointers", "bigger", "than", "16", "bits", "on", "those", "chips", ".", "This", "will", "likely", "wreak", "havoc", "with", "exception", "unwinding", ".", "FIXME", "."], "TS_V_token": ["m32c", "4", "2"], "File": "m32c", "Func": "m32c_return_addr_rtx", "Target": "m32c", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3388, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsSubtarget", "::", "enablePostRAScheduler", "(", "CodeGenOpt", "::", "Level", "OptLevel", ",", "TargetSubtargetInfo", "::", "AntiDepBreakMode", "&", "Mode", ",", "RegClassVector", "&", "CriticalPathRCs", ")", "const", "{", "Mode", "=", "TargetSubtargetInfo", "::", "ANTIDEP_NONE", ";", "CriticalPathRCs", ".", "clear", "(", ")", ";", "CriticalPathRCs", ".", "push_back", "(", "isGP64bit", "(", ")", "?", "&", "Mips", "::", "GPR64RegClass", ":", "&", "Mips", "::", "GPR32RegClass", ")", ";", "return", "OptLevel", ">=", "CodeGenOpt", "::", "Aggressive", ";", "}", ""], "natrual_language": ["True", "if", "the", "subtarget", "should", "run", "a", "scheduler", "after", "register", "allocation", "."], "TS_V_token": ["Mips", "Mips", "Mips::GPR64RegClass", "Mips::GPR32RegClass"], "File": "MipsSubtarget1", "Func": "enablePostRAScheduler", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3389, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createPPCPreEmitPeepholePass", "(", ")", ")", ";", "addPass", "(", "createPPCExpandISELPass", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createPPCEarlyReturnPass", "(", ")", ",", "false", ")", ";", "addPass", "(", "createPPCBranchSelectionPass", "(", ")", ",", "false", ")", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC"], "File": "PPCTargetMachine1", "Func": "addPreEmitPass", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3390, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_debug_target_options", "(", "tree", "args", ",", "const", "char", "*", "prefix", ")", "{", "if", "(", "args", "==", "NULL_TREE", ")", "fprintf", "(", "stderr", ",", "\"%s\"", ",", "prefix", ")", ";", "else", "if", "(", "TREE_CODE", "(", "args", ")", "==", "STRING_CST", ")", "{", "char", "*", "p", "=", "ASTRDUP", "(", "TREE_STRING_POINTER", "(", "args", ")", ")", ";", "char", "*", "q", ";", "while", "(", "(", "q", "=", "strtok", "(", "p", ",", "\",\"", ")", ")", "!=", "NULL", ")", "{", "p", "=", "NULL", ";", "fprintf", "(", "stderr", ",", "\"%s\\\"%s\\\"\"", ",", "prefix", ",", "q", ")", ";", "prefix", "=", "\", \"", ";", "}", "}", "else", "if", "(", "TREE_CODE", "(", "args", ")", "==", "TREE_LIST", ")", "{", "do", "{", "tree", "value", "=", "TREE_VALUE", "(", "args", ")", ";", "if", "(", "value", ")", "{", "rs6000_debug_target_options", "(", "value", ",", "prefix", ")", ";", "prefix", "=", "\", \"", ";", "}", "args", "=", "TREE_CHAIN", "(", "args", ")", ";", "}", "while", "(", "args", "!=", "NULL_TREE", ")", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "return", ";", "}", ""], "natrual_language": ["Print", "out", "the", "target", "options", "as", "a", "list", "for", "-mdebug=target", "."], "TS_V_token": ["rs6000", "\"%s\"", "\",\"", "\"%s\\\"%s\\\"\"", "\", \"", "\", \""], "File": "rs6000", "Func": "rs6000_debug_target_options", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3391, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AVRInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "AVR", "::", "STDPtrQRr", ":", "case", "AVR", "::", "STDWPtrQRr", ":", "{", "if", "(", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "isFI", "(", ")", ")", "&&", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", ")", "&&", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", "==", "0", ")", ")", "{", "FrameIndex", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getIndex", "(", ")", ";", "return", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ";", "}", "break", ";", "}", "default", ":", "break", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["isStoreToStackSlot", "-", "If", "the", "specified", "machine", "instruction", "is", "a", "direct", "store", "to", "a", "stack", "slot", ",", "return", "the", "virtual", "or", "physical", "register", "number", "of", "the", "source", "reg", "along", "with", "the", "FrameIndex", "of", "the", "loaded", "stack", "slot", "."], "TS_V_token": ["AVR", "AVR", "AVR::STDPtrQRr", "AVR::STDWPtrQRr", "0", "1", "1", "0", "0", "2", "0"], "File": "AVRInstrInfo15", "Func": "isStoreToStackSlot", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3392, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "GCNMaxOccupancySchedStrategy", "::", "initialize", "(", "ScheduleDAGMI", "*", "DAG", ")", "{", "GenericScheduler", "::", "initialize", "(", "DAG", ")", ";", "MF", "=", "&", "DAG", "->", "MF", ";", "const", "GCNSubtarget", "&", "ST", "=", "MF", "->", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "const", "unsigned", "ErrorMargin", "=", "3", ";", "SGPRExcessLimit", "=", "Context", "->", "RegClassInfo", "->", "getNumAllocatableRegs", "(", "&", "AMDGPU", "::", "SGPR_32RegClass", ")", ";", "VGPRExcessLimit", "=", "Context", "->", "RegClassInfo", "->", "getNumAllocatableRegs", "(", "&", "AMDGPU", "::", "VGPR_32RegClass", ")", ";", "SIMachineFunctionInfo", "&", "MFI", "=", "*", "MF", "->", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "TargetOccupancy", "=", "MFI", ".", "getOccupancy", "(", ")", ";", "SGPRCriticalLimit", "=", "std", "::", "min", "(", "ST", ".", "getMaxNumSGPRs", "(", "TargetOccupancy", ",", "true", ")", ",", "SGPRExcessLimit", ")", ";", "VGPRCriticalLimit", "=", "std", "::", "min", "(", "ST", ".", "getMaxNumVGPRs", "(", "TargetOccupancy", ")", ",", "VGPRExcessLimit", ")", ";", "SGPRCriticalLimit", "=", "std", "::", "min", "(", "SGPRCriticalLimit", "-", "ErrorMargin", ",", "SGPRCriticalLimit", ")", ";", "VGPRCriticalLimit", "=", "std", "::", "min", "(", "VGPRCriticalLimit", "-", "ErrorMargin", ",", "VGPRCriticalLimit", ")", ";", "SGPRExcessLimit", "=", "std", "::", "min", "(", "SGPRExcessLimit", "-", "ErrorMargin", ",", "SGPRExcessLimit", ")", ";", "VGPRExcessLimit", "=", "std", "::", "min", "(", "VGPRExcessLimit", "-", "ErrorMargin", ",", "VGPRExcessLimit", ")", ";", "}", ""], "natrual_language": ["Initialize", "the", "strategy", "after", "building", "the", "DAG", "for", "a", "new", "region", "."], "TS_V_token": ["AMDGPU", "3", "AMDGPU::SGPR_32RegClass", "AMDGPU::VGPR_32RegClass", "SI", "SI"], "File": "GCNSchedStrategy13", "Func": "initialize", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3393, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMFastISel", "::", "fastEmitInst_r", "(", "unsigned", "MachineInstOpcode", ",", "const", "TargetRegisterClass", "*", "RC", ",", "unsigned", "Op0", ",", "bool", "Op0IsKill", ")", "{", "unsigned", "ResultReg", "=", "createResultReg", "(", "RC", ")", ";", "const", "MCInstrDesc", "&", "II", "=", "TII", ".", "get", "(", "MachineInstOpcode", ")", ";", "Op0", "=", "constrainOperandRegClass", "(", "II", ",", "Op0", ",", "1", ")", ";", "if", "(", "II", ".", "getNumDefs", "(", ")", ">=", "1", ")", "{", "AddOptionalDefs", "(", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "II", ",", "ResultReg", ")", ".", "addReg", "(", "Op0", ",", "Op0IsKill", "*", "RegState", "::", "Kill", ")", ")", ";", "}", "else", "{", "AddOptionalDefs", "(", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "II", ")", ".", "addReg", "(", "Op0", ",", "Op0IsKill", "*", "RegState", "::", "Kill", ")", ")", ";", "AddOptionalDefs", "(", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "ResultReg", ")", ".", "addReg", "(", "II", ".", "ImplicitDefs", "[", "0", "]", ")", ")", ";", "}", "return", "ResultReg", ";", "}", ""], "natrual_language": ["Emit", "a", "MachineInstr", "with", "one", "register", "operand", "and", "a", "result", "register", "in", "the", "given", "register", "class", "."], "TS_V_token": ["ARM", "ARM", "1", "1", "0"], "File": "ARMFastISel (2)2", "Func": "fastEmitInst_r", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3394, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_pad_arg_upward", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "if", "(", "!", "BYTES_BIG_ENDIAN", ")", "return", "true", ";", "if", "(", "type", "!=", "0", "?", "(", "INTEGRAL_TYPE_P", "(", "type", ")", "||", "POINTER_TYPE_P", "(", "type", ")", "||", "FIXED_POINT_TYPE_P", "(", "type", ")", ")", ":", "(", "SCALAR_INT_MODE_P", "(", "mode", ")", "||", "ALL_SCALAR_FIXED_POINT_MODE_P", "(", "mode", ")", ")", ")", "return", "false", ";", "if", "(", "mips_abi", "==", "ABI_O64", ")", "if", "(", "type", "!=", "0", "?", "FLOAT_TYPE_P", "(", "type", ")", ":", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", ")", "return", "false", ";", "if", "(", "mips_abi", "!=", "ABI_EABI", ")", "return", "true", ";", "if", "(", "mode", "!=", "BLKmode", ")", "return", "GET_MODE_BITSIZE", "(", "mode", ")", ">=", "PARM_BOUNDARY", ";", "else", "return", "int_size_in_bytes", "(", "type", ")", ">=", "(", "PARM_BOUNDARY", "/", "BITS_PER_UNIT", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "FUNCTION_ARG_PADDING", "(", "MODE", ",", "TYPE", ")", "should", "return", "upward", "rather", "than", "downward", ".", "In", "other", "words", ",", "return", "true", "if", "the", "first", "byte", "of", "the", "stack", "slot", "has", "useful", "data", ",", "false", "if", "the", "last", "byte", "does", "."], "TS_V_token": ["mips", "0", "0"], "File": "mips4", "Func": "mips_pad_arg_upward", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3395, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "LEGMCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "MO", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "{", "return", "CTX", ".", "getRegisterInfo", "(", ")", "->", "getEncodingValue", "(", "MO", ".", "getReg", "(", ")", ")", ";", "}", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "}", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "\"unknown operand kind in printOperand\"", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "MCExpr", "::", "ExprKind", "Kind", "=", "Expr", "->", "getKind", "(", ")", ";", "if", "(", "Kind", "==", "MCExpr", "::", "Binary", ")", "{", "Expr", "=", "static_cast", "<", "const", "MCBinaryExpr", "*", ">", "(", "Expr", ")", "->", "getLHS", "(", ")", ";", "Kind", "=", "Expr", "->", "getKind", "(", ")", ";", "}", "assert", "(", "Kind", "==", "MCExpr", "::", "SymbolRef", ")", ";", "unsigned", "FixupKind", ";", "switch", "(", "cast", "<", "MCSymbolRefExpr", ">", "(", "Expr", ")", "->", "getKind", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown fixup kind!\"", ")", ";", "case", "MCSymbolRefExpr", "::", "VK_LEG_LO", ":", "{", "FixupKind", "=", "LEG", "::", "fixup_leg_mov_lo16_pcrel", ";", "break", ";", "}", "case", "MCSymbolRefExpr", "::", "VK_LEG_HI", ":", "{", "FixupKind", "=", "LEG", "::", "fixup_leg_mov_hi16_pcrel", ";", "break", ";", "}", "}", "Fixups", ".", "push_back", "(", "MCFixup", "::", "Create", "(", "0", ",", "MO", ".", "getExpr", "(", ")", ",", "MCFixupKind", "(", "FixupKind", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["LEG", "LEG", "\"unknown operand kind in printOperand\"", "\"Unknown fixup kind!\"", "LEG", "LEG::fixup_leg_mov_lo16_pcrel", "LEG", "LEG::fixup_leg_mov_hi16_pcrel", "0", "0"], "File": "LEGMCCodeEmitter1", "Func": "getMachineOpValue", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3396, "Length": 237, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "h8300_expand_prologue", "(", "void", ")", "{", "int", "regno", ";", "int", "saved_regs", ";", "int", "n_regs", ";", "if", "(", "h8300_os_task_function_p", "(", "current_function_decl", ")", ")", "return", ";", "if", "(", "h8300_monitor_function_p", "(", "current_function_decl", ")", ")", "emit_insn", "(", "gen_monitor_prologue", "(", ")", ")", ";", "if", "(", "frame_pointer_needed", ")", "{", "push", "(", "HARD_FRAME_POINTER_REGNUM", ",", "true", ")", ";", "F", "(", "emit_move_insn", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ")", ",", "0", ")", ";", "}", "saved_regs", "=", "compute_saved_regs", "(", ")", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "+=", "n_regs", ")", "{", "n_regs", "=", "1", ";", "if", "(", "saved_regs", "&", "(", "1", "<<", "regno", ")", ")", "{", "if", "(", "TARGET_H8300S", ")", "{", "if", "(", "(", "TARGET_H8300SX", "||", "(", "regno", "&", "3", ")", "==", "0", ")", "&&", "(", "(", "saved_regs", ">>", "regno", ")", "&", "0x0f", ")", "==", "0x0f", ")", "n_regs", "=", "4", ";", "else", "if", "(", "(", "TARGET_H8300SX", "||", "(", "regno", "&", "3", ")", "==", "0", ")", "&&", "(", "(", "saved_regs", ">>", "regno", ")", "&", "0x07", ")", "==", "0x07", ")", "n_regs", "=", "3", ";", "else", "if", "(", "(", "TARGET_H8300SX", "||", "(", "regno", "&", "1", ")", "==", "0", ")", "&&", "(", "(", "saved_regs", ">>", "regno", ")", "&", "0x03", ")", "==", "0x03", ")", "n_regs", "=", "2", ";", "}", "h8300_push_pop", "(", "regno", ",", "n_regs", ",", "false", ",", "false", ")", ";", "}", "}", "h8300_emit_stack_adjustment", "(", "-", "1", ",", "round_frame_size", "(", "get_frame_size", "(", ")", ")", ",", "true", ")", ";", "if", "(", "flag_stack_usage_info", ")", "current_function_static_stack_size", "=", "round_frame_size", "(", "get_frame_size", "(", ")", ")", "+", "(", "__builtin_popcount", "(", "saved_regs", ")", "*", "UNITS_PER_WORD", ")", "+", "(", "frame_pointer_needed", "?", "UNITS_PER_WORD", ":", "0", ")", ";", "}", ""], "natrual_language": ["Generate", "RTL", "code", "for", "the", "function", "prologue", "."], "TS_V_token": ["h8300", "0", "0", "1", "1", "3", "0", "0x0f", "0x0f", "4", "3", "0", "0x07", "0x07", "3", "1", "0", "0x03", "0x03", "2", "1", "0"], "File": "h83001", "Func": "h8300_expand_prologue", "Target": "h8300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3397, "Length": 256, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_expand_builtin_rsqrt", "(", "int", "fcode", ",", "tree", "exp", ",", "rtx", "target", ")", "{", "tree", "arg0", "=", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ";", "rtx", "op0", "=", "expand_normal", "(", "arg0", ")", ";", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ")", ";", "switch", "(", "fcode", ")", "{", "case", "AARCH64_BUILTIN_RSQRT_DF", ":", "gen", "=", "gen_rsqrtdf2", ";", "break", ";", "case", "AARCH64_BUILTIN_RSQRT_SF", ":", "gen", "=", "gen_rsqrtsf2", ";", "break", ";", "case", "AARCH64_BUILTIN_RSQRT_V2DF", ":", "gen", "=", "gen_rsqrtv2df2", ";", "break", ";", "case", "AARCH64_BUILTIN_RSQRT_V2SF", ":", "gen", "=", "gen_rsqrtv2sf2", ";", "break", ";", "case", "AARCH64_BUILTIN_RSQRT_V4SF", ":", "gen", "=", "gen_rsqrtv4sf2", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "!", "target", ")", "target", "=", "gen_reg_rtx", "(", "GET_MODE", "(", "op0", ")", ")", ";", "emit_insn", "(", "gen", "(", "target", ",", "op0", ")", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Function", "to", "expand", "reciprocal", "square", "root", "builtins", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch64-builtins", "Func": "aarch64_expand_builtin_rsqrt", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3398, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "X86RegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{", "const", "X86Subtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "bool", "HasSSE", "=", "Subtarget", ".", "hasSSE1", "(", ")", ";", "bool", "HasAVX", "=", "Subtarget", ".", "hasAVX", "(", ")", ";", "bool", "HasAVX512", "=", "Subtarget", ".", "hasAVX512", "(", ")", ";", "switch", "(", "CC", ")", "{", "case", "CallingConv", "::", "GHC", ":", "case", "CallingConv", "::", "HiPE", ":", "return", "CSR_NoRegs_RegMask", ";", "case", "CallingConv", "::", "AnyReg", ":", "if", "(", "HasAVX", ")", "return", "CSR_64_AllRegs_AVX_RegMask", ";", "return", "CSR_64_AllRegs_RegMask", ";", "case", "CallingConv", "::", "PreserveMost", ":", "return", "CSR_64_RT_MostRegs_RegMask", ";", "case", "CallingConv", "::", "PreserveAll", ":", "if", "(", "HasAVX", ")", "return", "CSR_64_RT_AllRegs_AVX_RegMask", ";", "return", "CSR_64_RT_AllRegs_RegMask", ";", "case", "CallingConv", "::", "CXX_FAST_TLS", ":", "if", "(", "Is64Bit", ")", "return", "CSR_64_TLS_Darwin_RegMask", ";", "break", ";", "case", "CallingConv", "::", "Intel_OCL_BI", ":", "{", "if", "(", "HasAVX512", "&&", "IsWin64", ")", "return", "CSR_Win64_Intel_OCL_BI_AVX512_RegMask", ";", "if", "(", "HasAVX512", "&&", "Is64Bit", ")", "return", "CSR_64_Intel_OCL_BI_AVX512_RegMask", ";", "if", "(", "HasAVX", "&&", "IsWin64", ")", "return", "CSR_Win64_Intel_OCL_BI_AVX_RegMask", ";", "if", "(", "HasAVX", "&&", "Is64Bit", ")", "return", "CSR_64_Intel_OCL_BI_AVX_RegMask", ";", "if", "(", "!", "HasAVX", "&&", "!", "IsWin64", "&&", "Is64Bit", ")", "return", "CSR_64_Intel_OCL_BI_RegMask", ";", "break", ";", "}", "case", "CallingConv", "::", "HHVM", ":", "return", "CSR_64_HHVM_RegMask", ";", "case", "CallingConv", "::", "X86_RegCall", ":", "if", "(", "Is64Bit", ")", "{", "if", "(", "IsWin64", ")", "{", "return", "(", "HasSSE", "?", "CSR_Win64_RegCall_RegMask", ":", "CSR_Win64_RegCall_NoSSE_RegMask", ")", ";", "}", "else", "{", "return", "(", "HasSSE", "?", "CSR_SysV64_RegCall_RegMask", ":", "CSR_SysV64_RegCall_NoSSE_RegMask", ")", ";", "}", "}", "else", "{", "return", "(", "HasSSE", "?", "CSR_32_RegCall_RegMask", ":", "CSR_32_RegCall_NoSSE_RegMask", ")", ";", "}", "case", "CallingConv", "::", "CFGuard_Check", ":", "assert", "(", "!", "Is64Bit", "&&", "\"CFGuard check mechanism only used on 32-bit X86\"", ")", ";", "return", "(", "HasSSE", "?", "CSR_Win32_CFGuard_Check_RegMask", ":", "CSR_Win32_CFGuard_Check_NoSSE_RegMask", ")", ";", "case", "CallingConv", "::", "Cold", ":", "if", "(", "Is64Bit", ")", "return", "CSR_64_MostRegs_RegMask", ";", "break", ";", "case", "CallingConv", "::", "Win64", ":", "return", "CSR_Win64_RegMask", ";", "case", "CallingConv", "::", "X86_64_SysV", ":", "return", "CSR_64_RegMask", ";", "case", "CallingConv", "::", "X86_INTR", ":", "if", "(", "Is64Bit", ")", "{", "if", "(", "HasAVX512", ")", "return", "CSR_64_AllRegs_AVX512_RegMask", ";", "if", "(", "HasAVX", ")", "return", "CSR_64_AllRegs_AVX_RegMask", ";", "if", "(", "HasSSE", ")", "return", "CSR_64_AllRegs_RegMask", ";", "return", "CSR_64_AllRegs_NoSSE_RegMask", ";", "}", "else", "{", "if", "(", "HasAVX512", ")", "return", "CSR_32_AllRegs_AVX512_RegMask", ";", "if", "(", "HasAVX", ")", "return", "CSR_32_AllRegs_AVX_RegMask", ";", "if", "(", "HasSSE", ")", "return", "CSR_32_AllRegs_SSE_RegMask", ";", "return", "CSR_32_AllRegs_RegMask", ";", "}", "default", ":", "break", ";", "}", "if", "(", "Is64Bit", ")", "{", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "bool", "IsSwiftCC", "=", "Subtarget", ".", "getTargetLowering", "(", ")", "->", "supportSwiftError", "(", ")", "&&", "F", ".", "getAttributes", "(", ")", ".", "hasAttrSomewhere", "(", "Attribute", "::", "SwiftError", ")", ";", "if", "(", "IsSwiftCC", ")", "return", "IsWin64", "?", "CSR_Win64_SwiftError_RegMask", ":", "CSR_64_SwiftError_RegMask", ";", "return", "IsWin64", "?", "CSR_Win64_RegMask", ":", "CSR_64_RegMask", ";", "}", "return", "CSR_32_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "\"CFGuard check mechanism only used on 32-bit X86\"", "X86", "X86"], "File": "X86RegisterInfo15", "Func": "getCallPreservedMask", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3399, "Length": 430, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "aarch64_add_offset", "(", "machine_mode", "mode", ",", "rtx", "temp", ",", "rtx", "reg", ",", "HOST_WIDE_INT", "offset", ")", "{", "if", "(", "!", "aarch64_plus_immediate", "(", "GEN_INT", "(", "offset", ")", ",", "mode", ")", ")", "{", "rtx", "high", ";", "high", "=", "GEN_INT", "(", "offset", ")", ";", "offset", "=", "0", ";", "high", "=", "aarch64_force_temporary", "(", "mode", ",", "temp", ",", "high", ")", ";", "reg", "=", "aarch64_force_temporary", "(", "mode", ",", "temp", ",", "gen_rtx_PLUS", "(", "mode", ",", "high", ",", "reg", ")", ")", ";", "}", "return", "plus_constant", "(", "mode", ",", "reg", ",", "offset", ")", ";", "}", ""], "natrual_language": ["Set", "DEST", "to", "SRC", "+", "OFFSET", ".", "MODE", "is", "the", "mode", "of", "the", "addition", ".", "FRAME_RELATED_P", "is", "true", "if", "the", "RTX_FRAME_RELATED", "flag", "should", "be", "set", "and", "CFA", "adjustments", "added", "to", "the", "generated", "instructions", ".", "TEMP1", ",", "if", "nonnull", ",", "is", "a", "register", "of", "mode", "MODE", "that", "can", "be", "used", "as", "a", "temporary", "if", "register", "allocation", "is", "already", "complete", ".", "This", "temporary", "register", "may", "overlap", "DEST", "if", "!", "FRAME_RELATED_P", "but", "must", "not", "overlap", "SRC", ".", "If", "TEMP1", "is", "known", "to", "hold", "abs", "(", "OFFSET", ")", ",", "EMIT_MOVE_IMM", "can", "be", "set", "to", "false", "to", "avoid", "emitting", "the", "immediate", "again", ".", "TEMP2", ",", "if", "nonnull", ",", "is", "a", "second", "temporary", "register", "that", "does", "n't", "overlap", "either", "DEST", "or", "REG", ".", "Since", "this", "function", "may", "be", "used", "to", "adjust", "the", "stack", "pointer", ",", "we", "must", "ensure", "that", "it", "can", "not", "cause", "transient", "stack", "deallocation", "(", "for", "example", "by", "first", "incrementing", "SP", "and", "then", "decrementing", "when", "adjusting", "by", "a", "large", "immediate", ")", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch642", "Func": "aarch64_add_offset", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3400, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "mask_policy", "get_prefer_mask_policy", "(", ")", "{", "return", "MASK_ANY", ";", "}", ""], "natrual_language": ["Get", "prefer", "mask", "policy", "."], "TS_V_token": ["riscv"], "File": "riscv-v", "Func": "get_prefer_mask_policy", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3401, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonConstEvaluator", "::", "evaluate", "(", "const", "MachineInstr", "&", "BrI", ",", "const", "CellMap", "&", "Inputs", ",", "SetVector", "<", "const", "MachineBasicBlock", "*", ">", "&", "Targets", ",", "bool", "&", "FallsThru", ")", "{", "unsigned", "Opc", "=", "BrI", ".", "getOpcode", "(", ")", ";", "bool", "SimpleBranch", "=", "false", ";", "bool", "Negated", "=", "false", ";", "switch", "(", "Opc", ")", "{", "case", "Hexagon", "::", "J2_jumpf", ":", "case", "Hexagon", "::", "J2_jumpfnew", ":", "case", "Hexagon", "::", "J2_jumpfnewpt", ":", "Negated", "=", "true", ";", "case", "Hexagon", "::", "J2_jumpt", ":", "case", "Hexagon", "::", "J2_jumptnew", ":", "case", "Hexagon", "::", "J2_jumptnewpt", ":", "SimpleBranch", "=", "true", ";", "break", ";", "case", "Hexagon", "::", "J2_jump", ":", "Targets", ".", "insert", "(", "BrI", ".", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ")", ";", "FallsThru", "=", "false", ";", "return", "true", ";", "default", ":", "Undetermined", ":", "FallsThru", "=", "!", "BrI", ".", "isUnconditionalBranch", "(", ")", ";", "return", "false", ";", "}", "if", "(", "SimpleBranch", ")", "{", "const", "MachineOperand", "&", "MD", "=", "BrI", ".", "getOperand", "(", "0", ")", ";", "Register", "PR", "(", "MD", ")", ";", "if", "(", "PR", ".", "SubReg", ")", "goto", "Undetermined", ";", "assert", "(", "Inputs", ".", "has", "(", "PR", ".", "Reg", ")", ")", ";", "const", "LatticeCell", "&", "PredC", "=", "Inputs", ".", "get", "(", "PR", ".", "Reg", ")", ";", "if", "(", "PredC", ".", "isBottom", "(", ")", ")", "goto", "Undetermined", ";", "uint32_t", "Props", "=", "PredC", ".", "properties", "(", ")", ";", "bool", "CTrue", "=", "false", ",", "CFalse", "=", "false", ";", ";", "if", "(", "Props", "&", "ConstantProperties", "::", "Zero", ")", "CFalse", "=", "true", ";", "else", "if", "(", "Props", "&", "ConstantProperties", "::", "NonZero", ")", "CTrue", "=", "true", ";", "if", "(", "!", "CTrue", "&&", "!", "CFalse", ")", "goto", "Undetermined", ";", "const", "MachineBasicBlock", "*", "BranchTarget", "=", "BrI", ".", "getOperand", "(", "1", ")", ".", "getMBB", "(", ")", ";", "FallsThru", "=", "false", ";", "if", "(", "(", "!", "Negated", "&&", "CTrue", ")", "||", "(", "Negated", "&&", "CFalse", ")", ")", "Targets", ".", "insert", "(", "BranchTarget", ")", ";", "else", "if", "(", "(", "!", "Negated", "&&", "CFalse", ")", "||", "(", "Negated", "&&", "CTrue", ")", ")", "FallsThru", "=", "true", ";", "else", "goto", "Undetermined", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["evaluate", "-", "Evaluate", "Expr", "and", "append", "the", "resulting", "set", "to", "Elts", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon::J2_jumpf", "Hexagon::J2_jumpfnew", "Hexagon::J2_jumpfnewpt", "Hexagon::J2_jumpt", "Hexagon::J2_jumptnew", "Hexagon::J2_jumptnewpt", "Hexagon::J2_jump", "0", "0", "1"], "File": "HexagonConstPropagation", "Func": "evaluate", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3402, "Length": 333, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "NVPTXTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'c'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "NVPTX", "::", "Int16RegsRegClass", ")", ";", "case", "'h'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "NVPTX", "::", "Int16RegsRegClass", ")", ";", "case", "'r'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "NVPTX", "::", "Int32RegsRegClass", ")", ";", "case", "'l'", ":", "case", "'N'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "NVPTX", "::", "Int64RegsRegClass", ")", ";", "case", "'f'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "NVPTX", "::", "Float32RegsRegClass", ")", ";", "case", "'d'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "NVPTX", "::", "Float64RegsRegClass", ")", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["NVPTX", "NVPTX", "1", "0", "0U", "NVPTX::Int16RegsRegClass", "0U", "NVPTX::Int16RegsRegClass", "0U", "NVPTX::Int32RegsRegClass", "0U", "NVPTX::Int64RegsRegClass", "0U", "NVPTX::Float32RegsRegClass", "0U", "NVPTX::Float64RegsRegClass"], "File": "NVPTXISelLowering22", "Func": "getRegForInlineAsmConstraint", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3403, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVExpandPseudo", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "TII", "=", "static_cast", "<", "const", "RISCVInstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "Modified", "|=", "expandMBB", "(", "MBB", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["RI5CY", "RISCV", "RISCV"], "File": "RISCVExpandPseudoInsts", "Func": "runOnMachineFunction", "Target": "RI5CY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3404, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "R600TargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "const", "SDLoc", "&", "DL", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "R600MachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "R600MachineFunctionInfo", ">", "(", ")", ";", "SmallVector", "<", "ISD", "::", "InputArg", ",", "8", ">", "LocalIns", ";", "getOriginalFunctionArgs", "(", "DAG", ",", "MF", ".", "getFunction", "(", ")", ",", "Ins", ",", "LocalIns", ")", ";", "AnalyzeFormalArguments", "(", "CCInfo", ",", "LocalIns", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "Ins", ".", "size", "(", ")", ";", "i", "<", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "ArgLocs", "[", "i", "]", ";", "const", "ISD", "::", "InputArg", "&", "In", "=", "Ins", "[", "i", "]", ";", "EVT", "VT", "=", "In", ".", "VT", ";", "EVT", "MemVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "if", "(", "!", "VT", ".", "isVector", "(", ")", "&&", "MemVT", ".", "isVector", "(", ")", ")", "{", "MemVT", "=", "MemVT", ".", "getVectorElementType", "(", ")", ";", "}", "if", "(", "AMDGPU", "::", "isShader", "(", "CallConv", ")", ")", "{", "unsigned", "Reg", "=", "MF", ".", "addLiveIn", "(", "VA", ".", "getLocReg", "(", ")", ",", "&", "AMDGPU", "::", "R600_Reg128RegClass", ")", ";", "SDValue", "Register", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "DL", ",", "Reg", ",", "VT", ")", ";", "InVals", ".", "push_back", "(", "Register", ")", ";", "continue", ";", "}", "PointerType", "*", "PtrTy", "=", "PointerType", "::", "get", "(", "VT", ".", "getTypeForEVT", "(", "*", "DAG", ".", "getContext", "(", ")", ")", ",", "AMDGPUAS", "::", "CONSTANT_BUFFER_0", ")", ";", "ISD", "::", "LoadExtType", "Ext", "=", "ISD", "::", "NON_EXTLOAD", ";", "if", "(", "MemVT", ".", "getScalarSizeInBits", "(", ")", "!=", "VT", ".", "getScalarSizeInBits", "(", ")", ")", "{", "Ext", "=", "ISD", "::", "SEXTLOAD", ";", "}", "unsigned", "ValBase", "=", "ArgLocs", "[", "In", ".", "getOrigArgIndex", "(", ")", "]", ".", "getLocMemOffset", "(", ")", ";", "unsigned", "PartOffset", "=", "VA", ".", "getLocMemOffset", "(", ")", ";", "unsigned", "Offset", "=", "Subtarget", "->", "getExplicitKernelArgOffset", "(", ")", "+", "VA", ".", "getLocMemOffset", "(", ")", ";", "MachinePointerInfo", "PtrInfo", "(", "UndefValue", "::", "get", "(", "PtrTy", ")", ",", "PartOffset", "-", "ValBase", ")", ";", "SDValue", "Arg", "=", "DAG", ".", "getLoad", "(", "ISD", "::", "UNINDEXED", ",", "Ext", ",", "VT", ",", "DL", ",", "Chain", ",", "DAG", ".", "getConstant", "(", "Offset", ",", "DL", ",", "MVT", "::", "i32", ")", ",", "DAG", ".", "getUNDEF", "(", "MVT", "::", "i32", ")", ",", "PtrInfo", ",", "MemVT", ",", "4", ",", "MachineMemOperand", "::", "MONonTemporal", "|", "MachineMemOperand", "::", "MOInvariant", ")", ";", "InVals", ".", "push_back", "(", "Arg", ")", ";", "MFI", "->", "setABIArgOffset", "(", "Offset", "+", "MemVT", ".", "getStoreSize", "(", ")", ")", ";", "}", "return", "Chain", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "the", "Ins", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["AMDGPU", "R600", "ISD::InputArg", "16", "R600", "R600", "ISD::InputArg", "8", "0", "ISD::InputArg", "AMDGPU::isShader", "AMDGPU::R600_Reg128RegClass", "AMDGPU", "ISD::LoadExtType", "ISD::NON_EXTLOAD", "ISD::SEXTLOAD", "ISD::UNINDEXED", "MVT::i32", "MVT::i32", "4"], "File": "R600ISelLowering3", "Func": "LowerFormalArguments", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3405, "Length": 462, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 Support for return instruction protection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 Support for return instruction protection\""], "File": "X86ProtectJTSupport", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3406, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"ARM pseudo instruction expansion pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "\"ARM pseudo instruction expansion pass\""], "File": "ARMExpandPseudoInsts11", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3407, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SparcSubtarget", "&", "SparcSubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "IsV9", "=", "false", ";", "IsLeon", "=", "false", ";", "V8DeprecatedInsts", "=", "false", ";", "IsVIS", "=", "false", ";", "HasHardQuad", "=", "false", ";", "UsePopc", "=", "false", ";", "UseSoftFloat", "=", "false", ";", "HasLeonCasa", "=", "false", ";", "HasUmacSmac", "=", "false", ";", "PerformSDIVReplace", "=", "false", ";", "FixCallImmediates", "=", "false", ";", "IgnoreZeroFlag", "=", "false", ";", "InsertNOPDoublePrecision", "=", "false", ";", "FixFSMULD", "=", "false", ";", "ReplaceFMULS", "=", "false", ";", "PreventRoundChange", "=", "false", ";", "FixAllFDIVSQRT", "=", "false", ";", "InsertNOPLoad", "=", "false", ";", "FlushCacheLineSWAP", "=", "false", ";", "InsertNOPsLoadStore", "=", "false", ";", "std", "::", "string", "CPUName", "=", "CPU", ";", "if", "(", "CPUName", ".", "empty", "(", ")", ")", "CPUName", "=", "(", "Is64Bit", ")", "?", "\"v9\"", ":", "\"v8\"", ";", "ParseSubtargetFeatures", "(", "CPUName", ",", "FS", ")", ";", "if", "(", "!", "IsV9", ")", "UsePopc", "=", "false", ";", "return", "*", "this", ";", "}", ""], "natrual_language": ["initializeSubtargetDependencies", "-", "Initializes", "using", "a", "CPU", ",", "a", "TuneCPU", ",", "and", "feature", "string", "so", "that", "we", "can", "use", "initializer", "lists", "for", "subtarget", "initialization", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "\"v9\"", "\"v8\""], "File": "SparcSubtarget28", "Func": "initializeSubtargetDependencies", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3408, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "M68kTargetMachine", "&", "getTargetMachine", "(", ")", "{", "return", "static_cast", "<", "const", "M68kTargetMachine", "&", ">", "(", "TM", ")", ";", "}", ""], "natrual_language": ["Return", "the", "target", "machine", "(", "if", "available", ")", "."], "TS_V_token": ["M68k", "M68k", "M68k"], "File": "M68kISelDAGToDAG", "Func": "getTargetMachine", "Target": "M68k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3409, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "Register", "buildRSRC", "(", "MachineIRBuilder", "&", "B", ",", "MachineRegisterInfo", "&", "MRI", ",", "uint32_t", "FormatLo", ",", "uint32_t", "FormatHi", ",", "Register", "BasePtr", ")", "{", "Register", "RSrc2", "=", "MRI", ".", "createVirtualRegister", "(", "&", "AMDGPU", "::", "SReg_32RegClass", ")", ";", "Register", "RSrc3", "=", "MRI", ".", "createVirtualRegister", "(", "&", "AMDGPU", "::", "SReg_32RegClass", ")", ";", "Register", "RSrcHi", "=", "MRI", ".", "createVirtualRegister", "(", "&", "AMDGPU", "::", "SReg_64RegClass", ")", ";", "Register", "RSrc", "=", "MRI", ".", "createVirtualRegister", "(", "&", "AMDGPU", "::", "SGPR_128RegClass", ")", ";", "B", ".", "buildInstr", "(", "AMDGPU", "::", "S_MOV_B32", ")", ".", "addDef", "(", "RSrc2", ")", ".", "addImm", "(", "FormatLo", ")", ";", "B", ".", "buildInstr", "(", "AMDGPU", "::", "S_MOV_B32", ")", ".", "addDef", "(", "RSrc3", ")", ".", "addImm", "(", "FormatHi", ")", ";", "B", ".", "buildInstr", "(", "AMDGPU", "::", "REG_SEQUENCE", ")", ".", "addDef", "(", "RSrcHi", ")", ".", "addReg", "(", "RSrc2", ")", ".", "addImm", "(", "AMDGPU", "::", "sub0", ")", ".", "addReg", "(", "RSrc3", ")", ".", "addImm", "(", "AMDGPU", "::", "sub1", ")", ";", "Register", "RSrcLo", "=", "BasePtr", ";", "if", "(", "!", "BasePtr", ")", "{", "RSrcLo", "=", "MRI", ".", "createVirtualRegister", "(", "&", "AMDGPU", "::", "SReg_64RegClass", ")", ";", "B", ".", "buildInstr", "(", "AMDGPU", "::", "S_MOV_B64", ")", ".", "addDef", "(", "RSrcLo", ")", ".", "addImm", "(", "0", ")", ";", "}", "B", ".", "buildInstr", "(", "AMDGPU", "::", "REG_SEQUENCE", ")", ".", "addDef", "(", "RSrc", ")", ".", "addReg", "(", "RSrcLo", ")", ".", "addImm", "(", "AMDGPU", "::", "sub0_sub1", ")", ".", "addReg", "(", "RSrcHi", ")", ".", "addImm", "(", "AMDGPU", "::", "sub2_sub3", ")", ";", "return", "RSrc", ";", "}", ""], "natrual_language": ["Return", "a", "resource", "descriptor", "with", "the", "'Add", "TID", "'", "bit", "enabled", "The", "TID", "(", "Thread", "ID", ")", "is", "multiplied", "by", "the", "stride", "value", "(", "bits", "[", "61:48", "]", "of", "the", "resource", "descriptor", ")", "to", "create", "an", "offset", ",", "which", "is", "added", "to", "the", "resource", "pointer", "."], "TS_V_token": ["AMDGPU", "AMDGPU::SReg_32RegClass", "AMDGPU::SReg_32RegClass", "AMDGPU::SReg_64RegClass", "AMDGPU::SGPR_128RegClass", "AMDGPU::S_MOV_B32", "AMDGPU::S_MOV_B32", "AMDGPU::REG_SEQUENCE", "AMDGPU::sub0", "AMDGPU::sub1", "AMDGPU::SReg_64RegClass", "AMDGPU::S_MOV_B64", "0", "AMDGPU::REG_SEQUENCE", "AMDGPU::sub0_sub1", "AMDGPU::sub2_sub3"], "File": "AMDGPUInstructionSelector", "Func": "buildRSRC", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3410, "Length": 235, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TeeRISCFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "TeeRISCInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "TeeRISCInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "if", "(", "!", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "MachineInstr", "*", "Old", "=", "I", ";", "int", "Amount", "=", "Old", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", "+", "4", ";", "if", "(", "Amount", "!=", "0", ")", "{", "unsigned", "Align", "=", "getStackAlignment", "(", ")", ";", "Amount", "=", "(", "Amount", "+", "Align", "-", "1", ")", "/", "Align", "*", "Align", ";", "MachineInstr", "*", "New", ";", "if", "(", "Old", "->", "getOpcode", "(", ")", "==", "TeeRISC", "::", "ADJCALLSTACKDOWN", ")", "{", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "TeeRISC", "::", "ADD_IMM", ")", ",", "TeeRISC", "::", "SP", ")", ".", "addReg", "(", "TeeRISC", "::", "SP", ")", ".", "addImm", "(", "-", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Old", "->", "getOpcode", "(", ")", "==", "TeeRISC", "::", "ADJCALLSTACKUP", ")", ";", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "TeeRISC", "::", "ADD_IMM", ")", ",", "TeeRISC", "::", "SP", ")", ".", "addReg", "(", "TeeRISC", "::", "SP", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "MBB", ".", "insert", "(", "I", ",", "New", ")", ";", "}", "}", "MBB", ".", "erase", "(", "I", ")", ";", "}", ""], "natrual_language": ["This", "method", "is", "called", "during", "prolog/epilog", "code", "insertion", "to", "eliminate", "call", "frame", "setup", "and", "destroy", "pseudo", "instructions", "(", "but", "only", "if", "the", "Target", "is", "using", "them", ")", "."], "TS_V_token": ["TeeRISC", "TeeRISC", "TeeRISC", "TeeRISC", "0", "4", "0", "1", "TeeRISC::ADJCALLSTACKDOWN", "TeeRISC::ADD_IMM", "TeeRISC::SP", "TeeRISC::SP", "TeeRISC::ADJCALLSTACKUP", "TeeRISC::ADD_IMM", "TeeRISC::SP", "TeeRISC::SP"], "File": "TeeRISCFrameLowering", "Func": "eliminateCallFramePseudoInstr", "Target": "TeeRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3411, "Length": 233, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "hasFPU", "(", ")", "const", "{", "return", "HasFPU", ";", "}", ""], "natrual_language": ["Floating", "point", "support", "."], "TS_V_token": ["MBlaze"], "File": "MBlazeSubtarget", "Func": "hasFPU", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3412, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int64_t", "getOffset", "(", ")", "const", "{", "return", "Offset", ";", "}", ""], "natrual_language": ["Get", "the", "offest", "of", "a", "string", "in", "the", "string", "table", "."], "TS_V_token": ["Mips"], "File": "MipsFastISel", "Func": "getOffset", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3413, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "shouldClusterMemOps", "(", "ArrayRef", "<", "const", "MachineOperand", "*", ">", "BaseOps1", ",", "ArrayRef", "<", "const", "MachineOperand", "*", ">", "BaseOps2", ",", "unsigned", "NumLoads", ")", "const", "{", "assert", "(", "BaseOps1", ".", "size", "(", ")", "==", "1", "&&", "BaseOps2", ".", "size", "(", ")", "==", "1", ")", ";", "const", "MachineOperand", "&", "BaseOp1", "=", "*", "BaseOps1", ".", "front", "(", ")", ";", "const", "MachineOperand", "&", "BaseOp2", "=", "*", "BaseOps2", ".", "front", "(", ")", ";", "const", "MachineInstr", "&", "FirstLdSt", "=", "*", "BaseOp1", ".", "getParent", "(", ")", ";", "const", "MachineInstr", "&", "SecondLdSt", "=", "*", "BaseOp2", ".", "getParent", "(", ")", ";", "if", "(", "BaseOp1", ".", "getType", "(", ")", "!=", "BaseOp2", ".", "getType", "(", ")", ")", "return", "false", ";", "assert", "(", "(", "BaseOp1", ".", "isReg", "(", ")", "||", "BaseOp1", ".", "isFI", "(", ")", ")", "&&", "\"Only base registers and frame indices are supported.\"", ")", ";", "if", "(", "BaseOp1", ".", "isReg", "(", ")", "&&", "BaseOp1", ".", "getReg", "(", ")", "!=", "BaseOp2", ".", "getReg", "(", ")", ")", "return", "false", ";", "if", "(", "NumLoads", ">", "2", ")", "return", "false", ";", "if", "(", "!", "isPairableLdStInst", "(", "FirstLdSt", ")", "||", "!", "isPairableLdStInst", "(", "SecondLdSt", ")", ")", "return", "false", ";", "unsigned", "FirstOpc", "=", "FirstLdSt", ".", "getOpcode", "(", ")", ";", "unsigned", "SecondOpc", "=", "SecondLdSt", ".", "getOpcode", "(", ")", ";", "if", "(", "!", "canPairLdStOpc", "(", "FirstOpc", ",", "SecondOpc", ")", ")", "return", "false", ";", "if", "(", "!", "isCandidateToMergeOrPair", "(", "FirstLdSt", ")", "||", "!", "isCandidateToMergeOrPair", "(", "SecondLdSt", ")", ")", "return", "false", ";", "int64_t", "Offset1", "=", "FirstLdSt", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "if", "(", "isUnscaledLdSt", "(", "FirstOpc", ")", "&&", "!", "scaleOffset", "(", "FirstOpc", ",", "Offset1", ")", ")", "return", "false", ";", "int64_t", "Offset2", "=", "SecondLdSt", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "if", "(", "isUnscaledLdSt", "(", "SecondOpc", ")", "&&", "!", "scaleOffset", "(", "SecondOpc", ",", "Offset2", ")", ")", "return", "false", ";", "if", "(", "Offset1", ">", "63", "||", "Offset1", "<", "-", "64", ")", "return", "false", ";", "if", "(", "BaseOp1", ".", "isFI", "(", ")", ")", "{", "assert", "(", "(", "!", "BaseOp1", ".", "isIdenticalTo", "(", "BaseOp2", ")", "||", "Offset1", "<=", "Offset2", ")", "&&", "\"Caller should have ordered offsets.\"", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "FirstLdSt", ".", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getFrameInfo", "(", ")", ";", "return", "shouldClusterFI", "(", "MFI", ",", "BaseOp1", ".", "getIndex", "(", ")", ",", "Offset1", ",", "FirstOpc", ",", "BaseOp2", ".", "getIndex", "(", ")", ",", "Offset2", ",", "SecondOpc", ")", ";", "}", "assert", "(", "Offset1", "<=", "Offset2", "&&", "\"Caller should have ordered offsets.\"", ")", ";", "return", "Offset1", "+", "1", "==", "Offset2", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "two", "given", "memory", "operations", "should", "be", "scheduled", "adjacent", "."], "TS_V_token": ["AArch64", "AArch64", "1", "1", "\"Only base registers and frame indices are supported.\"", "2", "2", "2", "63", "64", "\"Caller should have ordered offsets.\"", "\"Caller should have ordered offsets.\"", "1"], "File": "AArch64InstrInfo22", "Func": "shouldClusterMemOps", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3414, "Length": 395, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "resolve_reload_operand", "(", "rtx", "op", ")", "{", "if", "(", "reload_in_progress", ")", "{", "rtx", "tmp", "=", "op", ";", "if", "(", "GET_CODE", "(", "tmp", ")", "==", "SUBREG", ")", "tmp", "=", "SUBREG_REG", "(", "tmp", ")", ";", "if", "(", "REG_P", "(", "tmp", ")", "&&", "REGNO", "(", "tmp", ")", ">=", "FIRST_PSEUDO_REGISTER", ")", "{", "op", "=", "reg_equiv_memory_loc", "(", "REGNO", "(", "tmp", ")", ")", ";", "if", "(", "op", "==", "0", ")", "return", "0", ";", "}", "}", "return", "op", ";", "}", ""], "natrual_language": ["Used", "by", "aligned_memory_operand", "and", "unaligned_memory_operand", "to", "resolve", "what", "reload", "is", "going", "to", "do", "with", "OP", "if", "it", "'s", "a", "register", "."], "TS_V_token": ["alpha", "0", "0"], "File": "alpha4", "Func": "resolve_reload_operand", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3415, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "AAPTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "&", "MI", ",", "MachineBasicBlock", "*", "MBB", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "AAP", "::", "BR_CC", ":", "return", "emitBrCC", "(", "MI", ",", "MBB", ")", ";", "case", "AAP", "::", "SELECT_CC", ":", "return", "emitSelectCC", "(", "MI", ",", "MBB", ")", ";", "default", ":", "llvm_unreachable", "(", "\"Unexpected instruction for custom insertion\"", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "."], "TS_V_token": ["AAP", "AAP", "AAP::BR_CC", "AAP::SELECT_CC", "\"Unexpected instruction for custom insertion\""], "File": "AAPISelLowering", "Func": "EmitInstrWithCustomInserter", "Target": "AAP", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3416, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "char", "nds32_class_max_nregs", "(", "reg_class_t", "rclass", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ")", "{", "return", "(", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ")", ";", "}", ""], "natrual_language": ["Register", "Classes", "."], "TS_V_token": ["nds32", "1"], "File": "nds32", "Func": "nds32_class_max_nregs", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3417, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_expand_vec_minmax", "(", "rtx", "target", ",", "rtx", "op0", ",", "rtx", "op1", ",", "rtx", "(", "*", "cmp", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ",", "bool", "min_p", ")", "{", "machine_mode", "vmode", "=", "GET_MODE", "(", "target", ")", ";", "rtx", "tc", ",", "t0", ",", "t1", ",", "x", ";", "tc", "=", "gen_reg_rtx", "(", "vmode", ")", ";", "t0", "=", "gen_reg_rtx", "(", "vmode", ")", ";", "t1", "=", "gen_reg_rtx", "(", "vmode", ")", ";", "emit_insn", "(", "cmp", "(", "tc", ",", "op0", ",", "op1", ")", ")", ";", "x", "=", "gen_rtx_AND", "(", "vmode", ",", "tc", ",", "(", "min_p", "?", "op1", ":", "op0", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "t0", ",", "x", ")", ")", ";", "x", "=", "gen_rtx_NOT", "(", "vmode", ",", "tc", ")", ";", "x", "=", "gen_rtx_AND", "(", "vmode", ",", "x", ",", "(", "min_p", "?", "op0", ":", "op1", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "t1", ",", "x", ")", ")", ";", "x", "=", "gen_rtx_IOR", "(", "vmode", ",", "t0", ",", "t1", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "target", ",", "x", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "vector", "minimum/maximum", "."], "TS_V_token": ["mips"], "File": "mips4", "Func": "mips_expand_vec_minmax", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3418, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "aarch64_adjust_stmt_cost", "(", "vect_cost_for_stmt", "kind", ",", "stmt_vec_info", "stmt_info", ",", "tree", "vectype", ",", "unsigned", "int", "stmt_cost", ")", "{", "if", "(", "vectype", ")", "{", "const", "simd_vec_cost", "*", "simd_costs", "=", "aarch64_simd_vec_costs", "(", "vectype", ")", ";", "switch", "(", "aarch64_ld234_st234_vectors", "(", "kind", ",", "stmt_info", ")", ")", "{", "case", "2", ":", "stmt_cost", "+=", "simd_costs", "->", "ld2_st2_permute_cost", ";", "break", ";", "case", "3", ":", "stmt_cost", "+=", "simd_costs", "->", "ld3_st3_permute_cost", ";", "break", ";", "case", "4", ":", "stmt_cost", "+=", "simd_costs", "->", "ld4_st4_permute_cost", ";", "break", ";", "}", "if", "(", "kind", "==", "vector_stmt", "||", "kind", "==", "vec_to_scalar", ")", "if", "(", "tree", "cmp_type", "=", "aarch64_embedded_comparison_type", "(", "stmt_info", ")", ")", "{", "if", "(", "FLOAT_TYPE_P", "(", "cmp_type", ")", ")", "stmt_cost", "+=", "simd_costs", "->", "fp_stmt_cost", ";", "else", "stmt_cost", "+=", "simd_costs", "->", "int_stmt_cost", ";", "}", "}", "if", "(", "kind", "==", "scalar_stmt", ")", "if", "(", "tree", "cmp_type", "=", "aarch64_embedded_comparison_type", "(", "stmt_info", ")", ")", "{", "if", "(", "FLOAT_TYPE_P", "(", "cmp_type", ")", ")", "stmt_cost", "+=", "aarch64_tune_params", ".", "vec_costs", "->", "scalar_fp_stmt_cost", ";", "else", "stmt_cost", "+=", "aarch64_tune_params", ".", "vec_costs", "->", "scalar_int_stmt_cost", ";", "}", "return", "stmt_cost", ";", "}", ""], "natrual_language": ["STMT_COST", "is", "the", "cost", "calculated", "for", "STMT_INFO", ",", "which", "has", "cost", "kind", "KIND", "and", "which", "when", "vectorized", "would", "operate", "on", "vector", "type", "VECTYPE", ".", "Add", "the", "cost", "of", "any", "embedded", "operations", "."], "TS_V_token": ["aarch64", "2", "3", "4"], "File": "aarch641", "Func": "aarch64_adjust_stmt_cost", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3419, "Length": 167, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "mips_prefetch_cookie", "(", "rtx", "write", ",", "rtx", "locality", ")", "{", "if", "(", "INTVAL", "(", "locality", ")", "<=", "0", ")", "return", "GEN_INT", "(", "INTVAL", "(", "write", ")", "+", "4", ")", ";", "if", "(", "INTVAL", "(", "locality", ")", "<=", "2", ")", "return", "write", ";", "return", "GEN_INT", "(", "INTVAL", "(", "write", ")", "+", "6", ")", ";", "}", ""], "natrual_language": ["Given", "that", "we", "have", "an", "rtx", "of", "the", "form", "(", "prefetch", "...", "WRITE", "LOCALITY", ")", ",", "return", "the", "first", "operand", "of", "the", "associated", "``", "pref", "''", "or", "``", "prefx", "''", "insn", "."], "TS_V_token": ["mips", "0", "4", "2", "6"], "File": "mips", "Func": "mips_prefetch_cookie", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3420, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86ATTInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "OS", ",", "StringRef", "Annot", ")", "{", "const", "MCInstrDesc", "&", "Desc", "=", "MII", ".", "get", "(", "MI", "->", "getOpcode", "(", ")", ")", ";", "uint64_t", "TSFlags", "=", "Desc", ".", "TSFlags", ";", "if", "(", "TSFlags", "&", "X86II", "::", "LOCK", ")", "OS", "<<", "\"\\tlock\\n\"", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "X86", "::", "CALLpcrel32", "&&", "(", "getAvailableFeatures", "(", ")", "&", "X86", "::", "Mode64Bit", ")", "!=", "0", ")", "{", "OS", "<<", "\"\\tcallq\\t\"", ";", "printPCRelImm", "(", "MI", ",", "0", ",", "OS", ")", ";", "}", "else", "if", "(", "!", "printAliasInstr", "(", "MI", ",", "OS", ")", ")", "printInstruction", "(", "MI", ",", "OS", ")", ";", "printAnnotation", "(", "OS", ",", "Annot", ")", ";", "if", "(", "CommentStream", ")", "EmitAnyX86InstComments", "(", "MI", ",", "*", "CommentStream", ",", "getRegisterName", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["X86", "X86", "X86II::LOCK", "\"\\tlock\\n\"", "X86::CALLpcrel32", "X86::Mode64Bit", "0", "\"\\tcallq\\t\"", "0", "X86"], "File": "X86ATTInstPrinter49", "Func": "printInst", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3421, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "CCAssignFn", "*", "AVRTargetLowering", "::", "CCAssignFnForReturn", "(", "CallingConv", "::", "ID", "CC", ")", "const", "{", "switch", "(", "CC", ")", "{", "case", "CallingConv", "::", "AVR_BUILTIN", ":", "return", "RetCC_AVR_BUILTIN", ";", "default", ":", "return", "RetCC_AVR", ";", "}", "}", ""], "natrual_language": ["Selects", "the", "correct", "CCAssignFn", "for", "a", "given", "CallingConvention", "value", "."], "TS_V_token": ["AVR", "AVR", "AVR", "AVR", "AVR"], "File": "AVRISelLowering", "Func": "CCAssignFnForReturn", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3422, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PatmosInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "DestReg", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "MBB", ".", "getParent", "(", ")", "->", "getFunction", "(", ")", "->", "hasFnAttribute", "(", "Attribute", "::", "Naked", ")", ")", "{", "report_fatal_error", "(", "\"Trying to fill a register in naked function \"", "+", "MBB", ".", "getParent", "(", ")", "->", "getName", "(", ")", "+", "\": not supported!\"", ",", "false", ")", ";", "}", "DebugLoc", "DL", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "*", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "FrameIdx", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FrameIdx", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FrameIdx", ")", ")", ";", "if", "(", "RC", "==", "&", "Patmos", "::", "RRegsRegClass", ")", "{", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Patmos", "::", "LWC", ")", ",", "DestReg", ")", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", "else", "if", "(", "RC", "==", "&", "Patmos", "::", "PRegsRegClass", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Patmos", "::", "PSEUDO_PREG_RELOAD", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", "else", "llvm_unreachable", "(", "\"Register class not handled!\"", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["Patmos", "Patmos", "\"Trying to fill a register in naked function \"", "\": not supported!\"", "Patmos::RRegsRegClass", "Patmos::LWC", "0", "Patmos::PRegsRegClass", "Patmos::PSEUDO_PREG_RELOAD", "0", "\"Register class not handled!\""], "File": "PatmosInstrInfo", "Func": "loadRegFromStackSlot", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 3423, "Length": 248, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Cpu0PassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "!", "Cpu0ReserveGP", ")", "{", "addPass", "(", "createCpu0EmitGPRestorePass", "(", "getCpu0TargetMachine", "(", ")", ")", ")", ";", "}", "return", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0", "Cpu0", "Cpu0"], "File": "Cpu0TargetMachine", "Func": "addPreRegAlloc", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3424, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MSP430TargetLowering", "::", "LowerCall", "(", "SDValue", "Chain", ",", "SDValue", "Callee", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "bool", "&", "isTailCall", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "isTailCall", "=", "false", ";", "switch", "(", "CallConv", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unsupported calling convention\"", ")", ";", "case", "CallingConv", "::", "Fast", ":", "case", "CallingConv", "::", "C", ":", "return", "LowerCCCCallTo", "(", "Chain", ",", "Callee", ",", "CallConv", ",", "isVarArg", ",", "isTailCall", ",", "Outs", ",", "OutVals", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ")", ";", "case", "CallingConv", "::", "MSP430_INTR", ":", "report_fatal_error", "(", "\"ISRs cannot be called directly\"", ")", ";", "}", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "calls", "into", "the", "specified", "DAG", "."], "TS_V_token": ["MSP430", "MSP430", "ISD::OutputArg", "ISD::InputArg", "\"Unsupported calling convention\"", "MSP430", "\"ISRs cannot be called directly\""], "File": "MSP430ISelLowering43", "Func": "LowerCall", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3425, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "bpf_function_arg", "(", "cumulative_args_t", "ca", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "ca", ")", ";", "if", "(", "*", "cum", "<", "5", ")", "return", "gen_rtx_REG", "(", "arg", ".", "mode", ",", "*", "cum", "+", "1", ")", ";", "else", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Return", "a", "RTX", "indicating", "whether", "a", "function", "argument", "is", "passed", "in", "a", "register", "and", "if", "so", ",", "which", "register", "."], "TS_V_token": ["bpf", "5", "1"], "File": "bpf", "Func": "bpf_function_arg", "Target": "bpf", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 3426, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint32_t", "find", "(", "T", "Val", ")", "const", "{", "auto", "F", "=", "llvm", "::", "find", "(", "Map", ",", "Val", ")", ";", "assert", "(", "F", "!=", "Map", ".", "end", "(", ")", ")", ";", "return", "F", "-", "Map", ".", "begin", "(", ")", "+", "1", ";", "}", ""], "natrual_language": ["Search", "for", "the", "first", "string", "Str", "in", "the", "string", "."], "TS_V_token": ["Hexagon", "1"], "File": "RDFRegisters", "Func": "find", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3427, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "canSimplifyCallFramePseudos", "(", "const", "MachineFunction", "&", "MF", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["canSimplifyCallFramePseudos", "-", "If", "there", "is", "a", "reserved", "call", "frame", ",", "the", "call", "frame", "pseudos", "can", "be", "simplified", "."], "TS_V_token": ["Hexagon"], "File": "HexagonFrameLowering10", "Func": "canSimplifyCallFramePseudos", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3428, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "XCoreFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "XCoreInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "<", "XCoreSubtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "if", "(", "!", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "MachineInstr", "*", "Old", "=", "I", ";", "uint64_t", "Amount", "=", "Old", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "Amount", "!=", "0", ")", "{", "unsigned", "Align", "=", "getStackAlignment", "(", ")", ";", "Amount", "=", "(", "Amount", "+", "Align", "-", "1", ")", "/", "Align", "*", "Align", ";", "assert", "(", "Amount", "%", "4", "==", "0", ")", ";", "Amount", "/=", "4", ";", "bool", "isU6", "=", "isImmU6", "(", "Amount", ")", ";", "if", "(", "!", "isU6", "&&", "!", "isImmU16", "(", "Amount", ")", ")", "{", "errs", "(", ")", "<<", "\"eliminateCallFramePseudoInstr size too big: \"", "<<", "Amount", "<<", "\"\\n\"", ";", "llvm_unreachable", "(", "nullptr", ")", ";", "}", "MachineInstr", "*", "New", ";", "if", "(", "Old", "->", "getOpcode", "(", ")", "==", "XCore", "::", "ADJCALLSTACKDOWN", ")", "{", "int", "Opcode", "=", "isU6", "?", "XCore", "::", "EXTSP_u6", ":", "XCore", "::", "EXTSP_lu6", ";", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "Opcode", ")", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Old", "->", "getOpcode", "(", ")", "==", "XCore", "::", "ADJCALLSTACKUP", ")", ";", "int", "Opcode", "=", "isU6", "?", "XCore", "::", "LDAWSP_ru6", ":", "XCore", "::", "LDAWSP_lru6", ";", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "Opcode", ")", ",", "XCore", "::", "SP", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "MBB", ".", "insert", "(", "I", ",", "New", ")", ";", "}", "}", "MBB", ".", "erase", "(", "I", ")", ";", "}", ""], "natrual_language": ["This", "method", "is", "called", "during", "prolog/epilog", "code", "insertion", "to", "eliminate", "call", "frame", "setup", "and", "destroy", "pseudo", "instructions", "(", "but", "only", "if", "the", "Target", "is", "using", "them", ")", "."], "TS_V_token": ["XCore", "XCore", "XCore", "XCore", "0", "0", "1", "4", "0", "4", "\"eliminateCallFramePseudoInstr size too big: \"", "\"\\n\"", "XCore::ADJCALLSTACKDOWN", "XCore::EXTSP_u6", "XCore::EXTSP_lu6", "XCore::ADJCALLSTACKUP", "XCore::LDAWSP_ru6", "XCore::LDAWSP_lru6", "XCore::SP"], "File": "XCoreFrameLowering (2)", "Func": "eliminateCallFramePseudoInstr", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3429, "Length": 278, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "mips16_emit_constants_1", "(", "machine_mode", "mode", ",", "rtx", "value", ",", "rtx_insn", "*", "insn", ")", "{", "if", "(", "SCALAR_INT_MODE_P", "(", "mode", ")", "||", "ALL_SCALAR_FIXED_POINT_MODE_P", "(", "mode", ")", ")", "{", "rtx", "size", "=", "GEN_INT", "(", "GET_MODE_SIZE", "(", "mode", ")", ")", ";", "return", "emit_insn_after", "(", "gen_consttable_int", "(", "value", ",", "size", ")", ",", "insn", ")", ";", "}", "if", "(", "SCALAR_FLOAT_MODE_P", "(", "mode", ")", ")", "return", "emit_insn_after", "(", "gen_consttable_float", "(", "value", ")", ",", "insn", ")", ";", "if", "(", "VECTOR_MODE_P", "(", "mode", ")", ")", "{", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "CONST_VECTOR_NUNITS", "(", "value", ")", ";", "i", "++", ")", "insn", "=", "mips16_emit_constants_1", "(", "GET_MODE_INNER", "(", "mode", ")", ",", "CONST_VECTOR_ELT", "(", "value", ",", "i", ")", ",", "insn", ")", ";", "return", "insn", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Output", "constant", "VALUE", "after", "instruction", "INSN", "and", "return", "the", "last", "instruction", "emitted", ".", "MODE", "is", "the", "mode", "of", "the", "constant", "."], "TS_V_token": ["mips", "0"], "File": "mips", "Func": "mips16_emit_constants_1", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3430, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "swap_selector_for_mode", "(", "machine_mode", "mode", ")", "{", "unsigned", "int", "swap2", "[", "16", "]", "=", "{", "7", ",", "6", ",", "5", ",", "4", ",", "3", ",", "2", ",", "1", ",", "0", ",", "15", ",", "14", ",", "13", ",", "12", ",", "11", ",", "10", ",", "9", ",", "8", "}", ";", "unsigned", "int", "swap4", "[", "16", "]", "=", "{", "3", ",", "2", ",", "1", ",", "0", ",", "7", ",", "6", ",", "5", ",", "4", ",", "11", ",", "10", ",", "9", ",", "8", ",", "15", ",", "14", ",", "13", ",", "12", "}", ";", "unsigned", "int", "swap8", "[", "16", "]", "=", "{", "1", ",", "0", ",", "3", ",", "2", ",", "5", ",", "4", ",", "7", ",", "6", ",", "9", ",", "8", ",", "11", ",", "10", ",", "13", ",", "12", ",", "15", ",", "14", "}", ";", "unsigned", "int", "swap16", "[", "16", "]", "=", "{", "0", ",", "1", ",", "2", ",", "3", ",", "4", ",", "5", ",", "6", ",", "7", ",", "8", ",", "9", ",", "10", ",", "11", ",", "12", ",", "13", ",", "14", ",", "15", "}", ";", "unsigned", "int", "*", "swaparray", ",", "i", ";", "rtx", "perm", "[", "16", "]", ";", "switch", "(", "mode", ")", "{", "case", "E_V2DFmode", ":", "case", "E_V2DImode", ":", "swaparray", "=", "swap2", ";", "break", ";", "case", "E_V4SFmode", ":", "case", "E_V4SImode", ":", "swaparray", "=", "swap4", ";", "break", ";", "case", "E_V8HImode", ":", "swaparray", "=", "swap8", ";", "break", ";", "case", "E_V16QImode", ":", "swaparray", "=", "swap16", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "for", "(", "i", "=", "0", ";", "i", "<", "16", ";", "++", "i", ")", "perm", "[", "i", "]", "=", "GEN_INT", "(", "swaparray", "[", "i", "]", ")", ";", "return", "force_reg", "(", "V16QImode", ",", "gen_rtx_CONST_VECTOR", "(", "V16QImode", ",", "gen_rtvec_v", "(", "16", ",", "perm", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "a", "constant", "vector", "for", "use", "as", "a", "little-endian", "permute", "control", "vector", "to", "reverse", "the", "order", "of", "elements", "of", "the", "given", "vector", "mode", "."], "TS_V_token": ["powerpcspe", "16", "7", "6", "5", "4", "3", "2", "1", "0", "15", "14", "13", "12", "11", "10", "9", "8", "16", "3", "2", "1", "0", "7", "6", "5", "4", "11", "10", "9", "8", "15", "14", "13", "12", "16", "1", "0", "3", "2", "5", "4", "7", "6", "9", "8", "11", "10", "13", "12", "15", "14", "16", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "0", "16", "16"], "File": "powerpcspe", "Func": "swap_selector_for_mode", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3431, "Length": 284, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "M88kTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "M88kPassConfig", "(", "*", "this", ",", "PM", ")", ";", "}", ""], "natrual_language": ["Create", "a", "pass", "configuration", "object", "to", "be", "used", "by", "addPassToEmitX", "methods", "for", "generating", "a", "pipeline", "of", "CodeGen", "passes", "."], "TS_V_token": ["M88k", "M88k", "M88k"], "File": "M88kTargetMachine", "Func": "createPassConfig", "Target": "M88k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3432, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WinEHStatePass", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "F", ".", "hasAvailableExternallyLinkage", "(", ")", ")", "return", "false", ";", "if", "(", "!", "F", ".", "hasPersonalityFn", "(", ")", ")", "return", "false", ";", "PersonalityFn", "=", "dyn_cast", "<", "Function", ">", "(", "F", ".", "getPersonalityFn", "(", ")", "->", "stripPointerCasts", "(", ")", ")", ";", "if", "(", "!", "PersonalityFn", ")", "return", "false", ";", "Personality", "=", "classifyEHPersonality", "(", "PersonalityFn", ")", ";", "if", "(", "!", "isFuncletEHPersonality", "(", "Personality", ")", ")", "return", "false", ";", "bool", "HasPads", "=", "false", ";", "for", "(", "BasicBlock", "&", "BB", ":", "F", ")", "{", "if", "(", "BB", ".", "isEHPad", "(", ")", ")", "{", "HasPads", "=", "true", ";", "break", ";", "}", "}", "if", "(", "!", "HasPads", ")", "return", "false", ";", "Type", "*", "Int8PtrType", "=", "Type", "::", "getInt8PtrTy", "(", "TheModule", "->", "getContext", "(", ")", ")", ";", "SetJmp3", "=", "TheModule", "->", "getOrInsertFunction", "(", "\"_setjmp3\"", ",", "FunctionType", "::", "get", "(", "Type", "::", "getInt32Ty", "(", "TheModule", "->", "getContext", "(", ")", ")", ",", "{", "Int8PtrType", ",", "Type", "::", "getInt32Ty", "(", "TheModule", "->", "getContext", "(", ")", ")", "}", ",", "true", ")", ")", ";", "emitExceptionRegistrationRecord", "(", "&", "F", ")", ";", "WinEHFuncInfo", "FuncInfo", ";", "addStateStores", "(", "F", ",", "FuncInfo", ")", ";", "PersonalityFn", "=", "nullptr", ";", "Personality", "=", "EHPersonality", "::", "Unknown", ";", "UseStackGuard", "=", "false", ";", "RegNode", "=", "nullptr", ";", "EHGuardNode", "=", "nullptr", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["X86", "\"_setjmp3\""], "File": "X86WinEHState15", "Func": "runOnFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3433, "Length": 215, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nvptx_init_axis_predicate", "(", "FILE", "*", "file", ",", "int", "regno", ",", "const", "char", "*", "name", ")", "{", "fprintf", "(", "file", ",", "\"\\t{\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\t\\t.reg.u32\\t%%%s;\\n\"", ",", "name", ")", ";", "if", "(", "strcmp", "(", "name", ",", "\"x\"", ")", "==", "0", "&&", "cfun", "->", "machine", "->", "red_partition", ")", "{", "fprintf", "(", "file", ",", "\"\\t\\t.reg.u64\\t%%t_red;\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\t\\t.reg.u64\\t%%y64;\\n\"", ")", ";", "}", "fprintf", "(", "file", ",", "\"\\t\\tmov.u32\\t%%%s, %%tid.%s;\\n\"", ",", "name", ",", "name", ")", ";", "fprintf", "(", "file", ",", "\"\\t\\tsetp.ne.u32\\t%%r%d, %%%s, 0;\\n\"", ",", "regno", ",", "name", ")", ";", "if", "(", "strcmp", "(", "name", ",", "\"x\"", ")", "==", "0", "&&", "cfun", "->", "machine", "->", "red_partition", ")", "{", "fprintf", "(", "file", ",", "\"\\t\\tcvt.u64.u32\\t%%y64, %%tid.y;\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\t\\tcvta.shared.u64\\t%%t_red, __vector_red;\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\t\\tmad.lo.u64\\t%%r%d, %%y64, %d, %%t_red; \"", "\"// vector reduction buffer\\n\"", ",", "REGNO", "(", "cfun", "->", "machine", "->", "red_partition", ")", ",", "vector_red_partition", ")", ";", "}", "gcc_assert", "(", "vector_red_partition", "*", "nvptx_mach_max_workers", "(", ")", "<=", "vector_red_size", ")", ";", "fprintf", "(", "file", ",", "\"\\t}\\n\"", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "initialize", "the", "REGNO", "predicate", "register", "to", "indicate", "whether", "we", "are", "not", "lane", "zero", "on", "the", "NAME", "axis", "."], "TS_V_token": ["nvptx", "\"\\t{\\n\"", "\"\\t\\t.reg.u32\\t%%%s;\\n\"", "\"x\"", "0", "\"\\t\\t.reg.u64\\t%%t_red;\\n\"", "\"\\t\\t.reg.u64\\t%%y64;\\n\"", "\"\\t\\tmov.u32\\t%%%s, %%tid.%s;\\n\"", "\"\\t\\tsetp.ne.u32\\t%%r%d, %%%s, 0;\\n\"", "\"x\"", "0", "\"\\t\\tcvt.u64.u32\\t%%y64, %%tid.y;\\n\"", "\"\\t\\tcvta.shared.u64\\t%%t_red, __vector_red;\\n\"", "\"\\t\\tmad.lo.u64\\t%%r%d, %%y64, %d, %%t_red; \"", "\"// vector reduction buffer\\n\"", "\"\\t}\\n\""], "File": "nvptx", "Func": "nvptx_init_axis_predicate", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 3434, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "DLXAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "MachineBasicBlock", "::", "const_instr_iterator", "I", "=", "MI", "->", "getIterator", "(", ")", ";", "MachineBasicBlock", "::", "const_instr_iterator", "E", "=", "MI", "->", "getParent", "(", ")", "->", "instr_end", "(", ")", ";", "do", "{", "if", "(", "I", "->", "isCall", "(", ")", ")", "{", "emitCallInstruction", "(", "&", "*", "I", ")", ";", "continue", ";", "}", "customEmitInstruction", "(", "&", "*", "I", ")", ";", "}", "while", "(", "(", "++", "I", "!=", "E", ")", "&&", "I", "->", "isInsideBundle", "(", ")", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXAsmPrinter", "Func": "EmitInstruction", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3435, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int64_t", "ARMBaseRegisterInfo", "::", "getFrameIndexInstrOffset", "(", "const", "MachineInstr", "*", "MI", ",", "int", "Idx", ")", "const", "{", "const", "MCInstrDesc", "&", "Desc", "=", "MI", "->", "getDesc", "(", ")", ";", "unsigned", "AddrMode", "=", "(", "Desc", ".", "TSFlags", "&", "ARMII", "::", "AddrModeMask", ")", ";", "int64_t", "InstrOffs", "=", "0", ";", "int", "Scale", "=", "1", ";", "unsigned", "ImmIdx", "=", "0", ";", "switch", "(", "AddrMode", ")", "{", "case", "ARMII", "::", "AddrModeT2_i8", ":", "case", "ARMII", "::", "AddrModeT2_i12", ":", "case", "ARMII", "::", "AddrMode_i12", ":", "InstrOffs", "=", "MI", "->", "getOperand", "(", "Idx", "+", "1", ")", ".", "getImm", "(", ")", ";", "Scale", "=", "1", ";", "break", ";", "case", "ARMII", "::", "AddrMode5", ":", "{", "const", "MachineOperand", "&", "OffOp", "=", "MI", "->", "getOperand", "(", "Idx", "+", "1", ")", ";", "InstrOffs", "=", "ARM_AM", "::", "getAM5Offset", "(", "OffOp", ".", "getImm", "(", ")", ")", ";", "if", "(", "ARM_AM", "::", "getAM5Op", "(", "OffOp", ".", "getImm", "(", ")", ")", "==", "ARM_AM", "::", "sub", ")", "InstrOffs", "=", "-", "InstrOffs", ";", "Scale", "=", "4", ";", "break", ";", "}", "case", "ARMII", "::", "AddrMode2", ":", "ImmIdx", "=", "Idx", "+", "2", ";", "InstrOffs", "=", "ARM_AM", "::", "getAM2Offset", "(", "MI", "->", "getOperand", "(", "ImmIdx", ")", ".", "getImm", "(", ")", ")", ";", "if", "(", "ARM_AM", "::", "getAM2Op", "(", "MI", "->", "getOperand", "(", "ImmIdx", ")", ".", "getImm", "(", ")", ")", "==", "ARM_AM", "::", "sub", ")", "InstrOffs", "=", "-", "InstrOffs", ";", "break", ";", "case", "ARMII", "::", "AddrMode3", ":", "ImmIdx", "=", "Idx", "+", "2", ";", "InstrOffs", "=", "ARM_AM", "::", "getAM3Offset", "(", "MI", "->", "getOperand", "(", "ImmIdx", ")", ".", "getImm", "(", ")", ")", ";", "if", "(", "ARM_AM", "::", "getAM3Op", "(", "MI", "->", "getOperand", "(", "ImmIdx", ")", ".", "getImm", "(", ")", ")", "==", "ARM_AM", "::", "sub", ")", "InstrOffs", "=", "-", "InstrOffs", ";", "break", ";", "case", "ARMII", "::", "AddrModeT1_s", ":", "ImmIdx", "=", "Idx", "+", "1", ";", "InstrOffs", "=", "MI", "->", "getOperand", "(", "ImmIdx", ")", ".", "getImm", "(", ")", ";", "Scale", "=", "4", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "\"Unsupported addressing mode!\"", ")", ";", "}", "return", "InstrOffs", "*", "Scale", ";", "}", ""], "natrual_language": ["Get", "the", "offset", "from", "the", "referenced", "frame", "index", "in", "the", "instruction", ",", "if", "there", "is", "one", "."], "TS_V_token": ["ARM", "ARM", "ARMII::AddrModeMask", "0", "1", "0", "ARMII::AddrModeT2_i8", "ARMII::AddrModeT2_i12", "ARMII::AddrMode_i12", "1", "1", "ARMII::AddrMode5", "1", "ARM_AM::getAM5Offset", "ARM_AM::getAM5Op", "ARM_AM::sub", "4", "ARMII::AddrMode2", "2", "ARM_AM::getAM2Offset", "ARM_AM::getAM2Op", "ARM_AM::sub", "ARMII::AddrMode3", "2", "ARM_AM::getAM3Offset", "ARM_AM::getAM3Op", "ARM_AM::sub", "ARMII::AddrModeT1_s", "1", "4", "\"Unsupported addressing mode!\""], "File": "ARMBaseRegisterInfo", "Func": "getFrameIndexInstrOffset", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3436, "Length": 317, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "getMachineCombinerPatterns", "(", "MachineInstr", "&", "Root", ",", "SmallVectorImpl", "<", "MachineCombinerPattern", ">", "&", "Patterns", ")", "const", "{", "if", "(", "getMaddPatterns", "(", "Root", ",", "Patterns", ")", ")", "return", "true", ";", "if", "(", "getFMAPatterns", "(", "Root", ",", "Patterns", ")", ")", "return", "true", ";", "return", "TargetInstrInfo", "::", "getMachineCombinerPatterns", "(", "Root", ",", "Patterns", ")", ";", "}", ""], "natrual_language": ["Return", "true", "when", "there", "is", "potentially", "a", "faster", "code", "sequence", "for", "an", "instruction", "chain", "ending", "in", "Root", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64InstrInfo (2)", "Func": "getMachineCombinerPatterns", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3437, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "rs6000_reg_type", "register_to_reg_type", "(", "rtx", "reg", ",", "bool", "*", "is_altivec", ")", "{", "HOST_WIDE_INT", "regno", ";", "enum", "reg_class", "rclass", ";", "if", "(", "GET_CODE", "(", "reg", ")", "==", "SUBREG", ")", "reg", "=", "SUBREG_REG", "(", "reg", ")", ";", "if", "(", "!", "REG_P", "(", "reg", ")", ")", "return", "NO_REG_TYPE", ";", "regno", "=", "REGNO", "(", "reg", ")", ";", "if", "(", "regno", ">=", "FIRST_PSEUDO_REGISTER", ")", "{", "if", "(", "!", "lra_in_progress", "&&", "!", "reload_in_progress", "&&", "!", "reload_completed", ")", "return", "PSEUDO_REG_TYPE", ";", "regno", "=", "true_regnum", "(", "reg", ")", ";", "if", "(", "regno", "<", "0", "||", "regno", ">=", "FIRST_PSEUDO_REGISTER", ")", "return", "PSEUDO_REG_TYPE", ";", "}", "gcc_assert", "(", "regno", ">=", "0", ")", ";", "if", "(", "is_altivec", "&&", "ALTIVEC_REGNO_P", "(", "regno", ")", ")", "*", "is_altivec", "=", "true", ";", "rclass", "=", "rs6000_regno_regclass", "[", "regno", "]", ";", "return", "reg_class_to_reg_type", "[", "(", "int", ")", "rclass", "]", ";", "}", ""], "natrual_language": ["Classify", "a", "register", "type", ".", "Because", "the", "FMRGOW/FMRGEW", "instructions", "only", "work", "on", "traditional", "floating", "point", "registers", ",", "and", "the", "VMRGOW/VMRGEW", "instructions", "only", "work", "on", "the", "traditional", "altivec", "registers", ",", "note", "if", "an", "altivec", "register", "was", "chosen", "."], "TS_V_token": ["rs6000", "0", "0"], "File": "rs60004", "Func": "register_to_reg_type", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3438, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "string", "message", "(", "int", "x", ")", "const", "override", "{", "switch", "(", "static_cast", "<", "SwitchError", ">", "(", "x", ")", ")", "{", "case", "SwitchError", "::", "OK", ":", "return", "\"ok\"", ";", "case", "SwitchError", "::", "UnknownSwitch", ":", "return", "\"unknown switch\"", ";", "case", "SwitchError", "::", "UnsupportedByHardware", ":", "return", "\"switch is not supported by the current processor\"", ";", "case", "SwitchError", "::", "UnapplicableForType", ":", "return", "\"switch is not valid for the used operand type\"", ";", "case", "SwitchError", "::", "NonBooleanValueOfFlag", ":", "return", "\"Olny values '0' or '1' are allowed for this switch\"", ";", "case", "SwitchError", "::", "SwitchGroupNoValue", ":", "return", "\"expected specification in the form 'Switch=VALUE'\"", ";", "default", ":", "return", "\"error \"", "+", "std", "::", "to_string", "(", "x", ")", ";", "}", "}", ""], "natrual_language": ["Return", "the", "error", "message", "as", "a", "string", "."], "TS_V_token": ["TPC", "\"ok\"", "\"unknown switch\"", "\"switch is not supported by the current processor\"", "\"switch is not valid for the used operand type\"", "\"Olny values '0' or '1' are allowed for this switch\"", "\"expected specification in the form 'Switch=VALUE'\"", "\"error \""], "File": "InstructionDB", "Func": "message", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3439, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "find_regmode_weight", "(", "int", "b", ",", "enum", "machine_mode", "mode", ")", "{", "rtx", "insn", ",", "next_tail", ",", "head", ",", "tail", ";", "get_block_head_tail", "(", "b", ",", "&", "head", ",", "&", "tail", ")", ";", "next_tail", "=", "NEXT_INSN", "(", "tail", ")", ";", "for", "(", "insn", "=", "head", ";", "insn", "!=", "next_tail", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "if", "(", "!", "INSN_P", "(", "insn", ")", ")", "continue", ";", "if", "(", "mode", "==", "SFmode", ")", "INSN_REGMODE_WEIGHT", "(", "insn", ",", "mode", ")", "=", "find_insn_regmode_weight", "(", "insn", ",", "mode", ")", "+", "2", "*", "find_insn_regmode_weight", "(", "insn", ",", "DFmode", ")", ";", "else", "if", "(", "mode", "==", "SImode", ")", "INSN_REGMODE_WEIGHT", "(", "insn", ",", "mode", ")", "=", "find_insn_regmode_weight", "(", "insn", ",", "mode", ")", "+", "2", "*", "find_insn_regmode_weight", "(", "insn", ",", "DImode", ")", ";", "}", "}", ""], "natrual_language": ["Calculate", "regmode", "weights", "for", "all", "insns", "of", "a", "basic", "block", "."], "TS_V_token": ["sh", "2", "2"], "File": "sh3", "Func": "find_regmode_weight", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3440, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "timode_remove_non_convertible_regs", "(", "bitmap", "candidates", ")", "{", "bitmap_iterator", "bi", ";", "unsigned", "id", ";", "bitmap", "regs", "=", "BITMAP_ALLOC", "(", "NULL", ")", ";", "EXECUTE_IF_SET_IN_BITMAP", "(", "candidates", ",", "0", ",", "id", ",", "bi", ")", "{", "rtx", "def_set", "=", "single_set", "(", "DF_INSN_UID_GET", "(", "id", ")", "->", "insn", ")", ";", "rtx", "dest", "=", "SET_DEST", "(", "def_set", ")", ";", "rtx", "src", "=", "SET_SRC", "(", "def_set", ")", ";", "if", "(", "(", "!", "REG_P", "(", "dest", ")", "||", "bitmap_bit_p", "(", "regs", ",", "REGNO", "(", "dest", ")", ")", "||", "HARD_REGISTER_P", "(", "dest", ")", ")", "&&", "(", "!", "REG_P", "(", "src", ")", "||", "bitmap_bit_p", "(", "regs", ",", "REGNO", "(", "src", ")", ")", "||", "HARD_REGISTER_P", "(", "src", ")", ")", ")", "continue", ";", "if", "(", "REG_P", "(", "dest", ")", ")", "timode_check_non_convertible_regs", "(", "candidates", ",", "regs", ",", "REGNO", "(", "dest", ")", ")", ";", "if", "(", "REG_P", "(", "src", ")", ")", "timode_check_non_convertible_regs", "(", "candidates", ",", "regs", ",", "REGNO", "(", "src", ")", ")", ";", "}", "EXECUTE_IF_SET_IN_BITMAP", "(", "regs", ",", "0", ",", "id", ",", "bi", ")", "{", "for", "(", "df_ref", "def", "=", "DF_REG_DEF_CHAIN", "(", "id", ")", ";", "def", ";", "def", "=", "DF_REF_NEXT_REG", "(", "def", ")", ")", "if", "(", "bitmap_bit_p", "(", "candidates", ",", "DF_REF_INSN_UID", "(", "def", ")", ")", ")", "{", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"Removing insn %d from candidates list\\n\"", ",", "DF_REF_INSN_UID", "(", "def", ")", ")", ";", "bitmap_clear_bit", "(", "candidates", ",", "DF_REF_INSN_UID", "(", "def", ")", ")", ";", "}", "for", "(", "df_ref", "ref", "=", "DF_REG_USE_CHAIN", "(", "id", ")", ";", "ref", ";", "ref", "=", "DF_REF_NEXT_REG", "(", "ref", ")", ")", "if", "(", "bitmap_bit_p", "(", "candidates", ",", "DF_REF_INSN_UID", "(", "ref", ")", ")", ")", "{", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"Removing insn %d from candidates list\\n\"", ",", "DF_REF_INSN_UID", "(", "ref", ")", ")", ";", "bitmap_clear_bit", "(", "candidates", ",", "DF_REF_INSN_UID", "(", "ref", ")", ")", ";", "}", "}", "BITMAP_FREE", "(", "regs", ")", ";", "}", ""], "natrual_language": ["For", "a", "given", "bitmap", "of", "insn", "UIDs", "scans", "all", "instructions", "and", "remove", "insn", "from", "CANDIDATES", "in", "case", "it", "has", "both", "convertible", "and", "not", "convertible", "definitions", ".", "All", "insns", "in", "a", "bitmap", "are", "conversion", "candidates", "according", "to", "scalar_to_vector_candidate_p", ".", "Currently", "it", "implies", "all", "insns", "are", "single_set", "."], "TS_V_token": ["i386", "0", "0", "\"Removing insn %d from candidates list\\n\"", "\"Removing insn %d from candidates list\\n\""], "File": "i386-features", "Func": "timode_remove_non_convertible_regs", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3441, "Length": 287, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SystemZTargetLowering", "::", "LowerCall", "(", "SDValue", "Chain", ",", "SDValue", "Callee", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "bool", "&", "isTailCall", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "{", "isTailCall", "=", "false", ";", "switch", "(", "CallConv", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unsupported calling convention\"", ")", ";", "case", "CallingConv", "::", "Fast", ":", "case", "CallingConv", "::", "C", ":", "return", "LowerCCCCallTo", "(", "Chain", ",", "Callee", ",", "CallConv", ",", "isVarArg", ",", "isTailCall", ",", "Outs", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ")", ";", "}", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "calls", "into", "the", "specified", "DAG", "."], "TS_V_token": ["SystemZ", "SystemZ", "ISD::OutputArg", "ISD::InputArg", "\"Unsupported calling convention\""], "File": "SystemZISelLowering101", "Func": "LowerCall", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3442, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PIC16AsmPrinter", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "bool", "Result", "=", "AsmPrinter", "::", "doInitialization", "(", "M", ")", ";", "O", "<<", "\"\\n#include p16f1xxx.inc\"", ";", "O", "<<", "\"\\n#include stdmacros.inc\"", ";", "for", "(", "Module", "::", "global_iterator", "I", "=", "M", ".", "global_begin", "(", ")", ",", "E", "=", "M", ".", "global_end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "I", "->", "isDeclaration", "(", ")", ")", "{", "ExternalVarDecls", ".", "push_back", "(", "I", ")", ";", "continue", ";", "}", "if", "(", "I", "->", "hasExternalLinkage", "(", ")", "||", "I", "->", "hasCommonLinkage", "(", ")", ")", "{", "ExternalVarDefs", ".", "push_back", "(", "I", ")", ";", "}", "if", "(", "!", "I", "->", "hasAvailableExternallyLinkage", "(", ")", ")", "{", "const", "MCSection", "*", "S", "=", "getObjFileLowering", "(", ")", ".", "SectionForGlobal", "(", "I", ",", "Mang", ",", "TM", ")", ";", "I", "->", "setSection", "(", "(", "(", "const", "PIC16Section", "*", ")", "S", ")", "->", "getName", "(", ")", ")", ";", "}", "}", "DbgInfo", ".", "BeginModule", "(", "M", ")", ";", "EmitFunctionDecls", "(", "M", ")", ";", "EmitUndefinedVars", "(", "M", ")", ";", "EmitDefinedVars", "(", "M", ")", ";", "EmitIData", "(", "M", ")", ";", "EmitUData", "(", "M", ")", ";", "EmitRomData", "(", "M", ")", ";", "EmitSharedUdata", "(", "M", ")", ";", "EmitUserSections", "(", "M", ")", ";", "return", "Result", ";", "}", ""], "natrual_language": ["Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "."], "TS_V_token": ["PIC16", "PIC16", "\"\\n#include p16f1xxx.inc\"", "\"\\n#include stdmacros.inc\"", "PIC16"], "File": "PIC16AsmPrinter3", "Func": "doInitialization", "Target": "PIC16", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3443, "Length": 198, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "DLXInstrInfo", "::", "insertBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "TrueBlock", ",", "MachineBasicBlock", "*", "FalseBlock", ",", "ArrayRef", "<", "MachineOperand", ">", "Condition", ",", "const", "DebugLoc", "&", "DL", ",", "int", "*", "BytesAdded", ")", "const", "{", "return", "1", ";", "}", ""], "natrual_language": ["Insert", "branch", "code", "into", "the", "end", "of", "the", "specified", "MachineBasicBlock", "."], "TS_V_token": ["DLX", "DLX", "1"], "File": "DLXInstrInfo", "Func": "insertBranch", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3444, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AArch64InstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "AArch64", "::", "STRWui", ":", "case", "AArch64", "::", "STRXui", ":", "case", "AArch64", "::", "STRBui", ":", "case", "AArch64", "::", "STRHui", ":", "case", "AArch64", "::", "STRSui", ":", "case", "AArch64", "::", "STRDui", ":", "case", "AArch64", "::", "STRQui", ":", "case", "AArch64", "::", "LDR_PXI", ":", "case", "AArch64", "::", "STR_PXI", ":", "if", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getSubReg", "(", ")", "==", "0", "&&", "MI", ".", "getOperand", "(", "1", ")", ".", "isFI", "(", ")", "&&", "MI", ".", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", "&&", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "==", "0", ")", "{", "FrameIndex", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getIndex", "(", ")", ";", "return", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "}", "break", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["isStoreToStackSlot", "-", "If", "the", "specified", "machine", "instruction", "is", "a", "direct", "store", "to", "a", "stack", "slot", ",", "return", "the", "virtual", "or", "physical", "register", "number", "of", "the", "source", "reg", "along", "with", "the", "FrameIndex", "of", "the", "loaded", "stack", "slot", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::STRWui", "AArch64::STRXui", "AArch64::STRBui", "AArch64::STRHui", "AArch64::STRSui", "AArch64::STRDui", "AArch64::STRQui", "AArch64::LDR_PXI", "AArch64::STR_PXI", "0", "0", "1", "2", "2", "0", "1", "0", "0"], "File": "AArch64InstrInfo105", "Func": "isStoreToStackSlot", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3445, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "alpha_split_const_mov", "(", "machine_mode", "mode", ",", "rtx", "*", "operands", ")", "{", "HOST_WIDE_INT", "i0", ",", "i1", ";", "rtx", "temp", "=", "NULL_RTX", ";", "alpha_extract_integer", "(", "operands", "[", "1", "]", ",", "&", "i0", ",", "&", "i1", ")", ";", "if", "(", "HOST_BITS_PER_WIDE_INT", ">=", "64", "||", "i1", "==", "-", "(", "i0", "<", "0", ")", ")", "temp", "=", "alpha_emit_set_const", "(", "operands", "[", "0", "]", ",", "mode", ",", "i0", ",", "3", ",", "false", ")", ";", "if", "(", "!", "temp", "&&", "TARGET_BUILD_CONSTANTS", ")", "temp", "=", "alpha_emit_set_long_const", "(", "operands", "[", "0", "]", ",", "i0", ",", "i1", ")", ";", "if", "(", "temp", ")", "{", "if", "(", "!", "rtx_equal_p", "(", "operands", "[", "0", "]", ",", "temp", ")", ")", "emit_move_insn", "(", "operands", "[", "0", "]", ",", "temp", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Operand", "1", "is", "known", "to", "be", "a", "constant", ",", "and", "should", "require", "more", "than", "one", "instruction", "to", "load", ".", "Emit", "that", "multi-part", "load", "."], "TS_V_token": ["alpha", "1", "64", "0", "0", "3", "0", "0", "0"], "File": "alpha4", "Func": "alpha_split_const_mov", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3446, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "addExpr", "(", "MCInst", "&", "Inst", ",", "const", "MCExpr", "*", "Expr", ")", "const", "{", "if", "(", "Expr", "==", "nullptr", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "0", ")", ")", ";", "else", "if", "(", "const", "auto", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Expr", ")", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "CE", "->", "getValue", "(", ")", ")", ")", ";", "else", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createExpr", "(", "Expr", ")", ")", ";", "}", ""], "natrual_language": ["Add", "a", "new", "MCExpr", "operand", "."], "TS_V_token": ["TL45", "0"], "File": "TL45AsmParser", "Func": "addExpr", "Target": "TL45", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3447, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmBackend", "::", "mayNeedRelaxation", "(", "const", "MCInst", "&", "Inst", ")", "const", "{", "if", "(", "getRelaxedOpcodeBranch", "(", "Inst", ".", "getOpcode", "(", ")", ")", "!=", "Inst", ".", "getOpcode", "(", ")", ")", "return", "true", ";", "if", "(", "MCDisableArithRelaxation", ")", "return", "false", ";", "if", "(", "getRelaxedOpcodeArith", "(", "Inst", ".", "getOpcode", "(", ")", ")", "==", "Inst", ".", "getOpcode", "(", ")", ")", "return", "false", ";", "bool", "hasExp", "=", "false", ";", "bool", "hasRIP", "=", "false", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Inst", ".", "getNumOperands", "(", ")", ";", "++", "i", ")", "{", "const", "MCOperand", "&", "Op", "=", "Inst", ".", "getOperand", "(", "i", ")", ";", "if", "(", "Op", ".", "isExpr", "(", ")", ")", "hasExp", "=", "true", ";", "if", "(", "Op", ".", "isReg", "(", ")", "&&", "Op", ".", "getReg", "(", ")", "==", "X86", "::", "RIP", ")", "hasRIP", "=", "true", ";", "}", "return", "hasExp", "&&", "!", "hasRIP", ";", "}", ""], "natrual_language": ["Check", "whether", "the", "given", "instruction", "may", "need", "relaxation", "."], "TS_V_token": ["X86", "X86", "0", "X86::RIP"], "File": "X86AsmBackend1", "Func": "mayNeedRelaxation", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3448, "Length": 142, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "X86TTIImpl", "::", "getIntImmCost", "(", "unsigned", "Opcode", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "{", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "unsigned", "BitSize", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "BitSize", "==", "0", ")", "return", "TTI", "::", "TCC_Free", ";", "unsigned", "ImmIdx", "=", "~", "0U", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "TTI", "::", "TCC_Free", ";", "case", "Instruction", "::", "GetElementPtr", ":", "if", "(", "Idx", "==", "0", ")", "return", "2", "*", "TTI", "::", "TCC_Basic", ";", "return", "TTI", "::", "TCC_Free", ";", "case", "Instruction", "::", "Store", ":", "ImmIdx", "=", "0", ";", "break", ";", "case", "Instruction", "::", "ICmp", ":", "if", "(", "Idx", "==", "1", "&&", "Imm", ".", "getBitWidth", "(", ")", "==", "64", ")", "{", "uint64_t", "ImmVal", "=", "Imm", ".", "getZExtValue", "(", ")", ";", "if", "(", "ImmVal", "==", "0x100000000ULL", "||", "ImmVal", "==", "0xffffffff", ")", "return", "TTI", "::", "TCC_Free", ";", "}", "ImmIdx", "=", "1", ";", "break", ";", "case", "Instruction", "::", "And", ":", "if", "(", "Idx", "==", "1", "&&", "Imm", ".", "getBitWidth", "(", ")", "==", "64", "&&", "isUInt", "<", "32", ">", "(", "Imm", ".", "getZExtValue", "(", ")", ")", ")", "return", "TTI", "::", "TCC_Free", ";", "ImmIdx", "=", "1", ";", "break", ";", "case", "Instruction", "::", "Add", ":", "case", "Instruction", "::", "Sub", ":", "if", "(", "Idx", "==", "1", "&&", "Imm", ".", "getBitWidth", "(", ")", "==", "64", "&&", "Imm", ".", "getZExtValue", "(", ")", "==", "0x80000000", ")", "return", "TTI", "::", "TCC_Free", ";", "ImmIdx", "=", "1", ";", "break", ";", "case", "Instruction", "::", "UDiv", ":", "case", "Instruction", "::", "SDiv", ":", "case", "Instruction", "::", "URem", ":", "case", "Instruction", "::", "SRem", ":", "return", "TTI", "::", "TCC_Free", ";", "case", "Instruction", "::", "Mul", ":", "case", "Instruction", "::", "Or", ":", "case", "Instruction", "::", "Xor", ":", "ImmIdx", "=", "1", ";", "break", ";", "case", "Instruction", "::", "Shl", ":", "case", "Instruction", "::", "LShr", ":", "case", "Instruction", "::", "AShr", ":", "if", "(", "Idx", "==", "1", ")", "return", "TTI", "::", "TCC_Free", ";", "break", ";", "case", "Instruction", "::", "Trunc", ":", "case", "Instruction", "::", "ZExt", ":", "case", "Instruction", "::", "SExt", ":", "case", "Instruction", "::", "IntToPtr", ":", "case", "Instruction", "::", "PtrToInt", ":", "case", "Instruction", "::", "BitCast", ":", "case", "Instruction", "::", "PHI", ":", "case", "Instruction", "::", "Call", ":", "case", "Instruction", "::", "Select", ":", "case", "Instruction", "::", "Ret", ":", "case", "Instruction", "::", "Load", ":", "break", ";", "}", "if", "(", "Idx", "==", "ImmIdx", ")", "{", "int", "NumConstants", "=", "divideCeil", "(", "BitSize", ",", "64", ")", ";", "int", "Cost", "=", "X86TTIImpl", "::", "getIntImmCost", "(", "Imm", ",", "Ty", ")", ";", "return", "(", "Cost", "<=", "NumConstants", "*", "TTI", "::", "TCC_Basic", ")", "?", "static_cast", "<", "int", ">", "(", "TTI", "::", "TCC_Free", ")", ":", "Cost", ";", "}", "return", "X86TTIImpl", "::", "getIntImmCost", "(", "Imm", ",", "Ty", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "."], "TS_V_token": ["X86", "X86", "0", "0U", "0", "2", "0", "1", "64", "0x100000000ULL", "0xffffffff", "1", "1", "64", "32", "1", "1", "64", "0x80000000", "1", "1", "1", "64", "X86", "X86"], "File": "X86TargetTransformInfo (2)2", "Func": "getIntImmCost", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3449, "Length": 434, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "getTgtMemIntrinsic", "(", "IntrinsicInfo", "&", "Info", ",", "const", "CallInst", "&", "I", ",", "MachineFunction", "&", "MF", ",", "unsigned", "Intrinsic", ")", "const", "{", "auto", "&", "DL", "=", "I", ".", "getModule", "(", ")", "->", "getDataLayout", "(", ")", ";", "switch", "(", "Intrinsic", ")", "{", "default", ":", "return", "false", ";", "case", "Intrinsic", "::", "riscv_masked_atomicrmw_xchg_i32", ":", "case", "Intrinsic", "::", "riscv_masked_atomicrmw_add_i32", ":", "case", "Intrinsic", "::", "riscv_masked_atomicrmw_sub_i32", ":", "case", "Intrinsic", "::", "riscv_masked_atomicrmw_nand_i32", ":", "case", "Intrinsic", "::", "riscv_masked_atomicrmw_max_i32", ":", "case", "Intrinsic", "::", "riscv_masked_atomicrmw_min_i32", ":", "case", "Intrinsic", "::", "riscv_masked_atomicrmw_umax_i32", ":", "case", "Intrinsic", "::", "riscv_masked_atomicrmw_umin_i32", ":", "case", "Intrinsic", "::", "riscv_masked_cmpxchg_i32", ":", "Info", ".", "opc", "=", "ISD", "::", "INTRINSIC_W_CHAIN", ";", "Info", ".", "memVT", "=", "MVT", "::", "i32", ";", "Info", ".", "ptrVal", "=", "I", ".", "getArgOperand", "(", "0", ")", ";", "Info", ".", "offset", "=", "0", ";", "Info", ".", "align", "=", "Align", "(", "4", ")", ";", "Info", ".", "flags", "=", "MachineMemOperand", "::", "MOLoad", "|", "MachineMemOperand", "::", "MOStore", "|", "MachineMemOperand", "::", "MOVolatile", ";", "return", "true", ";", "case", "Intrinsic", "::", "riscv_masked_strided_load", ":", "Info", ".", "opc", "=", "ISD", "::", "INTRINSIC_W_CHAIN", ";", "Info", ".", "ptrVal", "=", "I", ".", "getArgOperand", "(", "1", ")", ";", "Info", ".", "memVT", "=", "getValueType", "(", "DL", ",", "I", ".", "getType", "(", ")", "->", "getScalarType", "(", ")", ")", ";", "Info", ".", "align", "=", "Align", "(", "DL", ".", "getTypeSizeInBits", "(", "I", ".", "getType", "(", ")", "->", "getScalarType", "(", ")", ")", "/", "8", ")", ";", "Info", ".", "size", "=", "MemoryLocation", "::", "UnknownSize", ";", "Info", ".", "flags", "|=", "MachineMemOperand", "::", "MOLoad", ";", "return", "true", ";", "case", "Intrinsic", "::", "riscv_masked_strided_store", ":", "Info", ".", "opc", "=", "ISD", "::", "INTRINSIC_VOID", ";", "Info", ".", "ptrVal", "=", "I", ".", "getArgOperand", "(", "1", ")", ";", "Info", ".", "memVT", "=", "getValueType", "(", "DL", ",", "I", ".", "getArgOperand", "(", "0", ")", "->", "getType", "(", ")", "->", "getScalarType", "(", ")", ")", ";", "Info", ".", "align", "=", "Align", "(", "DL", ".", "getTypeSizeInBits", "(", "I", ".", "getArgOperand", "(", "0", ")", "->", "getType", "(", ")", "->", "getScalarType", "(", ")", ")", "/", "8", ")", ";", "Info", ".", "size", "=", "MemoryLocation", "::", "UnknownSize", ";", "Info", ".", "flags", "|=", "MachineMemOperand", "::", "MOStore", ";", "return", "true", ";", "case", "Intrinsic", "::", "riscv_seg2_load", ":", "case", "Intrinsic", "::", "riscv_seg3_load", ":", "case", "Intrinsic", "::", "riscv_seg4_load", ":", "case", "Intrinsic", "::", "riscv_seg5_load", ":", "case", "Intrinsic", "::", "riscv_seg6_load", ":", "case", "Intrinsic", "::", "riscv_seg7_load", ":", "case", "Intrinsic", "::", "riscv_seg8_load", ":", "Info", ".", "opc", "=", "ISD", "::", "INTRINSIC_W_CHAIN", ";", "Info", ".", "ptrVal", "=", "I", ".", "getArgOperand", "(", "0", ")", ";", "Info", ".", "memVT", "=", "getValueType", "(", "DL", ",", "I", ".", "getType", "(", ")", "->", "getStructElementType", "(", "0", ")", "->", "getScalarType", "(", ")", ")", ";", "Info", ".", "align", "=", "Align", "(", "DL", ".", "getTypeSizeInBits", "(", "I", ".", "getType", "(", ")", "->", "getStructElementType", "(", "0", ")", "->", "getScalarType", "(", ")", ")", "/", "8", ")", ";", "Info", ".", "size", "=", "MemoryLocation", "::", "UnknownSize", ";", "Info", ".", "flags", "|=", "MachineMemOperand", "::", "MOLoad", ";", "return", "true", ";", "}", "}", ""], "natrual_language": ["Given", "an", "intrinsic", ",", "checks", "if", "on", "the", "target", "the", "intrinsic", "will", "need", "to", "map", "to", "a", "MemIntrinsicNode", "(", "touches", "memory", ")", "."], "TS_V_token": ["RISCV", "RISCV", "Intrinsic::riscv_masked_atomicrmw_xchg_i32", "Intrinsic::riscv_masked_atomicrmw_add_i32", "Intrinsic::riscv_masked_atomicrmw_sub_i32", "Intrinsic::riscv_masked_atomicrmw_nand_i32", "Intrinsic::riscv_masked_atomicrmw_max_i32", "Intrinsic::riscv_masked_atomicrmw_min_i32", "Intrinsic::riscv_masked_atomicrmw_umax_i32", "Intrinsic::riscv_masked_atomicrmw_umin_i32", "Intrinsic::riscv_masked_cmpxchg_i32", "ISD::INTRINSIC_W_CHAIN", "MVT::i32", "0", "0", "4", "Intrinsic::riscv_masked_strided_load", "ISD::INTRINSIC_W_CHAIN", "1", "8", "Intrinsic::riscv_masked_strided_store", "ISD::INTRINSIC_VOID", "1", "0", "0", "8", "Intrinsic::riscv_seg2_load", "Intrinsic::riscv_seg3_load", "Intrinsic::riscv_seg4_load", "Intrinsic::riscv_seg5_load", "Intrinsic::riscv_seg6_load", "Intrinsic::riscv_seg7_load", "Intrinsic::riscv_seg8_load", "ISD::INTRINSIC_W_CHAIN", "0", "0", "0", "8"], "File": "RISCVISelLowering3", "Func": "getTgtMemIntrinsic", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3450, "Length": 463, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "AttributeSet", "FnAttrs", "=", "MF", ".", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ";", "ForCodeSize", "=", "FnAttrs", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "OptimizeForSize", ")", "||", "FnAttrs", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "MinSize", ")", ";", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ";", "return", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64ISelDAGToDAG27", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3451, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "HexagonMCInst", "::", "getMinValue", "(", "void", ")", "const", "{", "const", "uint64_t", "F", "=", "MCID", "->", "TSFlags", ";", "unsigned", "isSigned", "=", "(", "F", ">>", "HexagonII", "::", "ExtentSignedPos", ")", "&", "HexagonII", "::", "ExtentSignedMask", ";", "unsigned", "bits", "=", "(", "F", ">>", "HexagonII", "::", "ExtentBitsPos", ")", "&", "HexagonII", "::", "ExtentBitsMask", ";", "if", "(", "isSigned", ")", "return", "-", "1U", "<<", "(", "bits", "-", "1", ")", ";", "else", "return", "0", ";", "}", ""], "natrual_language": ["Return", "the", "minimal", "unsigned", "value", "possible", "given", "these", "KnownBits", "."], "TS_V_token": ["Hexagon", "Hexagon", "HexagonII::ExtentSignedPos", "HexagonII::ExtentSignedMask", "HexagonII::ExtentBitsPos", "HexagonII::ExtentBitsMask", "1U", "1", "0"], "File": "HexagonMCInst2", "Func": "getMinValue", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3452, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "SPAdj", "==", "0", "&&", "\"Unxpected\"", ")", ";", "unsigned", "i", "=", "0", ";", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "TargetFrameInfo", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "\"Instr doesn't have FrameIndex operand!\"", ")", ";", "}", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "i", ")", ".", "getIndex", "(", ")", ";", "unsigned", "BasePtr", "=", "(", "TFI", "->", "hasFP", "(", "MF", ")", "?", "SystemZ", "::", "R11D", ":", "SystemZ", "::", "R15D", ")", ";", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "BasePtr", ",", "false", ")", ";", "int", "Offset", "=", "TFI", "->", "getFrameIndexOffset", "(", "MF", ",", "FrameIndex", ")", "+", "MI", ".", "getOperand", "(", "i", "+", "1", ")", ".", "getImm", "(", ")", ";", "MI", ".", "setDesc", "(", "TII", ".", "getMemoryInstr", "(", "MI", ".", "getOpcode", "(", ")", ",", "Offset", ")", ")", ";", "MI", ".", "getOperand", "(", "i", "+", "1", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["SystemZ", "SystemZ", "0", "\"Unxpected\"", "0", "\"Instr doesn't have FrameIndex operand!\"", "SystemZ::R11D", "SystemZ::R15D", "1", "1"], "File": "SystemZRegisterInfo19", "Func": "eliminateFrameIndex", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3453, "Length": 208, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCAsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "return", "true", ";", "assert", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isReg", "(", ")", ")", ";", "printOperand", "(", "MI", ",", "OpNo", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "operand", "of", "MI", ",", "an", "INLINEASM", "instruction", ",", "using", "the", "specified", "assembler", "variant", "as", "an", "address", "."], "TS_V_token": ["PowerPC", "PPC", "0"], "File": "PPCAsmPrinter18", "Func": "PrintAsmMemoryOperand", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3454, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["spillCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "spill", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "store", "instructions", "via", "storeRegToStackSlot", "(", ")", "."], "TS_V_token": ["Hexagon"], "File": "HexagonFrameLowering (2)", "Func": "spillCalleeSavedRegisters", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3455, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "arm_handle_cmse_nonsecure_call", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", ",", "int", ",", "bool", "*", "no_add_attrs", ")", "{", "tree", "decl", "=", "NULL_TREE", ",", "fntype", "=", "NULL_TREE", ";", "tree", "type", ";", "if", "(", "!", "use_cmse", ")", "{", "*", "no_add_attrs", "=", "true", ";", "warning", "(", "OPT_Wattributes", ",", "\"%qE attribute ignored without -mcmse option.\"", ",", "name", ")", ";", "return", "NULL_TREE", ";", "}", "if", "(", "TREE_CODE", "(", "*", "node", ")", "==", "VAR_DECL", "||", "TREE_CODE", "(", "*", "node", ")", "==", "TYPE_DECL", ")", "{", "decl", "=", "*", "node", ";", "fntype", "=", "TREE_TYPE", "(", "decl", ")", ";", "}", "while", "(", "fntype", "!=", "NULL_TREE", "&&", "TREE_CODE", "(", "fntype", ")", "==", "POINTER_TYPE", ")", "fntype", "=", "TREE_TYPE", "(", "fntype", ")", ";", "if", "(", "!", "decl", "||", "TREE_CODE", "(", "fntype", ")", "!=", "FUNCTION_TYPE", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qE attribute only applies to base type of a \"", "\"function pointer\"", ",", "name", ")", ";", "*", "no_add_attrs", "=", "true", ";", "return", "NULL_TREE", ";", "}", "*", "no_add_attrs", "|=", "cmse_func_args_or_return_in_stack", "(", "NULL", ",", "name", ",", "fntype", ")", ";", "if", "(", "*", "no_add_attrs", ")", "return", "NULL_TREE", ";", "type", "=", "TREE_TYPE", "(", "decl", ")", ";", "type", "=", "build_distinct_type_copy", "(", "type", ")", ";", "TREE_TYPE", "(", "decl", ")", "=", "type", ";", "fntype", "=", "type", ";", "while", "(", "TREE_CODE", "(", "fntype", ")", "!=", "FUNCTION_TYPE", ")", "{", "type", "=", "fntype", ";", "fntype", "=", "TREE_TYPE", "(", "fntype", ")", ";", "fntype", "=", "build_distinct_type_copy", "(", "fntype", ")", ";", "TREE_TYPE", "(", "type", ")", "=", "fntype", ";", "}", "tree", "attrs", "=", "tree_cons", "(", "get_identifier", "(", "\"cmse_nonsecure_call\"", ")", ",", "NULL_TREE", ",", "TYPE_ATTRIBUTES", "(", "fntype", ")", ")", ";", "TYPE_ATTRIBUTES", "(", "fntype", ")", "=", "attrs", ";", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Called", "upon", "detection", "of", "the", "use", "of", "the", "cmse_nonsecure_call", "attribute", ",", "this", "function", "will", "check", "whether", "the", "attribute", "is", "allowed", "here", "and", "will", "add", "the", "attribute", "to", "the", "function", "type", "tree", "or", "otherwise", "issue", "a", "diagnostic", ".", "The", "reason", "we", "check", "this", "at", "declaration", "time", "is", "to", "only", "allow", "the", "use", "of", "the", "attribute", "with", "declarations", "of", "function", "pointers", "and", "not", "function", "declarations", ".", "This", "function", "checks", "NODE", "is", "of", "the", "expected", "type", "and", "issues", "diagnostics", "otherwise", "using", "NAME", ".", "If", "it", "is", "not", "of", "the", "expected", "type", "*", "NO_ADD_ATTRS", "will", "be", "set", "to", "true", "."], "TS_V_token": ["arm", "\"%qE attribute ignored without -mcmse option.\"", "\"%qE attribute only applies to base type of a \"", "\"function pointer\"", "\"cmse_nonsecure_call\""], "File": "arm6", "Func": "arm_handle_cmse_nonsecure_call", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3456, "Length": 250, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "ARMALFWriter", "::", "getPassName", "(", ")", "const", "{", "return", "\"ARMALFWriter\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM", "ARM", "\"ARMALFWriter\""], "File": "ARMALFWriter", "Func": "getPassName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3457, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MINA32InstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["MINA32", "MINA32"], "File": "MINA32Subtarget", "Func": "getInstrInfo", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3458, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "X86TargetLowering", "::", "getRecipEstimate", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ",", "int", "Enabled", ",", "int", "&", "RefinementSteps", ")", "const", "{", "SDLoc", "DL", "(", "Op", ")", ";", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "if", "(", "(", "VT", "==", "MVT", "::", "f32", "&&", "Subtarget", ".", "hasSSE1", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "v4f32", "&&", "Subtarget", ".", "hasSSE1", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "v8f32", "&&", "Subtarget", ".", "hasAVX", "(", ")", ")", "||", "(", "VT", "==", "MVT", "::", "v16f32", "&&", "Subtarget", ".", "useAVX512Regs", "(", ")", ")", ")", "{", "if", "(", "VT", "==", "MVT", "::", "f32", "&&", "Enabled", "==", "ReciprocalEstimate", "::", "Unspecified", ")", "return", "SDValue", "(", ")", ";", "if", "(", "RefinementSteps", "==", "ReciprocalEstimate", "::", "Unspecified", ")", "RefinementSteps", "=", "1", ";", "unsigned", "Opcode", "=", "VT", "==", "MVT", "::", "v16f32", "?", "X86ISD", "::", "RCP14", ":", "X86ISD", "::", "FRCP", ";", "return", "DAG", ".", "getNode", "(", "Opcode", ",", "DL", ",", "VT", ",", "Op", ")", ";", "}", "if", "(", "VT", ".", "getScalarType", "(", ")", "==", "MVT", "::", "f16", "&&", "isTypeLegal", "(", "VT", ")", "&&", "Subtarget", ".", "hasFP16", "(", ")", ")", "{", "if", "(", "RefinementSteps", "==", "ReciprocalEstimate", "::", "Unspecified", ")", "RefinementSteps", "=", "0", ";", "if", "(", "VT", "==", "MVT", "::", "f16", ")", "{", "SDValue", "Zero", "=", "DAG", ".", "getIntPtrConstant", "(", "0", ",", "DL", ")", ";", "SDValue", "Undef", "=", "DAG", ".", "getUNDEF", "(", "MVT", "::", "v8f16", ")", ";", "Op", "=", "DAG", ".", "getNode", "(", "ISD", "::", "SCALAR_TO_VECTOR", ",", "DL", ",", "MVT", "::", "v8f16", ",", "Op", ")", ";", "Op", "=", "DAG", ".", "getNode", "(", "X86ISD", "::", "RCP14S", ",", "DL", ",", "MVT", "::", "v8f16", ",", "Undef", ",", "Op", ")", ";", "return", "DAG", ".", "getNode", "(", "ISD", "::", "EXTRACT_VECTOR_ELT", ",", "DL", ",", "MVT", "::", "f16", ",", "Op", ",", "Zero", ")", ";", "}", "return", "DAG", ".", "getNode", "(", "X86ISD", "::", "RCP14", ",", "DL", ",", "VT", ",", "Op", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Return", "a", "reciprocal", "estimate", "value", "for", "the", "input", "operand", "."], "TS_V_token": ["X86", "X86", "MVT::f32", "MVT::v4f32", "MVT::v8f32", "MVT::v16f32", "MVT::f32", "1", "MVT::v16f32", "X86ISD::RCP14", "X86ISD::FRCP", "MVT::f16", "0", "MVT::f16", "0", "MVT::v8f16", "ISD::SCALAR_TO_VECTOR", "MVT::v8f16", "X86ISD::RCP14S", "MVT::v8f16", "ISD::EXTRACT_VECTOR_ELT", "MVT::f16", "X86ISD::RCP14"], "File": "X86ISelLowering (2)5", "Func": "getRecipEstimate", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3459, "Length": 311, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIFrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "if", "(", "!", "MFI", ".", "hasStackObjects", "(", ")", ")", "return", ";", "const", "GCNSubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "const", "SIInstrInfo", "*", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "const", "SIRegisterInfo", "&", "TRI", "=", "TII", "->", "getRegisterInfo", "(", ")", ";", "SIMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "if", "(", "TRI", ".", "spillSGPRToVGPR", "(", ")", "&&", "FuncInfo", "->", "hasSpilledSGPRs", "(", ")", ")", "{", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "MachineBasicBlock", "::", "iterator", "Next", ";", "for", "(", "auto", "I", "=", "MBB", ".", "begin", "(", ")", ",", "E", "=", "MBB", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "I", "=", "Next", ")", "{", "MachineInstr", "&", "MI", "=", "*", "I", ";", "Next", "=", "std", "::", "next", "(", "I", ")", ";", "if", "(", "TII", "->", "isSGPRSpill", "(", "MI", ")", ")", "{", "int", "FI", "=", "TII", "->", "getNamedOperand", "(", "MI", ",", "AMDGPU", "::", "OpName", "::", "addr", ")", "->", "getIndex", "(", ")", ";", "assert", "(", "MFI", ".", "getStackID", "(", "FI", ")", "==", "TargetStackID", "::", "SGPRSpill", ")", ";", "if", "(", "FuncInfo", "->", "allocateSGPRSpillToVGPR", "(", "MF", ",", "FI", ")", ")", "{", "bool", "Spilled", "=", "TRI", ".", "eliminateSGPRToVGPRSpillFrameIndex", "(", "MI", ",", "FI", ",", "RS", ")", ";", "(", "void", ")", "Spilled", ";", "assert", "(", "Spilled", "&&", "\"failed to spill SGPR to VGPR when allocated\"", ")", ";", "}", "}", "}", "}", "}", "FuncInfo", "->", "removeSGPRToVGPRFrameIndices", "(", "MFI", ")", ";", "if", "(", "!", "allStackObjectsAreDeadOrSGPR", "(", "MFI", ")", ")", "{", "assert", "(", "RS", "&&", "\"RegScavenger required if spilling\"", ")", ";", "if", "(", "FuncInfo", "->", "isEntryFunction", "(", ")", ")", "{", "int", "ScavengeFI", "=", "MFI", ".", "CreateFixedObject", "(", "TRI", ".", "getSpillSize", "(", "AMDGPU", "::", "SGPR_32RegClass", ")", ",", "0", ",", "false", ")", ";", "RS", "->", "addScavengingFrameIndex", "(", "ScavengeFI", ")", ";", "}", "else", "{", "int", "ScavengeFI", "=", "MFI", ".", "CreateStackObject", "(", "TRI", ".", "getSpillSize", "(", "AMDGPU", "::", "SGPR_32RegClass", ")", ",", "TRI", ".", "getSpillAlignment", "(", "AMDGPU", "::", "SGPR_32RegClass", ")", ",", "false", ")", ";", "RS", "->", "addScavengingFrameIndex", "(", "ScavengeFI", ")", ";", "}", "}", "}", ""], "natrual_language": ["processFunctionBeforeFrameFinalized", "-", "This", "method", "is", "called", "immediately", "before", "the", "specified", "function", "'s", "frame", "layout", "(", "MF.getFrameInfo", "(", ")", ")", "is", "finalized", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "SI", "SI", "AMDGPU::OpName", "\"failed to spill SGPR to VGPR when allocated\"", "\"RegScavenger required if spilling\"", "AMDGPU::SGPR_32RegClass", "0", "AMDGPU::SGPR_32RegClass", "AMDGPU::SGPR_32RegClass"], "File": "SIFrameLowering26", "Func": "processFunctionBeforeFrameFinalized", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3460, "Length": 346, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_general_init_builtins", "(", "void", ")", "{", "aarch64_init_fpsr_fpcr_builtins", "(", ")", ";", "aarch64_init_fp16_types", "(", ")", ";", "aarch64_init_bf16_types", "(", ")", ";", "{", "aarch64_simd_switcher", "simd", ";", "aarch64_init_simd_builtins", "(", ")", ";", "}", "aarch64_init_crc32_builtins", "(", ")", ";", "aarch64_init_builtin_rsqrt", "(", ")", ";", "aarch64_init_rng_builtins", "(", ")", ";", "tree", "ftype_jcvt", "=", "build_function_type_list", "(", "intSI_type_node", ",", "double_type_node", ",", "NULL", ")", ";", "aarch64_builtin_decls", "[", "AARCH64_JSCVT", "]", "=", "aarch64_general_add_builtin", "(", "\"__builtin_aarch64_jcvtzs\"", ",", "ftype_jcvt", ",", "AARCH64_JSCVT", ")", ";", "if", "(", "!", "TARGET_ILP32", ")", "aarch64_init_pauth_hint_builtins", "(", ")", ";", "if", "(", "TARGET_TME", ")", "aarch64_init_tme_builtins", "(", ")", ";", "if", "(", "TARGET_MEMTAG", ")", "aarch64_init_memtag_builtins", "(", ")", ";", "}", ""], "natrual_language": ["Initialize", "all", "builtins", "in", "the", "AARCH64_BUILTIN_GENERAL", "group", "."], "TS_V_token": ["aarch64", "\"__builtin_aarch64_jcvtzs\""], "File": "aarch64-builtins", "Func": "aarch64_general_init_builtins", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3461, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "*", "SIInstrInfo", "::", "CreateTargetMIHazardRecognizer", "(", "const", "InstrItineraryData", "*", "II", ",", "const", "ScheduleDAGMI", "*", "DAG", ")", "const", "{", "if", "(", "!", "DAG", "->", "hasVRegLiveness", "(", ")", ")", "return", "new", "GCNHazardRecognizer", "(", "DAG", "->", "MF", ")", ";", "return", "TargetInstrInfo", "::", "CreateTargetMIHazardRecognizer", "(", "II", ",", "DAG", ")", ";", "}", ""], "natrual_language": ["Allocate", "and", "return", "a", "hazard", "recognizer", "to", "use", "for", "this", "target", "when", "scheduling", "the", "machine", "instructions", "before", "register", "allocation", "."], "TS_V_token": ["AMDGPU", "SI"], "File": "SIInstrInfo11", "Func": "CreateTargetMIHazardRecognizer", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3462, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TLCS900InstrInfo", "::", "isUnpredicatedTerminator", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "if", "(", "!", "MI", "->", "isTerminator", "(", ")", ")", "return", "false", ";", "if", "(", "MI", "->", "isBranch", "(", ")", "&&", "!", "MI", "->", "isBarrier", "(", ")", ")", "return", "true", ";", "if", "(", "!", "MI", "->", "isPredicable", "(", ")", ")", "return", "true", ";", "return", "!", "isPredicated", "(", "MI", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "instruction", "is", "a", "terminator", "instruction", "that", "has", "not", "been", "predicated", "."], "TS_V_token": ["TLCS900", "TLCS900"], "File": "TLCS900InstrInfo", "Func": "isUnpredicatedTerminator", "Target": "TLCS900", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3463, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "nds32_asm_file_start_for_isr", "(", "void", ")", "{", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "NDS32_N_ISR_VECTORS", ";", "i", "++", ")", "{", "nds32_isr_vectors", "[", "i", "]", ".", "category", "=", "NDS32_ISR_NONE", ";", "strcpy", "(", "nds32_isr_vectors", "[", "i", "]", ".", "func_name", ",", "\"\"", ")", ";", "nds32_isr_vectors", "[", "i", "]", ".", "save_reg", "=", "NDS32_PARTIAL_SAVE", ";", "nds32_isr_vectors", "[", "i", "]", ".", "nested_type", "=", "NDS32_NOT_NESTED", ";", "nds32_isr_vectors", "[", "i", "]", ".", "security_level", "=", "0", ";", "nds32_isr_vectors", "[", "i", "]", ".", "total_n_vectors", "=", "0", ";", "strcpy", "(", "nds32_isr_vectors", "[", "i", "]", ".", "nmi_name", ",", "\"\"", ")", ";", "strcpy", "(", "nds32_isr_vectors", "[", "i", "]", ".", "warm_name", ",", "\"\"", ")", ";", "}", "}", ""], "natrual_language": ["A", "helper", "function", "to", "handle", "isr", "stuff", "at", "the", "beginning", "of", "asm", "file", "."], "TS_V_token": ["nds32", "0", "\"\"", "0", "0", "\"\"", "\"\""], "File": "nds32-isr", "Func": "nds32_asm_file_start_for_isr", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3464, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "prefersVectorizedAddressing", "(", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "target", "does", "n't", "mind", "addresses", "in", "vectors", "."], "TS_V_token": ["Hexagon"], "File": "HexagonTargetTransformInfo20", "Func": "prefersVectorizedAddressing", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3465, "Length": 9, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "SNESTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "SNESPassConfig", "(", "*", "this", ",", "PM", ")", ";", "}", ""], "natrual_language": ["Create", "a", "pass", "configuration", "object", "to", "be", "used", "by", "addPassToEmitX", "methods", "for", "generating", "a", "pipeline", "of", "CodeGen", "passes", "."], "TS_V_token": ["SNES", "SNES", "SNES"], "File": "SNESTargetMachine", "Func": "createPassConfig", "Target": "SNES", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3466, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86IntelInstPrinter", "::", "printPCRelImm", "(", "const", "MCInst", "*", "MI", ",", "unsigned", "OpNo", ",", "raw_ostream", "&", "O", ")", "{", "const", "MCOperand", "&", "Op", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ";", "if", "(", "Op", ".", "isImm", "(", ")", ")", "O", "<<", "formatImm", "(", "Op", ".", "getImm", "(", ")", ")", ";", "else", "{", "assert", "(", "Op", ".", "isExpr", "(", ")", "&&", "\"unknown pcrel immediate operand\"", ")", ";", "const", "MCConstantExpr", "*", "BranchTarget", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Op", ".", "getExpr", "(", ")", ")", ";", "int64_t", "Address", ";", "if", "(", "BranchTarget", "&&", "BranchTarget", "->", "evaluateAsAbsolute", "(", "Address", ")", ")", "{", "O", "<<", "formatHex", "(", "(", "uint64_t", ")", "Address", ")", ";", "}", "else", "{", "O", "<<", "*", "Op", ".", "getExpr", "(", ")", ";", "}", "}", "}", ""], "natrual_language": ["value", "(", "e.g", "."], "TS_V_token": ["X86", "X86", "\"unknown pcrel immediate operand\""], "File": "X86IntelInstPrinter32", "Func": "printPCRelImm", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3467, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetStreamer", "::", "emitCurrentConstantPool", "(", ")", "{", "ConstantPools", "->", "emitForCurrentSection", "(", "Streamer", ")", ";", "ConstantPools", "->", "clearCacheForCurrentSection", "(", "Streamer", ")", ";", "}", ""], "natrual_language": ["Callback", "used", "to", "implement", "the", ".ltorg", "directive", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMTargetStreamer (2)1", "Func": "emitCurrentConstantPool", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3468, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MINA32DAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "if", "(", "N", "->", "isMachineOpcode", "(", ")", ")", "{", "LLVM_DEBUG", "(", "errs", "(", ")", "<<", "\"== \"", ";", "N", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "\"\\n\"", ")", ";", "N", "->", "setNodeId", "(", "-", "1", ")", ";", "return", ";", "}", "if", "(", "trySelect", "(", "N", ")", ")", "return", ";", "SelectCode", "(", "N", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["MINA32", "MINA32", "\"== \"", "\"\\n\"", "1"], "File": "MINA32ISelDAGToDAG", "Func": "Select", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3469, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "getLinkageSize", "(", "bool", "isPPC64", ",", "bool", "isDarwinABI", ",", "bool", "isELFv2ABI", ")", "{", "if", "(", "isDarwinABI", "||", "isPPC64", ")", "return", "(", "isELFv2ABI", "?", "4", ":", "6", ")", "*", "(", "isPPC64", "?", "8", ":", "4", ")", ";", "return", "8", ";", "}", ""], "natrual_language": ["getLinkageSize", "-", "Return", "the", "size", "of", "the", "PowerPC", "ABI", "linkage", "area", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "4", "6", "PPC", "8", "4", "8"], "File": "PPCFrameLowering21", "Func": "getLinkageSize", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3470, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TGSIRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["TGSI", "TGSI"], "File": "TGSISubtarget", "Func": "getRegisterInfo", "Target": "TGSI", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3471, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "findCommutedOpIndices", "(", "MachineInstr", "*", "MI", ",", "unsigned", "&", "SrcOpIdx1", ",", "unsigned", "&", "SrcOpIdx2", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "X86", "::", "CMPPDrri", ":", "case", "X86", "::", "CMPPSrri", ":", "case", "X86", "::", "VCMPPDrri", ":", "case", "X86", "::", "VCMPPSrri", ":", "case", "X86", "::", "VCMPPDYrri", ":", "case", "X86", "::", "VCMPPSYrri", ":", "{", "unsigned", "Imm", "=", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", "&", "0x7", ";", "switch", "(", "Imm", ")", "{", "case", "0x00", ":", "case", "0x03", ":", "case", "0x04", ":", "case", "0x07", ":", "SrcOpIdx1", "=", "1", ";", "SrcOpIdx2", "=", "2", ";", "return", "true", ";", "}", "return", "false", ";", "}", "case", "X86", "::", "VFMADDPDr231r", ":", "case", "X86", "::", "VFMADDPSr231r", ":", "case", "X86", "::", "VFMADDSDr231r", ":", "case", "X86", "::", "VFMADDSSr231r", ":", "case", "X86", "::", "VFMSUBPDr231r", ":", "case", "X86", "::", "VFMSUBPSr231r", ":", "case", "X86", "::", "VFMSUBSDr231r", ":", "case", "X86", "::", "VFMSUBSSr231r", ":", "case", "X86", "::", "VFNMADDPDr231r", ":", "case", "X86", "::", "VFNMADDPSr231r", ":", "case", "X86", "::", "VFNMADDSDr231r", ":", "case", "X86", "::", "VFNMADDSSr231r", ":", "case", "X86", "::", "VFNMSUBPDr231r", ":", "case", "X86", "::", "VFNMSUBPSr231r", ":", "case", "X86", "::", "VFNMSUBSDr231r", ":", "case", "X86", "::", "VFNMSUBSSr231r", ":", "case", "X86", "::", "VFMADDPDr231rY", ":", "case", "X86", "::", "VFMADDPSr231rY", ":", "case", "X86", "::", "VFMSUBPDr231rY", ":", "case", "X86", "::", "VFMSUBPSr231rY", ":", "case", "X86", "::", "VFNMADDPDr231rY", ":", "case", "X86", "::", "VFNMADDPSr231rY", ":", "case", "X86", "::", "VFNMSUBPDr231rY", ":", "case", "X86", "::", "VFNMSUBPSr231rY", ":", "SrcOpIdx1", "=", "2", ";", "SrcOpIdx2", "=", "3", ";", "return", "true", ";", "default", ":", "return", "TargetInstrInfo", "::", "findCommutedOpIndices", "(", "MI", ",", "SrcOpIdx1", ",", "SrcOpIdx2", ")", ";", "}", "}", ""], "natrual_language": ["Returns", "true", "iff", "the", "routine", "could", "find", "two", "commutable", "operands", "in", "the", "given", "machine", "instruction", "."], "TS_V_token": ["X86", "X86", "X86::CMPPDrri", "X86::CMPPSrri", "X86::VCMPPDrri", "X86::VCMPPSrri", "X86::VCMPPDYrri", "X86::VCMPPSYrri", "3", "0x7", "0x00", "0x03", "0x04", "0x07", "1", "2", "X86::VFMADDPDr231r", "X86::VFMADDPSr231r", "X86::VFMADDSDr231r", "X86::VFMADDSSr231r", "X86::VFMSUBPDr231r", "X86::VFMSUBPSr231r", "X86::VFMSUBSDr231r", "X86::VFMSUBSSr231r", "X86::VFNMADDPDr231r", "X86::VFNMADDPSr231r", "X86::VFNMADDSDr231r", "X86::VFNMADDSSr231r", "X86::VFNMSUBPDr231r", "X86::VFNMSUBPSr231r", "X86::VFNMSUBSDr231r", "X86::VFNMSUBSSr231r", "X86::VFMADDPDr231rY", "X86::VFMADDPSr231rY", "X86::VFMSUBPDr231rY", "X86::VFMSUBPSr231rY", "X86::VFNMADDPDr231rY", "X86::VFNMADDPSr231rY", "X86::VFNMSUBPDr231rY", "X86::VFNMSUBPSr231rY", "2", "3"], "File": "X86InstrInfo109", "Func": "findCommutedOpIndices", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3472, "Length": 255, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "void", "swap", "(", "impl_ptr", "<", "T", ",", "D", ",", "C", ">", "&", "l", ",", "impl_ptr", "<", "T", ",", "D", ",", "C", ">", "&", "r", ")", "SPIMPL_NOEXCEPT", "{", "l", ".", "swap", "(", "r", ")", ";", "}", ""], "natrual_language": ["Provide", "a", "fast", "substitute", "to", "std", ":", ":swap", "<", "Use", ">", "that", "also", "works", "with", "less", "standard-compliant", "compilers", "."], "TS_V_token": ["Patmos"], "File": "spimpl", "Func": "swap", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 3473, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_xcoff_declare_object_name", "(", "FILE", "*", "file", ",", "const", "char", "*", "name", ",", "tree", "decl", ")", "{", "struct", "declare_alias_data", "data", "=", "{", "file", ",", "false", "}", ";", "RS6000_OUTPUT_BASENAME", "(", "file", ",", "name", ")", ";", "fputs", "(", "\":\\n\"", ",", "file", ")", ";", "symtab_node", "::", "get", "(", "decl", ")", "->", "call_for_symbol_and_aliases", "(", "rs6000_declare_alias", ",", "&", "data", ",", "true", ")", ";", "}", ""], "natrual_language": ["This", "macro", "produces", "the", "initial", "definition", "of", "a", "object", "(", "variable", ")", "name", ".", "Because", "AIX", "assembler", "'s", ".set", "command", "has", "unexpected", "semantics", ",", "we", "output", "all", "aliases", "as", "alternative", "labels", "in", "front", "of", "the", "definition", "."], "TS_V_token": ["rs6000", "\":\\n\""], "File": "rs60004", "Func": "rs6000_xcoff_declare_object_name", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3474, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyTargetLowering", "::", "isLegalAddressingMode", "(", "const", "DataLayout", "&", "DL", ",", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ")", "const", "{", "if", "(", "AM", ".", "BaseOffs", "<", "0", ")", "return", "false", ";", "if", "(", "AM", ".", "Scale", "!=", "0", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["isLegalAddressingMode", "-", "Return", "true", "if", "the", "addressing", "mode", "represented", "by", "AM", "is", "legal", "for", "this", "target", ",", "for", "a", "load/store", "of", "the", "specified", "type", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "0", "0"], "File": "WebAssemblyISelLowering (3)", "Func": "isLegalAddressingMode", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3475, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "GBZ80MCExpr", "*", "GBZ80MCExpr", "::", "create", "(", "VariantKind", "Kind", ",", "const", "MCExpr", "*", "Expr", ",", "bool", "Negated", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "(", "Ctx", ")", "GBZ80MCExpr", "(", "Kind", ",", "Expr", ",", "Negated", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["GBZ80", "GB", "GB", "GB"], "File": "GBZ80MCExpr", "Func": "create", "Target": "GBZ80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3476, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "SIInstrInfo", "::", "getOpRegClass", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "OpNo", ")", "const", "{", "const", "MachineRegisterInfo", "&", "MRI", "=", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "MCInstrDesc", "&", "Desc", "=", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "if", "(", "MI", ".", "isVariadic", "(", ")", "||", "OpNo", ">=", "Desc", ".", "getNumOperands", "(", ")", "||", "Desc", ".", "OpInfo", "[", "OpNo", "]", ".", "RegClass", "==", "-", "1", ")", "return", "MRI", ".", "getRegClass", "(", "MI", ".", "getOperand", "(", "OpNo", ")", ".", "getReg", "(", ")", ")", ";", "unsigned", "RCID", "=", "Desc", ".", "OpInfo", "[", "OpNo", "]", ".", "RegClass", ";", "return", "RI", ".", "getRegClass", "(", "RCID", ")", ";", "}", ""], "natrual_language": ["Return", "the", "correct", "register", "class", "for", "OpNo", "."], "TS_V_token": ["R600", "SI", "1"], "File": "SIInstrInfo116", "Func": "getOpRegClass", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3477, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "legitimize_pic_address", "(", "rtx", "orig", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "reg", ")", "{", "if", "(", "GET_CODE", "(", "orig", ")", "==", "SYMBOL_REF", "||", "GET_CODE", "(", "orig", ")", "==", "LABEL_REF", ")", "{", "if", "(", "reg", "==", "0", ")", "reg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "if", "(", "flag_pic", "==", "NEAR_PIC", ")", "{", "emit_insn", "(", "gen_unspec_bro_addr", "(", "reg", ",", "orig", ")", ")", ";", "emit_insn", "(", "gen_addsi3", "(", "reg", ",", "reg", ",", "pic_offset_table_rtx", ")", ")", ";", "}", "else", "if", "(", "flag_pic", "==", "FAR_PIC", ")", "{", "emit_insn", "(", "gen_unspec_got_addr", "(", "reg", ",", "orig", ")", ")", ";", "}", "return", "reg", ";", "}", "else", "if", "(", "GET_CODE", "(", "orig", ")", "==", "CONST", ")", "{", "rtx", "base", ",", "offset", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "orig", ",", "0", ")", ")", "==", "PLUS", "&&", "XEXP", "(", "XEXP", "(", "orig", ",", "0", ")", ",", "0", ")", "==", "pic_offset_table_rtx", ")", "return", "orig", ";", "if", "(", "reg", "==", "0", ")", "{", "gcc_assert", "(", "can_create_pseudo_p", "(", ")", ")", ";", "reg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "}", "gcc_assert", "(", "GET_CODE", "(", "XEXP", "(", "orig", ",", "0", ")", ")", "==", "PLUS", ")", ";", "base", "=", "legitimize_pic_address", "(", "XEXP", "(", "XEXP", "(", "orig", ",", "0", ")", ",", "0", ")", ",", "Pmode", ",", "reg", ")", ";", "offset", "=", "legitimize_pic_address", "(", "XEXP", "(", "XEXP", "(", "orig", ",", "0", ")", ",", "1", ")", ",", "Pmode", ",", "base", "==", "reg", "?", "0", ":", "reg", ")", ";", "emit_insn", "(", "gen_addsi3", "(", "reg", ",", "base", ",", "offset", ")", ")", ";", "return", "reg", ";", "}", "return", "orig", ";", "}", ""], "natrual_language": ["Legitimize", "PIC", "addresses", ".", "If", "the", "address", "is", "already", "position-independent", ",", "we", "return", "ORIG", ".", "Newly", "generated", "position-independent", "addresses", "go", "into", "a", "reg", ".", "This", "is", "REG", "if", "nonzero", ",", "otherwise", "we", "allocate", "register", "(", "s", ")", "as", "necessary", "."], "TS_V_token": ["cr16", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "0"], "File": "cr16", "Func": "legitimize_pic_address", "Target": "cr16", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3478, "Length": 249, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MCallGraph", "::", "dump", "(", ")", "const", "{", "for", "(", "MCGSites", "::", "const_iterator", "i", "(", "Sites", ".", "begin", "(", ")", ")", ",", "ie", "(", "Sites", ".", "end", "(", ")", ")", ";", "i", "!=", "ie", ";", "i", "++", ")", "{", "dbgs", "(", ")", "<<", "\" \"", ";", "(", "*", "i", ")", "->", "dump", "(", "false", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ";", "}", "}", ""], "natrual_language": ["Dump", "the", "plan", "to", "stderr", "(", "for", "debugging", ")", "."], "TS_V_token": ["Patmos", "\" \"", "\"\\n\""], "File": "PatmosCallGraphBuilder", "Func": "dump", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 3479, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getReg", "(", ")", "const", "override", "{", "assert", "(", "(", "Kind", "==", "k_Register", "||", "Kind", "==", "k_WrappedRegister", ")", "&&", "\"Invalid access!\"", ")", ";", "return", "Reg", ".", "RegNum", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "associated", "with", "this", "edge", "."], "TS_V_token": ["AArch64", "\"Invalid access!\""], "File": "AArch64AsmParser63", "Func": "getReg", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3480, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseRegisterInfo", "::", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "switch", "(", "RC", "->", "getID", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "ARM", "::", "tGPRRegClassID", ":", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "4", ":", "5", ";", "case", "ARM", "::", "GPRRegClassID", ":", "{", "unsigned", "FP", "=", "TFI", "->", "hasFP", "(", "MF", ")", "?", "1", ":", "0", ";", "return", "10", "-", "FP", "-", "(", "STI", ".", "isR9Reserved", "(", ")", "?", "1", ":", "0", ")", ";", "}", "case", "ARM", "::", "SPRRegClassID", ":", "case", "ARM", "::", "DPRRegClassID", ":", "return", "32", "-", "10", ";", "}", "}", ""], "natrual_language": ["Return", "the", "register", "pressure", "``", "high", "water", "mark", "''", "for", "the", "specific", "register", "class", "."], "TS_V_token": ["ARM", "ARM", "0", "ARM::tGPRRegClassID", "4", "5", "ARM::GPRRegClassID", "1", "0", "10", "1", "0", "ARM::SPRRegClassID", "ARM::DPRRegClassID", "32", "10"], "File": "ARMBaseRegisterInfo37", "Func": "getRegPressureLimit", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3481, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64AsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNum", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "if", "(", "!", "AsmPrinter", "::", "PrintAsmOperand", "(", "MI", ",", "OpNum", ",", "AsmVariant", ",", "ExtraCode", ",", "O", ")", ")", "return", "false", ";", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "{", "if", "(", "ExtraCode", "[", "1", "]", "!=", "0", ")", "return", "true", ";", "switch", "(", "ExtraCode", "[", "0", "]", ")", "{", "default", ":", "return", "true", ";", "case", "'a'", ":", "PrintAsmMemoryOperand", "(", "MI", ",", "OpNum", ",", "AsmVariant", ",", "ExtraCode", ",", "O", ")", ";", "return", "false", ";", "case", "'w'", ":", "case", "'x'", ":", "if", "(", "MO", ".", "isReg", "(", ")", ")", "return", "printAsmMRegister", "(", "MO", ",", "ExtraCode", "[", "0", "]", ",", "O", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", "&&", "MO", ".", "getImm", "(", ")", "==", "0", ")", "{", "unsigned", "Reg", "=", "ExtraCode", "[", "0", "]", "==", "'w'", "?", "AArch64", "::", "WZR", ":", "AArch64", "::", "XZR", ";", "O", "<<", "AArch64InstPrinter", "::", "getRegisterName", "(", "Reg", ")", ";", "return", "false", ";", "}", "printOperand", "(", "MI", ",", "OpNum", ",", "O", ")", ";", "return", "false", ";", "case", "'b'", ":", "case", "'h'", ":", "case", "'s'", ":", "case", "'d'", ":", "case", "'q'", ":", "if", "(", "MO", ".", "isReg", "(", ")", ")", "{", "const", "TargetRegisterClass", "*", "RC", ";", "switch", "(", "ExtraCode", "[", "0", "]", ")", "{", "case", "'b'", ":", "RC", "=", "&", "AArch64", "::", "FPR8RegClass", ";", "break", ";", "case", "'h'", ":", "RC", "=", "&", "AArch64", "::", "FPR16RegClass", ";", "break", ";", "case", "'s'", ":", "RC", "=", "&", "AArch64", "::", "FPR32RegClass", ";", "break", ";", "case", "'d'", ":", "RC", "=", "&", "AArch64", "::", "FPR64RegClass", ";", "break", ";", "case", "'q'", ":", "RC", "=", "&", "AArch64", "::", "FPR128RegClass", ";", "break", ";", "default", ":", "return", "true", ";", "}", "return", "printAsmRegInClass", "(", "MO", ",", "RC", ",", "false", ",", "O", ")", ";", "}", "printOperand", "(", "MI", ",", "OpNum", ",", "O", ")", ";", "return", "false", ";", "}", "}", "if", "(", "MO", ".", "isReg", "(", ")", ")", "{", "unsigned", "Reg", "=", "MO", ".", "getReg", "(", ")", ";", "if", "(", "AArch64", "::", "GPR32allRegClass", ".", "contains", "(", "Reg", ")", "||", "AArch64", "::", "GPR64allRegClass", ".", "contains", "(", "Reg", ")", ")", "return", "printAsmMRegister", "(", "MO", ",", "'x'", ",", "O", ")", ";", "return", "printAsmRegInClass", "(", "MO", ",", "&", "AArch64", "::", "FPR128RegClass", ",", "true", ",", "O", ")", ";", "}", "printOperand", "(", "MI", ",", "OpNum", ",", "O", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["AArch64", "AArch64", "0", "1", "0", "0", "0", "0", "0", "AArch64::WZR", "AArch64::XZR", "AArch64", "0", "AArch64::FPR8RegClass", "AArch64::FPR16RegClass", "AArch64::FPR32RegClass", "AArch64::FPR64RegClass", "AArch64::FPR128RegClass", "AArch64::GPR32allRegClass", "AArch64::GPR64allRegClass", "AArch64::FPR128RegClass"], "File": "AArch64AsmPrinter", "Func": "PrintAsmOperand", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3482, "Length": 407, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "function_resolver", "::", "resolve_uniform", "(", "unsigned", "int", "nops", ",", "unsigned", "int", "nimm", ")", "{", "unsigned", "int", "i", ",", "nargs", ";", "type_suffix_index", "type", ";", "if", "(", "!", "check_gp_argument", "(", "nops", "+", "nimm", ",", "i", ",", "nargs", ")", "||", "(", "type", "=", "infer_vector_type", "(", "i", ")", ")", "==", "NUM_TYPE_SUFFIXES", ")", "return", "error_mark_node", ";", "i", "+=", "1", ";", "for", "(", ";", "i", "<", "nargs", "-", "nimm", ";", "++", "i", ")", "if", "(", "!", "require_matching_vector_type", "(", "i", ",", "type", ")", ")", "return", "error_mark_node", ";", "for", "(", ";", "i", "<", "nargs", ";", "++", "i", ")", "if", "(", "!", "require_integer_immediate", "(", "i", ")", ")", "return", "error_mark_node", ";", "return", "resolve_to", "(", "mode_suffix_id", ",", "type", ")", ";", "}", ""], "natrual_language": ["Resolve", "a", "(", "possibly", "predicated", ")", "function", "that", "takes", "NOPS", "like-typed", "vector", "arguments", "followed", "by", "NIMM", "integer", "immediates", ".", "Return", "the", "function", "decl", "of", "the", "resolved", "function", "on", "success", ",", "otherwise", "report", "a", "suitable", "error", "and", "return", "error_mark_node", "."], "TS_V_token": ["aarch64", "1"], "File": "aarch64-sve-builtins", "Func": "resolve_uniform", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3483, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64TargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Don't know how to custom lower this!\"", ")", ";", "case", "ISD", "::", "FADD", ":", "return", "LowerF128ToCall", "(", "Op", ",", "DAG", ",", "RTLIB", "::", "ADD_F128", ")", ";", "case", "ISD", "::", "FSUB", ":", "return", "LowerF128ToCall", "(", "Op", ",", "DAG", ",", "RTLIB", "::", "SUB_F128", ")", ";", "case", "ISD", "::", "FMUL", ":", "return", "LowerF128ToCall", "(", "Op", ",", "DAG", ",", "RTLIB", "::", "MUL_F128", ")", ";", "case", "ISD", "::", "FDIV", ":", "return", "LowerF128ToCall", "(", "Op", ",", "DAG", ",", "RTLIB", "::", "DIV_F128", ")", ";", "case", "ISD", "::", "FP_TO_SINT", ":", "return", "LowerFP_TO_INT", "(", "Op", ",", "DAG", ",", "true", ")", ";", "case", "ISD", "::", "FP_TO_UINT", ":", "return", "LowerFP_TO_INT", "(", "Op", ",", "DAG", ",", "false", ")", ";", "case", "ISD", "::", "SINT_TO_FP", ":", "return", "LowerINT_TO_FP", "(", "Op", ",", "DAG", ",", "true", ")", ";", "case", "ISD", "::", "UINT_TO_FP", ":", "return", "LowerINT_TO_FP", "(", "Op", ",", "DAG", ",", "false", ")", ";", "case", "ISD", "::", "FP_ROUND", ":", "return", "LowerFP_ROUND", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FP_EXTEND", ":", "return", "LowerFP_EXTEND", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "RETURNADDR", ":", "return", "LowerRETURNADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "LowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "LowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BRCOND", ":", "return", "LowerBRCOND", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BR_CC", ":", "return", "LowerBR_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddressELF", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalTLSAddress", ":", "return", "LowerGlobalTLSAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "JumpTable", ":", "return", "LowerJumpTable", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "LowerSELECT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SETCC", ":", "return", "LowerSETCC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VACOPY", ":", "return", "LowerVACOPY", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BUILD_VECTOR", ":", "return", "LowerBUILD_VECTOR", "(", "Op", ",", "DAG", ",", "getSubtarget", "(", ")", ")", ";", "case", "ISD", "::", "VECTOR_SHUFFLE", ":", "return", "LowerVECTOR_SHUFFLE", "(", "Op", ",", "DAG", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["AArch64", "AArch64", "\"Don't know how to custom lower this!\"", "ISD::FADD", "ISD::FSUB", "ISD::FMUL", "ISD::FDIV", "ISD::FP_TO_SINT", "ISD::FP_TO_UINT", "ISD::SINT_TO_FP", "ISD::UINT_TO_FP", "ISD::FP_ROUND", "ISD::FP_EXTEND", "ISD::RETURNADDR", "ISD::FRAMEADDR", "ISD::BlockAddress", "ISD::BRCOND", "ISD::BR_CC", "ISD::GlobalAddress", "ISD::GlobalTLSAddress", "ISD::JumpTable", "ISD::SELECT", "ISD::SELECT_CC", "ISD::SETCC", "ISD::VACOPY", "ISD::VASTART", "ISD::BUILD_VECTOR", "ISD::VECTOR_SHUFFLE"], "File": "AArch64ISelLowering113", "Func": "LowerOperation", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3484, "Length": 390, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["BPF"], "File": "BPFSubtarget", "Func": "getRegisterInfo", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3485, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "evaluateBranch", "(", "const", "MCInst", "&", "Inst", ",", "uint64_t", "Addr", ",", "uint64_t", "Size", ",", "uint64_t", "&", "Target", ")", "const", "override", "{", "unsigned", "OpId", ";", "switch", "(", "Inst", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "OpId", "=", "0", ";", "break", ";", "case", "ARM", "::", "MVE_WLSTP_8", ":", "case", "ARM", "::", "MVE_WLSTP_16", ":", "case", "ARM", "::", "MVE_WLSTP_32", ":", "case", "ARM", "::", "MVE_WLSTP_64", ":", "case", "ARM", "::", "t2WLS", ":", "case", "ARM", "::", "MVE_LETP", ":", "case", "ARM", "::", "t2LEUpdate", ":", "OpId", "=", "2", ";", "break", ";", "case", "ARM", "::", "t2LE", ":", "OpId", "=", "1", ";", "break", ";", "}", "if", "(", "Info", "->", "get", "(", "Inst", ".", "getOpcode", "(", ")", ")", ".", "OpInfo", "[", "OpId", "]", ".", "OperandType", "!=", "MCOI", "::", "OPERAND_PCREL", ")", "return", "false", ";", "Target", "=", "Addr", "+", "Inst", ".", "getOperand", "(", "OpId", ")", ".", "getImm", "(", ")", "+", "4", ";", "return", "true", ";", "}", ""], "natrual_language": ["Given", "a", "branch", "instruction", "try", "to", "get", "the", "address", "the", "branch", "targets", "."], "TS_V_token": ["ARM", "0", "ARM::MVE_WLSTP_8", "ARM::MVE_WLSTP_16", "ARM::MVE_WLSTP_32", "ARM::MVE_WLSTP_64", "ARM::t2WLS", "ARM::MVE_LETP", "ARM::t2LEUpdate", "2", "ARM::t2LE", "1", "4"], "File": "ARMMCTargetDesc32", "Func": "evaluateBranch", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3486, "Length": 142, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "LEGDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "Constant", ":", "return", "SelectMoveImmediate", "(", "N", ")", ";", "}", "return", "SelectCode", "(", "N", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["LEG", "LEG", "ISD::Constant"], "File": "LEGISelDAGToDAG2", "Func": "Select", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3487, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "use_return_insn", "(", "int", "iscond", ",", "rtx", "sibling", ")", "{", "int", "regno", ";", "unsigned", "int", "func_type", ";", "unsigned", "long", "saved_int_regs", ";", "unsigned", "HOST_WIDE_INT", "stack_adjust", ";", "arm_stack_offsets", "*", "offsets", ";", "if", "(", "!", "reload_completed", ")", "return", "0", ";", "func_type", "=", "arm_current_func_type", "(", ")", ";", "if", "(", "func_type", "&", "(", "ARM_FT_VOLATILE", "|", "ARM_FT_NAKED", ")", ")", "return", "0", ";", "if", "(", "IS_INTERRUPT", "(", "func_type", ")", "&&", "frame_pointer_needed", ")", "return", "0", ";", "offsets", "=", "arm_get_frame_offsets", "(", ")", ";", "stack_adjust", "=", "offsets", "->", "outgoing_args", "-", "offsets", "->", "saved_regs", ";", "if", "(", "current_function_pretend_args_size", "||", "cfun", "->", "machine", "->", "uses_anonymous_args", "||", "current_function_calls_eh_return", "||", "current_function_calls_alloca", "||", "!", "(", "stack_adjust", "==", "0", "||", "(", "frame_pointer_needed", "&&", "stack_adjust", "==", "4", ")", ")", ")", "return", "0", ";", "saved_int_regs", "=", "arm_compute_save_reg_mask", "(", ")", ";", "if", "(", "stack_adjust", "==", "4", "&&", "!", "arm_arch5", ")", "{", "if", "(", "!", "call_used_regs", "[", "3", "]", ")", "return", "0", ";", "if", "(", "arm_size_return_regs", "(", ")", ">=", "(", "4", "*", "UNITS_PER_WORD", ")", ")", "return", "0", ";", "if", "(", "sibling", ")", "{", "gcc_assert", "(", "GET_CODE", "(", "sibling", ")", "==", "CALL_INSN", ")", ";", "if", "(", "find_regno_fusage", "(", "sibling", ",", "USE", ",", "3", ")", ")", "return", "0", ";", "}", "if", "(", "saved_int_regs", "&", "0x7", ")", "return", "0", ";", "}", "if", "(", "TARGET_INTERWORK", "&&", "saved_int_regs", "!=", "0", ")", "return", "0", ";", "if", "(", "iscond", "&&", "arm_tune_strongarm", ")", "{", "if", "(", "saved_int_regs", "!=", "0", "&&", "saved_int_regs", "!=", "(", "1", "<<", "LR_REGNUM", ")", ")", "return", "0", ";", "if", "(", "flag_pic", "&&", "regs_ever_live", "[", "PIC_OFFSET_TABLE_REGNUM", "]", ")", "return", "0", ";", "}", "if", "(", "saved_int_regs", "&&", "!", "(", "saved_int_regs", "&", "(", "1", "<<", "LR_REGNUM", ")", ")", ")", "return", "0", ";", "if", "(", "TARGET_HARD_FLOAT", "&&", "TARGET_FPA", ")", "for", "(", "regno", "=", "FIRST_FPA_REGNUM", ";", "regno", "<=", "LAST_FPA_REGNUM", ";", "regno", "++", ")", "if", "(", "regs_ever_live", "[", "regno", "]", "&&", "!", "call_used_regs", "[", "regno", "]", ")", "return", "0", ";", "if", "(", "TARGET_HARD_FLOAT", "&&", "TARGET_VFP", ")", "for", "(", "regno", "=", "FIRST_VFP_REGNUM", ";", "regno", "<=", "LAST_VFP_REGNUM", ";", "regno", "++", ")", "if", "(", "regs_ever_live", "[", "regno", "]", "&&", "!", "call_used_regs", "[", "regno", "]", ")", "return", "0", ";", "if", "(", "TARGET_REALLY_IWMMXT", ")", "for", "(", "regno", "=", "FIRST_IWMMXT_REGNUM", ";", "regno", "<=", "LAST_IWMMXT_REGNUM", ";", "regno", "++", ")", "if", "(", "regs_ever_live", "[", "regno", "]", "&&", "!", "call_used_regs", "[", "regno", "]", ")", "return", "0", ";", "return", "1", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "function", "'s", "epilogue", "can", "be", "output", "as", "RTL", "."], "TS_V_token": ["arm", "0", "0", "0", "0", "4", "0", "4", "3", "0", "4", "0", "3", "0", "0x7", "0", "0", "0", "0", "1", "0", "0", "1", "0", "0", "0", "0", "1"], "File": "arm3", "Func": "use_return_insn", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3488, "Length": 371, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIFoldOperands", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "ST", "=", "&", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "TII", "=", "ST", "->", "getInstrInfo", "(", ")", ";", "TRI", "=", "&", "TII", "->", "getRegisterInfo", "(", ")", ";", "const", "SIMachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "bool", "IsIEEEMode", "=", "ST", "->", "enableIEEEBit", "(", "MF", ")", ";", "bool", "HasNSZ", "=", "MFI", "->", "hasNoSignedZerosFPMath", "(", ")", ";", "for", "(", "MachineBasicBlock", "*", "MBB", ":", "depth_first", "(", "&", "MF", ")", ")", "{", "MachineBasicBlock", "::", "iterator", "I", ",", "Next", ";", "for", "(", "I", "=", "MBB", "->", "begin", "(", ")", ";", "I", "!=", "MBB", "->", "end", "(", ")", ";", "I", "=", "Next", ")", "{", "Next", "=", "std", "::", "next", "(", "I", ")", ";", "MachineInstr", "&", "MI", "=", "*", "I", ";", "tryFoldInst", "(", "TII", ",", "&", "MI", ")", ";", "if", "(", "!", "TII", "->", "isFoldableCopy", "(", "MI", ")", ")", "{", "if", "(", "IsIEEEMode", "||", "(", "!", "HasNSZ", "&&", "!", "MI", ".", "getFlag", "(", "MachineInstr", "::", "FmNsz", ")", ")", "||", "!", "tryFoldOMod", "(", "MI", ")", ")", "tryFoldClamp", "(", "MI", ")", ";", "continue", ";", "}", "MachineOperand", "&", "OpToFold", "=", "MI", ".", "getOperand", "(", "1", ")", ";", "bool", "FoldingImm", "=", "OpToFold", ".", "isImm", "(", ")", "||", "OpToFold", ".", "isFI", "(", ")", ";", "if", "(", "!", "FoldingImm", "&&", "!", "OpToFold", ".", "isReg", "(", ")", ")", "continue", ";", "if", "(", "OpToFold", ".", "isReg", "(", ")", "&&", "!", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "OpToFold", ".", "getReg", "(", ")", ")", ")", "continue", ";", "MachineOperand", "&", "Dst", "=", "MI", ".", "getOperand", "(", "0", ")", ";", "if", "(", "Dst", ".", "isReg", "(", ")", "&&", "!", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "Dst", ".", "getReg", "(", ")", ")", ")", "continue", ";", "foldInstOperand", "(", "MI", ",", "OpToFold", ")", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "1", "0"], "File": "SIFoldOperands19", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3489, "Length": 314, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "call26_operand", "(", "rtx", "op", ",", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "flag_pic", ")", "return", "1", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "SYMBOL_REF", ")", "return", "SYMBOL_REF_MODEL", "(", "op", ")", "!=", "M32R_MODEL_LARGE", ";", "return", "TARGET_CALL26", ";", "}", ""], "natrual_language": ["Return", "1", "if", "OP", "is", "a", "function", "that", "can", "be", "called", "with", "the", "`", "bl", "'", "insn", "."], "TS_V_token": ["m32r", "1"], "File": "m32r3", "Func": "call26_operand", "Target": "m32r", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3490, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "load_cr_save", "(", "int", "regno", ",", "rtx", "frame_reg_rtx", ",", "int", "offset", ",", "bool", "exit_func", ")", "{", "rtx", "mem", "=", "gen_frame_mem_offset", "(", "SImode", ",", "frame_reg_rtx", ",", "offset", ")", ";", "rtx", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ";", "rtx_insn", "*", "insn", "=", "emit_move_insn", "(", "reg", ",", "mem", ")", ";", "if", "(", "!", "exit_func", "&&", "DEFAULT_ABI", "==", "ABI_V4", ")", "{", "rtx", "cr", "=", "gen_rtx_REG", "(", "SImode", ",", "CR2_REGNO", ")", ";", "rtx", "set", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "reg", ",", "cr", ")", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_REGISTER", ",", "set", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "return", "reg", ";", "}", ""], "natrual_language": ["Restoring", "cr", "is", "a", "two", "step", "process", ":", "loading", "a", "reg", "from", "the", "frame", "save", ",", "then", "moving", "the", "reg", "to", "cr", ".", "For", "ABI_V4", "we", "must", "let", "the", "unwinder", "know", "that", "the", "stack", "location", "is", "no", "longer", "valid", "at", "or", "before", "the", "stack", "deallocation", ",", "but", "we", "ca", "n't", "emit", "a", "cfa_restore", "for", "cr", "at", "the", "stack", "deallocation", "like", "we", "do", "for", "other", "registers", ".", "The", "trouble", "is", "that", "it", "is", "possible", "for", "the", "move", "to", "cr", "to", "be", "scheduled", "after", "the", "stack", "deallocation", ".", "So", "say", "exactly", "where", "cr", "is", "located", "on", "each", "of", "the", "two", "insns", "."], "TS_V_token": ["rs6000", "1"], "File": "rs60004", "Func": "load_cr_save", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3491, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIRegisterInfo", "::", "isFrameOffsetLegal", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "BaseReg", ",", "int64_t", "Offset", ")", "const", "{", "if", "(", "!", "SIInstrInfo", "::", "isMUBUF", "(", "*", "MI", ")", ")", "return", "false", ";", "int64_t", "NewOffset", "=", "Offset", "+", "getMUBUFInstrOffset", "(", "MI", ")", ";", "return", "isUInt", "<", "12", ">", "(", "NewOffset", ")", ";", "}", ""], "natrual_language": ["Determine", "whether", "a", "given", "base", "register", "plus", "offset", "immediate", "is", "encodable", "to", "resolve", "a", "frame", "index", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "12"], "File": "SIRegisterInfo10", "Func": "isFrameOffsetLegal", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3492, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "LC3TargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "SDLoc", "dl", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "if", "(", "isVarArg", ")", "{", "report_fatal_error", "(", "\"VarArg not supported\"", ")", ";", "}", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_LC3", ")", ";", "SDValue", "Flag", ";", "SmallVector", "<", "SDValue", ",", "4", ">", "RetOps", "(", "1", ",", "Chain", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "RVLocs", ".", "size", "(", ")", ";", "i", "<", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Can only return in registers!\"", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "OutVals", "[", "i", "]", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "VA", ".", "getLocReg", "(", ")", ",", "VA", ".", "getLocVT", "(", ")", ")", ")", ";", "}", "RetOps", "[", "0", "]", "=", "Chain", ";", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "{", "RetOps", ".", "push_back", "(", "Flag", ")", ";", "}", "return", "DAG", ".", "getNode", "(", "LC3ISD", "::", "RET_FLAG", ",", "dl", ",", "MVT", "::", "Other", ",", "RetOps", ")", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "outgoing", "return", "values", ",", "described", "by", "the", "Outs", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["LC3", "LC3", "ISD::OutputArg", "\"VarArg not supported\"", "16", "LC3", "4", "1", "0", "\"Can only return in registers!\"", "1", "0", "LC3ISD::RET_FLAG", "MVT::Other"], "File": "LC3ISelLowering", "Func": "LowerReturn", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3493, "Length": 252, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "Cpu0TargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "BRCOND", ":", "return", "lowerBRCOND", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "lowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "JumpTable", ":", "return", "lowerJumpTable", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "lowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "lowerSELECT", "(", "Op", ",", "DAG", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["Cpu0", "Cpu0", "ISD::BRCOND", "ISD::BlockAddress", "ISD::JumpTable", "ISD::GlobalAddress", "ISD::SELECT"], "File": "Cpu0ISelLowering4", "Func": "LowerOperation", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3494, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "DLXTargetLowering", "::", "LowerAsmOperandForConstraint", "(", "SDValue", "Op", ",", "std", "::", "string", "&", "Constraint", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "Ops", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "}", ""], "natrual_language": ["Lower", "the", "specified", "operand", "into", "the", "Ops", "vector", "."], "TS_V_token": ["DLX", "DLX"], "File": "DLXISelLowering", "Func": "LowerAsmOperandForConstraint", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3495, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "s390_can_use_simple_return_insn", "(", "void", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "function", "can", "use", "simple_return", "to", "return", "outside", "of", "a", "shrink-wrapped", "region", ".", "At", "present", "shrink-wrapping", "is", "supported", "in", "all", "cases", "."], "TS_V_token": ["s390"], "File": "s390", "Func": "s390_can_use_simple_return_insn", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3496, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64RegisterBankInfo", "::", "applyMappingImpl", "(", "const", "OperandsMapper", "&", "OpdMapper", ")", "const", "{", "switch", "(", "OpdMapper", ".", "getMI", "(", ")", ".", "getOpcode", "(", ")", ")", "{", "case", "TargetOpcode", "::", "G_ADD", ":", "case", "TargetOpcode", "::", "G_OR", ":", "{", "assert", "(", "(", "OpdMapper", ".", "getInstrMapping", "(", ")", ".", "getID", "(", ")", "==", "1", "||", "OpdMapper", ".", "getInstrMapping", "(", ")", ".", "getID", "(", ")", "==", "2", ")", "&&", "\"Don't know how to handle that ID\"", ")", ";", "return", "applyDefaultMapping", "(", "OpdMapper", ")", ";", "}", "default", ":", "llvm_unreachable", "(", "\"Don't know how to handle that operation\"", ")", ";", "}", "}", ""], "natrual_language": ["See", "RegisterBankInfo", ":", ":applyMapping", "."], "TS_V_token": ["AArch64", "AArch64", "1", "2", "\"Don't know how to handle that ID\"", "\"Don't know how to handle that operation\""], "File": "AArch64RegisterBankInfo32", "Func": "applyMappingImpl", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3497, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "\"\\nFunction : \"", "<<", "MF", ".", "getName", "(", ")", "<<", "\"\\n\"", ";", "errs", "(", ")", "<<", "\"<--------->\\n\"", "<<", "MI", ")", ";", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "getIndex", "(", ")", ";", "uint64_t", "stackSize", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", ";", "int64_t", "spOffset", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectOffset", "(", "FrameIndex", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "\"FrameIndex : \"", "<<", "FrameIndex", "<<", "\"\\n\"", "<<", "\"spOffset : \"", "<<", "spOffset", "<<", "\"\\n\"", "<<", "\"stackSize : \"", "<<", "stackSize", "<<", "\"\\n\"", ")", ";", "eliminateFI", "(", "MI", ",", "FIOperandNum", ",", "FrameIndex", ",", "stackSize", ",", "spOffset", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["RISCV", "RISCV", "\"\\nFunction : \"", "\"\\n\"", "\"<--------->\\n\"", "\"FrameIndex : \"", "\"\\n\"", "\"spOffset : \"", "\"\\n\"", "\"stackSize : \"", "\"\\n\""], "File": "RISCVRegisterInfo32", "Func": "eliminateFrameIndex", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3498, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"MMIX DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["MMIX", "\"MMIX DAG->DAG Pattern Instruction Selection\""], "File": "MMIXISelDAGToDAG", "Func": "getPassName", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3499, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsMCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "MCInst", "TmpInst", "=", "MI", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "Mips", "::", "DSLL", ":", "case", "Mips", "::", "DSRL", ":", "case", "Mips", "::", "DSRA", ":", "case", "Mips", "::", "DROTR", ":", "LowerLargeShift", "(", "TmpInst", ")", ";", "break", ";", "case", "Mips", "::", "BEQC", ":", "case", "Mips", "::", "BNEC", ":", "case", "Mips", "::", "BEQC64", ":", "case", "Mips", "::", "BNEC64", ":", "case", "Mips", "::", "BOVC", ":", "case", "Mips", "::", "BOVC_MMR6", ":", "case", "Mips", "::", "BNVC", ":", "case", "Mips", "::", "BNVC_MMR6", ":", "LowerCompactBranch", "(", "TmpInst", ")", ";", "}", "unsigned", "long", "N", "=", "Fixups", ".", "size", "(", ")", ";", "uint32_t", "Binary", "=", "getBinaryCodeForInstr", "(", "TmpInst", ",", "Fixups", ",", "STI", ")", ";", "const", "unsigned", "Opcode", "=", "TmpInst", ".", "getOpcode", "(", ")", ";", "if", "(", "(", "Opcode", "!=", "Mips", "::", "NOP", ")", "&&", "(", "Opcode", "!=", "Mips", "::", "SLL", ")", "&&", "(", "Opcode", "!=", "Mips", "::", "SLL_MM", ")", "&&", "(", "Opcode", "!=", "Mips", "::", "SLL_MMR6", ")", "&&", "!", "Binary", ")", "llvm_unreachable", "(", "\"unimplemented opcode in encodeInstruction()\"", ")", ";", "int", "NewOpcode", "=", "-", "1", ";", "if", "(", "isMicroMips", "(", "STI", ")", ")", "{", "if", "(", "isMips32r6", "(", "STI", ")", ")", "{", "NewOpcode", "=", "Mips", "::", "MipsR62MicroMipsR6", "(", "Opcode", ",", "Mips", "::", "Arch_micromipsr6", ")", ";", "if", "(", "NewOpcode", "==", "-", "1", ")", "NewOpcode", "=", "Mips", "::", "Std2MicroMipsR6", "(", "Opcode", ",", "Mips", "::", "Arch_micromipsr6", ")", ";", "}", "else", "NewOpcode", "=", "Mips", "::", "Std2MicroMips", "(", "Opcode", ",", "Mips", "::", "Arch_micromips", ")", ";", "if", "(", "NewOpcode", "==", "-", "1", ")", "NewOpcode", "=", "Mips", "::", "Dsp2MicroMips", "(", "Opcode", ",", "Mips", "::", "Arch_mmdsp", ")", ";", "if", "(", "NewOpcode", "!=", "-", "1", ")", "{", "if", "(", "Fixups", ".", "size", "(", ")", ">", "N", ")", "Fixups", ".", "pop_back", "(", ")", ";", "TmpInst", ".", "setOpcode", "(", "NewOpcode", ")", ";", "Binary", "=", "getBinaryCodeForInstr", "(", "TmpInst", ",", "Fixups", ",", "STI", ")", ";", "}", "if", "(", "(", "(", "MI", ".", "getOpcode", "(", ")", "==", "Mips", "::", "MOVEP_MM", ")", "||", "(", "MI", ".", "getOpcode", "(", ")", "==", "Mips", "::", "MOVEP_MMR6", ")", ")", ")", "{", "unsigned", "RegPair", "=", "getMovePRegPairOpValue", "(", "MI", ",", "0", ",", "Fixups", ",", "STI", ")", ";", "Binary", "=", "(", "Binary", "&", "0xFFFFFC7F", ")", "|", "(", "RegPair", "<<", "7", ")", ";", "}", "}", "const", "MCInstrDesc", "&", "Desc", "=", "MCII", ".", "get", "(", "TmpInst", ".", "getOpcode", "(", ")", ")", ";", "unsigned", "Size", "=", "Desc", ".", "getSize", "(", ")", ";", "if", "(", "!", "Size", ")", "llvm_unreachable", "(", "\"Desc.getSize() returns 0\"", ")", ";", "EmitInstruction", "(", "Binary", ",", "Size", ",", "STI", ",", "OS", ")", ";", "}", ""], "natrual_language": ["Encode", "the", "given", "Inst", "to", "bytes", "and", "append", "to", "CB", "."], "TS_V_token": ["Mips", "Mips", "Mips::DSLL", "Mips::DSRL", "Mips::DSRA", "Mips::DROTR", "Mips::BEQC", "Mips::BNEC", "Mips::BEQC64", "Mips::BNEC64", "Mips::BOVC", "Mips::BOVC_MMR6", "Mips::BNVC", "Mips::BNVC_MMR6", "Mips::NOP", "Mips::SLL", "Mips::SLL_MM", "Mips::SLL_MMR6", "\"unimplemented opcode in encodeInstruction()\"", "1", "Mips", "Mips", "Mips::MipsR62MicroMipsR6", "Mips::Arch_micromipsr6", "1", "Mips::Std2MicroMipsR6", "Mips::Arch_micromipsr6", "Mips::Std2MicroMips", "Mips::Arch_micromips", "1", "Mips::Dsp2MicroMips", "Mips::Arch_mmdsp", "1", "Mips::MOVEP_MM", "Mips::MOVEP_MMR6", "0", "0xFFFFFC7F", "7", "\"Desc.getSize() returns 0\""], "File": "MipsMCCodeEmitter (2)3", "Func": "encodeInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3500, "Length": 428, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "CountValue", "*", "HexagonHardwareLoops", "::", "getTripCount", "(", "MachineLoop", "*", "L", ")", "const", "{", "const", "MachineInstr", "*", "IV_Inst", "=", "getCanonicalInductionVariable", "(", "L", ")", ";", "if", "(", "IV_Inst", "==", "0", ")", "return", "0", ";", "const", "MachineOperand", "*", "IV_Opnd", ";", "const", "MachineOperand", "*", "InitialValue", ";", "if", "(", "!", "L", "->", "contains", "(", "IV_Inst", "->", "getOperand", "(", "2", ")", ".", "getMBB", "(", ")", ")", ")", "{", "InitialValue", "=", "&", "IV_Inst", "->", "getOperand", "(", "1", ")", ";", "IV_Opnd", "=", "&", "IV_Inst", "->", "getOperand", "(", "3", ")", ";", "}", "else", "{", "InitialValue", "=", "&", "IV_Inst", "->", "getOperand", "(", "3", ")", ";", "IV_Opnd", "=", "&", "IV_Inst", "->", "getOperand", "(", "1", ")", ";", "}", "while", "(", "(", "IV_Opnd", "=", "IV_Opnd", "->", "getNextOperandForReg", "(", ")", ")", ")", "{", "const", "MachineInstr", "*", "MI", "=", "IV_Opnd", "->", "getParent", "(", ")", ";", "if", "(", "L", "->", "contains", "(", "MI", ")", "&&", "isCompareEqualsImm", "(", "MI", ")", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "2", ")", ";", "assert", "(", "MO", ".", "isImm", "(", ")", "&&", "\"IV Cmp Operand should be 0\"", ")", ";", "int64_t", "ImmVal", "=", "MO", ".", "getImm", "(", ")", ";", "const", "MachineInstr", "*", "IV_DefInstr", "=", "MRI", "->", "getVRegDef", "(", "IV_Opnd", "->", "getReg", "(", ")", ")", ";", "assert", "(", "L", "->", "contains", "(", "IV_DefInstr", "->", "getParent", "(", ")", ")", "&&", "\"IV definition should occurs in loop\"", ")", ";", "int64_t", "iv_value", "=", "IV_DefInstr", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "if", "(", "ImmVal", "==", "0", ")", "{", "if", "(", "iv_value", "!=", "1", "&&", "iv_value", "!=", "-", "1", ")", "{", "return", "0", ";", "}", "return", "new", "CountValue", "(", "InitialValue", "->", "getReg", "(", ")", ",", "iv_value", ">", "0", ")", ";", "}", "else", "{", "assert", "(", "InitialValue", "->", "isReg", "(", ")", "&&", "\"Expecting register for init value\"", ")", ";", "const", "MachineInstr", "*", "DefInstr", "=", "MRI", "->", "getVRegDef", "(", "InitialValue", "->", "getReg", "(", ")", ")", ";", "if", "(", "DefInstr", "&&", "DefInstr", "->", "getOpcode", "(", ")", "==", "Hexagon", "::", "TFRI", ")", "{", "int64_t", "count", "=", "ImmVal", "-", "DefInstr", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "if", "(", "(", "count", "%", "iv_value", ")", "!=", "0", ")", "{", "return", "0", ";", "}", "return", "new", "CountValue", "(", "count", "/", "iv_value", ")", ";", "}", "}", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["The", "trip", "count", "of", "the", "original", "loop", "."], "TS_V_token": ["Hexagon", "Hexagon", "0", "0", "2", "1", "3", "3", "1", "2", "\"IV Cmp Operand should be 0\"", "\"IV definition should occurs in loop\"", "2", "0", "1", "1", "0", "0", "\"Expecting register for init value\"", "Hexagon::TFRI", "1", "0", "0", "0"], "File": "HexagonHardwareLoops16", "Func": "getTripCount", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3501, "Length": 353, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "NVPTXInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "const", "MachineRegisterInfo", "&", "MRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "const", "TargetRegisterClass", "*", "DestRC", "=", "MRI", ".", "getRegClass", "(", "DestReg", ")", ";", "const", "TargetRegisterClass", "*", "SrcRC", "=", "MRI", ".", "getRegClass", "(", "SrcReg", ")", ";", "if", "(", "DestRC", "->", "getSize", "(", ")", "!=", "SrcRC", "->", "getSize", "(", ")", ")", "report_fatal_error", "(", "\"Copy one register into another with a different width\"", ")", ";", "unsigned", "Op", ";", "if", "(", "DestRC", "==", "&", "NVPTX", "::", "Int1RegsRegClass", ")", "{", "Op", "=", "NVPTX", "::", "IMOV1rr", ";", "}", "else", "if", "(", "DestRC", "==", "&", "NVPTX", "::", "Int16RegsRegClass", ")", "{", "Op", "=", "NVPTX", "::", "IMOV16rr", ";", "}", "else", "if", "(", "DestRC", "==", "&", "NVPTX", "::", "Int32RegsRegClass", ")", "{", "Op", "=", "(", "SrcRC", "==", "&", "NVPTX", "::", "Int32RegsRegClass", "?", "NVPTX", "::", "IMOV32rr", ":", "NVPTX", "::", "BITCONVERT_32_F2I", ")", ";", "}", "else", "if", "(", "DestRC", "==", "&", "NVPTX", "::", "Int64RegsRegClass", ")", "{", "Op", "=", "(", "SrcRC", "==", "&", "NVPTX", "::", "Int64RegsRegClass", "?", "NVPTX", "::", "IMOV64rr", ":", "NVPTX", "::", "BITCONVERT_64_F2I", ")", ";", "}", "else", "if", "(", "DestRC", "==", "&", "NVPTX", "::", "Float16RegsRegClass", ")", "{", "Op", "=", "(", "SrcRC", "==", "&", "NVPTX", "::", "Float16RegsRegClass", "?", "NVPTX", "::", "FMOV16rr", ":", "NVPTX", "::", "BITCONVERT_16_I2F", ")", ";", "}", "else", "if", "(", "DestRC", "==", "&", "NVPTX", "::", "Float32RegsRegClass", ")", "{", "Op", "=", "(", "SrcRC", "==", "&", "NVPTX", "::", "Float32RegsRegClass", "?", "NVPTX", "::", "FMOV32rr", ":", "NVPTX", "::", "BITCONVERT_32_I2F", ")", ";", "}", "else", "if", "(", "DestRC", "==", "&", "NVPTX", "::", "Float64RegsRegClass", ")", "{", "Op", "=", "(", "SrcRC", "==", "&", "NVPTX", "::", "Float64RegsRegClass", "?", "NVPTX", "::", "FMOV64rr", ":", "NVPTX", "::", "BITCONVERT_64_I2F", ")", ";", "}", "else", "{", "llvm_unreachable", "(", "\"Bad register copy\"", ")", ";", "}", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Op", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["NVPTX", "NVPTX", "\"Copy one register into another with a different width\"", "NVPTX::Int1RegsRegClass", "NVPTX::IMOV1rr", "NVPTX::Int16RegsRegClass", "NVPTX::IMOV16rr", "NVPTX::Int32RegsRegClass", "NVPTX::Int32RegsRegClass", "NVPTX::IMOV32rr", "NVPTX::BITCONVERT_32_F2I", "NVPTX::Int64RegsRegClass", "NVPTX::Int64RegsRegClass", "NVPTX::IMOV64rr", "NVPTX::BITCONVERT_64_F2I", "NVPTX::Float16RegsRegClass", "NVPTX::Float16RegsRegClass", "NVPTX::FMOV16rr", "NVPTX::BITCONVERT_16_I2F", "NVPTX::Float32RegsRegClass", "NVPTX::Float32RegsRegClass", "NVPTX::FMOV32rr", "NVPTX::BITCONVERT_32_I2F", "NVPTX::Float64RegsRegClass", "NVPTX::Float64RegsRegClass", "NVPTX::FMOV64rr", "NVPTX::BITCONVERT_64_I2F", "\"Bad register copy\""], "File": "NVPTXInstrInfo14", "Func": "copyPhysReg", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3502, "Length": 316, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZMCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "verifyInstructionPredicates", "(", "MI", ",", "computeAvailableFeatures", "(", "STI", ".", "getFeatureBits", "(", ")", ")", ")", ";", "MemOpsEmitted", "=", "0", ";", "uint64_t", "Bits", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "unsigned", "Size", "=", "MCII", ".", "get", "(", "MI", ".", "getOpcode", "(", ")", ")", ".", "getSize", "(", ")", ";", "unsigned", "ShiftValue", "=", "(", "Size", "*", "8", ")", "-", "8", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "!=", "Size", ";", "++", "I", ")", "{", "OS", "<<", "uint8_t", "(", "Bits", ">>", "ShiftValue", ")", ";", "ShiftValue", "-=", "8", ";", "}", "}", ""], "natrual_language": ["Encode", "the", "given", "Inst", "to", "bytes", "and", "append", "to", "CB", "."], "TS_V_token": ["SystemZ", "SystemZ", "0", "8", "8", "0", "8"], "File": "SystemZMCCodeEmitter16", "Func": "encodeInstruction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3503, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "insn_defines_reg", "(", "unsigned", "int", "regno1", ",", "unsigned", "int", "regno2", ",", "rtx_insn", "*", "insn", ")", "{", "df_ref", "def", ";", "FOR_EACH_INSN_DEF", "(", "def", ",", "insn", ")", "if", "(", "DF_REF_REG_DEF_P", "(", "def", ")", "&&", "!", "DF_REF_IS_ARTIFICIAL", "(", "def", ")", "&&", "(", "regno1", "==", "DF_REF_REGNO", "(", "def", ")", "||", "regno2", "==", "DF_REF_REGNO", "(", "def", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Function", "checks", "if", "instruction", "INSN", "defines", "register", "number", "REGNO1", "or", "REGNO2", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "insn_defines_reg", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3504, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsConstantIslands", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "mf", ")", "{", "MF", "=", "&", "mf", ";", "MCP", "=", "mf", ".", "getConstantPool", "(", ")", ";", "STI", "=", "&", "static_cast", "<", "const", "MipsSubtarget", "&", ">", "(", "mf", ".", "getSubtarget", "(", ")", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"constant island machine function \"", "<<", "\"\\n\"", ")", ";", "if", "(", "!", "STI", "->", "inMips16Mode", "(", ")", "||", "!", "MipsSubtarget", "::", "useConstantIslands", "(", ")", ")", "{", "return", "false", ";", "}", "TII", "=", "(", "const", "Mips16InstrInfo", "*", ")", "STI", "->", "getInstrInfo", "(", ")", ";", "MFI", "=", "MF", "->", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"constant island processing \"", "<<", "\"\\n\"", ")", ";", "if", "(", "!", "PrescannedForConstants", ")", "prescanForConstants", "(", ")", ";", "HasFarJump", "=", "false", ";", "MF", "->", "getRegInfo", "(", ")", ".", "invalidateLiveness", "(", ")", ";", "MF", "->", "RenumberBlocks", "(", ")", ";", "bool", "MadeChange", "=", "false", ";", "std", "::", "vector", "<", "MachineInstr", "*", ">", "CPEMIs", ";", "if", "(", "!", "MCP", "->", "isEmpty", "(", ")", ")", "doInitialPlacement", "(", "CPEMIs", ")", ";", "initPICLabelUId", "(", "CPEMIs", ".", "size", "(", ")", ")", ";", "initializeFunctionInfo", "(", "CPEMIs", ")", ";", "CPEMIs", ".", "clear", "(", ")", ";", "LLVM_DEBUG", "(", "dumpBBs", "(", ")", ")", ";", "MadeChange", "|=", "removeUnusedCPEntries", "(", ")", ";", "unsigned", "NoCPIters", "=", "0", ",", "NoBRIters", "=", "0", ";", "(", "void", ")", "NoBRIters", ";", "while", "(", "true", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Beginning CP iteration #\"", "<<", "NoCPIters", "<<", "'\\n'", ")", ";", "bool", "CPChange", "=", "false", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CPUsers", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "CPChange", "|=", "handleConstantPoolUser", "(", "i", ")", ";", "if", "(", "CPChange", "&&", "++", "NoCPIters", ">", "30", ")", "report_fatal_error", "(", "\"Constant Island pass failed to converge!\"", ")", ";", "LLVM_DEBUG", "(", "dumpBBs", "(", ")", ")", ";", "NewWaterList", ".", "clear", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Beginning BR iteration #\"", "<<", "NoBRIters", "<<", "'\\n'", ")", ";", "bool", "BRChange", "=", "false", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "ImmBranches", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "BRChange", "|=", "fixupImmediateBr", "(", "ImmBranches", "[", "i", "]", ")", ";", "if", "(", "BRChange", "&&", "++", "NoBRIters", ">", "30", ")", "report_fatal_error", "(", "\"Branch Fix Up pass failed to converge!\"", ")", ";", "LLVM_DEBUG", "(", "dumpBBs", "(", ")", ")", ";", "if", "(", "!", "CPChange", "&&", "!", "BRChange", ")", "break", ";", "MadeChange", "=", "true", ";", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "'\\n'", ";", "dumpBBs", "(", ")", ")", ";", "BBInfo", ".", "clear", "(", ")", ";", "WaterList", ".", "clear", "(", ")", ";", "CPUsers", ".", "clear", "(", ")", ";", "CPEntries", ".", "clear", "(", ")", ";", "ImmBranches", ".", "clear", "(", ")", ";", "return", "MadeChange", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "\"constant island machine function \"", "\"\\n\"", "Mips", "Mips", "Mips", "Mips", "\"constant island processing \"", "\"\\n\"", "0", "0", "\"Beginning CP iteration #\"", "0", "30", "\"Constant Island pass failed to converge!\"", "\"Beginning BR iteration #\"", "0", "30", "\"Branch Fix Up pass failed to converge!\""], "File": "MipsConstantIslandPass (2)2", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3505, "Length": 423, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "isLegalInterleavedAccessType", "(", "VectorType", "*", "VecTy", ",", "const", "DataLayout", "&", "DL", ")", "const", "{", "unsigned", "VecSize", "=", "DL", ".", "getTypeSizeInBits", "(", "VecTy", ")", ";", "unsigned", "ElSize", "=", "DL", ".", "getTypeSizeInBits", "(", "VecTy", "->", "getElementType", "(", ")", ")", ";", "if", "(", "VecTy", "->", "getNumElements", "(", ")", "<", "2", ")", "return", "false", ";", "if", "(", "ElSize", "!=", "8", "&&", "ElSize", "!=", "16", "&&", "ElSize", "!=", "32", "&&", "ElSize", "!=", "64", ")", "return", "false", ";", "return", "VecSize", "==", "64", "||", "VecSize", "%", "128", "==", "0", ";", "}", ""], "natrual_language": ["Returns", "whether", "or", "not", "generating", "a", "interleaved", "load/store", "intrinsic", "for", "this", "type", "will", "be", "legal", "."], "TS_V_token": ["AArch64", "AArch64", "2", "8", "16", "32", "64", "64", "128", "0"], "File": "AArch64ISelLowering (2)3", "Func": "isLegalInterleavedAccessType", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3506, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "maybe_split_mode", "(", "machine_mode", "mode", ")", "{", "if", "(", "COMPLEX_MODE_P", "(", "mode", ")", ")", "return", "GET_MODE_INNER", "(", "mode", ")", ";", "if", "(", "mode", "==", "TImode", ")", "return", "DImode", ";", "return", "VOIDmode", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "pieces", "to", "use", "when", "dealing", "with", "a", "pseudo", "of", "*", "PMODE", ".", "Alter", "*", "PMODE", "if", "we", "return", "a", "number", "greater", "than", "one", "."], "TS_V_token": ["nvptx"], "File": "nvptx", "Func": "maybe_split_mode", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 3507, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonSubtarget", "::", "adjustSchedDependency", "(", "SUnit", "*", "Src", ",", "SUnit", "*", "Dst", ",", "SDep", "&", "Dep", ")", "const", "{", "MachineInstr", "*", "SrcInst", "=", "Src", "->", "getInstr", "(", ")", ";", "MachineInstr", "*", "DstInst", "=", "Dst", "->", "getInstr", "(", ")", ";", "if", "(", "!", "Src", "->", "isInstr", "(", ")", "||", "!", "Dst", "->", "isInstr", "(", ")", ")", "return", ";", "const", "HexagonInstrInfo", "*", "QII", "=", "getInstrInfo", "(", ")", ";", "SmallSet", "<", "SUnit", "*", ",", "4", ">", "ExclSrc", ";", "SmallSet", "<", "SUnit", "*", ",", "4", ">", "ExclDst", ";", "if", "(", "QII", "->", "canExecuteInBundle", "(", "*", "SrcInst", ",", "*", "DstInst", ")", "&&", "isBestZeroLatency", "(", "Src", ",", "Dst", ",", "QII", ",", "ExclSrc", ",", "ExclDst", ")", ")", "{", "Dep", ".", "setLatency", "(", "0", ")", ";", "return", ";", "}", "if", "(", "!", "hasV60Ops", "(", ")", ")", "return", ";", "if", "(", "DstInst", "->", "isCopy", "(", ")", ")", "Dep", ".", "setLatency", "(", "0", ")", ";", "if", "(", "(", "DstInst", "->", "isRegSequence", "(", ")", "||", "DstInst", "->", "isCopy", "(", ")", ")", "&&", "Dst", "->", "NumSuccs", "==", "1", ")", "{", "Register", "DReg", "=", "DstInst", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "MachineInstr", "*", "DDst", "=", "Dst", "->", "Succs", "[", "0", "]", ".", "getSUnit", "(", ")", "->", "getInstr", "(", ")", ";", "unsigned", "UseIdx", "=", "-", "1", ";", "for", "(", "unsigned", "OpNum", "=", "0", ";", "OpNum", "<", "DDst", "->", "getNumOperands", "(", ")", ";", "OpNum", "++", ")", "{", "const", "MachineOperand", "&", "MO", "=", "DDst", "->", "getOperand", "(", "OpNum", ")", ";", "if", "(", "MO", ".", "isReg", "(", ")", "&&", "MO", ".", "getReg", "(", ")", "&&", "MO", ".", "isUse", "(", ")", "&&", "MO", ".", "getReg", "(", ")", "==", "DReg", ")", "{", "UseIdx", "=", "OpNum", ";", "break", ";", "}", "}", "int", "DLatency", "=", "(", "InstrInfo", ".", "getOperandLatency", "(", "&", "InstrItins", ",", "*", "SrcInst", ",", "0", ",", "*", "DDst", ",", "UseIdx", ")", ")", ";", "DLatency", "=", "std", "::", "max", "(", "DLatency", ",", "0", ")", ";", "Dep", ".", "setLatency", "(", "(", "unsigned", ")", "DLatency", ")", ";", "}", "ExclSrc", ".", "clear", "(", ")", ";", "ExclDst", ".", "clear", "(", ")", ";", "if", "(", "EnableDotCurSched", "&&", "QII", "->", "isToBeScheduledASAP", "(", "*", "SrcInst", ",", "*", "DstInst", ")", "&&", "isBestZeroLatency", "(", "Src", ",", "Dst", ",", "QII", ",", "ExclSrc", ",", "ExclDst", ")", ")", "{", "Dep", ".", "setLatency", "(", "0", ")", ";", "return", ";", "}", "updateLatency", "(", "*", "SrcInst", ",", "*", "DstInst", ",", "Dep", ")", ";", "}", ""], "natrual_language": ["Perform", "target", "specific", "adjustments", "to", "the", "latency", "of", "a", "schedule", "dependency", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "4", "4", "0", "0", "1", "0", "0", "1", "0", "0", "0", "0"], "File": "HexagonSubtarget3", "Func": "adjustSchedDependency", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3508, "Length": 383, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMTargetELFStreamer", "::", "emitLabel", "(", "MCSymbol", "*", "Symbol", ")", "{", "ARMELFStreamer", "&", "Streamer", "=", "getStreamer", "(", ")", ";", "if", "(", "!", "Streamer", ".", "IsThumb", ")", "return", ";", "const", "MCSymbolData", "&", "SD", "=", "Streamer", ".", "getOrCreateSymbolData", "(", "Symbol", ")", ";", "unsigned", "Type", "=", "MCELF", "::", "GetType", "(", "SD", ")", ";", "if", "(", "Type", "==", "ELF_STT_Func", "||", "Type", "==", "ELF_STT_GnuIFunc", ")", "Streamer", ".", "EmitThumbFunc", "(", "Symbol", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "label", "for", "Symbol", "into", "the", "current", "section", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMELFStreamer20", "Func": "emitLabel", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3509, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getArithmeticInstrCost", "(", "unsigned", "Opcode", ",", "Type", "*", "Ty", ",", "TTI", "::", "OperandValueKind", "Opd1Info", "=", "TTI", "::", "OK_AnyValue", ",", "TTI", "::", "OperandValueKind", "Opd2Info", "=", "TTI", "::", "OK_AnyValue", ",", "TTI", "::", "OperandValueProperties", "Opd1PropInfo", "=", "TTI", "::", "OP_None", ",", "TTI", "::", "OperandValueProperties", "Opd2PropInfo", "=", "TTI", "::", "OP_None", ",", "ArrayRef", "<", "const", "Value", "*", ">", "Args", "=", "ArrayRef", "<", "const", "Value", "*", ">", "(", ")", ",", "const", "Instruction", "*", "CxtI", "=", "nullptr", ")", "{", "int", "ISD", "=", "TLI", "->", "InstructionOpcodeToISD", "(", "Opcode", ")", ";", "switch", "(", "ISD", ")", "{", "default", ":", "return", "BaseT", "::", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", ",", "Opd1Info", ",", "Opd2Info", ",", "Opd1PropInfo", ",", "Opd2PropInfo", ")", ";", "case", "ISD", "::", "MUL", ":", "case", "ISD", "::", "SDIV", ":", "case", "ISD", "::", "UDIV", ":", "case", "ISD", "::", "UREM", ":", "return", "64", "*", "BaseT", "::", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", ",", "Opd1Info", ",", "Opd2Info", ",", "Opd1PropInfo", ",", "Opd2PropInfo", ")", ";", "}", "}", ""], "natrual_language": ["This", "is", "an", "approximation", "of", "reciprocal", "throughput", "of", "a", "math/logic", "op", "."], "TS_V_token": ["Lanai", "ISD::MUL", "ISD::SDIV", "ISD::UDIV", "ISD::UREM", "64"], "File": "LanaiTargetTransformInfo15", "Func": "getArithmeticInstrCost", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3510, "Length": 148, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getPointerSize", "(", ")", "const", "{", "return", "4", ";", "}", ""], "natrual_language": ["Layout", "pointer", "size", "in", "bytes", ",", "rounded", "up", "to", "a", "whole", "number", "of", "bytes", "."], "TS_V_token": ["TeeRISC", "4"], "File": "TeeRISCAsmBackend", "Func": "getPointerSize", "Target": "TeeRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3511, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "BPFTargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "const", "SDLoc", "&", "DL", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "unsigned", "Opc", "=", "BPFISD", "::", "RET_FLAG", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "MF", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "getReturnType", "(", ")", "->", "isAggregateType", "(", ")", ")", "{", "fail", "(", "DL", ",", "DAG", ",", "\"only integer returns supported\"", ")", ";", "return", "DAG", ".", "getNode", "(", "Opc", ",", "DL", ",", "MVT", "::", "Other", ",", "Chain", ")", ";", "}", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "getHasAlu32", "(", ")", "?", "RetCC_BPF32", ":", "RetCC_BPF64", ")", ";", "SDValue", "Flag", ";", "SmallVector", "<", "SDValue", ",", "4", ">", "RetOps", "(", "1", ",", "Chain", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Can only return in registers!\"", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "VA", ".", "getLocReg", "(", ")", ",", "OutVals", "[", "i", "]", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "VA", ".", "getLocReg", "(", ")", ",", "VA", ".", "getLocVT", "(", ")", ")", ")", ";", "}", "RetOps", "[", "0", "]", "=", "Chain", ";", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "RetOps", ".", "push_back", "(", "Flag", ")", ";", "return", "DAG", ".", "getNode", "(", "Opc", ",", "DL", ",", "MVT", "::", "Other", ",", "RetOps", ")", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "outgoing", "return", "values", ",", "described", "by", "the", "Outs", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["BPF", "BPF", "ISD::OutputArg", "BPFISD::RET_FLAG", "16", "\"only integer returns supported\"", "MVT::Other", "BPF", "BPF", "4", "1", "0", "\"Can only return in registers!\"", "1", "0", "MVT::Other"], "File": "BPFISelLowering", "Func": "LowerReturn", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3512, "Length": 297, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "LEGInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "assert", "(", "0", "&&", "\"Unimplemented\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["isStoreToStackSlot", "-", "If", "the", "specified", "machine", "instruction", "is", "a", "direct", "store", "to", "a", "stack", "slot", ",", "return", "the", "virtual", "or", "physical", "register", "number", "of", "the", "source", "reg", "along", "with", "the", "FrameIndex", "of", "the", "loaded", "stack", "slot", "."], "TS_V_token": ["LEG", "LEG", "0", "\"Unimplemented\"", "0"], "File": "LEGInstrInfo1", "Func": "isStoreToStackSlot", "Target": "LEG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3513, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUStructurizeCFG", "::", "runOnRegion", "(", "Region", "*", "R", ",", "RGPassManager", "&", "RGM", ")", "{", "if", "(", "R", "->", "isTopLevelRegion", "(", ")", ")", "return", "false", ";", "Func", "=", "R", "->", "getEntry", "(", ")", "->", "getParent", "(", ")", ";", "ParentRegion", "=", "R", ";", "DT", "=", "&", "getAnalysis", "<", "DominatorTree", ">", "(", ")", ";", "orderNodes", "(", ")", ";", "collectInfos", "(", ")", ";", "createFlow", "(", ")", ";", "insertConditions", "(", "false", ")", ";", "insertConditions", "(", "true", ")", ";", "setPhiValues", "(", ")", ";", "rebuildSSA", "(", ")", ";", "Order", ".", "clear", "(", ")", ";", "Visited", ".", "clear", "(", ")", ";", "DeletedPhis", ".", "clear", "(", ")", ";", "AddedPhis", ".", "clear", "(", ")", ";", "Predicates", ".", "clear", "(", ")", ";", "Conditions", ".", "clear", "(", ")", ";", "Loops", ".", "clear", "(", ")", ";", "LoopPreds", ".", "clear", "(", ")", ";", "LoopConds", ".", "clear", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Run", "the", "pass", "on", "a", "specific", "Region", "."], "TS_V_token": ["R600"], "File": "AMDGPUStructurizeCFG", "Func": "runOnRegion", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3514, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "bfin_expand_cpymem", "(", "rtx", "dst", ",", "rtx", "src", ",", "rtx", "count_exp", ",", "rtx", "align_exp", ")", "{", "rtx", "srcreg", ",", "destreg", ",", "countreg", ";", "HOST_WIDE_INT", "align", "=", "0", ";", "unsigned", "HOST_WIDE_INT", "count", "=", "0", ";", "if", "(", "GET_CODE", "(", "align_exp", ")", "==", "CONST_INT", ")", "align", "=", "INTVAL", "(", "align_exp", ")", ";", "if", "(", "GET_CODE", "(", "count_exp", ")", "==", "CONST_INT", ")", "{", "count", "=", "INTVAL", "(", "count_exp", ")", ";", "if", "(", "!", "TARGET_INLINE_ALL_STRINGOPS", "&&", "count", ">", "64", ")", "return", "false", ";", "}", "if", "(", "optimize_size", ")", "{", "if", "(", "count", "==", "2", "&&", "align", "<", "2", ")", "return", "false", ";", "if", "(", "count", "==", "4", "&&", "align", "<", "4", ")", "return", "false", ";", "if", "(", "count", "!=", "1", "&&", "count", "!=", "2", "&&", "count", "!=", "4", ")", "return", "false", ";", "}", "if", "(", "align", "<", "2", "&&", "count", "!=", "1", ")", "return", "false", ";", "destreg", "=", "copy_to_mode_reg", "(", "Pmode", ",", "XEXP", "(", "dst", ",", "0", ")", ")", ";", "if", "(", "destreg", "!=", "XEXP", "(", "dst", ",", "0", ")", ")", "dst", "=", "replace_equiv_address_nv", "(", "dst", ",", "destreg", ")", ";", "srcreg", "=", "copy_to_mode_reg", "(", "Pmode", ",", "XEXP", "(", "src", ",", "0", ")", ")", ";", "if", "(", "srcreg", "!=", "XEXP", "(", "src", ",", "0", ")", ")", "src", "=", "replace_equiv_address_nv", "(", "src", ",", "srcreg", ")", ";", "if", "(", "count", "!=", "0", "&&", "align", ">=", "2", ")", "{", "unsigned", "HOST_WIDE_INT", "offset", "=", "0", ";", "if", "(", "align", ">=", "4", ")", "{", "if", "(", "(", "count", "&", "~", "3", ")", "==", "4", ")", "{", "single_move_for_cpymem", "(", "dst", ",", "src", ",", "SImode", ",", "offset", ")", ";", "offset", "=", "4", ";", "}", "else", "if", "(", "count", "&", "~", "3", ")", "{", "HOST_WIDE_INT", "new_count", "=", "(", "(", "count", ">>", "2", ")", "&", "0x3fffffff", ")", "-", "1", ";", "countreg", "=", "copy_to_mode_reg", "(", "Pmode", ",", "GEN_INT", "(", "new_count", ")", ")", ";", "emit_insn", "(", "gen_rep_movsi", "(", "destreg", ",", "srcreg", ",", "countreg", ",", "destreg", ",", "srcreg", ")", ")", ";", "cfun", "->", "machine", "->", "has_loopreg_clobber", "=", "true", ";", "}", "if", "(", "count", "&", "2", ")", "{", "single_move_for_cpymem", "(", "dst", ",", "src", ",", "HImode", ",", "offset", ")", ";", "offset", "+=", "2", ";", "}", "}", "else", "{", "if", "(", "(", "count", "&", "~", "1", ")", "==", "2", ")", "{", "single_move_for_cpymem", "(", "dst", ",", "src", ",", "HImode", ",", "offset", ")", ";", "offset", "=", "2", ";", "}", "else", "if", "(", "count", "&", "~", "1", ")", "{", "HOST_WIDE_INT", "new_count", "=", "(", "(", "count", ">>", "1", ")", "&", "0x7fffffff", ")", "-", "1", ";", "countreg", "=", "copy_to_mode_reg", "(", "Pmode", ",", "GEN_INT", "(", "new_count", ")", ")", ";", "emit_insn", "(", "gen_rep_movhi", "(", "destreg", ",", "srcreg", ",", "countreg", ",", "destreg", ",", "srcreg", ")", ")", ";", "cfun", "->", "machine", "->", "has_loopreg_clobber", "=", "true", ";", "}", "}", "if", "(", "count", "&", "1", ")", "{", "single_move_for_cpymem", "(", "dst", ",", "src", ",", "QImode", ",", "offset", ")", ";", "}", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Expand", "a", "string", "move", "operation", "of", "COUNT_EXP", "bytes", "from", "SRC", "to", "DST", ",", "with", "alignment", "ALIGN_EXP", ".", "Return", "true", "if", "successful", ",", "false", "if", "we", "should", "fall", "back", "on", "a", "different", "method", "."], "TS_V_token": ["bfin", "0", "0", "64", "2", "2", "4", "4", "1", "2", "4", "2", "1", "0", "0", "0", "0", "0", "2", "0", "4", "3", "4", "4", "3", "2", "0x3fffffff", "1", "2", "2", "1", "2", "2", "1", "1", "0x7fffffff", "1", "1"], "File": "bfin", "Func": "bfin_expand_cpymem", "Target": "bfin", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 3515, "Length": 466, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "MachineFunctionAnalysis", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineFunctionAnalysis", ">", "(", ")", ";", "AU", ".", "addPreserved", "(", "\"stack-protector\"", ")", ";", "FunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["Hexagon", "\"stack-protector\""], "File": "HexagonRemoveSZExtArgs", "Func": "getAnalysisUsage", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3516, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "X86RegisterInfo", "::", "getCallPreservedMask", "(", "CallingConv", "::", "ID", "CC", ")", "const", "{", "bool", "HasAVX", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "hasAVX", "(", ")", ";", "if", "(", "CC", "==", "CallingConv", "::", "Intel_OCL_BI", ")", "{", "if", "(", "IsWin64", "&&", "HasAVX", ")", "return", "CSR_Win64_Intel_OCL_BI_AVX_RegMask", ";", "if", "(", "Is64Bit", "&&", "HasAVX", ")", "return", "CSR_64_Intel_OCL_BI_AVX_RegMask", ";", "if", "(", "!", "HasAVX", "&&", "!", "IsWin64", "&&", "Is64Bit", ")", "return", "CSR_64_Intel_OCL_BI_RegMask", ";", "}", "if", "(", "CC", "==", "CallingConv", "::", "GHC", "||", "CC", "==", "CallingConv", "::", "HiPE", ")", "return", "CSR_NoRegs_RegMask", ";", "if", "(", "!", "Is64Bit", ")", "return", "CSR_32_RegMask", ";", "if", "(", "CC", "==", "CallingConv", "::", "Cold", ")", "return", "CSR_MostRegs_64_RegMask", ";", "if", "(", "IsWin64", ")", "return", "CSR_Win64_RegMask", ";", "return", "CSR_64_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86RegisterInfo3", "Func": "getCallPreservedMask", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3517, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isLiveIn", "(", "int", "FI", ")", "{", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "LiveInFI", ".", "size", "(", ")", ";", "i", "<", "e", ";", "++", "i", ")", "if", "(", "FI", "==", "LiveInFI", "[", "i", "]", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "this", "VPValue", "is", "a", "live-in", ",", "i.e", ".", "defined", "outside", "the", "VPlan", "."], "TS_V_token": ["TeeRISC", "0"], "File": "TeeRISCMachineFunctionInfo", "Func": "isLiveIn", "Target": "TeeRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3518, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVPassConfig", "::", "addGlobalInstructionSelect", "(", ")", "{", "addPass", "(", "new", "InstructionSelect", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["This", "method", "should", "install", "a", "(", "global", ")", "instruction", "selector", "pass", ",", "which", "converts", "possibly", "generic", "instructions", "to", "fully", "target-specific", "instructions", ",", "thereby", "constraining", "all", "generic", "virtual", "registers", "to", "register", "classes", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVTargetMachine14", "Func": "addGlobalInstructionSelect", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3519, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "neon_pairwise_reduce", "(", "rtx", "op0", ",", "rtx", "op1", ",", "machine_mode", "mode", ",", "rtx", "(", "*", "reduc", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ")", "{", "machine_mode", "inner", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "unsigned", "int", "i", ",", "parts", "=", "GET_MODE_SIZE", "(", "mode", ")", "/", "GET_MODE_SIZE", "(", "inner", ")", ";", "rtx", "tmpsum", "=", "op1", ";", "for", "(", "i", "=", "parts", "/", "2", ";", "i", ">=", "1", ";", "i", "/=", "2", ")", "{", "rtx", "dest", "=", "(", "i", "==", "1", ")", "?", "op0", ":", "gen_reg_rtx", "(", "mode", ")", ";", "emit_insn", "(", "reduc", "(", "dest", ",", "tmpsum", ",", "tmpsum", ")", ")", ";", "tmpsum", "=", "dest", ";", "}", "}", ""], "natrual_language": ["Output", "a", "sequence", "of", "pairwise", "operations", "to", "implement", "a", "reduction", ".", "NOTE", ":", "We", "do", "``", "too", "much", "work", "''", "here", ",", "because", "pairwise", "operations", "work", "on", "two", "registers-worth", "of", "operands", "in", "one", "go", ".", "Unfortunately", "we", "ca", "n't", "exploit", "those", "extra", "calculations", "to", "do", "the", "full", "operation", "in", "fewer", "steps", ",", "I", "do", "n't", "think", ".", "Although", "all", "vector", "elements", "of", "the", "result", "but", "the", "first", "are", "ignored", ",", "we", "actually", "calculate", "the", "same", "result", "in", "each", "of", "the", "elements", ".", "An", "alternative", "such", "as", "initially", "loading", "a", "vector", "with", "zero", "to", "use", "as", "each", "of", "the", "second", "operands", "would", "use", "up", "an", "additional", "register", "and", "take", "an", "extra", "instruction", ",", "for", "no", "particular", "gain", "."], "TS_V_token": ["arm", "2", "1", "2", "1"], "File": "arm4", "Func": "neon_pairwise_reduce", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3520, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "XNCMSubtarget", "*", "getSubtargetImpl", "(", ")", "const", "{", "return", "&", "Subtarget", ";", "}", ""], "natrual_language": ["Virtual", "method", "implemented", "by", "subclasses", "that", "returns", "a", "reference", "to", "that", "target", "'s", "TargetSubtargetInfo-derived", "member", "variable", "."], "TS_V_token": ["XNCM", "XNCM"], "File": "XNCMTargetMachine", "Func": "getSubtargetImpl", "Target": "XNCM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3521, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "rs6000_hard_regno_nregs_hook", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "return", "rs6000_hard_regno_nregs", "[", "mode", "]", "[", "regno", "]", ";", "}", ""], "natrual_language": ["Implement", "TARGET_HARD_REGNO_NREGS", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_hard_regno_nregs_hook", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3522, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "lm32_expand_prologue", "(", "void", ")", "{", "rtx", "insn", ";", "lm32_compute_frame_size", "(", "get_frame_size", "(", ")", ")", ";", "if", "(", "current_frame_info", ".", "total_size", ">", "0", ")", "{", "stack_adjust", "(", "-", "current_frame_info", ".", "total_size", ")", ";", "if", "(", "current_frame_info", ".", "reg_save_mask", "!=", "0", ")", "expand_save_restore", "(", "&", "current_frame_info", ",", "0", ")", ";", "if", "(", "frame_pointer_needed", "==", "1", ")", "{", "insn", "=", "emit_move_insn", "(", "frame_pointer_rtx", ",", "stack_pointer_rtx", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "insn", "=", "emit_add", "(", "frame_pointer_rtx", ",", "frame_pointer_rtx", ",", "GEN_INT", "(", "current_frame_info", ".", "args_size", "+", "current_frame_info", ".", "callee_size", "+", "current_frame_info", ".", "locals_size", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["Create", "and", "emit", "instructions", "for", "a", "functions", "prologue", "."], "TS_V_token": ["lm32", "0", "0", "0", "1", "1", "1"], "File": "lm32", "Func": "lm32_expand_prologue", "Target": "lm32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3523, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint32_t", "generateCompactUnwindEncoding", "(", "ArrayRef", "<", "MCCFIInstruction", ">", "Instrs", ")", "const", "override", "{", "if", "(", "Instrs", ".", "empty", "(", ")", ")", "return", "0", ";", "unsigned", "SavedRegIdx", "=", "0", ";", "memset", "(", "SavedRegs", ",", "0", ",", "sizeof", "(", "SavedRegs", ")", ")", ";", "bool", "HasFP", "=", "false", ";", "uint32_t", "CompactUnwindEncoding", "=", "0", ";", "unsigned", "SubtractInstrIdx", "=", "Is64Bit", "?", "3", ":", "2", ";", "unsigned", "InstrOffset", "=", "0", ";", "unsigned", "StackAdjust", "=", "0", ";", "unsigned", "StackSize", "=", "0", ";", "unsigned", "NumDefCFAOffsets", "=", "0", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "Instrs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "const", "MCCFIInstruction", "&", "Inst", "=", "Instrs", "[", "i", "]", ";", "switch", "(", "Inst", ".", "getOperation", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "MCCFIInstruction", "::", "OpDefCfaRegister", ":", "{", "HasFP", "=", "true", ";", "if", "(", "*", "MRI", ".", "getLLVMRegNum", "(", "Inst", ".", "getRegister", "(", ")", ",", "true", ")", "!=", "(", "Is64Bit", "?", "X86", "::", "RBP", ":", "X86", "::", "EBP", ")", ")", "return", "0", ";", "memset", "(", "SavedRegs", ",", "0", ",", "sizeof", "(", "SavedRegs", ")", ")", ";", "StackAdjust", "=", "0", ";", "SavedRegIdx", "=", "0", ";", "InstrOffset", "+=", "MoveInstrSize", ";", "break", ";", "}", "case", "MCCFIInstruction", "::", "OpDefCfaOffset", ":", "{", "StackSize", "=", "Inst", ".", "getOffset", "(", ")", "/", "StackDivide", ";", "++", "NumDefCFAOffsets", ";", "break", ";", "}", "case", "MCCFIInstruction", "::", "OpOffset", ":", "{", "if", "(", "SavedRegIdx", "==", "CU_NUM_SAVED_REGS", ")", "return", "CU", "::", "UNWIND_MODE_DWARF", ";", "unsigned", "Reg", "=", "*", "MRI", ".", "getLLVMRegNum", "(", "Inst", ".", "getRegister", "(", ")", ",", "true", ")", ";", "SavedRegs", "[", "SavedRegIdx", "++", "]", "=", "Reg", ";", "StackAdjust", "+=", "OffsetSize", ";", "InstrOffset", "+=", "PushInstrSize", "(", "Reg", ")", ";", "break", ";", "}", "}", "}", "StackAdjust", "/=", "StackDivide", ";", "if", "(", "HasFP", ")", "{", "if", "(", "(", "StackAdjust", "&", "0xFF", ")", "!=", "StackAdjust", ")", "return", "CU", "::", "UNWIND_MODE_DWARF", ";", "uint32_t", "RegEnc", "=", "encodeCompactUnwindRegistersWithFrame", "(", ")", ";", "if", "(", "RegEnc", "==", "~", "0U", ")", "return", "CU", "::", "UNWIND_MODE_DWARF", ";", "CompactUnwindEncoding", "|=", "CU", "::", "UNWIND_MODE_BP_FRAME", ";", "CompactUnwindEncoding", "|=", "(", "StackAdjust", "&", "0xFF", ")", "<<", "16", ";", "CompactUnwindEncoding", "|=", "RegEnc", "&", "CU", "::", "UNWIND_BP_FRAME_REGISTERS", ";", "}", "else", "{", "SubtractInstrIdx", "+=", "InstrOffset", ";", "++", "StackAdjust", ";", "if", "(", "(", "StackSize", "&", "0xFF", ")", "==", "StackSize", ")", "{", "CompactUnwindEncoding", "|=", "CU", "::", "UNWIND_MODE_STACK_IMMD", ";", "CompactUnwindEncoding", "|=", "(", "StackSize", "&", "0xFF", ")", "<<", "16", ";", "}", "else", "{", "if", "(", "(", "StackAdjust", "&", "0x7", ")", "!=", "StackAdjust", ")", "return", "CU", "::", "UNWIND_MODE_DWARF", ";", "CompactUnwindEncoding", "|=", "CU", "::", "UNWIND_MODE_STACK_IND", ";", "CompactUnwindEncoding", "|=", "(", "SubtractInstrIdx", "&", "0xFF", ")", "<<", "16", ";", "CompactUnwindEncoding", "|=", "(", "StackAdjust", "&", "0x7", ")", "<<", "13", ";", "}", "std", "::", "reverse", "(", "&", "SavedRegs", "[", "0", "]", ",", "&", "SavedRegs", "[", "SavedRegIdx", "]", ")", ";", "CompactUnwindEncoding", "|=", "(", "SavedRegIdx", "&", "0x7", ")", "<<", "10", ";", "uint32_t", "RegEnc", "=", "encodeCompactUnwindRegistersWithoutFrame", "(", "SavedRegIdx", ")", ";", "if", "(", "RegEnc", "==", "~", "0U", ")", "return", "CU", "::", "UNWIND_MODE_DWARF", ";", "CompactUnwindEncoding", "|=", "RegEnc", "&", "CU", "::", "UNWIND_FRAMELESS_STACK_REG_PERMUTATION", ";", "}", "return", "CompactUnwindEncoding", ";", "}", ""], "natrual_language": ["Generate", "compact", "unwind", "encoding", "for", "the", "function", "based", "on", "the", "CFI", "instructions", "."], "TS_V_token": ["X86", "0", "0", "0", "0", "3", "2", "0", "0", "0", "0", "0", "0", "X86::RBP", "X86::EBP", "0", "0", "0", "0", "0xFF", "0U", "0xFF", "16", "0xFF", "0xFF", "16", "0x7", "0xFF", "16", "0x7", "13", "0", "0x7", "10", "0U"], "File": "X86AsmBackend14", "Func": "generateCompactUnwindEncoding", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3524, "Length": 483, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "getInstrLatency", "(", "const", "InstrItineraryData", "*", "ItinData", ",", "SDNode", "*", "Node", ")", "const", "override", "{", "return", "1", ";", "}", ""], "natrual_language": ["Compute", "the", "instruction", "latency", "of", "a", "given", "instruction", "."], "TS_V_token": ["AMDGPU", "1"], "File": "R600InstrInfo1", "Func": "getInstrLatency", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3525, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "stackSlotSize", "(", ")", "{", "return", "4", ";", "}", ""], "natrual_language": ["Stack", "slot", "size", "(", "4", "bytes", ")"], "TS_V_token": ["LM32", "4"], "File": "LM32FrameLowering", "Func": "stackSlotSize", "Target": "LM32", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3526, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "insn_dependent_p_1", "(", "rtx", "x", ",", "rtx", "pat", "ATTRIBUTE_UNUSED", ",", "void", "*", "data", ")", "{", "rtx", "*", "pinsn", "=", "(", "rtx", "*", ")", "data", ";", "if", "(", "*", "pinsn", "&&", "reg_mentioned_p", "(", "x", ",", "*", "pinsn", ")", ")", "*", "pinsn", "=", "NULL_RTX", ";", "}", ""], "natrual_language": ["A", "helper", "routine", "for", "insn_dependent_p", "called", "through", "note_stores", "."], "TS_V_token": ["mt"], "File": "mt", "Func": "insn_dependent_p_1", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3527, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "SITargetLowering", "::", "PostISelFolding", "(", "MachineSDNode", "*", "Node", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "const", "SIInstrInfo", "*", "TII", "=", "static_cast", "<", "const", "SIInstrInfo", "*", ">", "(", "getTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "getInstrInfo", "(", ")", ")", ";", "Node", "=", "AdjustRegClass", "(", "Node", ",", "DAG", ")", ";", "if", "(", "TII", "->", "isMIMG", "(", "Node", "->", "getMachineOpcode", "(", ")", ")", ")", "adjustWritemask", "(", "Node", ",", "DAG", ")", ";", "return", "foldOperands", "(", "Node", ",", "DAG", ")", ";", "}", ""], "natrual_language": ["Fold", "the", "instructions", "after", "selecting", "them", "."], "TS_V_token": ["R600", "SI", "SI", "SI"], "File": "SIISelLowering126", "Func": "PostISelFolding", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3528, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isImm", "(", ")", "const", "{", "return", "Kind", "==", "K_Immediate", ";", "}", ""], "natrual_language": ["isImm", "-", "Is", "this", "an", "immediate", "operand", "?"], "TS_V_token": ["Nyuzi"], "File": "NyuziAsmParser", "Func": "isImm", "Target": "Nyuzi", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3529, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstrBuilder", "buildLoad", "(", "const", "DstOp", "&", "Res", ",", "Register", "Addr", ",", "LLT", "MemTy", ",", "MachinePointerInfo", "&", "MPO", ")", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "auto", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MPO", ",", "MachineMemOperand", "::", "MOLoad", ",", "MemTy", ",", "inferAlignFromPtrInfo", "(", "MF", ",", "MPO", ")", ")", ";", "return", "MIRBuilder", ".", "buildLoad", "(", "Res", ",", "Addr", ",", "*", "MMO", ")", ";", "}", ""], "natrual_language": ["Build", "and", "insert", "a", "G_LOAD", "instruction", ",", "while", "constructing", "the", "MachineMemOperand", "."], "TS_V_token": ["ARM"], "File": "ARMCallLowering14", "Func": "buildLoad", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3530, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64InstPrinter", "::", "printImplicitlyTypedVectorList", "(", "const", "MCInst", "*", "MI", ",", "unsigned", "OpNum", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "raw_ostream", "&", "O", ")", "{", "printVectorList", "(", "MI", ",", "OpNum", ",", "STI", ",", "O", ",", "\"\"", ")", ";", "}", ""], "natrual_language": ["Print", "a", "list", "of", "vector", "registers", "where", "the", "type", "suffix", "is", "implicit", "(", "i.e", "."], "TS_V_token": ["AArch64", "AArch64", "\"\""], "File": "AArch64InstPrinter (2)", "Func": "printImplicitlyTypedVectorList", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3531, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "unsigned", "long", "*", "ia64_rse_rnat_addr", "(", "unsigned", "long", "*", "slot_addr", ")", "{", "return", "(", "unsigned", "long", "*", ")", "(", "(", "unsigned", "long", ")", "slot_addr", "|", "(", "0x3f", "<<", "3", ")", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "address", "of", "the", "RNAT", "slot", "that", "covers", "the", "slot", "at", "address", "SLOT_ADDR", "."], "TS_V_token": ["ia64", "0x3f", "3"], "File": "unwind-ia64", "Func": "ia64_rse_rnat_addr", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3532, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "NVPTXTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "CodeGenOpt", "::", "Level", "OptLevel", "=", "CodeGenOpt", "::", "Aggressive", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", "::", "ADD", ":", "case", "ISD", "::", "FADD", ":", "return", "PerformADDCombine", "(", "N", ",", "DCI", ",", "nvptxSubtarget", ",", "OptLevel", ")", ";", "case", "ISD", "::", "MUL", ":", "return", "PerformMULCombine", "(", "N", ",", "DCI", ",", "OptLevel", ")", ";", "case", "ISD", "::", "SHL", ":", "return", "PerformSHLCombine", "(", "N", ",", "DCI", ",", "OptLevel", ")", ";", "case", "ISD", "::", "AND", ":", "return", "PerformANDCombine", "(", "N", ",", "DCI", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["This", "method", "will", "be", "invoked", "for", "all", "target", "nodes", "and", "for", "any", "target-independent", "nodes", "that", "the", "target", "has", "registered", "with", "invoke", "it", "for", "."], "TS_V_token": ["NVPTX", "NVPTX", "ISD::ADD", "ISD::FADD", "ISD::MUL", "ISD::SHL", "ISD::AND"], "File": "NVPTXISelLowering1", "Func": "PerformDAGCombine", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3533, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_insert_insn_pseudos", "(", "void", ")", "{", "bool", "insn_pseudo_needed", "=", "TRUE", ";", "rtx_insn", "*", "insn", ";", "for", "(", "insn", "=", "get_last_insn", "(", ")", ";", "insn", "!=", "NULL_RTX", ";", "insn", "=", "PREV_INSN", "(", "insn", ")", ")", "switch", "(", "GET_CODE", "(", "insn", ")", ")", "{", "case", "INSN", ":", "if", "(", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "UNSPEC_VOLATILE", "&&", "XINT", "(", "PATTERN", "(", "insn", ")", ",", "1", ")", "==", "UNSPEC_CONSTTABLE", ")", "{", "insn_pseudo_needed", "=", "TRUE", ";", "break", ";", "}", "case", "JUMP_INSN", ":", "case", "CALL_INSN", ":", "case", "JUMP_TABLE_DATA", ":", "insn_pseudo_needed", "=", "FALSE", ";", "break", ";", "case", "CODE_LABEL", ":", "if", "(", "insn_pseudo_needed", ")", "{", "emit_insn_after", "(", "gen_insn_pseudo", "(", ")", ",", "insn", ")", ";", "insn_pseudo_needed", "=", "FALSE", ";", "}", "break", ";", "default", ":", "break", ";", "}", "}", ""], "natrual_language": ["Insert", "a", "`", ".insn", "'", "assembly", "pseudo-op", "after", "any", "labels", "followed", "by", "a", "MIPS16", "constant", "pool", "or", "no", "insn", "at", "all", ".", "This", "is", "needed", "so", "that", "targets", "that", "have", "been", "optimized", "away", "are", "still", "marked", "as", "code", "and", "therefore", "branches", "that", "remained", "and", "point", "to", "them", "are", "known", "to", "retain", "the", "ISA", "mode", "and", "as", "such", "can", "be", "successfully", "assembled", "."], "TS_V_token": ["mips", "1"], "File": "mips", "Func": "mips_insert_insn_pseudos", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3534, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "uint16_t", "name", "(", "struct", "InternalInstruction", "*", "insn", ",", "OperandType", "type", ",", "\\", "uint8_t", "index", ",", "uint8_t", "*", "valid", ")", "{", "\\", "*", "valid", "=", "1", ";", "\\", "switch", "(", "type", ")", "{", "\\", "default", ":", "\\", "debug", "(", "\"Unhandled register type\"", ")", ";", "\\", "*", "valid", "=", "0", ";", "\\", "return", "0", ";", "\\", "case", "TYPE_Rv", ":", "\\", "return", "base", "+", "index", ";", "\\", "case", "TYPE_R8", ":", "\\", "index", "&=", "mask", ";", "\\", "if", "(", "index", ">", "0xf", ")", "\\", "*", "valid", "=", "0", ";", "\\", "if", "(", "insn", "->", "rexPrefix", "&&", "index", ">=", "4", "&&", "index", "<=", "7", ")", "{", "\\", "return", "prefix", "##", "_SPL", "+", "(", "index", "-", "4", ")", ";", "\\", "}", "else", "{", "\\", "return", "prefix", "##", "_AL", "+", "index", ";", "\\", "}", "\\", "case", "TYPE_R16", ":", "\\", "index", "&=", "mask", ";", "\\", "if", "(", "index", ">", "0xf", ")", "\\", "*", "valid", "=", "0", ";", "\\", "return", "prefix", "##", "_AX", "+", "index", ";", "\\", "case", "TYPE_R32", ":", "\\", "index", "&=", "mask", ";", "\\", "if", "(", "index", ">", "0xf", ")", "\\", "*", "valid", "=", "0", ";", "\\", "return", "prefix", "##", "_EAX", "+", "index", ";", "\\", "case", "TYPE_R64", ":", "\\", "index", "&=", "mask", ";", "\\", "if", "(", "index", ">", "0xf", ")", "\\", "*", "valid", "=", "0", ";", "\\", "return", "prefix", "##", "_RAX", "+", "index", ";", "\\", "case", "TYPE_ZMM", ":", "\\", "return", "prefix", "##", "_ZMM0", "+", "index", ";", "\\", "case", "TYPE_YMM", ":", "\\", "return", "prefix", "##", "_YMM0", "+", "index", ";", "\\", "case", "TYPE_XMM", ":", "\\", "return", "prefix", "##", "_XMM0", "+", "index", ";", "\\", "case", "TYPE_VK", ":", "\\", "index", "&=", "0xf", ";", "\\", "if", "(", "index", ">", "7", ")", "\\", "*", "valid", "=", "0", ";", "\\", "return", "prefix", "##", "_K0", "+", "index", ";", "\\", "case", "TYPE_VK_PAIR", ":", "\\", "if", "(", "index", ">", "7", ")", "\\", "*", "valid", "=", "0", ";", "\\", "return", "prefix", "##", "_K0_K1", "+", "(", "index", "/", "2", ")", ";", "\\", "case", "TYPE_MM64", ":", "\\", "return", "prefix", "##", "_MM0", "+", "(", "index", "&", "0x7", ")", ";", "\\", "case", "TYPE_SEGMENTREG", ":", "\\", "if", "(", "(", "index", "&", "7", ")", ">", "5", ")", "\\", "*", "valid", "=", "0", ";", "\\", "return", "prefix", "##", "_ES", "+", "(", "index", "&", "7", ")", ";", "\\", "case", "TYPE_DEBUGREG", ":", "\\", "return", "prefix", "##", "_DR0", "+", "index", ";", "\\", "case", "TYPE_CONTROLREG", ":", "\\", "return", "prefix", "##", "_CR0", "+", "index", ";", "\\", "case", "TYPE_BNDR", ":", "\\", "if", "(", "index", ">", "3", ")", "\\", "*", "valid", "=", "0", ";", "\\", "return", "prefix", "##", "_BND0", "+", "index", ";", "\\", "case", "TYPE_MVSIBX", ":", "\\", "return", "prefix", "##", "_XMM0", "+", "index", ";", "\\", "case", "TYPE_MVSIBY", ":", "\\", "return", "prefix", "##", "_YMM0", "+", "index", ";", "\\", "case", "TYPE_MVSIBZ", ":", "\\", "return", "prefix", "##", "_ZMM0", "+", "index", ";", "\\", "}", "\\", "}", ""], "natrual_language": ["Gets", "the", "name", "of", "the", "pass", "we", "are", "mixed", "into", "."], "TS_V_token": ["X86", "1", "\"Unhandled register type\"", "0", "0", "0xf", "0", "4", "7", "4", "0xf", "0", "0xf", "0", "0xf", "0", "0xf", "7", "0", "7", "0", "2", "0x7", "7", "5", "0", "7", "3", "0"], "File": "X86Disassembler33", "Func": "name", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3535, "Length": 449, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "RISCV", "::", "FixupKind", "getFixupKind", "(", ")", "const", "{", "return", "getFixupKind", "(", "Kind", ")", ";", "}", ""], "natrual_language": ["getFixupKind", "-", "Get", "the", "fixup", "kind", "of", "this", "expression", "."], "TS_V_token": ["RISCV", "RISCV::FixupKind"], "File": "RISCVMCExpr17", "Func": "getFixupKind", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3536, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "::", "HazardType", "ARMHazardRecognizer", "::", "getHazardType", "(", "SUnit", "*", "SU", ",", "int", "Stalls", ")", "{", "assert", "(", "Stalls", "==", "0", "&&", "\"ARM hazards don't support scoreboard lookahead\"", ")", ";", "MachineInstr", "*", "MI", "=", "SU", "->", "getInstr", "(", ")", ";", "if", "(", "!", "MI", "->", "isDebugValue", "(", ")", ")", "{", "const", "MCInstrDesc", "&", "MCID", "=", "MI", "->", "getDesc", "(", ")", ";", "if", "(", "LastMI", "&&", "(", "MCID", ".", "TSFlags", "&", "ARMII", "::", "DomainMask", ")", "!=", "ARMII", "::", "DomainGeneral", ")", "{", "MachineInstr", "*", "DefMI", "=", "LastMI", ";", "const", "MCInstrDesc", "&", "LastMCID", "=", "LastMI", "->", "getDesc", "(", ")", ";", "const", "TargetMachine", "&", "TM", "=", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getTarget", "(", ")", ";", "const", "ARMBaseInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "ARMBaseInstrInfo", "*", ">", "(", "TM", ".", "getInstrInfo", "(", ")", ")", ";", "if", "(", "!", "LastMI", "->", "isBarrier", "(", ")", "&&", "!", "(", "TII", ".", "getSubtarget", "(", ")", ".", "isLikeA9", "(", ")", "&&", "(", "LastMI", "->", "mayLoad", "(", ")", "||", "LastMI", "->", "mayStore", "(", ")", ")", ")", "&&", "(", "LastMCID", ".", "TSFlags", "&", "ARMII", "::", "DomainMask", ")", "==", "ARMII", "::", "DomainGeneral", ")", "{", "MachineBasicBlock", "::", "iterator", "I", "=", "LastMI", ";", "if", "(", "I", "!=", "LastMI", "->", "getParent", "(", ")", "->", "begin", "(", ")", ")", "{", "I", "=", "llvm", "::", "prior", "(", "I", ")", ";", "DefMI", "=", "&", "*", "I", ";", "}", "}", "if", "(", "TII", ".", "isFpMLxInstruction", "(", "DefMI", "->", "getOpcode", "(", ")", ")", "&&", "(", "TII", ".", "canCauseFpMLxStall", "(", "MI", "->", "getOpcode", "(", ")", ")", "||", "hasRAWHazard", "(", "DefMI", ",", "MI", ",", "TII", ".", "getRegisterInfo", "(", ")", ")", ")", ")", "{", "if", "(", "FpMLxStalls", "==", "0", ")", "FpMLxStalls", "=", "4", ";", "return", "Hazard", ";", "}", "}", "}", "return", "ScoreboardHazardRecognizer", "::", "getHazardType", "(", "SU", ",", "Stalls", ")", ";", "}", ""], "natrual_language": ["getHazardType", "-", "Return", "the", "hazard", "type", "of", "emitting", "this", "node", "."], "TS_V_token": ["ARM", "ARM", "0", "\"ARM hazards don't support scoreboard lookahead\"", "ARMII::DomainMask", "ARMII::DomainGeneral", "ARM", "ARM", "ARMII::DomainMask", "ARMII::DomainGeneral", "0", "4"], "File": "ARMHazardRecognizer24", "Func": "getHazardType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3537, "Length": 287, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstrBuilder", "R600InstrInfo", "::", "buildDefaultInstruction", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "Opcode", ",", "unsigned", "DstReg", ",", "unsigned", "Src0Reg", ",", "unsigned", "Src1Reg", ")", "const", "{", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "I", ",", "MBB", ".", "findDebugLoc", "(", "I", ")", ",", "get", "(", "Opcode", ")", ",", "DstReg", ")", ";", "if", "(", "Src1Reg", ")", "{", "MIB", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "0", ")", ";", "}", "MIB", ".", "addImm", "(", "1", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "Src0Reg", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "-", "1", ")", ";", "if", "(", "Src1Reg", ")", "{", "MIB", ".", "addReg", "(", "Src1Reg", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "-", "1", ")", ";", "}", "MIB", ".", "addImm", "(", "1", ")", ".", "addReg", "(", "R600", "::", "PRED_SEL_OFF", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "0", ")", ";", "return", "MIB", ";", "}", ""], "natrual_language": ["buildDefaultInstruction", "-", "This", "function", "returns", "a", "MachineInstr", "with", "all", "the", "instruction", "modifiers", "initialized", "to", "their", "default", "values", "."], "TS_V_token": ["AMDGPU", "R600", "0", "0", "1", "0", "0", "0", "0", "0", "0", "1", "0", "0", "0", "1", "1", "R600::PRED_SEL_OFF", "0", "0"], "File": "R600InstrInfo (2)1", "Func": "buildDefaultInstruction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3538, "Length": 180, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MOSRegisterBankInfo", "::", "applyMappingImpl", "(", "const", "OperandsMapper", "&", "OpdMapper", ")", "const", "{", "applyDefaultMapping", "(", "OpdMapper", ")", ";", "}", ""], "natrual_language": ["See", "RegisterBankInfo", ":", ":applyMapping", "."], "TS_V_token": ["MOS", "MOS"], "File": "MOSRegisterBankInfo", "Func": "applyMappingImpl", "Target": "MOS", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3539, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_init_pauth_hint_builtins", "(", "void", ")", "{", "tree", "ftype_pointer_auth", "=", "build_function_type_list", "(", "ptr_type_node", ",", "ptr_type_node", ",", "unsigned_intDI_type_node", ",", "NULL_TREE", ")", ";", "tree", "ftype_pointer_strip", "=", "build_function_type_list", "(", "ptr_type_node", ",", "ptr_type_node", ",", "NULL_TREE", ")", ";", "aarch64_builtin_decls", "[", "AARCH64_PAUTH_BUILTIN_AUTIA1716", "]", "=", "add_builtin_function", "(", "\"__builtin_aarch64_autia1716\"", ",", "ftype_pointer_auth", ",", "AARCH64_PAUTH_BUILTIN_AUTIA1716", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "aarch64_builtin_decls", "[", "AARCH64_PAUTH_BUILTIN_PACIA1716", "]", "=", "add_builtin_function", "(", "\"__builtin_aarch64_pacia1716\"", ",", "ftype_pointer_auth", ",", "AARCH64_PAUTH_BUILTIN_PACIA1716", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "aarch64_builtin_decls", "[", "AARCH64_PAUTH_BUILTIN_XPACLRI", "]", "=", "add_builtin_function", "(", "\"__builtin_aarch64_xpaclri\"", ",", "ftype_pointer_strip", ",", "AARCH64_PAUTH_BUILTIN_XPACLRI", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "}", ""], "natrual_language": ["Pointer", "authentication", "builtins", "that", "will", "become", "NOP", "on", "legacy", "platform", ".", "Currently", ",", "these", "builtins", "are", "for", "internal", "use", "only", "(", "libgcc", "EH", "unwinder", ")", "."], "TS_V_token": ["aarch64", "\"__builtin_aarch64_autia1716\"", "\"__builtin_aarch64_pacia1716\"", "\"__builtin_aarch64_xpaclri\""], "File": "aarch64-builtins4", "Func": "aarch64_init_pauth_hint_builtins", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3540, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_evpc_neon_vext", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "int", "i", ",", "nelt", "=", "d", "->", "nelt", ";", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ")", ";", "rtx", "offset", ";", "unsigned", "int", "location", ";", "unsigned", "int", "next", "=", "d", "->", "perm", "[", "0", "]", "+", "1", ";", "if", "(", "BYTES_BIG_ENDIAN", ")", "return", "false", ";", "for", "(", "i", "=", "1", ";", "i", "<", "nelt", ";", "next", "++", ",", "i", "++", ")", "{", "if", "(", "next", "==", "2", "*", "nelt", ")", "return", "false", ";", "if", "(", "d", "->", "one_vector_p", "&&", "(", "next", "==", "nelt", ")", ")", "{", "if", "(", "(", "nelt", "==", "2", ")", "&&", "(", "d", "->", "vmode", "!=", "V2DImode", ")", ")", "return", "false", ";", "else", "next", "=", "0", ";", "}", "if", "(", "d", "->", "perm", "[", "i", "]", "!=", "next", ")", "return", "false", ";", "}", "location", "=", "d", "->", "perm", "[", "0", "]", ";", "switch", "(", "d", "->", "vmode", ")", "{", "case", "V16QImode", ":", "gen", "=", "gen_neon_vextv16qi", ";", "break", ";", "case", "V8QImode", ":", "gen", "=", "gen_neon_vextv8qi", ";", "break", ";", "case", "V4HImode", ":", "gen", "=", "gen_neon_vextv4hi", ";", "break", ";", "case", "V8HImode", ":", "gen", "=", "gen_neon_vextv8hi", ";", "break", ";", "case", "V2SImode", ":", "gen", "=", "gen_neon_vextv2si", ";", "break", ";", "case", "V4SImode", ":", "gen", "=", "gen_neon_vextv4si", ";", "break", ";", "case", "V4HFmode", ":", "gen", "=", "gen_neon_vextv4hf", ";", "break", ";", "case", "V8HFmode", ":", "gen", "=", "gen_neon_vextv8hf", ";", "break", ";", "case", "V2SFmode", ":", "gen", "=", "gen_neon_vextv2sf", ";", "break", ";", "case", "V4SFmode", ":", "gen", "=", "gen_neon_vextv4sf", ";", "break", ";", "case", "V2DImode", ":", "gen", "=", "gen_neon_vextv2di", ";", "break", ";", "default", ":", "return", "false", ";", "}", "if", "(", "d", "->", "testing_p", ")", "return", "true", ";", "offset", "=", "GEN_INT", "(", "location", ")", ";", "emit_insn", "(", "gen", "(", "d", "->", "target", ",", "d", "->", "op0", ",", "d", "->", "op1", ",", "offset", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Recognize", "patterns", "for", "the", "VEXT", "insns", "."], "TS_V_token": ["arm", "0", "1", "1", "2", "2", "0", "0"], "File": "arm6", "Func": "arm_evpc_neon_vext", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3541, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_parse_arch", "(", "void", ")", "{", "char", "*", "ext", ";", "const", "struct", "processor", "*", "arch", ";", "char", "*", "str", "=", "(", "char", "*", ")", "alloca", "(", "strlen", "(", "aarch64_arch_string", ")", "+", "1", ")", ";", "size_t", "len", ";", "strcpy", "(", "str", ",", "aarch64_arch_string", ")", ";", "ext", "=", "strchr", "(", "str", ",", "'+'", ")", ";", "if", "(", "ext", "!=", "NULL", ")", "len", "=", "ext", "-", "str", ";", "else", "len", "=", "strlen", "(", "str", ")", ";", "if", "(", "len", "==", "0", ")", "{", "error", "(", "\"missing arch name in -march=%qs\"", ",", "str", ")", ";", "return", ";", "}", "for", "(", "arch", "=", "all_architectures", ";", "arch", "->", "name", "!=", "NULL", ";", "arch", "++", ")", "{", "if", "(", "strlen", "(", "arch", "->", "name", ")", "==", "len", "&&", "strncmp", "(", "arch", "->", "name", ",", "str", ",", "len", ")", "==", "0", ")", "{", "selected_arch", "=", "arch", ";", "aarch64_isa_flags", "=", "selected_arch", "->", "flags", ";", "if", "(", "!", "selected_cpu", ")", "selected_cpu", "=", "&", "all_cores", "[", "selected_arch", "->", "core", "]", ";", "if", "(", "ext", "!=", "NULL", ")", "{", "aarch64_parse_extension", "(", "ext", ")", ";", "}", "if", "(", "strcmp", "(", "selected_arch", "->", "arch", ",", "selected_cpu", "->", "arch", ")", ")", "{", "warning", "(", "0", ",", "\"switch -mcpu=%s conflicts with -march=%s switch\"", ",", "selected_cpu", "->", "name", ",", "selected_arch", "->", "name", ")", ";", "}", "return", ";", "}", "}", "error", "(", "\"unknown value %qs for -march\"", ",", "str", ")", ";", "return", ";", "}", ""], "natrual_language": ["Parse", "the", "TO_PARSE", "string", "and", "put", "the", "architecture", "struct", "that", "it", "selects", "into", "RES", "and", "the", "architectural", "features", "into", "ISA_FLAGS", ".", "Return", "an", "aarch64_parse_opt_result", "describing", "the", "parse", "result", ".", "If", "there", "is", "an", "error", "parsing", ",", "RES", "and", "ISA_FLAGS", "are", "left", "unchanged", "."], "TS_V_token": ["aarch64", "1", "0", "\"missing arch name in -march=%qs\"", "0", "0", "\"switch -mcpu=%s conflicts with -march=%s switch\"", "\"unknown value %qs for -march\""], "File": "aarch642", "Func": "aarch64_parse_arch", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3542, "Length": 214, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "override", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "UPT", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"fixup_upt_mov_hi16_pcrel\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_upt_mov_lo16_pcrel\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "}", ";", "if", "(", "Kind", "<", "FirstTargetFixupKind", ")", "{", "return", "MCAsmBackend", "::", "getFixupKindInfo", "(", "Kind", ")", ";", "}", "assert", "(", "unsigned", "(", "Kind", "-", "FirstTargetFixupKind", ")", "<", "getNumFixupKinds", "(", ")", "&&", "\"Invalid kind!\"", ")", ";", "return", "Infos", "[", "Kind", "-", "FirstTargetFixupKind", "]", ";", "}", ""], "natrual_language": ["Get", "information", "on", "a", "fixup", "kind", "."], "TS_V_token": ["UPT", "UPT::NumTargetFixupKinds", "\"fixup_upt_mov_hi16_pcrel\"", "0", "32", "\"fixup_upt_mov_lo16_pcrel\"", "0", "32", "\"Invalid kind!\""], "File": "UPTAsmBackend", "Func": "getFixupKindInfo", "Target": "UPT", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3543, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "optimal_immediate_sequence_1", "(", "enum", "rtx_code", "code", ",", "unsigned", "HOST_WIDE_INT", "val", ",", "struct", "four_ints", "*", "return_sequence", ",", "int", "i", ")", "{", "int", "remainder", "=", "val", "&", "0xffffffff", ";", "int", "insns", "=", "0", ";", "do", "{", "int", "end", ";", "unsigned", "int", "b1", ",", "b2", ",", "b3", ",", "b4", ";", "unsigned", "HOST_WIDE_INT", "result", ";", "int", "loc", ";", "gcc_assert", "(", "insns", "<", "4", ")", ";", "if", "(", "i", "<=", "0", ")", "i", "+=", "32", ";", "if", "(", "remainder", "&", "(", "(", "TARGET_ARM", "?", "(", "3", "<<", "(", "i", "-", "2", ")", ")", ":", "(", "1", "<<", "(", "i", "-", "1", ")", ")", ")", ")", ")", "{", "loc", "=", "i", ";", "if", "(", "i", "<=", "12", "&&", "TARGET_THUMB2", "&&", "code", "==", "PLUS", ")", "result", "=", "remainder", ";", "else", "{", "end", "=", "i", "-", "8", ";", "if", "(", "end", "<", "0", ")", "end", "+=", "32", ";", "result", "=", "remainder", "&", "(", "(", "0x0ff", "<<", "end", ")", "|", "(", "(", "i", "<", "end", ")", "?", "(", "0xff", ">>", "(", "32", "-", "end", ")", ")", ":", "0", ")", ")", ";", "i", "-=", "8", ";", "}", "}", "else", "{", "i", "-=", "TARGET_ARM", "?", "2", ":", "1", ";", "continue", ";", "}", "if", "(", "TARGET_THUMB2", ")", "{", "b1", "=", "(", "remainder", "&", "0xff000000", ")", ">>", "24", ";", "b2", "=", "(", "remainder", "&", "0x00ff0000", ")", ">>", "16", ";", "b3", "=", "(", "remainder", "&", "0x0000ff00", ")", ">>", "8", ";", "b4", "=", "remainder", "&", "0xff", ";", "if", "(", "loc", ">", "24", ")", "{", "unsigned", "int", "tmp", "=", "b1", "&", "b2", "&", "b3", "&", "b4", ";", "unsigned", "int", "tmp2", "=", "tmp", "+", "(", "tmp", "<<", "8", ")", "+", "(", "tmp", "<<", "16", ")", "+", "(", "tmp", "<<", "24", ")", ";", "unsigned", "int", "matching_bytes", "=", "(", "tmp", "==", "b1", ")", "+", "(", "tmp", "==", "b2", ")", "+", "(", "tmp", "==", "b3", ")", "+", "(", "tmp", "==", "b4", ")", ";", "if", "(", "tmp", "&&", "(", "matching_bytes", ">=", "3", "||", "(", "matching_bytes", "==", "2", "&&", "const_ok_for_op", "(", "remainder", "&", "~", "tmp2", ",", "code", ")", ")", ")", ")", "{", "result", "=", "tmp2", ";", "i", "=", "tmp", "!=", "b1", "?", "32", ":", "tmp", "!=", "b2", "?", "24", ":", "tmp", "!=", "b3", "?", "16", ":", "8", ";", "}", "else", "if", "(", "b1", "==", "b3", "&&", "(", "!", "b2", "||", "!", "b4", "||", "(", "remainder", "&", "0x00ff0000", "&", "~", "result", ")", ")", ")", "{", "result", "=", "remainder", "&", "0xff00ff00", ";", "i", "=", "24", ";", "}", "}", "else", "if", "(", "loc", ">", "16", ")", "{", "if", "(", "b2", "==", "b4", ")", "{", "result", "=", "remainder", "&", "0x00ff00ff", ";", "i", "=", "16", ";", "}", "}", "}", "return_sequence", "->", "i", "[", "insns", "++", "]", "=", "result", ";", "remainder", "&=", "~", "result", ";", "if", "(", "code", "==", "SET", "||", "code", "==", "MINUS", ")", "code", "=", "PLUS", ";", "}", "while", "(", "remainder", ")", ";", "return", "insns", ";", "}", ""], "natrual_language": ["As", "for", "optimal_immediate_sequence", ",", "but", "starting", "at", "bit-position", "I", "."], "TS_V_token": ["arm", "0xffffffff", "0", "4", "0", "32", "3", "2", "1", "1", "12", "8", "0", "32", "0x0ff", "0xff", "32", "0", "8", "2", "1", "0xff000000", "24", "0x00ff0000", "16", "0x0000ff00", "8", "0xff", "24", "8", "16", "24", "3", "2", "32", "24", "16", "8", "0x00ff0000", "0xff00ff00", "24", "16", "0x00ff00ff", "16"], "File": "arm", "Func": "optimal_immediate_sequence_1", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3544, "Length": 462, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getEUsPerCU", "(", ")", "const", "{", "return", "4", ";", "}", ""], "natrual_language": ["Number", "of", "SIMDs/EUs", "(", "execution", "units", ")", "per", "``", "CU", "''", "(", "``", "compute", "unit", "''", ")", ",", "where", "the", "``", "CU", "''", "is", "the", "unit", "onto", "which", "workgroups", "are", "mapped", "."], "TS_V_token": ["AMDGPU", "4"], "File": "AMDGPUSubtarget36", "Func": "getEUsPerCU", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3545, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "SPURegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["CellSPU", "SPU"], "File": "SPUTargetMachine1", "Func": "getRegisterInfo", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3546, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "requiresRegisterScavenging", "(", "const", "MachineFunction", "&", "MF", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "requires", "(", "and", "can", "make", "use", "of", ")", "the", "register", "scavenger", "."], "TS_V_token": ["TL45"], "File": "TL45RegisterInfo", "Func": "requiresRegisterScavenging", "Target": "TL45", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3547, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonHazardRecognizer", "::", "ShouldPreferAnother", "(", "SUnit", "*", "SU", ")", "{", "return", "UsesDotCur", "&&", "(", "(", "SU", "==", "UsesDotCur", ")", "^", "(", "DotCurPNum", "==", "(", "int", ")", "PacketNum", ")", ")", ";", "}", ""], "natrual_language": ["ShouldPreferAnother", "-", "This", "callback", "may", "be", "invoked", "if", "getHazardType", "returns", "NoHazard", "."], "TS_V_token": ["Hexagon", "Hexagon"], "File": "HexagonHazardRecognizer4", "Func": "ShouldPreferAnother", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3548, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_xcoff_file_start", "(", "void", ")", "{", "rs6000_gen_section_name", "(", "&", "xcoff_bss_section_name", ",", "main_input_filename", ",", "\".bss_\"", ")", ";", "rs6000_gen_section_name", "(", "&", "xcoff_private_data_section_name", ",", "main_input_filename", ",", "\".rw_\"", ")", ";", "rs6000_gen_section_name", "(", "&", "xcoff_read_only_section_name", ",", "main_input_filename", ",", "\".ro_\"", ")", ";", "rs6000_gen_section_name", "(", "&", "xcoff_tls_data_section_name", ",", "main_input_filename", ",", "\".tls_\"", ")", ";", "rs6000_gen_section_name", "(", "&", "xcoff_tbss_section_name", ",", "main_input_filename", ",", "\".tbss_[UL]\"", ")", ";", "fputs", "(", "\"\\t.file\\t\"", ",", "asm_out_file", ")", ";", "output_quoted_string", "(", "asm_out_file", ",", "main_input_filename", ")", ";", "fputc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "if", "(", "write_symbols", "!=", "NO_DEBUG", ")", "switch_to_section", "(", "private_data_section", ")", ";", "switch_to_section", "(", "text_section", ")", ";", "if", "(", "profile_flag", ")", "fprintf", "(", "asm_out_file", ",", "\"\\t.extern %s\\n\"", ",", "RS6000_MCOUNT", ")", ";", "rs6000_file_start", "(", ")", ";", "}", ""], "natrual_language": ["Output", "at", "beginning", "of", "assembler", "file", ".", "Initialize", "the", "section", "names", "for", "the", "RS/6000", "at", "this", "point", ".", "Specify", "filename", ",", "including", "full", "path", ",", "to", "assembler", ".", "We", "want", "to", "go", "into", "the", "TOC", "section", "so", "at", "least", "one", ".toc", "will", "be", "emitted", ".", "Also", ",", "in", "order", "to", "output", "proper", ".bs/.es", "pairs", ",", "we", "need", "at", "least", "one", "static", "[", "RW", "]", "section", "emitted", ".", "Finally", ",", "declare", "mcount", "when", "profiling", "to", "make", "the", "assembler", "happy", "."], "TS_V_token": ["rs6000", "\".bss_\"", "\".rw_\"", "\".ro_\"", "\".tls_\"", "\".tbss_[UL]\"", "\"\\t.file\\t\"", "\"\\t.extern %s\\n\""], "File": "rs60004", "Func": "rs6000_xcoff_file_start", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3549, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mn10300_gen_multiple_store", "(", "unsigned", "int", "mask", ")", "{", "static", "const", "unsigned", "int", "store_order", "[", "8", "]", "=", "{", "FIRST_EXTENDED_REGNUM", "+", "4", ",", "FIRST_EXTENDED_REGNUM", "+", "5", ",", "FIRST_EXTENDED_REGNUM", "+", "6", ",", "FIRST_EXTENDED_REGNUM", "+", "7", ",", "FIRST_DATA_REGNUM", "+", "2", ",", "FIRST_DATA_REGNUM", "+", "3", ",", "FIRST_ADDRESS_REGNUM", "+", "2", ",", "FIRST_ADDRESS_REGNUM", "+", "3", ",", "}", ";", "rtx", "x", ",", "elts", "[", "9", "]", ";", "unsigned", "int", "i", ";", "int", "count", ";", "if", "(", "mask", "==", "0", ")", "return", ";", "for", "(", "i", "=", "count", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "store_order", ")", ";", "++", "i", ")", "{", "unsigned", "regno", "=", "store_order", "[", "i", "]", ";", "if", "(", "(", "(", "mask", ">>", "regno", ")", "&", "1", ")", "==", "0", ")", "continue", ";", "++", "count", ";", "x", "=", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "count", "*", "-", "4", ")", ";", "x", "=", "gen_frame_mem", "(", "SImode", ",", "x", ")", ";", "x", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "x", ",", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ")", ";", "elts", "[", "count", "]", "=", "F", "(", "x", ")", ";", "mask", "&=", "~", "(", "1u", "<<", "regno", ")", ";", "}", "gcc_assert", "(", "mask", "==", "0", ")", ";", "x", "=", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "count", "*", "-", "4", ")", ";", "x", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "stack_pointer_rtx", ",", "x", ")", ";", "elts", "[", "0", "]", "=", "F", "(", "x", ")", ";", "x", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec_v", "(", "count", "+", "1", ",", "elts", ")", ")", ";", "F", "(", "emit_insn", "(", "x", ")", ")", ";", "}", ""], "natrual_language": ["Generate", "an", "instruction", "that", "pushes", "several", "registers", "onto", "the", "stack", ".", "Register", "K", "will", "be", "saved", "if", "bit", "K", "in", "MASK", "is", "set", ".", "The", "function", "does", "nothing", "if", "MASK", "is", "zero", ".", "To", "be", "compatible", "with", "the", "``", "movm", "''", "instruction", ",", "the", "lowest-numbered", "register", "must", "be", "stored", "in", "the", "lowest", "slot", ".", "If", "MASK", "is", "the", "set", "{", "R1", ",", "...", ",", "RN", "}", ",", "where", "R1", "...", "RN", "are", "ordered", "least", "first", ",", "the", "generated", "instruction", "will", "have", "the", "form", ":", "(", "parallel", "(", "set", "(", "reg", ":", "SI", "9", ")", "(", "plus", ":", "SI", "(", "reg", ":", "SI", "9", ")", "(", "const_int", "-N", "*", "4", ")", ")", ")", "(", "set", "(", "mem", ":", "SI", "(", "plus", ":", "SI", "(", "reg", ":", "SI", "9", ")", "(", "const_int", "-1", "*", "4", ")", ")", ")", "(", "reg", ":", "SI", "RN", ")", ")", "...", "(", "set", "(", "mem", ":", "SI", "(", "plus", ":", "SI", "(", "reg", ":", "SI", "9", ")", "(", "const_int", "-N", "*", "4", ")", ")", ")", "(", "reg", ":", "SI", "R1", ")", ")", ")"], "TS_V_token": ["mn10300", "8", "4", "5", "6", "7", "2", "3", "2", "3", "9", "0", "0", "1", "0", "4", "1u", "0", "4", "0", "1"], "File": "mn103004", "Func": "mn10300_gen_multiple_store", "Target": "mn10300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3550, "Length": 248, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMTargetLowering", "::", "isLegalICmpImmediate", "(", "int64_t", "Imm", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "isThumb", "(", ")", ")", "return", "ARM_AM", "::", "getSOImmVal", "(", "Imm", ")", "!=", "-", "1", ";", "if", "(", "Subtarget", "->", "isThumb2", "(", ")", ")", "return", "ARM_AM", "::", "getT2SOImmVal", "(", "Imm", ")", "!=", "-", "1", ";", "return", "Imm", ">=", "0", "&&", "Imm", "<=", "255", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "immediate", "is", "legal", "icmp", "immediate", ",", "that", "is", "the", "target", "has", "icmp", "instructions", "which", "can", "compare", "a", "register", "against", "the", "immediate", "without", "having", "to", "materialize", "the", "immediate", "into", "a", "register", "."], "TS_V_token": ["ARM", "ARM", "ARM_AM::getSOImmVal", "1", "ARM_AM::getT2SOImmVal", "1", "0", "255"], "File": "ARMISelLowering109", "Func": "isLegalICmpImmediate", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3551, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "PPCTargetLowering", "*", "getTLI", "(", ")", "const", "{", "return", "TLI", ";", "}", ""], "natrual_language": ["Getter", "for", "generic", "TargetLowering", "class", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCTargetTransformInfo (2)", "Func": "getTLI", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3552, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "SIRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "AMDGPU", "::", "INDIRECT_BASE_ADDR", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "AMDGPU", "::", "EXEC", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "AMDGPU", "::", "FLAT_SCR", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "AMDGPU", "::", "SGPR102_SGPR103", ")", ";", "const", "AMDGPUSubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "AMDGPUSubtarget", ">", "(", ")", ";", "if", "(", "ST", ".", "getGeneration", "(", ")", ">=", "AMDGPUSubtarget", "::", "VOLCANIC_ISLANDS", ")", "{", "reserveRegisterTuples", "(", "Reserved", ",", "AMDGPU", "::", "SGPR98_SGPR99", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "AMDGPU", "::", "SGPR100_SGPR101", ")", ";", "}", "if", "(", "ST", ".", "hasSGPRInitBug", "(", ")", ")", "{", "unsigned", "NumSGPRs", "=", "AMDGPU", "::", "SGPR_32RegClass", ".", "getNumRegs", "(", ")", ";", "unsigned", "Limit", "=", "AMDGPUSubtarget", "::", "FIXED_SGPR_COUNT_FOR_INIT_BUG", "-", "4", ";", "for", "(", "unsigned", "i", "=", "Limit", ";", "i", "<", "NumSGPRs", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "AMDGPU", "::", "SGPR_32RegClass", ".", "getRegister", "(", "i", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "Reg", ")", ";", "}", "}", "const", "SIMachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "unsigned", "ScratchWaveOffsetReg", "=", "MFI", "->", "getScratchWaveOffsetReg", "(", ")", ";", "if", "(", "ScratchWaveOffsetReg", "!=", "AMDGPU", "::", "NoRegister", ")", "{", "reserveRegisterTuples", "(", "Reserved", ",", "ScratchWaveOffsetReg", ")", ";", "}", "unsigned", "ScratchRSrcReg", "=", "MFI", "->", "getScratchRSrcReg", "(", ")", ";", "if", "(", "ScratchRSrcReg", "!=", "AMDGPU", "::", "NoRegister", ")", "{", "reserveRegisterTuples", "(", "Reserved", ",", "ScratchRSrcReg", ")", ";", "assert", "(", "!", "isSubRegister", "(", "ScratchRSrcReg", ",", "ScratchWaveOffsetReg", ")", ")", ";", "}", "return", "Reserved", ";", "}", ""], "natrual_language": ["getReservedRegs", "-", "Returns", "a", "bitset", "indexed", "by", "physical", "register", "number", "indicating", "if", "a", "register", "is", "a", "special", "register", "that", "has", "particular", "uses", "and", "should", "be", "considered", "unavailable", "at", "all", "times", ",", "e.g", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU::INDIRECT_BASE_ADDR", "AMDGPU::EXEC", "AMDGPU::FLAT_SCR", "AMDGPU::SGPR102_SGPR103", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU::SGPR98_SGPR99", "AMDGPU::SGPR100_SGPR101", "AMDGPU::SGPR_32RegClass", "AMDGPU", "4", "AMDGPU::SGPR_32RegClass", "SI", "SI", "AMDGPU::NoRegister", "AMDGPU::NoRegister"], "File": "SIRegisterInfo (2)", "Func": "getReservedRegs", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3553, "Length": 248, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "avr_no_gccisr_function_p", "(", "tree", "func", ")", "{", "return", "avr_lookup_function_attribute1", "(", "func", ",", "\"no_gccisr\"", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "FUNC", "is", "a", "no_gccisr", "function", "as", "specified", "by", "the", "``", "no_gccisr", "''", "attribute", "."], "TS_V_token": ["avr", "\"no_gccisr\""], "File": "avr", "Func": "avr_no_gccisr_function_p", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3554, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameLowering", "::", "assignCalleeSavedSpillSlots", "(", "MachineFunction", "&", "MF", ",", "const", "TargetRegisterInfo", "*", "TRI", ",", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ")", "const", "{", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "X86MachineFunctionInfo", "*", "X86FI", "=", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "unsigned", "CalleeSavedFrameSize", "=", "0", ";", "int", "SpillSlotOffset", "=", "getOffsetOfLocalArea", "(", ")", "+", "X86FI", "->", "getTCReturnAddrDelta", "(", ")", ";", "int64_t", "TailCallReturnAddrDelta", "=", "X86FI", "->", "getTCReturnAddrDelta", "(", ")", ";", "if", "(", "TailCallReturnAddrDelta", "<", "0", ")", "{", "MFI", ".", "CreateFixedObject", "(", "-", "TailCallReturnAddrDelta", ",", "TailCallReturnAddrDelta", "-", "SlotSize", ",", "true", ")", ";", "}", "if", "(", "this", "->", "TRI", "->", "hasBasePointer", "(", "MF", ")", ")", "{", "if", "(", "MF", ".", "hasEHFunclets", "(", ")", ")", "{", "int", "FI", "=", "MFI", ".", "CreateSpillStackObject", "(", "SlotSize", ",", "SlotSize", ")", ";", "X86FI", "->", "setHasSEHFramePtrSave", "(", "true", ")", ";", "X86FI", "->", "setSEHFramePtrSaveIndex", "(", "FI", ")", ";", "}", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "SpillSlotOffset", "-=", "SlotSize", ";", "MFI", ".", "CreateFixedSpillStackObject", "(", "SlotSize", ",", "SpillSlotOffset", ")", ";", "unsigned", "FPReg", "=", "TRI", "->", "getFrameRegister", "(", "MF", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "CSI", ".", "size", "(", ")", ";", "++", "i", ")", "{", "if", "(", "TRI", "->", "regsOverlap", "(", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ",", "FPReg", ")", ")", "{", "CSI", ".", "erase", "(", "CSI", ".", "begin", "(", ")", "+", "i", ")", ";", "break", ";", "}", "}", "}", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "0", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "1", "]", ".", "getReg", "(", ")", ";", "if", "(", "!", "X86", "::", "GR64RegClass", ".", "contains", "(", "Reg", ")", "&&", "!", "X86", "::", "GR32RegClass", ".", "contains", "(", "Reg", ")", ")", "continue", ";", "SpillSlotOffset", "-=", "SlotSize", ";", "CalleeSavedFrameSize", "+=", "SlotSize", ";", "int", "SlotIndex", "=", "MFI", ".", "CreateFixedSpillStackObject", "(", "SlotSize", ",", "SpillSlotOffset", ")", ";", "CSI", "[", "i", "-", "1", "]", ".", "setFrameIdx", "(", "SlotIndex", ")", ";", "}", "X86FI", "->", "setCalleeSavedFrameSize", "(", "CalleeSavedFrameSize", ")", ";", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "0", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "1", "]", ".", "getReg", "(", ")", ";", "if", "(", "X86", "::", "GR64RegClass", ".", "contains", "(", "Reg", ")", "||", "X86", "::", "GR32RegClass", ".", "contains", "(", "Reg", ")", ")", "continue", ";", "MVT", "VT", "=", "MVT", "::", "Other", ";", "if", "(", "X86", "::", "VK16RegClass", ".", "contains", "(", "Reg", ")", ")", "VT", "=", "STI", ".", "hasBWI", "(", ")", "?", "MVT", "::", "v64i1", ":", "MVT", "::", "v16i1", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ",", "VT", ")", ";", "unsigned", "Size", "=", "TRI", "->", "getSpillSize", "(", "*", "RC", ")", ";", "unsigned", "Align", "=", "TRI", "->", "getSpillAlignment", "(", "*", "RC", ")", ";", "SpillSlotOffset", "-=", "std", "::", "abs", "(", "SpillSlotOffset", ")", "%", "Align", ";", "SpillSlotOffset", "-=", "Size", ";", "int", "SlotIndex", "=", "MFI", ".", "CreateFixedSpillStackObject", "(", "Size", ",", "SpillSlotOffset", ")", ";", "CSI", "[", "i", "-", "1", "]", ".", "setFrameIdx", "(", "SlotIndex", ")", ";", "MFI", ".", "ensureMaxAlignment", "(", "Align", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["This", "function", "will", "assign", "callee", "saved", "gprs", "to", "volatile", "vector", "registers", "for", "prologue", "spills", "when", "applicable", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "0", "X86", "X86", "0", "X86", "X86", "0", "0", "1", "X86::GR64RegClass", "X86::GR32RegClass", "1", "X86", "0", "1", "X86::GR64RegClass", "X86::GR32RegClass", "MVT::Other", "X86::VK16RegClass", "MVT::v64i1", "MVT::v16i1", "1"], "File": "X86FrameLowering13", "Func": "assignCalleeSavedSpillSlots", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3555, "Length": 506, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int64_t", "ARMBaseRegisterInfo", "::", "getFrameIndexInstrOffset", "(", "const", "MachineInstr", "*", "MI", ",", "int", "Idx", ")", "const", "{", "const", "MCInstrDesc", "&", "Desc", "=", "MI", "->", "getDesc", "(", ")", ";", "unsigned", "AddrMode", "=", "(", "Desc", ".", "TSFlags", "&", "ARMII", "::", "AddrModeMask", ")", ";", "int64_t", "InstrOffs", "=", "0", ";", "int", "Scale", "=", "1", ";", "unsigned", "ImmIdx", "=", "0", ";", "switch", "(", "AddrMode", ")", "{", "case", "ARMII", "::", "AddrModeT2_i8", ":", "case", "ARMII", "::", "AddrModeT2_i12", ":", "case", "ARMII", "::", "AddrMode_i12", ":", "InstrOffs", "=", "MI", "->", "getOperand", "(", "Idx", "+", "1", ")", ".", "getImm", "(", ")", ";", "Scale", "=", "1", ";", "break", ";", "case", "ARMII", "::", "AddrMode5", ":", "{", "const", "MachineOperand", "&", "OffOp", "=", "MI", "->", "getOperand", "(", "Idx", "+", "1", ")", ";", "InstrOffs", "=", "ARM_AM", "::", "getAM5Offset", "(", "OffOp", ".", "getImm", "(", ")", ")", ";", "if", "(", "ARM_AM", "::", "getAM5Op", "(", "OffOp", ".", "getImm", "(", ")", ")", "==", "ARM_AM", "::", "sub", ")", "InstrOffs", "=", "-", "InstrOffs", ";", "Scale", "=", "4", ";", "break", ";", "}", "case", "ARMII", "::", "AddrMode2", ":", "{", "ImmIdx", "=", "Idx", "+", "2", ";", "InstrOffs", "=", "ARM_AM", "::", "getAM2Offset", "(", "MI", "->", "getOperand", "(", "ImmIdx", ")", ".", "getImm", "(", ")", ")", ";", "if", "(", "ARM_AM", "::", "getAM2Op", "(", "MI", "->", "getOperand", "(", "ImmIdx", ")", ".", "getImm", "(", ")", ")", "==", "ARM_AM", "::", "sub", ")", "InstrOffs", "=", "-", "InstrOffs", ";", "break", ";", "}", "case", "ARMII", "::", "AddrMode3", ":", "{", "ImmIdx", "=", "Idx", "+", "2", ";", "InstrOffs", "=", "ARM_AM", "::", "getAM3Offset", "(", "MI", "->", "getOperand", "(", "ImmIdx", ")", ".", "getImm", "(", ")", ")", ";", "if", "(", "ARM_AM", "::", "getAM3Op", "(", "MI", "->", "getOperand", "(", "ImmIdx", ")", ".", "getImm", "(", ")", ")", "==", "ARM_AM", "::", "sub", ")", "InstrOffs", "=", "-", "InstrOffs", ";", "break", ";", "}", "case", "ARMII", "::", "AddrModeT1_s", ":", "{", "ImmIdx", "=", "Idx", "+", "1", ";", "InstrOffs", "=", "MI", "->", "getOperand", "(", "ImmIdx", ")", ".", "getImm", "(", ")", ";", "Scale", "=", "4", ";", "break", ";", "}", "default", ":", "llvm_unreachable", "(", "\"Unsupported addressing mode!\"", ")", ";", "}", "return", "InstrOffs", "*", "Scale", ";", "}", ""], "natrual_language": ["Get", "the", "offset", "from", "the", "referenced", "frame", "index", "in", "the", "instruction", ",", "if", "there", "is", "one", "."], "TS_V_token": ["ARM", "ARM", "ARMII::AddrModeMask", "0", "1", "0", "ARMII::AddrModeT2_i8", "ARMII::AddrModeT2_i12", "ARMII::AddrMode_i12", "1", "1", "ARMII::AddrMode5", "1", "ARM_AM::getAM5Offset", "ARM_AM::getAM5Op", "ARM_AM::sub", "4", "ARMII::AddrMode2", "2", "ARM_AM::getAM2Offset", "ARM_AM::getAM2Op", "ARM_AM::sub", "ARMII::AddrMode3", "2", "ARM_AM::getAM3Offset", "ARM_AM::getAM3Op", "ARM_AM::sub", "ARMII::AddrModeT1_s", "1", "4", "\"Unsupported addressing mode!\""], "File": "ARMBaseRegisterInfo13", "Func": "getFrameIndexInstrOffset", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3556, "Length": 323, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "AAPRegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", ")", "const", "{", "return", "CSR_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["AAP", "AAP"], "File": "AAPRegisterInfo", "Func": "getCallPreservedMask", "Target": "AAP", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3557, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "classifyLEAReg", "(", "MachineInstr", "*", "MI", ",", "const", "MachineOperand", "&", "Src", ",", "unsigned", "Opc", ",", "bool", "AllowSP", ",", "unsigned", "&", "NewSrc", ",", "bool", "&", "isKill", ",", "bool", "&", "isUndef", ",", "MachineOperand", "&", "ImplicitOp", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", ";", "if", "(", "AllowSP", ")", "{", "RC", "=", "Opc", "!=", "X86", "::", "LEA32r", "?", "&", "X86", "::", "GR64RegClass", ":", "&", "X86", "::", "GR32RegClass", ";", "}", "else", "{", "RC", "=", "Opc", "!=", "X86", "::", "LEA32r", "?", "&", "X86", "::", "GR64_NOSPRegClass", ":", "&", "X86", "::", "GR32_NOSPRegClass", ";", "}", "unsigned", "SrcReg", "=", "Src", ".", "getReg", "(", ")", ";", "if", "(", "Opc", "!=", "X86", "::", "LEA64_32r", ")", "{", "NewSrc", "=", "SrcReg", ";", "isKill", "=", "Src", ".", "isKill", "(", ")", ";", "isUndef", "=", "Src", ".", "isUndef", "(", ")", ";", "if", "(", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "NewSrc", ")", "&&", "!", "MF", ".", "getRegInfo", "(", ")", ".", "constrainRegClass", "(", "NewSrc", ",", "RC", ")", ")", "return", "false", ";", "return", "true", ";", "}", "if", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "SrcReg", ")", ")", "{", "ImplicitOp", "=", "Src", ";", "ImplicitOp", ".", "setImplicit", "(", ")", ";", "NewSrc", "=", "getX86SubSuperRegister", "(", "Src", ".", "getReg", "(", ")", ",", "MVT", "::", "i64", ")", ";", "MachineBasicBlock", "::", "LivenessQueryResult", "LQR", "=", "MI", "->", "getParent", "(", ")", "->", "computeRegisterLiveness", "(", "&", "getRegisterInfo", "(", ")", ",", "NewSrc", ",", "MI", ")", ";", "switch", "(", "LQR", ")", "{", "case", "MachineBasicBlock", "::", "LQR_Unknown", ":", "return", "false", ";", "case", "MachineBasicBlock", "::", "LQR_Live", ":", "isKill", "=", "MI", "->", "killsRegister", "(", "SrcReg", ")", ";", "isUndef", "=", "false", ";", "break", ";", "default", ":", "isKill", "=", "false", ";", "isUndef", "=", "true", ";", "break", ";", "}", "}", "else", "{", "NewSrc", "=", "MF", ".", "getRegInfo", "(", ")", ".", "createVirtualRegister", "(", "RC", ")", ";", "BuildMI", "(", "*", "MI", "->", "getParent", "(", ")", ",", "MI", ",", "MI", "->", "getDebugLoc", "(", ")", ",", "get", "(", "TargetOpcode", "::", "COPY", ")", ")", ".", "addReg", "(", "NewSrc", ",", "RegState", "::", "Define", "|", "RegState", "::", "Undef", ",", "X86", "::", "sub_32bit", ")", ".", "addOperand", "(", "Src", ")", ";", "isKill", "=", "true", ";", "isUndef", "=", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Given", "an", "operand", "within", "a", "MachineInstr", ",", "insert", "preceding", "code", "to", "put", "it", "into", "the", "right", "format", "for", "a", "particular", "kind", "of", "LEA", "instruction", "."], "TS_V_token": ["X86", "X86", "X86::LEA32r", "X86::GR64RegClass", "X86::GR32RegClass", "X86::LEA32r", "X86::GR64_NOSPRegClass", "X86::GR32_NOSPRegClass", "X86::LEA64_32r", "X86", "MVT::i64", "X86::sub_32bit"], "File": "X86InstrInfo (2)", "Func": "classifyLEAReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3558, "Length": 351, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "M680x0RegisterInfo", "::", "getMaximalPhysRegClass", "(", "unsigned", "reg", ",", "MVT", "VT", ")", "const", "{", "assert", "(", "isPhysicalRegister", "(", "reg", ")", "&&", "\"reg must be a physical register\"", ")", ";", "const", "TargetRegisterClass", "*", "BestRC", "=", "nullptr", ";", "for", "(", "regclass_iterator", "I", "=", "regclass_begin", "(", ")", ",", "E", "=", "regclass_end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "const", "TargetRegisterClass", "*", "RC", "=", "*", "I", ";", "if", "(", "(", "VT", "==", "MVT", "::", "Other", "||", "isTypeLegalForClass", "(", "*", "RC", ",", "VT", ")", ")", "&&", "RC", "->", "contains", "(", "reg", ")", "&&", "(", "!", "BestRC", "||", "(", "BestRC", "->", "hasSubClass", "(", "RC", ")", "&&", "RC", "->", "getNumRegs", "(", ")", ">", "BestRC", "->", "getNumRegs", "(", ")", ")", ")", ")", "BestRC", "=", "RC", ";", "}", "assert", "(", "BestRC", "&&", "\"Couldn't find the register class\"", ")", ";", "return", "BestRC", ";", "}", ""], "natrual_language": ["Returns", "the", "Register", "Class", "of", "a", "physical", "register", "of", "the", "given", "type", ",", "picking", "the", "biggest", "register", "class", "of", "the", "right", "type", "that", "contains", "this", "physreg", "."], "TS_V_token": ["M680x0", "M680x0", "\"reg must be a physical register\"", "MVT::Other", "\"Couldn't find the register class\""], "File": "M680x0RegisterInfo", "Func": "getMaximalPhysRegClass", "Target": "M680x0", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3559, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "BPFInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "uint64_t", "Address", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "raw_ostream", "&", "O", ")", "{", "printInstruction", "(", "MI", ",", "Address", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["BPF", "BPF"], "File": "BPFInstPrinter10", "Func": "printInst", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3560, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "VESubtarget", "&", "VESubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "EnableVPU", "=", "false", ";", "std", "::", "string", "CPUName", "=", "std", "::", "string", "(", "CPU", ")", ";", "if", "(", "CPUName", ".", "empty", "(", ")", ")", "CPUName", "=", "\"ve\"", ";", "ParseSubtargetFeatures", "(", "CPUName", ",", "CPU", ",", "FS", ")", ";", "return", "*", "this", ";", "}", ""], "natrual_language": ["initializeSubtargetDependencies", "-", "Initializes", "using", "a", "CPU", ",", "a", "TuneCPU", ",", "and", "feature", "string", "so", "that", "we", "can", "use", "initializer", "lists", "for", "subtarget", "initialization", "."], "TS_V_token": ["VE", "VE", "VE", "\"ve\""], "File": "VESubtarget", "Func": "initializeSubtargetDependencies", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3561, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MBlazeTargetObjectFile", "::", "IsGlobalInSmallSection", "(", "const", "GlobalValue", "*", "GV", ",", "const", "TargetMachine", "&", "TM", ",", "SectionKind", "Kind", ")", "const", "{", "const", "GlobalVariable", "*", "GVA", "=", "dyn_cast", "<", "GlobalVariable", ">", "(", "GV", ")", ";", "if", "(", "!", "GVA", ")", "return", "false", ";", "if", "(", "!", "Kind", ".", "isBSS", "(", ")", "&&", "!", "Kind", ".", "isDataRel", "(", ")", ")", "return", "false", ";", "if", "(", "Kind", ".", "isMergeable1ByteCString", "(", ")", ")", "return", "false", ";", "const", "Type", "*", "Ty", "=", "GV", "->", "getType", "(", ")", "->", "getElementType", "(", ")", ";", "return", "IsInSmallSection", "(", "TM", ".", "getTargetData", "(", ")", "->", "getTypeAllocSize", "(", "Ty", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "global", "address", "should", "be", "placed", "into", "small", "data/bss", "section", "."], "TS_V_token": ["MBlaze", "MBlaze"], "File": "MBlazeTargetObjectFile2", "Func": "IsGlobalInSmallSection", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3562, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZElimCompare", "::", "processBlock", "(", "MachineBasicBlock", "&", "MBB", ")", "{", "bool", "Changed", "=", "false", ";", "bool", "CompleteCCUsers", "=", "!", "isCCLiveOut", "(", "MBB", ")", ";", "SmallVector", "<", "MachineInstr", "*", ",", "4", ">", "CCUsers", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "end", "(", ")", ";", "while", "(", "MBBI", "!=", "MBB", ".", "begin", "(", ")", ")", "{", "MachineInstr", "*", "MI", "=", "--", "MBBI", ";", "if", "(", "CompleteCCUsers", "&&", "(", "MI", "->", "isCompare", "(", ")", "||", "isLoadAndTestAsCmp", "(", "MI", ")", ")", "&&", "(", "optimizeCompareZero", "(", "MI", ",", "CCUsers", ")", "||", "fuseCompareAndBranch", "(", "MI", ",", "CCUsers", ")", ")", ")", "{", "++", "MBBI", ";", "MI", "->", "eraseFromParent", "(", ")", ";", "Changed", "=", "true", ";", "CCUsers", ".", "clear", "(", ")", ";", "continue", ";", "}", "if", "(", "MI", "->", "definesRegister", "(", "SystemZ", "::", "CC", ")", ")", "{", "CCUsers", ".", "clear", "(", ")", ";", "CompleteCCUsers", "=", "true", ";", "}", "if", "(", "MI", "->", "readsRegister", "(", "SystemZ", "::", "CC", ")", "&&", "CompleteCCUsers", ")", "CCUsers", ".", "push_back", "(", "MI", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["processBlock", "-", "If", "there", "are", "any", "predecessors", "whose", "control", "can", "be", "threaded", "through", "to", "a", "successor", ",", "transform", "them", "now", "."], "TS_V_token": ["SystemZ", "SystemZ", "4", "SystemZ::CC", "SystemZ::CC"], "File": "SystemZElimCompare (2)", "Func": "processBlock", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3563, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "{", "return", "createMBlazeELFObjectWriter", "(", "OS", ",", "OSABI", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["MBlaze", "MBlaze"], "File": "MBlazeAsmBackend1", "Func": "createObjectWriter", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3564, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonTargetLowering", "::", "isLegalAddressingMode", "(", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ")", "const", "{", "if", "(", "AM", ".", "BaseOffs", "<=", "-", "(", "1LL", "<<", "13", ")", "||", "AM", ".", "BaseOffs", ">=", "(", "1LL", "<<", "13", ")", "-", "1", ")", "{", "return", "false", ";", "}", "if", "(", "AM", ".", "BaseGV", ")", "{", "return", "false", ";", "}", "int", "Scale", "=", "AM", ".", "Scale", ";", "if", "(", "Scale", "<", "0", ")", "Scale", "=", "-", "Scale", ";", "switch", "(", "Scale", ")", "{", "case", "0", ":", "break", ";", "default", ":", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["isLegalAddressingMode", "-", "Return", "true", "if", "the", "addressing", "mode", "represented", "by", "AM", "is", "legal", "for", "this", "target", ",", "for", "a", "load/store", "of", "the", "specified", "type", "."], "TS_V_token": ["Hexagon", "Hexagon", "1LL", "13", "1LL", "13", "1", "0", "0"], "File": "HexagonISelLowering (2)2", "Func": "isLegalAddressingMode", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3565, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMPassConfig", "::", "addIRPasses", "(", ")", "{", "addPass", "(", "createAtomicExpandLoadLinkedPass", "(", "TM", ")", ")", ";", "const", "ARMSubtarget", "*", "Subtarget", "=", "&", "getARMSubtarget", "(", ")", ";", "if", "(", "Subtarget", "->", "hasAnyDataBarrier", "(", ")", "&&", "!", "Subtarget", "->", "isThumb1Only", "(", ")", ")", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableAtomicTidy", ")", "addPass", "(", "createCFGSimplificationPass", "(", ")", ")", ";", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM"], "File": "ARMTargetMachine35", "Func": "addIRPasses", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3566, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "frv_expand_block_clear", "(", "rtx", "operands", "[", "]", ")", "{", "rtx", "orig_dest", "=", "operands", "[", "0", "]", ";", "rtx", "bytes_rtx", "=", "operands", "[", "1", "]", ";", "rtx", "align_rtx", "=", "operands", "[", "3", "]", ";", "int", "constp", "=", "(", "GET_CODE", "(", "bytes_rtx", ")", "==", "CONST_INT", ")", ";", "int", "align", ";", "int", "bytes", ";", "int", "offset", ";", "rtx", "dest_reg", ";", "rtx", "dest_addr", ";", "rtx", "dest_mem", ";", "int", "clear_bytes", ";", "machine_mode", "mode", ";", "if", "(", "!", "constp", ")", "return", "FALSE", ";", "gcc_assert", "(", "GET_CODE", "(", "align_rtx", ")", "==", "CONST_INT", ")", ";", "align", "=", "INTVAL", "(", "align_rtx", ")", ";", "bytes", "=", "INTVAL", "(", "bytes_rtx", ")", ";", "if", "(", "bytes", "<=", "0", ")", "return", "TRUE", ";", "if", "(", "bytes", ">", "TOTAL_MOVE_REG", "*", "align", ")", "return", "FALSE", ";", "dest_reg", "=", "copy_addr_to_reg", "(", "XEXP", "(", "orig_dest", ",", "0", ")", ")", ";", "offset", "=", "0", ";", "for", "(", ";", "bytes", ">", "0", ";", "(", "bytes", "-=", "clear_bytes", ")", ",", "(", "offset", "+=", "clear_bytes", ")", ")", "{", "dest_addr", "=", "(", "(", "offset", "==", "0", ")", "?", "dest_reg", ":", "plus_constant", "(", "Pmode", ",", "dest_reg", ",", "offset", ")", ")", ";", "if", "(", "bytes", ">=", "4", "&&", "align", ">=", "4", ")", "mode", "=", "SImode", ";", "else", "if", "(", "bytes", ">=", "2", "&&", "align", ">=", "2", ")", "mode", "=", "HImode", ";", "else", "mode", "=", "QImode", ";", "clear_bytes", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "dest_mem", "=", "change_address", "(", "orig_dest", ",", "mode", ",", "dest_addr", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "dest_mem", ",", "const0_rtx", ")", ")", ";", "}", "return", "TRUE", ";", "}", ""], "natrual_language": ["Expand", "a", "block", "clear", "operation", ",", "and", "return", "1", "if", "successful", ".", "Return", "0", "if", "we", "should", "let", "the", "compiler", "generate", "normal", "code", ".", "operands", "[", "0", "]", "is", "the", "destination", "operands", "[", "1", "]", "is", "the", "length", "operands", "[", "3", "]", "is", "the", "alignment"], "TS_V_token": ["frv", "0", "1", "3", "0", "0", "0", "0", "0", "4", "4", "2", "2"], "File": "frv3", "Func": "frv_expand_block_clear", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 3567, "Length": 247, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emitAssemblerFlag", "(", "MCAssemblerFlag", "Flag", ")", "override", "{", "MCELFStreamer", "::", "emitAssemblerFlag", "(", "Flag", ")", ";", "switch", "(", "Flag", ")", "{", "case", "MCAF_SyntaxUnified", ":", "return", ";", "case", "MCAF_Code16", ":", "IsThumb", "=", "true", ";", "return", ";", "case", "MCAF_Code32", ":", "IsThumb", "=", "false", ";", "return", ";", "case", "MCAF_Code64", ":", "return", ";", "case", "MCAF_SubsectionsViaSymbols", ":", "return", ";", "}", "}", ""], "natrual_language": ["Note", "in", "the", "output", "the", "specified", "Flag", "."], "TS_V_token": ["ARM"], "File": "ARMELFStreamer22", "Func": "emitAssemblerFlag", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3568, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"AMDGPU Attributor\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AMDGPU", "\"AMDGPU Attributor\""], "File": "AMDGPUAttributor", "Func": "getPassName", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3569, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "ARMTargetLowering", "::", "emitLoadLinked", "(", "IRBuilder", "<", ">", "&", "Builder", ",", "Value", "*", "Addr", ",", "AtomicOrdering", "Ord", ")", "const", "{", "Module", "*", "M", "=", "Builder", ".", "GetInsertBlock", "(", ")", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "Type", "*", "ValTy", "=", "cast", "<", "PointerType", ">", "(", "Addr", "->", "getType", "(", ")", ")", "->", "getElementType", "(", ")", ";", "bool", "IsAcquire", "=", "Ord", "==", "Acquire", "||", "Ord", "==", "AcquireRelease", "||", "Ord", "==", "SequentiallyConsistent", ";", "if", "(", "ValTy", "->", "getPrimitiveSizeInBits", "(", ")", "==", "64", ")", "{", "Intrinsic", "::", "ID", "Int", "=", "IsAcquire", "?", "Intrinsic", "::", "arm_ldaexd", ":", "Intrinsic", "::", "arm_ldrexd", ";", "Function", "*", "Ldrex", "=", "llvm", "::", "Intrinsic", "::", "getDeclaration", "(", "M", ",", "Int", ")", ";", "Addr", "=", "Builder", ".", "CreateBitCast", "(", "Addr", ",", "Type", "::", "getInt8PtrTy", "(", "M", "->", "getContext", "(", ")", ")", ")", ";", "Value", "*", "LoHi", "=", "Builder", ".", "CreateCall", "(", "Ldrex", ",", "Addr", ",", "\"lohi\"", ")", ";", "Value", "*", "Lo", "=", "Builder", ".", "CreateExtractValue", "(", "LoHi", ",", "0", ",", "\"lo\"", ")", ";", "Value", "*", "Hi", "=", "Builder", ".", "CreateExtractValue", "(", "LoHi", ",", "1", ",", "\"hi\"", ")", ";", "Lo", "=", "Builder", ".", "CreateZExt", "(", "Lo", ",", "ValTy", ",", "\"lo64\"", ")", ";", "Hi", "=", "Builder", ".", "CreateZExt", "(", "Hi", ",", "ValTy", ",", "\"hi64\"", ")", ";", "return", "Builder", ".", "CreateOr", "(", "Lo", ",", "Builder", ".", "CreateShl", "(", "Hi", ",", "ConstantInt", "::", "get", "(", "ValTy", ",", "32", ")", ")", ",", "\"val64\"", ")", ";", "}", "Type", "*", "Tys", "[", "]", "=", "{", "Addr", "->", "getType", "(", ")", "}", ";", "Intrinsic", "::", "ID", "Int", "=", "IsAcquire", "?", "Intrinsic", "::", "arm_ldaex", ":", "Intrinsic", "::", "arm_ldrex", ";", "Function", "*", "Ldrex", "=", "llvm", "::", "Intrinsic", "::", "getDeclaration", "(", "M", ",", "Int", ",", "Tys", ")", ";", "return", "Builder", ".", "CreateTruncOrBitCast", "(", "Builder", ".", "CreateCall", "(", "Ldrex", ",", "Addr", ")", ",", "cast", "<", "PointerType", ">", "(", "Addr", "->", "getType", "(", ")", ")", "->", "getElementType", "(", ")", ")", ";", "}", ""], "natrual_language": ["Perform", "a", "load-linked", "operation", "on", "Addr", ",", "returning", "a", "``", "Value", "*", "''", "with", "the", "corresponding", "pointee", "type", "."], "TS_V_token": ["ARM", "ARM", "64", "Intrinsic::ID", "Intrinsic::arm_ldaexd", "Intrinsic::arm_ldrexd", "Intrinsic::getDeclaration", "\"lohi\"", "0", "\"lo\"", "1", "\"hi\"", "\"lo64\"", "\"hi64\"", "32", "\"val64\"", "Intrinsic::ID", "Intrinsic::arm_ldaex", "Intrinsic::arm_ldrex", "Intrinsic::getDeclaration"], "File": "ARMISelLowering121", "Func": "emitLoadLinked", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3570, "Length": 311, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "moxie_arg_partial_bytes", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "int", "bytes_left", ",", "size", ";", "if", "(", "*", "cum", ">=", "8", ")", "return", "0", ";", "if", "(", "moxie_pass_by_reference", "(", "cum_v", ",", "arg", ")", ")", "size", "=", "4", ";", "else", "if", "(", "arg", ".", "type", ")", "{", "if", "(", "AGGREGATE_TYPE_P", "(", "arg", ".", "type", ")", ")", "return", "0", ";", "size", "=", "int_size_in_bytes", "(", "arg", ".", "type", ")", ";", "}", "else", "size", "=", "GET_MODE_SIZE", "(", "arg", ".", "mode", ")", ";", "bytes_left", "=", "(", "4", "*", "6", ")", "-", "(", "(", "*", "cum", "-", "2", ")", "*", "4", ")", ";", "if", "(", "size", ">", "bytes_left", ")", "return", "bytes_left", ";", "else", "return", "0", ";", "}", ""], "natrual_language": ["Some", "function", "arguments", "will", "only", "partially", "fit", "in", "the", "registers", "that", "hold", "arguments", ".", "Given", "a", "new", "arg", ",", "return", "the", "number", "of", "bytes", "that", "fit", "in", "argument", "passing", "registers", "."], "TS_V_token": ["moxie", "8", "0", "4", "0", "4", "6", "2", "4", "0"], "File": "moxie", "Func": "moxie_arg_partial_bytes", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3571, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AVRAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNum", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "bool", "Error", "=", "AsmPrinter", "::", "PrintAsmOperand", "(", "MI", ",", "OpNum", ",", "AsmVariant", ",", "ExtraCode", ",", "O", ")", ";", "if", "(", "Error", "&&", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "{", "if", "(", "ExtraCode", "[", "1", "]", "!=", "0", ")", "return", "true", ";", "if", "(", "ExtraCode", "[", "0", "]", ">=", "'A'", "&&", "ExtraCode", "[", "0", "]", "<=", "'Z'", ")", "{", "const", "MachineOperand", "&", "RegOp", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "assert", "(", "RegOp", ".", "isReg", "(", ")", "&&", "\"Operand must be a register when you're\"", "\"using 'A'..'Z' operand extracodes.\"", ")", ";", "unsigned", "Reg", "=", "RegOp", ".", "getReg", "(", ")", ";", "unsigned", "ByteNumber", "=", "ExtraCode", "[", "0", "]", "-", "'A'", ";", "unsigned", "OpFlags", "=", "MI", "->", "getOperand", "(", "OpNum", "-", "1", ")", ".", "getImm", "(", ")", ";", "unsigned", "NumOpRegs", "=", "InlineAsm", "::", "getNumOperandRegisters", "(", "OpFlags", ")", ";", "(", "void", ")", "NumOpRegs", ";", "const", "AVRSubtarget", "&", "STI", "=", "MF", "->", "getSubtarget", "<", "AVRSubtarget", ">", "(", ")", ";", "const", "TargetRegisterInfo", "&", "TRI", "=", "*", "STI", ".", "getRegisterInfo", "(", ")", ";", "unsigned", "BytesPerReg", "=", "TRI", ".", "getMinimalPhysRegClass", "(", "Reg", ")", "->", "getSize", "(", ")", ";", "assert", "(", "BytesPerReg", "<=", "2", "&&", "\"Only 8 and 16 bit regs are supported.\"", ")", ";", "unsigned", "RegIdx", "=", "ByteNumber", "/", "BytesPerReg", ";", "assert", "(", "RegIdx", "<", "NumOpRegs", "&&", "\"Multibyte index out of range.\"", ")", ";", "Reg", "=", "MI", "->", "getOperand", "(", "OpNum", "+", "RegIdx", ")", ".", "getReg", "(", ")", ";", "if", "(", "BytesPerReg", "==", "2", ")", "{", "Reg", "=", "TRI", ".", "getSubReg", "(", "Reg", ",", "ByteNumber", "%", "BytesPerReg", "?", "AVR", "::", "sub_hi", ":", "AVR", "::", "sub_lo", ")", ";", "}", "O", "<<", "AVRInstPrinter", "::", "getPrettyRegisterName", "(", "Reg", ",", "MRI", ")", ";", "return", "false", ";", "}", "}", "if", "(", "Error", ")", "printOperand", "(", "MI", ",", "OpNum", ",", "O", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["AVR", "AVR", "0", "1", "0", "0", "0", "\"Operand must be a register when you're\"", "\"using 'A'..'Z' operand extracodes.\"", "0", "1", "AVR", "AVR", "2", "\"Only 8 and 16 bit regs are supported.\"", "\"Multibyte index out of range.\"", "2", "AVR::sub_hi", "AVR::sub_lo", "AVR"], "File": "AVRAsmPrinter14", "Func": "PrintAsmOperand", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3572, "Length": 301, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "XCoreTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "XCorePassConfig", "(", "*", "this", ",", "PM", ")", ";", "}", ""], "natrual_language": ["Create", "a", "pass", "configuration", "object", "to", "be", "used", "by", "addPassToEmitX", "methods", "for", "generating", "a", "pipeline", "of", "CodeGen", "passes", "."], "TS_V_token": ["XCore", "XCore", "XCore"], "File": "XCoreTargetMachine", "Func": "createPassConfig", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3573, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "cr16_libcall_value", "(", "machine_mode", "mode", ",", "const_rtx", "func", "ATTRIBUTE_UNUSED", ")", "{", "return", "gen_rtx_REG", "(", "mode", ",", "cr16_ret_register", "(", ")", ")", ";", "}", ""], "natrual_language": ["Create", "an", "RTX", "representing", "the", "place", "where", "a", "library", "function", "returns", "a", "value", "of", "mode", "MODE", "."], "TS_V_token": ["cr16"], "File": "cr16", "Func": "cr16_libcall_value", "Target": "cr16", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3574, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "RISCVFrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "unsigned", "&", "FrameReg", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetRegisterInfo", "*", "RI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "const", "auto", "*", "RVFI", "=", "MF", ".", "getInfo", "<", "RISCVMachineFunctionInfo", ">", "(", ")", ";", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", ".", "getCalleeSavedInfo", "(", ")", ";", "int", "MinCSFI", "=", "0", ";", "int", "MaxCSFI", "=", "-", "1", ";", "int", "Offset", "=", "MFI", ".", "getObjectOffset", "(", "FI", ")", "-", "getOffsetOfLocalArea", "(", ")", "+", "MFI", ".", "getOffsetAdjustment", "(", ")", ";", "uint64_t", "FirstSPAdjustAmount", "=", "getFirstSPAdjustAmount", "(", "MF", ")", ";", "if", "(", "CSI", ".", "size", "(", ")", ")", "{", "MinCSFI", "=", "CSI", "[", "0", "]", ".", "getFrameIdx", "(", ")", ";", "MaxCSFI", "=", "CSI", "[", "CSI", ".", "size", "(", ")", "-", "1", "]", ".", "getFrameIdx", "(", ")", ";", "}", "if", "(", "FI", ">=", "MinCSFI", "&&", "FI", "<=", "MaxCSFI", ")", "{", "FrameReg", "=", "RISCV", "::", "X2", ";", "if", "(", "FirstSPAdjustAmount", ")", "Offset", "+=", "FirstSPAdjustAmount", ";", "else", "Offset", "+=", "MF", ".", "getFrameInfo", "(", ")", ".", "getStackSize", "(", ")", ";", "}", "else", "if", "(", "RI", "->", "needsStackRealignment", "(", "MF", ")", "&&", "!", "MFI", ".", "isFixedObjectIndex", "(", "FI", ")", ")", "{", "if", "(", "hasBP", "(", "MF", ")", ")", "FrameReg", "=", "RISCVABI", "::", "getBPReg", "(", ")", ";", "else", "FrameReg", "=", "RISCV", "::", "X2", ";", "Offset", "+=", "MF", ".", "getFrameInfo", "(", ")", ".", "getStackSize", "(", ")", ";", "}", "else", "{", "FrameReg", "=", "RI", "->", "getFrameRegister", "(", "MF", ")", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "Offset", "+=", "RVFI", "->", "getVarArgsSaveSize", "(", ")", ";", "else", "Offset", "+=", "MF", ".", "getFrameInfo", "(", ")", ".", "getStackSize", "(", ")", ";", "}", "return", "Offset", ";", "}", ""], "natrual_language": ["getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "0", "1", "0", "1", "RISCV::X2", "RISCVABI::getBPReg", "RISCV::X2"], "File": "RISCVFrameLowering16", "Func": "getFrameIndexReference", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3575, "Length": 289, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonInstrInfo", "::", "isPostIncrement", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "Hexagon", "::", "POST_LDrib", ":", "case", "Hexagon", "::", "POST_LDrib_cPt", ":", "case", "Hexagon", "::", "POST_LDrib_cNotPt", ":", "case", "Hexagon", "::", "POST_LDrib_cdnPt_V4", ":", "case", "Hexagon", "::", "POST_LDrib_cdnNotPt_V4", ":", "case", "Hexagon", "::", "POST_LDriub", ":", "case", "Hexagon", "::", "POST_LDriub_cPt", ":", "case", "Hexagon", "::", "POST_LDriub_cNotPt", ":", "case", "Hexagon", "::", "POST_LDriub_cdnPt_V4", ":", "case", "Hexagon", "::", "POST_LDriub_cdnNotPt_V4", ":", "case", "Hexagon", "::", "POST_LDrih", ":", "case", "Hexagon", "::", "POST_LDrih_cPt", ":", "case", "Hexagon", "::", "POST_LDrih_cNotPt", ":", "case", "Hexagon", "::", "POST_LDrih_cdnPt_V4", ":", "case", "Hexagon", "::", "POST_LDrih_cdnNotPt_V4", ":", "case", "Hexagon", "::", "POST_LDriuh", ":", "case", "Hexagon", "::", "POST_LDriuh_cPt", ":", "case", "Hexagon", "::", "POST_LDriuh_cNotPt", ":", "case", "Hexagon", "::", "POST_LDriuh_cdnPt_V4", ":", "case", "Hexagon", "::", "POST_LDriuh_cdnNotPt_V4", ":", "case", "Hexagon", "::", "POST_LDriw", ":", "case", "Hexagon", "::", "POST_LDriw_cPt", ":", "case", "Hexagon", "::", "POST_LDriw_cNotPt", ":", "case", "Hexagon", "::", "POST_LDriw_cdnPt_V4", ":", "case", "Hexagon", "::", "POST_LDriw_cdnNotPt_V4", ":", "case", "Hexagon", "::", "POST_LDrid", ":", "case", "Hexagon", "::", "POST_LDrid_cPt", ":", "case", "Hexagon", "::", "POST_LDrid_cNotPt", ":", "case", "Hexagon", "::", "POST_LDrid_cdnPt_V4", ":", "case", "Hexagon", "::", "POST_LDrid_cdnNotPt_V4", ":", "case", "Hexagon", "::", "POST_STbri", ":", "case", "Hexagon", "::", "POST_STbri_cPt", ":", "case", "Hexagon", "::", "POST_STbri_cNotPt", ":", "case", "Hexagon", "::", "POST_STbri_cdnPt_V4", ":", "case", "Hexagon", "::", "POST_STbri_cdnNotPt_V4", ":", "case", "Hexagon", "::", "POST_SThri", ":", "case", "Hexagon", "::", "POST_SThri_cPt", ":", "case", "Hexagon", "::", "POST_SThri_cNotPt", ":", "case", "Hexagon", "::", "POST_SThri_cdnPt_V4", ":", "case", "Hexagon", "::", "POST_SThri_cdnNotPt_V4", ":", "case", "Hexagon", "::", "POST_STwri", ":", "case", "Hexagon", "::", "POST_STwri_cPt", ":", "case", "Hexagon", "::", "POST_STwri_cNotPt", ":", "case", "Hexagon", "::", "POST_STwri_cdnPt_V4", ":", "case", "Hexagon", "::", "POST_STwri_cdnNotPt_V4", ":", "case", "Hexagon", "::", "POST_STdri", ":", "case", "Hexagon", "::", "POST_STdri_cPt", ":", "case", "Hexagon", "::", "POST_STdri_cNotPt", ":", "case", "Hexagon", "::", "POST_STdri_cdnPt_V4", ":", "case", "Hexagon", "::", "POST_STdri_cdnNotPt_V4", ":", "return", "true", ";", "}", "}", ""], "natrual_language": ["Return", "true", "for", "post-incremented", "instructions", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon::POST_LDrib", "Hexagon::POST_LDrib_cPt", "Hexagon::POST_LDrib_cNotPt", "Hexagon::POST_LDrib_cdnPt_V4", "Hexagon::POST_LDrib_cdnNotPt_V4", "Hexagon::POST_LDriub", "Hexagon::POST_LDriub_cPt", "Hexagon::POST_LDriub_cNotPt", "Hexagon::POST_LDriub_cdnPt_V4", "Hexagon::POST_LDriub_cdnNotPt_V4", "Hexagon::POST_LDrih", "Hexagon::POST_LDrih_cPt", "Hexagon::POST_LDrih_cNotPt", "Hexagon::POST_LDrih_cdnPt_V4", "Hexagon::POST_LDrih_cdnNotPt_V4", "Hexagon::POST_LDriuh", "Hexagon::POST_LDriuh_cPt", "Hexagon::POST_LDriuh_cNotPt", "Hexagon::POST_LDriuh_cdnPt_V4", "Hexagon::POST_LDriuh_cdnNotPt_V4", "Hexagon::POST_LDriw", "Hexagon::POST_LDriw_cPt", "Hexagon::POST_LDriw_cNotPt", "Hexagon::POST_LDriw_cdnPt_V4", "Hexagon::POST_LDriw_cdnNotPt_V4", "Hexagon::POST_LDrid", "Hexagon::POST_LDrid_cPt", "Hexagon::POST_LDrid_cNotPt", "Hexagon::POST_LDrid_cdnPt_V4", "Hexagon::POST_LDrid_cdnNotPt_V4", "Hexagon::POST_STbri", "Hexagon::POST_STbri_cPt", "Hexagon::POST_STbri_cNotPt", "Hexagon::POST_STbri_cdnPt_V4", "Hexagon::POST_STbri_cdnNotPt_V4", "Hexagon::POST_SThri", "Hexagon::POST_SThri_cPt", "Hexagon::POST_SThri_cNotPt", "Hexagon::POST_SThri_cdnPt_V4", "Hexagon::POST_SThri_cdnNotPt_V4", "Hexagon::POST_STwri", "Hexagon::POST_STwri_cPt", "Hexagon::POST_STwri_cNotPt", "Hexagon::POST_STwri_cdnPt_V4", "Hexagon::POST_STwri_cdnNotPt_V4", "Hexagon::POST_STdri", "Hexagon::POST_STdri_cPt", "Hexagon::POST_STdri_cNotPt", "Hexagon::POST_STdri_cdnPt_V4", "Hexagon::POST_STdri_cdnNotPt_V4"], "File": "HexagonInstrInfo43", "Func": "isPostIncrement", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3576, "Length": 281, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "function_expander", "::", "map_to_rtx_codes", "(", "rtx_code", "code_for_sint", ",", "rtx_code", "code_for_uint", ",", "int", "unspec_for_fp", ",", "unsigned", "int", "merge_argno", ")", "{", "machine_mode", "mode", "=", "vector_mode", "(", "0", ")", ";", "rtx_code", "code", "=", "(", "type_suffix", "(", "0", ")", ".", "unsigned_p", "?", "code_for_uint", ":", "code_for_sint", ")", ";", "insn_code", "icode", ";", "if", "(", "type_suffix", "(", "0", ")", ".", "tclass", "==", "TYPE_bool", ")", "{", "gcc_assert", "(", "pred", "==", "PRED_z", "&&", "code_for_uint", "==", "code_for_sint", ")", ";", "return", "use_exact_insn", "(", "code_for_aarch64_pred_z", "(", "code", ",", "mode", ")", ")", ";", "}", "if", "(", "pred", "==", "PRED_x", ")", "{", "if", "(", "type_suffix", "(", "0", ")", ".", "integer_p", ")", "icode", "=", "maybe_code_for_aarch64_pred", "(", "code", ",", "mode", ")", ";", "else", "icode", "=", "maybe_code_for_aarch64_pred", "(", "unspec_for_fp", ",", "mode", ")", ";", "if", "(", "icode", "!=", "CODE_FOR_nothing", ")", "return", "use_pred_x_insn", "(", "icode", ")", ";", "}", "if", "(", "pred", "==", "PRED_none", "||", "pred", "==", "PRED_x", ")", "{", "icode", "=", "direct_optab_handler", "(", "code_to_optab", "(", "code", ")", ",", "0", ")", ";", "if", "(", "icode", "==", "CODE_FOR_nothing", ")", "icode", "=", "code_for_aarch64_sve", "(", "code", ",", "mode", ")", ";", "return", "use_unpred_insn", "(", "icode", ")", ";", "}", "if", "(", "type_suffix", "(", "0", ")", ".", "integer_p", ")", "icode", "=", "code_for_cond", "(", "code", ",", "mode", ")", ";", "else", "icode", "=", "code_for_cond", "(", "unspec_for_fp", ",", "mode", ")", ";", "return", "use_cond_insn", "(", "icode", ",", "merge_argno", ")", ";", "}", ""], "natrual_language": ["Implement", "the", "call", "using", "one", "of", "the", "following", "strategies", ",", "chosen", "in", "order", ":", "(", "1", ")", "``", "aarch64_pred_", "<", "optab", ">", "<", "mode", ">", "_z", "''", "for", "PRED_z", "predicate", "functions", "(", "2", ")", "``", "aarch64_pred_", "<", "optab", ">", "<", "mode", ">", "''", "for", "PRED_x", "functions", "(", "3", ")", "a", "normal", "unpredicated", "optab", "for", "PRED_none", "and", "PRED_x", "functions", ",", "dropping", "the", "predicate", "in", "the", "latter", "case", "(", "4", ")", "an", "unpredicated", "``", "aarch64_sve_", "<", "code_optab", ">", "<", "mode", ">", "''", "for", "PRED_none", "and", "PRED_x", "functions", ",", "again", "dropping", "the", "predicate", "for", "PRED_x", "(", "5", ")", "``", "cond_", "<", "optab", ">", "<", "mode", ">", "''", "otherwise", "where", "<", "optab", ">", "corresponds", "to", ":", "-", "CODE_FOR_SINT", "for", "signed", "integers", "-", "CODE_FOR_UINT", "for", "unsigned", "integers", "-", "UNSPEC_FOR_FP", "for", "floating-point", "values", "and", "where", "<", "code_optab", ">", "is", "like", "<", "optab", ">", ",", "but", "uses", "CODE_FOR_SINT", "instead", "of", "UNSPEC_FOR_FP", "for", "floating-point", "values", ".", "MERGE_ARGNO", "is", "the", "argument", "that", "provides", "the", "values", "of", "inactive", "lanes", "for", "_m", "functions", ",", "or", "DEFAULT_MERGE_ARGNO", "if", "we", "should", "apply", "the", "usual", "rules", "."], "TS_V_token": ["aarch64", "0", "0", "0", "0", "0", "0"], "File": "aarch64-sve-builtins", "Func": "map_to_rtx_codes", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3577, "Length": 211, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "handle_special_swappables", "(", "swap_web_entry", "*", "insn_entry", ",", "unsigned", "i", ")", "{", "rtx_insn", "*", "insn", "=", "insn_entry", "[", "i", "]", ".", "insn", ";", "rtx", "body", "=", "PATTERN", "(", "insn", ")", ";", "switch", "(", "insn_entry", "[", "i", "]", ".", "special_handling", ")", "{", "default", ":", "gcc_unreachable", "(", ")", ";", "case", "SH_CONST_VECTOR", ":", "{", "gcc_assert", "(", "GET_CODE", "(", "body", ")", "==", "SET", ")", ";", "swap_const_vector_halves", "(", "&", "SET_SRC", "(", "body", ")", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"Swapping constant halves in insn %d\\n\"", ",", "i", ")", ";", "break", ";", "}", "case", "SH_SUBREG", ":", "adjust_subreg_index", "(", "body", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"Adjusting subreg in insn %d\\n\"", ",", "i", ")", ";", "break", ";", "case", "SH_NOSWAP_LD", ":", "permute_load", "(", "insn", ")", ";", "break", ";", "case", "SH_NOSWAP_ST", ":", "permute_store", "(", "insn", ")", ";", "break", ";", "case", "SH_EXTRACT", ":", "adjust_extract", "(", "insn", ")", ";", "break", ";", "case", "SH_SPLAT", ":", "adjust_splat", "(", "insn", ")", ";", "break", ";", "case", "SH_XXPERMDI", ":", "adjust_xxpermdi", "(", "insn", ")", ";", "break", ";", "case", "SH_CONCAT", ":", "adjust_concat", "(", "insn", ")", ";", "break", ";", "case", "SH_VPERM", ":", "adjust_vperm", "(", "insn", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["The", "insn", "described", "by", "INSN_ENTRY", "[", "I", "]", "can", "be", "swapped", ",", "but", "only", "with", "special", "handling", ".", "Take", "care", "of", "that", "here", "."], "TS_V_token": ["rs6000", "\"Swapping constant halves in insn %d\\n\"", "\"Adjusting subreg in insn %d\\n\""], "File": "rs6000-p8swap", "Func": "handle_special_swappables", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3578, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "h8300_interrupt_function_p", "(", "tree", "func", ")", "{", "tree", "a", ";", "if", "(", "TREE_CODE", "(", "func", ")", "!=", "FUNCTION_DECL", ")", "return", "0", ";", "a", "=", "lookup_attribute", "(", "\"interrupt_handler\"", ",", "DECL_ATTRIBUTES", "(", "func", ")", ")", ";", "return", "a", "!=", "NULL_TREE", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "FUNC", "is", "an", "interrupt", "function", "as", "specified", "by", "the", "``", "interrupt", "''", "attribute", "."], "TS_V_token": ["h8300", "0", "\"interrupt_handler\""], "File": "h8300", "Func": "h8300_interrupt_function_p", "Target": "h8300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3579, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "static", "bool", "isMem", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "Op", ")", "{", "if", "(", "MI", "->", "getOperand", "(", "Op", ")", ".", "isFI", "(", ")", ")", "return", "true", ";", "return", "Op", "+", "5", "<=", "MI", "->", "getNumOperands", "(", ")", "&&", "MI", "->", "getOperand", "(", "Op", "+", "4", ")", ".", "isReg", "(", ")", "&&", "isLeaMem", "(", "MI", ",", "Op", ")", ";", "}", ""], "natrual_language": ["isMem", "-", "Is", "this", "a", "memory", "operand", "?"], "TS_V_token": ["X86", "5", "4"], "File": "X86InstrInfo100", "Func": "isMem", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3580, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "msp430_output_aligned_decl_common", "(", "FILE", "*", "stream", ",", "const", "tree", "decl", ",", "const", "char", "*", "name", ",", "unsigned", "HOST_WIDE_INT", "size", ",", "unsigned", "int", "align", ")", "{", "if", "(", "msp430_data_region", "==", "MSP430_REGION_ANY", ")", "{", "fprintf", "(", "stream", ",", "COMMON_ASM_OP", ")", ";", "assemble_name", "(", "stream", ",", "name", ")", ";", "fprintf", "(", "stream", ",", "\",\"", "HOST_WIDE_INT_PRINT_UNSIGNED", "\",%u\\n\"", ",", "size", ",", "align", "/", "BITS_PER_UNIT", ")", ";", "}", "else", "{", "section", "*", "sec", ";", "if", "(", "decl", ")", "sec", "=", "msp430_select_section", "(", "decl", ",", "0", ",", "align", ")", ";", "else", "switch", "(", "msp430_data_region", ")", "{", "case", "MSP430_REGION_UPPER", ":", "sec", "=", "get_named_section", "(", "NULL", ",", "\".upper.bss\"", ",", "0", ")", ";", "break", ";", "case", "MSP430_REGION_LOWER", ":", "sec", "=", "get_named_section", "(", "NULL", ",", "\".lower.bss\"", ",", "0", ")", ";", "break", ";", "case", "MSP430_REGION_EITHER", ":", "sec", "=", "get_named_section", "(", "NULL", ",", "\".either.bss\"", ",", "0", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "gcc_assert", "(", "sec", "!=", "NULL", ")", ";", "switch_to_section", "(", "sec", ")", ";", "ASM_OUTPUT_ALIGN", "(", "stream", ",", "floor_log2", "(", "align", "/", "BITS_PER_UNIT", ")", ")", ";", "targetm", ".", "asm_out", ".", "globalize_label", "(", "stream", ",", "name", ")", ";", "ASM_WEAKEN_LABEL", "(", "stream", ",", "name", ")", ";", "ASM_OUTPUT_LABEL", "(", "stream", ",", "name", ")", ";", "ASM_OUTPUT_SKIP", "(", "stream", ",", "size", "?", "size", ":", "1", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "a", "declaration", "of", "a", "common", "symbol", ".", "If", "a", "data", "region", "is", "in", "use", "then", "put", "the", "symbol", "into", "the", "equivalent", ".bss", "section", "instead", ".", "If", "LOCAL", "is", "1", ",", "then", "DECL", "is", "for", "a", "local", "common", "variable", "."], "TS_V_token": ["msp430", "\",\"", "\",%u\\n\"", "0", "\".upper.bss\"", "0", "\".lower.bss\"", "0", "\".either.bss\"", "0", "1"], "File": "msp4304", "Func": "msp430_output_aligned_decl_common", "Target": "msp430", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3581, "Length": 206, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "tilepro_asm_output_opcode", "(", "FILE", "*", "stream", ",", "const", "char", "*", "code", ")", "{", "bool", "pseudo", "=", "!", "strcmp", "(", "code", ",", "\"pseudo\"", ")", ";", "if", "(", "!", "tilepro_in_bundle", "&&", "insn_mode", "==", "SImode", ")", "{", "fprintf", "(", "stream", ",", "\"{\\n\\t\"", ")", ";", "tilepro_in_bundle", "=", "true", ";", "}", "if", "(", "tilepro_in_bundle", "&&", "insn_mode", "==", "QImode", ")", "{", "static", "char", "buf", "[", "100", "]", ";", "gcc_assert", "(", "strlen", "(", "code", ")", "+", "3", "+", "1", "<", "sizeof", "(", "buf", ")", ")", ";", "strcpy", "(", "buf", ",", "pseudo", "?", "\"\"", ":", "code", ")", ";", "strcat", "(", "buf", ",", "\"\\n\\t}\"", ")", ";", "tilepro_in_bundle", "=", "false", ";", "return", "buf", ";", "}", "else", "{", "return", "pseudo", "?", "\"\"", ":", "code", ";", "}", "}", ""], "natrual_language": ["Implement", "ASM_OUTPUT_OPCODE", ".", "Prepend/append", "curly", "braces", "as", "appropriate", "given", "the", "bundling", "information", "recorded", "by", "tilepro_gen_bundles", "."], "TS_V_token": ["tilepro", "\"pseudo\"", "\"{\\n\\t\"", "100", "3", "1", "\"\"", "\"\\n\\t}\"", "\"\""], "File": "tilepro", "Func": "tilepro_asm_output_opcode", "Target": "tilepro", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 3582, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "TII", "=", "MF", ".", "getSubtarget", "<", "R600Subtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "&", "TII", "->", "getRegisterInfo", "(", ")", ";", "LLVM_DEBUG", "(", "MF", ".", "dump", "(", ")", ";", ")", ";", "OrderedBlks", ".", "clear", "(", ")", ";", "Visited", ".", "clear", "(", ")", ";", "FuncRep", "=", "&", "MF", ";", "MLI", "=", "&", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"LoopInfo:\\n\"", ";", "PrintLoopinfo", "(", "*", "MLI", ")", ";", ")", ";", "MDT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "LLVM_DEBUG", "(", "MDT", "->", "print", "(", "dbgs", "(", ")", ",", "(", "const", "Module", "*", ")", "nullptr", ")", ";", ")", ";", "PDT", "=", "&", "getAnalysis", "<", "MachinePostDominatorTree", ">", "(", ")", ";", "LLVM_DEBUG", "(", "PDT", "->", "print", "(", "dbgs", "(", ")", ")", ";", ")", ";", "prepare", "(", ")", ";", "run", "(", ")", ";", "LLVM_DEBUG", "(", "MF", ".", "dump", "(", ")", ";", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "R600", "\"LoopInfo:\\n\""], "File": "AMDILCFGStructurizer11", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3583, "Length": 161, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIInsertWaits", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "bool", "Changes", "=", "false", ";", "TII", "=", "static_cast", "<", "const", "SIInstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "static_cast", "<", "const", "SIRegisterInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "const", "AMDGPUSubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "AMDGPUSubtarget", ">", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "WaitedOn", "=", "ZeroCounts", ";", "DelayedWaitOn", "=", "ZeroCounts", ";", "LastIssued", "=", "ZeroCounts", ";", "LastOpcodeType", "=", "OTHER", ";", "LastInstWritesM0", "=", "false", ";", "ReturnsVoid", "=", "MF", ".", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", "->", "returnsVoid", "(", ")", ";", "memset", "(", "&", "UsedRegs", ",", "0", ",", "sizeof", "(", "UsedRegs", ")", ")", ";", "memset", "(", "&", "DefinedRegs", ",", "0", ",", "sizeof", "(", "DefinedRegs", ")", ")", ";", "SmallVector", "<", "MachineInstr", "*", ",", "4", ">", "RemoveMI", ";", "for", "(", "MachineFunction", "::", "iterator", "BI", "=", "MF", ".", "begin", "(", ")", ",", "BE", "=", "MF", ".", "end", "(", ")", ";", "BI", "!=", "BE", ";", "++", "BI", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "BI", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "I", "=", "MBB", ".", "begin", "(", ")", ",", "E", "=", "MBB", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "ST", ".", "getGeneration", "(", ")", "<=", "AMDGPUSubtarget", "::", "SEA_ISLANDS", ")", "{", "if", "(", "TII", "->", "isSMRD", "(", "I", "->", "getOpcode", "(", ")", ")", ")", "{", "VCCZCorrupt", "=", "true", ";", "}", "else", "if", "(", "!", "hasOutstandingLGKM", "(", ")", "&&", "I", "->", "modifiesRegister", "(", "AMDGPU", "::", "VCC", ",", "TRI", ")", ")", "{", "VCCZCorrupt", "=", "false", ";", "}", "if", "(", "readsVCCZ", "(", "I", "->", "getOpcode", "(", ")", ")", "&&", "VCCZCorrupt", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Inserting vccz bug work-around before: \"", "<<", "*", "I", "<<", "'\\n'", ")", ";", "insertWait", "(", "MBB", ",", "I", ",", "LastIssued", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "AMDGPU", "::", "S_MOV_B64", ")", ",", "AMDGPU", "::", "VCC", ")", ".", "addReg", "(", "AMDGPU", "::", "VCC", ")", ";", "}", "}", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "AMDGPU", "::", "S_WAITCNT", ")", "{", "handleExistingWait", "(", "*", "I", ")", ";", "RemoveMI", ".", "push_back", "(", "I", ")", ";", "continue", ";", "}", "Counters", "Required", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "AMDGPU", "::", "S_BARRIER", "||", "I", "->", "getOpcode", "(", ")", "==", "AMDGPU", "::", "S_SENDMSG", ")", "Required", "=", "LastIssued", ";", "else", "Required", "=", "handleOperands", "(", "*", "I", ")", ";", "Counters", "Increment", "=", "getHwCounts", "(", "*", "I", ")", ";", "if", "(", "countersNonZero", "(", "Required", ")", "||", "countersNonZero", "(", "Increment", ")", ")", "increaseCounters", "(", "Required", ",", "DelayedWaitOn", ")", ";", "Changes", "|=", "insertWait", "(", "MBB", ",", "I", ",", "Required", ")", ";", "pushInstruction", "(", "MBB", ",", "I", ",", "Increment", ")", ";", "handleSendMsg", "(", "MBB", ",", "I", ")", ";", "}", "Changes", "|=", "insertWait", "(", "MBB", ",", "MBB", ".", "getFirstTerminator", "(", ")", ",", "LastIssued", ")", ";", "}", "for", "(", "MachineInstr", "*", "I", ":", "RemoveMI", ")", "I", "->", "eraseFromParent", "(", ")", ";", "return", "Changes", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "AMDGPU", "AMDGPU", "SI", "0", "0", "4", "AMDGPU", "AMDGPU::VCC", "\"Inserting vccz bug work-around before: \"", "AMDGPU::S_MOV_B64", "AMDGPU::VCC", "AMDGPU::VCC", "AMDGPU::S_WAITCNT", "AMDGPU::S_BARRIER", "AMDGPU::S_SENDMSG"], "File": "SIInsertWaits33", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3584, "Length": 499, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StackOffset", "MipsSEFrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "Register", "&", "FrameReg", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MipsABIInfo", "ABI", "=", "STI", ".", "getABI", "(", ")", ";", "if", "(", "MFI", ".", "isFixedObjectIndex", "(", "FI", ")", ")", "FrameReg", "=", "hasFP", "(", "MF", ")", "?", "ABI", ".", "GetFramePtr", "(", ")", ":", "ABI", ".", "GetStackPtr", "(", ")", ";", "else", "FrameReg", "=", "hasBP", "(", "MF", ")", "?", "ABI", ".", "GetBasePtr", "(", ")", ":", "ABI", ".", "GetStackPtr", "(", ")", ";", "return", "StackOffset", "::", "getFixed", "(", "MFI", ".", "getObjectOffset", "(", "FI", ")", "+", "MFI", ".", "getStackSize", "(", ")", "-", "getOffsetOfLocalArea", "(", ")", "+", "MFI", ".", "getOffsetAdjustment", "(", ")", ")", ";", "}", ""], "natrual_language": ["getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "."], "TS_V_token": ["Mips", "Mips", "Mips"], "File": "MipsSEFrameLowering (2)1", "Func": "getFrameIndexReference", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3585, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "frv_function_prologue", "(", "FILE", "*", "file", ",", "HOST_WIDE_INT", "size", "ATTRIBUTE_UNUSED", ")", "{", "rtx_insn", "*", "insn", ",", "*", "next", ",", "*", "last_call", ";", "if", "(", "frv_stack_info", "(", ")", "->", "total_size", "==", "0", "&&", "frv_function_contains_far_jump", "(", ")", ")", "{", "rtx_insn", "*", "insn", ";", "gcc_assert", "(", "!", "df_regs_ever_live_p", "(", "GPR_FIRST", "+", "3", ")", ")", ";", "fprintf", "(", "file", ",", "\"\\tmovsg lr,gr3\\n\"", ")", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", "!=", "NULL", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "if", "(", "JUMP_P", "(", "insn", ")", ")", "{", "rtx", "pattern", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "pattern", ")", "==", "PARALLEL", "&&", "XVECLEN", "(", "pattern", ",", "0", ")", ">=", "2", "&&", "GET_CODE", "(", "XVECEXP", "(", "pattern", ",", "0", ",", "0", ")", ")", "==", "RETURN", "&&", "GET_CODE", "(", "XVECEXP", "(", "pattern", ",", "0", ",", "1", ")", ")", "==", "USE", ")", "{", "rtx", "address", "=", "XEXP", "(", "XVECEXP", "(", "pattern", ",", "0", ",", "1", ")", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "address", ")", "==", "REG", "&&", "REGNO", "(", "address", ")", "==", "LR_REGNO", ")", "SET_REGNO", "(", "address", ",", "GPR_FIRST", "+", "3", ")", ";", "}", "}", "}", "frv_pack_insns", "(", ")", ";", "memset", "(", "frv_nops", ",", "0", ",", "sizeof", "(", "frv_nops", ")", ")", ";", "last_call", "=", "NULL", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "next", ")", "{", "next", "=", "NEXT_INSN", "(", "insn", ")", ";", "if", "(", "CALL_P", "(", "insn", ")", "||", "(", "INSN_P", "(", "insn", ")", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "SEQUENCE", "&&", "CALL_P", "(", "XVECEXP", "(", "PATTERN", "(", "insn", ")", ",", "0", ",", "0", ")", ")", ")", ")", "last_call", "=", "insn", ";", "if", "(", "!", "NOTE_P", "(", "insn", ")", "||", "NOTE_KIND", "(", "insn", ")", "!=", "NOTE_INSN_CALL_ARG_LOCATION", ")", "continue", ";", "if", "(", "NEXT_INSN", "(", "last_call", ")", "==", "insn", ")", "continue", ";", "SET_NEXT_INSN", "(", "PREV_INSN", "(", "insn", ")", ")", "=", "NEXT_INSN", "(", "insn", ")", ";", "SET_PREV_INSN", "(", "NEXT_INSN", "(", "insn", ")", ")", "=", "PREV_INSN", "(", "insn", ")", ";", "SET_PREV_INSN", "(", "insn", ")", "=", "last_call", ";", "SET_NEXT_INSN", "(", "insn", ")", "=", "NEXT_INSN", "(", "last_call", ")", ";", "SET_PREV_INSN", "(", "NEXT_INSN", "(", "insn", ")", ")", "=", "insn", ";", "SET_NEXT_INSN", "(", "PREV_INSN", "(", "insn", ")", ")", "=", "insn", ";", "last_call", "=", "insn", ";", "}", "}", ""], "natrual_language": ["For", "the", "FRV", ",", "this", "function", "makes", "sure", "that", "a", "function", "with", "far", "jumps", "will", "return", "correctly", ".", "It", "also", "does", "the", "VLIW", "packing", "."], "TS_V_token": ["frv", "0", "3", "\"\\tmovsg lr,gr3\\n\"", "0", "2", "0", "0", "0", "1", "0", "1", "0", "3", "0", "0", "0"], "File": "frv3", "Func": "frv_function_prologue", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 3586, "Length": 369, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "canonicalize", "(", "MachineBasicBlock", "*", "MBB", ")", "{", "MachineLoop", "*", "InnerLoop", "=", "MLI", ".", "getLoopFor", "(", "MBB", ")", ";", "if", "(", "InnerLoop", "==", "Loop", ")", "{", "return", "MBB", ";", "}", "else", "{", "if", "(", "!", "LoopBlocks", ".", "count", "(", "MBB", ")", ")", "{", "return", "nullptr", ";", "}", "assert", "(", "InnerLoop", ")", ";", "return", "InnerLoop", "->", "getHeader", "(", ")", ";", "}", "}", ""], "natrual_language": ["Form", "a", "canonical", "key", "for", "the", "specified", "mangling", "."], "TS_V_token": ["WebAssembly"], "File": "WebAssemblyFixIrreducibleControlFlow", "Func": "canonicalize", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3587, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "compute_frame_size", "(", "int", "size", ",", "long", "*", "p_reg_saved", ")", "{", "return", "(", "size", "+", "compute_register_save_size", "(", "p_reg_saved", ")", "+", "current_function_outgoing_args_size", ")", ";", "}", ""], "natrual_language": ["Typical", "stack", "layout", "should", "looks", "like", "this", "after", "the", "function", "'s", "prologue", ":", "|", "|", "--", "^", "|", "|", "\\", "|", "|", "|", "arguments", "saved", "|", "Increasing", "|", "|", "on", "the", "stack", "|", "addresses", "PARENT", "arg", "pointer", "-", ">", "|", "|", "/", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "-", "|", "|", "-", "space", "for", "argument", "split", "between", "regs", "&", "stack", "--", "CHILD", "|", "|", "\\", "<", "--", "(", "return", "address", "here", ")", "|", "|", "other", "call", "|", "|", "saved", "registers", "|", "|", "/", "--", "frame", "pointer", "-", ">", "|", "|", "\\", "___", "|", "|", "local", "|", "|", "|", "variables", "|f", "|", "|", "/", "|r", "--", "|a", "|", "|", "\\", "|m", "|", "|", "outgoing", "|e", "|", "|", "arguments", "|", "|", "Decreasing", "(", "hard", ")", "frame", "pointer", "|", "|", "/", "|", "|", "addresses", "and", "stack", "pointer", "-", ">", "|", "|", "/", "_|_", "|", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "--", "V"], "TS_V_token": ["v850"], "File": "v8503", "Func": "compute_frame_size", "Target": "v850", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3588, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyTargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", ",", "unsigned", ",", "Align", ",", "MachineMemOperand", "::", "Flags", ",", "bool", "*", "Fast", ")", "const", "{", "if", "(", "Fast", ")", "*", "Fast", "=", "true", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "allows", "unaligned", "memory", "accesses", "of", "the", "specified", "type", "."], "TS_V_token": ["WebAssembly", "WebAssembly"], "File": "WebAssemblyISelLowering15", "Func": "allowsMisalignedMemoryAccesses", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3589, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AMDGPUInstrInfo", "::", "isLoadFromStackSlotPostFE", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "return", "0", ";", "}", ""], "natrual_language": ["isLoadFromStackSlotPostFE", "-", "Check", "for", "post-frame", "ptr", "elimination", "stack", "locations", "as", "well", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "0"], "File": "AMDGPUInstrInfo", "Func": "isLoadFromStackSlotPostFE", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3590, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"Alpha NOP inserter\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Alpha", "\"Alpha NOP inserter\""], "File": "AlphaLLRP", "Func": "getPassName", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3591, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "function_resolver", "::", "require_scalar_type", "(", "unsigned", "int", "argno", ",", "const", "char", "*", "expected", ")", "{", "if", "(", "!", "scalar_argument_p", "(", "argno", ")", ")", "{", "error_at", "(", "location", ",", "\"passing %qT to argument %d of %qE, which\"", "\" expects %qs\"", ",", "get_argument_type", "(", "argno", ")", ",", "argno", "+", "1", ",", "fndecl", ",", "expected", ")", ";", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Require", "argument", "ARGNO", "to", "be", "a", "(", "possibly", "variable", ")", "scalar", ",", "using", "EXPECTED", "as", "the", "name", "of", "its", "expected", "type", ".", "Return", "true", "if", "the", "argument", "has", "the", "right", "form", ",", "otherwise", "report", "an", "appropriate", "error", "."], "TS_V_token": ["aarch64", "\"passing %qT to argument %d of %qE, which\"", "\" expects %qs\"", "1"], "File": "aarch64-sve-builtins", "Func": "require_scalar_type", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3592, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsRegisterInfo", "::", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "switch", "(", "RC", "->", "getID", "(", ")", ")", "{", "default", ":", "return", "0", ";", "case", "Mips", "::", "CPURegsRegClassID", ":", "case", "Mips", "::", "CPU64RegsRegClassID", ":", "case", "Mips", "::", "DSPRegsRegClassID", ":", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "return", "28", "-", "TFI", "->", "hasFP", "(", "MF", ")", ";", "}", "case", "Mips", "::", "FGR32RegClassID", ":", "return", "32", ";", "case", "Mips", "::", "AFGR64RegClassID", ":", "return", "16", ";", "case", "Mips", "::", "FGR64RegClassID", ":", "return", "32", ";", "}", "}", ""], "natrual_language": ["Return", "the", "register", "pressure", "``", "high", "water", "mark", "''", "for", "the", "specific", "register", "class", "."], "TS_V_token": ["Mips", "Mips", "0", "Mips::CPURegsRegClassID", "Mips::CPU64RegsRegClassID", "Mips::DSPRegsRegClassID", "28", "Mips::FGR32RegClassID", "32", "Mips::AFGR64RegClassID", "16", "Mips::FGR64RegClassID", "32"], "File": "MipsRegisterInfo12", "Func": "getRegPressureLimit", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3593, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "SystemZTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "const", "SystemZInstrInfo", "&", "TII", "=", "*", "TM", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "dl", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "assert", "(", "(", "MI", "->", "getOpcode", "(", ")", "==", "SystemZ", "::", "Select32", "||", "MI", "->", "getOpcode", "(", ")", "==", "SystemZ", "::", "SelectF32", "||", "MI", "->", "getOpcode", "(", ")", "==", "SystemZ", "::", "Select64", "||", "MI", "->", "getOpcode", "(", ")", "==", "SystemZ", "::", "SelectF64", ")", "&&", "\"Unexpected instr type to insert\"", ")", ";", "const", "BasicBlock", "*", "LLVM_BB", "=", "BB", "->", "getBasicBlock", "(", ")", ";", "MachineFunction", "::", "iterator", "I", "=", "BB", ";", "++", "I", ";", "MachineBasicBlock", "*", "thisMBB", "=", "BB", ";", "MachineFunction", "*", "F", "=", "BB", "->", "getParent", "(", ")", ";", "MachineBasicBlock", "*", "copy0MBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineBasicBlock", "*", "copy1MBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "SystemZCC", "::", "CondCodes", "CC", "=", "(", "SystemZCC", "::", "CondCodes", ")", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "F", "->", "insert", "(", "I", ",", "copy0MBB", ")", ";", "F", "->", "insert", "(", "I", ",", "copy1MBB", ")", ";", "copy1MBB", "->", "splice", "(", "copy1MBB", "->", "begin", "(", ")", ",", "BB", ",", "llvm", "::", "next", "(", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", ",", "BB", "->", "end", "(", ")", ")", ";", "copy1MBB", "->", "transferSuccessorsAndUpdatePHIs", "(", "BB", ")", ";", "BB", "->", "addSuccessor", "(", "copy0MBB", ")", ";", "BB", "->", "addSuccessor", "(", "copy1MBB", ")", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", ".", "getBrCond", "(", "CC", ")", ")", ".", "addMBB", "(", "copy1MBB", ")", ";", "BB", "=", "copy0MBB", ";", "BB", "->", "addSuccessor", "(", "copy1MBB", ")", ";", "BB", "=", "copy1MBB", ";", "BuildMI", "(", "*", "BB", ",", "BB", "->", "begin", "(", ")", ",", "dl", ",", "TII", ".", "get", "(", "SystemZ", "::", "PHI", ")", ",", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "copy0MBB", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "thisMBB", ")", ";", "MI", "->", "eraseFromParent", "(", ")", ";", "return", "BB", ";", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "SystemZ::Select32", "SystemZ::SelectF32", "SystemZ::Select64", "SystemZ::SelectF64", "\"Unexpected instr type to insert\"", "SystemZCC::CondCodes", "SystemZCC::CondCodes", "3", "SystemZ::PHI", "0", "2", "1"], "File": "SystemZISelLowering107", "Func": "EmitInstrWithCustomInserter", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3594, "Length": 350, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emit_frame_save", "(", "rtx", "frame_reg", ",", "rtx", "frame_ptr", ",", "enum", "machine_mode", "mode", ",", "unsigned", "int", "regno", ",", "int", "offset", ",", "HOST_WIDE_INT", "total_size", ")", "{", "rtx", "reg", ",", "offset_rtx", ",", "insn", ",", "mem", ",", "addr", ",", "int_rtx", ";", "rtx", "replacea", ",", "replaceb", ";", "int_rtx", "=", "GEN_INT", "(", "offset", ")", ";", "if", "(", "(", "TARGET_ALTIVEC_ABI", "&&", "ALTIVEC_VECTOR_MODE", "(", "mode", ")", ")", "||", "(", "TARGET_E500_DOUBLE", "&&", "mode", "==", "DFmode", ")", "||", "(", "TARGET_SPE_ABI", "&&", "SPE_VECTOR_MODE", "(", "mode", ")", "&&", "!", "SPE_CONST_OFFSET_OK", "(", "offset", ")", ")", ")", "{", "offset_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "11", ")", ";", "emit_move_insn", "(", "offset_rtx", ",", "int_rtx", ")", ";", "replacea", "=", "offset_rtx", ";", "replaceb", "=", "int_rtx", ";", "}", "else", "{", "offset_rtx", "=", "int_rtx", ";", "replacea", "=", "NULL_RTX", ";", "replaceb", "=", "NULL_RTX", ";", "}", "reg", "=", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "addr", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "frame_reg", ",", "offset_rtx", ")", ";", "mem", "=", "gen_rtx_MEM", "(", "mode", ",", "addr", ")", ";", "set_mem_alias_set", "(", "mem", ",", "rs6000_sr_alias_set", ")", ";", "insn", "=", "emit_move_insn", "(", "mem", ",", "reg", ")", ";", "rs6000_frame_related", "(", "insn", ",", "frame_ptr", ",", "total_size", ",", "replacea", ",", "replaceb", ")", ";", "}", ""], "natrual_language": ["Save", "a", "register", "into", "the", "frame", ",", "and", "emit", "RTX_FRAME_RELATED_P", "notes", ".", "Save", "REGNO", "into", "[", "FRAME_REG", "+", "OFFSET", "]", "in", "mode", "MODE", "."], "TS_V_token": ["rs6000", "11"], "File": "rs60003", "Func": "emit_frame_save", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3595, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"RISCV DAG->DAG Pattern Instruction Selection\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["RISCV", "\"RISCV DAG->DAG Pattern Instruction Selection\""], "File": "RISCVISelDAGToDAG", "Func": "getPassName", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3596, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "GBZ80FrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "DebugLoc", "dl", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "dl", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "i", "++", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "dl", ",", "TII", ".", "get", "(", "GBZ80", "::", "POP16r", ")", ",", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["restoreCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "restore", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "load", "instructions", "via", "loadRegToStackSlot", "(", ")", "."], "TS_V_token": ["GBZ80", "GB", "0", "GBZ80::POP16r"], "File": "GBZ80FrameLowering (2)", "Func": "restoreCalleeSavedRegisters", "Target": "GBZ80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3597, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsSETargetLowering", "::", "addMSAFloatType", "(", "MVT", "::", "SimpleValueType", "Ty", ",", "const", "TargetRegisterClass", "*", "RC", ")", "{", "addRegisterClass", "(", "Ty", ",", "RC", ")", ";", "for", "(", "unsigned", "Opc", "=", "0", ";", "Opc", "<", "ISD", "::", "BUILTIN_OP_END", ";", "++", "Opc", ")", "setOperationAction", "(", "Opc", ",", "Ty", ",", "Expand", ")", ";", "setOperationAction", "(", "ISD", "::", "LOAD", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "STORE", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "BITCAST", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "EXTRACT_VECTOR_ELT", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "INSERT_VECTOR_ELT", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "BUILD_VECTOR", ",", "Ty", ",", "Custom", ")", ";", "if", "(", "Ty", "!=", "MVT", "::", "v8f16", ")", "{", "setOperationAction", "(", "ISD", "::", "FABS", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "FADD", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "FDIV", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "FEXP2", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "FLOG2", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "FMA", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "FMUL", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "FRINT", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "FSQRT", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "FSUB", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "VSELECT", ",", "Ty", ",", "Legal", ")", ";", "setOperationAction", "(", "ISD", "::", "SETCC", ",", "Ty", ",", "Legal", ")", ";", "setCondCodeAction", "(", "ISD", "::", "SETOGE", ",", "Ty", ",", "Expand", ")", ";", "setCondCodeAction", "(", "ISD", "::", "SETOGT", ",", "Ty", ",", "Expand", ")", ";", "setCondCodeAction", "(", "ISD", "::", "SETUGE", ",", "Ty", ",", "Expand", ")", ";", "setCondCodeAction", "(", "ISD", "::", "SETUGT", ",", "Ty", ",", "Expand", ")", ";", "setCondCodeAction", "(", "ISD", "::", "SETGE", ",", "Ty", ",", "Expand", ")", ";", "setCondCodeAction", "(", "ISD", "::", "SETGT", ",", "Ty", ",", "Expand", ")", ";", "}", "}", ""], "natrual_language": ["Enable", "MSA", "support", "for", "the", "given", "floating-point", "type", "and", "Register", "class", "."], "TS_V_token": ["Mips", "Mips", "MVT::SimpleValueType", "0", "ISD::BUILTIN_OP_END", "ISD::LOAD", "ISD::STORE", "ISD::BITCAST", "ISD::EXTRACT_VECTOR_ELT", "ISD::INSERT_VECTOR_ELT", "ISD::BUILD_VECTOR", "MVT::v8f16", "ISD::FABS", "ISD::FADD", "ISD::FDIV", "ISD::FEXP2", "ISD::FLOG2", "ISD::FMA", "ISD::FMUL", "ISD::FRINT", "ISD::FSQRT", "ISD::FSUB", "ISD::VSELECT", "ISD::SETCC", "ISD::SETOGE", "ISD::SETOGT", "ISD::SETUGE", "ISD::SETUGT", "ISD::SETGE", "ISD::SETGT"], "File": "MipsSEISelLowering (2)", "Func": "addMSAFloatType", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3598, "Length": 323, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMem", "(", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["isMem", "-", "Is", "this", "a", "memory", "operand", "?"], "TS_V_token": ["CSKY"], "File": "CSKYAsmParser", "Func": "isMem", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3599, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "MachineBasicBlock", "*", ",", "MachineBasicBlock", "*", ">", "SILowerControlFlow", "::", "splitBlock", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "{", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "MachineBasicBlock", "*", "LoopBB", "=", "MF", "->", "CreateMachineBasicBlock", "(", ")", ";", "MachineBasicBlock", "*", "RemainderBB", "=", "MF", "->", "CreateMachineBasicBlock", "(", ")", ";", "MachineFunction", "::", "iterator", "MBBI", "(", "MBB", ")", ";", "++", "MBBI", ";", "MF", "->", "insert", "(", "MBBI", ",", "LoopBB", ")", ";", "MF", "->", "insert", "(", "MBBI", ",", "RemainderBB", ")", ";", "RemainderBB", "->", "transferSuccessors", "(", "&", "MBB", ")", ";", "RemainderBB", "->", "splice", "(", "RemainderBB", "->", "begin", "(", ")", ",", "&", "MBB", ",", "I", ",", "MBB", ".", "end", "(", ")", ")", ";", "MBB", ".", "addSuccessor", "(", "LoopBB", ")", ";", "return", "std", "::", "make_pair", "(", "LoopBB", ",", "RemainderBB", ")", ";", "}", ""], "natrual_language": ["splitBlock", "-", "BB", "is", "split", "and", "now", "it", "has", "one", "successor", "."], "TS_V_token": ["AMDGPU", "SI"], "File": "SILowerControlFlow3", "Func": "splitBlock", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3600, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "string", "getDataLayout", "(", ")", "const", "{", "const", "char", "*", "p", ";", "p", "=", "\"e-p:32:32:32-i32:32:32\"", ";", "return", "std", "::", "string", "(", "p", ")", ";", "}", ""], "natrual_language": ["Return", "the", "DataLayout", "associated", "with", "the", "module", "this", "SCEV", "instance", "is", "operating", "on", "."], "TS_V_token": ["TeeRISC", "\"e-p:32:32:32-i32:32:32\""], "File": "TeeRISCSubtarget", "Func": "getDataLayout", "Target": "TeeRISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3601, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sh_override_options_after_change", "(", "void", ")", "{", "if", "(", "flag_align_loops", "&&", "!", "str_align_loops", ")", "str_align_loops", "=", "optimize_size", "?", "\"2\"", ":", "\"4\"", ";", "parse_alignment_opts", "(", ")", ";", "if", "(", "flag_align_jumps", "&&", "!", "str_align_jumps", ")", "str_align_jumps", "=", "\"2\"", ";", "else", "if", "(", "align_jumps", ".", "levels", "[", "0", "]", ".", "get_value", "(", ")", "<", "2", ")", "str_align_jumps", "=", "\"2\"", ";", "if", "(", "flag_align_functions", "&&", "!", "str_align_functions", ")", "str_align_functions", "=", "optimize_size", "?", "\"2\"", ":", "\"4\"", ";", "if", "(", "TARGET_RELAX", ")", "{", "parse_alignment_opts", "(", ")", ";", "int", "min_align", "=", "MAX", "(", "align_loops", ".", "levels", "[", "0", "]", ".", "get_value", "(", ")", ",", "align_jumps", ".", "levels", "[", "0", "]", ".", "get_value", "(", ")", ")", ";", "if", "(", "min_align", "<", "4", ")", "min_align", "=", "4", ";", "if", "(", "align_functions", ".", "levels", "[", "0", "]", ".", "get_value", "(", ")", "<", "min_align", ")", "{", "char", "*", "r", "=", "XNEWVEC", "(", "char", ",", "16", ")", ";", "sprintf", "(", "r", ",", "\"%d\"", ",", "min_align", ")", ";", "str_align_functions", "=", "r", ";", "}", "}", "}", ""], "natrual_language": ["Implement", "targetm.override_options_after_change", "."], "TS_V_token": ["sh", "\"2\"", "\"4\"", "\"2\"", "0", "2", "\"2\"", "\"2\"", "\"4\"", "0", "0", "4", "4", "0", "16", "\"%d\""], "File": "sh", "Func": "sh_override_options_after_change", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3602, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "HOST_WIDE_INT", "rs6000_initial_elimination_offset", "(", "int", "from", ",", "int", "to", ")", "{", "rs6000_stack_t", "*", "info", "=", "rs6000_stack_info", "(", ")", ";", "HOST_WIDE_INT", "offset", ";", "if", "(", "from", "==", "HARD_FRAME_POINTER_REGNUM", "&&", "to", "==", "STACK_POINTER_REGNUM", ")", "offset", "=", "info", "->", "push_p", "?", "0", ":", "-", "info", "->", "total_size", ";", "else", "if", "(", "from", "==", "FRAME_POINTER_REGNUM", "&&", "to", "==", "STACK_POINTER_REGNUM", ")", "{", "offset", "=", "info", "->", "push_p", "?", "0", ":", "-", "info", "->", "total_size", ";", "if", "(", "FRAME_GROWS_DOWNWARD", ")", "offset", "+=", "info", "->", "fixed_size", "+", "info", "->", "vars_size", "+", "info", "->", "parm_size", ";", "}", "else", "if", "(", "from", "==", "FRAME_POINTER_REGNUM", "&&", "to", "==", "HARD_FRAME_POINTER_REGNUM", ")", "offset", "=", "FRAME_GROWS_DOWNWARD", "?", "info", "->", "fixed_size", "+", "info", "->", "vars_size", "+", "info", "->", "parm_size", ":", "0", ";", "else", "if", "(", "from", "==", "ARG_POINTER_REGNUM", "&&", "to", "==", "HARD_FRAME_POINTER_REGNUM", ")", "offset", "=", "info", "->", "total_size", ";", "else", "if", "(", "from", "==", "ARG_POINTER_REGNUM", "&&", "to", "==", "STACK_POINTER_REGNUM", ")", "offset", "=", "info", "->", "push_p", "?", "info", "->", "total_size", ":", "0", ";", "else", "if", "(", "from", "==", "RS6000_PIC_OFFSET_TABLE_REGNUM", ")", "offset", "=", "0", ";", "else", "gcc_unreachable", "(", ")", ";", "return", "offset", ";", "}", ""], "natrual_language": ["Define", "the", "offset", "between", "two", "registers", ",", "FROM", "to", "be", "eliminated", "and", "its", "replacement", "TO", ",", "at", "the", "start", "of", "a", "routine", "."], "TS_V_token": ["rs6000", "0", "0", "0", "0", "0"], "File": "rs6000", "Func": "rs6000_initial_elimination_offset", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3603, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "output_stack_adjust", "(", "int", "direction", ",", "int", "size", ")", "{", "if", "(", "size", ")", "{", "rtx", "val", "=", "GEN_INT", "(", "size", "*", "direction", ")", ";", "rtx", "insn", ";", "insn", "=", "(", "TARGET_BIG", "?", "gen_addpsi3", ":", "gen_addhi3", ")", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "val", ")", ";", "emit_insn", "(", "insn", ")", ";", "}", "}", ""], "natrual_language": ["Adjust", "the", "stack", "and", "return", "the", "number", "of", "bytes", "taken", "to", "do", "it"], "TS_V_token": ["z8k"], "File": "z8k", "Func": "output_stack_adjust", "Target": "z8k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3604, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb1InstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "assert", "(", "(", "RC", "==", "ARM", "::", "tGPRRegisterClass", "||", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "SrcReg", ")", "&&", "isARMLowRegister", "(", "SrcReg", ")", ")", ")", "&&", "\"Unknown regclass!\"", ")", ";", "if", "(", "RC", "==", "ARM", "::", "tGPRRegisterClass", ")", "{", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "tSpill", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ")", ";", "}", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["ARM", "ARM::tGPRRegisterClass", "ARM", "\"Unknown regclass!\"", "ARM::tGPRRegisterClass", "ARM::tSpill", "0"], "File": "Thumb1InstrInfo15", "Func": "storeRegToStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3605, "Length": 134, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", "Opcode", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "uint64_t", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "if", "(", "isParsingIntelSyntax", "(", ")", ")", "return", "MatchAndEmitIntelInstruction", "(", "IDLoc", ",", "Opcode", ",", "Operands", ",", "Out", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ";", "return", "MatchAndEmitATTInstruction", "(", "IDLoc", ",", "Opcode", ",", "Operands", ",", "Out", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ";", "}", ""], "natrual_language": ["MatchAndEmitInstruction", "-", "Recognize", "a", "series", "of", "operands", "of", "a", "parsed", "instruction", "as", "an", "actual", "MCInst", "and", "emit", "it", "to", "the", "specified", "MCStreamer", "."], "TS_V_token": ["X86", "X86"], "File": "X86AsmParser (2)3", "Func": "MatchAndEmitInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3606, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "MipsSETargetLowering", "::", "getRepRegClassFor", "(", "MVT", "VT", ")", "const", "{", "if", "(", "VT", "==", "MVT", "::", "Untyped", ")", "return", "Subtarget", "->", "hasDSP", "(", ")", "?", "&", "Mips", "::", "ACC64DSPRegClass", ":", "&", "Mips", "::", "ACC64RegClass", ";", "return", "TargetLowering", "::", "getRepRegClassFor", "(", "VT", ")", ";", "}", ""], "natrual_language": ["Return", "the", "'representative", "'", "register", "class", "for", "the", "specified", "value", "type", "."], "TS_V_token": ["Mips", "Mips", "MVT::Untyped", "Mips::ACC64DSPRegClass", "Mips::ACC64RegClass"], "File": "MipsSEISelLowering10", "Func": "getRepRegClassFor", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3607, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "GCNSubtarget", "::", "getOccupancyWithNumVGPRs", "(", "unsigned", "VGPRs", ")", "const", "{", "if", "(", "VGPRs", "<=", "24", ")", "return", "10", ";", "if", "(", "VGPRs", "<=", "28", ")", "return", "9", ";", "if", "(", "VGPRs", "<=", "32", ")", "return", "8", ";", "if", "(", "VGPRs", "<=", "36", ")", "return", "7", ";", "if", "(", "VGPRs", "<=", "40", ")", "return", "6", ";", "if", "(", "VGPRs", "<=", "48", ")", "return", "5", ";", "if", "(", "VGPRs", "<=", "64", ")", "return", "4", ";", "if", "(", "VGPRs", "<=", "84", ")", "return", "3", ";", "if", "(", "VGPRs", "<=", "128", ")", "return", "2", ";", "return", "1", ";", "}", ""], "natrual_language": ["Return", "the", "maximum", "number", "of", "waves", "per", "SIMD", "for", "kernels", "using", "VGPRs", "VGPRs", "."], "TS_V_token": ["AMDGPU", "24", "10", "28", "9", "32", "8", "36", "7", "40", "6", "48", "5", "64", "4", "84", "3", "128", "2", "1"], "File": "AMDGPUSubtarget", "Func": "getOccupancyWithNumVGPRs", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3608, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_file_start", "(", "void", ")", "{", "char", "buffer", "[", "80", "]", ";", "const", "char", "*", "start", "=", "buffer", ";", "FILE", "*", "file", "=", "asm_out_file", ";", "rs6000_default_cpu", "=", "TARGET_CPU_DEFAULT", ";", "default_file_start", "(", ")", ";", "if", "(", "flag_verbose_asm", ")", "{", "sprintf", "(", "buffer", ",", "\"\\n%s rs6000/powerpc options:\"", ",", "ASM_COMMENT_START", ")", ";", "if", "(", "rs6000_default_cpu", "!=", "0", "&&", "rs6000_default_cpu", "[", "0", "]", "!=", "'\\0'", ")", "{", "fprintf", "(", "file", ",", "\"%s --with-cpu=%s\"", ",", "start", ",", "rs6000_default_cpu", ")", ";", "start", "=", "\"\"", ";", "}", "if", "(", "global_options_set", ".", "x_rs6000_cpu_index", ")", "{", "fprintf", "(", "file", ",", "\"%s -mcpu=%s\"", ",", "start", ",", "processor_target_table", "[", "rs6000_cpu_index", "]", ".", "name", ")", ";", "start", "=", "\"\"", ";", "}", "if", "(", "global_options_set", ".", "x_rs6000_tune_index", ")", "{", "fprintf", "(", "file", ",", "\"%s -mtune=%s\"", ",", "start", ",", "processor_target_table", "[", "rs6000_tune_index", "]", ".", "name", ")", ";", "start", "=", "\"\"", ";", "}", "if", "(", "PPC405_ERRATUM77", ")", "{", "fprintf", "(", "file", ",", "\"%s PPC405CR_ERRATUM77\"", ",", "start", ")", ";", "start", "=", "\"\"", ";", "}", "switch", "(", "rs6000_sdata", ")", "{", "case", "SDATA_NONE", ":", "fprintf", "(", "file", ",", "\"%s -msdata=none\"", ",", "start", ")", ";", "start", "=", "\"\"", ";", "break", ";", "case", "SDATA_DATA", ":", "fprintf", "(", "file", ",", "\"%s -msdata=data\"", ",", "start", ")", ";", "start", "=", "\"\"", ";", "break", ";", "case", "SDATA_SYSV", ":", "fprintf", "(", "file", ",", "\"%s -msdata=sysv\"", ",", "start", ")", ";", "start", "=", "\"\"", ";", "break", ";", "case", "SDATA_EABI", ":", "fprintf", "(", "file", ",", "\"%s -msdata=eabi\"", ",", "start", ")", ";", "start", "=", "\"\"", ";", "break", ";", "}", "if", "(", "rs6000_sdata", "&&", "g_switch_value", ")", "{", "fprintf", "(", "file", ",", "\"%s -G %d\"", ",", "start", ",", "g_switch_value", ")", ";", "start", "=", "\"\"", ";", "}", "if", "(", "*", "start", "==", "'\\0'", ")", "putc", "(", "'\\n'", ",", "file", ")", ";", "}", "if", "(", "!", "(", "rs6000_default_cpu", "&&", "rs6000_default_cpu", "[", "0", "]", ")", "&&", "!", "global_options_set", ".", "x_rs6000_cpu_index", ")", "{", "fputs", "(", "\"\\t.machine \"", ",", "asm_out_file", ")", ";", "if", "(", "(", "rs6000_isa_flags", "&", "OPTION_MASK_MODULO", ")", "!=", "0", ")", "fputs", "(", "\"power9\\n\"", ",", "asm_out_file", ")", ";", "else", "if", "(", "(", "rs6000_isa_flags", "&", "OPTION_MASK_DIRECT_MOVE", ")", "!=", "0", ")", "fputs", "(", "\"power8\\n\"", ",", "asm_out_file", ")", ";", "else", "if", "(", "(", "rs6000_isa_flags", "&", "OPTION_MASK_POPCNTD", ")", "!=", "0", ")", "fputs", "(", "\"power7\\n\"", ",", "asm_out_file", ")", ";", "else", "if", "(", "(", "rs6000_isa_flags", "&", "OPTION_MASK_CMPB", ")", "!=", "0", ")", "fputs", "(", "\"power6\\n\"", ",", "asm_out_file", ")", ";", "else", "if", "(", "(", "rs6000_isa_flags", "&", "OPTION_MASK_POPCNTB", ")", "!=", "0", ")", "fputs", "(", "\"power5\\n\"", ",", "asm_out_file", ")", ";", "else", "if", "(", "(", "rs6000_isa_flags", "&", "OPTION_MASK_MFCRF", ")", "!=", "0", ")", "fputs", "(", "\"power4\\n\"", ",", "asm_out_file", ")", ";", "else", "if", "(", "(", "rs6000_isa_flags", "&", "OPTION_MASK_POWERPC64", ")", "!=", "0", ")", "fputs", "(", "\"ppc64\\n\"", ",", "asm_out_file", ")", ";", "else", "fputs", "(", "\"ppc\\n\"", ",", "asm_out_file", ")", ";", "}", "if", "(", "DEFAULT_ABI", "==", "ABI_ELFv2", ")", "fprintf", "(", "file", ",", "\"\\t.abiversion 2\\n\"", ")", ";", "}", ""], "natrual_language": ["Do", "anything", "needed", "at", "the", "start", "of", "the", "asm", "file", "."], "TS_V_token": ["rs6000", "80", "\"\\n%s rs6000/powerpc options:\"", "0", "0", "\"%s --with-cpu=%s\"", "\"\"", "\"%s -mcpu=%s\"", "\"\"", "\"%s -mtune=%s\"", "\"\"", "\"%s PPC405CR_ERRATUM77\"", "\"\"", "\"%s -msdata=none\"", "\"\"", "\"%s -msdata=data\"", "\"\"", "\"%s -msdata=sysv\"", "\"\"", "\"%s -msdata=eabi\"", "\"\"", "\"%s -G %d\"", "\"\"", "0", "\"\\t.machine \"", "0", "\"power9\\n\"", "0", "\"power8\\n\"", "0", "\"power7\\n\"", "0", "\"power6\\n\"", "0", "\"power5\\n\"", "0", "\"power4\\n\"", "0", "\"ppc64\\n\"", "\"ppc\\n\"", "\"\\t.abiversion 2\\n\""], "File": "rs60006", "Func": "rs6000_file_start", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3609, "Length": 442, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyReplacePhysRegs", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "{", "dbgs", "(", ")", "<<", "\"********** Replace Physical Registers **********\\n\"", "<<", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ";", "}", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "auto", "&", "TRI", "=", "*", "MF", ".", "getSubtarget", "<", "WebAssemblySubtarget", ">", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "bool", "Changed", "=", "false", ";", "assert", "(", "!", "mustPreserveAnalysisID", "(", "LiveIntervalsID", ")", "&&", "\"LiveIntervals shouldn't be active yet!\"", ")", ";", "MRI", ".", "leaveSSA", "(", ")", ";", "MRI", ".", "invalidateLiveness", "(", ")", ";", "for", "(", "unsigned", "PReg", "=", "WebAssembly", "::", "NoRegister", "+", "1", ";", "PReg", "<", "WebAssembly", "::", "NUM_TARGET_REGS", ";", "++", "PReg", ")", "{", "if", "(", "PReg", "==", "WebAssembly", "::", "VALUE_STACK", "||", "PReg", "==", "WebAssembly", "::", "ARGUMENTS", ")", "continue", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", ".", "getMinimalPhysRegClass", "(", "PReg", ")", ";", "unsigned", "VReg", "=", "WebAssembly", "::", "NoRegister", ";", "for", "(", "auto", "I", "=", "MRI", ".", "reg_begin", "(", "PReg", ")", ",", "E", "=", "MRI", ".", "reg_end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "MachineOperand", "&", "MO", "=", "*", "I", "++", ";", "if", "(", "!", "MO", ".", "isImplicit", "(", ")", ")", "{", "if", "(", "VReg", "==", "WebAssembly", "::", "NoRegister", ")", "{", "VReg", "=", "MRI", ".", "createVirtualRegister", "(", "RC", ")", ";", "if", "(", "PReg", "==", "TRI", ".", "getFrameRegister", "(", "MF", ")", ")", "{", "auto", "FI", "=", "MF", ".", "getInfo", "<", "WebAssemblyFunctionInfo", ">", "(", ")", ";", "assert", "(", "!", "FI", "->", "isFrameBaseVirtual", "(", ")", ")", ";", "FI", "->", "setFrameBaseVreg", "(", "VReg", ")", ";", "LLVM_DEBUG", "(", "{", "dbgs", "(", ")", "<<", "\"replacing preg \"", "<<", "PReg", "<<", "\" with \"", "<<", "VReg", "<<", "\" (\"", "<<", "Register", "::", "virtReg2Index", "(", "VReg", ")", "<<", "\")\\n\"", ";", "}", ")", ";", "}", "}", "MO", ".", "setReg", "(", "VReg", ")", ";", "if", "(", "MO", ".", "getParent", "(", ")", "->", "isDebugValue", "(", ")", ")", "MO", ".", "setIsDebug", "(", ")", ";", "Changed", "=", "true", ";", "}", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"********** Replace Physical Registers **********\\n\"", "\"********** Function: \"", "WebAssembly", "\"LiveIntervals shouldn't be active yet!\"", "WebAssembly::NoRegister", "1", "WebAssembly::NUM_TARGET_REGS", "WebAssembly::VALUE_STACK", "WebAssembly::ARGUMENTS", "WebAssembly::NoRegister", "WebAssembly::NoRegister", "WebAssembly", "\"replacing preg \"", "\" with \"", "\" (\"", "\")\\n\""], "File": "WebAssemblyReplacePhysRegs7", "Func": "runOnMachineFunction", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3610, "Length": 314, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64InstrInfo", "::", "suppressLdStPair", "(", "MachineInstr", "*", "MI", ")", "const", "{", "if", "(", "MI", "->", "memoperands_empty", "(", ")", ")", "return", ";", "static_assert", "(", "MOSuppressPair", "<", "(", "1", "<<", "MachineMemOperand", "::", "MOTargetNumBits", ")", ",", "\"Too many target MO flags\"", ")", ";", "(", "*", "MI", "->", "memoperands_begin", "(", ")", ")", "->", "setFlags", "(", "MOSuppressPair", "<<", "MachineMemOperand", "::", "MOTargetStartBit", ")", ";", "}", ""], "natrual_language": ["Hint", "that", "pairing", "the", "given", "load", "or", "store", "is", "unprofitable", "."], "TS_V_token": ["AArch64", "AArch64", "1", "\"Too many target MO flags\""], "File": "AArch64InstrInfo110", "Func": "suppressLdStPair", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3611, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "s390_load_got", "(", "void", ")", "{", "rtx", "insns", ";", "if", "(", "!", "got_symbol", ")", "{", "got_symbol", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "\"_GLOBAL_OFFSET_TABLE_\"", ")", ";", "SYMBOL_REF_FLAGS", "(", "got_symbol", ")", "=", "SYMBOL_FLAG_LOCAL", ";", "}", "start_sequence", "(", ")", ";", "if", "(", "TARGET_CPU_ZARCH", ")", "{", "emit_move_insn", "(", "pic_offset_table_rtx", ",", "got_symbol", ")", ";", "}", "else", "{", "rtx", "offset", ";", "offset", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "got_symbol", ")", ",", "UNSPEC_LTREL_OFFSET", ")", ";", "offset", "=", "gen_rtx_CONST", "(", "Pmode", ",", "offset", ")", ";", "offset", "=", "force_const_mem", "(", "Pmode", ",", "offset", ")", ";", "emit_move_insn", "(", "pic_offset_table_rtx", ",", "offset", ")", ";", "offset", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "XEXP", "(", "offset", ",", "0", ")", ")", ",", "UNSPEC_LTREL_BASE", ")", ";", "offset", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "pic_offset_table_rtx", ",", "offset", ")", ";", "emit_move_insn", "(", "pic_offset_table_rtx", ",", "offset", ")", ";", "}", "insns", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "return", "insns", ";", "}", ""], "natrual_language": ["Return", "insn", "sequence", "to", "load", "the", "GOT", "register", "."], "TS_V_token": ["s390", "\"_GLOBAL_OFFSET_TABLE_\"", "1", "1", "0"], "File": "s3903", "Func": "s390_load_got", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3612, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "SPAdj", "==", "0", "&&", "\"Unexpected\"", ")", ";", "MachineInstr", "&", "MI", "=", "*", "II", ";", "DebugLoc", "dl", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "FIOperandNum", ")", ".", "getIndex", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "SparcSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "SparcSubtarget", ">", "(", ")", ";", "const", "SparcFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "Register", "FrameReg", ";", "int", "Offset", ";", "Offset", "=", "TFI", "->", "getFrameIndexReference", "(", "MF", ",", "FrameIndex", ",", "FrameReg", ")", ";", "Offset", "+=", "MI", ".", "getOperand", "(", "FIOperandNum", "+", "1", ")", ".", "getImm", "(", ")", ";", "if", "(", "!", "Subtarget", ".", "isV9", "(", ")", "||", "!", "Subtarget", ".", "hasHardQuad", "(", ")", ")", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "SP", "::", "STQFri", ")", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "Register", "SrcReg", "=", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ";", "Register", "SrcEvenReg", "=", "getSubReg", "(", "SrcReg", ",", "SP", "::", "sub_even64", ")", ";", "Register", "SrcOddReg", "=", "getSubReg", "(", "SrcReg", ",", "SP", "::", "sub_odd64", ")", ";", "MachineInstr", "*", "StMI", "=", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "SP", "::", "STDFri", ")", ")", ".", "addReg", "(", "FrameReg", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcEvenReg", ")", ";", "replaceFI", "(", "MF", ",", "*", "StMI", ",", "*", "StMI", ",", "dl", ",", "0", ",", "Offset", ",", "FrameReg", ")", ";", "MI", ".", "setDesc", "(", "TII", ".", "get", "(", "SP", "::", "STDFri", ")", ")", ";", "MI", ".", "getOperand", "(", "2", ")", ".", "setReg", "(", "SrcOddReg", ")", ";", "Offset", "+=", "8", ";", "}", "else", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "SP", "::", "LDQFri", ")", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "Register", "DestReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "Register", "DestEvenReg", "=", "getSubReg", "(", "DestReg", ",", "SP", "::", "sub_even64", ")", ";", "Register", "DestOddReg", "=", "getSubReg", "(", "DestReg", ",", "SP", "::", "sub_odd64", ")", ";", "MachineInstr", "*", "LdMI", "=", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "II", ",", "dl", ",", "TII", ".", "get", "(", "SP", "::", "LDDFri", ")", ",", "DestEvenReg", ")", ".", "addReg", "(", "FrameReg", ")", ".", "addImm", "(", "0", ")", ";", "replaceFI", "(", "MF", ",", "*", "LdMI", ",", "*", "LdMI", ",", "dl", ",", "1", ",", "Offset", ",", "FrameReg", ")", ";", "MI", ".", "setDesc", "(", "TII", ".", "get", "(", "SP", "::", "LDDFri", ")", ")", ";", "MI", ".", "getOperand", "(", "0", ")", ".", "setReg", "(", "DestOddReg", ")", ";", "Offset", "+=", "8", ";", "}", "}", "replaceFI", "(", "MF", ",", "II", ",", "MI", ",", "dl", ",", "FIOperandNum", ",", "Offset", ",", "FrameReg", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["Sparc", "Sparc", "SP", "SP", "0", "\"Unexpected\"", "Sparc", "Sparc", "Sparc", "1", "SP::STQFri", "2", "SP::sub_even64", "SP::sub_odd64", "SP::STDFri", "0", "0", "SP::STDFri", "2", "8", "SP::LDQFri", "0", "SP::sub_even64", "SP::sub_odd64", "SP::LDDFri", "0", "1", "SP::LDDFri", "0", "8"], "File": "SparcRegisterInfo23", "Func": "eliminateFrameIndex", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3613, "Length": 478, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "ARM", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"fixup_arm_ldst_pcrel_12\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_t2_ldst_pcrel_12\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "|", "MCFixupKindInfo", "::", "FKF_IsAlignedDownTo32Bits", "}", ",", "{", "\"fixup_arm_pcrel_10_unscaled\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_arm_pcrel_10\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_t2_pcrel_10\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "|", "MCFixupKindInfo", "::", "FKF_IsAlignedDownTo32Bits", "}", ",", "{", "\"fixup_thumb_adr_pcrel_10\"", ",", "0", ",", "8", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "|", "MCFixupKindInfo", "::", "FKF_IsAlignedDownTo32Bits", "}", ",", "{", "\"fixup_arm_adr_pcrel_12\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_t2_adr_pcrel_12\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "|", "MCFixupKindInfo", "::", "FKF_IsAlignedDownTo32Bits", "}", ",", "{", "\"fixup_arm_condbranch\"", ",", "0", ",", "24", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_arm_uncondbranch\"", ",", "0", ",", "24", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_t2_condbranch\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_t2_uncondbranch\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_arm_thumb_br\"", ",", "0", ",", "16", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_arm_uncondbl\"", ",", "0", ",", "24", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_arm_condbl\"", ",", "0", ",", "24", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_arm_blx\"", ",", "0", ",", "24", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_arm_thumb_bl\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_arm_thumb_blx\"", ",", "0", ",", "32", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_arm_thumb_cb\"", ",", "0", ",", "16", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_arm_thumb_cp\"", ",", "0", ",", "8", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_arm_thumb_bcc\"", ",", "0", ",", "8", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_arm_movt_hi16\"", ",", "0", ",", "20", ",", "0", "}", ",", "{", "\"fixup_arm_movw_lo16\"", ",", "0", ",", "20", ",", "0", "}", ",", "{", "\"fixup_t2_movt_hi16\"", ",", "0", ",", "20", ",", "0", "}", ",", "{", "\"fixup_t2_movw_lo16\"", ",", "0", ",", "20", ",", "0", "}", ",", "{", "\"fixup_arm_movt_hi16_pcrel\"", ",", "0", ",", "20", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_arm_movw_lo16_pcrel\"", ",", "0", ",", "20", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_t2_movt_hi16_pcrel\"", ",", "0", ",", "20", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_t2_movw_lo16_pcrel\"", ",", "0", ",", "20", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "}", ";", "if", "(", "Kind", "<", "FirstTargetFixupKind", ")", "return", "MCAsmBackend", "::", "getFixupKindInfo", "(", "Kind", ")", ";", "assert", "(", "unsigned", "(", "Kind", "-", "FirstTargetFixupKind", ")", "<", "getNumFixupKinds", "(", ")", "&&", "\"Invalid kind!\"", ")", ";", "return", "Infos", "[", "Kind", "-", "FirstTargetFixupKind", "]", ";", "}", ""], "natrual_language": ["Get", "information", "on", "a", "fixup", "kind", "."], "TS_V_token": ["ARM", "ARM::NumTargetFixupKinds", "\"fixup_arm_ldst_pcrel_12\"", "0", "32", "\"fixup_t2_ldst_pcrel_12\"", "0", "32", "\"fixup_arm_pcrel_10_unscaled\"", "0", "32", "\"fixup_arm_pcrel_10\"", "0", "32", "\"fixup_t2_pcrel_10\"", "0", "32", "\"fixup_thumb_adr_pcrel_10\"", "0", "8", "\"fixup_arm_adr_pcrel_12\"", "0", "32", "\"fixup_t2_adr_pcrel_12\"", "0", "32", "\"fixup_arm_condbranch\"", "0", "24", "\"fixup_arm_uncondbranch\"", "0", "24", "\"fixup_t2_condbranch\"", "0", "32", "\"fixup_t2_uncondbranch\"", "0", "32", "\"fixup_arm_thumb_br\"", "0", "16", "\"fixup_arm_uncondbl\"", "0", "24", "\"fixup_arm_condbl\"", "0", "24", "\"fixup_arm_blx\"", "0", "24", "\"fixup_arm_thumb_bl\"", "0", "32", "\"fixup_arm_thumb_blx\"", "0", "32", "\"fixup_arm_thumb_cb\"", "0", "16", "\"fixup_arm_thumb_cp\"", "0", "8", "\"fixup_arm_thumb_bcc\"", "0", "8", "\"fixup_arm_movt_hi16\"", "0", "20", "0", "\"fixup_arm_movw_lo16\"", "0", "20", "0", "\"fixup_t2_movt_hi16\"", "0", "20", "0", "\"fixup_t2_movw_lo16\"", "0", "20", "0", "\"fixup_arm_movt_hi16_pcrel\"", "0", "20", "\"fixup_arm_movw_lo16_pcrel\"", "0", "20", "\"fixup_t2_movt_hi16_pcrel\"", "0", "20", "\"fixup_t2_movw_lo16_pcrel\"", "0", "20", "\"Invalid kind!\""], "File": "ARMAsmBackend46", "Func": "getFixupKindInfo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3614, "Length": 418, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "avr_print_operand_punct_valid_p", "(", "unsigned", "char", "code", ")", "{", "return", "code", "==", "'~'", "||", "code", "==", "'!'", ";", "}", ""], "natrual_language": ["Implement", "`", "TARGET_PRINT_OPERAND_PUNCT_VALID_P", "'", "."], "TS_V_token": ["avr"], "File": "avr", "Func": "avr_print_operand_punct_valid_p", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3615, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Error", "(", "SMLoc", "L", ",", "const", "Twine", "&", "Msg", ")", "{", "return", "Parser", ".", "Error", "(", "L", ",", "Msg", ")", ";", "}", ""], "natrual_language": ["Return", "an", "error", "at", "the", "location", "L", ",", "with", "the", "message", "Msg", "."], "TS_V_token": ["X86"], "File": "X86AsmParser101", "Func": "Error", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3616, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "enum", "calling_abi", "ix86_cfun_abi", "(", "void", ")", "{", "if", "(", "!", "cfun", ")", "return", "ix86_abi", ";", "return", "cfun", "->", "machine", "->", "call_abi", ";", "}", ""], "natrual_language": ["Returns", "value", "SYSV_ABI", ",", "MS_ABI", "dependent", "on", "cfun", ",", "specifying", "the", "call", "abi", "used", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "ix86_cfun_abi", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3617, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "RISCV", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["RISCV", "RISCV::NumTargetFixupKinds"], "File": "RISCVAsmBackend (2)", "Func": "getNumFixupKinds", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3618, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Z80oldPassConfig", "::", "addCodeGenPrepare", "(", ")", "{", "addPass", "(", "createLowerSwitchPass", "(", ")", ")", ";", "TargetPassConfig", "::", "addCodeGenPrepare", "(", ")", ";", "}", ""], "natrual_language": ["Add", "pass", "to", "prepare", "the", "LLVM", "IR", "for", "code", "generation", "."], "TS_V_token": ["Z80old", "Z80old"], "File": "Z80oldTargetMachine", "Func": "addCodeGenPrepare", "Target": "Z80old", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3619, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "visium_expand_fp_cstore", "(", "rtx", "*", "operands", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "operands", "[", "1", "]", ")", ";", "rtx", "op0", "=", "operands", "[", "0", "]", ",", "op1", "=", "operands", "[", "2", "]", ",", "op2", "=", "operands", "[", "3", "]", ",", "slt", ";", "bool", "reverse", "=", "false", ";", "switch", "(", "code", ")", "{", "case", "UNLE", ":", "case", "UNGE", ":", "code", "=", "reverse_condition_maybe_unordered", "(", "code", ")", ";", "reverse", "=", "true", ";", "case", "LT", ":", "case", "GT", ":", "if", "(", "code", "==", "GT", ")", "{", "rtx", "tmp", "=", "op1", ";", "op1", "=", "op2", ";", "op2", "=", "tmp", ";", "}", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "slt", "=", "gen_rtx_LT", "(", "SImode", ",", "op1", ",", "op2", ")", ";", "if", "(", "reverse", ")", "{", "rtx", "tmp", "=", "copy_to_mode_reg", "(", "SImode", ",", "gen_rtx_NEG", "(", "SImode", ",", "slt", ")", ")", ";", "emit_insn", "(", "gen_add3_insn", "(", "op0", ",", "tmp", ",", "const1_rtx", ")", ")", ";", "}", "else", "emit_insn", "(", "gen_rtx_SET", "(", "op0", ",", "slt", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "cstore", "of", "OPERANDS", "in", "MODE", "for", "LT/GT/UNGE/UNLE", ".", "We", "generate", "the", "result", "in", "the", "C", "flag", "and", "use", "the", "ADC/SUBC", "instructions", "to", "write", "it", "into", "the", "destination", "register", "."], "TS_V_token": ["visium", "1", "0", "2", "3"], "File": "visium", "Func": "visium_expand_fp_cstore", "Target": "visium", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 3620, "Length": 167, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "arm_print_tune_info", "(", "void", ")", "{", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t@.tune parameters\\n\"", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t@constant_limit:\\t%d\\n\"", ",", "current_tune", "->", "constant_limit", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t@max_insns_skipped:\\t%d\\n\"", ",", "current_tune", "->", "max_insns_skipped", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t@prefetch.num_slots:\\t%d\\n\"", ",", "current_tune", "->", "prefetch", ".", "num_slots", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t@prefetch.l1_cache_size:\\t%d\\n\"", ",", "current_tune", "->", "prefetch", ".", "l1_cache_size", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t@prefetch.l1_cache_line_size:\\t%d\\n\"", ",", "current_tune", "->", "prefetch", ".", "l1_cache_line_size", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t@prefer_constant_pool:\\t%d\\n\"", ",", "(", "int", ")", "current_tune", "->", "prefer_constant_pool", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t@branch_cost:\\t(s:speed, p:predictable)\\n\"", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t\\t\\ts&p\\tcost\\n\"", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t\\t\\t00\\t%d\\n\"", ",", "current_tune", "->", "branch_cost", "(", "false", ",", "false", ")", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t\\t\\t01\\t%d\\n\"", ",", "current_tune", "->", "branch_cost", "(", "false", ",", "true", ")", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t\\t\\t10\\t%d\\n\"", ",", "current_tune", "->", "branch_cost", "(", "true", ",", "false", ")", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t\\t\\t11\\t%d\\n\"", ",", "current_tune", "->", "branch_cost", "(", "true", ",", "true", ")", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t@prefer_ldrd_strd:\\t%d\\n\"", ",", "(", "int", ")", "current_tune", "->", "prefer_ldrd_strd", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t@logical_op_non_short_circuit:\\t[%d,%d]\\n\"", ",", "(", "int", ")", "current_tune", "->", "logical_op_non_short_circuit_thumb", ",", "(", "int", ")", "current_tune", "->", "logical_op_non_short_circuit_arm", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t@prefer_neon_for_64bits:\\t%d\\n\"", ",", "(", "int", ")", "current_tune", "->", "prefer_neon_for_64bits", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t@disparage_flag_setting_t16_encodings:\\t%d\\n\"", ",", "(", "int", ")", "current_tune", "->", "disparage_flag_setting_t16_encodings", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t@string_ops_prefer_neon:\\t%d\\n\"", ",", "(", "int", ")", "current_tune", "->", "string_ops_prefer_neon", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t@max_insns_inline_memset:\\t%d\\n\"", ",", "current_tune", "->", "max_insns_inline_memset", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t@fusible_ops:\\t%u\\n\"", ",", "current_tune", "->", "fusible_ops", ")", ";", "asm_fprintf", "(", "asm_out_file", ",", "\"\\t\\t@sched_autopref:\\t%d\\n\"", ",", "(", "int", ")", "current_tune", "->", "sched_autopref", ")", ";", "}", ""], "natrual_language": ["This", "function", "is", "used", "to", "print", "CPU", "tuning", "information", "as", "comment", "in", "assembler", "file", ".", "Pointers", "are", "not", "printed", "for", "now", "."], "TS_V_token": ["arm", "\"\\t@.tune parameters\\n\"", "\"\\t\\t@constant_limit:\\t%d\\n\"", "\"\\t\\t@max_insns_skipped:\\t%d\\n\"", "\"\\t\\t@prefetch.num_slots:\\t%d\\n\"", "\"\\t\\t@prefetch.l1_cache_size:\\t%d\\n\"", "\"\\t\\t@prefetch.l1_cache_line_size:\\t%d\\n\"", "\"\\t\\t@prefer_constant_pool:\\t%d\\n\"", "\"\\t\\t@branch_cost:\\t(s:speed, p:predictable)\\n\"", "\"\\t\\t\\t\\ts&p\\tcost\\n\"", "\"\\t\\t\\t\\t00\\t%d\\n\"", "\"\\t\\t\\t\\t01\\t%d\\n\"", "\"\\t\\t\\t\\t10\\t%d\\n\"", "\"\\t\\t\\t\\t11\\t%d\\n\"", "\"\\t\\t@prefer_ldrd_strd:\\t%d\\n\"", "\"\\t\\t@logical_op_non_short_circuit:\\t[%d,%d]\\n\"", "\"\\t\\t@prefer_neon_for_64bits:\\t%d\\n\"", "\"\\t\\t@disparage_flag_setting_t16_encodings:\\t%d\\n\"", "\"\\t\\t@string_ops_prefer_neon:\\t%d\\n\"", "\"\\t\\t@max_insns_inline_memset:\\t%d\\n\"", "\"\\t\\t@fusible_ops:\\t%u\\n\"", "\"\\t\\t@sched_autopref:\\t%d\\n\""], "File": "arm5", "Func": "arm_print_tune_info", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3621, "Length": 280, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint32_t", "AMDGPUTargetLowering", "::", "getImplicitParameterOffset", "(", "const", "MachineFunction", "&", "MF", ",", "const", "ImplicitParameter", "Param", ")", "const", "{", "const", "AMDGPUMachineFunction", "*", "MFI", "=", "MF", ".", "getInfo", "<", "AMDGPUMachineFunction", ">", "(", ")", ";", "const", "AMDGPUSubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "AMDGPUSubtarget", ">", "(", ")", ";", "unsigned", "ExplicitArgOffset", "=", "ST", ".", "getExplicitKernelArgOffset", "(", "MF", ".", "getFunction", "(", ")", ")", ";", "unsigned", "Alignment", "=", "ST", ".", "getAlignmentForImplicitArgPtr", "(", ")", ";", "uint64_t", "ArgOffset", "=", "alignTo", "(", "MFI", "->", "getExplicitKernArgSize", "(", ")", ",", "Alignment", ")", "+", "ExplicitArgOffset", ";", "switch", "(", "Param", ")", "{", "case", "GRID_DIM", ":", "return", "ArgOffset", ";", "case", "GRID_OFFSET", ":", "return", "ArgOffset", "+", "4", ";", "}", "llvm_unreachable", "(", "\"unexpected implicit parameter type\"", ")", ";", "}", ""], "natrual_language": ["Helper", "function", "that", "returns", "the", "byte", "offset", "of", "the", "given", "type", "of", "implicit", "parameter", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "4", "\"unexpected implicit parameter type\""], "File": "AMDGPUISelLowering93", "Func": "getImplicitParameterOffset", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3622, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MipsFunctionInfo", "::", "getGlobalBaseReg", "(", ")", "{", "if", "(", "GlobalBaseReg", ")", "return", "GlobalBaseReg", ";", "const", "MipsSubtarget", "&", "ST", "=", "MF", ".", "getTarget", "(", ")", ".", "getSubtarget", "<", "MipsSubtarget", ">", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", ";", "if", "(", "ST", ".", "inMips16Mode", "(", ")", ")", "RC", "=", "(", "const", "TargetRegisterClass", "*", ")", "&", "Mips", "::", "CPU16RegsRegClass", ";", "else", "RC", "=", "ST", ".", "isABI_N64", "(", ")", "?", "(", "const", "TargetRegisterClass", "*", ")", "&", "Mips", "::", "GPR64RegClass", ":", "(", "const", "TargetRegisterClass", "*", ")", "&", "Mips", "::", "GPR32RegClass", ";", "return", "GlobalBaseReg", "=", "MF", ".", "getRegInfo", "(", ")", ".", "createVirtualRegister", "(", "RC", ")", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips::CPU16RegsRegClass", "Mips::GPR64RegClass", "Mips::GPR32RegClass"], "File": "MipsMachineFunction", "Func": "getGlobalBaseReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3623, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_register_pragmas", "(", "void", ")", "{", "targetm", ".", "target_option", ".", "pragma_parse", "=", "aarch64_pragma_target_parse", ";", "targetm", ".", "resolve_overloaded_builtin", "=", "aarch64_resolve_overloaded_builtin", ";", "targetm", ".", "check_builtin_call", "=", "aarch64_check_builtin_call", ";", "c_register_pragma", "(", "\"GCC\"", ",", "\"aarch64\"", ",", "aarch64_pragma_aarch64", ")", ";", "}", ""], "natrual_language": ["Implement", "REGISTER_TARGET_PRAGMAS", "."], "TS_V_token": ["aarch64", "\"GCC\"", "\"aarch64\""], "File": "aarch64-c", "Func": "aarch64_register_pragmas", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3624, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "bool", "isAligned", "=", "(", "RI", ".", "getStackAlignment", "(", ")", ">=", "16", ")", "||", "RI", ".", "needsStackRealignment", "(", "MF", ")", ";", "unsigned", "Opc", "=", "getStoreRegOpcode", "(", "RC", ",", "isAligned", ")", ";", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "addFrameReference", "(", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opc", ")", ")", ",", "FrameIdx", ")", ".", "addReg", "(", "SrcReg", ",", "false", ",", "false", ",", "isKill", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["X86", "X86", "16"], "File": "X86InstrInfo101", "Func": "storeRegToStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3625, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SIInstrInfo", "::", "getNumWaitStates", "(", "const", "MachineInstr", "&", "MI", ")", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "if", "(", "MI", ".", "isMetaInstruction", "(", ")", ")", "return", "0", ";", "return", "1", ";", "case", "AMDGPU", "::", "S_NOP", ":", "return", "MI", ".", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", "+", "1", ";", "case", "AMDGPU", "::", "SI_MASKED_UNREACHABLE", ":", "case", "AMDGPU", "::", "WAVE_BARRIER", ":", "case", "AMDGPU", "::", "SCHED_BARRIER", ":", "return", "0", ";", "}", "}", ""], "natrual_language": ["Return", "the", "number", "of", "wait", "states", "that", "result", "from", "executing", "this", "instruction", "."], "TS_V_token": ["AMDGPU", "SI", "0", "1", "AMDGPU::S_NOP", "0", "1", "AMDGPU::SI_MASKED_UNREACHABLE", "AMDGPU::WAVE_BARRIER", "AMDGPU::SCHED_BARRIER", "0"], "File": "SIInstrInfo54", "Func": "getNumWaitStates", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3626, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print_operand_address", "(", "FILE", "*", "file", ",", "rtx", "addr", ")", "{", "if", "(", "!", "addr", ")", "error", "(", "\"PRINT_OPERAND_ADDRESS, null pointer\"", ")", ";", "else", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "case", "REG", ":", "if", "(", "REGNO", "(", "addr", ")", "==", "ARG_POINTER_REGNUM", ")", "abort_with_insn", "(", "addr", ",", "\"Arg pointer not eliminated.\"", ")", ";", "fprintf", "(", "file", ",", "\"0(%s)\"", ",", "reg_names", "[", "REGNO", "(", "addr", ")", "]", ")", ";", "break", ";", "case", "LO_SUM", ":", "{", "rtx", "arg0", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "rtx", "arg1", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "arg0", ")", "!=", "REG", ")", "abort_with_insn", "(", "addr", ",", "\"PRINT_OPERAND_ADDRESS, LO_SUM with #1 not REG.\"", ")", ";", "fprintf", "(", "file", ",", "\"%%lo(\"", ")", ";", "print_operand_address", "(", "file", ",", "arg1", ")", ";", "fprintf", "(", "file", ",", "\")(%s)\"", ",", "reg_names", "[", "REGNO", "(", "arg0", ")", "]", ")", ";", "}", "break", ";", "case", "PLUS", ":", "{", "rtx", "reg", "=", "0", ";", "rtx", "offset", "=", "0", ";", "rtx", "arg0", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "rtx", "arg1", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "arg0", ")", "==", "REG", ")", "{", "reg", "=", "arg0", ";", "offset", "=", "arg1", ";", "if", "(", "GET_CODE", "(", "offset", ")", "==", "REG", ")", "abort_with_insn", "(", "addr", ",", "\"PRINT_OPERAND_ADDRESS, 2 regs\"", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "arg1", ")", "==", "REG", ")", "reg", "=", "arg1", ",", "offset", "=", "arg0", ";", "else", "if", "(", "CONSTANT_P", "(", "arg0", ")", "&&", "CONSTANT_P", "(", "arg1", ")", ")", "{", "output_addr_const", "(", "file", ",", "addr", ")", ";", "break", ";", "}", "else", "abort_with_insn", "(", "addr", ",", "\"PRINT_OPERAND_ADDRESS, no regs\"", ")", ";", "if", "(", "!", "CONSTANT_P", "(", "offset", ")", ")", "abort_with_insn", "(", "addr", ",", "\"PRINT_OPERAND_ADDRESS, invalid insn #2\"", ")", ";", "if", "(", "REGNO", "(", "reg", ")", "==", "ARG_POINTER_REGNUM", ")", "abort_with_insn", "(", "addr", ",", "\"Arg pointer not eliminated.\"", ")", ";", "output_addr_const", "(", "file", ",", "offset", ")", ";", "fprintf", "(", "file", ",", "\"(%s)\"", ",", "reg_names", "[", "REGNO", "(", "reg", ")", "]", ")", ";", "}", "break", ";", "case", "LABEL_REF", ":", "case", "SYMBOL_REF", ":", "case", "CONST_INT", ":", "case", "CONST", ":", "output_addr_const", "(", "file", ",", "addr", ")", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "CONST_INT", ")", "fprintf", "(", "file", ",", "\"(%s)\"", ",", "reg_names", "[", "0", "]", ")", ";", "break", ";", "default", ":", "abort_with_insn", "(", "addr", ",", "\"PRINT_OPERAND_ADDRESS, invalid insn #1\"", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["Print", "the", "operand", "address", "represented", "by", "the", "rtx", "addr"], "TS_V_token": ["iq2000", "\"PRINT_OPERAND_ADDRESS, null pointer\"", "\"Arg pointer not eliminated.\"", "\"0(%s)\"", "0", "1", "\"PRINT_OPERAND_ADDRESS, LO_SUM with #1 not REG.\"", "\"%%lo(\"", "\")(%s)\"", "0", "0", "0", "1", "\"PRINT_OPERAND_ADDRESS, 2 regs\"", "\"PRINT_OPERAND_ADDRESS, no regs\"", "\"PRINT_OPERAND_ADDRESS, invalid insn #2\"", "\"Arg pointer not eliminated.\"", "\"(%s)\"", "\"(%s)\"", "0", "\"PRINT_OPERAND_ADDRESS, invalid insn #1\""], "File": "iq20002", "Func": "print_operand_address", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3627, "Length": 368, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMLowOverheadLoops", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "!", "static_cast", "<", "const", "ARMSubtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ".", "hasLOB", "(", ")", ")", "return", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"ARM Loops on \"", "<<", "MF", ".", "getName", "(", ")", "<<", "\" ------------- \\n\"", ")", ";", "auto", "&", "MLI", "=", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "TII", "=", "static_cast", "<", "const", "ARMBaseInstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "BBUtils", "=", "std", "::", "unique_ptr", "<", "ARMBasicBlockUtils", ">", "(", "new", "ARMBasicBlockUtils", "(", "MF", ")", ")", ";", "BBUtils", "->", "computeAllBlockSizes", "(", ")", ";", "BBUtils", "->", "adjustBBOffsetsAfter", "(", "&", "MF", ".", "front", "(", ")", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "ML", ":", "MLI", ")", "{", "if", "(", "!", "ML", "->", "getParentLoop", "(", ")", ")", "Changed", "|=", "ProcessLoop", "(", "ML", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM", "\"ARM Loops on \"", "\" ------------- \\n\"", "ARM", "ARM", "ARM"], "File": "ARMLowOverheadLoops9", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3628, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "GCNTTIImpl", "::", "getIntrinsicInstrCost", "(", "Intrinsic", "::", "ID", "ID", ",", "Type", "*", "RetTy", ",", "ArrayRef", "<", "Type", "*", ">", "Tys", ",", "FastMathFlags", "FMF", ",", "unsigned", "ScalarizationCostPassed", ",", "const", "Instruction", "*", "I", ")", "{", "return", "getIntrinsicInstrCost", "<", "Type", ">", "(", "ID", ",", "RetTy", ",", "Tys", ",", "FMF", ",", "ScalarizationCostPassed", ",", "I", ")", ";", "}", ""], "natrual_language": ["Get", "intrinsic", "cost", "based", "on", "arguments", "."], "TS_V_token": ["AMDGPU", "Intrinsic::ID"], "File": "AMDGPUTargetTransformInfo41", "Func": "getIntrinsicInstrCost", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3629, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "NVPTXLowerAlloca", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "skipFunction", "(", "F", ")", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "&", "BB", ":", "F", ")", "for", "(", "auto", "&", "I", ":", "BB", ")", "{", "if", "(", "auto", "allocaInst", "=", "dyn_cast", "<", "AllocaInst", ">", "(", "&", "I", ")", ")", "{", "Changed", "=", "true", ";", "auto", "ETy", "=", "cast", "<", "PointerType", ">", "(", "allocaInst", "->", "getType", "(", ")", ")", "->", "getElementType", "(", ")", ";", "auto", "LocalAddrTy", "=", "PointerType", "::", "get", "(", "ETy", ",", "ADDRESS_SPACE_LOCAL", ")", ";", "auto", "NewASCToLocal", "=", "new", "AddrSpaceCastInst", "(", "allocaInst", ",", "LocalAddrTy", ",", "\"\"", ")", ";", "auto", "GenericAddrTy", "=", "PointerType", "::", "get", "(", "ETy", ",", "ADDRESS_SPACE_GENERIC", ")", ";", "auto", "NewASCToGeneric", "=", "new", "AddrSpaceCastInst", "(", "NewASCToLocal", ",", "GenericAddrTy", ",", "\"\"", ")", ";", "NewASCToLocal", "->", "insertAfter", "(", "allocaInst", ")", ";", "NewASCToGeneric", "->", "insertAfter", "(", "NewASCToLocal", ")", ";", "for", "(", "Value", "::", "use_iterator", "UI", "=", "allocaInst", "->", "use_begin", "(", ")", ",", "UE", "=", "allocaInst", "->", "use_end", "(", ")", ";", "UI", "!=", "UE", ";", ")", "{", "const", "auto", "&", "AllocaUse", "=", "*", "UI", "++", ";", "auto", "LI", "=", "dyn_cast", "<", "LoadInst", ">", "(", "AllocaUse", ".", "getUser", "(", ")", ")", ";", "if", "(", "LI", "&&", "LI", "->", "getPointerOperand", "(", ")", "==", "allocaInst", "&&", "!", "LI", "->", "isVolatile", "(", ")", ")", "{", "LI", "->", "setOperand", "(", "LI", "->", "getPointerOperandIndex", "(", ")", ",", "NewASCToGeneric", ")", ";", "continue", ";", "}", "auto", "SI", "=", "dyn_cast", "<", "StoreInst", ">", "(", "AllocaUse", ".", "getUser", "(", ")", ")", ";", "if", "(", "SI", "&&", "SI", "->", "getPointerOperand", "(", ")", "==", "allocaInst", "&&", "!", "SI", "->", "isVolatile", "(", ")", ")", "{", "SI", "->", "setOperand", "(", "SI", "->", "getPointerOperandIndex", "(", ")", ",", "NewASCToGeneric", ")", ";", "continue", ";", "}", "auto", "GI", "=", "dyn_cast", "<", "GetElementPtrInst", ">", "(", "AllocaUse", ".", "getUser", "(", ")", ")", ";", "if", "(", "GI", "&&", "GI", "->", "getPointerOperand", "(", ")", "==", "allocaInst", ")", "{", "GI", "->", "setOperand", "(", "GI", "->", "getPointerOperandIndex", "(", ")", ",", "NewASCToGeneric", ")", ";", "continue", ";", "}", "auto", "BI", "=", "dyn_cast", "<", "BitCastInst", ">", "(", "AllocaUse", ".", "getUser", "(", ")", ")", ";", "if", "(", "BI", "&&", "BI", "->", "getOperand", "(", "0", ")", "==", "allocaInst", ")", "{", "BI", "->", "setOperand", "(", "0", ",", "NewASCToGeneric", ")", ";", "continue", ";", "}", "}", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["NVPTX", "NVPTX", "\"\"", "\"\"", "0", "0"], "File": "NVPTXLowerAlloca10", "Func": "runOnFunction", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3630, "Length": 374, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "init", "(", "Module", "&", "M", ")", "{", "InsertedThunks", "=", "false", ";", "getDerived", "(", ")", ".", "doInitialization", "(", "M", ")", ";", "}", ""], "natrual_language": ["Initialize", "the", "machine", "model", "for", "instruction", "scheduling", "."], "TS_V_token": ["X86"], "File": "X86IndirectThunks3", "Func": "init", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3631, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "RV16KTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "&", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "BB", "->", "getParent", "(", ")", "->", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "DL", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "unsigned", "MIOpcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "assert", "(", "(", "MIOpcode", "==", "RV16K", "::", "SelectCCrr", "||", "MIOpcode", "==", "RV16K", "::", "SelectCCri", ")", "&&", "\"Unexpected instr type to insert\"", ")", ";", "const", "BasicBlock", "*", "LLVM_BB", "=", "BB", "->", "getBasicBlock", "(", ")", ";", "MachineFunction", "::", "iterator", "I", "=", "++", "BB", "->", "getIterator", "(", ")", ";", "MachineBasicBlock", "*", "HeadMBB", "=", "BB", ";", "MachineFunction", "*", "F", "=", "BB", "->", "getParent", "(", ")", ";", "MachineBasicBlock", "*", "TailMBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineBasicBlock", "*", "IfFalseMBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "F", "->", "insert", "(", "I", ",", "IfFalseMBB", ")", ";", "F", "->", "insert", "(", "I", ",", "TailMBB", ")", ";", "TailMBB", "->", "splice", "(", "TailMBB", "->", "begin", "(", ")", ",", "HeadMBB", ",", "std", "::", "next", "(", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", ",", "HeadMBB", "->", "end", "(", ")", ")", ";", "TailMBB", "->", "transferSuccessorsAndUpdatePHIs", "(", "HeadMBB", ")", ";", "HeadMBB", "->", "addSuccessor", "(", "IfFalseMBB", ")", ";", "HeadMBB", "->", "addSuccessor", "(", "TailMBB", ")", ";", "if", "(", "MIOpcode", "==", "RV16K", "::", "SelectCCrr", ")", "{", "unsigned", "LHS", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "unsigned", "RHS", "=", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ";", "BuildMI", "(", "HeadMBB", ",", "DL", ",", "TII", ".", "get", "(", "RV16K", "::", "Bcc", ")", ")", ".", "addReg", "(", "LHS", ")", ".", "addReg", "(", "RHS", ")", ".", "addMBB", "(", "TailMBB", ")", ".", "addImm", "(", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ")", ";", "}", "else", "{", "unsigned", "LHS", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "unsigned", "RHS", "=", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "BuildMI", "(", "HeadMBB", ",", "DL", ",", "TII", ".", "get", "(", "RV16K", "::", "BccI", ")", ")", ".", "addReg", "(", "LHS", ")", ".", "addImm", "(", "RHS", ")", ".", "addMBB", "(", "TailMBB", ")", ".", "addImm", "(", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ")", ";", "}", "IfFalseMBB", "->", "addSuccessor", "(", "TailMBB", ")", ";", "BuildMI", "(", "*", "TailMBB", ",", "TailMBB", "->", "begin", "(", ")", ",", "DL", ",", "TII", ".", "get", "(", "RV16K", "::", "PHI", ")", ",", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "addReg", "(", "MI", ".", "getOperand", "(", "4", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "HeadMBB", ")", ".", "addReg", "(", "MI", ".", "getOperand", "(", "5", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "IfFalseMBB", ")", ";", "MI", ".", "eraseFromParent", "(", ")", ";", "return", "TailMBB", ";", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "."], "TS_V_token": ["RV16K", "RV16K", "RV16K::SelectCCrr", "RV16K::SelectCCri", "\"Unexpected instr type to insert\"", "RV16K::SelectCCrr", "1", "2", "RV16K::Bcc", "3", "1", "2", "RV16K::BccI", "3", "RV16K::PHI", "0", "4", "5"], "File": "RV16KISelLowering", "Func": "EmitInstrWithCustomInserter", "Target": "RV16K", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3632, "Length": 452, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetSubtargetInfo", "*", "R600TargetMachine", "::", "getSubtargetImpl", "(", "const", "Function", "&", "F", ")", "const", "{", "StringRef", "GPU", "=", "getGPUName", "(", "F", ")", ";", "StringRef", "FS", "=", "getFeatureString", "(", "F", ")", ";", "SmallString", "<", "128", ">", "SubtargetKey", "(", "GPU", ")", ";", "SubtargetKey", ".", "append", "(", "FS", ")", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "SubtargetKey", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "I", "=", "std", "::", "make_unique", "<", "R600Subtarget", ">", "(", "TargetTriple", ",", "GPU", ",", "FS", ",", "*", "this", ")", ";", "}", "return", "I", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["Virtual", "method", "implemented", "by", "subclasses", "that", "returns", "a", "reference", "to", "that", "target", "'s", "TargetSubtargetInfo-derived", "member", "variable", "."], "TS_V_token": ["AMDGPU", "R600", "128", "R600"], "File": "R600TargetMachine", "Func": "getSubtargetImpl", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3633, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "R600TargetLowering", "::", "canMergeStoresTo", "(", "unsigned", "AS", ",", "EVT", "MemVT", ")", "const", "{", "if", "(", "(", "AS", "==", "AMDGPUASI", ".", "LOCAL_ADDRESS", "||", "AS", "==", "AMDGPUASI", ".", "PRIVATE_ADDRESS", ")", ")", "{", "return", "(", "MemVT", ".", "getSizeInBits", "(", ")", "<=", "32", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "if", "it", "'s", "reasonable", "to", "merge", "stores", "to", "MemVT", "size", "."], "TS_V_token": ["AMDGPU", "R600", "SI", "SI", "32"], "File": "R600ISelLowering13", "Func": "canMergeStoresTo", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3634, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "ARM64RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "ARM64", "::", "SP", ")", ";", "Reserved", ".", "set", "(", "ARM64", "::", "XZR", ")", ";", "Reserved", ".", "set", "(", "ARM64", "::", "WSP", ")", ";", "Reserved", ".", "set", "(", "ARM64", "::", "WZR", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", "||", "STI", "->", "isTargetDarwin", "(", ")", ")", "{", "Reserved", ".", "set", "(", "ARM64", "::", "FP", ")", ";", "Reserved", ".", "set", "(", "ARM64", "::", "W29", ")", ";", "}", "if", "(", "STI", "->", "isTargetDarwin", "(", ")", ")", "{", "Reserved", ".", "set", "(", "ARM64", "::", "X18", ")", ";", "Reserved", ".", "set", "(", "ARM64", "::", "W18", ")", ";", "}", "if", "(", "hasBasePointer", "(", "MF", ")", ")", "{", "Reserved", ".", "set", "(", "ARM64", "::", "X19", ")", ";", "Reserved", ".", "set", "(", "ARM64", "::", "W19", ")", ";", "}", "return", "Reserved", ";", "}", ""], "natrual_language": ["getReservedRegs", "-", "Returns", "a", "bitset", "indexed", "by", "physical", "register", "number", "indicating", "if", "a", "register", "is", "a", "special", "register", "that", "has", "particular", "uses", "and", "should", "be", "considered", "unavailable", "at", "all", "times", ",", "e.g", "."], "TS_V_token": ["ARM64", "ARM64", "ARM64::SP", "ARM64::XZR", "ARM64::WSP", "ARM64::WZR", "ARM64::FP", "ARM64::W29", "ARM64::X18", "ARM64::W18", "ARM64::X19", "ARM64::W19"], "File": "ARM64RegisterInfo", "Func": "getReservedRegs", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3635, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MINA32Subtarget", "&", "MINA32Subtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetMachine", "&", "TM", ")", "{", "ParseSubtargetFeatures", "(", "CPU", ",", "FS", ")", ";", "return", "*", "this", ";", "}", ""], "natrual_language": ["initializeSubtargetDependencies", "-", "Initializes", "using", "a", "CPU", ",", "a", "TuneCPU", ",", "and", "feature", "string", "so", "that", "we", "can", "use", "initializer", "lists", "for", "subtarget", "initialization", "."], "TS_V_token": ["MINA32", "MINA32", "MINA32"], "File": "MINA32Subtarget", "Func": "initializeSubtargetDependencies", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3636, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "DItype", "local_fixunssfdi", "(", "SFtype", "original_a", ")", "{", "DFtype", "a", "=", "original_a", ";", "USItype", "hi", ",", "lo", ";", "hi", "=", "a", "/", "(", "(", "(", "UDItype", ")", "1", ")", "<<", "(", "sizeof", "(", "SItype", ")", "*", "8", ")", ")", ";", "lo", "=", "(", "a", "-", "(", "(", "DFtype", ")", "hi", ")", "*", "(", "(", "(", "UDItype", ")", "1", ")", "<<", "(", "sizeof", "(", "SItype", ")", "*", "8", ")", ")", ")", ";", "return", "(", "(", "UDItype", ")", "hi", "<<", "(", "sizeof", "(", "SItype", ")", "*", "8", ")", ")", "|", "lo", ";", "}", ""], "natrual_language": ["This", "version", "is", "needed", "to", "prevent", "recursion", ";", "fixunssfdi", "in", "libgcc", "calls", "fixsfdi", ",", "which", "in", "turn", "calls", "calls", "fixunssfdi", "."], "TS_V_token": ["rs6000", "1", "8", "1", "8", "8"], "File": "ppc64-fp", "Func": "local_fixunssfdi", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3637, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "RISCVTargetLowering", "::", "emitMaskedAtomicCmpXchgIntrinsic", "(", "IRBuilderBase", "&", "Builder", ",", "AtomicCmpXchgInst", "*", "CI", ",", "Value", "*", "AlignedAddr", ",", "Value", "*", "CmpVal", ",", "Value", "*", "NewVal", ",", "Value", "*", "Mask", ",", "AtomicOrdering", "Ord", ")", "const", "{", "unsigned", "XLen", "=", "Subtarget", ".", "getXLen", "(", ")", ";", "Value", "*", "Ordering", "=", "Builder", ".", "getIntN", "(", "XLen", ",", "static_cast", "<", "uint64_t", ">", "(", "Ord", ")", ")", ";", "Intrinsic", "::", "ID", "CmpXchgIntrID", "=", "Intrinsic", "::", "riscv_masked_cmpxchg_i32", ";", "if", "(", "XLen", "==", "64", ")", "{", "CmpVal", "=", "Builder", ".", "CreateSExt", "(", "CmpVal", ",", "Builder", ".", "getInt64Ty", "(", ")", ")", ";", "NewVal", "=", "Builder", ".", "CreateSExt", "(", "NewVal", ",", "Builder", ".", "getInt64Ty", "(", ")", ")", ";", "Mask", "=", "Builder", ".", "CreateSExt", "(", "Mask", ",", "Builder", ".", "getInt64Ty", "(", ")", ")", ";", "CmpXchgIntrID", "=", "Intrinsic", "::", "riscv_masked_cmpxchg_i64", ";", "}", "Type", "*", "Tys", "[", "]", "=", "{", "AlignedAddr", "->", "getType", "(", ")", "}", ";", "Function", "*", "MaskedCmpXchg", "=", "Intrinsic", "::", "getDeclaration", "(", "CI", "->", "getModule", "(", ")", ",", "CmpXchgIntrID", ",", "Tys", ")", ";", "Value", "*", "Result", "=", "Builder", ".", "CreateCall", "(", "MaskedCmpXchg", ",", "{", "AlignedAddr", ",", "CmpVal", ",", "NewVal", ",", "Mask", ",", "Ordering", "}", ")", ";", "if", "(", "XLen", "==", "64", ")", "Result", "=", "Builder", ".", "CreateTrunc", "(", "Result", ",", "Builder", ".", "getInt32Ty", "(", ")", ")", ";", "return", "Result", ";", "}", ""], "natrual_language": ["Perform", "a", "masked", "cmpxchg", "using", "a", "target-specific", "intrinsic", "."], "TS_V_token": ["RISCV", "RISCV", "Intrinsic::ID", "Intrinsic::riscv_masked_cmpxchg_i32", "64", "Intrinsic::riscv_masked_cmpxchg_i64", "Intrinsic::getDeclaration", "64"], "File": "RISCVISelLowering1", "Func": "emitMaskedAtomicCmpXchgIntrinsic", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3638, "Length": 212, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"WebAssembly Restore Stack Pointer for Exception Handling\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["WebAssembly", "\"WebAssembly Restore Stack Pointer for Exception Handling\""], "File": "WebAssemblyEHRestoreStackPointer", "Func": "getPassName", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3639, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "XCoreFrameInfo", "*", "getFrameInfo", "(", ")", "const", "{", "return", "&", "FrameInfo", ";", "}", ""], "natrual_language": ["getFrameInfo", "-", "Return", "the", "frame", "info", "object", "for", "the", "current", "function", "."], "TS_V_token": ["XCore", "XCore"], "File": "XCoreTargetMachine10", "Func": "getFrameInfo", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3640, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getMaxSupportedInterleaveFactor", "(", ")", "const", "override", "{", "return", "4", ";", "}", ""], "natrual_language": ["Get", "the", "maximum", "supported", "factor", "for", "interleaved", "memory", "accesses", "."], "TS_V_token": ["ARM", "4"], "File": "ARMISelLowering (2)1", "Func": "getMaxSupportedInterleaveFactor", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3641, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "IsEligibleForTailCallOptimization", "(", "SDValue", "Callee", ",", "CallingConv", "::", "ID", "CalleeCC", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "if", "(", "!", "IsTailCallConvention", "(", "CalleeCC", ")", "&&", "CalleeCC", "!=", "CallingConv", "::", "C", ")", "return", "false", ";", "const", "Function", "*", "CallerF", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getFunction", "(", ")", ";", "if", "(", "GuaranteedTailCallOpt", ")", "{", "if", "(", "IsTailCallConvention", "(", "CalleeCC", ")", "&&", "CallerF", "->", "getCallingConv", "(", ")", "==", "CalleeCC", ")", "return", "true", ";", "return", "false", ";", "}", "if", "(", "isVarArg", ")", "return", "false", ";", "if", "(", "!", "Outs", ".", "empty", "(", ")", ")", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CalleeCC", ",", "isVarArg", ",", "getTargetMachine", "(", ")", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeCallOperands", "(", "Outs", ",", "CCAssignFnForNode", "(", "CalleeCC", ")", ")", ";", "if", "(", "CCInfo", ".", "getNextStackOffset", "(", ")", ")", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "if", "(", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "getBytesToPopOnReturn", "(", ")", ")", "return", "false", ";", "if", "(", "Subtarget", "->", "isTargetWin64", "(", ")", ")", "return", "false", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "MachineRegisterInfo", "*", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "const", "X86InstrInfo", "*", "TII", "=", "(", "(", "X86TargetMachine", "&", ")", "getTargetMachine", "(", ")", ")", ".", "getInstrInfo", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "ArgLocs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "ArgLocs", "[", "i", "]", ";", "EVT", "RegVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "SDValue", "Arg", "=", "Outs", "[", "i", "]", ".", "Val", ";", "ISD", "::", "ArgFlagsTy", "Flags", "=", "Outs", "[", "i", "]", ".", "Flags", ";", "if", "(", "VA", ".", "getLocInfo", "(", ")", "==", "CCValAssign", "::", "Indirect", ")", "return", "false", ";", "if", "(", "!", "VA", ".", "isRegLoc", "(", ")", ")", "{", "if", "(", "!", "MatchingStackOffset", "(", "Arg", ",", "VA", ".", "getLocMemOffset", "(", ")", ",", "Flags", ",", "MFI", ",", "MRI", ",", "TII", ")", ")", "return", "false", ";", "}", "}", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["IsEligibleForTailCallOptimization", "-", "Check", "whether", "the", "call", "is", "eligible", "for", "tail", "call", "optimization", "."], "TS_V_token": ["X86", "X86", "ISD::OutputArg", "ISD::InputArg", "16", "X86", "X86", "X86", "0", "ISD::ArgFlagsTy"], "File": "X86ISelLowering201", "Func": "IsEligibleForTailCallOptimization", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3642, "Length": 369, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "override", "{", "bool", "Changed", "=", "false", ";", "F", ".", "getRegInfo", "(", ")", ".", "invalidateLiveness", "(", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "FI", "=", "F", ".", "begin", "(", ")", ",", "FE", "=", "F", ".", "end", "(", ")", ";", "FI", "!=", "FE", ";", "++", "FI", ")", "Changed", "|=", "runOnMachineBasicBlock", "(", "*", "FI", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Sparc"], "File": "DelaySlotFiller", "Func": "runOnMachineFunction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3643, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SIInstrInfo", "::", "readlaneVGPRToSGPR", "(", "unsigned", "SrcReg", ",", "MachineInstr", "*", "UseMI", ",", "MachineRegisterInfo", "&", "MRI", ")", "const", "{", "const", "TargetRegisterClass", "*", "VRC", "=", "MRI", ".", "getRegClass", "(", "SrcReg", ")", ";", "const", "TargetRegisterClass", "*", "SRC", "=", "RI", ".", "getEquivalentSGPRClass", "(", "VRC", ")", ";", "unsigned", "DstReg", "=", "MRI", ".", "createVirtualRegister", "(", "SRC", ")", ";", "unsigned", "SubRegs", "=", "VRC", "->", "getSize", "(", ")", "/", "4", ";", "SmallVector", "<", "unsigned", ",", "8", ">", "SRegs", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "SubRegs", ";", "++", "i", ")", "{", "unsigned", "SGPR", "=", "MRI", ".", "createVirtualRegister", "(", "&", "AMDGPU", "::", "SGPR_32RegClass", ")", ";", "BuildMI", "(", "*", "UseMI", "->", "getParent", "(", ")", ",", "UseMI", ",", "UseMI", "->", "getDebugLoc", "(", ")", ",", "get", "(", "AMDGPU", "::", "V_READFIRSTLANE_B32", ")", ",", "SGPR", ")", ".", "addReg", "(", "SrcReg", ",", "0", ",", "RI", ".", "getSubRegFromChannel", "(", "i", ")", ")", ";", "SRegs", ".", "push_back", "(", "SGPR", ")", ";", "}", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "*", "UseMI", "->", "getParent", "(", ")", ",", "UseMI", ",", "UseMI", "->", "getDebugLoc", "(", ")", ",", "get", "(", "AMDGPU", "::", "REG_SEQUENCE", ")", ",", "DstReg", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "SubRegs", ";", "++", "i", ")", "{", "MIB", ".", "addReg", "(", "SRegs", "[", "i", "]", ")", ";", "MIB", ".", "addImm", "(", "RI", ".", "getSubRegFromChannel", "(", "i", ")", ")", ";", "}", "return", "DstReg", ";", "}", ""], "natrual_language": ["Copy", "a", "value", "from", "a", "VGPR", "(", "SrcReg", ")", "to", "SGPR", "."], "TS_V_token": ["AMDGPU", "SI", "4", "8", "0", "AMDGPU::SGPR_32RegClass", "AMDGPU::V_READFIRSTLANE_B32", "0", "AMDGPU::REG_SEQUENCE", "0"], "File": "SIInstrInfo128", "Func": "readlaneVGPRToSGPR", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3644, "Length": 220, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "AArch64RegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{", "bool", "SCS", "=", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "Attribute", "::", "ShadowCallStack", ")", ";", "if", "(", "CC", "==", "CallingConv", "::", "GHC", ")", "return", "SCS", "?", "CSR_AArch64_NoRegs_SCS_RegMask", ":", "CSR_AArch64_NoRegs_RegMask", ";", "if", "(", "CC", "==", "CallingConv", "::", "AnyReg", ")", "return", "SCS", "?", "CSR_AArch64_AllRegs_SCS_RegMask", ":", "CSR_AArch64_AllRegs_RegMask", ";", "if", "(", "CC", "==", "CallingConv", "::", "CXX_FAST_TLS", ")", "return", "SCS", "?", "CSR_AArch64_CXX_TLS_Darwin_SCS_RegMask", ":", "CSR_AArch64_CXX_TLS_Darwin_RegMask", ";", "if", "(", "CC", "==", "CallingConv", "::", "AArch64_VectorCall", ")", "return", "SCS", "?", "CSR_AArch64_AAVPCS_SCS_RegMask", ":", "CSR_AArch64_AAVPCS_RegMask", ";", "if", "(", "CC", "==", "CallingConv", "::", "AArch64_SVE_VectorCall", ")", "return", "CSR_AArch64_SVE_AAPCS_RegMask", ";", "if", "(", "CC", "==", "CallingConv", "::", "CFGuard_Check", ")", "return", "CSR_Win_AArch64_CFGuard_Check_RegMask", ";", "if", "(", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "getTargetLowering", "(", ")", "->", "supportSwiftError", "(", ")", "&&", "MF", ".", "getFunction", "(", ")", ".", "getAttributes", "(", ")", ".", "hasAttrSomewhere", "(", "Attribute", "::", "SwiftError", ")", ")", "return", "SCS", "?", "CSR_AArch64_AAPCS_SwiftError_SCS_RegMask", ":", "CSR_AArch64_AAPCS_SwiftError_RegMask", ";", "if", "(", "CC", "==", "CallingConv", "::", "PreserveMost", ")", "return", "SCS", "?", "CSR_AArch64_RT_MostRegs_SCS_RegMask", ":", "CSR_AArch64_RT_MostRegs_RegMask", ";", "else", "return", "SCS", "?", "CSR_AArch64_AAPCS_SCS_RegMask", ":", "CSR_AArch64_AAPCS_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64RegisterInfo13", "Func": "getCallPreservedMask", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3645, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumDefs", "(", "unsigned", "pred", ")", "{", "unsigned", "count", "=", "0", ";", "for", "(", "auto", "b", ":", "Blocks", ")", "{", "auto", "defs", "=", "b", "->", "getDefinitions", "(", ")", ";", "if", "(", "std", "::", "find_if", "(", "defs", ".", "begin", "(", ")", ",", "defs", ".", "end", "(", ")", ",", "[", "&", "]", "(", "auto", "def", ")", "{", "return", "def", ".", "predicate", "==", "pred", ";", "}", ")", "!=", "defs", ".", "end", "(", ")", ")", "{", "count", "++", ";", "}", "}", "return", "count", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "MachineOperands", "that", "are", "register", "definitions", "."], "TS_V_token": ["Patmos", "0"], "File": "SPScope", "Func": "getNumDefs", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 3646, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "riscv_cpu_cpp_builtins", "(", "cpp_reader", "*", "pfile", ")", "{", "builtin_define", "(", "\"__riscv\"", ")", ";", "if", "(", "TARGET_RVC", ")", "builtin_define", "(", "\"__riscv_compressed\"", ")", ";", "if", "(", "TARGET_RVE", ")", "builtin_define", "(", "\"__riscv_32e\"", ")", ";", "if", "(", "TARGET_ATOMIC", ")", "builtin_define", "(", "\"__riscv_atomic\"", ")", ";", "if", "(", "TARGET_MUL", ")", "builtin_define", "(", "\"__riscv_mul\"", ")", ";", "if", "(", "TARGET_DIV", ")", "builtin_define", "(", "\"__riscv_div\"", ")", ";", "if", "(", "TARGET_DIV", "&&", "TARGET_MUL", ")", "builtin_define", "(", "\"__riscv_muldiv\"", ")", ";", "builtin_define_with_int_value", "(", "\"__riscv_xlen\"", ",", "UNITS_PER_WORD", "*", "8", ")", ";", "if", "(", "TARGET_HARD_FLOAT", ")", "builtin_define_with_int_value", "(", "\"__riscv_flen\"", ",", "UNITS_PER_FP_REG", "*", "8", ")", ";", "if", "(", "TARGET_HARD_FLOAT", "&&", "TARGET_FDIV", ")", "{", "builtin_define", "(", "\"__riscv_fdiv\"", ")", ";", "builtin_define", "(", "\"__riscv_fsqrt\"", ")", ";", "}", "switch", "(", "riscv_abi", ")", "{", "case", "ABI_ILP32E", ":", "builtin_define", "(", "\"__riscv_abi_rve\"", ")", ";", "gcc_fallthrough", "(", ")", ";", "case", "ABI_ILP32", ":", "case", "ABI_LP64", ":", "builtin_define", "(", "\"__riscv_float_abi_soft\"", ")", ";", "break", ";", "case", "ABI_ILP32F", ":", "case", "ABI_LP64F", ":", "builtin_define", "(", "\"__riscv_float_abi_single\"", ")", ";", "break", ";", "case", "ABI_ILP32D", ":", "case", "ABI_LP64D", ":", "builtin_define", "(", "\"__riscv_float_abi_double\"", ")", ";", "break", ";", "}", "switch", "(", "riscv_cmodel", ")", "{", "case", "CM_MEDLOW", ":", "builtin_define", "(", "\"__riscv_cmodel_medlow\"", ")", ";", "break", ";", "case", "CM_PIC", ":", "builtin_define", "(", "\"__riscv_cmodel_pic\"", ")", ";", "case", "CM_MEDANY", ":", "builtin_define", "(", "\"__riscv_cmodel_medany\"", ")", ";", "break", ";", "}", "if", "(", "TARGET_MIN_VLEN", "!=", "0", ")", "builtin_define_with_int_value", "(", "\"__riscv_v_min_vlen\"", ",", "TARGET_MIN_VLEN", ")", ";", "if", "(", "TARGET_VECTOR_ELEN_64", ")", "builtin_define_with_int_value", "(", "\"__riscv_v_elen\"", ",", "64", ")", ";", "else", "if", "(", "TARGET_VECTOR_ELEN_32", ")", "builtin_define_with_int_value", "(", "\"__riscv_v_elen\"", ",", "32", ")", ";", "if", "(", "TARGET_VECTOR_ELEN_FP_64", ")", "builtin_define_with_int_value", "(", "\"__riscv_v_elen_fp\"", ",", "64", ")", ";", "else", "if", "(", "TARGET_VECTOR_ELEN_FP_32", ")", "builtin_define_with_int_value", "(", "\"__riscv_v_elen_fp\"", ",", "32", ")", ";", "else", "if", "(", "TARGET_MIN_VLEN", "!=", "0", ")", "builtin_define_with_int_value", "(", "\"__riscv_v_elen_fp\"", ",", "0", ")", ";", "if", "(", "TARGET_MIN_VLEN", ")", "builtin_define", "(", "\"__riscv_vector\"", ")", ";", "builtin_define_with_int_value", "(", "\"__riscv_arch_test\"", ",", "1", ")", ";", "const", "riscv_subset_list", "*", "subset_list", "=", "riscv_current_subset_list", "(", ")", ";", "if", "(", "!", "subset_list", ")", "return", ";", "size_t", "max_ext_len", "=", "0", ";", "for", "(", "const", "riscv_subset_t", "*", "subset", "=", "subset_list", "->", "begin", "(", ")", ";", "subset", "!=", "subset_list", "->", "end", "(", ")", ";", "subset", "=", "subset", "->", "next", ")", "max_ext_len", "=", "MAX", "(", "max_ext_len", ",", "subset", "->", "name", ".", "length", "(", ")", ")", ";", "char", "*", "buf", "=", "(", "char", "*", ")", "alloca", "(", "max_ext_len", "+", "10", ")", ";", "for", "(", "const", "riscv_subset_t", "*", "subset", "=", "subset_list", "->", "begin", "(", ")", ";", "subset", "!=", "subset_list", "->", "end", "(", ")", ";", "subset", "=", "subset", "->", "next", ")", "{", "int", "version_value", "=", "(", "subset", "->", "major_version", "*", "1000000", ")", "+", "(", "subset", "->", "minor_version", "*", "1000", ")", ";", "if", "(", "(", "subset", "->", "name", "==", "\"zicsr\"", "||", "subset", "->", "name", "==", "\"zifencei\"", ")", "&&", "version_value", "==", "0", ")", "version_value", "=", "2000000", ";", "sprintf", "(", "buf", ",", "\"__riscv_%s\"", ",", "subset", "->", "name", ".", "c_str", "(", ")", ")", ";", "builtin_define_with_int_value", "(", "buf", ",", "version_value", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_CPU_CPP_BUILTINS", "."], "TS_V_token": ["riscv", "\"__riscv\"", "\"__riscv_compressed\"", "\"__riscv_32e\"", "\"__riscv_atomic\"", "\"__riscv_mul\"", "\"__riscv_div\"", "\"__riscv_muldiv\"", "\"__riscv_xlen\"", "8", "\"__riscv_flen\"", "8", "\"__riscv_fdiv\"", "\"__riscv_fsqrt\"", "\"__riscv_abi_rve\"", "\"__riscv_float_abi_soft\"", "\"__riscv_float_abi_single\"", "\"__riscv_float_abi_double\"", "\"__riscv_cmodel_medlow\"", "\"__riscv_cmodel_pic\"", "\"__riscv_cmodel_medany\"", "0", "\"__riscv_v_min_vlen\"", "\"__riscv_v_elen\"", "64", "\"__riscv_v_elen\"", "32", "\"__riscv_v_elen_fp\"", "64", "\"__riscv_v_elen_fp\"", "32", "0", "\"__riscv_v_elen_fp\"", "0", "\"__riscv_vector\"", "\"__riscv_arch_test\"", "1", "0", "10", "1000000", "1000", "\"zicsr\"", "\"zifencei\"", "0", "2000000", "\"__riscv_%s\""], "File": "riscv-c", "Func": "riscv_cpu_cpp_builtins", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3647, "Length": 462, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_expand_vector_init", "(", "bool", "mmx_ok", ",", "rtx", "target", ",", "rtx", "vals", ")", "{", "enum", "machine_mode", "mode", "=", "GET_MODE", "(", "target", ")", ";", "enum", "machine_mode", "inner_mode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "int", "n_elts", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "int", "n_var", "=", "0", ",", "one_var", "=", "-", "1", ";", "bool", "all_same", "=", "true", ",", "all_const_zero", "=", "true", ";", "int", "i", ";", "rtx", "x", ";", "for", "(", "i", "=", "0", ";", "i", "<", "n_elts", ";", "++", "i", ")", "{", "x", "=", "XVECEXP", "(", "vals", ",", "0", ",", "i", ")", ";", "if", "(", "!", "CONSTANT_P", "(", "x", ")", ")", "n_var", "++", ",", "one_var", "=", "i", ";", "else", "if", "(", "x", "!=", "CONST0_RTX", "(", "inner_mode", ")", ")", "all_const_zero", "=", "false", ";", "if", "(", "i", ">", "0", "&&", "!", "rtx_equal_p", "(", "x", ",", "XVECEXP", "(", "vals", ",", "0", ",", "0", ")", ")", ")", "all_same", "=", "false", ";", "}", "if", "(", "n_var", "==", "0", ")", "{", "emit_move_insn", "(", "target", ",", "gen_rtx_CONST_VECTOR", "(", "mode", ",", "XVEC", "(", "vals", ",", "0", ")", ")", ")", ";", "return", ";", "}", "if", "(", "all_same", "&&", "ix86_expand_vector_init_duplicate", "(", "mmx_ok", ",", "mode", ",", "target", ",", "XVECEXP", "(", "vals", ",", "0", ",", "0", ")", ")", ")", "return", ";", "if", "(", "n_var", "==", "1", ")", "{", "if", "(", "all_const_zero", "&&", "one_var", "==", "0", "&&", "ix86_expand_vector_init_low_nonzero", "(", "mmx_ok", ",", "mode", ",", "target", ",", "XVECEXP", "(", "vals", ",", "0", ",", "0", ")", ")", ")", "return", ";", "if", "(", "ix86_expand_vector_init_one_var", "(", "mmx_ok", ",", "mode", ",", "target", ",", "vals", ",", "one_var", ")", ")", "return", ";", "}", "ix86_expand_vector_init_general", "(", "mmx_ok", ",", "mode", ",", "target", ",", "vals", ")", ";", "}", ""], "natrual_language": ["Initialize", "vector", "TARGET", "via", "VALS", ".", "Suppress", "the", "use", "of", "MMX", "instructions", "unless", "MMX_OK", "is", "true", "."], "TS_V_token": ["i386", "0", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "0", "0", "0"], "File": "i3863", "Func": "ix86_expand_vector_init", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3648, "Length": 260, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVAsmPrinter", "::", "emitStartOfAsmFile", "(", "Module", "&", "M", ")", "{", "if", "(", "TM", ".", "getTargetTriple", "(", ")", ".", "isOSBinFormatELF", "(", ")", ")", "emitAttributes", "(", ")", ";", "}", ""], "natrual_language": ["This", "virtual", "method", "can", "be", "overridden", "by", "targets", "that", "want", "to", "emit", "something", "at", "the", "start", "of", "their", "file", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVAsmPrinter", "Func": "emitStartOfAsmFile", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3649, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SHUXITargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "BR_CC", ":", "return", "LowerBR_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ExternalSymbol", ":", "return", "LowerExternalSymbol", "(", "Op", ",", "DAG", ")", ";", "default", ":", "llvm_unreachable", "(", "\"unimplemented operand\"", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["SHUXI", "SHUXI", "ISD::BR_CC", "ISD::SELECT_CC", "ISD::GlobalAddress", "ISD::ExternalSymbol", "\"unimplemented operand\""], "File": "SHUXIISelLowering", "Func": "LowerOperation", "Target": "SHUXI", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3650, "Length": 84, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64FrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "DL", ";", "SmallVector", "<", "RegPairInfo", ",", "8", ">", "RegPairs", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "computeCalleeSaveRegisterPairs", "(", "MF", ",", "CSI", ",", "TRI", ",", "RegPairs", ")", ";", "auto", "EmitMI", "=", "[", "&", "]", "(", "const", "RegPairInfo", "&", "RPI", ")", "{", "unsigned", "Reg1", "=", "RPI", ".", "Reg1", ";", "unsigned", "Reg2", "=", "RPI", ".", "Reg2", ";", "unsigned", "LdrOpc", ";", "if", "(", "RPI", ".", "IsGPR", ")", "LdrOpc", "=", "RPI", ".", "isPaired", "(", ")", "?", "AArch64", "::", "LDPXi", ":", "AArch64", "::", "LDRXui", ";", "else", "LdrOpc", "=", "RPI", ".", "isPaired", "(", ")", "?", "AArch64", "::", "LDPDi", ":", "AArch64", "::", "LDRDui", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"CSR restore: (\"", "<<", "printReg", "(", "Reg1", ",", "TRI", ")", ";", "if", "(", "RPI", ".", "isPaired", "(", ")", ")", "dbgs", "(", ")", "<<", "\", \"", "<<", "printReg", "(", "Reg2", ",", "TRI", ")", ";", "dbgs", "(", ")", "<<", "\") -> fi#(\"", "<<", "RPI", ".", "FrameIdx", ";", "if", "(", "RPI", ".", "isPaired", "(", ")", ")", "dbgs", "(", ")", "<<", "\", \"", "<<", "RPI", ".", "FrameIdx", "+", "1", ";", "dbgs", "(", ")", "<<", "\")\\n\"", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "LdrOpc", ")", ")", ";", "if", "(", "RPI", ".", "isPaired", "(", ")", ")", "{", "MIB", ".", "addReg", "(", "Reg2", ",", "getDefRegState", "(", "true", ")", ")", ";", "MIB", ".", "addMemOperand", "(", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "RPI", ".", "FrameIdx", "+", "1", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "8", ",", "8", ")", ")", ";", "}", "MIB", ".", "addReg", "(", "Reg1", ",", "getDefRegState", "(", "true", ")", ")", ".", "addReg", "(", "AArch64", "::", "SP", ")", ".", "addImm", "(", "RPI", ".", "Offset", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameDestroy", ")", ";", "MIB", ".", "addMemOperand", "(", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "RPI", ".", "FrameIdx", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "8", ",", "8", ")", ")", ";", "}", ";", "if", "(", "ReverseCSRRestoreSeq", ")", "for", "(", "const", "RegPairInfo", "&", "RPI", ":", "reverse", "(", "RegPairs", ")", ")", "EmitMI", "(", "RPI", ")", ";", "else", "for", "(", "const", "RegPairInfo", "&", "RPI", ":", "RegPairs", ")", "EmitMI", "(", "RPI", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["restoreCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "restore", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "load", "instructions", "via", "loadRegToStackSlot", "(", ")", "."], "TS_V_token": ["AArch64", "AArch64", "8", "AArch64::LDPXi", "AArch64::LDRXui", "AArch64::LDPDi", "AArch64::LDRDui", "\"CSR restore: (\"", "\", \"", "\") -> fi#(\"", "\", \"", "1", "\")\\n\"", "1", "8", "8", "AArch64::SP", "8", "8"], "File": "AArch64FrameLowering65", "Func": "restoreCalleeSavedRegisters", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3651, "Length": 415, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_asm_trampoline_template", "(", "FILE", "*", "f", ")", "{", "fprintf", "(", "f", ",", "\"\\t.syntax unified\\n\"", ")", ";", "if", "(", "TARGET_FDPIC", ")", "{", "if", "(", "TARGET_ARM", ")", "fprintf", "(", "f", ",", "\"\\t.arm\\n\"", ")", ";", "else", "if", "(", "TARGET_THUMB2", ")", "fprintf", "(", "f", ",", "\"\\t.thumb\\n\"", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "assemble_aligned_integer", "(", "UNITS_PER_WORD", ",", "const0_rtx", ")", ";", "assemble_aligned_integer", "(", "UNITS_PER_WORD", ",", "const0_rtx", ")", ";", "asm_fprintf", "(", "f", ",", "\"\\tldr\\t%r, [%r, #%d]\\n\"", ",", "STATIC_CHAIN_REGNUM", ",", "PC_REGNUM", ",", "TARGET_THUMB2", "?", "8", ":", "4", ")", ";", "asm_fprintf", "(", "f", ",", "\"\\tldr\\t%r, [%r, #%d]\\n\"", ",", "PIC_OFFSET_TABLE_REGNUM", ",", "PC_REGNUM", ",", "TARGET_THUMB2", "?", "8", ":", "4", ")", ";", "asm_fprintf", "(", "f", ",", "\"\\tldr\\t%r, [%r, #%d]\\n\"", ",", "PC_REGNUM", ",", "PC_REGNUM", ",", "TARGET_THUMB2", "?", "8", ":", "4", ")", ";", "assemble_aligned_integer", "(", "UNITS_PER_WORD", ",", "const0_rtx", ")", ";", "}", "else", "if", "(", "TARGET_ARM", ")", "{", "fprintf", "(", "f", ",", "\"\\t.arm\\n\"", ")", ";", "asm_fprintf", "(", "f", ",", "\"\\tldr\\t%r, [%r, #0]\\n\"", ",", "STATIC_CHAIN_REGNUM", ",", "PC_REGNUM", ")", ";", "asm_fprintf", "(", "f", ",", "\"\\tldr\\t%r, [%r, #0]\\n\"", ",", "PC_REGNUM", ",", "PC_REGNUM", ")", ";", "}", "else", "if", "(", "TARGET_THUMB2", ")", "{", "fprintf", "(", "f", ",", "\"\\t.thumb\\n\"", ")", ";", "asm_fprintf", "(", "f", ",", "\"\\tldr.w\\t%r, [%r, #4]\\n\"", ",", "STATIC_CHAIN_REGNUM", ",", "PC_REGNUM", ")", ";", "asm_fprintf", "(", "f", ",", "\"\\tldr.w\\t%r, [%r, #4]\\n\"", ",", "PC_REGNUM", ",", "PC_REGNUM", ")", ";", "}", "else", "{", "ASM_OUTPUT_ALIGN", "(", "f", ",", "2", ")", ";", "fprintf", "(", "f", ",", "\"\\t.code\\t16\\n\"", ")", ";", "fprintf", "(", "f", ",", "\".Ltrampoline_start:\\n\"", ")", ";", "asm_fprintf", "(", "f", ",", "\"\\tpush\\t{r0, r1}\\n\"", ")", ";", "asm_fprintf", "(", "f", ",", "\"\\tldr\\tr0, [%r, #8]\\n\"", ",", "PC_REGNUM", ")", ";", "asm_fprintf", "(", "f", ",", "\"\\tmov\\t%r, r0\\n\"", ",", "STATIC_CHAIN_REGNUM", ")", ";", "asm_fprintf", "(", "f", ",", "\"\\tldr\\tr0, [%r, #8]\\n\"", ",", "PC_REGNUM", ")", ";", "asm_fprintf", "(", "f", ",", "\"\\tstr\\tr0, [%r, #4]\\n\"", ",", "SP_REGNUM", ")", ";", "asm_fprintf", "(", "f", ",", "\"\\tpop\\t{r0, %r}\\n\"", ",", "PC_REGNUM", ")", ";", "}", "assemble_aligned_integer", "(", "UNITS_PER_WORD", ",", "const0_rtx", ")", ";", "assemble_aligned_integer", "(", "UNITS_PER_WORD", ",", "const0_rtx", ")", ";", "}", ""], "natrual_language": ["Output", "assembler", "code", "for", "a", "block", "containing", "the", "constant", "parts", "of", "a", "trampoline", ",", "leaving", "space", "for", "the", "variable", "parts", ".", "On", "the", "ARM", ",", "(", "if", "r8", "is", "the", "static", "chain", "regnum", ",", "and", "remembering", "that", "referencing", "pc", "adds", "an", "offset", "of", "8", ")", "the", "trampoline", "looks", "like", ":", "ldr", "r8", ",", "[", "pc", ",", "#", "0", "]", "ldr", "pc", ",", "[", "pc", "]", ".word", "static", "chain", "value", ".word", "function", "'s", "address", "XXX", "FIXME", ":", "When", "the", "trampoline", "returns", ",", "r8", "will", "be", "clobbered", "."], "TS_V_token": ["arm", "\"\\t.syntax unified\\n\"", "\"\\t.arm\\n\"", "\"\\t.thumb\\n\"", "\"\\tldr\\t%r, [%r, #%d]\\n\"", "8", "4", "\"\\tldr\\t%r, [%r, #%d]\\n\"", "8", "4", "\"\\tldr\\t%r, [%r, #%d]\\n\"", "8", "4", "\"\\t.arm\\n\"", "\"\\tldr\\t%r, [%r, #0]\\n\"", "\"\\tldr\\t%r, [%r, #0]\\n\"", "\"\\t.thumb\\n\"", "\"\\tldr.w\\t%r, [%r, #4]\\n\"", "\"\\tldr.w\\t%r, [%r, #4]\\n\"", "2", "\"\\t.code\\t16\\n\"", "\".Ltrampoline_start:\\n\"", "\"\\tpush\\t{r0, r1}\\n\"", "\"\\tldr\\tr0, [%r, #8]\\n\"", "\"\\tmov\\t%r, r0\\n\"", "\"\\tldr\\tr0, [%r, #8]\\n\"", "\"\\tstr\\tr0, [%r, #4]\\n\"", "\"\\tpop\\t{r0, %r}\\n\""], "File": "arm", "Func": "arm_asm_trampoline_template", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3652, "Length": 285, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"AIX PPC Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["PowerPC", "\"AIX PPC Assembly Printer\""], "File": "PPCAsmPrinter (2)3", "Func": "getPassName", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3653, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "HSAILSubtarget", "&", "HSAILSubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "GPU", ",", "StringRef", "FS", ")", "{", "ParseSubtargetFeatures", "(", "GPU", ",", "FS", ")", ";", "return", "*", "this", ";", "}", ""], "natrual_language": ["initializeSubtargetDependencies", "-", "Initializes", "using", "a", "CPU", ",", "a", "TuneCPU", ",", "and", "feature", "string", "so", "that", "we", "can", "use", "initializer", "lists", "for", "subtarget", "initialization", "."], "TS_V_token": ["HSAIL", "HSAIL", "HSAIL"], "File": "HSAILSubtarget", "Func": "initializeSubtargetDependencies", "Target": "HSAIL", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3654, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "WebAssemblyTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "SDValue", "(", ")", ";", "case", "ISD", "::", "VECTOR_SHUFFLE", ":", "return", "performVECTOR_SHUFFLECombine", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "SIGN_EXTEND", ":", "case", "ISD", "::", "ZERO_EXTEND", ":", "return", "performVectorExtendCombine", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "SINT_TO_FP", ":", "case", "ISD", "::", "UINT_TO_FP", ":", "case", "ISD", "::", "FP_EXTEND", ":", "case", "ISD", "::", "EXTRACT_SUBVECTOR", ":", "return", "performVectorConvertLowCombine", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "FP_TO_SINT_SAT", ":", "case", "ISD", "::", "FP_TO_UINT_SAT", ":", "case", "ISD", "::", "FP_ROUND", ":", "case", "ISD", "::", "CONCAT_VECTORS", ":", "return", "performVectorTruncZeroCombine", "(", "N", ",", "DCI", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "will", "be", "invoked", "for", "all", "target", "nodes", "and", "for", "any", "target-independent", "nodes", "that", "the", "target", "has", "registered", "with", "invoke", "it", "for", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "ISD::VECTOR_SHUFFLE", "ISD::SIGN_EXTEND", "ISD::ZERO_EXTEND", "ISD::SINT_TO_FP", "ISD::UINT_TO_FP", "ISD::FP_EXTEND", "ISD::EXTRACT_SUBVECTOR", "ISD::FP_TO_SINT_SAT", "ISD::FP_TO_UINT_SAT", "ISD::FP_ROUND", "ISD::CONCAT_VECTORS"], "File": "WebAssemblyISelLowering34", "Func": "PerformDAGCombine", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3655, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "nds32_expand_binopimm_builtin", "(", "enum", "insn_code", "icode", ",", "tree", "exp", ",", "rtx", "target", ",", "bool", "return_p", ",", "const", "char", "*", "name", ")", "{", "rtx", "pat", ";", "rtx", "op0", "=", "nds32_read_argument", "(", "exp", ",", "0", ")", ";", "rtx", "op1", "=", "nds32_read_argument", "(", "exp", ",", "1", ")", ";", "int", "op0_num", "=", "return_p", "?", "1", ":", "0", ";", "int", "op1_num", "=", "return_p", "?", "2", ":", "1", ";", "if", "(", "return_p", ")", "target", "=", "nds32_legitimize_target", "(", "icode", ",", "target", ")", ";", "if", "(", "!", "nds32_check_constant_argument", "(", "icode", ",", "op1_num", ",", "op1", ",", "name", ")", ")", "return", "NULL_RTX", ";", "op0", "=", "nds32_legitimize_argument", "(", "icode", ",", "op0_num", ",", "op0", ")", ";", "op1", "=", "nds32_legitimize_argument", "(", "icode", ",", "op1_num", ",", "op1", ")", ";", "if", "(", "return_p", ")", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op0", ",", "op1", ")", ";", "else", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "op0", ",", "op1", ")", ";", "if", "(", "!", "pat", ")", "return", "NULL_RTX", ";", "emit_insn", "(", "pat", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Expand", "builtins", "that", "take", "two", "operands", "and", "the", "second", "is", "immediate", "."], "TS_V_token": ["nds32", "0", "1", "1", "0", "2", "1"], "File": "nds32-intrinsic", "Func": "nds32_expand_binopimm_builtin", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3656, "Length": 164, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "visium_split_cstore", "(", "enum", "rtx_code", "op_code", ",", "rtx", "op0", ",", "rtx", "op1", ",", "enum", "rtx_code", "code", ",", "rtx", "op2", ",", "rtx", "op3", ")", "{", "machine_mode", "cc_mode", "=", "visium_select_cc_mode", "(", "code", ",", "op2", ",", "op3", ")", ";", "if", "(", "cc_mode", "==", "CCFPEmode", "&&", "(", "op_code", "==", "NEG", "||", "op_code", "==", "MINUS", ")", ")", "cc_mode", "=", "CCFPmode", ";", "rtx", "flags", "=", "gen_rtx_REG", "(", "cc_mode", ",", "FLAGS_REGNUM", ")", ";", "rtx", "x", "=", "gen_rtx_COMPARE", "(", "cc_mode", ",", "op2", ",", "op3", ")", ";", "x", "=", "gen_rtx_SET", "(", "flags", ",", "x", ")", ";", "emit_insn", "(", "x", ")", ";", "x", "=", "gen_rtx_fmt_ee", "(", "code", ",", "SImode", ",", "flags", ",", "const0_rtx", ")", ";", "switch", "(", "op_code", ")", "{", "case", "SET", ":", "break", ";", "case", "NEG", ":", "x", "=", "gen_rtx_NEG", "(", "SImode", ",", "x", ")", ";", "break", ";", "case", "PLUS", ":", "case", "MINUS", ":", "x", "=", "gen_rtx_fmt_ee", "(", "op_code", ",", "SImode", ",", "op1", ",", "x", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "rtx", "pat", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "2", ")", ")", ";", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", "=", "gen_rtx_SET", "(", "op0", ",", "x", ")", ";", "flags", "=", "gen_rtx_REG", "(", "CCmode", ",", "FLAGS_REGNUM", ")", ";", "XVECEXP", "(", "pat", ",", "0", ",", "1", ")", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "flags", ")", ";", "emit_insn", "(", "pat", ")", ";", "visium_flags_exposed", "=", "true", ";", "}", ""], "natrual_language": ["Split", "a", "compare-and-store", "with", "CODE", ",", "operands", "OP2", "and", "OP3", ",", "combined", "with", "operation", "with", "OP_CODE", ",", "operands", "OP0", "and", "OP1", "."], "TS_V_token": ["visium", "2", "0", "0", "0", "1"], "File": "visium", "Func": "visium_split_cstore", "Target": "visium", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 3657, "Length": 221, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getType", "(", ")", "const", "{", "return", "CurType", ".", "Name", ";", "}", ""], "natrual_language": ["Overload", "to", "return", "most", "specific", "vector", "type", "."], "TS_V_token": ["X86"], "File": "X86AsmParser (2)4", "Func": "getType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3658, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "extract_base_reg", "(", "rtx_insn", "*", "insn", ")", "{", "int", "post_update_rtx_index", ";", "rtx", "mem_rtx", ";", "rtx", "plus_rtx", ";", "switch", "(", "get_attr_type", "(", "insn", ")", ")", "{", "case", "TYPE_LOAD_MULTIPLE", ":", "post_update_rtx_index", "=", "find_post_update_rtx", "(", "insn", ")", ";", "if", "(", "post_update_rtx_index", "!=", "-", "1", ")", "return", "SET_DEST", "(", "parallel_element", "(", "insn", ",", "post_update_rtx_index", ")", ")", ";", "mem_rtx", "=", "SET_SRC", "(", "parallel_element", "(", "insn", ",", "0", ")", ")", ";", "break", ";", "case", "TYPE_STORE_MULTIPLE", ":", "post_update_rtx_index", "=", "find_post_update_rtx", "(", "insn", ")", ";", "if", "(", "post_update_rtx_index", "!=", "-", "1", ")", "return", "SET_DEST", "(", "parallel_element", "(", "insn", ",", "post_update_rtx_index", ")", ")", ";", "mem_rtx", "=", "SET_DEST", "(", "parallel_element", "(", "insn", ",", "0", ")", ")", ";", "break", ";", "case", "TYPE_LOAD", ":", "case", "TYPE_FLOAD", ":", "case", "TYPE_STORE", ":", "case", "TYPE_FSTORE", ":", "mem_rtx", "=", "extract_mem_rtx", "(", "insn", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "gcc_assert", "(", "MEM_P", "(", "mem_rtx", ")", ")", ";", "if", "(", "REG_P", "(", "XEXP", "(", "mem_rtx", ",", "0", ")", ")", ")", "return", "XEXP", "(", "mem_rtx", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "mem_rtx", ",", "0", ")", ")", "==", "LO_SUM", ")", "return", "XEXP", "(", "XEXP", "(", "mem_rtx", ",", "0", ")", ",", "0", ")", ";", "plus_rtx", "=", "XEXP", "(", "mem_rtx", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "plus_rtx", ")", "==", "SYMBOL_REF", "||", "GET_CODE", "(", "plus_rtx", ")", "==", "CONST", ")", "return", "NULL_RTX", ";", "gcc_assert", "(", "GET_CODE", "(", "plus_rtx", ")", "==", "PLUS", "||", "GET_CODE", "(", "plus_rtx", ")", "==", "POST_INC", "||", "GET_CODE", "(", "plus_rtx", ")", "==", "POST_DEC", "||", "GET_CODE", "(", "plus_rtx", ")", "==", "POST_MODIFY", ")", ";", "if", "(", "REG_P", "(", "XEXP", "(", "plus_rtx", ",", "0", ")", ")", ")", "return", "XEXP", "(", "plus_rtx", ",", "0", ")", ";", "gcc_assert", "(", "REG_P", "(", "XEXP", "(", "plus_rtx", ",", "1", ")", ")", ")", ";", "return", "XEXP", "(", "plus_rtx", ",", "1", ")", ";", "}", ""], "natrual_language": ["Extract", "the", "base", "register", "from", "load/store", "insns", ".", "The", "function", "returns", "NULL_RTX", "if", "the", "address", "is", "not", "consist", "of", "any", "registers", "."], "TS_V_token": ["nds32", "1", "0", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1"], "File": "nds32-utils", "Func": "extract_base_reg", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3659, "Length": 293, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "function_value", "(", "tree", "valtype", ",", "tree", "func", "ATTRIBUTE_UNUSED", ")", "{", "enum", "machine_mode", "valmode", ";", "if", "(", "AGGREGATE_TYPE_P", "(", "valtype", ")", "||", "TREE_CODE", "(", "valtype", ")", "==", "COMPLEX_TYPE", "||", "TREE_CODE", "(", "valtype", ")", "==", "VECTOR_TYPE", ")", "{", "if", "(", "TARGET_64BIT", ")", "{", "rtx", "loc", "[", "2", "]", ";", "int", "i", ",", "offset", "=", "0", ";", "int", "ub", "=", "int_size_in_bytes", "(", "valtype", ")", "<=", "UNITS_PER_WORD", "?", "1", ":", "2", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ub", ";", "i", "++", ")", "{", "loc", "[", "i", "]", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "DImode", ",", "28", "+", "i", ")", ",", "GEN_INT", "(", "offset", ")", ")", ";", "offset", "+=", "8", ";", "}", "return", "gen_rtx_PARALLEL", "(", "BLKmode", ",", "gen_rtvec_v", "(", "ub", ",", "loc", ")", ")", ";", "}", "else", "if", "(", "int_size_in_bytes", "(", "valtype", ")", ">", "UNITS_PER_WORD", ")", "{", "rtx", "loc", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "DImode", ",", "28", ")", ",", "const0_rtx", ")", ";", "return", "gen_rtx_PARALLEL", "(", "BLKmode", ",", "gen_rtvec", "(", "1", ",", "loc", ")", ")", ";", "}", "}", "if", "(", "(", "INTEGRAL_TYPE_P", "(", "valtype", ")", "&&", "TYPE_PRECISION", "(", "valtype", ")", "<", "BITS_PER_WORD", ")", "||", "POINTER_TYPE_P", "(", "valtype", ")", ")", "valmode", "=", "word_mode", ";", "else", "valmode", "=", "TYPE_MODE", "(", "valtype", ")", ";", "if", "(", "TREE_CODE", "(", "valtype", ")", "==", "REAL_TYPE", "&&", "!", "AGGREGATE_TYPE_P", "(", "valtype", ")", "&&", "TYPE_MODE", "(", "valtype", ")", "!=", "TFmode", "&&", "!", "TARGET_SOFT_FLOAT", ")", "return", "gen_rtx_REG", "(", "valmode", ",", "32", ")", ";", "return", "gen_rtx_REG", "(", "valmode", ",", "28", ")", ";", "}", ""], "natrual_language": ["Handle", "FUNCTION_VALUE", ",", "FUNCTION_OUTGOING_VALUE", ",", "and", "LIBCALL_VALUE", "macros", ".", "For", "v9", ",", "function", "return", "values", "are", "subject", "to", "the", "same", "rules", "as", "arguments", ",", "except", "that", "up", "to", "32", "bytes", "may", "be", "returned", "in", "registers", "."], "TS_V_token": ["pa", "2", "0", "1", "2", "0", "28", "8", "28", "1", "32", "28"], "File": "pa3", "Func": "function_value", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3660, "Length": 244, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "unique_ptr", "<", "LanaiOperand", ">", "LanaiAsmParser", "::", "parseIdentifier", "(", ")", "{", "SMLoc", "Start", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "SMLoc", "End", "=", "SMLoc", "::", "getFromPointer", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ".", "getPointer", "(", ")", "-", "1", ")", ";", "const", "MCExpr", "*", "Res", ",", "*", "RHS", "=", "nullptr", ";", "LanaiMCExpr", "::", "VariantKind", "Kind", "=", "LanaiMCExpr", "::", "VK_Lanai_None", ";", "if", "(", "Lexer", ".", "getKind", "(", ")", "!=", "AsmToken", "::", "Identifier", ")", "return", "nullptr", ";", "StringRef", "Identifier", ";", "if", "(", "Parser", ".", "parseIdentifier", "(", "Identifier", ")", ")", "return", "nullptr", ";", "if", "(", "Identifier", ".", "equals_lower", "(", "\"hi\"", ")", ")", "Kind", "=", "LanaiMCExpr", "::", "VK_Lanai_ABS_HI", ";", "else", "if", "(", "Identifier", ".", "equals_lower", "(", "\"lo\"", ")", ")", "Kind", "=", "LanaiMCExpr", "::", "VK_Lanai_ABS_LO", ";", "if", "(", "Kind", "!=", "LanaiMCExpr", "::", "VK_Lanai_None", ")", "{", "if", "(", "Lexer", ".", "getKind", "(", ")", "!=", "AsmToken", "::", "LParen", ")", "{", "Error", "(", "Lexer", ".", "getLoc", "(", ")", ",", "\"Expected '('\"", ")", ";", "return", "nullptr", ";", "}", "Lexer", ".", "Lex", "(", ")", ";", "if", "(", "Parser", ".", "parseIdentifier", "(", "Identifier", ")", ")", "return", "nullptr", ";", "}", "if", "(", "Lexer", ".", "getKind", "(", ")", "==", "AsmToken", "::", "Plus", "&&", "Parser", ".", "parseExpression", "(", "RHS", ")", ")", "return", "nullptr", ";", "if", "(", "Kind", "!=", "LanaiMCExpr", "::", "VK_Lanai_None", ")", "{", "if", "(", "Lexer", ".", "getKind", "(", ")", "!=", "AsmToken", "::", "RParen", ")", "{", "Error", "(", "Lexer", ".", "getLoc", "(", ")", ",", "\"Expected ')'\"", ")", ";", "return", "nullptr", ";", "}", "Lexer", ".", "Lex", "(", ")", ";", "}", "End", "=", "SMLoc", "::", "getFromPointer", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ".", "getPointer", "(", ")", "-", "1", ")", ";", "MCSymbol", "*", "Sym", "=", "getContext", "(", ")", ".", "getOrCreateSymbol", "(", "Identifier", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MCSymbolRefExpr", "::", "create", "(", "Sym", ",", "getContext", "(", ")", ")", ";", "Res", "=", "LanaiMCExpr", "::", "create", "(", "Kind", ",", "Expr", ",", "getContext", "(", ")", ")", ";", "if", "(", "RHS", ")", "Res", "=", "MCBinaryExpr", "::", "createAdd", "(", "Res", ",", "RHS", ",", "getContext", "(", ")", ")", ";", "return", "LanaiOperand", "::", "createImm", "(", "Res", ",", "Start", ",", "End", ")", ";", "}", ""], "natrual_language": ["Parse", "an", "identifier", "or", "string", "(", "as", "a", "quoted", "identifier", ")", "and", "set", "Res", "to", "the", "identifier", "contents", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai", "1", "Lanai", "Lanai", "Lanai", "\"hi\"", "Lanai", "Lanai", "\"lo\"", "Lanai", "Lanai", "Lanai", "Lanai", "\"Expected '('\"", "Lanai", "Lanai", "\"Expected ')'\"", "1", "Lanai", "LanaiOperand::createImm"], "File": "LanaiAsmParser (2)", "Func": "parseIdentifier", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3661, "Length": 350, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "m68hc11_initial_elimination_offset", "(", "int", "from", ",", "int", "to", ")", "{", "int", "trap_handler", ";", "tree", "func_attr", ";", "int", "size", ";", "int", "regno", ";", "func_attr", "=", "TYPE_ATTRIBUTES", "(", "TREE_TYPE", "(", "current_function_decl", ")", ")", ";", "current_function_interrupt", "=", "lookup_attribute", "(", "\"interrupt\"", ",", "func_attr", ")", "!=", "NULL_TREE", ";", "trap_handler", "=", "lookup_attribute", "(", "\"trap\"", ",", "func_attr", ")", "!=", "NULL_TREE", ";", "if", "(", "lookup_attribute", "(", "\"far\"", ",", "func_attr", ")", "!=", "0", ")", "current_function_far", "=", "1", ";", "else", "if", "(", "lookup_attribute", "(", "\"near\"", ",", "func_attr", ")", "!=", "0", ")", "current_function_far", "=", "0", ";", "else", "current_function_far", "=", "(", "TARGET_LONG_CALLS", "!=", "0", "&&", "!", "current_function_interrupt", "&&", "!", "trap_handler", ")", ";", "if", "(", "trap_handler", "&&", "from", "==", "ARG_POINTER_REGNUM", ")", "size", "=", "7", ";", "else", "if", "(", "current_function_far", "&&", "from", "==", "ARG_POINTER_REGNUM", ")", "size", "=", "1", ";", "else", "size", "=", "0", ";", "if", "(", "from", "==", "ARG_POINTER_REGNUM", "&&", "to", "==", "HARD_FRAME_POINTER_REGNUM", ")", "{", "return", "get_frame_size", "(", ")", "+", "2", "+", "m68hc11_sp_correction", "+", "size", ";", "}", "if", "(", "from", "==", "FRAME_POINTER_REGNUM", "&&", "to", "==", "HARD_FRAME_POINTER_REGNUM", ")", "{", "return", "m68hc11_sp_correction", ";", "}", "for", "(", "regno", "=", "SOFT_REG_FIRST", ";", "regno", "<", "SOFT_REG_LAST", ";", "regno", "++", ")", "{", "if", "(", "regs_ever_live", "[", "regno", "]", "&&", "!", "call_used_regs", "[", "regno", "]", ")", "{", "size", "+=", "2", ";", "}", "}", "if", "(", "from", "==", "ARG_POINTER_REGNUM", "&&", "to", "==", "HARD_SP_REGNUM", ")", "{", "return", "get_frame_size", "(", ")", "+", "size", ";", "}", "if", "(", "from", "==", "FRAME_POINTER_REGNUM", "&&", "to", "==", "HARD_SP_REGNUM", ")", "{", "return", "size", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Define", "the", "offset", "between", "two", "registers", ",", "one", "to", "be", "eliminated", ",", "and", "the", "other", "its", "replacement", ",", "at", "the", "start", "of", "a", "routine", "."], "TS_V_token": ["m68hc11", "\"interrupt\"", "\"trap\"", "\"far\"", "0", "1", "\"near\"", "0", "0", "0", "7", "1", "0", "2", "2", "0"], "File": "m68hc111", "Func": "m68hc11_initial_elimination_offset", "Target": "m68hc11", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3662, "Length": 240, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "HSAILInstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "InstrInfo", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["HSAIL", "HSAIL"], "File": "HSAILSubtarget", "Func": "getInstrInfo", "Target": "HSAIL", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3663, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MSP430FrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MSP430MachineFunctionInfo", "*", "MSP430FI", "=", "MF", ".", "getInfo", "<", "MSP430MachineFunctionInfo", ">", "(", ")", ";", "const", "MSP430InstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "MSP430InstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "DebugLoc", "DL", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "uint64_t", "StackSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "uint64_t", "NumBytes", "=", "0", ";", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "uint64_t", "FrameSize", "=", "StackSize", "-", "2", ";", "NumBytes", "=", "FrameSize", "-", "MSP430FI", "->", "getCalleeSavedFrameSize", "(", ")", ";", "MFI", "->", "setOffsetAdjustment", "(", "-", "NumBytes", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "MSP430", "::", "PUSH16r", ")", ")", ".", "addReg", "(", "MSP430", "::", "FP", ",", "RegState", "::", "Kill", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "MSP430", "::", "MOV16rr", ")", ",", "MSP430", "::", "FP", ")", ".", "addReg", "(", "MSP430", "::", "SP", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "I", "=", "std", "::", "next", "(", "MF", ".", "begin", "(", ")", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "I", "->", "addLiveIn", "(", "MSP430", "::", "FP", ")", ";", "}", "else", "NumBytes", "=", "StackSize", "-", "MSP430FI", "->", "getCalleeSavedFrameSize", "(", ")", ";", "while", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", "&&", "(", "MBBI", "->", "getOpcode", "(", ")", "==", "MSP430", "::", "PUSH16r", ")", ")", "++", "MBBI", ";", "if", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "NumBytes", ")", "{", "if", "(", "NumBytes", ")", "{", "MachineInstr", "*", "MI", "=", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "MSP430", "::", "SUB16ri", ")", ",", "MSP430", "::", "SP", ")", ".", "addReg", "(", "MSP430", "::", "SP", ")", ".", "addImm", "(", "NumBytes", ")", ";", "MI", "->", "getOperand", "(", "3", ")", ".", "setIsDead", "(", ")", ";", "}", "}", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["MSP430", "MSP430", "MSP430", "MSP430", "MSP430", "MSP430", "MSP430", "0", "2", "MSP430", "MSP430::PUSH16r", "MSP430::FP", "MSP430::MOV16rr", "MSP430::FP", "MSP430::SP", "MSP430::FP", "MSP430", "MSP430::PUSH16r", "MSP430::SUB16ri", "MSP430::SP", "MSP430::SP", "3"], "File": "MSP430FrameLowering26", "Func": "emitPrologue", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3664, "Length": 364, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64AsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "if", "(", "emitPseudoExpansionLowering", "(", "OutStreamer", ",", "MI", ")", ")", "return", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "AArch64", "::", "DBG_VALUE", ":", "{", "if", "(", "isVerbose", "(", ")", "&&", "OutStreamer", ".", "hasRawTextSupport", "(", ")", ")", "{", "SmallString", "<", "128", ">", "TmpStr", ";", "raw_svector_ostream", "OS", "(", "TmpStr", ")", ";", "PrintDebugValueComment", "(", "MI", ",", "OS", ")", ";", "OutStreamer", ".", "EmitRawText", "(", "StringRef", "(", "OS", ".", "str", "(", ")", ")", ")", ";", "}", "return", ";", "}", "}", "MCInst", "TmpInst", ";", "LowerAArch64MachineInstrToMCInst", "(", "MI", ",", "TmpInst", ",", "*", "this", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "TmpInst", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::DBG_VALUE", "128", "AArch64"], "File": "AArch64AsmPrinter59", "Func": "EmitInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3665, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "GCNSubtarget", "::", "useAA", "(", ")", "const", "{", "return", "UseAA", ";", "}", ""], "natrual_language": ["Enable", "use", "of", "alias", "analysis", "during", "code", "generation", "(", "during", "MI", "scheduling", ",", "DAGCombine", ",", "etc", ".", ")", "."], "TS_V_token": ["AMDGPU"], "File": "AMDGPUSubtarget1", "Func": "useAA", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3666, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LC3FrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "uint64_t", "StackSize", "=", "computeStackSize", "(", "MF", ")", ";", "if", "(", "!", "StackSize", ")", "{", "return", ";", "}", "unsigned", "StackReg", "=", "LC3", "::", "SP", ";", "unsigned", "OffsetReg", "=", "materializeOffset", "(", "MF", ",", "MBB", ",", "MBBI", ",", "(", "unsigned", ")", "StackSize", ")", ";", "if", "(", "OffsetReg", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "LC3", "::", "ADDrr", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ")", ".", "addReg", "(", "OffsetReg", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "else", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "LC3", "::", "ADDri", ")", ",", "StackReg", ")", ".", "addReg", "(", "StackReg", ")", ".", "addImm", "(", "StackSize", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["LC3", "LC3", "LC3::SP", "LC3::ADDrr", "LC3::ADDri"], "File": "LC3FrameLowering", "Func": "emitEpilogue", "Target": "LC3", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3667, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createAMDGPUPeepholeOpt", "(", "*", "TM", ")", ")", ";", "addPass", "(", "createAMDGPUISelDag", "(", "getAMDGPUTargetMachine", "(", ")", ")", ")", ";", "const", "AMDGPUSubtarget", "&", "ST", "=", "TM", "->", "getSubtarget", "<", "AMDGPUSubtarget", ">", "(", ")", ";", "if", "(", "ST", ".", "device", "(", ")", "->", "getGeneration", "(", ")", "<=", "AMDGPUDeviceInfo", "::", "HD6XXX", ")", "{", "addPass", "(", "createAMDGPUIndirectAddressingPass", "(", "*", "TM", ")", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["R600", "AMDGPUDeviceInfo::HD6XXX"], "File": "AMDGPUTargetMachine101", "Func": "addInstSelector", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3668, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "convert_scalars_to_vector", "(", ")", "{", "basic_block", "bb", ";", "bitmap", "candidates", ";", "int", "converted_insns", "=", "0", ";", "bitmap_obstack_initialize", "(", "NULL", ")", ";", "candidates", "=", "BITMAP_ALLOC", "(", "NULL", ")", ";", "calculate_dominance_info", "(", "CDI_DOMINATORS", ")", ";", "df_set_flags", "(", "DF_DEFER_INSN_RESCAN", ")", ";", "df_chain_add_problem", "(", "DF_DU_CHAIN", "|", "DF_UD_CHAIN", ")", ";", "df_md_add_problem", "(", ")", ";", "df_analyze", "(", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"Searching for mode conversion candidates...\\n\"", ")", ";", "FOR_EACH_BB_FN", "(", "bb", ",", "cfun", ")", "{", "rtx_insn", "*", "insn", ";", "FOR_BB_INSNS", "(", "bb", ",", "insn", ")", "if", "(", "scalar_to_vector_candidate_p", "(", "insn", ")", ")", "{", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\" insn %d is marked as a candidate\\n\"", ",", "INSN_UID", "(", "insn", ")", ")", ";", "bitmap_set_bit", "(", "candidates", ",", "INSN_UID", "(", "insn", ")", ")", ";", "}", "}", "remove_non_convertible_regs", "(", "candidates", ")", ";", "if", "(", "bitmap_empty_p", "(", "candidates", ")", ")", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"There are no candidates for optimization.\\n\"", ")", ";", "while", "(", "!", "bitmap_empty_p", "(", "candidates", ")", ")", "{", "unsigned", "uid", "=", "bitmap_first_set_bit", "(", "candidates", ")", ";", "scalar_chain", "*", "chain", ";", "if", "(", "TARGET_64BIT", ")", "chain", "=", "new", "timode_scalar_chain", ";", "else", "chain", "=", "new", "dimode_scalar_chain", ";", "chain", "->", "build", "(", "candidates", ",", "uid", ")", ";", "if", "(", "chain", "->", "compute_convert_gain", "(", ")", ">", "0", ")", "converted_insns", "+=", "chain", "->", "convert", "(", ")", ";", "else", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"Chain #%d conversion is not profitable\\n\"", ",", "chain", "->", "chain_id", ")", ";", "delete", "chain", ";", "}", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"Total insns converted: %d\\n\"", ",", "converted_insns", ")", ";", "BITMAP_FREE", "(", "candidates", ")", ";", "bitmap_obstack_release", "(", "NULL", ")", ";", "df_process_deferred_rescans", "(", ")", ";", "if", "(", "converted_insns", ")", "{", "if", "(", "crtl", "->", "stack_alignment_needed", "<", "128", ")", "crtl", "->", "stack_alignment_needed", "=", "128", ";", "if", "(", "crtl", "->", "stack_alignment_estimated", "<", "128", ")", "crtl", "->", "stack_alignment_estimated", "=", "128", ";", "if", "(", "TARGET_64BIT", ")", "for", "(", "tree", "parm", "=", "DECL_ARGUMENTS", "(", "current_function_decl", ")", ";", "parm", ";", "parm", "=", "DECL_CHAIN", "(", "parm", ")", ")", "{", "if", "(", "TYPE_MODE", "(", "TREE_TYPE", "(", "parm", ")", ")", "!=", "TImode", ")", "continue", ";", "if", "(", "DECL_RTL_SET_P", "(", "parm", ")", "&&", "GET_MODE", "(", "DECL_RTL", "(", "parm", ")", ")", "==", "V1TImode", ")", "{", "rtx", "r", "=", "DECL_RTL", "(", "parm", ")", ";", "if", "(", "REG_P", "(", "r", ")", ")", "SET_DECL_RTL", "(", "parm", ",", "gen_rtx_SUBREG", "(", "TImode", ",", "r", ",", "0", ")", ")", ";", "}", "if", "(", "DECL_INCOMING_RTL", "(", "parm", ")", "&&", "GET_MODE", "(", "DECL_INCOMING_RTL", "(", "parm", ")", ")", "==", "V1TImode", ")", "{", "rtx", "r", "=", "DECL_INCOMING_RTL", "(", "parm", ")", ";", "if", "(", "REG_P", "(", "r", ")", ")", "DECL_INCOMING_RTL", "(", "parm", ")", "=", "gen_rtx_SUBREG", "(", "TImode", ",", "r", ",", "0", ")", ";", "}", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["Main", "STV", "pass", "function", ".", "Find", "and", "convert", "scalar", "instructions", "into", "vector", "mode", "when", "profitable", "."], "TS_V_token": ["i386", "0", "\"Searching for mode conversion candidates...\\n\"", "\" insn %d is marked as a candidate\\n\"", "\"There are no candidates for optimization.\\n\"", "0", "\"Chain #%d conversion is not profitable\\n\"", "\"Total insns converted: %d\\n\"", "128", "128", "128", "128", "0", "0", "0"], "File": "i3866", "Func": "convert_scalars_to_vector", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3669, "Length": 425, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "XCoreFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "XCoreInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "XCoreInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "if", "(", "!", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "MachineInstr", "*", "Old", "=", "I", ";", "uint64_t", "Amount", "=", "Old", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "Amount", "!=", "0", ")", "{", "unsigned", "Align", "=", "getStackAlignment", "(", ")", ";", "Amount", "=", "(", "Amount", "+", "Align", "-", "1", ")", "/", "Align", "*", "Align", ";", "assert", "(", "Amount", "%", "4", "==", "0", ")", ";", "Amount", "/=", "4", ";", "bool", "isU6", "=", "isImmU6", "(", "Amount", ")", ";", "if", "(", "!", "isU6", "&&", "!", "isImmU16", "(", "Amount", ")", ")", "{", "errs", "(", ")", "<<", "\"eliminateCallFramePseudoInstr size too big: \"", "<<", "Amount", "<<", "\"\\n\"", ";", "llvm_unreachable", "(", "0", ")", ";", "}", "MachineInstr", "*", "New", ";", "if", "(", "Old", "->", "getOpcode", "(", ")", "==", "XCore", "::", "ADJCALLSTACKDOWN", ")", "{", "int", "Opcode", "=", "isU6", "?", "XCore", "::", "EXTSP_u6", ":", "XCore", "::", "EXTSP_lu6", ";", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "Opcode", ")", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "else", "{", "assert", "(", "Old", "->", "getOpcode", "(", ")", "==", "XCore", "::", "ADJCALLSTACKUP", ")", ";", "int", "Opcode", "=", "isU6", "?", "XCore", "::", "LDAWSP_ru6_RRegs", ":", "XCore", "::", "LDAWSP_lru6_RRegs", ";", "New", "=", "BuildMI", "(", "MF", ",", "Old", "->", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "Opcode", ")", ",", "XCore", "::", "SP", ")", ".", "addImm", "(", "Amount", ")", ";", "}", "MBB", ".", "insert", "(", "I", ",", "New", ")", ";", "}", "}", "MBB", ".", "erase", "(", "I", ")", ";", "}", ""], "natrual_language": ["This", "method", "is", "called", "during", "prolog/epilog", "code", "insertion", "to", "eliminate", "call", "frame", "setup", "and", "destroy", "pseudo", "instructions", "(", "but", "only", "if", "the", "Target", "is", "using", "them", ")", "."], "TS_V_token": ["XCore", "XCore", "XCore", "XCore", "0", "0", "1", "4", "0", "4", "\"eliminateCallFramePseudoInstr size too big: \"", "\"\\n\"", "0", "XCore::ADJCALLSTACKDOWN", "XCore::EXTSP_u6", "XCore::EXTSP_lu6", "XCore::ADJCALLSTACKUP", "XCore::LDAWSP_ru6_RRegs", "XCore::LDAWSP_lru6_RRegs", "XCore::SP"], "File": "XCoreFrameLowering25", "Func": "eliminateCallFramePseudoInstr", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3670, "Length": 283, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "nds32_n10_last_load_to_ex_p", "(", "rtx_insn", "*", "producer", ",", "rtx_insn", "*", "consumer", ")", "{", "rtx", "last_def_reg", "=", "extract_nth_access_reg", "(", "producer", ",", "-", "1", ")", ";", "return", "n10_consumed_by_ex_dep_p", "(", "consumer", ",", "last_def_reg", ")", ";", "}", ""], "natrual_language": ["Check", "dependencies", "from", "LMW", "(", "N", ",", "N", ")", "to", "EX", "."], "TS_V_token": ["nds32", "1"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n10_last_load_to_ex_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3671, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "std", "::", "prev", "(", "MBB", ".", "end", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "hasFP", "(", "MF", ")", "||", "MF", ".", "getTarget", "(", ")", ".", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "None", ")", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "std", "::", "prev", "(", "MBB", ".", "end", "(", ")", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI_end", "=", "MBB", ".", "end", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "if", "(", "MBBI", "->", "getOpcode", "(", ")", "==", "Hexagon", "::", "EH_RETURN_JMPR", ")", "{", "assert", "(", "MBBI", "->", "getOperand", "(", "0", ")", ".", "isReg", "(", ")", "&&", "\"Offset should be in register!\"", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Hexagon", "::", "L2_deallocframe", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Hexagon", "::", "A2_add", ")", ",", "Hexagon", "::", "R29", ")", ".", "addReg", "(", "Hexagon", "::", "R29", ")", ".", "addReg", "(", "Hexagon", "::", "R28", ")", ";", "return", ";", "}", "if", "(", "MF", ".", "getTarget", "(", ")", ".", "getSubtarget", "<", "HexagonSubtarget", ">", "(", ")", ".", "hasV4TOps", "(", ")", "&&", "MBBI", "->", "getOpcode", "(", ")", "==", "Hexagon", "::", "JMPret", "&&", "!", "DisableDeallocRet", ")", "{", "MachineBasicBlock", "::", "iterator", "BeforeJMPR", "=", "MBB", ".", "begin", "(", ")", "==", "MBBI", "?", "MBBI", ":", "std", "::", "prev", "(", "MBBI", ")", ";", "if", "(", "BeforeJMPR", "!=", "MBBI", "&&", "BeforeJMPR", "->", "getOpcode", "(", ")", "==", "Hexagon", "::", "RESTORE_DEALLOC_RET_JMP_V4", ")", "{", "MBB", ".", "erase", "(", "MBBI", ")", ";", "return", ";", "}", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MBBI_end", ",", "dl", ",", "TII", ".", "get", "(", "Hexagon", "::", "L4_return", ")", ")", ";", "MIB", "->", "copyImplicitOps", "(", "*", "MBB", ".", "getParent", "(", ")", ",", "&", "*", "MBBI", ")", ";", "MBB", ".", "erase", "(", "MBBI", ")", ";", "}", "else", "{", "MachineBasicBlock", "::", "iterator", "Term", "=", "MBB", ".", "getFirstTerminator", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "I", "=", "Term", "==", "MBB", ".", "begin", "(", ")", "?", "MBB", ".", "end", "(", ")", ":", "std", "::", "prev", "(", "Term", ")", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", "&&", "I", "->", "getOpcode", "(", ")", "==", "Hexagon", "::", "RESTORE_DEALLOC_BEFORE_TAILCALL_V4", ")", "return", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "Hexagon", "::", "L2_deallocframe", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon::EH_RETURN_JMPR", "0", "\"Offset should be in register!\"", "Hexagon::L2_deallocframe", "Hexagon::A2_add", "Hexagon::R29", "Hexagon::R29", "Hexagon::R28", "Hexagon", "Hexagon::JMPret", "Hexagon::RESTORE_DEALLOC_RET_JMP_V4", "Hexagon::L4_return", "Hexagon::RESTORE_DEALLOC_BEFORE_TAILCALL_V4", "Hexagon::L2_deallocframe"], "File": "HexagonFrameLowering62", "Func": "emitEpilogue", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3672, "Length": 400, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "shouldForceRelocation", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ")", "override", "{", "switch", "(", "(", "PPC", "::", "Fixups", ")", "Fixup", ".", "getKind", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "PPC", "::", "fixup_ppc_br24", ":", "case", "PPC", "::", "fixup_ppc_br24abs", ":", "if", "(", "const", "MCSymbolRefExpr", "*", "A", "=", "Target", ".", "getSymA", "(", ")", ")", "{", "if", "(", "const", "auto", "*", "S", "=", "dyn_cast", "<", "MCSymbolELF", ">", "(", "&", "A", "->", "getSymbol", "(", ")", ")", ")", "{", "unsigned", "Other", "=", "S", "->", "getOther", "(", ")", "<<", "2", ";", "if", "(", "(", "Other", "&", "ELF", "::", "STO_PPC64_LOCAL_MASK", ")", "!=", "0", ")", "return", "true", ";", "}", "}", "return", "false", ";", "}", "}", ""], "natrual_language": ["Hook", "to", "check", "if", "a", "relocation", "is", "needed", "for", "some", "target", "specific", "reason", "."], "TS_V_token": ["PowerPC", "PPC::Fixups", "PPC::fixup_ppc_br24", "PPC::fixup_ppc_br24abs", "2", "PPC", "0"], "File": "PPCAsmBackend (2)1", "Func": "shouldForceRelocation", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3673, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "::", "HazardType", "GCNHazardRecognizer", "::", "getHazardType", "(", "SUnit", "*", "SU", ",", "int", "Stalls", ")", "{", "MachineInstr", "*", "MI", "=", "SU", "->", "getInstr", "(", ")", ";", "if", "(", "SIInstrInfo", "::", "isSMRD", "(", "*", "MI", ")", "&&", "checkSMRDHazards", "(", "MI", ")", ">", "0", ")", "return", "NoopHazard", ";", "if", "(", "SIInstrInfo", "::", "isVMEM", "(", "*", "MI", ")", "&&", "checkVMEMHazards", "(", "MI", ")", ">", "0", ")", "return", "NoopHazard", ";", "if", "(", "SIInstrInfo", "::", "isVALU", "(", "*", "MI", ")", "&&", "checkVALUHazards", "(", "MI", ")", ">", "0", ")", "return", "NoopHazard", ";", "if", "(", "SIInstrInfo", "::", "isDPP", "(", "*", "MI", ")", "&&", "checkDPPHazards", "(", "MI", ")", ">", "0", ")", "return", "NoopHazard", ";", "if", "(", "isDivFMas", "(", "MI", "->", "getOpcode", "(", ")", ")", "&&", "checkDivFMasHazards", "(", "MI", ")", ">", "0", ")", "return", "NoopHazard", ";", "if", "(", "isRWLane", "(", "MI", "->", "getOpcode", "(", ")", ")", "&&", "checkRWLaneHazards", "(", "MI", ")", ">", "0", ")", "return", "NoopHazard", ";", "if", "(", "isSGetReg", "(", "MI", "->", "getOpcode", "(", ")", ")", "&&", "checkGetRegHazards", "(", "MI", ")", ">", "0", ")", "return", "NoopHazard", ";", "if", "(", "isSSetReg", "(", "MI", "->", "getOpcode", "(", ")", ")", "&&", "checkSetRegHazards", "(", "MI", ")", ">", "0", ")", "return", "NoopHazard", ";", "if", "(", "isRFE", "(", "MI", "->", "getOpcode", "(", ")", ")", "&&", "checkRFEHazards", "(", "MI", ")", ">", "0", ")", "return", "NoopHazard", ";", "if", "(", "(", "TII", ".", "isVINTRP", "(", "*", "MI", ")", "||", "isSMovRel", "(", "MI", "->", "getOpcode", "(", ")", ")", ")", "&&", "checkReadM0Hazards", "(", "MI", ")", ">", "0", ")", "return", "NoopHazard", ";", "if", "(", "checkAnyInstHazards", "(", "MI", ")", ">", "0", ")", "return", "NoopHazard", ";", "return", "NoHazard", ";", "}", ""], "natrual_language": ["getHazardType", "-", "Return", "the", "hazard", "type", "of", "emitting", "this", "node", "."], "TS_V_token": ["AMDGPU", "SI", "0", "SI", "0", "SI", "0", "SI", "0", "0", "0", "0", "0", "0", "0", "0"], "File": "GCNHazardRecognizer29", "Func": "getHazardType", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3674, "Length": 257, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isFunctionSafeToOutlineFrom", "(", "MachineFunction", "&", "MF", ",", "bool", "OutlineFromLinkOnceODRs", ")", "const", "{", "const", "Function", "&", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "!", "F", ".", "hasFnAttribute", "(", "Attribute", "::", "NoRedZone", ")", ")", "return", "false", ";", "if", "(", "!", "OutlineFromLinkOnceODRs", "&&", "F", ".", "hasLinkOnceODRLinkage", "(", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "function", "can", "safely", "be", "outlined", "from", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64InstrInfo128", "Func": "isFunctionSafeToOutlineFrom", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3675, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "string", "AMDGPUMangledLibFunc", "::", "getName", "(", ")", "const", "{", "SmallString", "<", "128", ">", "Buf", ";", "raw_svector_ostream", "OS", "(", "Buf", ")", ";", "writeName", "(", "OS", ")", ";", "return", "OS", ".", "str", "(", ")", ";", "}", ""], "natrual_language": ["Return", "a", "string", "with", "the", "name", "of", "the", "plan", "and", "the", "applicable", "VFs", "and", "UFs", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "128"], "File": "AMDGPULibFunc", "Func": "getName", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3676, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "lwsp_swsp_address_p", "(", "rtx", "x", ",", "machine_mode", "mode", ")", "{", "struct", "mips_address_info", "addr", ";", "return", "(", "mips_classify_address", "(", "&", "addr", ",", "x", ",", "mode", ",", "false", ")", "&&", "addr", ".", "type", "==", "ADDRESS_REG", "&&", "REGNO", "(", "addr", ".", "reg", ")", "==", "STACK_POINTER_REGNUM", "&&", "uw5_operand", "(", "addr", ".", "offset", ",", "mode", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "legitimate", "address", "that", "conforms", "to", "the", "requirements", "for", "a", "microMIPS", "LWSP", "or", "SWSP", "insn", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "lwsp_swsp_address_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3677, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "Mips16InstrInfo", "::", "loadImmediate", "(", "int64_t", "Imm", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "II", ",", "DebugLoc", "DL", ",", "unsigned", "*", "NewImm", ")", "const", "{", "return", "0", ";", "}", ""], "natrual_language": ["Emit", "a", "series", "of", "instructions", "to", "load", "an", "immediate", "."], "TS_V_token": ["Mips", "Mips", "0"], "File": "Mips16InstrInfo21", "Func": "loadImmediate", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3678, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sparc32_initialize_trampoline", "(", "rtx", "m_tramp", ",", "rtx", "fnaddr", ",", "rtx", "cxt", ")", "{", "emit_move_insn", "(", "adjust_address", "(", "m_tramp", ",", "SImode", ",", "0", ")", ",", "expand_binop", "(", "SImode", ",", "ior_optab", ",", "expand_shift", "(", "RSHIFT_EXPR", ",", "SImode", ",", "fnaddr", ",", "10", ",", "0", ",", "1", ")", ",", "GEN_INT", "(", "trunc_int_for_mode", "(", "0x03000000", ",", "SImode", ")", ")", ",", "NULL_RTX", ",", "1", ",", "OPTAB_DIRECT", ")", ")", ";", "emit_move_insn", "(", "adjust_address", "(", "m_tramp", ",", "SImode", ",", "4", ")", ",", "expand_binop", "(", "SImode", ",", "ior_optab", ",", "expand_shift", "(", "RSHIFT_EXPR", ",", "SImode", ",", "cxt", ",", "10", ",", "0", ",", "1", ")", ",", "GEN_INT", "(", "trunc_int_for_mode", "(", "0x05000000", ",", "SImode", ")", ")", ",", "NULL_RTX", ",", "1", ",", "OPTAB_DIRECT", ")", ")", ";", "emit_move_insn", "(", "adjust_address", "(", "m_tramp", ",", "SImode", ",", "8", ")", ",", "expand_binop", "(", "SImode", ",", "ior_optab", ",", "expand_and", "(", "SImode", ",", "fnaddr", ",", "GEN_INT", "(", "0x3ff", ")", ",", "NULL_RTX", ")", ",", "GEN_INT", "(", "trunc_int_for_mode", "(", "0x81c06000", ",", "SImode", ")", ")", ",", "NULL_RTX", ",", "1", ",", "OPTAB_DIRECT", ")", ")", ";", "emit_move_insn", "(", "adjust_address", "(", "m_tramp", ",", "SImode", ",", "12", ")", ",", "expand_binop", "(", "SImode", ",", "ior_optab", ",", "expand_and", "(", "SImode", ",", "cxt", ",", "GEN_INT", "(", "0x3ff", ")", ",", "NULL_RTX", ")", ",", "GEN_INT", "(", "trunc_int_for_mode", "(", "0x8410a000", ",", "SImode", ")", ")", ",", "NULL_RTX", ",", "1", ",", "OPTAB_DIRECT", ")", ")", ";", "emit_insn", "(", "gen_flushsi", "(", "validize_mem", "(", "adjust_address", "(", "m_tramp", ",", "SImode", ",", "0", ")", ")", ")", ")", ";", "if", "(", "sparc_cpu", "!=", "PROCESSOR_ULTRASPARC", "&&", "sparc_cpu", "!=", "PROCESSOR_ULTRASPARC3", "&&", "sparc_cpu", "!=", "PROCESSOR_NIAGARA", "&&", "sparc_cpu", "!=", "PROCESSOR_NIAGARA2", "&&", "sparc_cpu", "!=", "PROCESSOR_NIAGARA3", "&&", "sparc_cpu", "!=", "PROCESSOR_NIAGARA4", "&&", "sparc_cpu", "!=", "PROCESSOR_NIAGARA7", ")", "emit_insn", "(", "gen_flushsi", "(", "validize_mem", "(", "adjust_address", "(", "m_tramp", ",", "SImode", ",", "8", ")", ")", ")", ")", ";", "emit_library_call", "(", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "\"__enable_execute_stack\"", ")", ",", "LCT_NORMAL", ",", "VOIDmode", ",", "1", ",", "XEXP", "(", "m_tramp", ",", "0", ")", ",", "Pmode", ")", ";", "}", ""], "natrual_language": ["Emit", "RTL", "insns", "to", "initialize", "the", "variable", "parts", "of", "a", "trampoline", ".", "FNADDR", "is", "an", "RTX", "for", "the", "address", "of", "the", "function", "'s", "pure", "code", ".", "CXT", "is", "an", "RTX", "for", "the", "static", "chain", "value", "for", "the", "function", ".", "This", "takes", "16", "insns", ":", "2", "shifts", "&", "2", "ands", "(", "to", "split", "up", "addresses", ")", ",", "4", "sethi", "(", "to", "load", "in", "opcodes", ")", ",", "4", "iors", "(", "to", "merge", "address", "and", "opcodes", ")", ",", "and", "4", "writes", "(", "to", "store", "insns", ")", ".", "This", "is", "a", "bit", "excessive", ".", "Perhaps", "a", "different", "mechanism", "would", "be", "better", "here", ".", "Emit", "enough", "FLUSH", "insns", "to", "synchronize", "the", "data", "and", "instruction", "caches", "."], "TS_V_token": ["sparc", "0", "10", "0", "1", "0x03000000", "1", "4", "10", "0", "1", "0x05000000", "1", "8", "0x3ff", "0x81c06000", "1", "12", "0x3ff", "0x8410a000", "1", "0", "8", "\"__enable_execute_stack\"", "1", "0"], "File": "sparc6", "Func": "sparc32_initialize_trampoline", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3679, "Length": 304, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CSKYAsmBackend", "::", "relaxInstruction", "(", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "MCInst", "Res", ";", "switch", "(", "Inst", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "LLVM_DEBUG", "(", "Inst", ".", "dump", "(", ")", ")", ";", "llvm_unreachable", "(", "\"Opcode not expected!\"", ")", ";", "case", "CSKY", "::", "LRW16", ":", "Res", ".", "setOpcode", "(", "CSKY", "::", "LRW32", ")", ";", "Res", ".", "addOperand", "(", "Inst", ".", "getOperand", "(", "0", ")", ")", ";", "Res", ".", "addOperand", "(", "Inst", ".", "getOperand", "(", "1", ")", ")", ";", "break", ";", "case", "CSKY", "::", "BR16", ":", "Res", ".", "setOpcode", "(", "CSKY", "::", "BR32", ")", ";", "Res", ".", "addOperand", "(", "Inst", ".", "getOperand", "(", "0", ")", ")", ";", "break", ";", "case", "CSKY", "::", "JBSR32", ":", "Res", ".", "setOpcode", "(", "CSKY", "::", "JSRI32", ")", ";", "Res", ".", "addOperand", "(", "Inst", ".", "getOperand", "(", "1", ")", ")", ";", "break", ";", "case", "CSKY", "::", "JBR32", ":", "Res", ".", "setOpcode", "(", "CSKY", "::", "JMPI32", ")", ";", "Res", ".", "addOperand", "(", "Inst", ".", "getOperand", "(", "1", ")", ")", ";", "break", ";", "case", "CSKY", "::", "JBT32", ":", "case", "CSKY", "::", "JBF32", ":", "Res", ".", "setOpcode", "(", "Inst", ".", "getOpcode", "(", ")", "==", "CSKY", "::", "JBT32", "?", "CSKY", "::", "JBT_E", ":", "CSKY", "::", "JBF_E", ")", ";", "Res", ".", "addOperand", "(", "Inst", ".", "getOperand", "(", "0", ")", ")", ";", "Res", ".", "addOperand", "(", "Inst", ".", "getOperand", "(", "1", ")", ")", ";", "Res", ".", "addOperand", "(", "Inst", ".", "getOperand", "(", "2", ")", ")", ";", "break", ";", "case", "CSKY", "::", "JBR16", ":", "Res", ".", "setOpcode", "(", "CSKY", "::", "JBR32", ")", ";", "Res", ".", "addOperand", "(", "Inst", ".", "getOperand", "(", "0", ")", ")", ";", "Res", ".", "addOperand", "(", "Inst", ".", "getOperand", "(", "1", ")", ")", ";", "break", ";", "case", "CSKY", "::", "JBT16", ":", "case", "CSKY", "::", "JBF16", ":", "unsigned", "opcode", ";", "if", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "CSKY", "::", "HasE2", "]", ")", "opcode", "=", "Inst", ".", "getOpcode", "(", ")", "==", "CSKY", "::", "JBT16", "?", "CSKY", "::", "JBT32", ":", "CSKY", "::", "JBF32", ";", "else", "opcode", "=", "Inst", ".", "getOpcode", "(", ")", "==", "CSKY", "::", "JBT16", "?", "CSKY", "::", "JBT_E", ":", "CSKY", "::", "JBF_E", ";", "Res", ".", "setOpcode", "(", "opcode", ")", ";", "Res", ".", "addOperand", "(", "Inst", ".", "getOperand", "(", "0", ")", ")", ";", "Res", ".", "addOperand", "(", "Inst", ".", "getOperand", "(", "1", ")", ")", ";", "Res", ".", "addOperand", "(", "Inst", ".", "getOperand", "(", "2", ")", ")", ";", "break", ";", "}", "Inst", "=", "std", "::", "move", "(", "Res", ")", ";", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["CSKY", "CSKY", "\"Opcode not expected!\"", "CSKY::LRW16", "CSKY::LRW32", "0", "1", "CSKY::BR16", "CSKY::BR32", "0", "CSKY::JBSR32", "CSKY::JSRI32", "1", "CSKY::JBR32", "CSKY::JMPI32", "1", "CSKY::JBT32", "CSKY::JBF32", "CSKY::JBT32", "CSKY::JBT_E", "CSKY::JBF_E", "0", "1", "2", "CSKY::JBR16", "CSKY::JBR32", "0", "1", "CSKY::JBT16", "CSKY::JBF16", "CSKY::HasE2", "CSKY::JBT16", "CSKY::JBT32", "CSKY::JBF32", "CSKY::JBT16", "CSKY::JBT_E", "CSKY::JBF_E", "0", "1", "2"], "File": "CSKYAsmBackend4", "Func": "relaxInstruction", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3680, "Length": 402, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "noncall_uses_reg", "(", "rtx", "reg", ",", "rtx_insn", "*", "insn", ",", "rtx", "*", "set", ")", "{", "rtx", "pattern", ",", "reg2", ";", "*", "set", "=", "NULL_RTX", ";", "reg2", "=", "sfunc_uses_reg", "(", "insn", ")", ";", "if", "(", "reg2", "&&", "REGNO", "(", "reg2", ")", "==", "REGNO", "(", "reg", ")", ")", "{", "pattern", "=", "single_set", "(", "insn", ")", ";", "if", "(", "pattern", "&&", "REG_P", "(", "SET_DEST", "(", "pattern", ")", ")", "&&", "REGNO", "(", "reg", ")", "==", "REGNO", "(", "SET_DEST", "(", "pattern", ")", ")", ")", "*", "set", "=", "pattern", ";", "return", "false", ";", "}", "if", "(", "!", "CALL_P", "(", "insn", ")", ")", "{", "pattern", "=", "single_set", "(", "insn", ")", ";", "if", "(", "pattern", "&&", "REG_P", "(", "SET_DEST", "(", "pattern", ")", ")", "&&", "REGNO", "(", "reg", ")", "==", "REGNO", "(", "SET_DEST", "(", "pattern", ")", ")", ")", "{", "rtx", "par", ",", "part", ";", "int", "i", ";", "*", "set", "=", "pattern", ";", "par", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "par", ")", "==", "PARALLEL", ")", "for", "(", "i", "=", "XVECLEN", "(", "par", ",", "0", ")", "-", "1", ";", "i", ">=", "0", ";", "i", "--", ")", "{", "part", "=", "XVECEXP", "(", "par", ",", "0", ",", "i", ")", ";", "if", "(", "GET_CODE", "(", "part", ")", "!=", "SET", "&&", "reg_mentioned_p", "(", "reg", ",", "part", ")", ")", "return", "true", ";", "}", "return", "reg_mentioned_p", "(", "reg", ",", "SET_SRC", "(", "pattern", ")", ")", ";", "}", "return", "true", ";", "}", "pattern", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "pattern", ")", "==", "PARALLEL", ")", "{", "int", "i", ";", "for", "(", "i", "=", "XVECLEN", "(", "pattern", ",", "0", ")", "-", "1", ";", "i", ">=", "1", ";", "i", "--", ")", "if", "(", "reg_mentioned_p", "(", "reg", ",", "XVECEXP", "(", "pattern", ",", "0", ",", "i", ")", ")", ")", "return", "true", ";", "pattern", "=", "XVECEXP", "(", "pattern", ",", "0", ",", "0", ")", ";", "}", "if", "(", "GET_CODE", "(", "pattern", ")", "==", "SET", ")", "{", "if", "(", "reg_mentioned_p", "(", "reg", ",", "SET_DEST", "(", "pattern", ")", ")", ")", "{", "if", "(", "!", "REG_P", "(", "SET_DEST", "(", "pattern", ")", ")", "||", "REGNO", "(", "reg", ")", "!=", "REGNO", "(", "SET_DEST", "(", "pattern", ")", ")", ")", "return", "true", ";", "*", "set", "=", "pattern", ";", "}", "pattern", "=", "SET_SRC", "(", "pattern", ")", ";", "}", "if", "(", "GET_CODE", "(", "pattern", ")", "!=", "CALL", "||", "!", "MEM_P", "(", "XEXP", "(", "pattern", ",", "0", ")", ")", "||", "!", "rtx_equal_p", "(", "reg", ",", "XEXP", "(", "XEXP", "(", "pattern", ",", "0", ")", ",", "0", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["See", "if", "the", "only", "way", "in", "which", "INSN", "uses", "REG", "is", "by", "calling", "it", ",", "or", "by", "setting", "it", "while", "calling", "it", ".", "Set", "*", "SET", "to", "a", "SET", "rtx", "if", "the", "register", "is", "set", "by", "INSN", "."], "TS_V_token": ["sh", "0", "1", "0", "0", "0", "1", "1", "0", "0", "0", "0", "0", "0"], "File": "sh4", "Func": "noncall_uses_reg", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3681, "Length": 408, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "XCoreRegisterInfo", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "NoFramePointerElim", "||", "MF", ".", "getFrameInfo", "(", ")", "->", "hasVarSizedObjects", "(", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["XCore", "XCore"], "File": "XCoreRegisterInfo11", "Func": "hasFP", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3682, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "enableMachineScheduler", "(", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Enable", "the", "MachineScheduler", "pass", "for", "all", "X86", "subtargets", "."], "TS_V_token": ["RISCV"], "File": "RISCVSubtarget (2)", "Func": "enableMachineScheduler", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3683, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_live_on_entry", "(", "bitmap", "regs", ")", "{", "if", "(", "flag_split_stack", ")", "bitmap_set_bit", "(", "regs", ",", "12", ")", ";", "}", ""], "natrual_language": ["We", "may", "have", "to", "tell", "the", "dataflow", "pass", "that", "the", "split", "stack", "prologue", "is", "initializing", "a", "register", "."], "TS_V_token": ["powerpcspe", "12"], "File": "powerpcspe", "Func": "rs6000_live_on_entry", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3684, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "ARMRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "ARM", "::", "SP", ")", ";", "Reserved", ".", "set", "(", "ARM", "::", "PC", ")", ";", "if", "(", "STI", ".", "isTargetDarwin", "(", ")", "||", "hasFP", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "FramePtr", ")", ";", "if", "(", "STI", ".", "isR9Reserved", "(", ")", ")", "Reserved", ".", "set", "(", "ARM", "::", "R9", ")", ";", "return", "Reserved", ";", "}", ""], "natrual_language": ["getReservedRegs", "-", "Returns", "a", "bitset", "indexed", "by", "physical", "register", "number", "indicating", "if", "a", "register", "is", "a", "special", "register", "that", "has", "particular", "uses", "and", "should", "be", "considered", "unavailable", "at", "all", "times", ",", "e.g", "."], "TS_V_token": ["ARM", "ARM", "ARM::SP", "ARM::PC", "ARM::R9"], "File": "ARMRegisterInfo13", "Func": "getReservedRegs", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3685, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDNode", "*", "PPCDAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "if", "(", "!", "GlobalBaseReg", ")", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "Subtarget", "->", "getInstrInfo", "(", ")", ";", "MachineBasicBlock", "&", "FirstMBB", "=", "MF", "->", "front", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "FirstMBB", ".", "begin", "(", ")", ";", "const", "Module", "*", "M", "=", "MF", "->", "getFunction", "(", ")", ".", "getParent", "(", ")", ";", "DebugLoc", "dl", ";", "if", "(", "PPCLowering", "->", "getPointerTy", "(", "CurDAG", "->", "getDataLayout", "(", ")", ")", "==", "MVT", "::", "i32", ")", "{", "if", "(", "Subtarget", "->", "isTargetELF", "(", ")", ")", "{", "GlobalBaseReg", "=", "PPC", "::", "R30", ";", "if", "(", "!", "Subtarget", "->", "isSecurePlt", "(", ")", "&&", "M", "->", "getPICLevel", "(", ")", "==", "PICLevel", "::", "SmallPIC", ")", "{", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MoveGOTtoLR", ")", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MFLR", ")", ",", "GlobalBaseReg", ")", ";", "MF", "->", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", "->", "setUsesPICBase", "(", "true", ")", ";", "}", "else", "{", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MovePCtoLR", ")", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MFLR", ")", ",", "GlobalBaseReg", ")", ";", "Register", "TempReg", "=", "RegInfo", "->", "createVirtualRegister", "(", "&", "PPC", "::", "GPRCRegClass", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "UpdateGBR", ")", ",", "GlobalBaseReg", ")", ".", "addReg", "(", "TempReg", ",", "RegState", "::", "Define", ")", ".", "addReg", "(", "GlobalBaseReg", ")", ";", "MF", "->", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", "->", "setUsesPICBase", "(", "true", ")", ";", "}", "}", "else", "{", "GlobalBaseReg", "=", "RegInfo", "->", "createVirtualRegister", "(", "&", "PPC", "::", "GPRC_and_GPRC_NOR0RegClass", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MovePCtoLR", ")", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MFLR", ")", ",", "GlobalBaseReg", ")", ";", "}", "}", "else", "{", "MF", "->", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", "->", "setShrinkWrapDisabled", "(", "true", ")", ";", "GlobalBaseReg", "=", "RegInfo", "->", "createVirtualRegister", "(", "&", "PPC", "::", "G8RC_and_G8RC_NOX0RegClass", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MovePCtoLR8", ")", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "PPC", "::", "MFLR8", ")", ",", "GlobalBaseReg", ")", ";", "}", "}", "return", "CurDAG", "->", "getRegister", "(", "GlobalBaseReg", ",", "PPCLowering", "->", "getPointerTy", "(", "CurDAG", "->", "getDataLayout", "(", ")", ")", ")", ".", "getNode", "(", ")", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "MVT::i32", "PPC::R30", "PPC::MoveGOTtoLR", "PPC::MFLR", "PPC", "PPC::MovePCtoLR", "PPC::MFLR", "PPC::GPRCRegClass", "PPC::UpdateGBR", "PPC", "PPC::GPRC_and_GPRC_NOR0RegClass", "PPC::MovePCtoLR", "PPC::MFLR", "PPC", "PPC::G8RC_and_G8RC_NOX0RegClass", "PPC::MovePCtoLR8", "PPC::MFLR8", "PPC"], "File": "PPCISelDAGToDAG1", "Func": "getGlobalBaseReg", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3686, "Length": 420, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isProfitableToIfCvt", "(", "MachineBasicBlock", "&", "TMBB", ",", "unsigned", "NumTCycles", ",", "unsigned", "ExtraTCycles", ",", "MachineBasicBlock", "&", "FMBB", ",", "unsigned", "NumFCycles", ",", "unsigned", "ExtraFCycles", ",", "BranchProbability", "Probability", ")", "const", "override", "{", "const", "MCInstrDesc", "&", "TMCID", "=", "std", "::", "prev", "(", "TMBB", ".", "end", "(", ")", ")", "->", "getDesc", "(", ")", ";", "if", "(", "TMCID", ".", "isReturn", "(", ")", "||", "TMCID", ".", "isCall", "(", ")", ")", "return", "false", ";", "const", "MCInstrDesc", "&", "FMCID", "=", "std", "::", "prev", "(", "FMBB", ".", "end", "(", ")", ")", "->", "getDesc", "(", ")", ";", "if", "(", "FMCID", ".", "isReturn", "(", ")", "||", "FMCID", ".", "isCall", "(", ")", ")", "return", "false", ";", "if", "(", "(", "NumTCycles", "+", "NumFCycles", ")", ">", "16", ")", "return", "false", ";", "return", "!", "mayStall", "(", "TMBB", ")", "&&", "!", "mayStall", "(", "FMBB", ")", ";", "}", ""], "natrual_language": ["Second", "variant", "of", "isProfitableToIfCvt", "."], "TS_V_token": ["Patmos", "16"], "File": "PatmosInstrInfo1", "Func": "isProfitableToIfCvt", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 3687, "Length": 130, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "h8300_shift_needs_scratch_p", "(", "int", "count", ",", "machine_mode", "mode", ")", "{", "enum", "h8_cpu", "cpu", ";", "int", "a", ",", "lr", ",", "ar", ";", "if", "(", "GET_MODE_BITSIZE", "(", "mode", ")", "<=", "count", ")", "return", "1", ";", "if", "(", "TARGET_H8300", ")", "cpu", "=", "H8_300", ";", "else", "if", "(", "TARGET_H8300H", ")", "cpu", "=", "H8_300H", ";", "else", "cpu", "=", "H8_S", ";", "switch", "(", "mode", ")", "{", "case", "QImode", ":", "a", "=", "shift_alg_qi", "[", "cpu", "]", "[", "SHIFT_ASHIFT", "]", "[", "count", "]", ";", "lr", "=", "shift_alg_qi", "[", "cpu", "]", "[", "SHIFT_LSHIFTRT", "]", "[", "count", "]", ";", "ar", "=", "shift_alg_qi", "[", "cpu", "]", "[", "SHIFT_ASHIFTRT", "]", "[", "count", "]", ";", "break", ";", "case", "HImode", ":", "a", "=", "shift_alg_hi", "[", "cpu", "]", "[", "SHIFT_ASHIFT", "]", "[", "count", "]", ";", "lr", "=", "shift_alg_hi", "[", "cpu", "]", "[", "SHIFT_LSHIFTRT", "]", "[", "count", "]", ";", "ar", "=", "shift_alg_hi", "[", "cpu", "]", "[", "SHIFT_ASHIFTRT", "]", "[", "count", "]", ";", "break", ";", "case", "SImode", ":", "a", "=", "shift_alg_si", "[", "cpu", "]", "[", "SHIFT_ASHIFT", "]", "[", "count", "]", ";", "lr", "=", "shift_alg_si", "[", "cpu", "]", "[", "SHIFT_LSHIFTRT", "]", "[", "count", "]", ";", "ar", "=", "shift_alg_si", "[", "cpu", "]", "[", "SHIFT_ASHIFTRT", "]", "[", "count", "]", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "(", "a", "==", "SHIFT_LOOP", "||", "lr", "==", "SHIFT_LOOP", "||", "ar", "==", "SHIFT_LOOP", "||", "(", "TARGET_H8300H", "&&", "mode", "==", "SImode", "&&", "count", "==", "8", ")", ")", ";", "}", ""], "natrual_language": ["Given", "COUNT", "and", "MODE", "of", "a", "shift", ",", "return", "1", "if", "a", "scratch", "reg", "may", "be", "needed", "for", "some", "shift", "with", "COUNT", "and", "MODE", ".", "Return", "0", "otherwise", "."], "TS_V_token": ["h8300", "1", "8"], "File": "h83004", "Func": "h8300_shift_needs_scratch_p", "Target": "h8300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3688, "Length": 227, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64TargetLowering", "::", "computeKnownBitsForTargetNode", "(", "const", "SDValue", "Op", ",", "APInt", "&", "KnownZero", ",", "APInt", "&", "KnownOne", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "AArch64ISD", "::", "CSEL", ":", "{", "APInt", "KnownZero2", ",", "KnownOne2", ";", "DAG", ".", "computeKnownBits", "(", "Op", "->", "getOperand", "(", "0", ")", ",", "KnownZero", ",", "KnownOne", ",", "Depth", "+", "1", ")", ";", "DAG", ".", "computeKnownBits", "(", "Op", "->", "getOperand", "(", "1", ")", ",", "KnownZero2", ",", "KnownOne2", ",", "Depth", "+", "1", ")", ";", "KnownZero", "&=", "KnownZero2", ";", "KnownOne", "&=", "KnownOne2", ";", "break", ";", "}", "case", "ISD", "::", "INTRINSIC_W_CHAIN", ":", "{", "ConstantSDNode", "*", "CN", "=", "cast", "<", "ConstantSDNode", ">", "(", "Op", "->", "getOperand", "(", "1", ")", ")", ";", "Intrinsic", "::", "ID", "IntID", "=", "static_cast", "<", "Intrinsic", "::", "ID", ">", "(", "CN", "->", "getZExtValue", "(", ")", ")", ";", "switch", "(", "IntID", ")", "{", "default", ":", "return", ";", "case", "Intrinsic", "::", "aarch64_ldaxr", ":", "case", "Intrinsic", "::", "aarch64_ldxr", ":", "{", "unsigned", "BitWidth", "=", "KnownOne", ".", "getBitWidth", "(", ")", ";", "EVT", "VT", "=", "cast", "<", "MemIntrinsicSDNode", ">", "(", "Op", ")", "->", "getMemoryVT", "(", ")", ";", "unsigned", "MemBits", "=", "VT", ".", "getScalarType", "(", ")", ".", "getSizeInBits", "(", ")", ";", "KnownZero", "|=", "APInt", "::", "getHighBitsSet", "(", "BitWidth", ",", "BitWidth", "-", "MemBits", ")", ";", "return", ";", "}", "}", "break", ";", "}", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "case", "ISD", "::", "INTRINSIC_VOID", ":", "{", "unsigned", "IntNo", "=", "cast", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "0", ")", ")", "->", "getZExtValue", "(", ")", ";", "switch", "(", "IntNo", ")", "{", "default", ":", "break", ";", "case", "Intrinsic", "::", "aarch64_neon_umaxv", ":", "case", "Intrinsic", "::", "aarch64_neon_uminv", ":", "{", "MVT", "VT", "=", "Op", ".", "getOperand", "(", "1", ")", ".", "getValueType", "(", ")", ".", "getSimpleVT", "(", ")", ";", "unsigned", "BitWidth", "=", "KnownZero", ".", "getBitWidth", "(", ")", ";", "if", "(", "VT", "==", "MVT", "::", "v8i8", "||", "VT", "==", "MVT", "::", "v16i8", ")", "{", "assert", "(", "BitWidth", ">=", "8", "&&", "\"Unexpected width!\"", ")", ";", "APInt", "Mask", "=", "APInt", "::", "getHighBitsSet", "(", "BitWidth", ",", "BitWidth", "-", "8", ")", ";", "KnownZero", "|=", "Mask", ";", "}", "else", "if", "(", "VT", "==", "MVT", "::", "v4i16", "||", "VT", "==", "MVT", "::", "v8i16", ")", "{", "assert", "(", "BitWidth", ">=", "16", "&&", "\"Unexpected width!\"", ")", ";", "APInt", "Mask", "=", "APInt", "::", "getHighBitsSet", "(", "BitWidth", ",", "BitWidth", "-", "16", ")", ";", "KnownZero", "|=", "Mask", ";", "}", "break", ";", "}", "break", ";", "}", "}", "}", "}", ""], "natrual_language": ["Determine", "which", "of", "the", "bits", "specified", "in", "Mask", "are", "known", "to", "be", "either", "zero", "or", "one", "and", "return", "them", "in", "the", "KnownZero/KnownOne", "bitsets", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64ISD::CSEL", "0", "1", "1", "1", "ISD::INTRINSIC_W_CHAIN", "1", "Intrinsic::ID", "Intrinsic::ID", "Intrinsic::aarch64_ldaxr", "Intrinsic::aarch64_ldxr", "ISD::INTRINSIC_WO_CHAIN", "ISD::INTRINSIC_VOID", "0", "Intrinsic::aarch64_neon_umaxv", "Intrinsic::aarch64_neon_uminv", "1", "MVT::v8i8", "MVT::v16i8", "8", "\"Unexpected width!\"", "8", "MVT::v4i16", "MVT::v8i16", "16", "\"Unexpected width!\"", "16"], "File": "AArch64ISelLowering (2)", "Func": "computeKnownBitsForTargetNode", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3689, "Length": 395, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TTIImpl", "::", "isLegalMaskedLoad", "(", "Type", "*", "DataTy", ",", "MaybeAlign", "Alignment", ")", "{", "if", "(", "!", "ST", "->", "hasAVX", "(", ")", ")", "return", "false", ";", "if", "(", "isa", "<", "VectorType", ">", "(", "DataTy", ")", "&&", "DataTy", "->", "getVectorNumElements", "(", ")", "==", "1", ")", "return", "false", ";", "Type", "*", "ScalarTy", "=", "DataTy", "->", "getScalarType", "(", ")", ";", "if", "(", "ScalarTy", "->", "isPointerTy", "(", ")", ")", "return", "true", ";", "if", "(", "ScalarTy", "->", "isFloatTy", "(", ")", "||", "ScalarTy", "->", "isDoubleTy", "(", ")", ")", "return", "true", ";", "if", "(", "!", "ScalarTy", "->", "isIntegerTy", "(", ")", ")", "return", "false", ";", "unsigned", "IntWidth", "=", "ScalarTy", "->", "getIntegerBitWidth", "(", ")", ";", "return", "IntWidth", "==", "32", "||", "IntWidth", "==", "64", "||", "(", "(", "IntWidth", "==", "8", "||", "IntWidth", "==", "16", ")", "&&", "ST", "->", "hasBWI", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "load", "."], "TS_V_token": ["X86", "X86", "1", "32", "64", "8", "16"], "File": "X86TargetTransformInfo100", "Func": "isLegalMaskedLoad", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3690, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "next_insn_to_bundle", "(", "rtx_insn", "*", "r", ",", "rtx_insn", "*", "end", ")", "{", "for", "(", ";", "r", "!=", "end", ";", "r", "=", "NEXT_INSN", "(", "r", ")", ")", "{", "if", "(", "NONDEBUG_INSN_P", "(", "r", ")", "&&", "GET_CODE", "(", "PATTERN", "(", "r", ")", ")", "!=", "USE", "&&", "GET_CODE", "(", "PATTERN", "(", "r", ")", ")", "!=", "CLOBBER", ")", "return", "r", ";", "}", "return", "NULL", ";", "}", ""], "natrual_language": ["Skip", "over", "irrelevant", "NOTEs", "and", "such", "and", "look", "for", "the", "next", "insn", "we", "would", "consider", "bundling", "."], "TS_V_token": ["tilepro"], "File": "tilepro", "Func": "next_insn_to_bundle", "Target": "tilepro", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 3691, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "TargetRegisterClass", "*", "VideoCore4RegisterInfo", "::", "getPointerRegClass", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Kind", ")", "const", "{", "assert", "(", "0", "&&", "\"Unimplemented\"", ")", ";", "}", ""], "natrual_language": ["getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "."], "TS_V_token": ["VideoCore4", "VideoCore4", "0", "\"Unimplemented\""], "File": "VideoCore4RegisterInfo", "Func": "getPointerRegClass", "Target": "VideoCore4", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3692, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "unsigned", ">", "AMDGPUCommonSubtarget", "::", "getWavesPerEU", "(", "const", "Function", "&", "F", ")", "const", "{", "std", "::", "pair", "<", "unsigned", ",", "unsigned", ">", "Default", "(", "1", ",", "getMaxWavesPerEU", "(", ")", ")", ";", "std", "::", "pair", "<", "unsigned", ",", "unsigned", ">", "FlatWorkGroupSizes", "=", "getFlatWorkGroupSizes", "(", "F", ")", ";", "unsigned", "MinImpliedByFlatWorkGroupSize", "=", "getMaxWavesPerEU", "(", "FlatWorkGroupSizes", ".", "second", ")", ";", "bool", "RequestedFlatWorkGroupSize", "=", "false", ";", "if", "(", "F", ".", "hasFnAttribute", "(", "\"amdgpu-max-work-group-size\"", ")", "||", "F", ".", "hasFnAttribute", "(", "\"amdgpu-flat-work-group-size\"", ")", ")", "{", "Default", ".", "first", "=", "MinImpliedByFlatWorkGroupSize", ";", "RequestedFlatWorkGroupSize", "=", "true", ";", "}", "std", "::", "pair", "<", "unsigned", ",", "unsigned", ">", "Requested", "=", "AMDGPU", "::", "getIntegerPairAttribute", "(", "F", ",", "\"amdgpu-waves-per-eu\"", ",", "Default", ",", "true", ")", ";", "if", "(", "Requested", ".", "second", "&&", "Requested", ".", "first", ">", "Requested", ".", "second", ")", "return", "Default", ";", "if", "(", "Requested", ".", "first", "<", "getMinWavesPerEU", "(", ")", "||", "Requested", ".", "first", ">", "getMaxWavesPerEU", "(", ")", ")", "return", "Default", ";", "if", "(", "Requested", ".", "second", ">", "getMaxWavesPerEU", "(", ")", ")", "return", "Default", ";", "if", "(", "RequestedFlatWorkGroupSize", "&&", "Requested", ".", "first", "<", "MinImpliedByFlatWorkGroupSize", ")", "return", "Default", ";", "return", "Requested", ";", "}", ""], "natrual_language": ["Overload", "which", "uses", "the", "specified", "values", "for", "the", "flat", "work", "group", "sizes", ",", "rather", "than", "querying", "the", "function", "itself", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "1", "\"amdgpu-max-work-group-size\"", "\"amdgpu-flat-work-group-size\"", "AMDGPU::getIntegerPairAttribute", "\"amdgpu-waves-per-eu\""], "File": "AMDGPUSubtarget76", "Func": "getWavesPerEU", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3693, "Length": 185, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "changeSection", "(", "const", "MCSection", "*", "CurSection", ",", "MCSection", "*", "Section", ",", "const", "MCExpr", "*", "SubSection", ",", "raw_ostream", "&", "OS", ")", "override", "{", "}", ""], "natrual_language": ["Update", "streamer", "for", "a", "new", "active", "section", "."], "TS_V_token": ["JVM"], "File": "JVMTargetStreamer", "Func": "changeSection", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3694, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_microcoded_insn", "(", "rtx", "insn", ")", "{", "if", "(", "!", "insn", "||", "!", "INSN_P", "(", "insn", ")", "||", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "USE", "||", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "CLOBBER", ")", "return", "false", ";", "if", "(", "rs6000_sched_groups", ")", "{", "enum", "attr_type", "type", "=", "get_attr_type", "(", "insn", ")", ";", "if", "(", "type", "==", "TYPE_LOAD_EXT_U", "||", "type", "==", "TYPE_LOAD_EXT_UX", "||", "type", "==", "TYPE_LOAD_UX", "||", "type", "==", "TYPE_STORE_UX", "||", "type", "==", "TYPE_MFCR", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["The", "function", "returns", "a", "true", "if", "INSN", "is", "microcoded", ".", "Return", "false", "otherwise", "."], "TS_V_token": ["rs6000"], "File": "rs60003", "Func": "is_microcoded_insn", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3695, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MSP430FrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "MutableArrayRef", "<", "CalleeSavedInfo", ">", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "DebugLoc", "DL", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "if", "(", "MF", ".", "getSubtarget", "<", "MSP430Subtarget", ">", "(", ")", ".", "hasMSP430X", "(", ")", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "MSP430", "::", "POPM16r", ")", ")", ".", "addImm", "(", "CSI", ".", "size", "(", ")", ")", ".", "addReg", "(", "CSI", "[", "CSI", ".", "size", "(", ")", "-", "1", "]", ".", "getReg", "(", ")", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameDestroy", ")", ";", "else", "{", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "CSI", ".", "size", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "MSP430", "::", "POP16r", ")", ",", "CSI", "[", "I", "]", ".", "getReg", "(", ")", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameDestroy", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["restoreCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "restore", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "load", "instructions", "via", "loadRegToStackSlot", "(", ")", "."], "TS_V_token": ["MSP430", "MSP430", "MSP430", "MSP430", "MSP430::POPM16r", "1", "0", "MSP430::POP16r"], "File": "MSP430FrameLowering31", "Func": "restoreCalleeSavedRegisters", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3696, "Length": 216, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "M88kInstructionSelector", "::", "select", "(", "MachineInstr", "&", "I", ")", "{", "assert", "(", "I", ".", "getParent", "(", ")", "&&", "\"Instruction should be in a basic block!\"", ")", ";", "assert", "(", "I", ".", "getParent", "(", ")", "->", "getParent", "(", ")", "&&", "\"Instruction should be in a function!\"", ")", ";", "auto", "&", "MBB", "=", "*", "I", ".", "getParent", "(", ")", ";", "auto", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "auto", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "if", "(", "!", "isPreISelGenericOpcode", "(", "I", ".", "getOpcode", "(", ")", ")", ")", "{", "if", "(", "I", ".", "isCopy", "(", ")", ")", "return", "selectCopy", "(", "I", ",", "TII", ",", "MRI", ",", "TRI", ",", "RBI", ")", ";", "return", "true", ";", "}", "if", "(", "earlySelect", "(", "I", ")", ")", "return", "true", ";", "if", "(", "selectImpl", "(", "I", ",", "*", "CoverageInfo", ")", ")", "return", "true", ";", "switch", "(", "I", ".", "getOpcode", "(", ")", ")", "{", "case", "TargetOpcode", "::", "G_GLOBAL_VALUE", ":", "return", "selectGlobalValue", "(", "I", ",", "MBB", ",", "MRI", ")", ";", "case", "TargetOpcode", "::", "G_UBFX", ":", "case", "TargetOpcode", "::", "G_SBFX", ":", "return", "selectUbfx", "(", "I", ",", "MBB", ",", "MRI", ")", ";", "case", "TargetOpcode", "::", "G_BRCOND", ":", "return", "selectCondBr", "(", "I", ",", "MBB", ",", "MRI", ")", ";", "case", "TargetOpcode", "::", "G_SEXTLOAD", ":", "case", "TargetOpcode", "::", "G_ZEXTLOAD", ":", "case", "TargetOpcode", "::", "G_LOAD", ":", "case", "TargetOpcode", "::", "G_STORE", ":", "return", "selectLoadStore", "(", "I", ",", "MBB", ",", "MRI", ")", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Select", "the", "(", "possibly", "generic", ")", "instruction", "I", "to", "only", "use", "target-specific", "opcodes", "."], "TS_V_token": ["M88k", "M88k", "\"Instruction should be in a basic block!\"", "\"Instruction should be in a function!\""], "File": "M88kInstructionSelector", "Func": "select", "Target": "M88k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3697, "Length": 226, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "non_hard_reg_operand", "(", "rtx", "op", ",", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "return", "!", "(", "GET_CODE", "(", "op", ")", "==", "REG", "&&", "REGNO", "(", "op", ")", "<", "FIRST_PSEUDO_REGISTER", ")", ";", "}", ""], "natrual_language": ["Return", "1", "if", "this", "operand", "is", "anything", "other", "than", "a", "hard", "register", "."], "TS_V_token": ["pa"], "File": "pa3", "Func": "non_hard_reg_operand", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3698, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "HexagonTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "(", "HexagonISD", "::", "NodeType", ")", "Opcode", ")", "{", "case", "HexagonISD", "::", "ALLOCA", ":", "return", "\"HexagonISD::ALLOCA\"", ";", "case", "HexagonISD", "::", "ARGEXTEND", ":", "return", "\"HexagonISD::ARGEXTEND\"", ";", "case", "HexagonISD", "::", "AT_GOT", ":", "return", "\"HexagonISD::AT_GOT\"", ";", "case", "HexagonISD", "::", "AT_PCREL", ":", "return", "\"HexagonISD::AT_PCREL\"", ";", "case", "HexagonISD", "::", "BARRIER", ":", "return", "\"HexagonISD::BARRIER\"", ";", "case", "HexagonISD", "::", "CALLR", ":", "return", "\"HexagonISD::CALLR\"", ";", "case", "HexagonISD", "::", "CALLv3nr", ":", "return", "\"HexagonISD::CALLv3nr\"", ";", "case", "HexagonISD", "::", "CALLv3", ":", "return", "\"HexagonISD::CALLv3\"", ";", "case", "HexagonISD", "::", "COMBINE", ":", "return", "\"HexagonISD::COMBINE\"", ";", "case", "HexagonISD", "::", "CONST32_GP", ":", "return", "\"HexagonISD::CONST32_GP\"", ";", "case", "HexagonISD", "::", "CONST32", ":", "return", "\"HexagonISD::CONST32\"", ";", "case", "HexagonISD", "::", "CP", ":", "return", "\"HexagonISD::CP\"", ";", "case", "HexagonISD", "::", "DCFETCH", ":", "return", "\"HexagonISD::DCFETCH\"", ";", "case", "HexagonISD", "::", "EH_RETURN", ":", "return", "\"HexagonISD::EH_RETURN\"", ";", "case", "HexagonISD", "::", "EXTRACTU", ":", "return", "\"HexagonISD::EXTRACTU\"", ";", "case", "HexagonISD", "::", "EXTRACTURP", ":", "return", "\"HexagonISD::EXTRACTURP\"", ";", "case", "HexagonISD", "::", "FCONST32", ":", "return", "\"HexagonISD::FCONST32\"", ";", "case", "HexagonISD", "::", "INSERT", ":", "return", "\"HexagonISD::INSERT\"", ";", "case", "HexagonISD", "::", "INSERTRP", ":", "return", "\"HexagonISD::INSERTRP\"", ";", "case", "HexagonISD", "::", "JT", ":", "return", "\"HexagonISD::JT\"", ";", "case", "HexagonISD", "::", "PACKHL", ":", "return", "\"HexagonISD::PACKHL\"", ";", "case", "HexagonISD", "::", "POPCOUNT", ":", "return", "\"HexagonISD::POPCOUNT\"", ";", "case", "HexagonISD", "::", "RET_FLAG", ":", "return", "\"HexagonISD::RET_FLAG\"", ";", "case", "HexagonISD", "::", "SHUFFEB", ":", "return", "\"HexagonISD::SHUFFEB\"", ";", "case", "HexagonISD", "::", "SHUFFEH", ":", "return", "\"HexagonISD::SHUFFEH\"", ";", "case", "HexagonISD", "::", "SHUFFOB", ":", "return", "\"HexagonISD::SHUFFOB\"", ";", "case", "HexagonISD", "::", "SHUFFOH", ":", "return", "\"HexagonISD::SHUFFOH\"", ";", "case", "HexagonISD", "::", "TC_RETURN", ":", "return", "\"HexagonISD::TC_RETURN\"", ";", "case", "HexagonISD", "::", "VCMPBEQ", ":", "return", "\"HexagonISD::VCMPBEQ\"", ";", "case", "HexagonISD", "::", "VCMPBGT", ":", "return", "\"HexagonISD::VCMPBGT\"", ";", "case", "HexagonISD", "::", "VCMPBGTU", ":", "return", "\"HexagonISD::VCMPBGTU\"", ";", "case", "HexagonISD", "::", "VCMPHEQ", ":", "return", "\"HexagonISD::VCMPHEQ\"", ";", "case", "HexagonISD", "::", "VCMPHGT", ":", "return", "\"HexagonISD::VCMPHGT\"", ";", "case", "HexagonISD", "::", "VCMPHGTU", ":", "return", "\"HexagonISD::VCMPHGTU\"", ";", "case", "HexagonISD", "::", "VCMPWEQ", ":", "return", "\"HexagonISD::VCMPWEQ\"", ";", "case", "HexagonISD", "::", "VCMPWGT", ":", "return", "\"HexagonISD::VCMPWGT\"", ";", "case", "HexagonISD", "::", "VCMPWGTU", ":", "return", "\"HexagonISD::VCMPWGTU\"", ";", "case", "HexagonISD", "::", "VCOMBINE", ":", "return", "\"HexagonISD::VCOMBINE\"", ";", "case", "HexagonISD", "::", "VSHLH", ":", "return", "\"HexagonISD::VSHLH\"", ";", "case", "HexagonISD", "::", "VSHLW", ":", "return", "\"HexagonISD::VSHLW\"", ";", "case", "HexagonISD", "::", "VSPLATB", ":", "return", "\"HexagonISD::VSPLTB\"", ";", "case", "HexagonISD", "::", "VSPLATH", ":", "return", "\"HexagonISD::VSPLATH\"", ";", "case", "HexagonISD", "::", "VSRAH", ":", "return", "\"HexagonISD::VSRAH\"", ";", "case", "HexagonISD", "::", "VSRAW", ":", "return", "\"HexagonISD::VSRAW\"", ";", "case", "HexagonISD", "::", "VSRLH", ":", "return", "\"HexagonISD::VSRLH\"", ";", "case", "HexagonISD", "::", "VSRLW", ":", "return", "\"HexagonISD::VSRLW\"", ";", "case", "HexagonISD", "::", "VSXTBH", ":", "return", "\"HexagonISD::VSXTBH\"", ";", "case", "HexagonISD", "::", "VSXTBW", ":", "return", "\"HexagonISD::VSXTBW\"", ";", "case", "HexagonISD", "::", "OP_END", ":", "break", ";", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["Hexagon", "Hexagon", "HexagonISD::NodeType", "HexagonISD::ALLOCA", "\"HexagonISD::ALLOCA\"", "HexagonISD::ARGEXTEND", "\"HexagonISD::ARGEXTEND\"", "HexagonISD::AT_GOT", "\"HexagonISD::AT_GOT\"", "HexagonISD::AT_PCREL", "\"HexagonISD::AT_PCREL\"", "HexagonISD::BARRIER", "\"HexagonISD::BARRIER\"", "HexagonISD::CALLR", "\"HexagonISD::CALLR\"", "HexagonISD::CALLv3nr", "\"HexagonISD::CALLv3nr\"", "HexagonISD::CALLv3", "\"HexagonISD::CALLv3\"", "HexagonISD::COMBINE", "\"HexagonISD::COMBINE\"", "HexagonISD::CONST32_GP", "\"HexagonISD::CONST32_GP\"", "HexagonISD::CONST32", "\"HexagonISD::CONST32\"", "HexagonISD::CP", "\"HexagonISD::CP\"", "HexagonISD::DCFETCH", "\"HexagonISD::DCFETCH\"", "HexagonISD::EH_RETURN", "\"HexagonISD::EH_RETURN\"", "HexagonISD::EXTRACTU", "\"HexagonISD::EXTRACTU\"", "HexagonISD::EXTRACTURP", "\"HexagonISD::EXTRACTURP\"", "HexagonISD::FCONST32", "\"HexagonISD::FCONST32\"", "HexagonISD::INSERT", "\"HexagonISD::INSERT\"", "HexagonISD::INSERTRP", "\"HexagonISD::INSERTRP\"", "HexagonISD::JT", "\"HexagonISD::JT\"", "HexagonISD::PACKHL", "\"HexagonISD::PACKHL\"", "HexagonISD::POPCOUNT", "\"HexagonISD::POPCOUNT\"", "HexagonISD::RET_FLAG", "\"HexagonISD::RET_FLAG\"", "HexagonISD::SHUFFEB", "\"HexagonISD::SHUFFEB\"", "HexagonISD::SHUFFEH", "\"HexagonISD::SHUFFEH\"", "HexagonISD::SHUFFOB", "\"HexagonISD::SHUFFOB\"", "HexagonISD::SHUFFOH", "\"HexagonISD::SHUFFOH\"", "HexagonISD::TC_RETURN", "\"HexagonISD::TC_RETURN\"", "HexagonISD::VCMPBEQ", "\"HexagonISD::VCMPBEQ\"", "HexagonISD::VCMPBGT", "\"HexagonISD::VCMPBGT\"", "HexagonISD::VCMPBGTU", "\"HexagonISD::VCMPBGTU\"", "HexagonISD::VCMPHEQ", "\"HexagonISD::VCMPHEQ\"", "HexagonISD::VCMPHGT", "\"HexagonISD::VCMPHGT\"", "HexagonISD::VCMPHGTU", "\"HexagonISD::VCMPHGTU\"", "HexagonISD::VCMPWEQ", "\"HexagonISD::VCMPWEQ\"", "HexagonISD::VCMPWGT", "\"HexagonISD::VCMPWGT\"", "HexagonISD::VCMPWGTU", "\"HexagonISD::VCMPWGTU\"", "HexagonISD::VCOMBINE", "\"HexagonISD::VCOMBINE\"", "HexagonISD::VSHLH", "\"HexagonISD::VSHLH\"", "HexagonISD::VSHLW", "\"HexagonISD::VSHLW\"", "HexagonISD::VSPLATB", "\"HexagonISD::VSPLTB\"", "HexagonISD::VSPLATH", "\"HexagonISD::VSPLATH\"", "HexagonISD::VSRAH", "\"HexagonISD::VSRAH\"", "HexagonISD::VSRAW", "\"HexagonISD::VSRAW\"", "HexagonISD::VSRLH", "\"HexagonISD::VSRLH\"", "HexagonISD::VSRLW", "\"HexagonISD::VSRLW\"", "HexagonISD::VSXTBH", "\"HexagonISD::VSXTBH\"", "HexagonISD::VSXTBW", "\"HexagonISD::VSXTBW\"", "HexagonISD::OP_END"], "File": "HexagonISelLowering (2)", "Func": "getTargetNodeName", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3699, "Length": 418, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "clear_operation_p", "(", "rtx", "op", ",", "bool", "vfp", ")", "{", "unsigned", "regno", ";", "unsigned", "last_regno", "=", "INVALID_REGNUM", ";", "rtx", "elt", ",", "reg", ",", "zero", ";", "int", "count", "=", "XVECLEN", "(", "op", ",", "0", ")", ";", "int", "first_set", "=", "vfp", "?", "1", ":", "0", ";", "machine_mode", "expected_mode", "=", "vfp", "?", "E_SFmode", ":", "E_SImode", ";", "for", "(", "int", "i", "=", "first_set", ";", "i", "<", "count", ";", "i", "++", ")", "{", "elt", "=", "XVECEXP", "(", "op", ",", "0", ",", "i", ")", ";", "if", "(", "!", "vfp", "&&", "GET_CODE", "(", "elt", ")", "==", "UNSPEC_VOLATILE", ")", "{", "if", "(", "XINT", "(", "elt", ",", "1", ")", "!=", "VUNSPEC_CLRM_APSR", "||", "XVECLEN", "(", "elt", ",", "0", ")", "!=", "1", "||", "XVECEXP", "(", "elt", ",", "0", ",", "0", ")", "!=", "CONST0_RTX", "(", "SImode", ")", "||", "i", "!=", "count", "-", "2", ")", "return", "false", ";", "continue", ";", "}", "if", "(", "GET_CODE", "(", "elt", ")", "==", "CLOBBER", ")", "continue", ";", "if", "(", "GET_CODE", "(", "elt", ")", "!=", "SET", ")", "return", "false", ";", "reg", "=", "SET_DEST", "(", "elt", ")", ";", "zero", "=", "SET_SRC", "(", "elt", ")", ";", "if", "(", "!", "REG_P", "(", "reg", ")", "||", "GET_MODE", "(", "reg", ")", "!=", "expected_mode", "||", "zero", "!=", "CONST0_RTX", "(", "SImode", ")", ")", "return", "false", ";", "regno", "=", "REGNO", "(", "reg", ")", ";", "if", "(", "vfp", ")", "{", "if", "(", "i", "!=", "first_set", "&&", "regno", "!=", "last_regno", "+", "1", ")", "return", "false", ";", "}", "else", "{", "if", "(", "regno", "==", "SP_REGNUM", "||", "regno", "==", "PC_REGNUM", ")", "return", "false", ";", "if", "(", "i", "!=", "first_set", "&&", "regno", "<=", "last_regno", ")", "return", "false", ";", "}", "last_regno", "=", "regno", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Checks", "whether", "OP", "is", "a", "valid", "parallel", "pattern", "for", "a", "CLRM", "(", "if", "VFP", "is", "false", ")", "or", "VSCCLRM", "(", "otherwise", ")", "insn", ".", "To", "be", "a", "valid", "CLRM", "pattern", ",", "OP", "must", "have", "the", "following", "form", ":", "[", "(", "set", "(", "reg", ":", "SI", "<", "N", ">", ")", "(", "const_int", "0", ")", ")", "(", "set", "(", "reg", ":", "SI", "<", "M", ">", ")", "(", "const_int", "0", ")", ")", "...", "(", "unspec_volatile", "[", "(", "const_int", "0", ")", "]", "VUNSPEC_CLRM_APSR", ")", "(", "clobber", "(", "reg", ":", "CC", "CC_REGNUM", ")", ")", "]", "Any", "number", "(", "including", "0", ")", "of", "set", "expressions", "is", "valid", ",", "the", "volatile", "unspec", "is", "optional", ".", "All", "registers", "but", "SP", "and", "PC", "are", "allowed", "and", "registers", "must", "be", "in", "strict", "increasing", "order", ".", "To", "be", "a", "valid", "VSCCLRM", "pattern", ",", "OP", "must", "have", "the", "following", "form", ":", "[", "(", "unspec_volatile", "[", "(", "const_int", "0", ")", "]", "VUNSPEC_VSCCLRM_VPR", ")", "(", "set", "(", "reg", ":", "SF", "<", "N", ">", ")", "(", "const_int", "0", ")", ")", "(", "set", "(", "reg", ":", "SF", "<", "M", ">", ")", "(", "const_int", "0", ")", ")", "...", "]", "As", "with", "CLRM", ",", "any", "number", "(", "including", "0", ")", "of", "set", "expressions", "is", "valid", ",", "however", "the", "volatile", "unspec", "is", "mandatory", "here", ".", "Any", "VFP", "single-precision", "register", "is", "accepted", "but", "all", "registers", "must", "be", "consecutive", "and", "in", "increasing", "order", "."], "TS_V_token": ["arm", "0", "1", "0", "0", "1", "0", "1", "0", "0", "2", "1"], "File": "arm", "Func": "clear_operation_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3700, "Length": 266, "Cover_Rate": 1.0, "Template_token": []}
{"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": 3701, "Length": 320, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Initialize", "(", "MCContext", "&", "ctx", ",", "const", "TargetMachine", "&", "TM", ")", "override", "{", "TargetLoweringObjectFile", "::", "Initialize", "(", "ctx", ",", "TM", ")", ";", "TextSection", "=", "new", "NVPTXSection", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getText", "(", ")", ")", ";", "DataSection", "=", "new", "NVPTXSection", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getDataRel", "(", ")", ")", ";", "BSSSection", "=", "new", "NVPTXSection", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getBSS", "(", ")", ")", ";", "ReadOnlySection", "=", "new", "NVPTXSection", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getReadOnly", "(", ")", ")", ";", "StaticCtorSection", "=", "new", "NVPTXSection", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "StaticDtorSection", "=", "new", "NVPTXSection", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "LSDASection", "=", "new", "NVPTXSection", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "EHFrameSection", "=", "new", "NVPTXSection", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "DwarfAbbrevSection", "=", "new", "NVPTXSection", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "DwarfInfoSection", "=", "new", "NVPTXSection", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "DwarfLineSection", "=", "new", "NVPTXSection", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "DwarfFrameSection", "=", "new", "NVPTXSection", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "DwarfPubTypesSection", "=", "new", "NVPTXSection", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "DwarfDebugInlineSection", "=", "new", "NVPTXSection", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "DwarfStrSection", "=", "new", "NVPTXSection", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "DwarfLocSection", "=", "new", "NVPTXSection", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "DwarfARangesSection", "=", "new", "NVPTXSection", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "DwarfRangesSection", "=", "new", "NVPTXSection", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "DwarfMacroInfoSection", "=", "new", "NVPTXSection", "(", "MCSection", "::", "SV_ELF", ",", "SectionKind", "::", "getMetadata", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX"], "File": "NVPTXTargetObjectFile", "Func": "Initialize", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3702, "Length": 328, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arc_legitimate_pic_addr_p", "(", "rtx", "addr", ")", "{", "if", "(", "GET_CODE", "(", "addr", ")", "!=", "CONST", ")", "return", "false", ";", "addr", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PLUS", ")", "{", "if", "(", "GET_CODE", "(", "XEXP", "(", "addr", ",", "1", ")", ")", "!=", "CONST_INT", ")", "return", "false", ";", "addr", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "}", "if", "(", "GET_CODE", "(", "addr", ")", "!=", "UNSPEC", "||", "XVECLEN", "(", "addr", ",", "0", ")", "!=", "1", ")", "return", "false", ";", "if", "(", "XINT", "(", "addr", ",", "1", ")", "!=", "ARC_UNSPEC_GOT", "&&", "XINT", "(", "addr", ",", "1", ")", "!=", "ARC_UNSPEC_GOTOFF", "&&", "XINT", "(", "addr", ",", "1", ")", "!=", "ARC_UNSPEC_GOTOFFPC", "&&", "XINT", "(", "addr", ",", "1", ")", "!=", "UNSPEC_TLS_GD", "&&", "XINT", "(", "addr", ",", "1", ")", "!=", "UNSPEC_TLS_IE", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "XVECEXP", "(", "addr", ",", "0", ",", "0", ")", ")", "!=", "SYMBOL_REF", "&&", "GET_CODE", "(", "XVECEXP", "(", "addr", ",", "0", ",", "0", ")", ")", "!=", "LABEL_REF", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "ADDR", "is", "a", "valid", "pic", "address", ".", "A", "valid", "pic", "address", "on", "arc", "should", "look", "like", "const", "(", "unspec", "(", "SYMBOL_REF/LABEL", ")", "(", "ARC_UNSPEC_GOTOFF/ARC_UNSPEC_GOT", ")", ")"], "TS_V_token": ["arc", "0", "1", "0", "0", "1", "1", "1", "1", "1", "1", "0", "0", "0", "0"], "File": "arc", "Func": "arc_legitimate_pic_addr_p", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3703, "Length": 173, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "loongarch_memmodel_needs_release_fence", "(", "enum", "memmodel", "model", ")", "{", "switch", "(", "model", ")", "{", "case", "MEMMODEL_ACQ_REL", ":", "case", "MEMMODEL_SEQ_CST", ":", "case", "MEMMODEL_SYNC_SEQ_CST", ":", "case", "MEMMODEL_RELEASE", ":", "case", "MEMMODEL_SYNC_RELEASE", ":", "return", "true", ";", "case", "MEMMODEL_ACQUIRE", ":", "case", "MEMMODEL_CONSUME", ":", "case", "MEMMODEL_SYNC_ACQUIRE", ":", "case", "MEMMODEL_RELAXED", ":", "return", "false", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "a", "FENCE", "should", "be", "emitted", "to", "before", "a", "memory", "access", "to", "implement", "the", "release", "portion", "of", "memory", "model", "MODEL", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_memmodel_needs_release_fence", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3704, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "CAHPTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "report_fatal_error", "(", "\"unimplemented operand\"", ")", ";", "case", "ISD", "::", "BR_CC", ":", "return", "LowerBR_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "LowerSELECT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "LowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "RETURNADDR", ":", "return", "LowerRETURNADDR", "(", "Op", ",", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["CAHP", "CAHP", "\"unimplemented operand\"", "ISD::BR_CC", "ISD::GlobalAddress", "ISD::SELECT", "ISD::FRAMEADDR", "ISD::RETURNADDR"], "File": "CAHPISelLowering", "Func": "LowerOperation", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3705, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TPCFrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "}", ""], "natrual_language": ["This", "method", "determines", "which", "of", "the", "registers", "reported", "by", "TargetRegisterInfo", ":", ":getCalleeSavedRegs", "(", ")", "should", "actually", "get", "saved", "."], "TS_V_token": ["TPC", "TPC"], "File": "TPCFrameLowering", "Func": "determineCalleeSaves", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3706, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "RISCVTargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "SDLoc", "DL", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RetLocs", ";", "CCState", "RetCCInfo", "(", "CallConv", ",", "IsVarArg", ",", "MF", ",", "RetLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "if", "(", "Subtarget", ".", "isRV64", "(", ")", ")", "RetCCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_RISCV64", ")", ";", "else", "RetCCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_RISCV32", ")", ";", "SDValue", "Glue", ";", "if", "(", "RetLocs", ".", "empty", "(", ")", ")", "return", "DAG", ".", "getNode", "(", "RISCVISD", "::", "RET_FLAG", ",", "DL", ",", "MVT", "::", "Other", ",", "Chain", ")", ";", "SmallVector", "<", "SDValue", ",", "4", ">", "RetOps", ";", "RetOps", ".", "push_back", "(", "Chain", ")", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "RetLocs", ".", "size", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "CCValAssign", "&", "VA", "=", "RetLocs", "[", "I", "]", ";", "SDValue", "RetValue", "=", "OutVals", "[", "I", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Can only return in registers!\"", ")", ";", "RetValue", "=", "convertValVTToLocVT", "(", "DAG", ",", "DL", ",", "VA", ",", "RetValue", ")", ";", "unsigned", "Reg", "=", "VA", ".", "getLocReg", "(", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "Reg", ",", "RetValue", ",", "Glue", ")", ";", "Glue", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "Reg", ",", "VA", ".", "getLocVT", "(", ")", ")", ")", ";", "}", "RetOps", "[", "0", "]", "=", "Chain", ";", "if", "(", "Glue", ".", "getNode", "(", ")", ")", "RetOps", ".", "push_back", "(", "Glue", ")", ";", "return", "DAG", ".", "getNode", "(", "RISCVISD", "::", "RET_FLAG", ",", "DL", ",", "MVT", "::", "Other", ",", "RetOps", ")", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "outgoing", "return", "values", ",", "described", "by", "the", "Outs", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["RISCV", "RISCV", "ISD::OutputArg", "16", "RISCV", "RISCV", "RISCVISD::RET_FLAG", "MVT::Other", "4", "0", "\"Can only return in registers!\"", "1", "0", "RISCVISD::RET_FLAG", "MVT::Other"], "File": "RISCVISelLowering (2)2", "Func": "LowerReturn", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3707, "Length": 310, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SPUTargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "DebugLoc", "dl", ",", "SelectionDAG", "&", "DAG", ")", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "getTargetMachine", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_SPU", ")", ";", "if", "(", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "liveout_empty", "(", ")", ")", "{", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "DAG", ".", "getMachineFunction", "(", ")", ".", "getRegInfo", "(", ")", ".", "addLiveOut", "(", "RVLocs", "[", "i", "]", ".", "getLocReg", "(", ")", ")", ";", "}", "SDValue", "Flag", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Can only return in registers!\"", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "Outs", "[", "i", "]", ".", "Val", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "}", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "return", "DAG", ".", "getNode", "(", "SPUISD", "::", "RET_FLAG", ",", "dl", ",", "MVT", "::", "Other", ",", "Chain", ",", "Flag", ")", ";", "else", "return", "DAG", ".", "getNode", "(", "SPUISD", "::", "RET_FLAG", ",", "dl", ",", "MVT", "::", "Other", ",", "Chain", ")", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "outgoing", "return", "values", ",", "described", "by", "the", "Outs", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["CellSPU", "SPU", "ISD::OutputArg", "16", "SPU", "0", "0", "\"Can only return in registers!\"", "1", "SPUISD::RET_FLAG", "MVT::Other", "SPUISD::RET_FLAG", "MVT::Other"], "File": "SPUISelLowering1", "Func": "LowerReturn", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3708, "Length": 256, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "XCoreSelectionDAGInfo", "::", "EmitTargetCodeForMemcpy", "(", "SelectionDAG", "&", "DAG", ",", "const", "SDLoc", "&", "dl", ",", "SDValue", "Chain", ",", "SDValue", "Dst", ",", "SDValue", "Src", ",", "SDValue", "Size", ",", "unsigned", "Align", ",", "bool", "isVolatile", ",", "bool", "AlwaysInline", ",", "MachinePointerInfo", "DstPtrInfo", ",", "MachinePointerInfo", "SrcPtrInfo", ")", "const", "{", "unsigned", "SizeBitWidth", "=", "Size", ".", "getValueSizeInBits", "(", ")", ";", "if", "(", "!", "AlwaysInline", "&&", "(", "Align", "&", "3", ")", "==", "0", "&&", "DAG", ".", "MaskedValueIsZero", "(", "Size", ",", "APInt", "(", "SizeBitWidth", ",", "3", ")", ")", ")", "{", "const", "TargetLowering", "&", "TLI", "=", "*", "DAG", ".", "getSubtarget", "(", ")", ".", "getTargetLowering", "(", ")", ";", "TargetLowering", "::", "ArgListTy", "Args", ";", "TargetLowering", "::", "ArgListEntry", "Entry", ";", "Entry", ".", "Ty", "=", "DAG", ".", "getDataLayout", "(", ")", ".", "getIntPtrType", "(", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "Entry", ".", "Node", "=", "Dst", ";", "Args", ".", "push_back", "(", "Entry", ")", ";", "Entry", ".", "Node", "=", "Src", ";", "Args", ".", "push_back", "(", "Entry", ")", ";", "Entry", ".", "Node", "=", "Size", ";", "Args", ".", "push_back", "(", "Entry", ")", ";", "TargetLowering", "::", "CallLoweringInfo", "CLI", "(", "DAG", ")", ";", "CLI", ".", "setDebugLoc", "(", "dl", ")", ".", "setChain", "(", "Chain", ")", ".", "setLibCallee", "(", "TLI", ".", "getLibcallCallingConv", "(", "RTLIB", "::", "MEMCPY", ")", ",", "Type", "::", "getVoidTy", "(", "*", "DAG", ".", "getContext", "(", ")", ")", ",", "DAG", ".", "getExternalSymbol", "(", "\"__memcpy_4\"", ",", "TLI", ".", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ")", ",", "std", "::", "move", "(", "Args", ")", ")", ".", "setDiscardResult", "(", ")", ";", "std", "::", "pair", "<", "SDValue", ",", "SDValue", ">", "CallResult", "=", "TLI", ".", "LowerCallTo", "(", "CLI", ")", ";", "return", "CallResult", ".", "second", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memcpy", "."], "TS_V_token": ["XCore", "XCore", "3", "0", "3", "\"__memcpy_4\""], "File": "XCoreSelectionDAGInfo10", "Func": "EmitTargetCodeForMemcpy", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3709, "Length": 267, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "AU", ".", "addRequired", "<", "AAResultsWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "LiveIntervals", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "LiveIntervals", ">", "(", ")", ";", "AU", ".", "addPreservedID", "(", "LiveVariablesID", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["TVM"], "File": "TVMRematerialize", "Func": "getAnalysisUsage", "Target": "TVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3710, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "ARMBaseInstrInfo", "::", "commuteInstruction", "(", "MachineInstr", "*", "MI", ",", "bool", "NewMI", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "ARM", "::", "MOVCCr", ":", "case", "ARM", "::", "t2MOVCCr", ":", "{", "unsigned", "PredReg", "=", "0", ";", "ARMCC", "::", "CondCodes", "CC", "=", "getInstrPredicate", "(", "MI", ",", "PredReg", ")", ";", "if", "(", "CC", "==", "ARMCC", "::", "AL", "||", "PredReg", "!=", "ARM", "::", "CPSR", ")", "return", "nullptr", ";", "MI", "=", "TargetInstrInfo", "::", "commuteInstruction", "(", "MI", ",", "NewMI", ")", ";", "if", "(", "!", "MI", ")", "return", "nullptr", ";", "MI", "->", "getOperand", "(", "MI", "->", "findFirstPredOperandIdx", "(", ")", ")", ".", "setImm", "(", "ARMCC", "::", "getOppositeCondition", "(", "CC", ")", ")", ";", "return", "MI", ";", "}", "}", "return", "TargetInstrInfo", "::", "commuteInstruction", "(", "MI", ",", "NewMI", ")", ";", "}", ""], "natrual_language": ["This", "method", "commutes", "the", "operands", "of", "the", "given", "machine", "instruction", "MI", "."], "TS_V_token": ["ARM", "ARM", "ARM::MOVCCr", "ARM::t2MOVCCr", "0", "ARMCC::CondCodes", "ARMCC::AL", "ARM::CPSR", "ARMCC::getOppositeCondition"], "File": "ARMBaseInstrInfo105", "Func": "commuteInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3711, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "AMDGPUInstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "InstrInfo", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["R600"], "File": "AMDGPUSubtarget102", "Func": "getInstrInfo", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3712, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "isUnpredicatedTerminator", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "if", "(", "!", "MI", "->", "isTerminator", "(", ")", ")", "return", "false", ";", "if", "(", "MI", "->", "isBranch", "(", ")", "&&", "!", "MI", "->", "isBarrier", "(", ")", ")", "return", "true", ";", "if", "(", "!", "MI", "->", "isPredicable", "(", ")", ")", "return", "true", ";", "return", "!", "isPredicated", "(", "MI", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "instruction", "is", "a", "terminator", "instruction", "that", "has", "not", "been", "predicated", "."], "TS_V_token": ["X86", "X86"], "File": "X86InstrInfo (2)", "Func": "isUnpredicatedTerminator", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3713, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "alpha_expand_mov", "(", "enum", "machine_mode", "mode", ",", "rtx", "*", "operands", ")", "{", "if", "(", "GET_CODE", "(", "operands", "[", "0", "]", ")", "==", "MEM", "&&", "!", "reg_or_0_operand", "(", "operands", "[", "1", "]", ",", "mode", ")", ")", "operands", "[", "1", "]", "=", "force_reg", "(", "mode", ",", "operands", "[", "1", "]", ")", ";", "if", "(", "mode", "==", "Pmode", "&&", "symbolic_operand", "(", "operands", "[", "1", "]", ",", "mode", ")", ")", "{", "rtx", "tmp", ";", "tmp", "=", "alpha_legitimize_address", "(", "operands", "[", "1", "]", ",", "operands", "[", "0", "]", ",", "mode", ")", ";", "if", "(", "tmp", ")", "{", "if", "(", "tmp", "==", "operands", "[", "0", "]", ")", "return", "true", ";", "operands", "[", "1", "]", "=", "tmp", ";", "return", "false", ";", "}", "}", "if", "(", "!", "CONSTANT_P", "(", "operands", "[", "1", "]", ")", "||", "input_operand", "(", "operands", "[", "1", "]", ",", "mode", ")", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "operands", "[", "1", "]", ")", "==", "CONST_INT", "||", "GET_CODE", "(", "operands", "[", "1", "]", ")", "==", "CONST_DOUBLE", "||", "GET_CODE", "(", "operands", "[", "1", "]", ")", "==", "CONST_VECTOR", ")", "{", "if", "(", "alpha_split_const_mov", "(", "mode", ",", "operands", ")", ")", "return", "true", ";", "}", "operands", "[", "1", "]", "=", "force_const_mem", "(", "mode", ",", "operands", "[", "1", "]", ")", ";", "if", "(", "reload_in_progress", ")", "{", "emit_move_insn", "(", "operands", "[", "0", "]", ",", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", ")", ";", "operands", "[", "1", "]", "=", "copy_rtx", "(", "operands", "[", "1", "]", ")", ";", "XEXP", "(", "operands", "[", "1", "]", ",", "0", ")", "=", "operands", "[", "0", "]", ";", "}", "else", "operands", "[", "1", "]", "=", "validize_mem", "(", "operands", "[", "1", "]", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Expand", "a", "move", "instruction", ";", "return", "true", "if", "all", "work", "is", "done", ".", "We", "do", "n't", "handle", "non-bwx", "subword", "loads", "here", "."], "TS_V_token": ["alpha", "0", "1", "1", "1", "1", "1", "0", "0", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "0", "1", "1", "1", "0", "0", "1", "1"], "File": "alpha3", "Func": "alpha_expand_mov", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3714, "Length": 271, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_code_end", "(", "void", ")", "{", "rtx", "xops", "[", "2", "]", ";", "int", "regno", ";", "for", "(", "regno", "=", "AX_REG", ";", "regno", "<=", "SP_REG", ";", "regno", "++", ")", "{", "char", "name", "[", "32", "]", ";", "tree", "decl", ";", "if", "(", "!", "(", "pic_labels_used", "&", "(", "1", "<<", "regno", ")", ")", ")", "continue", ";", "get_pc_thunk_name", "(", "name", ",", "regno", ")", ";", "decl", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "FUNCTION_DECL", ",", "get_identifier", "(", "name", ")", ",", "build_function_type_list", "(", "void_type_node", ",", "NULL_TREE", ")", ")", ";", "DECL_RESULT", "(", "decl", ")", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "RESULT_DECL", ",", "NULL_TREE", ",", "void_type_node", ")", ";", "TREE_PUBLIC", "(", "decl", ")", "=", "1", ";", "TREE_STATIC", "(", "decl", ")", "=", "1", ";", "DECL_IGNORED_P", "(", "decl", ")", "=", "1", ";", "if", "(", "TARGET_MACHO", ")", "{", "switch_to_section", "(", "darwin_sections", "[", "picbase_thunk_section", "]", ")", ";", "fputs", "(", "\"\\t.weak_definition\\t\"", ",", "asm_out_file", ")", ";", "assemble_name", "(", "asm_out_file", ",", "name", ")", ";", "fputs", "(", "\"\\n\\t.private_extern\\t\"", ",", "asm_out_file", ")", ";", "assemble_name", "(", "asm_out_file", ",", "name", ")", ";", "putc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "ASM_OUTPUT_LABEL", "(", "asm_out_file", ",", "name", ")", ";", "DECL_WEAK", "(", "decl", ")", "=", "1", ";", "}", "else", "if", "(", "USE_HIDDEN_LINKONCE", ")", "{", "cgraph_node", "::", "create", "(", "decl", ")", "->", "set_comdat_group", "(", "DECL_ASSEMBLER_NAME", "(", "decl", ")", ")", ";", "targetm", ".", "asm_out", ".", "unique_section", "(", "decl", ",", "0", ")", ";", "switch_to_section", "(", "get_named_section", "(", "decl", ",", "NULL", ",", "0", ")", ")", ";", "targetm", ".", "asm_out", ".", "globalize_label", "(", "asm_out_file", ",", "name", ")", ";", "fputs", "(", "\"\\t.hidden\\t\"", ",", "asm_out_file", ")", ";", "assemble_name", "(", "asm_out_file", ",", "name", ")", ";", "putc", "(", "'\\n'", ",", "asm_out_file", ")", ";", "ASM_DECLARE_FUNCTION_NAME", "(", "asm_out_file", ",", "name", ",", "decl", ")", ";", "}", "else", "{", "switch_to_section", "(", "text_section", ")", ";", "ASM_OUTPUT_LABEL", "(", "asm_out_file", ",", "name", ")", ";", "}", "DECL_INITIAL", "(", "decl", ")", "=", "make_node", "(", "BLOCK", ")", ";", "current_function_decl", "=", "decl", ";", "allocate_struct_function", "(", "decl", ",", "false", ")", ";", "init_function_start", "(", "decl", ")", ";", "cfun", "->", "is_thunk", "=", "true", ";", "first_function_block_is_cold", "=", "false", ";", "final_start_function", "(", "emit_barrier", "(", ")", ",", "asm_out_file", ",", "1", ")", ";", "if", "(", "TARGET_PAD_SHORT_FUNCTION", ")", "{", "int", "i", "=", "8", ";", "while", "(", "i", "--", ")", "fputs", "(", "\"\\tnop\\n\"", ",", "asm_out_file", ")", ";", "}", "xops", "[", "0", "]", "=", "gen_rtx_REG", "(", "Pmode", ",", "regno", ")", ";", "xops", "[", "1", "]", "=", "gen_rtx_MEM", "(", "Pmode", ",", "stack_pointer_rtx", ")", ";", "output_asm_insn", "(", "\"mov%z0\\t{%1, %0|%0, %1}\"", ",", "xops", ")", ";", "output_asm_insn", "(", "\"%!ret\"", ",", "NULL", ")", ";", "final_end_function", "(", ")", ";", "init_insn_lengths", "(", ")", ";", "free_after_compilation", "(", "cfun", ")", ";", "set_cfun", "(", "NULL", ")", ";", "current_function_decl", "=", "NULL", ";", "}", "if", "(", "flag_split_stack", ")", "file_end_indicate_split_stack", "(", ")", ";", "}", ""], "natrual_language": ["This", "function", "generates", "code", "for", "-fpic", "that", "loads", "%", "ebx", "with", "the", "return", "address", "of", "the", "caller", "and", "then", "returns", "."], "TS_V_token": ["i386", "2", "32", "1", "1", "1", "1", "\"\\t.weak_definition\\t\"", "\"\\n\\t.private_extern\\t\"", "1", "0", "0", "\"\\t.hidden\\t\"", "1", "8", "\"\\tnop\\n\"", "0", "1", "\"mov%z0\\t{%1, %0|%0, %1}\"", "\"%!ret\""], "File": "i3866", "Func": "ix86_code_end", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3715, "Length": 423, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVPassConfig", "::", "addIRTranslator", "(", ")", "{", "addPass", "(", "new", "IRTranslator", "(", "getOptLevel", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["This", "method", "should", "install", "an", "IR", "translator", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "with", "possibly", "generic", "opcodes", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVTargetMachine1", "Func": "addIRTranslator", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3716, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_return_address_signing_enabled", "(", "void", ")", "{", "gcc_assert", "(", "cfun", "->", "machine", "->", "frame", ".", "laid_out", ")", ";", "if", "(", "crtl", "->", "calls_eh_return", ")", "return", "false", ";", "return", "(", "aarch64_ra_sign_scope", "==", "AARCH64_FUNCTION_ALL", "||", "(", "aarch64_ra_sign_scope", "==", "AARCH64_FUNCTION_NON_LEAF", "&&", "known_ge", "(", "cfun", "->", "machine", "->", "frame", ".", "reg_offset", "[", "LR_REGNUM", "]", ",", "0", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "return", "address", "signing", "should", "be", "enabled", "for", "the", "current", "function", ",", "otherwise", "return", "FALSE", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch641", "Func": "aarch64_return_address_signing_enabled", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3717, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "function_expander", "::", "use_contiguous_load_insn", "(", "insn_code", "icode", ")", "{", "gcc_assert", "(", "call_expr_nargs", "(", "exp", ")", ">", "0", ")", ";", "machine_mode", "mode", "=", "TYPE_MODE", "(", "TREE_TYPE", "(", "exp", ")", ")", ";", "int", "arg_offset", "=", "0", ";", "if", "(", "use_real_mask_p", "(", "pred", ")", ")", "add_input_operand", "(", "arg_offset", "++", ")", ";", "else", "add_all_one_mask_operand", "(", "mask_mode", "(", ")", ")", ";", "if", "(", "use_real_merge_p", "(", "pred", ")", ")", "add_input_operand", "(", "arg_offset", "++", ")", ";", "else", "add_vundef_operand", "(", "mode", ")", ";", "add_mem_operand", "(", "mode", ",", "arg_offset", "++", ")", ";", "for", "(", "int", "argno", "=", "arg_offset", ";", "argno", "<", "call_expr_nargs", "(", "exp", ")", ";", "argno", "++", ")", "add_input_operand", "(", "argno", ")", ";", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "!=", "MODE_VECTOR_BOOL", ")", "{", "add_input_operand", "(", "Pmode", ",", "get_tail_policy_for_pred", "(", "pred", ")", ")", ";", "add_input_operand", "(", "Pmode", ",", "get_mask_policy_for_pred", "(", "pred", ")", ")", ";", "}", "if", "(", "opno", "!=", "insn_data", "[", "icode", "]", ".", "n_generator_args", ")", "add_input_operand", "(", "Pmode", ",", "get_avl_type_rtx", "(", "avl_type", "::", "NONVLMAX", ")", ")", ";", "return", "generate_insn", "(", "icode", ")", ";", "}", ""], "natrual_language": ["Use", "contiguous", "load", "INSN", "."], "TS_V_token": ["riscv", "0", "0"], "File": "riscv-vector-builtins", "Func": "use_contiguous_load_insn", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3718, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "X86Subtarget", "*", "X86TargetMachine", "::", "getSubtargetImpl", "(", "const", "Function", "&", "F", ")", "const", "{", "Attribute", "CPUAttr", "=", "F", ".", "getFnAttribute", "(", "\"target-cpu\"", ")", ";", "Attribute", "FSAttr", "=", "F", ".", "getFnAttribute", "(", "\"target-features\"", ")", ";", "StringRef", "CPU", "=", "!", "CPUAttr", ".", "hasAttribute", "(", "Attribute", "::", "None", ")", "?", "CPUAttr", ".", "getValueAsString", "(", ")", ":", "(", "StringRef", ")", "TargetCPU", ";", "StringRef", "FS", "=", "!", "FSAttr", ".", "hasAttribute", "(", "Attribute", "::", "None", ")", "?", "FSAttr", ".", "getValueAsString", "(", ")", ":", "(", "StringRef", ")", "TargetFS", ";", "SmallString", "<", "512", ">", "Key", ";", "Key", ".", "reserve", "(", "CPU", ".", "size", "(", ")", "+", "FS", ".", "size", "(", ")", ")", ";", "Key", "+=", "CPU", ";", "Key", "+=", "FS", ";", "bool", "SoftFloat", "=", "F", ".", "getFnAttribute", "(", "\"use-soft-float\"", ")", ".", "getValueAsString", "(", ")", "==", "\"true\"", ";", "if", "(", "SoftFloat", ")", "Key", "+=", "FS", ".", "empty", "(", ")", "?", "\"+soft-float\"", ":", "\",+soft-float\"", ";", "FS", "=", "Key", ".", "substr", "(", "CPU", ".", "size", "(", ")", ")", ";", "auto", "&", "I", "=", "SubtargetMap", "[", "Key", "]", ";", "if", "(", "!", "I", ")", "{", "resetTargetOptions", "(", "F", ")", ";", "I", "=", "llvm", "::", "make_unique", "<", "X86Subtarget", ">", "(", "TargetTriple", ",", "CPU", ",", "FS", ",", "*", "this", ",", "Options", ".", "StackAlignmentOverride", ")", ";", "GISelAccessor", "*", "GISel", "=", "new", "GISelAccessor", "(", ")", ";", "X86GISelActualAccessor", "*", "GISel", "=", "new", "X86GISelActualAccessor", "(", "new", "X86CallLowering", "(", "*", "I", "->", "getTargetLowering", "(", ")", ")", ")", ";", "I", "->", "setGISelAccessor", "(", "*", "GISel", ")", ";", "}", "return", "I", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["Virtual", "method", "implemented", "by", "subclasses", "that", "returns", "a", "reference", "to", "that", "target", "'s", "TargetSubtargetInfo-derived", "member", "variable", "."], "TS_V_token": ["X86", "X86", "X86", "\"target-cpu\"", "\"target-features\"", "512", "\"use-soft-float\"", "\"true\"", "\"+soft-float\"", "\",+soft-float\"", "X86", "X86", "X86", "X86"], "File": "X86TargetMachine45", "Func": "getSubtargetImpl", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3719, "Length": 246, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "X86TargetMachine", "&", "getTargetMachine", "(", ")", "const", "{", "return", "static_cast", "<", "const", "X86TargetMachine", "&", ">", "(", "TM", ")", ";", "}", ""], "natrual_language": ["Return", "the", "target", "machine", "(", "if", "available", ")", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86ISelDAGToDAG (2)", "Func": "getTargetMachine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3720, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "AAResultsWrapperPass", ">", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AMDGPU"], "File": "AMDGPULibCalls", "Func": "getAnalysisUsage", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3721, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "unspec_caller_rtx_p", "(", "rtx", "pat", ")", "{", "rtx", "base", ",", "offset", ";", "split_const", "(", "pat", ",", "&", "base", ",", "&", "offset", ")", ";", "if", "(", "GET_CODE", "(", "base", ")", "==", "UNSPEC", ")", "{", "if", "(", "XINT", "(", "base", ",", "1", ")", "==", "UNSPEC_CALLER", ")", "return", "true", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "XVECLEN", "(", "base", ",", "0", ")", ";", "i", "++", ")", "if", "(", "unspec_caller_rtx_p", "(", "XVECEXP", "(", "base", ",", "0", ",", "i", ")", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Check", "if", "PAT", "includes", "UNSPEC_CALLER", "unspec", "pattern", "."], "TS_V_token": ["sh", "1", "0", "0", "0"], "File": "sh", "Func": "unspec_caller_rtx_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3722, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "addBlock", "(", "BasicBlock", "*", "BB", ",", "bool", "Remember", "=", "true", ")", "{", "DomTreeNode", "*", "Node", "=", "DT", "->", "getNode", "(", "BB", ")", ";", "if", "(", "Result", "==", "0", ")", "{", "unsigned", "Numbering", "=", "0", ";", "for", "(", ";", "Node", ";", "Node", "=", "Node", "->", "getIDom", "(", ")", ")", "IndexMap", "[", "Node", "]", "=", "++", "Numbering", ";", "Result", "=", "BB", ";", "ResultIndex", "=", "1", ";", "ExplicitMentioned", "=", "Remember", ";", "return", ";", "}", "for", "(", ";", "Node", ";", "Node", "=", "Node", "->", "getIDom", "(", ")", ")", "if", "(", "IndexMap", ".", "count", "(", "Node", ")", ")", "break", ";", "else", "IndexMap", "[", "Node", "]", "=", "0", ";", "assert", "(", "Node", "&&", "\"Dominator tree invalid!\"", ")", ";", "unsigned", "Numbering", "=", "IndexMap", "[", "Node", "]", ";", "if", "(", "Numbering", ">", "ResultIndex", ")", "{", "Result", "=", "Node", "->", "getBlock", "(", ")", ";", "ResultIndex", "=", "Numbering", ";", "ExplicitMentioned", "=", "Remember", "&&", "(", "Result", "==", "BB", ")", ";", "}", "else", "if", "(", "Numbering", "==", "ResultIndex", ")", "{", "ExplicitMentioned", "|=", "Remember", ";", "}", "}", ""], "natrual_language": ["Add", "block", "data", "."], "TS_V_token": ["R600", "0", "0", "1", "0", "\"Dominator tree invalid!\""], "File": "AMDGPUStructurizeCFG", "Func": "addBlock", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3723, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "PPC", "::", "LD", ":", "case", "PPC", "::", "LWZ", ":", "case", "PPC", "::", "LFS", ":", "case", "PPC", "::", "LFD", ":", "case", "PPC", "::", "RESTORE_CR", ":", "case", "PPC", "::", "RESTORE_CRBIT", ":", "case", "PPC", "::", "LVX", ":", "case", "PPC", "::", "LXVD2X", ":", "case", "PPC", "::", "RESTORE_VRSAVE", ":", "if", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", "&&", "!", "MI", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", "&&", "MI", "->", "getOperand", "(", "2", ")", ".", "isFI", "(", ")", ")", "{", "FrameIndex", "=", "MI", "->", "getOperand", "(", "2", ")", ".", "getIndex", "(", ")", ";", "return", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "}", "break", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["isLoadFromStackSlot", "-", "If", "the", "specified", "machine", "instruction", "is", "a", "direct", "load", "from", "a", "stack", "slot", ",", "return", "the", "virtual", "or", "physical", "register", "number", "of", "the", "destination", "along", "with", "the", "FrameIndex", "of", "the", "loaded", "stack", "slot", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::LD", "PPC::LWZ", "PPC::LFS", "PPC::LFD", "PPC::RESTORE_CR", "PPC::RESTORE_CRBIT", "PPC::LVX", "PPC::LXVD2X", "PPC::RESTORE_VRSAVE", "1", "1", "2", "2", "0", "0"], "File": "PPCInstrInfo1", "Func": "isLoadFromStackSlot", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3724, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "alpha_legitimize_address", "(", "rtx", "x", ",", "rtx", "oldx", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ")", "{", "rtx", "new_x", "=", "alpha_legitimize_address_1", "(", "x", ",", "NULL_RTX", ",", "mode", ")", ";", "return", "new_x", "?", "new_x", ":", "x", ";", "}", ""], "natrual_language": ["Try", "machine-dependent", "ways", "of", "modifying", "an", "illegitimate", "address", "to", "be", "legitimate", ".", "If", "we", "find", "one", ",", "return", "the", "new", ",", "valid", "address", "."], "TS_V_token": ["alpha"], "File": "alpha", "Func": "alpha_legitimize_address", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3725, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmPrinter", "::", "emitFrameDirective", "(", ")", "{", "const", "TargetRegisterInfo", "&", "RI", "=", "*", "MF", "->", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "Register", "stackReg", "=", "RI", ".", "getFrameRegister", "(", "*", "MF", ")", ";", "unsigned", "returnReg", "=", "RI", ".", "getRARegister", "(", ")", ";", "unsigned", "stackSize", "=", "MF", "->", "getFrameInfo", "(", ")", ".", "getStackSize", "(", ")", ";", "getTargetStreamer", "(", ")", ".", "emitFrame", "(", "stackReg", ",", "stackSize", ",", "returnReg", ")", ";", "}", ""], "natrual_language": ["Frame", "Directive", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsAsmPrinter (2)1", "Func": "emitFrameDirective", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3726, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "if", "(", "!", "MF", ".", "getFrameInfo", "(", ")", ".", "hasVarSizedObjects", "(", ")", ")", "{", "return", "false", ";", "}", "const", "AVRSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "AVRSubtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "MachineBasicBlock", "&", "EntryMBB", "=", "MF", ".", "front", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "EntryMBB", ".", "begin", "(", ")", ";", "DebugLoc", "DL", "=", "EntryMBB", ".", "findDebugLoc", "(", "MBBI", ")", ";", "Register", "SPCopy", "=", "MF", ".", "getRegInfo", "(", ")", ".", "createVirtualRegister", "(", "&", "AVR", "::", "DREGSRegClass", ")", ";", "BuildMI", "(", "EntryMBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "AVR", "::", "COPY", ")", ",", "SPCopy", ")", ".", "addReg", "(", "AVR", "::", "SP", ")", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "if", "(", "!", "MBB", ".", "empty", "(", ")", "&&", "MBB", ".", "back", "(", ")", ".", "isReturn", "(", ")", ")", "{", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "AVR", "::", "COPY", ")", ",", "AVR", "::", "SP", ")", ".", "addReg", "(", "SPCopy", ",", "RegState", "::", "Kill", ")", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AVR", "AVR", "AVR", "AVR::DREGSRegClass", "AVR::COPY", "AVR::SP", "AVR::COPY", "AVR::SP"], "File": "AVRFrameLowering16", "Func": "runOnMachineFunction", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3727, "Length": 210, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "pdp11_gen_int_label", "(", "char", "*", "label", ",", "const", "char", "*", "prefix", ",", "int", "num", ")", "{", "if", "(", "TARGET_DEC_ASM", ")", "sprintf", "(", "label", ",", "\"*%u$\"", ",", "num", "+", "1", ")", ";", "else", "sprintf", "(", "label", ",", "\"*%s_%u\"", ",", "prefix", ",", "num", ")", ";", "}", ""], "natrual_language": ["Build", "an", "internal", "label", "."], "TS_V_token": ["pdp11", "\"*%u$\"", "1", "\"*%s_%u\""], "File": "pdp11", "Func": "pdp11_gen_int_label", "Target": "pdp11", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3728, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LC2200DAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"== \"", ";", "Node", "->", "dump", "(", "CurDAG", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ")", ";", "Node", "->", "setNodeId", "(", "-", "1", ")", ";", "return", ";", "}", "unsigned", "Opcode", "=", "Node", "->", "getOpcode", "(", ")", ";", "MVT", "XLenVT", "=", "MVT", "::", "i32", ";", "SDLoc", "DL", "(", "Node", ")", ";", "EVT", "VT", "=", "Node", "->", "getValueType", "(", "0", ")", ";", "switch", "(", "Opcode", ")", "{", "case", "ISD", "::", "Constant", ":", "{", "auto", "ConstNode", "=", "cast", "<", "ConstantSDNode", ">", "(", "Node", ")", ";", "if", "(", "VT", "==", "XLenVT", "&&", "ConstNode", "->", "isNullValue", "(", ")", ")", "{", "SDValue", "New", "=", "CurDAG", "->", "getCopyFromReg", "(", "CurDAG", "->", "getEntryNode", "(", ")", ",", "SDLoc", "(", "Node", ")", ",", "LC2200", "::", "zero", ",", "XLenVT", ")", ";", "ReplaceNode", "(", "Node", ",", "New", ".", "getNode", "(", ")", ")", ";", "return", ";", "}", "int64_t", "Imm", "=", "ConstNode", "->", "getSExtValue", "(", ")", ";", "if", "(", "XLenVT", "==", "MVT", "::", "i32", ")", "{", "ReplaceNode", "(", "Node", ",", "selectImm", "(", "CurDAG", ",", "SDLoc", "(", "Node", ")", ",", "Imm", ",", "XLenVT", ")", ")", ";", "return", ";", "}", "break", ";", "}", "case", "ISD", "::", "FrameIndex", ":", "{", "SDValue", "Imm", "=", "CurDAG", "->", "getTargetConstant", "(", "0", ",", "DL", ",", "XLenVT", ")", ";", "int", "FI", "=", "cast", "<", "FrameIndexSDNode", ">", "(", "Node", ")", "->", "getIndex", "(", ")", ";", "SDValue", "TFI", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FI", ",", "VT", ")", ";", "ReplaceNode", "(", "Node", ",", "CurDAG", "->", "getMachineNode", "(", "LC2200", "::", "ADDI", ",", "DL", ",", "VT", ",", "TFI", ",", "Imm", ")", ")", ";", "return", ";", "}", "}", "SelectCode", "(", "Node", ")", ";", "}", ""], "natrual_language": ["Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "."], "TS_V_token": ["LC2200", "LC2200", "\"== \"", "\"\\n\"", "1", "MVT::i32", "0", "ISD::Constant", "LC2200::zero", "MVT::i32", "ISD::FrameIndex", "0", "LC2200::ADDI"], "File": "LC2200ISelDAGToDAG", "Func": "Select", "Target": "LC2200", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3729, "Length": 280, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "riscv_legitimize_move", "(", "machine_mode", "mode", ",", "rtx", "dest", ",", "rtx", "src", ")", "{", "if", "(", "!", "register_operand", "(", "dest", ",", "mode", ")", "&&", "!", "reg_or_0_operand", "(", "src", ",", "mode", ")", ")", "{", "riscv_emit_move", "(", "dest", ",", "force_reg", "(", "mode", ",", "src", ")", ")", ";", "return", "true", ";", "}", "if", "(", "CONSTANT_P", "(", "src", ")", "&&", "!", "move_operand", "(", "src", ",", "mode", ")", ")", "{", "riscv_legitimize_const_move", "(", "mode", ",", "dest", ",", "src", ")", ";", "set_unique_reg_note", "(", "get_last_insn", "(", ")", ",", "REG_EQUAL", ",", "copy_rtx", "(", "src", ")", ")", ";", "return", "true", ";", "}", "if", "(", "MEM_P", "(", "dest", ")", "&&", "!", "riscv_legitimate_address_p", "(", "mode", ",", "XEXP", "(", "dest", ",", "0", ")", ",", "reload_completed", ")", ")", "{", "XEXP", "(", "dest", ",", "0", ")", "=", "riscv_force_address", "(", "XEXP", "(", "dest", ",", "0", ")", ",", "mode", ")", ";", "}", "if", "(", "MEM_P", "(", "src", ")", "&&", "!", "riscv_legitimate_address_p", "(", "mode", ",", "XEXP", "(", "src", ",", "0", ")", ",", "reload_completed", ")", ")", "{", "XEXP", "(", "src", ",", "0", ")", "=", "riscv_force_address", "(", "XEXP", "(", "src", ",", "0", ")", ",", "mode", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["If", "(", "set", "DEST", "SRC", ")", "is", "not", "a", "valid", "move", "instruction", ",", "emit", "an", "equivalent", "sequence", "that", "is", "valid", "."], "TS_V_token": ["riscv", "0", "0", "0", "0", "0", "0"], "File": "riscv3", "Func": "riscv_legitimize_move", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3730, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "alpha_reorg", "(", "void", ")", "{", "if", "(", "current_function_has_exception_handlers", "(", ")", ")", "alpha_pad_function_end", "(", ")", ";", "}", ""], "natrual_language": ["Machine", "dependent", "reorg", "pass", "."], "TS_V_token": ["alpha"], "File": "alpha4", "Func": "alpha_reorg", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3731, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "WebAssemblyTargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "SDLoc", "DL", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "if", "(", "CallConv", "!=", "CallingConv", "::", "C", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly doesn't support non-C calling conventions\"", ")", ";", "if", "(", "IsVarArg", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly doesn't support varargs yet\"", ")", ";", "if", "(", "MF", ".", "getFunction", "(", ")", "->", "hasStructRetAttr", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly doesn't support struct return yet\"", ")", ";", "unsigned", "ArgNo", "=", "0", ";", "for", "(", "const", "ISD", "::", "InputArg", "&", "In", ":", "Ins", ")", "{", "if", "(", "In", ".", "Flags", ".", "isZExt", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly hasn't implemented zext arguments\"", ")", ";", "if", "(", "In", ".", "Flags", ".", "isSExt", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly hasn't implemented sext arguments\"", ")", ";", "if", "(", "In", ".", "Flags", ".", "isInReg", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly hasn't implemented inreg arguments\"", ")", ";", "if", "(", "In", ".", "Flags", ".", "isSRet", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly hasn't implemented sret arguments\"", ")", ";", "if", "(", "In", ".", "Flags", ".", "isByVal", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly hasn't implemented byval arguments\"", ")", ";", "if", "(", "In", ".", "Flags", ".", "isInAlloca", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly hasn't implemented inalloca arguments\"", ")", ";", "if", "(", "In", ".", "Flags", ".", "isNest", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly hasn't implemented nest arguments\"", ")", ";", "if", "(", "In", ".", "Flags", ".", "isReturned", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly hasn't implemented returned arguments\"", ")", ";", "if", "(", "In", ".", "Flags", ".", "isInConsecutiveRegs", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly hasn't implemented cons regs arguments\"", ")", ";", "if", "(", "In", ".", "Flags", ".", "isInConsecutiveRegsLast", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly hasn't implemented cons regs last arguments\"", ")", ";", "if", "(", "In", ".", "Flags", ".", "isSplit", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly hasn't implemented split arguments\"", ")", ";", "InVals", ".", "push_back", "(", "In", ".", "Used", "?", "DAG", ".", "getNode", "(", "WebAssemblyISD", "::", "ARGUMENT", ",", "DL", ",", "In", ".", "VT", ",", "DAG", ".", "getTargetConstant", "(", "ArgNo", ",", "DL", ",", "MVT", "::", "i32", ")", ")", ":", "DAG", ".", "getNode", "(", "ISD", "::", "UNDEF", ",", "DL", ",", "In", ".", "VT", ")", ")", ";", "++", "ArgNo", ";", "}", "return", "Chain", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "the", "Ins", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "ISD::InputArg", "\"WebAssembly doesn't support non-C calling conventions\"", "\"WebAssembly doesn't support varargs yet\"", "\"WebAssembly doesn't support struct return yet\"", "0", "ISD::InputArg", "\"WebAssembly hasn't implemented zext arguments\"", "\"WebAssembly hasn't implemented sext arguments\"", "\"WebAssembly hasn't implemented inreg arguments\"", "\"WebAssembly hasn't implemented sret arguments\"", "\"WebAssembly hasn't implemented byval arguments\"", "\"WebAssembly hasn't implemented inalloca arguments\"", "\"WebAssembly hasn't implemented nest arguments\"", "\"WebAssembly hasn't implemented returned arguments\"", "\"WebAssembly hasn't implemented cons regs arguments\"", "\"WebAssembly hasn't implemented cons regs last arguments\"", "\"WebAssembly hasn't implemented split arguments\"", "WebAssemblyISD::ARGUMENT", "MVT::i32", "ISD::UNDEF"], "File": "WebAssemblyISelLowering57", "Func": "LowerFormalArguments", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3732, "Length": 389, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "X86Operand", "*", "CreateMem", "(", "unsigned", "SegReg", ",", "const", "MCExpr", "*", "Disp", ",", "unsigned", "BaseReg", ",", "unsigned", "IndexReg", ",", "unsigned", "Scale", ",", "SMLoc", "StartLoc", ",", "SMLoc", "EndLoc", ",", "unsigned", "Size", "=", "0", ",", "StringRef", "SymName", "=", "StringRef", "(", ")", ",", "void", "*", "OpDecl", "=", "nullptr", ")", "{", "assert", "(", "(", "SegReg", "||", "BaseReg", "||", "IndexReg", ")", "&&", "\"Invalid memory operand!\"", ")", ";", "assert", "(", "(", "(", "Scale", "==", "1", "||", "Scale", "==", "2", "||", "Scale", "==", "4", "||", "Scale", "==", "8", ")", ")", "&&", "\"Invalid scale!\"", ")", ";", "X86Operand", "*", "Res", "=", "new", "X86Operand", "(", "Memory", ",", "StartLoc", ",", "EndLoc", ")", ";", "Res", "->", "Mem", ".", "SegReg", "=", "SegReg", ";", "Res", "->", "Mem", ".", "Disp", "=", "Disp", ";", "Res", "->", "Mem", ".", "BaseReg", "=", "BaseReg", ";", "Res", "->", "Mem", ".", "IndexReg", "=", "IndexReg", ";", "Res", "->", "Mem", ".", "Scale", "=", "Scale", ";", "Res", "->", "Mem", ".", "Size", "=", "Size", ";", "Res", "->", "SymName", "=", "SymName", ";", "Res", "->", "OpDecl", "=", "OpDecl", ";", "Res", "->", "AddressOf", "=", "false", ";", "return", "Res", ";", "}", ""], "natrual_language": ["Create", "a", "generalized", "memory", "operand", "."], "TS_V_token": ["X86", "X86", "0", "\"Invalid memory operand!\"", "1", "2", "4", "8", "\"Invalid scale!\"", "X86", "X86"], "File": "X86Operand20", "Func": "CreateMem", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3733, "Length": 169, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "AMDGPUAsmBackend", "::", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "AMDGPU", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"fixup_si_sopp_br\"", ",", "0", ",", "16", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "}", ";", "if", "(", "Kind", "<", "FirstTargetFixupKind", ")", "return", "MCAsmBackend", "::", "getFixupKindInfo", "(", "Kind", ")", ";", "return", "Infos", "[", "Kind", "-", "FirstTargetFixupKind", "]", ";", "}", ""], "natrual_language": ["Get", "information", "on", "a", "fixup", "kind", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU::NumTargetFixupKinds", "\"fixup_si_sopp_br\"", "0", "16"], "File": "AMDGPUAsmBackend (2)1", "Func": "getFixupKindInfo", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3734, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "IntrinsicVector", "&", "getBase", "(", ")", "const", "{", "return", "Base", ";", "}", ""], "natrual_language": ["Returns", "the", "base", "of", "this", "range", "."], "TS_V_token": ["TPC"], "File": "TPCMapCompoundInst", "Func": "getBase", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3735, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "ARCTargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "const", "SDLoc", "&", "dl", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "auto", "*", "AFI", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getInfo", "<", "ARCFunctionInfo", ">", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getFrameInfo", "(", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "if", "(", "!", "IsVarArg", ")", "CCInfo", ".", "AllocateStack", "(", "AFI", "->", "getReturnStackOffset", "(", ")", ",", "4", ")", ";", "CCInfo", ".", "AnalyzeReturn", "(", "Outs", ",", "RetCC_ARC", ")", ";", "SDValue", "Flag", ";", "SmallVector", "<", "SDValue", ",", "4", ">", "RetOps", "(", "1", ",", "Chain", ")", ";", "SmallVector", "<", "SDValue", ",", "4", ">", "MemOpChains", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "RVLocs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "if", "(", "VA", ".", "isRegLoc", "(", ")", ")", "continue", ";", "assert", "(", "VA", ".", "isMemLoc", "(", ")", ")", ";", "if", "(", "IsVarArg", ")", "{", "report_fatal_error", "(", "\"Can't return value from vararg function in memory\"", ")", ";", "}", "int", "Offset", "=", "VA", ".", "getLocMemOffset", "(", ")", ";", "unsigned", "ObjSize", "=", "VA", ".", "getLocVT", "(", ")", ".", "getStoreSize", "(", ")", ";", "int", "FI", "=", "MFI", ".", "CreateFixedObject", "(", "ObjSize", ",", "Offset", ",", "false", ")", ";", "SDValue", "FIN", "=", "DAG", ".", "getFrameIndex", "(", "FI", ",", "MVT", "::", "i32", ")", ";", "MemOpChains", ".", "push_back", "(", "DAG", ".", "getStore", "(", "Chain", ",", "dl", ",", "OutVals", "[", "i", "]", ",", "FIN", ",", "MachinePointerInfo", "::", "getFixedStack", "(", "DAG", ".", "getMachineFunction", "(", ")", ",", "FI", ")", ")", ")", ";", "}", "if", "(", "!", "MemOpChains", ".", "empty", "(", ")", ")", "Chain", "=", "DAG", ".", "getNode", "(", "ISD", "::", "TokenFactor", ",", "dl", ",", "MVT", "::", "Other", ",", "MemOpChains", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "RVLocs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "RVLocs", "[", "i", "]", ";", "if", "(", "!", "VA", ".", "isRegLoc", "(", ")", ")", "continue", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "OutVals", "[", "i", "]", ",", "Flag", ")", ";", "Flag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "RetOps", ".", "push_back", "(", "DAG", ".", "getRegister", "(", "VA", ".", "getLocReg", "(", ")", ",", "VA", ".", "getLocVT", "(", ")", ")", ")", ";", "}", "RetOps", "[", "0", "]", "=", "Chain", ";", "if", "(", "Flag", ".", "getNode", "(", ")", ")", "RetOps", ".", "push_back", "(", "Flag", ")", ";", "return", "DAG", ".", "getNode", "(", "ARCISD", "::", "RET", ",", "dl", ",", "MVT", "::", "Other", ",", "RetOps", ")", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "outgoing", "return", "values", ",", "described", "by", "the", "Outs", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["ARC", "ARC", "ISD::OutputArg", "ARC", "16", "4", "ARC", "4", "1", "4", "0", "\"Can't return value from vararg function in memory\"", "MVT::i32", "ISD::TokenFactor", "MVT::Other", "0", "1", "0", "ARCISD::RET", "MVT::Other"], "File": "ARCISelLowering", "Func": "LowerReturn", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3736, "Length": 473, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sparc_asm_function_epilogue", "(", "FILE", "*", "file", ",", "HOST_WIDE_INT", "size", "ATTRIBUTE_UNUSED", ")", "{", "rtx", "insn", ",", "last_real_insn", ";", "insn", "=", "get_last_insn", "(", ")", ";", "last_real_insn", "=", "prev_real_insn", "(", "insn", ")", ";", "if", "(", "last_real_insn", "&&", "GET_CODE", "(", "last_real_insn", ")", "==", "INSN", "&&", "GET_CODE", "(", "PATTERN", "(", "last_real_insn", ")", ")", "==", "SEQUENCE", ")", "last_real_insn", "=", "XVECEXP", "(", "PATTERN", "(", "last_real_insn", ")", ",", "0", ",", "0", ")", ";", "if", "(", "last_real_insn", "&&", "GET_CODE", "(", "last_real_insn", ")", "==", "CALL_INSN", ")", "fputs", "(", "\"\\tnop\\n\"", ",", "file", ")", ";", "sparc_output_deferred_case_vectors", "(", ")", ";", "}", ""], "natrual_language": ["This", "function", "generates", "the", "assembly", "code", "for", "function", "exit", "."], "TS_V_token": ["sparc", "0", "0", "\"\\tnop\\n\""], "File": "sparc3", "Func": "sparc_asm_function_epilogue", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3737, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMPassConfig", "::", "addPreSched2", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "if", "(", "EnableARMLoadStoreOpt", ")", "addPass", "(", "createARMLoadStoreOptimizationPass", "(", ")", ")", ";", "addPass", "(", "new", "ARMExecutionDomainFix", "(", ")", ")", ";", "addPass", "(", "createBreakFalseDeps", "(", ")", ")", ";", "}", "addPass", "(", "createARMExpandPseudoPass", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createThumb2SizeReductionPass", "(", "[", "this", "]", "(", "const", "Function", "&", "F", ")", "{", "return", "this", "->", "TM", "->", "getSubtarget", "<", "ARMSubtarget", ">", "(", "F", ")", ".", "hasMinSize", "(", ")", "||", "this", "->", "TM", "->", "getSubtarget", "<", "ARMSubtarget", ">", "(", "F", ")", ".", "restrictIT", "(", ")", ";", "}", ")", ")", ";", "addPass", "(", "createIfConverter", "(", "[", "]", "(", "const", "MachineFunction", "&", "MF", ")", "{", "return", "!", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "isThumb1Only", "(", ")", ";", "}", ")", ")", ";", "}", "addPass", "(", "createMVEVPTBlockPass", "(", ")", ")", ";", "addPass", "(", "createThumb2ITBlockPass", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "&", "PostMachineSchedulerID", ")", ";", "addPass", "(", "&", "PostRASchedulerID", ")", ";", "}", "addPass", "(", "createARMIndirectThunks", "(", ")", ")", ";", "addPass", "(", "createARMSLSHardeningPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "after", "prolog-epilog", "insertion", "and", "before", "the", "second", "instruction", "scheduling", "pass", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM"], "File": "ARMTargetMachine1", "Func": "addPreSched2", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3738, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "*", "PPCInstrInfo", "::", "CreateTargetPostRAHazardRecognizer", "(", "const", "InstrItineraryData", "*", "II", ",", "const", "ScheduleDAG", "*", "DAG", ")", "const", "{", "unsigned", "Directive", "=", "TM", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "getDarwinDirective", "(", ")", ";", "if", "(", "Directive", "!=", "PPC", "::", "DIR_440", "&&", "Directive", "!=", "PPC", "::", "DIR_A2", ")", "{", "const", "TargetInstrInfo", "*", "TII", "=", "TM", ".", "getInstrInfo", "(", ")", ";", "assert", "(", "TII", "&&", "\"No InstrInfo?\"", ")", ";", "return", "new", "PPCHazardRecognizer970", "(", "*", "TII", ")", ";", "}", "return", "new", "PPCScoreboardHazardRecognizer", "(", "II", ",", "DAG", ")", ";", "}", ""], "natrual_language": ["Allocate", "and", "return", "a", "hazard", "recognizer", "to", "use", "for", "by", "non-scheduling", "passes", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC::DIR_440", "PPC::DIR_A2", "\"No InstrInfo?\"", "PPC", "PPC"], "File": "PPCInstrInfo45", "Func": "CreateTargetPostRAHazardRecognizer", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3739, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseInstrInfo", "::", "expandPostRAPseudo", "(", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "LOAD_STACK_GUARD", ")", "{", "assert", "(", "getSubtarget", "(", ")", ".", "getTargetTriple", "(", ")", ".", "isOSBinFormatMachO", "(", ")", "&&", "\"LOAD_STACK_GUARD currently supported only for MachO.\"", ")", ";", "expandLoadStackGuard", "(", "MI", ")", ";", "MI", ".", "getParent", "(", ")", "->", "erase", "(", "MI", ")", ";", "return", "true", ";", "}", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "ARM", "::", "MEMCPY", ")", "{", "expandMEMCPY", "(", "MI", ")", ";", "return", "true", ";", "}", "if", "(", "!", "MI", ".", "isCopy", "(", ")", "||", "Subtarget", ".", "dontWidenVMOVS", "(", ")", "||", "Subtarget", ".", "isFPOnlySP", "(", ")", ")", "return", "false", ";", "unsigned", "DstRegS", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "unsigned", "SrcRegS", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "if", "(", "!", "ARM", "::", "SPRRegClass", ".", "contains", "(", "DstRegS", ",", "SrcRegS", ")", ")", "return", "false", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "&", "getRegisterInfo", "(", ")", ";", "unsigned", "DstRegD", "=", "TRI", "->", "getMatchingSuperReg", "(", "DstRegS", ",", "ARM", "::", "ssub_0", ",", "&", "ARM", "::", "DPRRegClass", ")", ";", "unsigned", "SrcRegD", "=", "TRI", "->", "getMatchingSuperReg", "(", "SrcRegS", ",", "ARM", "::", "ssub_0", ",", "&", "ARM", "::", "DPRRegClass", ")", ";", "if", "(", "!", "DstRegD", "||", "!", "SrcRegD", ")", "return", "false", ";", "if", "(", "!", "MI", ".", "definesRegister", "(", "DstRegD", ",", "TRI", ")", "||", "MI", ".", "readsRegister", "(", "DstRegD", ",", "TRI", ")", ")", "return", "false", ";", "if", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "isDead", "(", ")", ")", "return", "false", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"widening: \"", "<<", "MI", ")", ";", "MachineInstrBuilder", "MIB", "(", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ",", "MI", ")", ";", "int", "ImpDefIdx", "=", "MI", ".", "findRegisterDefOperandIdx", "(", "DstRegD", ")", ";", "if", "(", "ImpDefIdx", "!=", "-", "1", ")", "MI", ".", "RemoveOperand", "(", "ImpDefIdx", ")", ";", "MI", ".", "setDesc", "(", "get", "(", "ARM", "::", "VMOVD", ")", ")", ";", "MI", ".", "getOperand", "(", "0", ")", ".", "setReg", "(", "DstRegD", ")", ";", "MI", ".", "getOperand", "(", "1", ")", ".", "setReg", "(", "SrcRegD", ")", ";", "MIB", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "MI", ".", "getOperand", "(", "1", ")", ".", "setIsUndef", "(", ")", ";", "MIB", ".", "addReg", "(", "SrcRegS", ",", "RegState", "::", "Implicit", ")", ";", "if", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "isKill", "(", ")", ")", "{", "MI", ".", "getOperand", "(", "1", ")", ".", "setIsKill", "(", "false", ")", ";", "MI", ".", "addRegisterKilled", "(", "SrcRegS", ",", "TRI", ",", "true", ")", ";", "}", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"replaced by: \"", "<<", "MI", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "function", "is", "called", "for", "all", "pseudo", "instructions", "that", "remain", "after", "register", "allocation", "."], "TS_V_token": ["ARM", "ARM", "\"LOAD_STACK_GUARD currently supported only for MachO.\"", "ARM::MEMCPY", "0", "1", "ARM::SPRRegClass", "ARM::ssub_0", "ARM::DPRRegClass", "ARM::ssub_0", "ARM::DPRRegClass", "0", "\"widening: \"", "1", "ARM::VMOVD", "0", "1", "ARMCC::AL", "1", "1", "1", "\"replaced by: \""], "File": "ARMBaseInstrInfo103", "Func": "expandPostRAPseudo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3740, "Length": 426, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCInstrInfo", "::", "getMemOperandsWithOffsetWidth", "(", "const", "MachineInstr", "&", "LdSt", ",", "SmallVectorImpl", "<", "const", "MachineOperand", "*", ">", "&", "BaseOps", ",", "int64_t", "&", "Offset", ",", "bool", "&", "OffsetIsScalable", ",", "unsigned", "&", "Width", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "const", "MachineOperand", "*", "BaseOp", ";", "OffsetIsScalable", "=", "false", ";", "if", "(", "!", "getMemOperandWithOffsetWidth", "(", "LdSt", ",", "BaseOp", ",", "Offset", ",", "Width", ",", "TRI", ")", ")", "return", "false", ";", "BaseOps", ".", "push_back", "(", "BaseOp", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Get", "zero", "or", "more", "base", "operands", "and", "the", "byte", "offset", "of", "an", "instruction", "that", "reads/writes", "memory", "."], "TS_V_token": ["PowerPC", "PPC"], "File": "PPCInstrInfo", "Func": "getMemOperandsWithOffsetWidth", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3741, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "TargetTransformInfo", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["PowerPC"], "File": "PPCTargetTransformInfo26", "Func": "getAnalysisUsage", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3742, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MBlazeAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "if", "(", "ExtraCode", "[", "1", "]", "!=", "0", ")", "return", "true", ";", "switch", "(", "ExtraCode", "[", "0", "]", ")", "{", "default", ":", "return", "AsmPrinter", "::", "PrintAsmOperand", "(", "MI", ",", "OpNo", ",", "AsmVariant", ",", "ExtraCode", ",", "O", ")", ";", "}", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["MBlaze", "MBlaze", "0", "1", "0", "0"], "File": "MBlazeAsmPrinter11", "Func": "PrintAsmOperand", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3743, "Length": 87, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "riscv_compressed_lw_address_p", "(", "rtx", "x", ")", "{", "struct", "riscv_address_info", "addr", ";", "bool", "result", "=", "riscv_classify_address", "(", "&", "addr", ",", "x", ",", "GET_MODE", "(", "x", ")", ",", "reload_completed", ")", ";", "if", "(", "!", "result", "||", "addr", ".", "type", "!=", "ADDRESS_REG", "||", "(", "reload_completed", "&&", "!", "riscv_compressed_reg_p", "(", "REGNO", "(", "addr", ".", "reg", ")", ")", "&&", "addr", ".", "reg", "!=", "stack_pointer_rtx", ")", "||", "!", "riscv_compressed_lw_offset_p", "(", "addr", ".", "offset", ")", ")", "return", "false", ";", "return", "result", ";", "}", ""], "natrual_language": ["Return", "true", "if", "load/store", "from/to", "address", "x", "can", "be", "compressed", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_compressed_lw_address_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3744, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AMDGPUPassConfig", "::", "addCodeGenPrepare", "(", ")", "{", "const", "AMDGPUSubtarget", "&", "ST", "=", "TM", "->", "getSubtarget", "<", "AMDGPUSubtarget", ">", "(", ")", ";", "if", "(", "ST", ".", "isPromoteAllocaEnabled", "(", ")", ")", "{", "addPass", "(", "createAMDGPUPromoteAlloca", "(", "ST", ")", ")", ";", "addPass", "(", "createSROAPass", "(", ")", ")", ";", "}", "TargetPassConfig", "::", "addCodeGenPrepare", "(", ")", ";", "}", ""], "natrual_language": ["Add", "pass", "to", "prepare", "the", "LLVM", "IR", "for", "code", "generation", "."], "TS_V_token": ["R600"], "File": "AMDGPUTargetMachine100", "Func": "addCodeGenPrepare", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3745, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MipsTargetLowering", "::", "ConstraintType", "MipsTargetLowering", "::", "getConstraintType", "(", "const", "std", "::", "string", "&", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'d'", ":", "case", "'y'", ":", "case", "'f'", ":", "case", "'c'", ":", "case", "'l'", ":", "case", "'x'", ":", "return", "C_RegisterClass", ";", "case", "'R'", ":", "return", "C_Memory", ";", "}", "}", "return", "TargetLowering", "::", "getConstraintType", "(", "Constraint", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constraint", "letter", ",", "return", "the", "type", "of", "constraint", "for", "this", "target", "."], "TS_V_token": ["Mips", "Mips", "Mips", "1", "0"], "File": "MipsISelLowering (2)", "Func": "getConstraintType", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3746, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCRegisterInfo", "*", "getRegInfo", "(", ")", "const", "{", "return", "RegInfo", ";", "}", ""], "natrual_language": ["getRegInfo", "-", "Return", "information", "about", "the", "registers", "currently", "in", "use", "."], "TS_V_token": ["OR1K"], "File": "OR1KDisassembler", "Func": "getRegInfo", "Target": "OR1K", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3747, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "char", "csky_class_max_nregs", "(", "reg_class_t", "rclass", ",", "machine_mode", "mode", ")", "{", "if", "(", "rclass", "==", "V_REGS", ")", "return", "1", ";", "else", "return", "CSKY_NUM_REGS", "(", "mode", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CLASS_MAX_NREGS", ".", "Return", "the", "maximum", "number", "of", "consecutive", "registers", "of", "class", "rclass", "needed", "to", "hold", "a", "value", "of", "mode", "mode", ".", "On", "the", "csky", ",", "this", "is", "the", "size", "of", "MODE", "in", "words", ",", "except", "in", "the", "FP", "regs", ",", "where", "a", "single", "reg", "is", "always", "enough", "."], "TS_V_token": ["csky", "1"], "File": "csky", "Func": "csky_class_max_nregs", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3748, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "BTFKindDataSec", "::", "emitType", "(", "MCStreamer", "&", "OS", ")", "{", "BTFTypeBase", "::", "emitType", "(", "OS", ")", ";", "for", "(", "const", "auto", "&", "V", ":", "Vars", ")", "{", "OS", ".", "EmitIntValue", "(", "std", "::", "get", "<", "0", ">", "(", "V", ")", ",", "4", ")", ";", "Asm", "->", "EmitLabelReference", "(", "std", "::", "get", "<", "1", ">", "(", "V", ")", ",", "4", ")", ";", "OS", ".", "EmitIntValue", "(", "std", "::", "get", "<", "2", ">", "(", "V", ")", ",", "4", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "types", "for", "this", "BTF", "type", "entry", "."], "TS_V_token": ["BPF", "BTFTypeBase::emitType", "0", "4", "1", "4", "2", "4"], "File": "BTFDebug11", "Func": "emitType", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3749, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "X86Operand", "*", "CreateReg", "(", "unsigned", "RegNo", ",", "SMLoc", "StartLoc", ",", "SMLoc", "EndLoc", ",", "SMLoc", "OffsetOfLoc", "=", "SMLoc", "(", ")", ")", "{", "X86Operand", "*", "Res", "=", "new", "X86Operand", "(", "Register", ",", "StartLoc", ",", "EndLoc", ")", ";", "Res", "->", "Reg", ".", "RegNo", "=", "RegNo", ";", "Res", "->", "OffsetOfLoc", "=", "OffsetOfLoc", ";", "return", "Res", ";", "}", ""], "natrual_language": ["CreateReg", "-", "Allocate", "a", "single", "virtual", "register", "for", "the", "given", "type", "."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86AsmParser10", "Func": "CreateReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3750, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64ConditionalCompares", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** ARM64 Conditional Compares **********\\n\"", "<<", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "TII", "=", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "MF", ".", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "SchedModel", "=", "MF", ".", "getTarget", "(", ")", ".", "getSubtarget", "<", "TargetSubtargetInfo", ">", "(", ")", ".", "getSchedModel", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "DomTree", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "Loops", "=", "getAnalysisIfAvailable", "<", "MachineLoopInfo", ">", "(", ")", ";", "Traces", "=", "&", "getAnalysis", "<", "MachineTraceMetrics", ">", "(", ")", ";", "MinInstr", "=", "nullptr", ";", "MinSize", "=", "MF", ".", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "MinSize", ")", ";", "bool", "Changed", "=", "false", ";", "CmpConv", ".", "runOnMachineFunction", "(", "MF", ")", ";", "for", "(", "auto", "*", "I", ":", "depth_first", "(", "DomTree", ")", ")", "if", "(", "tryConvert", "(", "I", "->", "getBlock", "(", ")", ")", ")", "Changed", "=", "true", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM64", "ARM64", "\"********** ARM64 Conditional Compares **********\\n\"", "\"********** Function: \""], "File": "ARM64ConditionalCompares", "Func": "runOnMachineFunction", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3751, "Length": 179, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "MCAsmInfo", "*", "createMCAsmInfo", "(", "const", "MCRegisterInfo", "&", "MRI", ",", "StringRef", "TT", ")", "{", "return", "new", "MBlazeMCAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["createMCAsmInfo", "-", "Create", "a", "MCAsmInfo", "implementation", "for", "the", "specified", "target", "triple", "."], "TS_V_token": ["MBlaze", "MBlaze"], "File": "MBlazeMCTargetDesc2", "Func": "createMCAsmInfo", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3752, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SITargetLowering", "::", "AdjustInstrPostInstrSelection", "(", "MachineInstr", "*", "MI", ",", "SDNode", "*", "Node", ")", "const", "{", "const", "SIInstrInfo", "*", "TII", "=", "static_cast", "<", "const", "SIInstrInfo", "*", ">", "(", "Subtarget", "->", "getInstrInfo", "(", ")", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "if", "(", "TII", "->", "isVOP3", "(", "MI", "->", "getOpcode", "(", ")", ")", ")", "{", "TII", "->", "legalizeOperandsVOP3", "(", "MRI", ",", "MI", ")", ";", "return", ";", "}", "if", "(", "TII", "->", "isMIMG", "(", "*", "MI", ")", ")", "{", "unsigned", "VReg", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "unsigned", "Writemask", "=", "MI", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "unsigned", "BitsSet", "=", "0", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "4", ";", "++", "i", ")", "BitsSet", "+=", "Writemask", "&", "(", "1", "<<", "i", ")", "?", "1", ":", "0", ";", "const", "TargetRegisterClass", "*", "RC", ";", "switch", "(", "BitsSet", ")", "{", "default", ":", "return", ";", "case", "1", ":", "RC", "=", "&", "AMDGPU", "::", "VGPR_32RegClass", ";", "break", ";", "case", "2", ":", "RC", "=", "&", "AMDGPU", "::", "VReg_64RegClass", ";", "break", ";", "case", "3", ":", "RC", "=", "&", "AMDGPU", "::", "VReg_96RegClass", ";", "break", ";", "}", "unsigned", "NewOpcode", "=", "TII", "->", "getMaskedMIMGOp", "(", "MI", "->", "getOpcode", "(", ")", ",", "BitsSet", ")", ";", "MI", "->", "setDesc", "(", "TII", "->", "get", "(", "NewOpcode", ")", ")", ";", "MRI", ".", "setRegClass", "(", "VReg", ",", "RC", ")", ";", "return", ";", "}", "int", "NoRetAtomicOp", "=", "AMDGPU", "::", "getAtomicNoRetOp", "(", "MI", "->", "getOpcode", "(", ")", ")", ";", "if", "(", "NoRetAtomicOp", "!=", "-", "1", ")", "{", "if", "(", "!", "Node", "->", "hasAnyUseOfValue", "(", "0", ")", ")", "{", "MI", "->", "setDesc", "(", "TII", "->", "get", "(", "NoRetAtomicOp", ")", ")", ";", "MI", "->", "RemoveOperand", "(", "0", ")", ";", "}", "return", ";", "}", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'hasPostISelHook", "'", "flag", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "0", "1", "0", "0", "4", "1", "1", "0", "1", "AMDGPU::VGPR_32RegClass", "2", "AMDGPU::VReg_64RegClass", "3", "AMDGPU::VReg_96RegClass", "AMDGPU::getAtomicNoRetOp", "1", "0", "0"], "File": "SIISelLowering (2)", "Func": "AdjustInstrPostInstrSelection", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3753, "Length": 298, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "same_cmp_preceding_p", "(", "rtx", "i3", ")", "{", "rtx_insn", "*", "i1", ",", "*", "i2", ";", "i2", "=", "prev_nonnote_insn", "(", "i3", ")", ";", "if", "(", "i2", "==", "NULL", ")", "return", "0", ";", "i1", "=", "prev_nonnote_insn", "(", "i2", ")", ";", "if", "(", "i1", "==", "NULL", ")", "return", "0", ";", "return", "(", "INSN_P", "(", "i1", ")", "&&", "rtx_equal_p", "(", "PATTERN", "(", "i1", ")", ",", "PATTERN", "(", "i3", ")", ")", "&&", "any_condjump_p", "(", "i2", ")", "&&", "onlyjump_p", "(", "i2", ")", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "we", "have", "the", "same", "comparison", "insn", "as", "I3", "two", "insns", "before", "I3", ".", "I3", "is", "assumed", "to", "be", "a", "comparison", "insn", "."], "TS_V_token": ["h8300", "0", "0"], "File": "h83004", "Func": "same_cmp_preceding_p", "Target": "h8300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3754, "Length": 78, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86MacroFusion", "::", "apply", "(", "ScheduleDAGInstrs", "*", "DAGInstrs", ")", "{", "ScheduleDAGMI", "*", "DAG", "=", "static_cast", "<", "ScheduleDAGMI", "*", ">", "(", "DAGInstrs", ")", ";", "const", "X86Subtarget", "&", "ST", "=", "DAG", "->", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "SUnit", "&", "ExitSU", "=", "DAG", "->", "ExitSU", ";", "MachineInstr", "*", "Branch", "=", "ExitSU", ".", "getInstr", "(", ")", ";", "if", "(", "!", "shouldScheduleAdjacent", "(", "ST", ",", "nullptr", ",", "Branch", ")", ")", "return", ";", "for", "(", "SDep", "&", "PredDep", ":", "ExitSU", ".", "Preds", ")", "{", "if", "(", "PredDep", ".", "isWeak", "(", ")", ")", "continue", ";", "SUnit", "&", "SU", "=", "*", "PredDep", ".", "getSUnit", "(", ")", ";", "MachineInstr", "&", "Pred", "=", "*", "SU", ".", "getInstr", "(", ")", ";", "if", "(", "!", "shouldScheduleAdjacent", "(", "ST", ",", "&", "Pred", ",", "Branch", ")", ")", "continue", ";", "bool", "Success", "=", "DAG", "->", "addEdge", "(", "&", "ExitSU", ",", "SDep", "(", "&", "SU", ",", "SDep", "::", "Cluster", ")", ")", ";", "(", "void", ")", "Success", ";", "assert", "(", "Success", "&&", "\"No DAG nodes should be reachable from ExitSU\"", ")", ";", "for", "(", "SDep", "&", "PredDep", ":", "ExitSU", ".", "Preds", ")", "if", "(", "PredDep", ".", "getSUnit", "(", ")", "==", "&", "SU", ")", "PredDep", ".", "setLatency", "(", "0", ")", ";", "for", "(", "SDep", "&", "SuccDep", ":", "SU", ".", "Succs", ")", "if", "(", "SuccDep", ".", "getSUnit", "(", ")", "==", "&", "ExitSU", ")", "SuccDep", ".", "setLatency", "(", "0", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Macro fuse \"", ";", "SU", ".", "print", "(", "dbgs", "(", ")", ",", "DAG", ")", ";", "dbgs", "(", ")", "<<", "\" - ExitSU\"", "<<", "'\\n'", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["Apply", "the", "profile", "inference", "algorithm", "for", "a", "given", "function", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "\"No DAG nodes should be reachable from ExitSU\"", "0", "0", "\"Macro fuse \"", "\" - ExitSU\""], "File": "X86MacroFusion18", "Func": "apply", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3755, "Length": 250, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ScheduleDAGPostRA", "::", "finishBlock", "(", ")", "{", "if", "(", "AntiDepBreak", "!=", "NULL", ")", "AntiDepBreak", "->", "FinishBlock", "(", ")", ";", "fixupKills", "(", "BB", ")", ";", "ScheduleDAGInstrs", "::", "finishBlock", "(", ")", ";", "}", ""], "natrual_language": ["Clean", "up", "after", "the", "software", "pipeliner", "runs", "."], "TS_V_token": ["Patmos"], "File": "PatmosPostRAScheduler", "Func": "finishBlock", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 3756, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "ConstraintType", "SystemZTargetLowering", "::", "getConstraintType", "(", "StringRef", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'a'", ":", "case", "'d'", ":", "case", "'f'", ":", "case", "'h'", ":", "case", "'r'", ":", "case", "'v'", ":", "return", "C_RegisterClass", ";", "case", "'Q'", ":", "case", "'R'", ":", "case", "'S'", ":", "case", "'T'", ":", "case", "'m'", ":", "return", "C_Memory", ";", "case", "'I'", ":", "case", "'J'", ":", "case", "'K'", ":", "case", "'L'", ":", "case", "'M'", ":", "return", "C_Other", ";", "default", ":", "break", ";", "}", "}", "return", "TargetLowering", "::", "getConstraintType", "(", "Constraint", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constraint", "letter", ",", "return", "the", "type", "of", "constraint", "for", "this", "target", "."], "TS_V_token": ["SystemZ", "SystemZ", "1", "0"], "File": "SystemZISelLowering", "Func": "getConstraintType", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3757, "Length": 103, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "pa_output_global_address", "(", "FILE", "*", "file", ",", "rtx", "x", ",", "int", "round_constant", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "HIGH", ")", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "read_only_operand", "(", "x", ",", "VOIDmode", ")", ")", "output_addr_const", "(", "file", ",", "x", ")", ";", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "!", "flag_pic", ")", "{", "output_addr_const", "(", "file", ",", "x", ")", ";", "fputs", "(", "\"-$global$\"", ",", "file", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST", ")", "{", "const", "char", "*", "sep", "=", "\"\"", ";", "int", "offset", "=", "0", ";", "rtx", "base", "=", "NULL_RTX", ";", "switch", "(", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "0", ")", ")", ")", "{", "case", "LABEL_REF", ":", "case", "SYMBOL_REF", ":", "base", "=", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "0", ")", ";", "output_addr_const", "(", "file", ",", "base", ")", ";", "break", ";", "case", "CONST_INT", ":", "offset", "=", "INTVAL", "(", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "0", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "switch", "(", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "1", ")", ")", ")", "{", "case", "LABEL_REF", ":", "case", "SYMBOL_REF", ":", "base", "=", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "1", ")", ";", "output_addr_const", "(", "file", ",", "base", ")", ";", "break", ";", "case", "CONST_INT", ":", "offset", "=", "INTVAL", "(", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "1", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "round_constant", ")", "offset", "=", "(", "(", "offset", "+", "0x1000", ")", "&", "~", "0x1fff", ")", ";", "switch", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", ")", "{", "case", "PLUS", ":", "if", "(", "offset", "<", "0", ")", "{", "offset", "=", "-", "offset", ";", "sep", "=", "\"-\"", ";", "}", "else", "sep", "=", "\"+\"", ";", "break", ";", "case", "MINUS", ":", "gcc_assert", "(", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "0", ")", ")", "==", "SYMBOL_REF", ")", ";", "sep", "=", "\"-\"", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "!", "read_only_operand", "(", "base", ",", "VOIDmode", ")", "&&", "!", "flag_pic", ")", "fputs", "(", "\"-$global$\"", ",", "file", ")", ";", "if", "(", "offset", ")", "fprintf", "(", "file", ",", "\"%s%d\"", ",", "sep", ",", "offset", ")", ";", "}", "else", "output_addr_const", "(", "file", ",", "x", ")", ";", "}", ""], "natrual_language": ["output", "a", "SYMBOL_REF", "or", "a", "CONST", "expression", "involving", "a", "SYMBOL_REF", "."], "TS_V_token": ["pa", "0", "\"-$global$\"", "\"\"", "0", "0", "0", "0", "0", "0", "0", "0", "1", "0", "1", "0", "1", "0x1000", "0x1fff", "0", "0", "\"-\"", "\"+\"", "0", "0", "\"-\"", "\"-$global$\"", "\"%s%d\""], "File": "pa", "Func": "pa_output_global_address", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3758, "Length": 402, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "loongarch_small_data_pattern_p", "(", "rtx", "op", ")", "{", "return", "loongarch_small_data_pattern_1", "(", "op", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OP", "refers", "to", "small", "data", "symbols", "directly", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_small_data_pattern_p", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3759, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "XtensaInstrInfo", "::", "insertBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "TBB", ",", "MachineBasicBlock", "*", "FBB", ",", "ArrayRef", "<", "MachineOperand", ">", "Cond", ",", "const", "DebugLoc", "&", "DL", ",", "int", "*", "BytesAdded", ")", "const", "{", "std", "::", "cout", "<<", "\"XtensaInstrInfo::insertBranch not yet implemented\"", "<<", "std", "::", "endl", ";", "return", "0", ";", "}", ""], "natrual_language": ["Insert", "branch", "code", "into", "the", "end", "of", "the", "specified", "MachineBasicBlock", "."], "TS_V_token": ["Xtensa", "Xtensa", "\"XtensaInstrInfo::insertBranch not yet implemented\"", "0"], "File": "XtensaInstrInfo1", "Func": "insertBranch", "Target": "Xtensa", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3760, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "get_unaligned_address", "(", "rtx", "ref", ")", "{", "rtx", "base", ";", "HOST_WIDE_INT", "offset", "=", "0", ";", "gcc_assert", "(", "MEM_P", "(", "ref", ")", ")", ";", "if", "(", "reload_in_progress", "&&", "!", "memory_address_p", "(", "GET_MODE", "(", "ref", ")", ",", "XEXP", "(", "ref", ",", "0", ")", ")", ")", "{", "base", "=", "find_replacement", "(", "&", "XEXP", "(", "ref", ",", "0", ")", ")", ";", "gcc_assert", "(", "memory_address_p", "(", "GET_MODE", "(", "ref", ")", ",", "base", ")", ")", ";", "}", "else", "base", "=", "XEXP", "(", "ref", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "base", ")", "==", "PLUS", ")", "offset", "+=", "INTVAL", "(", "XEXP", "(", "base", ",", "1", ")", ")", ",", "base", "=", "XEXP", "(", "base", ",", "0", ")", ";", "return", "plus_constant", "(", "Pmode", ",", "base", ",", "offset", ")", ";", "}", ""], "natrual_language": ["Similar", ",", "but", "just", "get", "the", "address", ".", "Handle", "the", "two", "reload", "cases", ".", "Add", "EXTRA_OFFSET", "to", "the", "address", "we", "return", "."], "TS_V_token": ["alpha", "0", "0", "0", "0", "1", "0"], "File": "alpha4", "Func": "get_unaligned_address", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3761, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "s390_split_branches", "(", "void", ")", "{", "rtx", "temp_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "RETURN_REGNUM", ")", ";", "int", "new_literal", "=", "0", ",", "ret", ";", "rtx", "insn", ",", "pat", ",", "tmp", ",", "target", ";", "rtx", "*", "label", ";", "shorten_branches", "(", "get_insns", "(", ")", ")", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "if", "(", "GET_CODE", "(", "insn", ")", "!=", "JUMP_INSN", ")", "continue", ";", "pat", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", "&&", "XVECLEN", "(", "pat", ",", "0", ")", ">", "2", ")", "pat", "=", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "!=", "SET", "||", "SET_DEST", "(", "pat", ")", "!=", "pc_rtx", ")", "continue", ";", "if", "(", "GET_CODE", "(", "SET_SRC", "(", "pat", ")", ")", "==", "LABEL_REF", ")", "{", "label", "=", "&", "SET_SRC", "(", "pat", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "SET_SRC", "(", "pat", ")", ")", "==", "IF_THEN_ELSE", ")", "{", "if", "(", "GET_CODE", "(", "XEXP", "(", "SET_SRC", "(", "pat", ")", ",", "1", ")", ")", "==", "LABEL_REF", ")", "label", "=", "&", "XEXP", "(", "SET_SRC", "(", "pat", ")", ",", "1", ")", ";", "else", "if", "(", "GET_CODE", "(", "XEXP", "(", "SET_SRC", "(", "pat", ")", ",", "2", ")", ")", "==", "LABEL_REF", ")", "label", "=", "&", "XEXP", "(", "SET_SRC", "(", "pat", ")", ",", "2", ")", ";", "else", "continue", ";", "}", "else", "continue", ";", "if", "(", "get_attr_length", "(", "insn", ")", "<=", "4", ")", "continue", ";", "cfun_frame_layout", ".", "save_return_addr_p", "=", "1", ";", "if", "(", "!", "flag_pic", ")", "{", "new_literal", "=", "1", ";", "tmp", "=", "force_const_mem", "(", "Pmode", ",", "*", "label", ")", ";", "tmp", "=", "emit_insn_before", "(", "gen_rtx_SET", "(", "Pmode", ",", "temp_reg", ",", "tmp", ")", ",", "insn", ")", ";", "INSN_ADDRESSES_NEW", "(", "tmp", ",", "-", "1", ")", ";", "annotate_constant_pool_refs", "(", "&", "PATTERN", "(", "tmp", ")", ")", ";", "target", "=", "temp_reg", ";", "}", "else", "{", "new_literal", "=", "1", ";", "target", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "*", "label", ")", ",", "UNSPEC_LTREL_OFFSET", ")", ";", "target", "=", "gen_rtx_CONST", "(", "Pmode", ",", "target", ")", ";", "target", "=", "force_const_mem", "(", "Pmode", ",", "target", ")", ";", "tmp", "=", "emit_insn_before", "(", "gen_rtx_SET", "(", "Pmode", ",", "temp_reg", ",", "target", ")", ",", "insn", ")", ";", "INSN_ADDRESSES_NEW", "(", "tmp", ",", "-", "1", ")", ";", "annotate_constant_pool_refs", "(", "&", "PATTERN", "(", "tmp", ")", ")", ";", "target", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "2", ",", "XEXP", "(", "target", ",", "0", ")", ",", "cfun", "->", "machine", "->", "base_reg", ")", ",", "UNSPEC_LTREL_BASE", ")", ";", "target", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "temp_reg", ",", "target", ")", ";", "}", "ret", "=", "validate_change", "(", "insn", ",", "label", ",", "target", ",", "0", ")", ";", "gcc_assert", "(", "ret", ")", ";", "}", "return", "new_literal", ";", "}", ""], "natrual_language": ["Split", "all", "branches", "that", "exceed", "the", "maximum", "distance", ".", "Returns", "true", "if", "this", "created", "a", "new", "literal", "pool", "entry", "."], "TS_V_token": ["s390", "0", "0", "2", "0", "0", "1", "1", "2", "2", "4", "1", "1", "1", "1", "1", "1", "2", "0", "0"], "File": "s3903", "Func": "s390_split_branches", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3762, "Length": 442, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIFrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "GCNSubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "const", "SIInstrInfo", "*", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "const", "SIRegisterInfo", "*", "TRI", "=", "ST", ".", "getRegisterInfo", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "SIMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "const", "bool", "SpillVGPRToAGPR", "=", "ST", ".", "hasMAIInsts", "(", ")", "&&", "FuncInfo", "->", "hasSpilledVGPRs", "(", ")", "&&", "EnableSpillVGPRToAGPR", ";", "if", "(", "SpillVGPRToAGPR", ")", "{", "BitVector", "SpillFIs", "(", "MFI", ".", "getObjectIndexEnd", "(", ")", ",", "false", ")", ";", "bool", "SeenDbgInstr", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "MachineBasicBlock", "::", "iterator", "Next", ";", "for", "(", "auto", "I", "=", "MBB", ".", "begin", "(", ")", ",", "E", "=", "MBB", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "I", "=", "Next", ")", "{", "MachineInstr", "&", "MI", "=", "*", "I", ";", "Next", "=", "std", "::", "next", "(", "I", ")", ";", "if", "(", "MI", ".", "isDebugInstr", "(", ")", ")", "SeenDbgInstr", "=", "true", ";", "if", "(", "TII", "->", "isVGPRSpill", "(", "MI", ")", ")", "{", "unsigned", "FIOp", "=", "AMDGPU", "::", "getNamedOperandIdx", "(", "MI", ".", "getOpcode", "(", ")", ",", "AMDGPU", "::", "OpName", "::", "vaddr", ")", ";", "int", "FI", "=", "MI", ".", "getOperand", "(", "FIOp", ")", ".", "getIndex", "(", ")", ";", "Register", "VReg", "=", "TII", "->", "getNamedOperand", "(", "MI", ",", "AMDGPU", "::", "OpName", "::", "vdata", ")", "->", "getReg", "(", ")", ";", "if", "(", "FuncInfo", "->", "allocateVGPRSpillToAGPR", "(", "MF", ",", "FI", ",", "TRI", "->", "isAGPR", "(", "MRI", ",", "VReg", ")", ")", ")", "{", "RS", "->", "enterBasicBlock", "(", "MBB", ")", ";", "TRI", "->", "eliminateFrameIndex", "(", "MI", ",", "0", ",", "FIOp", ",", "RS", ")", ";", "SpillFIs", ".", "set", "(", "FI", ")", ";", "continue", ";", "}", "}", "}", "}", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "for", "(", "MCPhysReg", "Reg", ":", "FuncInfo", "->", "getVGPRSpillAGPRs", "(", ")", ")", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "for", "(", "MCPhysReg", "Reg", ":", "FuncInfo", "->", "getAGPRSpillVGPRs", "(", ")", ")", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "MBB", ".", "sortUniqueLiveIns", "(", ")", ";", "if", "(", "!", "SpillFIs", ".", "empty", "(", ")", "&&", "SeenDbgInstr", ")", "{", "for", "(", "MachineInstr", "&", "MI", ":", "MBB", ")", "{", "if", "(", "MI", ".", "isDebugValue", "(", ")", "&&", "MI", ".", "getOperand", "(", "0", ")", ".", "isFI", "(", ")", "&&", "SpillFIs", "[", "MI", ".", "getOperand", "(", "0", ")", ".", "getIndex", "(", ")", "]", ")", "{", "MI", ".", "getOperand", "(", "0", ")", ".", "ChangeToRegister", "(", "Register", "(", ")", ",", "false", ")", ";", "}", "}", "}", "}", "}", "FuncInfo", "->", "removeDeadFrameIndices", "(", "MFI", ")", ";", "assert", "(", "allSGPRSpillsAreDead", "(", "MF", ")", "&&", "\"SGPR spill should have been removed in SILowerSGPRSpills\"", ")", ";", "if", "(", "!", "allStackObjectsAreDead", "(", "MFI", ")", ")", "{", "assert", "(", "RS", "&&", "\"RegScavenger required if spilling\"", ")", ";", "RS", "->", "addScavengingFrameIndex", "(", "FuncInfo", "->", "getScavengeFI", "(", "MFI", ",", "*", "TRI", ")", ")", ";", "}", "}", ""], "natrual_language": ["processFunctionBeforeFrameFinalized", "-", "This", "method", "is", "called", "immediately", "before", "the", "specified", "function", "'s", "frame", "layout", "(", "MF.getFrameInfo", "(", ")", ")", "is", "finalized", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "SI", "SI", "AMDGPU::getNamedOperandIdx", "AMDGPU::OpName", "AMDGPU::OpName", "0", "0", "0", "0", "\"SGPR spill should have been removed in SILowerSGPRSpills\"", "\"RegScavenger required if spilling\""], "File": "SIFrameLowering57", "Func": "processFunctionBeforeFrameFinalized", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3763, "Length": 489, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "s390_function_arg", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "if", "(", "s390_function_arg_float", "(", "mode", ",", "type", ")", ")", "{", "if", "(", "cum", "->", "fprs", "+", "1", ">", "FP_ARG_NUM_REG", ")", "return", "0", ";", "else", "return", "gen_rtx_REG", "(", "mode", ",", "cum", "->", "fprs", "+", "16", ")", ";", "}", "else", "if", "(", "s390_function_arg_integer", "(", "mode", ",", "type", ")", ")", "{", "int", "size", "=", "s390_function_arg_size", "(", "mode", ",", "type", ")", ";", "int", "n_gprs", "=", "(", "size", "+", "UNITS_PER_LONG", "-", "1", ")", "/", "UNITS_PER_LONG", ";", "if", "(", "cum", "->", "gprs", "+", "n_gprs", ">", "GP_ARG_NUM_REG", ")", "return", "0", ";", "else", "if", "(", "n_gprs", "==", "1", "||", "UNITS_PER_WORD", "==", "UNITS_PER_LONG", ")", "return", "gen_rtx_REG", "(", "mode", ",", "cum", "->", "gprs", "+", "2", ")", ";", "else", "if", "(", "n_gprs", "==", "2", ")", "{", "rtvec", "p", "=", "rtvec_alloc", "(", "2", ")", ";", "RTVEC_ELT", "(", "p", ",", "0", ")", "=", "gen_rtx_EXPR_LIST", "(", "SImode", ",", "gen_rtx_REG", "(", "SImode", ",", "cum", "->", "gprs", "+", "2", ")", ",", "const0_rtx", ")", ";", "RTVEC_ELT", "(", "p", ",", "1", ")", "=", "gen_rtx_EXPR_LIST", "(", "SImode", ",", "gen_rtx_REG", "(", "SImode", ",", "cum", "->", "gprs", "+", "3", ")", ",", "GEN_INT", "(", "4", ")", ")", ";", "return", "gen_rtx_PARALLEL", "(", "mode", ",", "p", ")", ";", "}", "}", "else", "if", "(", "type", "==", "void_type_node", ")", "return", "const0_rtx", ";", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Define", "where", "to", "put", "the", "arguments", "to", "a", "function", ".", "Value", "is", "zero", "to", "push", "the", "argument", "on", "the", "stack", ",", "or", "a", "hard", "register", "in", "which", "to", "store", "the", "argument", ".", "MODE", "is", "the", "argument", "'s", "machine", "mode", ".", "TYPE", "is", "the", "data", "type", "of", "the", "argument", "(", "as", "a", "tree", ")", ".", "This", "is", "null", "for", "libcalls", "where", "that", "information", "may", "not", "be", "available", ".", "CUM", "is", "a", "variable", "of", "type", "CUMULATIVE_ARGS", "which", "gives", "info", "about", "the", "preceding", "args", "and", "about", "the", "function", "being", "called", ".", "NAMED", "is", "nonzero", "if", "this", "argument", "is", "a", "named", "parameter", "(", "otherwise", "it", "is", "an", "extra", "parameter", "matching", "an", "ellipsis", ")", ".", "On", "S/390", ",", "we", "use", "general", "purpose", "registers", "2", "through", "6", "to", "pass", "integer", ",", "pointer", ",", "and", "certain", "structure", "arguments", ",", "and", "floating", "point", "registers", "0", "and", "2", "(", "0", ",", "2", ",", "4", ",", "and", "6", "on", "64-bit", ")", "to", "pass", "floating", "point", "arguments", ".", "All", "remaining", "arguments", "are", "pushed", "to", "the", "stack", "."], "TS_V_token": ["s390", "1", "0", "16", "1", "0", "1", "2", "2", "2", "0", "2", "1", "3", "4"], "File": "s3904", "Func": "s390_function_arg", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3764, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "R600TargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "const", "SDLoc", "&", "DL", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "SmallVector", "<", "CCValAssign", ",", "16", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "ArgLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "SmallVector", "<", "ISD", "::", "InputArg", ",", "8", ">", "LocalIns", ";", "if", "(", "AMDGPU", "::", "isShader", "(", "CallConv", ")", ")", "{", "CCInfo", ".", "AnalyzeFormalArguments", "(", "Ins", ",", "CCAssignFnForCall", "(", "CallConv", ",", "isVarArg", ")", ")", ";", "}", "else", "{", "analyzeFormalArgumentsCompute", "(", "CCInfo", ",", "Ins", ")", ";", "}", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "Ins", ".", "size", "(", ")", ";", "i", "<", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "ArgLocs", "[", "i", "]", ";", "const", "ISD", "::", "InputArg", "&", "In", "=", "Ins", "[", "i", "]", ";", "EVT", "VT", "=", "In", ".", "VT", ";", "EVT", "MemVT", "=", "VA", ".", "getLocVT", "(", ")", ";", "if", "(", "!", "VT", ".", "isVector", "(", ")", "&&", "MemVT", ".", "isVector", "(", ")", ")", "{", "MemVT", "=", "MemVT", ".", "getVectorElementType", "(", ")", ";", "}", "if", "(", "AMDGPU", "::", "isShader", "(", "CallConv", ")", ")", "{", "unsigned", "Reg", "=", "MF", ".", "addLiveIn", "(", "VA", ".", "getLocReg", "(", ")", ",", "&", "R600", "::", "R600_Reg128RegClass", ")", ";", "SDValue", "Register", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "DL", ",", "Reg", ",", "VT", ")", ";", "InVals", ".", "push_back", "(", "Register", ")", ";", "continue", ";", "}", "ISD", "::", "LoadExtType", "Ext", "=", "ISD", "::", "NON_EXTLOAD", ";", "if", "(", "MemVT", ".", "getScalarSizeInBits", "(", ")", "!=", "VT", ".", "getScalarSizeInBits", "(", ")", ")", "{", "Ext", "=", "ISD", "::", "SEXTLOAD", ";", "}", "unsigned", "PartOffset", "=", "VA", ".", "getLocMemOffset", "(", ")", ";", "unsigned", "Alignment", "=", "MinAlign", "(", "VT", ".", "getStoreSize", "(", ")", ",", "PartOffset", ")", ";", "MachinePointerInfo", "PtrInfo", "(", "AMDGPUAS", "::", "PARAM_I_ADDRESS", ")", ";", "SDValue", "Arg", "=", "DAG", ".", "getLoad", "(", "ISD", "::", "UNINDEXED", ",", "Ext", ",", "VT", ",", "DL", ",", "Chain", ",", "DAG", ".", "getConstant", "(", "PartOffset", ",", "DL", ",", "MVT", "::", "i32", ")", ",", "DAG", ".", "getUNDEF", "(", "MVT", "::", "i32", ")", ",", "PtrInfo", ",", "MemVT", ",", "Alignment", ",", "MachineMemOperand", "::", "MONonTemporal", "|", "MachineMemOperand", "::", "MODereferenceable", "|", "MachineMemOperand", "::", "MOInvariant", ")", ";", "InVals", ".", "push_back", "(", "Arg", ")", ";", "}", "return", "Chain", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "the", "Ins", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["AMDGPU", "R600", "ISD::InputArg", "16", "ISD::InputArg", "8", "AMDGPU::isShader", "0", "ISD::InputArg", "AMDGPU::isShader", "R600::R600_Reg128RegClass", "ISD::LoadExtType", "ISD::NON_EXTLOAD", "ISD::SEXTLOAD", "AMDGPU", "ISD::UNINDEXED", "MVT::i32", "MVT::i32"], "File": "R600ISelLowering12", "Func": "LowerFormalArguments", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3765, "Length": 404, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "loongarch_integer_cost", "(", "HOST_WIDE_INT", "value", ")", "{", "struct", "loongarch_integer_op", "codes", "[", "LARCH_MAX_INTEGER_OPS", "]", ";", "return", "loongarch_build_integer", "(", "codes", ",", "value", ")", ";", "}", ""], "natrual_language": ["Fill", "CODES", "with", "a", "sequence", "of", "rtl", "operations", "to", "load", "VALUE", ".", "Return", "the", "number", "of", "operations", "needed", ".", "Split", "interger", "in", "loongarch_output_move", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_integer_cost", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3766, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86ATTInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "uint64_t", "Address", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "raw_ostream", "&", "OS", ")", "{", "if", "(", "CommentStream", ")", "HasCustomInstComment", "=", "EmitAnyX86InstComments", "(", "MI", ",", "*", "CommentStream", ",", "MII", ")", ";", "printInstFlags", "(", "MI", ",", "OS", ")", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "X86", "::", "CALLpcrel32", "&&", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "X86", "::", "Mode64Bit", "]", ")", ")", "{", "OS", "<<", "\"\\tcallq\\t\"", ";", "printPCRelImm", "(", "MI", ",", "0", ",", "OS", ")", ";", "}", "else", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "X86", "::", "DATA16_PREFIX", "&&", "STI", ".", "getFeatureBits", "(", ")", "[", "X86", "::", "Mode16Bit", "]", ")", "{", "OS", "<<", "\"\\tdata32\"", ";", "}", "else", "if", "(", "!", "printAliasInstr", "(", "MI", ",", "OS", ")", "&&", "!", "printVecCompareInstr", "(", "MI", ",", "OS", ")", ")", "printInstruction", "(", "MI", ",", "Address", ",", "OS", ")", ";", "printAnnotation", "(", "OS", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["X86", "X86", "X86", "X86::CALLpcrel32", "X86::Mode64Bit", "\"\\tcallq\\t\"", "0", "X86::DATA16_PREFIX", "X86::Mode16Bit", "\"\\tdata32\""], "File": "X86ATTInstPrinter36", "Func": "printInst", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3767, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "SIInstrInfo", "::", "convertToThreeAddress", "(", "MachineFunction", "::", "iterator", "&", "MBB", ",", "MachineInstr", "&", "MI", ",", "LiveVariables", "*", "LV", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "nullptr", ";", "case", "AMDGPU", "::", "V_MAC_F32_e64", ":", "break", ";", "case", "AMDGPU", "::", "V_MAC_F32_e32", ":", "{", "const", "MachineOperand", "*", "Src0", "=", "getNamedOperand", "(", "MI", ",", "AMDGPU", "::", "OpName", "::", "src0", ")", ";", "if", "(", "Src0", "->", "isImm", "(", ")", "&&", "!", "isInlineConstant", "(", "*", "Src0", ",", "4", ")", ")", "return", "nullptr", ";", "break", ";", "}", "}", "const", "MachineOperand", "*", "Dst", "=", "getNamedOperand", "(", "MI", ",", "AMDGPU", "::", "OpName", "::", "vdst", ")", ";", "const", "MachineOperand", "*", "Src0", "=", "getNamedOperand", "(", "MI", ",", "AMDGPU", "::", "OpName", "::", "src0", ")", ";", "const", "MachineOperand", "*", "Src1", "=", "getNamedOperand", "(", "MI", ",", "AMDGPU", "::", "OpName", "::", "src1", ")", ";", "const", "MachineOperand", "*", "Src2", "=", "getNamedOperand", "(", "MI", ",", "AMDGPU", "::", "OpName", "::", "src2", ")", ";", "return", "BuildMI", "(", "*", "MBB", ",", "MI", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "get", "(", "AMDGPU", "::", "V_MAD_F32", ")", ")", ".", "addOperand", "(", "*", "Dst", ")", ".", "addImm", "(", "0", ")", ".", "addOperand", "(", "*", "Src0", ")", ".", "addImm", "(", "0", ")", ".", "addOperand", "(", "*", "Src1", ")", ".", "addImm", "(", "0", ")", ".", "addOperand", "(", "*", "Src2", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "0", ")", ";", "}", ""], "natrual_language": ["convertToThreeAddress", "-", "This", "method", "must", "be", "implemented", "by", "targets", "that", "set", "the", "M_CONVERTIBLE_TO_3_ADDR", "flag", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU::V_MAC_F32_e64", "AMDGPU::V_MAC_F32_e32", "AMDGPU::OpName", "4", "AMDGPU::OpName", "AMDGPU::OpName", "AMDGPU::OpName", "AMDGPU::OpName", "AMDGPU::V_MAD_F32", "0", "0", "0", "0", "0"], "File": "SIInstrInfo100", "Func": "convertToThreeAddress", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3768, "Length": 225, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MipsSubtarget", "::", "MipsSubtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "bool", "little", ",", "Reloc", "::", "Model", "_RM", ")", ":", "MipsGenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "MipsArchVersion", "(", "Mips32", ")", ",", "MipsABI", "(", "UnknownABI", ")", ",", "IsLittle", "(", "little", ")", ",", "IsSingleFloat", "(", "false", ")", ",", "IsFP64bit", "(", "false", ")", ",", "IsGP64bit", "(", "false", ")", ",", "HasVFPU", "(", "false", ")", ",", "IsLinux", "(", "true", ")", ",", "HasSEInReg", "(", "false", ")", ",", "HasCondMov", "(", "false", ")", ",", "HasSwap", "(", "false", ")", ",", "HasBitCount", "(", "false", ")", ",", "HasFPIdx", "(", "false", ")", ",", "InMips16Mode", "(", "false", ")", ",", "InMicroMipsMode", "(", "false", ")", ",", "HasDSP", "(", "false", ")", ",", "HasDSPR2", "(", "false", ")", ",", "IsAndroid", "(", "false", ")", ",", "RM", "(", "_RM", ")", ",", "TargetTriple", "(", "TT", ")", "{", "std", "::", "string", "CPUName", "=", "CPU", ";", "if", "(", "CPUName", ".", "empty", "(", ")", ")", "CPUName", "=", "\"mips32\"", ";", "ParseSubtargetFeatures", "(", "CPUName", ",", "FS", ")", ";", "InstrItins", "=", "getInstrItineraryForCPU", "(", "CPUName", ")", ";", "if", "(", "MipsABI", "==", "UnknownABI", ")", "MipsABI", "=", "hasMips64", "(", ")", "?", "N64", ":", "O32", ";", "assert", "(", "(", "(", "!", "hasMips64", "(", ")", "&&", "(", "isABI_O32", "(", ")", "||", "isABI_EABI", "(", ")", ")", ")", "||", "(", "hasMips64", "(", ")", "&&", "(", "isABI_N32", "(", ")", "||", "isABI_N64", "(", ")", ")", ")", ")", "&&", "\"Invalid Arch & ABI pair.\"", ")", ";", "if", "(", "TT", ".", "find", "(", "\"linux\"", ")", "==", "std", "::", "string", "::", "npos", ")", "IsLinux", "=", "false", ";", "UseSmallSection", "=", "!", "IsLinux", "&&", "(", "RM", "==", "Reloc", "::", "Static", ")", ";", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "\"mips32\"", "Mips", "Mips", "Mips", "Mips", "Mips", "\"Invalid Arch & ABI pair.\"", "\"linux\""], "File": "MipsSubtarget34", "Func": "MipsSubtarget", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3769, "Length": 265, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsPassConfig", "::", "addGlobalInstructionSelect", "(", ")", "{", "addPass", "(", "new", "InstructionSelect", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["This", "method", "should", "install", "a", "(", "global", ")", "instruction", "selector", "pass", ",", "which", "converts", "possibly", "generic", "instructions", "to", "fully", "target-specific", "instructions", ",", "thereby", "constraining", "all", "generic", "virtual", "registers", "to", "register", "classes", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsTargetMachine14", "Func": "addGlobalInstructionSelect", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3770, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "output_dbra", "(", "rtx", "*", "operands", ",", "rtx", "insn", ",", "int", "which_alternative", ")", "{", "if", "(", "next_real_insn", "(", "JUMP_LABEL", "(", "insn", ")", ")", "==", "next_real_insn", "(", "insn", ")", ")", "{", "if", "(", "which_alternative", "==", "0", ")", "return", "\"ldo %1(%0),%0\"", ";", "else", "if", "(", "which_alternative", "==", "1", ")", "{", "output_asm_insn", "(", "\"{fstws|fstw} %0,-16(%%r30)\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"ldw -16(%%r30),%4\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"ldo %1(%4),%4\\n\\tstw %4,-16(%%r30)\"", ",", "operands", ")", ";", "return", "\"{fldws|fldw} -16(%%r30),%0\"", ";", "}", "else", "{", "output_asm_insn", "(", "\"ldw %0,%4\"", ",", "operands", ")", ";", "return", "\"ldo %1(%4),%4\\n\\tstw %4,%0\"", ";", "}", "}", "if", "(", "which_alternative", "==", "0", ")", "{", "int", "nullify", "=", "INSN_ANNULLED_BRANCH_P", "(", "insn", ")", ";", "int", "length", "=", "get_attr_length", "(", "insn", ")", ";", "if", "(", "length", "==", "8", "&&", "dbr_sequence_length", "(", ")", "==", "0", ")", "nullify", "=", "1", ";", "if", "(", "!", "nullify", "&&", "length", "==", "4", "&&", "dbr_sequence_length", "(", ")", "==", "0", ")", "nullify", "=", "forward_branch_p", "(", "insn", ")", ";", "switch", "(", "length", ")", "{", "case", "4", ":", "if", "(", "nullify", ")", "return", "\"addib,%C2,n %1,%0,%3\"", ";", "else", "return", "\"addib,%C2 %1,%0,%3\"", ";", "case", "8", ":", "if", "(", "dbr_sequence_length", "(", ")", "!=", "0", "&&", "!", "forward_branch_p", "(", "insn", ")", "&&", "nullify", ")", "return", "\"addib,%N2,n %1,%0,.+12\\n\\tb %3\"", ";", "else", "if", "(", "dbr_sequence_length", "(", ")", "==", "0", "&&", "!", "forward_branch_p", "(", "insn", ")", "&&", "INSN_ADDRESSES_SET_P", "(", ")", "&&", "VAL_14_BITS_P", "(", "INSN_ADDRESSES", "(", "INSN_UID", "(", "JUMP_LABEL", "(", "insn", ")", ")", ")", "-", "INSN_ADDRESSES", "(", "INSN_UID", "(", "insn", ")", ")", "-", "8", ")", ")", "return", "\"addib,%C2 %1,%0,%3%#\"", ";", "if", "(", "nullify", ")", "return", "\"addi,%N2 %1,%0,%0\\n\\tb,n %3\"", ";", "else", "return", "\"addi,%N2 %1,%0,%0\\n\\tb %3\"", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "else", "if", "(", "which_alternative", "==", "1", ")", "{", "output_asm_insn", "(", "\"{fstws|fstw} %0,-16(%%r30)\\n\\tldw -16(%%r30),%4\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"ldo %1(%4),%4\\n\\tstw %4,-16(%%r30)\"", ",", "operands", ")", ";", "if", "(", "get_attr_length", "(", "insn", ")", "==", "24", ")", "return", "\"{comb|cmpb},%S2 %%r0,%4,%3\\n\\t{fldws|fldw} -16(%%r30),%0\"", ";", "else", "return", "\"{comclr|cmpclr},%B2 %%r0,%4,%%r0\\n\\tb %3\\n\\t{fldws|fldw} -16(%%r30),%0\"", ";", "}", "else", "{", "output_asm_insn", "(", "\"ldw %0,%4\"", ",", "operands", ")", ";", "if", "(", "get_attr_length", "(", "insn", ")", "==", "12", ")", "return", "\"addib,%C2 %1,%4,%3\\n\\tstw %4,%0\"", ";", "else", "return", "\"addi,%N2 %1,%4,%4\\n\\tb %3\\n\\tstw %4,%0\"", ";", "}", "}", ""], "natrual_language": ["Return", "the", "output", "template", "for", "emitting", "a", "dbra", "type", "insn", ".", "Note", "it", "may", "perform", "some", "output", "operations", "on", "its", "own", "before", "returning", "the", "final", "output", "string", "."], "TS_V_token": ["pa", "0", "\"ldo %1(%0),%0\"", "1", "\"{fstws|fstw} %0,-16(%%r30)\"", "\"ldw -16(%%r30),%4\"", "\"ldo %1(%4),%4\\n\\tstw %4,-16(%%r30)\"", "\"{fldws|fldw} -16(%%r30),%0\"", "\"ldw %0,%4\"", "\"ldo %1(%4),%4\\n\\tstw %4,%0\"", "0", "8", "0", "1", "4", "0", "4", "\"addib,%C2,n %1,%0,%3\"", "\"addib,%C2 %1,%0,%3\"", "8", "0", "\"addib,%N2,n %1,%0,.+12\\n\\tb %3\"", "0", "8", "\"addib,%C2 %1,%0,%3%#\"", "\"addi,%N2 %1,%0,%0\\n\\tb,n %3\"", "\"addi,%N2 %1,%0,%0\\n\\tb %3\"", "1", "\"{fstws|fstw} %0,-16(%%r30)\\n\\tldw -16(%%r30),%4\"", "\"ldo %1(%4),%4\\n\\tstw %4,-16(%%r30)\"", "24", "\"{comb|cmpb},%S2 %%r0,%4,%3\\n\\t{fldws|fldw} -16(%%r30),%0\"", "\"{comclr|cmpclr},%B2 %%r0,%4,%%r0\\n\\tb %3\\n\\t{fldws|fldw} -16(%%r30),%0\"", "\"ldw %0,%4\"", "12", "\"addib,%C2 %1,%4,%3\\n\\tstw %4,%0\"", "\"addi,%N2 %1,%4,%4\\n\\tb %3\\n\\tstw %4,%0\""], "File": "pa3", "Func": "output_dbra", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3771, "Length": 321, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isVectorShiftByScalarCheap", "(", "Type", "*", "Ty", ")", "const", "{", "unsigned", "Bits", "=", "Ty", "->", "getScalarSizeInBits", "(", ")", ";", "if", "(", "Bits", "==", "8", ")", "return", "false", ";", "if", "(", "Subtarget", ".", "hasXOP", "(", ")", "&&", "(", "Bits", "==", "8", "||", "Bits", "==", "16", "||", "Bits", "==", "32", "||", "Bits", "==", "64", ")", ")", "return", "false", ";", "if", "(", "Subtarget", ".", "hasAVX2", "(", ")", "&&", "(", "Bits", "==", "32", "||", "Bits", "==", "64", ")", ")", "return", "false", ";", "if", "(", "Subtarget", ".", "hasBWI", "(", ")", "&&", "Bits", "==", "16", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "is", "used", "to", "enable", "splatted", "operand", "transforms", "for", "vector", "shifts", "and", "vector", "funnel", "shifts", "."], "TS_V_token": ["X86", "X86", "8", "8", "16", "32", "64", "32", "64", "16"], "File": "X86ISelLowering (2)5", "Func": "isVectorShiftByScalarCheap", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3772, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "MINA32TargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "MINA32PassConfig", "(", "*", "this", ",", "PM", ")", ";", "}", ""], "natrual_language": ["Create", "a", "pass", "configuration", "object", "to", "be", "used", "by", "addPassToEmitX", "methods", "for", "generating", "a", "pipeline", "of", "CodeGen", "passes", "."], "TS_V_token": ["MINA32", "MINA32", "MINA32"], "File": "MINA32TargetMachine", "Func": "createPassConfig", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3773, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "loongarch_setup_incoming_varargs", "(", "cumulative_args_t", "cum", ",", "const", "function_arg_info", "&", "arg", ",", "int", "*", "pretend_size", "ATTRIBUTE_UNUSED", ",", "int", "no_rtl", ")", "{", "CUMULATIVE_ARGS", "local_cum", ";", "int", "gp_saved", ";", "local_cum", "=", "*", "get_cumulative_args", "(", "cum", ")", ";", "loongarch_function_arg_advance", "(", "pack_cumulative_args", "(", "&", "local_cum", ")", ",", "arg", ")", ";", "gp_saved", "=", "MAX_ARGS_IN_REGISTERS", "-", "local_cum", ".", "num_gprs", ";", "if", "(", "!", "no_rtl", "&&", "gp_saved", ">", "0", ")", "{", "rtx", "ptr", "=", "plus_constant", "(", "Pmode", ",", "virtual_incoming_args_rtx", ",", "REG_PARM_STACK_SPACE", "(", "cfun", "->", "decl", ")", "-", "gp_saved", "*", "UNITS_PER_WORD", ")", ";", "rtx", "mem", "=", "gen_frame_mem", "(", "BLKmode", ",", "ptr", ")", ";", "set_mem_alias_set", "(", "mem", ",", "get_varargs_alias_set", "(", ")", ")", ";", "move_block_from_reg", "(", "local_cum", ".", "num_gprs", "+", "GP_ARG_FIRST", ",", "mem", ",", "gp_saved", ")", ";", "}", "if", "(", "REG_PARM_STACK_SPACE", "(", "cfun", "->", "decl", ")", "==", "0", ")", "cfun", "->", "machine", "->", "varargs_size", "=", "gp_saved", "*", "UNITS_PER_WORD", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SETUP_INCOMING_VARARGS", "."], "TS_V_token": ["loongarch", "0", "0"], "File": "loongarch", "Func": "loongarch_setup_incoming_varargs", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3774, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aapcs_vfp_is_call_or_return_candidate", "(", "enum", "arm_pcs", "pcs_variant", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "machine_mode", "*", "base_mode", ",", "int", "*", "count", ")", "{", "machine_mode", "new_mode", "=", "VOIDmode", ";", "if", "(", "type", ")", "{", "int", "ag_count", "=", "aapcs_vfp_sub_candidate", "(", "type", ",", "&", "new_mode", ")", ";", "if", "(", "ag_count", ">", "0", "&&", "ag_count", "<=", "4", ")", "*", "count", "=", "ag_count", ";", "else", "return", "false", ";", "}", "else", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", "||", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_INT", "||", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_VECTOR_FLOAT", ")", "{", "*", "count", "=", "1", ";", "new_mode", "=", "mode", ";", "}", "else", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_COMPLEX_FLOAT", ")", "{", "*", "count", "=", "2", ";", "new_mode", "=", "(", "mode", "==", "DCmode", "?", "DFmode", ":", "SFmode", ")", ";", "}", "else", "return", "false", ";", "if", "(", "!", "use_vfp_abi", "(", "pcs_variant", ",", "ARM_NUM_REGS", "(", "new_mode", ")", ">", "1", ")", ")", "return", "false", ";", "*", "base_mode", "=", "new_mode", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "an", "argument", "whose", "type", "is", "TYPE", ",", "or", "mode", "is", "MODE", ",", "is", "suitable", "for", "passing", "or", "returning", "in", "VFP", "registers", "for", "the", "PCS", "variant", "selected", ".", "If", "it", "is", ",", "then", "*", "BASE_MODE", "is", "updated", "to", "contain", "a", "machine", "mode", "describing", "each", "element", "of", "the", "argument", "'s", "type", "and", "*", "COUNT", "to", "hold", "the", "number", "of", "such", "elements", "."], "TS_V_token": ["arm", "0", "4", "1", "2", "1"], "File": "arm4", "Func": "aapcs_vfp_is_call_or_return_candidate", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3775, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_pwrite_stream", "&", "OS", ")", "const", "override", "{", "return", "createAArch64WinCOFFObjectWriter", "(", "OS", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64AsmBackend11", "Func": "createObjectWriter", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3776, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print", "(", ")", "{", "if", "(", "numSymbols", "==", "0", ")", "{", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "size", ";", "i", "++", ")", "{", "if", "(", "i", ")", "O", "<<", "\", \"", ";", "O", "<<", "(", "unsigned", "int", ")", "buffer", "[", "i", "]", ";", "}", "}", "else", "{", "unsigned", "int", "pos", "=", "0", ";", "unsigned", "int", "nSym", "=", "0", ";", "unsigned", "int", "nextSymbolPos", "=", "symbolPosInBuffer", "[", "nSym", "]", ";", "unsigned", "int", "nBytes", "=", "4", ";", "if", "(", "AP", ".", "nvptxSubtarget", ".", "is64Bit", "(", ")", ")", "nBytes", "=", "8", ";", "for", "(", "pos", "=", "0", ";", "pos", "<", "size", ";", "pos", "+=", "nBytes", ")", "{", "if", "(", "pos", ")", "O", "<<", "\", \"", ";", "if", "(", "pos", "==", "nextSymbolPos", ")", "{", "const", "Value", "*", "v", "=", "Symbols", "[", "nSym", "]", ";", "if", "(", "const", "GlobalValue", "*", "GVar", "=", "dyn_cast", "<", "GlobalValue", ">", "(", "v", ")", ")", "{", "MCSymbol", "*", "Name", "=", "AP", ".", "getSymbol", "(", "GVar", ")", ";", "PointerType", "*", "PTy", "=", "dyn_cast", "<", "PointerType", ">", "(", "GVar", "->", "getType", "(", ")", ")", ";", "bool", "IsNonGenericPointer", "=", "false", ";", "if", "(", "PTy", "&&", "PTy", "->", "getAddressSpace", "(", ")", "!=", "0", ")", "{", "IsNonGenericPointer", "=", "true", ";", "}", "if", "(", "EmitGeneric", "&&", "!", "isa", "<", "Function", ">", "(", "v", ")", "&&", "!", "IsNonGenericPointer", ")", "{", "O", "<<", "\"generic(\"", ";", "O", "<<", "*", "Name", ";", "O", "<<", "\")\"", ";", "}", "else", "{", "O", "<<", "*", "Name", ";", "}", "}", "else", "if", "(", "const", "ConstantExpr", "*", "Cexpr", "=", "dyn_cast", "<", "ConstantExpr", ">", "(", "v", ")", ")", "{", "O", "<<", "*", "nvptx", "::", "LowerConstant", "(", "Cexpr", ",", "AP", ")", ";", "}", "else", "llvm_unreachable", "(", "\"symbol type unknown\"", ")", ";", "nSym", "++", ";", "if", "(", "nSym", ">=", "numSymbols", ")", "nextSymbolPos", "=", "size", "+", "1", ";", "else", "nextSymbolPos", "=", "symbolPosInBuffer", "[", "nSym", "]", ";", "}", "else", "if", "(", "nBytes", "==", "4", ")", "O", "<<", "*", "(", "unsigned", "int", "*", ")", "(", "buffer", "+", "pos", ")", ";", "else", "O", "<<", "*", "(", "unsigned", "long", "long", "*", ")", "(", "buffer", "+", "pos", ")", ";", "}", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["NVPTX", "0", "0", "\", \"", "0", "0", "4", "8", "0", "\", \"", "0", "\"generic(\"", "\")\"", "nvptx::LowerConstant", "\"symbol type unknown\"", "1", "4"], "File": "NVPTXAsmPrinter1", "Func": "print", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3777, "Length": 337, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMConstantPoolValue", "::", "dump", "(", ")", "const", "{", "errs", "(", ")", "<<", "\" \"", "<<", "*", "this", ";", "}", ""], "natrual_language": ["Dump", "the", "plan", "to", "stderr", "(", "for", "debugging", ")", "."], "TS_V_token": ["ARM", "ARM", "\" \""], "File": "ARMConstantPoolValue (2)", "Func": "dump", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3778, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIRegisterInfo", "::", "materializeFrameBaseRegister", "(", "MachineBasicBlock", "*", "MBB", ",", "unsigned", "BaseReg", ",", "int", "FrameIdx", ",", "int64_t", "Offset", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "Ins", "=", "MBB", "->", "begin", "(", ")", ";", "DebugLoc", "DL", ";", "if", "(", "Ins", "!=", "MBB", "->", "end", "(", ")", ")", "DL", "=", "Ins", "->", "getDebugLoc", "(", ")", ";", "MachineFunction", "*", "MF", "=", "MBB", "->", "getParent", "(", ")", ";", "const", "GCNSubtarget", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "const", "SIInstrInfo", "*", "TII", "=", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "if", "(", "Offset", "==", "0", ")", "{", "BuildMI", "(", "*", "MBB", ",", "Ins", ",", "DL", ",", "TII", "->", "get", "(", "AMDGPU", "::", "V_MOV_B32_e32", ")", ",", "BaseReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ";", "return", ";", "}", "MachineRegisterInfo", "&", "MRI", "=", "MF", "->", "getRegInfo", "(", ")", ";", "Register", "OffsetReg", "=", "MRI", ".", "createVirtualRegister", "(", "&", "AMDGPU", "::", "SReg_32_XM0RegClass", ")", ";", "Register", "FIReg", "=", "MRI", ".", "createVirtualRegister", "(", "&", "AMDGPU", "::", "VGPR_32RegClass", ")", ";", "BuildMI", "(", "*", "MBB", ",", "Ins", ",", "DL", ",", "TII", "->", "get", "(", "AMDGPU", "::", "S_MOV_B32", ")", ",", "OffsetReg", ")", ".", "addImm", "(", "Offset", ")", ";", "BuildMI", "(", "*", "MBB", ",", "Ins", ",", "DL", ",", "TII", "->", "get", "(", "AMDGPU", "::", "V_MOV_B32_e32", ")", ",", "FIReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ";", "TII", "->", "getAddNoCarry", "(", "*", "MBB", ",", "Ins", ",", "DL", ",", "BaseReg", ")", ".", "addReg", "(", "OffsetReg", ",", "RegState", "::", "Kill", ")", ".", "addReg", "(", "FIReg", ")", ".", "addImm", "(", "0", ")", ";", "}", ""], "natrual_language": ["Insert", "defining", "instruction", "(", "s", ")", "for", "a", "pointer", "to", "FrameIdx", "before", "insertion", "point", "I", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "0", "AMDGPU::V_MOV_B32_e32", "AMDGPU::SReg_32_XM0RegClass", "AMDGPU::VGPR_32RegClass", "AMDGPU::S_MOV_B32", "AMDGPU::V_MOV_B32_e32", "0"], "File": "SIRegisterInfo104", "Func": "materializeFrameBaseRegister", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3779, "Length": 245, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "PreservedAnalyses", "AMDGPUReplaceLDSUseWithPointerPass", "::", "run", "(", "Module", "&", "M", ",", "ModuleAnalysisManager", "&", "AM", ")", "{", "ReplaceLDSUseImpl", "LDSUseReplacer", "{", "M", "}", ";", "LDSUseReplacer", ".", "replaceLDSUse", "(", ")", ";", "return", "PreservedAnalyses", "::", "all", "(", ")", ";", "}", ""], "natrual_language": ["Run", "the", "analysis", "pass", "over", "a", "function", "and", "produce", "a", "dominator", "tree", "."], "TS_V_token": ["AMDGPU", "AMDGPU"], "File": "AMDGPUReplaceLDSUseWithPointer", "Func": "run", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3780, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "override", "{", "const", "static", "MCFixupKindInfo", "InfosBE", "[", "PPC", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"fixup_ppc_br24\"", ",", "6", ",", "24", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_ppc_br24_notoc\"", ",", "6", ",", "24", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_ppc_brcond14\"", ",", "16", ",", "14", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_ppc_br24abs\"", ",", "6", ",", "24", ",", "0", "}", ",", "{", "\"fixup_ppc_brcond14abs\"", ",", "16", ",", "14", ",", "0", "}", ",", "{", "\"fixup_ppc_half16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_ppc_half16ds\"", ",", "0", ",", "14", ",", "0", "}", ",", "{", "\"fixup_ppc_pcrel34\"", ",", "0", ",", "34", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_ppc_imm34\"", ",", "0", ",", "34", ",", "0", "}", ",", "{", "\"fixup_ppc_nofixup\"", ",", "0", ",", "0", ",", "0", "}", "}", ";", "const", "static", "MCFixupKindInfo", "InfosLE", "[", "PPC", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"fixup_ppc_br24\"", ",", "2", ",", "24", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_ppc_br24_notoc\"", ",", "2", ",", "24", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_ppc_brcond14\"", ",", "2", ",", "14", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_ppc_br24abs\"", ",", "2", ",", "24", ",", "0", "}", ",", "{", "\"fixup_ppc_brcond14abs\"", ",", "2", ",", "14", ",", "0", "}", ",", "{", "\"fixup_ppc_half16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_ppc_half16ds\"", ",", "2", ",", "14", ",", "0", "}", ",", "{", "\"fixup_ppc_pcrel34\"", ",", "0", ",", "34", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_ppc_imm34\"", ",", "0", ",", "34", ",", "0", "}", ",", "{", "\"fixup_ppc_nofixup\"", ",", "0", ",", "0", ",", "0", "}", "}", ";", "if", "(", "Kind", ">=", "FirstLiteralRelocationKind", ")", "return", "MCAsmBackend", "::", "getFixupKindInfo", "(", "FK_NONE", ")", ";", "if", "(", "Kind", "<", "FirstTargetFixupKind", ")", "return", "MCAsmBackend", "::", "getFixupKindInfo", "(", "Kind", ")", ";", "assert", "(", "unsigned", "(", "Kind", "-", "FirstTargetFixupKind", ")", "<", "getNumFixupKinds", "(", ")", "&&", "\"Invalid kind!\"", ")", ";", "return", "(", "Endian", "==", "support", "::", "little", "?", "InfosLE", ":", "InfosBE", ")", "[", "Kind", "-", "FirstTargetFixupKind", "]", ";", "}", ""], "natrual_language": ["Get", "information", "on", "a", "fixup", "kind", "."], "TS_V_token": ["PowerPC", "PPC::NumTargetFixupKinds", "\"fixup_ppc_br24\"", "6", "24", "\"fixup_ppc_br24_notoc\"", "6", "24", "\"fixup_ppc_brcond14\"", "16", "14", "\"fixup_ppc_br24abs\"", "6", "24", "0", "\"fixup_ppc_brcond14abs\"", "16", "14", "0", "\"fixup_ppc_half16\"", "0", "16", "0", "\"fixup_ppc_half16ds\"", "0", "14", "0", "\"fixup_ppc_pcrel34\"", "0", "34", "\"fixup_ppc_imm34\"", "0", "34", "0", "\"fixup_ppc_nofixup\"", "0", "0", "0", "PPC::NumTargetFixupKinds", "\"fixup_ppc_br24\"", "2", "24", "\"fixup_ppc_br24_notoc\"", "2", "24", "\"fixup_ppc_brcond14\"", "2", "14", "\"fixup_ppc_br24abs\"", "2", "24", "0", "\"fixup_ppc_brcond14abs\"", "2", "14", "0", "\"fixup_ppc_half16\"", "0", "16", "0", "\"fixup_ppc_half16ds\"", "2", "14", "0", "\"fixup_ppc_pcrel34\"", "0", "34", "\"fixup_ppc_imm34\"", "0", "34", "0", "\"fixup_ppc_nofixup\"", "0", "0", "0", "\"Invalid kind!\"", "support::little"], "File": "PPCAsmBackend29", "Func": "getFixupKindInfo", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3781, "Length": 314, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_function_versions", "(", "tree", "fn1", ",", "tree", "fn2", ")", "{", "tree", "attr1", ",", "attr2", ";", "char", "*", "target1", ",", "*", "target2", ";", "bool", "result", ";", "if", "(", "TREE_CODE", "(", "fn1", ")", "!=", "FUNCTION_DECL", "||", "TREE_CODE", "(", "fn2", ")", "!=", "FUNCTION_DECL", ")", "return", "false", ";", "attr1", "=", "lookup_attribute", "(", "\"target\"", ",", "DECL_ATTRIBUTES", "(", "fn1", ")", ")", ";", "attr2", "=", "lookup_attribute", "(", "\"target\"", ",", "DECL_ATTRIBUTES", "(", "fn2", ")", ")", ";", "if", "(", "attr1", "==", "NULL_TREE", "&&", "attr2", "==", "NULL_TREE", ")", "return", "false", ";", "if", "(", "attr1", "==", "NULL_TREE", "||", "attr2", "==", "NULL_TREE", ")", "{", "if", "(", "DECL_FUNCTION_VERSIONED", "(", "fn1", ")", "||", "DECL_FUNCTION_VERSIONED", "(", "fn2", ")", ")", "{", "if", "(", "attr2", "!=", "NULL_TREE", ")", "{", "std", "::", "swap", "(", "fn1", ",", "fn2", ")", ";", "attr1", "=", "attr2", ";", "}", "error_at", "(", "DECL_SOURCE_LOCATION", "(", "fn2", ")", ",", "\"missing % attribute for multi-versioned %D\"", ",", "fn2", ")", ";", "inform", "(", "DECL_SOURCE_LOCATION", "(", "fn1", ")", ",", "\"previous declaration of %D\"", ",", "fn1", ")", ";", "DECL_ATTRIBUTES", "(", "fn2", ")", "=", "tree_cons", "(", "get_identifier", "(", "\"target\"", ")", ",", "copy_node", "(", "TREE_VALUE", "(", "attr1", ")", ")", ",", "DECL_ATTRIBUTES", "(", "fn2", ")", ")", ";", "}", "return", "false", ";", "}", "target1", "=", "sorted_attr_string", "(", "TREE_VALUE", "(", "attr1", ")", ")", ";", "target2", "=", "sorted_attr_string", "(", "TREE_VALUE", "(", "attr2", ")", ")", ";", "if", "(", "strcmp", "(", "target1", ",", "target2", ")", "==", "0", ")", "result", "=", "false", ";", "else", "result", "=", "true", ";", "XDELETEVEC", "(", "target1", ")", ";", "XDELETEVEC", "(", "target2", ")", ";", "return", "result", ";", "}", ""], "natrual_language": ["This", "function", "returns", "true", "if", "FN1", "and", "FN2", "are", "versions", "of", "the", "same", "function", ",", "that", "is", ",", "the", "target", "strings", "of", "the", "function", "decls", "are", "different", ".", "This", "assumes", "that", "FN1", "and", "FN2", "have", "the", "same", "signature", "."], "TS_V_token": ["i386", "\"target\"", "\"target\"", "\"missing % attribute for multi-versioned %D\"", "\"previous declaration of %D\"", "\"target\"", "0"], "File": "i3865", "Func": "ix86_function_versions", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3782, "Length": 236, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86AsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "{", "if", "(", "ExtraCode", "[", "1", "]", "!=", "0", ")", "return", "true", ";", "switch", "(", "ExtraCode", "[", "0", "]", ")", "{", "default", ":", "return", "true", ";", "case", "'b'", ":", "case", "'h'", ":", "case", "'w'", ":", "case", "'k'", ":", "case", "'q'", ":", "break", ";", "case", "'H'", ":", "if", "(", "MI", "->", "getInlineAsmDialect", "(", ")", "==", "InlineAsm", "::", "AD_Intel", ")", "{", "return", "true", ";", "}", "else", "{", "PrintMemReference", "(", "MI", ",", "OpNo", ",", "O", ",", "\"H\"", ")", ";", "}", "return", "false", ";", "case", "'P'", ":", "if", "(", "MI", "->", "getInlineAsmDialect", "(", ")", "==", "InlineAsm", "::", "AD_Intel", ")", "{", "PrintIntelMemReference", "(", "MI", ",", "OpNo", ",", "O", ",", "\"no-rip\"", ")", ";", "}", "else", "{", "PrintMemReference", "(", "MI", ",", "OpNo", ",", "O", ",", "\"no-rip\"", ")", ";", "}", "return", "false", ";", "}", "}", "if", "(", "MI", "->", "getInlineAsmDialect", "(", ")", "==", "InlineAsm", "::", "AD_Intel", ")", "{", "PrintIntelMemReference", "(", "MI", ",", "OpNo", ",", "O", ",", "nullptr", ")", ";", "}", "else", "{", "PrintMemReference", "(", "MI", ",", "OpNo", ",", "O", ",", "nullptr", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "operand", "of", "MI", ",", "an", "INLINEASM", "instruction", ",", "using", "the", "specified", "assembler", "variant", "as", "an", "address", "."], "TS_V_token": ["X86", "X86", "0", "1", "0", "0", "\"H\"", "\"no-rip\"", "\"no-rip\""], "File": "X86AsmPrinter10", "Func": "PrintAsmMemoryOperand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3783, "Length": 202, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_memory_move_cost", "(", "machine_mode", "mode", ",", "reg_class_t", "rclass", ",", "bool", "in", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_32BIT", ")", "return", "10", ";", "else", "{", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "<", "4", ")", "return", "8", ";", "else", "return", "(", "(", "2", "*", "GET_MODE_SIZE", "(", "mode", ")", ")", "*", "(", "rclass", "==", "LO_REGS", "?", "1", ":", "2", ")", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_MEMORY_MOVE_COST", "."], "TS_V_token": ["arm", "10", "4", "8", "2", "1", "2"], "File": "arm", "Func": "arm_memory_move_cost", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3784, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isLegalMaskedLoad", "(", "Type", "*", "DataType", ")", "{", "return", "ST", "->", "hasSVE", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "masked", "load", "."], "TS_V_token": ["AArch64"], "File": "AArch64TargetTransformInfo31", "Func": "isLegalMaskedLoad", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3785, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_function_value_bounds", "(", "const_tree", "valtype", ",", "const_tree", "fntype_or_decl", "ATTRIBUTE_UNUSED", ",", "bool", "outgoing", "ATTRIBUTE_UNUSED", ")", "{", "rtx", "res", "=", "NULL_RTX", ";", "if", "(", "BOUNDED_TYPE_P", "(", "valtype", ")", ")", "res", "=", "gen_rtx_REG", "(", "BNDmode", ",", "FIRST_BND_REG", ")", ";", "else", "if", "(", "chkp_type_has_pointer", "(", "valtype", ")", ")", "{", "bitmap", "slots", ";", "rtx", "bounds", "[", "2", "]", ";", "bitmap_iterator", "bi", ";", "unsigned", "i", ",", "bnd_no", "=", "0", ";", "bitmap_obstack_initialize", "(", "NULL", ")", ";", "slots", "=", "BITMAP_ALLOC", "(", "NULL", ")", ";", "chkp_find_bound_slots", "(", "valtype", ",", "slots", ")", ";", "EXECUTE_IF_SET_IN_BITMAP", "(", "slots", ",", "0", ",", "i", ",", "bi", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "BNDmode", ",", "FIRST_BND_REG", "+", "bnd_no", ")", ";", "rtx", "offs", "=", "GEN_INT", "(", "i", "*", "POINTER_SIZE", "/", "BITS_PER_UNIT", ")", ";", "gcc_assert", "(", "bnd_no", "<", "2", ")", ";", "bounds", "[", "bnd_no", "++", "]", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "reg", ",", "offs", ")", ";", "}", "res", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec_v", "(", "bnd_no", ",", "bounds", ")", ")", ";", "BITMAP_FREE", "(", "slots", ")", ";", "bitmap_obstack_release", "(", "NULL", ")", ";", "}", "else", "res", "=", "NULL_RTX", ";", "return", "res", ";", "}", ""], "natrual_language": ["Return", "an", "RTX", "representing", "a", "place", "where", "a", "function", "returns", "or", "recieves", "pointer", "bounds", "or", "NULL", "if", "no", "bounds", "are", "returned", ".", "VALTYPE", "is", "a", "data", "type", "of", "a", "value", "returned", "by", "the", "function", ".", "FN_DECL_OR_TYPE", "is", "a", "tree", "node", "representing", "FUNCTION_DECL", "or", "FUNCTION_TYPE", "of", "the", "function", ".", "If", "OUTGOING", "is", "false", ",", "return", "a", "place", "in", "which", "the", "caller", "will", "see", "the", "return", "value", ".", "Otherwise", ",", "return", "a", "place", "where", "a", "function", "returns", "a", "value", "."], "TS_V_token": ["i386", "2", "0", "0", "2"], "File": "i3864", "Func": "ix86_function_value_bounds", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3786, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "WebAssemblySelectionDAGInfo", "::", "EmitTargetCodeForMemcpy", "(", "SelectionDAG", "&", "DAG", ",", "const", "SDLoc", "&", "DL", ",", "SDValue", "Chain", ",", "SDValue", "Dst", ",", "SDValue", "Src", ",", "SDValue", "Size", ",", "Align", "Alignment", ",", "bool", "IsVolatile", ",", "bool", "AlwaysInline", ",", "MachinePointerInfo", "DstPtrInfo", ",", "MachinePointerInfo", "SrcPtrInfo", ")", "const", "{", "auto", "&", "ST", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getSubtarget", "<", "WebAssemblySubtarget", ">", "(", ")", ";", "if", "(", "!", "ST", ".", "hasBulkMemory", "(", ")", ")", "return", "SDValue", "(", ")", ";", "SDValue", "MemIdx", "=", "DAG", ".", "getConstant", "(", "0", ",", "DL", ",", "MVT", "::", "i32", ")", ";", "auto", "LenMVT", "=", "ST", ".", "hasAddr64", "(", ")", "?", "MVT", "::", "i64", ":", "MVT", "::", "i32", ";", "return", "DAG", ".", "getNode", "(", "WebAssemblyISD", "::", "MEMORY_COPY", ",", "DL", ",", "MVT", "::", "Other", ",", "{", "Chain", ",", "MemIdx", ",", "MemIdx", ",", "Dst", ",", "Src", ",", "DAG", ".", "getZExtOrTrunc", "(", "Size", ",", "DL", ",", "LenMVT", ")", "}", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memcpy", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "WebAssembly", "0", "MVT::i32", "MVT::i64", "MVT::i32", "WebAssemblyISD::MEMORY_COPY", "MVT::Other"], "File": "WebAssemblySelectionDAGInfo9", "Func": "EmitTargetCodeForMemcpy", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3787, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Mips pseudo instruction expansion pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Mips", "\"Mips pseudo instruction expansion pass\""], "File": "MipsExpandPseudo10", "Func": "getPassName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3788, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "c6x_mark_reg_read", "(", "rtx", "reg", ",", "bool", "cross", ")", "{", "unsigned", "regno", "=", "REGNO", "(", "reg", ")", ";", "unsigned", "nregs", "=", "hard_regno_nregs", "[", "regno", "]", "[", "GET_MODE", "(", "reg", ")", "]", ";", "while", "(", "nregs", "--", ">", "0", ")", "c6x_mark_regno_read", "(", "regno", "+", "nregs", ",", "cross", ")", ";", "}", ""], "natrual_language": ["Note", "that", "REG", "is", "read", "in", "the", "insn", "being", "examined", ".", "If", "CROSS", ",", "it", "means", "the", "access", "is", "through", "a", "cross", "path", ".", "Update", "the", "temporary", "reg", "access", "arrays", ",", "and", "set", "REG_ACCESS_STALL", "if", "the", "insn", "ca", "n't", "be", "issued", "in", "the", "current", "cycle", "."], "TS_V_token": ["c6x", "0"], "File": "c6x2", "Func": "c6x_mark_reg_read", "Target": "c6x", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 3789, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86Subtarget", "::", "X86Subtarget", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "X86TargetMachine", "&", "TM", ",", "unsigned", "StackAlignOverride", ",", "unsigned", "PreferVectorWidthOverride", ")", ":", "X86GenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "X86ProcFamily", "(", "Others", ")", ",", "PICStyle", "(", "PICStyles", "::", "None", ")", ",", "TM", "(", "TM", ")", ",", "TargetTriple", "(", "TT", ")", ",", "StackAlignOverride", "(", "StackAlignOverride", ")", ",", "PreferVectorWidthOverride", "(", "PreferVectorWidthOverride", ")", ",", "In64BitMode", "(", "TargetTriple", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ")", ",", "In32BitMode", "(", "TargetTriple", ".", "getArch", "(", ")", "==", "Triple", "::", "x86", "&&", "TargetTriple", ".", "getEnvironment", "(", ")", "!=", "Triple", "::", "CODE16", ")", ",", "In16BitMode", "(", "TargetTriple", ".", "getArch", "(", ")", "==", "Triple", "::", "x86", "&&", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "CODE16", ")", ",", "InstrInfo", "(", "initializeSubtargetDependencies", "(", "CPU", ",", "FS", ")", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", ",", "FrameLowering", "(", "*", "this", ",", "getStackAlignment", "(", ")", ")", "{", "if", "(", "!", "isPositionIndependent", "(", ")", ")", "setPICStyle", "(", "PICStyles", "::", "None", ")", ";", "else", "if", "(", "is64Bit", "(", ")", ")", "setPICStyle", "(", "PICStyles", "::", "RIPRel", ")", ";", "else", "if", "(", "isTargetCOFF", "(", ")", ")", "setPICStyle", "(", "PICStyles", "::", "None", ")", ";", "else", "if", "(", "isTargetDarwin", "(", ")", ")", "setPICStyle", "(", "PICStyles", "::", "StubPIC", ")", ";", "else", "if", "(", "isTargetELF", "(", ")", ")", "setPICStyle", "(", "PICStyles", "::", "GOT", ")", ";", "CallLoweringInfo", ".", "reset", "(", "new", "X86CallLowering", "(", "*", "getTargetLowering", "(", ")", ")", ")", ";", "Legalizer", ".", "reset", "(", "new", "X86LegalizerInfo", "(", "*", "this", ",", "TM", ")", ")", ";", "auto", "*", "RBI", "=", "new", "X86RegisterBankInfo", "(", "*", "getRegisterInfo", "(", ")", ")", ";", "RegBankInfo", ".", "reset", "(", "RBI", ")", ";", "InstSelector", ".", "reset", "(", "createX86InstructionSelector", "(", "TM", ",", "*", "this", ",", "*", "RBI", ")", ")", ";", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86"], "File": "X86Subtarget19", "Func": "X86Subtarget", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3790, "Length": 290, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "i386_pe_seh_unwind_emit", "(", "FILE", "*", "asm_out_file", ",", "rtx_insn", "*", "insn", ")", "{", "rtx", "note", ",", "pat", ";", "bool", "handled_one", "=", "false", ";", "struct", "seh_frame_state", "*", "seh", ";", "if", "(", "!", "TARGET_SEH", ")", "return", ";", "seh", "=", "cfun", "->", "machine", "->", "seh", ";", "if", "(", "seh", "==", "NULL", ")", "return", ";", "if", "(", "NOTE_P", "(", "insn", ")", "||", "!", "RTX_FRAME_RELATED_P", "(", "insn", ")", ")", "return", ";", "for", "(", "note", "=", "REG_NOTES", "(", "insn", ")", ";", "note", ";", "note", "=", "XEXP", "(", "note", ",", "1", ")", ")", "{", "switch", "(", "REG_NOTE_KIND", "(", "note", ")", ")", "{", "case", "REG_FRAME_RELATED_EXPR", ":", "pat", "=", "XEXP", "(", "note", ",", "0", ")", ";", "goto", "found", ";", "case", "REG_CFA_DEF_CFA", ":", "case", "REG_CFA_EXPRESSION", ":", "gcc_unreachable", "(", ")", ";", "break", ";", "case", "REG_CFA_REGISTER", ":", "gcc_unreachable", "(", ")", ";", "case", "REG_CFA_ADJUST_CFA", ":", "pat", "=", "XEXP", "(", "note", ",", "0", ")", ";", "if", "(", "pat", "==", "NULL", ")", "{", "pat", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", ")", "pat", "=", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ";", "}", "seh_cfa_adjust_cfa", "(", "asm_out_file", ",", "seh", ",", "pat", ")", ";", "handled_one", "=", "true", ";", "break", ";", "case", "REG_CFA_OFFSET", ":", "pat", "=", "XEXP", "(", "note", ",", "0", ")", ";", "if", "(", "pat", "==", "NULL", ")", "pat", "=", "single_set", "(", "insn", ")", ";", "seh_cfa_offset", "(", "asm_out_file", ",", "seh", ",", "pat", ")", ";", "handled_one", "=", "true", ";", "break", ";", "default", ":", "break", ";", "}", "}", "if", "(", "handled_one", ")", "return", ";", "pat", "=", "PATTERN", "(", "insn", ")", ";", "found", ":", "seh_frame_related_expr", "(", "asm_out_file", ",", "seh", ",", "pat", ")", ";", "}", ""], "natrual_language": ["This", "function", "looks", "at", "a", "single", "insn", "and", "emits", "any", "SEH", "directives", "required", "for", "unwind", "of", "this", "insn", "."], "TS_V_token": ["i386", "1", "0", "0", "0", "0", "0"], "File": "winnt4", "Func": "i386_pe_seh_unwind_emit", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3791, "Length": 261, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isImm", "(", ")", "const", "{", "return", "Kind", "==", "CV_Immediate", ";", "}", ""], "natrual_language": ["isImm", "-", "Is", "this", "an", "immediate", "operand", "?"], "TS_V_token": ["Hexagon"], "File": "HexagonHardwareLoops", "Func": "isImm", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3792, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "z8k_address_cost", "(", "rtx", "op", ",", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "addr_space_t", "as", "ATTRIBUTE_UNUSED", ",", "bool", "speed", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "GET_CODE", "(", "op", ")", "==", "PLUS", ")", "{", "rtx", "lhs", "=", "XEXP", "(", "op", ",", "0", ")", ";", "rtx", "rhs", "=", "XEXP", "(", "op", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "lhs", ")", "==", "REG", "&&", "GET_CODE", "(", "rhs", ")", "==", "CONST_INT", ")", "return", "10", ";", "if", "(", "GET_CODE", "(", "lhs", ")", "==", "MEM", ")", "return", "40", ";", "}", "return", "1", ";", "}", ""], "natrual_language": ["For", "z8k", ",", "it", "is", "better", "to", "use", "a", "complex", "address", "than", "let", "gcc", "copy", "the", "address", "into", "a", "reg", "and", "make", "a", "new", "pseudo", ".", "But", "not", "if", "the", "address", "requires", "to", "two", "regs", "-", "that", "would", "mean", "more", "pseudos", "with", "longer", "lifetimes", "."], "TS_V_token": ["z8k", "0", "1", "10", "40", "1"], "File": "z8k", "Func": "z8k_address_cost", "Target": "z8k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3793, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "BTFTypeFunc", "::", "emitType", "(", "MCStreamer", "&", "OS", ")", "{", "BTFTypeBase", "::", "emitType", "(", "OS", ")", ";", "}", ""], "natrual_language": ["Emit", "types", "for", "this", "BTF", "type", "entry", "."], "TS_V_token": ["BPF", "BTFTypeBase::emitType"], "File": "BTFDebug (2)", "Func": "emitType", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3794, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "vr4130_reorder", "(", "rtx_insn", "*", "*", "ready", ",", "int", "nready", ")", "{", "if", "(", "vr4130_swap_insns_p", "(", "ready", "[", "nready", "-", "1", "]", ",", "ready", "[", "nready", "-", "2", "]", ")", ")", "mips_promote_ready", "(", "ready", ",", "nready", "-", "2", ",", "nready", "-", "1", ")", ";", "}", ""], "natrual_language": ["A", "TUNE_MIPS4130", "helper", "function", ".", "(", "READY", ",", "NREADY", ")", "describes", "a", "ready", "queue", "with", "at", "least", "two", "instructions", ".", "Swap", "the", "first", "two", "if", "vr4130_swap_insns_p", "says", "that", "it", "could", "be", "worthwhile", "."], "TS_V_token": ["mips", "1", "2", "2", "1"], "File": "mips", "Func": "vr4130_reorder", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3795, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "classof", "(", "const", "MCExpr", "*", "E", ")", "{", "return", "E", "->", "getKind", "(", ")", "==", "MCExpr", "::", "Target", ";", "}", ""], "natrual_language": ["Methods", "for", "support", "type", "inquiry", "through", "isa", ",", "cast", ",", "and", "dyn_cast", ":"], "TS_V_token": ["M88k"], "File": "M88kMCExpr", "Func": "classof", "Target": "M88k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3796, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "needAddressOf", "(", ")", "const", "{", "return", "AddressOf", ";", "}", ""], "natrual_language": ["needAddressOf", "-", "Do", "we", "need", "to", "emit", "code", "to", "get", "the", "address", "of", "the", "variable/label", "?", "Only", "valid", "when", "parsing", "MS-style", "inline", "assembly", "."], "TS_V_token": ["X86"], "File": "X86AsmParser (2)2", "Func": "needAddressOf", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3797, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "const_load_sequence_p", "(", "swap_web_entry", "*", "insn_entry", ",", "rtx", "insn", ")", "{", "unsigned", "uid", "=", "INSN_UID", "(", "insn", ")", ";", "if", "(", "!", "insn_entry", "[", "uid", "]", ".", "is_swap", "||", "insn_entry", "[", "uid", "]", ".", "is_load", ")", "return", "false", ";", "const_rtx", "tocrel_base", ";", "struct", "df_insn_info", "*", "insn_info", "=", "DF_INSN_INFO_GET", "(", "insn", ")", ";", "df_ref", "use", ";", "FOR_EACH_INSN_INFO_USE", "(", "use", ",", "insn_info", ")", "{", "struct", "df_link", "*", "def_link", "=", "DF_REF_CHAIN", "(", "use", ")", ";", "if", "(", "!", "def_link", "||", "!", "def_link", "->", "ref", "||", "DF_REF_IS_ARTIFICIAL", "(", "def_link", "->", "ref", ")", "||", "def_link", "->", "next", ")", "return", "false", ";", "rtx", "def_insn", "=", "DF_REF_INSN", "(", "def_link", "->", "ref", ")", ";", "unsigned", "uid2", "=", "INSN_UID", "(", "def_insn", ")", ";", "if", "(", "!", "insn_entry", "[", "uid2", "]", ".", "is_load", "||", "!", "insn_entry", "[", "uid2", "]", ".", "is_swap", ")", "return", "false", ";", "rtx", "body", "=", "PATTERN", "(", "def_insn", ")", ";", "if", "(", "GET_CODE", "(", "body", ")", "!=", "SET", "||", "!", "(", "GET_CODE", "(", "SET_SRC", "(", "body", ")", ")", "==", "VEC_SELECT", "||", "pattern_is_rotate64", "(", "body", ")", ")", "||", "!", "MEM_P", "(", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ")", ")", ")", "return", "false", ";", "rtx", "mem", "=", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ")", ";", "rtx", "base_reg", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "if", "(", "!", "REG_P", "(", "base_reg", ")", ")", "return", "false", ";", "df_ref", "base_use", ";", "insn_info", "=", "DF_INSN_INFO_GET", "(", "def_insn", ")", ";", "FOR_EACH_INSN_INFO_USE", "(", "base_use", ",", "insn_info", ")", "{", "if", "(", "!", "rtx_equal_p", "(", "DF_REF_REG", "(", "base_use", ")", ",", "base_reg", ")", ")", "continue", ";", "struct", "df_link", "*", "base_def_link", "=", "DF_REF_CHAIN", "(", "base_use", ")", ";", "if", "(", "!", "base_def_link", "||", "base_def_link", "->", "next", ")", "return", "false", ";", "if", "(", "DF_REF_IS_ARTIFICIAL", "(", "base_def_link", "->", "ref", ")", ")", "return", "false", ";", "rtx", "tocrel_insn", "=", "DF_REF_INSN", "(", "base_def_link", "->", "ref", ")", ";", "rtx", "tocrel_body", "=", "PATTERN", "(", "tocrel_insn", ")", ";", "rtx", "base", ",", "offset", ";", "if", "(", "GET_CODE", "(", "tocrel_body", ")", "!=", "SET", ")", "return", "false", ";", "rtx", "tocrel_expr", "=", "SET_SRC", "(", "tocrel_body", ")", ";", "if", "(", "MEM_P", "(", "tocrel_expr", ")", ")", "tocrel_expr", "=", "XEXP", "(", "tocrel_expr", ",", "0", ")", ";", "if", "(", "!", "toc_relative_expr_p", "(", "tocrel_expr", ",", "false", ",", "&", "tocrel_base", ",", "NULL", ")", ")", "return", "false", ";", "split_const", "(", "XVECEXP", "(", "tocrel_base", ",", "0", ",", "0", ")", ",", "&", "base", ",", "&", "offset", ")", ";", "if", "(", "!", "SYMBOL_REF_P", "(", "base", ")", "||", "!", "CONSTANT_POOL_ADDRESS_P", "(", "base", ")", ")", "return", "false", ";", "else", "{", "rtx", "const_vector", "=", "get_pool_constant", "(", "base", ")", ";", "if", "(", "SYMBOL_REF_P", "(", "const_vector", ")", "&&", "CONSTANT_POOL_ADDRESS_P", "(", "const_vector", ")", ")", "const_vector", "=", "get_pool_constant", "(", "const_vector", ")", ";", "if", "(", "GET_CODE", "(", "const_vector", ")", "!=", "CONST_VECTOR", ")", "return", "false", ";", "}", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "insn", "is", "a", "swap", "fed", "by", "a", "load", "from", "the", "constant", "pool", "."], "TS_V_token": ["rs6000", "0", "0", "0", "0", "0", "0"], "File": "rs6000-p8swap", "Func": "const_load_sequence_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3798, "Length": 448, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sh_dynamicalize_shift_p", "(", "rtx", "count", ")", "{", "gcc_assert", "(", "CONST_INT_P", "(", "count", ")", ")", ";", "const", "int", "shift_amount_i", "=", "INTVAL", "(", "count", ")", "&", "31", ";", "int", "insn_count", ";", "if", "(", "shift_amount_i", "==", "31", ")", "insn_count", "=", "2", ";", "else", "insn_count", "=", "ashl_lshr_seq", "[", "shift_amount_i", "]", ".", "insn_count", ";", "return", "TARGET_DYNSHIFT", "&&", "(", "insn_count", ">", "1", "+", "SH_DYNAMIC_SHIFT_COST", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "potentially", "beneficial", "to", "use", "a", "dynamic", "shift", "instruction", "(", "shad", "/", "shar", ")", "instead", "of", "a", "combination", "of", "1/2/8/16", "shift", "instructions", "for", "the", "specified", "shift", "count", ".", "If", "dynamic", "shifts", "are", "not", "available", ",", "always", "return", "false", "."], "TS_V_token": ["sh", "31", "31", "2", "1"], "File": "sh4", "Func": "sh_dynamicalize_shift_p", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3799, "Length": 61, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "vector_config_insn_p", "(", "rtx_insn", "*", "rinsn", ")", "{", "return", "recog_memoized", "(", "rinsn", ")", ">=", "0", "&&", "get_attr_type", "(", "rinsn", ")", "==", "TYPE_VSETVL", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "a", "vsetvl", "instruction", "."], "TS_V_token": ["riscv", "0"], "File": "riscv-vsetvl", "Func": "vector_config_insn_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3800, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getBaseReg", "(", ")", "const", "{", "return", "BaseReg", ";", "}", ""], "natrual_language": ["Get", "the", "base", "register", "of", "the", "pointer", "value", "."], "TS_V_token": ["X86"], "File": "X86AsmParser (2)4", "Func": "getBaseReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3801, "Length": 10, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "frv_expand_mclracc_builtin", "(", "tree", "arglist", ")", "{", "enum", "insn_code", "icode", "=", "CODE_FOR_mclracc", ";", "rtx", "pat", ";", "rtx", "op0", "=", "frv_read_argument", "(", "&", "arglist", ")", ";", "op0", "=", "frv_int_to_acc", "(", "icode", ",", "0", ",", "op0", ")", ";", "if", "(", "!", "op0", ")", "return", "NULL_RTX", ";", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "op0", ")", ";", "if", "(", "pat", ")", "emit_insn", "(", "pat", ")", ";", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Expand", "the", "MCLRACC", "builtin", ".", "This", "builtin", "takes", "a", "single", "accumulator", "number", "as", "argument", "."], "TS_V_token": ["frv", "0"], "File": "frv2", "Func": "frv_expand_mclracc_builtin", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 3802, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyTTIImpl", "::", "areInlineCompatible", "(", "const", "Function", "*", "Caller", ",", "const", "Function", "*", "Callee", ")", "const", "{", "const", "TargetMachine", "&", "TM", "=", "getTLI", "(", ")", "->", "getTargetMachine", "(", ")", ";", "const", "FeatureBitset", "&", "CallerBits", "=", "TM", ".", "getSubtargetImpl", "(", "*", "Caller", ")", "->", "getFeatureBits", "(", ")", ";", "const", "FeatureBitset", "&", "CalleeBits", "=", "TM", ".", "getSubtargetImpl", "(", "*", "Callee", ")", "->", "getFeatureBits", "(", ")", ";", "return", "(", "CallerBits", "&", "CalleeBits", ")", "==", "CalleeBits", ";", "}", ""], "natrual_language": ["Determine", "whether", "a", "callee", "with", "the", "given", "TLI", "can", "be", "inlined", "into", "caller", "with", "this", "TLI", ",", "based", "on", "'nobuiltin", "'", "attributes", "."], "TS_V_token": ["WebAssembly", "WebAssembly"], "File": "WebAssemblyTargetTransformInfo11", "Func": "areInlineCompatible", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3803, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AsmInstrumentation", "::", "EmitInstruction", "(", "MCStreamer", "&", "Out", ",", "const", "MCInst", "&", "Inst", ",", "bool", "PrintSchedInfoEnabled", ")", "{", "Out", ".", "EmitInstruction", "(", "Inst", ",", "*", "STI", ",", "PrintSchedInfoEnabled", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["X86", "X86"], "File": "X86AsmInstrumentation1", "Func": "EmitInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3804, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "AArch64Disassembler", "::", "getInstruction", "(", "MCInst", "&", "MI", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "CS", ")", "const", "{", "CommentStream", "=", "&", "CS", ";", "Size", "=", "0", ";", "if", "(", "Bytes", ".", "size", "(", ")", "<", "4", ")", "return", "Fail", ";", "Size", "=", "4", ";", "uint32_t", "Insn", "=", "(", "Bytes", "[", "3", "]", "<<", "24", ")", "|", "(", "Bytes", "[", "2", "]", "<<", "16", ")", "|", "(", "Bytes", "[", "1", "]", "<<", "8", ")", "|", "(", "Bytes", "[", "0", "]", "<<", "0", ")", ";", "const", "uint8_t", "*", "Tables", "[", "]", "=", "{", "DecoderTable32", ",", "DecoderTableFallback32", "}", ";", "for", "(", "auto", "Table", ":", "Tables", ")", "{", "DecodeStatus", "Result", "=", "decodeInstruction", "(", "Table", ",", "MI", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "AArch64", "::", "LDR_ZA", ":", "case", "AArch64", "::", "STR_ZA", ":", "{", "MI", ".", "insert", "(", "MI", ".", "begin", "(", ")", ",", "MCOperand", "::", "createReg", "(", "AArch64", "::", "ZA", ")", ")", ";", "const", "MCOperand", "&", "Imm4Op", "=", "MI", ".", "getOperand", "(", "2", ")", ";", "assert", "(", "Imm4Op", ".", "isImm", "(", ")", "&&", "\"Unexpected operand type!\"", ")", ";", "MI", ".", "addOperand", "(", "Imm4Op", ")", ";", "break", ";", "}", "case", "AArch64", "::", "LD1_MXIPXX_H_B", ":", "case", "AArch64", "::", "LD1_MXIPXX_V_B", ":", "case", "AArch64", "::", "ST1_MXIPXX_H_B", ":", "case", "AArch64", "::", "ST1_MXIPXX_V_B", ":", "case", "AArch64", "::", "INSERT_MXIPZ_H_B", ":", "case", "AArch64", "::", "INSERT_MXIPZ_V_B", ":", "MI", ".", "insert", "(", "MI", ".", "begin", "(", ")", ",", "MCOperand", "::", "createReg", "(", "AArch64", "::", "ZAB0", ")", ")", ";", "break", ";", "case", "AArch64", "::", "EXTRACT_ZPMXI_H_B", ":", "case", "AArch64", "::", "EXTRACT_ZPMXI_V_B", ":", "MI", ".", "insert", "(", "MI", ".", "begin", "(", ")", "+", "2", ",", "MCOperand", "::", "createReg", "(", "AArch64", "::", "ZAB0", ")", ")", ";", "break", ";", "case", "AArch64", "::", "SMOVvi8to32_idx0", ":", "case", "AArch64", "::", "SMOVvi8to64_idx0", ":", "case", "AArch64", "::", "SMOVvi16to32_idx0", ":", "case", "AArch64", "::", "SMOVvi16to64_idx0", ":", "case", "AArch64", "::", "SMOVvi32to64_idx0", ":", "case", "AArch64", "::", "UMOVvi8_idx0", ":", "case", "AArch64", "::", "UMOVvi16_idx0", ":", "case", "AArch64", "::", "UMOVvi32_idx0", ":", "case", "AArch64", "::", "UMOVvi64_idx0", ":", "MI", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "0", ")", ")", ";", "break", ";", "}", "if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "return", "Result", ";", "}", "return", "MCDisassembler", "::", "Fail", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["AArch64", "AArch64", "0", "4", "4", "3", "24", "2", "16", "1", "8", "0", "0", "AArch64::LDR_ZA", "AArch64::STR_ZA", "AArch64::ZA", "2", "\"Unexpected operand type!\"", "AArch64::LD1_MXIPXX_H_B", "AArch64::LD1_MXIPXX_V_B", "AArch64::ST1_MXIPXX_H_B", "AArch64::ST1_MXIPXX_V_B", "AArch64::INSERT_MXIPZ_H_B", "AArch64::INSERT_MXIPZ_V_B", "AArch64::ZAB0", "AArch64::EXTRACT_ZPMXI_H_B", "AArch64::EXTRACT_ZPMXI_V_B", "2", "AArch64::ZAB0", "AArch64::SMOVvi8to32_idx0", "AArch64::SMOVvi8to64_idx0", "AArch64::SMOVvi16to32_idx0", "AArch64::SMOVvi16to64_idx0", "AArch64::SMOVvi32to64_idx0", "AArch64::UMOVvi8_idx0", "AArch64::UMOVvi16_idx0", "AArch64::UMOVvi32_idx0", "AArch64::UMOVvi64_idx0", "0"], "File": "AArch64Disassembler44", "Func": "getInstruction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3805, "Length": 373, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "has_constraint", "(", "unsigned", "int", "opnum", ",", "enum", "constraint_num", "constraint", ")", "{", "const", "char", "*", "p", "=", "recog_data", ".", "constraints", "[", "opnum", "]", ";", "if", "(", "p", "==", "NULL", "||", "*", "p", "==", "0", "||", "*", "p", "==", "','", ")", "return", "true", ";", "do", "{", "char", "c", ";", "unsigned", "int", "len", ";", "c", "=", "*", "p", ";", "len", "=", "CONSTRAINT_LEN", "(", "c", ",", "p", ")", ";", "gcc_assert", "(", "len", ">", "0", ")", ";", "switch", "(", "c", ")", "{", "case", "0", ":", "case", "','", ":", "return", "false", ";", "default", ":", "if", "(", "lookup_constraint", "(", "p", ")", "==", "constraint", ")", "return", "true", ";", "}", "p", "+=", "len", ";", "}", "while", "(", "1", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "operand", "OPNUM", "contains", "a", "constraint", "of", "type", "CONSTRAINT", ".", "Assumes", "that", "the", "current", "insn", "has", "already", "been", "recognised", "and", "hence", "the", "constraint", "data", "has", "been", "filled", "in", "."], "TS_V_token": ["rl78", "0", "0", "0", "1"], "File": "rl78", "Func": "has_constraint", "Target": "rl78", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3806, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RegisterBank", "&", "AMDGPURegisterBankInfo", "::", "getRegBankFromRegClass", "(", "const", "TargetRegisterClass", "&", "RC", ")", "const", "{", "if", "(", "&", "RC", "==", "&", "AMDGPU", "::", "SReg_1RegClass", ")", "return", "AMDGPU", "::", "VCCRegBank", ";", "return", "TRI", "->", "isSGPRClass", "(", "&", "RC", ")", "?", "AMDGPU", "::", "SGPRRegBank", ":", "AMDGPU", "::", "VGPRRegBank", ";", "}", ""], "natrual_language": ["Get", "a", "register", "bank", "that", "covers", "RC", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU::SReg_1RegClass", "AMDGPU::VCCRegBank", "AMDGPU::SGPRRegBank", "AMDGPU::VGPRRegBank"], "File": "AMDGPURegisterBankInfo (2)", "Func": "getRegBankFromRegClass", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3807, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseInstrInfo", "::", "buildOutlinedFrame", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineFunction", "&", "MF", ",", "const", "outliner", "::", "OutlinedFunction", "&", "OF", ")", "const", "{", "if", "(", "OF", ".", "FrameConstructionID", "==", "MachineOutlinerThunk", ")", "{", "MachineInstr", "*", "Call", "=", "&", "*", "--", "MBB", ".", "instr_end", "(", ")", ";", "bool", "isThumb", "=", "Subtarget", ".", "isThumb", "(", ")", ";", "unsigned", "FuncOp", "=", "isThumb", "?", "2", ":", "0", ";", "unsigned", "Opc", "=", "Call", "->", "getOperand", "(", "FuncOp", ")", ".", "isReg", "(", ")", "?", "isThumb", "?", "ARM", "::", "tTAILJMPr", ":", "ARM", "::", "TAILJMPr", ":", "isThumb", "?", "Subtarget", ".", "isTargetMachO", "(", ")", "?", "ARM", "::", "tTAILJMPd", ":", "ARM", "::", "tTAILJMPdND", ":", "ARM", "::", "TAILJMPd", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "MBB", ".", "end", "(", ")", ",", "DebugLoc", "(", ")", ",", "get", "(", "Opc", ")", ")", ".", "add", "(", "Call", "->", "getOperand", "(", "FuncOp", ")", ")", ";", "if", "(", "isThumb", "&&", "!", "Call", "->", "getOperand", "(", "FuncOp", ")", ".", "isReg", "(", ")", ")", "MIB", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "Call", "->", "eraseFromParent", "(", ")", ";", "}", "}", ""], "natrual_language": ["Insert", "a", "custom", "frame", "for", "outlined", "functions", "."], "TS_V_token": ["ARM", "ARM", "2", "0", "ARM::tTAILJMPr", "ARM::TAILJMPr", "ARM::tTAILJMPd", "ARM::tTAILJMPdND", "ARM::TAILJMPd", "ARMCC::AL"], "File": "ARMBaseInstrInfo50", "Func": "buildOutlinedFrame", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3808, "Length": 175, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "save_local_or_in_reg_p", "(", "unsigned", "int", "regno", ",", "int", "leaf_function", ")", "{", "if", "(", "!", "call_used_or_fixed_reg_p", "(", "regno", ")", "&&", "df_regs_ever_live_p", "(", "regno", ")", ")", "return", "true", ";", "if", "(", "regno", "==", "HARD_FRAME_POINTER_REGNUM", "&&", "frame_pointer_needed", ")", "return", "true", ";", "if", "(", "regno", "==", "RETURN_ADDR_REGNUM", "&&", "return_addr_reg_needed_p", "(", "leaf_function", ")", ")", "return", "true", ";", "if", "(", "got_register_rtx", "&&", "regno", "==", "REGNO", "(", "got_register_rtx", ")", ")", "return", "true", ";", "if", "(", "crtl", "->", "accesses_prior_frames", "&&", "(", "regno", "==", "HARD_FRAME_POINTER_REGNUM", "||", "regno", "==", "RETURN_ADDR_REGNUM", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "whether", "REGNO", ",", "a", "local", "or", "in", "register", ",", "must", "be", "saved/restored", "."], "TS_V_token": ["sparc"], "File": "sparc", "Func": "save_local_or_in_reg_p", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3809, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sh_fix_range", "(", "const", "char", "*", "const_str", ")", "{", "int", "i", ",", "first", ",", "last", ";", "char", "*", "str", ",", "*", "dash", ",", "*", "comma", ";", "i", "=", "strlen", "(", "const_str", ")", ";", "str", "=", "(", "char", "*", ")", "alloca", "(", "i", "+", "1", ")", ";", "memcpy", "(", "str", ",", "const_str", ",", "i", "+", "1", ")", ";", "while", "(", "1", ")", "{", "dash", "=", "strchr", "(", "str", ",", "'-'", ")", ";", "if", "(", "!", "dash", ")", "{", "warning", "(", "0", ",", "\"value of -mfixed-range must have form REG1-REG2\"", ")", ";", "return", ";", "}", "*", "dash", "=", "'\\0'", ";", "comma", "=", "strchr", "(", "dash", "+", "1", ",", "','", ")", ";", "if", "(", "comma", ")", "*", "comma", "=", "'\\0'", ";", "first", "=", "decode_reg_name", "(", "str", ")", ";", "if", "(", "first", "<", "0", ")", "{", "warning", "(", "0", ",", "\"unknown register name: %s\"", ",", "str", ")", ";", "return", ";", "}", "last", "=", "decode_reg_name", "(", "dash", "+", "1", ")", ";", "if", "(", "last", "<", "0", ")", "{", "warning", "(", "0", ",", "\"unknown register name: %s\"", ",", "dash", "+", "1", ")", ";", "return", ";", "}", "*", "dash", "=", "'-'", ";", "if", "(", "first", ">", "last", ")", "{", "warning", "(", "0", ",", "\"%s-%s is an empty range\"", ",", "str", ",", "dash", "+", "1", ")", ";", "return", ";", "}", "for", "(", "i", "=", "first", ";", "i", "<=", "last", ";", "++", "i", ")", "fixed_regs", "[", "i", "]", "=", "call_used_regs", "[", "i", "]", "=", "1", ";", "if", "(", "!", "comma", ")", "break", ";", "*", "comma", "=", "','", ";", "str", "=", "comma", "+", "1", ";", "}", "}", ""], "natrual_language": ["Parse", "the", "-mfixed-range=", "option", "string", "."], "TS_V_token": ["sh", "1", "1", "1", "0", "\"value of -mfixed-range must have form REG1-REG2\"", "1", "0", "0", "\"unknown register name: %s\"", "1", "0", "0", "\"unknown register name: %s\"", "1", "0", "\"%s-%s is an empty range\"", "1", "1", "1"], "File": "sh4", "Func": "sh_fix_range", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3810, "Length": 241, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint32_t", "BTFDebug", "::", "addType", "(", "std", "::", "unique_ptr", "<", "BTFTypeBase", ">", "TypeEntry", ")", "{", "TypeEntry", "->", "setId", "(", "TypeEntries", ".", "size", "(", ")", "+", "1", ")", ";", "uint32_t", "Id", "=", "TypeEntry", "->", "getId", "(", ")", ";", "TypeEntries", ".", "push_back", "(", "std", "::", "move", "(", "TypeEntry", ")", ")", ";", "return", "Id", ";", "}", ""], "natrual_language": ["Add", "a", "new", "type", "attribute", "to", "the", "specified", "entity", "."], "TS_V_token": ["BPF", "1"], "File": "BTFDebug (2)", "Func": "addType", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3811, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameInfo", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "unsigned", "FPReg", "=", "TRI", "->", "getFrameRegister", "(", "MF", ")", ";", "bool", "isWin64", "=", "STI", ".", "isTargetWin64", "(", ")", ";", "unsigned", "Opc", "=", "STI", ".", "is64Bit", "(", ")", "?", "X86", "::", "POP64r", ":", "X86", "::", "POP32r", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "if", "(", "Reg", "==", "FPReg", ")", "continue", ";", "if", "(", "!", "X86", "::", "VR128RegClass", ".", "contains", "(", "Reg", ")", "&&", "!", "isWin64", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "Opc", ")", ",", "Reg", ")", ";", "}", "else", "{", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "TII", ".", "loadRegFromStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "CSI", "[", "i", "]", ".", "getFrameIdx", "(", ")", ",", "RC", ",", "TRI", ")", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["restoreCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "restore", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "load", "instructions", "via", "loadRegToStackSlot", "(", ")", "."], "TS_V_token": ["X86", "X86", "X86::POP64r", "X86::POP32r", "0", "X86::VR128RegClass"], "File": "X86FrameInfo", "Func": "restoreCalleeSavedRegisters", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3812, "Length": 237, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86AsmParser", "::", "EmitInstruction", "(", "MCInst", "&", "Inst", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ")", "{", "Instrumentation", "->", "InstrumentInstruction", "(", "Inst", ",", "Operands", ",", "getContext", "(", ")", ",", "MII", ",", "Out", ")", ";", "Out", ".", "EmitInstruction", "(", "Inst", ",", "STI", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["X86", "X86"], "File": "X86AsmParser (2)", "Func": "EmitInstruction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3813, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rl78_alloc_physical_registers_cmp", "(", "rtx_insn", "*", "insn", ")", "{", "int", "tmp_id", ";", "rtx", "saved_op1", ";", "rtx", "prev", "=", "prev_nonnote_nondebug_insn", "(", "insn", ")", ";", "rtx", "first", ";", "OP", "(", "1", ")", "=", "transcode_memory_rtx", "(", "OP", "(", "1", ")", ",", "DE", ",", "insn", ")", ";", "OP", "(", "2", ")", "=", "transcode_memory_rtx", "(", "OP", "(", "2", ")", ",", "HL", ",", "insn", ")", ";", "MAYBE_OK", "(", "insn", ")", ";", "if", "(", "REG_P", "(", "OP", "(", "1", ")", ")", "&&", "REGNO", "(", "OP", "(", "1", ")", ")", "!=", "AX_REG", "&&", "GET_MODE", "(", "OP", "(", "1", ")", ")", "==", "HImode", "&&", "MEM_P", "(", "OP", "(", "2", ")", ")", ")", "{", "rtx", "cmp", "=", "XEXP", "(", "SET_SRC", "(", "PATTERN", "(", "insn", ")", ")", ",", "0", ")", ";", "OP", "(", "2", ")", "=", "move_to_acc", "(", "2", ",", "insn", ")", ";", "switch", "(", "GET_CODE", "(", "cmp", ")", ")", "{", "case", "EQ", ":", "case", "NE", ":", "break", ";", "case", "LTU", ":", "cmp", "=", "gen_rtx_GTU", "(", "HImode", ",", "OP", "(", "2", ")", ",", "OP", "(", "1", ")", ")", ";", "break", ";", "case", "GTU", ":", "cmp", "=", "gen_rtx_LTU", "(", "HImode", ",", "OP", "(", "2", ")", ",", "OP", "(", "1", ")", ")", ";", "break", ";", "case", "LEU", ":", "cmp", "=", "gen_rtx_GEU", "(", "HImode", ",", "OP", "(", "2", ")", ",", "OP", "(", "1", ")", ")", ";", "break", ";", "case", "GEU", ":", "cmp", "=", "gen_rtx_LEU", "(", "HImode", ",", "OP", "(", "2", ")", ",", "OP", "(", "1", ")", ")", ";", "break", ";", "case", "LT", ":", "case", "GT", ":", "case", "LE", ":", "case", "GE", ":", "debug_rtx", "(", "insn", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "GET_CODE", "(", "cmp", ")", "==", "EQ", "||", "GET_CODE", "(", "cmp", ")", "==", "NE", ")", "PATTERN", "(", "insn", ")", "=", "gen_cbranchhi4_real", "(", "cmp", ",", "OP", "(", "2", ")", ",", "OP", "(", "1", ")", ",", "OP", "(", "3", ")", ")", ";", "else", "PATTERN", "(", "insn", ")", "=", "gen_cbranchhi4_real_inverted", "(", "cmp", ",", "OP", "(", "2", ")", ",", "OP", "(", "1", ")", ",", "OP", "(", "3", ")", ")", ";", "MUST_BE_OK", "(", "insn", ")", ";", "}", "if", "(", "rtx_equal_p", "(", "OP", "(", "1", ")", ",", "OP", "(", "2", ")", ")", ")", "{", "OP", "(", "1", ")", "=", "OP", "(", "2", ")", "=", "BC", ";", "MUST_BE_OK", "(", "insn", ")", ";", "}", "tmp_id", "=", "get_max_insn_count", "(", ")", ";", "saved_op1", "=", "OP", "(", "1", ")", ";", "OP", "(", "1", ")", "=", "move_to_acc", "(", "1", ",", "insn", ")", ";", "MAYBE_OK", "(", "insn", ")", ";", "if", "(", "tmp_id", "==", "get_max_insn_count", "(", ")", ")", "force_into_acc", "(", "saved_op1", ",", "insn", ")", ";", "if", "(", "prev", ")", "first", "=", "next_nonnote_nondebug_insn", "(", "prev", ")", ";", "else", "for", "(", "first", "=", "insn", ";", "prev_nonnote_nondebug_insn", "(", "first", ")", ";", "first", "=", "prev_nonnote_nondebug_insn", "(", "first", ")", ")", ";", "OP", "(", "2", ")", "=", "move_to_hl", "(", "2", ",", "first", ")", ";", "MUST_BE_OK", "(", "insn", ")", ";", "}", ""], "natrual_language": ["Devirtualize", "a", "compare", "insn", "."], "TS_V_token": ["rl78", "1", "1", "2", "2", "1", "1", "1", "2", "0", "2", "2", "2", "1", "2", "1", "2", "1", "2", "1", "2", "1", "3", "2", "1", "3", "1", "2", "1", "2", "1", "1", "1", "2", "2"], "File": "rl782", "Func": "rl78_alloc_physical_registers_cmp", "Target": "rl78", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3814, "Length": 461, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "X86RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "Reserved", ".", "set", "(", "X86", "::", "RSP", ")", ";", "Reserved", ".", "set", "(", "X86", "::", "ESP", ")", ";", "Reserved", ".", "set", "(", "X86", "::", "SP", ")", ";", "Reserved", ".", "set", "(", "X86", "::", "SPL", ")", ";", "Reserved", ".", "set", "(", "X86", "::", "RIP", ")", ";", "Reserved", ".", "set", "(", "X86", "::", "EIP", ")", ";", "Reserved", ".", "set", "(", "X86", "::", "IP", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "{", "Reserved", ".", "set", "(", "X86", "::", "RBP", ")", ";", "Reserved", ".", "set", "(", "X86", "::", "EBP", ")", ";", "Reserved", ".", "set", "(", "X86", "::", "BP", ")", ";", "Reserved", ".", "set", "(", "X86", "::", "BPL", ")", ";", "}", "Reserved", ".", "set", "(", "X86", "::", "ST0", ")", ";", "Reserved", ".", "set", "(", "X86", "::", "ST1", ")", ";", "Reserved", ".", "set", "(", "X86", "::", "ST2", ")", ";", "Reserved", ".", "set", "(", "X86", "::", "ST3", ")", ";", "Reserved", ".", "set", "(", "X86", "::", "ST4", ")", ";", "Reserved", ".", "set", "(", "X86", "::", "ST5", ")", ";", "Reserved", ".", "set", "(", "X86", "::", "ST6", ")", ";", "Reserved", ".", "set", "(", "X86", "::", "ST7", ")", ";", "return", "Reserved", ";", "}", ""], "natrual_language": ["getReservedRegs", "-", "Returns", "a", "bitset", "indexed", "by", "physical", "register", "number", "indicating", "if", "a", "register", "is", "a", "special", "register", "that", "has", "particular", "uses", "and", "should", "be", "considered", "unavailable", "at", "all", "times", ",", "e.g", "."], "TS_V_token": ["X86", "X86", "X86::RSP", "X86::ESP", "X86::SP", "X86::SPL", "X86::RIP", "X86::EIP", "X86::IP", "X86::RBP", "X86::EBP", "X86::BP", "X86::BPL", "X86::ST0", "X86::ST1", "X86::ST2", "X86::ST3", "X86::ST4", "X86::ST5", "X86::ST6", "X86::ST7"], "File": "X86RegisterInfo34", "Func": "getReservedRegs", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3815, "Length": 221, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SystemZTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "BR_CC", ":", "return", "lowerBR_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "lowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "lowerGlobalAddress", "(", "cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ")", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalTLSAddress", ":", "return", "lowerGlobalTLSAddress", "(", "cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ")", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "lowerBlockAddress", "(", "cast", "<", "BlockAddressSDNode", ">", "(", "Op", ")", ",", "DAG", ")", ";", "case", "ISD", "::", "JumpTable", ":", "return", "lowerJumpTable", "(", "cast", "<", "JumpTableSDNode", ">", "(", "Op", ")", ",", "DAG", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "lowerConstantPool", "(", "cast", "<", "ConstantPoolSDNode", ">", "(", "Op", ")", ",", "DAG", ")", ";", "case", "ISD", "::", "BITCAST", ":", "return", "lowerBITCAST", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "lowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VACOPY", ":", "return", "lowerVACOPY", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "DYNAMIC_STACKALLOC", ":", "return", "lowerDYNAMIC_STACKALLOC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SMUL_LOHI", ":", "return", "lowerSMUL_LOHI", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "UMUL_LOHI", ":", "return", "lowerUMUL_LOHI", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SDIVREM", ":", "return", "lowerSDIVREM", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "UDIVREM", ":", "return", "lowerUDIVREM", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "OR", ":", "return", "lowerOR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ATOMIC_SWAP", ":", "return", "lowerATOMIC_LOAD", "(", "Op", ",", "DAG", ",", "SystemZISD", "::", "ATOMIC_SWAPW", ")", ";", "case", "ISD", "::", "ATOMIC_LOAD_ADD", ":", "return", "lowerATOMIC_LOAD", "(", "Op", ",", "DAG", ",", "SystemZISD", "::", "ATOMIC_LOADW_ADD", ")", ";", "case", "ISD", "::", "ATOMIC_LOAD_SUB", ":", "return", "lowerATOMIC_LOAD", "(", "Op", ",", "DAG", ",", "SystemZISD", "::", "ATOMIC_LOADW_SUB", ")", ";", "case", "ISD", "::", "ATOMIC_LOAD_AND", ":", "return", "lowerATOMIC_LOAD", "(", "Op", ",", "DAG", ",", "SystemZISD", "::", "ATOMIC_LOADW_AND", ")", ";", "case", "ISD", "::", "ATOMIC_LOAD_OR", ":", "return", "lowerATOMIC_LOAD", "(", "Op", ",", "DAG", ",", "SystemZISD", "::", "ATOMIC_LOADW_OR", ")", ";", "case", "ISD", "::", "ATOMIC_LOAD_XOR", ":", "return", "lowerATOMIC_LOAD", "(", "Op", ",", "DAG", ",", "SystemZISD", "::", "ATOMIC_LOADW_XOR", ")", ";", "case", "ISD", "::", "ATOMIC_LOAD_NAND", ":", "return", "lowerATOMIC_LOAD", "(", "Op", ",", "DAG", ",", "SystemZISD", "::", "ATOMIC_LOADW_NAND", ")", ";", "case", "ISD", "::", "ATOMIC_LOAD_MIN", ":", "return", "lowerATOMIC_LOAD", "(", "Op", ",", "DAG", ",", "SystemZISD", "::", "ATOMIC_LOADW_MIN", ")", ";", "case", "ISD", "::", "ATOMIC_LOAD_MAX", ":", "return", "lowerATOMIC_LOAD", "(", "Op", ",", "DAG", ",", "SystemZISD", "::", "ATOMIC_LOADW_MAX", ")", ";", "case", "ISD", "::", "ATOMIC_LOAD_UMIN", ":", "return", "lowerATOMIC_LOAD", "(", "Op", ",", "DAG", ",", "SystemZISD", "::", "ATOMIC_LOADW_UMIN", ")", ";", "case", "ISD", "::", "ATOMIC_LOAD_UMAX", ":", "return", "lowerATOMIC_LOAD", "(", "Op", ",", "DAG", ",", "SystemZISD", "::", "ATOMIC_LOADW_UMAX", ")", ";", "case", "ISD", "::", "ATOMIC_CMP_SWAP", ":", "return", "lowerATOMIC_CMP_SWAP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "STACKSAVE", ":", "return", "lowerSTACKSAVE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "STACKRESTORE", ":", "return", "lowerSTACKRESTORE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "PREFETCH", ":", "return", "lowerPREFETCH", "(", "Op", ",", "DAG", ")", ";", "default", ":", "llvm_unreachable", "(", "\"Unexpected node to lower\"", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["SystemZ", "SystemZ", "ISD::BR_CC", "ISD::SELECT_CC", "ISD::GlobalAddress", "ISD::GlobalTLSAddress", "ISD::BlockAddress", "ISD::JumpTable", "ISD::ConstantPool", "ISD::BITCAST", "ISD::VASTART", "ISD::VACOPY", "ISD::DYNAMIC_STACKALLOC", "ISD::SMUL_LOHI", "ISD::UMUL_LOHI", "ISD::SDIVREM", "ISD::UDIVREM", "ISD::OR", "ISD::ATOMIC_SWAP", "SystemZISD::ATOMIC_SWAPW", "ISD::ATOMIC_LOAD_ADD", "SystemZISD::ATOMIC_LOADW_ADD", "ISD::ATOMIC_LOAD_SUB", "SystemZISD::ATOMIC_LOADW_SUB", "ISD::ATOMIC_LOAD_AND", "SystemZISD::ATOMIC_LOADW_AND", "ISD::ATOMIC_LOAD_OR", "SystemZISD::ATOMIC_LOADW_OR", "ISD::ATOMIC_LOAD_XOR", "SystemZISD::ATOMIC_LOADW_XOR", "ISD::ATOMIC_LOAD_NAND", "SystemZISD::ATOMIC_LOADW_NAND", "ISD::ATOMIC_LOAD_MIN", "SystemZISD::ATOMIC_LOADW_MIN", "ISD::ATOMIC_LOAD_MAX", "SystemZISD::ATOMIC_LOADW_MAX", "ISD::ATOMIC_LOAD_UMIN", "SystemZISD::ATOMIC_LOADW_UMIN", "ISD::ATOMIC_LOAD_UMAX", "SystemZISD::ATOMIC_LOADW_UMAX", "ISD::ATOMIC_CMP_SWAP", "ISD::STACKSAVE", "ISD::STACKRESTORE", "ISD::PREFETCH", "\"Unexpected node to lower\""], "File": "SystemZISelLowering19", "Func": "LowerOperation", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3816, "Length": 509, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86DAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "char", "ConstraintCode", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "SDValue", "Op0", ",", "Op1", ",", "Op2", ",", "Op3", ";", "switch", "(", "ConstraintCode", ")", "{", "case", "'o'", ":", "case", "'v'", ":", "default", ":", "return", "true", ";", "case", "'m'", ":", "if", "(", "!", "SelectAddr", "(", "Op", ",", "Op", ",", "Op0", ",", "Op1", ",", "Op2", ",", "Op3", ")", ")", "return", "true", ";", "break", ";", "}", "OutOps", ".", "push_back", "(", "Op0", ")", ";", "OutOps", ".", "push_back", "(", "Op1", ")", ";", "OutOps", ".", "push_back", "(", "Op2", ")", ";", "OutOps", ".", "push_back", "(", "Op3", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["SelectInlineAsmMemoryOperand", "-", "Select", "the", "specified", "address", "as", "a", "target", "addressing", "mode", ",", "according", "to", "the", "specified", "constraint", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelDAGToDAG104", "Func": "SelectInlineAsmMemoryOperand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3817, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Optional", "<", "MCFixupKind", ">", "MipsAsmBackend", "::", "getFixupKind", "(", "StringRef", "Name", ")", "const", "{", "return", "StringSwitch", "<", "Optional", "<", "MCFixupKind", ">>", "(", "Name", ")", ".", "Case", "(", "\"R_MIPS_NONE\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_Mips_NONE", ")", ".", "Case", "(", "\"R_MIPS_32\"", ",", "FK_Data_4", ")", ".", "Case", "(", "\"R_MIPS_GOT_PAGE\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_Mips_GOT_PAGE", ")", ".", "Case", "(", "\"R_MIPS_CALL_HI16\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_Mips_CALL_HI16", ")", ".", "Case", "(", "\"R_MIPS_CALL_LO16\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_Mips_CALL_LO16", ")", ".", "Case", "(", "\"R_MIPS_CALL16\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_Mips_CALL16", ")", ".", "Case", "(", "\"R_MIPS_GOT16\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_Mips_GOT", ")", ".", "Case", "(", "\"R_MIPS_GOT_PAGE\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_Mips_GOT_PAGE", ")", ".", "Case", "(", "\"R_MIPS_GOT_OFST\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_Mips_GOT_OFST", ")", ".", "Case", "(", "\"R_MIPS_GOT_DISP\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_Mips_GOT_DISP", ")", ".", "Case", "(", "\"R_MIPS_GOT_HI16\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_Mips_GOT_HI16", ")", ".", "Case", "(", "\"R_MIPS_GOT_LO16\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_Mips_GOT_LO16", ")", ".", "Case", "(", "\"R_MIPS_TLS_GOTTPREL\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_Mips_GOTTPREL", ")", ".", "Case", "(", "\"R_MIPS_TLS_DTPREL_HI16\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_Mips_DTPREL_HI", ")", ".", "Case", "(", "\"R_MIPS_TLS_DTPREL_LO16\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_Mips_DTPREL_LO", ")", ".", "Case", "(", "\"R_MIPS_TLS_GD\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_Mips_TLSGD", ")", ".", "Case", "(", "\"R_MIPS_TLS_LDM\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_Mips_TLSLDM", ")", ".", "Case", "(", "\"R_MIPS_TLS_TPREL_HI16\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_Mips_TPREL_HI", ")", ".", "Case", "(", "\"R_MIPS_TLS_TPREL_LO16\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_Mips_TPREL_LO", ")", ".", "Case", "(", "\"R_MICROMIPS_CALL16\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_MICROMIPS_CALL16", ")", ".", "Case", "(", "\"R_MICROMIPS_GOT_DISP\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_MICROMIPS_GOT_DISP", ")", ".", "Case", "(", "\"R_MICROMIPS_GOT_PAGE\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_MICROMIPS_GOT_PAGE", ")", ".", "Case", "(", "\"R_MICROMIPS_GOT_OFST\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_MICROMIPS_GOT_OFST", ")", ".", "Case", "(", "\"R_MICROMIPS_GOT16\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_MICROMIPS_GOT16", ")", ".", "Case", "(", "\"R_MICROMIPS_TLS_GOTTPREL\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_MICROMIPS_GOTTPREL", ")", ".", "Case", "(", "\"R_MICROMIPS_TLS_DTPREL_HI16\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_MICROMIPS_TLS_DTPREL_HI16", ")", ".", "Case", "(", "\"R_MICROMIPS_TLS_DTPREL_LO16\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_MICROMIPS_TLS_DTPREL_LO16", ")", ".", "Case", "(", "\"R_MICROMIPS_TLS_GD\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_MICROMIPS_TLS_GD", ")", ".", "Case", "(", "\"R_MICROMIPS_TLS_LDM\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_MICROMIPS_TLS_LDM", ")", ".", "Case", "(", "\"R_MICROMIPS_TLS_TPREL_HI16\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_MICROMIPS_TLS_TPREL_HI16", ")", ".", "Case", "(", "\"R_MICROMIPS_TLS_TPREL_LO16\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_MICROMIPS_TLS_TPREL_LO16", ")", ".", "Case", "(", "\"R_MIPS_JALR\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_Mips_JALR", ")", ".", "Case", "(", "\"R_MICROMIPS_JALR\"", ",", "(", "MCFixupKind", ")", "Mips", "::", "fixup_MICROMIPS_JALR", ")", ".", "Default", "(", "MCAsmBackend", "::", "getFixupKind", "(", "Name", ")", ")", ";", "}", ""], "natrual_language": ["getFixupKind", "-", "Get", "the", "fixup", "kind", "of", "this", "expression", "."], "TS_V_token": ["Mips", "Mips", "\"R_MIPS_NONE\"", "Mips::fixup_Mips_NONE", "\"R_MIPS_32\"", "\"R_MIPS_GOT_PAGE\"", "Mips::fixup_Mips_GOT_PAGE", "\"R_MIPS_CALL_HI16\"", "Mips::fixup_Mips_CALL_HI16", "\"R_MIPS_CALL_LO16\"", "Mips::fixup_Mips_CALL_LO16", "\"R_MIPS_CALL16\"", "Mips::fixup_Mips_CALL16", "\"R_MIPS_GOT16\"", "Mips::fixup_Mips_GOT", "\"R_MIPS_GOT_PAGE\"", "Mips::fixup_Mips_GOT_PAGE", "\"R_MIPS_GOT_OFST\"", "Mips::fixup_Mips_GOT_OFST", "\"R_MIPS_GOT_DISP\"", "Mips::fixup_Mips_GOT_DISP", "\"R_MIPS_GOT_HI16\"", "Mips::fixup_Mips_GOT_HI16", "\"R_MIPS_GOT_LO16\"", "Mips::fixup_Mips_GOT_LO16", "\"R_MIPS_TLS_GOTTPREL\"", "Mips::fixup_Mips_GOTTPREL", "\"R_MIPS_TLS_DTPREL_HI16\"", "Mips::fixup_Mips_DTPREL_HI", "\"R_MIPS_TLS_DTPREL_LO16\"", "Mips::fixup_Mips_DTPREL_LO", "\"R_MIPS_TLS_GD\"", "Mips::fixup_Mips_TLSGD", "\"R_MIPS_TLS_LDM\"", "Mips::fixup_Mips_TLSLDM", "\"R_MIPS_TLS_TPREL_HI16\"", "Mips::fixup_Mips_TPREL_HI", "\"R_MIPS_TLS_TPREL_LO16\"", "Mips::fixup_Mips_TPREL_LO", "\"R_MICROMIPS_CALL16\"", "Mips::fixup_MICROMIPS_CALL16", "\"R_MICROMIPS_GOT_DISP\"", "Mips::fixup_MICROMIPS_GOT_DISP", "\"R_MICROMIPS_GOT_PAGE\"", "Mips::fixup_MICROMIPS_GOT_PAGE", "\"R_MICROMIPS_GOT_OFST\"", "Mips::fixup_MICROMIPS_GOT_OFST", "\"R_MICROMIPS_GOT16\"", "Mips::fixup_MICROMIPS_GOT16", "\"R_MICROMIPS_TLS_GOTTPREL\"", "Mips::fixup_MICROMIPS_GOTTPREL", "\"R_MICROMIPS_TLS_DTPREL_HI16\"", "Mips::fixup_MICROMIPS_TLS_DTPREL_HI16", "\"R_MICROMIPS_TLS_DTPREL_LO16\"", "Mips::fixup_MICROMIPS_TLS_DTPREL_LO16", "\"R_MICROMIPS_TLS_GD\"", "Mips::fixup_MICROMIPS_TLS_GD", "\"R_MICROMIPS_TLS_LDM\"", "Mips::fixup_MICROMIPS_TLS_LDM", "\"R_MICROMIPS_TLS_TPREL_HI16\"", "Mips::fixup_MICROMIPS_TLS_TPREL_HI16", "\"R_MICROMIPS_TLS_TPREL_LO16\"", "Mips::fixup_MICROMIPS_TLS_TPREL_LO16", "\"R_MIPS_JALR\"", "Mips::fixup_Mips_JALR", "\"R_MICROMIPS_JALR\"", "Mips::fixup_MICROMIPS_JALR"], "File": "MipsAsmBackend22", "Func": "getFixupKind", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3818, "Length": 426, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "x86_emit_floatuns", "(", "rtx", "operands", "[", "2", "]", ")", "{", "rtx_code_label", "*", "neglab", ",", "*", "donelab", ";", "rtx", "i0", ",", "i1", ",", "f0", ",", "in", ",", "out", ";", "machine_mode", "mode", ",", "inmode", ";", "inmode", "=", "GET_MODE", "(", "operands", "[", "1", "]", ")", ";", "gcc_assert", "(", "inmode", "==", "SImode", "||", "inmode", "==", "DImode", ")", ";", "out", "=", "operands", "[", "0", "]", ";", "in", "=", "force_reg", "(", "inmode", ",", "operands", "[", "1", "]", ")", ";", "mode", "=", "GET_MODE", "(", "out", ")", ";", "neglab", "=", "gen_label_rtx", "(", ")", ";", "donelab", "=", "gen_label_rtx", "(", ")", ";", "f0", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_cmp_and_jump_insns", "(", "in", ",", "const0_rtx", ",", "LT", ",", "const0_rtx", ",", "inmode", ",", "0", ",", "neglab", ")", ";", "expand_float", "(", "out", ",", "in", ",", "0", ")", ";", "emit_jump_insn", "(", "gen_jump", "(", "donelab", ")", ")", ";", "emit_barrier", "(", ")", ";", "emit_label", "(", "neglab", ")", ";", "i0", "=", "expand_simple_binop", "(", "inmode", ",", "LSHIFTRT", ",", "in", ",", "const1_rtx", ",", "NULL", ",", "1", ",", "OPTAB_DIRECT", ")", ";", "i1", "=", "expand_simple_binop", "(", "inmode", ",", "AND", ",", "in", ",", "const1_rtx", ",", "NULL", ",", "1", ",", "OPTAB_DIRECT", ")", ";", "i0", "=", "expand_simple_binop", "(", "inmode", ",", "IOR", ",", "i0", ",", "i1", ",", "i0", ",", "1", ",", "OPTAB_DIRECT", ")", ";", "expand_float", "(", "f0", ",", "i0", ",", "0", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "out", ",", "gen_rtx_PLUS", "(", "mode", ",", "f0", ",", "f0", ")", ")", ")", ";", "emit_label", "(", "donelab", ")", ";", "}", ""], "natrual_language": ["Generate", "an", "unsigned", "DImode/SImode", "to", "FP", "conversion", ".", "This", "is", "the", "same", "code", "optabs", "would", "emit", "if", "we", "did", "n't", "have", "TFmode", "patterns", "."], "TS_V_token": ["i386", "2", "1", "0", "1", "0", "0", "1", "1", "1", "0"], "File": "i3864", "Func": "x86_emit_floatuns", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3819, "Length": 233, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ArrayRef", "<", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">>", "LanaiInstrInfo", "::", "getSerializableDirectMachineOperandTargetFlags", "(", ")", "const", "{", "using", "namespace", "LanaiII", ";", "static", "const", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">", "TargetFlags", "[", "]", "=", "{", "{", "MO_ABS_HI", ",", "\"lanai-hi\"", "}", ",", "{", "MO_ABS_LO", ",", "\"lanai-lo\"", "}", ",", "{", "MO_NO_FLAG", ",", "\"lanai-nf\"", "}", "}", ";", "return", "makeArrayRef", "(", "TargetFlags", ")", ";", "}", ""], "natrual_language": ["Return", "an", "array", "that", "contains", "the", "direct", "target", "flag", "values", "and", "their", "names", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai", "\"lanai-hi\"", "\"lanai-lo\"", "\"lanai-nf\""], "File": "LanaiInstrInfo (2)", "Func": "getSerializableDirectMachineOperandTargetFlags", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3820, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "alignment_mask", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "body", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "body", ")", "!=", "SET", "||", "GET_CODE", "(", "SET_SRC", "(", "body", ")", ")", "!=", "AND", "||", "!", "REG_P", "(", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ")", ")", ")", "return", "0", ";", "rtx", "mask", "=", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "mask", ")", "==", "CONST_INT", ")", "{", "if", "(", "INTVAL", "(", "mask", ")", "==", "-", "16", ")", "return", "alignment_with_canonical_addr", "(", "SET_SRC", "(", "body", ")", ")", ";", "else", "return", "0", ";", "}", "if", "(", "!", "REG_P", "(", "mask", ")", ")", "return", "0", ";", "struct", "df_insn_info", "*", "insn_info", "=", "DF_INSN_INFO_GET", "(", "insn", ")", ";", "df_ref", "use", ";", "rtx", "real_mask", "=", "0", ";", "FOR_EACH_INSN_INFO_USE", "(", "use", ",", "insn_info", ")", "{", "if", "(", "!", "rtx_equal_p", "(", "DF_REF_REG", "(", "use", ")", ",", "mask", ")", ")", "continue", ";", "struct", "df_link", "*", "def_link", "=", "DF_REF_CHAIN", "(", "use", ")", ";", "if", "(", "!", "def_link", "||", "def_link", "->", "next", ")", "return", "0", ";", "rtx_insn", "*", "const_insn", "=", "DF_REF_INSN", "(", "def_link", "->", "ref", ")", ";", "rtx", "const_body", "=", "PATTERN", "(", "const_insn", ")", ";", "if", "(", "GET_CODE", "(", "const_body", ")", "!=", "SET", ")", "return", "0", ";", "real_mask", "=", "SET_SRC", "(", "const_body", ")", ";", "if", "(", "GET_CODE", "(", "real_mask", ")", "!=", "CONST_INT", "||", "INTVAL", "(", "real_mask", ")", "!=", "-", "16", ")", "return", "0", ";", "}", "if", "(", "real_mask", "==", "0", ")", "return", "0", ";", "return", "alignment_with_canonical_addr", "(", "SET_SRC", "(", "body", ")", ")", ";", "}", ""], "natrual_language": ["Check", "whether", "an", "rtx", "is", "an", "alignment", "mask", ",", "and", "if", "so", ",", "return", "a", "fully-expanded", "rtx", "for", "the", "masking", "operation", "."], "TS_V_token": ["powerpcspe", "0", "0", "1", "16", "0", "0", "0", "0", "0", "16", "0", "0", "0"], "File": "powerpcspe", "Func": "alignment_mask", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3821, "Length": 251, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "pa_output_64bit_ior", "(", "rtx", "*", "operands", ")", "{", "unsigned", "HOST_WIDE_INT", "mask", "=", "INTVAL", "(", "operands", "[", "2", "]", ")", ";", "int", "bs0", ",", "bs1", ",", "p", ",", "len", ";", "if", "(", "INTVAL", "(", "operands", "[", "2", "]", ")", "==", "0", ")", "return", "\"copy %1,%0\"", ";", "for", "(", "bs0", "=", "0", ";", "bs0", "<", "HOST_BITS_PER_WIDE_INT", ";", "bs0", "++", ")", "if", "(", "(", "mask", "&", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "1", "<<", "bs0", ")", ")", "!=", "0", ")", "break", ";", "for", "(", "bs1", "=", "bs0", ";", "bs1", "<", "HOST_BITS_PER_WIDE_INT", ";", "bs1", "++", ")", "if", "(", "(", "mask", "&", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "1", "<<", "bs1", ")", ")", "==", "0", ")", "break", ";", "gcc_assert", "(", "bs1", "==", "HOST_BITS_PER_WIDE_INT", "||", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "1", "<<", "bs1", ")", ">", "mask", ")", ";", "p", "=", "63", "-", "bs0", ";", "len", "=", "bs1", "-", "bs0", ";", "operands", "[", "2", "]", "=", "GEN_INT", "(", "p", ")", ";", "operands", "[", "3", "]", "=", "GEN_INT", "(", "len", ")", ";", "return", "\"depdi -1,%2,%3,%0\"", ";", "}", ""], "natrual_language": ["Return", "a", "string", "to", "perform", "a", "bitwise-and", "of", "operands", "[", "1", "]", "with", "operands", "[", "2", "]", "storing", "the", "result", "in", "operands", "[", "0", "]", "."], "TS_V_token": ["pa", "2", "2", "0", "\"copy %1,%0\"", "0", "1", "0", "1", "0", "1", "63", "2", "3", "\"depdi -1,%2,%3,%0\""], "File": "pa", "Func": "pa_output_64bit_ior", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3822, "Length": 167, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getString", "(", ")", ";", "if", "(", "IDVal", "==", "\".option\"", ")", "return", "parseDirectiveOption", "(", ")", ";", "if", "(", "IDVal", "==", "\".attribute\"", ")", "return", "parseDirectiveAttribute", "(", ")", ";", "if", "(", "IDVal", "==", "\".insn\"", ")", "return", "parseDirectiveInsn", "(", "DirectiveID", ".", "getLoc", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "."], "TS_V_token": ["RISCV", "RISCV", "\".option\"", "\".attribute\"", "\".insn\""], "File": "RISCVAsmParser (2)", "Func": "ParseDirective", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3823, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_hard_regno_mode_ok_uncached", "(", "int", "regno", ",", "machine_mode", "mode", ")", "{", "int", "last_regno", "=", "regno", "+", "rs6000_hard_regno_nregs", "[", "mode", "]", "[", "regno", "]", "-", "1", ";", "if", "(", "COMPLEX_MODE_P", "(", "mode", ")", ")", "mode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "if", "(", "mode", "==", "PTImode", ")", "return", "(", "IN_RANGE", "(", "regno", ",", "FIRST_GPR_REGNO", ",", "LAST_GPR_REGNO", ")", "&&", "IN_RANGE", "(", "last_regno", ",", "FIRST_GPR_REGNO", ",", "LAST_GPR_REGNO", ")", "&&", "(", "(", "regno", "&", "1", ")", "==", "0", ")", ")", ";", "if", "(", "TARGET_VSX", "&&", "VSX_REGNO_P", "(", "regno", ")", "&&", "(", "VECTOR_MEM_VSX_P", "(", "mode", ")", "||", "FLOAT128_VECTOR_P", "(", "mode", ")", "||", "reg_addr", "[", "mode", "]", ".", "scalar_in_vmx_p", "||", "(", "TARGET_VSX_TIMODE", "&&", "mode", "==", "TImode", ")", "||", "(", "TARGET_VADDUQM", "&&", "mode", "==", "V1TImode", ")", ")", ")", "{", "if", "(", "FP_REGNO_P", "(", "regno", ")", ")", "return", "FP_REGNO_P", "(", "last_regno", ")", ";", "if", "(", "ALTIVEC_REGNO_P", "(", "regno", ")", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "!=", "16", "&&", "!", "reg_addr", "[", "mode", "]", ".", "scalar_in_vmx_p", ")", "return", "0", ";", "return", "ALTIVEC_REGNO_P", "(", "last_regno", ")", ";", "}", "}", "if", "(", "INT_REGNO_P", "(", "regno", ")", ")", "return", "INT_REGNO_P", "(", "last_regno", ")", ";", "if", "(", "FP_REGNO_P", "(", "regno", ")", ")", "{", "if", "(", "FLOAT128_VECTOR_P", "(", "mode", ")", ")", "return", "false", ";", "if", "(", "SCALAR_FLOAT_MODE_P", "(", "mode", ")", "&&", "(", "mode", "!=", "TDmode", "||", "(", "regno", "%", "2", ")", "==", "0", ")", "&&", "FP_REGNO_P", "(", "last_regno", ")", ")", "return", "1", ";", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_INT", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "==", "UNITS_PER_FP_WORD", ")", "return", "1", ";", "if", "(", "TARGET_VSX_SMALL_INTEGER", ")", "{", "if", "(", "mode", "==", "SImode", ")", "return", "1", ";", "if", "(", "TARGET_P9_VECTOR", "&&", "(", "mode", "==", "HImode", "||", "mode", "==", "QImode", ")", ")", "return", "1", ";", "}", "}", "if", "(", "PAIRED_SIMD_REGNO_P", "(", "regno", ")", "&&", "TARGET_PAIRED_FLOAT", "&&", "PAIRED_VECTOR_MODE", "(", "mode", ")", ")", "return", "1", ";", "return", "0", ";", "}", "if", "(", "CR_REGNO_P", "(", "regno", ")", ")", "return", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_CC", ";", "if", "(", "CA_REGNO_P", "(", "regno", ")", ")", "return", "mode", "==", "Pmode", "||", "mode", "==", "SImode", ";", "if", "(", "ALTIVEC_REGNO_P", "(", "regno", ")", ")", "return", "(", "VECTOR_MEM_ALTIVEC_OR_VSX_P", "(", "mode", ")", "||", "mode", "==", "V1TImode", ")", ";", "if", "(", "SPE_SIMD_REGNO_P", "(", "regno", ")", "&&", "TARGET_SPE", "&&", "SPE_VECTOR_MODE", "(", "mode", ")", ")", "return", "1", ";", "return", "GET_MODE_SIZE", "(", "mode", ")", "<=", "UNITS_PER_WORD", ";", "}", ""], "natrual_language": ["Value", "is", "1", "if", "hard", "register", "REGNO", "can", "hold", "a", "value", "of", "machine-mode", "MODE", "."], "TS_V_token": ["powerpcspe", "1", "1", "0", "16", "0", "2", "0", "1", "1", "1", "1", "1", "0", "1"], "File": "powerpcspe", "Func": "rs6000_hard_regno_mode_ok_uncached", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3824, "Length": 383, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "aarch64_simd_clone_adjust", "(", "struct", "cgraph_node", "*", "node", ")", "{", "tree", "t", "=", "TREE_TYPE", "(", "node", "->", "decl", ")", ";", "TYPE_ATTRIBUTES", "(", "t", ")", "=", "make_attribute", "(", "\"aarch64_vector_pcs\"", ",", "\"default\"", ",", "TYPE_ATTRIBUTES", "(", "t", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SIMD_CLONE_ADJUST", "."], "TS_V_token": ["aarch64", "\"aarch64_vector_pcs\"", "\"default\""], "File": "aarch64", "Func": "aarch64_simd_clone_adjust", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3825, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isSafeMemOpType", "(", "MVT", "VT", ")", "const", "{", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "return", "X86ScalarSSEf32", ";", "if", "(", "VT", "==", "MVT", "::", "f64", ")", "return", "X86ScalarSSEf64", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "it", "'s", "safe", "to", "use", "load", "/", "store", "of", "the", "specified", "type", "to", "expand", "memcpy", "/", "memset", "inline", "."], "TS_V_token": ["X86", "X86", "MVT::f32", "X86", "MVT::f64", "X86"], "File": "X86ISelLowering (2)5", "Func": "isSafeMemOpType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3826, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "SIRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "SIFrameLowering", "*", "TFI", "=", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ".", "getFrameLowering", "(", ")", ";", "const", "SIMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "if", "(", "FuncInfo", "->", "isEntryFunction", "(", ")", ")", "{", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "FuncInfo", "->", "getFrameOffsetReg", "(", ")", ":", "Register", "(", ")", ";", "}", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "FuncInfo", "->", "getFrameOffsetReg", "(", ")", ":", "FuncInfo", "->", "getStackPtrOffsetReg", "(", ")", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "SI"], "File": "SIRegisterInfo1", "Func": "getFrameRegister", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3827, "Length": 93, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isTarget64BitILP32", "(", ")", "const", "{", "return", "Is64Bit", "&&", "(", "TargetTriple", ".", "isX32", "(", ")", "||", "TargetTriple", ".", "isOSNaCl", "(", ")", ")", ";", "}", ""], "natrual_language": ["Is", "this", "x86_64", "with", "the", "ILP32", "programming", "model", "(", "x32", "ABI", ")", "?"], "TS_V_token": ["X86"], "File": "X86Subtarget (2)2", "Func": "isTarget64BitILP32", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3828, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "clear", "(", ")", "{", "memset", "(", "ScoreLBs", ",", "0", ",", "sizeof", "(", "ScoreLBs", ")", ")", ";", "memset", "(", "ScoreUBs", ",", "0", ",", "sizeof", "(", "ScoreUBs", ")", ")", ";", "memset", "(", "EventUBs", ",", "0", ",", "sizeof", "(", "EventUBs", ")", ")", ";", "for", "(", "enum", "InstCounterType", "T", "=", "VM_CNT", ";", "T", "<", "NUM_INST_CNTS", ";", "T", "=", "(", "enum", "InstCounterType", ")", "(", "T", "+", "1", ")", ")", "{", "memset", "(", "VgprScores", "[", "T", "]", ",", "0", ",", "sizeof", "(", "VgprScores", "[", "T", "]", ")", ")", ";", "}", "memset", "(", "SgprScores", ",", "0", ",", "sizeof", "(", "SgprScores", ")", ")", ";", "}", ""], "natrual_language": ["Clear", "all", "timers", "in", "this", "group", "."], "TS_V_token": ["AMDGPU", "0", "0", "0", "1", "0", "0"], "File": "SIInsertWaitcnts10", "Func": "clear", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3829, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "alpha_cannot_force_const_mem", "(", "rtx", "x", ")", "{", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "x", ")", ";", "return", "code", "==", "SYMBOL_REF", "||", "code", "==", "LABEL_REF", "||", "code", "==", "CONST", ";", "}", ""], "natrual_language": ["Primarily", "this", "is", "required", "for", "TLS", "symbols", ",", "but", "given", "that", "our", "move", "patterns", "*", "ought", "*", "to", "be", "able", "to", "handle", "any", "symbol", "at", "any", "time", ",", "we", "should", "never", "be", "spilling", "symbolic", "operands", "to", "the", "constant", "pool", ",", "ever", "."], "TS_V_token": ["alpha"], "File": "alpha3", "Func": "alpha_cannot_force_const_mem", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3830, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addPostRegAlloc", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableDeadRegisterElimination", ")", "addPass", "(", "createAArch64DeadRegisterDefinitions", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "(", "TM", "->", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "isCortexA53", "(", ")", "||", "TM", "->", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "isCortexA57", "(", ")", ")", "&&", "usingDefaultRegAlloc", "(", ")", ")", "addPass", "(", "createAArch64A57FPLoadBalancing", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "after", "register", "allocation", "pass", "pipeline", "but", "before", "prolog-epilog", "insertion", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine29", "Func": "addPostRegAlloc", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3831, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "run", "(", ")", "{", "return", "runOnNode", "(", "MDT", ".", "getRootNode", "(", ")", ")", ";", "}", ""], "natrual_language": ["Run", "the", "analysis", "pass", "over", "a", "function", "and", "produce", "a", "dominator", "tree", "."], "TS_V_token": ["Hexagon"], "File": "HexagonBitSimplify (2)", "Func": "run", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3832, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "char", "X86Subtarget", "::", "classifyGlobalReference", "(", "const", "GlobalValue", "*", "GV", ",", "const", "Module", "&", "M", ")", "const", "{", "if", "(", "TM", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Large", "&&", "!", "isPositionIndependent", "(", ")", ")", "return", "X86II", "::", "MO_NO_FLAG", ";", "if", "(", "GV", ")", "{", "if", "(", "Optional", "<", "ConstantRange", ">", "CR", "=", "GV", "->", "getAbsoluteSymbolRange", "(", ")", ")", "{", "if", "(", "CR", "->", "getUnsignedMax", "(", ")", ".", "ult", "(", "128", ")", ")", "return", "X86II", "::", "MO_ABS8", ";", "else", "return", "X86II", "::", "MO_NO_FLAG", ";", "}", "}", "if", "(", "TM", ".", "shouldAssumeDSOLocal", "(", "M", ",", "GV", ")", ")", "return", "classifyLocalReference", "(", "GV", ")", ";", "if", "(", "isTargetCOFF", "(", ")", ")", "{", "if", "(", "GV", "->", "hasDLLImportStorageClass", "(", ")", ")", "return", "X86II", "::", "MO_DLLIMPORT", ";", "return", "X86II", "::", "MO_COFFSTUB", ";", "}", "if", "(", "isOSWindows", "(", ")", ")", "return", "X86II", "::", "MO_NO_FLAG", ";", "if", "(", "is64Bit", "(", ")", ")", "{", "if", "(", "TM", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Large", ")", "return", "isTargetELF", "(", ")", "?", "X86II", "::", "MO_GOT", ":", "X86II", "::", "MO_NO_FLAG", ";", "return", "X86II", "::", "MO_GOTPCREL", ";", "}", "if", "(", "isTargetDarwin", "(", ")", ")", "{", "if", "(", "!", "isPositionIndependent", "(", ")", ")", "return", "X86II", "::", "MO_DARWIN_NONLAZY", ";", "return", "X86II", "::", "MO_DARWIN_NONLAZY_PIC_BASE", ";", "}", "if", "(", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "Static", ")", "return", "X86II", "::", "MO_NO_FLAG", ";", "return", "X86II", "::", "MO_GOT", ";", "}", ""], "natrual_language": ["Classify", "a", "global", "variable", "reference", "for", "the", "current", "subtarget", "according", "to", "how", "we", "should", "reference", "it", "in", "a", "non-pcrel", "context", "."], "TS_V_token": ["X86", "X86", "X86II::MO_NO_FLAG", "128", "X86II::MO_ABS8", "X86II::MO_NO_FLAG", "X86II::MO_DLLIMPORT", "X86II::MO_COFFSTUB", "X86II::MO_NO_FLAG", "X86II::MO_GOT", "X86II::MO_NO_FLAG", "X86II::MO_GOTPCREL", "X86II::MO_DARWIN_NONLAZY", "X86II::MO_DARWIN_NONLAZY_PIC_BASE", "X86II::MO_NO_FLAG", "X86II::MO_GOT"], "File": "X86Subtarget72", "Func": "classifyGlobalReference", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3833, "Length": 226, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_handle_attr_arch", "(", "const", "char", "*", "str", ")", "{", "const", "struct", "processor", "*", "tmp_arch", "=", "NULL", ";", "enum", "aarch64_parse_opt_result", "parse_res", "=", "aarch64_parse_arch", "(", "str", ",", "&", "tmp_arch", ",", "&", "aarch64_isa_flags", ")", ";", "if", "(", "parse_res", "==", "AARCH64_PARSE_OK", ")", "{", "gcc_assert", "(", "tmp_arch", ")", ";", "selected_arch", "=", "tmp_arch", ";", "explicit_arch", "=", "selected_arch", "->", "arch", ";", "return", "true", ";", "}", "switch", "(", "parse_res", ")", "{", "case", "AARCH64_PARSE_MISSING_ARG", ":", "error", "(", "\"missing name in % pragma or attribute\"", ")", ";", "break", ";", "case", "AARCH64_PARSE_INVALID_ARG", ":", "error", "(", "\"invalid name (\\\"%s\\\") in % pragma or attribute\"", ",", "str", ")", ";", "aarch64_print_hint_for_arch", "(", "str", ")", ";", "break", ";", "case", "AARCH64_PARSE_INVALID_FEATURE", ":", "error", "(", "\"invalid value (\\\"%s\\\") in % pragma or attribute\"", ",", "str", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Handle", "the", "ARCH_STR", "argument", "to", "the", "arch=", "target", "attribute", ".", "PRAGMA_OR_ATTR", "is", "used", "in", "potential", "error", "messages", "."], "TS_V_token": ["aarch64", "\"missing name in % pragma or attribute\"", "\"invalid name (\\\"%s\\\") in % pragma or attribute\"", "\"invalid value (\\\"%s\\\") in % pragma or attribute\""], "File": "aarch645", "Func": "aarch64_handle_attr_arch", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3834, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_relational_operand_ok_p", "(", "enum", "rtx_code", "code", ",", "rtx", "cmp1", ")", "{", "switch", "(", "code", ")", "{", "case", "GT", ":", "case", "GTU", ":", "return", "reg_or_0_operand", "(", "cmp1", ",", "VOIDmode", ")", ";", "case", "GE", ":", "case", "GEU", ":", "return", "!", "TARGET_MIPS16", "&&", "cmp1", "==", "const1_rtx", ";", "case", "LT", ":", "case", "LTU", ":", "return", "arith_operand", "(", "cmp1", ",", "VOIDmode", ")", ";", "case", "LE", ":", "return", "sle_operand", "(", "cmp1", ",", "VOIDmode", ")", ";", "case", "LEU", ":", "return", "sleu_operand", "(", "cmp1", ",", "VOIDmode", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "CMP1", "is", "a", "suitable", "second", "operand", "for", "relational", "operator", "CODE", ".", "See", "also", "the", "*", "sCC", "patterns", "in", "mips.md", "."], "TS_V_token": ["mips"], "File": "mips3", "Func": "mips_relational_operand_ok_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3835, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleDAGInstrs", "*", "GCNPassConfig", "::", "createMachineScheduler", "(", "MachineSchedContext", "*", "C", ")", "const", "{", "const", "SISubtarget", "&", "ST", "=", "C", "->", "MF", "->", "getSubtarget", "<", "SISubtarget", ">", "(", ")", ";", "if", "(", "ST", ".", "enableSIScheduler", "(", ")", ")", "return", "createSIMachineScheduler", "(", "C", ")", ";", "return", "nullptr", ";", "}", ""], "natrual_language": ["Create", "an", "instance", "of", "ScheduleDAGInstrs", "to", "be", "run", "within", "the", "standard", "MachineScheduler", "pass", "for", "this", "function", "and", "target", "at", "the", "current", "optimization", "level", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "SI"], "File": "AMDGPUTargetMachine103", "Func": "createMachineScheduler", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3836, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64StorePairSuppress", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "const", "TargetSubtargetInfo", "&", "ST", "=", "MF", ".", "getSubtarget", "(", ")", ";", "TII", "=", "static_cast", "<", "const", "AArch64InstrInfo", "*", ">", "(", "ST", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "ST", ".", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "SchedModel", ".", "init", "(", "&", "ST", ")", ";", "Traces", "=", "&", "getAnalysis", "<", "MachineTraceMetrics", ">", "(", ")", ";", "MinInstr", "=", "nullptr", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"*** \"", "<<", "getPassName", "(", ")", "<<", "\": \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "if", "(", "!", "SchedModel", ".", "hasInstrSchedModel", "(", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\" Skipping pass: no machine model present.\\n\"", ")", ";", "return", "false", ";", "}", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "bool", "SuppressSTP", "=", "false", ";", "unsigned", "PrevBaseReg", "=", "0", ";", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "{", "if", "(", "!", "isNarrowFPStore", "(", "MI", ")", ")", "continue", ";", "const", "MachineOperand", "*", "BaseOp", ";", "int64_t", "Offset", ";", "if", "(", "TII", "->", "getMemOperandWithOffset", "(", "MI", ",", "BaseOp", ",", "Offset", ",", "TRI", ")", "&&", "BaseOp", "->", "isReg", "(", ")", ")", "{", "unsigned", "BaseReg", "=", "BaseOp", "->", "getReg", "(", ")", ";", "if", "(", "PrevBaseReg", "==", "BaseReg", ")", "{", "if", "(", "!", "SuppressSTP", "&&", "shouldAddSTPToBlock", "(", "MI", ".", "getParent", "(", ")", ")", ")", "break", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Unpairing store \"", "<<", "MI", "<<", "\"\\n\"", ")", ";", "SuppressSTP", "=", "true", ";", "TII", "->", "suppressLdStPair", "(", "MI", ")", ";", "}", "PrevBaseReg", "=", "BaseReg", ";", "}", "else", "PrevBaseReg", "=", "0", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "\"*** \"", "\": \"", "\" Skipping pass: no machine model present.\\n\"", "0", "\"Unpairing store \"", "\"\\n\"", "0"], "File": "AArch64StorePairSuppress22", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3837, "Length": 277, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sh_mark_label", "(", "rtx", "address", ",", "int", "nuses", ")", "{", "if", "(", "GOTOFF_P", "(", "address", ")", ")", "{", "address", "=", "XEXP", "(", "address", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "address", ")", "==", "PLUS", ")", "address", "=", "XEXP", "(", "address", ",", "0", ")", ";", "address", "=", "XVECEXP", "(", "address", ",", "0", ",", "0", ")", ";", "}", "if", "(", "GET_CODE", "(", "address", ")", "==", "LABEL_REF", "&&", "LABEL_P", "(", "XEXP", "(", "address", ",", "0", ")", ")", ")", "LABEL_NUSES", "(", "XEXP", "(", "address", ",", "0", ")", ")", "+=", "nuses", ";", "}", ""], "natrual_language": ["If", "ADDRESS", "refers", "to", "a", "CODE_LABEL", ",", "add", "NUSES", "to", "the", "number", "of", "times", "that", "label", "is", "used", "."], "TS_V_token": ["sh", "0", "0", "0", "0", "0", "0"], "File": "sh", "Func": "sh_mark_label", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3838, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "machine_mode", "aarch64_simd_container_mode", "(", "machine_mode", "mode", ",", "unsigned", "width", ")", "{", "gcc_assert", "(", "width", "==", "64", "||", "width", "==", "128", ")", ";", "if", "(", "TARGET_SIMD", ")", "{", "if", "(", "width", "==", "128", ")", "switch", "(", "mode", ")", "{", "case", "DFmode", ":", "return", "V2DFmode", ";", "case", "SFmode", ":", "return", "V4SFmode", ";", "case", "SImode", ":", "return", "V4SImode", ";", "case", "HImode", ":", "return", "V8HImode", ";", "case", "QImode", ":", "return", "V16QImode", ";", "case", "DImode", ":", "return", "V2DImode", ";", "default", ":", "break", ";", "}", "else", "switch", "(", "mode", ")", "{", "case", "SFmode", ":", "return", "V2SFmode", ";", "case", "SImode", ":", "return", "V2SImode", ";", "case", "HImode", ":", "return", "V4HImode", ";", "case", "QImode", ":", "return", "V8QImode", ";", "default", ":", "break", ";", "}", "}", "return", "word_mode", ";", "}", ""], "natrual_language": ["Return", "appropriate", "SIMD", "container", "for", "MODE", "within", "a", "vector", "of", "WIDTH", "bits", "."], "TS_V_token": ["aarch64", "64", "128", "128"], "File": "aarch642", "Func": "aarch64_simd_container_mode", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3839, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LatticeCell", "::", "print", "(", "raw_ostream", "&", "os", ")", "const", "{", "if", "(", "isProperty", "(", ")", ")", "{", "os", "<<", "\"{ \"", ";", "uint32_t", "Ps", "=", "properties", "(", ")", ";", "if", "(", "Ps", "&", "ConstantProperties", "::", "Zero", ")", "os", "<<", "\"zero \"", ";", "if", "(", "Ps", "&", "ConstantProperties", "::", "NonZero", ")", "os", "<<", "\"nonzero \"", ";", "if", "(", "Ps", "&", "ConstantProperties", "::", "Finite", ")", "os", "<<", "\"finite \"", ";", "if", "(", "Ps", "&", "ConstantProperties", "::", "Infinity", ")", "os", "<<", "\"infinity \"", ";", "if", "(", "Ps", "&", "ConstantProperties", "::", "NaN", ")", "os", "<<", "\"nan \"", ";", "if", "(", "Ps", "&", "ConstantProperties", "::", "PosOrZero", ")", "os", "<<", "\"poz \"", ";", "if", "(", "Ps", "&", "ConstantProperties", "::", "NegOrZero", ")", "os", "<<", "\"nez \"", ";", "os", "<<", "'}'", ";", "return", ";", "}", "os", "<<", "\"{ \"", ";", "if", "(", "isBottom", "(", ")", ")", "{", "os", "<<", "\"bottom\"", ";", "}", "else", "if", "(", "isTop", "(", ")", ")", "{", "os", "<<", "\"top\"", ";", "}", "else", "{", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "size", "(", ")", ";", "++", "i", ")", "{", "const", "Constant", "*", "C", "=", "Values", "[", "i", "]", ";", "if", "(", "i", "!=", "0", ")", "os", "<<", "\", \"", ";", "C", "->", "print", "(", "os", ")", ";", "}", "}", "os", "<<", "\" }\"", ";", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["Hexagon", "\"{ \"", "\"zero \"", "\"nonzero \"", "\"finite \"", "\"infinity \"", "\"nan \"", "\"poz \"", "\"nez \"", "\"{ \"", "\"bottom\"", "\"top\"", "0", "0", "\", \"", "\" }\""], "File": "HexagonConstPropagation", "Func": "print", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3840, "Length": 202, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emit_v9_brxx_insn", "(", "enum", "rtx_code", "code", ",", "rtx", "op0", ",", "rtx", "label", ")", "{", "gcc_assert", "(", "sparc_compare_emitted", "==", "NULL_RTX", ")", ";", "emit_jump_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "pc_rtx", ",", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "gen_rtx_fmt_ee", "(", "code", ",", "GET_MODE", "(", "op0", ")", ",", "op0", ",", "const0_rtx", ")", ",", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "label", ")", ",", "pc_rtx", ")", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "conditional", "jump", "insn", "for", "the", "v9", "architecture", "using", "comparison", "code", "CODE", "and", "jump", "target", "LABEL", ".", "This", "function", "exists", "to", "take", "advantage", "of", "the", "v9", "brxx", "insns", "."], "TS_V_token": ["sparc"], "File": "sparc3", "Func": "emit_v9_brxx_insn", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3841, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCAsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "return", "true", ";", "assert", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isReg", "(", ")", ")", ";", "O", "<<", "\"0(\"", ";", "printOperand", "(", "MI", ",", "OpNo", ")", ";", "O", "<<", "\")\"", ";", "return", "false", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "operand", "of", "MI", ",", "an", "INLINEASM", "instruction", ",", "using", "the", "specified", "assembler", "variant", "as", "an", "address", "."], "TS_V_token": ["PowerPC", "PPC", "0", "\"0(\"", "\")\""], "File": "PPCAsmPrinter107", "Func": "PrintAsmMemoryOperand", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3842, "Length": 67, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "AArch64RegisterInfo", "::", "getCallPreservedMask", "(", "CallingConv", "::", "ID", "CC", ")", "const", "{", "if", "(", "CC", "==", "CallingConv", "::", "AnyReg", ")", "return", "CSR_AArch64_AllRegs_RegMask", ";", "else", "return", "CSR_AArch64_AAPCS_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64RegisterInfo1", "Func": "getCallPreservedMask", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3843, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "shouldExtendTypeInLibCall", "(", "EVT", "Type", ")", "const", "{", "RISCVABI", "::", "ABI", "ABI", "=", "Subtarget", ".", "getTargetABI", "(", ")", ";", "if", "(", "ABI", "==", "RISCVABI", "::", "ABI_LP64", "&&", "(", "Type", "==", "MVT", "::", "f32", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "arguments", "should", "be", "extended", "in", "lib", "calls", "."], "TS_V_token": ["RISCV", "RISCV", "RISCVABI::ABI", "RISCVABI::ABI_LP64", "MVT::f32"], "File": "RISCVISelLowering1", "Func": "shouldExtendTypeInLibCall", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3844, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "rs6000_constant_alignment", "(", "const_tree", "exp", ",", "HOST_WIDE_INT", "align", ")", "{", "if", "(", "TREE_CODE", "(", "exp", ")", "==", "STRING_CST", "&&", "(", "STRICT_ALIGNMENT", "||", "!", "optimize_size", ")", ")", "return", "MAX", "(", "align", ",", "BITS_PER_WORD", ")", ";", "return", "align", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CONSTANT_ALIGNMENT", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_constant_alignment", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3845, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmParser", "::", "processInstruction", "(", "MCInst", "&", "Inst", ",", "SMLoc", "IDLoc", ",", "MCStreamer", "&", "Out", ")", "{", "Inst", ".", "setLoc", "(", "IDLoc", ")", ";", "if", "(", "Inst", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "PseudoLI", ")", "{", "auto", "Reg", "=", "Inst", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "int64_t", "Imm", "=", "Inst", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "if", "(", "!", "isRV64", "(", ")", ")", "Imm", "=", "SignExtend64", "<", "32", ">", "(", "Imm", ")", ";", "emitLoadImm", "(", "Reg", ",", "Imm", ",", "Out", ")", ";", "return", "false", ";", "}", "else", "if", "(", "Inst", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "PseudoLLA", ")", "{", "emitLoadLocalAddress", "(", "Inst", ",", "IDLoc", ",", "Out", ")", ";", "return", "false", ";", "}", "emitToStreamer", "(", "Out", ",", "Inst", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Process", "a", "single", "instruction", "and", "collect", "debug", "info", "anchors", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::PseudoLI", "0", "1", "32", "RISCV::PseudoLLA"], "File": "RISCVAsmParser11", "Func": "processInstruction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3846, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "SparcRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "return", "CSR_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["Sparc", "Sparc"], "File": "SparcRegisterInfo (2)", "Func": "getCalleeSavedRegs", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3847, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "msp430_print_operand_addr", "(", "FILE", "*", "file", ",", "machine_mode", ",", "rtx", "addr", ")", "{", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "case", "PLUS", ":", "msp430_print_operand_raw", "(", "file", ",", "XEXP", "(", "addr", ",", "1", ")", ")", ";", "gcc_assert", "(", "REG_P", "(", "XEXP", "(", "addr", ",", "0", ")", ")", ")", ";", "fprintf", "(", "file", ",", "\"(%s)\"", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "]", ")", ";", "return", ";", "case", "REG", ":", "fprintf", "(", "file", ",", "\"@\"", ")", ";", "break", ";", "case", "POST_INC", ":", "fprintf", "(", "file", ",", "\"@%s+\"", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "]", ")", ";", "return", ";", "case", "CONST", ":", "case", "CONST_INT", ":", "case", "SYMBOL_REF", ":", "case", "LABEL_REF", ":", "fprintf", "(", "file", ",", "\"&\"", ")", ";", "break", ";", "default", ":", "break", ";", "}", "msp430_print_operand_raw", "(", "file", ",", "addr", ")", ";", "}", ""], "natrual_language": ["Output", "to", "stdio", "stream", "FILE", "the", "assembler", "syntax", "for", "an", "instruction", "operand", "that", "is", "a", "memory", "reference", "whose", "address", "is", "ADDR", "."], "TS_V_token": ["msp430", "1", "0", "\"(%s)\"", "0", "\"@\"", "\"@%s+\"", "0", "\"&\""], "File": "msp430", "Func": "msp430_print_operand_addr", "Target": "msp430", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3848, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "Register", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "SIMachineFunctionInfo", "*", "MFI", "=", "MF", "->", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "MachineFrameInfo", "&", "FrameInfo", "=", "MF", "->", "getFrameInfo", "(", ")", ";", "const", "DebugLoc", "&", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "unsigned", "Size", "=", "FrameInfo", ".", "getObjectSize", "(", "FrameIndex", ")", ";", "unsigned", "Align", "=", "FrameInfo", ".", "getObjectAlignment", "(", "FrameIndex", ")", ";", "MachinePointerInfo", "PtrInfo", "=", "MachinePointerInfo", "::", "getFixedStack", "(", "*", "MF", ",", "FrameIndex", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", "->", "getMachineMemOperand", "(", "PtrInfo", ",", "MachineMemOperand", "::", "MOStore", ",", "Size", ",", "Align", ")", ";", "unsigned", "SpillSize", "=", "TRI", "->", "getSpillSize", "(", "*", "RC", ")", ";", "if", "(", "RI", ".", "isSGPRClass", "(", "RC", ")", ")", "{", "MFI", "->", "setHasSpilledSGPRs", "(", ")", ";", "assert", "(", "SrcReg", "!=", "AMDGPU", "::", "M0", "&&", "\"m0 should not be spilled\"", ")", ";", "const", "MCInstrDesc", "&", "OpDesc", "=", "get", "(", "getSGPRSpillSaveOpcode", "(", "SpillSize", ")", ")", ";", "if", "(", "Register", "::", "isVirtualRegister", "(", "SrcReg", ")", "&&", "SpillSize", "==", "4", ")", "{", "MachineRegisterInfo", "&", "MRI", "=", "MF", "->", "getRegInfo", "(", ")", ";", "MRI", ".", "constrainRegClass", "(", "SrcReg", ",", "&", "AMDGPU", "::", "SReg_32_XM0RegClass", ")", ";", "}", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "OpDesc", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addMemOperand", "(", "MMO", ")", ".", "addReg", "(", "MFI", "->", "getScratchRSrcReg", "(", ")", ",", "RegState", "::", "Implicit", ")", ".", "addReg", "(", "MFI", "->", "getStackPtrOffsetReg", "(", ")", ",", "RegState", "::", "Implicit", ")", ";", "if", "(", "RI", ".", "spillSGPRToVGPR", "(", ")", ")", "FrameInfo", ".", "setStackID", "(", "FrameIndex", ",", "TargetStackID", "::", "SGPRSpill", ")", ";", "return", ";", "}", "unsigned", "Opcode", "=", "RI", ".", "hasAGPRs", "(", "RC", ")", "?", "getAGPRSpillSaveOpcode", "(", "SpillSize", ")", ":", "getVGPRSpillSaveOpcode", "(", "SpillSize", ")", ";", "MFI", "->", "setHasSpilledVGPRs", "(", ")", ";", "auto", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opcode", ")", ")", ";", "if", "(", "RI", ".", "hasAGPRs", "(", "RC", ")", ")", "{", "MachineRegisterInfo", "&", "MRI", "=", "MF", "->", "getRegInfo", "(", ")", ";", "Register", "Tmp", "=", "MRI", ".", "createVirtualRegister", "(", "&", "AMDGPU", "::", "VGPR_32RegClass", ")", ";", "MIB", ".", "addReg", "(", "Tmp", ",", "RegState", "::", "Define", ")", ";", "}", "MIB", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addReg", "(", "MFI", "->", "getScratchRSrcReg", "(", ")", ")", ".", "addReg", "(", "MFI", "->", "getStackPtrOffsetReg", "(", ")", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "AMDGPU::M0", "\"m0 should not be spilled\"", "4", "AMDGPU::SReg_32_XM0RegClass", "AMDGPU::VGPR_32RegClass", "0"], "File": "SIInstrInfo72", "Func": "storeRegToStackSlot", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3849, "Length": 433, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "HexagonInstrInfo", "::", "reduceLoopCount", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineInstr", "*", "IndVar", ",", "MachineInstr", "&", "Cmp", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "SmallVectorImpl", "<", "MachineInstr", "*", ">", "&", "PrevInsts", ",", "unsigned", "Iter", ",", "unsigned", "MaxIter", ")", "const", "{", "assert", "(", "(", "!", "IndVar", ")", "&&", "isEndLoopN", "(", "Cmp", ".", "getOpcode", "(", ")", ")", "&&", "\"Expecting a hardware loop\"", ")", ";", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "DebugLoc", "DL", "=", "Cmp", ".", "getDebugLoc", "(", ")", ";", "SmallPtrSet", "<", "MachineBasicBlock", "*", ",", "8", ">", "VisitedBBs", ";", "MachineInstr", "*", "Loop", "=", "findLoopInstr", "(", "&", "MBB", ",", "Cmp", ".", "getOpcode", "(", ")", ",", "Cmp", ".", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ",", "VisitedBBs", ")", ";", "if", "(", "!", "Loop", ")", "return", "0", ";", "if", "(", "Loop", "->", "getOpcode", "(", ")", "==", "Hexagon", "::", "J2_loop0i", "||", "Loop", "->", "getOpcode", "(", ")", "==", "Hexagon", "::", "J2_loop1i", ")", "{", "int64_t", "Offset", "=", "Loop", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "if", "(", "Offset", "<=", "1", ")", "Loop", "->", "eraseFromParent", "(", ")", ";", "else", "Loop", "->", "getOperand", "(", "1", ")", ".", "setImm", "(", "Offset", "-", "1", ")", ";", "return", "Offset", "-", "1", ";", "}", "assert", "(", "Loop", "->", "getOpcode", "(", ")", "==", "Hexagon", "::", "J2_loop0r", "&&", "\"Unexpected instruction\"", ")", ";", "unsigned", "LoopCount", "=", "Loop", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "unsigned", "LoopEnd", "=", "createVR", "(", "MF", ",", "MVT", "::", "i1", ")", ";", "MachineInstr", "*", "NewCmp", "=", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "Hexagon", "::", "C2_cmpgtui", ")", ",", "LoopEnd", ")", ".", "addReg", "(", "LoopCount", ")", ".", "addImm", "(", "1", ")", ";", "unsigned", "NewLoopCount", "=", "createVR", "(", "MF", ",", "MVT", "::", "i32", ")", ";", "MachineInstr", "*", "NewAdd", "=", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "Hexagon", "::", "A2_addi", ")", ",", "NewLoopCount", ")", ".", "addReg", "(", "LoopCount", ")", ".", "addImm", "(", "-", "1", ")", ";", "for", "(", "SmallVectorImpl", "<", "MachineInstr", "*", ">", "::", "iterator", "I", "=", "PrevInsts", ".", "begin", "(", ")", ",", "E", "=", "PrevInsts", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "(", "*", "I", ")", "->", "substituteRegister", "(", "LoopCount", ",", "NewLoopCount", ",", "0", ",", "getRegisterInfo", "(", ")", ")", ";", "PrevInsts", ".", "clear", "(", ")", ";", "PrevInsts", ".", "push_back", "(", "NewCmp", ")", ";", "PrevInsts", ".", "push_back", "(", "NewAdd", ")", ";", "if", "(", "Iter", "==", "MaxIter", ")", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "Hexagon", "::", "J2_loop0r", ")", ")", ".", "addMBB", "(", "Loop", "->", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ")", ".", "addReg", "(", "NewLoopCount", ")", ";", "if", "(", "Iter", "==", "0", ")", "Loop", "->", "eraseFromParent", "(", ")", ";", "Cond", ".", "push_back", "(", "MachineOperand", "::", "CreateImm", "(", "Hexagon", "::", "J2_jumpf", ")", ")", ";", "Cond", ".", "push_back", "(", "NewCmp", "->", "getOperand", "(", "0", ")", ")", ";", "return", "NewLoopCount", ";", "}", ""], "natrual_language": ["Generate", "code", "to", "reduce", "the", "loop", "iteration", "by", "one", "and", "check", "if", "the", "loop", "is", "finished", "."], "TS_V_token": ["Hexagon", "Hexagon", "\"Expecting a hardware loop\"", "8", "0", "0", "Hexagon::J2_loop0i", "Hexagon::J2_loop1i", "1", "1", "1", "1", "1", "Hexagon::J2_loop0r", "\"Unexpected instruction\"", "1", "MVT::i1", "Hexagon::C2_cmpgtui", "1", "MVT::i32", "Hexagon::A2_addi", "1", "0", "Hexagon::J2_loop0r", "0", "0", "Hexagon::J2_jumpf", "0"], "File": "HexagonInstrInfo10", "Func": "reduceLoopCount", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3850, "Length": 462, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyCFGStackify", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** CFG Stackifying **********\\n\"", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "const", "auto", "&", "MLI", "=", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "auto", "&", "MDT", "=", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "const", "auto", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "<", "WebAssemblySubtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "EliminateMultipleEntryLoops", "(", "MF", ",", "MLI", ")", ";", "SortBlocks", "(", "MF", ",", "MLI", ")", ";", "PlaceMarkers", "(", "MF", ",", "MLI", ",", "TII", ",", "MDT", ")", ";", "SmallVector", "<", "std", "::", "pair", "<", "MachineBasicBlock", "*", ",", "bool", ">", ",", "0", ">", "Stack", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "while", "(", "!", "Stack", ".", "empty", "(", ")", "&&", "Stack", ".", "back", "(", ")", ".", "first", "==", "&", "MBB", ")", "if", "(", "Stack", ".", "back", "(", ")", ".", "second", ")", "{", "assert", "(", "Stack", ".", "size", "(", ")", ">=", "2", ")", ";", "Stack", ".", "pop_back", "(", ")", ";", "Stack", ".", "pop_back", "(", ")", ";", "}", "else", "{", "assert", "(", "Stack", ".", "size", "(", ")", ">=", "1", ")", ";", "Stack", ".", "pop_back", "(", ")", ";", "}", "for", "(", "auto", "&", "MI", ":", "MBB", ")", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "WebAssembly", "::", "LOOP", ":", "Stack", ".", "push_back", "(", "std", "::", "make_pair", "(", "&", "MBB", ",", "false", ")", ")", ";", "Stack", ".", "push_back", "(", "std", "::", "make_pair", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ",", "true", ")", ")", ";", "break", ";", "case", "WebAssembly", "::", "BLOCK", ":", "Stack", ".", "push_back", "(", "std", "::", "make_pair", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getMBB", "(", ")", ",", "false", ")", ")", ";", "break", ";", "default", ":", "for", "(", "const", "MachineOperand", "&", "MO", ":", "MI", ".", "explicit_operands", "(", ")", ")", "if", "(", "MO", ".", "isMBB", "(", ")", "&&", "MO", ".", "getMBB", "(", ")", "->", "getNumber", "(", ")", ">=", "0", ")", "assert", "(", "IsOnStack", "(", "Stack", ",", "MO", ".", "getMBB", "(", ")", ")", ")", ";", "break", ";", "}", "}", "assert", "(", "Stack", ".", "empty", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"********** CFG Stackifying **********\\n\"", "\"********** Function: \"", "WebAssembly", "0", "2", "1", "WebAssembly::LOOP", "0", "WebAssembly::BLOCK", "0", "0"], "File": "WebAssemblyCFGStackify (3)", "Func": "runOnMachineFunction", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3851, "Length": 353, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCTTI", "::", "getArithmeticInstrCost", "(", "unsigned", "Opcode", ",", "Type", "*", "Ty", ",", "OperandValueKind", "Op1Info", ",", "OperandValueKind", "Op2Info", ")", "const", "{", "assert", "(", "TLI", "->", "InstructionOpcodeToISD", "(", "Opcode", ")", "&&", "\"Invalid opcode\"", ")", ";", "return", "TargetTransformInfo", "::", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", ",", "Op1Info", ",", "Op2Info", ")", ";", "}", ""], "natrual_language": ["This", "is", "an", "approximation", "of", "reciprocal", "throughput", "of", "a", "math/logic", "op", "."], "TS_V_token": ["PowerPC", "PPC", "\"Invalid opcode\""], "File": "PPCTargetTransformInfo (2)", "Func": "getArithmeticInstrCost", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3852, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isMem", "(", ")", "const", "{", "return", "Kind", "==", "k_Memory", ";", "}", ""], "natrual_language": ["isMem", "-", "Is", "this", "a", "memory", "operand", "?"], "TS_V_token": ["Mips"], "File": "MipsAsmParser102", "Func": "isMem", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3853, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "NVPTXTargetLowering", "::", "isLegalAddressingMode", "(", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ")", "const", "{", "if", "(", "AM", ".", "BaseGV", ")", "{", "if", "(", "AM", ".", "BaseOffs", "||", "AM", ".", "HasBaseReg", "||", "AM", ".", "Scale", ")", "return", "false", ";", "return", "true", ";", "}", "switch", "(", "AM", ".", "Scale", ")", "{", "case", "0", ":", "break", ";", "case", "1", ":", "if", "(", "AM", ".", "HasBaseReg", ")", "return", "false", ";", "break", ";", "default", ":", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["isLegalAddressingMode", "-", "Return", "true", "if", "the", "addressing", "mode", "represented", "by", "AM", "is", "legal", "for", "this", "target", ",", "for", "a", "load/store", "of", "the", "specified", "type", "."], "TS_V_token": ["NVPTX", "NVPTX", "0", "1"], "File": "NVPTXISelLowering69", "Func": "isLegalAddressingMode", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3854, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"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": 3855, "Length": 348, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_emit_int_relational", "(", "enum", "rtx_code", "code", ",", "bool", "*", "invert_ptr", ",", "rtx", "target", ",", "rtx", "cmp0", ",", "rtx", "cmp1", ")", "{", "if", "(", "mips_relational_operand_ok_p", "(", "code", ",", "cmp1", ")", ")", "mips_emit_binary", "(", "code", ",", "target", ",", "cmp0", ",", "cmp1", ")", ";", "else", "if", "(", "mips_canonicalize_comparison", "(", "&", "code", ",", "&", "cmp1", ",", "GET_MODE", "(", "target", ")", ")", ")", "mips_emit_binary", "(", "code", ",", "target", ",", "cmp0", ",", "cmp1", ")", ";", "else", "{", "enum", "rtx_code", "inv_code", "=", "reverse_condition", "(", "code", ")", ";", "if", "(", "!", "mips_relational_operand_ok_p", "(", "inv_code", ",", "cmp1", ")", ")", "{", "cmp1", "=", "force_reg", "(", "GET_MODE", "(", "cmp0", ")", ",", "cmp1", ")", ";", "mips_emit_int_relational", "(", "code", ",", "invert_ptr", ",", "target", ",", "cmp0", ",", "cmp1", ")", ";", "}", "else", "if", "(", "invert_ptr", "==", "0", ")", "{", "rtx", "inv_target", "=", "gen_reg_rtx", "(", "GET_MODE", "(", "target", ")", ")", ";", "mips_emit_binary", "(", "inv_code", ",", "inv_target", ",", "cmp0", ",", "cmp1", ")", ";", "mips_emit_binary", "(", "XOR", ",", "target", ",", "inv_target", ",", "const1_rtx", ")", ";", "}", "else", "{", "*", "invert_ptr", "=", "!", "*", "invert_ptr", ";", "mips_emit_binary", "(", "inv_code", ",", "target", ",", "cmp0", ",", "cmp1", ")", ";", "}", "}", "}", ""], "natrual_language": ["Compare", "CMP0", "and", "CMP1", "using", "relational", "operator", "CODE", "and", "store", "the", "result", "in", "TARGET", ".", "CMP0", "and", "TARGET", "are", "register_operands", "that", "have", "the", "same", "integer", "mode", ".", "If", "INVERT_PTR", "is", "nonnull", ",", "it", "'s", "OK", "to", "set", "TARGET", "to", "the", "inverse", "of", "the", "result", "and", "flip", "*", "INVERT_PTR", "instead", "."], "TS_V_token": ["mips", "0"], "File": "mips3", "Func": "mips_emit_int_relational", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3856, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineDominatorTree", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineLoopInfo", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineLoopInfo", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["PowerPC"], "File": "PPCCTRLoops2", "Func": "getAnalysisUsage", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3857, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "NEONMoveFixPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "ARMFunctionInfo", "*", "AFI", "=", "Fn", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "const", "TargetMachine", "&", "TM", "=", "Fn", ".", "getTarget", "(", ")", ";", "if", "(", "AFI", "->", "isThumbFunction", "(", ")", ")", "return", "false", ";", "TRI", "=", "TM", ".", "getRegisterInfo", "(", ")", ";", "TII", "=", "static_cast", "<", "const", "ARMBaseInstrInfo", "*", ">", "(", "TM", ".", "getInstrInfo", "(", ")", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineFunction", "::", "iterator", "MFI", "=", "Fn", ".", "begin", "(", ")", ",", "E", "=", "Fn", ".", "end", "(", ")", ";", "MFI", "!=", "E", ";", "++", "MFI", ")", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MFI", ";", "Modified", "|=", "InsertMoves", "(", "MBB", ")", ";", "}", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM"], "File": "NEONMoveFix2", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3858, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineLoopInfo", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "WebAssemblyExceptionInfo", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["WebAssembly", "WebAssembly"], "File": "WebAssemblyCFGStackify (2)2", "Func": "getAnalysisUsage", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3859, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsCallLowering", "::", "lowerFormalArguments", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Function", "&", "F", ",", "ArrayRef", "<", "unsigned", ">", "VRegs", ")", "const", "{", "if", "(", "F", ".", "arg_empty", "(", ")", ")", "return", "true", ";", "if", "(", "F", ".", "isVarArg", "(", ")", ")", "{", "return", "false", ";", "}", "for", "(", "auto", "&", "Arg", ":", "F", ".", "args", "(", ")", ")", "{", "if", "(", "!", "isSupportedType", "(", "Arg", ".", "getType", "(", ")", ")", ")", "return", "false", ";", "}", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "const", "DataLayout", "&", "DL", "=", "MF", ".", "getDataLayout", "(", ")", ";", "const", "MipsTargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "MipsTargetLowering", ">", "(", ")", ";", "SmallVector", "<", "ArgInfo", ",", "8", ">", "ArgInfos", ";", "SmallVector", "<", "unsigned", ",", "8", ">", "OrigArgIndices", ";", "unsigned", "i", "=", "0", ";", "for", "(", "auto", "&", "Arg", ":", "F", ".", "args", "(", ")", ")", "{", "ArgInfo", "AInfo", "(", "VRegs", "[", "i", "]", ",", "Arg", ".", "getType", "(", ")", ")", ";", "setArgFlags", "(", "AInfo", ",", "i", "+", "AttributeList", "::", "FirstArgIndex", ",", "DL", ",", "F", ")", ";", "splitToValueTypes", "(", "AInfo", ",", "i", ",", "ArgInfos", ",", "OrigArgIndices", ")", ";", "++", "i", ";", "}", "SmallVector", "<", "ISD", "::", "InputArg", ",", "8", ">", "Ins", ";", "subTargetRegTypeForCallingConv", "(", "F", ",", "ArgInfos", ",", "OrigArgIndices", ",", "Ins", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "ArgLocs", ";", "MipsCCState", "CCInfo", "(", "F", ".", "getCallingConv", "(", ")", ",", "F", ".", "isVarArg", "(", ")", ",", "MF", ",", "ArgLocs", ",", "F", ".", "getContext", "(", ")", ")", ";", "const", "MipsTargetMachine", "&", "TM", "=", "static_cast", "<", "const", "MipsTargetMachine", "&", ">", "(", "MF", ".", "getTarget", "(", ")", ")", ";", "const", "MipsABIInfo", "&", "ABI", "=", "TM", ".", "getABI", "(", ")", ";", "CCInfo", ".", "AllocateStack", "(", "ABI", ".", "GetCalleeAllocdArgSizeInBytes", "(", "F", ".", "getCallingConv", "(", ")", ")", ",", "1", ")", ";", "CCInfo", ".", "AnalyzeFormalArguments", "(", "Ins", ",", "TLI", ".", "CCAssignFnForCall", "(", ")", ")", ";", "setLocInfo", "(", "ArgLocs", ",", "Ins", ")", ";", "IncomingValueHandler", "Handler", "(", "MIRBuilder", ",", "MF", ".", "getRegInfo", "(", ")", ")", ";", "if", "(", "!", "Handler", ".", "handle", "(", "ArgLocs", ",", "ArgInfos", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "VRegs", ",", "for", "GlobalISel", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "8", "8", "0", "ISD::InputArg", "8", "16", "Mips", "Mips", "Mips", "Mips", "1"], "File": "MipsCallLowering1", "Func": "lowerFormalArguments", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3860, "Length": 342, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_xcoff_output_readwrite_section_asm_op", "(", "const", "void", "*", "directive", ")", "{", "fprintf", "(", "asm_out_file", ",", "\"\\t.csect %s[RW],%s\\n\"", ",", "*", "(", "const", "char", "*", "const", "*", ")", "directive", ",", "XCOFF_CSECT_DEFAULT_ALIGNMENT_STR", ")", ";", "}", ""], "natrual_language": ["Likewise", "for", "read-write", "sections", "."], "TS_V_token": ["powerpcspe", "\"\\t.csect %s[RW],%s\\n\""], "File": "powerpcspe", "Func": "rs6000_xcoff_output_readwrite_section_asm_op", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3861, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_pragma_target_parse", "(", "tree", "args", ",", "tree", "pop_target", ")", "{", "if", "(", "args", ")", "{", "if", "(", "!", "aarch64_process_target_attr", "(", "args", ",", "\"pragma\"", ")", ")", "return", "false", ";", "aarch64_override_options_internal", "(", "&", "global_options", ")", ";", "}", "else", "{", "pop_target", "=", "pop_target", "?", "pop_target", ":", "target_option_default_node", ";", "cl_target_option_restore", "(", "&", "global_options", ",", "TREE_TARGET_OPTION", "(", "pop_target", ")", ")", ";", "}", "target_option_current_node", "=", "build_target_option_node", "(", "&", "global_options", ")", ";", "aarch64_reset_previous_fndecl", "(", ")", ";", "cpp_options", "*", "cpp_opts", "=", "cpp_get_options", "(", "parse_in", ")", ";", "unsigned", "char", "saved_warn_unused_macros", "=", "cpp_opts", "->", "warn_unused_macros", ";", "cpp_opts", "->", "warn_unused_macros", "=", "0", ";", "aarch64_update_cpp_builtins", "(", "parse_in", ")", ";", "cpp_opts", "->", "warn_unused_macros", "=", "saved_warn_unused_macros", ";", "if", "(", "pop_target", ")", "aarch64_save_restore_target_globals", "(", "pop_target", ")", ";", "if", "(", "TARGET_SIMD", ")", "{", "tree", "saved_current_target_pragma", "=", "current_target_pragma", ";", "current_target_pragma", "=", "NULL", ";", "aarch64_init_simd_builtins", "(", ")", ";", "current_target_pragma", "=", "saved_current_target_pragma", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Hook", "to", "validate", "the", "current", "#", "pragma", "GCC", "target", "and", "set", "the", "state", ",", "and", "update", "the", "macros", "based", "on", "what", "was", "changed", ".", "If", "ARGS", "is", "NULL", ",", "then", "POP_TARGET", "is", "used", "to", "reset", "the", "options", "."], "TS_V_token": ["aarch64", "\"pragma\"", "0"], "File": "aarch64-c2", "Func": "aarch64_pragma_target_parse", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3862, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "XCoreInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "bool", "GRDest", "=", "XCore", "::", "GRRegsRegClass", ".", "contains", "(", "DestReg", ")", ";", "bool", "GRSrc", "=", "XCore", "::", "GRRegsRegClass", ".", "contains", "(", "SrcReg", ")", ";", "if", "(", "GRDest", "&&", "GRSrc", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "XCore", "::", "ADD_2rus", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ".", "addImm", "(", "0", ")", ";", "return", ";", "}", "if", "(", "GRDest", "&&", "SrcReg", "==", "XCore", "::", "SP", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "XCore", "::", "LDAWSP_ru6", ")", ",", "DestReg", ")", ".", "addImm", "(", "0", ")", ";", "return", ";", "}", "if", "(", "DestReg", "==", "XCore", "::", "SP", "&&", "GRSrc", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "XCore", "::", "SETSP_1r", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "return", ";", "}", "llvm_unreachable", "(", "\"Impossible reg-to-reg copy\"", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["XCore", "XCore", "XCore::GRRegsRegClass", "XCore::GRRegsRegClass", "XCore::ADD_2rus", "0", "XCore::SP", "XCore::LDAWSP_ru6", "0", "XCore::SP", "XCore::SETSP_1r", "\"Impossible reg-to-reg copy\""], "File": "XCoreInstrInfo (2)", "Func": "copyPhysReg", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3863, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "or1k_profile_hook", "(", "void", ")", "{", "rtx", "a1", "=", "gen_rtx_REG", "(", "Pmode", ",", "3", ")", ";", "rtx", "ra", "=", "get_hard_reg_initial_val", "(", "Pmode", ",", "LR_REGNUM", ")", ";", "rtx", "fun", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "\"_mcount\"", ")", ";", "cfun", "->", "machine", "->", "set_mcount_arg_insn", "=", "emit_move_insn", "(", "a1", ",", "ra", ")", ";", "emit_library_call", "(", "fun", ",", "LCT_NORMAL", ",", "VOIDmode", ",", "a1", ",", "Pmode", ")", ";", "}", ""], "natrual_language": ["Worker", "for", "PROFILE_HOOK", ".", "The", "OpenRISC", "profile", "hook", "uses", "the", "link", "register", "which", "will", "get", "clobbered", "by", "the", "GOT", "setup", "RTX", ".", "This", "sets", "up", "a", "placeholder", "to", "allow", "injecting", "of", "the", "GOT", "setup", "RTX", "to", "avoid", "clobbering", "."], "TS_V_token": ["or1k", "3", "\"_mcount\""], "File": "or1k", "Func": "or1k_profile_hook", "Target": "or1k", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3864, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AMDGPUPassConfig", "::", "addIRPasses", "(", ")", "{", "disablePass", "(", "&", "StackMapLivenessID", ")", ";", "disablePass", "(", "&", "FuncletLayoutID", ")", ";", "disablePass", "(", "&", "PatchableFunctionID", ")", ";", "addPass", "(", "createAMDGPUAlwaysInlinePass", "(", ")", ")", ";", "addPass", "(", "createAlwaysInlinerLegacyPass", "(", ")", ")", ";", "addPass", "(", "createBarrierNoopPass", "(", ")", ")", ";", "addPass", "(", "createAMDGPUOpenCLImageTypeLoweringPass", "(", ")", ")", ";", "const", "AMDGPUTargetMachine", "&", "TM", "=", "getAMDGPUTargetMachine", "(", ")", ";", "if", "(", "TM", ".", "getOptLevel", "(", ")", ">", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createAMDGPUPromoteAlloca", "(", "&", "TM", ")", ")", ";", "if", "(", "EnableSROA", ")", "addPass", "(", "createSROAPass", "(", ")", ")", ";", "addStraightLineScalarOptimizationPasses", "(", ")", ";", "}", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addEarlyCSEOrGVNPass", "(", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU"], "File": "AMDGPUTargetMachine33", "Func": "addIRPasses", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3865, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMInstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "OS", ",", "unsigned", "RegNo", ")", "const", "{", "OS", "<<", "markup", "(", "\"\"", ")", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["ARM", "ARM", "\"\""], "File": "ARMInstPrinter25", "Func": "printRegName", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3866, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "crx_initial_elimination_offset", "(", "int", "from", ",", "int", "to", ")", "{", "crx_compute_save_regs", "(", ")", ";", "crx_compute_frame", "(", ")", ";", "if", "(", "(", "from", ")", "==", "FRAME_POINTER_REGNUM", "&&", "(", "to", ")", "==", "STACK_POINTER_REGNUM", ")", "return", "(", "ACCUMULATE_OUTGOING_ARGS", "?", "current_function_outgoing_args_size", ":", "0", ")", ";", "else", "if", "(", "(", "from", ")", "==", "ARG_POINTER_REGNUM", "&&", "(", "to", ")", "==", "FRAME_POINTER_REGNUM", ")", "return", "(", "sum_regs", "+", "local_vars_size", ")", ";", "else", "if", "(", "(", "from", ")", "==", "ARG_POINTER_REGNUM", "&&", "(", "to", ")", "==", "STACK_POINTER_REGNUM", ")", "return", "(", "sum_regs", "+", "local_vars_size", "+", "(", "ACCUMULATE_OUTGOING_ARGS", "?", "current_function_outgoing_args_size", ":", "0", ")", ")", ";", "else", "abort", "(", ")", ";", "}", ""], "natrual_language": ["Implements", "the", "macro", "INITIAL_ELIMINATION_OFFSET", ",", "return", "the", "OFFSET", "."], "TS_V_token": ["crx", "0", "0"], "File": "crx", "Func": "crx_initial_elimination_offset", "Target": "crx", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3867, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mergeSPUpdates", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "unsigned", "StackPtr", ",", "bool", "doMergeWithPrevious", ")", "{", "if", "(", "(", "doMergeWithPrevious", "&&", "MBBI", "==", "MBB", ".", "begin", "(", ")", ")", "||", "(", "!", "doMergeWithPrevious", "&&", "MBBI", "==", "MBB", ".", "end", "(", ")", ")", ")", "return", "0", ";", "int", "Offset", "=", "0", ";", "MachineBasicBlock", "::", "iterator", "PI", "=", "doMergeWithPrevious", "?", "prior", "(", "MBBI", ")", ":", "MBBI", ";", "MachineBasicBlock", "::", "iterator", "NI", "=", "doMergeWithPrevious", "?", "0", ":", "next", "(", "MBBI", ")", ";", "unsigned", "Opc", "=", "PI", "->", "getOpcode", "(", ")", ";", "if", "(", "(", "Opc", "==", "X86", "::", "ADD64ri32", "||", "Opc", "==", "X86", "::", "ADD64ri8", "||", "Opc", "==", "X86", "::", "ADD32ri", "||", "Opc", "==", "X86", "::", "ADD32ri8", ")", "&&", "PI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "==", "StackPtr", ")", "{", "Offset", "+=", "PI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "MBB", ".", "erase", "(", "PI", ")", ";", "if", "(", "!", "doMergeWithPrevious", ")", "MBBI", "=", "NI", ";", "}", "else", "if", "(", "(", "Opc", "==", "X86", "::", "SUB64ri32", "||", "Opc", "==", "X86", "::", "SUB64ri8", "||", "Opc", "==", "X86", "::", "SUB32ri", "||", "Opc", "==", "X86", "::", "SUB32ri8", ")", "&&", "PI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "==", "StackPtr", ")", "{", "Offset", "-=", "PI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "MBB", ".", "erase", "(", "PI", ")", ";", "if", "(", "!", "doMergeWithPrevious", ")", "MBBI", "=", "NI", ";", "}", "return", "Offset", ";", "}", ""], "natrual_language": ["Check", "the", "instruction", "before/after", "the", "passed", "instruction", "."], "TS_V_token": ["X86", "0", "0", "0", "X86::ADD64ri32", "X86::ADD64ri8", "X86::ADD32ri", "X86::ADD32ri8", "0", "2", "X86::SUB64ri32", "X86::SUB64ri8", "X86::SUB32ri", "X86::SUB32ri8", "0", "2"], "File": "X86RegisterInfo33", "Func": "mergeSPUpdates", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3868, "Length": 242, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "ELFAttributeValue", "*", "ARMELFAttributeData", "::", "getAttributeValue", "(", "TagType", "pTag", ")", "const", "{", "if", "(", "pTag", "<=", "Tag_Max", ")", "{", "const", "ELFAttributeValue", "&", "attr_value", "=", "m_Attrs", "[", "pTag", "]", ";", "if", "(", "attr_value", ".", "isInitialized", "(", ")", ")", "{", "return", "&", "attr_value", ";", "}", "else", "{", "return", "NULL", ";", "}", "}", "else", "{", "UnknownAttrsMap", "::", "const_iterator", "attr_it", "=", "m_UnknownAttrs", ".", "find", "(", "pTag", ")", ";", "if", "(", "attr_it", "==", "m_UnknownAttrs", ".", "end", "(", ")", ")", "{", "return", "NULL", ";", "}", "else", "{", "return", "&", "attr_it", "->", "second", ";", "}", "}", "}", ""], "natrual_language": ["Extract", "a", "DWARF", "form", "value", "from", "a", "DIE", "specified", "by", "DIE", "offset", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMELFAttributeData", "Func": "getAttributeValue", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3869, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "altivec_expand_ld_builtin", "(", "tree", "exp", ",", "rtx", "target", ",", "bool", "*", "expandedp", ")", "{", "tree", "fndecl", "=", "TREE_OPERAND", "(", "CALL_EXPR_FN", "(", "exp", ")", ",", "0", ")", ";", "unsigned", "int", "fcode", "=", "DECL_FUNCTION_CODE", "(", "fndecl", ")", ";", "tree", "arg0", ";", "machine_mode", "tmode", ",", "mode0", ";", "rtx", "pat", ",", "op0", ";", "enum", "insn_code", "icode", ";", "switch", "(", "fcode", ")", "{", "case", "ALTIVEC_BUILTIN_LD_INTERNAL_16qi", ":", "icode", "=", "CODE_FOR_vector_altivec_load_v16qi", ";", "break", ";", "case", "ALTIVEC_BUILTIN_LD_INTERNAL_8hi", ":", "icode", "=", "CODE_FOR_vector_altivec_load_v8hi", ";", "break", ";", "case", "ALTIVEC_BUILTIN_LD_INTERNAL_4si", ":", "icode", "=", "CODE_FOR_vector_altivec_load_v4si", ";", "break", ";", "case", "ALTIVEC_BUILTIN_LD_INTERNAL_4sf", ":", "icode", "=", "CODE_FOR_vector_altivec_load_v4sf", ";", "break", ";", "case", "ALTIVEC_BUILTIN_LD_INTERNAL_2df", ":", "icode", "=", "CODE_FOR_vector_altivec_load_v2df", ";", "break", ";", "case", "ALTIVEC_BUILTIN_LD_INTERNAL_2di", ":", "icode", "=", "CODE_FOR_vector_altivec_load_v2di", ";", "case", "ALTIVEC_BUILTIN_LD_INTERNAL_1ti", ":", "icode", "=", "CODE_FOR_vector_altivec_load_v1ti", ";", "break", ";", "default", ":", "*", "expandedp", "=", "false", ";", "return", "NULL_RTX", ";", "}", "*", "expandedp", "=", "true", ";", "arg0", "=", "CALL_EXPR_ARG", "(", "exp", ",", "0", ")", ";", "op0", "=", "expand_normal", "(", "arg0", ")", ";", "tmode", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "mode", ";", "mode0", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "1", "]", ".", "mode", ";", "if", "(", "target", "==", "0", "||", "GET_MODE", "(", "target", ")", "!=", "tmode", "||", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "predicate", ")", "(", "target", ",", "tmode", ")", ")", "target", "=", "gen_reg_rtx", "(", "tmode", ")", ";", "if", "(", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "1", "]", ".", "predicate", ")", "(", "op0", ",", "mode0", ")", ")", "op0", "=", "gen_rtx_MEM", "(", "mode0", ",", "copy_to_mode_reg", "(", "Pmode", ",", "op0", ")", ")", ";", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op0", ")", ";", "if", "(", "!", "pat", ")", "return", "0", ";", "emit_insn", "(", "pat", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Expand", "the", "lvx", "builtins", "."], "TS_V_token": ["rs6000", "0", "0", "0", "1", "0", "0", "1", "0"], "File": "rs60004", "Func": "altivec_expand_ld_builtin", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3870, "Length": 287, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SPUTargetLowering", "::", "isOffsetFoldingLegal", "(", "const", "GlobalAddressSDNode", "*", "GA", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "folding", "a", "constant", "offset", "with", "the", "given", "GlobalAddress", "is", "legal", "."], "TS_V_token": ["CellSPU", "SPU"], "File": "SPUISelLowering1", "Func": "isOffsetFoldingLegal", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3871, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "GCNDPPCombine", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "ST", "=", "&", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "if", "(", "!", "ST", "->", "hasDPP", "(", ")", "||", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "TII", "=", "ST", "->", "getInstrInfo", "(", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "{", "for", "(", "auto", "I", "=", "MBB", ".", "rbegin", "(", ")", ",", "E", "=", "MBB", ".", "rend", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "auto", "&", "MI", "=", "*", "I", "++", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "AMDGPU", "::", "V_MOV_B32_dpp", "&&", "combineDPPMov", "(", "MI", ")", ")", "{", "Changed", "=", "true", ";", "++", "NumDPPMovsCombined", ";", "}", "else", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "AMDGPU", "::", "V_MOV_B64_DPP_PSEUDO", ")", "{", "if", "(", "ST", "->", "has64BitDPP", "(", ")", "&&", "combineDPPMov", "(", "MI", ")", ")", "{", "Changed", "=", "true", ";", "++", "NumDPPMovsCombined", ";", "}", "else", "{", "auto", "Split", "=", "TII", "->", "expandMovDPP64", "(", "MI", ")", ";", "for", "(", "auto", "M", ":", "{", "Split", ".", "first", ",", "Split", ".", "second", "}", ")", "{", "if", "(", "M", "&&", "combineDPPMov", "(", "*", "M", ")", ")", "++", "NumDPPMovsCombined", ";", "}", "Changed", "=", "true", ";", "}", "}", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "AMDGPU::V_MOV_B32_dpp", "AMDGPU::V_MOV_B64_DPP_PSEUDO"], "File": "GCNDPPCombine13", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3872, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPULowerIntrinsics", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "bool", "Changed", "=", "false", ";", "for", "(", "Function", "&", "F", ":", "M", ")", "{", "if", "(", "!", "F", ".", "isDeclaration", "(", ")", ")", "continue", ";", "switch", "(", "F", ".", "getIntrinsicID", "(", ")", ")", "{", "case", "Intrinsic", "::", "memcpy", ":", "case", "Intrinsic", "::", "memmove", ":", "case", "Intrinsic", "::", "memset", ":", "if", "(", "expandMemIntrinsicUses", "(", "F", ")", ")", "Changed", "=", "true", ";", "break", ";", "default", ":", "break", ";", "}", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "Intrinsic::memcpy", "Intrinsic::memmove", "Intrinsic::memset"], "File": "AMDGPULowerIntrinsics6", "Func": "runOnModule", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3873, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mask_one_bit_p", "(", "HOST_WIDE_INT", "mask", ")", "{", "int", "i", ";", "unsigned", "HOST_WIDE_INT", "n", "=", "mask", ";", "for", "(", "i", "=", "0", ";", "i", "<", "32", ";", "++", "i", ")", "{", "if", "(", "n", "&", "0x80000000L", ")", "{", "if", "(", "n", "&", "0x7fffffffL", ")", "return", "0", ";", "else", "return", "32", "-", "i", ";", "}", "n", "<<=", "1", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Returns", "nonzero", "if", "the", "number", "MASK", "has", "only", "one", "bit", "set", "."], "TS_V_token": ["avr", "0", "32", "0x80000000L", "0x7fffffffL", "0", "32", "1", "0"], "File": "avr3", "Func": "mask_one_bit_p", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3874, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "m68k_emit_move_double", "(", "rtx", "operands", "[", "2", "]", ")", "{", "handle_move_double", "(", "operands", ",", "emit_reg_adjust", ",", "emit_movsi", ",", "emit_movsi", ")", ";", "}", ""], "natrual_language": ["Output", "rtl", "code", "to", "perform", "a", "doubleword", "move", "insn", "with", "operands", "OPERANDS", "."], "TS_V_token": ["m68k", "2"], "File": "m68k", "Func": "m68k_emit_move_double", "Target": "m68k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3875, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sh_cpu_cpp_builtins", "(", "cpp_reader", "*", "pfile", ")", "{", "builtin_define", "(", "\"__sh__\"", ")", ";", "builtin_assert", "(", "\"cpu=sh\"", ")", ";", "builtin_assert", "(", "\"machine=sh\"", ")", ";", "switch", "(", "(", "int", ")", "sh_cpu", ")", "{", "case", "PROCESSOR_SH1", ":", "builtin_define", "(", "\"__sh1__\"", ")", ";", "builtin_define", "(", "\"__SH1__\"", ")", ";", "break", ";", "case", "PROCESSOR_SH2", ":", "builtin_define", "(", "\"__sh2__\"", ")", ";", "builtin_define", "(", "\"__SH2__\"", ")", ";", "break", ";", "case", "PROCESSOR_SH2E", ":", "builtin_define", "(", "\"__SH2E__\"", ")", ";", "break", ";", "case", "PROCESSOR_SH2A", ":", "builtin_define", "(", "\"__SH2A__\"", ")", ";", "if", "(", "TARGET_SH2A_DOUBLE", ")", "builtin_define", "(", "TARGET_FPU_SINGLE", "?", "\"__SH2A_SINGLE__\"", ":", "\"__SH2A_DOUBLE__\"", ")", ";", "else", "builtin_define", "(", "TARGET_FPU_ANY", "?", "\"__SH2A_SINGLE_ONLY__\"", ":", "\"__SH2A_NOFPU__\"", ")", ";", "break", ";", "case", "PROCESSOR_SH3", ":", "builtin_define", "(", "\"__sh3__\"", ")", ";", "builtin_define", "(", "\"__SH3__\"", ")", ";", "if", "(", "TARGET_HARD_SH4", ")", "builtin_define", "(", "\"__SH4_NOFPU__\"", ")", ";", "break", ";", "case", "PROCESSOR_SH3E", ":", "builtin_define", "(", "TARGET_HARD_SH4", "?", "\"__SH4_SINGLE_ONLY__\"", ":", "\"__SH3E__\"", ")", ";", "break", ";", "case", "PROCESSOR_SH4", ":", "builtin_define", "(", "TARGET_FPU_SINGLE", "?", "\"__SH4_SINGLE__\"", ":", "\"__SH4__\"", ")", ";", "break", ";", "case", "PROCESSOR_SH4A", ":", "\\", "builtin_define", "(", "\"__SH4A__\"", ")", ";", "builtin_define", "(", "TARGET_SH4", "?", "(", "TARGET_FPU_SINGLE", "?", "\"__SH4_SINGLE__\"", ":", "\"__SH4__\"", ")", ":", "TARGET_FPU_ANY", "?", "\"__SH4_SINGLE_ONLY__\"", ":", "\"__SH4_NOFPU__\"", ")", ";", "break", ";", "}", "if", "(", "TARGET_FPU_ANY", ")", "builtin_define", "(", "\"__SH_FPU_ANY__\"", ")", ";", "if", "(", "TARGET_FPU_DOUBLE", ")", "builtin_define", "(", "\"__SH_FPU_DOUBLE__\"", ")", ";", "if", "(", "TARGET_HITACHI", ")", "builtin_define", "(", "\"__HITACHI__\"", ")", ";", "if", "(", "TARGET_FMOVD", ")", "builtin_define", "(", "\"__FMOVD_ENABLED__\"", ")", ";", "if", "(", "TARGET_FDPIC", ")", "{", "builtin_define", "(", "\"__SH_FDPIC__\"", ")", ";", "builtin_define", "(", "\"__FDPIC__\"", ")", ";", "}", "builtin_define", "(", "TARGET_LITTLE_ENDIAN", "?", "\"__LITTLE_ENDIAN__\"", ":", "\"__BIG_ENDIAN__\"", ")", ";", "cpp_define_formatted", "(", "pfile", ",", "\"__SH_ATOMIC_MODEL_%s__\"", ",", "selected_atomic_model", "(", ")", ".", "cdef_name", ")", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_CPU_CPP_BUILTINS", "macro"], "TS_V_token": ["sh", "\"__sh__\"", "\"cpu=sh\"", "\"machine=sh\"", "\"__sh1__\"", "\"__SH1__\"", "\"__sh2__\"", "\"__SH2__\"", "\"__SH2E__\"", "\"__SH2A__\"", "\"__SH2A_SINGLE__\"", "\"__SH2A_DOUBLE__\"", "\"__SH2A_SINGLE_ONLY__\"", "\"__SH2A_NOFPU__\"", "\"__sh3__\"", "\"__SH3__\"", "\"__SH4_NOFPU__\"", "\"__SH4_SINGLE_ONLY__\"", "\"__SH3E__\"", "\"__SH4_SINGLE__\"", "\"__SH4__\"", "\"__SH4A__\"", "\"__SH4_SINGLE__\"", "\"__SH4__\"", "\"__SH4_SINGLE_ONLY__\"", "\"__SH4_NOFPU__\"", "\"__SH_FPU_ANY__\"", "\"__SH_FPU_DOUBLE__\"", "\"__HITACHI__\"", "\"__FMOVD_ENABLED__\"", "\"__SH_FDPIC__\"", "\"__FDPIC__\"", "\"__LITTLE_ENDIAN__\"", "\"__BIG_ENDIAN__\"", "\"__SH_ATOMIC_MODEL_%s__\""], "File": "sh-c", "Func": "sh_cpu_cpp_builtins", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3876, "Length": 262, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "c6x_function_ok_for_sibcall", "(", "tree", "decl", ",", "tree", "exp", ")", "{", "if", "(", "c6x_call_saved_register_used", "(", "exp", ")", ")", "return", "false", ";", "if", "(", "!", "flag_pic", ")", "return", "true", ";", "if", "(", "TARGET_DSBT", ")", "{", "if", "(", "!", "decl", ")", "return", "false", ";", "cgraph_node", "*", "this_func", "=", "cgraph_node", "::", "local_info_node", "(", "current_function_decl", ")", ";", "return", "this_func", "->", "local", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Decide", "whether", "we", "can", "make", "a", "sibling", "call", "to", "a", "function", ".", "DECL", "is", "the", "declaration", "of", "the", "function", "being", "targeted", "by", "the", "call", "and", "EXP", "is", "the", "CALL_EXPR", "representing", "the", "call", "."], "TS_V_token": ["c6x"], "File": "c6x", "Func": "c6x_function_ok_for_sibcall", "Target": "c6x", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 3877, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "WebAssemblySubtarget", "&", "WebAssemblySubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "FS", ")", "{", "if", "(", "CPUString", ".", "empty", "(", ")", ")", "CPUString", "=", "\"generic\"", ";", "ParseSubtargetFeatures", "(", "CPUString", ",", "FS", ")", ";", "return", "*", "this", ";", "}", ""], "natrual_language": ["initializeSubtargetDependencies", "-", "Initializes", "using", "a", "CPU", ",", "a", "TuneCPU", ",", "and", "feature", "string", "so", "that", "we", "can", "use", "initializer", "lists", "for", "subtarget", "initialization", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "WebAssembly", "\"generic\""], "File": "WebAssemblySubtarget (2)1", "Func": "initializeSubtargetDependencies", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3878, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "thumb1_output_casesi", "(", "rtx", "*", "operands", ")", "{", "rtx", "diff_vec", "=", "PATTERN", "(", "NEXT_INSN", "(", "as_a", "<", "rtx_insn", "*", ">", "(", "operands", "[", "0", "]", ")", ")", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "diff_vec", ")", "==", "ADDR_DIFF_VEC", ")", ";", "switch", "(", "GET_MODE", "(", "diff_vec", ")", ")", "{", "case", "E_QImode", ":", "return", "(", "ADDR_DIFF_VEC_FLAGS", "(", "diff_vec", ")", ".", "offset_unsigned", "?", "\"bl\\t%___gnu_thumb1_case_uqi\"", ":", "\"bl\\t%___gnu_thumb1_case_sqi\"", ")", ";", "case", "E_HImode", ":", "return", "(", "ADDR_DIFF_VEC_FLAGS", "(", "diff_vec", ")", ".", "offset_unsigned", "?", "\"bl\\t%___gnu_thumb1_case_uhi\"", ":", "\"bl\\t%___gnu_thumb1_case_shi\"", ")", ";", "case", "E_SImode", ":", "return", "\"bl\\t%___gnu_thumb1_case_si\"", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Output", "a", "Thumb-1", "casesi", "dispatch", "sequence", "."], "TS_V_token": ["arm", "0", "\"bl\\t%___gnu_thumb1_case_uqi\"", "\"bl\\t%___gnu_thumb1_case_sqi\"", "\"bl\\t%___gnu_thumb1_case_uhi\"", "\"bl\\t%___gnu_thumb1_case_shi\"", "\"bl\\t%___gnu_thumb1_case_si\""], "File": "arm", "Func": "thumb1_output_casesi", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3879, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addPreEmitPass2", "(", ")", "{", "addPass", "(", "createUnpackMachineBundles", "(", "nullptr", ")", ")", ";", "}", ""], "natrual_language": ["Targets", "may", "add", "passes", "immediately", "before", "machine", "code", "is", "emitted", "in", "this", "callback", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64TargetMachine1", "Func": "addPreEmitPass2", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3880, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "avr_out_lpm_no_lpmx", "(", "rtx_insn", "*", "insn", ",", "rtx", "*", "xop", ",", "int", "*", "plen", ")", "{", "rtx", "dest", "=", "xop", "[", "0", "]", ";", "rtx", "addr", "=", "xop", "[", "1", "]", ";", "int", "n_bytes", "=", "GET_MODE_SIZE", "(", "GET_MODE", "(", "dest", ")", ")", ";", "int", "regno_dest", ";", "regno_dest", "=", "REGNO", "(", "dest", ")", ";", "xop", "[", "3", "]", "=", "lpm_reg_rtx", ";", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "default", ":", "gcc_unreachable", "(", ")", ";", "case", "REG", ":", "gcc_assert", "(", "REG_Z", "==", "REGNO", "(", "addr", ")", ")", ";", "switch", "(", "n_bytes", ")", "{", "default", ":", "gcc_unreachable", "(", ")", ";", "case", "1", ":", "avr_asm_len", "(", "\"%4lpm\"", ",", "xop", ",", "plen", ",", "1", ")", ";", "if", "(", "regno_dest", "!=", "LPM_REGNO", ")", "avr_asm_len", "(", "\"mov %0,%3\"", ",", "xop", ",", "plen", ",", "1", ")", ";", "return", "\"\"", ";", "case", "2", ":", "if", "(", "REGNO", "(", "dest", ")", "==", "REG_Z", ")", "return", "avr_asm_len", "(", "\"%4lpm\"", "CR_TAB", "\"push %3\"", "CR_TAB", "\"adiw %2,1\"", "CR_TAB", "\"%4lpm\"", "CR_TAB", "\"mov %B0,%3\"", "CR_TAB", "\"pop %A0\"", ",", "xop", ",", "plen", ",", "6", ")", ";", "avr_asm_len", "(", "\"%4lpm\"", "CR_TAB", "\"mov %A0,%3\"", "CR_TAB", "\"adiw %2,1\"", "CR_TAB", "\"%4lpm\"", "CR_TAB", "\"mov %B0,%3\"", ",", "xop", ",", "plen", ",", "5", ")", ";", "if", "(", "!", "reg_unused_after", "(", "insn", ",", "addr", ")", ")", "avr_asm_len", "(", "\"sbiw %2,1\"", ",", "xop", ",", "plen", ",", "1", ")", ";", "break", ";", "}", "break", ";", "case", "POST_INC", ":", "gcc_assert", "(", "REG_Z", "==", "REGNO", "(", "XEXP", "(", "addr", ",", "0", ")", ")", "&&", "n_bytes", "<=", "4", ")", ";", "if", "(", "regno_dest", "==", "LPM_REGNO", ")", "avr_asm_len", "(", "\"%4lpm\"", "CR_TAB", "\"adiw %2,1\"", ",", "xop", ",", "plen", ",", "2", ")", ";", "else", "avr_asm_len", "(", "\"%4lpm\"", "CR_TAB", "\"mov %A0,%3\"", "CR_TAB", "\"adiw %2,1\"", ",", "xop", ",", "plen", ",", "3", ")", ";", "if", "(", "n_bytes", ">=", "2", ")", "avr_asm_len", "(", "\"%4lpm\"", "CR_TAB", "\"mov %B0,%3\"", "CR_TAB", "\"adiw %2,1\"", ",", "xop", ",", "plen", ",", "3", ")", ";", "if", "(", "n_bytes", ">=", "3", ")", "avr_asm_len", "(", "\"%4lpm\"", "CR_TAB", "\"mov %C0,%3\"", "CR_TAB", "\"adiw %2,1\"", ",", "xop", ",", "plen", ",", "3", ")", ";", "if", "(", "n_bytes", ">=", "4", ")", "avr_asm_len", "(", "\"%4lpm\"", "CR_TAB", "\"mov %D0,%3\"", "CR_TAB", "\"adiw %2,1\"", ",", "xop", ",", "plen", ",", "3", ")", ";", "break", ";", "}", "return", "\"\"", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "the", "next", "function", "in", "the", "case", "where", "only", "restricted", "version", "of", "LPM", "instruction", "is", "available", "."], "TS_V_token": ["avr", "0", "1", "3", "1", "\"%4lpm\"", "1", "\"mov %0,%3\"", "1", "\"\"", "2", "\"%4lpm\"", "\"push %3\"", "\"adiw %2,1\"", "\"%4lpm\"", "\"mov %B0,%3\"", "\"pop %A0\"", "6", "\"%4lpm\"", "\"mov %A0,%3\"", "\"adiw %2,1\"", "\"%4lpm\"", "\"mov %B0,%3\"", "5", "\"sbiw %2,1\"", "1", "0", "4", "\"%4lpm\"", "\"adiw %2,1\"", "2", "\"%4lpm\"", "\"mov %A0,%3\"", "\"adiw %2,1\"", "3", "2", "\"%4lpm\"", "\"mov %B0,%3\"", "\"adiw %2,1\"", "3", "3", "\"%4lpm\"", "\"mov %C0,%3\"", "\"adiw %2,1\"", "3", "4", "\"%4lpm\"", "\"mov %D0,%3\"", "\"adiw %2,1\"", "3", "\"\""], "File": "avr", "Func": "avr_out_lpm_no_lpmx", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3881, "Length": 341, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "XtensaRegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["Xtensa", "Xtensa"], "File": "XtensaInstrInfo", "Func": "getRegisterInfo", "Target": "Xtensa", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3882, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "GCNPassConfig", "::", "addPreISel", "(", ")", "{", "AMDGPUPassConfig", "::", "addPreISel", "(", ")", ";", "addPass", "(", "createAMDGPULateCodeGenPreparePass", "(", ")", ")", ";", "if", "(", "EnableAtomicOptimizations", ")", "{", "addPass", "(", "createAMDGPUAtomicOptimizerPass", "(", ")", ")", ";", "}", "addPass", "(", "&", "AMDGPUUnifyDivergentExitNodesID", ")", ";", "if", "(", "!", "LateCFGStructurize", ")", "{", "if", "(", "EnableStructurizerWorkarounds", ")", "{", "addPass", "(", "createFixIrreduciblePass", "(", ")", ")", ";", "addPass", "(", "createUnifyLoopExitsPass", "(", ")", ")", ";", "}", "addPass", "(", "createStructurizeCFGPass", "(", "false", ")", ")", ";", "}", "addPass", "(", "createSinkingPass", "(", ")", ")", ";", "addPass", "(", "createAMDGPUAnnotateUniformValues", "(", ")", ")", ";", "if", "(", "!", "LateCFGStructurize", ")", "{", "addPass", "(", "createSIAnnotateControlFlowPass", "(", ")", ")", ";", "}", "addPass", "(", "createLCSSAPass", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["{", "{", "@", "For", "GlobalISel"], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "SI"], "File": "AMDGPUTargetMachine10", "Func": "addPreISel", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3883, "Length": 113, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "NVPTXDAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "SDValue", "Op0", ",", "Op1", ";", "switch", "(", "ConstraintID", ")", "{", "default", ":", "return", "true", ";", "case", "InlineAsm", "::", "Constraint_m", ":", "if", "(", "SelectDirectAddr", "(", "Op", ",", "Op0", ")", ")", "{", "OutOps", ".", "push_back", "(", "Op0", ")", ";", "OutOps", ".", "push_back", "(", "CurDAG", "->", "getTargetConstant", "(", "0", ",", "SDLoc", "(", "Op", ")", ",", "MVT", "::", "i32", ")", ")", ";", "return", "false", ";", "}", "if", "(", "SelectADDRri", "(", "Op", ".", "getNode", "(", ")", ",", "Op", ",", "Op0", ",", "Op1", ")", ")", "{", "OutOps", ".", "push_back", "(", "Op0", ")", ";", "OutOps", ".", "push_back", "(", "Op1", ")", ";", "return", "false", ";", "}", "break", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["SelectInlineAsmMemoryOperand", "-", "Select", "the", "specified", "address", "as", "a", "target", "addressing", "mode", ",", "according", "to", "the", "specified", "constraint", "."], "TS_V_token": ["NVPTX", "NVPTX", "0", "MVT::i32"], "File": "NVPTXISelDAGToDAG (2)", "Func": "SelectInlineAsmMemoryOperand", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3884, "Length": 128, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCDarwinAsmPrinter", "::", "doFinalization", "(", "Module", "&", "M", ")", "{", "bool", "isPPC64", "=", "TM", ".", "getDataLayout", "(", ")", "->", "getPointerSizeInBits", "(", ")", "==", "64", ";", "const", "TargetLoweringObjectFileMachO", "&", "TLOFMacho", "=", "static_cast", "<", "const", "TargetLoweringObjectFileMachO", "&", ">", "(", "getObjFileLowering", "(", ")", ")", ";", "MachineModuleInfoMachO", "&", "MMIMacho", "=", "MMI", "->", "getObjFileInfo", "<", "MachineModuleInfoMachO", ">", "(", ")", ";", "MachineModuleInfoMachO", "::", "SymbolListTy", "Stubs", "=", "MMIMacho", ".", "GetFnStubList", "(", ")", ";", "if", "(", "!", "Stubs", ".", "empty", "(", ")", ")", "EmitFunctionStubs", "(", "Stubs", ")", ";", "if", "(", "MAI", "->", "doesSupportExceptionHandling", "(", ")", "&&", "MMI", ")", "{", "const", "std", "::", "vector", "<", "const", "Function", "*", ">", "&", "Personalities", "=", "MMI", "->", "getPersonalities", "(", ")", ";", "for", "(", "std", "::", "vector", "<", "const", "Function", "*", ">", "::", "const_iterator", "I", "=", "Personalities", ".", "begin", "(", ")", ",", "E", "=", "Personalities", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "*", "I", ")", "{", "MCSymbol", "*", "NLPSym", "=", "GetSymbolWithGlobalValueBase", "(", "*", "I", ",", "\"$non_lazy_ptr\"", ")", ";", "MachineModuleInfoImpl", "::", "StubValueTy", "&", "StubSym", "=", "MMIMacho", ".", "getGVStubEntry", "(", "NLPSym", ")", ";", "StubSym", "=", "MachineModuleInfoImpl", "::", "StubValueTy", "(", "Mang", "->", "getSymbol", "(", "*", "I", ")", ",", "true", ")", ";", "}", "}", "}", "Stubs", "=", "MMIMacho", ".", "GetGVStubList", "(", ")", ";", "if", "(", "!", "Stubs", ".", "empty", "(", ")", ")", "{", "OutStreamer", ".", "SwitchSection", "(", "TLOFMacho", ".", "getNonLazySymbolPointerSection", "(", ")", ")", ";", "EmitAlignment", "(", "isPPC64", "?", "3", ":", "2", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "Stubs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "OutStreamer", ".", "EmitLabel", "(", "Stubs", "[", "i", "]", ".", "first", ")", ";", "MachineModuleInfoImpl", "::", "StubValueTy", "&", "MCSym", "=", "Stubs", "[", "i", "]", ".", "second", ";", "OutStreamer", ".", "EmitSymbolAttribute", "(", "MCSym", ".", "getPointer", "(", ")", ",", "MCSA_IndirectSymbol", ")", ";", "if", "(", "MCSym", ".", "getInt", "(", ")", ")", "OutStreamer", ".", "EmitIntValue", "(", "0", ",", "isPPC64", "?", "8", ":", "4", ",", "0", ")", ";", "else", "OutStreamer", ".", "EmitValue", "(", "MCSymbolRefExpr", "::", "Create", "(", "MCSym", ".", "getPointer", "(", ")", ",", "OutContext", ")", ",", "isPPC64", "?", "8", ":", "4", ",", "0", ")", ";", "}", "Stubs", ".", "clear", "(", ")", ";", "OutStreamer", ".", "AddBlankLine", "(", ")", ";", "}", "Stubs", "=", "MMIMacho", ".", "GetHiddenGVStubList", "(", ")", ";", "if", "(", "!", "Stubs", ".", "empty", "(", ")", ")", "{", "OutStreamer", ".", "SwitchSection", "(", "getObjFileLowering", "(", ")", ".", "getDataSection", "(", ")", ")", ";", "EmitAlignment", "(", "isPPC64", "?", "3", ":", "2", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "Stubs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "OutStreamer", ".", "EmitLabel", "(", "Stubs", "[", "i", "]", ".", "first", ")", ";", "OutStreamer", ".", "EmitValue", "(", "MCSymbolRefExpr", "::", "Create", "(", "Stubs", "[", "i", "]", ".", "second", ".", "getPointer", "(", ")", ",", "OutContext", ")", ",", "isPPC64", "?", "8", ":", "4", ",", "0", ")", ";", "}", "Stubs", ".", "clear", "(", ")", ";", "OutStreamer", ".", "AddBlankLine", "(", ")", ";", "}", "OutStreamer", ".", "EmitAssemblerFlag", "(", "MCAF_SubsectionsViaSymbols", ")", ";", "return", "AsmPrinter", "::", "doFinalization", "(", "M", ")", ";", "}", ""], "natrual_language": ["doFinalization", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "any", "necessary", "clean", "up", "after", "all", "passes", "have", "run", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "64", "\"$non_lazy_ptr\"", "PPC", "3", "2", "0", "0", "PPC", "8", "4", "0", "PPC", "8", "4", "0", "PPC", "3", "2", "0", "PPC", "8", "4", "0"], "File": "PPCAsmPrinter42", "Func": "doFinalization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3885, "Length": 495, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "~", "SystemZCallingConventionRegisters", "(", ")", "{", "}", ""], "natrual_language": ["Destroys", "the", "object", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZRegisterInfo (2)1", "Func": "~SystemZCallingConventionRegisters", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3886, "Length": 7, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "s390_expand_tbegin", "(", "rtx", "dest", ",", "rtx", "tdb", ",", "rtx", "retry", ",", "bool", "clobber_fprs_p", ")", "{", "rtx", "retry_plus_two", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "rtx", "retry_reg", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "rtx_code_label", "*", "retry_label", "=", "NULL", ";", "if", "(", "retry", "!=", "NULL_RTX", ")", "{", "emit_move_insn", "(", "retry_reg", ",", "retry", ")", ";", "emit_insn", "(", "gen_addsi3", "(", "retry_plus_two", ",", "retry_reg", ",", "const2_rtx", ")", ")", ";", "emit_insn", "(", "gen_addsi3", "(", "retry_reg", ",", "retry_reg", ",", "const1_rtx", ")", ")", ";", "retry_label", "=", "gen_label_rtx", "(", ")", ";", "emit_label", "(", "retry_label", ")", ";", "}", "if", "(", "clobber_fprs_p", ")", "{", "if", "(", "TARGET_VX", ")", "emit_insn", "(", "gen_tbegin_1_z13", "(", "gen_rtx_CONST_INT", "(", "VOIDmode", ",", "TBEGIN_MASK", ")", ",", "tdb", ")", ")", ";", "else", "emit_insn", "(", "gen_tbegin_1", "(", "gen_rtx_CONST_INT", "(", "VOIDmode", ",", "TBEGIN_MASK", ")", ",", "tdb", ")", ")", ";", "}", "else", "emit_insn", "(", "gen_tbegin_nofloat_1", "(", "gen_rtx_CONST_INT", "(", "VOIDmode", ",", "TBEGIN_MASK", ")", ",", "tdb", ")", ")", ";", "emit_move_insn", "(", "dest", ",", "gen_rtx_UNSPEC", "(", "SImode", ",", "gen_rtvec", "(", "1", ",", "gen_rtx_REG", "(", "CCRAWmode", ",", "CC_REGNUM", ")", ")", ",", "UNSPEC_CC_TO_INT", ")", ")", ";", "if", "(", "retry", "!=", "NULL_RTX", ")", "{", "const", "int", "CC0", "=", "1", "<<", "3", ";", "const", "int", "CC1", "=", "1", "<<", "2", ";", "const", "int", "CC3", "=", "1", "<<", "0", ";", "rtx", "jump", ";", "rtx", "count", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "rtx_code_label", "*", "leave_label", "=", "gen_label_rtx", "(", ")", ";", "jump", "=", "s390_emit_jump", "(", "leave_label", ",", "gen_rtx_EQ", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "CCRAWmode", ",", "CC_REGNUM", ")", ",", "gen_rtx_CONST_INT", "(", "VOIDmode", ",", "CC0", "|", "CC1", "|", "CC3", ")", ")", ")", ";", "LABEL_NUSES", "(", "leave_label", ")", "=", "1", ";", "emit_move_insn", "(", "count", ",", "retry_plus_two", ")", ";", "emit_insn", "(", "gen_subsi3", "(", "count", ",", "count", ",", "retry_reg", ")", ")", ";", "emit_insn", "(", "gen_tx_assist", "(", "count", ")", ")", ";", "jump", "=", "emit_jump_insn", "(", "gen_doloop_si64", "(", "retry_label", ",", "retry_reg", ",", "retry_reg", ")", ")", ";", "JUMP_LABEL", "(", "jump", ")", "=", "retry_label", ";", "LABEL_NUSES", "(", "retry_label", ")", "=", "1", ";", "emit_label", "(", "leave_label", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "rtl", "for", "the", "tbegin", "or", "tbegin_retry", "(", "RETRY", "!", "=", "NULL_RTX", ")", "expanders", ".", "DEST", "-", "Register", "location", "where", "CC", "will", "be", "stored", ".", "TDB", "-", "Pointer", "to", "a", "256", "byte", "area", "where", "to", "store", "the", "transaction", ".", "diagnostic", "block", ".", "NULL", "if", "TDB", "is", "not", "needed", ".", "RETRY", "-", "Retry", "count", "value", ".", "If", "non-NULL", "a", "retry", "loop", "for", "CC2", "is", "emitted", "CLOBBER_FPRS_P", "-", "If", "true", "clobbers", "for", "all", "FPRs", "are", "emitted", "as", "part", "of", "the", "tbegin", "instruction", "pattern", "."], "TS_V_token": ["s390", "1", "1", "3", "1", "2", "1", "0", "1", "1"], "File": "s390", "Func": "s390_expand_tbegin", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3887, "Length": 318, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSymbol", "*", "X86MCInstLower", "::", "GetSymbolFromOperand", "(", "const", "MachineOperand", "&", "MO", ")", "const", "{", "const", "DataLayout", "&", "DL", "=", "MF", ".", "getDataLayout", "(", ")", ";", "assert", "(", "(", "MO", ".", "isGlobal", "(", ")", "||", "MO", ".", "isSymbol", "(", ")", "||", "MO", ".", "isMBB", "(", ")", ")", "&&", "\"Isn't a symbol reference\"", ")", ";", "MCSymbol", "*", "Sym", "=", "nullptr", ";", "SmallString", "<", "128", ">", "Name", ";", "StringRef", "Suffix", ";", "switch", "(", "MO", ".", "getTargetFlags", "(", ")", ")", "{", "case", "X86II", "::", "MO_DLLIMPORT", ":", "Name", "+=", "\"__imp_\"", ";", "break", ";", "case", "X86II", "::", "MO_COFFSTUB", ":", "Name", "+=", "\".refptr.\"", ";", "break", ";", "case", "X86II", "::", "MO_DARWIN_NONLAZY", ":", "case", "X86II", "::", "MO_DARWIN_NONLAZY_PIC_BASE", ":", "Suffix", "=", "\"$non_lazy_ptr\"", ";", "break", ";", "}", "if", "(", "!", "Suffix", ".", "empty", "(", ")", ")", "Name", "+=", "DL", ".", "getPrivateGlobalPrefix", "(", ")", ";", "if", "(", "MO", ".", "isGlobal", "(", ")", ")", "{", "const", "GlobalValue", "*", "GV", "=", "MO", ".", "getGlobal", "(", ")", ";", "AsmPrinter", ".", "getNameWithPrefix", "(", "Name", ",", "GV", ")", ";", "}", "else", "if", "(", "MO", ".", "isSymbol", "(", ")", ")", "{", "Mangler", "::", "getNameWithPrefix", "(", "Name", ",", "MO", ".", "getSymbolName", "(", ")", ",", "DL", ")", ";", "}", "else", "if", "(", "MO", ".", "isMBB", "(", ")", ")", "{", "assert", "(", "Suffix", ".", "empty", "(", ")", ")", ";", "Sym", "=", "MO", ".", "getMBB", "(", ")", "->", "getSymbol", "(", ")", ";", "}", "Name", "+=", "Suffix", ";", "if", "(", "!", "Sym", ")", "Sym", "=", "Ctx", ".", "getOrCreateSymbol", "(", "Name", ")", ";", "switch", "(", "MO", ".", "getTargetFlags", "(", ")", ")", "{", "default", ":", "break", ";", "case", "X86II", "::", "MO_COFFSTUB", ":", "{", "MachineModuleInfoCOFF", "&", "MMICOFF", "=", "MF", ".", "getMMI", "(", ")", ".", "getObjFileInfo", "<", "MachineModuleInfoCOFF", ">", "(", ")", ";", "MachineModuleInfoImpl", "::", "StubValueTy", "&", "StubSym", "=", "MMICOFF", ".", "getGVStubEntry", "(", "Sym", ")", ";", "if", "(", "!", "StubSym", ".", "getPointer", "(", ")", ")", "{", "assert", "(", "MO", ".", "isGlobal", "(", ")", "&&", "\"Extern symbol not handled yet\"", ")", ";", "StubSym", "=", "MachineModuleInfoImpl", "::", "StubValueTy", "(", "AsmPrinter", ".", "getSymbol", "(", "MO", ".", "getGlobal", "(", ")", ")", ",", "true", ")", ";", "}", "break", ";", "}", "case", "X86II", "::", "MO_DARWIN_NONLAZY", ":", "case", "X86II", "::", "MO_DARWIN_NONLAZY_PIC_BASE", ":", "{", "MachineModuleInfoImpl", "::", "StubValueTy", "&", "StubSym", "=", "getMachOMMI", "(", ")", ".", "getGVStubEntry", "(", "Sym", ")", ";", "if", "(", "!", "StubSym", ".", "getPointer", "(", ")", ")", "{", "assert", "(", "MO", ".", "isGlobal", "(", ")", "&&", "\"Extern symbol not handled yet\"", ")", ";", "StubSym", "=", "MachineModuleInfoImpl", "::", "StubValueTy", "(", "AsmPrinter", ".", "getSymbol", "(", "MO", ".", "getGlobal", "(", ")", ")", ",", "!", "MO", ".", "getGlobal", "(", ")", "->", "hasInternalLinkage", "(", ")", ")", ";", "}", "break", ";", "}", "}", "return", "Sym", ";", "}", ""], "natrual_language": ["Lower", "an", "MO_GlobalAddress", "or", "MO_ExternalSymbol", "operand", "to", "an", "MCSymbol", "."], "TS_V_token": ["X86", "X86", "\"Isn't a symbol reference\"", "128", "X86II::MO_DLLIMPORT", "\"__imp_\"", "X86II::MO_COFFSTUB", "\".refptr.\"", "X86II::MO_DARWIN_NONLAZY", "X86II::MO_DARWIN_NONLAZY_PIC_BASE", "\"$non_lazy_ptr\"", "X86II::MO_COFFSTUB", "\"Extern symbol not handled yet\"", "X86II::MO_DARWIN_NONLAZY", "X86II::MO_DARWIN_NONLAZY_PIC_BASE", "\"Extern symbol not handled yet\""], "File": "X86MCInstLower (2)2", "Func": "GetSymbolFromOperand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3888, "Length": 414, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "RV16KMCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "MO", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "return", "Ctx", ".", "getRegisterInfo", "(", ")", "->", "getEncodingValue", "(", "MO", ".", "getReg", "(", ")", ")", ";", "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "llvm_unreachable", "(", "\"Unhandled expression!\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["RV16K", "RV16K", "\"Unhandled expression!\"", "0"], "File": "RV16KMCCodeEmitter", "Func": "getMachineOpValue", "Target": "RV16K", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3889, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "unicosmk_defer_case_vector", "(", "rtx", "lab", ",", "rtx", "vec", ")", "{", "struct", "machine_function", "*", "machine", "=", "cfun", "->", "machine", ";", "vec", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "lab", ",", "vec", ")", ";", "machine", "->", "addr_list", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "vec", ",", "machine", "->", "addr_list", ")", ";", "}", ""], "natrual_language": ["Add", "a", "case", "vector", "to", "the", "current", "function", "'s", "list", "of", "deferred", "case", "vectors", ".", "Case", "vectors", "have", "to", "be", "put", "into", "a", "separate", "section", "because", "CAM", "does", "not", "allow", "data", "definitions", "in", "code", "sections", "."], "TS_V_token": ["alpha"], "File": "alpha3", "Func": "unicosmk_defer_case_vector", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3890, "Length": 46, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86FrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "const", "Function", "*", "Fn", "=", "MF", ".", "getFunction", "(", ")", ";", "if", "(", "!", "STI", ".", "is64Bit", "(", ")", "||", "!", "MF", ".", "getMMI", "(", ")", ".", "hasEHFunclets", "(", ")", "||", "classifyEHPersonality", "(", "Fn", "->", "getPersonalityFn", "(", ")", ")", "!=", "EHPersonality", "::", "MSVC_CXX", ")", "return", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "WinEHFuncInfo", "&", "EHInfo", "=", "*", "MF", ".", "getWinEHFuncInfo", "(", ")", ";", "int64_t", "MinFixedObjOffset", "=", "-", "SlotSize", ";", "for", "(", "int", "I", "=", "MFI", "->", "getObjectIndexBegin", "(", ")", ";", "I", "<", "0", ";", "++", "I", ")", "MinFixedObjOffset", "=", "std", "::", "min", "(", "MinFixedObjOffset", ",", "MFI", "->", "getObjectOffset", "(", "I", ")", ")", ";", "for", "(", "WinEHTryBlockMapEntry", "&", "TBME", ":", "EHInfo", ".", "TryBlockMap", ")", "{", "for", "(", "WinEHHandlerType", "&", "H", ":", "TBME", ".", "HandlerArray", ")", "{", "int", "FrameIndex", "=", "H", ".", "CatchObj", ".", "FrameIndex", ";", "if", "(", "FrameIndex", "!=", "INT_MAX", ")", "{", "unsigned", "Align", "=", "MFI", "->", "getObjectAlignment", "(", "FrameIndex", ")", ";", "MinFixedObjOffset", "-=", "std", "::", "abs", "(", "MinFixedObjOffset", ")", "%", "Align", ";", "MinFixedObjOffset", "-=", "MFI", "->", "getObjectSize", "(", "FrameIndex", ")", ";", "MFI", "->", "setObjectOffset", "(", "FrameIndex", ",", "MinFixedObjOffset", ")", ";", "}", "}", "}", "MinFixedObjOffset", "-=", "std", "::", "abs", "(", "MinFixedObjOffset", ")", "%", "8", ";", "int64_t", "UnwindHelpOffset", "=", "MinFixedObjOffset", "-", "SlotSize", ";", "int", "UnwindHelpFI", "=", "MFI", "->", "CreateFixedObject", "(", "SlotSize", ",", "UnwindHelpOffset", ",", "false", ")", ";", "EHInfo", ".", "UnwindHelpFrameIdx", "=", "UnwindHelpFI", ";", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "auto", "MBBI", "=", "MBB", ".", "begin", "(", ")", ";", "while", "(", "MBBI", "!=", "MBB", ".", "end", "(", ")", "&&", "MBBI", "->", "getFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ")", "++", "MBBI", ";", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MBBI", ")", ";", "addFrameReference", "(", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", ".", "get", "(", "X86", "::", "MOV64mi32", ")", ")", ",", "UnwindHelpFI", ")", ".", "addImm", "(", "-", "2", ")", ";", "}", ""], "natrual_language": ["processFunctionBeforeFrameFinalized", "-", "This", "method", "is", "called", "immediately", "before", "the", "specified", "function", "'s", "frame", "layout", "(", "MF.getFrameInfo", "(", ")", ")", "is", "finalized", "."], "TS_V_token": ["X86", "X86", "0", "8", "X86::MOV64mi32", "2"], "File": "X86FrameLowering112", "Func": "processFunctionBeforeFrameFinalized", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3891, "Length": 321, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TL45AsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", "Opcode", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "uint64_t", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "MCInst", "Inst", ";", "if", "(", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ")", "{", "Out", ".", "EmitInstruction", "(", "Inst", ",", "this", "->", "STI", ")", ";", "return", "false", ";", "}", "else", "{", "return", "Error", "(", "IDLoc", ",", "\"Error Parsing Instruction\"", ")", ";", "}", "}", ""], "natrual_language": ["MatchAndEmitInstruction", "-", "Recognize", "a", "series", "of", "operands", "of", "a", "parsed", "instruction", "as", "an", "actual", "MCInst", "and", "emit", "it", "to", "the", "specified", "MCStreamer", "."], "TS_V_token": ["TL45", "TL45", "\"Error Parsing Instruction\""], "File": "TL45AsmParser", "Func": "MatchAndEmitInstruction", "Target": "TL45", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3892, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "find_unused_clobbered_reg", "(", ")", "{", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "6", ";", "i", "++", ")", "if", "(", "!", "regs_ever_live", "[", "i", "]", ")", "return", "i", ";", "return", "0", ";", "}", ""], "natrual_language": ["Find", "first", "call", "clobbered", "register", "unsused", "in", "a", "function", ".", "This", "could", "be", "used", "as", "base", "register", "in", "a", "leaf", "function", "or", "for", "holding", "the", "return", "address", "before", "epilogue", "."], "TS_V_token": ["s390", "0", "6", "0"], "File": "s3902", "Func": "find_unused_clobbered_reg", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3893, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ix86_function_value_regno_p", "(", "int", "regno", ")", "{", "if", "(", "regno", "==", "0", "||", "(", "regno", "==", "FIRST_FLOAT_REG", "&&", "TARGET_FLOAT_RETURNS_IN_80387", ")", "||", "(", "regno", "==", "FIRST_SSE_REG", "&&", "TARGET_SSE", ")", ")", "return", "true", ";", "if", "(", "!", "TARGET_64BIT", "&&", "(", "regno", "==", "FIRST_MMX_REG", "&&", "TARGET_MMX", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "N", "is", "a", "possible", "register", "number", "of", "function", "value", "."], "TS_V_token": ["i386", "0"], "File": "i3863", "Func": "ix86_function_value_regno_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3894, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "m32c_function_arg_regno_p", "(", "int", "r", ")", "{", "if", "(", "TARGET_A24", ")", "return", "(", "r", "==", "R0_REGNO", ")", ";", "return", "(", "r", "==", "R1_REGNO", "||", "r", "==", "R2_REGNO", ")", ";", "}", ""], "natrual_language": ["Implements", "FUNCTION_ARG_REGNO_P", "."], "TS_V_token": ["m32c"], "File": "m32c", "Func": "m32c_function_arg_regno_p", "Target": "m32c", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3895, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AMDGPUTargetLowering", "::", "SplitVectorLoad", "(", "const", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "if", "(", "VT", ".", "getVectorNumElements", "(", ")", "==", "2", ")", "return", "ScalarizeVectorLoad", "(", "Op", ",", "DAG", ")", ";", "LoadSDNode", "*", "Load", "=", "cast", "<", "LoadSDNode", ">", "(", "Op", ")", ";", "SDValue", "BasePtr", "=", "Load", "->", "getBasePtr", "(", ")", ";", "EVT", "PtrVT", "=", "BasePtr", ".", "getValueType", "(", ")", ";", "EVT", "MemVT", "=", "Load", "->", "getMemoryVT", "(", ")", ";", "SDLoc", "SL", "(", "Op", ")", ";", "MachinePointerInfo", "SrcValue", "(", "Load", "->", "getMemOperand", "(", ")", "->", "getValue", "(", ")", ")", ";", "EVT", "LoVT", ",", "HiVT", ";", "EVT", "LoMemVT", ",", "HiMemVT", ";", "SDValue", "Lo", ",", "Hi", ";", "std", "::", "tie", "(", "LoVT", ",", "HiVT", ")", "=", "DAG", ".", "GetSplitDestVTs", "(", "VT", ")", ";", "std", "::", "tie", "(", "LoMemVT", ",", "HiMemVT", ")", "=", "DAG", ".", "GetSplitDestVTs", "(", "MemVT", ")", ";", "std", "::", "tie", "(", "Lo", ",", "Hi", ")", "=", "DAG", ".", "SplitVector", "(", "Op", ",", "SL", ",", "LoVT", ",", "HiVT", ")", ";", "SDValue", "LoLoad", "=", "DAG", ".", "getExtLoad", "(", "Load", "->", "getExtensionType", "(", ")", ",", "SL", ",", "LoVT", ",", "Load", "->", "getChain", "(", ")", ",", "BasePtr", ",", "SrcValue", ",", "LoMemVT", ",", "Load", "->", "isVolatile", "(", ")", ",", "Load", "->", "isNonTemporal", "(", ")", ",", "Load", "->", "isInvariant", "(", ")", ",", "Load", "->", "getAlignment", "(", ")", ")", ";", "SDValue", "HiPtr", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ADD", ",", "SL", ",", "PtrVT", ",", "BasePtr", ",", "DAG", ".", "getConstant", "(", "LoMemVT", ".", "getStoreSize", "(", ")", ",", "SL", ",", "PtrVT", ")", ")", ";", "SDValue", "HiLoad", "=", "DAG", ".", "getExtLoad", "(", "Load", "->", "getExtensionType", "(", ")", ",", "SL", ",", "HiVT", ",", "Load", "->", "getChain", "(", ")", ",", "HiPtr", ",", "SrcValue", ".", "getWithOffset", "(", "LoMemVT", ".", "getStoreSize", "(", ")", ")", ",", "HiMemVT", ",", "Load", "->", "isVolatile", "(", ")", ",", "Load", "->", "isNonTemporal", "(", ")", ",", "Load", "->", "isInvariant", "(", ")", ",", "Load", "->", "getAlignment", "(", ")", ")", ";", "SDValue", "Ops", "[", "]", "=", "{", "DAG", ".", "getNode", "(", "ISD", "::", "CONCAT_VECTORS", ",", "SL", ",", "VT", ",", "LoLoad", ",", "HiLoad", ")", ",", "DAG", ".", "getNode", "(", "ISD", "::", "TokenFactor", ",", "SL", ",", "MVT", "::", "Other", ",", "LoLoad", ".", "getValue", "(", "1", ")", ",", "HiLoad", ".", "getValue", "(", "1", ")", ")", "}", ";", "return", "DAG", ".", "getMergeValues", "(", "Ops", ",", "SL", ")", ";", "}", ""], "natrual_language": ["Split", "a", "vector", "load", "into", "2", "loads", "of", "half", "the", "vector", "."], "TS_V_token": ["R600", "2", "ISD::ADD", "ISD::CONCAT_VECTORS", "ISD::TokenFactor", "MVT::Other", "1", "1"], "File": "AMDGPUISelLowering98", "Func": "SplitVectorLoad", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3896, "Length": 384, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "adjust_vectorization_cost", "(", "enum", "vect_cost_for_stmt", "kind", ",", "struct", "_stmt_vec_info", "*", "stmt_info", ")", "{", "if", "(", "kind", "==", "scalar_stmt", "&&", "stmt_info", "&&", "stmt_info", "->", "stmt", "&&", "gimple_code", "(", "stmt_info", "->", "stmt", ")", "==", "GIMPLE_ASSIGN", ")", "{", "tree_code", "subcode", "=", "gimple_assign_rhs_code", "(", "stmt_info", "->", "stmt", ")", ";", "if", "(", "subcode", "==", "COND_EXPR", ")", "return", "2", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Adjust", "vectorization", "cost", "after", "calling", "rs6000_builtin_vectorization_cost", ".", "For", "some", "statement", ",", "we", "would", "like", "to", "further", "fine-grain", "tweak", "the", "cost", "on", "top", "of", "rs6000_builtin_vectorization_cost", "handling", "which", "does", "n't", "have", "any", "information", "on", "statement", "operation", "codes", "etc", ".", "One", "typical", "case", "here", "is", "COND_EXPR", ",", "it", "takes", "the", "same", "cost", "to", "simple", "FXU", "instruction", "when", "evaluating", "for", "scalar", "cost", ",", "but", "it", "should", "be", "priced", "more", "whatever", "transformed", "to", "either", "compare", "+", "branch", "or", "compare", "+", "isel", "instructions", "."], "TS_V_token": ["rs6000", "2", "0"], "File": "rs6000", "Func": "adjust_vectorization_cost", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3897, "Length": 60, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonDAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "SDValue", "Inp", "=", "Op", ",", "Res", ";", "switch", "(", "ConstraintID", ")", "{", "default", ":", "return", "true", ";", "case", "InlineAsm", "::", "Constraint_i", ":", "case", "InlineAsm", "::", "Constraint_o", ":", "case", "InlineAsm", "::", "Constraint_v", ":", "case", "InlineAsm", "::", "Constraint_m", ":", "if", "(", "SelectAddrFI", "(", "Inp", ",", "Res", ")", ")", "OutOps", ".", "push_back", "(", "Res", ")", ";", "else", "OutOps", ".", "push_back", "(", "Inp", ")", ";", "break", ";", "}", "OutOps", ".", "push_back", "(", "CurDAG", "->", "getTargetConstant", "(", "0", ",", "SDLoc", "(", "Op", ")", ",", "MVT", "::", "i32", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["SelectInlineAsmMemoryOperand", "-", "Select", "the", "specified", "address", "as", "a", "target", "addressing", "mode", ",", "according", "to", "the", "specified", "constraint", "."], "TS_V_token": ["Hexagon", "Hexagon", "0", "MVT::i32"], "File": "HexagonISelDAGToDAG", "Func": "SelectInlineAsmMemoryOperand", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3898, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64PassConfig", "::", "addPostRegAlloc", "(", ")", "{", "if", "(", "EnableDeadRegisterElimination", ")", "addPass", "(", "createARM64DeadRegisterDefinitions", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "after", "register", "allocation", "pass", "pipeline", "but", "before", "prolog-epilog", "insertion", "."], "TS_V_token": ["ARM64", "ARM64", "ARM64"], "File": "ARM64TargetMachine", "Func": "addPostRegAlloc", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3899, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "printPCRelImm", "(", "const", "MCInst", "*", "MI", ",", "int", "opNum", ",", "raw_ostream", "&", "O", ")", "{", "printOperand", "(", "MI", ",", "opNum", ",", "O", ")", ";", "}", ""], "natrual_language": ["value", "(", "e.g", "."], "TS_V_token": ["M680x0"], "File": "M680x0InstPrinter", "Func": "printPCRelImm", "Target": "M680x0", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3900, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb1InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "assert", "(", "(", "RC", "==", "ARM", "::", "tGPRRegisterClass", "||", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", "(", "DestReg", ")", "&&", "isARMLowRegister", "(", "DestReg", ")", ")", ")", "&&", "\"Unknown regclass!\"", ")", ";", "if", "(", "RC", "==", "ARM", "::", "tGPRRegisterClass", ")", "{", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "tRestore", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "0", ")", ")", ";", "}", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["ARM", "ARM::tGPRRegisterClass", "ARM", "\"Unknown regclass!\"", "ARM::tGPRRegisterClass", "ARM::tRestore", "0"], "File": "Thumb1InstrInfo15", "Func": "loadRegFromStackSlot", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3901, "Length": 123, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "m32c_register_pragmas", "(", "void", ")", "{", "c_register_pragma", "(", "\"GCC\"", ",", "\"memregs\"", ",", "m32c_pragma_memregs", ")", ";", "}", ""], "natrual_language": ["Implements", "REGISTER_TARGET_PRAGMAS", "."], "TS_V_token": ["m32c", "\"GCC\"", "\"memregs\""], "File": "m32c-pragma2", "Func": "m32c_register_pragmas", "Target": "m32c", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3902, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIFrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedVGPRs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedVGPRs", ",", "RS", ")", ";", "SIMachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "if", "(", "MFI", "->", "isEntryFunction", "(", ")", ")", "return", ";", "MachineFrameInfo", "&", "FrameInfo", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "GCNSubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "const", "SIRegisterInfo", "*", "TRI", "=", "ST", ".", "getRegisterInfo", "(", ")", ";", "SavedVGPRs", ".", "clearBitsNotInMask", "(", "TRI", "->", "getAllVectorRegMask", "(", ")", ")", ";", "if", "(", "!", "ST", ".", "hasGFX90AInsts", "(", ")", ")", "SavedVGPRs", ".", "clearBitsInMask", "(", "TRI", "->", "getAllAGPRRegMask", "(", ")", ")", ";", "if", "(", "TRI", "->", "isCFISavedRegsSpillEnabled", "(", ")", ")", "{", "allocateCFISave", "(", "MF", ",", "MFI", "->", "ReturnAddressSaveIndex", ",", "TRI", "->", "getReturnAddressReg", "(", "MF", ")", ")", ";", "allocateCFISave", "(", "MF", ",", "MFI", "->", "EXECSaveIndex", ",", "ST", ".", "isWave32", "(", ")", "?", "AMDGPU", "::", "EXEC_LO", ":", "AMDGPU", "::", "EXEC", ")", ";", "}", "const", "bool", "WillHaveFP", "=", "FrameInfo", ".", "hasCalls", "(", ")", "&&", "(", "SavedVGPRs", ".", "any", "(", ")", "||", "!", "allStackObjectsAreDead", "(", "MF", ")", ")", ";", "for", "(", "auto", "SSpill", ":", "MFI", "->", "getSGPRSpillVGPRs", "(", ")", ")", "SavedVGPRs", ".", "reset", "(", "SSpill", ".", "VGPR", ")", ";", "LivePhysRegs", "LiveRegs", ";", "LiveRegs", ".", "init", "(", "*", "TRI", ")", ";", "if", "(", "WillHaveFP", "||", "hasFP", "(", "MF", ")", ")", "{", "assert", "(", "!", "MFI", "->", "SGPRForFPSaveRestoreCopy", "&&", "!", "MFI", "->", "FramePointerSaveIndex", "&&", "\"Re-reserving spill slot for FP\"", ")", ";", "getVGPRSpillLaneOrTempRegister", "(", "MF", ",", "LiveRegs", ",", "MFI", "->", "SGPRForFPSaveRestoreCopy", ",", "MFI", "->", "FramePointerSaveIndex", ",", "true", ")", ";", "}", "if", "(", "TRI", "->", "hasBasePointer", "(", "MF", ")", ")", "{", "if", "(", "MFI", "->", "SGPRForFPSaveRestoreCopy", ")", "LiveRegs", ".", "addReg", "(", "MFI", "->", "SGPRForFPSaveRestoreCopy", ")", ";", "assert", "(", "!", "MFI", "->", "SGPRForBPSaveRestoreCopy", "&&", "!", "MFI", "->", "BasePointerSaveIndex", "&&", "\"Re-reserving spill slot for BP\"", ")", ";", "getVGPRSpillLaneOrTempRegister", "(", "MF", ",", "LiveRegs", ",", "MFI", "->", "SGPRForBPSaveRestoreCopy", ",", "MFI", "->", "BasePointerSaveIndex", ",", "false", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "determines", "which", "of", "the", "registers", "reported", "by", "TargetRegisterInfo", ":", ":getCalleeSavedRegs", "(", ")", "should", "actually", "get", "saved", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "SI", "AMDGPU::EXEC_LO", "AMDGPU::EXEC", "\"Re-reserving spill slot for FP\"", "\"Re-reserving spill slot for BP\""], "File": "SIFrameLowering", "Func": "determineCalleeSaves", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3903, "Length": 325, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "sh_expand_strlen", "(", "rtx", "*", "operands", ")", "{", "rtx", "addr1", "=", "operands", "[", "1", "]", ";", "rtx", "current_addr", "=", "copy_addr_to_reg", "(", "XEXP", "(", "addr1", ",", "0", ")", ")", ";", "rtx", "start_addr", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "rtx", "tmp0", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "rtx", "tmp1", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "rtx_code_label", "*", "L_return", "=", "gen_label_rtx", "(", ")", ";", "rtx_code_label", "*", "L_loop_byte", "=", "gen_label_rtx", "(", ")", ";", "rtx_insn", "*", "jump", ";", "rtx_code_label", "*", "L_loop_long", "=", "gen_label_rtx", "(", ")", ";", "rtx_code_label", "*", "L_end_loop_long", "=", "gen_label_rtx", "(", ")", ";", "int", "align", "=", "INTVAL", "(", "operands", "[", "3", "]", ")", ";", "emit_move_insn", "(", "operands", "[", "0", "]", ",", "GEN_INT", "(", "-", "1", ")", ")", ";", "emit_move_insn", "(", "start_addr", ",", "current_addr", ")", ";", "if", "(", "align", "<", "4", ")", "{", "emit_insn", "(", "gen_tstsi_t", "(", "current_addr", ",", "GEN_INT", "(", "3", ")", ")", ")", ";", "jump", "=", "emit_jump_insn", "(", "gen_branch_false", "(", "L_loop_byte", ")", ")", ";", "add_int_reg_note", "(", "jump", ",", "REG_BR_PROB", ",", "prob_likely", ")", ";", "}", "emit_move_insn", "(", "tmp0", ",", "operands", "[", "2", "]", ")", ";", "addr1", "=", "adjust_automodify_address", "(", "addr1", ",", "SImode", ",", "current_addr", ",", "0", ")", ";", "emit_label", "(", "L_loop_long", ")", ";", "emit_move_insn", "(", "tmp1", ",", "addr1", ")", ";", "emit_move_insn", "(", "current_addr", ",", "plus_constant", "(", "Pmode", ",", "current_addr", ",", "4", ")", ")", ";", "emit_insn", "(", "gen_cmpstr_t", "(", "tmp0", ",", "tmp1", ")", ")", ";", "jump", "=", "emit_jump_insn", "(", "gen_branch_false", "(", "L_loop_long", ")", ")", ";", "add_int_reg_note", "(", "jump", ",", "REG_BR_PROB", ",", "prob_likely", ")", ";", "emit_label", "(", "L_end_loop_long", ")", ";", "emit_move_insn", "(", "current_addr", ",", "plus_constant", "(", "Pmode", ",", "current_addr", ",", "-", "4", ")", ")", ";", "addr1", "=", "adjust_address", "(", "addr1", ",", "QImode", ",", "0", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "4", ";", "++", "i", ")", "{", "emit_insn", "(", "gen_extendqisi2", "(", "tmp1", ",", "addr1", ")", ")", ";", "emit_move_insn", "(", "current_addr", ",", "plus_constant", "(", "Pmode", ",", "current_addr", ",", "1", ")", ")", ";", "emit_insn", "(", "gen_cmpeqsi_t", "(", "tmp1", ",", "const0_rtx", ")", ")", ";", "jump", "=", "emit_jump_insn", "(", "gen_branch_true", "(", "L_return", ")", ")", ";", "add_int_reg_note", "(", "jump", ",", "REG_BR_PROB", ",", "prob_likely", ")", ";", "}", "emit_barrier_after", "(", "jump", ")", ";", "emit_label", "(", "L_loop_byte", ")", ";", "emit_insn", "(", "gen_extendqisi2", "(", "tmp1", ",", "addr1", ")", ")", ";", "emit_move_insn", "(", "current_addr", ",", "plus_constant", "(", "Pmode", ",", "current_addr", ",", "1", ")", ")", ";", "emit_insn", "(", "gen_cmpeqsi_t", "(", "tmp1", ",", "const0_rtx", ")", ")", ";", "jump", "=", "emit_jump_insn", "(", "gen_branch_false", "(", "L_loop_byte", ")", ")", ";", "add_int_reg_note", "(", "jump", ",", "REG_BR_PROB", ",", "prob_likely", ")", ";", "emit_label", "(", "L_return", ")", ";", "emit_insn", "(", "gen_addsi3", "(", "start_addr", ",", "start_addr", ",", "GEN_INT", "(", "1", ")", ")", ")", ";", "emit_insn", "(", "gen_subsi3", "(", "operands", "[", "0", "]", ",", "current_addr", ",", "start_addr", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "perform", "a", "strlen", ".", "OPERANDS", "[", "0", "]", "is", "the", "destination", ".", "OPERANDS", "[", "1", "]", "is", "the", "string", ".", "OPERANDS", "[", "2", "]", "is", "the", "char", "to", "search", ".", "OPERANDS", "[", "3", "]", "is", "the", "alignment", "."], "TS_V_token": ["sh", "1", "0", "3", "0", "1", "4", "3", "2", "0", "4", "4", "0", "0", "4", "1", "1", "1", "0"], "File": "sh-mem", "Func": "sh_expand_strlen", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3904, "Length": 441, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", "Opcode", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "uint64_t", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")", "{", "MCInst", "Inst", ";", "switch", "(", "MatchInstructionImpl", "(", "Operands", ",", "Inst", ",", "ErrorInfo", ",", "MatchingInlineAsm", ")", ")", "{", "case", "Match_Success", ":", "ProcessInstruction", "(", "Inst", ",", "Operands", ")", ";", "Inst", ".", "setLoc", "(", "IDLoc", ")", ";", "Out", ".", "EmitInstruction", "(", "Inst", ",", "getSTI", "(", ")", ")", ";", "return", "false", ";", "case", "Match_MissingFeature", ":", "return", "Error", "(", "IDLoc", ",", "\"instruction use requires an option to be enabled\"", ")", ";", "case", "Match_MnemonicFail", ":", "{", "uint64_t", "FBS", "=", "ComputeAvailableFeatures", "(", "getSTI", "(", ")", ".", "getFeatureBits", "(", ")", ")", ";", "std", "::", "string", "Suggestion", "=", "PPCMnemonicSpellCheck", "(", "(", "(", "PPCOperand", "&", ")", "*", "Operands", "[", "0", "]", ")", ".", "getToken", "(", ")", ",", "FBS", ")", ";", "return", "Error", "(", "IDLoc", ",", "\"invalid instruction\"", "+", "Suggestion", ",", "(", "(", "PPCOperand", "&", ")", "*", "Operands", "[", "0", "]", ")", ".", "getLocRange", "(", ")", ")", ";", "}", "case", "Match_InvalidOperand", ":", "{", "SMLoc", "ErrorLoc", "=", "IDLoc", ";", "if", "(", "ErrorInfo", "!=", "~", "0ULL", ")", "{", "if", "(", "ErrorInfo", ">=", "Operands", ".", "size", "(", ")", ")", "return", "Error", "(", "IDLoc", ",", "\"too few operands for instruction\"", ")", ";", "ErrorLoc", "=", "(", "(", "PPCOperand", "&", ")", "*", "Operands", "[", "ErrorInfo", "]", ")", ".", "getStartLoc", "(", ")", ";", "if", "(", "ErrorLoc", "==", "SMLoc", "(", ")", ")", "ErrorLoc", "=", "IDLoc", ";", "}", "return", "Error", "(", "ErrorLoc", ",", "\"invalid operand for instruction\"", ")", ";", "}", "}", "llvm_unreachable", "(", "\"Implement any new match types added!\"", ")", ";", "}", ""], "natrual_language": ["MatchAndEmitInstruction", "-", "Recognize", "a", "series", "of", "operands", "of", "a", "parsed", "instruction", "as", "an", "actual", "MCInst", "and", "emit", "it", "to", "the", "specified", "MCStreamer", "."], "TS_V_token": ["PowerPC", "PPC", "\"instruction use requires an option to be enabled\"", "PPC", "PPC", "0", "\"invalid instruction\"", "PPC", "0", "0ULL", "\"too few operands for instruction\"", "PPC", "\"invalid operand for instruction\"", "\"Implement any new match types added!\""], "File": "PPCAsmParser13", "Func": "MatchAndEmitInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3905, "Length": 240, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "setExecutionDomain", "(", "MachineInstr", "*", "MI", ",", "unsigned", "Domain", ")", "const", "{", "assert", "(", "Domain", ">", "0", "&&", "Domain", "<", "4", "&&", "\"Invalid execution domain\"", ")", ";", "uint16_t", "dom", "=", "(", "MI", "->", "getDesc", "(", ")", ".", "TSFlags", ">>", "X86II", "::", "SSEDomainShift", ")", "&", "3", ";", "assert", "(", "dom", "&&", "\"Not an SSE instruction\"", ")", ";", "const", "uint16_t", "*", "table", "=", "lookup", "(", "MI", "->", "getOpcode", "(", ")", ",", "dom", ")", ";", "if", "(", "!", "table", ")", "{", "assert", "(", "(", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "hasAVX2", "(", ")", "||", "Domain", "<", "3", ")", "&&", "\"256-bit vector operations only available in AVX2\"", ")", ";", "table", "=", "lookupAVX2", "(", "MI", "->", "getOpcode", "(", ")", ",", "dom", ")", ";", "}", "assert", "(", "table", "&&", "\"Cannot change domain\"", ")", ";", "MI", "->", "setDesc", "(", "get", "(", "table", "[", "Domain", "-", "1", "]", ")", ")", ";", "}", ""], "natrual_language": ["Change", "the", "opcode", "of", "MI", "to", "execute", "in", "Domain", "."], "TS_V_token": ["X86", "X86", "0", "4", "\"Invalid execution domain\"", "X86II::SSEDomainShift", "3", "\"Not an SSE instruction\"", "X86", "3", "\"256-bit vector operations only available in AVX2\"", "\"Cannot change domain\"", "1"], "File": "X86InstrInfo (2)", "Func": "setExecutionDomain", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3906, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "reg_class_t", "visium_secondary_reload", "(", "bool", "in_p", "ATTRIBUTE_UNUSED", ",", "rtx", "x", ",", "reg_class_t", "rclass", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "secondary_reload_info", "*", "sri", "ATTRIBUTE_UNUSED", ")", "{", "int", "regno", "=", "true_regnum", "(", "x", ")", ";", "if", "(", "regno", "==", "-", "1", "&&", "(", "rclass", "==", "MDB", "||", "rclass", "==", "MDC", "||", "rclass", "==", "FP_REGS", ")", ")", "return", "GENERAL_REGS", ";", "else", "if", "(", "(", "(", "regno", "==", "R_MDB", "||", "regno", "==", "R_MDC", ")", "&&", "rclass", "==", "FP_REGS", ")", "||", "(", "FP_REGISTER_P", "(", "regno", ")", "&&", "(", "rclass", "==", "MDB", "||", "rclass", "==", "MDC", ")", ")", ")", "return", "GENERAL_REGS", ";", "else", "if", "(", "(", "regno", "==", "R_MDB", "&&", "rclass", "==", "MDC", ")", "||", "(", "rclass", "==", "MDB", "&&", "regno", "==", "R_MDC", ")", ")", "return", "GENERAL_REGS", ";", "return", "NO_REGS", ";", "}", ""], "natrual_language": ["Return", "the", "register", "class", "required", "for", "an", "intermediate", "register", "used", "to", "copy", "a", "register", "of", "RCLASS", "from/to", "X", ".", "If", "no", "such", "intermediate", "register", "is", "required", ",", "return", "NO_REGS", ".", "If", "more", "than", "one", "such", "intermediate", "register", "is", "required", ",", "describe", "the", "one", "that", "is", "closest", "in", "the", "copy", "chain", "to", "the", "reload", "register", "."], "TS_V_token": ["visium", "1"], "File": "visium", "Func": "visium_secondary_reload", "Target": "visium", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 3907, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64RegisterInfo", "::", "useFPForScavengingIndex", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "AArch64FrameLowering", "&", "TFI", "=", "*", "getFrameLowering", "(", "MF", ")", ";", "const", "AArch64FunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "assert", "(", "(", "!", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "hasSVE", "(", ")", "||", "AFI", "->", "hasCalculatedStackSizeSVE", "(", ")", ")", "&&", "\"Expected SVE area to be calculated by this point\"", ")", ";", "return", "TFI", ".", "hasFP", "(", "MF", ")", "&&", "!", "needsStackRealignment", "(", "MF", ")", "&&", "!", "AFI", "->", "getStackSizeSVE", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "target", "wants", "to", "use", "frame", "pointer", "based", "accesses", "to", "spill", "to", "the", "scavenger", "emergency", "spill", "slot", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "\"Expected SVE area to be calculated by this point\""], "File": "AArch64RegisterInfo21", "Func": "useFPForScavengingIndex", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3908, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "HexagonTTIImpl", "::", "getNumberOfRegisters", "(", "bool", "vector", ")", "const", "{", "return", "vector", "?", "0", ":", "32", ";", "}", ""], "natrual_language": ["\ufffd", "?", "Vector", "TTI", "begin", "\ufffd", "?"], "TS_V_token": ["Hexagon", "Hexagon", "0", "32"], "File": "HexagonTargetTransformInfo1", "Func": "getNumberOfRegisters", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3909, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "rvexRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "static", "const", "uint16_t", "ReservedCPURegs", "[", "]", "=", "{", "rvex", "::", "R0", ",", "rvex", "::", "R1", ",", "rvex", "::", "LR", ",", "rvex", "::", "PC", "}", ";", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "typedef", "TargetRegisterClass", "::", "iterator", "RegIter", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "array_lengthof", "(", "ReservedCPURegs", ")", ";", "++", "I", ")", "Reserved", ".", "set", "(", "ReservedCPURegs", "[", "I", "]", ")", ";", "if", "(", "MF", ".", "getInfo", "<", "rvexFunctionInfo", ">", "(", ")", "->", "globalBaseRegFixed", "(", ")", ")", "{", "Reserved", ".", "set", "(", "rvex", "::", "R0", ")", ";", "}", "return", "Reserved", ";", "}", ""], "natrual_language": ["getReservedRegs", "-", "Returns", "a", "bitset", "indexed", "by", "physical", "register", "number", "indicating", "if", "a", "register", "is", "a", "special", "register", "that", "has", "particular", "uses", "and", "should", "be", "considered", "unavailable", "at", "all", "times", ",", "e.g", "."], "TS_V_token": ["rvex", "rvex", "rvex::R0", "rvex::R1", "rvex::LR", "rvex::PC", "0", "rvex", "rvex::R0"], "File": "rvexRegisterInfo", "Func": "getReservedRegs", "Target": "rvex", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 3910, "Length": 108, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "class_can_hold_mode", "(", "reg_class_t", "rclass", ",", "machine_mode", "mode", ")", "{", "static", "char", "results", "[", "LIM_REG_CLASSES", "]", "[", "MAX_MACHINE_MODE", "]", ";", "if", "(", "results", "[", "(", "int", ")", "rclass", "]", "[", "mode", "]", "==", "0", ")", "{", "int", "r", ";", "results", "[", "rclass", "]", "[", "mode", "]", "=", "1", ";", "for", "(", "r", "=", "0", ";", "r", "<", "FIRST_PSEUDO_REGISTER", ";", "r", "++", ")", "if", "(", "in_hard_reg_set_p", "(", "reg_class_contents", "[", "(", "int", ")", "rclass", "]", ",", "mode", ",", "r", ")", "&&", "HARD_REGNO_MODE_OK", "(", "r", ",", "mode", ")", ")", "{", "results", "[", "rclass", "]", "[", "mode", "]", "=", "2", ";", "break", ";", "}", "}", "fprintf", "(", "stderr", ",", "\"class %s can hold %s? %s\\n\"", ",", "class_names", "[", "(", "int", ")", "rclass", "]", ",", "mode_name", "[", "mode", "]", ",", "(", "results", "[", "rclass", "]", "[", "mode", "]", "==", "2", ")", "?", "\"yes\"", ":", "\"no\"", ")", ";", "return", "results", "[", "(", "int", ")", "rclass", "]", "[", "mode", "]", "==", "2", ";", "}", ""], "natrual_language": ["Used", "by", "m32c_register_move_cost", "to", "determine", "if", "a", "move", "is", "impossibly", "expensive", "."], "TS_V_token": ["m32c", "0", "1", "0", "2", "\"class %s can hold %s? %s\\n\"", "2", "\"yes\"", "\"no\"", "2"], "File": "m32c3", "Func": "class_can_hold_mode", "Target": "m32c", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3911, "Length": 153, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MCS51FrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "ArrayRef", "<", "CalleeSavedInfo", ">", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "CSI", ".", "empty", "(", ")", ")", "{", "return", "false", ";", "}", "unsigned", "CalleeFrameSize", "=", "0", ";", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "MCS51Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "MCS51Subtarget", ">", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "STI", ".", "getInstrInfo", "(", ")", ";", "MCS51MachineFunctionInfo", "*", "MCS51FI", "=", "MF", ".", "getInfo", "<", "MCS51MachineFunctionInfo", ">", "(", ")", ";", "for", "(", "unsigned", "i", "=", "CSI", ".", "size", "(", ")", ";", "i", "!=", "0", ";", "--", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "-", "1", "]", ".", "getReg", "(", ")", ";", "bool", "IsNotLiveIn", "=", "!", "MBB", ".", "isLiveIn", "(", "Reg", ")", ";", "assert", "(", "TRI", "->", "getRegSizeInBits", "(", "*", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ")", "==", "8", "&&", "\"Invalid register size\"", ")", ";", "if", "(", "IsNotLiveIn", ")", "{", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "}", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "TII", ".", "get", "(", "MCS51", "::", "PUSHRr", ")", ")", ".", "addReg", "(", "Reg", ",", "getKillRegState", "(", "IsNotLiveIn", ")", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";", "++", "CalleeFrameSize", ";", "}", "MCS51FI", "->", "setCalleeSavedFrameSize", "(", "CalleeFrameSize", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["spillCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "spill", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "store", "instructions", "via", "storeRegToStackSlot", "(", ")", "."], "TS_V_token": ["MCS51", "MCS51", "0", "MCS51", "MCS51", "MCS51", "MCS51", "MCS51", "0", "1", "8", "\"Invalid register size\"", "MCS51::PUSHRr", "MCS51"], "File": "MCS51FrameLowering", "Func": "spillCalleeSavedRegisters", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3912, "Length": 232, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "arm_legitimate_index_p", "(", "enum", "machine_mode", "mode", ",", "rtx", "index", ",", "RTX_CODE", "outer", ",", "int", "strict_p", ")", "{", "HOST_WIDE_INT", "range", ";", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "index", ")", ";", "if", "(", "TARGET_HARD_FLOAT", "&&", "(", "TARGET_FPA", "||", "TARGET_MAVERICK", ")", "&&", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", "||", "(", "TARGET_MAVERICK", "&&", "mode", "==", "DImode", ")", ")", ")", "return", "(", "code", "==", "CONST_INT", "&&", "INTVAL", "(", "index", ")", "<", "1024", "&&", "INTVAL", "(", "index", ")", ">", "-", "1024", "&&", "(", "INTVAL", "(", "index", ")", "&", "3", ")", "==", "0", ")", ";", "if", "(", "TARGET_REALLY_IWMMXT", "&&", "VALID_IWMMXT_REG_MODE", "(", "mode", ")", ")", "return", "(", "code", "==", "CONST_INT", "&&", "INTVAL", "(", "index", ")", "<", "1024", "&&", "INTVAL", "(", "index", ")", ">", "-", "1024", "&&", "(", "INTVAL", "(", "index", ")", "&", "3", ")", "==", "0", ")", ";", "if", "(", "arm_address_register_rtx_p", "(", "index", ",", "strict_p", ")", "&&", "(", "GET_MODE_SIZE", "(", "mode", ")", "<=", "4", ")", ")", "return", "1", ";", "if", "(", "mode", "==", "DImode", "||", "mode", "==", "DFmode", ")", "{", "if", "(", "code", "==", "CONST_INT", ")", "{", "HOST_WIDE_INT", "val", "=", "INTVAL", "(", "index", ")", ";", "if", "(", "TARGET_LDRD", ")", "return", "val", ">", "-", "256", "&&", "val", "<", "256", ";", "else", "return", "val", ">", "-", "4096", "&&", "val", "<", "4092", ";", "}", "return", "TARGET_LDRD", "&&", "arm_address_register_rtx_p", "(", "index", ",", "strict_p", ")", ";", "}", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "<=", "4", "&&", "!", "(", "arm_arch4", "&&", "(", "mode", "==", "HImode", "||", "(", "mode", "==", "QImode", "&&", "outer", "==", "SIGN_EXTEND", ")", ")", ")", ")", "{", "if", "(", "code", "==", "MULT", ")", "{", "rtx", "xiop0", "=", "XEXP", "(", "index", ",", "0", ")", ";", "rtx", "xiop1", "=", "XEXP", "(", "index", ",", "1", ")", ";", "return", "(", "(", "arm_address_register_rtx_p", "(", "xiop0", ",", "strict_p", ")", "&&", "power_of_two_operand", "(", "xiop1", ",", "SImode", ")", ")", "||", "(", "arm_address_register_rtx_p", "(", "xiop1", ",", "strict_p", ")", "&&", "power_of_two_operand", "(", "xiop0", ",", "SImode", ")", ")", ")", ";", "}", "else", "if", "(", "code", "==", "LSHIFTRT", "||", "code", "==", "ASHIFTRT", "||", "code", "==", "ASHIFT", "||", "code", "==", "ROTATERT", ")", "{", "rtx", "op", "=", "XEXP", "(", "index", ",", "1", ")", ";", "return", "(", "arm_address_register_rtx_p", "(", "XEXP", "(", "index", ",", "0", ")", ",", "strict_p", ")", "&&", "GET_CODE", "(", "op", ")", "==", "CONST_INT", "&&", "INTVAL", "(", "op", ")", ">", "0", "&&", "INTVAL", "(", "op", ")", "<=", "31", ")", ";", "}", "}", "if", "(", "arm_arch4", ")", "{", "if", "(", "mode", "==", "HImode", "||", "(", "outer", "==", "SIGN_EXTEND", "&&", "mode", "==", "QImode", ")", ")", "range", "=", "256", ";", "else", "range", "=", "4096", ";", "}", "else", "range", "=", "(", "mode", "==", "HImode", ")", "?", "4095", ":", "4096", ";", "return", "(", "code", "==", "CONST_INT", "&&", "INTVAL", "(", "index", ")", "<", "range", "&&", "INTVAL", "(", "index", ")", ">", "-", "range", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "INDEX", "is", "valid", "for", "an", "address", "index", "operand", "in", "ARM", "state", "."], "TS_V_token": ["arm", "1024", "1024", "3", "0", "1024", "1024", "3", "0", "4", "1", "256", "256", "4096", "4092", "4", "0", "1", "1", "0", "0", "31", "256", "4096", "4095", "4096"], "File": "arm3", "Func": "arm_legitimate_index_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3913, "Length": 445, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "setName", "(", "StringRef", "N", ")", "{", "Impl", "->", "setName", "(", "N", ")", ";", "}", ""], "natrual_language": ["Change", "the", "name", "of", "this", "type", "to", "the", "specified", "name", ",", "or", "to", "a", "name", "with", "a", "suffix", "if", "there", "is", "a", "collision", "."], "TS_V_token": ["AMDGPU"], "File": "AMDGPULibFunc (2)", "Func": "setName", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3914, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "AnalyzeArguments", "(", "CCState", "&", "State", ",", "SmallVectorImpl", "<", "CCValAssign", ">", "&", "ArgLocs", ",", "const", "SmallVectorImpl", "<", "ArgT", ">", "&", "Args", ")", "{", "static", "const", "MCPhysReg", "RegList", "[", "]", "=", "{", "MSP430", "::", "R15", ",", "MSP430", "::", "R14", ",", "MSP430", "::", "R13", ",", "MSP430", "::", "R12", "}", ";", "static", "const", "unsigned", "NbRegs", "=", "array_lengthof", "(", "RegList", ")", ";", "if", "(", "State", ".", "isVarArg", "(", ")", ")", "{", "AnalyzeVarArgs", "(", "State", ",", "Args", ")", ";", "return", ";", "}", "SmallVector", "<", "unsigned", ",", "4", ">", "ArgsParts", ";", "ParseFunctionArgs", "(", "Args", ",", "ArgsParts", ")", ";", "unsigned", "RegsLeft", "=", "NbRegs", ";", "bool", "UseStack", "=", "false", ";", "unsigned", "ValNo", "=", "0", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "ArgsParts", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "i", "++", ")", "{", "MVT", "ArgVT", "=", "Args", "[", "ValNo", "]", ".", "VT", ";", "ISD", "::", "ArgFlagsTy", "ArgFlags", "=", "Args", "[", "ValNo", "]", ".", "Flags", ";", "MVT", "LocVT", "=", "ArgVT", ";", "CCValAssign", "::", "LocInfo", "LocInfo", "=", "CCValAssign", "::", "Full", ";", "if", "(", "LocVT", "==", "MVT", "::", "i8", ")", "{", "LocVT", "=", "MVT", "::", "i16", ";", "if", "(", "ArgFlags", ".", "isSExt", "(", ")", ")", "LocInfo", "=", "CCValAssign", "::", "SExt", ";", "else", "if", "(", "ArgFlags", ".", "isZExt", "(", ")", ")", "LocInfo", "=", "CCValAssign", "::", "ZExt", ";", "else", "LocInfo", "=", "CCValAssign", "::", "AExt", ";", "}", "if", "(", "ArgFlags", ".", "isByVal", "(", ")", ")", "{", "State", ".", "HandleByVal", "(", "ValNo", "++", ",", "ArgVT", ",", "LocVT", ",", "LocInfo", ",", "2", ",", "2", ",", "ArgFlags", ")", ";", "continue", ";", "}", "unsigned", "Parts", "=", "ArgsParts", "[", "i", "]", ";", "if", "(", "!", "UseStack", "&&", "Parts", "<=", "RegsLeft", ")", "{", "unsigned", "FirstVal", "=", "ValNo", ";", "for", "(", "unsigned", "j", "=", "0", ";", "j", "<", "Parts", ";", "j", "++", ")", "{", "unsigned", "Reg", "=", "State", ".", "AllocateReg", "(", "RegList", ",", "NbRegs", ")", ";", "State", ".", "addLoc", "(", "CCValAssign", "::", "getReg", "(", "ValNo", "++", ",", "ArgVT", ",", "Reg", ",", "LocVT", ",", "LocInfo", ")", ")", ";", "RegsLeft", "--", ";", "}", "SmallVectorImpl", "<", "CCValAssign", ">", "::", "iterator", "B", "=", "ArgLocs", ".", "begin", "(", ")", "+", "FirstVal", ";", "std", "::", "reverse", "(", "B", ",", "B", "+", "Parts", ")", ";", "}", "else", "{", "UseStack", "=", "true", ";", "for", "(", "unsigned", "j", "=", "0", ";", "j", "<", "Parts", ";", "j", "++", ")", "CC_MSP430_AssignStack", "(", "ValNo", "++", ",", "ArgVT", ",", "LocVT", ",", "LocInfo", ",", "ArgFlags", ",", "State", ")", ";", "}", "}", "}", ""], "natrual_language": ["The", "function", "will", "invoke", "AnalyzeCallOperands", "."], "TS_V_token": ["MSP430", "MSP430::R15", "MSP430::R14", "MSP430::R13", "MSP430::R12", "4", "0", "0", "ISD::ArgFlagsTy", "MVT::i8", "MVT::i16", "2", "2", "0", "0", "MSP430"], "File": "MSP430ISelLowering21", "Func": "AnalyzeArguments", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3915, "Length": 393, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_max_const_double_inline_cost", "(", ")", "{", "if", "(", "arm_disable_literal_pool", ")", "return", "99", ";", "return", "(", "(", "optimize_size", "||", "arm_ld_sched", ")", "?", "3", ":", "4", ")", ";", "}", ""], "natrual_language": ["Return", "maximum", "allowed", "cost", "of", "synthesizing", "a", "64-bit", "constant", "VAL", "inline", ".", "Returns", "the", "number", "of", "insns", "needed", ",", "or", "99", "if", "we", "always", "want", "to", "synthesize", "the", "value", "."], "TS_V_token": ["arm", "99", "3", "4"], "File": "arm4", "Func": "arm_max_const_double_inline_cost", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3916, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "BPFTargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InFlag", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "SDLoc", "DL", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "IsVarArg", ",", "MF", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "if", "(", "Ins", ".", "size", "(", ")", ">=", "2", ")", "{", "fail", "(", "DL", ",", "DAG", ",", "\"only small returns supported\"", ")", ";", "}", "CCInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC_BPF64", ")", ";", "for", "(", "auto", "&", "Val", ":", "RVLocs", ")", "{", "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "DL", ",", "Val", ".", "getLocReg", "(", ")", ",", "Val", ".", "getValVT", "(", ")", ",", "InFlag", ")", ".", "getValue", "(", "1", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "2", ")", ";", "InVals", ".", "push_back", "(", "Chain", ".", "getValue", "(", "0", ")", ")", ";", "}", "return", "Chain", ";", "}", ""], "natrual_language": ["LowerCallResult", "-", "Lower", "the", "result", "values", "of", "an", "ISD", ":", ":CALL", "into", "the", "appropriate", "copies", "out", "of", "appropriate", "physical", "registers", "."], "TS_V_token": ["BPF", "BPF", "ISD::InputArg", "16", "2", "\"only small returns supported\"", "BPF", "1", "2", "0"], "File": "BPFISelLowering6", "Func": "LowerCallResult", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3917, "Length": 177, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "JVMInstrInfo", "::", "reverseBranchCondition", "(", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ")", "const", "{", "MachineOperand", "&", "MO", "=", "Cond", "[", "0", "]", ";", "unsigned", "NewCond", ";", "switch", "(", "MO", ".", "getImm", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unhandled conditon\"", ")", ";", "case", "JVM", "::", "IFICMPEQ", ":", "NewCond", "=", "JVM", "::", "IFICMPNE", ";", "break", ";", "case", "JVM", "::", "IFICMPNE", ":", "NewCond", "=", "JVM", "::", "IFICMPEQ", ";", "break", ";", "case", "JVM", "::", "IFICMPGT", ":", "NewCond", "=", "JVM", "::", "IFICMPLE", ";", "break", ";", "case", "JVM", "::", "IFICMPGE", ":", "NewCond", "=", "JVM", "::", "IFICMPLT", ";", "break", ";", "case", "JVM", "::", "IFICMPLT", ":", "NewCond", "=", "JVM", "::", "IFICMPGE", ";", "break", ";", "case", "JVM", "::", "IFICMPLE", ":", "NewCond", "=", "JVM", "::", "IFICMPGT", ";", "break", ";", "case", "JVM", "::", "IFEQ", ":", "NewCond", "=", "JVM", "::", "IFNE", ";", "break", ";", "case", "JVM", "::", "IFGT", ":", "NewCond", "=", "JVM", "::", "IFLE", ";", "break", ";", "case", "JVM", "::", "IFGE", ":", "NewCond", "=", "JVM", "::", "IFLT", ";", "break", ";", "case", "JVM", "::", "IFLT", ":", "NewCond", "=", "JVM", "::", "IFGE", ";", "break", ";", "case", "JVM", "::", "IFLE", ":", "NewCond", "=", "JVM", "::", "IFGT", ";", "break", ";", "case", "JVM", "::", "IFNE", ":", "NewCond", "=", "JVM", "::", "IFEQ", ";", "break", ";", "}", "Cond", "[", "0", "]", ".", "setImm", "(", "NewCond", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Reverses", "the", "branch", "condition", "of", "the", "specified", "condition", "list", ",", "returning", "false", "on", "success", "and", "true", "if", "it", "can", "not", "be", "reversed", "."], "TS_V_token": ["JVM", "JVM", "0", "\"Unhandled conditon\"", "JVM::IFICMPEQ", "JVM::IFICMPNE", "JVM::IFICMPNE", "JVM::IFICMPEQ", "JVM::IFICMPGT", "JVM::IFICMPLE", "JVM::IFICMPGE", "JVM::IFICMPLT", "JVM::IFICMPLT", "JVM::IFICMPGE", "JVM::IFICMPLE", "JVM::IFICMPGT", "JVM::IFEQ", "JVM::IFNE", "JVM::IFGT", "JVM::IFLE", "JVM::IFGE", "JVM::IFLT", "JVM::IFLT", "JVM::IFGE", "JVM::IFLE", "JVM::IFGT", "JVM::IFNE", "JVM::IFEQ", "0"], "File": "JVMInstrInfo", "Func": "reverseBranchCondition", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3918, "Length": 213, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "ARMTargetLowering", "::", "emitStoreConditional", "(", "IRBuilder", "<", ">", "&", "Builder", ",", "Value", "*", "Val", ",", "Value", "*", "Addr", ",", "AtomicOrdering", "Ord", ")", "const", "{", "Module", "*", "M", "=", "Builder", ".", "GetInsertBlock", "(", ")", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "bool", "IsRelease", "=", "isReleaseOrStronger", "(", "Ord", ")", ";", "if", "(", "Val", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", "==", "64", ")", "{", "Intrinsic", "::", "ID", "Int", "=", "IsRelease", "?", "Intrinsic", "::", "arm_stlexd", ":", "Intrinsic", "::", "arm_strexd", ";", "Function", "*", "Strex", "=", "Intrinsic", "::", "getDeclaration", "(", "M", ",", "Int", ")", ";", "Type", "*", "Int32Ty", "=", "Type", "::", "getInt32Ty", "(", "M", "->", "getContext", "(", ")", ")", ";", "Value", "*", "Lo", "=", "Builder", ".", "CreateTrunc", "(", "Val", ",", "Int32Ty", ",", "\"lo\"", ")", ";", "Value", "*", "Hi", "=", "Builder", ".", "CreateTrunc", "(", "Builder", ".", "CreateLShr", "(", "Val", ",", "32", ")", ",", "Int32Ty", ",", "\"hi\"", ")", ";", "if", "(", "!", "Subtarget", "->", "isLittle", "(", ")", ")", "std", "::", "swap", "(", "Lo", ",", "Hi", ")", ";", "Addr", "=", "Builder", ".", "CreateBitCast", "(", "Addr", ",", "Type", "::", "getInt8PtrTy", "(", "M", "->", "getContext", "(", ")", ")", ")", ";", "return", "Builder", ".", "CreateCall", "(", "Strex", ",", "{", "Lo", ",", "Hi", ",", "Addr", "}", ")", ";", "}", "Intrinsic", "::", "ID", "Int", "=", "IsRelease", "?", "Intrinsic", "::", "arm_stlex", ":", "Intrinsic", "::", "arm_strex", ";", "Type", "*", "Tys", "[", "]", "=", "{", "Addr", "->", "getType", "(", ")", "}", ";", "Function", "*", "Strex", "=", "Intrinsic", "::", "getDeclaration", "(", "M", ",", "Int", ",", "Tys", ")", ";", "return", "Builder", ".", "CreateCall", "(", "Strex", ",", "{", "Builder", ".", "CreateZExtOrBitCast", "(", "Val", ",", "Strex", "->", "getFunctionType", "(", ")", "->", "getParamType", "(", "0", ")", ")", ",", "Addr", "}", ")", ";", "}", ""], "natrual_language": ["Perform", "a", "store-conditional", "operation", "to", "Addr", "."], "TS_V_token": ["ARM", "ARM", "64", "Intrinsic::ID", "Intrinsic::arm_stlexd", "Intrinsic::arm_strexd", "Intrinsic::getDeclaration", "\"lo\"", "32", "\"hi\"", "Intrinsic::ID", "Intrinsic::arm_stlex", "Intrinsic::arm_strex", "Intrinsic::getDeclaration", "0"], "File": "ARMISelLowering11", "Func": "emitStoreConditional", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3919, "Length": 276, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AMDGPURegisterBankInfo", "::", "split64BitValueForMapping", "(", "MachineIRBuilder", "&", "B", ",", "SmallVector", "<", "unsigned", ",", "2", ">", "&", "Regs", ",", "LLT", "HalfTy", ",", "unsigned", "Reg", ")", "const", "{", "assert", "(", "HalfTy", ".", "getSizeInBits", "(", ")", "==", "32", ")", ";", "MachineRegisterInfo", "*", "MRI", "=", "B", ".", "getMRI", "(", ")", ";", "unsigned", "LoLHS", "=", "MRI", "->", "createGenericVirtualRegister", "(", "HalfTy", ")", ";", "unsigned", "HiLHS", "=", "MRI", "->", "createGenericVirtualRegister", "(", "HalfTy", ")", ";", "const", "RegisterBank", "*", "Bank", "=", "getRegBank", "(", "Reg", ",", "*", "MRI", ",", "*", "TRI", ")", ";", "MRI", "->", "setRegBank", "(", "LoLHS", ",", "*", "Bank", ")", ";", "MRI", "->", "setRegBank", "(", "HiLHS", ",", "*", "Bank", ")", ";", "Regs", ".", "push_back", "(", "LoLHS", ")", ";", "Regs", ".", "push_back", "(", "HiLHS", ")", ";", "B", ".", "buildInstr", "(", "AMDGPU", "::", "G_UNMERGE_VALUES", ")", ".", "addDef", "(", "LoLHS", ")", ".", "addDef", "(", "HiLHS", ")", ".", "addUse", "(", "Reg", ")", ";", "}", ""], "natrual_language": ["Split", "64-bit", "value", "Reg", "into", "two", "32-bit", "halves", "and", "populate", "them", "into", "Regs", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "2", "32", "AMDGPU::G_UNMERGE_VALUES"], "File": "AMDGPURegisterBankInfo46", "Func": "split64BitValueForMapping", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3920, "Length": 142, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "std", "::", "unique_ptr", "<", "MipsOperand", ">", "CreateReg", "(", "unsigned", "Index", ",", "StringRef", "Str", ",", "RegKind", "RegKind", ",", "const", "MCRegisterInfo", "*", "RegInfo", ",", "SMLoc", "S", ",", "SMLoc", "E", ",", "MipsAsmParser", "&", "Parser", ")", "{", "auto", "Op", "=", "llvm", "::", "make_unique", "<", "MipsOperand", ">", "(", "k_RegisterIndex", ",", "Parser", ")", ";", "Op", "->", "RegIdx", ".", "Index", "=", "Index", ";", "Op", "->", "RegIdx", ".", "RegInfo", "=", "RegInfo", ";", "Op", "->", "RegIdx", ".", "Kind", "=", "RegKind", ";", "Op", "->", "RegIdx", ".", "Tok", ".", "Data", "=", "Str", ".", "data", "(", ")", ";", "Op", "->", "RegIdx", ".", "Tok", ".", "Length", "=", "Str", ".", "size", "(", ")", ";", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "E", ";", "return", "Op", ";", "}", ""], "natrual_language": ["CreateReg", "-", "Allocate", "a", "single", "virtual", "register", "for", "the", "given", "type", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips"], "File": "MipsAsmParser103", "Func": "CreateReg", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3921, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arc_output_function_prologue", "(", "FILE", "*", "file", ",", "HOST_WIDE_INT", "size", ")", "{", "const", "char", "*", "sp_str", "=", "reg_names", "[", "STACK_POINTER_REGNUM", "]", ";", "const", "char", "*", "fp_str", "=", "reg_names", "[", "FRAME_POINTER_REGNUM", "]", ";", "unsigned", "int", "gmask", "=", "current_frame_info", ".", "gmask", ";", "enum", "arc_function_type", "fn_type", "=", "arc_compute_function_type", "(", "current_function_decl", ")", ";", "if", "(", "ARC_INTERRUPT_P", "(", "fn_type", ")", ")", "{", "fprintf", "(", "file", ",", "\"\\t%s interrupt handler\\n\"", ",", "ASM_COMMENT_START", ")", ";", "fprintf", "(", "file", ",", "\"\\tsub %s,%s,16\\n\"", ",", "sp_str", ",", "sp_str", ")", ";", "}", "fprintf", "(", "file", ",", "\"\\t%s BEGIN PROLOGUE %s vars= %d, regs= %d, args= %d, extra= %d\\n\"", ",", "ASM_COMMENT_START", ",", "ASM_COMMENT_START", ",", "current_frame_info", ".", "var_size", ",", "current_frame_info", ".", "reg_size", "/", "4", ",", "current_frame_info", ".", "args_size", ",", "current_frame_info", ".", "extra_size", ")", ";", "size", "=", "ARC_STACK_ALIGN", "(", "size", ")", ";", "size", "=", "(", "!", "current_frame_info", ".", "initialized", "?", "arc_compute_frame_size", "(", "size", ")", ":", "current_frame_info", ".", "total_size", ")", ";", "gcc_assert", "(", "size", "||", "!", "gmask", ")", ";", "if", "(", "current_frame_info", ".", "pretend_size", "!=", "0", ")", "fprintf", "(", "file", ",", "\"\\tsub %s,%s,%d\\n\"", ",", "sp_str", ",", "sp_str", ",", "current_frame_info", ".", "pretend_size", ")", ";", "if", "(", "MUST_SAVE_RETURN_ADDR", ")", "fprintf", "(", "file", ",", "\"\\tst %s,[%s,%d]\\n\"", ",", "reg_names", "[", "RETURN_ADDR_REGNUM", "]", ",", "sp_str", ",", "UNITS_PER_WORD", ")", ";", "if", "(", "frame_pointer_needed", ")", "{", "fprintf", "(", "file", ",", "\"\\tst %s,[%s]\\n\"", ",", "fp_str", ",", "sp_str", ")", ";", "fprintf", "(", "file", ",", "\"\\tmov %s,%s\\n\"", ",", "fp_str", ",", "sp_str", ")", ";", "}", "if", "(", "size", "-", "current_frame_info", ".", "pretend_size", ">", "0", ")", "fprintf", "(", "file", ",", "\"\\tsub %s,%s,\"", "HOST_WIDE_INT_PRINT_DEC", "\"\\n\"", ",", "sp_str", ",", "sp_str", ",", "size", "-", "current_frame_info", ".", "pretend_size", ")", ";", "arc_save_restore", "(", "file", ",", "sp_str", ",", "current_frame_info", ".", "reg_offset", ",", "gmask", "&", "~", "(", "FRAME_POINTER_MASK", "|", "RETURN_ADDR_MASK", ")", ",", "\"st\"", ")", ";", "fprintf", "(", "file", ",", "\"\\t%s END PROLOGUE\\n\"", ",", "ASM_COMMENT_START", ")", ";", "}", ""], "natrual_language": ["Set", "up", "the", "stack", "and", "frame", "pointer", "(", "if", "desired", ")", "for", "the", "function", "."], "TS_V_token": ["arc", "\"\\t%s interrupt handler\\n\"", "\"\\tsub %s,%s,16\\n\"", "\"\\t%s BEGIN PROLOGUE %s vars= %d, regs= %d, args= %d, extra= %d\\n\"", "4", "0", "\"\\tsub %s,%s,%d\\n\"", "\"\\tst %s,[%s,%d]\\n\"", "\"\\tst %s,[%s]\\n\"", "\"\\tmov %s,%s\\n\"", "0", "\"\\tsub %s,%s,\"", "\"\\n\"", "\"st\"", "\"\\t%s END PROLOGUE\\n\""], "File": "arc3", "Func": "arc_output_function_prologue", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3922, "Length": 272, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCDisassembler", "::", "DecodeStatus", "WebAssemblyDisassembler", "::", "getInstruction", "(", "MCInst", "&", "MI", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", ",", "raw_ostream", "&", ",", "raw_ostream", "&", "CS", ")", "const", "{", "CommentStream", "=", "&", "CS", ";", "Size", "=", "0", ";", "auto", "Opc", "=", "nextByte", "(", "Bytes", ",", "Size", ")", ";", "if", "(", "Opc", "<", "0", ")", "return", "MCDisassembler", "::", "Fail", ";", "const", "auto", "*", "WasmInst", "=", "&", "InstructionTable0", "[", "Opc", "]", ";", "if", "(", "WasmInst", "->", "ET", "==", "ET_Prefix", ")", "{", "WasmInst", "=", "nullptr", ";", "for", "(", "auto", "PT", "=", "PrefixTable", ";", "PT", "->", "Table", ";", "PT", "++", ")", "{", "if", "(", "PT", "->", "Prefix", "==", "Opc", ")", "{", "WasmInst", "=", "PT", "->", "Table", ";", "break", ";", "}", "}", "if", "(", "!", "WasmInst", ")", "return", "MCDisassembler", "::", "Fail", ";", "Opc", "=", "nextByte", "(", "Bytes", ",", "Size", ")", ";", "if", "(", "Opc", "<", "0", ")", "return", "MCDisassembler", "::", "Fail", ";", "WasmInst", "+=", "Opc", ";", "}", "if", "(", "WasmInst", "->", "ET", "==", "ET_Unused", ")", "return", "MCDisassembler", "::", "Fail", ";", "assert", "(", "WasmInst", "->", "ET", "==", "ET_Instruction", ")", ";", "MI", ".", "setOpcode", "(", "WasmInst", "->", "Opcode", ")", ";", "for", "(", "uint8_t", "OPI", "=", "0", ";", "OPI", "<", "WasmInst", "->", "NumOperands", ";", "OPI", "++", ")", "{", "switch", "(", "WasmInst", "->", "Operands", "[", "OPI", "]", ")", "{", "case", "WebAssembly", "::", "OPERAND_BASIC_BLOCK", ":", "case", "WebAssembly", "::", "OPERAND_LOCAL", ":", "case", "WebAssembly", "::", "OPERAND_GLOBAL", ":", "case", "WebAssembly", "::", "OPERAND_FUNCTION32", ":", "case", "WebAssembly", "::", "OPERAND_OFFSET32", ":", "case", "WebAssembly", "::", "OPERAND_P2ALIGN", ":", "case", "WebAssembly", "::", "OPERAND_TYPEINDEX", ":", "case", "MCOI", "::", "OPERAND_IMMEDIATE", ":", "{", "if", "(", "!", "parseLEBImmediate", "(", "MI", ",", "Size", ",", "Bytes", ",", "false", ")", ")", "return", "MCDisassembler", "::", "Fail", ";", "break", ";", "}", "case", "WebAssembly", "::", "OPERAND_I32IMM", ":", "case", "WebAssembly", "::", "OPERAND_I64IMM", ":", "case", "WebAssembly", "::", "OPERAND_SIGNATURE", ":", "{", "if", "(", "!", "parseLEBImmediate", "(", "MI", ",", "Size", ",", "Bytes", ",", "true", ")", ")", "return", "MCDisassembler", "::", "Fail", ";", "break", ";", "}", "case", "WebAssembly", "::", "OPERAND_F32IMM", ":", "{", "if", "(", "!", "parseFPImmediate", "<", "float", ">", "(", "MI", ",", "Size", ",", "Bytes", ")", ")", "return", "MCDisassembler", "::", "Fail", ";", "break", ";", "}", "case", "WebAssembly", "::", "OPERAND_F64IMM", ":", "{", "if", "(", "!", "parseFPImmediate", "<", "double", ">", "(", "MI", ",", "Size", ",", "Bytes", ")", ")", "return", "MCDisassembler", "::", "Fail", ";", "break", ";", "}", "case", "MCOI", "::", "OPERAND_REGISTER", ":", "{", "MI", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "0", ")", ")", ";", "break", ";", "}", "default", ":", "llvm_unreachable", "(", "\"Unknown operand type in WebAssemblyDisassembler\"", ")", ";", "}", "}", "return", "MCDisassembler", "::", "Success", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "0", "0", "0", "0", "WebAssembly::OPERAND_BASIC_BLOCK", "WebAssembly::OPERAND_LOCAL", "WebAssembly::OPERAND_GLOBAL", "WebAssembly::OPERAND_FUNCTION32", "WebAssembly::OPERAND_OFFSET32", "WebAssembly::OPERAND_P2ALIGN", "WebAssembly::OPERAND_TYPEINDEX", "WebAssembly::OPERAND_I32IMM", "WebAssembly::OPERAND_I64IMM", "WebAssembly::OPERAND_SIGNATURE", "WebAssembly::OPERAND_F32IMM", "WebAssembly::OPERAND_F64IMM", "0", "\"Unknown operand type in WebAssemblyDisassembler\""], "File": "WebAssemblyDisassembler2", "Func": "getInstruction", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3923, "Length": 408, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "TLCS900TargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "unsigned", "Opc", "=", "MI", "->", "getOpcode", "(", ")", ";", "if", "(", "Opc", "==", "TLCS900", "::", "Shl8", "||", "Opc", "==", "TLCS900", "::", "Shl16", "||", "Opc", "==", "TLCS900", "::", "Sra8", "||", "Opc", "==", "TLCS900", "::", "Sra16", "||", "Opc", "==", "TLCS900", "::", "Srl8", "||", "Opc", "==", "TLCS900", "::", "Srl16", ")", "return", "EmitShiftInstr", "(", "MI", ",", "BB", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "getTargetMachine", "(", ")", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "dl", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "assert", "(", "(", "Opc", "==", "TLCS900", "::", "Select16", "||", "Opc", "==", "TLCS900", "::", "Select8", ")", "&&", "\"Unexpected instr type to insert\"", ")", ";", "const", "BasicBlock", "*", "LLVM_BB", "=", "BB", "->", "getBasicBlock", "(", ")", ";", "MachineFunction", "::", "iterator", "I", "=", "BB", ";", "++", "I", ";", "MachineBasicBlock", "*", "thisMBB", "=", "BB", ";", "MachineFunction", "*", "F", "=", "BB", "->", "getParent", "(", ")", ";", "MachineBasicBlock", "*", "copy0MBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineBasicBlock", "*", "copy1MBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "F", "->", "insert", "(", "I", ",", "copy0MBB", ")", ";", "F", "->", "insert", "(", "I", ",", "copy1MBB", ")", ";", "copy1MBB", "->", "splice", "(", "copy1MBB", "->", "begin", "(", ")", ",", "BB", ",", "llvm", "::", "next", "(", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", ",", "BB", "->", "end", "(", ")", ")", ";", "copy1MBB", "->", "transferSuccessorsAndUpdatePHIs", "(", "BB", ")", ";", "BB", "->", "addSuccessor", "(", "copy0MBB", ")", ";", "BB", "->", "addSuccessor", "(", "copy1MBB", ")", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", ".", "get", "(", "TLCS900", "::", "JCC", ")", ")", ".", "addMBB", "(", "copy1MBB", ")", ".", "addImm", "(", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ")", ";", "BB", "=", "copy0MBB", ";", "BB", "->", "addSuccessor", "(", "copy1MBB", ")", ";", "BB", "=", "copy1MBB", ";", "BuildMI", "(", "*", "BB", ",", "BB", "->", "begin", "(", ")", ",", "dl", ",", "TII", ".", "get", "(", "TLCS900", "::", "PHI", ")", ",", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "copy0MBB", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "thisMBB", ")", ";", "MI", "->", "eraseFromParent", "(", ")", ";", "return", "BB", ";", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "."], "TS_V_token": ["TLCS900", "TLCS900", "TLCS900::Shl8", "TLCS900::Shl16", "TLCS900::Sra8", "TLCS900::Sra16", "TLCS900::Srl8", "TLCS900::Srl16", "TLCS900::Select16", "TLCS900::Select8", "\"Unexpected instr type to insert\"", "TLCS900::JCC", "3", "TLCS900::PHI", "0", "2", "1"], "File": "TLCS900ISelLowering", "Func": "EmitInstrWithCustomInserter", "Target": "TLCS900", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3924, "Length": 374, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "write_fn_proto_1", "(", "std", "::", "stringstream", "&", "s", ",", "bool", "is_defn", ",", "const", "char", "*", "name", ",", "const_tree", "decl", ",", "bool", "force_public", ")", "{", "if", "(", "lookup_attribute", "(", "\"alias\"", ",", "DECL_ATTRIBUTES", "(", "decl", ")", ")", "==", "NULL", ")", "write_fn_marker", "(", "s", ",", "is_defn", ",", "TREE_PUBLIC", "(", "decl", ")", "||", "force_public", ",", "name", ")", ";", "if", "(", "DECL_EXTERNAL", "(", "decl", ")", ")", "s", "<<", "\".extern \"", ";", "else", "if", "(", "TREE_PUBLIC", "(", "decl", ")", "||", "force_public", ")", "s", "<<", "(", "DECL_WEAK", "(", "decl", ")", "?", "\".weak \"", ":", "\".visible \"", ")", ";", "s", "<<", "(", "write_as_kernel", "(", "DECL_ATTRIBUTES", "(", "decl", ")", ")", "?", "\".entry \"", ":", "\".func \"", ")", ";", "tree", "fntype", "=", "TREE_TYPE", "(", "decl", ")", ";", "tree", "result_type", "=", "TREE_TYPE", "(", "fntype", ")", ";", "int", "not_atomic_weak_arg", "=", "-", "1", ";", "if", "(", "DECL_BUILT_IN_CLASS", "(", "decl", ")", "==", "BUILT_IN_NORMAL", ")", "switch", "(", "DECL_FUNCTION_CODE", "(", "decl", ")", ")", "{", "case", "BUILT_IN_ATOMIC_COMPARE_EXCHANGE_1", ":", "case", "BUILT_IN_ATOMIC_COMPARE_EXCHANGE_2", ":", "case", "BUILT_IN_ATOMIC_COMPARE_EXCHANGE_4", ":", "case", "BUILT_IN_ATOMIC_COMPARE_EXCHANGE_8", ":", "case", "BUILT_IN_ATOMIC_COMPARE_EXCHANGE_16", ":", "not_atomic_weak_arg", "=", "3", ";", "break", ";", "default", ":", "break", ";", "}", "bool", "return_in_mem", "=", "write_return_type", "(", "s", ",", "true", ",", "result_type", ")", ";", "s", "<<", "name", ";", "int", "argno", "=", "0", ";", "if", "(", "return_in_mem", ")", "argno", "=", "write_arg_type", "(", "s", ",", "-", "1", ",", "argno", ",", "ptr_type_node", ",", "true", ")", ";", "tree", "args", "=", "TYPE_ARG_TYPES", "(", "fntype", ")", ";", "bool", "prototyped", "=", "true", ";", "if", "(", "!", "args", ")", "{", "args", "=", "DECL_ARGUMENTS", "(", "decl", ")", ";", "prototyped", "=", "false", ";", "}", "for", "(", ";", "args", ";", "args", "=", "TREE_CHAIN", "(", "args", ")", ",", "not_atomic_weak_arg", "--", ")", "{", "tree", "type", "=", "prototyped", "?", "TREE_VALUE", "(", "args", ")", ":", "TREE_TYPE", "(", "args", ")", ";", "if", "(", "not_atomic_weak_arg", ")", "argno", "=", "write_arg_type", "(", "s", ",", "-", "1", ",", "argno", ",", "type", ",", "prototyped", ")", ";", "else", "gcc_assert", "(", "TREE_CODE", "(", "type", ")", "==", "BOOLEAN_TYPE", ")", ";", "}", "if", "(", "stdarg_p", "(", "fntype", ")", ")", "argno", "=", "write_arg_type", "(", "s", ",", "-", "1", ",", "argno", ",", "ptr_type_node", ",", "true", ")", ";", "if", "(", "DECL_STATIC_CHAIN", "(", "decl", ")", ")", "argno", "=", "write_arg_type", "(", "s", ",", "-", "1", ",", "argno", ",", "ptr_type_node", ",", "true", ")", ";", "if", "(", "argno", "<", "2", "&&", "strcmp", "(", "name", ",", "\"main\"", ")", "==", "0", ")", "{", "if", "(", "argno", "==", "0", ")", "argno", "=", "write_arg_type", "(", "s", ",", "-", "1", ",", "argno", ",", "integer_type_node", ",", "true", ")", ";", "if", "(", "argno", "==", "1", ")", "argno", "=", "write_arg_type", "(", "s", ",", "-", "1", ",", "argno", ",", "ptr_type_node", ",", "true", ")", ";", "}", "if", "(", "argno", ")", "s", "<<", "\")\"", ";", "s", "<<", "(", "is_defn", "?", "\"\\n\"", ":", "\";\\n\"", ")", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "write_fn_proto", "."], "TS_V_token": ["nvptx", "\"alias\"", "\".extern \"", "\".weak \"", "\".visible \"", "\".entry \"", "\".func \"", "1", "3", "0", "1", "1", "1", "1", "2", "\"main\"", "0", "0", "1", "1", "1", "\")\"", "\"\\n\"", "\";\\n\""], "File": "nvptx1", "Func": "write_fn_proto_1", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 3925, "Length": 431, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCDarwinAsmPrinter", "::", "doFinalization", "(", "Module", "&", "M", ")", "{", "bool", "isPPC64", "=", "TM", ".", "getDataLayout", "(", ")", "->", "getPointerSizeInBits", "(", ")", "==", "64", ";", "const", "TargetLoweringObjectFileMachO", "&", "TLOFMacho", "=", "static_cast", "<", "const", "TargetLoweringObjectFileMachO", "&", ">", "(", "getObjFileLowering", "(", ")", ")", ";", "MachineModuleInfoMachO", "&", "MMIMacho", "=", "MMI", "->", "getObjFileInfo", "<", "MachineModuleInfoMachO", ">", "(", ")", ";", "MachineModuleInfoMachO", "::", "SymbolListTy", "Stubs", "=", "MMIMacho", ".", "GetFnStubList", "(", ")", ";", "if", "(", "!", "Stubs", ".", "empty", "(", ")", ")", "EmitFunctionStubs", "(", "Stubs", ")", ";", "if", "(", "MAI", "->", "doesSupportExceptionHandling", "(", ")", "&&", "MMI", ")", "{", "const", "std", "::", "vector", "<", "const", "Function", "*", ">", "&", "Personalities", "=", "MMI", "->", "getPersonalities", "(", ")", ";", "for", "(", "std", "::", "vector", "<", "const", "Function", "*", ">", "::", "const_iterator", "I", "=", "Personalities", ".", "begin", "(", ")", ",", "E", "=", "Personalities", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "*", "I", ")", "{", "MCSymbol", "*", "NLPSym", "=", "getSymbolWithGlobalValueBase", "(", "*", "I", ",", "\"$non_lazy_ptr\"", ")", ";", "MachineModuleInfoImpl", "::", "StubValueTy", "&", "StubSym", "=", "MMIMacho", ".", "getGVStubEntry", "(", "NLPSym", ")", ";", "StubSym", "=", "MachineModuleInfoImpl", "::", "StubValueTy", "(", "getSymbol", "(", "*", "I", ")", ",", "true", ")", ";", "}", "}", "}", "Stubs", "=", "MMIMacho", ".", "GetGVStubList", "(", ")", ";", "if", "(", "!", "Stubs", ".", "empty", "(", ")", ")", "{", "OutStreamer", ".", "SwitchSection", "(", "TLOFMacho", ".", "getNonLazySymbolPointerSection", "(", ")", ")", ";", "EmitAlignment", "(", "isPPC64", "?", "3", ":", "2", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "Stubs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "OutStreamer", ".", "EmitLabel", "(", "Stubs", "[", "i", "]", ".", "first", ")", ";", "MachineModuleInfoImpl", "::", "StubValueTy", "&", "MCSym", "=", "Stubs", "[", "i", "]", ".", "second", ";", "OutStreamer", ".", "EmitSymbolAttribute", "(", "MCSym", ".", "getPointer", "(", ")", ",", "MCSA_IndirectSymbol", ")", ";", "if", "(", "MCSym", ".", "getInt", "(", ")", ")", "OutStreamer", ".", "EmitIntValue", "(", "0", ",", "isPPC64", "?", "8", ":", "4", ")", ";", "else", "OutStreamer", ".", "EmitValue", "(", "MCSymbolRefExpr", "::", "Create", "(", "MCSym", ".", "getPointer", "(", ")", ",", "OutContext", ")", ",", "isPPC64", "?", "8", ":", "4", ")", ";", "}", "Stubs", ".", "clear", "(", ")", ";", "OutStreamer", ".", "AddBlankLine", "(", ")", ";", "}", "Stubs", "=", "MMIMacho", ".", "GetHiddenGVStubList", "(", ")", ";", "if", "(", "!", "Stubs", ".", "empty", "(", ")", ")", "{", "OutStreamer", ".", "SwitchSection", "(", "getObjFileLowering", "(", ")", ".", "getDataSection", "(", ")", ")", ";", "EmitAlignment", "(", "isPPC64", "?", "3", ":", "2", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "Stubs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "OutStreamer", ".", "EmitLabel", "(", "Stubs", "[", "i", "]", ".", "first", ")", ";", "OutStreamer", ".", "EmitValue", "(", "MCSymbolRefExpr", "::", "Create", "(", "Stubs", "[", "i", "]", ".", "second", ".", "getPointer", "(", ")", ",", "OutContext", ")", ",", "isPPC64", "?", "8", ":", "4", ")", ";", "}", "Stubs", ".", "clear", "(", ")", ";", "OutStreamer", ".", "AddBlankLine", "(", ")", ";", "}", "OutStreamer", ".", "EmitAssemblerFlag", "(", "MCAF_SubsectionsViaSymbols", ")", ";", "return", "AsmPrinter", "::", "doFinalization", "(", "M", ")", ";", "}", ""], "natrual_language": ["doFinalization", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "any", "necessary", "clean", "up", "after", "all", "passes", "have", "run", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "64", "\"$non_lazy_ptr\"", "PPC", "3", "2", "0", "0", "PPC", "8", "4", "PPC", "8", "4", "PPC", "3", "2", "0", "PPC", "8", "4"], "File": "PPCAsmPrinter2", "Func": "doFinalization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3926, "Length": 487, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64Operand", "::", "print", "(", "raw_ostream", "&", "OS", ")", "const", "{", "switch", "(", "Kind", ")", "{", "case", "k_FPImm", ":", "OS", "<<", "\"\"", ";", "break", ";", "case", "k_Barrier", ":", "{", "StringRef", "Name", "=", "getBarrierName", "(", ")", ";", "if", "(", "!", "Name", ".", "empty", "(", ")", ")", "OS", "<<", "\"\"", ";", "else", "OS", "<<", "\"\"", ";", "break", ";", "}", "case", "k_Immediate", ":", "OS", "<<", "*", "getImm", "(", ")", ";", "break", ";", "case", "k_ShiftedImm", ":", "{", "unsigned", "Shift", "=", "getShiftedImmShift", "(", ")", ";", "OS", "<<", "\"\"", ";", "break", ";", "}", "case", "k_CondCode", ":", "OS", "<<", "\"\"", ";", "break", ";", "case", "k_Register", ":", "OS", "<<", "\"\"", ";", "break", ";", "case", "k_VectorList", ":", "{", "OS", "<<", "\"\"", ";", "break", ";", "}", "case", "k_VectorIndex", ":", "OS", "<<", "\"\"", ";", "break", ";", "case", "k_SysReg", ":", "OS", "<<", "\"'", ";", "break", ";", "case", "k_Token", ":", "OS", "<<", "\"'\"", "<<", "getToken", "(", ")", "<<", "\"'\"", ";", "break", ";", "case", "k_SysCR", ":", "OS", "<<", "\"c\"", "<<", "getSysCR", "(", ")", ";", "break", ";", "case", "k_Prefetch", ":", "{", "StringRef", "Name", "=", "getPrefetchName", "(", ")", ";", "if", "(", "!", "Name", ".", "empty", "(", ")", ")", "OS", "<<", "\"\"", ";", "else", "OS", "<<", "\"\"", ";", "break", ";", "}", "case", "k_ShiftExtend", ":", "{", "OS", "<<", "\"<\"", "<<", "AArch64_AM", "::", "getShiftExtendName", "(", "getShiftExtendType", "(", ")", ")", "<<", "\" #\"", "<<", "getShiftExtendAmount", "(", ")", ";", "if", "(", "!", "hasShiftExtendAmount", "(", ")", ")", "OS", "<<", "\"\"", ";", "OS", "<<", "'>'", ";", "break", ";", "}", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["AArch64", "AArch64", "\"\"", "\"\"", "\"\"", "\"\"", "\"\"", "\"\"", "\"\"", "\"\"", "\"\"", "\"\"", "\"<\"", "AArch64_AM::getShiftExtendName", "\" #\"", "\"\""], "File": "AArch64AsmParser", "Func": "print", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3927, "Length": 357, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "SystemZTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'d'", ":", "case", "'r'", ":", "if", "(", "VT", "==", "MVT", "::", "i64", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "SystemZ", "::", "GR64BitRegClass", ")", ";", "else", "if", "(", "VT", "==", "MVT", "::", "i128", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "SystemZ", "::", "GR128BitRegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "SystemZ", "::", "GR32BitRegClass", ")", ";", "case", "'a'", ":", "if", "(", "VT", "==", "MVT", "::", "i64", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "SystemZ", "::", "ADDR64BitRegClass", ")", ";", "else", "if", "(", "VT", "==", "MVT", "::", "i128", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "SystemZ", "::", "ADDR128BitRegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "SystemZ", "::", "ADDR32BitRegClass", ")", ";", "case", "'f'", ":", "if", "(", "VT", "==", "MVT", "::", "f64", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "SystemZ", "::", "FP64BitRegClass", ")", ";", "else", "if", "(", "VT", "==", "MVT", "::", "f128", ")", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "SystemZ", "::", "FP128BitRegClass", ")", ";", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "SystemZ", "::", "FP32BitRegClass", ")", ";", "}", "}", "if", "(", "Constraint", "[", "0", "]", "==", "'{'", ")", "{", "if", "(", "Constraint", "[", "1", "]", "==", "'r'", ")", "{", "if", "(", "VT", "==", "MVT", "::", "i32", ")", "return", "parseRegisterNumber", "(", "Constraint", ",", "&", "SystemZ", "::", "GR32BitRegClass", ",", "SystemZMC", "::", "GR32Regs", ")", ";", "if", "(", "VT", "==", "MVT", "::", "i128", ")", "return", "parseRegisterNumber", "(", "Constraint", ",", "&", "SystemZ", "::", "GR128BitRegClass", ",", "SystemZMC", "::", "GR128Regs", ")", ";", "return", "parseRegisterNumber", "(", "Constraint", ",", "&", "SystemZ", "::", "GR64BitRegClass", ",", "SystemZMC", "::", "GR64Regs", ")", ";", "}", "if", "(", "Constraint", "[", "1", "]", "==", "'f'", ")", "{", "if", "(", "VT", "==", "MVT", "::", "f32", ")", "return", "parseRegisterNumber", "(", "Constraint", ",", "&", "SystemZ", "::", "FP32BitRegClass", ",", "SystemZMC", "::", "FP32Regs", ")", ";", "if", "(", "VT", "==", "MVT", "::", "f128", ")", "return", "parseRegisterNumber", "(", "Constraint", ",", "&", "SystemZ", "::", "FP128BitRegClass", ",", "SystemZMC", "::", "FP128Regs", ")", ";", "return", "parseRegisterNumber", "(", "Constraint", ",", "&", "SystemZ", "::", "FP64BitRegClass", ",", "SystemZMC", "::", "FP64Regs", ")", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["SystemZ", "SystemZ", "1", "0", "MVT::i64", "0U", "SystemZ::GR64BitRegClass", "MVT::i128", "0U", "SystemZ::GR128BitRegClass", "0U", "SystemZ::GR32BitRegClass", "MVT::i64", "0U", "SystemZ::ADDR64BitRegClass", "MVT::i128", "0U", "SystemZ::ADDR128BitRegClass", "0U", "SystemZ::ADDR32BitRegClass", "MVT::f64", "0U", "SystemZ::FP64BitRegClass", "MVT::f128", "0U", "SystemZ::FP128BitRegClass", "0U", "SystemZ::FP32BitRegClass", "0", "1", "MVT::i32", "SystemZ::GR32BitRegClass", "SystemZMC::GR32Regs", "MVT::i128", "SystemZ::GR128BitRegClass", "SystemZMC::GR128Regs", "SystemZ::GR64BitRegClass", "SystemZMC::GR64Regs", "1", "MVT::f32", "SystemZ::FP32BitRegClass", "SystemZMC::FP32Regs", "MVT::f128", "SystemZ::FP128BitRegClass", "SystemZMC::FP128Regs", "SystemZ::FP64BitRegClass", "SystemZMC::FP64Regs"], "File": "SystemZISelLowering (2)", "Func": "getRegForInlineAsmConstraint", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3928, "Length": 397, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "lowerOperand", "(", "const", "MachineOperand", "&", "MO", ",", "MCOperand", "&", "MCOp", ")", "const", "{", "return", "LowerRV16KMachineOperandToMCOperand", "(", "MO", ",", "MCOp", ",", "*", "this", ")", ";", "}", ""], "natrual_language": ["Wrapper", "for", "MCInstLowering.lowerOperand", "(", ")", "for", "the", "tblgen'erated", "pseudo", "lowering", "."], "TS_V_token": ["RV16K", "RV16K"], "File": "RV16KAsmPrinter", "Func": "lowerOperand", "Target": "RV16K", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3929, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Emitter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "MCE", ".", "setModuleInfo", "(", "&", "getAnalysis", "<", "MachineModuleInfo", ">", "(", ")", ")", ";", "II", "=", "TM", ".", "getInstrInfo", "(", ")", ";", "TD", "=", "TM", ".", "getTargetData", "(", ")", ";", "Is64BitMode", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", ";", "IsPIC", "=", "TM", ".", "getRelocationModel", "(", ")", "==", "Reloc", "::", "PIC_", ";", "do", "{", "DOUT", "<<", "\"JITTing function '\"", "<<", "MF", ".", "getFunction", "(", ")", "->", "getName", "(", ")", "<<", "\"'\\n\"", ";", "MCE", ".", "startFunction", "(", "MF", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "MBB", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "MBB", "!=", "E", ";", "++", "MBB", ")", "{", "MCE", ".", "StartMachineBasicBlock", "(", "MBB", ")", ";", "for", "(", "MachineBasicBlock", "::", "const_iterator", "I", "=", "MBB", "->", "begin", "(", ")", ",", "E", "=", "MBB", "->", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "const", "TargetInstrDesc", "&", "Desc", "=", "I", "->", "getDesc", "(", ")", ";", "emitInstruction", "(", "*", "I", ",", "&", "Desc", ")", ";", "if", "(", "Desc", ".", "getOpcode", "(", ")", "==", "X86", "::", "MOVPC32r", ")", "emitInstruction", "(", "*", "I", ",", "&", "II", "->", "get", "(", "X86", "::", "POP32r", ")", ")", ";", "NumEmitted", "++", ";", "}", "}", "}", "while", "(", "MCE", ".", "finishFunction", "(", "MF", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["X86", "X86", "\"JITTing function '\"", "\"'\\n\"", "X86::MOVPC32r", "X86::POP32r"], "File": "X86CodeEmitter22", "Func": "runOnMachineFunction", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3930, "Length": 224, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emit_insn_group_barriers", "(", "FILE", "*", "dump", ")", "{", "rtx_insn", "*", "insn", ";", "rtx_insn", "*", "last_label", "=", "0", ";", "int", "insns_since_last_label", "=", "0", ";", "init_insn_group_barriers", "(", ")", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "if", "(", "LABEL_P", "(", "insn", ")", ")", "{", "if", "(", "insns_since_last_label", ")", "last_label", "=", "insn", ";", "insns_since_last_label", "=", "0", ";", "}", "else", "if", "(", "NOTE_P", "(", "insn", ")", "&&", "NOTE_KIND", "(", "insn", ")", "==", "NOTE_INSN_BASIC_BLOCK", ")", "{", "if", "(", "insns_since_last_label", ")", "last_label", "=", "insn", ";", "insns_since_last_label", "=", "0", ";", "}", "else", "if", "(", "NONJUMP_INSN_P", "(", "insn", ")", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "UNSPEC_VOLATILE", "&&", "XINT", "(", "PATTERN", "(", "insn", ")", ",", "1", ")", "==", "UNSPECV_INSN_GROUP_BARRIER", ")", "{", "init_insn_group_barriers", "(", ")", ";", "last_label", "=", "0", ";", "}", "else", "if", "(", "NONDEBUG_INSN_P", "(", "insn", ")", ")", "{", "insns_since_last_label", "=", "1", ";", "if", "(", "group_barrier_needed", "(", "insn", ")", ")", "{", "if", "(", "last_label", ")", "{", "if", "(", "dump", ")", "fprintf", "(", "dump", ",", "\"Emitting stop before label %d\\n\"", ",", "INSN_UID", "(", "last_label", ")", ")", ";", "emit_insn_before", "(", "gen_insn_group_barrier", "(", "GEN_INT", "(", "3", ")", ")", ",", "last_label", ")", ";", "insn", "=", "last_label", ";", "init_insn_group_barriers", "(", ")", ";", "last_label", "=", "0", ";", "}", "}", "}", "}", "}", ""], "natrual_language": ["INSNS", "is", "an", "chain", "of", "instructions", ".", "Scan", "the", "chain", ",", "and", "insert", "stop", "bits", "as", "necessary", "to", "eliminate", "dependendencies", ".", "This", "function", "assumes", "that", "a", "final", "instruction", "scheduling", "pass", "has", "been", "run", "which", "has", "already", "inserted", "most", "of", "the", "necessary", "stop", "bits", ".", "This", "function", "only", "inserts", "new", "ones", "at", "basic", "block", "boundaries", ",", "since", "these", "are", "invisible", "to", "the", "scheduler", "."], "TS_V_token": ["ia64", "0", "0", "0", "0", "1", "0", "1", "\"Emitting stop before label %d\\n\"", "3", "0"], "File": "ia64", "Func": "emit_insn_group_barriers", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3931, "Length": 208, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "assignValueToReg", "(", "unsigned", "ValVReg", ",", "unsigned", "PhysReg", ",", "CCValAssign", "&", "VA", ")", "override", "{", "markPhysRegUsed", "(", "PhysReg", ")", ";", "MIRBuilder", ".", "buildCopy", "(", "ValVReg", ",", "PhysReg", ")", ";", "}", ""], "natrual_language": ["The", "specified", "value", "has", "been", "assigned", "to", "a", "physical", "register", ",", "handle", "the", "appropriate", "COPY", "(", "either", "to", "or", "from", ")", "and", "mark", "any", "relevant", "uses/defines", "as", "needed", "."], "TS_V_token": ["AArch64"], "File": "AArch64CallLowering18", "Func": "assignValueToReg", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3932, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "ix86_output_call_insn", "(", "rtx_insn", "*", "insn", ",", "rtx", "call_op", ")", "{", "bool", "direct_p", "=", "constant_call_address_operand", "(", "call_op", ",", "VOIDmode", ")", ";", "bool", "output_indirect_p", "=", "(", "!", "TARGET_SEH", "&&", "cfun", "->", "machine", "->", "indirect_branch_type", "!=", "indirect_branch_keep", ")", ";", "bool", "seh_nop_p", "=", "false", ";", "const", "char", "*", "xasm", ";", "if", "(", "SIBLING_CALL_P", "(", "insn", ")", ")", "{", "output_return_instrumentation", "(", ")", ";", "if", "(", "direct_p", ")", "{", "if", "(", "ix86_nopic_noplt_attribute_p", "(", "call_op", ")", ")", "{", "direct_p", "=", "false", ";", "if", "(", "TARGET_64BIT", ")", "{", "if", "(", "output_indirect_p", ")", "xasm", "=", "\"{%p0@GOTPCREL(%%rip)|[QWORD PTR %p0@GOTPCREL[rip]]}\"", ";", "else", "xasm", "=", "\"%!jmp\\t{*%p0@GOTPCREL(%%rip)|[QWORD PTR %p0@GOTPCREL[rip]]}\"", ";", "}", "else", "{", "if", "(", "output_indirect_p", ")", "xasm", "=", "\"{%p0@GOT|[DWORD PTR %p0@GOT]}\"", ";", "else", "xasm", "=", "\"%!jmp\\t{*%p0@GOT|[DWORD PTR %p0@GOT]}\"", ";", "}", "}", "else", "xasm", "=", "\"%!jmp\\t%P0\"", ";", "}", "else", "if", "(", "TARGET_SEH", ")", "xasm", "=", "\"%!rex.W jmp\\t%A0\"", ";", "else", "{", "if", "(", "output_indirect_p", ")", "xasm", "=", "\"%0\"", ";", "else", "xasm", "=", "\"%!jmp\\t%A0\"", ";", "}", "if", "(", "output_indirect_p", "&&", "!", "direct_p", ")", "ix86_output_indirect_branch", "(", "call_op", ",", "xasm", ",", "true", ")", ";", "else", "{", "output_asm_insn", "(", "xasm", ",", "&", "call_op", ")", ";", "if", "(", "!", "direct_p", "&&", "(", "ix86_harden_sls", "&", "harden_sls_indirect_jmp", ")", ")", "return", "\"int3\"", ";", "}", "return", "\"\"", ";", "}", "if", "(", "TARGET_SEH", ")", "{", "rtx_insn", "*", "i", ";", "for", "(", "i", "=", "NEXT_INSN", "(", "insn", ")", ";", "i", ";", "i", "=", "NEXT_INSN", "(", "i", ")", ")", "{", "if", "(", "JUMP_P", "(", "i", ")", "&&", "CROSSING_JUMP_P", "(", "i", ")", ")", "{", "seh_nop_p", "=", "true", ";", "break", ";", "}", "if", "(", "INSN_P", "(", "i", ")", ")", "break", ";", "if", "(", "NOTE_P", "(", "i", ")", "&&", "NOTE_KIND", "(", "i", ")", "==", "NOTE_INSN_EPILOGUE_BEG", "&&", "!", "flag_non_call_exceptions", "&&", "!", "can_throw_internal", "(", "insn", ")", ")", "{", "seh_nop_p", "=", "true", ";", "break", ";", "}", "}", "if", "(", "i", "==", "NULL", ")", "seh_nop_p", "=", "true", ";", "}", "if", "(", "direct_p", ")", "{", "if", "(", "ix86_nopic_noplt_attribute_p", "(", "call_op", ")", ")", "{", "direct_p", "=", "false", ";", "if", "(", "TARGET_64BIT", ")", "{", "if", "(", "output_indirect_p", ")", "xasm", "=", "\"{%p0@GOTPCREL(%%rip)|[QWORD PTR %p0@GOTPCREL[rip]]}\"", ";", "else", "xasm", "=", "\"%!call\\t{*%p0@GOTPCREL(%%rip)|[QWORD PTR %p0@GOTPCREL[rip]]}\"", ";", "}", "else", "{", "if", "(", "output_indirect_p", ")", "xasm", "=", "\"{%p0@GOT|[DWORD PTR %p0@GOT]}\"", ";", "else", "xasm", "=", "\"%!call\\t{*%p0@GOT|[DWORD PTR %p0@GOT]}\"", ";", "}", "}", "else", "xasm", "=", "\"%!call\\t%P0\"", ";", "}", "else", "{", "if", "(", "output_indirect_p", ")", "xasm", "=", "\"%0\"", ";", "else", "xasm", "=", "\"%!call\\t%A0\"", ";", "}", "if", "(", "output_indirect_p", "&&", "!", "direct_p", ")", "ix86_output_indirect_branch", "(", "call_op", ",", "xasm", ",", "false", ")", ";", "else", "output_asm_insn", "(", "xasm", ",", "&", "call_op", ")", ";", "if", "(", "seh_nop_p", ")", "return", "\"nop\"", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Output", "the", "assembly", "for", "a", "call", "instruction", "."], "TS_V_token": ["i386", "\"{%p0@GOTPCREL(%%rip)|[QWORD PTR %p0@GOTPCREL[rip]]}\"", "\"%!jmp\\t{*%p0@GOTPCREL(%%rip)|[QWORD PTR %p0@GOTPCREL[rip]]}\"", "\"{%p0@GOT|[DWORD PTR %p0@GOT]}\"", "\"%!jmp\\t{*%p0@GOT|[DWORD PTR %p0@GOT]}\"", "\"%!jmp\\t%P0\"", "\"%!rex.W jmp\\t%A0\"", "\"%0\"", "\"%!jmp\\t%A0\"", "\"int3\"", "\"\"", "\"{%p0@GOTPCREL(%%rip)|[QWORD PTR %p0@GOTPCREL[rip]]}\"", "\"%!call\\t{*%p0@GOTPCREL(%%rip)|[QWORD PTR %p0@GOTPCREL[rip]]}\"", "\"{%p0@GOT|[DWORD PTR %p0@GOT]}\"", "\"%!call\\t{*%p0@GOT|[DWORD PTR %p0@GOT]}\"", "\"%!call\\t%P0\"", "\"%0\"", "\"%!call\\t%A0\"", "\"nop\"", "\"\""], "File": "i386", "Func": "ix86_output_call_insn", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3933, "Length": 401, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isImm", "(", ")", "const", "override", "{", "return", "Kind", "==", "OpKind", "::", "Imm", ";", "}", ""], "natrual_language": ["isImm", "-", "Is", "this", "an", "immediate", "operand", "?"], "TS_V_token": ["TPC"], "File": "TPCAsmParser", "Func": "isImm", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3934, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "avr_float_lib_compare_returns_bool", "(", "machine_mode", "mode", ",", "enum", "rtx_code", ")", "{", "if", "(", "mode", "==", "DFmode", ")", "{", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "`", "FLOAT_LIB_COMPARE_RETURNS_BOOL", "'", "."], "TS_V_token": ["avr"], "File": "avr", "Func": "avr_float_lib_compare_returns_bool", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3935, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "xstormy16_print_operand_address", "(", "FILE", "*", "file", ",", "rtx", "address", ")", "{", "HOST_WIDE_INT", "offset", ";", "int", "pre_dec", ",", "post_inc", ";", "if", "(", "CONST_INT_P", "(", "address", ")", ")", "{", "fprintf", "(", "file", ",", "HOST_WIDE_INT_PRINT_DEC", ",", "INTVAL", "(", "address", ")", "&", "0xFFFF", ")", ";", "return", ";", "}", "if", "(", "CONSTANT_P", "(", "address", ")", "||", "LABEL_P", "(", "address", ")", ")", "{", "output_addr_const", "(", "file", ",", "address", ")", ";", "return", ";", "}", "if", "(", "GET_CODE", "(", "address", ")", "==", "PLUS", ")", "{", "gcc_assert", "(", "CONST_INT_P", "(", "XEXP", "(", "address", ",", "1", ")", ")", ")", ";", "offset", "=", "INTVAL", "(", "XEXP", "(", "address", ",", "1", ")", ")", ";", "address", "=", "XEXP", "(", "address", ",", "0", ")", ";", "}", "else", "offset", "=", "0", ";", "pre_dec", "=", "(", "GET_CODE", "(", "address", ")", "==", "PRE_DEC", ")", ";", "post_inc", "=", "(", "GET_CODE", "(", "address", ")", "==", "POST_INC", ")", ";", "if", "(", "pre_dec", "||", "post_inc", ")", "address", "=", "XEXP", "(", "address", ",", "0", ")", ";", "gcc_assert", "(", "REG_P", "(", "address", ")", ")", ";", "fputc", "(", "'('", ",", "file", ")", ";", "if", "(", "pre_dec", ")", "fputs", "(", "\"--\"", ",", "file", ")", ";", "fputs", "(", "reg_names", "[", "REGNO", "(", "address", ")", "]", ",", "file", ")", ";", "if", "(", "post_inc", ")", "fputs", "(", "\"++\"", ",", "file", ")", ";", "if", "(", "offset", "!=", "0", ")", "fprintf", "(", "file", ",", "\",\"", "HOST_WIDE_INT_PRINT_DEC", ",", "offset", ")", ";", "fputc", "(", "')'", ",", "file", ")", ";", "}", ""], "natrual_language": ["Print", "a", "memory", "address", "as", "an", "operand", "to", "reference", "that", "memory", "location", "."], "TS_V_token": ["stormy16", "0xFFFF", "1", "1", "0", "0", "0", "\"--\"", "\"++\"", "0", "\",\""], "File": "stormy164", "Func": "xstormy16_print_operand_address", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3936, "Length": 229, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCInst", "Thumb2InstrInfo", "::", "getNop", "(", ")", "const", "{", "return", "MCInstBuilder", "(", "ARM", "::", "tHINT", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "ARMCC", "::", "AL", ")", ".", "addReg", "(", "0", ")", ";", "}", ""], "natrual_language": ["Return", "the", "noop", "instruction", "to", "use", "for", "a", "noop", "."], "TS_V_token": ["ARM", "ARM::tHINT", "0", "ARMCC::AL", "0"], "File": "Thumb2InstrInfo", "Func": "getNop", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3937, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AMDGPUMCInstLower", "::", "lower", "(", "const", "MachineInstr", "*", "MI", ",", "MCInst", "&", "OutMI", ")", "const", "{", "unsigned", "Opcode", "=", "MI", "->", "getOpcode", "(", ")", ";", "const", "auto", "*", "TII", "=", "static_cast", "<", "const", "SIInstrInfo", "*", ">", "(", "ST", ".", "getInstrInfo", "(", ")", ")", ";", "if", "(", "Opcode", "==", "AMDGPU", "::", "S_SETPC_B64_return", "||", "Opcode", "==", "AMDGPU", "::", "S_SETPC_B64_return_gfx", ")", "Opcode", "=", "AMDGPU", "::", "S_SETPC_B64", ";", "else", "if", "(", "Opcode", "==", "AMDGPU", "::", "SI_CALL", ")", "{", "OutMI", ".", "setOpcode", "(", "TII", "->", "pseudoToMCOpcode", "(", "AMDGPU", "::", "S_SWAPPC_B64", ")", ")", ";", "MCOperand", "Dest", ",", "Src", ";", "lowerOperand", "(", "MI", "->", "getOperand", "(", "0", ")", ",", "Dest", ")", ";", "lowerOperand", "(", "MI", "->", "getOperand", "(", "1", ")", ",", "Src", ")", ";", "OutMI", ".", "addOperand", "(", "Dest", ")", ";", "OutMI", ".", "addOperand", "(", "Src", ")", ";", "return", ";", "}", "else", "if", "(", "Opcode", "==", "AMDGPU", "::", "SI_TCRETURN", ")", "{", "Opcode", "=", "AMDGPU", "::", "S_SETPC_B64", ";", "}", "int", "MCOpcode", "=", "TII", "->", "pseudoToMCOpcode", "(", "Opcode", ")", ";", "if", "(", "MCOpcode", "==", "-", "1", ")", "{", "LLVMContext", "&", "C", "=", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getFunction", "(", ")", ".", "getContext", "(", ")", ";", "C", ".", "emitError", "(", "\"AMDGPUMCInstLower::lower - Pseudo instruction doesn't have \"", "\"a target-specific version: \"", "+", "Twine", "(", "MI", "->", "getOpcode", "(", ")", ")", ")", ";", "}", "OutMI", ".", "setOpcode", "(", "MCOpcode", ")", ";", "for", "(", "const", "MachineOperand", "&", "MO", ":", "MI", "->", "explicit_operands", "(", ")", ")", "{", "MCOperand", "MCOp", ";", "lowerOperand", "(", "MO", ",", "MCOp", ")", ";", "OutMI", ".", "addOperand", "(", "MCOp", ")", ";", "}", "int", "FIIdx", "=", "AMDGPU", "::", "getNamedOperandIdx", "(", "MCOpcode", ",", "AMDGPU", "::", "OpName", "::", "fi", ")", ";", "if", "(", "FIIdx", ">=", "(", "int", ")", "OutMI", ".", "getNumOperands", "(", ")", ")", "OutMI", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "0", ")", ")", ";", "}", ""], "natrual_language": ["The", "instruction", "is", "lowered", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "SI", "AMDGPU::S_SETPC_B64_return", "AMDGPU::S_SETPC_B64_return_gfx", "AMDGPU::S_SETPC_B64", "AMDGPU::SI_CALL", "AMDGPU::S_SWAPPC_B64", "0", "1", "AMDGPU::SI_TCRETURN", "AMDGPU::S_SETPC_B64", "1", "\"AMDGPUMCInstLower::lower - Pseudo instruction doesn't have \"", "\"a target-specific version: \"", "AMDGPU::getNamedOperandIdx", "AMDGPU::OpName", "0"], "File": "AMDGPUMCInstLower41", "Func": "lower", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3938, "Length": 290, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "section_for_decl", "(", "const_tree", "decl", ")", "{", "return", "section_for_sym", "(", "XEXP", "(", "DECL_RTL", "(", "CONST_CAST", "(", "tree", ",", "decl", ")", ")", ",", "0", ")", ")", ";", "}", ""], "natrual_language": ["Similarly", "for", "a", "decl", "."], "TS_V_token": ["nvptx", "0"], "File": "nvptx", "Func": "section_for_decl", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 3939, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AMDGPUTargetLowering", "::", "WidenOrSplitVectorLoad", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "LoadSDNode", "*", "Load", "=", "cast", "<", "LoadSDNode", ">", "(", "Op", ")", ";", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "SDValue", "BasePtr", "=", "Load", "->", "getBasePtr", "(", ")", ";", "EVT", "MemVT", "=", "Load", "->", "getMemoryVT", "(", ")", ";", "SDLoc", "SL", "(", "Op", ")", ";", "const", "MachinePointerInfo", "&", "SrcValue", "=", "Load", "->", "getMemOperand", "(", ")", "->", "getPointerInfo", "(", ")", ";", "unsigned", "BaseAlign", "=", "Load", "->", "getAlignment", "(", ")", ";", "unsigned", "NumElements", "=", "MemVT", ".", "getVectorNumElements", "(", ")", ";", "if", "(", "NumElements", "!=", "3", "||", "(", "BaseAlign", "<", "8", "&&", "!", "SrcValue", ".", "isDereferenceable", "(", "16", ",", "*", "DAG", ".", "getContext", "(", ")", ",", "DAG", ".", "getDataLayout", "(", ")", ")", ")", ")", "return", "SplitVectorLoad", "(", "Op", ",", "DAG", ")", ";", "assert", "(", "NumElements", "==", "3", ")", ";", "EVT", "WideVT", "=", "EVT", "::", "getVectorVT", "(", "*", "DAG", ".", "getContext", "(", ")", ",", "VT", ".", "getVectorElementType", "(", ")", ",", "4", ")", ";", "EVT", "WideMemVT", "=", "EVT", "::", "getVectorVT", "(", "*", "DAG", ".", "getContext", "(", ")", ",", "MemVT", ".", "getVectorElementType", "(", ")", ",", "4", ")", ";", "SDValue", "WideLoad", "=", "DAG", ".", "getExtLoad", "(", "Load", "->", "getExtensionType", "(", ")", ",", "SL", ",", "WideVT", ",", "Load", "->", "getChain", "(", ")", ",", "BasePtr", ",", "SrcValue", ",", "WideMemVT", ",", "BaseAlign", ",", "Load", "->", "getMemOperand", "(", ")", "->", "getFlags", "(", ")", ")", ";", "return", "DAG", ".", "getMergeValues", "(", "{", "DAG", ".", "getNode", "(", "ISD", "::", "EXTRACT_SUBVECTOR", ",", "SL", ",", "VT", ",", "WideLoad", ",", "DAG", ".", "getVectorIdxConstant", "(", "0", ",", "SL", ")", ")", ",", "WideLoad", ".", "getValue", "(", "1", ")", "}", ",", "SL", ")", ";", "}", ""], "natrual_language": ["Widen", "a", "suitably", "aligned", "v3", "load", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "3", "8", "16", "3", "4", "4", "ISD::EXTRACT_SUBVECTOR", "0", "1"], "File": "AMDGPUISelLowering (2)1", "Func": "WidenOrSplitVectorLoad", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3940, "Length": 270, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "virt_or_elim_regno_p", "(", "unsigned", "regno", ")", "{", "return", "(", "(", "regno", ">=", "FIRST_VIRTUAL_REGISTER", "&&", "regno", "<=", "LAST_VIRTUAL_POINTER_REGISTER", ")", "||", "regno", "==", "FRAME_POINTER_REGNUM", "||", "regno", "==", "ARG_POINTER_REGNUM", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "REGNO", "is", "a", "virtual", "pointer", "register", ",", "or", "an", "eliminable", "``", "soft", "''", "frame", "register", ".", "Like", "REGNO_PTR_FRAME_P", "except", "that", "we", "do", "n't", "include", "stack_pointer", "or", "hard_frame_pointer", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "virt_or_elim_regno_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3941, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleDAGInstrs", "*", "createMachineScheduler", "(", "MachineSchedContext", "*", "C", ")", "const", "override", "{", "const", "AArch64Subtarget", "&", "ST", "=", "C", "->", "MF", "->", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ";", "ScheduleDAGMILive", "*", "DAG", "=", "createGenericSchedLive", "(", "C", ")", ";", "DAG", "->", "addMutation", "(", "createLoadClusterDAGMutation", "(", "DAG", "->", "TII", ",", "DAG", "->", "TRI", ")", ")", ";", "DAG", "->", "addMutation", "(", "createStoreClusterDAGMutation", "(", "DAG", "->", "TII", ",", "DAG", "->", "TRI", ")", ")", ";", "if", "(", "ST", ".", "hasFusion", "(", ")", ")", "DAG", "->", "addMutation", "(", "createAArch64MacroFusionDAGMutation", "(", ")", ")", ";", "return", "DAG", ";", "}", ""], "natrual_language": ["Create", "an", "instance", "of", "ScheduleDAGInstrs", "to", "be", "run", "within", "the", "standard", "MachineScheduler", "pass", "for", "this", "function", "and", "target", "at", "the", "current", "optimization", "level", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine (2)3", "Func": "createMachineScheduler", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3942, "Length": 89, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_rtx_arith_op_extract_p", "(", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "SIGN_EXTEND", "||", "GET_CODE", "(", "x", ")", "==", "ZERO_EXTEND", ")", "return", "REG_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "zero", "or", "sign", "extract", "usable", "in", "an", "ADD", "or", "SUB", "(", "extended", "register", ")", "instruction", "."], "TS_V_token": ["aarch64", "0"], "File": "aarch641", "Func": "aarch64_rtx_arith_op_extract_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3943, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_rewrite_small_data_p", "(", "rtx", "x", ",", "enum", "mips_symbol_context", "context", ")", "{", "enum", "mips_symbol_type", "symbol_type", ";", "return", "(", "mips_lo_relocs", "[", "SYMBOL_GP_RELATIVE", "]", "&&", "!", "mips_split_p", "[", "SYMBOL_GP_RELATIVE", "]", "&&", "mips_symbolic_constant_p", "(", "x", ",", "context", ",", "&", "symbol_type", ")", "&&", "symbol_type", "==", "SYMBOL_GP_RELATIVE", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "small", "data", "address", "that", "can", "be", "rewritten", "as", "a", "LO_SUM", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_rewrite_small_data_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3944, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "s390_handle_vectorbool_attribute", "(", "tree", "*", "node", ",", "tree", "name", "ATTRIBUTE_UNUSED", ",", "tree", "args", "ATTRIBUTE_UNUSED", ",", "int", "flags", "ATTRIBUTE_UNUSED", ",", "bool", "*", "no_add_attrs", ")", "{", "tree", "type", "=", "*", "node", ",", "result", "=", "NULL_TREE", ";", "machine_mode", "mode", ";", "while", "(", "POINTER_TYPE_P", "(", "type", ")", "||", "TREE_CODE", "(", "type", ")", "==", "FUNCTION_TYPE", "||", "TREE_CODE", "(", "type", ")", "==", "METHOD_TYPE", "||", "TREE_CODE", "(", "type", ")", "==", "ARRAY_TYPE", ")", "type", "=", "TREE_TYPE", "(", "type", ")", ";", "mode", "=", "TYPE_MODE", "(", "type", ")", ";", "switch", "(", "mode", ")", "{", "case", "DImode", ":", "case", "V2DImode", ":", "result", "=", "s390_builtin_types", "[", "BT_BV2DI", "]", ";", "break", ";", "case", "SImode", ":", "case", "V4SImode", ":", "result", "=", "s390_builtin_types", "[", "BT_BV4SI", "]", ";", "break", ";", "case", "HImode", ":", "case", "V8HImode", ":", "result", "=", "s390_builtin_types", "[", "BT_BV8HI", "]", ";", "break", ";", "case", "QImode", ":", "case", "V16QImode", ":", "result", "=", "s390_builtin_types", "[", "BT_BV16QI", "]", ";", "default", ":", "break", ";", "}", "*", "no_add_attrs", "=", "true", ";", "if", "(", "result", ")", "*", "node", "=", "lang_hooks", ".", "types", ".", "reconstruct_complex_type", "(", "*", "node", ",", "result", ")", ";", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Expand", "the", "s390_vector_bool", "type", "attribute", "."], "TS_V_token": ["s390"], "File": "s3905", "Func": "s390_handle_vectorbool_attribute", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3945, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "AtomicExpansionKind", "ARMTargetLowering", "::", "shouldExpandAtomicRMWInIR", "(", "AtomicRMWInst", "*", "AI", ")", "const", "{", "if", "(", "AI", "->", "isFloatingPointOperation", "(", ")", ")", "return", "AtomicExpansionKind", "::", "CmpXChg", ";", "if", "(", "getTargetMachine", "(", ")", ".", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "None", ")", "return", "AtomicExpansionKind", "::", "CmpXChg", ";", "unsigned", "Size", "=", "AI", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ";", "bool", "hasAtomicRMW", "=", "!", "Subtarget", "->", "isThumb", "(", ")", "||", "Subtarget", "->", "hasV8MBaselineOps", "(", ")", ";", "return", "(", "Size", "<=", "(", "Subtarget", "->", "isMClass", "(", ")", "?", "32U", ":", "64U", ")", "&&", "hasAtomicRMW", ")", "?", "AtomicExpansionKind", "::", "LLSC", ":", "AtomicExpansionKind", "::", "None", ";", "}", ""], "natrual_language": ["Returns", "how", "the", "IR-level", "AtomicExpand", "pass", "should", "expand", "the", "given", "AtomicRMW", ",", "if", "at", "all", "."], "TS_V_token": ["ARM", "ARM", "32U", "64U"], "File": "ARMISelLowering (2)5", "Func": "shouldExpandAtomicRMWInIR", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3946, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SPUTargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "{", "unsigned", "Opc", "=", "(", "unsigned", ")", "N", "->", "getOpcode", "(", ")", ";", "EVT", "OpVT", "=", "N", "->", "getValueType", "(", "0", ")", ";", "switch", "(", "Opc", ")", "{", "default", ":", "{", "cerr", "<<", "\"SPUTargetLowering::ReplaceNodeResults(): need to fix this!\\n\"", ";", "cerr", "<<", "\"Op.getOpcode() = \"", "<<", "Opc", "<<", "\"\\n\"", ";", "cerr", "<<", "\"*Op.getNode():\\n\"", ";", "N", "->", "dump", "(", ")", ";", "abort", "(", ")", ";", "}", "}", "}", ""], "natrual_language": ["ReplaceNodeResults", "-", "Replace", "the", "results", "of", "node", "with", "an", "illegal", "result", "type", "with", "new", "values", "built", "out", "of", "custom", "code", "."], "TS_V_token": ["CellSPU", "SPU", "0", "\"SPUTargetLowering::ReplaceNodeResults(): need to fix this!\\n\"", "\"Op.getOpcode() = \"", "\"\\n\"", "\"*Op.getNode():\\n\""], "File": "SPUISelLowering8", "Func": "ReplaceNodeResults", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3947, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_split_msa_fill_d", "(", "rtx", "dest", ",", "rtx", "src", ")", "{", "gcc_assert", "(", "(", "GET_MODE", "(", "dest", ")", "==", "V2DImode", "&&", "(", "GET_MODE", "(", "src", ")", "==", "DImode", "||", "src", "==", "const0_rtx", ")", ")", "||", "(", "GET_MODE", "(", "dest", ")", "==", "V2DFmode", "&&", "GET_MODE", "(", "src", ")", "==", "DFmode", ")", ")", ";", "rtx", "low", ",", "high", ";", "if", "(", "src", "==", "const0_rtx", ")", "{", "low", "=", "src", ";", "high", "=", "src", ";", "}", "else", "{", "low", "=", "mips_subword", "(", "src", ",", "false", ")", ";", "high", "=", "mips_subword", "(", "src", ",", "true", ")", ";", "}", "rtx", "new_dest", "=", "simplify_gen_subreg", "(", "V4SImode", ",", "dest", ",", "GET_MODE", "(", "dest", ")", ",", "0", ")", ";", "emit_insn", "(", "gen_msa_fill_w", "(", "new_dest", ",", "low", ")", ")", ";", "emit_insn", "(", "gen_msa_insert_w", "(", "new_dest", ",", "high", ",", "new_dest", ",", "GEN_INT", "(", "1", "<<", "1", ")", ")", ")", ";", "emit_insn", "(", "gen_msa_insert_w", "(", "new_dest", ",", "high", ",", "new_dest", ",", "GEN_INT", "(", "1", "<<", "3", ")", ")", ")", ";", "}", ""], "natrual_language": ["Split", "FILL.D", "."], "TS_V_token": ["mips", "0", "1", "1", "1", "3"], "File": "mips", "Func": "mips_split_msa_fill_d", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3948, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "RISCVSubtarget", "&", "RISCVSubtarget", "::", "initializeSubtargetDependencies", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "StringRef", "ABIName", ")", "{", "bool", "Is64Bit", "=", "TT", ".", "isArch64Bit", "(", ")", ";", "std", "::", "string", "CPUName", "=", "std", "::", "string", "(", "CPU", ")", ";", "if", "(", "CPUName", ".", "empty", "(", ")", ")", "CPUName", "=", "Is64Bit", "?", "\"generic-rv64\"", ":", "\"generic-rv32\"", ";", "ParseSubtargetFeatures", "(", "CPUName", ",", "FS", ")", ";", "if", "(", "Is64Bit", ")", "{", "XLenVT", "=", "MVT", "::", "i64", ";", "XLen", "=", "64", ";", "}", "TargetABI", "=", "RISCVABI", "::", "computeTargetABI", "(", "TT", ",", "getFeatureBits", "(", ")", ",", "ABIName", ")", ";", "RISCVFeatures", "::", "validate", "(", "TT", ",", "getFeatureBits", "(", ")", ")", ";", "return", "*", "this", ";", "}", ""], "natrual_language": ["initializeSubtargetDependencies", "-", "Initializes", "using", "a", "CPU", ",", "a", "TuneCPU", ",", "and", "feature", "string", "so", "that", "we", "can", "use", "initializer", "lists", "for", "subtarget", "initialization", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "\"generic-rv64\"", "\"generic-rv32\"", "MVT::i64", "64", "RISCVABI::computeTargetABI", "RISCVFeatures::validate"], "File": "RISCVSubtarget17", "Func": "initializeSubtargetDependencies", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3949, "Length": 112, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "csky_emit_compare_float", "(", "enum", "rtx_code", "code", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "rtx", "cc_reg", "=", "gen_rtx_REG", "(", "CCmode", ",", "CSKY_CC_REGNUM", ")", ";", "bool", "invert", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "op1", ")", ";", "if", "(", "op1", "!=", "CONST0_RTX", "(", "mode", ")", ")", "op1", "=", "force_reg", "(", "mode", ",", "op1", ")", ";", "invert", "=", "false", ";", "switch", "(", "code", ")", "{", "case", "EQ", ":", "code", "=", "NE", ";", "invert", "=", "true", ";", "break", ";", "case", "GT", ":", "case", "LT", ":", "case", "LE", ":", "if", "(", "op1", "==", "CONST0_RTX", "(", "mode", ")", "&&", "TARGET_SUPPORT_FPV2", ")", "op1", "=", "force_reg", "(", "mode", ",", "op1", ")", ";", "break", ";", "case", "ORDERED", ":", "code", "=", "UNORDERED", ";", "invert", "=", "true", ";", "break", ";", "default", ":", "break", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "cc_reg", ",", "gen_rtx_fmt_ee", "(", "code", ",", "CCmode", ",", "op0", ",", "op1", ")", ")", ")", ";", "return", "invert", ";", "}", ""], "natrual_language": ["Emit", "a", "comparison", "insn", "for", "float", "values", ".", "Return", "true", "if", "the", "comparison", "is", "inverted", "."], "TS_V_token": ["csky"], "File": "csky1", "Func": "csky_emit_compare_float", "Target": "csky", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3950, "Length": 147, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MOSAsmBackend", "::", "getNumFixupKinds", "(", ")", "const", "{", "return", "MOS", "::", "Fixups", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["MOS", "MOS", "MOS::Fixups"], "File": "MOSAsmBackend", "Func": "getNumFixupKinds", "Target": "MOS", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3951, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "unsigned", "*", "AlphaRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "static", "const", "unsigned", "CalleeSavedRegs", "[", "]", "=", "{", "Alpha", "::", "R9", ",", "Alpha", "::", "R10", ",", "Alpha", "::", "R11", ",", "Alpha", "::", "R12", ",", "Alpha", "::", "R13", ",", "Alpha", "::", "R14", ",", "Alpha", "::", "F2", ",", "Alpha", "::", "F3", ",", "Alpha", "::", "F4", ",", "Alpha", "::", "F5", ",", "Alpha", "::", "F6", ",", "Alpha", "::", "F7", ",", "Alpha", "::", "F8", ",", "Alpha", "::", "F9", ",", "0", "}", ";", "return", "CalleeSavedRegs", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["Alpha", "Alpha", "Alpha::R9", "Alpha::R10", "Alpha::R11", "Alpha::R12", "Alpha::R13", "Alpha::R14", "Alpha::F2", "Alpha::F3", "Alpha::F4", "Alpha::F5", "Alpha::F6", "Alpha::F7", "Alpha::F8", "Alpha::F9", "0"], "File": "AlphaRegisterInfo", "Func": "getCalleeSavedRegs", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3952, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "cr16_expand_epilogue", "(", "void", ")", "{", "rtx", "insn", ";", "int", "only_popret_RA", "=", "(", "current_frame_info", ".", "save_regs", "[", "RETURN_ADDRESS_REGNUM", "]", "&&", "(", "current_frame_info", ".", "reg_size", "==", "CR16_UNITS_PER_DWORD", ")", ")", ";", "if", "(", "frame_pointer_needed", ")", "{", "insn", "=", "emit_move_insn", "(", "stack_pointer_rtx", ",", "frame_pointer_rtx", ")", ";", "}", "if", "(", "current_frame_info", ".", "total_size", ">", "0", ")", "{", "insn", "=", "emit_insn", "(", "gen_addsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "current_frame_info", ".", "total_size", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "if", "(", "crtl", "->", "calls_eh_return", ")", "{", "insn", "=", "emit_insn", "(", "gen_addsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "EH_RETURN_STACKADJ_RTX", ")", ")", ";", "}", "if", "(", "cr16_interrupt_function_p", "(", ")", ")", "{", "insn", "=", "emit_jump_insn", "(", "gen_interrupt_return", "(", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "else", "if", "(", "crtl", "->", "calls_eh_return", ")", "{", "insn", "=", "emit_jump_insn", "(", "gen_pop_and_popret_return", "(", "GEN_INT", "(", "current_frame_info", ".", "reg_size", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "else", "if", "(", "current_frame_info", ".", "last_reg_to_save", "==", "-", "1", ")", "emit_jump_insn", "(", "gen_jump_return", "(", ")", ")", ";", "else", "if", "(", "only_popret_RA", ")", "{", "insn", "=", "emit_jump_insn", "(", "gen_popret_RA_return", "(", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "else", "{", "insn", "=", "emit_jump_insn", "(", "gen_pop_and_popret_return", "(", "GEN_INT", "(", "current_frame_info", ".", "reg_size", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "}", ""], "natrual_language": ["Generate", "insn", "that", "updates", "the", "stack", "for", "local", "variables", "and", "padding", "for", "registers", "we", "save", ".", "-", "Generate", "the", "appropriate", "return", "insn", "."], "TS_V_token": ["cr16", "0", "1", "1", "1", "1", "1", "1"], "File": "cr16", "Func": "cr16_expand_epilogue", "Target": "cr16", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3953, "Length": 223, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MSP430AsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "MSP430MCInstLower", "MCInstLowering", "(", "OutContext", ",", "*", "Mang", ",", "*", "this", ")", ";", "MCInst", "TmpInst", ";", "MCInstLowering", ".", "Lower", "(", "MI", ",", "TmpInst", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "TmpInst", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["MSP430", "MSP430", "MSP430"], "File": "MSP430AsmPrinter11", "Func": "EmitInstruction", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3954, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCPassConfig", "::", "addPreSched2", "(", ")", "{", "addPass", "(", "createPPCVSXCopyCleanupPass", "(", ")", ",", "false", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "&", "IfConverterID", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "after", "prolog-epilog", "insertion", "and", "before", "the", "second", "instruction", "scheduling", "pass", "."], "TS_V_token": ["PowerPC", "PPC", "PPC"], "File": "PPCTargetMachine35", "Func": "addPreSched2", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3955, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "unique_ptr", "<", "LanaiOperand", ">", "LanaiAsmParser", "::", "parseIdentifier", "(", ")", "{", "SMLoc", "Start", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "SMLoc", "End", "=", "SMLoc", "::", "getFromPointer", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ".", "getPointer", "(", ")", "-", "1", ")", ";", "const", "MCExpr", "*", "Res", ",", "*", "RHS", "=", "0", ";", "LanaiMCExpr", "::", "VariantKind", "Kind", "=", "LanaiMCExpr", "::", "VK_Lanai_None", ";", "if", "(", "Lexer", ".", "getKind", "(", ")", "!=", "AsmToken", "::", "Identifier", ")", "return", "0", ";", "StringRef", "Identifier", ";", "if", "(", "Parser", ".", "parseIdentifier", "(", "Identifier", ")", ")", "return", "0", ";", "if", "(", "Identifier", ".", "equals_lower", "(", "\"hi\"", ")", ")", "Kind", "=", "LanaiMCExpr", "::", "VK_Lanai_ABS_HI", ";", "else", "if", "(", "Identifier", ".", "equals_lower", "(", "\"lo\"", ")", ")", "Kind", "=", "LanaiMCExpr", "::", "VK_Lanai_ABS_LO", ";", "if", "(", "Kind", "!=", "LanaiMCExpr", "::", "VK_Lanai_None", ")", "{", "if", "(", "Lexer", ".", "getKind", "(", ")", "!=", "AsmToken", "::", "LParen", ")", "{", "Error", "(", "Lexer", ".", "getLoc", "(", ")", ",", "\"Expected '('\"", ")", ";", "return", "0", ";", "}", "Lexer", ".", "Lex", "(", ")", ";", "if", "(", "Parser", ".", "parseIdentifier", "(", "Identifier", ")", ")", "return", "0", ";", "}", "if", "(", "Lexer", ".", "getKind", "(", ")", "==", "AsmToken", "::", "Plus", "&&", "Parser", ".", "parseExpression", "(", "RHS", ")", ")", "return", "0", ";", "if", "(", "Kind", "!=", "LanaiMCExpr", "::", "VK_Lanai_None", ")", "{", "if", "(", "Lexer", ".", "getKind", "(", ")", "!=", "AsmToken", "::", "RParen", ")", "{", "Error", "(", "Lexer", ".", "getLoc", "(", ")", ",", "\"Expected ')'\"", ")", ";", "return", "0", ";", "}", "Lexer", ".", "Lex", "(", ")", ";", "}", "End", "=", "SMLoc", "::", "getFromPointer", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ".", "getPointer", "(", ")", "-", "1", ")", ";", "MCSymbol", "*", "Sym", "=", "getContext", "(", ")", ".", "getOrCreateSymbol", "(", "Identifier", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MCSymbolRefExpr", "::", "create", "(", "Sym", ",", "getContext", "(", ")", ")", ";", "Res", "=", "LanaiMCExpr", "::", "create", "(", "Kind", ",", "Expr", ",", "getContext", "(", ")", ")", ";", "if", "(", "RHS", ")", "Res", "=", "MCBinaryExpr", "::", "createAdd", "(", "Res", ",", "RHS", ",", "getContext", "(", ")", ")", ";", "return", "LanaiOperand", "::", "createImm", "(", "Res", ",", "Start", ",", "End", ")", ";", "}", ""], "natrual_language": ["Parse", "an", "identifier", "or", "string", "(", "as", "a", "quoted", "identifier", ")", "and", "set", "Res", "to", "the", "identifier", "contents", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai", "1", "0", "Lanai", "Lanai", "Lanai", "0", "0", "\"hi\"", "Lanai", "Lanai", "\"lo\"", "Lanai", "Lanai", "Lanai", "Lanai", "\"Expected '('\"", "0", "0", "0", "Lanai", "Lanai", "\"Expected ')'\"", "0", "1", "Lanai", "LanaiOperand::createImm"], "File": "LanaiAsmParser1", "Func": "parseIdentifier", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3956, "Length": 350, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCExpr", "*", "ARMElfTargetObjectFile", "::", "getDebugThreadLocalSymbol", "(", "const", "MCSymbol", "*", "Sym", ")", "const", "{", "return", "MCSymbolRefExpr", "::", "create", "(", "Sym", ",", "MCSymbolRefExpr", "::", "VK_ARM_TLSLDO", ",", "getContext", "(", ")", ")", ";", "}", ""], "natrual_language": ["Describe", "a", "TLS", "variable", "address", "within", "debug", "info", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMTargetObjectFile (2)", "Func": "getDebugThreadLocalSymbol", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3957, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "getSize", "(", ")", "{", "return", "size", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "bytes", "in", "the", "encoding", "of", "this", "instruction", ",", "or", "zero", "if", "the", "encoding", "size", "can", "not", "be", "known", "from", "the", "opcode", "."], "TS_V_token": ["JVM"], "File": "JVMAssembler", "Func": "getSize", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3958, "Length": 9, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "estimateStackSize", "(", "MachineFunction", "&", "MF", ")", "{", "const", "MachineFrameInfo", "*", "FFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "int", "Offset", "=", "0", ";", "for", "(", "int", "i", "=", "FFI", "->", "getObjectIndexBegin", "(", ")", ";", "i", "!=", "0", ";", "++", "i", ")", "{", "int", "FixedOff", "=", "-", "FFI", "->", "getObjectOffset", "(", "i", ")", ";", "if", "(", "FixedOff", ">", "Offset", ")", "Offset", "=", "FixedOff", ";", "}", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "FFI", "->", "getObjectIndexEnd", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "if", "(", "FFI", "->", "isDeadObjectIndex", "(", "i", ")", ")", "continue", ";", "Offset", "+=", "FFI", "->", "getObjectSize", "(", "i", ")", ";", "unsigned", "Align", "=", "FFI", "->", "getObjectAlignment", "(", "i", ")", ";", "Offset", "=", "(", "Offset", "+", "Align", "-", "1", ")", "/", "Align", "*", "Align", ";", "}", "return", "(", "unsigned", ")", "Offset", ";", "}", ""], "natrual_language": ["Estimate", "and", "return", "the", "size", "of", "the", "stack", "frame", "."], "TS_V_token": ["ARM64", "0", "0", "0", "1"], "File": "ARM64FrameLowering", "Func": "estimateStackSize", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3959, "Length": 141, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonFrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", "->", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "if", "(", "CSI", ".", "empty", "(", ")", ")", "{", "return", "false", ";", "}", "bool", "ContiguousRegs", "=", "true", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "CSI", ".", "size", "(", ")", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "CSI", "[", "i", "]", ".", "getReg", "(", ")", ";", "const", "unsigned", "*", "SuperReg", "=", "TRI", "->", "getSuperRegisters", "(", "Reg", ")", ";", "assert", "(", "SuperReg", "[", "0", "]", "&&", "!", "SuperReg", "[", "1", "]", "&&", "\"Expected exactly one superreg\"", ")", ";", "bool", "CanUseDblStore", "=", "false", ";", "const", "TargetRegisterClass", "*", "SuperRegClass", "=", "0", ";", "if", "(", "ContiguousRegs", "&&", "(", "i", "<", "CSI", ".", "size", "(", ")", "-", "1", ")", ")", "{", "const", "unsigned", "*", "SuperRegNext", "=", "TRI", "->", "getSuperRegisters", "(", "CSI", "[", "i", "+", "1", "]", ".", "getReg", "(", ")", ")", ";", "assert", "(", "SuperRegNext", "[", "0", "]", "&&", "!", "SuperRegNext", "[", "1", "]", "&&", "\"Expected exactly one superreg\"", ")", ";", "SuperRegClass", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "SuperReg", "[", "0", "]", ")", ";", "CanUseDblStore", "=", "(", "SuperRegNext", "[", "0", "]", "==", "SuperReg", "[", "0", "]", ")", ";", "}", "if", "(", "CanUseDblStore", ")", "{", "TII", ".", "storeRegToStackSlot", "(", "MBB", ",", "MI", ",", "SuperReg", "[", "0", "]", ",", "true", ",", "CSI", "[", "i", "+", "1", "]", ".", "getFrameIdx", "(", ")", ",", "SuperRegClass", ",", "TRI", ")", ";", "MBB", ".", "addLiveIn", "(", "SuperReg", "[", "0", "]", ")", ";", "++", "i", ";", "}", "else", "{", "ContiguousRegs", "=", "false", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "TII", ".", "storeRegToStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "true", ",", "CSI", "[", "i", "]", ".", "getFrameIdx", "(", ")", ",", "RC", ",", "TRI", ")", ";", "MBB", ".", "addLiveIn", "(", "Reg", ")", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["spillCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "spill", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "store", "instructions", "via", "storeRegToStackSlot", "(", ")", "."], "TS_V_token": ["Hexagon", "Hexagon", "0", "0", "1", "\"Expected exactly one superreg\"", "0", "1", "1", "0", "1", "\"Expected exactly one superreg\"", "0", "0", "0", "0", "1", "0"], "File": "HexagonFrameLowering47", "Func": "spillCalleeSavedRegisters", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3960, "Length": 334, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64PostSelectOptimize", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "MF", ".", "getProperties", "(", ")", ".", "hasProperty", "(", "MachineFunctionProperties", "::", "Property", "::", "FailedISel", ")", ")", "return", "false", ";", "assert", "(", "MF", ".", "getProperties", "(", ")", ".", "hasProperty", "(", "MachineFunctionProperties", "::", "Property", "::", "Selected", ")", "&&", "\"Expected a selected MF\"", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "&", "BB", ":", "MF", ")", "Changed", "|=", "optimizeNZCVDefs", "(", "BB", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64", "\"Expected a selected MF\""], "File": "AArch64PostSelectOptimize", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3961, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "FunctionCallee", "AMDGPULibFunc", "::", "getOrInsertFunction", "(", "Module", "*", "M", ",", "const", "AMDGPULibFunc", "&", "fInfo", ")", "{", "std", "::", "string", "const", "FuncName", "=", "fInfo", ".", "mangle", "(", ")", ";", "Function", "*", "F", "=", "dyn_cast_or_null", "<", "Function", ">", "(", "M", "->", "getValueSymbolTable", "(", ")", ".", "lookup", "(", "FuncName", ")", ")", ";", "if", "(", "F", "&&", "!", "F", "->", "isDeclaration", "(", ")", "&&", "!", "F", "->", "isVarArg", "(", ")", "&&", "F", "->", "arg_size", "(", ")", "==", "fInfo", ".", "getNumArgs", "(", ")", ")", "{", "return", "F", ";", "}", "FunctionType", "*", "FuncTy", "=", "fInfo", ".", "getFunctionType", "(", "*", "M", ")", ";", "bool", "hasPtr", "=", "false", ";", "for", "(", "FunctionType", "::", "param_iterator", "PI", "=", "FuncTy", "->", "param_begin", "(", ")", ",", "PE", "=", "FuncTy", "->", "param_end", "(", ")", ";", "PI", "!=", "PE", ";", "++", "PI", ")", "{", "const", "Type", "*", "argTy", "=", "static_cast", "<", "const", "Type", "*", ">", "(", "*", "PI", ")", ";", "if", "(", "argTy", "->", "isPointerTy", "(", ")", ")", "{", "hasPtr", "=", "true", ";", "break", ";", "}", "}", "FunctionCallee", "C", ";", "if", "(", "hasPtr", ")", "{", "C", "=", "M", "->", "getOrInsertFunction", "(", "FuncName", ",", "FuncTy", ")", ";", "}", "else", "{", "AttributeList", "Attr", ";", "LLVMContext", "&", "Ctx", "=", "M", "->", "getContext", "(", ")", ";", "Attr", "=", "Attr", ".", "addFnAttribute", "(", "Ctx", ",", "Attribute", "::", "ReadOnly", ")", ";", "Attr", "=", "Attr", ".", "addFnAttribute", "(", "Ctx", ",", "Attribute", "::", "NoUnwind", ")", ";", "C", "=", "M", "->", "getOrInsertFunction", "(", "FuncName", ",", "FuncTy", ",", "Attr", ")", ";", "}", "return", "C", ";", "}", ""], "natrual_language": ["Look", "up", "the", "specified", "function", "in", "the", "module", "symbol", "table", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU"], "File": "AMDGPULibFunc (2)", "Func": "getOrInsertFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3962, "Length": 241, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetTransformInfo", "::", "PopcntSupportKind", "RISCVTTIImpl", "::", "getPopcntSupport", "(", "unsigned", "TyWidth", ")", "{", "assert", "(", "isPowerOf2_32", "(", "TyWidth", ")", "&&", "\"Ty width must be power of 2\"", ")", ";", "return", "ST", "->", "hasStdExtZbb", "(", ")", "?", "TTI", "::", "PSK_FastHardware", ":", "TTI", "::", "PSK_Software", ";", "}", ""], "natrual_language": ["Return", "hardware", "support", "for", "population", "count", "."], "TS_V_token": ["RISCV", "RISCV", "\"Ty width must be power of 2\""], "File": "RISCVTargetTransformInfo", "Func": "getPopcntSupport", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3963, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "sbitmap", "rs6000_get_separate_components", "(", "void", ")", "{", "rs6000_stack_t", "*", "info", "=", "rs6000_stack_info", "(", ")", ";", "if", "(", "WORLD_SAVE_P", "(", "info", ")", ")", "return", "NULL", ";", "if", "(", "TARGET_SPE_ABI", ")", "return", "NULL", ";", "gcc_assert", "(", "!", "(", "info", "->", "savres_strategy", "&", "SAVE_MULTIPLE", ")", "&&", "!", "(", "info", "->", "savres_strategy", "&", "REST_MULTIPLE", ")", ")", ";", "cfun", "->", "machine", "->", "n_components", "=", "64", ";", "sbitmap", "components", "=", "sbitmap_alloc", "(", "cfun", "->", "machine", "->", "n_components", ")", ";", "bitmap_clear", "(", "components", ")", ";", "int", "reg_size", "=", "TARGET_32BIT", "?", "4", ":", "8", ";", "int", "fp_reg_size", "=", "8", ";", "if", "(", "(", "info", "->", "savres_strategy", "&", "SAVE_INLINE_GPRS", ")", "&&", "(", "info", "->", "savres_strategy", "&", "REST_INLINE_GPRS", ")", ")", "{", "int", "offset", "=", "info", "->", "gp_save_offset", ";", "if", "(", "info", "->", "push_p", ")", "offset", "+=", "info", "->", "total_size", ";", "for", "(", "unsigned", "regno", "=", "info", "->", "first_gp_reg_save", ";", "regno", "<", "32", ";", "regno", "++", ")", "{", "if", "(", "IN_RANGE", "(", "offset", ",", "-", "0x8000", ",", "0x7fff", ")", "&&", "rs6000_reg_live_or_pic_offset_p", "(", "regno", ")", ")", "bitmap_set_bit", "(", "components", ",", "regno", ")", ";", "offset", "+=", "reg_size", ";", "}", "}", "if", "(", "frame_pointer_needed", ")", "bitmap_clear_bit", "(", "components", ",", "HARD_FRAME_POINTER_REGNUM", ")", ";", "if", "(", "(", "TARGET_TOC", "&&", "TARGET_MINIMAL_TOC", ")", "||", "(", "flag_pic", "==", "1", "&&", "DEFAULT_ABI", "==", "ABI_V4", ")", "||", "(", "flag_pic", "&&", "DEFAULT_ABI", "==", "ABI_DARWIN", ")", ")", "bitmap_clear_bit", "(", "components", ",", "RS6000_PIC_OFFSET_TABLE_REGNUM", ")", ";", "if", "(", "(", "info", "->", "savres_strategy", "&", "SAVE_INLINE_FPRS", ")", "&&", "(", "info", "->", "savres_strategy", "&", "REST_INLINE_FPRS", ")", ")", "{", "int", "offset", "=", "info", "->", "fp_save_offset", ";", "if", "(", "info", "->", "push_p", ")", "offset", "+=", "info", "->", "total_size", ";", "for", "(", "unsigned", "regno", "=", "info", "->", "first_fp_reg_save", ";", "regno", "<", "64", ";", "regno", "++", ")", "{", "if", "(", "IN_RANGE", "(", "offset", ",", "-", "0x8000", ",", "0x7fff", ")", "&&", "save_reg_p", "(", "regno", ")", ")", "bitmap_set_bit", "(", "components", ",", "regno", ")", ";", "offset", "+=", "fp_reg_size", ";", "}", "}", "if", "(", "info", "->", "lr_save_p", "&&", "!", "(", "flag_pic", "&&", "(", "DEFAULT_ABI", "==", "ABI_V4", "||", "DEFAULT_ABI", "==", "ABI_DARWIN", ")", ")", "&&", "(", "info", "->", "savres_strategy", "&", "SAVE_INLINE_GPRS", ")", "&&", "(", "info", "->", "savres_strategy", "&", "REST_INLINE_GPRS", ")", "&&", "(", "info", "->", "savres_strategy", "&", "SAVE_INLINE_FPRS", ")", "&&", "(", "info", "->", "savres_strategy", "&", "REST_INLINE_FPRS", ")", "&&", "(", "info", "->", "savres_strategy", "&", "SAVE_INLINE_VRS", ")", "&&", "(", "info", "->", "savres_strategy", "&", "REST_INLINE_VRS", ")", ")", "{", "int", "offset", "=", "info", "->", "lr_save_offset", ";", "if", "(", "info", "->", "push_p", ")", "offset", "+=", "info", "->", "total_size", ";", "if", "(", "IN_RANGE", "(", "offset", ",", "-", "0x8000", ",", "0x7fff", ")", ")", "bitmap_set_bit", "(", "components", ",", "0", ")", ";", "}", "return", "components", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SHRINK_WRAP_GET_SEPARATE_COMPONENTS", "."], "TS_V_token": ["powerpcspe", "64", "4", "8", "8", "32", "0x8000", "0x7fff", "1", "64", "0x8000", "0x7fff", "0x8000", "0x7fff", "0"], "File": "powerpcspe", "Func": "rs6000_get_separate_components", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3964, "Length": 419, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonTargetObjectFile", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "InitializeELF", "(", "TM", ".", "Options", ".", "UseInitArray", ")", ";", "SmallDataSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".sdata\"", ",", "ELF", "::", "SHT_PROGBITS", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ")", ";", "SmallBSSSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".sbss\"", ",", "ELF", "::", "SHT_NOBITS", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["Hexagon", "Hexagon", "\".sdata\"", "\".sbss\""], "File": "HexagonTargetObjectFile", "Func": "Initialize", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3965, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_parm_needs_stack", "(", "cumulative_args_t", "args_so_far", ",", "tree", "type", ")", "{", "machine_mode", "mode", ";", "int", "unsignedp", ";", "rtx", "entry_parm", ";", "if", "(", "type", "==", "NULL", "||", "type", "==", "error_mark_node", ")", "return", "true", ";", "if", "(", "TYPE_MODE", "(", "type", ")", "==", "VOIDmode", ")", "return", "false", ";", "if", "(", "TREE_CODE", "(", "type", ")", "==", "COMPLEX_TYPE", ")", "return", "(", "rs6000_parm_needs_stack", "(", "args_so_far", ",", "TREE_TYPE", "(", "type", ")", ")", "||", "rs6000_parm_needs_stack", "(", "args_so_far", ",", "TREE_TYPE", "(", "type", ")", ")", ")", ";", "if", "(", "(", "TREE_CODE", "(", "type", ")", "==", "UNION_TYPE", "||", "TREE_CODE", "(", "type", ")", "==", "RECORD_TYPE", ")", "&&", "TYPE_TRANSPARENT_AGGR", "(", "type", ")", ")", "type", "=", "TREE_TYPE", "(", "first_field", "(", "type", ")", ")", ";", "if", "(", "pass_by_reference", "(", "get_cumulative_args", "(", "args_so_far", ")", ",", "TYPE_MODE", "(", "type", ")", ",", "type", ",", "true", ")", ")", "type", "=", "build_pointer_type", "(", "type", ")", ";", "unsignedp", "=", "TYPE_UNSIGNED", "(", "type", ")", ";", "mode", "=", "promote_mode", "(", "type", ",", "TYPE_MODE", "(", "type", ")", ",", "&", "unsignedp", ")", ";", "if", "(", "rs6000_must_pass_in_stack", "(", "mode", ",", "type", ")", ")", "return", "true", ";", "entry_parm", "=", "rs6000_function_arg", "(", "args_so_far", ",", "mode", ",", "type", ",", "true", ")", ";", "if", "(", "entry_parm", "==", "NULL", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "entry_parm", ")", "==", "PARALLEL", "&&", "XEXP", "(", "XVECEXP", "(", "entry_parm", ",", "0", ",", "0", ")", ",", "0", ")", "==", "NULL_RTX", ")", "return", "true", ";", "if", "(", "rs6000_arg_partial_bytes", "(", "args_so_far", ",", "mode", ",", "type", ",", "true", ")", "!=", "0", ")", "return", "true", ";", "rs6000_function_arg_advance", "(", "args_so_far", ",", "mode", ",", "type", ",", "true", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Process", "parameter", "of", "type", "TYPE", "after", "ARGS_SO_FAR", "parameters", "were", "already", "processes", ".", "Return", "true", "if", "the", "parameter", "must", "be", "passed", "(", "fully", "or", "partially", ")", "on", "the", "stack", "."], "TS_V_token": ["rs6000", "0", "0", "0", "0"], "File": "rs60004", "Func": "rs6000_parm_needs_stack", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3966, "Length": 253, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emit_unlikely_jump", "(", "rtx", "insn", ")", "{", "int", "very_unlikely", "=", "REG_BR_PROB_BASE", "/", "100", "-", "1", ";", "insn", "=", "emit_jump_insn", "(", "insn", ")", ";", "add_int_reg_note", "(", "insn", ",", "REG_BR_PROB", ",", "very_unlikely", ")", ";", "}", ""], "natrual_language": ["Mark", "the", "previous", "jump", "instruction", "as", "unlikely", "."], "TS_V_token": ["arm", "100", "1"], "File": "arm4", "Func": "emit_unlikely_jump", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3967, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SUnit", "*", "SystemZPostRASchedStrategy", "::", "pickNode", "(", "bool", "&", "IsTopNode", ")", "{", "IsTopNode", "=", "true", ";", "if", "(", "Available", ".", "empty", "(", ")", ")", "return", "nullptr", ";", "if", "(", "Available", ".", "size", "(", ")", "==", "1", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"+++ Only one: \"", ";", "HazardRec", "->", "dumpSU", "(", "*", "Available", ".", "begin", "(", ")", ",", "dbgs", "(", ")", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ";", ")", ";", "return", "*", "Available", ".", "begin", "(", ")", ";", "}", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"+++ Available: \"", ";", "Available", ".", "dump", "(", "*", "HazardRec", ")", ";", ")", ";", "Candidate", "Best", ";", "for", "(", "auto", "*", "SU", ":", "Available", ")", "{", "Candidate", "c", "(", "SU", ",", "*", "HazardRec", ")", ";", "if", "(", "Best", ".", "SU", "==", "nullptr", "||", "c", "<", "Best", ")", "{", "Best", "=", "c", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"+++ Best sofar: \"", ";", "HazardRec", "->", "dumpSU", "(", "Best", ".", "SU", ",", "dbgs", "(", ")", ")", ";", "if", "(", "Best", ".", "GroupingCost", "!=", "0", ")", "dbgs", "(", ")", "<<", "\"\\tGrouping cost:\"", "<<", "Best", ".", "GroupingCost", ";", "if", "(", "Best", ".", "ResourcesCost", "!=", "0", ")", "dbgs", "(", ")", "<<", "\" Resource cost:\"", "<<", "Best", ".", "ResourcesCost", ";", "dbgs", "(", ")", "<<", "\" Height:\"", "<<", "Best", ".", "SU", "->", "getHeight", "(", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ";", ")", ";", "}", "if", "(", "!", "SU", "->", "isScheduleHigh", "&&", "Best", ".", "noCost", "(", ")", ")", "break", ";", "}", "assert", "(", "Best", ".", "SU", "!=", "nullptr", ")", ";", "return", "Best", ".", "SU", ";", "}", ""], "natrual_language": ["Pick", "the", "next", "node", "to", "schedule", ",", "or", "return", "NULL", "."], "TS_V_token": ["SystemZ", "SystemZ", "1", "\"+++ Only one: \"", "\"\\n\"", "\"+++ Available: \"", "\"+++ Best sofar: \"", "0", "\"\\tGrouping cost:\"", "0", "\" Resource cost:\"", "\" Height:\"", "\"\\n\""], "File": "SystemZMachineScheduler14", "Func": "pickNode", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3968, "Length": 245, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetTransformInfo", "SystemZTargetMachine", "::", "getTargetTransformInfo", "(", "const", "Function", "&", "F", ")", "const", "{", "return", "TargetTransformInfo", "(", "SystemZTTIImpl", "(", "this", ",", "F", ")", ")", ";", "}", ""], "natrual_language": ["Get", "a", "TargetTransformInfo", "implementation", "for", "the", "target", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ"], "File": "SystemZTargetMachine18", "Func": "getTargetTransformInfo", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3969, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "AArch64MCExpr", "*", "AArch64MCExpr", "::", "Create", "(", "VariantKind", "Kind", ",", "const", "MCExpr", "*", "Expr", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "(", "Ctx", ")", "AArch64MCExpr", "(", "Kind", ",", "Expr", ")", ";", "}", ""], "natrual_language": ["Construct", "a", "unary", "instruction", ",", "given", "the", "opcode", "and", "an", "operand", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64MCExpr (2)", "Func": "Create", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3970, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Cpu0TargetObjectFile", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "InitializeELF", "(", "TM", ".", "Options", ".", "UseInitArray", ")", ";", "SmallDataSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".sdata\"", ",", "ELF", "::", "SHT_PROGBITS", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ")", ";", "SmallBSSSection", "=", "getContext", "(", ")", ".", "getELFSection", "(", "\".sbss\"", ",", "ELF", "::", "SHT_NOBITS", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "."], "TS_V_token": ["Cpu0", "Cpu0", "\".sdata\"", "\".sbss\""], "File": "Cpu0TargetObjectFile3", "Func": "Initialize", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3971, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "thumb2_legitimate_address_p", "(", "machine_mode", "mode", ",", "rtx", "x", ",", "int", "strict_p", ")", "{", "bool", "use_ldrd", ";", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "x", ")", ";", "if", "(", "TARGET_HAVE_MVE", "&&", "VALID_MVE_PRED_MODE", "(", "mode", ")", ")", "mode", "=", "HImode", ";", "if", "(", "TARGET_HAVE_MVE", "&&", "VALID_MVE_MODE", "(", "mode", ")", ")", "return", "mve_vector_mem_operand", "(", "mode", ",", "x", ",", "strict_p", ")", ";", "if", "(", "arm_address_register_rtx_p", "(", "x", ",", "strict_p", ")", ")", "return", "1", ";", "use_ldrd", "=", "(", "TARGET_LDRD", "&&", "(", "mode", "==", "DImode", "||", "mode", "==", "DFmode", ")", ")", ";", "if", "(", "code", "==", "POST_INC", "||", "code", "==", "PRE_DEC", "||", "(", "(", "code", "==", "PRE_INC", "||", "code", "==", "POST_DEC", ")", "&&", "(", "use_ldrd", "||", "GET_MODE_SIZE", "(", "mode", ")", "<=", "4", ")", ")", ")", "return", "arm_address_register_rtx_p", "(", "XEXP", "(", "x", ",", "0", ")", ",", "strict_p", ")", ";", "else", "if", "(", "(", "code", "==", "POST_MODIFY", "||", "code", "==", "PRE_MODIFY", ")", "&&", "arm_address_register_rtx_p", "(", "XEXP", "(", "x", ",", "0", ")", ",", "strict_p", ")", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "PLUS", "&&", "rtx_equal_p", "(", "XEXP", "(", "XEXP", "(", "x", ",", "1", ")", ",", "0", ")", ",", "XEXP", "(", "x", ",", "0", ")", ")", ")", "{", "rtx", "addend", "=", "XEXP", "(", "XEXP", "(", "x", ",", "1", ")", ",", "1", ")", ";", "HOST_WIDE_INT", "offset", ";", "if", "(", "!", "CONST_INT_P", "(", "addend", ")", ")", "return", "0", ";", "offset", "=", "INTVAL", "(", "addend", ")", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "<=", "4", ")", "return", "(", "offset", ">", "-", "256", "&&", "offset", "<", "256", ")", ";", "return", "(", "use_ldrd", "&&", "offset", ">", "-", "1024", "&&", "offset", "<", "1024", "&&", "(", "offset", "&", "3", ")", "==", "0", ")", ";", "}", "else", "if", "(", "reload_completed", "&&", "(", "code", "==", "LABEL_REF", "||", "(", "code", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "0", ")", ")", "==", "LABEL_REF", "&&", "CONST_INT_P", "(", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "1", ")", ")", ")", ")", ")", "return", "1", ";", "else", "if", "(", "mode", "==", "TImode", "||", "(", "TARGET_NEON", "&&", "VALID_NEON_STRUCT_MODE", "(", "mode", ")", ")", "||", "(", "TARGET_HAVE_MVE", "&&", "VALID_MVE_STRUCT_MODE", "(", "mode", ")", ")", ")", "return", "0", ";", "else", "if", "(", "code", "==", "PLUS", ")", "{", "rtx", "xop0", "=", "XEXP", "(", "x", ",", "0", ")", ";", "rtx", "xop1", "=", "XEXP", "(", "x", ",", "1", ")", ";", "return", "(", "(", "arm_address_register_rtx_p", "(", "xop0", ",", "strict_p", ")", "&&", "(", "thumb2_legitimate_index_p", "(", "mode", ",", "xop1", ",", "strict_p", ")", "||", "(", "!", "strict_p", "&&", "will_be_in_index_register", "(", "xop1", ")", ")", ")", ")", "||", "(", "arm_address_register_rtx_p", "(", "xop1", ",", "strict_p", ")", "&&", "thumb2_legitimate_index_p", "(", "mode", ",", "xop0", ",", "strict_p", ")", ")", ")", ";", "}", "else", "if", "(", "can_avoid_literal_pool_for_label_p", "(", "x", ")", ")", "return", "0", ";", "else", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "!=", "MODE_FLOAT", "&&", "code", "==", "SYMBOL_REF", "&&", "CONSTANT_POOL_ADDRESS_P", "(", "x", ")", "&&", "!", "(", "flag_pic", "&&", "symbol_mentioned_p", "(", "get_pool_constant", "(", "x", ")", ")", "&&", "!", "pcrel_constant_p", "(", "get_pool_constant", "(", "x", ")", ")", ")", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "X", "is", "a", "valid", "Thumb-2", "address", "operand", "."], "TS_V_token": ["arm", "1", "4", "0", "0", "1", "1", "0", "0", "1", "1", "0", "4", "256", "256", "1024", "1024", "3", "0", "0", "0", "0", "0", "1", "1", "0", "0", "1", "0", "1", "0"], "File": "arm1", "Func": "thumb2_legitimate_address_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3972, "Length": 503, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIInstrInfo", "::", "findCommutedOpIndices", "(", "MachineInstr", "&", "MI", ",", "unsigned", "&", "SrcOpIdx0", ",", "unsigned", "&", "SrcOpIdx1", ")", "const", "{", "const", "MCInstrDesc", "&", "MCID", "=", "MI", ".", "getDesc", "(", ")", ";", "if", "(", "!", "MCID", ".", "isCommutable", "(", ")", ")", "return", "false", ";", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "int", "Src0Idx", "=", "AMDGPU", "::", "getNamedOperandIdx", "(", "Opc", ",", "AMDGPU", "::", "OpName", "::", "src0", ")", ";", "if", "(", "Src0Idx", "==", "-", "1", ")", "return", "false", ";", "if", "(", "!", "MI", ".", "getOperand", "(", "Src0Idx", ")", ".", "isReg", "(", ")", ")", "return", "false", ";", "int", "Src1Idx", "=", "AMDGPU", "::", "getNamedOperandIdx", "(", "Opc", ",", "AMDGPU", "::", "OpName", "::", "src1", ")", ";", "if", "(", "Src1Idx", "==", "-", "1", ")", "return", "false", ";", "MachineOperand", "&", "Src1", "=", "MI", ".", "getOperand", "(", "Src1Idx", ")", ";", "if", "(", "Src1", ".", "isImm", "(", ")", ")", "{", "if", "(", "!", "isVOP2", "(", "MI", ".", "getOpcode", "(", ")", ")", "&&", "!", "isVOP3", "(", "MI", ".", "getOpcode", "(", ")", ")", ")", "return", "false", ";", "}", "else", "if", "(", "Src1", ".", "isReg", "(", ")", ")", "{", "if", "(", "hasModifiersSet", "(", "MI", ",", "AMDGPU", "::", "OpName", "::", "src0_modifiers", ")", "||", "hasModifiersSet", "(", "MI", ",", "AMDGPU", "::", "OpName", "::", "src1_modifiers", ")", ")", "return", "false", ";", "}", "else", "return", "false", ";", "return", "fixCommutedOpIndices", "(", "SrcOpIdx0", ",", "SrcOpIdx1", ",", "Src0Idx", ",", "Src1Idx", ")", ";", "}", ""], "natrual_language": ["Returns", "true", "iff", "the", "routine", "could", "find", "two", "commutable", "operands", "in", "the", "given", "machine", "instruction", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU::getNamedOperandIdx", "AMDGPU::OpName", "1", "AMDGPU::getNamedOperandIdx", "AMDGPU::OpName", "1", "AMDGPU::OpName", "AMDGPU::OpName"], "File": "SIInstrInfo100", "Func": "findCommutedOpIndices", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3973, "Length": 221, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "isFMAFasterThanFMulAndFAdd", "(", "const", "MachineFunction", "&", "MF", ",", "EVT", "VT", ")", "const", "{", "VT", "=", "VT", ".", "getScalarType", "(", ")", ";", "if", "(", "!", "VT", ".", "isSimple", "(", ")", ")", "return", "false", ";", "switch", "(", "VT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "case", "MVT", "::", "f16", ":", "return", "Subtarget", ".", "hasStdExtZfh", "(", ")", ";", "case", "MVT", "::", "f32", ":", "return", "Subtarget", ".", "hasStdExtF", "(", ")", ";", "case", "MVT", "::", "f64", ":", "return", "Subtarget", ".", "hasStdExtD", "(", ")", ";", "default", ":", "break", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "an", "FMA", "operation", "is", "faster", "than", "a", "pair", "of", "fmul", "and", "fadd", "instructions", "."], "TS_V_token": ["RI5CY", "RISCV", "MVT::f16", "MVT::f32", "MVT::f64"], "File": "RISCVISelLowering", "Func": "isFMAFasterThanFMulAndFAdd", "Target": "RI5CY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3974, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "exp2_immediate_p", "(", "rtx", "op", ",", "machine_mode", "mode", ",", "int", "low", ",", "int", "high", ")", "{", "machine_mode", "int_mode", ";", "HOST_WIDE_INT", "val", ";", "unsigned", "char", "arr", "[", "16", "]", ";", "int", "bytes", ",", "i", ",", "j", ";", "gcc_assert", "(", "GET_CODE", "(", "op", ")", "==", "CONST_INT", "||", "GET_CODE", "(", "op", ")", "==", "CONST_DOUBLE", "||", "GET_CODE", "(", "op", ")", "==", "CONST_VECTOR", ")", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "CONST_VECTOR", "&&", "!", "const_vector_immediate_p", "(", "op", ")", ")", "return", "0", ";", "if", "(", "GET_MODE", "(", "op", ")", "!=", "VOIDmode", ")", "mode", "=", "GET_MODE", "(", "op", ")", ";", "constant_to_array", "(", "mode", ",", "op", ",", "arr", ")", ";", "if", "(", "VECTOR_MODE_P", "(", "mode", ")", ")", "mode", "=", "GET_MODE_INNER", "(", "mode", ")", ";", "bytes", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "int_mode", "=", "mode_for_size", "(", "GET_MODE_BITSIZE", "(", "mode", ")", ",", "MODE_INT", ",", "0", ")", ";", "for", "(", "i", "=", "bytes", ";", "i", "<", "16", ";", "i", "+=", "bytes", ")", "for", "(", "j", "=", "0", ";", "j", "<", "bytes", ";", "j", "++", ")", "if", "(", "arr", "[", "j", "]", "!=", "arr", "[", "i", "+", "j", "]", ")", "return", "0", ";", "val", "=", "arr", "[", "0", "]", ";", "for", "(", "j", "=", "1", ";", "j", "<", "bytes", ";", "j", "++", ")", "val", "=", "(", "val", "<<", "8", ")", "|", "arr", "[", "j", "]", ";", "val", "=", "trunc_int_for_mode", "(", "val", ",", "int_mode", ")", ";", "gcc_assert", "(", "mode", "==", "SFmode", ")", ";", "if", "(", "mode", "==", "SFmode", ")", "{", "int", "exp", "=", "(", "val", ">>", "23", ")", "-", "127", ";", "return", "val", ">", "0", "&&", "(", "val", "&", "0x007fffff", ")", "==", "0", "&&", "exp", ">=", "low", "&&", "exp", "<=", "high", ";", "}", "return", "FALSE", ";", "}", ""], "natrual_language": ["TRUE", "when", "op", "is", "an", "immediate", "and", "an", "exact", "power", "of", "2", ",", "and", "given", "that", "OP", "is", "2^scale", ",", "scale", ">", "=", "LOW", "&", "&", "scale", "<", "=", "HIGH", ".", "When", "OP", "is", "a", "vector", ",", "all", "entries", "must", "be", "the", "same", "."], "TS_V_token": ["spu", "16", "0", "0", "16", "0", "0", "0", "1", "8", "23", "127", "0", "0x007fffff", "0"], "File": "spu", "Func": "exp2_immediate_p", "Target": "spu", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3975, "Length": 275, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "AArch64TTIImpl", "::", "getIntImmCost", "(", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "unsigned", "BitSize", "=", "Ty", "->", "getPrimitiveSizeInBits", "(", ")", ";", "if", "(", "BitSize", "==", "0", ")", "return", "~", "0U", ";", "APInt", "ImmVal", "=", "Imm", ";", "if", "(", "BitSize", "&", "0x3f", ")", "ImmVal", "=", "Imm", ".", "sext", "(", "(", "BitSize", "+", "63", ")", "&", "~", "0x3fU", ")", ";", "int", "Cost", "=", "0", ";", "for", "(", "unsigned", "ShiftVal", "=", "0", ";", "ShiftVal", "<", "BitSize", ";", "ShiftVal", "+=", "64", ")", "{", "APInt", "Tmp", "=", "ImmVal", ".", "ashr", "(", "ShiftVal", ")", ".", "sextOrTrunc", "(", "64", ")", ";", "int64_t", "Val", "=", "Tmp", ".", "getSExtValue", "(", ")", ";", "Cost", "+=", "getIntImmCost", "(", "Val", ")", ";", "}", "return", "std", "::", "max", "(", "1", ",", "Cost", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "."], "TS_V_token": ["AArch64", "AArch64", "0", "0U", "0x3f", "63", "0x3fU", "0", "0", "64", "64", "1"], "File": "AArch64TargetTransformInfo2", "Func": "getIntImmCost", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3976, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "h8300_return_addr_rtx", "(", "int", "count", ",", "rtx", "frame", ")", "{", "rtx", "ret", ";", "if", "(", "count", "==", "0", ")", "ret", "=", "gen_rtx_MEM", "(", "Pmode", ",", "gen_rtx_REG", "(", "Pmode", ",", "RETURN_ADDRESS_POINTER_REGNUM", ")", ")", ";", "else", "if", "(", "flag_omit_frame_pointer", ")", "return", "(", "rtx", ")", "0", ";", "else", "ret", "=", "gen_rtx_MEM", "(", "Pmode", ",", "memory_address", "(", "Pmode", ",", "plus_constant", "(", "Pmode", ",", "frame", ",", "UNITS_PER_WORD", ")", ")", ")", ";", "set_mem_alias_set", "(", "ret", ",", "get_frame_alias_set", "(", ")", ")", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "RETURN_ADDR_RTX", "."], "TS_V_token": ["h8300", "0", "0"], "File": "h8300", "Func": "h8300_return_addr_rtx", "Target": "h8300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3977, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86TargetMachine", "::", "X86TargetMachine", "(", "const", "Target", "&", "T", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Optional", "<", "Reloc", "::", "Model", ">", "RM", ",", "Optional", "<", "CodeModel", "::", "Model", ">", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "JIT", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "getEffectiveRelocModel", "(", "TT", ",", "JIT", ",", "RM", ")", ",", "getEffectiveX86CodeModel", "(", "CM", ",", "JIT", ",", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ")", ",", "OL", ")", ",", "TLOF", "(", "createTLOF", "(", "getTargetTriple", "(", ")", ")", ")", "{", "if", "(", "TT", ".", "isPS4", "(", ")", "||", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", "{", "this", "->", "Options", ".", "TrapUnreachable", "=", "true", ";", "this", "->", "Options", ".", "NoTrapAfterNoreturn", "=", "TT", ".", "isOSBinFormatMachO", "(", ")", ";", "}", "setMachineOutliner", "(", "true", ")", ";", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "X86", "target", "."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86TargetMachine17", "Func": "X86TargetMachine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3978, "Length": 152, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_legitimize_move", "(", "machine_mode", "mode", ",", "rtx", "dest", ",", "rtx", "src", ")", "{", "if", "(", "!", "register_operand", "(", "dest", ",", "mode", ")", "&&", "!", "reg_or_0_operand", "(", "src", ",", "mode", ")", ")", "{", "mips_emit_move", "(", "dest", ",", "force_reg", "(", "mode", ",", "src", ")", ")", ";", "return", "true", ";", "}", "if", "(", "CONSTANT_P", "(", "src", ")", "&&", "!", "move_operand", "(", "src", ",", "mode", ")", ")", "{", "mips_legitimize_const_move", "(", "mode", ",", "dest", ",", "src", ")", ";", "set_unique_reg_note", "(", "get_last_insn", "(", ")", ",", "REG_EQUAL", ",", "copy_rtx", "(", "src", ")", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["If", "(", "set", "DEST", "SRC", ")", "is", "not", "a", "valid", "instruction", ",", "emit", "an", "equivalent", "sequence", "that", "is", "valid", "."], "TS_V_token": ["mips"], "File": "mips4", "Func": "mips_legitimize_move", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3979, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMBaseRegisterInfo", "::", "emitLoadConstPool", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "const", "DebugLoc", "&", "dl", ",", "unsigned", "DestReg", ",", "unsigned", "SubIdx", ",", "int", "Val", ",", "ARMCC", "::", "CondCodes", "Pred", ",", "unsigned", "PredReg", ",", "unsigned", "MIFlags", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MachineConstantPool", "*", "ConstantPool", "=", "MF", ".", "getConstantPool", "(", ")", ";", "const", "Constant", "*", "C", "=", "ConstantInt", "::", "get", "(", "Type", "::", "getInt32Ty", "(", "MF", ".", "getFunction", "(", ")", ".", "getContext", "(", ")", ")", ",", "Val", ")", ";", "unsigned", "Idx", "=", "ConstantPool", "->", "getConstantPoolIndex", "(", "C", ",", "4", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ARM", "::", "LDRcp", ")", ")", ".", "addReg", "(", "DestReg", ",", "getDefRegState", "(", "true", ")", ",", "SubIdx", ")", ".", "addConstantPoolIndex", "(", "Idx", ")", ".", "addImm", "(", "0", ")", ".", "add", "(", "predOps", "(", "Pred", ",", "PredReg", ")", ")", ".", "setMIFlags", "(", "MIFlags", ")", ";", "}", ""], "natrual_language": ["emitLoadConstPool", "-", "Emits", "a", "load", "from", "constpool", "to", "materialize", "the", "specified", "immediate", "."], "TS_V_token": ["ARM", "ARM", "ARMCC::CondCodes", "4", "ARM::LDRcp", "0"], "File": "ARMBaseRegisterInfo17", "Func": "emitLoadConstPool", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3980, "Length": 174, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "aarch64_function_arg_boundary", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "unsigned", "int", "abi_break", ";", "unsigned", "int", "alignment", "=", "aarch64_function_arg_alignment", "(", "mode", ",", "type", ",", "&", "abi_break", ")", ";", "alignment", "=", "MIN", "(", "MAX", "(", "alignment", ",", "PARM_BOUNDARY", ")", ",", "STACK_BOUNDARY", ")", ";", "if", "(", "abi_break", "&", "warn_psabi", ")", "{", "abi_break", "=", "MIN", "(", "MAX", "(", "abi_break", ",", "PARM_BOUNDARY", ")", ",", "STACK_BOUNDARY", ")", ";", "if", "(", "alignment", "!=", "abi_break", ")", "inform", "(", "input_location", ",", "\"parameter passing for argument of type \"", "\"%qT changed in GCC 9.1\"", ",", "type", ")", ";", "}", "return", "alignment", ";", "}", ""], "natrual_language": ["Implement", "FUNCTION_ARG_BOUNDARY", ".", "Every", "parameter", "gets", "at", "least", "PARM_BOUNDARY", "bits", "of", "alignment", ",", "but", "will", "be", "given", "anything", "up", "to", "STACK_BOUNDARY", "bits", "if", "the", "type", "requires", "it", ".", "This", "makes", "sure", "that", "both", "before", "and", "after", "the", "layout", "of", "each", "argument", ",", "the", "Next", "Stacked", "Argument", "Address", "(", "NSAA", ")", "will", "have", "a", "minimum", "alignment", "of", "8", "bytes", "."], "TS_V_token": ["aarch64", "\"parameter passing for argument of type \"", "\"%qT changed in GCC 9.1\""], "File": "aarch641", "Func": "aarch64_function_arg_boundary", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3981, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "FISCInstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "OS", ",", "unsigned", "RegNo", ")", "const", "{", "OS", "<<", "StringRef", "(", "getRegisterName", "(", "RegNo", ")", ")", ".", "lower", "(", ")", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["FISC", "FISC"], "File": "FISCInstPrinter", "Func": "printRegName", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3982, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "WebAssemblyTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "SDValue", "(", ")", ";", "case", "ISD", "::", "VECTOR_SHUFFLE", ":", "return", "performVECTOR_SHUFFLECombine", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "SIGN_EXTEND", ":", "case", "ISD", "::", "ZERO_EXTEND", ":", "return", "performVectorExtendCombine", "(", "N", ",", "DCI", ")", ";", "case", "ISD", "::", "FP_TO_SINT_SAT", ":", "case", "ISD", "::", "FP_TO_UINT_SAT", ":", "case", "ISD", "::", "FP_ROUND", ":", "case", "ISD", "::", "CONCAT_VECTORS", ":", "return", "performVectorTruncZeroCombine", "(", "N", ",", "DCI", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "will", "be", "invoked", "for", "all", "target", "nodes", "and", "for", "any", "target-independent", "nodes", "that", "the", "target", "has", "registered", "with", "invoke", "it", "for", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "ISD::VECTOR_SHUFFLE", "ISD::SIGN_EXTEND", "ISD::ZERO_EXTEND", "ISD::FP_TO_SINT_SAT", "ISD::FP_TO_UINT_SAT", "ISD::FP_ROUND", "ISD::CONCAT_VECTORS"], "File": "WebAssemblyISelLowering15", "Func": "PerformDAGCombine", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3983, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "s390_extzv_shift_ok", "(", "int", "bitsize", ",", "int", "rotl", ",", "unsigned", "HOST_WIDE_INT", "contig", ")", "{", "int", "start", ",", "end", ";", "bool", "ok", ";", "ok", "=", "s390_contiguous_bitmask_nowrap_p", "(", "contig", ",", "bitsize", ",", "&", "start", ",", "&", "end", ")", ";", "gcc_assert", "(", "ok", ")", ";", "if", "(", "rotl", ">=", "0", ")", "return", "(", "64", "-", "end", ">=", "rotl", ")", ";", "else", "{", "rotl", "=", "-", "rotl", "+", "(", "64", "-", "bitsize", ")", ";", "return", "(", "start", ">=", "rotl", ")", ";", "}", "}", ""], "natrual_language": ["Check", "whether", "a", "rotate", "of", "ROTL", "followed", "by", "an", "AND", "of", "CONTIG", "is", "equivalent", "to", "a", "shift", "followed", "by", "the", "AND", ".", "In", "particular", ",", "CONTIG", "should", "not", "overlap", "the", "(", "rotated", ")", "bit", "0/bit", "63", "gap", ".", "Negative", "values", "for", "ROTL", "indicate", "a", "rotate", "to", "the", "right", "."], "TS_V_token": ["s390", "0", "64", "64"], "File": "s390", "Func": "s390_extzv_shift_ok", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 3984, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "X86TargetMachine", "::", "X86TargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "Triple", "(", "TT", ")", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "TLOF", "(", "createTLOF", "(", "Triple", "(", "getTargetTriple", "(", ")", ")", ")", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "*", "this", ",", "Options", ".", "StackAlignmentOverride", ")", "{", "if", "(", "Options", ".", "FloatABIType", "==", "FloatABI", "::", "Default", ")", "this", "->", "Options", ".", "FloatABIType", "=", "FloatABI", "::", "Hard", ";", "if", "(", "Subtarget", ".", "isTargetWin64", "(", ")", ")", "this", "->", "Options", ".", "TrapUnreachable", "=", "true", ";", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "X86", "target", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86TargetMachine117", "Func": "X86TargetMachine", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3985, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isImm", "(", ")", "const", "override", "{", "return", "Kind", "==", "Integer", "||", "Kind", "==", "Float", "||", "Kind", "==", "Symbol", ";", "}", ""], "natrual_language": ["isImm", "-", "Is", "this", "an", "immediate", "operand", "?"], "TS_V_token": ["WebAssembly"], "File": "WebAssemblyAsmParser (2)", "Func": "isImm", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 3986, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Cpu0TargetObjectFile", "::", "IsGlobalInSmallSection", "(", "const", "GlobalValue", "*", "GV", ",", "const", "TargetMachine", "&", "TM", ",", "SectionKind", "Kind", ")", "const", "{", "const", "Cpu0Subtarget", "&", "Subtarget", "=", "TM", ".", "getSubtarget", "<", "Cpu0Subtarget", ">", "(", ")", ";", "if", "(", "!", "Subtarget", ".", "useSmallSection", "(", ")", ")", "return", "false", ";", "const", "GlobalVariable", "*", "GVA", "=", "dyn_cast", "<", "GlobalVariable", ">", "(", "GV", ")", ";", "if", "(", "!", "GVA", ")", "return", "false", ";", "if", "(", "!", "Kind", ".", "isBSS", "(", ")", "&&", "!", "Kind", ".", "isDataRel", "(", ")", ")", "return", "false", ";", "if", "(", "Kind", ".", "isMergeable1ByteCString", "(", ")", ")", "return", "false", ";", "Type", "*", "Ty", "=", "GV", "->", "getType", "(", ")", "->", "getElementType", "(", ")", ";", "return", "IsInSmallSection", "(", "TM", ".", "getDataLayout", "(", ")", "->", "getTypeAllocSize", "(", "Ty", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "global", "address", "should", "be", "placed", "into", "small", "data/bss", "section", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0", "Cpu0"], "File": "Cpu0TargetObjectFile1", "Func": "IsGlobalInSmallSection", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3987, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "scalar_chain", "::", "build", "(", "bitmap", "candidates", ",", "unsigned", "insn_uid", ")", "{", "queue", "=", "BITMAP_ALLOC", "(", "NULL", ")", ";", "bitmap_set_bit", "(", "queue", ",", "insn_uid", ")", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"Building chain #%d...\\n\"", ",", "chain_id", ")", ";", "while", "(", "!", "bitmap_empty_p", "(", "queue", ")", ")", "{", "insn_uid", "=", "bitmap_first_set_bit", "(", "queue", ")", ";", "bitmap_clear_bit", "(", "queue", ",", "insn_uid", ")", ";", "bitmap_clear_bit", "(", "candidates", ",", "insn_uid", ")", ";", "add_insn", "(", "candidates", ",", "insn_uid", ")", ";", "}", "if", "(", "dump_file", ")", "{", "fprintf", "(", "dump_file", ",", "\"Collected chain #%d...\\n\"", ",", "chain_id", ")", ";", "fprintf", "(", "dump_file", ",", "\" insns: \"", ")", ";", "dump_bitmap", "(", "dump_file", ",", "insns", ")", ";", "if", "(", "!", "bitmap_empty_p", "(", "defs_conv", ")", ")", "{", "bitmap_iterator", "bi", ";", "unsigned", "id", ";", "const", "char", "*", "comma", "=", "\"\"", ";", "fprintf", "(", "dump_file", ",", "\" defs to convert: \"", ")", ";", "EXECUTE_IF_SET_IN_BITMAP", "(", "defs_conv", ",", "0", ",", "id", ",", "bi", ")", "{", "fprintf", "(", "dump_file", ",", "\"%sr%d\"", ",", "comma", ",", "id", ")", ";", "comma", "=", "\", \"", ";", "}", "fprintf", "(", "dump_file", ",", "\"\\n\"", ")", ";", "}", "}", "BITMAP_FREE", "(", "queue", ")", ";", "}", ""], "natrual_language": ["Build", "new", "chain", "starting", "from", "insn", "INSN_UID", "recursively", "adding", "all", "dependent", "uses", "and", "definitions", ".", "Return", "true", "if", "OK", ",", "false", "if", "the", "chain", "discovery", "was", "aborted", "."], "TS_V_token": ["i386", "\"Building chain #%d...\\n\"", "\"Collected chain #%d...\\n\"", "\" insns: \"", "\"\"", "\" defs to convert: \"", "0", "\"%sr%d\"", "\", \"", "\"\\n\""], "File": "i386-features", "Func": "build", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3988, "Length": 176, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "rs6000_debug_adjust_cost", "(", "rtx_insn", "*", "insn", ",", "int", "dep_type", ",", "rtx_insn", "*", "dep_insn", ",", "int", "cost", ",", "unsigned", "int", "dw", ")", "{", "int", "ret", "=", "rs6000_adjust_cost", "(", "insn", ",", "dep_type", ",", "dep_insn", ",", "cost", ",", "dw", ")", ";", "if", "(", "ret", "!=", "cost", ")", "{", "const", "char", "*", "dep", ";", "switch", "(", "dep_type", ")", "{", "default", ":", "dep", "=", "\"unknown depencency\"", ";", "break", ";", "case", "REG_DEP_TRUE", ":", "dep", "=", "\"data dependency\"", ";", "break", ";", "case", "REG_DEP_OUTPUT", ":", "dep", "=", "\"output dependency\"", ";", "break", ";", "case", "REG_DEP_ANTI", ":", "dep", "=", "\"anti depencency\"", ";", "break", ";", "}", "fprintf", "(", "stderr", ",", "\"\\nrs6000_adjust_cost, final cost = %d, orig cost = %d, \"", "\"%s, insn:\\n\"", ",", "ret", ",", "cost", ",", "dep", ")", ";", "debug_rtx", "(", "insn", ")", ";", "}", "return", "ret", ";", "}", ""], "natrual_language": ["Debug", "version", "of", "rs6000_adjust_cost", "."], "TS_V_token": ["rs6000", "\"unknown depencency\"", "\"data dependency\"", "\"output dependency\"", "\"anti depencency\"", "\"\\nrs6000_adjust_cost, final cost = %d, orig cost = %d, \"", "\"%s, insn:\\n\""], "File": "rs6000", "Func": "rs6000_debug_adjust_cost", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3989, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"SI Lower control flow instructions\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AMDGPU", "\"SI Lower control flow instructions\""], "File": "SILowerControlFlow (2)", "Func": "getPassName", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 3990, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"MSP430 Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["MSP430", "\"MSP430 Assembly Printer\""], "File": "MSP430AsmPrinter (2)1", "Func": "getPassName", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3991, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "RISCV_EXPAND_ATOMIC_PSEUDO_NAME", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["RI5CY", "RISCV"], "File": "RISCVExpandAtomicPseudoInsts", "Func": "getPassName", "Target": "RI5CY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3992, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "has_part_mult", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "body", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "body", ")", "!=", "SET", ")", "return", "false", ";", "rtx", "src", "=", "SET_SRC", "(", "body", ")", ";", "if", "(", "GET_CODE", "(", "src", ")", "!=", "SUBREG", ")", "return", "false", ";", "rtx", "inner", "=", "XEXP", "(", "src", ",", "0", ")", ";", "return", "(", "GET_CODE", "(", "inner", ")", "==", "MULT", ")", ";", "}", ""], "natrual_language": ["INSN", "is", "known", "to", "contain", "a", "SUBREG", ",", "which", "we", "can", "normally", "handle", ",", "but", "if", "the", "SUBREG", "itself", "contains", "a", "MULT", "then", "we", "need", "to", "leave", "it", "alone", "to", "avoid", "turning", "a", "mult_hipart", "into", "a", "mult_lopart", ",", "for", "example", "."], "TS_V_token": ["rs6000", "0"], "File": "rs6000-p8swap", "Func": "has_part_mult", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3993, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "rs6000_emit_cbranch", "(", "enum", "rtx_code", "code", ",", "rtx", "loc", ")", "{", "rtx", "condition_rtx", ",", "loc_ref", ";", "condition_rtx", "=", "rs6000_generate_compare", "(", "code", ")", ";", "loc_ref", "=", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "loc", ")", ";", "emit_jump_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "pc_rtx", ",", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "condition_rtx", ",", "loc_ref", ",", "pc_rtx", ")", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "branch", "of", "kind", "CODE", "to", "location", "LOC", "."], "TS_V_token": ["rs6000"], "File": "rs60003", "Func": "rs6000_emit_cbranch", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 3994, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MSP430RegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "SPAdj", "==", "0", "&&", "\"Unexpected\"", ")", ";", "unsigned", "i", "=", "0", ";", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "TargetFrameInfo", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", ";", "DebugLoc", "dl", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "\"Instr doesn't have FrameIndex operand!\"", ")", ";", "}", "int", "FrameIndex", "=", "MI", ".", "getOperand", "(", "i", ")", ".", "getIndex", "(", ")", ";", "unsigned", "BasePtr", "=", "(", "TFI", "->", "hasFP", "(", "MF", ")", "?", "MSP430", "::", "FPW", ":", "MSP430", "::", "SPW", ")", ";", "int", "Offset", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectOffset", "(", "FrameIndex", ")", ";", "Offset", "+=", "2", ";", "if", "(", "!", "TFI", "->", "hasFP", "(", "MF", ")", ")", "Offset", "+=", "MF", ".", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", ";", "else", "Offset", "+=", "2", ";", "Offset", "+=", "MI", ".", "getOperand", "(", "i", "+", "1", ")", ".", "getImm", "(", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "MSP430", "::", "ADD16ri", ")", "{", "MI", ".", "setDesc", "(", "TII", ".", "get", "(", "MSP430", "::", "MOV16rr", ")", ")", ";", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "BasePtr", ",", "false", ")", ";", "if", "(", "Offset", "==", "0", ")", "return", ";", "unsigned", "DstReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "if", "(", "Offset", "<", "0", ")", "BuildMI", "(", "MBB", ",", "llvm", "::", "next", "(", "II", ")", ",", "dl", ",", "TII", ".", "get", "(", "MSP430", "::", "SUB16ri", ")", ",", "DstReg", ")", ".", "addReg", "(", "DstReg", ")", ".", "addImm", "(", "-", "Offset", ")", ";", "else", "BuildMI", "(", "MBB", ",", "llvm", "::", "next", "(", "II", ")", ",", "dl", ",", "TII", ".", "get", "(", "MSP430", "::", "ADD16ri", ")", ",", "DstReg", ")", ".", "addReg", "(", "DstReg", ")", ".", "addImm", "(", "Offset", ")", ";", "return", ";", "}", "MI", ".", "getOperand", "(", "i", ")", ".", "ChangeToRegister", "(", "BasePtr", ",", "false", ")", ";", "MI", ".", "getOperand", "(", "i", "+", "1", ")", ".", "ChangeToImmediate", "(", "Offset", ")", ";", "}", ""], "natrual_language": ["This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "."], "TS_V_token": ["MSP430", "MSP430", "0", "\"Unexpected\"", "0", "\"Instr doesn't have FrameIndex operand!\"", "MSP430::FPW", "MSP430::SPW", "2", "2", "1", "MSP430::ADD16ri", "MSP430::MOV16rr", "0", "0", "0", "MSP430::SUB16ri", "MSP430::ADD16ri", "1"], "File": "MSP430RegisterInfo17", "Func": "eliminateFrameIndex", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3995, "Length": 385, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "MBlazeRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "MBlaze", "::", "R0", ")", ";", "Reserved", ".", "set", "(", "MBlaze", "::", "R1", ")", ";", "Reserved", ".", "set", "(", "MBlaze", "::", "R2", ")", ";", "Reserved", ".", "set", "(", "MBlaze", "::", "R13", ")", ";", "Reserved", ".", "set", "(", "MBlaze", "::", "R14", ")", ";", "Reserved", ".", "set", "(", "MBlaze", "::", "R15", ")", ";", "Reserved", ".", "set", "(", "MBlaze", "::", "R16", ")", ";", "Reserved", ".", "set", "(", "MBlaze", "::", "R17", ")", ";", "Reserved", ".", "set", "(", "MBlaze", "::", "R18", ")", ";", "Reserved", ".", "set", "(", "MBlaze", "::", "R19", ")", ";", "return", "Reserved", ";", "}", ""], "natrual_language": ["getReservedRegs", "-", "Returns", "a", "bitset", "indexed", "by", "physical", "register", "number", "indicating", "if", "a", "register", "is", "a", "special", "register", "that", "has", "particular", "uses", "and", "should", "be", "considered", "unavailable", "at", "all", "times", ",", "e.g", "."], "TS_V_token": ["MBlaze", "MBlaze", "MBlaze::R0", "MBlaze::R1", "MBlaze::R2", "MBlaze::R13", "MBlaze::R14", "MBlaze::R15", "MBlaze::R16", "MBlaze::R17", "MBlaze::R18", "MBlaze::R19"], "File": "MBlazeRegisterInfo", "Func": "getReservedRegs", "Target": "MBlaze", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 3996, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "hasDependence", "(", "const", "SUnit", "*", "SUd", ",", "const", "SUnit", "*", "SUu", ",", "const", "HexagonInstrInfo", "&", "QII", ")", "{", "if", "(", "SUd", "->", "Succs", ".", "size", "(", ")", "==", "0", ")", "return", "false", ";", "if", "(", "QII", ".", "mayBeCurLoad", "(", "*", "SUd", "->", "getInstr", "(", ")", ")", ")", "return", "false", ";", "if", "(", "QII", ".", "canExecuteInBundle", "(", "*", "SUd", "->", "getInstr", "(", ")", ",", "*", "SUu", "->", "getInstr", "(", ")", ")", ")", "return", "false", ";", "for", "(", "const", "auto", "&", "S", ":", "SUd", "->", "Succs", ")", "{", "if", "(", "S", ".", "isCtrl", "(", ")", ")", "continue", ";", "if", "(", "S", ".", "getSUnit", "(", ")", "==", "SUu", "&&", "S", ".", "getLatency", "(", ")", ">", "0", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "there", "is", "a", "dependence", "between", "SUd", "and", "SUu", "."], "TS_V_token": ["Hexagon", "Hexagon", "0", "0"], "File": "HexagonMachineScheduler11", "Func": "hasDependence", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 3997, "Length": 124, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "std", "::", "string", "getGraphName", "(", "const", "agraph", "&", "G", ")", "{", "return", "G", ".", "MF", "->", "getFunction", "(", ")", "->", "getName", "(", ")", ";", "}", ""], "natrual_language": ["Generate", "a", "title", "for", "the", "graph", "in", "DOT", "format", "."], "TS_V_token": ["Patmos"], "File": "PatmosFunctionSplitter", "Func": "getGraphName", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 3998, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMPassConfig", "::", "addPreSched2", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "if", "(", "!", "getARMSubtarget", "(", ")", ".", "isThumb1Only", "(", ")", ")", "{", "PM", ".", "add", "(", "createARMLoadStoreOptimizationPass", "(", ")", ")", ";", "printAndVerify", "(", "\"After ARM load / store optimizer\"", ")", ";", "}", "if", "(", "getARMSubtarget", "(", ")", ".", "hasNEON", "(", ")", ")", "PM", ".", "add", "(", "createExecutionDependencyFixPass", "(", "&", "ARM", "::", "DPRRegClass", ")", ")", ";", "}", "PM", ".", "add", "(", "createARMExpandPseudoPass", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "if", "(", "!", "getARMSubtarget", "(", ")", ".", "isThumb1Only", "(", ")", ")", "addPass", "(", "IfConverterID", ")", ";", "}", "if", "(", "getARMSubtarget", "(", ")", ".", "isThumb2", "(", ")", ")", "PM", ".", "add", "(", "createThumb2ITBlockPass", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "after", "prolog-epilog", "insertion", "and", "before", "the", "second", "instruction", "scheduling", "pass", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "\"After ARM load / store optimizer\"", "ARM", "ARM::DPRRegClass", "ARM", "ARM", "ARM"], "File": "ARMTargetMachine11", "Func": "addPreSched2", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 3999, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "alpha_adjust_cost", "(", "rtx", "insn", ",", "rtx", "link", ",", "rtx", "dep_insn", ",", "int", "cost", ")", "{", "enum", "attr_type", "insn_type", ",", "dep_insn_type", ";", "if", "(", "REG_NOTE_KIND", "(", "link", ")", "!=", "0", ")", "return", "cost", ";", "if", "(", "recog_memoized", "(", "insn", ")", "<", "0", "||", "recog_memoized", "(", "dep_insn", ")", "<", "0", ")", "return", "cost", ";", "insn_type", "=", "get_attr_type", "(", "insn", ")", ";", "dep_insn_type", "=", "get_attr_type", "(", "dep_insn", ")", ";", "if", "(", "dep_insn_type", "==", "TYPE_ILD", "||", "dep_insn_type", "==", "TYPE_FLD", "||", "dep_insn_type", "==", "TYPE_LDSYM", ")", "cost", "+=", "alpha_memory_latency", "-", "1", ";", "return", "cost", ";", "}", ""], "natrual_language": ["Adjust", "the", "cost", "of", "a", "scheduling", "dependency", ".", "Return", "the", "new", "cost", "of", "a", "dependency", "LINK", "or", "INSN", "on", "DEP_INSN", ".", "COST", "is", "the", "current", "cost", "."], "TS_V_token": ["alpha", "0", "0", "0", "1"], "File": "alpha3", "Func": "alpha_adjust_cost", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4000, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "PPCTargetLowering", "::", "LowerCall", "(", "TargetLowering", "::", "CallLoweringInfo", "&", "CLI", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "SelectionDAG", "&", "DAG", "=", "CLI", ".", "DAG", ";", "SDLoc", "&", "dl", "=", "CLI", ".", "DL", ";", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", "=", "CLI", ".", "Outs", ";", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", "=", "CLI", ".", "OutVals", ";", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", "=", "CLI", ".", "Ins", ";", "SDValue", "Chain", "=", "CLI", ".", "Chain", ";", "SDValue", "Callee", "=", "CLI", ".", "Callee", ";", "bool", "&", "isTailCall", "=", "CLI", ".", "IsTailCall", ";", "CallingConv", "::", "ID", "CallConv", "=", "CLI", ".", "CallConv", ";", "bool", "isVarArg", "=", "CLI", ".", "IsVarArg", ";", "bool", "isPatchPoint", "=", "CLI", ".", "IsPatchPoint", ";", "ImmutableCallSite", "CS", "=", "CLI", ".", "CS", ";", "if", "(", "isTailCall", ")", "{", "if", "(", "Subtarget", ".", "useLongCalls", "(", ")", "&&", "!", "(", "CS", "&&", "CS", ".", "isMustTailCall", "(", ")", ")", ")", "isTailCall", "=", "false", ";", "else", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", "&&", "Subtarget", ".", "isPPC64", "(", ")", ")", "isTailCall", "=", "IsEligibleForTailCallOptimization_64SVR4", "(", "Callee", ",", "CallConv", ",", "CS", ",", "isVarArg", ",", "Outs", ",", "Ins", ",", "DAG", ")", ";", "else", "isTailCall", "=", "IsEligibleForTailCallOptimization", "(", "Callee", ",", "CallConv", ",", "isVarArg", ",", "Ins", ",", "DAG", ")", ";", "if", "(", "isTailCall", ")", "{", "++", "NumTailCalls", ";", "if", "(", "!", "getTargetMachine", "(", ")", ".", "Options", ".", "GuaranteedTailCallOpt", ")", "++", "NumSiblingCalls", ";", "assert", "(", "isa", "<", "GlobalAddressSDNode", ">", "(", "Callee", ")", "&&", "\"Callee should be an llvm::Function object.\"", ")", ";", "LLVM_DEBUG", "(", "const", "GlobalValue", "*", "GV", "=", "cast", "<", "GlobalAddressSDNode", ">", "(", "Callee", ")", "->", "getGlobal", "(", ")", ";", "const", "unsigned", "Width", "=", "80", "-", "strlen", "(", "\"TCO caller: \"", ")", "-", "strlen", "(", "\", callee linkage: 0, 0\"", ")", ";", "dbgs", "(", ")", "<<", "\"TCO caller: \"", "<<", "left_justify", "(", "DAG", ".", "getMachineFunction", "(", ")", ".", "getName", "(", ")", ",", "Width", ")", "<<", "\", callee linkage: \"", "<<", "GV", "->", "getVisibility", "(", ")", "<<", "\", \"", "<<", "GV", "->", "getLinkage", "(", ")", "<<", "\"\\n\"", ")", ";", "}", "}", "if", "(", "!", "isTailCall", "&&", "CS", "&&", "CS", ".", "isMustTailCall", "(", ")", ")", "report_fatal_error", "(", "\"failed to perform tail call elimination on a call \"", "\"site marked musttail\"", ")", ";", "if", "(", "Subtarget", ".", "useLongCalls", "(", ")", "&&", "isa", "<", "GlobalAddressSDNode", ">", "(", "Callee", ")", "&&", "!", "isTailCall", ")", "Callee", "=", "LowerGlobalAddress", "(", "Callee", ",", "DAG", ")", ";", "if", "(", "Subtarget", ".", "isSVR4ABI", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "isPPC64", "(", ")", ")", "return", "LowerCall_64SVR4", "(", "Chain", ",", "Callee", ",", "CallConv", ",", "isVarArg", ",", "isTailCall", ",", "isPatchPoint", ",", "Outs", ",", "OutVals", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ",", "CS", ")", ";", "else", "return", "LowerCall_32SVR4", "(", "Chain", ",", "Callee", ",", "CallConv", ",", "isVarArg", ",", "isTailCall", ",", "isPatchPoint", ",", "Outs", ",", "OutVals", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ",", "CS", ")", ";", "}", "return", "LowerCall_Darwin", "(", "Chain", ",", "Callee", ",", "CallConv", ",", "isVarArg", ",", "isTailCall", ",", "isPatchPoint", ",", "Outs", ",", "OutVals", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ",", "CS", ")", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "calls", "into", "the", "specified", "DAG", "."], "TS_V_token": ["PowerPC", "PPC", "ISD::OutputArg", "ISD::InputArg", "PPC", "\"Callee should be an llvm::Function object.\"", "80", "\"TCO caller: \"", "\", callee linkage: 0, 0\"", "\"TCO caller: \"", "\", callee linkage: \"", "\", \"", "\"\\n\"", "\"failed to perform tail call elimination on a call \"", "\"site marked musttail\"", "PPC"], "File": "PPCISelLowering (2)7", "Func": "LowerCall", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4001, "Length": 472, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AVRTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Don't know how to custom lower this!\"", ")", ";", "case", "ISD", "::", "SHL", ":", "case", "ISD", "::", "SRA", ":", "case", "ISD", "::", "SRL", ":", "case", "ISD", "::", "ROTL", ":", "case", "ISD", "::", "ROTR", ":", "return", "LowerShifts", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "LowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BR_CC", ":", "return", "LowerBR_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SETCC", ":", "return", "LowerSETCC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SDIVREM", ":", "case", "ISD", "::", "UDIVREM", ":", "return", "LowerDivRem", "(", "Op", ",", "DAG", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["AVR", "AVR", "\"Don't know how to custom lower this!\"", "ISD::SHL", "ISD::SRA", "ISD::SRL", "ISD::ROTL", "ISD::ROTR", "ISD::GlobalAddress", "ISD::BlockAddress", "ISD::BR_CC", "ISD::SELECT_CC", "ISD::SETCC", "ISD::VASTART", "ISD::SDIVREM", "ISD::UDIVREM"], "File": "AVRISelLowering", "Func": "LowerOperation", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4002, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCTTIImpl", "::", "getUnrollingPreferences", "(", "Loop", "*", "L", ",", "ScalarEvolution", "&", "SE", ",", "TTI", "::", "UnrollingPreferences", "&", "UP", ")", "{", "if", "(", "ST", "->", "getDarwinDirective", "(", ")", "==", "PPC", "::", "DIR_A2", ")", "{", "UP", ".", "Partial", "=", "UP", ".", "Runtime", "=", "true", ";", "UP", ".", "AllowExpensiveTripCount", "=", "true", ";", "}", "BaseT", "::", "getUnrollingPreferences", "(", "L", ",", "SE", ",", "UP", ")", ";", "}", ""], "natrual_language": ["Get", "target-customized", "preferences", "for", "the", "generic", "loop", "unrolling", "transformation", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::DIR_A2"], "File": "PPCTargetTransformInfo", "Func": "getUnrollingPreferences", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4003, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mips_find_pic_call_symbol", "(", "rtx_insn", "*", "insn", ",", "rtx", "reg", ",", "bool", "recurse_p", ")", "{", "df_ref", "use", ";", "struct", "df_link", "*", "defs", ";", "rtx", "symbol", ";", "use", "=", "df_find_use", "(", "insn", ",", "regno_reg_rtx", "[", "REGNO", "(", "reg", ")", "]", ")", ";", "if", "(", "!", "use", ")", "return", "NULL_RTX", ";", "defs", "=", "DF_REF_CHAIN", "(", "use", ")", ";", "if", "(", "!", "defs", ")", "return", "NULL_RTX", ";", "symbol", "=", "mips_pic_call_symbol_from_set", "(", "defs", "->", "ref", ",", "reg", ",", "recurse_p", ")", ";", "if", "(", "!", "symbol", ")", "return", "NULL_RTX", ";", "for", "(", "defs", "=", "defs", "->", "next", ";", "defs", ";", "defs", "=", "defs", "->", "next", ")", "{", "rtx", "other", ";", "other", "=", "mips_pic_call_symbol_from_set", "(", "defs", "->", "ref", ",", "reg", ",", "recurse_p", ")", ";", "if", "(", "!", "rtx_equal_p", "(", "symbol", ",", "other", ")", ")", "return", "NULL_RTX", ";", "}", "return", "symbol", ";", "}", ""], "natrual_language": ["Find", "the", "definition", "of", "the", "use", "of", "REG", "in", "INSN", ".", "See", "if", "the", "definition", "is", "one", "of", "the", "ways", "we", "load", "a", "register", "with", "a", "symbol", "address", "for", "a", "mips_use_pic_fn_addr_reg_p", "call", ".", "If", "it", "is", "return", "the", "symbol", "reference", "of", "the", "function", ",", "otherwise", "return", "NULL_RTX", ".", "RECURSE_P", "is", "as", "for", "mips_pic_call_symbol_from_set", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_find_pic_call_symbol", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4004, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIInstrInfo", "::", "isInlineConstant", "(", "const", "MachineOperand", "&", "MO", ")", "const", "{", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "return", "MO", ".", "getImm", "(", ")", ">=", "-", "16", "&&", "MO", ".", "getImm", "(", ")", "<=", "64", ";", "}", "if", "(", "MO", ".", "isFPImm", "(", ")", ")", "{", "return", "MO", ".", "getFPImm", "(", ")", "->", "isExactlyValue", "(", "0.0", ")", "||", "MO", ".", "getFPImm", "(", ")", "->", "isExactlyValue", "(", "0.5", ")", "||", "MO", ".", "getFPImm", "(", ")", "->", "isExactlyValue", "(", "-", "0.5", ")", "||", "MO", ".", "getFPImm", "(", ")", "->", "isExactlyValue", "(", "1.0", ")", "||", "MO", ".", "getFPImm", "(", ")", "->", "isExactlyValue", "(", "-", "1.0", ")", "||", "MO", ".", "getFPImm", "(", ")", "->", "isExactlyValue", "(", "2.0", ")", "||", "MO", ".", "getFPImm", "(", ")", "->", "isExactlyValue", "(", "-", "2.0", ")", "||", "MO", ".", "getFPImm", "(", ")", "->", "isExactlyValue", "(", "4.0", ")", "||", "MO", ".", "getFPImm", "(", ")", "->", "isExactlyValue", "(", "-", "4.0", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["returns", "true", "if", "the", "operand", "OpIdx", "in", "MI", "is", "a", "valid", "inline", "immediate", "."], "TS_V_token": ["R600", "SI", "16", "64", "0.0", "0.5", "0.5", "1.0", "1.0", "2.0", "2.0", "4.0", "4.0"], "File": "SIInstrInfo117", "Func": "isInlineConstant", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4005, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ia64_setup_incoming_varargs", "(", "cumulative_args_t", "cum", ",", "machine_mode", "mode", ",", "tree", "type", ",", "int", "*", "pretend_size", ",", "int", "second_time", "ATTRIBUTE_UNUSED", ")", "{", "CUMULATIVE_ARGS", "next_cum", "=", "*", "get_cumulative_args", "(", "cum", ")", ";", "ia64_function_arg_advance", "(", "pack_cumulative_args", "(", "&", "next_cum", ")", ",", "mode", ",", "type", ",", "1", ")", ";", "if", "(", "next_cum", ".", "words", "<", "MAX_ARGUMENT_SLOTS", ")", "{", "int", "n", "=", "MAX_ARGUMENT_SLOTS", "-", "next_cum", ".", "words", ";", "*", "pretend_size", "=", "n", "*", "UNITS_PER_WORD", ";", "cfun", "->", "machine", "->", "n_varargs", "=", "n", ";", "}", "}", ""], "natrual_language": ["Do", "any", "needed", "setup", "for", "a", "variadic", "function", ".", "CUM", "has", "not", "been", "updated", "for", "the", "last", "named", "argument", "which", "has", "type", "TYPE", "and", "mode", "MODE", ".", "We", "generate", "the", "actual", "spill", "instructions", "during", "prologue", "generation", "."], "TS_V_token": ["ia64", "1"], "File": "ia644", "Func": "ia64_setup_incoming_varargs", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4006, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "insn_true_dependent_p", "(", "rtx", "x", ",", "rtx", "y", ")", "{", "rtx", "tmp", ";", "if", "(", "!", "INSN_P", "(", "x", ")", "||", "!", "INSN_P", "(", "y", ")", ")", "return", "0", ";", "tmp", "=", "PATTERN", "(", "y", ")", ";", "note_stores", "(", "PATTERN", "(", "x", ")", ",", "insn_dependent_p_1", ",", "&", "tmp", ")", ";", "return", "(", "tmp", "==", "NULL_RTX", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "anything", "in", "insn", "X", "is", "true", "dependent", "on", "anything", "in", "insn", "Y", "."], "TS_V_token": ["mt", "0"], "File": "mt", "Func": "insn_true_dependent_p", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4007, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMCallLowering", "::", "lowerReturn", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Value", "*", "Val", ",", "ArrayRef", "<", "Register", ">", "VRegs", ")", "const", "{", "assert", "(", "!", "Val", "==", "VRegs", ".", "empty", "(", ")", "&&", "\"Return value without a vreg\"", ")", ";", "auto", "const", "&", "ST", "=", "MIRBuilder", ".", "getMF", "(", ")", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "unsigned", "Opcode", "=", "ST", ".", "getReturnOpcode", "(", ")", ";", "auto", "Ret", "=", "MIRBuilder", ".", "buildInstrNoInsert", "(", "Opcode", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "if", "(", "!", "lowerReturnVal", "(", "MIRBuilder", ",", "Val", ",", "VRegs", ",", "Ret", ")", ")", "return", "false", ";", "MIRBuilder", ".", "insertInstr", "(", "Ret", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "hook", "behaves", "as", "the", "extended", "lowerReturn", "function", ",", "but", "for", "targets", "that", "do", "not", "support", "swifterror", "value", "promotion", "."], "TS_V_token": ["ARM", "ARM", "\"Return value without a vreg\"", "ARM", "ARMCC::AL"], "File": "ARMCallLowering", "Func": "lowerReturn", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4008, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ATTRIBUTE_UNUSED", "c6x_elf_unique_section", "(", "tree", "decl", ",", "int", "reloc", ")", "{", "const", "char", "*", "prefix", "=", "NULL", ";", "bool", "one_only", "=", "DECL_COMDAT_GROUP", "(", "decl", ")", "&&", "!", "HAVE_COMDAT_GROUP", ";", "if", "(", "c6x_in_small_data_p", "(", "decl", ")", ")", "{", "switch", "(", "categorize_decl_for_section", "(", "decl", ",", "reloc", ")", ")", "{", "case", "SECCAT_SDATA", ":", "prefix", "=", "one_only", "?", "\".s\"", ":", "\".neardata\"", ";", "break", ";", "case", "SECCAT_SBSS", ":", "prefix", "=", "one_only", "?", "\".sb\"", ":", "\".bss\"", ";", "break", ";", "case", "SECCAT_SRODATA", ":", "prefix", "=", "one_only", "?", "\".s2\"", ":", "\".rodata\"", ";", "break", ";", "case", "SECCAT_RODATA_MERGE_STR", ":", "case", "SECCAT_RODATA_MERGE_STR_INIT", ":", "case", "SECCAT_RODATA_MERGE_CONST", ":", "case", "SECCAT_RODATA", ":", "case", "SECCAT_DATA", ":", "case", "SECCAT_DATA_REL", ":", "case", "SECCAT_DATA_REL_LOCAL", ":", "case", "SECCAT_DATA_REL_RO", ":", "case", "SECCAT_DATA_REL_RO_LOCAL", ":", "gcc_unreachable", "(", ")", ";", "default", ":", "break", ";", "}", "}", "else", "{", "switch", "(", "categorize_decl_for_section", "(", "decl", ",", "reloc", ")", ")", "{", "case", "SECCAT_DATA", ":", "case", "SECCAT_DATA_REL", ":", "case", "SECCAT_DATA_REL_LOCAL", ":", "case", "SECCAT_DATA_REL_RO", ":", "case", "SECCAT_DATA_REL_RO_LOCAL", ":", "prefix", "=", "one_only", "?", "\".fd\"", ":", "\".fardata\"", ";", "break", ";", "case", "SECCAT_BSS", ":", "prefix", "=", "one_only", "?", "\".fb\"", ":", "\".far\"", ";", "break", ";", "case", "SECCAT_RODATA", ":", "case", "SECCAT_RODATA_MERGE_STR", ":", "case", "SECCAT_RODATA_MERGE_STR_INIT", ":", "case", "SECCAT_RODATA_MERGE_CONST", ":", "prefix", "=", "one_only", "?", "\".fr\"", ":", "\".const\"", ";", "break", ";", "case", "SECCAT_SRODATA", ":", "case", "SECCAT_SDATA", ":", "case", "SECCAT_SBSS", ":", "gcc_unreachable", "(", ")", ";", "default", ":", "break", ";", "}", "}", "if", "(", "prefix", ")", "{", "const", "char", "*", "name", ",", "*", "linkonce", ";", "char", "*", "string", ";", "name", "=", "IDENTIFIER_POINTER", "(", "DECL_ASSEMBLER_NAME", "(", "decl", ")", ")", ";", "name", "=", "targetm", ".", "strip_name_encoding", "(", "name", ")", ";", "linkonce", "=", "one_only", "?", "\".gnu.linkonce\"", ":", "\"\"", ";", "string", "=", "ACONCAT", "(", "(", "linkonce", ",", "prefix", ",", "\".\"", ",", "name", ",", "NULL", ")", ")", ";", "set_decl_section_name", "(", "decl", ",", "string", ")", ";", "return", ";", "}", "default_unique_section", "(", "decl", ",", "reloc", ")", ";", "}", ""], "natrual_language": ["Build", "up", "a", "unique", "section", "name", ",", "expressed", "as", "a", "STRING_CST", "node", ",", "and", "assign", "it", "to", "DECL_SECTION_NAME", "(", "decl", ")", ".", "RELOC", "indicates", "whether", "the", "initial", "value", "of", "EXP", "requires", "link-time", "relocations", "."], "TS_V_token": ["c6x", "\".s\"", "\".neardata\"", "\".sb\"", "\".bss\"", "\".s2\"", "\".rodata\"", "\".fd\"", "\".fardata\"", "\".fb\"", "\".far\"", "\".fr\"", "\".const\"", "\".gnu.linkonce\"", "\"\"", "\".\""], "File": "c6x", "Func": "c6x_elf_unique_section", "Target": "c6x", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 4009, "Length": 294, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "M680x0FrameLowering", "::", "mergeSPUpdates", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "bool", "doMergeWithPrevious", ")", "const", "{", "if", "(", "(", "doMergeWithPrevious", "&&", "MBBI", "==", "MBB", ".", "begin", "(", ")", ")", "||", "(", "!", "doMergeWithPrevious", "&&", "MBBI", "==", "MBB", ".", "end", "(", ")", ")", ")", "return", "0", ";", "MachineBasicBlock", "::", "iterator", "PI", "=", "doMergeWithPrevious", "?", "std", "::", "prev", "(", "MBBI", ")", ":", "MBBI", ";", "MachineBasicBlock", "::", "iterator", "NI", "=", "doMergeWithPrevious", "?", "nullptr", ":", "std", "::", "next", "(", "MBBI", ")", ";", "unsigned", "Opc", "=", "PI", "->", "getOpcode", "(", ")", ";", "int", "Offset", "=", "0", ";", "if", "(", "!", "doMergeWithPrevious", "&&", "NI", "!=", "MBB", ".", "end", "(", ")", "&&", "NI", "->", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", "{", "return", "Offset", ";", "}", "if", "(", "Opc", "==", "M680x0", "::", "ADD32ri", "&&", "PI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "==", "StackPtr", ")", "{", "assert", "(", "PI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "StackPtr", ")", ";", "Offset", "+=", "PI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "MBB", ".", "erase", "(", "PI", ")", ";", "if", "(", "!", "doMergeWithPrevious", ")", "MBBI", "=", "NI", ";", "}", "else", "if", "(", "Opc", "==", "M680x0", "::", "SUB32ri", "&&", "PI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "==", "StackPtr", ")", "{", "assert", "(", "PI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", "==", "StackPtr", ")", ";", "Offset", "-=", "PI", "->", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "MBB", ".", "erase", "(", "PI", ")", ";", "if", "(", "!", "doMergeWithPrevious", ")", "MBBI", "=", "NI", ";", "}", "return", "Offset", ";", "}", ""], "natrual_language": ["Check", "the", "instruction", "before/after", "the", "passed", "instruction", "."], "TS_V_token": ["M680x0", "M680x0", "0", "0", "M680x0::ADD32ri", "0", "1", "2", "M680x0::SUB32ri", "0", "1", "2"], "File": "M680x0FrameLowering", "Func": "mergeSPUpdates", "Target": "M680x0", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4010, "Length": 265, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMCallLowering", "::", "lowerReturn", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Value", "*", "Val", ",", "ArrayRef", "<", "Register", ">", "VRegs", ",", "FunctionLoweringInfo", "&", "FLI", ")", "const", "{", "assert", "(", "!", "Val", "==", "VRegs", ".", "empty", "(", ")", "&&", "\"Return value without a vreg\"", ")", ";", "auto", "const", "&", "ST", "=", "MIRBuilder", ".", "getMF", "(", ")", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "unsigned", "Opcode", "=", "ST", ".", "getReturnOpcode", "(", ")", ";", "auto", "Ret", "=", "MIRBuilder", ".", "buildInstrNoInsert", "(", "Opcode", ")", ".", "add", "(", "predOps", "(", "ARMCC", "::", "AL", ")", ")", ";", "if", "(", "!", "lowerReturnVal", "(", "MIRBuilder", ",", "Val", ",", "VRegs", ",", "Ret", ")", ")", "return", "false", ";", "MIRBuilder", ".", "insertInstr", "(", "Ret", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "hook", "behaves", "as", "the", "extended", "lowerReturn", "function", ",", "but", "for", "targets", "that", "do", "not", "support", "swifterror", "value", "promotion", "."], "TS_V_token": ["ARM", "ARM", "\"Return value without a vreg\"", "ARM", "ARMCC::AL"], "File": "ARMCallLowering14", "Func": "lowerReturn", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4011, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "IsEligibleForTailCallOptimization", "(", "CallSDNode", "*", "TheCall", ",", "SDValue", "Ret", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "if", "(", "!", "PerformTailCallOpt", "||", "TheCall", "->", "isVarArg", "(", ")", ")", "return", "false", ";", "if", "(", "CheckTailCallReturnConstraints", "(", "TheCall", ",", "Ret", ")", ")", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "unsigned", "CallerCC", "=", "MF", ".", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", ";", "unsigned", "CalleeCC", "=", "TheCall", "->", "getCallingConv", "(", ")", ";", "if", "(", "CalleeCC", "==", "CallingConv", "::", "Fast", "&&", "CallerCC", "==", "CalleeCC", ")", "{", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "TheCall", "->", "getNumArgs", "(", ")", ";", "i", "++", ")", "{", "ISD", "::", "ArgFlagsTy", "Flags", "=", "TheCall", "->", "getArgFlags", "(", "i", ")", ";", "if", "(", "Flags", ".", "isByVal", "(", ")", ")", "return", "false", ";", "}", "SDValue", "Callee", "=", "TheCall", "->", "getCallee", "(", ")", ";", "if", "(", "getTargetMachine", "(", ")", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "PIC_", ")", "return", "true", ";", "if", "(", "GlobalAddressSDNode", "*", "G", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "Callee", ")", ")", "return", "G", "->", "getGlobal", "(", ")", "->", "hasHiddenVisibility", "(", ")", "||", "G", "->", "getGlobal", "(", ")", "->", "hasProtectedVisibility", "(", ")", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["IsEligibleForTailCallOptimization", "-", "Check", "whether", "the", "call", "is", "eligible", "for", "tail", "call", "optimization", "."], "TS_V_token": ["PowerPC", "PPC", "0", "ISD::ArgFlagsTy"], "File": "PPCISelLowering123", "Func": "IsEligibleForTailCallOptimization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4012, "Length": 197, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "char", "AArch64Subtarget", "::", "ClassifyGlobalReference", "(", "const", "GlobalValue", "*", "GV", ",", "const", "TargetMachine", "&", "TM", ")", "const", "{", "if", "(", "TM", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Large", "&&", "isTargetMachO", "(", ")", ")", "return", "AArch64II", "::", "MO_GOT", ";", "if", "(", "!", "TM", ".", "shouldAssumeDSOLocal", "(", "*", "GV", "->", "getParent", "(", ")", ",", "GV", ")", ")", "return", "AArch64II", "::", "MO_GOT", ";", "if", "(", "TM", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Small", "&&", "GV", "->", "hasExternalWeakLinkage", "(", ")", ")", "return", "AArch64II", "::", "MO_GOT", ";", "return", "AArch64II", "::", "MO_NO_FLAG", ";", "}", ""], "natrual_language": ["ClassifyGlobalReference", "-", "Find", "the", "target", "operand", "flags", "that", "describe", "how", "a", "global", "value", "should", "be", "referenced", "for", "the", "current", "subtarget", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64II::MO_GOT", "AArch64II::MO_GOT", "AArch64II::MO_GOT", "AArch64II::MO_NO_FLAG"], "File": "AArch64Subtarget29", "Func": "ClassifyGlobalReference", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4013, "Length": 90, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "record_loads", "(", "tag_map_t", "&", "tag_map", ",", "struct", "loop", "*", "loop", ")", "{", "rtx_insn", "*", "insn", ";", "basic_block", "*", "body", ",", "bb", ";", "body", "=", "get_loop_body", "(", "loop", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "loop", "->", "num_nodes", ";", "i", "++", ")", "{", "bb", "=", "body", "[", "i", "]", ";", "FOR_BB_INSNS", "(", "bb", ",", "insn", ")", "{", "rtx", "base", "=", "NULL_RTX", ";", "rtx", "dest", "=", "NULL_RTX", ";", "rtx", "offset", "=", "NULL_RTX", ";", "bool", "writeback", "=", "false", ";", "bool", "ldp", "=", "false", ";", "if", "(", "!", "INSN_P", "(", "insn", ")", "||", "DEBUG_INSN_P", "(", "insn", ")", ")", "continue", ";", "if", "(", "get_load_info", "(", "insn", ",", "loop", ",", "&", "dest", ",", "&", "base", ",", "&", "offset", ",", "&", "writeback", ",", "&", "ldp", ")", ")", "{", "tag_insn_info", "*", "i", "=", "new", "tag_insn_info", "(", "insn", ",", "dest", ",", "base", ",", "offset", ",", "writeback", ",", "ldp", ")", ";", "rtx", "tag", "=", "GEN_INT", "(", "i", "->", "tag", "(", ")", ")", ";", "tag_map", ".", "get_or_insert", "(", "tag", ")", ".", "safe_push", "(", "i", ")", ";", "}", "}", "}", "if", "(", "dump_file", ")", "{", "fprintf", "(", "dump_file", ",", "\"Loop %d: Tag map generated.\\n\"", ",", "loop", "->", "num", ")", ";", "tag_map", ".", "traverse", "<", "void", "*", ",", "dump_insn_list", ">", "(", "NULL", ")", ";", "}", "tag_map", ".", "traverse", "<", "void", "*", ",", "single_dest_per_chain", ">", "(", "NULL", ")", ";", "}", ""], "natrual_language": ["Record", "all", "loads", "in", "LOOP", "into", "TAG_MAP", "indexed", "by", "the", "falkor", "hardware", "prefetcher", "memory", "tags", "."], "TS_V_token": ["aarch64", "0", "\"Loop %d: Tag map generated.\\n\""], "File": "falkor-tag-collision-avoidance", "Func": "record_loads", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4014, "Length": 218, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "reg_class", "init_unavailable", "(", "tag_insn_info", "*", "insn_info", ",", "tag_map_t", "&", "tag_map", ",", "du_head_p", "head", ",", "HARD_REG_SET", "*", "unavailable", ")", "{", "unsigned", "dest", "=", "head", "->", "regno", ";", "enum", "reg_class", "super_class", "=", "NO_REGS", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "insn_info", "->", "dest", ")", ";", "CLEAR_HARD_REG_SET", "(", "*", "unavailable", ")", ";", "for", "(", "struct", "du_chain", "*", "tmp", "=", "head", "->", "first", ";", "tmp", ";", "tmp", "=", "tmp", "->", "next_use", ")", "{", "if", "(", "DEBUG_INSN_P", "(", "tmp", "->", "insn", ")", ")", "continue", ";", "*", "unavailable", "|=", "~", "reg_class_contents", "[", "tmp", "->", "cl", "]", ";", "super_class", "=", "reg_class_superunion", "[", "(", "int", ")", "super_class", "]", "[", "(", "int", ")", "tmp", "->", "cl", "]", ";", "}", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "FIRST_PSEUDO_REGISTER", ";", "i", "++", ")", "if", "(", "fixed_regs", "[", "i", "]", "||", "global_regs", "[", "i", "]", ")", "add_to_hard_reg_set", "(", "unavailable", ",", "mode", ",", "i", ")", ";", "arg_pair_t", "arg", "=", "arg_pair_t", "(", "insn_info", ",", "unavailable", ")", ";", "tag_map", ".", "traverse", "<", "arg_pair_t", "*", ",", "check_colliding_tags", ">", "(", "&", "arg", ")", ";", "ignore_all_aliases", "(", "unavailable", ",", "mode", ",", "dest", "&", "0xf", ")", ";", "return", "super_class", ";", "}", ""], "natrual_language": ["Initialize", "and", "build", "a", "set", "of", "hard", "register", "numbers", "UNAVAILABLE", "to", "avoid", "for", "renaming", ".", "INSN_INFO", "is", "the", "original", "insn", ",", "TAG_MAP", "is", "the", "map", "of", "the", "list", "of", "insns", "indexed", "by", "their", "tags", ",", "HEAD", "is", "the", "def/use", "chain", "head", "of", "the", "destination", "register", "of", "the", "original", "insn", ".", "The", "routine", "returns", "the", "super", "class", "of", "register", "classes", "that", "may", "be", "used", "during", "the", "renaming", "."], "TS_V_token": ["aarch64", "0", "0xf"], "File": "falkor-tag-collision-avoidance", "Func": "init_unavailable", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4015, "Length": 185, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "r10k_needs_protection_p", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "CALL_P", "(", "insn", ")", ")", "return", "r10k_needs_protection_p_call", "(", "PATTERN", "(", "insn", ")", ")", ";", "if", "(", "mips_r10k_cache_barrier", "==", "R10K_CACHE_BARRIER_STORE", ")", "{", "note_stores", "(", "PATTERN", "(", "insn", ")", ",", "r10k_needs_protection_p_store", ",", "&", "insn", ")", ";", "return", "insn", "==", "NULL_RTX", ";", "}", "return", "r10k_needs_protection_p_1", "(", "PATTERN", "(", "insn", ")", ",", "insn", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "instruction", "INSN", "needs", "to", "be", "protected", "by", "an", "R10K", "cache", "barrier", "."], "TS_V_token": ["mips"], "File": "mips4", "Func": "r10k_needs_protection_p", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4016, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_output_savres_externs", "(", "FILE", "*", "file", ")", "{", "rs6000_stack_t", "*", "info", "=", "rs6000_stack_info", "(", ")", ";", "if", "(", "TARGET_DEBUG_STACK", ")", "debug_stack_info", "(", "info", ")", ";", "if", "(", "info", "->", "first_fp_reg_save", "<", "64", "&&", "!", "TARGET_MACHO", "&&", "!", "TARGET_ELF", ")", "{", "char", "*", "name", ";", "int", "regno", "=", "info", "->", "first_fp_reg_save", "-", "32", ";", "if", "(", "(", "info", "->", "savres_strategy", "&", "SAVE_INLINE_FPRS", ")", "==", "0", ")", "{", "bool", "lr", "=", "(", "info", "->", "savres_strategy", "&", "SAVE_NOINLINE_FPRS_SAVES_LR", ")", "!=", "0", ";", "int", "sel", "=", "SAVRES_SAVE", "|", "SAVRES_FPR", "|", "(", "lr", "?", "SAVRES_LR", ":", "0", ")", ";", "name", "=", "rs6000_savres_routine_name", "(", "info", ",", "regno", ",", "sel", ")", ";", "fprintf", "(", "file", ",", "\"\\t.extern %s\\n\"", ",", "name", ")", ";", "}", "if", "(", "(", "info", "->", "savres_strategy", "&", "REST_INLINE_FPRS", ")", "==", "0", ")", "{", "bool", "lr", "=", "(", "info", "->", "savres_strategy", "&", "REST_NOINLINE_FPRS_DOESNT_RESTORE_LR", ")", "==", "0", ";", "int", "sel", "=", "SAVRES_FPR", "|", "(", "lr", "?", "SAVRES_LR", ":", "0", ")", ";", "name", "=", "rs6000_savres_routine_name", "(", "info", ",", "regno", ",", "sel", ")", ";", "fprintf", "(", "file", ",", "\"\\t.extern %s\\n\"", ",", "name", ")", ";", "}", "}", "}", ""], "natrual_language": ["Output", ".extern", "statements", "for", "the", "save/restore", "routines", "we", "use", "."], "TS_V_token": ["powerpcspe", "64", "32", "0", "0", "0", "\"\\t.extern %s\\n\"", "0", "0", "0", "\"\\t.extern %s\\n\""], "File": "powerpcspe", "Func": "rs6000_output_savres_externs", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4017, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_builtin_type_compatible", "(", "tree", "parmtype", ",", "tree", "argtype", ")", "{", "if", "(", "parmtype", "==", "error_mark_node", ")", "return", "false", ";", "if", "(", "INTEGRAL_TYPE_P", "(", "parmtype", ")", "&&", "INTEGRAL_TYPE_P", "(", "argtype", ")", ")", "return", "true", ";", "if", "(", "TARGET_IEEEQUAD", "&&", "TARGET_LONG_DOUBLE_128", "&&", "is_float128_p", "(", "parmtype", ")", "&&", "is_float128_p", "(", "argtype", ")", ")", "return", "true", ";", "if", "(", "POINTER_TYPE_P", "(", "parmtype", ")", "&&", "POINTER_TYPE_P", "(", "argtype", ")", ")", "{", "parmtype", "=", "TREE_TYPE", "(", "parmtype", ")", ";", "argtype", "=", "TREE_TYPE", "(", "argtype", ")", ";", "if", "(", "TYPE_READONLY", "(", "argtype", ")", ")", "parmtype", "=", "build_qualified_type", "(", "parmtype", ",", "TYPE_QUAL_CONST", ")", ";", "}", "return", "lang_hooks", ".", "types_compatible_p", "(", "parmtype", ",", "argtype", ")", ";", "}", ""], "natrual_language": ["Return", "true", "iff", "ARGTYPE", "can", "be", "compatibly", "passed", "as", "PARMTYPE", "."], "TS_V_token": ["rs6000"], "File": "rs6000-c", "Func": "rs6000_builtin_type_compatible", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4018, "Length": 109, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "const", "RISCVRegisterInfo", "*", "RI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "auto", "*", "RVFI", "=", "MF", ".", "getInfo", "<", "RISCVMachineFunctionInfo", ">", "(", ")", ";", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "const", "RISCVInstrInfo", "*", "TII", "=", "STI", ".", "getInstrInfo", "(", ")", ";", "Register", "FPReg", "=", "getFPReg", "(", "STI", ")", ";", "Register", "SPReg", "=", "getSPReg", "(", "STI", ")", ";", "auto", "LastFrameDestroy", "=", "std", "::", "prev", "(", "MBBI", ",", "MFI", ".", "getCalleeSavedInfo", "(", ")", ".", "size", "(", ")", ")", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", ";", "uint64_t", "FPOffset", "=", "StackSize", "-", "RVFI", "->", "getVarArgsSaveSize", "(", ")", ";", "if", "(", "RI", "->", "needsStackRealignment", "(", "MF", ")", "||", "MFI", ".", "hasVarSizedObjects", "(", ")", ")", "{", "assert", "(", "hasFP", "(", "MF", ")", "&&", "\"frame pointer should not have been eliminated\"", ")", ";", "adjustReg", "(", "MBB", ",", "LastFrameDestroy", ",", "DL", ",", "SPReg", ",", "FPReg", ",", "-", "FPOffset", ",", "MachineInstr", "::", "FrameDestroy", ")", ";", "}", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "for", "(", "auto", "&", "I", "=", "LastFrameDestroy", ";", "I", "!=", "MBBI", ";", "++", "I", ")", "{", "if", "(", "I", "->", "mayLoad", "(", ")", "&&", "I", "->", "getOperand", "(", "0", ")", ".", "isReg", "(", ")", ")", "{", "Register", "DestReg", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "if", "(", "DestReg", "==", "FPReg", ")", "{", "unsigned", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createDefCfa", "(", "nullptr", ",", "RI", "->", "getDwarfRegNum", "(", "SPReg", ",", "true", ")", ",", "-", "FPOffset", ")", ")", ";", "BuildMI", "(", "MBB", ",", "std", "::", "next", "(", "I", ")", ",", "DL", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "break", ";", "}", "}", "}", "}", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", "=", "MFI", ".", "getCalleeSavedInfo", "(", ")", ";", "for", "(", "const", "auto", "&", "Entry", ":", "CSI", ")", "{", "Register", "Reg", "=", "Entry", ".", "getReg", "(", ")", ";", "unsigned", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createRestore", "(", "nullptr", ",", "RI", "->", "getDwarfRegNum", "(", "Reg", ",", "true", ")", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "}", "adjustReg", "(", "MBB", ",", "MBBI", ",", "DL", ",", "SPReg", ",", "SPReg", ",", "StackSize", ",", "MachineInstr", "::", "FrameDestroy", ")", ";", "unsigned", "CFIIndex", "=", "MF", ".", "addFrameInst", "(", "MCCFIInstruction", "::", "createDefCfaOffset", "(", "nullptr", ",", "0", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "TargetOpcode", "::", "CFI_INSTRUCTION", ")", ")", ".", "addCFIIndex", "(", "CFIIndex", ")", ";", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "RISCV", "RISCV", "\"frame pointer should not have been eliminated\"", "0", "0", "0"], "File": "RISCVFrameLowering26", "Func": "emitEpilogue", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4019, "Length": 452, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "isPredicable", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "Opcode", "==", "SystemZ", "::", "Return", "||", "Opcode", "==", "SystemZ", "::", "Trap", "||", "Opcode", "==", "SystemZ", "::", "CallJG", "||", "Opcode", "==", "SystemZ", "::", "CallBR", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "instruction", "can", "be", "predicated", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ::Return", "SystemZ::Trap", "SystemZ::CallJG", "SystemZ::CallBR"], "File": "SystemZInstrInfo (2)2", "Func": "isPredicable", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4020, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_save_reg", "(", "rtx", "reg", ",", "rtx", "mem", ")", "{", "if", "(", "GET_MODE", "(", "reg", ")", "==", "DFmode", "&&", "!", "TARGET_FLOAT64", ")", "{", "rtx", "x1", ",", "x2", ";", "if", "(", "mips_split_64bit_move_p", "(", "mem", ",", "reg", ")", ")", "mips_split_64bit_move", "(", "mem", ",", "reg", ")", ";", "else", "emit_move_insn", "(", "mem", ",", "reg", ")", ";", "x1", "=", "mips_frame_set", "(", "mips_subword", "(", "mem", ",", "0", ")", ",", "mips_subword", "(", "reg", ",", "0", ")", ")", ";", "x2", "=", "mips_frame_set", "(", "mips_subword", "(", "mem", ",", "1", ")", ",", "mips_subword", "(", "reg", ",", "1", ")", ")", ";", "mips_set_frame_expr", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "x1", ",", "x2", ")", ")", ")", ";", "}", "else", "{", "if", "(", "TARGET_MIPS16", "&&", "REGNO", "(", "reg", ")", "!=", "GP_REG_FIRST", "+", "31", "&&", "!", "M16_REG_P", "(", "REGNO", "(", "reg", ")", ")", ")", "{", "emit_move_insn", "(", "MIPS_PROLOGUE_TEMP", "(", "GET_MODE", "(", "reg", ")", ")", ",", "reg", ")", ";", "emit_move_insn", "(", "mem", ",", "MIPS_PROLOGUE_TEMP", "(", "GET_MODE", "(", "reg", ")", ")", ")", ";", "}", "else", "emit_move_insn", "(", "mem", ",", "reg", ")", ";", "mips_set_frame_expr", "(", "mips_frame_set", "(", "mem", ",", "reg", ")", ")", ";", "}", "}", ""], "natrual_language": ["Save", "register", "REG", "to", "MEM", ".", "Make", "the", "instruction", "frame-related", "."], "TS_V_token": ["mips", "0", "0", "1", "1", "2", "31"], "File": "mips3", "Func": "mips_save_reg", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4021, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isCandidateToMergeOrPair", "(", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "MI", ".", "hasOrderedMemoryRef", "(", ")", ")", "return", "false", ";", "assert", "(", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", "||", "MI", ".", "getOperand", "(", "1", ")", ".", "isFI", "(", ")", ")", "&&", "\"Expected a reg or frame index operand.\"", ")", ";", "if", "(", "!", "MI", ".", "getOperand", "(", "2", ")", ".", "isImm", "(", ")", ")", "return", "false", ";", "if", "(", "MI", ".", "getOperand", "(", "1", ")", ".", "isReg", "(", ")", ")", "{", "unsigned", "BaseReg", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "&", "getRegisterInfo", "(", ")", ";", "if", "(", "MI", ".", "modifiesRegister", "(", "BaseReg", ",", "TRI", ")", ")", "return", "false", ";", "}", "if", "(", "isLdStPairSuppressed", "(", "MI", ")", ")", "return", "false", ";", "if", "(", "Subtarget", ".", "isPaired128Slow", "(", ")", ")", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "AArch64", "::", "LDURQi", ":", "case", "AArch64", "::", "STURQi", ":", "case", "AArch64", "::", "LDRQui", ":", "case", "AArch64", "::", "STRQui", ":", "return", "false", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "is", "a", "load/store", "that", "can", "be", "potentially", "paired/merged", "."], "TS_V_token": ["AArch64", "AArch64", "1", "1", "\"Expected a reg or frame index operand.\"", "2", "1", "1", "AArch64::LDURQi", "AArch64::STURQi", "AArch64::LDRQui", "AArch64::STRQui"], "File": "AArch64InstrInfo (2)1", "Func": "isCandidateToMergeOrPair", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4022, "Length": 182, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "unsigned", "int", "mips_get_compress_off_flags", "(", "tree", "attributes", ")", "{", "unsigned", "int", "flags", "=", "0", ";", "if", "(", "lookup_attribute", "(", "\"nocompression\"", ",", "attributes", ")", "!=", "NULL", ")", "flags", "|=", "MASK_MIPS16", "|", "MASK_MICROMIPS", ";", "if", "(", "lookup_attribute", "(", "\"nomips16\"", ",", "attributes", ")", "!=", "NULL", ")", "flags", "|=", "MASK_MIPS16", ";", "if", "(", "lookup_attribute", "(", "\"nomicromips\"", ",", "attributes", ")", "!=", "NULL", ")", "flags", "|=", "MASK_MICROMIPS", ";", "return", "flags", ";", "}", ""], "natrual_language": ["Return", "the", "set", "of", "compression", "modes", "that", "are", "explicitly", "forbidden", "by", "the", "attributes", "in", "ATTRIBUTES", "."], "TS_V_token": ["mips", "0", "\"nocompression\"", "\"nomips16\"", "\"nomicromips\""], "File": "mips", "Func": "mips_get_compress_off_flags", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4023, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "mode_suffix_index", "function_resolver", "::", "resolve_gather_address", "(", "unsigned", "int", "argno", ",", "type_suffix_index", "type", ",", "bool", "load_p", ")", "{", "tree", "actual", "=", "get_argument_type", "(", "argno", ")", ";", "if", "(", "actual", "==", "error_mark_node", ")", "return", "MODE_none", ";", "if", "(", "displacement_units", "(", ")", "!=", "UNITS_none", ")", "{", "if", "(", "scalar_argument_p", "(", "argno", ")", ")", "return", "resolve_sv_displacement", "(", "argno", "+", "1", ",", "type", ",", "load_p", ")", ";", "if", "(", "!", "VECTOR_TYPE_P", "(", "actual", ")", ")", "{", "error_at", "(", "location", ",", "\"passing %qT to argument %d of %qE,\"", "\" which expects a vector or pointer base address\"", ",", "actual", ",", "argno", "+", "1", ",", "fndecl", ")", ";", "return", "MODE_none", ";", "}", "}", "vector_type_index", "base_vector_type", ";", "if", "(", "type", "==", "NUM_TYPE_SUFFIXES", ")", "{", "base_vector_type", "=", "infer_vector_base_type", "(", "argno", ")", ";", "if", "(", "base_vector_type", "==", "NUM_VECTOR_TYPES", ")", "return", "MODE_none", ";", "}", "else", "{", "type_suffix_index", "base_type", "=", "infer_vector_type", "(", "argno", ")", ";", "if", "(", "base_type", "==", "NUM_TYPE_SUFFIXES", ")", "return", "MODE_none", ";", "unsigned", "int", "required_bits", "=", "type_suffixes", "[", "type", "]", ".", "element_bits", ";", "gcc_assert", "(", "required_bits", "==", "32", "||", "required_bits", "==", "64", ")", ";", "type_suffix_index", "required_type", "=", "(", "required_bits", "==", "32", "?", "TYPE_SUFFIX_u32", ":", "TYPE_SUFFIX_u64", ")", ";", "if", "(", "required_type", "!=", "base_type", ")", "{", "error_at", "(", "location", ",", "\"passing %qT to argument %d of %qE,\"", "\" which expects %qT\"", ",", "actual", ",", "argno", "+", "1", ",", "fndecl", ",", "get_vector_type", "(", "required_type", ")", ")", ";", "return", "MODE_none", ";", "}", "base_vector_type", "=", "type_suffixes", "[", "base_type", "]", ".", "vector_type", ";", "}", "if", "(", "displacement_units", "(", ")", "!=", "UNITS_none", "&&", "!", "require_scalar_type", "(", "argno", "+", "1", ",", "\"int64_t\"", ")", ")", "return", "MODE_none", ";", "for", "(", "unsigned", "int", "mode_i", "=", "0", ";", "mode_i", "<", "ARRAY_SIZE", "(", "mode_suffixes", ")", ";", "++", "mode_i", ")", "{", "const", "mode_suffix_info", "&", "mode", "=", "mode_suffixes", "[", "mode_i", "]", ";", "if", "(", "mode", ".", "base_vector_type", "==", "base_vector_type", "&&", "mode", ".", "displacement_vector_type", "==", "NUM_VECTOR_TYPES", "&&", "mode", ".", "displacement_units", "==", "displacement_units", "(", ")", ")", "return", "mode_suffix_index", "(", "mode_i", ")", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Require", "the", "arguments", "starting", "at", "ARGNO", "to", "form", "a", "gather-style", "address", ".", "There", "are", "three", "possible", "uses", ":", "-", "for", "loading", "into", "elements", "of", "type", "TYPE", "(", "when", "LOAD_P", "is", "true", ")", "-", "for", "storing", "from", "elements", "of", "type", "TYPE", "(", "when", "LOAD_P", "is", "false", ")", "-", "for", "prefetching", "data", "(", "when", "TYPE", "is", "NUM_TYPE_SUFFIXES", ")", "The", "three", "possible", "addresses", "are", ":", "-", "a", "vector", "base", "with", "no", "displacement", "-", "a", "vector", "base", "and", "a", "scalar", "displacement", "-", "a", "scalar", "(", "pointer", ")", "base", "and", "a", "vector", "displacement", "The", "overloaded", "function", "'s", "mode", "suffix", "determines", "whether", "there", "is", "a", "displacement", ",", "and", "if", "so", ",", "what", "units", "it", "uses", ":", "-", "MODE_none", ":", "no", "displacement", "-", "MODE_offset", ":", "the", "displacement", "is", "measured", "in", "bytes", "-", "MODE_index", ":", "the", "displacement", "is", "measured", "in", "elements", "Return", "the", "mode", "of", "the", "non-overloaded", "function", "on", "success", ",", "otherwise", "report", "an", "error", "and", "return", "MODE_none", "."], "TS_V_token": ["aarch64", "1", "\"passing %qT to argument %d of %qE,\"", "\" which expects a vector or pointer base address\"", "1", "32", "64", "32", "\"passing %qT to argument %d of %qE,\"", "\" which expects %qT\"", "1", "1", "\"int64_t\"", "0"], "File": "aarch64-sve-builtins", "Func": "resolve_gather_address", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4024, "Length": 298, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "rs6000_disable_incompatible_switches", "(", "void", ")", "{", "HOST_WIDE_INT", "ignore_masks", "=", "rs6000_isa_flags_explicit", ";", "size_t", "i", ",", "j", ";", "static", "const", "struct", "{", "const", "HOST_WIDE_INT", "no_flag", ";", "const", "HOST_WIDE_INT", "dep_flags", ";", "const", "char", "*", "const", "name", ";", "}", "flags", "[", "]", "=", "{", "{", "OPTION_MASK_P9_VECTOR", ",", "OTHER_P9_VECTOR_MASKS", ",", "\"power9-vector\"", "}", ",", "{", "OPTION_MASK_P8_VECTOR", ",", "OTHER_P8_VECTOR_MASKS", ",", "\"power8-vector\"", "}", ",", "{", "OPTION_MASK_VSX", ",", "OTHER_VSX_VECTOR_MASKS", ",", "\"vsx\"", "}", ",", "{", "OPTION_MASK_ALTIVEC", ",", "OTHER_ALTIVEC_MASKS", ",", "\"altivec\"", "}", ",", "}", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "flags", ")", ";", "i", "++", ")", "{", "HOST_WIDE_INT", "no_flag", "=", "flags", "[", "i", "]", ".", "no_flag", ";", "if", "(", "(", "rs6000_isa_flags", "&", "no_flag", ")", "==", "0", "&&", "(", "rs6000_isa_flags_explicit", "&", "no_flag", ")", "!=", "0", ")", "{", "HOST_WIDE_INT", "dep_flags", "=", "flags", "[", "i", "]", ".", "dep_flags", ";", "HOST_WIDE_INT", "set_flags", "=", "(", "rs6000_isa_flags_explicit", "&", "rs6000_isa_flags", "&", "dep_flags", ")", ";", "if", "(", "set_flags", ")", "{", "for", "(", "j", "=", "0", ";", "j", "<", "ARRAY_SIZE", "(", "rs6000_opt_masks", ")", ";", "j", "++", ")", "if", "(", "(", "set_flags", "&", "rs6000_opt_masks", "[", "j", "]", ".", "mask", ")", "!=", "0", ")", "{", "set_flags", "&=", "~", "rs6000_opt_masks", "[", "j", "]", ".", "mask", ";", "error", "(", "\"%<-mno-%s%> turns off %<-m%s%>\"", ",", "flags", "[", "i", "]", ".", "name", ",", "rs6000_opt_masks", "[", "j", "]", ".", "name", ")", ";", "}", "gcc_assert", "(", "!", "set_flags", ")", ";", "}", "rs6000_isa_flags", "&=", "~", "dep_flags", ";", "ignore_masks", "|=", "no_flag", "|", "dep_flags", ";", "}", "}", "return", "ignore_masks", ";", "}", ""], "natrual_language": ["If", "the", "user", "used", "-mno-vsx", ",", "we", "need", "turn", "off", "all", "of", "the", "implicit", "ISA", "2.06", ",", "2.07", ",", "and", "3.0", "options", "that", "relate", "to", "the", "vector", "unit", "(", "-mdirect-move", ",", "-mupper-regs-df", ",", "etc.", ")", ".", "If", "the", "user", "used", "-mno-power8-vector", ",", "we", "need", "to", "turn", "off", "all", "of", "the", "implicit", "ISA", "2.07", "and", "3.0", "options", "that", "relate", "to", "the", "vector", "unit", ".", "If", "the", "user", "used", "-mno-power9-vector", ",", "we", "need", "to", "turn", "off", "all", "of", "the", "implicit", "ISA", "3.0", "options", "that", "relate", "to", "the", "vector", "unit", ".", "This", "function", "does", "not", "handle", "explicit", "options", "such", "as", "the", "user", "specifying", "-mdirect-move", ".", "These", "are", "handled", "in", "rs6000_option_override_internal", ",", "and", "the", "appropriate", "error", "is", "given", "if", "needed", ".", "We", "return", "a", "mask", "of", "all", "of", "the", "implicit", "options", "that", "should", "not", "be", "enabled", "by", "default", "."], "TS_V_token": ["rs6000", "\"power9-vector\"", "\"power8-vector\"", "\"vsx\"", "\"altivec\"", "0", "0", "0", "0", "0", "\"%<-mno-%s%> turns off %<-m%s%>\""], "File": "rs6000", "Func": "rs6000_disable_incompatible_switches", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4025, "Length": 233, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getOpSize", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "OpNo", ")", "const", "{", "const", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isReg", "(", ")", ")", "{", "if", "(", "unsigned", "SubReg", "=", "MO", ".", "getSubReg", "(", ")", ")", "{", "return", "RI", ".", "getSubRegIdxSize", "(", "SubReg", ")", "/", "8", ";", "}", "}", "return", "RI", ".", "getRegSizeInBits", "(", "*", "getOpRegClass", "(", "MI", ",", "OpNo", ")", ")", "/", "8", ";", "}", ""], "natrual_language": ["This", "form", "should", "usually", "be", "preferred", "since", "it", "handles", "operands", "with", "unknown", "register", "classes", "."], "TS_V_token": ["AMDGPU", "8", "8"], "File": "SIInstrInfo10", "Func": "getOpSize", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4026, "Length": 75, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "visium_legitimate_address_p", "(", "machine_mode", "mode", ",", "rtx", "x", ",", "bool", "strict", ")", "{", "rtx", "base", ";", "unsigned", "int", "regno", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "{", "if", "(", "!", "rtx_ok_for_offset_p", "(", "mode", ",", "XEXP", "(", "x", ",", "1", ")", ")", ")", "return", "false", ";", "base", "=", "XEXP", "(", "x", ",", "0", ")", ";", "}", "else", "base", "=", "x", ";", "if", "(", "GET_CODE", "(", "base", ")", "==", "SUBREG", ")", "base", "=", "SUBREG_REG", "(", "base", ")", ";", "if", "(", "!", "REG_P", "(", "base", ")", ")", "return", "false", ";", "regno", "=", "REGNO", "(", "base", ")", ";", "if", "(", "strict", ")", "return", "REGNO_OK_FOR_BASE_P", "(", "regno", ")", ";", "return", "BASE_REGISTER_P", "(", "regno", ")", "||", "regno", ">=", "FIRST_PSEUDO_REGISTER", ";", "}", ""], "natrual_language": ["Return", "whether", "X", "is", "a", "legitimate", "memory", "address", "for", "a", "memory", "operand", "of", "mode", "MODE", ".", "Legitimate", "addresses", "are", "defined", "in", "two", "variants", ":", "a", "strict", "variant", "and", "a", "non-strict", "one", ".", "The", "STRICT", "parameter", "chooses", "which", "variant", "is", "desired", "by", "the", "caller", ".", "The", "strict", "variant", "is", "used", "in", "the", "reload", "pass", ".", "It", "must", "be", "defined", "so", "that", "any", "pseudo-register", "that", "has", "not", "been", "allocated", "a", "hard", "register", "is", "considered", "a", "memory", "reference", ".", "This", "is", "because", "in", "contexts", "where", "some", "kind", "of", "register", "is", "required", ",", "a", "pseudo-register", "with", "no", "hard", "register", "must", "be", "rejected", ".", "For", "non-hard", "registers", ",", "the", "strict", "variant", "should", "look", "up", "the", "`", "reg_renumber", "'", "array", ";", "it", "should", "then", "proceed", "using", "the", "hard", "register", "number", "in", "the", "array", ",", "or", "treat", "the", "pseudo", "as", "a", "memory", "reference", "if", "the", "array", "holds", "`", "-1", "'", ".", "The", "non-strict", "variant", "is", "used", "in", "other", "passes", ".", "It", "must", "be", "defined", "to", "accept", "all", "pseudo-registers", "in", "every", "context", "where", "some", "kind", "of", "register", "is", "required", "."], "TS_V_token": ["visium", "1", "0"], "File": "visium", "Func": "visium_legitimate_address_p", "Target": "visium", "Target_Clf": "Virtual ISA", "Compiler_Type": "GCC", "Idx": 4027, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "get_sequence_length", "(", "rtx_insn", "*", "insns", ")", "{", "int", "length", "=", "0", ";", "for", "(", "rtx_insn", "*", "insn", "=", "insns", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "length", "+=", "get_attr_length", "(", "insn", ")", ";", "return", "length", ";", "}", ""], "natrual_language": ["Obtain", "the", "length", "sequence", "of", "insns", "."], "TS_V_token": ["avr", "0"], "File": "avr", "Func": "get_sequence_length", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4028, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "optimizeCall", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineInstr", "&", "MI", ",", "const", "MachineRegisterInfo", "&", "MRI", ",", "MachineDominatorTree", "&", "MDT", ",", "LiveIntervals", "&", "LIS", ",", "const", "WebAssemblyTargetLowering", "&", "TLI", ",", "const", "TargetLibraryInfo", "&", "LibInfo", ")", "{", "MachineOperand", "&", "Op1", "=", "MI", ".", "getOperand", "(", "1", ")", ";", "if", "(", "!", "Op1", ".", "isSymbol", "(", ")", ")", "return", "false", ";", "StringRef", "Name", "(", "Op1", ".", "getSymbolName", "(", ")", ")", ";", "bool", "callReturnsInput", "=", "Name", "==", "TLI", ".", "getLibcallName", "(", "RTLIB", "::", "MEMCPY", ")", "||", "Name", "==", "TLI", ".", "getLibcallName", "(", "RTLIB", "::", "MEMMOVE", ")", "||", "Name", "==", "TLI", ".", "getLibcallName", "(", "RTLIB", "::", "MEMSET", ")", ";", "if", "(", "!", "callReturnsInput", ")", "return", "false", ";", "LibFunc", "Func", ";", "if", "(", "!", "LibInfo", ".", "getLibFunc", "(", "Name", ",", "Func", ")", ")", "return", "false", ";", "unsigned", "FromReg", "=", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ";", "unsigned", "ToReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "if", "(", "MRI", ".", "getRegClass", "(", "FromReg", ")", "!=", "MRI", ".", "getRegClass", "(", "ToReg", ")", ")", "report_fatal_error", "(", "\"Store results: call to builtin function with wrong \"", "\"signature, from/to mismatch\"", ")", ";", "return", "ReplaceDominatedUses", "(", "MBB", ",", "MI", ",", "FromReg", ",", "ToReg", ",", "MRI", ",", "MDT", ",", "LIS", ")", ";", "}", ""], "natrual_language": ["optimizeCall", "-", "Take", "the", "given", "call", "instruction", "and", "return", "a", "more", "optimal", "value", "to", "replace", "the", "instruction", "with", "or", "0", "if", "a", "more", "optimal", "form", "ca", "n't", "be", "found", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "1", "2", "0", "\"Store results: call to builtin function with wrong \"", "\"signature, from/to mismatch\""], "File": "WebAssemblyStoreResults10", "Func": "optimizeCall", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4029, "Length": 200, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZInstrInfo", "::", "loadImmediate", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "unsigned", "Reg", ",", "uint64_t", "Value", ")", "const", "{", "DebugLoc", "DL", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "unsigned", "Opcode", "=", "0", ";", "if", "(", "isInt", "<", "16", ">", "(", "Value", ")", ")", "Opcode", "=", "SystemZ", "::", "LGHI", ";", "else", "if", "(", "SystemZ", "::", "isImmLL", "(", "Value", ")", ")", "Opcode", "=", "SystemZ", "::", "LLILL", ";", "else", "if", "(", "SystemZ", "::", "isImmLH", "(", "Value", ")", ")", "{", "Opcode", "=", "SystemZ", "::", "LLILH", ";", "Value", ">>=", "16", ";", "}", "else", "if", "(", "isInt", "<", "32", ">", "(", "Value", ")", ")", "Opcode", "=", "SystemZ", "::", "LGFI", ";", "if", "(", "Opcode", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "get", "(", "Opcode", ")", ",", "Reg", ")", ".", "addImm", "(", "Value", ")", ";", "return", ";", "}", "MachineRegisterInfo", "&", "MRI", "=", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "assert", "(", "MRI", ".", "isSSA", "(", ")", "&&", "\"Huge values only handled before reg-alloc .\"", ")", ";", "Register", "Reg0", "=", "MRI", ".", "createVirtualRegister", "(", "&", "SystemZ", "::", "GR64BitRegClass", ")", ";", "Register", "Reg1", "=", "MRI", ".", "createVirtualRegister", "(", "&", "SystemZ", "::", "GR64BitRegClass", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "get", "(", "SystemZ", "::", "IMPLICIT_DEF", ")", ",", "Reg0", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "get", "(", "SystemZ", "::", "IIHF64", ")", ",", "Reg1", ")", ".", "addReg", "(", "Reg0", ")", ".", "addImm", "(", "Value", ">>", "32", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "get", "(", "SystemZ", "::", "IILF64", ")", ",", "Reg", ")", ".", "addReg", "(", "Reg1", ")", ".", "addImm", "(", "Value", "&", "(", "(", "uint64_t", "(", "1", ")", "<<", "32", ")", "-", "1", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "series", "of", "instructions", "to", "load", "an", "immediate", "."], "TS_V_token": ["SystemZ", "SystemZ", "0", "16", "SystemZ::LGHI", "SystemZ::isImmLL", "SystemZ::LLILL", "SystemZ::isImmLH", "SystemZ::LLILH", "16", "32", "SystemZ::LGFI", "\"Huge values only handled before reg-alloc .\"", "SystemZ::GR64BitRegClass", "SystemZ::GR64BitRegClass", "SystemZ::IMPLICIT_DEF", "SystemZ::IIHF64", "32", "SystemZ::IILF64", "1", "32", "1"], "File": "SystemZInstrInfo16", "Func": "loadImmediate", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4030, "Length": 289, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Cpu0FrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "return", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "||", "MFI", ".", "hasVarSizedObjects", "(", ")", "||", "MFI", ".", "isFrameAddressTaken", "(", ")", "||", "TRI", "->", "needsStackRealignment", "(", "MF", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["Cpu0", "Cpu0"], "File": "Cpu0FrameLowering4", "Func": "hasFP", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4031, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "s390_issue_rate", "(", "void", ")", "{", "switch", "(", "s390_tune", ")", "{", "case", "PROCESSOR_2084_Z990", ":", "case", "PROCESSOR_2094_Z9_109", ":", "case", "PROCESSOR_2094_Z9_EC", ":", "case", "PROCESSOR_2817_Z196", ":", "return", "3", ";", "case", "PROCESSOR_2097_Z10", ":", "return", "2", ";", "case", "PROCESSOR_9672_G5", ":", "case", "PROCESSOR_9672_G6", ":", "case", "PROCESSOR_2064_Z900", ":", "case", "PROCESSOR_2827_ZEC12", ":", "case", "PROCESSOR_2964_Z13", ":", "case", "PROCESSOR_ARCH12", ":", "default", ":", "return", "1", ";", "}", "}", ""], "natrual_language": ["The", "number", "of", "instructions", "that", "can", "be", "issued", "per", "cycle", "."], "TS_V_token": ["s390", "3", "2", "1"], "File": "s3906", "Func": "s390_issue_rate", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4032, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZLongBranch", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "TII", "=", "static_cast", "<", "const", "SystemZInstrInfo", "*", ">", "(", "F", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "MF", "=", "&", "F", ";", "uint64_t", "Size", "=", "initMBBInfo", "(", ")", ";", "if", "(", "Size", "<=", "MaxForwardRange", "||", "!", "mustRelaxABranch", "(", ")", ")", "return", "false", ";", "setWorstCaseAddresses", "(", ")", ";", "relaxBranches", "(", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ"], "File": "SystemZLongBranch", "Func": "runOnMachineFunction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4033, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "F", "(", "rtx", "r", ")", "{", "RTX_FRAME_RELATED_P", "(", "r", ")", "=", "1", ";", "return", "r", ";", "}", ""], "natrual_language": ["We", "use", "this", "to", "wrap", "all", "emitted", "insns", "in", "the", "prologue", ",", "so", "they", "get", "the", "``", "frame-related", "''", "(", "/f", ")", "flag", "set", "."], "TS_V_token": ["mn10300", "1"], "File": "mn10300", "Func": "F", "Target": "mn10300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4034, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "bfin_expand_builtin", "(", "tree", "exp", ",", "rtx", "target", "ATTRIBUTE_UNUSED", ",", "rtx", "subtarget", "ATTRIBUTE_UNUSED", ",", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "int", "ignore", "ATTRIBUTE_UNUSED", ")", "{", "tree", "fndecl", "=", "TREE_OPERAND", "(", "TREE_OPERAND", "(", "exp", ",", "0", ")", ",", "0", ")", ";", "unsigned", "int", "fcode", "=", "DECL_FUNCTION_CODE", "(", "fndecl", ")", ";", "switch", "(", "fcode", ")", "{", "case", "BFIN_BUILTIN_CSYNC", ":", "emit_insn", "(", "gen_csync", "(", ")", ")", ";", "return", "0", ";", "case", "BFIN_BUILTIN_SSYNC", ":", "emit_insn", "(", "gen_ssync", "(", ")", ")", ";", "return", "0", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Expand", "an", "expression", "EXP", "that", "calls", "a", "built-in", "function", ",", "with", "result", "going", "to", "TARGET", "if", "that", "'s", "convenient", "(", "and", "in", "mode", "MODE", "if", "that", "'s", "convenient", ")", ".", "SUBTARGET", "may", "be", "used", "as", "the", "target", "for", "computing", "one", "of", "EXP", "'s", "operands", ".", "IGNORE", "is", "nonzero", "if", "the", "value", "is", "to", "be", "ignored", "."], "TS_V_token": ["bfin", "0", "0", "0", "0"], "File": "bfin2", "Func": "bfin_expand_builtin", "Target": "bfin", "Target_Clf": "DSP", "Compiler_Type": "GCC", "Idx": 4035, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "pure_scalable_type_info", "::", "add_piece", "(", "const", "piece", "&", "p", ")", "{", "if", "(", "!", "pieces", ".", "is_empty", "(", ")", ")", "{", "piece", "&", "prev", "=", "pieces", ".", "last", "(", ")", ";", "gcc_assert", "(", "VECTOR_MODE_P", "(", "p", ".", "mode", ")", "&&", "VECTOR_MODE_P", "(", "prev", ".", "mode", ")", ")", ";", "unsigned", "int", "nelems1", ",", "nelems2", ";", "if", "(", "prev", ".", "orig_mode", "==", "p", ".", "orig_mode", "&&", "known_eq", "(", "prev", ".", "offset", "+", "GET_MODE_SIZE", "(", "prev", ".", "mode", ")", ",", "p", ".", "offset", ")", "&&", "constant_multiple_p", "(", "GET_MODE_NUNITS", "(", "prev", ".", "mode", ")", ",", "GET_MODE_NUNITS", "(", "p", ".", "orig_mode", ")", ",", "&", "nelems1", ")", "&&", "constant_multiple_p", "(", "GET_MODE_NUNITS", "(", "p", ".", "mode", ")", ",", "GET_MODE_NUNITS", "(", "p", ".", "orig_mode", ")", ",", "&", "nelems2", ")", "&&", "targetm", ".", "array_mode", "(", "p", ".", "orig_mode", ",", "nelems1", "+", "nelems2", ")", ".", "exists", "(", "&", "prev", ".", "mode", ")", ")", "{", "prev", ".", "num_zr", "+=", "p", ".", "num_zr", ";", "prev", ".", "num_pr", "+=", "p", ".", "num_pr", ";", "return", ";", "}", "}", "pieces", ".", "quick_push", "(", "p", ")", ";", "}", ""], "natrual_language": ["Add", "P", "to", "the", "list", "of", "pieces", "in", "the", "type", "."], "TS_V_token": ["aarch64"], "File": "aarch64", "Func": "add_piece", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4036, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "BitVector", "SIRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "AMDGPU", "::", "INDIRECT_BASE_ADDR", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "AMDGPU", "::", "EXEC", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "AMDGPU", "::", "FLAT_SCR", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "AMDGPU", "::", "SGPR102_SGPR103", ")", ";", "const", "AMDGPUSubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "AMDGPUSubtarget", ">", "(", ")", ";", "if", "(", "ST", ".", "getGeneration", "(", ")", ">=", "AMDGPUSubtarget", "::", "VOLCANIC_ISLANDS", ")", "{", "reserveRegisterTuples", "(", "Reserved", ",", "AMDGPU", "::", "SGPR96_SGPR97", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "AMDGPU", "::", "SGPR98_SGPR99", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "AMDGPU", "::", "SGPR100_SGPR101", ")", ";", "}", "if", "(", "ST", ".", "hasSGPRInitBug", "(", ")", ")", "{", "unsigned", "NumSGPRs", "=", "AMDGPU", "::", "SGPR_32RegClass", ".", "getNumRegs", "(", ")", ";", "unsigned", "Limit", "=", "AMDGPUSubtarget", "::", "FIXED_SGPR_COUNT_FOR_INIT_BUG", "-", "6", ";", "for", "(", "unsigned", "i", "=", "Limit", ";", "i", "<", "NumSGPRs", ";", "++", "i", ")", "{", "unsigned", "Reg", "=", "AMDGPU", "::", "SGPR_32RegClass", ".", "getRegister", "(", "i", ")", ";", "reserveRegisterTuples", "(", "Reserved", ",", "Reg", ")", ";", "}", "}", "const", "SIMachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "unsigned", "ScratchWaveOffsetReg", "=", "MFI", "->", "getScratchWaveOffsetReg", "(", ")", ";", "if", "(", "ScratchWaveOffsetReg", "!=", "AMDGPU", "::", "NoRegister", ")", "{", "reserveRegisterTuples", "(", "Reserved", ",", "ScratchWaveOffsetReg", ")", ";", "}", "unsigned", "ScratchRSrcReg", "=", "MFI", "->", "getScratchRSrcReg", "(", ")", ";", "if", "(", "ScratchRSrcReg", "!=", "AMDGPU", "::", "NoRegister", ")", "{", "reserveRegisterTuples", "(", "Reserved", ",", "ScratchRSrcReg", ")", ";", "assert", "(", "!", "isSubRegister", "(", "ScratchRSrcReg", ",", "ScratchWaveOffsetReg", ")", ")", ";", "}", "return", "Reserved", ";", "}", ""], "natrual_language": ["getReservedRegs", "-", "Returns", "a", "bitset", "indexed", "by", "physical", "register", "number", "indicating", "if", "a", "register", "is", "a", "special", "register", "that", "has", "particular", "uses", "and", "should", "be", "considered", "unavailable", "at", "all", "times", ",", "e.g", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU::INDIRECT_BASE_ADDR", "AMDGPU::EXEC", "AMDGPU::FLAT_SCR", "AMDGPU::SGPR102_SGPR103", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU::SGPR96_SGPR97", "AMDGPU::SGPR98_SGPR99", "AMDGPU::SGPR100_SGPR101", "AMDGPU::SGPR_32RegClass", "AMDGPU", "6", "AMDGPU::SGPR_32RegClass", "SI", "SI", "AMDGPU::NoRegister", "AMDGPU::NoRegister"], "File": "SIRegisterInfo13", "Func": "getReservedRegs", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4037, "Length": 257, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUPassConfig", "::", "addPostRegAlloc", "(", ")", "{", "const", "AMDGPUSubtarget", "&", "ST", "=", "TM", "->", "getSubtarget", "<", "AMDGPUSubtarget", ">", "(", ")", ";", "if", "(", "ST", ".", "getGeneration", "(", ")", ">", "AMDGPUSubtarget", "::", "NORTHERN_ISLANDS", ")", "{", "addPass", "(", "createSIInsertWaits", "(", "*", "TM", ")", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "after", "register", "allocation", "pass", "pipeline", "but", "before", "prolog-epilog", "insertion", "."], "TS_V_token": ["R600", "SI"], "File": "AMDGPUTargetMachine109", "Func": "addPostRegAlloc", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4038, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "isLegalAddressingMode", "(", "const", "DataLayout", "&", "DL", ",", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ")", "const", "{", "CodeModel", "::", "Model", "M", "=", "getTargetMachine", "(", ")", ".", "getCodeModel", "(", ")", ";", "Reloc", "::", "Model", "R", "=", "getTargetMachine", "(", ")", ".", "getRelocationModel", "(", ")", ";", "if", "(", "!", "X86", "::", "isOffsetSuitableForCodeModel", "(", "AM", ".", "BaseOffs", ",", "M", ",", "AM", ".", "BaseGV", "!=", "nullptr", ")", ")", "return", "false", ";", "if", "(", "AM", ".", "BaseGV", ")", "{", "unsigned", "GVFlags", "=", "Subtarget", "->", "ClassifyGlobalReference", "(", "AM", ".", "BaseGV", ",", "getTargetMachine", "(", ")", ")", ";", "if", "(", "isGlobalStubReference", "(", "GVFlags", ")", ")", "return", "false", ";", "if", "(", "AM", ".", "HasBaseReg", "&&", "isGlobalRelativeToPICBase", "(", "GVFlags", ")", ")", "return", "false", ";", "if", "(", "(", "M", "!=", "CodeModel", "::", "Small", "||", "R", "!=", "Reloc", "::", "Static", ")", "&&", "Subtarget", "->", "is64Bit", "(", ")", "&&", "(", "AM", ".", "BaseOffs", "||", "AM", ".", "Scale", ">", "1", ")", ")", "return", "false", ";", "}", "switch", "(", "AM", ".", "Scale", ")", "{", "case", "0", ":", "case", "1", ":", "case", "2", ":", "case", "4", ":", "case", "8", ":", "break", ";", "case", "3", ":", "case", "5", ":", "case", "9", ":", "if", "(", "AM", ".", "HasBaseReg", ")", "return", "false", ";", "break", ";", "default", ":", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["isLegalAddressingMode", "-", "Return", "true", "if", "the", "addressing", "mode", "represented", "by", "AM", "is", "legal", "for", "this", "target", ",", "for", "a", "load/store", "of", "the", "specified", "type", "."], "TS_V_token": ["X86", "X86", "X86::isOffsetSuitableForCodeModel", "1", "0", "1", "2", "4", "8", "3", "5", "9"], "File": "X86ISelLowering (2)3", "Func": "isLegalAddressingMode", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4039, "Length": 212, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_canonicalize_comparison", "(", "enum", "rtx_code", "*", "code", ",", "rtx", "*", "cmp1", ",", "enum", "machine_mode", "mode", ")", "{", "HOST_WIDE_INT", "original", ",", "plus_one", ";", "if", "(", "GET_CODE", "(", "*", "cmp1", ")", "!=", "CONST_INT", ")", "return", "false", ";", "original", "=", "INTVAL", "(", "*", "cmp1", ")", ";", "plus_one", "=", "trunc_int_for_mode", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "original", "+", "1", ",", "mode", ")", ";", "switch", "(", "*", "code", ")", "{", "case", "LE", ":", "if", "(", "original", "<", "plus_one", ")", "{", "*", "code", "=", "LT", ";", "*", "cmp1", "=", "force_reg", "(", "mode", ",", "GEN_INT", "(", "plus_one", ")", ")", ";", "return", "true", ";", "}", "break", ";", "case", "LEU", ":", "if", "(", "plus_one", "!=", "0", ")", "{", "*", "code", "=", "LTU", ";", "*", "cmp1", "=", "force_reg", "(", "mode", ",", "GEN_INT", "(", "plus_one", ")", ")", ";", "return", "true", ";", "}", "break", ";", "default", ":", "return", "false", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Canonicalize", "LE", "or", "LEU", "comparisons", "into", "LT", "comparisons", "when", "possible", "to", "avoid", "extra", "instructions", "or", "inverting", "the", "comparison", "."], "TS_V_token": ["mips", "1", "0"], "File": "mips3", "Func": "mips_canonicalize_comparison", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4040, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "scalar_chain", "::", "compute_convert_gain", "(", ")", "{", "bitmap_iterator", "bi", ";", "unsigned", "insn_uid", ";", "int", "gain", "=", "0", ";", "int", "cost", "=", "0", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\"Computing gain for chain #%d...\\n\"", ",", "chain_id", ")", ";", "EXECUTE_IF_SET_IN_BITMAP", "(", "insns", ",", "0", ",", "insn_uid", ",", "bi", ")", "{", "rtx_insn", "*", "insn", "=", "DF_INSN_UID_GET", "(", "insn_uid", ")", "->", "insn", ";", "rtx", "def_set", "=", "single_set", "(", "insn", ")", ";", "rtx", "src", "=", "SET_SRC", "(", "def_set", ")", ";", "rtx", "dst", "=", "SET_DEST", "(", "def_set", ")", ";", "if", "(", "REG_P", "(", "src", ")", "&&", "REG_P", "(", "dst", ")", ")", "gain", "+=", "COSTS_N_INSNS", "(", "2", ")", "-", "ix86_cost", "->", "sse_move", ";", "else", "if", "(", "REG_P", "(", "src", ")", "&&", "MEM_P", "(", "dst", ")", ")", "gain", "+=", "2", "*", "ix86_cost", "->", "int_store", "[", "2", "]", "-", "ix86_cost", "->", "sse_store", "[", "1", "]", ";", "else", "if", "(", "MEM_P", "(", "src", ")", "&&", "REG_P", "(", "dst", ")", ")", "gain", "+=", "2", "*", "ix86_cost", "->", "int_load", "[", "2", "]", "-", "ix86_cost", "->", "sse_load", "[", "1", "]", ";", "else", "if", "(", "GET_CODE", "(", "src", ")", "==", "PLUS", "||", "GET_CODE", "(", "src", ")", "==", "MINUS", "||", "GET_CODE", "(", "src", ")", "==", "IOR", "||", "GET_CODE", "(", "src", ")", "==", "XOR", "||", "GET_CODE", "(", "src", ")", "==", "AND", ")", "gain", "+=", "ix86_cost", "->", "add", ";", "else", "if", "(", "GET_CODE", "(", "src", ")", "==", "COMPARE", ")", "{", "}", "else", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\" Instruction conversion gain: %d\\n\"", ",", "gain", ")", ";", "EXECUTE_IF_SET_IN_BITMAP", "(", "defs_conv", ",", "0", ",", "insn_uid", ",", "bi", ")", "cost", "+=", "DF_REG_DEF_COUNT", "(", "insn_uid", ")", "*", "ix86_cost", "->", "mmxsse_to_integer", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\" Registers conversion cost: %d\\n\"", ",", "cost", ")", ";", "gain", "-=", "cost", ";", "if", "(", "dump_file", ")", "fprintf", "(", "dump_file", ",", "\" Total gain: %d\\n\"", ",", "gain", ")", ";", "return", "gain", ";", "}", ""], "natrual_language": ["Compute", "a", "gain", "for", "chain", "conversion", "."], "TS_V_token": ["i386", "0", "0", "\"Computing gain for chain #%d...\\n\"", "0", "2", "2", "2", "1", "2", "2", "1", "\" Instruction conversion gain: %d\\n\"", "0", "\" Registers conversion cost: %d\\n\"", "\" Total gain: %d\\n\""], "File": "i3865", "Func": "compute_convert_gain", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4041, "Length": 297, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "sparc_expand_epilogue", "(", "bool", "for_eh", ")", "{", "HOST_WIDE_INT", "size", "=", "sparc_frame_size", ";", "if", "(", "sparc_n_global_fp_regs", ">", "0", ")", "emit_save_or_restore_global_fp_regs", "(", "sparc_frame_base_reg", ",", "sparc_frame_base_offset", "-", "sparc_apparent_frame_size", ",", "SORR_RESTORE", ")", ";", "if", "(", "size", "==", "0", "||", "for_eh", ")", ";", "else", "if", "(", "sparc_leaf_function_p", ")", "{", "if", "(", "size", "<=", "4096", ")", "emit_insn", "(", "gen_stack_pointer_inc", "(", "GEN_INT", "(", "size", ")", ")", ")", ";", "else", "if", "(", "size", "<=", "8192", ")", "{", "emit_insn", "(", "gen_stack_pointer_inc", "(", "GEN_INT", "(", "4096", ")", ")", ")", ";", "emit_insn", "(", "gen_stack_pointer_inc", "(", "GEN_INT", "(", "size", "-", "4096", ")", ")", ")", ";", "}", "else", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "1", ")", ";", "emit_move_insn", "(", "reg", ",", "GEN_INT", "(", "size", ")", ")", ";", "emit_insn", "(", "gen_stack_pointer_inc", "(", "reg", ")", ")", ";", "}", "}", "}", ""], "natrual_language": ["Expand", "the", "function", "epilogue", ",", "either", "normal", "or", "part", "of", "a", "sibcall", ".", "We", "emit", "all", "the", "instructions", "except", "the", "return", "or", "the", "call", "."], "TS_V_token": ["sparc", "0", "0", "4096", "8192", "4096", "4096", "1"], "File": "sparc4", "Func": "sparc_expand_epilogue", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4042, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "sparc_vectorize_vec_perm_const", "(", "machine_mode", "vmode", ",", "machine_mode", "op_mode", ",", "rtx", "target", ",", "rtx", "op0", ",", "rtx", "op1", ",", "const", "vec_perm_indices", "&", "sel", ")", "{", "if", "(", "vmode", "!=", "op_mode", ")", "return", "false", ";", "if", "(", "!", "TARGET_VIS2", ")", "return", "false", ";", "if", "(", "!", "target", ")", "return", "GET_MODE_SIZE", "(", "vmode", ")", "==", "8", ";", "if", "(", "vmode", "!=", "V8QImode", ")", "return", "false", ";", "rtx", "nop0", "=", "force_reg", "(", "vmode", ",", "op0", ")", ";", "if", "(", "op0", "==", "op1", ")", "op1", "=", "nop0", ";", "op0", "=", "nop0", ";", "op1", "=", "force_reg", "(", "vmode", ",", "op1", ")", ";", "unsigned", "int", "i", ",", "mask", ";", "for", "(", "i", "=", "mask", "=", "0", ";", "i", "<", "8", ";", "++", "i", ")", "mask", "|=", "(", "sel", "[", "i", "]", "&", "0xf", ")", "<<", "(", "28", "-", "i", "*", "4", ")", ";", "rtx", "mask_rtx", "=", "force_reg", "(", "SImode", ",", "gen_int_mode", "(", "mask", ",", "SImode", ")", ")", ";", "emit_insn", "(", "gen_bmasksi_vis", "(", "gen_reg_rtx", "(", "SImode", ")", ",", "mask_rtx", ",", "const0_rtx", ")", ")", ";", "emit_insn", "(", "gen_bshufflev8qi_vis", "(", "target", ",", "op0", ",", "op1", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Implement", "TARGET_VEC_PERM_CONST", "."], "TS_V_token": ["sparc", "8", "0", "8", "0xf", "28", "4"], "File": "sparc1", "Func": "sparc_vectorize_vec_perm_const", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4043, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "HOST_WIDE_INT", "ix86_get_frame_size", "(", "void", ")", "{", "if", "(", "cfun", "->", "machine", "->", "stack_frame_required", ")", "return", "get_frame_size", "(", ")", ";", "else", "return", "0", ";", "}", ""], "natrual_language": ["Return", "stack", "frame", "size", ".", "get_frame_size", "(", ")", "returns", "used", "stack", "slots", "during", "compilation", ",", "which", "may", "be", "optimized", "out", "later", ".", "If", "stack", "frame", "is", "needed", ",", "stack_frame_required", "should", "be", "true", "."], "TS_V_token": ["i386", "0"], "File": "i386", "Func": "ix86_get_frame_size", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4044, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "X86RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "assert", "(", "MF", "&&", "\"MachineFunction required\"", ")", ";", "const", "X86Subtarget", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "bool", "HasSSE", "=", "Subtarget", ".", "hasSSE1", "(", ")", ";", "bool", "HasAVX", "=", "Subtarget", ".", "hasAVX", "(", ")", ";", "bool", "HasAVX512", "=", "Subtarget", ".", "hasAVX512", "(", ")", ";", "bool", "CallsEHReturn", "=", "MF", "->", "callsEHReturn", "(", ")", ";", "CallingConv", "::", "ID", "CC", "=", "MF", "->", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", ";", "if", "(", "MF", "->", "getFunction", "(", ")", "->", "hasFnAttribute", "(", "\"no_caller_saved_registers\"", ")", ")", "CC", "=", "CallingConv", "::", "X86_INTR", ";", "switch", "(", "CC", ")", "{", "case", "CallingConv", "::", "GHC", ":", "case", "CallingConv", "::", "HiPE", ":", "return", "CSR_NoRegs_SaveList", ";", "case", "CallingConv", "::", "AnyReg", ":", "if", "(", "HasAVX", ")", "return", "CSR_64_AllRegs_AVX_SaveList", ";", "return", "CSR_64_AllRegs_SaveList", ";", "case", "CallingConv", "::", "PreserveMost", ":", "return", "CSR_64_RT_MostRegs_SaveList", ";", "case", "CallingConv", "::", "PreserveAll", ":", "if", "(", "HasAVX", ")", "return", "CSR_64_RT_AllRegs_AVX_SaveList", ";", "return", "CSR_64_RT_AllRegs_SaveList", ";", "case", "CallingConv", "::", "CXX_FAST_TLS", ":", "if", "(", "Is64Bit", ")", "return", "MF", "->", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "isSplitCSR", "(", ")", "?", "CSR_64_CXX_TLS_Darwin_PE_SaveList", ":", "CSR_64_TLS_Darwin_SaveList", ";", "break", ";", "case", "CallingConv", "::", "Intel_OCL_BI", ":", "{", "if", "(", "HasAVX512", "&&", "IsWin64", ")", "return", "CSR_Win64_Intel_OCL_BI_AVX512_SaveList", ";", "if", "(", "HasAVX512", "&&", "Is64Bit", ")", "return", "CSR_64_Intel_OCL_BI_AVX512_SaveList", ";", "if", "(", "HasAVX", "&&", "IsWin64", ")", "return", "CSR_Win64_Intel_OCL_BI_AVX_SaveList", ";", "if", "(", "HasAVX", "&&", "Is64Bit", ")", "return", "CSR_64_Intel_OCL_BI_AVX_SaveList", ";", "if", "(", "!", "HasAVX", "&&", "!", "IsWin64", "&&", "Is64Bit", ")", "return", "CSR_64_Intel_OCL_BI_SaveList", ";", "break", ";", "}", "case", "CallingConv", "::", "HHVM", ":", "return", "CSR_64_HHVM_SaveList", ";", "case", "CallingConv", "::", "X86_RegCall", ":", "if", "(", "Is64Bit", ")", "{", "if", "(", "IsWin64", ")", "{", "return", "(", "HasSSE", "?", "CSR_Win64_RegCall_SaveList", ":", "CSR_Win64_RegCall_NoSSE_SaveList", ")", ";", "}", "else", "{", "return", "(", "HasSSE", "?", "CSR_SysV64_RegCall_SaveList", ":", "CSR_SysV64_RegCall_NoSSE_SaveList", ")", ";", "}", "}", "else", "{", "return", "(", "HasSSE", "?", "CSR_32_RegCall_SaveList", ":", "CSR_32_RegCall_NoSSE_SaveList", ")", ";", "}", "case", "CallingConv", "::", "Cold", ":", "if", "(", "Is64Bit", ")", "return", "CSR_64_MostRegs_SaveList", ";", "break", ";", "case", "CallingConv", "::", "X86_64_Win64", ":", "if", "(", "!", "HasSSE", ")", "return", "CSR_Win64_NoSSE_SaveList", ";", "return", "CSR_Win64_SaveList", ";", "case", "CallingConv", "::", "X86_64_SysV", ":", "if", "(", "CallsEHReturn", ")", "return", "CSR_64EHRet_SaveList", ";", "return", "CSR_64_SaveList", ";", "case", "CallingConv", "::", "X86_INTR", ":", "if", "(", "Is64Bit", ")", "{", "if", "(", "HasAVX512", ")", "return", "CSR_64_AllRegs_AVX512_SaveList", ";", "if", "(", "HasAVX", ")", "return", "CSR_64_AllRegs_AVX_SaveList", ";", "if", "(", "HasSSE", ")", "return", "CSR_64_AllRegs_SaveList", ";", "return", "CSR_64_AllRegs_NoSSE_SaveList", ";", "}", "else", "{", "if", "(", "HasAVX512", ")", "return", "CSR_32_AllRegs_AVX512_SaveList", ";", "if", "(", "HasAVX", ")", "return", "CSR_32_AllRegs_AVX_SaveList", ";", "if", "(", "HasSSE", ")", "return", "CSR_32_AllRegs_SSE_SaveList", ";", "return", "CSR_32_AllRegs_SaveList", ";", "}", "default", ":", "break", ";", "}", "if", "(", "Is64Bit", ")", "{", "if", "(", "IsWin64", ")", "{", "if", "(", "!", "HasSSE", ")", "return", "CSR_Win64_NoSSE_SaveList", ";", "return", "CSR_Win64_SaveList", ";", "}", "if", "(", "CallsEHReturn", ")", "return", "CSR_64EHRet_SaveList", ";", "if", "(", "Subtarget", ".", "getTargetLowering", "(", ")", "->", "supportSwiftError", "(", ")", "&&", "MF", "->", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ".", "hasAttrSomewhere", "(", "Attribute", "::", "SwiftError", ")", ")", "return", "CSR_64_SwiftError_SaveList", ";", "return", "CSR_64_SaveList", ";", "}", "if", "(", "CallsEHReturn", ")", "return", "CSR_32EHRet_SaveList", ";", "return", "CSR_32_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["X86", "X86", "\"MachineFunction required\"", "X86", "X86", "\"no_caller_saved_registers\"", "X86", "X86", "X86", "X86", "X86", "X86"], "File": "X86RegisterInfo20", "Func": "getCalleeSavedRegs", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4045, "Length": 494, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "hasReassociableOperands", "(", "const", "MachineInstr", "&", "Inst", ",", "const", "MachineBasicBlock", "*", "MBB", ")", "const", "{", "assert", "(", "(", "Inst", ".", "getNumOperands", "(", ")", "==", "3", "||", "Inst", ".", "getNumOperands", "(", ")", "==", "4", ")", "&&", "\"Reassociation needs binary operators\"", ")", ";", "if", "(", "Inst", ".", "getNumOperands", "(", ")", "==", "4", ")", "{", "assert", "(", "Inst", ".", "getOperand", "(", "3", ")", ".", "isReg", "(", ")", "&&", "Inst", ".", "getOperand", "(", "3", ")", ".", "getReg", "(", ")", "==", "X86", "::", "EFLAGS", "&&", "\"Unexpected operand in reassociable instruction\"", ")", ";", "if", "(", "!", "Inst", ".", "getOperand", "(", "3", ")", ".", "isDead", "(", ")", ")", "return", "false", ";", "}", "return", "TargetInstrInfo", "::", "hasReassociableOperands", "(", "Inst", ",", "MBB", ")", ";", "}", ""], "natrual_language": ["Return", "true", "when", "\\P", "Inst", "has", "reassociable", "operands", "in", "the", "same", "\\P", "MBB", "."], "TS_V_token": ["X86", "X86", "3", "4", "\"Reassociation needs binary operators\"", "4", "3", "3", "X86::EFLAGS", "\"Unexpected operand in reassociable instruction\"", "3"], "File": "X86InstrInfo (2)1", "Func": "hasReassociableOperands", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4046, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PIC16AsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "this", "->", "MF", "=", "&", "MF", ";", "SetupMachineFunction", "(", "MF", ")", ";", "const", "Function", "*", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "CurrentFnName", "=", "Mang", "->", "getValueName", "(", "F", ")", ";", "emitFunctionData", "(", "MF", ")", ";", "std", "::", "string", "codeSection", ";", "codeSection", "=", "\"code.\"", "+", "CurrentFnName", "+", "\".# \"", "+", "\"CODE\"", ";", "const", "Section", "*", "fCodeSection", "=", "TAI", "->", "getNamedSection", "(", "codeSection", ".", "c_str", "(", ")", ",", "SectionFlags", "::", "Code", ")", ";", "O", "<<", "\"\\n\"", ";", "SwitchToSection", "(", "fCodeSection", ")", ";", "for", "(", "MachineFunction", "::", "const_iterator", "I", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "I", "!=", "MF", ".", "begin", "(", ")", ")", "{", "printBasicBlockLabel", "(", "I", ",", "true", ")", ";", "O", "<<", "'\\n'", ";", "}", "else", "O", "<<", "CurrentFnName", "<<", "\":\\n\"", ";", "CurBank", "=", "\"\"", ";", "for", "(", "MachineBasicBlock", "::", "const_iterator", "II", "=", "I", "->", "begin", "(", ")", ",", "E", "=", "I", "->", "end", "(", ")", ";", "II", "!=", "E", ";", "++", "II", ")", "{", "printMachineInstruction", "(", "II", ")", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["PIC16", "PIC16", "\"code.\"", "\".# \"", "\"CODE\"", "\"\\n\"", "\":\\n\"", "\"\""], "File": "PIC16AsmPrinter4", "Func": "runOnMachineFunction", "Target": "PIC16", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4047, "Length": 194, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "Cpu0", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"fixup_Cpu0_16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Cpu0_32\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_Cpu0_REL32\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_Cpu0_24\"", ",", "0", ",", "24", ",", "0", "}", ",", "{", "\"fixup_Cpu0_HI16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Cpu0_LO16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Cpu0_GPREL16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Cpu0_LITERAL\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Cpu0_GOT_Global\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Cpu0_GOT_Local\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Cpu0_PC16\"", ",", "0", ",", "16", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_Cpu0_PC24\"", ",", "0", ",", "24", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_Cpu0_CALL24\"", ",", "0", ",", "24", ",", "0", "}", ",", "{", "\"fixup_Cpu0_GPREL32\"", ",", "0", ",", "32", ",", "0", "}", ",", "{", "\"fixup_Cpu0_SHIFT5\"", ",", "6", ",", "5", ",", "0", "}", ",", "{", "\"fixup_Cpu0_SHIFT6\"", ",", "6", ",", "5", ",", "0", "}", ",", "{", "\"fixup_Cpu0_64\"", ",", "0", ",", "64", ",", "0", "}", ",", "{", "\"fixup_Cpu0_TLSGD\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Cpu0_GOTTPREL\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Cpu0_TPREL_HI\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Cpu0_TPREL_LO\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Cpu0_TLSLDM\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Cpu0_DTPREL_HI\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Cpu0_DTPREL_LO\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Cpu0_Branch_PCRel\"", ",", "0", ",", "16", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_Cpu0_GOT_HI16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_Cpu0_GOT_LO16\"", ",", "0", ",", "16", ",", "0", "}", "}", ";", "if", "(", "Kind", "<", "FirstTargetFixupKind", ")", "return", "MCAsmBackend", "::", "getFixupKindInfo", "(", "Kind", ")", ";", "assert", "(", "unsigned", "(", "Kind", "-", "FirstTargetFixupKind", ")", "<", "getNumFixupKinds", "(", ")", "&&", "\"Invalid kind!\"", ")", ";", "return", "Infos", "[", "Kind", "-", "FirstTargetFixupKind", "]", ";", "}", ""], "natrual_language": ["Get", "information", "on", "a", "fixup", "kind", "."], "TS_V_token": ["Cpu0", "Cpu0::NumTargetFixupKinds", "\"fixup_Cpu0_16\"", "0", "16", "0", "\"fixup_Cpu0_32\"", "0", "32", "0", "\"fixup_Cpu0_REL32\"", "0", "32", "0", "\"fixup_Cpu0_24\"", "0", "24", "0", "\"fixup_Cpu0_HI16\"", "0", "16", "0", "\"fixup_Cpu0_LO16\"", "0", "16", "0", "\"fixup_Cpu0_GPREL16\"", "0", "16", "0", "\"fixup_Cpu0_LITERAL\"", "0", "16", "0", "\"fixup_Cpu0_GOT_Global\"", "0", "16", "0", "\"fixup_Cpu0_GOT_Local\"", "0", "16", "0", "\"fixup_Cpu0_PC16\"", "0", "16", "\"fixup_Cpu0_PC24\"", "0", "24", "\"fixup_Cpu0_CALL24\"", "0", "24", "0", "\"fixup_Cpu0_GPREL32\"", "0", "32", "0", "\"fixup_Cpu0_SHIFT5\"", "6", "5", "0", "\"fixup_Cpu0_SHIFT6\"", "6", "5", "0", "\"fixup_Cpu0_64\"", "0", "64", "0", "\"fixup_Cpu0_TLSGD\"", "0", "16", "0", "\"fixup_Cpu0_GOTTPREL\"", "0", "16", "0", "\"fixup_Cpu0_TPREL_HI\"", "0", "16", "0", "\"fixup_Cpu0_TPREL_LO\"", "0", "16", "0", "\"fixup_Cpu0_TLSLDM\"", "0", "16", "0", "\"fixup_Cpu0_DTPREL_HI\"", "0", "16", "0", "\"fixup_Cpu0_DTPREL_LO\"", "0", "16", "0", "\"fixup_Cpu0_Branch_PCRel\"", "0", "16", "\"fixup_Cpu0_GOT_HI16\"", "0", "16", "0", "\"fixup_Cpu0_GOT_LO16\"", "0", "16", "0", "\"Invalid kind!\""], "File": "Cpu0AsmBackend1", "Func": "getFixupKindInfo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4048, "Length": 337, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsDAGToDAGISel", "::", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addPreserved", "<", "StackProtector", ">", "(", ")", ";", "SelectionDAGISel", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsISelDAGToDAG23", "Func": "getAnalysisUsage", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4049, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "PPCFrameLowering", "::", "determineFrameLayout", "(", "MachineFunction", "&", "MF", ",", "bool", "UpdateMF", ",", "bool", "UseEstimate", ")", "const", "{", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "FrameSize", "=", "UseEstimate", "?", "MFI", "->", "estimateStackSize", "(", "MF", ")", ":", "MFI", "->", "getStackSize", "(", ")", ";", "unsigned", "TargetAlign", "=", "getStackAlignment", "(", ")", ";", "unsigned", "MaxAlign", "=", "MFI", "->", "getMaxAlignment", "(", ")", ";", "unsigned", "AlignMask", "=", "std", "::", "max", "(", "MaxAlign", ",", "TargetAlign", ")", "-", "1", ";", "const", "PPCRegisterInfo", "*", "RegInfo", "=", "static_cast", "<", "const", "PPCRegisterInfo", "*", ">", "(", "Subtarget", ".", "getRegisterInfo", "(", ")", ")", ";", "bool", "DisableRedZone", "=", "MF", ".", "getFunction", "(", ")", "->", "hasFnAttribute", "(", "Attribute", "::", "NoRedZone", ")", ";", "unsigned", "LR", "=", "RegInfo", "->", "getRARegister", "(", ")", ";", "if", "(", "!", "DisableRedZone", "&&", "(", "Subtarget", ".", "isPPC64", "(", ")", "||", "!", "Subtarget", ".", "isSVR4ABI", "(", ")", "||", "FrameSize", "==", "0", ")", "&&", "FrameSize", "<=", "224", "&&", "!", "MFI", "->", "hasVarSizedObjects", "(", ")", "&&", "!", "MFI", "->", "adjustsStack", "(", ")", "&&", "!", "MustSaveLR", "(", "MF", ",", "LR", ")", "&&", "!", "RegInfo", "->", "hasBasePointer", "(", "MF", ")", ")", "{", "if", "(", "UpdateMF", ")", "MFI", "->", "setStackSize", "(", "0", ")", ";", "return", "0", ";", "}", "unsigned", "maxCallFrameSize", "=", "MFI", "->", "getMaxCallFrameSize", "(", ")", ";", "unsigned", "minCallFrameSize", "=", "getLinkageSize", "(", ")", ";", "maxCallFrameSize", "=", "std", "::", "max", "(", "maxCallFrameSize", ",", "minCallFrameSize", ")", ";", "if", "(", "MFI", "->", "hasVarSizedObjects", "(", ")", ")", "maxCallFrameSize", "=", "(", "maxCallFrameSize", "+", "AlignMask", ")", "&", "~", "AlignMask", ";", "if", "(", "UpdateMF", ")", "MFI", "->", "setMaxCallFrameSize", "(", "maxCallFrameSize", ")", ";", "FrameSize", "+=", "maxCallFrameSize", ";", "FrameSize", "=", "(", "FrameSize", "+", "AlignMask", ")", "&", "~", "AlignMask", ";", "if", "(", "UpdateMF", ")", "MFI", "->", "setStackSize", "(", "FrameSize", ")", ";", "return", "FrameSize", ";", "}", ""], "natrual_language": ["Determine", "the", "frame", "layout", "but", "do", "not", "update", "the", "machine", "function", "."], "TS_V_token": ["PowerPC", "PPC", "1", "PPC", "PPC", "PPC", "0", "224", "0", "0"], "File": "PPCFrameLowering (2)", "Func": "determineFrameLayout", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4050, "Length": 280, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUInstructionSelector", "::", "select", "(", "MachineInstr", "&", "I", ",", "CodeGenCoverage", "&", "CoverageInfo", ")", "const", "{", "if", "(", "!", "isPreISelGenericOpcode", "(", "I", ".", "getOpcode", "(", ")", ")", ")", "{", "if", "(", "I", ".", "isCopy", "(", ")", ")", "return", "selectCOPY", "(", "I", ")", ";", "return", "true", ";", "}", "switch", "(", "I", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "selectImpl", "(", "I", ",", "CoverageInfo", ")", ";", "case", "TargetOpcode", "::", "G_ADD", ":", "return", "selectG_ADD", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_INTTOPTR", ":", "case", "TargetOpcode", "::", "G_BITCAST", ":", "return", "selectCOPY", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_CONSTANT", ":", "case", "TargetOpcode", "::", "G_FCONSTANT", ":", "return", "selectG_CONSTANT", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_GEP", ":", "return", "selectG_GEP", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_IMPLICIT_DEF", ":", "return", "selectG_IMPLICIT_DEF", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_INTRINSIC", ":", "return", "selectG_INTRINSIC", "(", "I", ",", "CoverageInfo", ")", ";", "case", "TargetOpcode", "::", "G_INTRINSIC_W_SIDE_EFFECTS", ":", "return", "selectG_INTRINSIC_W_SIDE_EFFECTS", "(", "I", ",", "CoverageInfo", ")", ";", "case", "TargetOpcode", "::", "G_LOAD", ":", "return", "selectG_LOAD", "(", "I", ")", ";", "case", "TargetOpcode", "::", "G_STORE", ":", "return", "selectG_STORE", "(", "I", ")", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Select", "the", "(", "possibly", "generic", ")", "instruction", "I", "to", "only", "use", "target-specific", "opcodes", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "SI", "SI", "SI", "SI"], "File": "AMDGPUInstructionSelector12", "Func": "select", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4051, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_prepare_builtin_arg", "(", "struct", "expand_operand", "*", "op", ",", "tree", "exp", ",", "unsigned", "argno", ")", "{", "tree", "arg", "=", "CALL_EXPR_ARG", "(", "exp", ",", "argno", ")", ";", "create_input_operand", "(", "op", ",", "expand_normal", "(", "arg", ")", ",", "TYPE_MODE", "(", "TREE_TYPE", "(", "arg", ")", ")", ")", ";", "}", ""], "natrual_language": ["Take", "argument", "ARGNO", "from", "EXP", "'s", "argument", "list", "and", "convert", "it", "into", "an", "expand", "operand", ".", "Store", "the", "operand", "in", "*", "OP", "."], "TS_V_token": ["riscv"], "File": "riscv-builtins", "Func": "riscv_prepare_builtin_arg", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4052, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ia64_expand_vec_perm_const_1", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "if", "(", "expand_vec_perm_1", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_broadcast", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_interleave_2", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_v4hi_5", "(", "d", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["The", "guts", "of", "ia64_expand_vec_perm_const", ",", "also", "used", "by", "the", "ok", "hook", ".", "With", "all", "of", "the", "interface", "bits", "taken", "care", "of", ",", "perform", "the", "expansion", "in", "D", "and", "return", "true", "on", "success", "."], "TS_V_token": ["ia64"], "File": "ia64", "Func": "ia64_expand_vec_perm_const_1", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4053, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MipsSubtarget", "&", "MipsSubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetMachine", "*", "TM", ")", "{", "std", "::", "string", "CPUName", "=", "selectMipsCPU", "(", "TargetTriple", ",", "CPU", ")", ";", "ParseSubtargetFeatures", "(", "CPUName", ",", "FS", ")", ";", "InstrItins", "=", "getInstrItineraryForCPU", "(", "CPUName", ")", ";", "if", "(", "InMips16Mode", "&&", "!", "TM", "->", "Options", ".", "UseSoftFloat", ")", "InMips16HardFloat", "=", "true", ";", "return", "*", "this", ";", "}", ""], "natrual_language": ["initializeSubtargetDependencies", "-", "Initializes", "using", "a", "CPU", ",", "a", "TuneCPU", ",", "and", "feature", "string", "so", "that", "we", "can", "use", "initializer", "lists", "for", "subtarget", "initialization", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MipsSubtarget22", "Func": "initializeSubtargetDependencies", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4054, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Reset", "(", ")", "{", "TentativelyCommuting", "=", "false", ";", "Declined", "=", "false", ";", "}", ""], "natrual_language": ["Reset", "the", "unwind", "opcode", "assembler", "."], "TS_V_token": ["WebAssembly"], "File": "WebAssemblyRegStackify", "Func": "Reset", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4055, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RegisterBank", "&", "MOSRegisterBankInfo", "::", "getRegBankFromRegClass", "(", "const", "TargetRegisterClass", "&", "RC", ",", "LLT", "Ty", ")", "const", "{", "return", "MOS", "::", "AnyRegBank", ";", "}", ""], "natrual_language": ["Get", "a", "register", "bank", "that", "covers", "RC", "."], "TS_V_token": ["MOS", "MOS", "MOS::AnyRegBank"], "File": "MOSRegisterBankInfo", "Func": "getRegBankFromRegClass", "Target": "MOS", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4056, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isSplat", "(", "SDValue", "V", ")", "{", "if", "(", "V", ".", "getOpcode", "(", ")", "!=", "ISD", "::", "BUILD_VECTOR", ")", "return", "false", ";", "SDValue", "First", "=", "V", ".", "getOperand", "(", "0", ")", ";", "for", "(", "unsigned", "I", "=", "1", ",", "E", "=", "V", ".", "getNumOperands", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "if", "(", "V", ".", "getOperand", "(", "I", ")", "!=", "First", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "this", "is", "a", "splat", "constant", ",", "meaning", "that", "all", "elements", "have", "the", "same", "value", "."], "TS_V_token": ["TPC", "ISD::BUILD_VECTOR", "0", "1"], "File": "TPCISelLowering", "Func": "isSplat", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4057, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "arm_save_coproc_regs", "(", "void", ")", "{", "int", "saved_size", "=", "0", ";", "unsigned", "reg", ";", "unsigned", "start_reg", ";", "rtx", "insn", ";", "if", "(", "TARGET_REALLY_IWMMXT", ")", "for", "(", "reg", "=", "LAST_IWMMXT_REGNUM", ";", "reg", ">=", "FIRST_IWMMXT_REGNUM", ";", "reg", "--", ")", "if", "(", "reg_needs_saving_p", "(", "reg", ")", ")", "{", "insn", "=", "gen_rtx_PRE_DEC", "(", "Pmode", ",", "stack_pointer_rtx", ")", ";", "insn", "=", "gen_rtx_MEM", "(", "V2SImode", ",", "insn", ")", ";", "insn", "=", "emit_set_insn", "(", "insn", ",", "gen_rtx_REG", "(", "V2SImode", ",", "reg", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "saved_size", "+=", "8", ";", "}", "if", "(", "TARGET_VFP_BASE", ")", "{", "start_reg", "=", "FIRST_VFP_REGNUM", ";", "for", "(", "reg", "=", "FIRST_VFP_REGNUM", ";", "reg", "<", "LAST_VFP_REGNUM", ";", "reg", "+=", "2", ")", "{", "if", "(", "!", "reg_needs_saving_p", "(", "reg", ")", "&&", "!", "reg_needs_saving_p", "(", "reg", "+", "1", ")", ")", "{", "if", "(", "start_reg", "!=", "reg", ")", "saved_size", "+=", "vfp_emit_fstmd", "(", "start_reg", ",", "(", "reg", "-", "start_reg", ")", "/", "2", ")", ";", "start_reg", "=", "reg", "+", "2", ";", "}", "}", "if", "(", "start_reg", "!=", "reg", ")", "saved_size", "+=", "vfp_emit_fstmd", "(", "start_reg", ",", "(", "reg", "-", "start_reg", ")", "/", "2", ")", ";", "}", "return", "saved_size", ";", "}", ""], "natrual_language": ["Emit", "RTL", "to", "save", "coprocessor", "registers", "on", "function", "entry", ".", "Returns", "the", "number", "of", "bytes", "pushed", "."], "TS_V_token": ["arm", "0", "1", "8", "2", "1", "2", "2", "2"], "File": "arm", "Func": "arm_save_coproc_regs", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4058, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ft32_libcall_value", "(", "machine_mode", "mode", ",", "const_rtx", "fun", "ATTRIBUTE_UNUSED", ")", "{", "return", "gen_rtx_REG", "(", "mode", ",", "FT32_R0", ")", ";", "}", ""], "natrual_language": ["Define", "how", "to", "find", "the", "value", "returned", "by", "a", "library", "function", ".", "We", "always", "return", "values", "in", "register", "$", "r0", "for", "ft32", "."], "TS_V_token": ["ft32"], "File": "ft32", "Func": "ft32_libcall_value", "Target": "ft32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4059, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb1RegisterInfo", "::", "resolveFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "BaseReg", ",", "int64_t", "Offset", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "I", ";", "int", "Off", "=", "Offset", ";", "unsigned", "i", "=", "0", ";", "while", "(", "!", "MI", ".", "getOperand", "(", "i", ")", ".", "isFI", "(", ")", ")", "{", "++", "i", ";", "assert", "(", "i", "<", "MI", ".", "getNumOperands", "(", ")", "&&", "\"Instr doesn't have FrameIndex operand!\"", ")", ";", "}", "bool", "Done", "=", "rewriteFrameIndex", "(", "MI", ",", "i", ",", "BaseReg", ",", "Off", ",", "TII", ")", ";", "assert", "(", "Done", "&&", "\"Unable to resolve frame index!\"", ")", ";", "(", "void", ")", "Done", ";", "}", ""], "natrual_language": ["Resolve", "a", "frame", "index", "operand", "of", "an", "instruction", "to", "reference", "the", "indicated", "base", "register", "plus", "offset", "instead", "."], "TS_V_token": ["ARM", "0", "\"Instr doesn't have FrameIndex operand!\"", "\"Unable to resolve frame index!\""], "File": "Thumb1RegisterInfo", "Func": "resolveFrameIndex", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4060, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "xstormy16_expand_call", "(", "rtx", "retval", ",", "rtx", "dest", ",", "rtx", "counter", ")", "{", "rtx", "call", ",", "temp", ";", "enum", "machine_mode", "mode", ";", "gcc_assert", "(", "GET_CODE", "(", "dest", ")", "==", "MEM", ")", ";", "dest", "=", "XEXP", "(", "dest", ",", "0", ")", ";", "if", "(", "!", "CONSTANT_P", "(", "dest", ")", "&&", "GET_CODE", "(", "dest", ")", "!=", "REG", ")", "dest", "=", "force_reg", "(", "Pmode", ",", "dest", ")", ";", "if", "(", "retval", "==", "NULL", ")", "mode", "=", "VOIDmode", ";", "else", "mode", "=", "GET_MODE", "(", "retval", ")", ";", "call", "=", "gen_rtx_CALL", "(", "mode", ",", "gen_rtx_MEM", "(", "FUNCTION_MODE", ",", "dest", ")", ",", "counter", ")", ";", "if", "(", "retval", ")", "call", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "retval", ",", "call", ")", ";", "if", "(", "!", "CONSTANT_P", "(", "dest", ")", ")", "{", "temp", "=", "gen_reg_rtx", "(", "HImode", ")", ";", "emit_move_insn", "(", "temp", ",", "const0_rtx", ")", ";", "}", "else", "temp", "=", "const0_rtx", ";", "call", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "call", ",", "gen_rtx_USE", "(", "VOIDmode", ",", "temp", ")", ")", ")", ";", "emit_call_insn", "(", "call", ")", ";", "}", ""], "natrual_language": ["Expander", "for", "the", "`", "call", "'", "patterns", ".", "INDEX", "is", "the", "index", "of", "the", "switch", "statement", ".", "LOWER_BOUND", "is", "a", "CONST_INT", "that", "is", "the", "value", "of", "INDEX", "corresponding", "to", "the", "first", "table", "entry", ".", "RANGE", "is", "the", "number", "of", "table", "entries", ".", "TABLE", "is", "an", "ADDR_VEC", "that", "is", "the", "jump", "table", ".", "DEFAULT_LABEL", "is", "the", "address", "to", "branch", "to", "if", "INDEX", "is", "outside", "the", "range", "LOWER_BOUND", "to", "LOWER_BOUND+RANGE-1", "."], "TS_V_token": ["stormy16", "0", "2"], "File": "stormy163", "Func": "xstormy16_expand_call", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4061, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "m32r_function_arg_advance", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "*", "cum", "=", "(", "ROUND_ADVANCE_CUM", "(", "*", "cum", ",", "arg", ".", "mode", ",", "arg", ".", "type", ")", "+", "ROUND_ADVANCE_ARG", "(", "arg", ".", "mode", ",", "arg", ".", "type", ")", ")", ";", "}", ""], "natrual_language": ["Update", "the", "data", "in", "CUM", "to", "advance", "over", "an", "argument", "of", "mode", "MODE", "and", "data", "type", "TYPE", ".", "(", "TYPE", "is", "null", "for", "libcalls", "where", "that", "information", "may", "not", "be", "available", ".", ")"], "TS_V_token": ["m32r"], "File": "m32r", "Func": "m32r_function_arg_advance", "Target": "m32r", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4062, "Length": 53, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AVRTargetLowering", "::", "ConstraintType", "AVRTargetLowering", "::", "getConstraintType", "(", "StringRef", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'a'", ":", "case", "'b'", ":", "case", "'d'", ":", "case", "'l'", ":", "case", "'e'", ":", "case", "'q'", ":", "case", "'r'", ":", "case", "'w'", ":", "return", "C_RegisterClass", ";", "case", "'t'", ":", "case", "'x'", ":", "case", "'X'", ":", "case", "'y'", ":", "case", "'Y'", ":", "case", "'z'", ":", "case", "'Z'", ":", "return", "C_Register", ";", "case", "'Q'", ":", "return", "C_Memory", ";", "case", "'G'", ":", "case", "'I'", ":", "case", "'J'", ":", "case", "'K'", ":", "case", "'L'", ":", "case", "'M'", ":", "case", "'N'", ":", "case", "'O'", ":", "case", "'P'", ":", "case", "'R'", ":", "return", "C_Immediate", ";", "}", "}", "return", "TargetLowering", "::", "getConstraintType", "(", "Constraint", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constraint", "letter", ",", "return", "the", "type", "of", "constraint", "for", "this", "target", "."], "TS_V_token": ["AVR", "AVR", "AVR", "1", "0"], "File": "AVRISelLowering1", "Func": "getConstraintType", "Target": "AVR", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4063, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "tilegx_issue_rate", "(", "void", ")", "{", "return", "3", ";", "}", ""], "natrual_language": ["Implement", "TARGET_SCHED_ISSUE_RATE", "."], "TS_V_token": ["tilegx", "3"], "File": "tilegx", "Func": "tilegx_issue_rate", "Target": "tilegx", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 4064, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "unicosmk_asm_named_section", "(", "const", "char", "*", "name", ",", "unsigned", "int", "flags", ",", "tree", "decl", "ATTRIBUTE_UNUSED", ")", "{", "const", "char", "*", "kind", ";", "fputs", "(", "\"\\t.endp\\n\\n\"", ",", "asm_out_file", ")", ";", "if", "(", "flags", "&", "SECTION_MAIN", ")", "fputs", "(", "\"\\t.start\\tmain\\n\"", ",", "asm_out_file", ")", ";", "if", "(", "flags", "&", "SECTION_CODE", ")", "kind", "=", "\"code\"", ";", "else", "if", "(", "flags", "&", "SECTION_PUBLIC", ")", "kind", "=", "\"common\"", ";", "else", "kind", "=", "\"data\"", ";", "if", "(", "current_section_align", "!=", "0", ")", "fprintf", "(", "asm_out_file", ",", "\"\\t.psect\\t%s,%d,%s\\n\"", ",", "name", ",", "current_section_align", ",", "kind", ")", ";", "else", "fprintf", "(", "asm_out_file", ",", "\"\\t.psect\\t%s,%s\\n\"", ",", "name", ",", "kind", ")", ";", "}", ""], "natrual_language": ["Switch", "to", "an", "arbitrary", "section", "NAME", "with", "attributes", "as", "specified", "by", "FLAGS", ".", "ALIGN", "specifies", "any", "known", "alignment", "requirements", "for", "the", "section", ";", "0", "if", "the", "default", "should", "be", "used", "."], "TS_V_token": ["alpha", "\"\\t.endp\\n\\n\"", "\"\\t.start\\tmain\\n\"", "\"code\"", "\"common\"", "\"data\"", "0", "\"\\t.psect\\t%s,%d,%s\\n\"", "\"\\t.psect\\t%s,%s\\n\""], "File": "alpha3", "Func": "unicosmk_asm_named_section", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4065, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TeakTargetLowering", "::", "isNarrowingProfitable", "(", "EVT", "VT1", ",", "EVT", "VT2", ")", "const", "{", "return", "VT2", "!=", "MVT", "::", "i8", "&&", "VT2", "!=", "MVT", "::", "i1", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "'s", "profitable", "to", "narrow", "operations", "of", "type", "SrcVT", "to", "DestVT", "."], "TS_V_token": ["Teak", "Teak", "MVT::i8", "MVT::i1"], "File": "TeakISelLowering", "Func": "isNarrowingProfitable", "Target": "Teak", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4066, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "supportSwiftError", "(", ")", "const", "{", "return", "Subtarget", ".", "is64Bit", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "swifterror", "attribute", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering (2)5", "Func": "supportSwiftError", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4067, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "s390_short_displacement", "(", "rtx", "disp", ")", "{", "if", "(", "!", "disp", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "disp", ")", "==", "CONST_INT", ")", "return", "INTVAL", "(", "disp", ")", ">=", "0", "&&", "INTVAL", "(", "disp", ")", "<", "4096", ";", "if", "(", "GET_CODE", "(", "disp", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "disp", ",", "0", ")", ")", "==", "UNSPEC", "&&", "(", "XINT", "(", "XEXP", "(", "disp", ",", "0", ")", ",", "1", ")", "==", "UNSPEC_GOT", "||", "XINT", "(", "XEXP", "(", "disp", ",", "0", ")", ",", "1", ")", "==", "UNSPEC_GOTNTPOFF", ")", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "disp", ")", "==", "CONST", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "DISP", "is", "a", "valid", "short", "displacement", "."], "TS_V_token": ["s390", "0", "4096", "0", "0", "1", "0", "1"], "File": "s3903", "Func": "s390_short_displacement", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4068, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "VERegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{", "return", "CSR_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["VE", "VE"], "File": "VERegisterInfo1", "Func": "getCallPreservedMask", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4069, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_emit_nmsub", "(", "rtx", "dst", ",", "rtx", "m1", ",", "rtx", "m2", ",", "rtx", "a", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "dst", ")", ";", "rtx", "r", ";", "gcc_assert", "(", "optab_handler", "(", "fma_optab", ",", "mode", ")", "!=", "CODE_FOR_nothing", ")", ";", "r", "=", "gen_rtx_NEG", "(", "mode", ",", "a", ")", ";", "r", "=", "gen_rtx_FMA", "(", "mode", ",", "m1", ",", "m2", ",", "r", ")", ";", "r", "=", "gen_rtx_NEG", "(", "mode", ",", "r", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "dst", ",", "r", ")", ")", ";", "}", ""], "natrual_language": ["Generate", "a", "FNMSUB", "instruction", ":", "dst", "=", "-fma", "(", "m1", ",", "m2", ",", "-a", ")", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "rs6000_emit_nmsub", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4070, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SystemZSubtarget", "&", "SystemZSubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "std", "::", "string", "CPUName", "=", "CPU", ";", "if", "(", "CPUName", ".", "empty", "(", ")", ")", "CPUName", "=", "\"generic\"", ";", "ParseSubtargetFeatures", "(", "CPUName", ",", "FS", ")", ";", "return", "*", "this", ";", "}", ""], "natrual_language": ["initializeSubtargetDependencies", "-", "Initializes", "using", "a", "CPU", ",", "a", "TuneCPU", ",", "and", "feature", "string", "so", "that", "we", "can", "use", "initializer", "lists", "for", "subtarget", "initialization", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ", "\"generic\""], "File": "SystemZSubtarget (2)1", "Func": "initializeSubtargetDependencies", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4071, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "i386_pe_encode_section_info", "(", "tree", "decl", ",", "rtx", "rtl", ",", "int", "first", ")", "{", "rtx", "symbol", ";", "int", "flags", ";", "default_encode_section_info", "(", "decl", ",", "rtl", ",", "first", ")", ";", "if", "(", "!", "MEM_P", "(", "rtl", ")", ")", "return", ";", "symbol", "=", "XEXP", "(", "rtl", ",", "0", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "symbol", ")", "==", "SYMBOL_REF", ")", ";", "switch", "(", "TREE_CODE", "(", "decl", ")", ")", "{", "case", "FUNCTION_DECL", ":", "if", "(", "strcmp", "(", "lang_hooks", ".", "name", ",", "\"GNU Ada\"", ")", "==", "0", ")", "{", "tree", "new_id", ";", "tree", "old_id", "=", "DECL_ASSEMBLER_NAME", "(", "decl", ")", ";", "const", "char", "*", "asm_str", "=", "IDENTIFIER_POINTER", "(", "old_id", ")", ";", "if", "(", "!", "(", "*", "asm_str", "==", "'*'", "||", "strchr", "(", "asm_str", ",", "'@'", ")", ")", "&&", "(", "new_id", "=", "i386_pe_maybe_mangle_decl_assembler_name", "(", "decl", ",", "old_id", ")", ")", ")", "XSTR", "(", "symbol", ",", "0", ")", "=", "IDENTIFIER_POINTER", "(", "new_id", ")", ";", "}", "break", ";", "case", "VAR_DECL", ":", "if", "(", "lookup_attribute", "(", "\"selectany\"", ",", "DECL_ATTRIBUTES", "(", "decl", ")", ")", ")", "{", "if", "(", "DECL_INITIAL", "(", "decl", ")", "||", "TYPE_NEEDS_CONSTRUCTING", "(", "TREE_TYPE", "(", "decl", ")", ")", ")", "make_decl_one_only", "(", "decl", ",", "DECL_ASSEMBLER_NAME", "(", "decl", ")", ")", ";", "else", "error", "(", "\"%q+D:'selectany' attribute applies only to \"", "\"initialized objects\"", ",", "decl", ")", ";", "}", "break", ";", "default", ":", "return", ";", "}", "flags", "=", "(", "SYMBOL_REF_FLAGS", "(", "symbol", ")", "&", "~", "(", "SYMBOL_FLAG_DLLIMPORT", "|", "SYMBOL_FLAG_DLLEXPORT", ")", ")", ";", "if", "(", "i386_pe_determine_dllexport_p", "(", "decl", ")", ")", "flags", "|=", "SYMBOL_FLAG_DLLEXPORT", ";", "else", "if", "(", "i386_pe_determine_dllimport_p", "(", "decl", ")", ")", "flags", "|=", "SYMBOL_FLAG_DLLIMPORT", ";", "SYMBOL_REF_FLAGS", "(", "symbol", ")", "=", "flags", ";", "}", ""], "natrual_language": ["Cover", "function", "to", "implement", "ENCODE_SECTION_INFO", "."], "TS_V_token": ["i386", "0", "\"GNU Ada\"", "0", "0", "\"selectany\"", "\"%q+D:'selectany' attribute applies only to \"", "\"initialized objects\""], "File": "winnt4", "Func": "i386_pe_encode_section_info", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4072, "Length": 251, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_add_new_builtins", "(", "HOST_WIDE_INT", "isa", ",", "HOST_WIDE_INT", "isa2", ")", "{", "if", "(", "(", "isa", "&", "deferred_isa_values", ")", "==", "0", "&&", "(", "isa2", "&", "deferred_isa_values2", ")", "==", "0", ")", "return", ";", "deferred_isa_values", "&=", "~", "isa", ";", "deferred_isa_values2", "&=", "~", "isa2", ";", "int", "i", ";", "tree", "saved_current_target_pragma", "=", "current_target_pragma", ";", "current_target_pragma", "=", "NULL_TREE", ";", "for", "(", "i", "=", "0", ";", "i", "<", "(", "int", ")", "IX86_BUILTIN_MAX", ";", "i", "++", ")", "{", "if", "(", "(", "(", "ix86_builtins_isa", "[", "i", "]", ".", "isa", "&", "isa", ")", "!=", "0", "||", "(", "ix86_builtins_isa", "[", "i", "]", ".", "isa2", "&", "isa2", ")", "!=", "0", ")", "&&", "ix86_builtins_isa", "[", "i", "]", ".", "set_and_not_built_p", ")", "{", "tree", "decl", ",", "type", ";", "ix86_builtins_isa", "[", "i", "]", ".", "set_and_not_built_p", "=", "false", ";", "type", "=", "ix86_get_builtin_func_type", "(", "ix86_builtins_isa", "[", "i", "]", ".", "tcode", ")", ";", "decl", "=", "add_builtin_function_ext_scope", "(", "ix86_builtins_isa", "[", "i", "]", ".", "name", ",", "type", ",", "i", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "ix86_builtins", "[", "i", "]", "=", "decl", ";", "if", "(", "ix86_builtins_isa", "[", "i", "]", ".", "const_p", ")", "TREE_READONLY", "(", "decl", ")", "=", "1", ";", "if", "(", "ix86_builtins_isa", "[", "i", "]", ".", "leaf_p", ")", "DECL_ATTRIBUTES", "(", "decl", ")", "=", "build_tree_list", "(", "get_identifier", "(", "\"leaf\"", ")", ",", "NULL_TREE", ")", ";", "if", "(", "ix86_builtins_isa", "[", "i", "]", ".", "nothrow_p", ")", "TREE_NOTHROW", "(", "decl", ")", "=", "1", ";", "}", "}", "current_target_pragma", "=", "saved_current_target_pragma", ";", "}", ""], "natrual_language": ["Add", "any", "new", "builtin", "functions", "for", "a", "given", "ISA", "that", "may", "not", "have", "been", "declared", ".", "This", "saves", "a", "bit", "of", "space", "compared", "to", "adding", "all", "of", "the", "declarations", "to", "the", "tree", ",", "even", "if", "we", "did", "n't", "use", "them", "."], "TS_V_token": ["i386", "0", "0", "0", "0", "0", "1", "\"leaf\"", "1"], "File": "i3866", "Func": "ix86_add_new_builtins", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4073, "Length": 226, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "MSP430RegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MSP430FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", ")", "?", "MSP430", "::", "R4", ":", "MSP430", "::", "SP", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["MSP430", "MSP430", "MSP430", "MSP430::R4", "MSP430::SP"], "File": "MSP430RegisterInfo20", "Func": "getFrameRegister", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4074, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64InstrInfo", "::", "isCoalescableExtInstr", "(", "const", "MachineInstr", "&", "MI", ",", "Register", "&", "SrcReg", ",", "Register", "&", "DstReg", ",", "unsigned", "&", "SubIdx", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "AArch64", "::", "SBFMXri", ":", "case", "AArch64", "::", "UBFMXri", ":", "if", "(", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", "!=", "0", "||", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", "!=", "31", ")", "return", "false", ";", "SrcReg", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "DstReg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "SubIdx", "=", "AArch64", "::", "sub_32", ";", "return", "true", ";", "}", "}", ""], "natrual_language": ["isCoalescableExtInstr", "-", "Return", "true", "if", "the", "instruction", "is", "a", "``", "coalescable", "''", "extension", "instruction", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64::SBFMXri", "AArch64::UBFMXri", "2", "0", "3", "31", "1", "0", "AArch64::sub_32"], "File": "AArch64InstrInfo105", "Func": "isCoalescableExtInstr", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4075, "Length": 116, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsResolved", ")", "const", "override", "{", "unsigned", "Size", "=", "1", "<<", "getFixupKindLog2Size", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "assert", "(", "Fixup", ".", "getOffset", "(", ")", "+", "Size", "<=", "Data", ".", "size", "(", ")", "&&", "\"Invalid fixup offset!\"", ")", ";", "assert", "(", "isIntN", "(", "Size", "*", "8", "+", "1", ",", "Value", ")", "&&", "\"Value does not fit in the Fixup field\"", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "Size", ";", "++", "i", ")", "Data", "[", "Fixup", ".", "getOffset", "(", ")", "+", "i", "]", "=", "uint8_t", "(", "Value", ">>", "(", "i", "*", "8", ")", ")", ";", "}", ""], "natrual_language": ["Apply", "the", "Value", "for", "given", "Fixup", "into", "the", "provided", "data", "fragment", ",", "at", "the", "offset", "specified", "by", "the", "fixup", "and", "following", "the", "fixup", "kind", "as", "appropriate", "."], "TS_V_token": ["X86", "1", "\"Invalid fixup offset!\"", "8", "1", "\"Value does not fit in the Fixup field\"", "0", "8"], "File": "X86AsmBackend (2)", "Func": "applyFixup", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4076, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AnalyzeReturn", "(", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "CCAssignFn", "Fn", ")", "{", "PreAnalyzeReturn", "(", "Outs", ",", "Fn", ")", ";", "CCState", "::", "AnalyzeReturn", "(", "Outs", ",", "Fn", ")", ";", "}", ""], "natrual_language": ["AnalyzeReturn", "-", "Analyze", "the", "returned", "values", "of", "a", "return", ",", "incorporating", "info", "about", "the", "result", "values", "into", "this", "state", "."], "TS_V_token": ["Mips", "ISD::OutputArg"], "File": "MipsCCState8", "Func": "AnalyzeReturn", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4077, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Note", "(", "SMLoc", "L", ",", "const", "Twine", "&", "Msg", ",", "SMRange", "Range", "=", "None", ")", "{", "return", "getParser", "(", ")", ".", "Note", "(", "L", ",", "Msg", ",", "Range", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "note", "at", "the", "location", "L", ",", "with", "the", "message", "Msg", "."], "TS_V_token": ["ARM"], "File": "ARMAsmParser (2)2", "Func": "Note", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4078, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 Fixup Store Forward Block\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 Fixup Store Forward Block\""], "File": "X86FixupSFB", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4079, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MOSPassConfig", "::", "addPreRegBankSelect", "(", ")", "{", "addPass", "(", "createMOSCombiner", "(", ")", ")", ";", "addPass", "(", "createMOSLowerSelectPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "the", "register", "bank", "selection", "."], "TS_V_token": ["MOS", "MOS", "MOS", "MOS"], "File": "MOSTargetMachine", "Func": "addPreRegBankSelect", "Target": "MOS", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4080, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"BPF Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["BPF", "\"BPF Assembly Printer\""], "File": "BPFAsmPrinter (2)", "Func": "getPassName", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4081, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonEarlyIfConversion", "::", "isValid", "(", "const", "FlowPattern", "&", "FP", ")", "const", "{", "if", "(", "hasEHLabel", "(", "FP", ".", "SplitB", ")", ")", "return", "false", ";", "if", "(", "FP", ".", "TrueB", "&&", "!", "isValidCandidate", "(", "FP", ".", "TrueB", ")", ")", "return", "false", ";", "if", "(", "FP", ".", "FalseB", "&&", "!", "isValidCandidate", "(", "FP", ".", "FalseB", ")", ")", "return", "false", ";", "if", "(", "FP", ".", "JoinB", ")", "{", "const", "MachineBasicBlock", "&", "B", "=", "*", "FP", ".", "JoinB", ";", "for", "(", "auto", "&", "MI", ":", "B", ")", "{", "if", "(", "!", "MI", ".", "isPHI", "(", ")", ")", "break", ";", "if", "(", "usesUndefVReg", "(", "&", "MI", ")", ")", "return", "false", ";", "Register", "DefR", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "if", "(", "isPredicate", "(", "DefR", ")", ")", "return", "false", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "this", "iterator", "is", "still", "pointing", "at", "a", "valid", "entry", "."], "TS_V_token": ["Hexagon", "Hexagon", "0"], "File": "HexagonEarlyIfConv1", "Func": "isValid", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4082, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "Mips16InstrInfo", "::", "getOppositeBranchOpc", "(", "unsigned", "Opc", ")", "const", "{", "switch", "(", "Opc", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Illegal opcode!\"", ")", ";", "case", "Mips", "::", "BeqzRxImmX16", ":", "return", "Mips", "::", "BnezRxImmX16", ";", "case", "Mips", "::", "BnezRxImmX16", ":", "return", "Mips", "::", "BeqzRxImmX16", ";", "case", "Mips", "::", "BeqzRxImm16", ":", "return", "Mips", "::", "BnezRxImm16", ";", "case", "Mips", "::", "BnezRxImm16", ":", "return", "Mips", "::", "BeqzRxImm16", ";", "case", "Mips", "::", "BteqzT8CmpX16", ":", "return", "Mips", "::", "BtnezT8CmpX16", ";", "case", "Mips", "::", "BteqzT8SltX16", ":", "return", "Mips", "::", "BtnezT8SltX16", ";", "case", "Mips", "::", "BteqzT8SltiX16", ":", "return", "Mips", "::", "BtnezT8SltiX16", ";", "case", "Mips", "::", "Btnez16", ":", "return", "Mips", "::", "Bteqz16", ";", "case", "Mips", "::", "BtnezX16", ":", "return", "Mips", "::", "BteqzX16", ";", "case", "Mips", "::", "BtnezT8CmpiX16", ":", "return", "Mips", "::", "BteqzT8CmpiX16", ";", "case", "Mips", "::", "BtnezT8SltuX16", ":", "return", "Mips", "::", "BteqzT8SltuX16", ";", "case", "Mips", "::", "BtnezT8SltiuX16", ":", "return", "Mips", "::", "BteqzT8SltiuX16", ";", "case", "Mips", "::", "Bteqz16", ":", "return", "Mips", "::", "Btnez16", ";", "case", "Mips", "::", "BteqzX16", ":", "return", "Mips", "::", "BtnezX16", ";", "case", "Mips", "::", "BteqzT8CmpiX16", ":", "return", "Mips", "::", "BtnezT8CmpiX16", ";", "case", "Mips", "::", "BteqzT8SltuX16", ":", "return", "Mips", "::", "BtnezT8SltuX16", ";", "case", "Mips", "::", "BteqzT8SltiuX16", ":", "return", "Mips", "::", "BtnezT8SltiuX16", ";", "case", "Mips", "::", "BtnezT8CmpX16", ":", "return", "Mips", "::", "BteqzT8CmpX16", ";", "case", "Mips", "::", "BtnezT8SltX16", ":", "return", "Mips", "::", "BteqzT8SltX16", ";", "case", "Mips", "::", "BtnezT8SltiX16", ":", "return", "Mips", "::", "BteqzT8SltiX16", ";", "}", "assert", "(", "false", "&&", "\"Implement this function.\"", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getOppositeBranchOpc", "-", "Return", "the", "inverse", "of", "the", "specified", "opcode", ",", "e.g", "."], "TS_V_token": ["Mips", "Mips", "\"Illegal opcode!\"", "Mips::BeqzRxImmX16", "Mips::BnezRxImmX16", "Mips::BnezRxImmX16", "Mips::BeqzRxImmX16", "Mips::BeqzRxImm16", "Mips::BnezRxImm16", "Mips::BnezRxImm16", "Mips::BeqzRxImm16", "Mips::BteqzT8CmpX16", "Mips::BtnezT8CmpX16", "Mips::BteqzT8SltX16", "Mips::BtnezT8SltX16", "Mips::BteqzT8SltiX16", "Mips::BtnezT8SltiX16", "Mips::Btnez16", "Mips::Bteqz16", "Mips::BtnezX16", "Mips::BteqzX16", "Mips::BtnezT8CmpiX16", "Mips::BteqzT8CmpiX16", "Mips::BtnezT8SltuX16", "Mips::BteqzT8SltuX16", "Mips::BtnezT8SltiuX16", "Mips::BteqzT8SltiuX16", "Mips::Bteqz16", "Mips::Btnez16", "Mips::BteqzX16", "Mips::BtnezX16", "Mips::BteqzT8CmpiX16", "Mips::BtnezT8CmpiX16", "Mips::BteqzT8SltuX16", "Mips::BtnezT8SltuX16", "Mips::BteqzT8SltiuX16", "Mips::BtnezT8SltiuX16", "Mips::BtnezT8CmpX16", "Mips::BteqzT8CmpX16", "Mips::BtnezT8SltX16", "Mips::BteqzT8SltX16", "Mips::BtnezT8SltiX16", "Mips::BteqzT8SltiX16", "\"Implement this function.\"", "0"], "File": "Mips16InstrInfo", "Func": "getOppositeBranchOpc", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4083, "Length": 234, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "MSP430TargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "unsigned", "Opc", "=", "MI", "->", "getOpcode", "(", ")", ";", "if", "(", "Opc", "==", "MSP430", "::", "Shl8", "||", "Opc", "==", "MSP430", "::", "Shl16", "||", "Opc", "==", "MSP430", "::", "Sra8", "||", "Opc", "==", "MSP430", "::", "Sra16", "||", "Opc", "==", "MSP430", "::", "Srl8", "||", "Opc", "==", "MSP430", "::", "Srl16", ")", "return", "EmitShiftInstr", "(", "MI", ",", "BB", ")", ";", "const", "TargetInstrInfo", "&", "TII", "=", "*", "BB", "->", "getParent", "(", ")", "->", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "dl", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "assert", "(", "(", "Opc", "==", "MSP430", "::", "Select16", "||", "Opc", "==", "MSP430", "::", "Select8", ")", "&&", "\"Unexpected instr type to insert\"", ")", ";", "const", "BasicBlock", "*", "LLVM_BB", "=", "BB", "->", "getBasicBlock", "(", ")", ";", "MachineFunction", "::", "iterator", "I", "=", "BB", ";", "++", "I", ";", "MachineBasicBlock", "*", "thisMBB", "=", "BB", ";", "MachineFunction", "*", "F", "=", "BB", "->", "getParent", "(", ")", ";", "MachineBasicBlock", "*", "copy0MBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineBasicBlock", "*", "copy1MBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "F", "->", "insert", "(", "I", ",", "copy0MBB", ")", ";", "F", "->", "insert", "(", "I", ",", "copy1MBB", ")", ";", "copy1MBB", "->", "splice", "(", "copy1MBB", "->", "begin", "(", ")", ",", "BB", ",", "std", "::", "next", "(", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", ",", "BB", "->", "end", "(", ")", ")", ";", "copy1MBB", "->", "transferSuccessorsAndUpdatePHIs", "(", "BB", ")", ";", "BB", "->", "addSuccessor", "(", "copy0MBB", ")", ";", "BB", "->", "addSuccessor", "(", "copy1MBB", ")", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", ".", "get", "(", "MSP430", "::", "JCC", ")", ")", ".", "addMBB", "(", "copy1MBB", ")", ".", "addImm", "(", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ")", ";", "BB", "=", "copy0MBB", ";", "BB", "->", "addSuccessor", "(", "copy1MBB", ")", ";", "BB", "=", "copy1MBB", ";", "BuildMI", "(", "*", "BB", ",", "BB", "->", "begin", "(", ")", ",", "dl", ",", "TII", ".", "get", "(", "MSP430", "::", "PHI", ")", ",", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "copy0MBB", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "thisMBB", ")", ";", "MI", "->", "eraseFromParent", "(", ")", ";", "return", "BB", ";", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "."], "TS_V_token": ["MSP430", "MSP430", "MSP430::Shl8", "MSP430::Shl16", "MSP430::Sra8", "MSP430::Sra16", "MSP430::Srl8", "MSP430::Srl16", "MSP430::Select16", "MSP430::Select8", "\"Unexpected instr type to insert\"", "MSP430::JCC", "3", "MSP430::PHI", "0", "2", "1"], "File": "MSP430ISelLowering", "Func": "EmitInstrWithCustomInserter", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4084, "Length": 380, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mn10300_address_cost", "(", "rtx", "x", ")", "{", "int", "s", "=", "0", ";", "return", "mn10300_address_cost_1", "(", "x", ",", "&", "s", ")", ";", "}", ""], "natrual_language": ["For", "addresses", ",", "costs", "are", "relative", "to", "``", "MOV", "(", "Rm", ")", ",", "Rn", "''", ".", "For", "AM33", "this", "is", "the", "3-byte", "fully", "general", "instruction", ";", "for", "MN103", "this", "is", "the", "2-byte", "form", "with", "an", "address", "register", "."], "TS_V_token": ["mn10300", "0"], "File": "mn103003", "Func": "mn10300_address_cost", "Target": "mn10300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4085, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mcore_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", "(", "2", "*", "UNITS_PER_WORD", ")", ",", "BLOCK_OP_NORMAL", ")", ";", "mem", "=", "adjust_address", "(", "m_tramp", ",", "SImode", ",", "8", ")", ";", "emit_move_insn", "(", "mem", ",", "chain_value", ")", ";", "mem", "=", "adjust_address", "(", "m_tramp", ",", "SImode", ",", "12", ")", ";", "emit_move_insn", "(", "mem", ",", "fnaddr", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_TRAMPOLINE_INIT", "."], "TS_V_token": ["mcore", "0", "2", "8", "12"], "File": "mcore", "Func": "mcore_trampoline_init", "Target": "mcore", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4086, "Length": 85, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"NVPTX Proxy Register Instruction Erasure\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["NVPTX", "\"NVPTX Proxy Register Instruction Erasure\""], "File": "NVPTXProxyRegErasure", "Func": "getPassName", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4087, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "CCAssignFn", "*", "AArch64TargetLowering", "::", "CCAssignFnForReturn", "(", "CallingConv", "::", "ID", "CC", ")", "const", "{", "return", "CC", "==", "CallingConv", "::", "WebKit_JS", "?", "RetCC_AArch64_WebKit_JS", ":", "RetCC_AArch64_AAPCS", ";", "}", ""], "natrual_language": ["Selects", "the", "correct", "CCAssignFn", "for", "a", "given", "CallingConvention", "value", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64ISelLowering (2)2", "Func": "CCAssignFnForReturn", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4088, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "EmitInstruction", "(", "uint64_t", "Val", ",", "unsigned", "Size", ",", "raw_ostream", "&", "OS", ")", "const", "{", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Size", ";", "++", "i", ")", "{", "unsigned", "Shift", "=", "IsLittleEndian", "?", "i", "*", "8", ":", "(", "Size", "-", "1", "-", "i", ")", "*", "8", ";", "EmitByte", "(", "(", "Val", ">>", "Shift", ")", "&", "0xff", ",", "OS", ")", ";", "}", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["Cpu0", "0", "8", "1", "8", "0xff"], "File": "Cpu0MCCodeEmitter1", "Func": "EmitInstruction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4089, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "GBZ80TargetLowering", "::", "isOffsetFoldingLegal", "(", "const", "GlobalAddressSDNode", "*", "GA", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "folding", "a", "constant", "offset", "with", "the", "given", "GlobalAddress", "is", "legal", "."], "TS_V_token": ["GBZ80", "GB"], "File": "GBZ80ISelLowering", "Func": "isOffsetFoldingLegal", "Target": "GBZ80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4090, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "DCPU16TargetLowering", "::", "LowerCall", "(", "TargetLowering", "::", "CallLoweringInfo", "&", "CLI", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "SelectionDAG", "&", "DAG", "=", "CLI", ".", "DAG", ";", "DebugLoc", "&", "dl", "=", "CLI", ".", "DL", ";", "SmallVector", "<", "ISD", "::", "OutputArg", ",", "32", ">", "&", "Outs", "=", "CLI", ".", "Outs", ";", "SmallVector", "<", "SDValue", ",", "32", ">", "&", "OutVals", "=", "CLI", ".", "OutVals", ";", "SmallVector", "<", "ISD", "::", "InputArg", ",", "32", ">", "&", "Ins", "=", "CLI", ".", "Ins", ";", "SDValue", "Chain", "=", "CLI", ".", "Chain", ";", "SDValue", "Callee", "=", "CLI", ".", "Callee", ";", "bool", "&", "isTailCall", "=", "CLI", ".", "IsTailCall", ";", "CallingConv", "::", "ID", "CallConv", "=", "CLI", ".", "CallConv", ";", "bool", "isVarArg", "=", "CLI", ".", "IsVarArg", ";", "isTailCall", "=", "false", ";", "switch", "(", "CallConv", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unsupported calling convention\"", ")", ";", "case", "CallingConv", "::", "Fast", ":", "case", "CallingConv", "::", "C", ":", "return", "LowerCCCCallTo", "(", "Chain", ",", "Callee", ",", "CallConv", ",", "isVarArg", ",", "isTailCall", ",", "Outs", ",", "OutVals", ",", "Ins", ",", "dl", ",", "DAG", ",", "InVals", ")", ";", "case", "CallingConv", "::", "DCPU16_INTR", ":", "report_fatal_error", "(", "\"ISRs cannot be called directly\"", ")", ";", "}", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "calls", "into", "the", "specified", "DAG", "."], "TS_V_token": ["Dcpu16", "DCPU16", "ISD::OutputArg", "32", "32", "ISD::InputArg", "32", "\"Unsupported calling convention\"", "DCPU16", "\"ISRs cannot be called directly\""], "File": "Dcpu16ISelLowering", "Func": "LowerCall", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4091, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "expand", "(", "SDValue", "V", ")", "{", "SDLoc", "DL", "(", "V", ")", ";", "EVT", "VT", "=", "V", ".", "getValueType", "(", ")", ";", "unsigned", "VectWidth", "=", "VT", ".", "getVectorNumElements", "(", ")", ";", "if", "(", "V", ".", "getOpcode", "(", ")", "==", "ISD", "::", "BUILD_VECTOR", ")", "{", "if", "(", "isSplat", "(", "V", ")", ")", "return", "V", ";", "if", "(", "!", "isBuildVectorWithUndefs", "(", "V", ")", ")", "return", "SDValue", "(", ")", ";", "SmallVector", "<", "SDValue", ",", "64", ">", "Args", ";", "Args", ".", "append", "(", "VectWidth", ",", "V", ".", "getOperand", "(", "0", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "ISD", "::", "BUILD_VECTOR", ",", "DL", ",", "VT", ",", "Args", ")", ";", "}", "if", "(", "isBinaryVectorOperation", "(", "V", ")", ")", "{", "SDValue", "Op1", "=", "V", ".", "getOperand", "(", "0", ")", ";", "SDValue", "Op2", "=", "V", ".", "getOperand", "(", "1", ")", ";", "SDValue", "NewOp1", "=", "expand", "(", "Op1", ")", ";", "if", "(", "!", "NewOp1", ")", "return", "SDValue", "(", ")", ";", "SDValue", "NewOp2", "=", "expand", "(", "Op2", ")", ";", "if", "(", "!", "NewOp2", ")", "return", "SDValue", "(", ")", ";", "return", "DAG", ".", "getNode", "(", "V", ".", "getOpcode", "(", ")", ",", "DL", ",", "VT", ",", "NewOp1", ",", "NewOp2", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["expand", "-", "Expand", "a", "record", "into", "a", "set", "of", "elements", "if", "possible", "."], "TS_V_token": ["TPC", "ISD::BUILD_VECTOR", "64", "0", "ISD::BUILD_VECTOR", "0", "1"], "File": "TPCISelLowering", "Func": "expand", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4092, "Length": 197, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "pa_print_operand_punct_valid_p", "(", "unsigned", "char", "code", ")", "{", "if", "(", "code", "==", "'@'", "||", "code", "==", "'#'", "||", "code", "==", "'*'", "||", "code", "==", "'^'", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_PRINT_OPERAND_PUNCT_VALID_P", "hook", "."], "TS_V_token": ["pa"], "File": "pa", "Func": "pa_print_operand_punct_valid_p", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4093, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "arm_gen_store_multiple_1", "(", "int", "count", ",", "int", "*", "regs", ",", "rtx", "*", "mems", ",", "rtx", "basereg", ",", "HOST_WIDE_INT", "wback_offset", ")", "{", "int", "i", "=", "0", ",", "j", ";", "rtx", "result", ";", "if", "(", "GET_CODE", "(", "basereg", ")", "==", "PLUS", ")", "basereg", "=", "XEXP", "(", "basereg", ",", "0", ")", ";", "if", "(", "!", "multiple_operation_profitable_p", "(", "false", ",", "count", ",", "0", ")", ")", "{", "rtx", "seq", ";", "start_sequence", "(", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "count", ";", "i", "++", ")", "emit_move_insn", "(", "mems", "[", "i", "]", ",", "gen_rtx_REG", "(", "SImode", ",", "regs", "[", "i", "]", ")", ")", ";", "if", "(", "wback_offset", "!=", "0", ")", "emit_move_insn", "(", "basereg", ",", "plus_constant", "(", "Pmode", ",", "basereg", ",", "wback_offset", ")", ")", ";", "seq", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "return", "seq", ";", "}", "result", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "count", "+", "(", "wback_offset", "!=", "0", "?", "1", ":", "0", ")", ")", ")", ";", "if", "(", "wback_offset", "!=", "0", ")", "{", "XVECEXP", "(", "result", ",", "0", ",", "0", ")", "=", "gen_rtx_SET", "(", "basereg", ",", "plus_constant", "(", "Pmode", ",", "basereg", ",", "wback_offset", ")", ")", ";", "i", "=", "1", ";", "count", "++", ";", "}", "for", "(", "j", "=", "0", ";", "i", "<", "count", ";", "i", "++", ",", "j", "++", ")", "XVECEXP", "(", "result", ",", "0", ",", "i", ")", "=", "gen_rtx_SET", "(", "mems", "[", "j", "]", ",", "gen_rtx_REG", "(", "SImode", ",", "regs", "[", "j", "]", ")", ")", ";", "return", "result", ";", "}", ""], "natrual_language": ["Generate", "a", "store-multiple", "instruction", ".", "COUNT", "is", "the", "number", "of", "stores", "in", "the", "instruction", ";", "REGS", "and", "MEMS", "are", "arrays", "containing", "the", "operands", ".", "BASEREG", "is", "the", "base", "register", "to", "be", "used", "in", "addressing", "the", "memory", "operands", ".", "WBACK_OFFSET", "is", "nonzero", "if", "the", "instruction", "should", "update", "the", "base", "register", "."], "TS_V_token": ["arm", "0", "0", "0", "0", "0", "0", "1", "0", "0", "0", "0", "1", "0", "0"], "File": "arm", "Func": "arm_gen_store_multiple_1", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4094, "Length": 242, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "ARMBaseRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "ARMSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "const", "ARMFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", "MF", ")", ")", "return", "STI", ".", "getFramePointerReg", "(", ")", ";", "return", "ARM", "::", "SP", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM", "ARM::SP"], "File": "ARMBaseRegisterInfo", "Func": "getFrameRegister", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4095, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "M88kAsmPrinter", "::", "emitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "MachineBasicBlock", "::", "const_instr_iterator", "I", "=", "MI", "->", "getIterator", "(", ")", ";", "MachineBasicBlock", "::", "const_instr_iterator", "E", "=", "MI", "->", "getParent", "(", ")", "->", "instr_end", "(", ")", ";", "do", "{", "if", "(", "I", "->", "isBundle", "(", ")", ")", "continue", ";", "MCInst", "LoweredMI", ";", "switch", "(", "I", "->", "getOpcode", "(", ")", ")", "{", "case", "M88k", "::", "RET", ":", "LoweredMI", "=", "MCInstBuilder", "(", "M88k", "::", "JMP", ")", ".", "addReg", "(", "M88k", "::", "R1", ")", ";", "break", ";", "case", "M88k", "::", "RETn", ":", "LoweredMI", "=", "MCInstBuilder", "(", "M88k", "::", "JMPn", ")", ".", "addReg", "(", "M88k", "::", "R1", ")", ";", "break", ";", "default", ":", "M88kMCInstLower", "Lower", "(", "MF", "->", "getContext", "(", ")", ",", "*", "this", ")", ";", "Lower", ".", "lower", "(", "&", "*", "I", ",", "LoweredMI", ")", ";", "break", ";", "}", "EmitToStreamer", "(", "*", "OutStreamer", ",", "LoweredMI", ")", ";", "}", "while", "(", "(", "++", "I", "!=", "E", ")", "&&", "I", "->", "isInsideBundle", "(", ")", ")", ";", "}", ""], "natrual_language": ["Targets", "should", "implement", "this", "to", "emit", "instructions", "."], "TS_V_token": ["M88k", "M88k", "M88k::RET", "M88k::JMP", "M88k::R1", "M88k::RETn", "M88k::JMPn", "M88k::R1", "M88k"], "File": "M88kAsmPrinter", "Func": "emitInstruction", "Target": "M88k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4096, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "increment_stack", "(", "signed", "int", "amount", ",", "bool", "in_prologue", ")", "{", "rtx", "inc", ";", "if", "(", "amount", "==", "0", ")", "return", ";", "inc", "=", "GEN_INT", "(", "amount", ")", ";", "if", "(", "!", "CONST_OK_FOR_K", "(", "amount", ")", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "12", ")", ";", "inc", "=", "emit_move_insn", "(", "reg", ",", "inc", ")", ";", "if", "(", "in_prologue", ")", "F", "(", "inc", ")", ";", "inc", "=", "reg", ";", "}", "inc", "=", "emit_insn", "(", "gen_addsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "inc", ")", ")", ";", "if", "(", "in_prologue", ")", "F", "(", "inc", ")", ";", "}", ""], "natrual_language": ["Common", "code", "to", "change", "the", "stack", "pointer", "."], "TS_V_token": ["v850", "0", "12"], "File": "v8504", "Func": "increment_stack", "Target": "v850", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4097, "Length": 96, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "lm32_print_operand_address", "(", "FILE", "*", "file", ",", "rtx", "addr", ")", "{", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "case", "REG", ":", "fprintf", "(", "file", ",", "\"(%s+0)\"", ",", "reg_names", "[", "REGNO", "(", "addr", ")", "]", ")", ";", "break", ";", "case", "MEM", ":", "output_address", "(", "VOIDmode", ",", "XEXP", "(", "addr", ",", "0", ")", ")", ";", "break", ";", "case", "PLUS", ":", "{", "rtx", "arg0", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "rtx", "arg1", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "arg0", ")", "==", "REG", "&&", "CONSTANT_P", "(", "arg1", ")", ")", "{", "if", "(", "GET_CODE", "(", "arg1", ")", "==", "CONST_INT", ")", "fprintf", "(", "file", ",", "\"(%s+%ld)\"", ",", "reg_names", "[", "REGNO", "(", "arg0", ")", "]", ",", "INTVAL", "(", "arg1", ")", ")", ";", "else", "{", "fprintf", "(", "file", ",", "\"(%s+\"", ",", "reg_names", "[", "REGNO", "(", "arg0", ")", "]", ")", ";", "output_addr_const", "(", "file", ",", "arg1", ")", ";", "fprintf", "(", "file", ",", "\")\"", ")", ";", "}", "}", "else", "if", "(", "CONSTANT_P", "(", "arg0", ")", "&&", "CONSTANT_P", "(", "arg1", ")", ")", "output_addr_const", "(", "file", ",", "addr", ")", ";", "else", "fatal_insn", "(", "\"bad operand\"", ",", "addr", ")", ";", "}", "break", ";", "case", "SYMBOL_REF", ":", "if", "(", "SYMBOL_REF_SMALL_P", "(", "addr", ")", ")", "{", "fprintf", "(", "file", ",", "\"gp(\"", ")", ";", "output_addr_const", "(", "file", ",", "addr", ")", ";", "fprintf", "(", "file", ",", "\")\"", ")", ";", "}", "else", "fatal_insn", "(", "\"can't use non gp relative absolute address\"", ",", "addr", ")", ";", "break", ";", "default", ":", "fatal_insn", "(", "\"invalid addressing mode\"", ",", "addr", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["A", "C", "compound", "statement", "to", "output", "to", "stdio", "stream", "STREAM", "the", "assembler", "syntax", "for", "an", "instruction", "operand", "that", "is", "a", "memory", "reference", "whose", "address", "is", "ADDR", ".", "ADDR", "is", "an", "RTL", "expression", ".", "On", "some", "machines", ",", "the", "syntax", "for", "a", "symbolic", "address", "depends", "on", "the", "section", "that", "the", "address", "refers", "to", ".", "On", "these", "machines", ",", "define", "the", "macro", "`", "ENCODE_SECTION_INFO", "'", "to", "store", "the", "information", "into", "the", "`", "symbol_ref", "'", ",", "and", "then", "check", "for", "it", "here", "."], "TS_V_token": ["lm32", "\"(%s+0)\"", "0", "0", "1", "\"(%s+%ld)\"", "\"(%s+\"", "\")\"", "\"bad operand\"", "\"gp(\"", "\")\"", "\"can't use non gp relative absolute address\"", "\"invalid addressing mode\""], "File": "lm32", "Func": "lm32_print_operand_address", "Target": "lm32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4098, "Length": 244, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "main", "(", "void", ")", "{", "enum", "avr_arch_id", "arch_id", "=", "ARCH_UNKNOWN", ";", "size_t", "i", ",", "n_mcus", "=", "0", ";", "const", "avr_mcu_t", "*", "mcu", ";", "printf", "(", "\"@c Copyright (C) 2012-2015 Free Software Foundation, Inc.\\n\"", ")", ";", "printf", "(", "\"@c This is part of the GCC manual.\\n\"", ")", ";", "printf", "(", "\"@c For copying conditions, see the file \"", "\"gcc/doc/include/fdl.texi.\\n\\n\"", ")", ";", "printf", "(", "\"@c This file is generated automatically using\\n\"", ")", ";", "printf", "(", "\"@c gcc/config/avr/gen-avr-mmcu-texi.c from:\\n\"", ")", ";", "printf", "(", "\"@c gcc/config/avr/avr-arch.h\\n\"", ")", ";", "printf", "(", "\"@c gcc/config/avr/avr-devices.c\\n\"", ")", ";", "printf", "(", "\"@c gcc/config/avr/avr-mcus.def\\n\\n\"", ")", ";", "printf", "(", "\"@c Please do not edit manually.\\n\\n\"", ")", ";", "printf", "(", "\"@table @code\\n\\n\"", ")", ";", "for", "(", "mcu", "=", "avr_mcu_types", ";", "mcu", "->", "name", ";", "mcu", "++", ")", "{", "if", "(", "mcu", "->", "macro", "==", "NULL", ")", "{", "arch_id", "=", "mcu", "->", "arch_id", ";", "print_mcus", "(", "n_mcus", ")", ";", "n_mcus", "=", "0", ";", "for", "(", "i", "=", "0", ";", "i", "<", "sizeof", "(", "avr_texinfo", ")", "/", "sizeof", "(", "*", "avr_texinfo", ")", ";", "i", "++", ")", "if", "(", "arch_id", "==", "avr_texinfo", "[", "i", "]", ".", "arch_id", ")", "printf", "(", "\"@item %s\\n%s\\n\"", ",", "mcu", "->", "name", ",", "avr_texinfo", "[", "i", "]", ".", "texinfo", ")", ";", "}", "else", "if", "(", "arch_id", "==", "(", "enum", "avr_arch_id", ")", "mcu", "->", "arch_id", ")", "{", "mcu_name", "[", "n_mcus", "++", "]", "=", "mcu", "->", "name", ";", "}", "}", "print_mcus", "(", "n_mcus", ")", ";", "printf", "(", "\"@end table\\n\"", ")", ";", "return", "EXIT_SUCCESS", ";", "}", ""], "natrual_language": ["Main", "program", "to", "convert", "flat", "files", "into", "built-in", "initialization", "code", "."], "TS_V_token": ["avr", "0", "\"@c Copyright (C) 2012-2015 Free Software Foundation, Inc.\\n\"", "\"@c This is part of the GCC manual.\\n\"", "\"@c For copying conditions, see the file \"", "\"gcc/doc/include/fdl.texi.\\n\\n\"", "\"@c This file is generated automatically using\\n\"", "\"@c gcc/config/avr/gen-avr-mmcu-texi.c from:\\n\"", "\"@c gcc/config/avr/avr-arch.h\\n\"", "\"@c gcc/config/avr/avr-devices.c\\n\"", "\"@c gcc/config/avr/avr-mcus.def\\n\\n\"", "\"@c Please do not edit manually.\\n\\n\"", "\"@table @code\\n\\n\"", "0", "0", "\"@item %s\\n%s\\n\"", "\"@end table\\n\""], "File": "gen-avr-mmcu-texi2", "Func": "main", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4099, "Length": 203, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "GCNPassConfig", "::", "addGlobalInstructionSelect", "(", ")", "{", "addPass", "(", "new", "InstructionSelect", "(", ")", ")", ";", "addPass", "(", "createSIAddIMGInitPass", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["This", "method", "should", "install", "a", "(", "global", ")", "instruction", "selector", "pass", ",", "which", "converts", "possibly", "generic", "instructions", "to", "fully", "target-specific", "instructions", ",", "thereby", "constraining", "all", "generic", "virtual", "registers", "to", "register", "classes", "."], "TS_V_token": ["AMDGPU", "SI"], "File": "AMDGPUTargetMachine94", "Func": "addGlobalInstructionSelect", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4100, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TeakTargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "dbgs", "(", ")", "<<", "\"Opcode = \"", "<<", "N", "->", "getOpcode", "(", ")", ";", "DAG", ".", "dump", "(", ")", ";", "N", "->", "dumpr", "(", "&", "DAG", ")", ";", "SDLoc", "dl", "(", "N", ")", ";", "SDValue", "Res", "=", "LowerOperation", "(", "SDValue", "(", "N", ",", "0", ")", ",", "DAG", ")", ";", "for", "(", "unsigned", "I", "=", "0", ",", "E", "=", "Res", "->", "getNumValues", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "Results", ".", "push_back", "(", "Res", ".", "getValue", "(", "I", ")", ")", ";", "}", ""], "natrual_language": ["ReplaceNodeResults", "-", "Replace", "the", "results", "of", "node", "with", "an", "illegal", "result", "type", "with", "new", "values", "built", "out", "of", "custom", "code", "."], "TS_V_token": ["Teak", "Teak", "\"Opcode = \"", "0", "0"], "File": "TeakISelLowering", "Func": "ReplaceNodeResults", "Target": "Teak", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4101, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "classof", "(", "const", "AArch64MCExpr", "*", ")", "{", "return", "true", ";", "}", ""], "natrual_language": ["Methods", "for", "support", "type", "inquiry", "through", "isa", ",", "cast", ",", "and", "dyn_cast", ":"], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64MCExpr (2)", "Func": "classof", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4102, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "num_insns_constant_multi", "(", "HOST_WIDE_INT", "value", ",", "machine_mode", "mode", ")", "{", "int", "nregs", "=", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ";", "int", "total", "=", "0", ";", "while", "(", "nregs", "--", ">", "0", ")", "{", "HOST_WIDE_INT", "low", "=", "sext_hwi", "(", "value", ",", "BITS_PER_WORD", ")", ";", "int", "insns", "=", "num_insns_constant_gpr", "(", "low", ")", ";", "if", "(", "insns", ">", "2", "&&", "rs6000_is_valid_and_mask", "(", "GEN_INT", "(", "low", ")", ",", "DImode", ")", ")", "insns", "=", "2", ";", "total", "+=", "insns", ";", "value", ">>=", "BITS_PER_WORD", ";", "}", "return", "total", ";", "}", ""], "natrual_language": ["Helper", "for", "num_insns_constant", ".", "Allow", "constants", "formed", "by", "the", "num_insns_constant_gpr", "sequences", ",", "plus", "li", "-1", ",", "rldicl/rldicr/rlwinm", ",", "and", "handle", "modes", "that", "require", "multiple", "gprs", "."], "TS_V_token": ["rs6000", "1", "0", "0", "2", "2"], "File": "rs60008", "Func": "num_insns_constant_multi", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4103, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "fp_high_losum_p", "(", "rtx", "op", ")", "{", "if", "(", "GET_CODE", "(", "op", ")", "==", "CONST_DOUBLE", ")", "{", "REAL_VALUE_TYPE", "r", ";", "long", "i", ";", "REAL_VALUE_FROM_CONST_DOUBLE", "(", "r", ",", "op", ")", ";", "REAL_VALUE_TO_TARGET_SINGLE", "(", "r", ",", "i", ")", ";", "return", "!", "SPARC_SIMM13_P", "(", "i", ")", "&&", "!", "SPARC_SETHI_P", "(", "i", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Nonzero", "if", "OP", "is", "a", "floating", "point", "constant", "which", "can", "be", "loaded", "into", "an", "integer", "register", "using", "a", "high/losum", "instruction", "sequence", "."], "TS_V_token": ["sparc", "0"], "File": "sparc3", "Func": "fp_high_losum_p", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4104, "Length": 55, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "NVPTXAsmPrinter", "::", "lowerOperand", "(", "const", "MachineOperand", "&", "MO", ",", "MCOperand", "&", "MCOp", ")", "{", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"unknown operand type\"", ")", ";", "case", "MachineOperand", "::", "MO_Register", ":", "MCOp", "=", "MCOperand", "::", "CreateReg", "(", "encodeVirtualRegister", "(", "MO", ".", "getReg", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "MCOp", "=", "MCOperand", "::", "CreateImm", "(", "MO", ".", "getImm", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "MCOp", "=", "MCOperand", "::", "CreateExpr", "(", "MCSymbolRefExpr", "::", "Create", "(", "MO", ".", "getMBB", "(", ")", "->", "getSymbol", "(", ")", ",", "OutContext", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "MCOp", "=", "GetSymbolRef", "(", "MO", ",", "GetExternalSymbolSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "MCOp", "=", "GetSymbolRef", "(", "MO", ",", "getSymbol", "(", "MO", ".", "getGlobal", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_FPImmediate", ":", "{", "const", "ConstantFP", "*", "Cnt", "=", "MO", ".", "getFPImm", "(", ")", ";", "APFloat", "Val", "=", "Cnt", "->", "getValueAPF", "(", ")", ";", "switch", "(", "Cnt", "->", "getType", "(", ")", "->", "getTypeID", "(", ")", ")", "{", "default", ":", "report_fatal_error", "(", "\"Unsupported FP type\"", ")", ";", "break", ";", "case", "Type", "::", "FloatTyID", ":", "MCOp", "=", "MCOperand", "::", "CreateExpr", "(", "NVPTXFloatMCExpr", "::", "CreateConstantFPSingle", "(", "Val", ",", "OutContext", ")", ")", ";", "break", ";", "case", "Type", "::", "DoubleTyID", ":", "MCOp", "=", "MCOperand", "::", "CreateExpr", "(", "NVPTXFloatMCExpr", "::", "CreateConstantFPDouble", "(", "Val", ",", "OutContext", ")", ")", ";", "break", ";", "}", "break", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Wrapper", "for", "MCInstLowering.lowerOperand", "(", ")", "for", "the", "tblgen'erated", "pseudo", "lowering", "."], "TS_V_token": ["NVPTX", "NVPTX", "\"unknown operand type\"", "\"Unsupported FP type\"", "NVPTX", "NVPTX"], "File": "NVPTXAsmPrinter24", "Func": "lowerOperand", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4105, "Length": 254, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 Enqueue Exit Blocks\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["X86", "\"X86 Enqueue Exit Blocks\""], "File": "X86EnqueueExits", "Func": "getPassName", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4106, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "emit_and_preserve", "(", "rtx", "seq", ",", "rtx", "reg", ",", "rtx", "reg2", ")", "{", "HOST_WIDE_INT", "offset", "=", "16", "*", "UNITS_PER_WORD", ";", "HOST_WIDE_INT", "size", "=", "SPARC_STACK_ALIGN", "(", "offset", "+", "2", "*", "UNITS_PER_WORD", ")", ";", "rtx", "slot", "=", "gen_rtx_MEM", "(", "word_mode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "SPARC_STACK_BIAS", "+", "offset", ")", ")", ";", "emit_insn", "(", "gen_stack_pointer_inc", "(", "GEN_INT", "(", "-", "size", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "slot", ",", "reg", ")", ")", ";", "if", "(", "reg2", ")", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "adjust_address", "(", "slot", ",", "word_mode", ",", "UNITS_PER_WORD", ")", ",", "reg2", ")", ")", ";", "emit_insn", "(", "seq", ")", ";", "if", "(", "reg2", ")", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "reg2", ",", "adjust_address", "(", "slot", ",", "word_mode", ",", "UNITS_PER_WORD", ")", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "reg", ",", "slot", ")", ")", ";", "emit_insn", "(", "gen_stack_pointer_inc", "(", "GEN_INT", "(", "size", ")", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "the", "sequence", "of", "insns", "SEQ", "while", "preserving", "the", "registers", "."], "TS_V_token": ["sparc", "16", "2"], "File": "sparc4", "Func": "emit_and_preserve", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4107, "Length": 151, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SparcPassConfig", "::", "addInstSelector", "(", ")", "{", "PM", ".", "add", "(", "createSparcISelDag", "(", "getSparcTargetMachine", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "Sparc"], "File": "SparcTargetMachine15", "Func": "addInstSelector", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4108, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCBranchCoalescing", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", "||", "MF", ".", "empty", "(", ")", ")", "return", "false", ";", "bool", "didSomething", "=", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"******** Branch Coalescing ********\\n\"", ")", ";", "initialize", "(", "MF", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Function: \"", ";", "MF", ".", "dump", "(", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ")", ";", "CoalescingCandidateInfo", "Cand1", ",", "Cand2", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "bool", "MergedCandidates", "=", "false", ";", "do", "{", "MergedCandidates", "=", "false", ";", "Cand1", ".", "clear", "(", ")", ";", "Cand2", ".", "clear", "(", ")", ";", "Cand1", ".", "BranchBlock", "=", "&", "MBB", ";", "if", "(", "!", "canCoalesceBranch", "(", "Cand1", ")", ")", "break", ";", "Cand2", ".", "BranchBlock", "=", "Cand1", ".", "BranchTargetBlock", ";", "if", "(", "!", "canCoalesceBranch", "(", "Cand2", ")", ")", "break", ";", "assert", "(", "MPDT", "->", "dominates", "(", "Cand2", ".", "BranchTargetBlock", ",", "Cand1", ".", "BranchBlock", ")", "&&", "\"Branch-taken block should post-dominate first candidate\"", ")", ";", "if", "(", "!", "identicalOperands", "(", "Cand1", ".", "Cond", ",", "Cand2", ".", "Cond", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Blocks \"", "<<", "Cand1", ".", "BranchBlock", "->", "getNumber", "(", ")", "<<", "\" and \"", "<<", "Cand2", ".", "BranchBlock", "->", "getNumber", "(", ")", "<<", "\" have different branches\\n\"", ")", ";", "break", ";", "}", "if", "(", "!", "canMerge", "(", "Cand2", ",", "Cand1", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Cannot merge blocks \"", "<<", "Cand1", ".", "BranchBlock", "->", "getNumber", "(", ")", "<<", "\" and \"", "<<", "Cand2", ".", "BranchBlock", "->", "getNumber", "(", ")", "<<", "\"\\n\"", ")", ";", "NumBlocksNotCoalesced", "++", ";", "continue", ";", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Merging blocks \"", "<<", "Cand1", ".", "BranchBlock", "->", "getNumber", "(", ")", "<<", "\" and \"", "<<", "Cand1", ".", "BranchTargetBlock", "->", "getNumber", "(", ")", "<<", "\"\\n\"", ")", ";", "MergedCandidates", "=", "mergeCandidates", "(", "Cand2", ",", "Cand1", ")", ";", "if", "(", "MergedCandidates", ")", "didSomething", "=", "true", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Function after merging: \"", ";", "MF", ".", "dump", "(", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ")", ";", "}", "while", "(", "MergedCandidates", ")", ";", "}", "if", "(", "didSomething", ")", "MF", ".", "verify", "(", "nullptr", ",", "\"Error in code produced by branch coalescing\"", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Finished Branch Coalescing\\n\"", ")", ";", "return", "didSomething", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["PowerPC", "PPC", "\"******** Branch Coalescing ********\\n\"", "\"Function: \"", "\"\\n\"", "\"Branch-taken block should post-dominate first candidate\"", "\"Blocks \"", "\" and \"", "\" have different branches\\n\"", "\"Cannot merge blocks \"", "\" and \"", "\"\\n\"", "\"Merging blocks \"", "\" and \"", "\"\\n\"", "\"Function after merging: \"", "\"\\n\"", "\"Error in code produced by branch coalescing\"", "\"Finished Branch Coalescing\\n\""], "File": "PPCBranchCoalescing", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4109, "Length": 353, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "machopic_output_stub", "(", "FILE", "*", "file", ",", "const", "char", "*", "symb", ",", "const", "char", "*", "stub", ")", "{", "unsigned", "int", "length", ";", "char", "*", "symbol_name", ",", "*", "lazy_ptr_name", ";", "char", "*", "local_label_0", ";", "static", "int", "label", "=", "0", ";", "symb", "=", "(", "*", "targetm", ".", "strip_name_encoding", ")", "(", "symb", ")", ";", "length", "=", "strlen", "(", "symb", ")", ";", "symbol_name", "=", "alloca", "(", "length", "+", "32", ")", ";", "GEN_SYMBOL_NAME_FOR_SYMBOL", "(", "symbol_name", ",", "symb", ",", "length", ")", ";", "lazy_ptr_name", "=", "alloca", "(", "length", "+", "32", ")", ";", "GEN_LAZY_PTR_NAME_FOR_SYMBOL", "(", "lazy_ptr_name", ",", "symb", ",", "length", ")", ";", "if", "(", "flag_pic", "==", "2", ")", "machopic_picsymbol_stub1_section", "(", ")", ";", "else", "machopic_symbol_stub1_section", "(", ")", ";", "if", "(", "flag_pic", "==", "2", ")", "{", "fprintf", "(", "file", ",", "\"\\t.align 5\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"%s:\\n\"", ",", "stub", ")", ";", "fprintf", "(", "file", ",", "\"\\t.indirect_symbol %s\\n\"", ",", "symbol_name", ")", ";", "label", "++", ";", "local_label_0", "=", "alloca", "(", "sizeof", "(", "\"\\\"L00000000000$spb\\\"\"", ")", ")", ";", "sprintf", "(", "local_label_0", ",", "\"\\\"L%011d$spb\\\"\"", ",", "label", ")", ";", "fprintf", "(", "file", ",", "\"\\tmflr r0\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\tbcl 20,31,%s\\n\"", ",", "local_label_0", ")", ";", "fprintf", "(", "file", ",", "\"%s:\\n\\tmflr r11\\n\"", ",", "local_label_0", ")", ";", "fprintf", "(", "file", ",", "\"\\taddis r11,r11,ha16(%s-%s)\\n\"", ",", "lazy_ptr_name", ",", "local_label_0", ")", ";", "fprintf", "(", "file", ",", "\"\\tmtlr r0\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\t%s r12,lo16(%s-%s)(r11)\\n\"", ",", "(", "TARGET_64BIT", "?", "\"ldu\"", ":", "\"lwzu\"", ")", ",", "lazy_ptr_name", ",", "local_label_0", ")", ";", "fprintf", "(", "file", ",", "\"\\tmtctr r12\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\tbctr\\n\"", ")", ";", "}", "else", "{", "fprintf", "(", "file", ",", "\"\\t.align 4\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"%s:\\n\"", ",", "stub", ")", ";", "fprintf", "(", "file", ",", "\"\\t.indirect_symbol %s\\n\"", ",", "symbol_name", ")", ";", "fprintf", "(", "file", ",", "\"\\tlis r11,ha16(%s)\\n\"", ",", "lazy_ptr_name", ")", ";", "fprintf", "(", "file", ",", "\"\\t%s r12,lo16(%s)(r11)\\n\"", ",", "(", "TARGET_64BIT", "?", "\"ldu\"", ":", "\"lwzu\"", ")", ",", "lazy_ptr_name", ")", ";", "fprintf", "(", "file", ",", "\"\\tmtctr r12\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\tbctr\\n\"", ")", ";", "}", "machopic_lazy_symbol_ptr_section", "(", ")", ";", "fprintf", "(", "file", ",", "\"%s:\\n\"", ",", "lazy_ptr_name", ")", ";", "fprintf", "(", "file", ",", "\"\\t.indirect_symbol %s\\n\"", ",", "symbol_name", ")", ";", "fprintf", "(", "file", ",", "\"%sdyld_stub_binding_helper\\n\"", ",", "(", "TARGET_64BIT", "?", "DOUBLE_INT_ASM_OP", ":", "\"\\t.long\\t\"", ")", ")", ";", "}", ""], "natrual_language": ["Generate", "external", "symbol", "indirection", "stubs", "(", "PIC", "and", "non-PIC", ")", "."], "TS_V_token": ["rs6000", "0", "32", "32", "2", "2", "\"\\t.align 5\\n\"", "\"%s:\\n\"", "\"\\t.indirect_symbol %s\\n\"", "\"\\\"L00000000000$spb\\\"\"", "\"\\\"L%011d$spb\\\"\"", "\"\\tmflr r0\\n\"", "\"\\tbcl 20,31,%s\\n\"", "\"%s:\\n\\tmflr r11\\n\"", "\"\\taddis r11,r11,ha16(%s-%s)\\n\"", "\"\\tmtlr r0\\n\"", "\"\\t%s r12,lo16(%s-%s)(r11)\\n\"", "\"ldu\"", "\"lwzu\"", "\"\\tmtctr r12\\n\"", "\"\\tbctr\\n\"", "\"\\t.align 4\\n\"", "\"%s:\\n\"", "\"\\t.indirect_symbol %s\\n\"", "\"\\tlis r11,ha16(%s)\\n\"", "\"\\t%s r12,lo16(%s)(r11)\\n\"", "\"ldu\"", "\"lwzu\"", "\"\\tmtctr r12\\n\"", "\"\\tbctr\\n\"", "\"%s:\\n\"", "\"\\t.indirect_symbol %s\\n\"", "\"%sdyld_stub_binding_helper\\n\"", "\"\\t.long\\t\""], "File": "rs60003", "Func": "machopic_output_stub", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4110, "Length": 346, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "supportSplitCSR", "(", "MachineFunction", "*", "MF", ")", "const", "override", "{", "return", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "CXX_FAST_TLS", "&&", "MF", "->", "getFunction", "(", ")", ".", "hasFnAttribute", "(", "Attribute", "::", "NoUnwind", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supports", "that", "a", "subset", "of", "CSRs", "for", "the", "given", "machine", "function", "is", "handled", "explicitly", "via", "copies", "."], "TS_V_token": ["PowerPC"], "File": "PPCISelLowering (2)2", "Func": "supportSplitCSR", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4111, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "aarch64_is_extend_from_extract", "(", "machine_mode", "mode", ",", "rtx", "mult_imm", ",", "rtx", "extract_imm", ")", "{", "HOST_WIDE_INT", "mult_val", ",", "extract_val", ";", "if", "(", "!", "CONST_INT_P", "(", "mult_imm", ")", "||", "!", "CONST_INT_P", "(", "extract_imm", ")", ")", "return", "false", ";", "mult_val", "=", "INTVAL", "(", "mult_imm", ")", ";", "extract_val", "=", "INTVAL", "(", "extract_imm", ")", ";", "if", "(", "extract_val", ">", "8", "&&", "extract_val", "<", "GET_MODE_BITSIZE", "(", "mode", ")", "&&", "exact_log2", "(", "extract_val", "&", "~", "7", ")", ">", "0", "&&", "(", "extract_val", "&", "7", ")", "<=", "4", "&&", "mult_val", "==", "(", "1", "<<", "(", "extract_val", "&", "7", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "offsets", "to", "a", "zero/sign-extract", "operation", "represent", "an", "expression", "that", "matches", "an", "extend", "operation", ".", "The", "operands", "represent", "the", "paramters", "from", "(", "extract", ":", "MODE", "(", "mult", "(", "reg", ")", "(", "MULT_IMM", ")", ")", "(", "EXTRACT_IMM", ")", "(", "const_int", "0", ")", ")", "."], "TS_V_token": ["aarch64", "8", "7", "0", "7", "4", "1", "7"], "File": "aarch642", "Func": "aarch64_is_extend_from_extract", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4112, "Length": 99, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "legitimate_address_p", "(", "enum", "machine_mode", "mode", ",", "rtx", "address", ")", "{", "GO_IF_LEGITIMATE_ADDRESS", "(", "mode", ",", "address", ",", "win", ")", ";", "return", "0", ";", "win", ":", "return", "1", ";", "}", ""], "natrual_language": ["legitimate_address_p", "returns", "1", "if", "it", "recognizes", "an", "RTL", "expression", "``", "x", "''", "that", "is", "a", "valid", "memory", "address", "for", "an", "instruction", ".", "The", "MODE", "argument", "is", "the", "machine", "mode", "for", "the", "MEM", "expression", "that", "wants", "to", "use", "this", "address", "."], "TS_V_token": ["pdp11", "0", "1"], "File": "pdp113", "Func": "legitimate_address_p", "Target": "pdp11", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4113, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "rvexTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "rvexPassConfig", "(", "this", ",", "PM", ")", ";", "}", ""], "natrual_language": ["Create", "a", "pass", "configuration", "object", "to", "be", "used", "by", "addPassToEmitX", "methods", "for", "generating", "a", "pipeline", "of", "CodeGen", "passes", "."], "TS_V_token": ["rvex", "rvex", "rvex"], "File": "rvexTargetMachine", "Func": "createPassConfig", "Target": "rvex", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 4114, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "Nios2", "::", "NumTargetFixupKinds", ";", "}", ""], "natrual_language": ["Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "."], "TS_V_token": ["Nios2", "Nios2::NumTargetFixupKinds"], "File": "Nios2AsmBackend", "Func": "getNumFixupKinds", "Target": "Nios2", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4115, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyLateEHPrepare", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** Late EH Prepare **********\\n\"", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "if", "(", "MF", ".", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", "->", "getExceptionHandlingType", "(", ")", "!=", "ExceptionHandling", "::", "Wasm", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "hasPersonalityFn", "(", ")", ")", "{", "Changed", "|=", "removeUnreachableEHPads", "(", "MF", ")", ";", "recordCatchRetBBs", "(", "MF", ")", ";", "Changed", "|=", "hoistCatches", "(", "MF", ")", ";", "Changed", "|=", "addCatchAlls", "(", "MF", ")", ";", "Changed", "|=", "replaceFuncletReturns", "(", "MF", ")", ";", "}", "Changed", "|=", "removeUnnecessaryUnreachables", "(", "MF", ")", ";", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "hasPersonalityFn", "(", ")", ")", "Changed", "|=", "restoreStackPointer", "(", "MF", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"********** Late EH Prepare **********\\n\"", "\"********** Function: \""], "File": "WebAssemblyLateEHPrepare10", "Func": "runOnMachineFunction", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4116, "Length": 133, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "BlackfinRegisterInfo", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "TargetFrameInfo", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", ";", "if", "(", "!", "TFI", "->", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "int64_t", "Amount", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "Amount", "!=", "0", ")", "{", "assert", "(", "Amount", "%", "4", "==", "0", "&&", "\"Unaligned call frame size\"", ")", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "BF", "::", "ADJCALLSTACKDOWN", ")", "{", "adjustRegister", "(", "MBB", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "BF", "::", "SP", ",", "BF", "::", "P1", ",", "-", "Amount", ")", ";", "}", "else", "{", "assert", "(", "I", "->", "getOpcode", "(", ")", "==", "BF", "::", "ADJCALLSTACKUP", "&&", "\"Unknown call frame pseudo instruction\"", ")", ";", "adjustRegister", "(", "MBB", ",", "I", ",", "I", "->", "getDebugLoc", "(", ")", ",", "BF", "::", "SP", ",", "BF", "::", "P1", ",", "Amount", ")", ";", "}", "}", "}", "MBB", ".", "erase", "(", "I", ")", ";", "}", ""], "natrual_language": ["This", "method", "is", "called", "during", "prolog/epilog", "code", "insertion", "to", "eliminate", "call", "frame", "setup", "and", "destroy", "pseudo", "instructions", "(", "but", "only", "if", "the", "Target", "is", "using", "them", ")", "."], "TS_V_token": ["Blackfin", "0", "0", "4", "0", "\"Unaligned call frame size\"", "BF::ADJCALLSTACKDOWN", "BF::SP", "BF::P1", "BF::ADJCALLSTACKUP", "\"Unknown call frame pseudo instruction\"", "BF::SP", "BF::P1"], "File": "BlackfinRegisterInfo4", "Func": "eliminateCallFramePseudoInstr", "Target": "Blackfin", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4117, "Length": 167, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "print", "(", "raw_ostream", "&", "OS", ")", "const", "override", "{", "switch", "(", "Kind", ")", "{", "case", "Token", ":", "OS", "<<", "\"Tok:\"", "<<", "Tok", ".", "Tok", ";", "break", ";", "case", "Integer", ":", "OS", "<<", "\"Int:\"", "<<", "Int", ".", "Val", ";", "break", ";", "case", "Float", ":", "OS", "<<", "\"Flt:\"", "<<", "Flt", ".", "Val", ";", "break", ";", "case", "Symbol", ":", "OS", "<<", "\"Sym:\"", "<<", "Sym", ".", "Exp", ";", "break", ";", "case", "BrList", ":", "OS", "<<", "\"BrList:\"", "<<", "BrL", ".", "List", ".", "size", "(", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "."], "TS_V_token": ["WebAssembly", "\"Tok:\"", "\"Int:\"", "\"Flt:\"", "\"Sym:\"", "\"BrList:\""], "File": "WebAssemblyAsmParser (2)", "Func": "print", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4118, "Length": 86, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyCallIndirectFixup", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** Fixing up CALL_INDIRECTs **********\\n\"", "<<", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "bool", "Changed", "=", "false", ";", "const", "WebAssemblyInstrInfo", "*", "TII", "=", "MF", ".", "getSubtarget", "<", "WebAssemblySubtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "for", "(", "MachineInstr", "&", "MI", ":", "MBB", ")", "{", "if", "(", "IsPseudoCallIndirect", "(", "MI", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Found call_indirect: \"", "<<", "MI", "<<", "'\\n'", ")", ";", "const", "MCInstrDesc", "&", "Desc", "=", "TII", "->", "get", "(", "GetNonPseudoCallIndirectOpcode", "(", "MI", ")", ")", ";", "MI", ".", "setDesc", "(", "Desc", ")", ";", "SmallVector", "<", "MachineOperand", ",", "8", ">", "Ops", ";", "Ops", ".", "push_back", "(", "MachineOperand", "::", "CreateImm", "(", "0", ")", ")", ";", "Ops", ".", "push_back", "(", "MachineOperand", "::", "CreateImm", "(", "0", ")", ")", ";", "for", "(", "const", "MachineOperand", "&", "MO", ":", "make_range", "(", "MI", ".", "operands_begin", "(", ")", "+", "MI", ".", "getDesc", "(", ")", ".", "getNumDefs", "(", ")", "+", "1", ",", "MI", ".", "operands_begin", "(", ")", "+", "MI", ".", "getNumExplicitOperands", "(", ")", ")", ")", "Ops", ".", "push_back", "(", "MO", ")", ";", "Ops", ".", "push_back", "(", "MI", ".", "getOperand", "(", "MI", ".", "getDesc", "(", ")", ".", "getNumDefs", "(", ")", ")", ")", ";", "while", "(", "MI", ".", "getNumOperands", "(", ")", ">", "MI", ".", "getDesc", "(", ")", ".", "getNumDefs", "(", ")", ")", "MI", ".", "RemoveOperand", "(", "MI", ".", "getNumOperands", "(", ")", "-", "1", ")", ";", "for", "(", "const", "MachineOperand", "&", "MO", ":", "Ops", ")", "MI", ".", "addOperand", "(", "MO", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\" After transform: \"", "<<", "MI", ")", ";", "Changed", "=", "true", ";", "}", "}", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"\\nDone fixing up CALL_INDIRECTs\\n\\n\"", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"********** Fixing up CALL_INDIRECTs **********\\n\"", "\"********** Function: \"", "WebAssembly", "WebAssembly", "\"Found call_indirect: \"", "8", "0", "0", "1", "1", "\" After transform: \"", "\"\\nDone fixing up CALL_INDIRECTs\\n\\n\""], "File": "WebAssemblyCallIndirectFixup2", "Func": "runOnMachineFunction", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4119, "Length": 290, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mips_legitimize_move", "(", "enum", "machine_mode", "mode", ",", "rtx", "dest", ",", "rtx", "src", ")", "{", "if", "(", "!", "register_operand", "(", "dest", ",", "mode", ")", "&&", "!", "reg_or_0_operand", "(", "src", ",", "mode", ")", ")", "{", "emit_move_insn", "(", "dest", ",", "force_reg", "(", "mode", ",", "src", ")", ")", ";", "return", "true", ";", "}", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "<=", "UNITS_PER_WORD", "&&", "REG_P", "(", "src", ")", "&&", "MD_REG_P", "(", "REGNO", "(", "src", ")", ")", "&&", "REG_P", "(", "dest", ")", "&&", "GP_REG_P", "(", "REGNO", "(", "dest", ")", ")", ")", "{", "int", "other_regno", "=", "REGNO", "(", "src", ")", "==", "HI_REGNUM", "?", "LO_REGNUM", ":", "HI_REGNUM", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "<=", "4", ")", "emit_insn", "(", "gen_mfhilo_si", "(", "gen_rtx_REG", "(", "SImode", ",", "REGNO", "(", "dest", ")", ")", ",", "gen_rtx_REG", "(", "SImode", ",", "REGNO", "(", "src", ")", ")", ",", "gen_rtx_REG", "(", "SImode", ",", "other_regno", ")", ")", ")", ";", "else", "emit_insn", "(", "gen_mfhilo_di", "(", "gen_rtx_REG", "(", "DImode", ",", "REGNO", "(", "dest", ")", ")", ",", "gen_rtx_REG", "(", "DImode", ",", "REGNO", "(", "src", ")", ")", ",", "gen_rtx_REG", "(", "DImode", ",", "other_regno", ")", ")", ")", ";", "return", "true", ";", "}", "if", "(", "CONSTANT_P", "(", "src", ")", "&&", "!", "move_operand", "(", "src", ",", "mode", ")", ")", "{", "mips_legitimize_const_move", "(", "mode", ",", "dest", ",", "src", ")", ";", "set_unique_reg_note", "(", "get_last_insn", "(", ")", ",", "REG_EQUAL", ",", "copy_rtx", "(", "src", ")", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["If", "(", "set", "DEST", "SRC", ")", "is", "not", "a", "valid", "instruction", ",", "emit", "an", "equivalent", "sequence", "that", "is", "valid", "."], "TS_V_token": ["mips", "4"], "File": "mips3", "Func": "mips_legitimize_move", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4120, "Length": 226, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AMDGPUSubtarget", "::", "overrideSchedPolicy", "(", "MachineSchedPolicy", "&", "Policy", ",", "MachineInstr", "*", "begin", ",", "MachineInstr", "*", "end", ",", "unsigned", "NumRegionInstrs", ")", "const", "{", "if", "(", "getGeneration", "(", ")", ">=", "SOUTHERN_ISLANDS", ")", "{", "Policy", ".", "ShouldTrackPressure", "=", "true", ";", "Policy", ".", "OnlyTopDown", "=", "false", ";", "Policy", ".", "OnlyBottomUp", "=", "false", ";", "if", "(", "!", "enableSIScheduler", "(", ")", ")", "Policy", ".", "ShouldTrackLaneMasks", "=", "true", ";", "}", "}", ""], "natrual_language": ["Override", "generic", "scheduling", "policy", "within", "a", "region", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "SI"], "File": "AMDGPUSubtarget68", "Func": "overrideSchedPolicy", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4121, "Length": 64, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "std", "::", "unique_ptr", "<", "P2Operand", ">", "CreateReg", "(", "unsigned", "RegNum", ",", "SMLoc", "S", ",", "SMLoc", "E", ")", "{", "auto", "Op", "=", "std", "::", "make_unique", "<", "P2Operand", ">", "(", "k_Register", ")", ";", "Op", "->", "Reg", ".", "RegNum", "=", "RegNum", ";", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "E", ";", "return", "Op", ";", "}", ""], "natrual_language": ["CreateReg", "-", "Allocate", "a", "single", "virtual", "register", "for", "the", "given", "type", "."], "TS_V_token": ["P2", "P2", "P2"], "File": "P2AsmParser", "Func": "CreateReg", "Target": "P2", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4122, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "output_profile_hook", "(", "int", "labelno", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_PROFILE_KERNEL", ")", "return", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_AIX", "||", "DEFAULT_ABI", "==", "ABI_ELFv2", ")", "{", "if", "(", "NO_PROFILE_COUNTERS", ")", "emit_library_call", "(", "init_one_libfunc", "(", "RS6000_MCOUNT", ")", ",", "LCT_NORMAL", ",", "VOIDmode", ")", ";", "else", "{", "char", "buf", "[", "30", "]", ";", "const", "char", "*", "label_name", ";", "rtx", "fun", ";", "ASM_GENERATE_INTERNAL_LABEL", "(", "buf", ",", "\"LP\"", ",", "labelno", ")", ";", "label_name", "=", "ggc_strdup", "(", "(", "*", "targetm", ".", "strip_name_encoding", ")", "(", "buf", ")", ")", ";", "fun", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "label_name", ")", ";", "emit_library_call", "(", "init_one_libfunc", "(", "RS6000_MCOUNT", ")", ",", "LCT_NORMAL", ",", "VOIDmode", ",", "fun", ",", "Pmode", ")", ";", "}", "}", "else", "if", "(", "DEFAULT_ABI", "==", "ABI_DARWIN", ")", "{", "const", "char", "*", "mcount_name", "=", "RS6000_MCOUNT", ";", "int", "caller_addr_regno", "=", "LR_REGNO", ";", "crtl", "->", "uses_pic_offset_table", "=", "1", ";", "if", "(", "MACHOPIC_INDIRECT", "&&", "crtl", "->", "uses_pic_offset_table", ")", "caller_addr_regno", "=", "0", ";", "emit_library_call", "(", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "mcount_name", ")", ",", "LCT_NORMAL", ",", "VOIDmode", ",", "gen_rtx_REG", "(", "Pmode", ",", "caller_addr_regno", ")", ",", "Pmode", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "profile", "function", "."], "TS_V_token": ["powerpcspe", "30", "\"LP\"", "1", "0"], "File": "powerpcspe", "Func": "output_profile_hook", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4123, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "AArch64TargetLowering", "::", "emitStoreConditional", "(", "IRBuilder", "<", ">", "&", "Builder", ",", "Value", "*", "Val", ",", "Value", "*", "Addr", ",", "AtomicOrdering", "Ord", ")", "const", "{", "Module", "*", "M", "=", "Builder", ".", "GetInsertBlock", "(", ")", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "bool", "IsRelease", "=", "isAtLeastRelease", "(", "Ord", ")", ";", "if", "(", "Val", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", "==", "128", ")", "{", "Intrinsic", "::", "ID", "Int", "=", "IsRelease", "?", "Intrinsic", "::", "aarch64_stlxp", ":", "Intrinsic", "::", "aarch64_stxp", ";", "Function", "*", "Stxr", "=", "Intrinsic", "::", "getDeclaration", "(", "M", ",", "Int", ")", ";", "Type", "*", "Int64Ty", "=", "Type", "::", "getInt64Ty", "(", "M", "->", "getContext", "(", ")", ")", ";", "Value", "*", "Lo", "=", "Builder", ".", "CreateTrunc", "(", "Val", ",", "Int64Ty", ",", "\"lo\"", ")", ";", "Value", "*", "Hi", "=", "Builder", ".", "CreateTrunc", "(", "Builder", ".", "CreateLShr", "(", "Val", ",", "64", ")", ",", "Int64Ty", ",", "\"hi\"", ")", ";", "Addr", "=", "Builder", ".", "CreateBitCast", "(", "Addr", ",", "Type", "::", "getInt8PtrTy", "(", "M", "->", "getContext", "(", ")", ")", ")", ";", "return", "Builder", ".", "CreateCall", "(", "Stxr", ",", "{", "Lo", ",", "Hi", ",", "Addr", "}", ")", ";", "}", "Intrinsic", "::", "ID", "Int", "=", "IsRelease", "?", "Intrinsic", "::", "aarch64_stlxr", ":", "Intrinsic", "::", "aarch64_stxr", ";", "Type", "*", "Tys", "[", "]", "=", "{", "Addr", "->", "getType", "(", ")", "}", ";", "Function", "*", "Stxr", "=", "Intrinsic", "::", "getDeclaration", "(", "M", ",", "Int", ",", "Tys", ")", ";", "return", "Builder", ".", "CreateCall", "(", "Stxr", ",", "{", "Builder", ".", "CreateZExtOrBitCast", "(", "Val", ",", "Stxr", "->", "getFunctionType", "(", ")", "->", "getParamType", "(", "0", ")", ")", ",", "Addr", "}", ")", ";", "}", ""], "natrual_language": ["Perform", "a", "store-conditional", "operation", "to", "Addr", "."], "TS_V_token": ["AArch64", "AArch64", "128", "Intrinsic::ID", "Intrinsic::aarch64_stlxp", "Intrinsic::aarch64_stxp", "Intrinsic::getDeclaration", "\"lo\"", "64", "\"hi\"", "Intrinsic::ID", "Intrinsic::aarch64_stlxr", "Intrinsic::aarch64_stxr", "Intrinsic::getDeclaration", "0"], "File": "AArch64ISelLowering (2)1", "Func": "emitStoreConditional", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4124, "Length": 258, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUPropagateAttributesEarly", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "!", "TM", "||", "!", "AMDGPU", "::", "isEntryFunctionCC", "(", "F", ".", "getCallingConv", "(", ")", ")", ")", "return", "false", ";", "return", "AMDGPUPropagateAttributes", "(", "TM", ",", "false", ")", ".", "process", "(", "F", ")", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU::isEntryFunctionCC", "AMDGPU"], "File": "AMDGPUPropagateAttributes12", "Func": "runOnFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4125, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "MipsTargetLowering", "::", "getRegisterByName", "(", "const", "char", "*", "RegName", ",", "LLT", "VT", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "Subtarget", ".", "isGP64bit", "(", ")", ")", "{", "Register", "Reg", "=", "StringSwitch", "<", "Register", ">", "(", "RegName", ")", ".", "Case", "(", "\"$28\"", ",", "Mips", "::", "GP_64", ")", ".", "Default", "(", "Register", "(", ")", ")", ";", "if", "(", "Reg", ")", "return", "Reg", ";", "}", "else", "{", "Register", "Reg", "=", "StringSwitch", "<", "Register", ">", "(", "RegName", ")", ".", "Case", "(", "\"$28\"", ",", "Mips", "::", "GP", ")", ".", "Default", "(", "Register", "(", ")", ")", ";", "if", "(", "Reg", ")", "return", "Reg", ";", "}", "report_fatal_error", "(", "\"Invalid register name global variable\"", ")", ";", "}", ""], "natrual_language": ["Return", "the", "register", "ID", "of", "the", "name", "passed", "in", "."], "TS_V_token": ["Mips", "Mips", "\"$28\"", "Mips::GP_64", "\"$28\"", "Mips::GP", "\"Invalid register name global variable\""], "File": "MipsISelLowering107", "Func": "getRegisterByName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4126, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "TriCoreMCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "MO", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "{", "return", "CTX", ".", "getRegisterInfo", "(", ")", "->", "getEncodingValue", "(", "MO", ".", "getReg", "(", ")", ")", ";", "}", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "}", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "\"unknown operand kind in printOperand\"", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "MCExpr", "::", "ExprKind", "Kind", "=", "Expr", "->", "getKind", "(", ")", ";", "if", "(", "Kind", "==", "MCExpr", "::", "Binary", ")", "{", "Expr", "=", "static_cast", "<", "const", "MCBinaryExpr", "*", ">", "(", "Expr", ")", "->", "getLHS", "(", ")", ";", "Kind", "=", "Expr", "->", "getKind", "(", ")", ";", "}", "assert", "(", "Kind", "==", "MCExpr", "::", "SymbolRef", ")", ";", "unsigned", "FixupKind", ";", "switch", "(", "cast", "<", "MCSymbolRefExpr", ">", "(", "Expr", ")", "->", "getKind", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown fixup kind!\"", ")", ";", "case", "MCSymbolRefExpr", "::", "VK_TRICORE_LO_OFFSET", ":", "case", "MCSymbolRefExpr", "::", "VK_TRICORE_HI_OFFSET", ":", "return", "0", ";", "case", "MCSymbolRefExpr", "::", "VK_TRICORE_LO", ":", "{", "FixupKind", "=", "TriCore", "::", "fixup_leg_mov_lo16_pcrel", ";", "break", ";", "}", "case", "MCSymbolRefExpr", "::", "VK_TRICORE_HI", ":", "{", "FixupKind", "=", "TriCore", "::", "fixup_leg_mov_hi16_pcrel", ";", "break", ";", "}", "}", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "MO", ".", "getExpr", "(", ")", ",", "MCFixupKind", "(", "FixupKind", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["TriCore", "TriCore", "\"unknown operand kind in printOperand\"", "\"Unknown fixup kind!\"", "0", "TriCore::fixup_leg_mov_lo16_pcrel", "TriCore::fixup_leg_mov_hi16_pcrel", "0", "0"], "File": "TriCoreMCCodeEmitter (2)", "Func": "getMachineOpValue", "Target": "TriCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4127, "Length": 250, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "WebAssemblyInstrInfo", "::", "commuteInstructionImpl", "(", "MachineInstr", "&", "MI", ",", "bool", "NewMI", ",", "unsigned", "OpIdx1", ",", "unsigned", "OpIdx2", ")", "const", "{", "WebAssemblyFunctionInfo", "&", "MFI", "=", "*", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getInfo", "<", "WebAssemblyFunctionInfo", ">", "(", ")", ";", "if", "(", "MFI", ".", "isVRegStackified", "(", "MI", ".", "getOperand", "(", "OpIdx1", ")", ".", "getReg", "(", ")", ")", "||", "MFI", ".", "isVRegStackified", "(", "MI", ".", "getOperand", "(", "OpIdx2", ")", ".", "getReg", "(", ")", ")", ")", "return", "nullptr", ";", "return", "TargetInstrInfo", "::", "commuteInstructionImpl", "(", "MI", ",", "NewMI", ",", "OpIdx1", ",", "OpIdx2", ")", ";", "}", ""], "natrual_language": ["Commutes", "the", "operands", "in", "the", "given", "instruction", "by", "changing", "the", "operands", "order", "and/or", "changing", "the", "instruction", "'s", "opcode", "and/or", "the", "immediate", "value", "operand", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly"], "File": "WebAssemblyInstrInfo10", "Func": "commuteInstructionImpl", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4128, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARM64InstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "OS", ",", "unsigned", "RegNo", ")", "const", "{", "OS", "<<", "getRegisterName", "(", "RegNo", ")", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["ARM64", "ARM64"], "File": "ARM64InstPrinter", "Func": "printRegName", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4129, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Register", "MipsTargetLowering", "::", "getRegisterByName", "(", "const", "char", "*", "RegName", ",", "LLT", "VT", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "Subtarget", ".", "isGP64bit", "(", ")", ")", "{", "Register", "Reg", "=", "StringSwitch", "<", "Register", ">", "(", "RegName", ")", ".", "Case", "(", "\"$28\"", ",", "Mips", "::", "GP_64", ")", ".", "Case", "(", "\"sp\"", ",", "Mips", "::", "SP_64", ")", ".", "Default", "(", "Register", "(", ")", ")", ";", "if", "(", "Reg", ")", "return", "Reg", ";", "}", "else", "{", "Register", "Reg", "=", "StringSwitch", "<", "Register", ">", "(", "RegName", ")", ".", "Case", "(", "\"$28\"", ",", "Mips", "::", "GP", ")", ".", "Case", "(", "\"sp\"", ",", "Mips", "::", "SP", ")", ".", "Default", "(", "Register", "(", ")", ")", ";", "if", "(", "Reg", ")", "return", "Reg", ";", "}", "report_fatal_error", "(", "\"Invalid register name global variable\"", ")", ";", "}", ""], "natrual_language": ["Return", "the", "register", "ID", "of", "the", "name", "passed", "in", "."], "TS_V_token": ["Mips", "Mips", "\"$28\"", "Mips::GP_64", "\"sp\"", "Mips::SP_64", "\"$28\"", "Mips::GP", "\"sp\"", "Mips::SP", "\"Invalid register name global variable\""], "File": "MipsISelLowering26", "Func": "getRegisterByName", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4130, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "TargetTransformInfo", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["PowerPC"], "File": "PPCTargetTransformInfo58", "Func": "getAnalysisUsage", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4131, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nds32_init_libfuncs", "(", "void", ")", "{", "if", "(", "TARGET_LINUX_ABI", ")", "init_sync_libfuncs", "(", "UNITS_PER_WORD", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_INIT_LIBFUNCS", "."], "TS_V_token": ["nds32"], "File": "nds32", "Func": "nds32_init_libfuncs", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4132, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addIRPasses", "(", ")", "{", "addPass", "(", "createAtomicExpandPass", "(", ")", ")", ";", "if", "(", "EnableSVEIntrinsicOpts", "&&", "TM", "->", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "Aggressive", ")", "addPass", "(", "createSVEIntrinsicOptsPass", "(", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableAtomicTidy", ")", "addPass", "(", "createCFGSimplificationPass", "(", "SimplifyCFGOptions", "(", ")", ".", "forwardSwitchCondToPhi", "(", "true", ")", ".", "convertSwitchToLookupTable", "(", "true", ")", ".", "needCanonicalLoops", "(", "false", ")", ".", "hoistCommonInsts", "(", "true", ")", ".", "sinkCommonInsts", "(", "true", ")", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "if", "(", "EnableLoopDataPrefetch", ")", "addPass", "(", "createLoopDataPrefetchPass", "(", ")", ")", ";", "if", "(", "EnableFalkorHWPFFix", ")", "addPass", "(", "createFalkorMarkStridedAccessesPass", "(", ")", ")", ";", "}", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "addPass", "(", "createAArch64StackTaggingPass", "(", "TM", "->", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "None", ")", ")", ";", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createInterleavedLoadCombinePass", "(", ")", ")", ";", "addPass", "(", "createInterleavedAccessPass", "(", ")", ")", ";", "}", "if", "(", "TM", "->", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "Aggressive", "&&", "EnableGEPOpt", ")", "{", "addPass", "(", "createSeparateConstOffsetFromGEPPass", "(", "true", ")", ")", ";", "addPass", "(", "createEarlyCSEPass", "(", ")", ")", ";", "addPass", "(", "createLICMPass", "(", ")", ")", ";", "}", "if", "(", "TM", "->", "getTargetTriple", "(", ")", ".", "isOSWindows", "(", ")", ")", "addPass", "(", "createCFGuardCheckPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64"], "File": "AArch64TargetMachine1", "Func": "addIRPasses", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4133, "Length": 228, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createMipsModuleISelDagPass", "(", "getMipsTargetMachine", "(", ")", ")", ")", ";", "addPass", "(", "createMips16ISelDag", "(", "getMipsTargetMachine", "(", ")", ")", ")", ";", "addPass", "(", "createMipsSEISelDag", "(", "getMipsTargetMachine", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MipsTargetMachine2", "Func": "addInstSelector", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4134, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "HexagonTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "(", "HexagonISD", "::", "NodeType", ")", "Opcode", ")", "{", "case", "HexagonISD", "::", "ADDC", ":", "return", "\"HexagonISD::ADDC\"", ";", "case", "HexagonISD", "::", "SUBC", ":", "return", "\"HexagonISD::SUBC\"", ";", "case", "HexagonISD", "::", "ALLOCA", ":", "return", "\"HexagonISD::ALLOCA\"", ";", "case", "HexagonISD", "::", "AT_GOT", ":", "return", "\"HexagonISD::AT_GOT\"", ";", "case", "HexagonISD", "::", "AT_PCREL", ":", "return", "\"HexagonISD::AT_PCREL\"", ";", "case", "HexagonISD", "::", "BARRIER", ":", "return", "\"HexagonISD::BARRIER\"", ";", "case", "HexagonISD", "::", "CALL", ":", "return", "\"HexagonISD::CALL\"", ";", "case", "HexagonISD", "::", "CALLnr", ":", "return", "\"HexagonISD::CALLnr\"", ";", "case", "HexagonISD", "::", "CALLR", ":", "return", "\"HexagonISD::CALLR\"", ";", "case", "HexagonISD", "::", "COMBINE", ":", "return", "\"HexagonISD::COMBINE\"", ";", "case", "HexagonISD", "::", "CONST32_GP", ":", "return", "\"HexagonISD::CONST32_GP\"", ";", "case", "HexagonISD", "::", "CONST32", ":", "return", "\"HexagonISD::CONST32\"", ";", "case", "HexagonISD", "::", "CP", ":", "return", "\"HexagonISD::CP\"", ";", "case", "HexagonISD", "::", "DCFETCH", ":", "return", "\"HexagonISD::DCFETCH\"", ";", "case", "HexagonISD", "::", "EH_RETURN", ":", "return", "\"HexagonISD::EH_RETURN\"", ";", "case", "HexagonISD", "::", "TSTBIT", ":", "return", "\"HexagonISD::TSTBIT\"", ";", "case", "HexagonISD", "::", "EXTRACTU", ":", "return", "\"HexagonISD::EXTRACTU\"", ";", "case", "HexagonISD", "::", "INSERT", ":", "return", "\"HexagonISD::INSERT\"", ";", "case", "HexagonISD", "::", "JT", ":", "return", "\"HexagonISD::JT\"", ";", "case", "HexagonISD", "::", "RET_FLAG", ":", "return", "\"HexagonISD::RET_FLAG\"", ";", "case", "HexagonISD", "::", "TC_RETURN", ":", "return", "\"HexagonISD::TC_RETURN\"", ";", "case", "HexagonISD", "::", "VASL", ":", "return", "\"HexagonISD::VASL\"", ";", "case", "HexagonISD", "::", "VASR", ":", "return", "\"HexagonISD::VASR\"", ";", "case", "HexagonISD", "::", "VLSR", ":", "return", "\"HexagonISD::VLSR\"", ";", "case", "HexagonISD", "::", "VSPLAT", ":", "return", "\"HexagonISD::VSPLAT\"", ";", "case", "HexagonISD", "::", "VEXTRACTW", ":", "return", "\"HexagonISD::VEXTRACTW\"", ";", "case", "HexagonISD", "::", "VINSERTW0", ":", "return", "\"HexagonISD::VINSERTW0\"", ";", "case", "HexagonISD", "::", "VROR", ":", "return", "\"HexagonISD::VROR\"", ";", "case", "HexagonISD", "::", "READCYCLE", ":", "return", "\"HexagonISD::READCYCLE\"", ";", "case", "HexagonISD", "::", "PTRUE", ":", "return", "\"HexagonISD::PTRUE\"", ";", "case", "HexagonISD", "::", "PFALSE", ":", "return", "\"HexagonISD::PFALSE\"", ";", "case", "HexagonISD", "::", "VZERO", ":", "return", "\"HexagonISD::VZERO\"", ";", "case", "HexagonISD", "::", "VSPLATW", ":", "return", "\"HexagonISD::VSPLATW\"", ";", "case", "HexagonISD", "::", "D2P", ":", "return", "\"HexagonISD::D2P\"", ";", "case", "HexagonISD", "::", "P2D", ":", "return", "\"HexagonISD::P2D\"", ";", "case", "HexagonISD", "::", "V2Q", ":", "return", "\"HexagonISD::V2Q\"", ";", "case", "HexagonISD", "::", "Q2V", ":", "return", "\"HexagonISD::Q2V\"", ";", "case", "HexagonISD", "::", "QCAT", ":", "return", "\"HexagonISD::QCAT\"", ";", "case", "HexagonISD", "::", "QTRUE", ":", "return", "\"HexagonISD::QTRUE\"", ";", "case", "HexagonISD", "::", "QFALSE", ":", "return", "\"HexagonISD::QFALSE\"", ";", "case", "HexagonISD", "::", "TYPECAST", ":", "return", "\"HexagonISD::TYPECAST\"", ";", "case", "HexagonISD", "::", "VALIGN", ":", "return", "\"HexagonISD::VALIGN\"", ";", "case", "HexagonISD", "::", "VALIGNADDR", ":", "return", "\"HexagonISD::VALIGNADDR\"", ";", "case", "HexagonISD", "::", "OP_END", ":", "break", ";", "}", "return", "nullptr", ";", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["Hexagon", "Hexagon", "HexagonISD::NodeType", "HexagonISD::ADDC", "\"HexagonISD::ADDC\"", "HexagonISD::SUBC", "\"HexagonISD::SUBC\"", "HexagonISD::ALLOCA", "\"HexagonISD::ALLOCA\"", "HexagonISD::AT_GOT", "\"HexagonISD::AT_GOT\"", "HexagonISD::AT_PCREL", "\"HexagonISD::AT_PCREL\"", "HexagonISD::BARRIER", "\"HexagonISD::BARRIER\"", "HexagonISD::CALL", "\"HexagonISD::CALL\"", "HexagonISD::CALLnr", "\"HexagonISD::CALLnr\"", "HexagonISD::CALLR", "\"HexagonISD::CALLR\"", "HexagonISD::COMBINE", "\"HexagonISD::COMBINE\"", "HexagonISD::CONST32_GP", "\"HexagonISD::CONST32_GP\"", "HexagonISD::CONST32", "\"HexagonISD::CONST32\"", "HexagonISD::CP", "\"HexagonISD::CP\"", "HexagonISD::DCFETCH", "\"HexagonISD::DCFETCH\"", "HexagonISD::EH_RETURN", "\"HexagonISD::EH_RETURN\"", "HexagonISD::TSTBIT", "\"HexagonISD::TSTBIT\"", "HexagonISD::EXTRACTU", "\"HexagonISD::EXTRACTU\"", "HexagonISD::INSERT", "\"HexagonISD::INSERT\"", "HexagonISD::JT", "\"HexagonISD::JT\"", "HexagonISD::RET_FLAG", "\"HexagonISD::RET_FLAG\"", "HexagonISD::TC_RETURN", "\"HexagonISD::TC_RETURN\"", "HexagonISD::VASL", "\"HexagonISD::VASL\"", "HexagonISD::VASR", "\"HexagonISD::VASR\"", "HexagonISD::VLSR", "\"HexagonISD::VLSR\"", "HexagonISD::VSPLAT", "\"HexagonISD::VSPLAT\"", "HexagonISD::VEXTRACTW", "\"HexagonISD::VEXTRACTW\"", "HexagonISD::VINSERTW0", "\"HexagonISD::VINSERTW0\"", "HexagonISD::VROR", "\"HexagonISD::VROR\"", "HexagonISD::READCYCLE", "\"HexagonISD::READCYCLE\"", "HexagonISD::PTRUE", "\"HexagonISD::PTRUE\"", "HexagonISD::PFALSE", "\"HexagonISD::PFALSE\"", "HexagonISD::VZERO", "\"HexagonISD::VZERO\"", "HexagonISD::VSPLATW", "\"HexagonISD::VSPLATW\"", "HexagonISD::D2P", "\"HexagonISD::D2P\"", "HexagonISD::P2D", "\"HexagonISD::P2D\"", "HexagonISD::V2Q", "\"HexagonISD::V2Q\"", "HexagonISD::Q2V", "\"HexagonISD::Q2V\"", "HexagonISD::QCAT", "\"HexagonISD::QCAT\"", "HexagonISD::QTRUE", "\"HexagonISD::QTRUE\"", "HexagonISD::QFALSE", "\"HexagonISD::QFALSE\"", "HexagonISD::TYPECAST", "\"HexagonISD::TYPECAST\"", "HexagonISD::VALIGN", "\"HexagonISD::VALIGN\"", "HexagonISD::VALIGNADDR", "\"HexagonISD::VALIGNADDR\"", "HexagonISD::OP_END"], "File": "HexagonISelLowering103", "Func": "getTargetNodeName", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4135, "Length": 378, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ia64_struct_value_rtx", "(", "tree", "fntype", ",", "int", "incoming", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_ABI_OPEN_VMS", "||", "(", "fntype", "&&", "ia64_struct_retval_addr_is_first_parm_p", "(", "fntype", ")", ")", ")", "return", "NULL_RTX", ";", "return", "gen_rtx_REG", "(", "Pmode", ",", "GR_REG", "(", "8", ")", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_STRUCT_VALUE_RTX", "."], "TS_V_token": ["ia64", "8"], "File": "ia64", "Func": "ia64_struct_value_rtx", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4136, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sparc_trampoline_init", "(", "rtx", "m_tramp", ",", "tree", "fndecl", ",", "rtx", "cxt", ")", "{", "rtx", "fnaddr", "=", "force_reg", "(", "Pmode", ",", "XEXP", "(", "DECL_RTL", "(", "fndecl", ")", ",", "0", ")", ")", ";", "cxt", "=", "force_reg", "(", "Pmode", ",", "cxt", ")", ";", "if", "(", "TARGET_ARCH64", ")", "sparc64_initialize_trampoline", "(", "m_tramp", ",", "fnaddr", ",", "cxt", ")", ";", "else", "sparc32_initialize_trampoline", "(", "m_tramp", ",", "fnaddr", ",", "cxt", ")", ";", "}", ""], "natrual_language": ["Worker", "for", "TARGET_TRAMPOLINE_INIT", "."], "TS_V_token": ["sparc", "0"], "File": "sparc", "Func": "sparc_trampoline_init", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4137, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "m32r_output_block_move", "(", "rtx", "insn", "ATTRIBUTE_UNUSED", ",", "rtx", "operands", "[", "]", ")", "{", "HOST_WIDE_INT", "bytes", "=", "INTVAL", "(", "operands", "[", "2", "]", ")", ";", "int", "first_time", ";", "int", "got_extra", "=", "0", ";", "gcc_assert", "(", "bytes", ">=", "1", "&&", "bytes", "<=", "MAX_MOVE_BYTES", ")", ";", "first_time", "=", "1", ";", "while", "(", "bytes", ">", "0", ")", "{", "if", "(", "bytes", ">=", "8", ")", "{", "if", "(", "first_time", ")", "{", "output_asm_insn", "(", "\"ld\\t%5, %p1\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"ld\\t%6, %p1\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"st\\t%5, @%0\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"st\\t%6, %s0\"", ",", "operands", ")", ";", "}", "else", "{", "output_asm_insn", "(", "\"ld\\t%5, %p1\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"ld\\t%6, %p1\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"st\\t%5, %s0\"", ",", "operands", ")", ";", "output_asm_insn", "(", "\"st\\t%6, %s0\"", ",", "operands", ")", ";", "}", "bytes", "-=", "8", ";", "}", "else", "if", "(", "bytes", ">=", "4", ")", "{", "if", "(", "bytes", ">", "4", ")", "got_extra", "=", "1", ";", "output_asm_insn", "(", "\"ld\\t%5, %p1\"", ",", "operands", ")", ";", "if", "(", "got_extra", ")", "output_asm_insn", "(", "\"ld\\t%6, %p1\"", ",", "operands", ")", ";", "if", "(", "first_time", ")", "output_asm_insn", "(", "\"st\\t%5, @%0\"", ",", "operands", ")", ";", "else", "output_asm_insn", "(", "\"st\\t%5, %s0\"", ",", "operands", ")", ";", "bytes", "-=", "4", ";", "}", "else", "{", "int", "dst_offset", "=", "first_time", "?", "0", ":", "4", ";", "int", "dst_inc_amount", "=", "dst_offset", "+", "bytes", "-", "4", ";", "int", "src_inc_amount", "=", "bytes", ";", "int", "last_shift", ";", "rtx", "my_operands", "[", "3", "]", ";", "if", "(", "!", "got_extra", ")", "output_asm_insn", "(", "\"ld\\t%6, @%1\"", ",", "operands", ")", ";", "if", "(", "bytes", ">=", "2", ")", "{", "bytes", "-=", "2", ";", "output_asm_insn", "(", "\"sra3\\t%5, %6, #16\"", ",", "operands", ")", ";", "my_operands", "[", "0", "]", "=", "operands", "[", "5", "]", ";", "my_operands", "[", "1", "]", "=", "GEN_INT", "(", "dst_offset", ")", ";", "my_operands", "[", "2", "]", "=", "operands", "[", "0", "]", ";", "output_asm_insn", "(", "\"sth\\t%0, @(%1,%2)\"", ",", "my_operands", ")", ";", "if", "(", "bytes", ">", "0", ")", "{", "dst_offset", "+=", "2", ";", "last_shift", "=", "8", ";", "}", "}", "else", "last_shift", "=", "24", ";", "if", "(", "bytes", ">", "0", ")", "{", "my_operands", "[", "0", "]", "=", "operands", "[", "6", "]", ";", "my_operands", "[", "1", "]", "=", "GEN_INT", "(", "last_shift", ")", ";", "output_asm_insn", "(", "\"srai\\t%0, #%1\"", ",", "my_operands", ")", ";", "my_operands", "[", "0", "]", "=", "operands", "[", "6", "]", ";", "my_operands", "[", "1", "]", "=", "GEN_INT", "(", "dst_offset", ")", ";", "my_operands", "[", "2", "]", "=", "operands", "[", "0", "]", ";", "output_asm_insn", "(", "\"stb\\t%0, @(%1,%2)\"", ",", "my_operands", ")", ";", "}", "if", "(", "dst_inc_amount", "&&", "!", "find_reg_note", "(", "insn", ",", "REG_UNUSED", ",", "operands", "[", "0", "]", ")", ")", "{", "my_operands", "[", "0", "]", "=", "operands", "[", "0", "]", ";", "my_operands", "[", "1", "]", "=", "GEN_INT", "(", "dst_inc_amount", ")", ";", "output_asm_insn", "(", "\"addi\\t%0, #%1\"", ",", "my_operands", ")", ";", "}", "if", "(", "src_inc_amount", "&&", "!", "find_reg_note", "(", "insn", ",", "REG_UNUSED", ",", "operands", "[", "1", "]", ")", ")", "{", "my_operands", "[", "0", "]", "=", "operands", "[", "1", "]", ";", "my_operands", "[", "1", "]", "=", "GEN_INT", "(", "src_inc_amount", ")", ";", "output_asm_insn", "(", "\"addi\\t%0, #%1\"", ",", "my_operands", ")", ";", "}", "bytes", "=", "0", ";", "}", "first_time", "=", "0", ";", "}", "}", ""], "natrual_language": ["Emit", "load/stores", "for", "a", "small", "constant", "word", "aligned", "block_move", ".", "operands", "[", "0", "]", "is", "the", "memory", "address", "of", "the", "destination", ".", "operands", "[", "1", "]", "is", "the", "memory", "address", "of", "the", "source", ".", "operands", "[", "2", "]", "is", "the", "number", "of", "bytes", "to", "move", ".", "operands", "[", "3", "]", "is", "a", "temp", "register", ".", "operands", "[", "4", "]", "is", "a", "temp", "register", "."], "TS_V_token": ["m32r", "2", "0", "1", "1", "0", "8", "\"ld\\t%5, %p1\"", "\"ld\\t%6, %p1\"", "\"st\\t%5, @%0\"", "\"st\\t%6, %s0\"", "\"ld\\t%5, %p1\"", "\"ld\\t%6, %p1\"", "\"st\\t%5, %s0\"", "\"st\\t%6, %s0\"", "8", "4", "4", "1", "\"ld\\t%5, %p1\"", "\"ld\\t%6, %p1\"", "\"st\\t%5, @%0\"", "\"st\\t%5, %s0\"", "4", "0", "4", "4", "3", "\"ld\\t%6, @%1\"", "2", "2", "\"sra3\\t%5, %6, #16\"", "0", "5", "1", "2", "0", "\"sth\\t%0, @(%1,%2)\"", "0", "2", "8", "24", "0", "0", "6", "1", "\"srai\\t%0, #%1\"", "0", "6", "1", "2", "0", "\"stb\\t%0, @(%1,%2)\"", "0", "0", "0", "1", "\"addi\\t%0, #%1\"", "1", "0", "1", "1", "\"addi\\t%0, #%1\"", "0", "0"], "File": "m32r3", "Func": "m32r_output_block_move", "Target": "m32r", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4138, "Length": 489, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "enum", "flt_eval_method", "ix86_excess_precision", "(", "enum", "excess_precision_type", "type", ")", "{", "switch", "(", "type", ")", "{", "case", "EXCESS_PRECISION_TYPE_FAST", ":", "return", "FLT_EVAL_METHOD_PROMOTE_TO_FLOAT", ";", "case", "EXCESS_PRECISION_TYPE_STANDARD", ":", "case", "EXCESS_PRECISION_TYPE_IMPLICIT", ":", "if", "(", "!", "TARGET_80387", ")", "return", "FLT_EVAL_METHOD_PROMOTE_TO_FLOAT", ";", "else", "if", "(", "!", "TARGET_MIX_SSE_I387", ")", "{", "if", "(", "!", "TARGET_SSE_MATH", ")", "return", "FLT_EVAL_METHOD_PROMOTE_TO_LONG_DOUBLE", ";", "else", "if", "(", "TARGET_SSE2", ")", "return", "FLT_EVAL_METHOD_PROMOTE_TO_FLOAT", ";", "}", "return", "(", "type", "==", "EXCESS_PRECISION_TYPE_STANDARD", "?", "FLT_EVAL_METHOD_PROMOTE_TO_FLOAT", ":", "FLT_EVAL_METHOD_UNPREDICTABLE", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "FLT_EVAL_METHOD_UNPREDICTABLE", ";", "}", ""], "natrual_language": ["Set", "the", "value", "of", "FLT_EVAL_METHOD", "in", "float.h", ".", "When", "using", "only", "the", "FPU", ",", "assume", "that", "the", "fpcw", "is", "set", "to", "extended", "precision", ";", "when", "using", "only", "SSE", ",", "rounding", "is", "correct", ";", "when", "using", "both", "SSE", "and", "the", "FPU", ",", "the", "rounding", "precision", "is", "indeterminate", ",", "since", "either", "may", "be", "chosen", "apparently", "at", "random", "."], "TS_V_token": ["i386"], "File": "i3866", "Func": "ix86_excess_precision", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4139, "Length": 81, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "alpha_pad_function_end", "(", "void", ")", "{", "rtx_insn", "*", "insn", ",", "*", "next", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "if", "(", "!", "CALL_P", "(", "insn", ")", "||", "!", "(", "SIBLING_CALL_P", "(", "insn", ")", "||", "find_reg_note", "(", "insn", ",", "REG_NORETURN", ",", "NULL_RTX", ")", ")", ")", "continue", ";", "next", "=", "next_active_insn", "(", "insn", ")", ";", "if", "(", "next", ")", "{", "rtx", "pat", "=", "PATTERN", "(", "next", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "SET", "&&", "GET_CODE", "(", "SET_SRC", "(", "pat", ")", ")", "==", "UNSPEC_VOLATILE", "&&", "XINT", "(", "SET_SRC", "(", "pat", ")", ",", "1", ")", "==", "UNSPECV_LDGP1", ")", "emit_insn_after", "(", "gen_unop", "(", ")", ",", "insn", ")", ";", "}", "}", "}", ""], "natrual_language": ["Insert", "an", "unop", "between", "sibcall", "or", "noreturn", "function", "call", "and", "GP", "load", "."], "TS_V_token": ["alpha", "1"], "File": "alpha", "Func": "alpha_pad_function_end", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4140, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "PPCTargetLowering", "::", "getOptimalMemOpType", "(", "uint64_t", "Size", ",", "unsigned", "DstAlign", ",", "unsigned", "SrcAlign", ",", "bool", "NonScalarIntSafe", ",", "bool", "MemcpyStrSrc", ",", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "this", "->", "PPCSubTarget", ".", "isPPC64", "(", ")", ")", "{", "return", "MVT", "::", "i64", ";", "}", "else", "{", "return", "MVT", "::", "i32", ";", "}", "}", ""], "natrual_language": ["It", "returns", "EVT", ":", ":Other", "if", "the", "type", "should", "be", "determined", "using", "generic", "target-independent", "logic", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "MVT::i64", "MVT::i32"], "File": "PPCISelLowering115", "Func": "getOptimalMemOpType", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4141, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getReg", "(", ")", "const", "override", "{", "assert", "(", "Kind", "==", "KindTy", "::", "Register", "&&", "\"Invalid type access!\"", ")", ";", "return", "Reg", ".", "RegNum", ".", "id", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "register", "associated", "with", "this", "edge", "."], "TS_V_token": ["RI5CY", "\"Invalid type access!\""], "File": "RISCVAsmParser", "Func": "getReg", "Target": "RI5CY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4142, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addRequired", "<", "MachineFunctionAnalysis", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineFunctionAnalysis", ">", "(", ")", ";", "AU", ".", "addPreserved", "(", "\"stack-protector\"", ")", ";", "FunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["Hexagon", "\"stack-protector\""], "File": "HexagonRemoveSZExtArgs5", "Func": "getAnalysisUsage", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4143, "Length": 43, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getElementSize", "(", ")", "const", "{", "return", "CurType", ".", "ElementSize", ";", "}", ""], "natrual_language": ["Return", "the", "size", "of", "an", "element", "read", "or", "written", "by", "Inst", "."], "TS_V_token": ["X86"], "File": "X86AsmParser (2)4", "Func": "getElementSize", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4144, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isTarget64BitLP64", "(", ")", "const", "{", "return", "Is64Bit", "&&", "(", "!", "TargetTriple", ".", "isX32", "(", ")", "&&", "!", "TargetTriple", ".", "isOSNaCl", "(", ")", ")", ";", "}", ""], "natrual_language": ["Is", "this", "x86_64", "with", "the", "LP64", "programming", "model", "(", "standard", "AMD64", ",", "no", "x32", ")", "?"], "TS_V_token": ["X86"], "File": "X86Subtarget (2)2", "Func": "isTarget64BitLP64", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4145, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MSP430TargetMachine", "::", "addInstSelector", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "PM", ".", "add", "(", "createMSP430ISelDag", "(", "*", "this", ",", "OptLevel", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["MSP430", "MSP430", "MSP430"], "File": "MSP430TargetMachine1", "Func": "addInstSelector", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4146, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "reg_class_t", "ix86_preferred_output_reload_class", "(", "rtx", "x", ",", "reg_class_t", "regclass", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "x", ")", ";", "if", "(", "SSE_FLOAT_MODE_P", "(", "mode", ")", "&&", "TARGET_SSE_MATH", ")", "return", "MAYBE_SSE_CLASS_P", "(", "regclass", ")", "?", "ALL_SSE_REGS", ":", "NO_REGS", ";", "if", "(", "IS_STACK_MODE", "(", "mode", ")", ")", "return", "FLOAT_CLASS_P", "(", "regclass", ")", "?", "regclass", ":", "NO_REGS", ";", "return", "regclass", ";", "}", ""], "natrual_language": ["Discourage", "putting", "floating-point", "values", "in", "SSE", "registers", "unless", "SSE", "math", "is", "being", "used", ",", "and", "likewise", "for", "the", "387", "registers", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_preferred_output_reload_class", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4147, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "ia64_expand_compare", "(", "enum", "rtx_code", "code", ",", "enum", "machine_mode", "mode", ")", "{", "rtx", "op0", "=", "ia64_compare_op0", ",", "op1", "=", "ia64_compare_op1", ";", "rtx", "cmp", ";", "if", "(", "GET_MODE", "(", "op0", ")", "==", "BImode", ")", "{", "gcc_assert", "(", "(", "code", "==", "NE", "||", "code", "==", "EQ", ")", "&&", "op1", "==", "const0_rtx", ")", ";", "cmp", "=", "op0", ";", "}", "else", "if", "(", "GET_MODE", "(", "op0", ")", "==", "TFmode", ")", "{", "enum", "qfcmp_magic", "{", "QCMP_INV", "=", "1", ",", "QCMP_UNORD", "=", "2", ",", "QCMP_EQ", "=", "4", ",", "QCMP_LT", "=", "8", ",", "QCMP_GT", "=", "16", "}", "magic", ";", "enum", "rtx_code", "ncode", ";", "rtx", "ret", ",", "insns", ";", "gcc_assert", "(", "cmptf_libfunc", "&&", "GET_MODE", "(", "op1", ")", "==", "TFmode", ")", ";", "switch", "(", "code", ")", "{", "case", "EQ", ":", "magic", "=", "QCMP_EQ", ";", "ncode", "=", "NE", ";", "break", ";", "case", "NE", ":", "magic", "=", "QCMP_EQ", ";", "ncode", "=", "EQ", ";", "break", ";", "case", "UNORDERED", ":", "magic", "=", "QCMP_UNORD", ";", "ncode", "=", "NE", ";", "break", ";", "case", "ORDERED", ":", "magic", "=", "QCMP_UNORD", ";", "ncode", "=", "EQ", ";", "break", ";", "case", "LT", ":", "magic", "=", "QCMP_LT", "|", "QCMP_INV", ";", "ncode", "=", "NE", ";", "break", ";", "case", "LE", ":", "magic", "=", "QCMP_LT", "|", "QCMP_EQ", "|", "QCMP_INV", ";", "ncode", "=", "NE", ";", "break", ";", "case", "GT", ":", "magic", "=", "QCMP_GT", "|", "QCMP_INV", ";", "ncode", "=", "NE", ";", "break", ";", "case", "GE", ":", "magic", "=", "QCMP_GT", "|", "QCMP_EQ", "|", "QCMP_INV", ";", "ncode", "=", "NE", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "start_sequence", "(", ")", ";", "ret", "=", "emit_library_call_value", "(", "cmptf_libfunc", ",", "0", ",", "LCT_CONST", ",", "DImode", ",", "3", ",", "op0", ",", "TFmode", ",", "op1", ",", "TFmode", ",", "GEN_INT", "(", "magic", ")", ",", "DImode", ")", ";", "cmp", "=", "gen_reg_rtx", "(", "BImode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "cmp", ",", "gen_rtx_fmt_ee", "(", "ncode", ",", "BImode", ",", "ret", ",", "const0_rtx", ")", ")", ")", ";", "insns", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "emit_libcall_block", "(", "insns", ",", "cmp", ",", "cmp", ",", "gen_rtx_fmt_ee", "(", "code", ",", "BImode", ",", "op0", ",", "op1", ")", ")", ";", "code", "=", "NE", ";", "}", "else", "{", "cmp", "=", "gen_reg_rtx", "(", "BImode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "cmp", ",", "gen_rtx_fmt_ee", "(", "code", ",", "BImode", ",", "op0", ",", "op1", ")", ")", ")", ";", "code", "=", "NE", ";", "}", "return", "gen_rtx_fmt_ee", "(", "code", ",", "mode", ",", "cmp", ",", "const0_rtx", ")", ";", "}", ""], "natrual_language": ["Emit", "comparison", "instruction", "if", "necessary", ",", "returning", "the", "expression", "that", "holds", "the", "compare", "result", "in", "the", "proper", "mode", "."], "TS_V_token": ["ia64", "1", "2", "4", "8", "16", "0", "3"], "File": "ia643", "Func": "ia64_expand_compare", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4148, "Length": 386, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "initialize", "(", "MF", ")", ";", "assert", "(", "(", "MF", ".", "getRegInfo", "(", ")", ".", "use_empty", "(", "PPC", "::", "X2", ")", "||", "!", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "isUsingPCRelativeCalls", "(", ")", ")", "&&", "\"TOC pointer used in a function using PC-Relative addressing!\"", ")", ";", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "return", "simplifyCode", "(", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["PowerPC", "PPC::X2", "PPC", "\"TOC pointer used in a function using PC-Relative addressing!\""], "File": "PPCMIPeephole", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4149, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MSP430FrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "int", "FrameIdx", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "CreateFixedObject", "(", "2", ",", "-", "4", ",", "true", ")", ";", "(", "void", ")", "FrameIdx", ";", "assert", "(", "FrameIdx", "==", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectIndexBegin", "(", ")", "&&", "\"Slot for FPW register must be last in order to be found!\"", ")", ";", "}", "}", ""], "natrual_language": ["processFunctionBeforeFrameFinalized", "-", "This", "method", "is", "called", "immediately", "before", "the", "specified", "function", "'s", "frame", "layout", "(", "MF.getFrameInfo", "(", ")", ")", "is", "finalized", "."], "TS_V_token": ["MSP430", "MSP430", "2", "4", "\"Slot for FPW register must be last in order to be found!\""], "File": "MSP430FrameLowering6", "Func": "processFunctionBeforeFrameFinalized", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4150, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "X86InstrInfo", "::", "getGlobalBaseReg", "(", "MachineFunction", "*", "MF", ")", "const", "{", "assert", "(", "!", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", "&&", "\"X86-64 PIC uses RIP relative addressing\"", ")", ";", "X86MachineFunctionInfo", "*", "X86FI", "=", "MF", "->", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", ";", "unsigned", "GlobalBaseReg", "=", "X86FI", "->", "getGlobalBaseReg", "(", ")", ";", "if", "(", "GlobalBaseReg", "!=", "0", ")", "return", "GlobalBaseReg", ";", "MachineBasicBlock", "&", "FirstMBB", "=", "MF", "->", "front", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "FirstMBB", ".", "begin", "(", ")", ";", "DebugLoc", "DL", "=", "FirstMBB", ".", "findDebugLoc", "(", "MBBI", ")", ";", "MachineRegisterInfo", "&", "RegInfo", "=", "MF", "->", "getRegInfo", "(", ")", ";", "unsigned", "PC", "=", "RegInfo", ".", "createVirtualRegister", "(", "X86", "::", "GR32RegisterClass", ")", ";", "const", "TargetInstrInfo", "*", "TII", "=", "TM", ".", "getInstrInfo", "(", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "X86", "::", "MOVPC32r", ")", ",", "PC", ")", ".", "addImm", "(", "0", ")", ";", "if", "(", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "isPICStyleGOT", "(", ")", ")", "{", "GlobalBaseReg", "=", "RegInfo", ".", "createVirtualRegister", "(", "X86", "::", "GR32RegisterClass", ")", ";", "BuildMI", "(", "FirstMBB", ",", "MBBI", ",", "DL", ",", "TII", "->", "get", "(", "X86", "::", "ADD32ri", ")", ",", "GlobalBaseReg", ")", ".", "addReg", "(", "PC", ")", ".", "addExternalSymbol", "(", "\"_GLOBAL_OFFSET_TABLE_\"", ",", "X86II", "::", "MO_GOT_ABSOLUTE_ADDRESS", ")", ";", "}", "else", "{", "GlobalBaseReg", "=", "PC", ";", "}", "X86FI", "->", "setGlobalBaseReg", "(", "GlobalBaseReg", ")", ";", "return", "GlobalBaseReg", ";", "}", ""], "natrual_language": ["getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "."], "TS_V_token": ["X86", "X86", "X86", "\"X86-64 PIC uses RIP relative addressing\"", "X86", "X86", "X86", "X86", "0", "X86::GR32RegisterClass", "X86::MOVPC32r", "0", "X86", "X86::GR32RegisterClass", "X86::ADD32ri", "\"_GLOBAL_OFFSET_TABLE_\"", "X86II::MO_GOT_ABSOLUTE_ADDRESS", "X86"], "File": "X86InstrInfo134", "Func": "getGlobalBaseReg", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4151, "Length": 230, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCPassConfig", "::", "addInstSelector", "(", ")", "{", "PM", ".", "add", "(", "createPPCISelDag", "(", "getPPCTargetMachine", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC"], "File": "PPCTargetMachine31", "Func": "addInstSelector", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4152, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUCallLowering", "::", "lowerFormalArguments", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Function", "&", "F", ",", "ArrayRef", "<", "unsigned", ">", "VRegs", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "VRegs", ",", "for", "GlobalISel", "."], "TS_V_token": ["AMDGPU", "AMDGPU"], "File": "AMDGPUCallLowering18", "Func": "lowerFormalArguments", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4153, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "TriCoreMCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "MO", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "{", "switch", "(", "MO", ".", "getReg", "(", ")", ")", "{", "default", ":", "return", "CTX", ".", "getRegisterInfo", "(", ")", "->", "getEncodingValue", "(", "MO", ".", "getReg", "(", ")", ")", ";", "case", "TriCore", "::", "E0", ":", "return", "0", ";", "case", "TriCore", "::", "E2", ":", "return", "2", ";", "case", "TriCore", "::", "E4", ":", "return", "4", ";", "case", "TriCore", "::", "E6", ":", "return", "6", ";", "case", "TriCore", "::", "E8", ":", "return", "8", ";", "case", "TriCore", "::", "E10", ":", "return", "10", ";", "case", "TriCore", "::", "E12", ":", "return", "12", ";", "case", "TriCore", "::", "E14", ":", "return", "14", ";", "}", "}", "if", "(", "MO", ".", "isImm", "(", ")", ")", "{", "return", "static_cast", "<", "unsigned", ">", "(", "MO", ".", "getImm", "(", ")", ")", ";", "}", "assert", "(", "MO", ".", "isExpr", "(", ")", "&&", "\"unknown operand kind in printOperand\"", ")", ";", "const", "MCExpr", "*", "Expr", "=", "MO", ".", "getExpr", "(", ")", ";", "MCExpr", "::", "ExprKind", "Kind", "=", "Expr", "->", "getKind", "(", ")", ";", "if", "(", "Kind", "==", "MCExpr", "::", "Binary", ")", "{", "Expr", "=", "static_cast", "<", "const", "MCBinaryExpr", "*", ">", "(", "Expr", ")", "->", "getLHS", "(", ")", ";", "Kind", "=", "Expr", "->", "getKind", "(", ")", ";", "}", "assert", "(", "Kind", "==", "MCExpr", "::", "SymbolRef", ")", ";", "cast", "<", "MCSymbolRefExpr", ">", "(", "Expr", ")", "->", "printVariantKind", "(", "outs", "(", ")", ")", ";", "unsigned", "FixupKind", ";", "switch", "(", "cast", "<", "MCSymbolRefExpr", ">", "(", "Expr", ")", "->", "getKind", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown fixup kind!\"", ")", ";", "case", "MCSymbolRefExpr", "::", "VK_TRICORE_LO_OFFSET", ":", "case", "MCSymbolRefExpr", "::", "VK_TRICORE_HI_OFFSET", ":", "return", "0", ";", "case", "MCSymbolRefExpr", "::", "VK_TRICORE_LO", ":", "{", "FixupKind", "=", "TriCore", "::", "fixup_leg_mov_lo16_pcrel", ";", "break", ";", "}", "case", "MCSymbolRefExpr", "::", "VK_TRICORE_HI", ":", "{", "FixupKind", "=", "TriCore", "::", "fixup_leg_mov_hi16_pcrel", ";", "break", ";", "}", "}", "Fixups", ".", "push_back", "(", "MCFixup", "::", "create", "(", "0", ",", "MO", ".", "getExpr", "(", ")", ",", "MCFixupKind", "(", "FixupKind", ")", ")", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "."], "TS_V_token": ["TriCore", "TriCore", "TriCore::E0", "0", "TriCore::E2", "2", "TriCore::E4", "4", "TriCore::E6", "6", "TriCore::E8", "8", "TriCore::E10", "10", "TriCore::E12", "12", "TriCore::E14", "14", "\"unknown operand kind in printOperand\"", "\"Unknown fixup kind!\"", "0", "TriCore::fixup_leg_mov_lo16_pcrel", "TriCore::fixup_leg_mov_hi16_pcrel", "0", "0"], "File": "TriCoreMCCodeEmitter", "Func": "getMachineOpValue", "Target": "TriCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4154, "Length": 341, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "alpha_split_compare_and_swap", "(", "rtx", "operands", "[", "]", ")", "{", "rtx", "cond", ",", "retval", ",", "mem", ",", "oldval", ",", "newval", ";", "bool", "is_weak", ";", "enum", "memmodel", "mod_s", ",", "mod_f", ";", "machine_mode", "mode", ";", "rtx", "label1", ",", "label2", ",", "x", ";", "cond", "=", "operands", "[", "0", "]", ";", "retval", "=", "operands", "[", "1", "]", ";", "mem", "=", "operands", "[", "2", "]", ";", "oldval", "=", "operands", "[", "3", "]", ";", "newval", "=", "operands", "[", "4", "]", ";", "is_weak", "=", "(", "operands", "[", "5", "]", "!=", "const0_rtx", ")", ";", "mod_s", "=", "memmodel_from_int", "(", "INTVAL", "(", "operands", "[", "6", "]", ")", ")", ";", "mod_f", "=", "memmodel_from_int", "(", "INTVAL", "(", "operands", "[", "7", "]", ")", ")", ";", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "alpha_pre_atomic_barrier", "(", "mod_s", ")", ";", "label1", "=", "NULL_RTX", ";", "if", "(", "!", "is_weak", ")", "{", "label1", "=", "gen_rtx_LABEL_REF", "(", "DImode", ",", "gen_label_rtx", "(", ")", ")", ";", "emit_label", "(", "XEXP", "(", "label1", ",", "0", ")", ")", ";", "}", "label2", "=", "gen_rtx_LABEL_REF", "(", "DImode", ",", "gen_label_rtx", "(", ")", ")", ";", "emit_load_locked", "(", "mode", ",", "retval", ",", "mem", ")", ";", "x", "=", "gen_lowpart", "(", "DImode", ",", "retval", ")", ";", "if", "(", "oldval", "==", "const0_rtx", ")", "{", "emit_move_insn", "(", "cond", ",", "const0_rtx", ")", ";", "x", "=", "gen_rtx_NE", "(", "DImode", ",", "x", ",", "const0_rtx", ")", ";", "}", "else", "{", "x", "=", "gen_rtx_EQ", "(", "DImode", ",", "x", ",", "oldval", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "cond", ",", "x", ")", ")", ";", "x", "=", "gen_rtx_EQ", "(", "DImode", ",", "cond", ",", "const0_rtx", ")", ";", "}", "emit_unlikely_jump", "(", "x", ",", "label2", ")", ";", "emit_move_insn", "(", "cond", ",", "newval", ")", ";", "emit_store_conditional", "(", "mode", ",", "cond", ",", "mem", ",", "gen_lowpart", "(", "mode", ",", "cond", ")", ")", ";", "if", "(", "!", "is_weak", ")", "{", "x", "=", "gen_rtx_EQ", "(", "DImode", ",", "cond", ",", "const0_rtx", ")", ";", "emit_unlikely_jump", "(", "x", ",", "label1", ")", ";", "}", "if", "(", "!", "is_mm_relaxed", "(", "mod_f", ")", ")", "emit_label", "(", "XEXP", "(", "label2", ",", "0", ")", ")", ";", "alpha_post_atomic_barrier", "(", "mod_s", ")", ";", "if", "(", "is_mm_relaxed", "(", "mod_f", ")", ")", "emit_label", "(", "XEXP", "(", "label2", ",", "0", ")", ")", ";", "}", ""], "natrual_language": ["Expand", "a", "compare", "and", "swap", "operation", "."], "TS_V_token": ["alpha", "0", "1", "2", "3", "4", "5", "6", "7", "0", "0", "0"], "File": "alpha5", "Func": "alpha_split_compare_and_swap", "Target": "alpha", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4155, "Length": 341, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "vsetvl_discard_result_insn_p", "(", "rtx_insn", "*", "rinsn", ")", "{", "if", "(", "!", "vector_config_insn_p", "(", "rinsn", ")", ")", "return", "false", ";", "return", "(", "INSN_CODE", "(", "rinsn", ")", "==", "CODE_FOR_vsetvl_discard_resultdi", "||", "INSN_CODE", "(", "rinsn", ")", "==", "CODE_FOR_vsetvl_discard_resultsi", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "is", "vsetvl", "zero", ",", "rs1", "."], "TS_V_token": ["riscv"], "File": "riscv-vsetvl", "Func": "vsetvl_discard_result_insn_p", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4156, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "SystemZTargetLowering", "*", "getTLI", "(", ")", "const", "{", "return", "TLI", ";", "}", ""], "natrual_language": ["Getter", "for", "generic", "TargetLowering", "class", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZTargetTransformInfo", "Func": "getTLI", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4157, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "M88kInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "Register", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", ";", "MachineMemOperand", "*", "MMO", "=", "getMachineMemOperand", "(", "MBB", ",", "FrameIndex", ",", "MachineMemOperand", "::", "MOStore", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "get", "(", "M88k", "::", "STriw", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["M88k", "M88k", "M88k::STriw", "0"], "File": "M88kInstrInfo", "Func": "storeRegToStackSlot", "Target": "M88k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4158, "Length": 95, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "M68kRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["M68k", "M68k"], "File": "M68kSubtarget", "Func": "getRegisterInfo", "Target": "M68k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4159, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_expand_divmod_libfunc", "(", "rtx", "libfunc", ",", "machine_mode", "mode", ",", "rtx", "op0", ",", "rtx", "op1", ",", "rtx", "*", "quot_p", ",", "rtx", "*", "rem_p", ")", "{", "rtx", "rem", "=", "assign_386_stack_local", "(", "mode", ",", "SLOT_TEMP", ")", ";", "rtx", "quot", "=", "emit_library_call_value", "(", "libfunc", ",", "NULL_RTX", ",", "LCT_NORMAL", ",", "mode", ",", "op0", ",", "GET_MODE", "(", "op0", ")", ",", "op1", ",", "GET_MODE", "(", "op1", ")", ",", "XEXP", "(", "rem", ",", "0", ")", ",", "Pmode", ")", ";", "*", "quot_p", "=", "quot", ";", "*", "rem_p", "=", "rem", ";", "}", ""], "natrual_language": ["Generate", "call", "to", "__divmoddi4", "."], "TS_V_token": ["i386", "0"], "File": "i3867", "Func": "ix86_expand_divmod_libfunc", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4160, "Length": 83, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "ix86_mangle_function_version_assembler_name", "(", "tree", "decl", ",", "tree", "id", ")", "{", "tree", "version_attr", ";", "const", "char", "*", "orig_name", ",", "*", "version_string", ";", "char", "*", "attr_str", ",", "*", "assembler_name", ";", "if", "(", "DECL_DECLARED_INLINE_P", "(", "decl", ")", "&&", "lookup_attribute", "(", "\"gnu_inline\"", ",", "DECL_ATTRIBUTES", "(", "decl", ")", ")", ")", "error_at", "(", "DECL_SOURCE_LOCATION", "(", "decl", ")", ",", "\"function versions cannot be marked as %,\"", "\" bodies have to be generated\"", ")", ";", "if", "(", "DECL_VIRTUAL_P", "(", "decl", ")", "||", "DECL_VINDEX", "(", "decl", ")", ")", "sorry", "(", "\"virtual function multiversioning not supported\"", ")", ";", "version_attr", "=", "lookup_attribute", "(", "\"target\"", ",", "DECL_ATTRIBUTES", "(", "decl", ")", ")", ";", "gcc_assert", "(", "version_attr", "!=", "NULL_TREE", ")", ";", "orig_name", "=", "IDENTIFIER_POINTER", "(", "id", ")", ";", "version_string", "=", "TREE_STRING_POINTER", "(", "TREE_VALUE", "(", "TREE_VALUE", "(", "version_attr", ")", ")", ")", ";", "if", "(", "strcmp", "(", "version_string", ",", "\"default\"", ")", "==", "0", ")", "return", "id", ";", "attr_str", "=", "sorted_attr_string", "(", "TREE_VALUE", "(", "version_attr", ")", ")", ";", "assembler_name", "=", "XNEWVEC", "(", "char", ",", "strlen", "(", "orig_name", ")", "+", "strlen", "(", "attr_str", ")", "+", "2", ")", ";", "sprintf", "(", "assembler_name", ",", "\"%s.%s\"", ",", "orig_name", ",", "attr_str", ")", ";", "if", "(", "DECL_ASSEMBLER_NAME_SET_P", "(", "decl", ")", ")", "SET_DECL_RTL", "(", "decl", ",", "NULL", ")", ";", "tree", "ret", "=", "get_identifier", "(", "assembler_name", ")", ";", "XDELETEVEC", "(", "attr_str", ")", ";", "XDELETEVEC", "(", "assembler_name", ")", ";", "return", "ret", ";", "}", ""], "natrual_language": ["This", "function", "changes", "the", "assembler", "name", "for", "functions", "that", "are", "versions", ".", "If", "DECL", "is", "a", "function", "version", "and", "has", "a", "``", "target", "''", "attribute", ",", "it", "appends", "the", "attribute", "string", "to", "its", "assembler", "name", "."], "TS_V_token": ["i386", "\"gnu_inline\"", "\"function versions cannot be marked as %,\"", "\" bodies have to be generated\"", "\"virtual function multiversioning not supported\"", "\"target\"", "\"default\"", "0", "2", "\"%s.%s\""], "File": "i386-features", "Func": "ix86_mangle_function_version_assembler_name", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4161, "Length": 203, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "avr_mem_clobber", "(", "void", ")", "{", "rtx", "mem", "=", "gen_rtx_MEM", "(", "BLKmode", ",", "gen_rtx_SCRATCH", "(", "Pmode", ")", ")", ";", "MEM_VOLATILE_P", "(", "mem", ")", "=", "1", ";", "return", "mem", ";", "}", ""], "natrual_language": ["Helper", "for", "__builtin_avr_delay_cycles"], "TS_V_token": ["avr", "1"], "File": "avr", "Func": "avr_mem_clobber", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4162, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonDAGToDAGISel", "::", "hasOneUse", "(", "const", "SDNode", "*", "N", ")", "const", "{", "return", "!", "CheckSingleUse", "||", "N", "->", "hasOneUse", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "there", "is", "exactly", "one", "node", "using", "value", "ResNo", "of", "Node", "."], "TS_V_token": ["Hexagon", "Hexagon"], "File": "HexagonISelDAGToDAG1", "Func": "hasOneUse", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4163, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_update_stack_boundary", "(", "void", ")", "{", "ix86_incoming_stack_boundary", "=", "ix86_minimum_incoming_stack_boundary", "(", "false", ")", ";", "if", "(", "TARGET_64BIT", "&&", "cfun", "->", "stdarg", "&&", "crtl", "->", "stack_alignment_estimated", "<", "128", ")", "crtl", "->", "stack_alignment_estimated", "=", "128", ";", "if", "(", "ix86_tls_descriptor_calls_expanded_in_cfun", "&&", "crtl", "->", "preferred_stack_boundary", "<", "128", ")", "crtl", "->", "preferred_stack_boundary", "=", "128", ";", "}", ""], "natrual_language": ["Update", "incoming", "stack", "boundary", "and", "estimated", "stack", "alignment", "."], "TS_V_token": ["i386", "128", "128", "128", "128"], "File": "i386", "Func": "ix86_update_stack_boundary", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4164, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "mn10300_memory_move_cost", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "reg_class_t", "iclass", ",", "bool", "in", "ATTRIBUTE_UNUSED", ")", "{", "enum", "reg_class", "rclass", "=", "(", "enum", "reg_class", ")", "iclass", ";", "if", "(", "rclass", "==", "FP_REGS", ")", "return", "8", ";", "return", "6", ";", "}", ""], "natrual_language": ["Implement", "the", "TARGET_MEMORY_MOVE_COST", "hook", ".", "Given", "lack", "of", "the", "form", "of", "the", "address", ",", "this", "must", "be", "speed-relative", ",", "though", "we", "should", "never", "be", "less", "expensive", "than", "a", "size-relative", "register", "move", "cost", "above", ".", "This", "is", "not", "a", "problem", "."], "TS_V_token": ["mn10300", "8", "6"], "File": "mn10300", "Func": "mn10300_memory_move_cost", "Target": "mn10300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4165, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "MetadataStreamerV3", "::", "getValueType", "(", "Type", "*", "Ty", ",", "StringRef", "TypeName", ")", "const", "{", "switch", "(", "Ty", "->", "getTypeID", "(", ")", ")", "{", "case", "Type", "::", "IntegerTyID", ":", "{", "auto", "Signed", "=", "!", "TypeName", ".", "startswith", "(", "\"u\"", ")", ";", "switch", "(", "Ty", "->", "getIntegerBitWidth", "(", ")", ")", "{", "case", "8", ":", "return", "Signed", "?", "\"i8\"", ":", "\"u8\"", ";", "case", "16", ":", "return", "Signed", "?", "\"i16\"", ":", "\"u16\"", ";", "case", "32", ":", "return", "Signed", "?", "\"i32\"", ":", "\"u32\"", ";", "case", "64", ":", "return", "Signed", "?", "\"i64\"", ":", "\"u64\"", ";", "default", ":", "return", "\"struct\"", ";", "}", "}", "case", "Type", "::", "HalfTyID", ":", "return", "\"f16\"", ";", "case", "Type", "::", "FloatTyID", ":", "return", "\"f32\"", ";", "case", "Type", "::", "DoubleTyID", ":", "return", "\"f64\"", ";", "case", "Type", "::", "PointerTyID", ":", "return", "getValueType", "(", "Ty", "->", "getPointerElementType", "(", ")", ",", "TypeName", ")", ";", "case", "Type", "::", "VectorTyID", ":", "return", "getValueType", "(", "Ty", "->", "getVectorElementType", "(", ")", ",", "TypeName", ")", ";", "default", ":", "return", "\"struct\"", ";", "}", "}", ""], "natrual_language": ["Return", "the", "ValueType", "of", "the", "referenced", "return", "value", "."], "TS_V_token": ["AMDGPU", "\"u\"", "8", "\"i8\"", "\"u8\"", "16", "\"i16\"", "\"u16\"", "32", "\"i32\"", "\"u32\"", "64", "\"i64\"", "\"u64\"", "\"struct\"", "\"f16\"", "\"f32\"", "\"f64\"", "\"struct\""], "File": "AMDGPUHSAMetadataStreamer16", "Func": "getValueType", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4166, "Length": 161, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mayNeedRelaxation", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["Check", "whether", "the", "given", "instruction", "may", "need", "relaxation", "."], "TS_V_token": ["CAHP"], "File": "CAHPAsmBackend", "Func": "mayNeedRelaxation", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4167, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_find_gp_ref", "(", "bool", "*", "cache", ",", "bool", "(", "*", "pred", ")", "(", "rtx_insn", "*", ")", ")", "{", "rtx_insn", "*", "insn", ",", "*", "subinsn", ";", "if", "(", "!", "*", "cache", ")", "{", "push_topmost_sequence", "(", ")", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "FOR_EACH_SUBINSN", "(", "subinsn", ",", "insn", ")", "if", "(", "USEFUL_INSN_P", "(", "subinsn", ")", "&&", "pred", "(", "subinsn", ")", ")", "{", "*", "cache", "=", "true", ";", "break", ";", "}", "pop_topmost_sequence", "(", ")", ";", "}", "return", "*", "cache", ";", "}", ""], "natrual_language": ["Return", "true", "if", "predicate", "PRED", "is", "true", "for", "at", "least", "one", "instruction", ".", "Cache", "the", "result", "in", "*", "CACHE", ",", "and", "assume", "that", "the", "result", "is", "true", "if", "*", "CACHE", "is", "already", "true", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_find_gp_ref", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4168, "Length": 91, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DFAPacketizer", "*", "R600InstrInfo", "::", "CreateTargetScheduleState", "(", "const", "TargetMachine", "*", "TM", ",", "const", "ScheduleDAG", "*", "DAG", ")", "const", "{", "const", "InstrItineraryData", "*", "II", "=", "TM", "->", "getSubtargetImpl", "(", ")", "->", "getInstrItineraryData", "(", ")", ";", "return", "TM", "->", "getSubtarget", "<", "AMDGPUSubtarget", ">", "(", ")", ".", "createDFAPacketizer", "(", "II", ")", ";", "}", ""], "natrual_language": ["Create", "machine", "specific", "model", "for", "scheduling", "."], "TS_V_token": ["R600"], "File": "R600InstrInfo55", "Func": "CreateTargetScheduleState", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4169, "Length": 49, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "pa_file_end", "(", "void", ")", "{", "unsigned", "int", "i", ";", "extern_symbol", "*", "p", ";", "if", "(", "!", "NO_DEFERRED_PROFILE_COUNTERS", ")", "output_deferred_profile_counters", "(", ")", ";", "output_deferred_plabels", "(", ")", ";", "for", "(", "i", "=", "0", ";", "vec_safe_iterate", "(", "extern_symbols", ",", "i", ",", "&", "p", ")", ";", "i", "++", ")", "{", "tree", "decl", "=", "p", "->", "decl", ";", "if", "(", "!", "TREE_ASM_WRITTEN", "(", "decl", ")", "&&", "SYMBOL_REF_REFERENCED_P", "(", "XEXP", "(", "DECL_RTL", "(", "decl", ")", ",", "0", ")", ")", ")", "ASM_OUTPUT_EXTERNAL_REAL", "(", "asm_out_file", ",", "decl", ",", "p", "->", "name", ")", ";", "}", "vec_free", "(", "extern_symbols", ")", ";", "if", "(", "NEED_INDICATE_EXEC_STACK", ")", "file_end_indicate_exec_stack", "(", ")", ";", "}", ""], "natrual_language": ["Output", "text", "required", "at", "the", "end", "of", "an", "assembler", "file", ".", "This", "includes", "deferred", "plabels", "and", ".import", "directives", "for", "all", "external", "symbols", "that", "were", "actually", "referenced", "."], "TS_V_token": ["pa", "0", "0"], "File": "pa", "Func": "pa_file_end", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4170, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_cxx_cdtor_returns_this", "(", "void", ")", "{", "return", "TARGET_AAPCS_BASED", ";", "}", ""], "natrual_language": ["The", "EABI", "says", "constructors", "and", "destructors", "should", "return", "a", "pointer", "to", "the", "object", "constructed/destroyed", "."], "TS_V_token": ["arm"], "File": "arm", "Func": "arm_cxx_cdtor_returns_this", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4171, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"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": 4172, "Length": 281, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86InstrInfo", "::", "isFunctionSafeToOutlineFrom", "(", "MachineFunction", "&", "MF", ")", "const", "{", "return", "MF", ".", "getFunction", "(", ")", "->", "hasFnAttribute", "(", "Attribute", "::", "NoRedZone", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "function", "can", "safely", "be", "outlined", "from", "."], "TS_V_token": ["X86", "X86"], "File": "X86InstrInfo114", "Func": "isFunctionSafeToOutlineFrom", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4173, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SystemZPostRASchedStrategy", "::", "schedNode", "(", "SUnit", "*", "SU", ",", "bool", "IsTopNode", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"+++ Scheduling SU(\"", "<<", "SU", "->", "NodeNum", "<<", "\")\\n\"", ";", ")", ";", "Available", ".", "erase", "(", "SU", ")", ";", "HazardRec", ".", "EmitInstruction", "(", "SU", ")", ";", "}", ""], "natrual_language": ["ScheduleDAGMI", "has", "scheduled", "an", "instruction", "-", "tell", "HazardRec", "about", "it", "."], "TS_V_token": ["SystemZ", "SystemZ", "\"+++ Scheduling SU(\"", "\")\\n\""], "File": "SystemZMachineScheduler13", "Func": "schedNode", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4174, "Length": 44, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "ARMBaseInstrInfo", "::", "getInstSizeInBytes", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "const", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "const", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "MCAsmInfo", "*", "MAI", "=", "MF", "->", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", ";", "const", "MCInstrDesc", "&", "MCID", "=", "MI", ".", "getDesc", "(", ")", ";", "if", "(", "MCID", ".", "getSize", "(", ")", ")", "return", "MCID", ".", "getSize", "(", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "ARM", "::", "INLINEASM", ")", "{", "unsigned", "Size", "=", "getInlineAsmLength", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getSymbolName", "(", ")", ",", "*", "MAI", ")", ";", "if", "(", "!", "MF", "->", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", "->", "isThumbFunction", "(", ")", ")", "Size", "=", "alignTo", "(", "Size", ",", "4", ")", ";", "return", "Size", ";", "}", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opc", ")", "{", "default", ":", "return", "0", ";", "case", "TargetOpcode", "::", "BUNDLE", ":", "return", "getInstBundleLength", "(", "MI", ")", ";", "case", "ARM", "::", "MOVi16_ga_pcrel", ":", "case", "ARM", "::", "MOVTi16_ga_pcrel", ":", "case", "ARM", "::", "t2MOVi16_ga_pcrel", ":", "case", "ARM", "::", "t2MOVTi16_ga_pcrel", ":", "return", "4", ";", "case", "ARM", "::", "MOVi32imm", ":", "case", "ARM", "::", "t2MOVi32imm", ":", "return", "8", ";", "case", "ARM", "::", "CONSTPOOL_ENTRY", ":", "case", "ARM", "::", "JUMPTABLE_INSTS", ":", "case", "ARM", "::", "JUMPTABLE_ADDRS", ":", "case", "ARM", "::", "JUMPTABLE_TBB", ":", "case", "ARM", "::", "JUMPTABLE_TBH", ":", "return", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "case", "ARM", "::", "Int_eh_sjlj_longjmp", ":", "return", "16", ";", "case", "ARM", "::", "tInt_eh_sjlj_longjmp", ":", "return", "10", ";", "case", "ARM", "::", "tInt_WIN_eh_sjlj_longjmp", ":", "return", "12", ";", "case", "ARM", "::", "Int_eh_sjlj_setjmp", ":", "case", "ARM", "::", "Int_eh_sjlj_setjmp_nofp", ":", "return", "20", ";", "case", "ARM", "::", "tInt_eh_sjlj_setjmp", ":", "case", "ARM", "::", "t2Int_eh_sjlj_setjmp", ":", "case", "ARM", "::", "t2Int_eh_sjlj_setjmp_nofp", ":", "return", "12", ";", "case", "ARM", "::", "SPACE", ":", "return", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "}", "}", ""], "natrual_language": ["Returns", "the", "size", "in", "bytes", "of", "the", "specified", "MachineInstr", ",", "or", "~0U", "when", "this", "function", "is", "not", "implemented", "by", "a", "target", "."], "TS_V_token": ["ARM", "ARM", "ARM::INLINEASM", "0", "ARM", "4", "0", "ARM::MOVi16_ga_pcrel", "ARM::MOVTi16_ga_pcrel", "ARM::t2MOVi16_ga_pcrel", "ARM::t2MOVTi16_ga_pcrel", "4", "ARM::MOVi32imm", "ARM::t2MOVi32imm", "8", "ARM::CONSTPOOL_ENTRY", "ARM::JUMPTABLE_INSTS", "ARM::JUMPTABLE_ADDRS", "ARM::JUMPTABLE_TBB", "ARM::JUMPTABLE_TBH", "2", "ARM::Int_eh_sjlj_longjmp", "16", "ARM::tInt_eh_sjlj_longjmp", "10", "ARM::tInt_WIN_eh_sjlj_longjmp", "12", "ARM::Int_eh_sjlj_setjmp", "ARM::Int_eh_sjlj_setjmp_nofp", "20", "ARM::tInt_eh_sjlj_setjmp", "ARM::t2Int_eh_sjlj_setjmp", "ARM::t2Int_eh_sjlj_setjmp_nofp", "12", "ARM::SPACE", "1"], "File": "ARMBaseInstrInfo1", "Func": "getInstSizeInBytes", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4175, "Length": 315, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"R600 Handle indirect addressing\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["R600", "\"R600 Handle indirect addressing\""], "File": "AMDGPUIndirectAddressing", "Func": "getPassName", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4176, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LoongArchPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createLoongArchISelDag", "(", "getLoongArchTargetMachine", "(", ")", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["LoongArch", "LoongArch", "LoongArch", "LoongArch"], "File": "LoongArchTargetMachine", "Func": "addInstSelector", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4177, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "LanaiRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", ")", "const", "{", "return", "CSR_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["Lanai", "Lanai"], "File": "LanaiRegisterInfo (2)1", "Func": "getCalleeSavedRegs", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4178, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIMachineFunctionInfo", "::", "allocateVGPRSpillToAGPR", "(", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "bool", "isAGPRtoVGPR", ")", "{", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "MachineFrameInfo", "&", "FrameInfo", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "GCNSubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "assert", "(", "ST", ".", "hasMAIInsts", "(", ")", "&&", "FrameInfo", ".", "isSpillSlotObjectIndex", "(", "FI", ")", ")", ";", "auto", "&", "Spill", "=", "VGPRToAGPRSpills", "[", "FI", "]", ";", "if", "(", "!", "Spill", ".", "Lanes", ".", "empty", "(", ")", ")", "return", "Spill", ".", "FullyAllocated", ";", "unsigned", "Size", "=", "FrameInfo", ".", "getObjectSize", "(", "FI", ")", ";", "unsigned", "NumLanes", "=", "Size", "/", "4", ";", "Spill", ".", "Lanes", ".", "resize", "(", "NumLanes", ",", "AMDGPU", "::", "NoRegister", ")", ";", "const", "TargetRegisterClass", "&", "RC", "=", "isAGPRtoVGPR", "?", "AMDGPU", "::", "VGPR_32RegClass", ":", "AMDGPU", "::", "AGPR_32RegClass", ";", "auto", "Regs", "=", "RC", ".", "getRegisters", "(", ")", ";", "auto", "&", "SpillRegs", "=", "isAGPRtoVGPR", "?", "SpillAGPR", ":", "SpillVGPR", ";", "const", "SIRegisterInfo", "*", "TRI", "=", "ST", ".", "getRegisterInfo", "(", ")", ";", "Spill", ".", "FullyAllocated", "=", "true", ";", "BitVector", "OtherUsedRegs", ";", "OtherUsedRegs", ".", "resize", "(", "TRI", "->", "getNumRegs", "(", ")", ")", ";", "const", "uint32_t", "*", "CSRMask", "=", "TRI", "->", "getCallPreservedMask", "(", "MF", ",", "MF", ".", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", ")", ";", "if", "(", "CSRMask", ")", "OtherUsedRegs", ".", "setBitsInMask", "(", "CSRMask", ")", ";", "for", "(", "MCPhysReg", "Reg", ":", "SpillAGPR", ")", "OtherUsedRegs", ".", "set", "(", "Reg", ")", ";", "for", "(", "MCPhysReg", "Reg", ":", "SpillVGPR", ")", "OtherUsedRegs", ".", "set", "(", "Reg", ")", ";", "SmallVectorImpl", "<", "MCPhysReg", ">", "::", "const_iterator", "NextSpillReg", "=", "Regs", ".", "begin", "(", ")", ";", "for", "(", "unsigned", "I", "=", "0", ";", "I", "<", "NumLanes", ";", "++", "I", ")", "{", "NextSpillReg", "=", "std", "::", "find_if", "(", "NextSpillReg", ",", "Regs", ".", "end", "(", ")", ",", "[", "&", "MRI", ",", "&", "OtherUsedRegs", "]", "(", "MCPhysReg", "Reg", ")", "{", "return", "MRI", ".", "isAllocatable", "(", "Reg", ")", "&&", "!", "MRI", ".", "isPhysRegUsed", "(", "Reg", ")", "&&", "!", "OtherUsedRegs", "[", "Reg", "]", ";", "}", ")", ";", "if", "(", "NextSpillReg", "==", "Regs", ".", "end", "(", ")", ")", "{", "Spill", ".", "FullyAllocated", "=", "false", ";", "break", ";", "}", "OtherUsedRegs", ".", "set", "(", "*", "NextSpillReg", ")", ";", "SpillRegs", ".", "push_back", "(", "*", "NextSpillReg", ")", ";", "Spill", ".", "Lanes", "[", "I", "]", "=", "*", "NextSpillReg", "++", ";", "}", "return", "Spill", ".", "FullyAllocated", ";", "}", ""], "natrual_language": ["Reserve", "AGPRs", "or", "VGPRs", "to", "support", "spilling", "for", "FrameIndex", "FI", "."], "TS_V_token": ["AMDGPU", "SI", "4", "AMDGPU::NoRegister", "AMDGPU::VGPR_32RegClass", "AMDGPU::AGPR_32RegClass", "SI", "0"], "File": "SIMachineFunctionInfo13", "Func": "allocateVGPRSpillToAGPR", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4179, "Length": 381, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "EVT", "X86TargetLowering", "::", "getSetCCResultType", "(", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isVector", "(", ")", ")", "return", "MVT", "::", "i8", ";", "return", "VT", ".", "changeVectorElementTypeToInteger", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "."], "TS_V_token": ["X86", "X86", "MVT::i8"], "File": "X86ISelLowering114", "Func": "getSetCCResultType", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4180, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVRemoveRedundancyVSETVL", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "collectRedundancyVSETVLIInMF", "(", "MF", ")", ";", "return", "removeRedundancy", "(", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVRemoveRedundancyVSETVL", "Func": "runOnMachineFunction", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4181, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "raw_ostream", "&", "printName", "(", "raw_ostream", "&", "OS", ",", "StringRef", "Name", ")", "{", "return", "OS", "<<", "Name", "<<", "\" = \"", ";", "}", ""], "natrual_language": ["Print", "the", "basic", "block", "'s", "name", "as", ":"], "TS_V_token": ["AMDGPU", "\" = \""], "File": "AMDKernelCodeTUtils", "Func": "printName", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4182, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "trackLivenessAfterRegAlloc", "(", "const", "MachineFunction", "&", "MF", ")", "const", "override", "{", "return", "true", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "live-ins", "should", "be", "tracked", "after", "register", "allocation", "."], "TS_V_token": ["RV16K"], "File": "RV16KRegisterInfo", "Func": "trackLivenessAfterRegAlloc", "Target": "RV16K", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4183, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseRegisterInfo", "::", "canRealignStack", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineRegisterInfo", "*", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "const", "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "if", "(", "MF", ".", "getFunction", "(", ")", "->", "hasFnAttribute", "(", "\"no-realign-stack\"", ")", ")", "return", "false", ";", "if", "(", "AFI", "->", "isThumb1OnlyFunction", "(", ")", ")", "return", "false", ";", "if", "(", "!", "MRI", "->", "canReserveReg", "(", "getFramePointerReg", "(", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ")", ")", ")", "return", "false", ";", "if", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", "->", "hasReservedCallFrame", "(", "MF", ")", ")", "return", "true", ";", "return", "MRI", "->", "canReserveReg", "(", "BasePtr", ")", ";", "}", ""], "natrual_language": ["True", "if", "the", "stack", "can", "be", "realigned", "for", "the", "target", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "\"no-realign-stack\"", "ARM"], "File": "ARMBaseRegisterInfo22", "Func": "canRealignStack", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4184, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "WebAssemblyTargetWasmStreamer", "::", "emitLocal", "(", "ArrayRef", "<", "MVT", ">", "Types", ")", "{", "SmallVector", "<", "std", "::", "pair", "<", "MVT", ",", "uint32_t", ">", ",", "4", ">", "Grouped", ";", "for", "(", "MVT", "Type", ":", "Types", ")", "{", "if", "(", "Grouped", ".", "empty", "(", ")", "||", "Grouped", ".", "back", "(", ")", ".", "first", "!=", "Type", ")", "Grouped", ".", "push_back", "(", "std", "::", "make_pair", "(", "Type", ",", "1", ")", ")", ";", "else", "++", "Grouped", ".", "back", "(", ")", ".", "second", ";", "}", "Streamer", ".", "EmitULEB128IntValue", "(", "Grouped", ".", "size", "(", ")", ")", ";", "for", "(", "auto", "Pair", ":", "Grouped", ")", "{", "Streamer", ".", "EmitULEB128IntValue", "(", "Pair", ".", "second", ")", ";", "Streamer", ".", "EmitULEB128IntValue", "(", "uint64_t", "(", "WebAssembly", "::", "toValType", "(", "Pair", ".", "first", ")", ")", ")", ";", "}", "}", ""], "natrual_language": [".local"], "TS_V_token": ["WebAssembly", "WebAssembly", "4", "1", "WebAssembly::toValType"], "File": "WebAssemblyTargetStreamer16", "Func": "emitLocal", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4185, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nios2_function_arg_advance", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "const_tree", "type", "ATTRIBUTE_UNUSED", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "HOST_WIDE_INT", "param_size", ";", "if", "(", "mode", "==", "BLKmode", ")", "{", "param_size", "=", "int_size_in_bytes", "(", "type", ")", ";", "gcc_assert", "(", "param_size", ">=", "0", ")", ";", "}", "else", "param_size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "param_size", "=", "(", "UNITS_PER_WORD", "-", "1", "+", "param_size", ")", "/", "UNITS_PER_WORD", ";", "if", "(", "cum", "->", "regs_used", "+", "param_size", ">", "NUM_ARG_REGS", ")", "cum", "->", "regs_used", "=", "NUM_ARG_REGS", ";", "else", "cum", "->", "regs_used", "+=", "param_size", ";", "}", ""], "natrual_language": ["Update", "the", "data", "in", "CUM", "to", "advance", "over", "an", "argument", "of", "mode", "MODE", "and", "data", "type", "TYPE", ";", "TYPE", "is", "null", "for", "libcalls", "where", "that", "information", "may", "not", "be", "available", "."], "TS_V_token": ["nios2", "0", "1"], "File": "nios22", "Func": "nios2_function_arg_advance", "Target": "nios2", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4186, "Length": 97, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "addPass", "(", "createMLxExpansionPass", "(", ")", ")", ";", "if", "(", "EnableARMLoadStoreOpt", ")", "addPass", "(", "createARMLoadStoreOptimizationPass", "(", "true", ")", ")", ";", "if", "(", "!", "DisableA15SDOptimization", ")", "addPass", "(", "createA15SDOptimizerPass", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM"], "File": "ARMTargetMachine (2)1", "Func": "addPreRegAlloc", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4187, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mprocTargetLowering", "::", "isTruncateFree", "(", "EVT", "VT1", ",", "EVT", "VT2", ")", "const", "{", "if", "(", "!", "VT1", ".", "isInteger", "(", ")", "||", "!", "VT2", ".", "isInteger", "(", ")", ")", "return", "false", ";", "return", "(", "VT1", ".", "getSizeInBits", "(", ")", ">", "VT2", ".", "getSizeInBits", "(", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "'s", "free", "to", "truncate", "a", "value", "of", "type", "Ty1", "to", "type", "Ty2", "."], "TS_V_token": ["mproc", "mproc"], "File": "mprocISelLowering", "Func": "isTruncateFree", "Target": "mproc", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4188, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "avr_move_bits", "(", "rtx", "*", "xop", ",", "unsigned", "int", "map", ",", "bool", "fixp_p", ",", "int", "*", "plen", ")", "{", "int", "bit_dest", ",", "b", ";", "int", "t_bit_src", "=", "-", "1", ";", "for", "(", "b", "=", "0", ";", "b", "<", "8", ";", "b", "++", ")", "for", "(", "bit_dest", "=", "0", ";", "bit_dest", "<", "8", ";", "bit_dest", "++", ")", "{", "int", "bit_src", "=", "avr_map", "(", "map", ",", "bit_dest", ")", ";", "if", "(", "b", "!=", "bit_src", "||", "bit_src", ">=", "8", "||", "(", "bit_dest", "==", "bit_src", "&&", "!", "fixp_p", ")", ")", "continue", ";", "if", "(", "t_bit_src", "!=", "bit_src", ")", "{", "t_bit_src", "=", "bit_src", ";", "xop", "[", "3", "]", "=", "GEN_INT", "(", "bit_src", ")", ";", "avr_asm_len", "(", "\"bst %T1%T3\"", ",", "xop", ",", "plen", ",", "1", ")", ";", "}", "xop", "[", "3", "]", "=", "GEN_INT", "(", "bit_dest", ")", ";", "avr_asm_len", "(", "\"bld %T0%T3\"", ",", "xop", ",", "plen", ",", "1", ")", ";", "}", "}", ""], "natrual_language": ["Insert", "bits", "from", "XOP", "[", "1", "]", "into", "XOP", "[", "0", "]", "according", "to", "MAP", ".", "XOP", "[", "0", "]", "and", "XOP", "[", "1", "]", "do", "n't", "overlap", ".", "If", "FIXP_P", "=", "true", ":", "Move", "all", "bits", "according", "to", "MAP", "using", "BLD/BST", "sequences", ".", "If", "FIXP_P", "=", "false", ":", "Just", "move", "the", "bit", "if", "its", "position", "in", "the", "destination", "is", "different", "to", "its", "source", "position", "."], "TS_V_token": ["avr", "1", "0", "8", "0", "8", "8", "3", "\"bst %T1%T3\"", "1", "3", "\"bld %T0%T3\"", "1"], "File": "avr4", "Func": "avr_move_bits", "Target": "avr", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4189, "Length": 145, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "TL45TargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "TL45PassConfig", "(", "*", "this", ",", "PM", ")", ";", "}", ""], "natrual_language": ["Create", "a", "pass", "configuration", "object", "to", "be", "used", "by", "addPassToEmitX", "methods", "for", "generating", "a", "pipeline", "of", "CodeGen", "passes", "."], "TS_V_token": ["TL45", "TL45", "TL45"], "File": "TL45TargetMachine", "Func": "createPassConfig", "Target": "TL45", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4190, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "GCNMaxOccupancySchedStrategy", "::", "initialize", "(", "ScheduleDAGMI", "*", "DAG", ")", "{", "GenericScheduler", "::", "initialize", "(", "DAG", ")", ";", "const", "SIRegisterInfo", "*", "SRI", "=", "static_cast", "<", "const", "SIRegisterInfo", "*", ">", "(", "TRI", ")", ";", "MF", "=", "&", "DAG", "->", "MF", ";", "const", "SISubtarget", "&", "ST", "=", "MF", "->", "getSubtarget", "<", "SISubtarget", ">", "(", ")", ";", "const", "int", "ErrorMargin", "=", "3", ";", "SGPRExcessLimit", "=", "Context", "->", "RegClassInfo", "->", "getNumAllocatableRegs", "(", "&", "AMDGPU", "::", "SGPR_32RegClass", ")", "-", "ErrorMargin", ";", "VGPRExcessLimit", "=", "Context", "->", "RegClassInfo", "->", "getNumAllocatableRegs", "(", "&", "AMDGPU", "::", "VGPR_32RegClass", ")", "-", "ErrorMargin", ";", "if", "(", "TargetOccupancy", ")", "{", "SGPRCriticalLimit", "=", "ST", ".", "getMaxNumSGPRs", "(", "TargetOccupancy", ",", "true", ")", ";", "VGPRCriticalLimit", "=", "ST", ".", "getMaxNumVGPRs", "(", "TargetOccupancy", ")", ";", "}", "else", "{", "SGPRCriticalLimit", "=", "SRI", "->", "getRegPressureSetLimit", "(", "DAG", "->", "MF", ",", "SRI", "->", "getSGPRPressureSet", "(", ")", ")", ";", "VGPRCriticalLimit", "=", "SRI", "->", "getRegPressureSetLimit", "(", "DAG", "->", "MF", ",", "SRI", "->", "getVGPRPressureSet", "(", ")", ")", ";", "}", "SGPRCriticalLimit", "-=", "ErrorMargin", ";", "VGPRCriticalLimit", "-=", "ErrorMargin", ";", "}", ""], "natrual_language": ["Initialize", "the", "strategy", "after", "building", "the", "DAG", "for", "a", "new", "region", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "SI", "3", "AMDGPU::SGPR_32RegClass", "AMDGPU::VGPR_32RegClass"], "File": "GCNSchedStrategy16", "Func": "initialize", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4191, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_fixup_binary_operands_no_copy", "(", "enum", "rtx_code", "code", ",", "machine_mode", "mode", ",", "rtx", "operands", "[", "]", ")", "{", "rtx", "dst", "=", "ix86_fixup_binary_operands", "(", "code", ",", "mode", ",", "operands", ")", ";", "gcc_assert", "(", "dst", "==", "operands", "[", "0", "]", ")", ";", "}", ""], "natrual_language": ["Similarly", ",", "but", "assume", "that", "the", "destination", "has", "already", "been", "set", "up", "properly", "."], "TS_V_token": ["i386", "0"], "File": "i386-expand", "Func": "ix86_fixup_binary_operands_no_copy", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4192, "Length": 39, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyFixIrreducibleControlFlow", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** Fixing Irreducible Control Flow **********\\n\"", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "bool", "Changed", "=", "false", ";", "auto", "&", "MLI", "=", "getAnalysis", "<", "MachineLoopInfo", ">", "(", ")", ";", "Changed", "|=", "VisitLoop", "(", "MF", ",", "MLI", ",", "nullptr", ")", ";", "SmallVector", "<", "MachineLoop", "*", ",", "8", ">", "Worklist", "(", "MLI", ".", "begin", "(", ")", ",", "MLI", ".", "end", "(", ")", ")", ";", "while", "(", "!", "Worklist", ".", "empty", "(", ")", ")", "{", "MachineLoop", "*", "CurLoop", "=", "Worklist", ".", "pop_back_val", "(", ")", ";", "Worklist", ".", "append", "(", "CurLoop", "->", "begin", "(", ")", ",", "CurLoop", "->", "end", "(", ")", ")", ";", "Changed", "|=", "VisitLoop", "(", "MF", ",", "MLI", ",", "CurLoop", ")", ";", "}", "if", "(", "LLVM_UNLIKELY", "(", "Changed", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Recomputing dominators and loops.\\n\"", ")", ";", "MF", ".", "getRegInfo", "(", ")", ".", "invalidateLiveness", "(", ")", ";", "MF", ".", "RenumberBlocks", "(", ")", ";", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ".", "runOnMachineFunction", "(", "MF", ")", ";", "MLI", ".", "runOnMachineFunction", "(", "MF", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"********** Fixing Irreducible Control Flow **********\\n\"", "\"********** Function: \"", "8", "\"Recomputing dominators and loops.\\n\""], "File": "WebAssemblyFixIrreducibleControlFlow11", "Func": "runOnMachineFunction", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4193, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "loongarch_output_conditional_branch", "(", "rtx_insn", "*", "insn", ",", "rtx", "*", "operands", ",", "const", "char", "*", "branch_if_true", ",", "const", "char", "*", "branch_if_false", ")", "{", "unsigned", "int", "length", ";", "rtx", "taken", ";", "gcc_assert", "(", "LABEL_P", "(", "operands", "[", "0", "]", ")", ")", ";", "length", "=", "get_attr_length", "(", "insn", ")", ";", "if", "(", "length", "<=", "4", ")", "{", "return", "branch_if_true", ";", "}", "rtx_code_label", "*", "not_taken", "=", "gen_label_rtx", "(", ")", ";", "taken", "=", "operands", "[", "0", "]", ";", "operands", "[", "0", "]", "=", "not_taken", ";", "output_asm_insn", "(", "branch_if_false", ",", "operands", ")", ";", "output_asm_insn", "(", "\"b\\t%0\"", ",", "&", "taken", ")", ";", "targetm", ".", "asm_out", ".", "internal_label", "(", "asm_out_file", ",", "\"L\"", ",", "CODE_LABEL_NUMBER", "(", "not_taken", ")", ")", ";", "return", "\"\"", ";", "}", ""], "natrual_language": ["Return", "the", "assembly", "code", "for", "INSN", ",", "which", "has", "the", "operands", "given", "by", "OPERANDS", ",", "and", "which", "branches", "to", "OPERANDS", "[", "0", "]", "if", "some", "condition", "is", "true", ".", "BRANCH_IF_TRUE", "is", "the", "asm", "template", "that", "should", "be", "used", "if", "OPERANDS", "[", "0", "]", "is", "in", "range", "of", "a", "direct", "branch", ".", "BRANCH_IF_FALSE", "is", "an", "inverted", "version", "of", "BRANCH_IF_TRUE", "."], "TS_V_token": ["loongarch", "0", "4", "0", "0", "\"b\\t%0\"", "\"L\"", "\"\""], "File": "loongarch", "Func": "loongarch_output_conditional_branch", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4194, "Length": 117, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86PassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createX86ISelDag", "(", "getX86TargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "if", "(", "getX86Subtarget", "(", ")", ".", "isTargetELF", "(", ")", "&&", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createCleanupLocalDynamicTLSPass", "(", ")", ")", ";", "if", "(", "!", "getX86Subtarget", "(", ")", ".", "is64Bit", "(", ")", ")", "addPass", "(", "createGlobalBaseRegPass", "(", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["X86", "X86", "X86", "X86", "X86", "X86"], "File": "X86TargetMachine1", "Func": "addInstSelector", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4195, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "ARM64MCExpr", "*", "ARM64MCExpr", "::", "Create", "(", "const", "MCExpr", "*", "Expr", ",", "VariantKind", "Kind", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "(", "Ctx", ")", "ARM64MCExpr", "(", "Expr", ",", "Kind", ")", ";", "}", ""], "natrual_language": ["Construct", "a", "unary", "instruction", ",", "given", "the", "opcode", "and", "an", "operand", "."], "TS_V_token": ["ARM64", "ARM64", "ARM64", "ARM64"], "File": "ARM64MCExpr", "Func": "Create", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4196, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_can_eliminate", "(", "const", "int", "from", ",", "const", "int", "to", ")", "{", "if", "(", "stack_realign_fp", ")", "return", "(", "(", "from", "==", "ARG_POINTER_REGNUM", "&&", "to", "==", "HARD_FRAME_POINTER_REGNUM", ")", "||", "(", "from", "==", "FRAME_POINTER_REGNUM", "&&", "to", "==", "STACK_POINTER_REGNUM", ")", ")", ";", "else", "return", "to", "==", "STACK_POINTER_REGNUM", "?", "!", "frame_pointer_needed", ":", "true", ";", "}", ""], "natrual_language": ["Given", "FROM", "and", "TO", "register", "numbers", ",", "say", "whether", "this", "elimination", "is", "allowed", ".", "If", "stack", "alignment", "is", "needed", ",", "we", "can", "only", "replace", "argument", "pointer", "with", "hard", "frame", "pointer", ",", "or", "replace", "frame", "pointer", "with", "stack", "pointer", ".", "Otherwise", ",", "frame", "pointer", "elimination", "is", "automatically", "handled", "and", "all", "other", "eliminations", "are", "valid", "."], "TS_V_token": ["i386"], "File": "i386", "Func": "ix86_can_eliminate", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4197, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_expand_unop1_builtin", "(", "enum", "insn_code", "icode", ",", "tree", "arglist", ",", "rtx", "target", ")", "{", "rtx", "pat", ";", "tree", "arg0", "=", "TREE_VALUE", "(", "arglist", ")", ";", "rtx", "op1", ",", "op0", "=", "expand_expr", "(", "arg0", ",", "NULL_RTX", ",", "VOIDmode", ",", "0", ")", ";", "enum", "machine_mode", "tmode", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "mode", ";", "enum", "machine_mode", "mode0", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "1", "]", ".", "mode", ";", "if", "(", "optimize", "||", "!", "target", "||", "GET_MODE", "(", "target", ")", "!=", "tmode", "||", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "0", "]", ".", "predicate", ")", "(", "target", ",", "tmode", ")", ")", "target", "=", "gen_reg_rtx", "(", "tmode", ")", ";", "if", "(", "VECTOR_MODE_P", "(", "mode0", ")", ")", "op0", "=", "safe_vector_operand", "(", "op0", ",", "mode0", ")", ";", "if", "(", "(", "optimize", "&&", "!", "register_operand", "(", "op0", ",", "mode0", ")", ")", "||", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "1", "]", ".", "predicate", ")", "(", "op0", ",", "mode0", ")", ")", "op0", "=", "copy_to_mode_reg", "(", "mode0", ",", "op0", ")", ";", "op1", "=", "op0", ";", "if", "(", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "2", "]", ".", "predicate", ")", "(", "op1", ",", "mode0", ")", ")", "op1", "=", "copy_to_mode_reg", "(", "mode0", ",", "op1", ")", ";", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op0", ",", "op1", ")", ";", "if", "(", "!", "pat", ")", "return", "0", ";", "emit_insn", "(", "pat", ")", ";", "return", "target", ";", "}", ""], "natrual_language": ["Subroutine", "of", "ix86_expand_builtin", "to", "take", "care", "of", "three", "special", "unop", "insns", ":", "sqrtss", ",", "rsqrtss", ",", "rcpss", "."], "TS_V_token": ["i386", "0", "0", "1", "0", "1", "2", "0"], "File": "i3863", "Func": "ix86_expand_unop1_builtin", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4198, "Length": 243, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arc_post_atomic_barrier", "(", "enum", "memmodel", "model", ")", "{", "if", "(", "need_atomic_barrier_p", "(", "model", ",", "false", ")", ")", "emit_insn", "(", "gen_memory_barrier", "(", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "(", "post", ")", "memory", "barrier", "around", "an", "atomic", "sequence", "according", "to", "MODEL", "."], "TS_V_token": ["arc"], "File": "arc", "Func": "arc_post_atomic_barrier", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4199, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getExceptionSelectorRegister", "(", "const", "Constant", "*", "PersonalityFn", ")", "const", "override", "{", "return", "SP", "::", "I1", ";", "}", ""], "natrual_language": ["If", "a", "physical", "register", ",", "this", "returns", "the", "register", "that", "receives", "the", "exception", "typeid", "on", "entry", "to", "a", "landing", "pad", "."], "TS_V_token": ["Sparc", "SP::I1"], "File": "SparcISelLowering (2)2", "Func": "getExceptionSelectorRegister", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4200, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUInstrInfo", "::", "unfoldMemoryOperand", "(", "SelectionDAG", "&", "DAG", ",", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDNode", "*", ">", "&", "NewNodes", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["unfoldMemoryOperand", "-", "Separate", "a", "single", "instruction", "which", "folded", "a", "load", "or", "a", "store", "or", "a", "load", "and", "a", "store", "into", "two", "or", "more", "instruction", "."], "TS_V_token": ["AMDGPU", "AMDGPU"], "File": "AMDGPUInstrInfo", "Func": "unfoldMemoryOperand", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4201, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "reg_class_t", "loongarch_canonicalize_move_class", "(", "reg_class_t", "rclass", ")", "{", "if", "(", "reg_class_subset_p", "(", "rclass", ",", "GENERAL_REGS", ")", ")", "rclass", "=", "GENERAL_REGS", ";", "return", "rclass", ";", "}", ""], "natrual_language": ["RCLASS", "is", "a", "class", "involved", "in", "a", "REGISTER_MOVE_COST", "calculation", ".", "Return", "a", "``", "canonical", "''", "class", "to", "represent", "it", "in", "later", "calculations", "."], "TS_V_token": ["loongarch"], "File": "loongarch", "Func": "loongarch_canonicalize_move_class", "Target": "loongarch", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4202, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TriCoreInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "printInstruction", "(", "MI", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["TriCore", "TriCore"], "File": "TriCoreInstPrinter (2)", "Func": "printInst", "Target": "TriCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4203, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "BlackfinRegisterInfo", "::", "getDwarfRegNum", "(", "unsigned", "RegNum", ",", "bool", "isEH", ")", "const", "{", "llvm_unreachable", "(", "\"What is the dwarf register number\"", ")", ";", "return", "-", "1", ";", "}", ""], "natrual_language": ["Map", "a", "target", "register", "to", "an", "equivalent", "dwarf", "register", "number", "."], "TS_V_token": ["Blackfin", "\"What is the dwarf register number\"", "1"], "File": "BlackfinRegisterInfo1", "Func": "getDwarfRegNum", "Target": "Blackfin", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4204, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "override", "{", "llvm_unreachable", "(", "\"RelaxInstruction() unimplemented\"", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "."], "TS_V_token": ["MINA32", "\"RelaxInstruction() unimplemented\""], "File": "MINA32AsmBackend", "Func": "fixupNeedsRelaxation", "Target": "MINA32", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4205, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCFrameInfo", "::", "determineFrameLayout", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "FrameSize", "=", "MFI", "->", "getStackSize", "(", ")", ";", "unsigned", "MaxAlign", "=", "MFI", "->", "getMaxAlignment", "(", ")", ";", "unsigned", "TargetAlign", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameInfo", "(", ")", "->", "getStackAlignment", "(", ")", ";", "unsigned", "AlignMask", "=", "TargetAlign", "-", "1", ";", "bool", "DisableRedZone", "=", "MF", ".", "getFunction", "(", ")", "->", "hasFnAttr", "(", "Attribute", "::", "NoRedZone", ")", ";", "if", "(", "!", "DisableRedZone", "&&", "FrameSize", "<=", "224", "&&", "!", "MFI", "->", "hasVarSizedObjects", "(", ")", "&&", "!", "MFI", "->", "adjustsStack", "(", ")", "&&", "(", "!", "ALIGN_STACK", "||", "MaxAlign", "<=", "TargetAlign", ")", ")", "{", "MFI", "->", "setStackSize", "(", "0", ")", ";", "return", ";", "}", "unsigned", "maxCallFrameSize", "=", "MFI", "->", "getMaxCallFrameSize", "(", ")", ";", "unsigned", "minCallFrameSize", "=", "getMinCallFrameSize", "(", "Subtarget", ".", "isPPC64", "(", ")", ",", "Subtarget", ".", "isDarwinABI", "(", ")", ")", ";", "maxCallFrameSize", "=", "std", "::", "max", "(", "maxCallFrameSize", ",", "minCallFrameSize", ")", ";", "if", "(", "MFI", "->", "hasVarSizedObjects", "(", ")", ")", "maxCallFrameSize", "=", "(", "maxCallFrameSize", "+", "AlignMask", ")", "&", "~", "AlignMask", ";", "MFI", "->", "setMaxCallFrameSize", "(", "maxCallFrameSize", ")", ";", "FrameSize", "+=", "maxCallFrameSize", ";", "FrameSize", "=", "(", "FrameSize", "+", "AlignMask", ")", "&", "~", "AlignMask", ";", "MFI", "->", "setStackSize", "(", "FrameSize", ")", ";", "}", ""], "natrual_language": ["Determine", "the", "frame", "layout", "but", "do", "not", "update", "the", "machine", "function", "."], "TS_V_token": ["PowerPC", "PPC", "1", "224", "0", "PPC"], "File": "PPCFrameInfo", "Func": "determineFrameLayout", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4206, "Length": 209, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "Z80RegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "getFrameLowering", "(", "MF", ")", "->", "hasFP", "(", "MF", ")", "?", "Z80", "::", "IX", ":", "Z80", "::", "SPS", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["Z80", "Z80", "Z80::IX", "Z80::SPS"], "File": "Z80RegisterInfo1", "Func": "getFrameRegister", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4207, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CSKYInstPrinter", "::", "applyTargetSpecificCLOption", "(", "StringRef", "Opt", ")", "{", "if", "(", "Opt", "==", "\"no-aliases\"", ")", "{", "NoAliases", "=", "true", ";", "return", "true", ";", "}", "if", "(", "Opt", "==", "\"numeric\"", ")", "{", "ArchRegNames", "=", "true", ";", "return", "true", ";", "}", "if", "(", "Opt", "==", "\"debug\"", ")", "{", "DebugFlag", "=", "true", ";", "return", "true", ";", "}", "if", "(", "Opt", "==", "\"abi-names\"", ")", "{", "ABIRegNames", "=", "true", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Customize", "the", "printer", "according", "to", "a", "command", "line", "option", "."], "TS_V_token": ["CSKY", "CSKY", "\"no-aliases\"", "\"numeric\"", "\"debug\"", "\"abi-names\""], "File": "CSKYInstPrinter1", "Func": "applyTargetSpecificCLOption", "Target": "CSKY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4208, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ScheduleHazardRecognizer", "::", "HazardType", "ARMHazardRecognizer", "::", "getHazardType", "(", "SUnit", "*", "SU", ",", "int", "Stalls", ")", "{", "assert", "(", "Stalls", "==", "0", "&&", "\"ARM hazards don't support scoreboard lookahead\"", ")", ";", "MachineInstr", "*", "MI", "=", "SU", "->", "getInstr", "(", ")", ";", "if", "(", "!", "MI", "->", "isDebugValue", "(", ")", ")", "{", "const", "MCInstrDesc", "&", "MCID", "=", "MI", "->", "getDesc", "(", ")", ";", "if", "(", "LastMI", "&&", "(", "MCID", ".", "TSFlags", "&", "ARMII", "::", "DomainMask", ")", "!=", "ARMII", "::", "DomainGeneral", ")", "{", "MachineInstr", "*", "DefMI", "=", "LastMI", ";", "const", "MCInstrDesc", "&", "LastMCID", "=", "LastMI", "->", "getDesc", "(", ")", ";", "const", "MachineFunction", "*", "MF", "=", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "ARMBaseInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "ARMBaseInstrInfo", "*", ">", "(", "MF", "->", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "if", "(", "!", "LastMI", "->", "isBarrier", "(", ")", "&&", "!", "(", "TII", ".", "getSubtarget", "(", ")", ".", "isLikeA9", "(", ")", "&&", "(", "LastMI", "->", "mayLoad", "(", ")", "||", "LastMI", "->", "mayStore", "(", ")", ")", ")", "&&", "(", "LastMCID", ".", "TSFlags", "&", "ARMII", "::", "DomainMask", ")", "==", "ARMII", "::", "DomainGeneral", ")", "{", "MachineBasicBlock", "::", "iterator", "I", "=", "LastMI", ";", "if", "(", "I", "!=", "LastMI", "->", "getParent", "(", ")", "->", "begin", "(", ")", ")", "{", "I", "=", "std", "::", "prev", "(", "I", ")", ";", "DefMI", "=", "&", "*", "I", ";", "}", "}", "if", "(", "TII", ".", "isFpMLxInstruction", "(", "DefMI", "->", "getOpcode", "(", ")", ")", "&&", "(", "TII", ".", "canCauseFpMLxStall", "(", "MI", "->", "getOpcode", "(", ")", ")", "||", "hasRAWHazard", "(", "DefMI", ",", "MI", ",", "TII", ".", "getRegisterInfo", "(", ")", ")", ")", ")", "{", "if", "(", "FpMLxStalls", "==", "0", ")", "FpMLxStalls", "=", "4", ";", "return", "Hazard", ";", "}", "}", "}", "return", "ScoreboardHazardRecognizer", "::", "getHazardType", "(", "SU", ",", "Stalls", ")", ";", "}", ""], "natrual_language": ["getHazardType", "-", "Return", "the", "hazard", "type", "of", "emitting", "this", "node", "."], "TS_V_token": ["ARM", "ARM", "0", "\"ARM hazards don't support scoreboard lookahead\"", "ARMII::DomainMask", "ARMII::DomainGeneral", "ARM", "ARM", "ARMII::DomainMask", "ARMII::DomainGeneral", "0", "4"], "File": "ARMHazardRecognizer22", "Func": "getHazardType", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4209, "Length": 287, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "PPCRegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";", "if", "(", "CC", "==", "CallingConv", "::", "AnyReg", ")", "{", "if", "(", "Subtarget", ".", "hasVSX", "(", ")", ")", "return", "CSR_64_AllRegs_VSX_RegMask", ";", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "return", "CSR_64_AllRegs_Altivec_RegMask", ";", "return", "CSR_64_AllRegs_RegMask", ";", "}", "if", "(", "Subtarget", ".", "isDarwinABI", "(", ")", ")", "return", "TM", ".", "isPPC64", "(", ")", "?", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_Darwin64_Altivec_RegMask", ":", "CSR_Darwin64_RegMask", ")", ":", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_Darwin32_Altivec_RegMask", ":", "CSR_Darwin32_RegMask", ")", ";", "return", "TM", ".", "isPPC64", "(", ")", "?", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_SVR464_Altivec_RegMask", ":", "CSR_SVR464_RegMask", ")", ":", "(", "Subtarget", ".", "hasAltivec", "(", ")", "?", "CSR_SVR432_Altivec_RegMask", ":", "CSR_SVR432_RegMask", ")", ";", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC"], "File": "PPCRegisterInfo (2)1", "Func": "getCallPreservedMask", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4210, "Length": 139, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "mips_expand_vselect_vconcat", "(", "rtx", "target", ",", "rtx", "op0", ",", "rtx", "op1", ",", "const", "unsigned", "char", "*", "perm", ",", "unsigned", "nelt", ")", "{", "machine_mode", "v2mode", ";", "rtx", "x", ";", "if", "(", "!", "GET_MODE_2XWIDER_MODE", "(", "GET_MODE", "(", "op0", ")", ")", ".", "exists", "(", "&", "v2mode", ")", ")", "return", "false", ";", "x", "=", "gen_rtx_VEC_CONCAT", "(", "v2mode", ",", "op0", ",", "op1", ")", ";", "return", "mips_expand_vselect", "(", "target", ",", "x", ",", "perm", ",", "nelt", ")", ";", "}", ""], "natrual_language": ["Similar", ",", "but", "generate", "a", "vec_concat", "from", "op0", "and", "op1", "as", "well", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_expand_vselect_vconcat", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4211, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "MandarinTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "getTargetMachine", "(", ")", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "dl", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MDCC", "::", "CondCodes", "CC", "=", "(", "MDCC", "::", "CondCodes", ")", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ";", "const", "BasicBlock", "*", "LLVM_BB", "=", "BB", "->", "getBasicBlock", "(", ")", ";", "MachineFunction", "::", "iterator", "It", "=", "BB", ";", "++", "It", ";", "MachineBasicBlock", "*", "thisMBB", "=", "BB", ";", "MachineFunction", "*", "F", "=", "BB", "->", "getParent", "(", ")", ";", "MachineBasicBlock", "*", "copy0MBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineBasicBlock", "*", "sinkMBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "F", "->", "insert", "(", "It", ",", "copy0MBB", ")", ";", "F", "->", "insert", "(", "It", ",", "sinkMBB", ")", ";", "sinkMBB", "->", "splice", "(", "sinkMBB", "->", "begin", "(", ")", ",", "BB", ",", "llvm", "::", "next", "(", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", ",", "BB", "->", "end", "(", ")", ")", ";", "sinkMBB", "->", "transferSuccessorsAndUpdatePHIs", "(", "BB", ")", ";", "BB", "->", "addSuccessor", "(", "copy0MBB", ")", ";", "BB", "->", "addSuccessor", "(", "sinkMBB", ")", ";", "BuildMI", "(", "BB", ",", "dl", ",", "TII", ".", "get", "(", "MD", "::", "JCCi", ")", ")", ".", "addMBB", "(", "sinkMBB", ")", ".", "addImm", "(", "CC", ")", ";", "BB", "=", "copy0MBB", ";", "BB", "->", "addSuccessor", "(", "sinkMBB", ")", ";", "BB", "=", "sinkMBB", ";", "BuildMI", "(", "*", "BB", ",", "BB", "->", "begin", "(", ")", ",", "dl", ",", "TII", ".", "get", "(", "MD", "::", "PHI", ")", ",", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "copy0MBB", ")", ".", "addReg", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "thisMBB", ")", ";", "MI", "->", "eraseFromParent", "(", ")", ";", "return", "BB", ";", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "."], "TS_V_token": ["Mandarin", "MDCC::CondCodes", "MDCC::CondCodes", "3", "MD::JCCi", "MD::PHI", "0", "2", "1"], "File": "MandarinISelLowering", "Func": "EmitInstrWithCustomInserter", "Target": "Mandarin", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4212, "Length": 312, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonTargetObjectFile", "::", "isGlobalInSmallSection", "(", "const", "GlobalObject", "*", "GO", ",", "const", "TargetMachine", "&", "TM", ")", "const", "{", "bool", "HaveSData", "=", "isSmallDataEnabled", "(", "TM", ")", ";", "if", "(", "!", "HaveSData", ")", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Small-data allocation is disabled, but symbols \"", "\"may have explicit section assignments...\\n\"", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Checking if value is in small-data, -G\"", "<<", "SmallDataThreshold", "<<", "\": \\\"\"", "<<", "GO", "->", "getName", "(", ")", "<<", "\"\\\": \"", ")", ";", "const", "GlobalVariable", "*", "GVar", "=", "dyn_cast", "<", "GlobalVariable", ">", "(", "GO", ")", ";", "if", "(", "!", "GVar", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"no, not a global variable\\n\"", ")", ";", "return", "false", ";", "}", "if", "(", "GVar", "->", "hasSection", "(", ")", ")", "{", "bool", "IsSmall", "=", "isSmallDataSection", "(", "GVar", "->", "getSection", "(", ")", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "(", "IsSmall", "?", "\"yes\"", ":", "\"no\"", ")", "<<", "\", has section: \"", "<<", "GVar", "->", "getSection", "(", ")", "<<", "'\\n'", ")", ";", "return", "IsSmall", ";", "}", "if", "(", "!", "HaveSData", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"no, small-data allocation is disabled\\n\"", ")", ";", "return", "false", ";", "}", "if", "(", "GVar", "->", "isConstant", "(", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"no, is a constant\\n\"", ")", ";", "return", "false", ";", "}", "bool", "IsLocal", "=", "GVar", "->", "hasLocalLinkage", "(", ")", ";", "if", "(", "!", "StaticsInSData", "&&", "IsLocal", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"no, is static\\n\"", ")", ";", "return", "false", ";", "}", "Type", "*", "GType", "=", "GVar", "->", "getType", "(", ")", ";", "if", "(", "PointerType", "*", "PT", "=", "dyn_cast", "<", "PointerType", ">", "(", "GType", ")", ")", "GType", "=", "PT", "->", "getElementType", "(", ")", ";", "if", "(", "isa", "<", "ArrayType", ">", "(", "GType", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"no, is an array\\n\"", ")", ";", "return", "false", ";", "}", "if", "(", "StructType", "*", "ST", "=", "dyn_cast", "<", "StructType", ">", "(", "GType", ")", ")", "{", "if", "(", "ST", "->", "isOpaque", "(", ")", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"no, has opaque type\\n\"", ")", ";", "return", "false", ";", "}", "}", "unsigned", "Size", "=", "GVar", "->", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ".", "getTypeAllocSize", "(", "GType", ")", ";", "if", "(", "Size", "==", "0", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"no, has size 0\\n\"", ")", ";", "return", "false", ";", "}", "if", "(", "Size", ">", "SmallDataThreshold", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"no, size exceeds sdata threshold: \"", "<<", "Size", "<<", "'\\n'", ")", ";", "return", "false", ";", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"yes\\n\"", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "global", "address", "should", "be", "placed", "into", "small", "data/bss", "section", "."], "TS_V_token": ["Hexagon", "Hexagon", "\"Small-data allocation is disabled, but symbols \"", "\"may have explicit section assignments...\\n\"", "\"Checking if value is in small-data, -G\"", "\": \\\"\"", "\"\\\": \"", "\"no, not a global variable\\n\"", "\"yes\"", "\"no\"", "\", has section: \"", "\"no, small-data allocation is disabled\\n\"", "\"no, is a constant\\n\"", "\"no, is static\\n\"", "\"no, is an array\\n\"", "\"no, has opaque type\\n\"", "0", "\"no, has size 0\\n\"", "\"no, size exceeds sdata threshold: \"", "\"yes\\n\""], "File": "HexagonTargetObjectFile14", "Func": "isGlobalInSmallSection", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4213, "Length": 383, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "SparcMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "SparcMachineFunctionInfo", ">", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "const", "SparcInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "SparcInstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "assert", "(", "(", "MBBI", "->", "getOpcode", "(", ")", "==", "SP", "::", "RETL", "||", "MBBI", "->", "getOpcode", "(", ")", "==", "SP", "::", "TAIL_CALL", "||", "MBBI", "->", "getOpcode", "(", ")", "==", "SP", "::", "TAIL_CALLri", ")", "&&", "\"Can only put epilog before 'retl' or 'tail_call' instruction!\"", ")", ";", "if", "(", "!", "FuncInfo", "->", "isLeafProc", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "SP", "::", "RESTORErr", ")", ",", "SP", "::", "G0", ")", ".", "addReg", "(", "SP", "::", "G0", ")", ".", "addReg", "(", "SP", "::", "G0", ")", ";", "return", ";", "}", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "int", "NumBytes", "=", "(", "int", ")", "MFI", ".", "getStackSize", "(", ")", ";", "if", "(", "NumBytes", "!=", "0", ")", "emitSPAdjustment", "(", "MF", ",", "MBB", ",", "MBBI", ",", "NumBytes", ",", "SP", "::", "ADDrr", ",", "SP", "::", "ADDri", ")", ";", "if", "(", "MBBI", "->", "getOpcode", "(", ")", "==", "SP", "::", "TAIL_CALL", ")", "{", "MBB", ".", "addLiveIn", "(", "SP", "::", "O7", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "SP", "::", "ORrr", ")", ",", "SP", "::", "G1", ")", ".", "addReg", "(", "SP", "::", "G0", ")", ".", "addReg", "(", "SP", "::", "O7", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "SP", "::", "ORrr", ")", ",", "SP", "::", "O7", ")", ".", "addReg", "(", "SP", "::", "G0", ")", ".", "addReg", "(", "SP", "::", "G1", ")", ";", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "SP::RETL", "SP::TAIL_CALL", "SP::TAIL_CALLri", "\"Can only put epilog before 'retl' or 'tail_call' instruction!\"", "SP::RESTORErr", "SP::G0", "SP::G0", "SP::G0", "0", "SP", "SP::ADDrr", "SP::ADDri", "SP::TAIL_CALL", "SP::O7", "SP::ORrr", "SP::G1", "SP::G0", "SP::O7", "SP::ORrr", "SP::O7", "SP::G0", "SP::G1"], "File": "SparcFrameLowering23", "Func": "emitEpilogue", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4214, "Length": 301, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ConvergingVLIWScheduler", "::", "initialize", "(", "ScheduleDAGMI", "*", "dag", ")", "{", "DAG", "=", "static_cast", "<", "VLIWMachineScheduler", "*", ">", "(", "dag", ")", ";", "SchedModel", "=", "DAG", "->", "getSchedModel", "(", ")", ";", "TRI", "=", "DAG", "->", "TRI", ";", "Top", ".", "init", "(", "DAG", ",", "SchedModel", ")", ";", "Bot", ".", "init", "(", "DAG", ",", "SchedModel", ")", ";", "const", "InstrItineraryData", "*", "Itin", "=", "DAG", "->", "getSchedModel", "(", ")", "->", "getInstrItineraries", "(", ")", ";", "const", "TargetMachine", "&", "TM", "=", "DAG", "->", "MF", ".", "getTarget", "(", ")", ";", "Top", ".", "HazardRec", "=", "TM", ".", "getInstrInfo", "(", ")", "->", "CreateTargetMIHazardRecognizer", "(", "Itin", ",", "DAG", ")", ";", "Bot", ".", "HazardRec", "=", "TM", ".", "getInstrInfo", "(", ")", "->", "CreateTargetMIHazardRecognizer", "(", "Itin", ",", "DAG", ")", ";", "Top", ".", "ResourceModel", "=", "new", "VLIWResourceModel", "(", "TM", ",", "DAG", "->", "getSchedModel", "(", ")", ")", ";", "Bot", ".", "ResourceModel", "=", "new", "VLIWResourceModel", "(", "TM", ",", "DAG", "->", "getSchedModel", "(", ")", ")", ";", "assert", "(", "(", "!", "llvm", "::", "ForceTopDown", "||", "!", "llvm", "::", "ForceBottomUp", ")", "&&", "\"-misched-topdown incompatible with -misched-bottomup\"", ")", ";", "}", ""], "natrual_language": ["Initialize", "the", "strategy", "after", "building", "the", "DAG", "for", "a", "new", "region", "."], "TS_V_token": ["Hexagon", "\"-misched-topdown incompatible with -misched-bottomup\""], "File": "HexagonMachineScheduler22", "Func": "initialize", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4215, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arc_hard_regno_mode_ok", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "return", "(", "arc_hard_regno_modes", "[", "regno", "]", "&", "arc_mode_class", "[", "mode", "]", ")", "!=", "0", ";", "}", ""], "natrual_language": ["Implement", "TARGET_HARD_REGNO_MODE_OK", "."], "TS_V_token": ["arc", "0"], "File": "arc", "Func": "arc_hard_regno_mode_ok", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4216, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "xtensa_emit_move_sequence", "(", "rtx", "*", "operands", ",", "machine_mode", "mode", ")", "{", "rtx", "src", "=", "operands", "[", "1", "]", ";", "if", "(", "CONSTANT_P", "(", "src", ")", "&&", "(", "GET_CODE", "(", "src", ")", "!=", "CONST_INT", "||", "!", "xtensa_simm12b", "(", "INTVAL", "(", "src", ")", ")", ")", ")", "{", "rtx", "dst", "=", "operands", "[", "0", "]", ";", "if", "(", "xtensa_tls_referenced_p", "(", "src", ")", ")", "{", "rtx", "addend", "=", "NULL", ";", "if", "(", "GET_CODE", "(", "src", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "src", ",", "0", ")", ")", "==", "PLUS", ")", "{", "addend", "=", "XEXP", "(", "XEXP", "(", "src", ",", "0", ")", ",", "1", ")", ";", "src", "=", "XEXP", "(", "XEXP", "(", "src", ",", "0", ")", ",", "0", ")", ";", "}", "src", "=", "xtensa_legitimize_tls_address", "(", "src", ")", ";", "if", "(", "addend", ")", "{", "src", "=", "gen_rtx_PLUS", "(", "mode", ",", "src", ",", "addend", ")", ";", "src", "=", "force_operand", "(", "src", ",", "dst", ")", ";", "}", "emit_move_insn", "(", "dst", ",", "src", ")", ";", "return", "1", ";", "}", "if", "(", "!", "TARGET_AUTO_LITPOOLS", "&&", "!", "TARGET_CONST16", "&&", "!", "(", "CONST_INT_P", "(", "src", ")", "&&", "can_create_pseudo_p", "(", ")", ")", ")", "{", "src", "=", "force_const_mem", "(", "SImode", ",", "src", ")", ";", "operands", "[", "1", "]", "=", "src", ";", "}", "if", "(", "mode", "!=", "SImode", ")", "{", "if", "(", "register_operand", "(", "dst", ",", "mode", ")", ")", "{", "emit_move_insn", "(", "simplify_gen_subreg", "(", "SImode", ",", "dst", ",", "mode", ",", "0", ")", ",", "src", ")", ";", "return", "1", ";", "}", "else", "{", "src", "=", "force_reg", "(", "SImode", ",", "src", ")", ";", "src", "=", "gen_lowpart_SUBREG", "(", "mode", ",", "src", ")", ";", "operands", "[", "1", "]", "=", "src", ";", "}", "}", "}", "if", "(", "can_create_pseudo_p", "(", ")", "&&", "!", "xtensa_valid_move", "(", "mode", ",", "operands", ")", ")", "operands", "[", "1", "]", "=", "force_reg", "(", "mode", ",", "operands", "[", "1", "]", ")", ";", "operands", "[", "1", "]", "=", "xtensa_copy_incoming_a7", "(", "operands", "[", "1", "]", ")", ";", "if", "(", "reload_in_progress", ")", "{", "operands", "[", "0", "]", "=", "fixup_subreg_mem", "(", "operands", "[", "0", "]", ")", ";", "operands", "[", "1", "]", "=", "fixup_subreg_mem", "(", "operands", "[", "1", "]", ")", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Emit", "insns", "to", "move", "operands", "[", "1", "]", "into", "operands", "[", "0", "]", ".", "Return", "1", "if", "we", "have", "written", "out", "everything", "that", "needs", "to", "be", "done", "to", "do", "the", "move", ".", "Otherwise", ",", "return", "0", "and", "the", "caller", "will", "emit", "the", "move", "normally", "."], "TS_V_token": ["xtensa", "1", "0", "0", "0", "1", "0", "0", "1", "1", "0", "1", "1", "1", "1", "1", "1", "0", "0", "1", "1", "0"], "File": "xtensa1", "Func": "xtensa_emit_move_sequence", "Target": "xtensa", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4217, "Length": 344, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_emit_leave", "(", "void", ")", "{", "struct", "machine_function", "*", "m", "=", "cfun", "->", "machine", ";", "rtx_insn", "*", "insn", "=", "emit_insn", "(", "ix86_gen_leave", "(", ")", ")", ";", "ix86_add_queued_cfa_restore_notes", "(", "insn", ")", ";", "gcc_assert", "(", "m", "->", "fs", ".", "fp_valid", ")", ";", "m", "->", "fs", ".", "sp_valid", "=", "true", ";", "m", "->", "fs", ".", "sp_offset", "=", "m", "->", "fs", ".", "fp_offset", "-", "UNITS_PER_WORD", ";", "m", "->", "fs", ".", "fp_valid", "=", "false", ";", "if", "(", "m", "->", "fs", ".", "cfa_reg", "==", "hard_frame_pointer_rtx", ")", "{", "m", "->", "fs", ".", "cfa_reg", "=", "stack_pointer_rtx", ";", "m", "->", "fs", ".", "cfa_offset", "=", "m", "->", "fs", ".", "sp_offset", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_DEF_CFA", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "m", "->", "fs", ".", "sp_offset", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "ix86_add_cfa_restore_note", "(", "insn", ",", "hard_frame_pointer_rtx", ",", "m", "->", "fs", ".", "fp_offset", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "and", "notes", "for", "the", "LEAVE", "instruction", "."], "TS_V_token": ["i386", "1"], "File": "i3865", "Func": "ix86_emit_leave", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4218, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCELFStreamer", "&", "RISCVTargetELFStreamer", "::", "getStreamer", "(", ")", "{", "return", "static_cast", "<", "MCELFStreamer", "&", ">", "(", "Streamer", ")", ";", "}", ""], "natrual_language": ["Return", "the", "output", "streamer", "for", "the", "assembler", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVELFStreamer (2)", "Func": "getStreamer", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4219, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseTargetMachine", "::", "addPreEmitPass", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "if", "(", "Subtarget", ".", "isThumb2", "(", ")", "&&", "!", "Subtarget", ".", "prefers32BitThumb", "(", ")", ")", "PM", ".", "add", "(", "createThumb2SizeReductionPass", "(", ")", ")", ";", "PM", ".", "add", "(", "createARMConstantIslandPass", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMTargetMachine23", "Func": "addPreEmitPass", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4220, "Length": 52, "Cover_Rate": 1.0, "Template_token": []}
{"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": 4221, "Length": 265, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "xstormy16_modes_tieable_p", "(", "machine_mode", "mode1", ",", "machine_mode", "mode2", ")", "{", "return", "mode1", "!=", "BImode", "&&", "mode2", "!=", "BImode", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MODES_TIEABLE_P", "."], "TS_V_token": ["stormy16"], "File": "stormy16", "Func": "xstormy16_modes_tieable_p", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4222, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "rs6000_get_function_versions_dispatcher", "(", "void", "*", "decl", ")", "{", "tree", "fn", "=", "(", "tree", ")", "decl", ";", "struct", "cgraph_node", "*", "node", "=", "NULL", ";", "struct", "cgraph_node", "*", "default_node", "=", "NULL", ";", "struct", "cgraph_function_version_info", "*", "node_v", "=", "NULL", ";", "struct", "cgraph_function_version_info", "*", "first_v", "=", "NULL", ";", "tree", "dispatch_decl", "=", "NULL", ";", "struct", "cgraph_function_version_info", "*", "default_version_info", "=", "NULL", ";", "gcc_assert", "(", "fn", "!=", "NULL", "&&", "DECL_FUNCTION_VERSIONED", "(", "fn", ")", ")", ";", "if", "(", "TARGET_DEBUG_TARGET", ")", "fprintf", "(", "stderr", ",", "\"rs6000_get_function_versions_dispatcher (%s)\\n\"", ",", "get_decl_name", "(", "fn", ")", ")", ";", "node", "=", "cgraph_node", "::", "get", "(", "fn", ")", ";", "gcc_assert", "(", "node", "!=", "NULL", ")", ";", "node_v", "=", "node", "->", "function_version", "(", ")", ";", "gcc_assert", "(", "node_v", "!=", "NULL", ")", ";", "if", "(", "node_v", "->", "dispatcher_resolver", "!=", "NULL", ")", "return", "node_v", "->", "dispatcher_resolver", ";", "first_v", "=", "node_v", ";", "while", "(", "first_v", "->", "prev", "!=", "NULL", ")", "first_v", "=", "first_v", "->", "prev", ";", "default_version_info", "=", "first_v", ";", "while", "(", "default_version_info", "!=", "NULL", ")", "{", "const", "tree", "decl2", "=", "default_version_info", "->", "this_node", "->", "decl", ";", "if", "(", "is_function_default_version", "(", "decl2", ")", ")", "break", ";", "default_version_info", "=", "default_version_info", "->", "next", ";", "}", "if", "(", "default_version_info", "==", "NULL", ")", "return", "NULL", ";", "if", "(", "first_v", "!=", "default_version_info", ")", "{", "default_version_info", "->", "prev", "->", "next", "=", "default_version_info", "->", "next", ";", "if", "(", "default_version_info", "->", "next", ")", "default_version_info", "->", "next", "->", "prev", "=", "default_version_info", "->", "prev", ";", "first_v", "->", "prev", "=", "default_version_info", ";", "default_version_info", "->", "next", "=", "first_v", ";", "default_version_info", "->", "prev", "=", "NULL", ";", "}", "default_node", "=", "default_version_info", "->", "this_node", ";", "error_at", "(", "DECL_SOURCE_LOCATION", "(", "default_node", "->", "decl", ")", ",", "\"target_clones attribute needs GLIBC (2.23 and newer) that \"", "\"exports hardware capability bits\"", ")", ";", "if", "(", "targetm", ".", "has_ifunc_p", "(", ")", ")", "{", "struct", "cgraph_function_version_info", "*", "it_v", "=", "NULL", ";", "struct", "cgraph_node", "*", "dispatcher_node", "=", "NULL", ";", "struct", "cgraph_function_version_info", "*", "dispatcher_version_info", "=", "NULL", ";", "dispatch_decl", "=", "make_dispatcher_decl", "(", "default_node", "->", "decl", ")", ";", "dispatcher_node", "=", "cgraph_node", "::", "get_create", "(", "dispatch_decl", ")", ";", "gcc_assert", "(", "dispatcher_node", "!=", "NULL", ")", ";", "dispatcher_node", "->", "dispatcher_function", "=", "1", ";", "dispatcher_version_info", "=", "dispatcher_node", "->", "insert_new_function_version", "(", ")", ";", "dispatcher_version_info", "->", "next", "=", "default_version_info", ";", "dispatcher_node", "->", "definition", "=", "1", ";", "it_v", "=", "default_version_info", ";", "while", "(", "it_v", "!=", "NULL", ")", "{", "it_v", "->", "dispatcher_resolver", "=", "dispatch_decl", ";", "it_v", "=", "it_v", "->", "next", ";", "}", "}", "else", "{", "error_at", "(", "DECL_SOURCE_LOCATION", "(", "default_node", "->", "decl", ")", ",", "\"multiversioning needs ifunc which is not supported \"", "\"on this target\"", ")", ";", "}", "return", "dispatch_decl", ";", "}", ""], "natrual_language": ["Make", "a", "dispatcher", "declaration", "for", "the", "multi-versioned", "function", "DECL", ".", "Calls", "to", "DECL", "function", "will", "be", "replaced", "with", "calls", "to", "the", "dispatcher", "by", "the", "front-end", ".", "Returns", "the", "decl", "of", "the", "dispatcher", "function", "."], "TS_V_token": ["rs6000", "\"rs6000_get_function_versions_dispatcher (%s)\\n\"", "\"target_clones attribute needs GLIBC (2.23 and newer) that \"", "\"exports hardware capability bits\"", "1", "1", "\"multiversioning needs ifunc which is not supported \"", "\"on this target\""], "File": "rs60007", "Func": "rs6000_get_function_versions_dispatcher", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4223, "Length": 390, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonTargetLowering", "::", "IsEligibleForTailCallOptimization", "(", "SDValue", "Callee", ",", "CallingConv", "::", "ID", "CalleeCC", ",", "bool", "isVarArg", ",", "bool", "isCalleeStructRet", ",", "bool", "isCallerStructRet", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<", "SDValue", ">", "&", "OutVals", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "const", "Function", "&", "CallerF", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getFunction", "(", ")", ";", "CallingConv", "::", "ID", "CallerCC", "=", "CallerF", ".", "getCallingConv", "(", ")", ";", "bool", "CCMatch", "=", "CallerCC", "==", "CalleeCC", ";", "if", "(", "!", "isa", "<", "GlobalAddressSDNode", ">", "(", "Callee", ")", "&&", "!", "isa", "<", "ExternalSymbolSDNode", ">", "(", "Callee", ")", ")", "{", "return", "false", ";", "}", "if", "(", "!", "CCMatch", ")", "{", "bool", "R", "=", "(", "CallerCC", "==", "CallingConv", "::", "C", "||", "CallerCC", "==", "CallingConv", "::", "Fast", ")", ";", "bool", "E", "=", "(", "CalleeCC", "==", "CallingConv", "::", "C", "||", "CalleeCC", "==", "CallingConv", "::", "Fast", ")", ";", "if", "(", "!", "R", "||", "!", "E", ")", "return", "false", ";", "}", "if", "(", "isVarArg", ")", "return", "false", ";", "if", "(", "isCalleeStructRet", "||", "isCallerStructRet", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["IsEligibleForTailCallOptimization", "-", "Check", "whether", "the", "call", "is", "eligible", "for", "tail", "call", "optimization", "."], "TS_V_token": ["Hexagon", "Hexagon", "ISD::OutputArg", "ISD::InputArg"], "File": "HexagonISelLowering (2)1", "Func": "IsEligibleForTailCallOptimization", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4224, "Length": 186, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCSymbol", "*", "X86TargetLowering", "::", "getPICBaseSymbol", "(", "const", "MachineFunction", "*", "MF", ",", "MCContext", "&", "Ctx", ")", "const", "{", "const", "MCAsmInfo", "&", "MAI", "=", "*", "getTargetMachine", "(", ")", ".", "getMCAsmInfo", "(", ")", ";", "return", "Ctx", ".", "GetOrCreateSymbol", "(", "Twine", "(", "MAI", ".", "getPrivateGlobalPrefix", "(", ")", ")", "+", "Twine", "(", "MF", "->", "getFunctionNumber", "(", ")", ")", "+", "\"$pb\"", ")", ";", "}", ""], "natrual_language": ["getPICBaseSymbol", "-", "Return", "a", "function-local", "symbol", "to", "represent", "the", "PIC", "base", "."], "TS_V_token": ["X86", "X86", "\"$pb\""], "File": "X86ISelLowering144", "Func": "getPICBaseSymbol", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4225, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MMIXMCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "uint32_t", "Bits", "=", "getBinaryCodeForInstr", "(", "MI", ",", "Fixups", ",", "STI", ")", ";", "support", "::", "endian", "::", "write", "(", "OS", ",", "Bits", ",", "support", "::", "big", ")", ";", "++", "MCNumEmitted", ";", "}", ""], "natrual_language": ["Encode", "the", "given", "Inst", "to", "bytes", "and", "append", "to", "CB", "."], "TS_V_token": ["MMIX", "MMIX", "support::endian", "support::big"], "File": "MMIXMCCodeEmitter", "Func": "encodeInstruction", "Target": "MMIX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4226, "Length": 59, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "struct", "machine_function", "*", "rs6000_init_machine_status", "(", "void", ")", "{", "stack_info", ".", "reload_completed", "=", "0", ";", "return", "ggc_cleared_alloc", "<", "machine_function", ">", "(", ")", ";", "}", ""], "natrual_language": ["Functions", "to", "init", ",", "mark", "and", "free", "struct", "machine_function", ".", "These", "will", "be", "called", ",", "via", "pointer", "variables", ",", "from", "push_function_context", "and", "pop_function_context", "."], "TS_V_token": ["rs6000", "0"], "File": "rs60004", "Func": "rs6000_init_machine_status", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4227, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SIInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "DestReg", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "SIMachineFunctionInfo", "*", "MFI", "=", "MF", "->", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "MachineFrameInfo", "&", "FrameInfo", "=", "MF", "->", "getFrameInfo", "(", ")", ";", "const", "DebugLoc", "&", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "unsigned", "Align", "=", "FrameInfo", ".", "getObjectAlignment", "(", "FrameIndex", ")", ";", "unsigned", "Size", "=", "FrameInfo", ".", "getObjectSize", "(", "FrameIndex", ")", ";", "unsigned", "SpillSize", "=", "TRI", "->", "getSpillSize", "(", "*", "RC", ")", ";", "MachinePointerInfo", "PtrInfo", "=", "MachinePointerInfo", "::", "getFixedStack", "(", "*", "MF", ",", "FrameIndex", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", "->", "getMachineMemOperand", "(", "PtrInfo", ",", "MachineMemOperand", "::", "MOLoad", ",", "Size", ",", "Align", ")", ";", "if", "(", "RI", ".", "isSGPRClass", "(", "RC", ")", ")", "{", "MFI", "->", "setHasSpilledSGPRs", "(", ")", ";", "const", "MCInstrDesc", "&", "OpDesc", "=", "get", "(", "getSGPRSpillRestoreOpcode", "(", "SpillSize", ")", ")", ";", "if", "(", "Register", "::", "isVirtualRegister", "(", "DestReg", ")", "&&", "SpillSize", "==", "4", ")", "{", "MachineRegisterInfo", "&", "MRI", "=", "MF", "->", "getRegInfo", "(", ")", ";", "MRI", ".", "constrainRegClass", "(", "DestReg", ",", "&", "AMDGPU", "::", "SReg_32_XM0RegClass", ")", ";", "}", "if", "(", "RI", ".", "spillSGPRToVGPR", "(", ")", ")", "FrameInfo", ".", "setStackID", "(", "FrameIndex", ",", "TargetStackID", "::", "SGPRSpill", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "OpDesc", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addMemOperand", "(", "MMO", ")", ".", "addReg", "(", "MFI", "->", "getScratchRSrcReg", "(", ")", ",", "RegState", "::", "Implicit", ")", ".", "addReg", "(", "MFI", "->", "getStackPtrOffsetReg", "(", ")", ",", "RegState", "::", "Implicit", ")", ";", "return", ";", "}", "unsigned", "Opcode", "=", "RI", ".", "hasAGPRs", "(", "RC", ")", "?", "getAGPRSpillRestoreOpcode", "(", "SpillSize", ")", ":", "getVGPRSpillRestoreOpcode", "(", "SpillSize", ")", ";", "auto", "MIB", "=", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opcode", ")", ",", "DestReg", ")", ";", "if", "(", "RI", ".", "hasAGPRs", "(", "RC", ")", ")", "{", "MachineRegisterInfo", "&", "MRI", "=", "MF", "->", "getRegInfo", "(", ")", ";", "Register", "Tmp", "=", "MRI", ".", "createVirtualRegister", "(", "&", "AMDGPU", "::", "VGPR_32RegClass", ")", ";", "MIB", ".", "addReg", "(", "Tmp", ",", "RegState", "::", "Define", ")", ";", "}", "MIB", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addReg", "(", "MFI", "->", "getScratchRSrcReg", "(", ")", ")", ".", "addReg", "(", "MFI", "->", "getStackPtrOffsetReg", "(", ")", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI", "4", "AMDGPU::SReg_32_XM0RegClass", "AMDGPU::VGPR_32RegClass", "0"], "File": "SIInstrInfo34", "Func": "loadRegFromStackSlot", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4228, "Length": 397, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "Mips64Disassembler", "::", "getInstruction", "(", "MCInst", "&", "Instr", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "VStream", ",", "raw_ostream", "&", "CStream", ")", "const", "{", "uint64_t", "Insn", ";", "DecodeStatus", "Result", "=", "readInstruction32", "(", "Bytes", ",", "Address", ",", "Size", ",", "Insn", ",", "IsBigEndian", ",", "false", ")", ";", "if", "(", "Result", "==", "MCDisassembler", "::", "Fail", ")", "return", "MCDisassembler", "::", "Fail", ";", "Result", "=", "decodeInstruction", "(", "DecoderTableMips32", ",", "Instr", ",", "Insn", ",", "Address", ",", "this", ",", "STI", ")", ";", "if", "(", "Result", "!=", "MCDisassembler", "::", "Fail", ")", "{", "Size", "=", "4", ";", "return", "Result", ";", "}", "return", "MCDisassembler", "::", "Fail", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["Mips", "Mips", "Mips", "4"], "File": "MipsDisassembler35", "Func": "getInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4229, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIInstrInfo", "::", "isLegalVSrcOperand", "(", "const", "MachineRegisterInfo", "&", "MRI", ",", "const", "MCOperandInfo", "&", "OpInfo", ",", "const", "MachineOperand", "&", "MO", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "return", "isLegalRegOperand", "(", "MRI", ",", "OpInfo", ",", "MO", ")", ";", "assert", "(", "MO", ".", "isImm", "(", ")", "||", "MO", ".", "isTargetIndex", "(", ")", "||", "MO", ".", "isFI", "(", ")", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Check", "if", "MO", "would", "be", "a", "valid", "operand", "for", "the", "given", "operand", "definition", "OpInfo", "."], "TS_V_token": ["AMDGPU", "SI"], "File": "SIInstrInfo (2)", "Func": "isLegalVSrcOperand", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4230, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "RegisterBankInfo", "::", "InstructionMapping", "ARMRegisterBankInfo", "::", "getInstrMapping", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "auto", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "!", "isPreISelGenericOpcode", "(", "Opc", ")", ")", "{", "InstructionMapping", "Mapping", "=", "getInstrMappingImpl", "(", "MI", ")", ";", "if", "(", "Mapping", ".", "isValid", "(", ")", ")", "return", "Mapping", ";", "}", "using", "namespace", "TargetOpcode", ";", "unsigned", "NumOperands", "=", "MI", ".", "getNumOperands", "(", ")", ";", "const", "ValueMapping", "*", "OperandsMapping", "=", "&", "ARM", "::", "ValueMappings", "[", "0", "]", ";", "switch", "(", "Opc", ")", "{", "case", "G_ADD", ":", "case", "G_LOAD", ":", "case", "G_SEXT", ":", "case", "G_ZEXT", ":", "OperandsMapping", "=", "&", "ARM", "::", "ValueMappings", "[", "0", "]", ";", "break", ";", "case", "G_FRAME_INDEX", ":", "OperandsMapping", "=", "getOperandsMapping", "(", "{", "&", "ARM", "::", "ValueMappings", "[", "0", "]", ",", "nullptr", "}", ")", ";", "break", ";", "default", ":", "return", "InstructionMapping", "{", "}", ";", "}", "return", "InstructionMapping", "{", "DefaultMappingID", ",", "1", ",", "OperandsMapping", ",", "NumOperands", "}", ";", "}", ""], "natrual_language": ["Get", "the", "mapping", "of", "the", "different", "operands", "of", "MI", "on", "the", "register", "bank", "."], "TS_V_token": ["ARM", "ARM", "ARM::ValueMappings", "0", "ARM::ValueMappings", "0", "ARM::ValueMappings", "0", "1"], "File": "ARMRegisterBankInfo11", "Func": "getInstrMapping", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4231, "Length": 150, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "arm_output_iwmmxt_shift_immediate", "(", "const", "char", "*", "insn_name", ",", "rtx", "*", "operands", ",", "bool", "wror_or_wsra", ")", "{", "int", "shift", "=", "INTVAL", "(", "operands", "[", "2", "]", ")", ";", "char", "templ", "[", "50", "]", ";", "machine_mode", "opmode", "=", "GET_MODE", "(", "operands", "[", "0", "]", ")", ";", "gcc_assert", "(", "shift", ">=", "0", ")", ";", "if", "(", "(", "(", "opmode", "==", "V4HImode", ")", "&&", "(", "shift", ">", "15", ")", ")", "||", "(", "(", "opmode", "==", "V2SImode", ")", "&&", "(", "shift", ">", "31", ")", ")", "||", "(", "(", "opmode", "==", "DImode", ")", "&&", "(", "shift", ">", "63", ")", ")", ")", "{", "if", "(", "wror_or_wsra", ")", "{", "sprintf", "(", "templ", ",", "\"%s\\t%%0, %%1, #%d\"", ",", "insn_name", ",", "32", ")", ";", "output_asm_insn", "(", "templ", ",", "operands", ")", ";", "if", "(", "opmode", "==", "DImode", ")", "{", "sprintf", "(", "templ", ",", "\"%s\\t%%0, %%0, #%d\"", ",", "insn_name", ",", "32", ")", ";", "output_asm_insn", "(", "templ", ",", "operands", ")", ";", "}", "}", "else", "{", "sprintf", "(", "templ", ",", "\"wzero\\t%%0\"", ")", ";", "output_asm_insn", "(", "templ", ",", "operands", ")", ";", "}", "return", "\"\"", ";", "}", "if", "(", "(", "opmode", "==", "DImode", ")", "&&", "(", "shift", ">", "32", ")", ")", "{", "sprintf", "(", "templ", ",", "\"%s\\t%%0, %%1, #%d\"", ",", "insn_name", ",", "32", ")", ";", "output_asm_insn", "(", "templ", ",", "operands", ")", ";", "sprintf", "(", "templ", ",", "\"%s\\t%%0, %%0, #%d\"", ",", "insn_name", ",", "shift", "-", "32", ")", ";", "output_asm_insn", "(", "templ", ",", "operands", ")", ";", "}", "else", "{", "sprintf", "(", "templ", ",", "\"%s\\t%%0, %%1, #%d\"", ",", "insn_name", ",", "shift", ")", ";", "output_asm_insn", "(", "templ", ",", "operands", ")", ";", "}", "return", "\"\"", ";", "}", ""], "natrual_language": ["Output", "assembly", "for", "a", "WMMX", "immediate", "shift", "instruction", "."], "TS_V_token": ["arm", "2", "50", "0", "0", "15", "31", "63", "\"%s\\t%%0, %%1, #%d\"", "32", "\"%s\\t%%0, %%0, #%d\"", "32", "\"wzero\\t%%0\"", "\"\"", "32", "\"%s\\t%%0, %%1, #%d\"", "32", "\"%s\\t%%0, %%0, #%d\"", "32", "\"%s\\t%%0, %%1, #%d\"", "\"\""], "File": "arm", "Func": "arm_output_iwmmxt_shift_immediate", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4232, "Length": 248, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arc_output_addsi", "(", "rtx", "*", "operands", ",", "bool", "cond_p", ",", "bool", "output_p", ")", "{", "char", "format", "[", "32", "]", ";", "int", "match", "=", "operands_match_p", "(", "operands", "[", "0", "]", ",", "operands", "[", "1", "]", ")", ";", "int", "match2", "=", "operands_match_p", "(", "operands", "[", "0", "]", ",", "operands", "[", "2", "]", ")", ";", "int", "intval", "=", "(", "REG_P", "(", "operands", "[", "2", "]", ")", "?", "1", ":", "CONST_INT_P", "(", "operands", "[", "2", "]", ")", "?", "INTVAL", "(", "operands", "[", "2", "]", ")", ":", "0xbadc057", ")", ";", "int", "neg_intval", "=", "-", "intval", ";", "int", "short_0", "=", "satisfies_constraint_Rcq", "(", "operands", "[", "0", "]", ")", ";", "int", "short_p", "=", "(", "!", "cond_p", "&&", "short_0", "&&", "satisfies_constraint_Rcq", "(", "operands", "[", "1", "]", ")", ")", ";", "int", "ret", "=", "0", ";", "if", "(", "output_p", ")", "\\", "output_asm_insn", "(", "FORMAT", ",", "operands", ")", ";", "\\", "return", "ret", ";", "\\", "}", ""], "natrual_language": ["Emit", "code", "for", "an", "addsi3", "instruction", "with", "OPERANDS", ".", "COND_P", "indicates", "if", "this", "will", "use", "conditional", "execution", ".", "Return", "the", "length", "of", "the", "instruction", ".", "If", "OUTPUT_P", "is", "false", ",", "do", "n't", "actually", "output", "the", "instruction", ",", "just", "return", "its", "length", "."], "TS_V_token": ["arc", "32", "0", "1", "0", "2", "2", "1", "2", "2", "0xbadc057", "0", "1", "0"], "File": "arc4", "Func": "arc_output_addsi", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4233, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MipsTargetLowering", "*", "MipsTargetLowering", "::", "create", "(", "const", "MipsTargetMachine", "&", "TM", ",", "const", "MipsSubtarget", "&", "STI", ")", "{", "return", "llvm", "::", "createMipsSETargetLowering", "(", "TM", ",", "STI", ")", ";", "}", ""], "natrual_language": ["This", "creates", "an", "identified", "struct", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips", "Mips", "Mips"], "File": "MipsISelLowering58", "Func": "create", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4234, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "addExpr", "(", "MCInst", "&", "Inst", ",", "const", "MCExpr", "*", "Expr", ")", "const", "{", "assert", "(", "Expr", "&&", "\"Expr shouldn't be null!\"", ")", ";", "if", "(", "auto", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Expr", ")", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "CE", "->", "getValue", "(", ")", ")", ")", ";", "else", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createExpr", "(", "Expr", ")", ")", ";", "}", ""], "natrual_language": ["Add", "a", "new", "MCExpr", "operand", "."], "TS_V_token": ["ECLair", "\"Expr shouldn't be null!\""], "File": "ECLairAsmParser", "Func": "addExpr", "Target": "ECLair", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4235, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonAsmPrinter", "::", "isBlockOnlyReachableByFallthrough", "(", "const", "MachineBasicBlock", "*", "MBB", ")", "const", "{", "if", "(", "MBB", "->", "hasAddressTaken", "(", ")", ")", "return", "false", ";", "return", "AsmPrinter", "::", "isBlockOnlyReachableByFallthrough", "(", "MBB", ")", ";", "}", ""], "natrual_language": ["isBlockOnlyReachableByFallthough", "-", "Return", "true", "if", "the", "basic", "block", "has", "exactly", "one", "predecessor", "and", "the", "control", "transfer", "mechanism", "between", "the", "predecessor", "and", "this", "block", "is", "a", "fall-through", "."], "TS_V_token": ["Hexagon", "Hexagon"], "File": "HexagonAsmPrinter", "Func": "isBlockOnlyReachableByFallthrough", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4236, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLoweringObjectFile", "*", "getObjFileLowering", "(", ")", "const", "override", "{", "return", "TLOF", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["Return", "information", "about", "object", "file", "lowering", "."], "TS_V_token": ["MSP430"], "File": "MSP430TargetMachine (2)", "Func": "getObjFileLowering", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4237, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMExpandPseudo", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "TII", "=", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "MF", ".", "getTarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "MachineFunction", "::", "iterator", "MFI", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "MFI", "!=", "E", ";", "++", "MFI", ")", "Modified", "|=", "ExpandMBB", "(", "*", "MFI", ")", ";", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMExpandPseudoInsts25", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4238, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Thumb1InstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "const", "ARMSubtarget", "&", "st", "=", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "assert", "(", "ARM", "::", "GPRRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", "&&", "\"Thumb1 can only copy GPR registers\"", ")", ";", "if", "(", "st", ".", "hasV6Ops", "(", ")", "||", "ARM", "::", "hGPRRegClass", ".", "contains", "(", "SrcReg", ")", "||", "!", "ARM", "::", "tGPRRegClass", ".", "contains", "(", "DestReg", ")", ")", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "tMOVr", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ")", ";", "else", "{", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "tPUSH", ")", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "AddDefaultPred", "(", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "ARM", "::", "tPOP", ")", ")", ")", ".", "addReg", "(", "DestReg", ",", "getDefRegState", "(", "true", ")", ")", ";", "}", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["ARM", "ARM", "ARM", "ARM::GPRRegClass", "\"Thumb1 can only copy GPR registers\"", "ARM::hGPRRegClass", "ARM::tGPRRegClass", "ARM::tMOVr", "ARM::tPUSH", "ARM::tPOP"], "File": "Thumb1InstrInfo21", "Func": "copyPhysReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4239, "Length": 191, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "ix86_broadcast_from_constant", "(", "machine_mode", "mode", ",", "rtx", "op", ")", "{", "int", "nunits", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "if", "(", "nunits", "<", "2", ")", "return", "nullptr", ";", "if", "(", "!", "TARGET_INTER_UNIT_MOVES_TO_VEC", "&&", "INTEGRAL_MODE_P", "(", "mode", ")", ")", "return", "nullptr", ";", "if", "(", "!", "(", "TARGET_AVX2", "||", "(", "TARGET_AVX", "&&", "(", "GET_MODE_INNER", "(", "mode", ")", "==", "SImode", "||", "GET_MODE_INNER", "(", "mode", ")", "==", "DImode", ")", ")", "||", "FLOAT_MODE_P", "(", "mode", ")", ")", "||", "standard_sse_constant_p", "(", "op", ",", "mode", ")", ")", "return", "nullptr", ";", "if", "(", "GET_MODE_INNER", "(", "mode", ")", "==", "DImode", "&&", "!", "TARGET_64BIT", "&&", "(", "!", "TARGET_AVX512F", "||", "(", "GET_MODE_SIZE", "(", "mode", ")", "<", "64", "&&", "!", "TARGET_AVX512VL", ")", ")", ")", "return", "nullptr", ";", "if", "(", "GET_MODE_INNER", "(", "mode", ")", "==", "TImode", ")", "return", "nullptr", ";", "rtx", "constant", "=", "get_pool_constant", "(", "XEXP", "(", "op", ",", "0", ")", ")", ";", "if", "(", "GET_CODE", "(", "constant", ")", "!=", "CONST_VECTOR", ")", "return", "nullptr", ";", "if", "(", "GET_MODE", "(", "constant", ")", "!=", "mode", ")", "{", "constant", "=", "simplify_subreg", "(", "mode", ",", "constant", ",", "GET_MODE", "(", "constant", ")", ",", "0", ")", ";", "if", "(", "constant", "==", "nullptr", "||", "GET_CODE", "(", "constant", ")", "!=", "CONST_VECTOR", ")", "return", "nullptr", ";", "}", "rtx", "first", "=", "XVECEXP", "(", "constant", ",", "0", ",", "0", ")", ";", "for", "(", "int", "i", "=", "1", ";", "i", "<", "nunits", ";", "++", "i", ")", "{", "rtx", "tmp", "=", "XVECEXP", "(", "constant", ",", "0", ",", "i", ")", ";", "if", "(", "!", "rtx_equal_p", "(", "tmp", ",", "first", ")", ")", "return", "nullptr", ";", "}", "return", "first", ";", "}", ""], "natrual_language": ["OP", "is", "a", "memref", "of", "CONST_VECTOR", ",", "return", "scalar", "constant", "mem", "if", "CONST_VECTOR", "is", "a", "vec_duplicate", ",", "else", "return", "NULL", "."], "TS_V_token": ["i386", "2", "64", "0", "0", "0", "0", "1", "0"], "File": "i386-expand", "Func": "ix86_broadcast_from_constant", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4240, "Length": 252, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "NVPTXInstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "OS", ",", "unsigned", "RegNo", ")", "const", "{", "unsigned", "RCId", "=", "(", "RegNo", ">>", "28", ")", ";", "switch", "(", "RCId", ")", "{", "default", ":", "report_fatal_error", "(", "\"Bad virtual register encoding\"", ")", ";", "case", "0", ":", "OS", "<<", "getRegisterName", "(", "RegNo", ")", ";", "return", ";", "case", "1", ":", "OS", "<<", "\"%p\"", ";", "break", ";", "case", "2", ":", "OS", "<<", "\"%rs\"", ";", "break", ";", "case", "3", ":", "OS", "<<", "\"%r\"", ";", "break", ";", "case", "4", ":", "OS", "<<", "\"%rl\"", ";", "break", ";", "case", "5", ":", "OS", "<<", "\"%f\"", ";", "break", ";", "case", "6", ":", "OS", "<<", "\"%fl\"", ";", "break", ";", "}", "unsigned", "VReg", "=", "RegNo", "&", "0x0FFFFFFF", ";", "OS", "<<", "VReg", ";", "}", ""], "natrual_language": ["Print", "the", "assembler", "register", "name", "."], "TS_V_token": ["NVPTX", "NVPTX", "28", "\"Bad virtual register encoding\"", "0", "1", "\"%p\"", "2", "\"%rs\"", "3", "\"%r\"", "4", "\"%rl\"", "5", "\"%f\"", "6", "\"%fl\"", "0x0FFFFFFF"], "File": "NVPTXInstPrinter", "Func": "printRegName", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4241, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64SelectionDAGInfo", "::", "EmitTargetCodeForMemset", "(", "SelectionDAG", "&", "DAG", ",", "const", "SDLoc", "&", "dl", ",", "SDValue", "Chain", ",", "SDValue", "Dst", ",", "SDValue", "Src", ",", "SDValue", "Size", ",", "unsigned", "Align", ",", "bool", "isVolatile", ",", "MachinePointerInfo", "DstPtrInfo", ")", "const", "{", "ConstantSDNode", "*", "V", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Src", ")", ";", "ConstantSDNode", "*", "SizeValue", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Size", ")", ";", "const", "AArch64Subtarget", "&", "STI", "=", "DAG", ".", "getMachineFunction", "(", ")", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ";", "const", "char", "*", "bzeroEntry", "=", "(", "V", "&&", "V", "->", "isNullValue", "(", ")", ")", "?", "STI", ".", "getBZeroEntry", "(", ")", ":", "nullptr", ";", "if", "(", "bzeroEntry", "&&", "(", "!", "SizeValue", "||", "SizeValue", "->", "getZExtValue", "(", ")", ">", "256", ")", ")", "{", "const", "AArch64TargetLowering", "&", "TLI", "=", "*", "STI", ".", "getTargetLowering", "(", ")", ";", "EVT", "IntPtr", "=", "TLI", ".", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ";", "Type", "*", "IntPtrTy", "=", "DAG", ".", "getDataLayout", "(", ")", ".", "getIntPtrType", "(", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "TargetLowering", "::", "ArgListTy", "Args", ";", "TargetLowering", "::", "ArgListEntry", "Entry", ";", "Entry", ".", "Node", "=", "Dst", ";", "Entry", ".", "Ty", "=", "IntPtrTy", ";", "Args", ".", "push_back", "(", "Entry", ")", ";", "Entry", ".", "Node", "=", "Size", ";", "Args", ".", "push_back", "(", "Entry", ")", ";", "TargetLowering", "::", "CallLoweringInfo", "CLI", "(", "DAG", ")", ";", "CLI", ".", "setDebugLoc", "(", "dl", ")", ".", "setChain", "(", "Chain", ")", ".", "setCallee", "(", "CallingConv", "::", "C", ",", "Type", "::", "getVoidTy", "(", "*", "DAG", ".", "getContext", "(", ")", ")", ",", "DAG", ".", "getExternalSymbol", "(", "bzeroEntry", ",", "IntPtr", ")", ",", "std", "::", "move", "(", "Args", ")", ")", ".", "setDiscardResult", "(", ")", ";", "std", "::", "pair", "<", "SDValue", ",", "SDValue", ">", "CallResult", "=", "TLI", ".", "LowerCallTo", "(", "CLI", ")", ";", "return", "CallResult", ".", "second", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memset", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64", "256", "AArch64"], "File": "AArch64SelectionDAGInfo9", "Func": "EmitTargetCodeForMemset", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4242, "Length": 296, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "vax_option_override", "(", "void", ")", "{", "if", "(", "TARGET_G_FLOAT", ")", "REAL_MODE_FORMAT", "(", "DFmode", ")", "=", "&", "vax_g_format", ";", "SUBTARGET_OVERRIDE_OPTIONS", ";", "}", ""], "natrual_language": ["Set", "global", "variables", "as", "needed", "for", "the", "options", "enabled", "."], "TS_V_token": ["vax"], "File": "vax", "Func": "vax_option_override", "Target": "vax", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4243, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "const", "LanaiInstrInfo", "&", "LII", "=", "*", "static_cast", "<", "const", "LanaiInstrInfo", "*", ">", "(", "STI", ".", "getInstrInfo", "(", ")", ")", ";", "DebugLoc", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "LII", ".", "get", "(", "Lanai", "::", "ADD_I_LO", ")", ",", "Lanai", "::", "SP", ")", ".", "addReg", "(", "Lanai", "::", "FP", ")", ".", "addImm", "(", "0", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "LII", ".", "get", "(", "Lanai", "::", "LDW_RI", ")", ",", "Lanai", "::", "FP", ")", ".", "addReg", "(", "Lanai", "::", "FP", ")", ".", "addImm", "(", "-", "8", ")", ".", "addImm", "(", "LPAC", "::", "ADD", ")", ";", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Lanai", "Lanai", "Lanai", "Lanai", "Lanai::ADD_I_LO", "Lanai::SP", "Lanai::FP", "0", "Lanai::LDW_RI", "Lanai::FP", "Lanai::FP", "8"], "File": "LanaiFrameLowering11", "Func": "emitEpilogue", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4244, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUPromoteAlloca", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "skipFunction", "(", "F", ")", ")", "return", "false", ";", "if", "(", "auto", "*", "TPC", "=", "getAnalysisIfAvailable", "<", "TargetPassConfig", ">", "(", ")", ")", "TM", "=", "&", "TPC", "->", "getTM", "<", "TargetMachine", ">", "(", ")", ";", "else", "return", "false", ";", "const", "Triple", "&", "TT", "=", "TM", "->", "getTargetTriple", "(", ")", ";", "IsAMDGCN", "=", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "amdgcn", ";", "IsAMDHSA", "=", "TT", ".", "getOS", "(", ")", "==", "Triple", "::", "AMDHSA", ";", "const", "AMDGPUSubtarget", "&", "ST", "=", "TM", "->", "getSubtarget", "<", "AMDGPUSubtarget", ">", "(", "F", ")", ";", "if", "(", "!", "ST", ".", "isPromoteAllocaEnabled", "(", ")", ")", "return", "false", ";", "AS", "=", "AMDGPU", "::", "getAMDGPUAS", "(", "*", "F", ".", "getParent", "(", ")", ")", ";", "bool", "SufficientLDS", "=", "hasSufficientLocalMem", "(", "F", ")", ";", "bool", "Changed", "=", "false", ";", "BasicBlock", "&", "EntryBB", "=", "*", "F", ".", "begin", "(", ")", ";", "for", "(", "auto", "I", "=", "EntryBB", ".", "begin", "(", ")", ",", "E", "=", "EntryBB", ".", "end", "(", ")", ";", "I", "!=", "E", ";", ")", "{", "AllocaInst", "*", "AI", "=", "dyn_cast", "<", "AllocaInst", ">", "(", "I", ")", ";", "++", "I", ";", "if", "(", "AI", ")", "Changed", "|=", "handleAlloca", "(", "*", "AI", ",", "SufficientLDS", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU::getAMDGPUAS"], "File": "AMDGPUPromoteAlloca14", "Func": "runOnFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4245, "Length": 208, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "BTFTypeTag", "::", "emitType", "(", "MCStreamer", "&", "OS", ")", "{", "BTFTypeBase", "::", "emitType", "(", "OS", ")", ";", "OS", ".", "emitInt32", "(", "Info", ")", ";", "}", ""], "natrual_language": ["Emit", "types", "for", "this", "BTF", "type", "entry", "."], "TS_V_token": ["BPF", "BTFTypeBase::emitType"], "File": "BTFDebug19", "Func": "emitType", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4246, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64AsmPrinter", "::", "lowerOperand", "(", "const", "MachineOperand", "&", "MO", ",", "MCOperand", "&", "MCOp", ")", "const", "{", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"unknown operand type\"", ")", ";", "case", "MachineOperand", "::", "MO_Register", ":", "if", "(", "MO", ".", "isImplicit", "(", ")", ")", "return", "false", ";", "assert", "(", "!", "MO", ".", "getSubReg", "(", ")", "&&", "\"Subregs should be eliminated!\"", ")", ";", "MCOp", "=", "MCOperand", "::", "CreateReg", "(", "MO", ".", "getReg", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_Immediate", ":", "MCOp", "=", "MCOperand", "::", "CreateImm", "(", "MO", ".", "getImm", "(", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_BlockAddress", ":", "MCOp", "=", "lowerSymbolOperand", "(", "MO", ",", "GetBlockAddressSymbol", "(", "MO", ".", "getBlockAddress", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ExternalSymbol", ":", "MCOp", "=", "lowerSymbolOperand", "(", "MO", ",", "GetExternalSymbolSymbol", "(", "MO", ".", "getSymbolName", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "MCOp", "=", "lowerSymbolOperand", "(", "MO", ",", "Mang", "->", "getSymbol", "(", "MO", ".", "getGlobal", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_MachineBasicBlock", ":", "MCOp", "=", "MCOperand", "::", "CreateExpr", "(", "MCSymbolRefExpr", "::", "Create", "(", "MO", ".", "getMBB", "(", ")", "->", "getSymbol", "(", ")", ",", "OutContext", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_JumpTableIndex", ":", "MCOp", "=", "lowerSymbolOperand", "(", "MO", ",", "GetJTISymbol", "(", "MO", ".", "getIndex", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_ConstantPoolIndex", ":", "MCOp", "=", "lowerSymbolOperand", "(", "MO", ",", "GetCPISymbol", "(", "MO", ".", "getIndex", "(", ")", ")", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_RegisterMask", ":", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Wrapper", "for", "MCInstLowering.lowerOperand", "(", ")", "for", "the", "tblgen'erated", "pseudo", "lowering", "."], "TS_V_token": ["AArch64", "AArch64", "\"unknown operand type\"", "\"Subregs should be eliminated!\""], "File": "AArch64MCInstLower17", "Func": "lowerOperand", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4247, "Length": 256, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "LegalizerInfo", "*", "ARMSubtarget", "::", "getLegalizerInfo", "(", ")", "const", "{", "assert", "(", "GISel", "&&", "\"Access to GlobalISel APIs not set\"", ")", ";", "return", "GISel", "->", "getLegalizerInfo", "(", ")", ";", "}", ""], "natrual_language": ["Expose", "LegalizerInfo", "so", "the", "clients", "can", "re-use", "."], "TS_V_token": ["ARM", "ARM", "\"Access to GlobalISel APIs not set\""], "File": "ARMSubtarget24", "Func": "getLegalizerInfo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4248, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "bool", "runOnFunction", "(", "Function", "&", "Fn", ")", "{", "GlobalBaseReg", "=", "0", ";", "return", "SelectionDAGISel", "::", "runOnFunction", "(", "Fn", ")", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["IA64", "0"], "File": "IA64ISelDAGToDAG", "Func": "runOnFunction", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4249, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LoongArchAsmBackend", "::", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsResolved", ",", "const", "MCSubtargetInfo", "*", "STI", ")", "const", "{", "return", ";", "}", ""], "natrual_language": ["Apply", "the", "Value", "for", "given", "Fixup", "into", "the", "provided", "data", "fragment", ",", "at", "the", "offset", "specified", "by", "the", "fixup", "and", "following", "the", "fixup", "kind", "as", "appropriate", "."], "TS_V_token": ["LoongArch", "LoongArch"], "File": "LoongArchAsmBackend", "Func": "applyFixup", "Target": "LoongArch", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4250, "Length": 42, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "NVPTXPassConfig", "::", "addOptimizedRegAlloc", "(", ")", "{", "addPass", "(", "&", "ProcessImplicitDefsID", ")", ";", "addPass", "(", "&", "LiveVariablesID", ")", ";", "addPass", "(", "&", "MachineLoopInfoID", ")", ";", "addPass", "(", "&", "PHIEliminationID", ")", ";", "addPass", "(", "&", "TwoAddressInstructionPassID", ")", ";", "addPass", "(", "&", "RegisterCoalescerID", ")", ";", "if", "(", "addPass", "(", "&", "MachineSchedulerID", ")", ")", "printAndVerify", "(", "\"After Machine Scheduling\"", ")", ";", "addPass", "(", "&", "StackSlotColoringID", ")", ";", "printAndVerify", "(", "\"After StackSlotColoring\"", ")", ";", "}", ""], "natrual_language": ["addOptimizedRegAlloc", "-", "Add", "passes", "related", "to", "register", "allocation", "."], "TS_V_token": ["NVPTX", "NVPTX", "\"After Machine Scheduling\"", "\"After StackSlotColoring\""], "File": "NVPTXTargetMachine (2)1", "Func": "addOptimizedRegAlloc", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4251, "Length": 68, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "rs6000_special_adjust_field_align_p", "(", "tree", "field", ",", "unsigned", "int", "computed", ")", "{", "if", "(", "TARGET_ALTIVEC", "&&", "TREE_CODE", "(", "TREE_TYPE", "(", "field", ")", ")", "==", "VECTOR_TYPE", ")", "{", "if", "(", "computed", "!=", "128", ")", "{", "static", "bool", "warned", ";", "if", "(", "!", "warned", "&&", "warn_psabi", ")", "{", "warned", "=", "true", ";", "inform", "(", "input_location", ",", "\"the layout of aggregates containing vectors with\"", "\" %d-byte alignment has changed in GCC 5\"", ",", "computed", "/", "BITS_PER_UNIT", ")", ";", "}", "}", "return", "false", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Previous", "GCC", "releases", "forced", "all", "vector", "types", "to", "have", "16-byte", "alignment", "."], "TS_V_token": ["rs6000", "128", "\"the layout of aggregates containing vectors with\"", "\" %d-byte alignment has changed in GCC 5\""], "File": "rs60004", "Func": "rs6000_special_adjust_field_align_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4252, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ARMCodeEmitter", "::", "emitInstruction", "(", "const", "MachineInstr", "&", "MI", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"JIT: \"", "<<", "(", "void", "*", ")", "MCE", ".", "getCurrentPCValue", "(", ")", "<<", "\":\\t\"", "<<", "MI", ")", ";", "MCE", ".", "processDebugLoc", "(", "MI", ".", "getDebugLoc", "(", ")", ",", "true", ")", ";", "++", "NumEmitted", ";", "switch", "(", "MI", ".", "getDesc", "(", ")", ".", "TSFlags", "&", "ARMII", "::", "FormMask", ")", "{", "default", ":", "{", "llvm_unreachable", "(", "\"Unhandled instruction encoding format!\"", ")", ";", "}", "case", "ARMII", "::", "MiscFrm", ":", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "ARM", "::", "LEApcrelJT", ")", "{", "emitLEApcrelJTInstruction", "(", "MI", ")", ";", "break", ";", "}", "llvm_unreachable", "(", "\"Unhandled instruction encoding!\"", ")", ";", "case", "ARMII", "::", "Pseudo", ":", "emitPseudoInstruction", "(", "MI", ")", ";", "break", ";", "case", "ARMII", "::", "DPFrm", ":", "case", "ARMII", "::", "DPSoRegFrm", ":", "emitDataProcessingInstruction", "(", "MI", ")", ";", "break", ";", "case", "ARMII", "::", "LdFrm", ":", "case", "ARMII", "::", "StFrm", ":", "emitLoadStoreInstruction", "(", "MI", ")", ";", "break", ";", "case", "ARMII", "::", "LdMiscFrm", ":", "case", "ARMII", "::", "StMiscFrm", ":", "emitMiscLoadStoreInstruction", "(", "MI", ")", ";", "break", ";", "case", "ARMII", "::", "LdStMulFrm", ":", "emitLoadStoreMultipleInstruction", "(", "MI", ")", ";", "break", ";", "case", "ARMII", "::", "MulFrm", ":", "emitMulFrmInstruction", "(", "MI", ")", ";", "break", ";", "case", "ARMII", "::", "ExtFrm", ":", "emitExtendInstruction", "(", "MI", ")", ";", "break", ";", "case", "ARMII", "::", "ArithMiscFrm", ":", "emitMiscArithInstruction", "(", "MI", ")", ";", "break", ";", "case", "ARMII", "::", "SatFrm", ":", "emitSaturateInstruction", "(", "MI", ")", ";", "break", ";", "case", "ARMII", "::", "BrFrm", ":", "emitBranchInstruction", "(", "MI", ")", ";", "break", ";", "case", "ARMII", "::", "BrMiscFrm", ":", "emitMiscBranchInstruction", "(", "MI", ")", ";", "break", ";", "case", "ARMII", "::", "VFPUnaryFrm", ":", "case", "ARMII", "::", "VFPBinaryFrm", ":", "emitVFPArithInstruction", "(", "MI", ")", ";", "break", ";", "case", "ARMII", "::", "VFPConv1Frm", ":", "case", "ARMII", "::", "VFPConv2Frm", ":", "case", "ARMII", "::", "VFPConv3Frm", ":", "case", "ARMII", "::", "VFPConv4Frm", ":", "case", "ARMII", "::", "VFPConv5Frm", ":", "emitVFPConversionInstruction", "(", "MI", ")", ";", "break", ";", "case", "ARMII", "::", "VFPLdStFrm", ":", "emitVFPLoadStoreInstruction", "(", "MI", ")", ";", "break", ";", "case", "ARMII", "::", "VFPLdStMulFrm", ":", "emitVFPLoadStoreMultipleInstruction", "(", "MI", ")", ";", "break", ";", "case", "ARMII", "::", "VFPMiscFrm", ":", "emitMiscInstruction", "(", "MI", ")", ";", "break", ";", "case", "ARMII", "::", "NGetLnFrm", ":", "case", "ARMII", "::", "NSetLnFrm", ":", "emitNEONLaneInstruction", "(", "MI", ")", ";", "break", ";", "case", "ARMII", "::", "NDupFrm", ":", "emitNEONDupInstruction", "(", "MI", ")", ";", "break", ";", "case", "ARMII", "::", "N1RegModImmFrm", ":", "emitNEON1RegModImmInstruction", "(", "MI", ")", ";", "break", ";", "case", "ARMII", "::", "N2RegFrm", ":", "emitNEON2RegInstruction", "(", "MI", ")", ";", "break", ";", "case", "ARMII", "::", "N3RegFrm", ":", "emitNEON3RegInstruction", "(", "MI", ")", ";", "break", ";", "}", "MCE", ".", "processDebugLoc", "(", "MI", ".", "getDebugLoc", "(", ")", ",", "false", ")", ";", "}", ""], "natrual_language": ["Targets", "should", "implement", "this", "to", "emit", "instructions", "."], "TS_V_token": ["ARM", "ARM", "\"JIT: \"", "\":\\t\"", "ARMII::FormMask", "\"Unhandled instruction encoding format!\"", "ARMII::MiscFrm", "ARM::LEApcrelJT", "\"Unhandled instruction encoding!\"", "ARMII::Pseudo", "ARMII::DPFrm", "ARMII::DPSoRegFrm", "ARMII::LdFrm", "ARMII::StFrm", "ARMII::LdMiscFrm", "ARMII::StMiscFrm", "ARMII::LdStMulFrm", "ARMII::MulFrm", "ARMII::ExtFrm", "ARMII::ArithMiscFrm", "ARMII::SatFrm", "ARMII::BrFrm", "ARMII::BrMiscFrm", "ARMII::VFPUnaryFrm", "ARMII::VFPBinaryFrm", "ARMII::VFPConv1Frm", "ARMII::VFPConv2Frm", "ARMII::VFPConv3Frm", "ARMII::VFPConv4Frm", "ARMII::VFPConv5Frm", "ARMII::VFPLdStFrm", "ARMII::VFPLdStMulFrm", "ARMII::VFPMiscFrm", "ARMII::NGetLnFrm", "ARMII::NSetLnFrm", "ARMII::NDupFrm", "ARMII::N1RegModImmFrm", "ARMII::N2RegFrm", "ARMII::N3RegFrm"], "File": "ARMCodeEmitter", "Func": "emitInstruction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4253, "Length": 417, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "setPreservesAll", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["ARM64"], "File": "ARM64CollectLOH", "Func": "getAnalysisUsage", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4254, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiInstrInfo", "::", "expandPostRAPseudo", "(", "MachineInstr", "&", "MI", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["This", "function", "is", "called", "for", "all", "pseudo", "instructions", "that", "remain", "after", "register", "allocation", "."], "TS_V_token": ["Lanai", "Lanai"], "File": "LanaiInstrInfo", "Func": "expandPostRAPseudo", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4255, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "*", "getAdjustedAnalysisPointer", "(", "const", "void", "*", "ID", ")", "override", "{", "if", "(", "ID", "==", "&", "TargetTransformInfo", "::", "ID", ")", "return", "(", "TargetTransformInfo", "*", ")", "this", ";", "return", "this", ";", "}", ""], "natrual_language": ["getAdjustedAnalysisPointer", "-", "This", "method", "is", "used", "when", "a", "pass", "implements", "an", "analysis", "interface", "through", "multiple", "inheritance", "."], "TS_V_token": ["ARM"], "File": "ARMTargetTransformInfo21", "Func": "getAdjustedAnalysisPointer", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4256, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "outliner", "::", "OutlinedFunction", "RISCVInstrInfo", "::", "getOutliningCandidateInfo", "(", "std", "::", "vector", "<", "outliner", "::", "Candidate", ">", "&", "RepeatedSequenceLocs", ")", "const", "{", "auto", "CannotInsertCall", "=", "[", "]", "(", "outliner", "::", "Candidate", "&", "C", ")", "{", "const", "TargetRegisterInfo", "*", "TRI", "=", "C", ".", "getMF", "(", ")", "->", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "return", "!", "C", ".", "isAvailableAcrossAndOutOfSeq", "(", "RISCV", "::", "X5", ",", "*", "TRI", ")", ";", "}", ";", "llvm", "::", "erase_if", "(", "RepeatedSequenceLocs", ",", "CannotInsertCall", ")", ";", "if", "(", "RepeatedSequenceLocs", ".", "size", "(", ")", "<", "2", ")", "return", "outliner", "::", "OutlinedFunction", "(", ")", ";", "unsigned", "SequenceSize", "=", "0", ";", "auto", "I", "=", "RepeatedSequenceLocs", "[", "0", "]", ".", "front", "(", ")", ";", "auto", "E", "=", "std", "::", "next", "(", "RepeatedSequenceLocs", "[", "0", "]", ".", "back", "(", ")", ")", ";", "for", "(", ";", "I", "!=", "E", ";", "++", "I", ")", "SequenceSize", "+=", "getInstSizeInBytes", "(", "*", "I", ")", ";", "unsigned", "CallOverhead", "=", "8", ";", "for", "(", "auto", "&", "C", ":", "RepeatedSequenceLocs", ")", "C", ".", "setCallInfo", "(", "MachineOutlinerDefault", ",", "CallOverhead", ")", ";", "unsigned", "FrameOverhead", "=", "4", ";", "if", "(", "RepeatedSequenceLocs", "[", "0", "]", ".", "getMF", "(", ")", "->", "getSubtarget", "(", ")", ".", "getFeatureBits", "(", ")", "[", "RISCV", "::", "FeatureStdExtC", "]", ")", "FrameOverhead", "=", "2", ";", "return", "outliner", "::", "OutlinedFunction", "(", "RepeatedSequenceLocs", ",", "SequenceSize", ",", "FrameOverhead", ",", "MachineOutlinerDefault", ")", ";", "}", ""], "natrual_language": ["Returns", "a", "outliner", ":", ":OutlinedFunction", "struct", "containing", "target-specific", "information", "for", "a", "set", "of", "outlining", "candidates", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::X5", "2", "0", "0", "0", "8", "4", "0", "RISCV::FeatureStdExtC", "2"], "File": "RISCVInstrInfo22", "Func": "getOutliningCandidateInfo", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4257, "Length": 216, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PatmosRegisterInfo", "::", "hasReservedSpillSlot", "(", "const", "MachineFunction", "&", "MF", ",", "Register", "Reg", ",", "int", "&", "FrameIdx", ")", "const", "{", "if", "(", "Patmos", "::", "PRegsRegClass", ".", "contains", "(", "Reg", ")", ")", "return", "true", ";", "const", "PatmosMachineFunctionInfo", "&", "PMFI", "=", "*", "MF", ".", "getInfo", "<", "PatmosMachineFunctionInfo", ">", "(", ")", ";", "if", "(", "Reg", "==", "Patmos", "::", "S0", "&&", "PMFI", ".", "getS0SpillReg", "(", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "target", "has", "reserved", "a", "spill", "slot", "in", "the", "stack", "frame", "of", "the", "given", "function", "for", "the", "specified", "register", "."], "TS_V_token": ["Patmos", "Patmos", "Patmos::PRegsRegClass", "Patmos", "Patmos", "Patmos::S0"], "File": "PatmosRegisterInfo1", "Func": "hasReservedSpillSlot", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 4258, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mmix_initialize_trampoline", "(", "rtx", "trampaddr", ",", "rtx", "fnaddr", ",", "rtx", "static_chain", ")", "{", "emit_move_insn", "(", "gen_rtx_MEM", "(", "DImode", ",", "plus_constant", "(", "trampaddr", ",", "16", ")", ")", ",", "static_chain", ")", ";", "emit_move_insn", "(", "gen_rtx_MEM", "(", "DImode", ",", "plus_constant", "(", "trampaddr", ",", "24", ")", ")", ",", "fnaddr", ")", ";", "emit_insn", "(", "gen_sync_icache", "(", "validize_mem", "(", "gen_rtx_MEM", "(", "DImode", ",", "trampaddr", ")", ")", ",", "GEN_INT", "(", "mmix_trampoline_size", "-", "1", ")", ")", ")", ";", "}", ""], "natrual_language": ["Set", "the", "static", "chain", "and", "function", "pointer", "field", "in", "the", "trampoline", ".", "We", "also", "SYNCID", "here", "to", "be", "sure", "(", "does", "n't", "matter", "in", "the", "simulator", ",", "but", "some", "day", "it", "will", ")", "."], "TS_V_token": ["mmix", "16", "24", "1"], "File": "mmix3", "Func": "mmix_initialize_trampoline", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4259, "Length": 71, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "int", "extract_22", "(", "unsigned", "word", ")", "{", "return", "sign_extend", "(", "GET_FIELD", "(", "word", ",", "19", ",", "28", ")", "|", "GET_FIELD", "(", "word", ",", "29", ",", "29", ")", "<<", "10", "|", "GET_FIELD", "(", "word", ",", "11", ",", "15", ")", "<<", "11", "|", "GET_FIELD", "(", "word", ",", "6", ",", "10", ")", "<<", "16", "|", "(", "word", "&", "0x1", ")", "<<", "21", ",", "22", ")", ";", "}", ""], "natrual_language": ["Extract", "a", "22-bit", "signed", "constant", "from", "branch", "instructions", "."], "TS_V_token": ["pa", "19", "28", "29", "29", "10", "11", "15", "11", "6", "10", "16", "0x1", "21", "22"], "File": "hpux-unwind", "Func": "extract_22", "Target": "pa", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4260, "Length": 66, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SystemZInstrInfo", "::", "getInstSizeInBytes", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "MI", ".", "isInlineAsm", "(", ")", ")", "{", "const", "MachineFunction", "*", "MF", "=", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "char", "*", "AsmStr", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getSymbolName", "(", ")", ";", "return", "getInlineAsmLength", "(", "AsmStr", ",", "*", "MF", "->", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", ")", ";", "}", "return", "MI", ".", "getDesc", "(", ")", ".", "getSize", "(", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "size", "in", "bytes", "of", "the", "specified", "MachineInstr", ",", "or", "~0U", "when", "this", "function", "is", "not", "implemented", "by", "a", "target", "."], "TS_V_token": ["SystemZ", "SystemZ", "0"], "File": "SystemZInstrInfo10", "Func": "getInstSizeInBytes", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4261, "Length": 82, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "extract_offset_rtx", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "mem_rtx", ";", "rtx", "plus_rtx", ";", "rtx", "offset_rtx", ";", "switch", "(", "get_attr_type", "(", "insn", ")", ")", "{", "case", "TYPE_LOAD_MULTIPLE", ":", "case", "TYPE_STORE_MULTIPLE", ":", "return", "NULL_RTX", ";", "case", "TYPE_LOAD", ":", "case", "TYPE_FLOAD", ":", "case", "TYPE_STORE", ":", "case", "TYPE_FSTORE", ":", "mem_rtx", "=", "extract_mem_rtx", "(", "insn", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "gcc_assert", "(", "MEM_P", "(", "mem_rtx", ")", ")", ";", "if", "(", "REG_P", "(", "XEXP", "(", "mem_rtx", ",", "0", ")", ")", ")", "return", "NULL_RTX", ";", "plus_rtx", "=", "XEXP", "(", "mem_rtx", ",", "0", ")", ";", "switch", "(", "GET_CODE", "(", "plus_rtx", ")", ")", "{", "case", "SYMBOL_REF", ":", "case", "CONST", ":", "case", "POST_INC", ":", "case", "POST_DEC", ":", "return", "NULL_RTX", ";", "case", "PLUS", ":", "if", "(", "REG_P", "(", "XEXP", "(", "plus_rtx", ",", "0", ")", ")", ")", "offset_rtx", "=", "XEXP", "(", "plus_rtx", ",", "1", ")", ";", "else", "{", "gcc_assert", "(", "REG_P", "(", "XEXP", "(", "plus_rtx", ",", "1", ")", ")", ")", ";", "offset_rtx", "=", "XEXP", "(", "plus_rtx", ",", "0", ")", ";", "}", "if", "(", "ARITHMETIC_P", "(", "offset_rtx", ")", ")", "{", "gcc_assert", "(", "GET_CODE", "(", "offset_rtx", ")", "==", "MULT", ")", ";", "gcc_assert", "(", "REG_P", "(", "XEXP", "(", "offset_rtx", ",", "0", ")", ")", ")", ";", "offset_rtx", "=", "XEXP", "(", "offset_rtx", ",", "0", ")", ";", "}", "break", ";", "case", "LO_SUM", ":", "offset_rtx", "=", "XEXP", "(", "plus_rtx", ",", "1", ")", ";", "break", ";", "case", "POST_MODIFY", ":", "gcc_assert", "(", "REG_P", "(", "XEXP", "(", "plus_rtx", ",", "0", ")", ")", ")", ";", "plus_rtx", "=", "XEXP", "(", "plus_rtx", ",", "1", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "plus_rtx", ")", "==", "PLUS", ")", ";", "offset_rtx", "=", "XEXP", "(", "plus_rtx", ",", "0", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "offset_rtx", ";", "}", ""], "natrual_language": ["Extract", "the", "offset", "rtx", "from", "load/store", "insns", ".", "The", "function", "returns", "NULL_RTX", "if", "offset", "is", "absent", "."], "TS_V_token": ["nds32", "0", "0", "0", "1", "1", "0", "0", "0", "1", "0", "1", "0"], "File": "nds32-utils", "Func": "extract_offset_rtx", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4262, "Length": 280, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIInstrInfo", "::", "areMemAccessesTriviallyDisjoint", "(", "const", "MachineInstr", "&", "MIa", ",", "const", "MachineInstr", "&", "MIb", ")", "const", "{", "assert", "(", "(", "MIa", ".", "mayLoad", "(", ")", "||", "MIa", ".", "mayStore", "(", ")", ")", "&&", "\"MIa must load from or modify a memory location\"", ")", ";", "assert", "(", "(", "MIb", ".", "mayLoad", "(", ")", "||", "MIb", ".", "mayStore", "(", ")", ")", "&&", "\"MIb must load from or modify a memory location\"", ")", ";", "if", "(", "MIa", ".", "hasUnmodeledSideEffects", "(", ")", "||", "MIb", ".", "hasUnmodeledSideEffects", "(", ")", ")", "return", "false", ";", "if", "(", "MIa", ".", "hasOrderedMemoryRef", "(", ")", "||", "MIb", ".", "hasOrderedMemoryRef", "(", ")", ")", "return", "false", ";", "if", "(", "isDS", "(", "MIa", ")", ")", "{", "if", "(", "isDS", "(", "MIb", ")", ")", "return", "checkInstOffsetsDoNotOverlap", "(", "MIa", ",", "MIb", ")", ";", "return", "!", "isFLAT", "(", "MIb", ")", "||", "isSegmentSpecificFLAT", "(", "MIb", ")", ";", "}", "if", "(", "isMUBUF", "(", "MIa", ")", "||", "isMTBUF", "(", "MIa", ")", ")", "{", "if", "(", "isMUBUF", "(", "MIb", ")", "||", "isMTBUF", "(", "MIb", ")", ")", "return", "checkInstOffsetsDoNotOverlap", "(", "MIa", ",", "MIb", ")", ";", "return", "!", "isFLAT", "(", "MIb", ")", "&&", "!", "isSMRD", "(", "MIb", ")", ";", "}", "if", "(", "isSMRD", "(", "MIa", ")", ")", "{", "if", "(", "isSMRD", "(", "MIb", ")", ")", "return", "checkInstOffsetsDoNotOverlap", "(", "MIa", ",", "MIb", ")", ";", "return", "!", "isFLAT", "(", "MIb", ")", "&&", "!", "isMUBUF", "(", "MIa", ")", "&&", "!", "isMTBUF", "(", "MIa", ")", ";", "}", "if", "(", "isFLAT", "(", "MIa", ")", ")", "{", "if", "(", "isFLAT", "(", "MIb", ")", ")", "return", "checkInstOffsetsDoNotOverlap", "(", "MIa", ",", "MIb", ")", ";", "return", "false", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Sometimes", ",", "it", "is", "possible", "for", "the", "target", "to", "tell", ",", "even", "without", "aliasing", "information", ",", "that", "two", "MIs", "access", "different", "memory", "addresses", "."], "TS_V_token": ["AMDGPU", "SI", "\"MIa must load from or modify a memory location\"", "\"MIb must load from or modify a memory location\""], "File": "SIInstrInfo134", "Func": "areMemAccessesTriviallyDisjoint", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4263, "Length": 246, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "BPFInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "if", "(", "BPF", "::", "GPRRegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "BPF", "::", "MOV_rr", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "else", "if", "(", "BPF", "::", "GPR32RegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "BPF", "::", "MOV_rr_32", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ";", "else", "llvm_unreachable", "(", "\"Impossible reg-to-reg copy\"", ")", ";", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["BPF", "BPF", "BPF::GPRRegClass", "BPF::MOV_rr", "BPF::GPR32RegClass", "BPF::MOV_rr_32", "\"Impossible reg-to-reg copy\""], "File": "BPFInstrInfo12", "Func": "copyPhysReg", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4264, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "Nios2Subtarget", ">", "(", ")", ";", "return", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Nios2", "Nios2"], "File": "Nios2ISelDAGToDAG", "Func": "runOnMachineFunction", "Target": "Nios2", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4265, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "override", "{", "return", "createSystemZObjectWriter", "(", "OS", ",", "OSABI", ")", ";", "}", ""], "natrual_language": ["Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZMCAsmBackend13", "Func": "createObjectWriter", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4266, "Length": 20, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"DCPU16 optimize conditional branches\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Dcpu16", "\"DCPU16 optimize conditional branches\""], "File": "DCPU16Peephole", "Func": "getPassName", "Target": "Dcpu16", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4267, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "SITargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "AMDGPUTargetLowering", "::", "LowerOperation", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FrameIndex", ":", "return", "LowerFrameIndex", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BRCOND", ":", "return", "LowerBRCOND", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "LOAD", ":", "{", "SDValue", "Result", "=", "LowerLOAD", "(", "Op", ",", "DAG", ")", ";", "assert", "(", "(", "!", "Result", ".", "getNode", "(", ")", "||", "Result", ".", "getNode", "(", ")", "->", "getNumValues", "(", ")", "==", "2", ")", "&&", "\"Load should return a value and a chain\"", ")", ";", "return", "Result", ";", "}", "case", "ISD", "::", "FSIN", ":", "case", "ISD", "::", "FCOS", ":", "return", "LowerTrig", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "LowerSELECT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FDIV", ":", "return", "LowerFDIV", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ATOMIC_CMP_SWAP", ":", "return", "LowerATOMIC_CMP_SWAP", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "LowerSTORE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "SIMachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "return", "LowerGlobalAddress", "(", "MFI", ",", "Op", ",", "DAG", ")", ";", "}", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "return", "LowerINTRINSIC_WO_CHAIN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_W_CHAIN", ":", "return", "LowerINTRINSIC_W_CHAIN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "INTRINSIC_VOID", ":", "return", "LowerINTRINSIC_VOID", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ADDRSPACECAST", ":", "return", "lowerADDRSPACECAST", "(", "Op", ",", "DAG", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU", "ISD::FrameIndex", "ISD::BRCOND", "ISD::LOAD", "2", "\"Load should return a value and a chain\"", "ISD::FSIN", "ISD::FCOS", "ISD::SELECT", "ISD::FDIV", "ISD::ATOMIC_CMP_SWAP", "ISD::STORE", "ISD::GlobalAddress", "SI", "SI", "ISD::INTRINSIC_WO_CHAIN", "SI", "ISD::INTRINSIC_W_CHAIN", "SI", "ISD::INTRINSIC_VOID", "SI", "ISD::ADDRSPACECAST"], "File": "SIISelLowering95", "Func": "LowerOperation", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4268, "Length": 276, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "mayNeedRelaxation", "(", "const", "MCInst", "&", "Inst", ")", "const", "override", "{", "return", "false", ";", "}", ""], "natrual_language": ["Check", "whether", "the", "given", "instruction", "may", "need", "relaxation", "."], "TS_V_token": ["SNES"], "File": "SNESAsmBackend", "Func": "mayNeedRelaxation", "Target": "SNES", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4269, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "fixup_mova", "(", "rtx", "mova", ")", "{", "if", "(", "!", "flag_pic", ")", "{", "SET_SRC", "(", "PATTERN", "(", "mova", ")", ")", "=", "XVECEXP", "(", "SET_SRC", "(", "PATTERN", "(", "mova", ")", ")", ",", "0", ",", "0", ")", ";", "INSN_CODE", "(", "mova", ")", "=", "-", "1", ";", "}", "else", "{", "rtx", "worker", "=", "mova", ";", "rtx", "lab", "=", "gen_label_rtx", "(", ")", ";", "rtx", "wpat", ",", "wpat0", ",", "wpat1", ",", "wsrc", ",", "diff", ";", "do", "{", "worker", "=", "NEXT_INSN", "(", "worker", ")", ";", "gcc_assert", "(", "worker", "&&", "GET_CODE", "(", "worker", ")", "!=", "CODE_LABEL", "&&", "GET_CODE", "(", "worker", ")", "!=", "JUMP_INSN", ")", ";", "}", "while", "(", "GET_CODE", "(", "worker", ")", "==", "NOTE", "||", "recog_memoized", "(", "worker", ")", "!=", "CODE_FOR_casesi_worker_1", ")", ";", "wpat", "=", "PATTERN", "(", "worker", ")", ";", "wpat0", "=", "XVECEXP", "(", "wpat", ",", "0", ",", "0", ")", ";", "wpat1", "=", "XVECEXP", "(", "wpat", ",", "0", ",", "1", ")", ";", "wsrc", "=", "SET_SRC", "(", "wpat0", ")", ";", "PATTERN", "(", "worker", ")", "=", "(", "gen_casesi_worker_2", "(", "SET_DEST", "(", "wpat0", ")", ",", "XVECEXP", "(", "wsrc", ",", "0", ",", "1", ")", ",", "XEXP", "(", "XVECEXP", "(", "wsrc", ",", "0", ",", "2", ")", ",", "0", ")", ",", "lab", ",", "XEXP", "(", "wpat1", ",", "0", ")", ")", ")", ";", "INSN_CODE", "(", "worker", ")", "=", "-", "1", ";", "diff", "=", "gen_rtx_MINUS", "(", "Pmode", ",", "XVECEXP", "(", "SET_SRC", "(", "PATTERN", "(", "mova", ")", ")", ",", "0", ",", "0", ")", ",", "gen_rtx_LABEL_REF", "(", "Pmode", ",", "lab", ")", ")", ";", "diff", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "diff", ")", ",", "UNSPEC_PIC", ")", ";", "SET_SRC", "(", "PATTERN", "(", "mova", ")", ")", "=", "gen_rtx_CONST", "(", "Pmode", ",", "diff", ")", ";", "INSN_CODE", "(", "mova", ")", "=", "-", "1", ";", "}", "}", ""], "natrual_language": ["Fix", "up", "a", "mova", "from", "a", "switch", "that", "went", "out", "of", "range", "."], "TS_V_token": ["sh", "0", "0", "1", "0", "0", "0", "1", "0", "1", "0", "2", "0", "0", "1", "0", "0", "1", "1"], "File": "sh3", "Func": "fixup_mova", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4270, "Length": 278, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "yaml", "::", "MachineFunctionInfo", "*", "RISCVTargetMachine", "::", "convertFuncInfoToYAML", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "auto", "*", "MFI", "=", "MF", ".", "getInfo", "<", "RISCVMachineFunctionInfo", ">", "(", ")", ";", "return", "new", "yaml", "::", "RISCVMachineFunctionInfo", "(", "*", "MFI", ")", ";", "}", ""], "natrual_language": ["Allocate", "and", "initialize", "an", "instance", "of", "the", "YAML", "representation", "of", "the", "MachineFunctionInfo", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "RISCV"], "File": "RISCVTargetMachine10", "Func": "convertFuncInfoToYAML", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4271, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "WebAssemblyTargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "const", "SDLoc", "&", "DL", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "auto", "*", "MFI", "=", "MF", ".", "getInfo", "<", "WebAssemblyFunctionInfo", ">", "(", ")", ";", "if", "(", "!", "CallingConvSupported", "(", "CallConv", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly doesn't support non-C calling conventions\"", ")", ";", "MF", ".", "getRegInfo", "(", ")", ".", "addLiveIn", "(", "WebAssembly", "::", "ARGUMENTS", ")", ";", "for", "(", "const", "ISD", "::", "InputArg", "&", "In", ":", "Ins", ")", "{", "if", "(", "In", ".", "Flags", ".", "isInAlloca", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly hasn't implemented inalloca arguments\"", ")", ";", "if", "(", "In", ".", "Flags", ".", "isNest", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly hasn't implemented nest arguments\"", ")", ";", "if", "(", "In", ".", "Flags", ".", "isInConsecutiveRegs", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly hasn't implemented cons regs arguments\"", ")", ";", "if", "(", "In", ".", "Flags", ".", "isInConsecutiveRegsLast", "(", ")", ")", "fail", "(", "DL", ",", "DAG", ",", "\"WebAssembly hasn't implemented cons regs last arguments\"", ")", ";", "InVals", ".", "push_back", "(", "In", ".", "Used", "?", "DAG", ".", "getNode", "(", "WebAssemblyISD", "::", "ARGUMENT", ",", "DL", ",", "In", ".", "VT", ",", "DAG", ".", "getTargetConstant", "(", "InVals", ".", "size", "(", ")", ",", "DL", ",", "MVT", "::", "i32", ")", ")", ":", "DAG", ".", "getUNDEF", "(", "In", ".", "VT", ")", ")", ";", "MFI", "->", "addParam", "(", "In", ".", "VT", ")", ";", "}", "if", "(", "IsVarArg", ")", "{", "MVT", "PtrVT", "=", "getPointerTy", "(", "MF", ".", "getDataLayout", "(", ")", ")", ";", "unsigned", "VarargVreg", "=", "MF", ".", "getRegInfo", "(", ")", ".", "createVirtualRegister", "(", "getRegClassFor", "(", "PtrVT", ")", ")", ";", "MFI", "->", "setVarargBufferVreg", "(", "VarargVreg", ")", ";", "Chain", "=", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "DL", ",", "VarargVreg", ",", "DAG", ".", "getNode", "(", "WebAssemblyISD", "::", "ARGUMENT", ",", "DL", ",", "PtrVT", ",", "DAG", ".", "getTargetConstant", "(", "Ins", ".", "size", "(", ")", ",", "DL", ",", "MVT", "::", "i32", ")", ")", ")", ";", "MFI", "->", "addParam", "(", "PtrVT", ")", ";", "}", "return", "Chain", ";", "}", ""], "natrual_language": ["This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "the", "Ins", "array", ",", "into", "the", "specified", "DAG", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "ISD::InputArg", "WebAssembly", "\"WebAssembly doesn't support non-C calling conventions\"", "WebAssembly::ARGUMENTS", "ISD::InputArg", "\"WebAssembly hasn't implemented inalloca arguments\"", "\"WebAssembly hasn't implemented nest arguments\"", "\"WebAssembly hasn't implemented cons regs arguments\"", "\"WebAssembly hasn't implemented cons regs last arguments\"", "WebAssemblyISD::ARGUMENT", "MVT::i32", "WebAssemblyISD::ARGUMENT", "MVT::i32"], "File": "WebAssemblyISelLowering3", "Func": "LowerFormalArguments", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4272, "Length": 341, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint32_t", "*", "WDC65816RegisterInfo", "::", "getCallPreservedMask", "(", "CallingConv", "::", "ID", "CC", ")", "const", "{", "return", "CSR_NoRegs_RegMask", ";", "}", ""], "natrual_language": ["Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "."], "TS_V_token": ["WDC65816", "WDC"], "File": "WDC65816RegisterInfo", "Func": "getCallPreservedMask", "Target": "WDC65816", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4273, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "mips_split_msa_insert_d", "(", "rtx", "dest", ",", "rtx", "src1", ",", "rtx", "index", ",", "rtx", "src2", ")", "{", "int", "i", ";", "gcc_assert", "(", "GET_MODE", "(", "dest", ")", "==", "GET_MODE", "(", "src1", ")", ")", ";", "gcc_assert", "(", "(", "GET_MODE", "(", "dest", ")", "==", "V2DImode", "&&", "(", "GET_MODE", "(", "src2", ")", "==", "DImode", "||", "src2", "==", "const0_rtx", ")", ")", "||", "(", "GET_MODE", "(", "dest", ")", "==", "V2DFmode", "&&", "GET_MODE", "(", "src2", ")", "==", "DFmode", ")", ")", ";", "rtx", "low", "=", "mips_subword", "(", "src2", ",", "false", ")", ";", "rtx", "high", "=", "mips_subword", "(", "src2", ",", "true", ")", ";", "rtx", "new_dest", "=", "simplify_gen_subreg", "(", "V4SImode", ",", "dest", ",", "GET_MODE", "(", "dest", ")", ",", "0", ")", ";", "rtx", "new_src1", "=", "simplify_gen_subreg", "(", "V4SImode", ",", "src1", ",", "GET_MODE", "(", "src1", ")", ",", "0", ")", ";", "i", "=", "exact_log2", "(", "INTVAL", "(", "index", ")", ")", ";", "gcc_assert", "(", "i", "!=", "-", "1", ")", ";", "emit_insn", "(", "gen_msa_insert_w", "(", "new_dest", ",", "low", ",", "new_src1", ",", "GEN_INT", "(", "1", "<<", "(", "i", "*", "2", ")", ")", ")", ")", ";", "emit_insn", "(", "gen_msa_insert_w", "(", "new_dest", ",", "high", ",", "new_dest", ",", "GEN_INT", "(", "1", "<<", "(", "i", "*", "2", "+", "1", ")", ")", ")", ")", ";", "}", ""], "natrual_language": ["Split", "a", "INSERT.D", "with", "operand", "DEST", ",", "SRC1.INDEX", "and", "SRC2", "."], "TS_V_token": ["mips", "0", "0", "1", "1", "2", "1", "2", "1"], "File": "mips", "Func": "mips_split_msa_insert_d", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4274, "Length": 194, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SPIRVInstrInfo", "::", "removeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "int", "*", "BytesRemoved", ")", "const", "{", "report_fatal_error", "(", "\"Branch removal not supported, as MBB info not propagated\"", "\" to OpPhi instructions. Try using -O0 instead.\"", ")", ";", "}", ""], "natrual_language": ["Remove", "the", "branching", "code", "at", "the", "end", "of", "the", "specific", "MBB", "."], "TS_V_token": ["SPIRV", "SPIRV", "\"Branch removal not supported, as MBB info not propagated\"", "\" to OpPhi instructions. Try using -O0 instead.\""], "File": "SPIRVInstrInfo", "Func": "removeBranch", "Target": "SPIRV", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4275, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"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": 4276, "Length": 378, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "compact_sda_memory_operand", "(", "rtx", "op", ",", "machine_mode", "mode", ")", "{", "rtx", "addr", ";", "int", "size", ";", "if", "(", "GET_CODE", "(", "op", ")", "!=", "MEM", ")", "return", "false", ";", "if", "(", "mode", "==", "VOIDmode", ")", "mode", "=", "GET_MODE", "(", "op", ")", ";", "size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "if", "(", "size", ">", "UNITS_PER_WORD", ")", "return", "false", ";", "addr", "=", "XEXP", "(", "op", ",", "0", ")", ";", "return", "LEGITIMATE_SMALL_DATA_ADDRESS_P", "(", "addr", ")", ";", "}", ""], "natrual_language": ["volatile", "cache", "option", "still", "to", "be", "handled", "."], "TS_V_token": ["arc", "0"], "File": "arc4", "Func": "compact_sda_memory_operand", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4277, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "frame_insn", "(", "rtx", "x", ")", "{", "int", "i", ";", "rtx", "note", "=", "NULL_RTX", ";", "rtx_insn", "*", "insn", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PARALLEL", ")", "{", "rtx", "part", "=", "XVECEXP", "(", "x", ",", "0", ",", "0", ")", ";", "if", "(", "GET_MODE", "(", "SET_DEST", "(", "part", ")", ")", "==", "DImode", ")", "{", "note", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "XVECLEN", "(", "x", ",", "0", ")", "+", "1", ")", ")", ";", "XVECEXP", "(", "note", ",", "0", ",", "0", ")", "=", "frame_subreg_note", "(", "part", ",", "0", ")", ";", "XVECEXP", "(", "note", ",", "0", ",", "1", ")", "=", "frame_subreg_note", "(", "part", ",", "UNITS_PER_WORD", ")", ";", "for", "(", "i", "=", "XVECLEN", "(", "x", ",", "0", ")", "-", "1", ";", "i", ">=", "1", ";", "i", "--", ")", "{", "part", "=", "copy_rtx", "(", "XVECEXP", "(", "x", ",", "0", ",", "i", ")", ")", ";", "if", "(", "GET_CODE", "(", "part", ")", "==", "SET", ")", "RTX_FRAME_RELATED_P", "(", "part", ")", "=", "1", ";", "XVECEXP", "(", "note", ",", "0", ",", "i", "+", "1", ")", "=", "part", ";", "}", "}", "else", "{", "for", "(", "i", "=", "XVECLEN", "(", "x", ",", "0", ")", "-", "1", ";", "i", ">=", "0", ";", "i", "--", ")", "{", "part", "=", "XVECEXP", "(", "x", ",", "0", ",", "i", ")", ";", "if", "(", "GET_CODE", "(", "part", ")", "==", "SET", ")", "RTX_FRAME_RELATED_P", "(", "part", ")", "=", "1", ";", "}", "}", "}", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "SET", "&&", "GET_MODE", "(", "SET_DEST", "(", "x", ")", ")", "==", "DImode", ")", "note", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "frame_subreg_note", "(", "x", ",", "0", ")", ",", "frame_subreg_note", "(", "x", ",", "UNITS_PER_WORD", ")", ")", ")", ";", "insn", "=", "emit_insn", "(", "x", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "if", "(", "note", ")", "add_reg_note", "(", "insn", ",", "REG_FRAME_RELATED_EXPR", ",", "note", ")", ";", "return", "insn", ";", "}", ""], "natrual_language": ["Emit", "the", "specified", "insn", "and", "mark", "it", "as", "frame", "related", ".", "FIXME", ":", "Rename", "this", "to", "emit_frame_insn", "."], "TS_V_token": ["epiphany", "0", "0", "0", "1", "0", "0", "0", "0", "1", "0", "1", "1", "0", "1", "0", "1", "0", "1", "0", "0", "1", "2", "0", "1"], "File": "epiphany", "Func": "frame_insn", "Target": "epiphany", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4278, "Length": 303, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AArch64TargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InFlag", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "const", "SDLoc", "&", "DL", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ",", "bool", "isThisReturn", ",", "SDValue", "ThisVal", ")", "const", "{", "CCAssignFn", "*", "RetCC", "=", "CallConv", "==", "CallingConv", "::", "WebKit_JS", "?", "RetCC_AArch64_WebKit_JS", ":", "RetCC_AArch64_AAPCS", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "RVLocs", ";", "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "CCInfo", ".", "AnalyzeCallResult", "(", "Ins", ",", "RetCC", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "RVLocs", ".", "size", "(", ")", ";", "++", "i", ")", "{", "CCValAssign", "VA", "=", "RVLocs", "[", "i", "]", ";", "if", "(", "i", "==", "0", "&&", "isThisReturn", ")", "{", "assert", "(", "!", "VA", ".", "needsCustom", "(", ")", "&&", "VA", ".", "getLocVT", "(", ")", "==", "MVT", "::", "i64", "&&", "\"unexpected return calling convention register assignment\"", ")", ";", "InVals", ".", "push_back", "(", "ThisVal", ")", ";", "continue", ";", "}", "SDValue", "Val", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "DL", ",", "VA", ".", "getLocReg", "(", ")", ",", "VA", ".", "getLocVT", "(", ")", ",", "InFlag", ")", ";", "Chain", "=", "Val", ".", "getValue", "(", "1", ")", ";", "InFlag", "=", "Val", ".", "getValue", "(", "2", ")", ";", "switch", "(", "VA", ".", "getLocInfo", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown loc info!\"", ")", ";", "case", "CCValAssign", "::", "Full", ":", "break", ";", "case", "CCValAssign", "::", "BCvt", ":", "Val", "=", "DAG", ".", "getNode", "(", "ISD", "::", "BITCAST", ",", "DL", ",", "VA", ".", "getValVT", "(", ")", ",", "Val", ")", ";", "break", ";", "}", "InVals", ".", "push_back", "(", "Val", ")", ";", "}", "return", "Chain", ";", "}", ""], "natrual_language": ["LowerCallResult", "-", "Lower", "the", "result", "values", "of", "an", "ISD", ":", ":CALL", "into", "the", "appropriate", "copies", "out", "of", "appropriate", "physical", "registers", "."], "TS_V_token": ["AArch64", "AArch64", "ISD::InputArg", "AArch64", "AArch64", "16", "0", "0", "MVT::i64", "\"unexpected return calling convention register assignment\"", "1", "2", "\"Unknown loc info!\"", "ISD::BITCAST"], "File": "AArch64ISelLowering (2)", "Func": "LowerCallResult", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4279, "Length": 283, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "ARMSelectionDAGInfo", "::", "EmitTargetCodeForMemset", "(", "SelectionDAG", "&", "DAG", ",", "DebugLoc", "dl", ",", "SDValue", "Chain", ",", "SDValue", "Dst", ",", "SDValue", "Src", ",", "SDValue", "Size", ",", "unsigned", "Align", ",", "bool", "isVolatile", ",", "MachinePointerInfo", "DstPtrInfo", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "isAAPCS_ABI", "(", ")", "||", "Subtarget", "->", "isTargetDarwin", "(", ")", ")", "return", "SDValue", "(", ")", ";", "const", "ARMTargetLowering", "&", "TLI", "=", "*", "static_cast", "<", "const", "ARMTargetLowering", "*", ">", "(", "DAG", ".", "getTarget", "(", ")", ".", "getTargetLowering", "(", ")", ")", ";", "TargetLowering", "::", "ArgListTy", "Args", ";", "TargetLowering", "::", "ArgListEntry", "Entry", ";", "Type", "*", "IntPtrTy", "=", "TLI", ".", "getDataLayout", "(", ")", "->", "getIntPtrType", "(", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "Entry", ".", "Node", "=", "Dst", ";", "Entry", ".", "Ty", "=", "IntPtrTy", ";", "Args", ".", "push_back", "(", "Entry", ")", ";", "Entry", ".", "Node", "=", "Size", ";", "Entry", ".", "Ty", "=", "IntPtrTy", ";", "Entry", ".", "isSExt", "=", "false", ";", "Args", ".", "push_back", "(", "Entry", ")", ";", "if", "(", "Src", ".", "getValueType", "(", ")", ".", "bitsGT", "(", "MVT", "::", "i32", ")", ")", "Src", "=", "DAG", ".", "getNode", "(", "ISD", "::", "TRUNCATE", ",", "dl", ",", "MVT", "::", "i32", ",", "Src", ")", ";", "else", "Src", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ZERO_EXTEND", ",", "dl", ",", "MVT", "::", "i32", ",", "Src", ")", ";", "Entry", ".", "Node", "=", "Src", ";", "Entry", ".", "Ty", "=", "Type", "::", "getInt32Ty", "(", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "Entry", ".", "isSExt", "=", "true", ";", "Args", ".", "push_back", "(", "Entry", ")", ";", "TargetLowering", "::", "CallLoweringInfo", "CLI", "(", "Chain", ",", "Type", "::", "getVoidTy", "(", "*", "DAG", ".", "getContext", "(", ")", ")", ",", "false", ",", "false", ",", "false", ",", "false", ",", "0", ",", "TLI", ".", "getLibcallCallingConv", "(", "RTLIB", "::", "MEMSET", ")", ",", "false", ",", "false", ",", "false", ",", "DAG", ".", "getExternalSymbol", "(", "TLI", ".", "getLibcallName", "(", "RTLIB", "::", "MEMSET", ")", ",", "TLI", ".", "getPointerTy", "(", ")", ")", ",", "Args", ",", "DAG", ",", "dl", ")", ";", "std", "::", "pair", "<", "SDValue", ",", "SDValue", ">", "CallResult", "=", "TLI", ".", "LowerCallTo", "(", "CLI", ")", ";", "return", "CallResult", ".", "second", ";", "}", ""], "natrual_language": ["Emit", "target-specific", "code", "that", "performs", "a", "memset", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "MVT::i32", "ISD::TRUNCATE", "MVT::i32", "ISD::ZERO_EXTEND", "MVT::i32", "0"], "File": "ARMSelectionDAGInfo24", "Func": "EmitTargetCodeForMemset", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4280, "Length": 336, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "XtensaFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "llvm_unreachable", "(", "\"Couldn't reach here\"", ")", ";", "return", "I", ";", "}", ""], "natrual_language": ["This", "method", "is", "called", "during", "prolog/epilog", "code", "insertion", "to", "eliminate", "call", "frame", "setup", "and", "destroy", "pseudo", "instructions", "(", "but", "only", "if", "the", "Target", "is", "using", "them", ")", "."], "TS_V_token": ["Xtensa", "Xtensa", "\"Couldn't reach here\""], "File": "XtensaFrameLowering", "Func": "eliminateCallFramePseudoInstr", "Target": "Xtensa", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4281, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "m32r_setup_incoming_varargs", "(", "cumulative_args_t", "cum", ",", "const", "function_arg_info", "&", "arg", ",", "int", "*", "pretend_size", ",", "int", "no_rtl", ")", "{", "int", "first_anon_arg", ";", "if", "(", "no_rtl", ")", "return", ";", "gcc_assert", "(", "arg", ".", "mode", "!=", "BLKmode", ")", ";", "first_anon_arg", "=", "(", "ROUND_ADVANCE_CUM", "(", "*", "get_cumulative_args", "(", "cum", ")", ",", "arg", ".", "mode", ",", "arg", ".", "type", ")", "+", "ROUND_ADVANCE_ARG", "(", "arg", ".", "mode", ",", "arg", ".", "type", ")", ")", ";", "if", "(", "first_anon_arg", "<", "M32R_MAX_PARM_REGS", ")", "{", "int", "first_reg_offset", "=", "first_anon_arg", ";", "int", "size", "=", "M32R_MAX_PARM_REGS", "-", "first_reg_offset", ";", "rtx", "regblock", ";", "regblock", "=", "gen_frame_mem", "(", "BLKmode", ",", "plus_constant", "(", "Pmode", ",", "arg_pointer_rtx", ",", "FIRST_PARM_OFFSET", "(", "0", ")", ")", ")", ";", "set_mem_alias_set", "(", "regblock", ",", "get_varargs_alias_set", "(", ")", ")", ";", "move_block_from_reg", "(", "first_reg_offset", ",", "regblock", ",", "size", ")", ";", "*", "pretend_size", "=", "(", "size", "*", "UNITS_PER_WORD", ")", ";", "}", "}", ""], "natrual_language": ["Do", "any", "needed", "setup", "for", "a", "variadic", "function", ".", "For", "the", "M32R", ",", "we", "must", "create", "a", "register", "parameter", "block", ",", "and", "then", "copy", "any", "anonymous", "arguments", "in", "registers", "to", "memory", ".", "CUM", "has", "not", "been", "updated", "for", "the", "last", "named", "argument", "which", "has", "type", "TYPE", "and", "mode", "MODE", ",", "and", "we", "rely", "on", "this", "fact", "."], "TS_V_token": ["m32r", "0"], "File": "m32r", "Func": "m32r_setup_incoming_varargs", "Target": "m32r", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4282, "Length": 140, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsTargetLowering", "::", "getOpndList", "(", "SmallVectorImpl", "<", "SDValue", ">", "&", "Ops", ",", "std", "::", "deque", "<", "std", "::", "pair", "<", "unsigned", ",", "SDValue", ">", ">", "&", "RegsToPass", ",", "bool", "IsPICCall", ",", "bool", "GlobalOrExternal", ",", "bool", "InternalLinkage", ",", "bool", "IsCallReloc", ",", "CallLoweringInfo", "&", "CLI", ",", "SDValue", "Callee", ",", "SDValue", "Chain", ",", "unsigned", "nargs", ")", "const", "{", "Ops", ".", "push_back", "(", "CLI", ".", "DAG", ".", "getConstant", "(", "nargs", ",", "MVT", "::", "i32", ",", "false", ")", ")", ";", "if", "(", "IsPICCall", "&&", "!", "InternalLinkage", "&&", "IsCallReloc", ")", "{", "unsigned", "GPReg", "=", "Subtarget", ".", "isABI_N64", "(", ")", "?", "Mips", "::", "GP_64", ":", "Mips", "::", "GP", ";", "EVT", "Ty", "=", "Subtarget", ".", "isABI_N64", "(", ")", "?", "MVT", "::", "i64", ":", "MVT", "::", "i32", ";", "RegsToPass", ".", "push_back", "(", "std", "::", "make_pair", "(", "GPReg", ",", "getGlobalReg", "(", "CLI", ".", "DAG", ",", "Ty", ")", ")", ")", ";", "}", "SDValue", "InFlag", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "RegsToPass", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "Chain", "=", "CLI", ".", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "CLI", ".", "DL", ",", "RegsToPass", "[", "i", "]", ".", "first", ",", "RegsToPass", "[", "i", "]", ".", "second", ",", "InFlag", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "}", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "RegsToPass", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "Ops", ".", "push_back", "(", "CLI", ".", "DAG", ".", "getRegister", "(", "RegsToPass", "[", "i", "]", ".", "first", ",", "RegsToPass", "[", "i", "]", ".", "second", ".", "getValueType", "(", ")", ")", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "getTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", "->", "getRegisterInfo", "(", ")", ";", "const", "uint32_t", "*", "Mask", "=", "TRI", "->", "getCallPreservedMask", "(", "CLI", ".", "CallConv", ")", ";", "assert", "(", "Mask", "&&", "\"Missing call preserved mask for calling convention\"", ")", ";", "if", "(", "Subtarget", ".", "inMips16HardFloat", "(", ")", ")", "{", "if", "(", "GlobalAddressSDNode", "*", "G", "=", "dyn_cast", "<", "GlobalAddressSDNode", ">", "(", "CLI", ".", "Callee", ")", ")", "{", "llvm", "::", "StringRef", "Sym", "=", "G", "->", "getGlobal", "(", ")", "->", "getName", "(", ")", ";", "Function", "*", "F", "=", "G", "->", "getGlobal", "(", ")", "->", "getParent", "(", ")", "->", "getFunction", "(", "Sym", ")", ";", "if", "(", "F", "&&", "F", "->", "hasFnAttribute", "(", "\"__Mips16RetHelper\"", ")", ")", "{", "Mask", "=", "MipsRegisterInfo", "::", "getMips16RetHelperMask", "(", ")", ";", "}", "}", "}", "Ops", ".", "push_back", "(", "CLI", ".", "DAG", ".", "getRegisterMask", "(", "Mask", ")", ")", ";", "if", "(", "InFlag", ".", "getNode", "(", ")", ")", "Ops", ".", "push_back", "(", "InFlag", ")", ";", "}", ""], "natrual_language": ["This", "function", "fills", "Ops", ",", "which", "is", "the", "list", "of", "operands", "that", "will", "later", "be", "used", "when", "a", "function", "call", "node", "is", "created", "."], "TS_V_token": ["Mips", "Mips", "MVT::i32", "Mips::GP_64", "Mips::GP", "MVT::i64", "MVT::i32", "0", "1", "0", "\"Missing call preserved mask for calling convention\"", "Mips", "\"__Mips16RetHelper\"", "Mips", "Mips"], "File": "MipsISelLowering58", "Func": "getOpndList", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4283, "Length": 411, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AMDGPUTargetLowering", "::", "SplitVectorLoad", "(", "const", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "LoadSDNode", "*", "Load", "=", "cast", "<", "LoadSDNode", ">", "(", "Op", ")", ";", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "if", "(", "VT", ".", "getVectorNumElements", "(", ")", "==", "2", ")", "return", "scalarizeVectorLoad", "(", "Load", ",", "DAG", ")", ";", "SDValue", "BasePtr", "=", "Load", "->", "getBasePtr", "(", ")", ";", "EVT", "PtrVT", "=", "BasePtr", ".", "getValueType", "(", ")", ";", "EVT", "MemVT", "=", "Load", "->", "getMemoryVT", "(", ")", ";", "SDLoc", "SL", "(", "Op", ")", ";", "const", "MachinePointerInfo", "&", "SrcValue", "=", "Load", "->", "getMemOperand", "(", ")", "->", "getPointerInfo", "(", ")", ";", "EVT", "LoVT", ",", "HiVT", ";", "EVT", "LoMemVT", ",", "HiMemVT", ";", "SDValue", "Lo", ",", "Hi", ";", "std", "::", "tie", "(", "LoVT", ",", "HiVT", ")", "=", "DAG", ".", "GetSplitDestVTs", "(", "VT", ")", ";", "std", "::", "tie", "(", "LoMemVT", ",", "HiMemVT", ")", "=", "DAG", ".", "GetSplitDestVTs", "(", "MemVT", ")", ";", "std", "::", "tie", "(", "Lo", ",", "Hi", ")", "=", "DAG", ".", "SplitVector", "(", "Op", ",", "SL", ",", "LoVT", ",", "HiVT", ")", ";", "unsigned", "Size", "=", "LoMemVT", ".", "getStoreSize", "(", ")", ";", "unsigned", "BaseAlign", "=", "Load", "->", "getAlignment", "(", ")", ";", "unsigned", "HiAlign", "=", "MinAlign", "(", "BaseAlign", ",", "Size", ")", ";", "SDValue", "LoLoad", "=", "DAG", ".", "getExtLoad", "(", "Load", "->", "getExtensionType", "(", ")", ",", "SL", ",", "LoVT", ",", "Load", "->", "getChain", "(", ")", ",", "BasePtr", ",", "SrcValue", ",", "LoMemVT", ",", "BaseAlign", ",", "Load", "->", "getMemOperand", "(", ")", "->", "getFlags", "(", ")", ")", ";", "SDValue", "HiPtr", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ADD", ",", "SL", ",", "PtrVT", ",", "BasePtr", ",", "DAG", ".", "getConstant", "(", "Size", ",", "SL", ",", "PtrVT", ")", ")", ";", "SDValue", "HiLoad", "=", "DAG", ".", "getExtLoad", "(", "Load", "->", "getExtensionType", "(", ")", ",", "SL", ",", "HiVT", ",", "Load", "->", "getChain", "(", ")", ",", "HiPtr", ",", "SrcValue", ".", "getWithOffset", "(", "LoMemVT", ".", "getStoreSize", "(", ")", ")", ",", "HiMemVT", ",", "HiAlign", ",", "Load", "->", "getMemOperand", "(", ")", "->", "getFlags", "(", ")", ")", ";", "SDValue", "Ops", "[", "]", "=", "{", "DAG", ".", "getNode", "(", "ISD", "::", "CONCAT_VECTORS", ",", "SL", ",", "VT", ",", "LoLoad", ",", "HiLoad", ")", ",", "DAG", ".", "getNode", "(", "ISD", "::", "TokenFactor", ",", "SL", ",", "MVT", "::", "Other", ",", "LoLoad", ".", "getValue", "(", "1", ")", ",", "HiLoad", ".", "getValue", "(", "1", ")", ")", "}", ";", "return", "DAG", ".", "getMergeValues", "(", "Ops", ",", "SL", ")", ";", "}", ""], "natrual_language": ["Split", "a", "vector", "load", "into", "2", "loads", "of", "half", "the", "vector", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "2", "ISD::ADD", "ISD::CONCAT_VECTORS", "ISD::TokenFactor", "MVT::Other", "1", "1"], "File": "AMDGPUISelLowering102", "Func": "SplitVectorLoad", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4284, "Length": 385, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "printInstruction", "(", "MI", ")", ";", "OutStreamer", ".", "AddBlankLine", "(", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["Alpha"], "File": "AlphaAsmPrinter4", "Func": "EmitInstruction", "Target": "Alpha", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4285, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "inline", "bool", "mode_supports_vsx_dform_quad", "(", "machine_mode", "mode", ")", "{", "return", "(", "(", "reg_addr", "[", "mode", "]", ".", "addr_mask", "[", "RELOAD_REG_ANY", "]", "&", "RELOAD_REG_QUAD_OFFSET", ")", "!=", "0", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "we", "have", "D-form", "addressing", "in", "VSX", "registers", ".", "This", "addressing", "is", "more", "limited", "than", "normal", "d-form", "addressing", "in", "that", "the", "offset", "must", "be", "aligned", "on", "a", "16-byte", "boundary", "."], "TS_V_token": ["rs6000", "0"], "File": "rs60006", "Func": "mode_supports_vsx_dform_quad", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4286, "Length": 29, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "mcore_num_zeros", "(", "int", "mask", ")", "{", "return", "32", "-", "mcore_num_ones", "(", "mask", ")", ";", "}", ""], "natrual_language": ["Count", "the", "number", "of", "zeros", "in", "mask", "."], "TS_V_token": ["mcore", "32"], "File": "mcore3", "Func": "mcore_num_zeros", "Target": "mcore", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4287, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCLoopDataPrefetch", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "LI", "=", "&", "getAnalysis", "<", "LoopInfoWrapperPass", ">", "(", ")", ".", "getLoopInfo", "(", ")", ";", "SE", "=", "&", "getAnalysis", "<", "ScalarEvolutionWrapperPass", ">", "(", ")", ".", "getSE", "(", ")", ";", "DL", "=", "&", "F", ".", "getParent", "(", ")", "->", "getDataLayout", "(", ")", ";", "AC", "=", "&", "getAnalysis", "<", "AssumptionCacheTracker", ">", "(", ")", ".", "getAssumptionCache", "(", "F", ")", ";", "TTI", "=", "&", "getAnalysis", "<", "TargetTransformInfoWrapperPass", ">", "(", ")", ".", "getTTI", "(", "F", ")", ";", "assert", "(", "TTI", "->", "getCacheLineSize", "(", ")", "&&", "\"Cache line size is not set for target\"", ")", ";", "assert", "(", "TTI", "->", "getPrefetchDistance", "(", ")", "&&", "\"Prefetch distance is not set for target\"", ")", ";", "bool", "MadeChange", "=", "false", ";", "for", "(", "auto", "I", "=", "LI", "->", "begin", "(", ")", ",", "IE", "=", "LI", "->", "end", "(", ")", ";", "I", "!=", "IE", ";", "++", "I", ")", "for", "(", "auto", "L", "=", "df_begin", "(", "*", "I", ")", ",", "LE", "=", "df_end", "(", "*", "I", ")", ";", "L", "!=", "LE", ";", "++", "L", ")", "MadeChange", "|=", "runOnLoop", "(", "*", "L", ")", ";", "return", "MadeChange", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["PowerPC", "PPC", "\"Cache line size is not set for target\"", "\"Prefetch distance is not set for target\""], "File": "PPCLoopDataPrefetch2", "Func": "runOnFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4288, "Length": 172, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "split_adds_subs", "(", "enum", "machine_mode", "mode", ",", "rtx", "*", "operands", ")", "{", "HOST_WIDE_INT", "val", "=", "INTVAL", "(", "operands", "[", "1", "]", ")", ";", "rtx", "reg", "=", "operands", "[", "0", "]", ";", "HOST_WIDE_INT", "sign", "=", "1", ";", "HOST_WIDE_INT", "amount", ";", "rtx", "(", "*", "gen_add", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ";", "if", "(", "val", "<", "0", ")", "{", "val", "=", "-", "val", ";", "sign", "=", "-", "1", ";", "}", "switch", "(", "mode", ")", "{", "case", "HImode", ":", "gen_add", "=", "gen_addhi3", ";", "break", ";", "case", "SImode", ":", "gen_add", "=", "gen_addsi3", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "for", "(", "amount", "=", "(", "TARGET_H8300H", "||", "TARGET_H8300S", ")", "?", "4", ":", "2", ";", "amount", ">", "0", ";", "amount", "/=", "2", ")", "{", "for", "(", ";", "val", ">=", "amount", ";", "val", "-=", "amount", ")", "emit_insn", "(", "gen_add", "(", "reg", ",", "reg", ",", "GEN_INT", "(", "sign", "*", "amount", ")", ")", ")", ";", "}", "return", ";", "}", ""], "natrual_language": ["Split", "an", "add", "of", "a", "small", "constant", "into", "two", "adds/subs", "insns", "."], "TS_V_token": ["h8300", "1", "0", "1", "0", "1", "4", "2", "0", "2"], "File": "h83003", "Func": "split_adds_subs", "Target": "h8300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4289, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64PassConfig", "::", "addCodeGenPrepare", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createTypePromotionPass", "(", ")", ")", ";", "TargetPassConfig", "::", "addCodeGenPrepare", "(", ")", ";", "}", ""], "natrual_language": ["Add", "pass", "to", "prepare", "the", "LLVM", "IR", "for", "code", "generation", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64TargetMachine1", "Func": "addCodeGenPrepare", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4290, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "X86TargetLowering", "::", "getSafeStackPointerLocation", "(", "IRBuilder", "<", ">", "&", "IRB", ")", "const", "{", "if", "(", "Subtarget", ".", "getTargetTriple", "(", ")", ".", "isOSContiki", "(", ")", ")", "return", "getDefaultSafeStackPointerLocation", "(", "IRB", ",", "false", ")", ";", "if", "(", "Subtarget", ".", "isTargetAndroid", "(", ")", ")", "{", "unsigned", "Offset", "=", "(", "Subtarget", ".", "is64Bit", "(", ")", ")", "?", "0x48", ":", "0x24", ";", "return", "SegmentOffset", "(", "IRB", ",", "Offset", ",", "getAddressSpace", "(", ")", ")", ";", "}", "if", "(", "Subtarget", ".", "isTargetFuchsia", "(", ")", ")", "{", "return", "SegmentOffset", "(", "IRB", ",", "0x18", ",", "257", ")", ";", "}", "return", "TargetLowering", "::", "getSafeStackPointerLocation", "(", "IRB", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "stores", "SafeStack", "pointer", "at", "a", "fixed", "offset", "in", "some", "non-standard", "address", "space", ",", "and", "populates", "the", "address", "space", "and", "offset", "as", "appropriate", "."], "TS_V_token": ["X86", "X86", "0x48", "0x24", "0x18", "257"], "File": "X86ISelLowering115", "Func": "getSafeStackPointerLocation", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4291, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "ARMSubtarget", "&", "getSubtarget", "(", ")", "const", "{", "return", "Subtarget", ";", "}", ""], "natrual_language": ["getSubtarget", "-", "Return", "the", "subtarget", "for", "which", "this", "machine", "code", "is", "being", "compiled", "."], "TS_V_token": ["ARM", "ARM"], "File": "ARMBaseInstrInfo (2)1", "Func": "getSubtarget", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4292, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "MCInst", "&", "Res", ")", "const", "{", "assert", "(", "0", "&&", "\"relaxInstruction() unimplemented\"", ")", ";", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["Sparc", "0", "\"relaxInstruction() unimplemented\""], "File": "SparcAsmBackend12", "Func": "relaxInstruction", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4293, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUAnnotateKernelFeatures", "::", "runOnSCC", "(", "CallGraphSCC", "&", "SCC", ")", "{", "bool", "Changed", "=", "false", ";", "for", "(", "CallGraphNode", "*", "I", ":", "SCC", ")", "{", "if", "(", "I", "->", "getNumReferences", "(", ")", ")", "NodeList", ".", "push_back", "(", "I", ")", ";", "else", "{", "processUniformWorkGroupAttribute", "(", ")", ";", "NodeList", ".", "clear", "(", ")", ";", "}", "Function", "*", "F", "=", "I", "->", "getFunction", "(", ")", ";", "if", "(", "!", "F", "||", "F", "->", "isDeclaration", "(", ")", ")", "continue", ";", "Changed", "|=", "addFeatureAttributes", "(", "*", "F", ")", ";", "}", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnSCC", "-", "This", "method", "should", "be", "implemented", "by", "the", "subclass", "to", "perform", "whatever", "action", "is", "necessary", "for", "the", "specified", "SCC", "."], "TS_V_token": ["AMDGPU", "AMDGPU"], "File": "AMDGPUAnnotateKernelFeatures17", "Func": "runOnSCC", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4294, "Length": 88, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86TargetLowering", "::", "hasBitTest", "(", "SDValue", "X", ",", "SDValue", "Y", ")", "const", "{", "return", "X", ".", "getValueType", "(", ")", ".", "isScalarInteger", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "has", "a", "bit-test", "instruction", ":", "(", "X", "&", "(", "1", "<", "<", "Y", ")", ")", "==/", "!", "=", "0", "This", "knowledge", "can", "be", "used", "to", "prevent", "breaking", "the", "pattern", ",", "or", "creating", "it", "if", "it", "could", "be", "recognized", "."], "TS_V_token": ["X86", "X86"], "File": "X86ISelLowering (2)5", "Func": "hasBitTest", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4295, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "XNCMInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ")", "{", "printInstruction", "(", "MI", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["XNCM", "XNCM"], "File": "XNCMInstPrinter", "Func": "printInst", "Target": "XNCM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4296, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "arm_frame_pointer_required", "(", "void", ")", "{", "return", "(", "cfun", "->", "has_nonlocal_label", "||", "SUBTARGET_FRAME_POINTER_REQUIRED", "||", "(", "TARGET_ARM", "&&", "TARGET_APCS_FRAME", "&&", "!", "leaf_function_p", "(", ")", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FRAME_POINTER_REQUIRED", "."], "TS_V_token": ["arm"], "File": "arm4", "Func": "arm_frame_pointer_required", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4297, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "initialize", "(", "MF", ")", ";", "bool", "ZExtSeqExist", ",", "ZExtExist", ";", "ZExtSeqExist", "=", "eliminateZExtSeq", "(", ")", ";", "ZExtExist", "=", "eliminateZExt", "(", ")", ";", "return", "ZExtSeqExist", "||", "ZExtExist", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["BPF"], "File": "BPFMIPeephole11", "Func": "runOnMachineFunction", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4298, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "DataLayout", "*", "getDataLayout", "(", ")", "const", "override", "{", "return", "&", "DL", ";", "}", ""], "natrual_language": ["Return", "the", "DataLayout", "associated", "with", "the", "module", "this", "SCEV", "instance", "is", "operating", "on", "."], "TS_V_token": ["GBZ80"], "File": "GBZ80TargetMachine (2)", "Func": "getDataLayout", "Target": "GBZ80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4299, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_setup_incoming_varargs", "(", "cumulative_args_t", "pcum_v", ",", "machine_mode", "mode", ",", "tree", "type", ",", "int", "*", "pretend_size", ",", "int", "second_time", "ATTRIBUTE_UNUSED", ")", "{", "CUMULATIVE_ARGS", "*", "pcum", "=", "get_cumulative_args", "(", "pcum_v", ")", ";", "int", "nregs", ";", "cfun", "->", "machine", "->", "uses_anonymous_args", "=", "1", ";", "if", "(", "pcum", "->", "pcs_variant", "<=", "ARM_PCS_AAPCS_LOCAL", ")", "{", "nregs", "=", "pcum", "->", "aapcs_ncrn", ";", "if", "(", "nregs", "&", "1", ")", "{", "int", "res", "=", "arm_needs_doubleword_align", "(", "mode", ",", "type", ")", ";", "if", "(", "res", "<", "0", "&&", "warn_psabi", ")", "inform", "(", "input_location", ",", "\"parameter passing for argument of \"", "\"type %qT changed in GCC 7.1\"", ",", "type", ")", ";", "else", "if", "(", "res", ">", "0", ")", "{", "nregs", "++", ";", "if", "(", "res", ">", "1", "&&", "warn_psabi", ")", "inform", "(", "input_location", ",", "\"parameter passing for argument of type \"", "\"%qT changed in GCC 9.1\"", ",", "type", ")", ";", "}", "}", "}", "else", "nregs", "=", "pcum", "->", "nregs", ";", "if", "(", "nregs", "<", "NUM_ARG_REGS", ")", "*", "pretend_size", "=", "(", "NUM_ARG_REGS", "-", "nregs", ")", "*", "UNITS_PER_WORD", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_SETUP_INCOMING_VARARGS", ".", "On", "the", "ARM", ",", "PRETEND_SIZE", "is", "set", "in", "order", "to", "have", "the", "prologue", "push", "the", "last", "named", "arg", "and", "all", "anonymous", "args", "onto", "the", "stack", ".", "XXX", "I", "know", "the", "prologue", "should", "n't", "be", "pushing", "registers", ",", "but", "it", "is", "faster", "that", "way", "."], "TS_V_token": ["arm", "1", "1", "0", "\"parameter passing for argument of \"", "\"type %qT changed in GCC 7.1\"", "0", "1", "\"parameter passing for argument of type \"", "\"%qT changed in GCC 9.1\""], "File": "arm8", "Func": "arm_setup_incoming_varargs", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4300, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Z80AsmPrinter", "::", "doFinalization", "(", "Module", "&", "M", ")", "{", "bool", "res", "=", "AsmPrinter", "::", "doFinalization", "(", "M", ")", ";", "return", "res", ";", "}", ""], "natrual_language": ["doFinalization", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "any", "necessary", "clean", "up", "after", "all", "passes", "have", "run", "."], "TS_V_token": ["Z80", "Z80"], "File": "Z80AsmPrinter (2)", "Func": "doFinalization", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4301, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "rs6000_insn_for_insert_mask", "(", "machine_mode", "mode", ",", "rtx", "*", "operands", ",", "bool", "dot", ")", "{", "int", "nb", ",", "ne", ";", "if", "(", "!", "rs6000_is_valid_mask", "(", "operands", "[", "3", "]", ",", "&", "nb", ",", "&", "ne", ",", "mode", ")", ")", "gcc_unreachable", "(", ")", ";", "if", "(", "TARGET_POWERPC64", "&&", "(", "!", "dot", "||", "mode", "==", "DImode", ")", "&&", "GET_CODE", "(", "operands", "[", "4", "]", ")", "!=", "LSHIFTRT", "&&", "ne", "==", "INTVAL", "(", "operands", "[", "2", "]", ")", ")", "{", "operands", "[", "3", "]", "=", "GEN_INT", "(", "63", "-", "nb", ")", ";", "if", "(", "dot", ")", "return", "\"rldimi. %0,%1,%2,%3\"", ";", "return", "\"rldimi %0,%1,%2,%3\"", ";", "}", "if", "(", "nb", "<", "32", "&&", "ne", "<", "32", ")", "{", "if", "(", "GET_CODE", "(", "operands", "[", "4", "]", ")", "==", "LSHIFTRT", "&&", "INTVAL", "(", "operands", "[", "2", "]", ")", ")", "operands", "[", "2", "]", "=", "GEN_INT", "(", "32", "-", "INTVAL", "(", "operands", "[", "2", "]", ")", ")", ";", "operands", "[", "3", "]", "=", "GEN_INT", "(", "31", "-", "nb", ")", ";", "operands", "[", "4", "]", "=", "GEN_INT", "(", "31", "-", "ne", ")", ";", "if", "(", "dot", ")", "return", "\"rlwimi. %0,%1,%2,%3,%4\"", ";", "return", "\"rlwimi %0,%1,%2,%3,%4\"", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "instruction", "template", "for", "an", "insert", "with", "mask", "in", "mode", "MODE", ",", "with", "operands", "OPERANDS", ".", "If", "DOT", "is", "true", ",", "make", "it", "a", "record-form", "instruction", "."], "TS_V_token": ["powerpcspe", "3", "4", "2", "3", "63", "\"rldimi. %0,%1,%2,%3\"", "\"rldimi %0,%1,%2,%3\"", "32", "32", "4", "2", "2", "32", "2", "3", "31", "4", "31", "\"rlwimi. %0,%1,%2,%3,%4\"", "\"rlwimi %0,%1,%2,%3,%4\""], "File": "powerpcspe", "Func": "rs6000_insn_for_insert_mask", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4302, "Length": 190, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx_insn", "*", "sh_peephole_emit_move_insn", "(", "rtx", "dst", ",", "rtx", "src", ")", "{", "return", "sh_check_add_incdec_notes", "(", "emit_move_insn", "(", "dst", ",", "sh_remove_overlapping_post_inc", "(", "dst", ",", "src", ")", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "move", "insn", "that", "is", "safe", "to", "be", "used", "in", "peephole", "patterns", "."], "TS_V_token": ["sh"], "File": "sh", "Func": "sh_peephole_emit_move_insn", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4303, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isEqual", "(", "const", "SlotWithTag", "&", "A", ",", "const", "SlotWithTag", "&", "B", ")", "{", "return", "A", "==", "B", ";", "}", ""], "natrual_language": ["isEqual", "-", "Compares", "two", "trees", "for", "structural", "equality", "and", "returns", "true", "if", "they", "are", "equal", "."], "TS_V_token": ["AArch64"], "File": "AArch64StackTaggingPreRA1", "Func": "isEqual", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4304, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "BTFDebug", "::", "InstLower", "(", "const", "MachineInstr", "*", "MI", ",", "MCInst", "&", "OutMI", ")", "{", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "BPF", "::", "LD_imm64", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "1", ")", ";", "if", "(", "MO", ".", "isGlobal", "(", ")", ")", "{", "const", "GlobalValue", "*", "GVal", "=", "MO", ".", "getGlobal", "(", ")", ";", "auto", "*", "GVar", "=", "dyn_cast", "<", "GlobalVariable", ">", "(", "GVal", ")", ";", "if", "(", "GVar", ")", "{", "int64_t", "Imm", ";", "uint32_t", "Reloc", ";", "if", "(", "GVar", "->", "hasAttribute", "(", "BPFCoreSharedInfo", "::", "AmaAttr", ")", "||", "GVar", "->", "hasAttribute", "(", "BPFCoreSharedInfo", "::", "TypeIdAttr", ")", ")", "{", "Imm", "=", "PatchImms", "[", "GVar", "]", ".", "first", ";", "Reloc", "=", "PatchImms", "[", "GVar", "]", ".", "second", ";", "}", "else", "{", "return", "false", ";", "}", "if", "(", "Reloc", "==", "BPFCoreSharedInfo", "::", "ENUM_VALUE_EXISTENCE", "||", "Reloc", "==", "BPFCoreSharedInfo", "::", "ENUM_VALUE", ")", "OutMI", ".", "setOpcode", "(", "BPF", "::", "LD_imm64", ")", ";", "else", "OutMI", ".", "setOpcode", "(", "BPF", "::", "MOV_ri", ")", ";", "OutMI", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", ";", "OutMI", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "Imm", ")", ")", ";", "return", "true", ";", "}", "}", "}", "else", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "BPF", "::", "CORE_MEM", "||", "MI", "->", "getOpcode", "(", ")", "==", "BPF", "::", "CORE_ALU32_MEM", "||", "MI", "->", "getOpcode", "(", ")", "==", "BPF", "::", "CORE_SHIFT", ")", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "3", ")", ";", "if", "(", "MO", ".", "isGlobal", "(", ")", ")", "{", "const", "GlobalValue", "*", "GVal", "=", "MO", ".", "getGlobal", "(", ")", ";", "auto", "*", "GVar", "=", "dyn_cast", "<", "GlobalVariable", ">", "(", "GVal", ")", ";", "if", "(", "GVar", "&&", "GVar", "->", "hasAttribute", "(", "BPFCoreSharedInfo", "::", "AmaAttr", ")", ")", "{", "uint32_t", "Imm", "=", "PatchImms", "[", "GVar", "]", ".", "first", ";", "OutMI", ".", "setOpcode", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ")", ";", "if", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "isImm", "(", ")", ")", "OutMI", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ")", ")", ";", "else", "OutMI", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", ";", "OutMI", ".", "addOperand", "(", "MCOperand", "::", "createReg", "(", "MI", "->", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ")", ")", ";", "OutMI", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "Imm", ")", ")", ";", "return", "true", ";", "}", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Emit", "proper", "patchable", "instructions", "."], "TS_V_token": ["BPF", "BPF::LD_imm64", "1", "BPFCoreSharedInfo::AmaAttr", "BPFCoreSharedInfo::TypeIdAttr", "BPFCoreSharedInfo::ENUM_VALUE_EXISTENCE", "BPFCoreSharedInfo::ENUM_VALUE", "BPF::LD_imm64", "BPF::MOV_ri", "0", "BPF::CORE_MEM", "BPF::CORE_ALU32_MEM", "BPF::CORE_SHIFT", "3", "BPFCoreSharedInfo::AmaAttr", "1", "0", "0", "0", "2"], "File": "BTFDebug24", "Func": "InstLower", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4305, "Length": 418, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "SparcTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'r'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "SP", "::", "IntRegsRegClass", ")", ";", "}", "}", "else", "if", "(", "!", "Constraint", ".", "empty", "(", ")", "&&", "Constraint", ".", "size", "(", ")", "<=", "5", "&&", "Constraint", "[", "0", "]", "==", "'{'", "&&", "*", "(", "Constraint", ".", "end", "(", ")", "-", "1", ")", "==", "'}'", ")", "{", "StringRef", "name", "(", "Constraint", ".", "data", "(", ")", "+", "1", ",", "Constraint", ".", "size", "(", ")", "-", "2", ")", ";", "uint64_t", "intVal", "=", "0", ";", "if", "(", "name", ".", "substr", "(", "0", ",", "1", ")", ".", "equals", "(", "\"r\"", ")", "&&", "!", "name", ".", "substr", "(", "1", ")", ".", "getAsInteger", "(", "10", ",", "intVal", ")", "&&", "intVal", "<=", "31", ")", "{", "const", "char", "regTypes", "[", "]", "=", "{", "'g'", ",", "'o'", ",", "'l'", ",", "'i'", "}", ";", "char", "regType", "=", "regTypes", "[", "intVal", "/", "8", "]", ";", "char", "regIdx", "=", "'0'", "+", "(", "intVal", "%", "8", ")", ";", "char", "tmp", "[", "]", "=", "{", "'{'", ",", "regType", ",", "regIdx", ",", "'}'", ",", "0", "}", ";", "std", "::", "string", "newConstraint", "=", "std", "::", "string", "(", "tmp", ")", ";", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "newConstraint", ",", "VT", ")", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["Sparc", "Sparc", "1", "0", "0U", "SP::IntRegsRegClass", "5", "0", "1", "1", "2", "0", "0", "1", "\"r\"", "1", "10", "31", "8", "8", "0"], "File": "SparcISelLowering18", "Func": "getRegForInlineAsmConstraint", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4306, "Length": 252, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MipsAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "if", "(", "MI", "->", "isDebugValue", "(", ")", ")", "{", "SmallString", "<", "128", ">", "Str", ";", "raw_svector_ostream", "OS", "(", "Str", ")", ";", "PrintDebugValueComment", "(", "MI", ",", "OS", ")", ";", "return", ";", "}", "unsigned", "Opc", "=", "MI", "->", "getOpcode", "(", ")", ";", "MCInst", "TmpInst0", ";", "SmallVector", "<", "MCInst", ",", "4", ">", "MCInsts", ";", "switch", "(", "Opc", ")", "{", "case", "Mips", "::", "ULW", ":", "case", "Mips", "::", "ULH", ":", "case", "Mips", "::", "ULHu", ":", "case", "Mips", "::", "USW", ":", "case", "Mips", "::", "USH", ":", "case", "Mips", "::", "ULW_P8", ":", "case", "Mips", "::", "ULH_P8", ":", "case", "Mips", "::", "ULHu_P8", ":", "case", "Mips", "::", "USW_P8", ":", "case", "Mips", "::", "USH_P8", ":", "case", "Mips", "::", "ULD", ":", "case", "Mips", "::", "ULW64", ":", "case", "Mips", "::", "ULH64", ":", "case", "Mips", "::", "ULHu64", ":", "case", "Mips", "::", "USD", ":", "case", "Mips", "::", "USW64", ":", "case", "Mips", "::", "USH64", ":", "case", "Mips", "::", "ULD_P8", ":", "case", "Mips", "::", "ULW64_P8", ":", "case", "Mips", "::", "ULH64_P8", ":", "case", "Mips", "::", "ULHu64_P8", ":", "case", "Mips", "::", "USD_P8", ":", "case", "Mips", "::", "USW64_P8", ":", "case", "Mips", "::", "USH64_P8", ":", "{", "if", "(", "OutStreamer", ".", "hasRawTextSupport", "(", ")", ")", "{", "EmitInstrWithMacroNoAT", "(", "MI", ")", ";", "return", ";", "}", "MCInstLowering", ".", "LowerUnalignedLoadStore", "(", "MI", ",", "MCInsts", ")", ";", "for", "(", "SmallVector", "<", "MCInst", ",", "4", ">", "::", "iterator", "I", "=", "MCInsts", ".", "begin", "(", ")", ";", "I", "!=", "MCInsts", ".", "end", "(", ")", ";", "++", "I", ")", "OutStreamer", ".", "EmitInstruction", "(", "*", "I", ")", ";", "return", ";", "}", "case", "Mips", "::", "CPRESTORE", ":", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "0", ")", ";", "assert", "(", "MO", ".", "isImm", "(", ")", "&&", "\"CPRESTORE's operand must be an immediate.\"", ")", ";", "int64_t", "Offset", "=", "MO", ".", "getImm", "(", ")", ";", "if", "(", "OutStreamer", ".", "hasRawTextSupport", "(", ")", ")", "{", "if", "(", "!", "isInt", "<", "16", ">", "(", "Offset", ")", ")", "{", "EmitInstrWithMacroNoAT", "(", "MI", ")", ";", "return", ";", "}", "}", "else", "{", "MCInstLowering", ".", "LowerCPRESTORE", "(", "Offset", ",", "MCInsts", ")", ";", "for", "(", "SmallVector", "<", "MCInst", ",", "4", ">", "::", "iterator", "I", "=", "MCInsts", ".", "begin", "(", ")", ";", "I", "!=", "MCInsts", ".", "end", "(", ")", ";", "++", "I", ")", "OutStreamer", ".", "EmitInstruction", "(", "*", "I", ")", ";", "return", ";", "}", "break", ";", "}", "case", "Mips", "::", "SETGP01", ":", "{", "MCInstLowering", ".", "LowerSETGP01", "(", "MI", ",", "MCInsts", ")", ";", "for", "(", "SmallVector", "<", "MCInst", ",", "4", ">", "::", "iterator", "I", "=", "MCInsts", ".", "begin", "(", ")", ";", "I", "!=", "MCInsts", ".", "end", "(", ")", ";", "++", "I", ")", "OutStreamer", ".", "EmitInstruction", "(", "*", "I", ")", ";", "return", ";", "}", "default", ":", "break", ";", "}", "MCInstLowering", ".", "Lower", "(", "MI", ",", "TmpInst0", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "TmpInst0", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["Mips", "Mips", "128", "4", "Mips::ULW", "Mips::ULH", "Mips::ULHu", "Mips::USW", "Mips::USH", "Mips::ULW_P8", "Mips::ULH_P8", "Mips::ULHu_P8", "Mips::USW_P8", "Mips::USH_P8", "Mips::ULD", "Mips::ULW64", "Mips::ULH64", "Mips::ULHu64", "Mips::USD", "Mips::USW64", "Mips::USH64", "Mips::ULD_P8", "Mips::ULW64_P8", "Mips::ULH64_P8", "Mips::ULHu64_P8", "Mips::USD_P8", "Mips::USW64_P8", "Mips::USH64_P8", "4", "Mips::CPRESTORE", "0", "\"CPRESTORE's operand must be an immediate.\"", "16", "4", "Mips::SETGP01", "4"], "File": "MipsAsmPrinter55", "Func": "EmitInstruction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4307, "Length": 453, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "compute_frame_addr", "(", "int", "offset_from_fp", ",", "int", "*", "next_scratch_regno", ")", "{", "rtx", "base_reg_rtx", ",", "tmp_reg_rtx", ",", "offset_rtx", ";", "int", "offset_from_base", ";", "if", "(", "frame_pointer_needed", ")", "{", "base_reg_rtx", "=", "hard_frame_pointer_rtx", ";", "offset_from_base", "=", "offset_from_fp", ";", "}", "else", "{", "int", "offset_from_sp", "=", "compute_total_frame_size", "(", ")", "+", "offset_from_fp", ";", "offset_from_base", "=", "offset_from_sp", ";", "base_reg_rtx", "=", "stack_pointer_rtx", ";", "}", "if", "(", "offset_from_base", "==", "0", ")", "return", "base_reg_rtx", ";", "tmp_reg_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "(", "*", "next_scratch_regno", ")", "--", ")", ";", "offset_rtx", "=", "GEN_INT", "(", "offset_from_base", ")", ";", "if", "(", "!", "add_operand", "(", "offset_rtx", ",", "Pmode", ")", ")", "{", "expand_set_cint64", "(", "tmp_reg_rtx", ",", "offset_rtx", ")", ";", "offset_rtx", "=", "tmp_reg_rtx", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "tmp_reg_rtx", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "base_reg_rtx", ",", "offset_rtx", ")", ")", ")", ";", "return", "tmp_reg_rtx", ";", "}", ""], "natrual_language": ["Returns", "an", "rtx", "for", "a", "stack", "slot", "at", "'FP", "+", "offset_from_fp", "'", ".", "If", "there", "is", "a", "frame", "pointer", ",", "it", "computes", "the", "value", "relative", "to", "that", ".", "Otherwise", "it", "uses", "the", "stack", "pointer", "."], "TS_V_token": ["tilegx", "0"], "File": "tilegx2", "Func": "compute_frame_addr", "Target": "tilegx", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 4308, "Length": 131, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_split_simd_move", "(", "rtx", "dst", ",", "rtx", "src", ")", "{", "machine_mode", "src_mode", "=", "GET_MODE", "(", "src", ")", ";", "machine_mode", "dst_mode", "=", "GET_MODE", "(", "dst", ")", ";", "gcc_assert", "(", "VECTOR_MODE_P", "(", "dst_mode", ")", ")", ";", "if", "(", "REG_P", "(", "dst", ")", "&&", "REG_P", "(", "src", ")", ")", "{", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ")", ";", "gcc_assert", "(", "VECTOR_MODE_P", "(", "src_mode", ")", ")", ";", "switch", "(", "src_mode", ")", "{", "case", "V16QImode", ":", "gen", "=", "gen_aarch64_split_simd_movv16qi", ";", "break", ";", "case", "V8HImode", ":", "gen", "=", "gen_aarch64_split_simd_movv8hi", ";", "break", ";", "case", "V4SImode", ":", "gen", "=", "gen_aarch64_split_simd_movv4si", ";", "break", ";", "case", "V2DImode", ":", "gen", "=", "gen_aarch64_split_simd_movv2di", ";", "break", ";", "case", "V8HFmode", ":", "gen", "=", "gen_aarch64_split_simd_movv8hf", ";", "break", ";", "case", "V4SFmode", ":", "gen", "=", "gen_aarch64_split_simd_movv4sf", ";", "break", ";", "case", "V2DFmode", ":", "gen", "=", "gen_aarch64_split_simd_movv2df", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "emit_insn", "(", "gen", "(", "dst", ",", "src", ")", ")", ";", "return", ";", "}", "}", ""], "natrual_language": ["Split", "a", "complex", "SIMD", "move", "."], "TS_V_token": ["aarch64"], "File": "aarch643", "Func": "aarch64_split_simd_move", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4309, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "NVPTXTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "case", "'c'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "NVPTX", "::", "Int8RegsRegClass", ")", ";", "case", "'h'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "NVPTX", "::", "Int16RegsRegClass", ")", ";", "case", "'r'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "NVPTX", "::", "Int32RegsRegClass", ")", ";", "case", "'l'", ":", "case", "'N'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "NVPTX", "::", "Int64RegsRegClass", ")", ";", "case", "'f'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "NVPTX", "::", "Float32RegsRegClass", ")", ";", "case", "'d'", ":", "return", "std", "::", "make_pair", "(", "0U", ",", "&", "NVPTX", "::", "Float64RegsRegClass", ")", ";", "}", "}", "return", "TargetLowering", "::", "getRegForInlineAsmConstraint", "(", "Constraint", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Given", "a", "physical", "register", "constraint", "(", "e.g", "."], "TS_V_token": ["NVPTX", "NVPTX", "1", "0", "0U", "NVPTX::Int8RegsRegClass", "0U", "NVPTX::Int16RegsRegClass", "0U", "NVPTX::Int32RegsRegClass", "0U", "NVPTX::Int64RegsRegClass", "0U", "NVPTX::Float32RegsRegClass", "0U", "NVPTX::Float64RegsRegClass"], "File": "NVPTXISelLowering4", "Func": "getRegForInlineAsmConstraint", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4310, "Length": 157, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MCS51TargetStreamer", "::", "finish", "(", ")", "{", "MCStreamer", "&", "OS", "=", "getStreamer", "(", ")", ";", "MCContext", "&", "Context", "=", "OS", ".", "getContext", "(", ")", ";", "MCSymbol", "*", "DoCopyData", "=", "Context", ".", "getOrCreateSymbol", "(", "\"__do_copy_data\"", ")", ";", "MCSymbol", "*", "DoClearBss", "=", "Context", ".", "getOrCreateSymbol", "(", "\"__do_clear_bss\"", ")", ";", "OS", ".", "emitRawComment", "(", "\" Declaring this symbol tells the CRT that it should\"", ")", ";", "OS", ".", "emitRawComment", "(", "\"copy all variables from program memory to RAM on startup\"", ")", ";", "OS", ".", "emitSymbolAttribute", "(", "DoCopyData", ",", "MCSA_Global", ")", ";", "OS", ".", "emitRawComment", "(", "\" Declaring this symbol tells the CRT that it should\"", ")", ";", "OS", ".", "emitRawComment", "(", "\"clear the zeroed data section on startup\"", ")", ";", "OS", ".", "emitSymbolAttribute", "(", "DoClearBss", ",", "MCSA_Global", ")", ";", "}", ""], "natrual_language": ["finish", "-", "after", "all", "the", "new", "live", "ranges", "have", "been", "created", ",", "compute", "the", "remaining", "live", "range", ",", "and", "rewrite", "instructions", "to", "use", "the", "new", "registers", "."], "TS_V_token": ["MCS51", "MCS51", "\"__do_copy_data\"", "\"__do_clear_bss\"", "\" Declaring this symbol tells the CRT that it should\"", "\"copy all variables from program memory to RAM on startup\"", "\" Declaring this symbol tells the CRT that it should\"", "\"clear the zeroed data section on startup\""], "File": "MCS51TargetStreamer", "Func": "finish", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4311, "Length": 94, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCRegisterInfo", "*", "getRegInfo", "(", ")", "const", "{", "return", "RegInfo", ".", "get", "(", ")", ";", "}", ""], "natrual_language": ["getRegInfo", "-", "Return", "information", "about", "the", "registers", "currently", "in", "use", "."], "TS_V_token": ["AArch64"], "File": "AArch64Disassembler10", "Func": "getRegInfo", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4312, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "M88kRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["M88k", "M88k"], "File": "M88kSubtarget", "Func": "getRegisterInfo", "Target": "M88k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4313, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmBackend", "::", "shouldForceRelocation", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ")", "{", "bool", "ShouldForce", "=", "false", ";", "switch", "(", "Fixup", ".", "getTargetKind", "(", ")", ")", "{", "default", ":", "break", ";", "case", "FK_Data_1", ":", "case", "FK_Data_2", ":", "case", "FK_Data_4", ":", "case", "FK_Data_8", ":", "if", "(", "Target", ".", "isAbsolute", "(", ")", ")", "return", "false", ";", "break", ";", "case", "RISCV", "::", "fixup_riscv_got_hi20", ":", "case", "RISCV", "::", "fixup_riscv_tls_got_hi20", ":", "case", "RISCV", "::", "fixup_riscv_tls_gd_hi20", ":", "return", "true", ";", "case", "RISCV", "::", "fixup_riscv_pcrel_lo12_i", ":", "case", "RISCV", "::", "fixup_riscv_pcrel_lo12_s", ":", "const", "MCFixup", "*", "T", "=", "cast", "<", "RISCVMCExpr", ">", "(", "Fixup", ".", "getValue", "(", ")", ")", "->", "getPCRelHiFixup", "(", ")", ";", "if", "(", "!", "T", ")", "{", "Asm", ".", "getContext", "(", ")", ".", "reportError", "(", "Fixup", ".", "getLoc", "(", ")", ",", "\"could not find corresponding %pcrel_hi\"", ")", ";", "return", "false", ";", "}", "switch", "(", "T", "->", "getTargetKind", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected fixup kind for pcrel_lo12\"", ")", ";", "break", ";", "case", "RISCV", "::", "fixup_riscv_got_hi20", ":", "case", "RISCV", "::", "fixup_riscv_tls_got_hi20", ":", "case", "RISCV", "::", "fixup_riscv_tls_gd_hi20", ":", "ShouldForce", "=", "true", ";", "break", ";", "case", "RISCV", "::", "fixup_riscv_pcrel_hi20", ":", "ShouldForce", "=", "T", "->", "getValue", "(", ")", "->", "findAssociatedFragment", "(", ")", "!=", "Fixup", ".", "getValue", "(", ")", "->", "findAssociatedFragment", "(", ")", ";", "break", ";", "}", "break", ";", "}", "return", "ShouldForce", "||", "STI", ".", "getFeatureBits", "(", ")", "[", "RISCV", "::", "FeatureRelax", "]", "||", "ForceRelocs", ";", "}", ""], "natrual_language": ["Hook", "to", "check", "if", "a", "relocation", "is", "needed", "for", "some", "target", "specific", "reason", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::fixup_riscv_got_hi20", "RISCV::fixup_riscv_tls_got_hi20", "RISCV::fixup_riscv_tls_gd_hi20", "RISCV::fixup_riscv_pcrel_lo12_i", "RISCV::fixup_riscv_pcrel_lo12_s", "RISCV", "\"could not find corresponding %pcrel_hi\"", "\"Unexpected fixup kind for pcrel_lo12\"", "RISCV::fixup_riscv_got_hi20", "RISCV::fixup_riscv_tls_got_hi20", "RISCV::fixup_riscv_tls_gd_hi20", "RISCV::fixup_riscv_pcrel_hi20", "RISCV::FeatureRelax"], "File": "RISCVAsmBackend39", "Func": "shouldForceRelocation", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4314, "Length": 229, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMFastISel", "::", "fastLowerArguments", "(", ")", "{", "if", "(", "!", "FuncInfo", ".", "CanLowerReturn", ")", "return", "false", ";", "const", "Function", "*", "F", "=", "FuncInfo", ".", "Fn", ";", "if", "(", "F", "->", "isVarArg", "(", ")", ")", "return", "false", ";", "CallingConv", "::", "ID", "CC", "=", "F", "->", "getCallingConv", "(", ")", ";", "switch", "(", "CC", ")", "{", "default", ":", "return", "false", ";", "case", "CallingConv", "::", "Fast", ":", "case", "CallingConv", "::", "C", ":", "case", "CallingConv", "::", "ARM_AAPCS_VFP", ":", "case", "CallingConv", "::", "ARM_AAPCS", ":", "case", "CallingConv", "::", "ARM_APCS", ":", "break", ";", "}", "unsigned", "Idx", "=", "1", ";", "for", "(", "Function", "::", "const_arg_iterator", "I", "=", "F", "->", "arg_begin", "(", ")", ",", "E", "=", "F", "->", "arg_end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ",", "++", "Idx", ")", "{", "if", "(", "Idx", ">", "4", ")", "return", "false", ";", "if", "(", "F", "->", "getAttributes", "(", ")", ".", "hasAttribute", "(", "Idx", ",", "Attribute", "::", "InReg", ")", "||", "F", "->", "getAttributes", "(", ")", ".", "hasAttribute", "(", "Idx", ",", "Attribute", "::", "StructRet", ")", "||", "F", "->", "getAttributes", "(", ")", ".", "hasAttribute", "(", "Idx", ",", "Attribute", "::", "ByVal", ")", ")", "return", "false", ";", "Type", "*", "ArgTy", "=", "I", "->", "getType", "(", ")", ";", "if", "(", "ArgTy", "->", "isStructTy", "(", ")", "||", "ArgTy", "->", "isArrayTy", "(", ")", "||", "ArgTy", "->", "isVectorTy", "(", ")", ")", "return", "false", ";", "EVT", "ArgVT", "=", "TLI", ".", "getValueType", "(", "DL", ",", "ArgTy", ")", ";", "if", "(", "!", "ArgVT", ".", "isSimple", "(", ")", ")", "return", "false", ";", "switch", "(", "ArgVT", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", ")", "{", "case", "MVT", "::", "i8", ":", "case", "MVT", "::", "i16", ":", "case", "MVT", "::", "i32", ":", "break", ";", "default", ":", "return", "false", ";", "}", "}", "static", "const", "uint16_t", "GPRArgRegs", "[", "]", "=", "{", "ARM", "::", "R0", ",", "ARM", "::", "R1", ",", "ARM", "::", "R2", ",", "ARM", "::", "R3", "}", ";", "const", "TargetRegisterClass", "*", "RC", "=", "&", "ARM", "::", "rGPRRegClass", ";", "Idx", "=", "0", ";", "for", "(", "Function", "::", "const_arg_iterator", "I", "=", "F", "->", "arg_begin", "(", ")", ",", "E", "=", "F", "->", "arg_end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ",", "++", "Idx", ")", "{", "unsigned", "SrcReg", "=", "GPRArgRegs", "[", "Idx", "]", ";", "unsigned", "DstReg", "=", "FuncInfo", ".", "MF", "->", "addLiveIn", "(", "SrcReg", ",", "RC", ")", ";", "unsigned", "ResultReg", "=", "createResultReg", "(", "RC", ")", ";", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", "TII", ".", "get", "(", "TargetOpcode", "::", "COPY", ")", ",", "ResultReg", ")", ".", "addReg", "(", "DstReg", ",", "getKillRegState", "(", "true", ")", ")", ";", "updateValueMap", "(", "&", "*", "I", ",", "ResultReg", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["This", "method", "is", "called", "by", "target-independent", "code", "to", "do", "target-", "specific", "argument", "lowering", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM", "1", "4", "MVT::i8", "MVT::i16", "MVT::i32", "ARM::R0", "ARM::R1", "ARM::R2", "ARM::R3", "ARM::rGPRRegClass", "0"], "File": "ARMFastISel13", "Func": "fastLowerArguments", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4315, "Length": 424, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonSubtarget", "::", "enableSubRegLiveness", "(", ")", "const", "{", "return", "EnableSubregLiveness", ";", "}", ""], "natrual_language": ["Enable", "tracking", "of", "subregister", "liveness", "in", "register", "allocator", "."], "TS_V_token": ["Hexagon", "Hexagon"], "File": "HexagonSubtarget (2)1", "Func": "enableSubRegLiveness", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4316, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "legitimate_address_p", "(", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "addr", ",", "int", "strict", ")", "{", "struct", "s390_address", "ad", ";", "if", "(", "!", "s390_decompose_address", "(", "addr", ",", "&", "ad", ")", ")", "return", "false", ";", "if", "(", "strict", ")", "{", "if", "(", "ad", ".", "base", "&&", "!", "REG_OK_FOR_BASE_STRICT_P", "(", "ad", ".", "base", ")", ")", "return", "false", ";", "if", "(", "ad", ".", "indx", "&&", "!", "REG_OK_FOR_INDEX_STRICT_P", "(", "ad", ".", "indx", ")", ")", "return", "false", ";", "}", "else", "{", "if", "(", "ad", ".", "base", "&&", "!", "REG_OK_FOR_BASE_NONSTRICT_P", "(", "ad", ".", "base", ")", ")", "return", "false", ";", "if", "(", "ad", ".", "indx", "&&", "!", "REG_OK_FOR_INDEX_NONSTRICT_P", "(", "ad", ".", "indx", ")", ")", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["legitimate_address_p", "returns", "1", "if", "it", "recognizes", "an", "RTL", "expression", "``", "x", "''", "that", "is", "a", "valid", "memory", "address", "for", "an", "instruction", ".", "The", "MODE", "argument", "is", "the", "machine", "mode", "for", "the", "MEM", "expression", "that", "wants", "to", "use", "this", "address", "."], "TS_V_token": ["s390"], "File": "s3903", "Func": "legitimate_address_p", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4317, "Length": 114, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CheckReturn", "(", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "ArgsFlags", ",", "CCAssignFn", "Fn", ")", "{", "PreAnalyzeReturnForF128", "(", "ArgsFlags", ")", ";", "bool", "Return", "=", "CCState", "::", "CheckReturn", "(", "ArgsFlags", ",", "Fn", ")", ";", "OriginalArgWasFloat", ".", "clear", "(", ")", ";", "OriginalArgWasF128", ".", "clear", "(", ")", ";", "return", "Return", ";", "}", ""], "natrual_language": ["CheckReturn", "-", "Analyze", "the", "return", "values", "of", "a", "function", ",", "returning", "true", "if", "the", "return", "can", "be", "performed", "without", "sret-demotion", ",", "and", "false", "otherwise", "."], "TS_V_token": ["Mips", "ISD::OutputArg"], "File": "MipsCCState", "Func": "CheckReturn", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4318, "Length": 50, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ArrayRef", "<", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">>", "DLXInstrInfo", "::", "getSerializableDirectMachineOperandTargetFlags", "(", ")", "const", "{", "static", "const", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">", "TargetFlags", "[", "]", "=", "{", "{", "1", ",", "\"lanai-hi\"", "}", ",", "{", "2", ",", "\"lanai-lo\"", "}", ",", "{", "3", ",", "\"lanai-nf\"", "}", "}", ";", "return", "makeArrayRef", "(", "TargetFlags", ")", ";", "}", ""], "natrual_language": ["Return", "an", "array", "that", "contains", "the", "direct", "target", "flag", "values", "and", "their", "names", "."], "TS_V_token": ["DLX", "DLX", "1", "\"lanai-hi\"", "2", "\"lanai-lo\"", "3", "\"lanai-nf\""], "File": "DLXInstrInfo", "Func": "getSerializableDirectMachineOperandTargetFlags", "Target": "DLX", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4319, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx_insn", "*", "rs6000_emit_probe_stack_range_stack_clash", "(", "HOST_WIDE_INT", "orig_size", ",", "rtx", "copy_reg", ")", "{", "rtx", "orig_sp", "=", "copy_reg", ";", "HOST_WIDE_INT", "probe_interval", "=", "get_stack_clash_protection_probe_interval", "(", ")", ";", "HOST_WIDE_INT", "rounded_size", "=", "ROUND_DOWN", "(", "orig_size", ",", "probe_interval", ")", ";", "if", "(", "rounded_size", "!=", "orig_size", "||", "rounded_size", ">", "probe_interval", "||", "copy_reg", ")", "{", "if", "(", "!", "copy_reg", ")", "orig_sp", "=", "gen_rtx_REG", "(", "Pmode", ",", "0", ")", ";", "emit_move_insn", "(", "orig_sp", ",", "stack_pointer_rtx", ")", ";", "}", "rtx_insn", "*", "retval", "=", "NULL", ";", "if", "(", "rounded_size", "==", "probe_interval", ")", "{", "retval", "=", "rs6000_emit_allocate_stack_1", "(", "probe_interval", ",", "stack_pointer_rtx", ")", ";", "dump_stack_clash_frame_info", "(", "PROBE_INLINE", ",", "rounded_size", "!=", "orig_size", ")", ";", "}", "else", "if", "(", "rounded_size", "<=", "8", "*", "probe_interval", ")", "{", "for", "(", "int", "i", "=", "0", ";", "i", "<", "rounded_size", ";", "i", "+=", "probe_interval", ")", "{", "rtx_insn", "*", "insn", "=", "rs6000_emit_allocate_stack_1", "(", "probe_interval", ",", "orig_sp", ")", ";", "if", "(", "i", "==", "0", ")", "retval", "=", "insn", ";", "}", "dump_stack_clash_frame_info", "(", "PROBE_INLINE", ",", "rounded_size", "!=", "orig_size", ")", ";", "}", "else", "{", "rtx", "end_addr", "=", "copy_reg", "?", "gen_rtx_REG", "(", "Pmode", ",", "0", ")", ":", "gen_rtx_REG", "(", "Pmode", ",", "12", ")", ";", "rtx", "rs", "=", "GEN_INT", "(", "-", "rounded_size", ")", ";", "rtx_insn", "*", "insn", ";", "if", "(", "add_operand", "(", "rs", ",", "Pmode", ")", ")", "insn", "=", "emit_insn", "(", "gen_add3_insn", "(", "end_addr", ",", "stack_pointer_rtx", ",", "rs", ")", ")", ";", "else", "{", "emit_move_insn", "(", "end_addr", ",", "GEN_INT", "(", "-", "rounded_size", ")", ")", ";", "insn", "=", "emit_insn", "(", "gen_add3_insn", "(", "end_addr", ",", "end_addr", ",", "stack_pointer_rtx", ")", ")", ";", "add_reg_note", "(", "insn", ",", "REG_FRAME_RELATED_EXPR", ",", "gen_rtx_SET", "(", "end_addr", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "rs", ")", ")", ")", ";", "}", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "if", "(", "TARGET_64BIT", ")", "retval", "=", "emit_insn", "(", "gen_probe_stack_rangedi", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "orig_sp", ",", "end_addr", ")", ")", ";", "else", "retval", "=", "emit_insn", "(", "gen_probe_stack_rangesi", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "orig_sp", ",", "end_addr", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "retval", ")", "=", "1", ";", "add_reg_note", "(", "retval", ",", "REG_FRAME_RELATED_EXPR", ",", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "end_addr", ")", ")", ";", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "dump_stack_clash_frame_info", "(", "PROBE_LOOP", ",", "rounded_size", "!=", "orig_size", ")", ";", "}", "if", "(", "orig_size", "!=", "rounded_size", ")", "{", "HOST_WIDE_INT", "residual", "=", "orig_size", "-", "rounded_size", ";", "rtx_insn", "*", "insn", "=", "rs6000_emit_allocate_stack_1", "(", "residual", ",", "orig_sp", ")", ";", "if", "(", "!", "retval", ")", "retval", "=", "insn", ";", "}", "return", "retval", ";", "}", ""], "natrual_language": ["Allocate", "ORIG_SIZE", "bytes", "on", "the", "stack", "and", "probe", "the", "newly", "allocated", "space", "every", "STACK_CLASH_PROTECTION_PROBE_INTERVAL", "bytes", ".", "COPY_REG", ",", "if", "non-null", ",", "should", "contain", "a", "copy", "of", "the", "original", "stack", "pointer", "at", "exit", "from", "this", "function", ".", "This", "is", "subtly", "different", "than", "the", "Ada", "probing", "in", "that", "it", "tries", "hard", "to", "prevent", "attacks", "that", "jump", "the", "stack", "guard", ".", "Thus", "it", "is", "never", "allowed", "to", "allocate", "more", "than", "STACK_CLASH_PROTECTION_PROBE_INTERVAL", "bytes", "of", "stack", "space", "without", "a", "suitable", "probe", "."], "TS_V_token": ["rs6000", "0", "8", "0", "0", "0", "12", "1", "1"], "File": "rs60007", "Func": "rs6000_emit_probe_stack_range_stack_clash", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4320, "Length": 386, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCTargetLowering", "::", "mayBeEmittedAsTailCall", "(", "const", "CallInst", "*", "CI", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "is64BitELFABI", "(", ")", ")", "return", "false", ";", "if", "(", "!", "CI", "->", "isTailCall", "(", ")", ")", "return", "false", ";", "const", "Function", "*", "Caller", "=", "CI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "auto", "Attr", "=", "Caller", "->", "getFnAttribute", "(", "\"disable-tail-calls\"", ")", ";", "if", "(", "Attr", ".", "getValueAsString", "(", ")", "==", "\"true\"", ")", "return", "false", ";", "auto", "&", "TM", "=", "getTargetMachine", "(", ")", ";", "if", "(", "!", "TM", ".", "Options", ".", "GuaranteedTailCallOpt", "&&", "DisableSCO", ")", "return", "false", ";", "const", "Function", "*", "Callee", "=", "CI", "->", "getCalledFunction", "(", ")", ";", "if", "(", "!", "Callee", "||", "Callee", "->", "isVarArg", "(", ")", ")", "return", "false", ";", "if", "(", "!", "areCallingConvEligibleForTCO_64SVR4", "(", "Caller", "->", "getCallingConv", "(", ")", ",", "CI", "->", "getCallingConv", "(", ")", ")", ")", "return", "false", ";", "return", "getTargetMachine", "(", ")", ".", "shouldAssumeDSOLocal", "(", "*", "Caller", "->", "getParent", "(", ")", ",", "Callee", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "may", "be", "able", "emit", "the", "call", "instruction", "as", "a", "tail", "call", "."], "TS_V_token": ["PowerPC", "PPC", "\"disable-tail-calls\"", "\"true\""], "File": "PPCISelLowering103", "Func": "mayBeEmittedAsTailCall", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4321, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SMLoc", "getEndLoc", "(", ")", "const", "override", "{", "return", "EndLoc", ";", "}", ""], "natrual_language": ["getEndLoc", "-", "Get", "the", "location", "of", "the", "last", "token", "of", "this", "operand", "."], "TS_V_token": ["AArch64"], "File": "AArch64AsmParser (2)1", "Func": "getEndLoc", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4322, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "A15SDOptimizer", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "if", "(", "skipFunction", "(", "*", "Fn", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "const", "ARMSubtarget", "&", "STI", "=", "Fn", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ";", "if", "(", "!", "(", "STI", ".", "isCortexA15", "(", ")", "&&", "STI", ".", "hasNEON", "(", ")", ")", ")", "return", "false", ";", "TII", "=", "STI", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "Fn", ".", "getRegInfo", "(", ")", ";", "bool", "Modified", "=", "false", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Running on function \"", "<<", "Fn", ".", "getName", "(", ")", "<<", "\"\\n\"", ")", ";", "DeadInstr", ".", "clear", "(", ")", ";", "Replacements", ".", "clear", "(", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "MFI", "=", "Fn", ".", "begin", "(", ")", ",", "E", "=", "Fn", ".", "end", "(", ")", ";", "MFI", "!=", "E", ";", "++", "MFI", ")", "{", "for", "(", "MachineBasicBlock", "::", "iterator", "MI", "=", "MFI", "->", "begin", "(", ")", ",", "ME", "=", "MFI", "->", "end", "(", ")", ";", "MI", "!=", "ME", ";", ")", "{", "Modified", "|=", "runOnInstruction", "(", "MI", "++", ")", ";", "}", "}", "for", "(", "std", "::", "set", "<", "MachineInstr", "*", ">", "::", "iterator", "I", "=", "DeadInstr", ".", "begin", "(", ")", ",", "E", "=", "DeadInstr", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "(", "*", "I", ")", "->", "eraseFromParent", "(", ")", ";", "}", "return", "Modified", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["ARM", "ARM", "ARM", "\"Running on function \"", "\"\\n\""], "File": "A15SDOptimizer20", "Func": "runOnMachineFunction", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4323, "Length": 233, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "extract_mac_non_acc_rtx", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "exp", "=", "SET_SRC", "(", "PATTERN", "(", "insn", ")", ")", ";", "switch", "(", "get_attr_type", "(", "insn", ")", ")", "{", "case", "TYPE_MAC", ":", "case", "TYPE_DMAC", ":", "if", "(", "REG_P", "(", "XEXP", "(", "exp", ",", "0", ")", ")", ")", "return", "XEXP", "(", "exp", ",", "1", ")", ";", "else", "return", "XEXP", "(", "exp", ",", "0", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Extract", "the", "rtx", "representing", "non-accumulation", "operands", "of", "a", "MAC", "insn", "."], "TS_V_token": ["nds32", "0", "1", "0"], "File": "nds32-utils", "Func": "extract_mac_non_acc_rtx", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4324, "Length": 70, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MSP430TargetLowering", "::", "shouldAvoidTransformToShift", "(", "EVT", "VT", ",", "unsigned", "Amount", ")", "const", "{", "return", "!", "(", "Subtarget", "->", "hasMSP430X", "(", ")", "||", "Amount", "==", "8", "||", "Amount", "==", "9", "||", "Amount", "<=", "2", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "creating", "a", "shift", "of", "the", "type", "by", "the", "given", "amount", "is", "not", "profitable", "."], "TS_V_token": ["MSP430", "MSP430", "MSP430", "8", "9", "2"], "File": "MSP430ISelLowering67", "Func": "shouldAvoidTransformToShift", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4325, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "can_use_mov_pic_label_ref", "(", "rtx", "label", ")", "{", "if", "(", "TARGET_VXWORKS_RTP", ")", "return", "false", ";", "if", "(", "LABEL_REF_NONLOCAL_P", "(", "label", ")", ")", "return", "false", ";", "if", "(", "flag_reorder_blocks_and_partition", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "address", "of", "LABEL", "can", "be", "loaded", "by", "means", "of", "the", "mov", "{", "si", ",", "di", "}", "_pic_label_ref", "patterns", "in", "PIC", "mode", "."], "TS_V_token": ["sparc"], "File": "sparc", "Func": "can_use_mov_pic_label_ref", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4326, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "frv_adjust_field_align", "(", "tree", "field", ",", "int", "computed", ")", "{", "if", "(", "DECL_BIT_FIELD", "(", "field", ")", "&&", "!", "DECL_ARTIFICIAL", "(", "field", ")", ")", "{", "tree", "parent", "=", "DECL_CONTEXT", "(", "field", ")", ";", "tree", "prev", "=", "NULL_TREE", ";", "tree", "cur", ";", "for", "(", "cur", "=", "TYPE_FIELDS", "(", "parent", ")", ";", "cur", "&&", "cur", "!=", "field", ";", "cur", "=", "DECL_CHAIN", "(", "cur", ")", ")", "{", "if", "(", "TREE_CODE", "(", "cur", ")", "!=", "FIELD_DECL", ")", "continue", ";", "prev", "=", "cur", ";", "}", "gcc_assert", "(", "cur", ")", ";", "if", "(", "prev", "&&", "!", "DECL_PACKED", "(", "field", ")", "&&", "!", "integer_zerop", "(", "DECL_SIZE", "(", "field", ")", ")", "&&", "DECL_BIT_FIELD_TYPE", "(", "field", ")", "!=", "DECL_BIT_FIELD_TYPE", "(", "prev", ")", ")", "{", "int", "prev_align", "=", "TYPE_ALIGN", "(", "TREE_TYPE", "(", "prev", ")", ")", ";", "int", "cur_align", "=", "TYPE_ALIGN", "(", "TREE_TYPE", "(", "field", ")", ")", ";", "computed", "=", "(", "prev_align", ">", "cur_align", ")", "?", "prev_align", ":", "cur_align", ";", "}", "}", "return", "computed", ";", "}", ""], "natrual_language": ["The", "definition", "type", "of", "the", "bit", "field", "data", "is", "either", "char", ",", "short", ",", "long", "or", "long", "long", ".", "The", "maximum", "bit", "size", "is", "the", "number", "of", "bits", "of", "its", "own", "type", ".", "The", "bit", "field", "data", "is", "assigned", "to", "a", "storage", "unit", "that", "has", "an", "adequate", "size", "for", "bit", "field", "data", "retention", "and", "is", "located", "at", "the", "smallest", "address", ".", "Consecutive", "bit", "field", "data", "are", "packed", "at", "consecutive", "bits", "having", "the", "same", "storage", "unit", ",", "with", "regard", "to", "the", "type", ",", "beginning", "with", "the", "MSB", "and", "continuing", "toward", "the", "LSB", ".", "If", "a", "field", "to", "be", "assigned", "lies", "over", "a", "bit", "field", "type", "boundary", ",", "its", "assignment", "is", "completed", "by", "aligning", "it", "with", "a", "boundary", "suitable", "for", "the", "type", ".", "When", "a", "bit", "field", "having", "a", "bit", "length", "of", "0", "is", "declared", ",", "it", "is", "forcibly", "assigned", "to", "the", "next", "storage", "unit", ".", "e.g", ")", "struct", "{", "int", "a:2", ";", "int", "b:6", ";", "char", "c:4", ";", "int", "d:10", ";", "int", ":0", ";", "int", "f:2", ";", "}", "x", ";", "+0", "+1", "+2", "+3", "&", "x", "00000000", "00000000", "00000000", "00000000", "MLM", "--", "--", "L", "a", "b", "&", "x+4", "00000000", "00000000", "00000000", "00000000", "M", "--", "L", "c", "&", "x+8", "00000000", "00000000", "00000000", "00000000", "M", "--", "--", "--", "--", "--", "L", "d", "&", "x+12", "00000000", "00000000", "00000000", "00000000", "ML", "f"], "TS_V_token": ["frv"], "File": "frv3", "Func": "frv_adjust_field_align", "Target": "frv", "Target_Clf": "VLIW", "Compiler_Type": "GCC", "Idx": 4327, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "HexagonInstPrinter", "::", "printInst", "(", "const", "HexagonMCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ")", "{", "const", "char", "startPacket", "=", "'{'", ",", "endPacket", "=", "'}'", ";", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "Hexagon", "::", "ENDLOOP0", ")", "{", "assert", "(", "MI", "->", "isPacketEnd", "(", ")", "&&", "\"Loop-end must also end the packet\"", ")", ";", "if", "(", "MI", "->", "isPacketStart", "(", ")", ")", "{", "HexagonMCInst", "Nop", ";", "StringRef", "NoAnnot", ";", "Nop", ".", "setOpcode", "(", "Hexagon", "::", "NOP", ")", ";", "Nop", ".", "setPacketStart", "(", "MI", "->", "isPacketStart", "(", ")", ")", ";", "printInst", "(", "&", "Nop", ",", "O", ",", "NoAnnot", ")", ";", "}", "if", "(", "MI", "->", "isPacketEnd", "(", ")", ")", "O", "<<", "PacketPadding", "<<", "endPacket", ";", "printInstruction", "(", "MI", ",", "O", ")", ";", "}", "else", "{", "if", "(", "MI", "->", "isPacketStart", "(", ")", ")", "O", "<<", "PacketPadding", "<<", "startPacket", "<<", "'\\n'", ";", "printInstruction", "(", "MI", ",", "O", ")", ";", "if", "(", "MI", "->", "isPacketEnd", "(", ")", ")", "O", "<<", "'\\n'", "<<", "PacketPadding", "<<", "endPacket", ";", "}", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "Hexagon::ENDLOOP0", "\"Loop-end must also end the packet\"", "Hexagon", "Hexagon::NOP"], "File": "HexagonInstPrinter", "Func": "printInst", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4328, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isImm", "(", ")", "const", "{", "return", "Kind", "==", "Immediate", ";", "}", ""], "natrual_language": ["isImm", "-", "Is", "this", "an", "immediate", "operand", "?"], "TS_V_token": ["ARM"], "File": "ARMAsmParser32", "Func": "isImm", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4329, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "isImm", "(", ")", "const", "{", "return", "Kind", "==", "Immediate", ";", "}", ""], "natrual_language": ["isImm", "-", "Is", "this", "an", "immediate", "operand", "?"], "TS_V_token": ["X86"], "File": "X86AsmParser (2)2", "Func": "isImm", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4330, "Length": 12, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Cpu0SEDAGToDAGISel", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "static_cast", "<", "const", "Cpu0Subtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";", "return", "Cpu0DAGToDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0", "Cpu0"], "File": "Cpu0SEISelDAGToDAG", "Func": "runOnMachineFunction", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4331, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "const", "char", "*", "pru_output_gtge_signed_cbranch", "(", "rtx", "*", "operands", ",", "bool", "is_near", ")", "{", "static", "char", "buf", "[", "1024", "]", ";", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "operands", "[", "0", "]", ")", ";", "rtx", "op1", ";", "rtx", "op2", ";", "const", "char", "*", "cmp_opstr", ";", "int", "bufi", "=", "0", ";", "op1", "=", "operands", "[", "1", "]", ";", "op2", "=", "operands", "[", "2", "]", ";", "gcc_assert", "(", "GET_CODE", "(", "op1", ")", "==", "REG", "&&", "GET_CODE", "(", "op2", ")", "==", "REG", ")", ";", "if", "(", "code", "==", "GT", ")", "cmp_opstr", "=", "\"qbgt\"", ";", "else", "if", "(", "code", "==", "GE", ")", "cmp_opstr", "=", "\"qbge\"", ";", "else", "gcc_unreachable", "(", ")", ";", "if", "(", "is_near", ")", "bufi", "=", "snprintf", "(", "buf", ",", "sizeof", "(", "buf", ")", ",", "\"qbbs\\t.+12, %%1, %d\\n\\t\"", "\"qbbs\\t%%l3, %%2, %d\\n\\t\"", "\"%s\\t%%l3, %%2, %%1\\n\\t\"", "\"qbbc\\t.+8, %%2, %d\\n\\t\"", "\"%s\\t%%l3, %%2, %%1\"", ",", "sign_bit_position", "(", "op1", ")", ",", "sign_bit_position", "(", "op2", ")", ",", "cmp_opstr", ",", "sign_bit_position", "(", "op2", ")", ",", "cmp_opstr", ")", ";", "else", "bufi", "=", "snprintf", "(", "buf", ",", "sizeof", "(", "buf", ")", ",", "\"qbbs\\t.+12, %%1, %d\\n\\t\"", "\"qbbs\\t.+20, %%2, %d\\n\\t\"", "\"%s\\t.+16, %%2, %%1\\n\\t\"", "\"qbbc\\t.+16, %%2, %d\\n\\t\"", "\"%s\\t.+8, %%2, %%1\\n\\t\"", "\"jmp\\t.+8\\n\\t\"", "\"jmp\\t%%%%label(%%l3)\"", ",", "sign_bit_position", "(", "op1", ")", ",", "sign_bit_position", "(", "op2", ")", ",", "cmp_opstr", ",", "sign_bit_position", "(", "op2", ")", ",", "cmp_opstr", ")", ";", "gcc_assert", "(", "bufi", ">", "0", ")", ";", "gcc_assert", "(", "(", "unsigned", "int", ")", "bufi", "<", "sizeof", "(", "buf", ")", ")", ";", "return", "buf", ";", "}", ""], "natrual_language": ["Output", "asm", "code", "for", "a", "signed-compare", "GT/GE", "conditional", "branch", "."], "TS_V_token": ["pru", "1024", "0", "0", "1", "2", "\"qbgt\"", "\"qbge\"", "\"qbbs\\t.+12, %%1, %d\\n\\t\"", "\"qbbs\\t%%l3, %%2, %d\\n\\t\"", "\"%s\\t%%l3, %%2, %%1\\n\\t\"", "\"qbbc\\t.+8, %%2, %d\\n\\t\"", "\"%s\\t%%l3, %%2, %%1\"", "\"qbbs\\t.+12, %%1, %d\\n\\t\"", "\"qbbs\\t.+20, %%2, %d\\n\\t\"", "\"%s\\t.+16, %%2, %%1\\n\\t\"", "\"qbbc\\t.+16, %%2, %d\\n\\t\"", "\"%s\\t.+8, %%2, %%1\\n\\t\"", "\"jmp\\t.+8\\n\\t\"", "\"jmp\\t%%%%label(%%l3)\"", "0"], "File": "pru", "Func": "pru_output_gtge_signed_cbranch", "Target": "pru", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4332, "Length": 212, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SUnit", "*", "SIScheduleBlock", "::", "pickNode", "(", ")", "{", "SISchedCandidate", "TopCand", ";", "for", "(", "SUnit", "*", "SU", ":", "TopReadySUs", ")", "{", "SISchedCandidate", "TryCand", ";", "std", "::", "vector", "<", "unsigned", ">", "pressure", ";", "std", "::", "vector", "<", "unsigned", ">", "MaxPressure", ";", "TryCand", ".", "SU", "=", "SU", ";", "TopRPTracker", ".", "getDownwardPressure", "(", "SU", "->", "getInstr", "(", ")", ",", "pressure", ",", "MaxPressure", ")", ";", "TryCand", ".", "SGPRUsage", "=", "pressure", "[", "DAG", "->", "getSGPRSetID", "(", ")", "]", ";", "TryCand", ".", "VGPRUsage", "=", "pressure", "[", "DAG", "->", "getVGPRSetID", "(", ")", "]", ";", "TryCand", ".", "IsLowLatency", "=", "DAG", "->", "IsLowLatencySU", "[", "SU", "->", "NodeNum", "]", ";", "TryCand", ".", "LowLatencyOffset", "=", "DAG", "->", "LowLatencyOffset", "[", "SU", "->", "NodeNum", "]", ";", "TryCand", ".", "HasLowLatencyNonWaitedParent", "=", "HasLowLatencyNonWaitedParent", "[", "NodeNum2Index", "[", "SU", "->", "NodeNum", "]", "]", ";", "tryCandidateTopDown", "(", "TopCand", ",", "TryCand", ")", ";", "if", "(", "TryCand", ".", "Reason", "!=", "NoCand", ")", "TopCand", ".", "setBest", "(", "TryCand", ")", ";", "}", "return", "TopCand", ".", "SU", ";", "}", ""], "natrual_language": ["Pick", "the", "next", "node", "to", "schedule", ",", "or", "return", "NULL", "."], "TS_V_token": ["AMDGPU", "SI", "SI", "SI"], "File": "SIMachineScheduler", "Func": "pickNode", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4333, "Length": 155, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LinuxAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "this", "->", "MF", "=", "&", "MF", ";", "SetupMachineFunction", "(", "MF", ")", ";", "O", "<<", "\"\\n\\n\"", ";", "EmitConstantPool", "(", "MF", ".", "getConstantPool", "(", ")", ")", ";", "const", "Function", "*", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "SwitchToSection", "(", "TAI", "->", "SectionForGlobal", "(", "F", ")", ")", ";", "EmitAlignment", "(", "3", ",", "F", ")", ";", "switch", "(", "F", "->", "getLinkage", "(", ")", ")", "{", "default", ":", "assert", "(", "0", "&&", "\"Unknown linkage type!\"", ")", ";", "case", "Function", "::", "PrivateLinkage", ":", "case", "Function", "::", "InternalLinkage", ":", "break", ";", "case", "Function", "::", "ExternalLinkage", ":", "O", "<<", "\"\\t.global\\t\"", "<<", "CurrentFnName", "<<", "\"\\n\"", "<<", "\"\\t.type\\t\"", "<<", "CurrentFnName", "<<", "\", @function\\n\"", ";", "break", ";", "case", "Function", "::", "WeakAnyLinkage", ":", "case", "Function", "::", "WeakODRLinkage", ":", "case", "Function", "::", "LinkOnceAnyLinkage", ":", "case", "Function", "::", "LinkOnceODRLinkage", ":", "O", "<<", "\"\\t.global\\t\"", "<<", "CurrentFnName", "<<", "\"\\n\"", ";", "O", "<<", "\"\\t.weak_definition\\t\"", "<<", "CurrentFnName", "<<", "\"\\n\"", ";", "break", ";", "}", "O", "<<", "CurrentFnName", "<<", "\":\\n\"", ";", "DW", "->", "BeginFunction", "(", "&", "MF", ")", ";", "for", "(", "MachineFunction", "::", "const_iterator", "I", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "I", "!=", "MF", ".", "begin", "(", ")", ")", "{", "printBasicBlockLabel", "(", "I", ",", "true", ",", "true", ")", ";", "O", "<<", "'\\n'", ";", "}", "for", "(", "MachineBasicBlock", "::", "const_iterator", "II", "=", "I", "->", "begin", "(", ")", ",", "E", "=", "I", "->", "end", "(", ")", ";", "II", "!=", "E", ";", "++", "II", ")", "{", "printMachineInstruction", "(", "II", ")", ";", "}", "}", "O", "<<", "\"\\t.size\\t\"", "<<", "CurrentFnName", "<<", "\",.-\"", "<<", "CurrentFnName", "<<", "\"\\n\"", ";", "EmitJumpTableInfo", "(", "MF", ".", "getJumpTableInfo", "(", ")", ",", "MF", ")", ";", "DW", "->", "EndFunction", "(", "&", "MF", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["CellSPU", "\"\\n\\n\"", "3", "0", "\"Unknown linkage type!\"", "\"\\t.global\\t\"", "\"\\n\"", "\"\\t.type\\t\"", "\", @function\\n\"", "\"\\t.global\\t\"", "\"\\n\"", "\"\\t.weak_definition\\t\"", "\"\\n\"", "\":\\n\"", "\"\\t.size\\t\"", "\",.-\"", "\"\\n\""], "File": "SPUAsmPrinter10", "Func": "runOnMachineFunction", "Target": "CellSPU", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4334, "Length": 292, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "VLIWResourceModel", "::", "isResourceAvailable", "(", "SUnit", "*", "SU", ")", "{", "if", "(", "!", "SU", "||", "!", "SU", "->", "getInstr", "(", ")", ")", "return", "false", ";", "switch", "(", "SU", "->", "getInstr", "(", ")", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "if", "(", "!", "ResourcesModel", "->", "canReserveResources", "(", "*", "SU", "->", "getInstr", "(", ")", ")", ")", "return", "false", ";", "case", "TargetOpcode", "::", "EXTRACT_SUBREG", ":", "case", "TargetOpcode", "::", "INSERT_SUBREG", ":", "case", "TargetOpcode", "::", "SUBREG_TO_REG", ":", "case", "TargetOpcode", "::", "REG_SEQUENCE", ":", "case", "TargetOpcode", "::", "IMPLICIT_DEF", ":", "case", "TargetOpcode", "::", "COPY", ":", "case", "TargetOpcode", "::", "INLINEASM", ":", "break", ";", "}", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "Packet", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "if", "(", "Packet", "[", "i", "]", "->", "Succs", ".", "size", "(", ")", "==", "0", ")", "continue", ";", "for", "(", "SUnit", "::", "const_succ_iterator", "I", "=", "Packet", "[", "i", "]", "->", "Succs", ".", "begin", "(", ")", ",", "E", "=", "Packet", "[", "i", "]", "->", "Succs", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "if", "(", "I", "->", "isCtrl", "(", ")", ")", "continue", ";", "if", "(", "I", "->", "getSUnit", "(", ")", "==", "SU", ")", "return", "false", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Check", "if", "scheduling", "of", "this", "SU", "is", "possible", "in", "the", "current", "packet", "."], "TS_V_token": ["Hexagon", "0", "0"], "File": "HexagonMachineScheduler24", "Func": "isResourceAvailable", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4335, "Length": 204, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "uint8_t", "name", "(", "struct", "InternalInstruction", "*", "insn", ",", "\\", "OperandType", "type", ",", "\\", "uint8_t", "index", ",", "\\", "uint8_t", "*", "valid", ")", "{", "\\", "*", "valid", "=", "1", ";", "\\", "switch", "(", "type", ")", "{", "\\", "default", ":", "\\", "debug", "(", "\"Unhandled register type\"", ")", ";", "\\", "*", "valid", "=", "0", ";", "\\", "return", "0", ";", "\\", "case", "TYPE_Rv", ":", "\\", "return", "base", "+", "index", ";", "\\", "case", "TYPE_R8", ":", "\\", "if", "(", "insn", "->", "rexPrefix", "&&", "\\", "index", ">=", "4", "&&", "index", "<=", "7", ")", "{", "\\", "return", "prefix", "##", "_SPL", "+", "(", "index", "-", "4", ")", ";", "\\", "}", "else", "{", "\\", "return", "prefix", "##", "_AL", "+", "index", ";", "\\", "}", "\\", "case", "TYPE_R16", ":", "\\", "return", "prefix", "##", "_AX", "+", "index", ";", "\\", "case", "TYPE_R32", ":", "\\", "return", "prefix", "##", "_EAX", "+", "index", ";", "\\", "case", "TYPE_R64", ":", "\\", "return", "prefix", "##", "_RAX", "+", "index", ";", "\\", "case", "TYPE_XMM512", ":", "\\", "return", "prefix", "##", "_ZMM0", "+", "index", ";", "\\", "case", "TYPE_XMM256", ":", "\\", "return", "prefix", "##", "_YMM0", "+", "index", ";", "\\", "case", "TYPE_XMM128", ":", "\\", "case", "TYPE_XMM64", ":", "\\", "case", "TYPE_XMM32", ":", "\\", "case", "TYPE_XMM", ":", "\\", "return", "prefix", "##", "_XMM0", "+", "index", ";", "\\", "case", "TYPE_VK1", ":", "\\", "case", "TYPE_VK8", ":", "\\", "case", "TYPE_VK16", ":", "\\", "return", "prefix", "##", "_K0", "+", "index", ";", "\\", "case", "TYPE_MM64", ":", "\\", "return", "prefix", "##", "_MM0", "+", "(", "index", "&", "0x7", ")", ";", "\\", "case", "TYPE_SEGMENTREG", ":", "\\", "if", "(", "index", ">", "5", ")", "\\", "*", "valid", "=", "0", ";", "\\", "return", "prefix", "##", "_ES", "+", "index", ";", "\\", "case", "TYPE_DEBUGREG", ":", "\\", "return", "prefix", "##", "_DR0", "+", "index", ";", "\\", "case", "TYPE_CONTROLREG", ":", "\\", "return", "prefix", "##", "_CR0", "+", "index", ";", "\\", "}", "\\", "}", ""], "natrual_language": ["Gets", "the", "name", "of", "the", "pass", "we", "are", "mixed", "into", "."], "TS_V_token": ["X86", "1", "\"Unhandled register type\"", "0", "0", "4", "7", "4", "0x7", "5", "0"], "File": "X86DisassemblerDecoder9", "Func": "name", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4336, "Length": 284, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMBaseTargetMachine", "::", "ARMBaseTargetMachine", "(", "const", "Target", "&", "T", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Optional", "<", "Reloc", "::", "Model", ">", "RM", ",", "Optional", "<", "CodeModel", "::", "Model", ">", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "isLittle", ")", ":", "LLVMTargetMachine", "(", "T", ",", "computeDataLayout", "(", "TT", ",", "CPU", ",", "Options", ",", "isLittle", ")", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "getEffectiveRelocModel", "(", "TT", ",", "RM", ")", ",", "getEffectiveCodeModel", "(", "CM", ")", ",", "OL", ")", ",", "TargetABI", "(", "computeTargetABI", "(", "TT", ",", "CPU", ",", "Options", ")", ")", ",", "TLOF", "(", "createTLOF", "(", "getTargetTriple", "(", ")", ")", ")", ",", "isLittle", "(", "isLittle", ")", "{", "if", "(", "Options", ".", "FloatABIType", "==", "FloatABI", "::", "Default", ")", "{", "if", "(", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "GNUEABIHF", "||", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "MuslEABIHF", "||", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "EABIHF", "||", "TargetTriple", ".", "isOSWindows", "(", ")", "||", "TargetABI", "==", "ARMBaseTargetMachine", "::", "ARM_ABI_AAPCS16", ")", "this", "->", "Options", ".", "FloatABIType", "=", "FloatABI", "::", "Hard", ";", "else", "this", "->", "Options", ".", "FloatABIType", "=", "FloatABI", "::", "Soft", ";", "}", "if", "(", "Options", ".", "EABIVersion", "==", "EABI", "::", "Default", "||", "Options", ".", "EABIVersion", "==", "EABI", "::", "Unknown", ")", "{", "if", "(", "(", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "GNUEABI", "||", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "GNUEABIHF", "||", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "MuslEABI", "||", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "MuslEABIHF", ")", "&&", "!", "(", "TargetTriple", ".", "isOSWindows", "(", ")", "||", "TargetTriple", ".", "isOSDarwin", "(", ")", ")", ")", "this", "->", "Options", ".", "EABIVersion", "=", "EABI", "::", "GNU", ";", "else", "this", "->", "Options", ".", "EABIVersion", "=", "EABI", "::", "EABI5", ";", "}", "if", "(", "TT", ".", "isOSBinFormatMachO", "(", ")", ")", "{", "this", "->", "Options", ".", "TrapUnreachable", "=", "true", ";", "this", "->", "Options", ".", "NoTrapAfterNoreturn", "=", "true", ";", "}", "initAsmInfo", "(", ")", ";", "}", ""], "natrual_language": ["Create", "an", "ARM", "architecture", "model", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM"], "File": "ARMTargetMachine70", "Func": "ARMBaseTargetMachine", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4337, "Length": 323, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "DecodeStatus", "AMDGPUDisassembler", "::", "getInstruction", "(", "MCInst", "&", "MI", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes_", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "WS", ",", "raw_ostream", "&", "CS", ")", "const", "{", "CommentStream", "=", "&", "CS", ";", "assert", "(", "AMDGPU", "::", "isVI", "(", "STI", ")", "&&", "\"Can disassemble only VI ISA.\"", ")", ";", "const", "unsigned", "MaxInstBytesNum", "=", "(", "std", "::", "min", ")", "(", "(", "size_t", ")", "8", ",", "Bytes_", ".", "size", "(", ")", ")", ";", "Bytes", "=", "Bytes_", ".", "slice", "(", "0", ",", "MaxInstBytesNum", ")", ";", "DecodeStatus", "Res", "=", "MCDisassembler", "::", "Fail", ";", "do", "{", "if", "(", "Bytes", ".", "size", "(", ")", "<", "4", ")", "break", ";", "const", "uint32_t", "DW", "=", "eatB32", "(", "Bytes", ")", ";", "Res", "=", "tryDecodeInst", "(", "DecoderTableVI32", ",", "MI", ",", "DW", ",", "Address", ")", ";", "if", "(", "Res", ")", "break", ";", "Res", "=", "tryDecodeInst", "(", "DecoderTableAMDGPU32", ",", "MI", ",", "DW", ",", "Address", ")", ";", "if", "(", "Res", ")", "break", ";", "if", "(", "Bytes", ".", "size", "(", ")", "<", "4", ")", "break", ";", "const", "uint64_t", "QW", "=", "(", "(", "uint64_t", ")", "eatB32", "(", "Bytes", ")", "<<", "32", ")", "|", "DW", ";", "Res", "=", "tryDecodeInst", "(", "DecoderTableVI64", ",", "MI", ",", "QW", ",", "Address", ")", ";", "if", "(", "Res", ")", "break", ";", "Res", "=", "tryDecodeInst", "(", "DecoderTableAMDGPU64", ",", "MI", ",", "QW", ",", "Address", ")", ";", "}", "while", "(", "false", ")", ";", "Size", "=", "Res", "?", "(", "MaxInstBytesNum", "-", "Bytes", ".", "size", "(", ")", ")", ":", "0", ";", "return", "Res", ";", "}", ""], "natrual_language": ["Returns", "the", "disassembly", "of", "a", "single", "instruction", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPU::isVI", "\"Can disassemble only VI ISA.\"", "8", "0", "4", "AMDGPU", "4", "32", "AMDGPU", "0"], "File": "AMDGPUDisassembler3", "Func": "getInstruction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4338, "Length": 238, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_unwind_emit", "(", "FILE", "*", "out_file", ",", "rtx_insn", "*", "insn", ")", "{", "rtx", "note", ",", "pat", ";", "bool", "handled_one", "=", "false", ";", "if", "(", "arm_except_unwind_info", "(", "&", "global_options", ")", "!=", "UI_TARGET", ")", "return", ";", "if", "(", "!", "(", "flag_unwind_tables", "||", "crtl", "->", "uses_eh_lsda", ")", "&&", "(", "TREE_NOTHROW", "(", "current_function_decl", ")", "||", "crtl", "->", "all_throwers_are_sibcalls", ")", ")", "return", ";", "if", "(", "NOTE_P", "(", "insn", ")", "||", "!", "RTX_FRAME_RELATED_P", "(", "insn", ")", ")", "return", ";", "for", "(", "note", "=", "REG_NOTES", "(", "insn", ")", ";", "note", ";", "note", "=", "XEXP", "(", "note", ",", "1", ")", ")", "{", "switch", "(", "REG_NOTE_KIND", "(", "note", ")", ")", "{", "case", "REG_FRAME_RELATED_EXPR", ":", "pat", "=", "XEXP", "(", "note", ",", "0", ")", ";", "goto", "found", ";", "case", "REG_CFA_REGISTER", ":", "pat", "=", "XEXP", "(", "note", ",", "0", ")", ";", "if", "(", "pat", "==", "NULL", ")", "{", "pat", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", ")", "pat", "=", "XVECEXP", "(", "pat", ",", "0", ",", "0", ")", ";", "}", "{", "rtx", "dest", ",", "src", ";", "unsigned", "reg", ";", "src", "=", "SET_SRC", "(", "pat", ")", ";", "dest", "=", "SET_DEST", "(", "pat", ")", ";", "gcc_assert", "(", "src", "==", "stack_pointer_rtx", "||", "IS_PAC_REGNUM", "(", "REGNO", "(", "src", ")", ")", ")", ";", "reg", "=", "REGNO", "(", "dest", ")", ";", "if", "(", "IS_PAC_REGNUM", "(", "REGNO", "(", "src", ")", ")", ")", "arm_unwind_emit_set", "(", "out_file", ",", "PATTERN", "(", "insn", ")", ")", ";", "else", "asm_fprintf", "(", "out_file", ",", "\"\\t.unwind_raw 0, 0x%x @ vsp = r%d\\n\"", ",", "reg", "+", "0x90", ",", "reg", ")", ";", "}", "handled_one", "=", "true", ";", "break", ";", "case", "REG_CFA_DEF_CFA", ":", "case", "REG_CFA_ADJUST_CFA", ":", "case", "REG_CFA_RESTORE", ":", "return", ";", "case", "REG_CFA_EXPRESSION", ":", "case", "REG_CFA_OFFSET", ":", "gcc_unreachable", "(", ")", ";", "default", ":", "break", ";", "}", "}", "if", "(", "handled_one", ")", "return", ";", "pat", "=", "PATTERN", "(", "insn", ")", ";", "found", ":", "switch", "(", "GET_CODE", "(", "pat", ")", ")", "{", "case", "SET", ":", "arm_unwind_emit_set", "(", "out_file", ",", "pat", ")", ";", "break", ";", "case", "SEQUENCE", ":", "arm_unwind_emit_sequence", "(", "out_file", ",", "pat", ")", ";", "break", ";", "default", ":", "abort", "(", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "unwind", "directives", "for", "the", "given", "insn", "."], "TS_V_token": ["arm", "1", "0", "0", "0", "0", "\"\\t.unwind_raw 0, 0x%x @ vsp = r%d\\n\"", "0x90"], "File": "arm1", "Func": "arm_unwind_emit", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4339, "Length": 333, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCBranchCoalescing", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", "||", "MF", ".", "empty", "(", ")", ")", "return", "false", ";", "bool", "didSomething", "=", "false", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"******** Branch Coalescing ********\\n\"", ")", ";", "initialize", "(", "MF", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Function: \"", ";", "MF", ".", "dump", "(", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ")", ";", "CoalescingCandidateInfo", "Cand1", ",", "Cand2", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "bool", "MergedCandidates", "=", "false", ";", "do", "{", "MergedCandidates", "=", "false", ";", "Cand1", ".", "clear", "(", ")", ";", "Cand2", ".", "clear", "(", ")", ";", "Cand1", ".", "BranchBlock", "=", "&", "MBB", ";", "if", "(", "!", "canCoalesceBranch", "(", "Cand1", ")", ")", "break", ";", "Cand2", ".", "BranchBlock", "=", "Cand1", ".", "BranchTargetBlock", ";", "if", "(", "!", "canCoalesceBranch", "(", "Cand2", ")", ")", "break", ";", "assert", "(", "MPDT", "->", "dominates", "(", "Cand2", ".", "BranchTargetBlock", ",", "Cand1", ".", "BranchBlock", ")", "&&", "\"Branch-taken block should post-dominate first candidate\"", ")", ";", "if", "(", "!", "identicalOperands", "(", "Cand1", ".", "Cond", ",", "Cand2", ".", "Cond", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Blocks \"", "<<", "Cand1", ".", "BranchBlock", "->", "getNumber", "(", ")", "<<", "\" and \"", "<<", "Cand2", ".", "BranchBlock", "->", "getNumber", "(", ")", "<<", "\" have different branches\\n\"", ")", ";", "break", ";", "}", "if", "(", "!", "canMerge", "(", "Cand2", ",", "Cand1", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Cannot merge blocks \"", "<<", "Cand1", ".", "BranchBlock", "->", "getNumber", "(", ")", "<<", "\" and \"", "<<", "Cand2", ".", "BranchBlock", "->", "getNumber", "(", ")", "<<", "\"\\n\"", ")", ";", "NumBlocksNotCoalesced", "++", ";", "continue", ";", "}", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Merging blocks \"", "<<", "Cand1", ".", "BranchBlock", "->", "getNumber", "(", ")", "<<", "\" and \"", "<<", "Cand1", ".", "BranchTargetBlock", "->", "getNumber", "(", ")", "<<", "\"\\n\"", ")", ";", "MergedCandidates", "=", "mergeCandidates", "(", "Cand2", ",", "Cand1", ")", ";", "if", "(", "MergedCandidates", ")", "didSomething", "=", "true", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Function after merging: \"", ";", "MF", ".", "dump", "(", ")", ";", "dbgs", "(", ")", "<<", "\"\\n\"", ")", ";", "}", "while", "(", "MergedCandidates", ")", ";", "}", "if", "(", "didSomething", ")", "MF", ".", "verify", "(", "nullptr", ",", "\"Error in code produced by branch coalescing\"", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Finished Branch Coalescing\\n\"", ")", ";", "return", "didSomething", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["PowerPC", "PPC", "\"******** Branch Coalescing ********\\n\"", "\"Function: \"", "\"\\n\"", "\"Branch-taken block should post-dominate first candidate\"", "\"Blocks \"", "\" and \"", "\" have different branches\\n\"", "\"Cannot merge blocks \"", "\" and \"", "\"\\n\"", "\"Merging blocks \"", "\" and \"", "\"\\n\"", "\"Function after merging: \"", "\"\\n\"", "\"Error in code produced by branch coalescing\"", "\"Finished Branch Coalescing\\n\""], "File": "PPCBranchCoalescing12", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4340, "Length": 353, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "aarch64_extr_rtx_p", "(", "rtx", "x", ",", "rtx", "*", "res_op0", ",", "rtx", "*", "res_op1", ")", "{", "rtx", "op0", ",", "op1", ";", "scalar_int_mode", "mode", ";", "if", "(", "!", "is_a", "<", "scalar_int_mode", ">", "(", "GET_MODE", "(", "x", ")", ",", "&", "mode", ")", ")", "return", "false", ";", "*", "res_op0", "=", "NULL_RTX", ";", "*", "res_op1", "=", "NULL_RTX", ";", "if", "(", "GET_CODE", "(", "x", ")", "!=", "IOR", ")", "return", "false", ";", "op0", "=", "XEXP", "(", "x", ",", "0", ")", ";", "op1", "=", "XEXP", "(", "x", ",", "1", ")", ";", "if", "(", "(", "GET_CODE", "(", "op0", ")", "==", "ASHIFT", "&&", "GET_CODE", "(", "op1", ")", "==", "LSHIFTRT", ")", "||", "(", "GET_CODE", "(", "op1", ")", "==", "ASHIFT", "&&", "GET_CODE", "(", "op0", ")", "==", "LSHIFTRT", ")", ")", "{", "if", "(", "GET_CODE", "(", "op1", ")", "==", "ASHIFT", ")", "std", "::", "swap", "(", "op0", ",", "op1", ")", ";", "if", "(", "!", "CONST_INT_P", "(", "XEXP", "(", "op0", ",", "1", ")", ")", "||", "!", "CONST_INT_P", "(", "XEXP", "(", "op1", ",", "1", ")", ")", ")", "return", "false", ";", "unsigned", "HOST_WIDE_INT", "shft_amnt_0", "=", "UINTVAL", "(", "XEXP", "(", "op0", ",", "1", ")", ")", ";", "unsigned", "HOST_WIDE_INT", "shft_amnt_1", "=", "UINTVAL", "(", "XEXP", "(", "op1", ",", "1", ")", ")", ";", "if", "(", "shft_amnt_0", "<", "GET_MODE_BITSIZE", "(", "mode", ")", "&&", "shft_amnt_0", "+", "shft_amnt_1", "==", "GET_MODE_BITSIZE", "(", "mode", ")", ")", "{", "*", "res_op0", "=", "XEXP", "(", "op0", ",", "0", ")", ";", "*", "res_op1", "=", "XEXP", "(", "op1", ",", "0", ")", ";", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "iff", "X", "is", "an", "rtx", "that", "will", "match", "an", "extr", "instruction", "i.e", ".", "as", "described", "in", "the", "*", "extr", "<", "mode", ">", "5_insn", "family", "of", "patterns", ".", "OP0", "and", "OP1", "will", "be", "set", "to", "the", "operands", "of", "the", "shifts", "involved", "on", "success", "and", "will", "be", "NULL_RTX", "otherwise", "."], "TS_V_token": ["aarch64", "0", "1", "1", "1", "1", "1", "0", "0"], "File": "aarch64", "Func": "aarch64_extr_rtx_p", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4341, "Length": 240, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "arm_legitimate_address_outer_p", "(", "machine_mode", "mode", ",", "rtx", "x", ",", "RTX_CODE", "outer", ",", "int", "strict_p", ")", "{", "bool", "use_ldrd", ";", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "x", ")", ";", "if", "(", "arm_address_register_rtx_p", "(", "x", ",", "strict_p", ")", ")", "return", "1", ";", "use_ldrd", "=", "(", "TARGET_LDRD", "&&", "(", "mode", "==", "DImode", "||", "mode", "==", "DFmode", ")", ")", ";", "if", "(", "code", "==", "POST_INC", "||", "code", "==", "PRE_DEC", "||", "(", "(", "code", "==", "PRE_INC", "||", "code", "==", "POST_DEC", ")", "&&", "(", "use_ldrd", "||", "GET_MODE_SIZE", "(", "mode", ")", "<=", "4", ")", ")", ")", "return", "arm_address_register_rtx_p", "(", "XEXP", "(", "x", ",", "0", ")", ",", "strict_p", ")", ";", "else", "if", "(", "(", "code", "==", "POST_MODIFY", "||", "code", "==", "PRE_MODIFY", ")", "&&", "arm_address_register_rtx_p", "(", "XEXP", "(", "x", ",", "0", ")", ",", "strict_p", ")", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "PLUS", "&&", "rtx_equal_p", "(", "XEXP", "(", "XEXP", "(", "x", ",", "1", ")", ",", "0", ")", ",", "XEXP", "(", "x", ",", "0", ")", ")", ")", "{", "rtx", "addend", "=", "XEXP", "(", "XEXP", "(", "x", ",", "1", ")", ",", "1", ")", ";", "if", "(", "use_ldrd", "&&", "GET_CODE", "(", "x", ")", "==", "POST_MODIFY", "&&", "REG_P", "(", "addend", ")", ")", "return", "0", ";", "return", "(", "(", "use_ldrd", "||", "GET_MODE_SIZE", "(", "mode", ")", "<=", "4", ")", "&&", "arm_legitimate_index_p", "(", "mode", ",", "addend", ",", "outer", ",", "strict_p", ")", ")", ";", "}", "else", "if", "(", "reload_completed", "&&", "(", "code", "==", "LABEL_REF", "||", "(", "code", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "0", ")", ")", "==", "LABEL_REF", "&&", "CONST_INT_P", "(", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "1", ")", ")", ")", ")", ")", "return", "1", ";", "else", "if", "(", "mode", "==", "TImode", "||", "(", "TARGET_NEON", "&&", "VALID_NEON_STRUCT_MODE", "(", "mode", ")", ")", ")", "return", "0", ";", "else", "if", "(", "code", "==", "PLUS", ")", "{", "rtx", "xop0", "=", "XEXP", "(", "x", ",", "0", ")", ";", "rtx", "xop1", "=", "XEXP", "(", "x", ",", "1", ")", ";", "return", "(", "(", "arm_address_register_rtx_p", "(", "xop0", ",", "strict_p", ")", "&&", "(", "(", "CONST_INT_P", "(", "xop1", ")", "&&", "arm_legitimate_index_p", "(", "mode", ",", "xop1", ",", "outer", ",", "strict_p", ")", ")", "||", "(", "!", "strict_p", "&&", "will_be_in_index_register", "(", "xop1", ")", ")", ")", ")", "||", "(", "arm_address_register_rtx_p", "(", "xop1", ",", "strict_p", ")", "&&", "arm_legitimate_index_p", "(", "mode", ",", "xop0", ",", "outer", ",", "strict_p", ")", ")", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "MINUS", ")", "{", "rtx", "xop0", "=", "XEXP", "(", "x", ",", "0", ")", ";", "rtx", "xop1", "=", "XEXP", "(", "x", ",", "1", ")", ";", "return", "(", "arm_address_register_rtx_p", "(", "xop0", ",", "strict_p", ")", "&&", "arm_legitimate_index_p", "(", "mode", ",", "xop1", ",", "outer", ",", "strict_p", ")", ")", ";", "}", "else", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "!=", "MODE_FLOAT", "&&", "code", "==", "SYMBOL_REF", "&&", "CONSTANT_POOL_ADDRESS_P", "(", "x", ")", "&&", "!", "(", "flag_pic", "&&", "symbol_mentioned_p", "(", "get_pool_constant", "(", "x", ")", ")", "&&", "!", "pcrel_constant_p", "(", "get_pool_constant", "(", "x", ")", ")", ")", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "X", "is", "a", "valid", "ARM", "state", "address", "operand", "."], "TS_V_token": ["arm", "1", "4", "0", "0", "1", "1", "0", "0", "1", "1", "0", "4", "0", "0", "0", "0", "1", "1", "0", "0", "1", "0", "1", "1", "0"], "File": "arm", "Func": "arm_legitimate_address_outer_p", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4342, "Length": 497, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "high_pressure", "(", "machine_mode", "mode", ")", "{", "if", "(", "r0_life_regions", ">=", "R0_MAX_LIFE_REGIONS", ")", "return", "true", ";", "if", "(", "mode", "==", "SFmode", ")", "return", "(", "CURR_REGMODE_PRESSURE", "(", "SFmode", ")", ">", "SFMODE_MAX_WEIGHT", ")", ";", "else", "return", "(", "CURR_REGMODE_PRESSURE", "(", "SImode", ")", ">", "SIMODE_MAX_WEIGHT", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "pressure", "is", "high", "for", "MODE", "."], "TS_V_token": ["sh"], "File": "sh", "Func": "high_pressure", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4343, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonInstrInfo", "::", "SubsumesPredicate", "(", "const", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Pred1", ",", "const", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Pred2", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "the", "first", "specified", "predicate", "subsumes", "the", "second", ",", "e.g", "."], "TS_V_token": ["Hexagon", "Hexagon"], "File": "HexagonInstrInfo11", "Func": "SubsumesPredicate", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4344, "Length": 27, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARCFrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Spill callee saved registers: \"", "<<", "MBB", ".", "getParent", "(", ")", "->", "getName", "(", ")", "<<", "\"\\n\"", ")", ";", "unsigned", "Last", "=", "determineLastCalleeSave", "(", "CSI", ")", ";", "if", "(", "UseSaveRestoreFunclet", "&&", "Last", ">", "ARC", "::", "R14", ")", "{", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["spillCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "spill", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series", "of", "store", "instructions", "via", "storeRegToStackSlot", "(", ")", "."], "TS_V_token": ["ARC", "ARC", "\"Spill callee saved registers: \"", "\"\\n\"", "ARC::R14"], "File": "ARCFrameLowering10", "Func": "spillCalleeSavedRegisters", "Target": "ARC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4345, "Length": 79, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVAsmPrinter", "::", "emitEndOfAsmFile", "(", "Module", "&", "M", ")", "{", "RISCVTargetStreamer", "&", "RTS", "=", "static_cast", "<", "RISCVTargetStreamer", "&", ">", "(", "*", "OutStreamer", "->", "getTargetStreamer", "(", ")", ")", ";", "if", "(", "TM", ".", "getTargetTriple", "(", ")", ".", "isOSBinFormatELF", "(", ")", ")", "RTS", ".", "finishAttributeSection", "(", ")", ";", "}", ""], "natrual_language": ["This", "virtual", "method", "can", "be", "overridden", "by", "targets", "that", "want", "to", "emit", "something", "at", "the", "end", "of", "their", "file", "."], "TS_V_token": ["RI5CY", "RISCV", "RISCV", "RISCV"], "File": "RISCVAsmPrinter", "Func": "emitEndOfAsmFile", "Target": "RI5CY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4346, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_lra_p", "(", "void", ")", "{", "return", "TARGET_LRA", ";", "}", ""], "natrual_language": ["Return", "true", "if", "we", "use", "LRA", "instead", "of", "reload", "pass", "."], "TS_V_token": ["rs6000"], "File": "rs60006", "Func": "rs6000_lra_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4347, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCCodeEmitter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "assert", "(", "(", "MF", ".", "getTarget", "(", ")", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Default", "||", "MF", ".", "getTarget", "(", ")", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Static", ")", "&&", "\"JIT relocation model must be set to static or default!\"", ")", ";", "MCE", ".", "setModuleInfo", "(", "&", "getAnalysis", "<", "MachineModuleInfo", ">", "(", ")", ")", ";", "do", "{", "MovePCtoLROffset", "=", "0", ";", "MCE", ".", "startFunction", "(", "MF", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "BB", "=", "MF", ".", "begin", "(", ")", ",", "E", "=", "MF", ".", "end", "(", ")", ";", "BB", "!=", "E", ";", "++", "BB", ")", "emitBasicBlock", "(", "*", "BB", ")", ";", "}", "while", "(", "MCE", ".", "finishFunction", "(", "MF", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["PowerPC", "PPC", "\"JIT relocation model must be set to static or default!\"", "0"], "File": "PPCCodeEmitter14", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4348, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "assignValueToAddress", "(", "Register", "ValVReg", ",", "Register", "Addr", ",", "LLT", "MemTy", ",", "MachinePointerInfo", "&", "MPO", ",", "CCValAssign", "&", "VA", ")", "override", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "auto", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MPO", ",", "MachineMemOperand", "::", "MOLoad", ",", "MemTy", ",", "inferAlignFromPtrInfo", "(", "MF", ",", "MPO", ")", ")", ";", "MIRBuilder", ".", "buildLoad", "(", "ValVReg", ",", "Addr", ",", "*", "MMO", ")", ";", "}", ""], "natrual_language": ["An", "overload", "which", "takes", "an", "ArgInfo", "if", "additional", "information", "about", "the", "arg", "is", "needed", "."], "TS_V_token": ["MOS"], "File": "MOSCallLowering", "Func": "assignValueToAddress", "Target": "MOS", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4349, "Length": 69, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getDesc", "(", ")", "const", "{", "return", "StringRef", "(", "getName", "(", ")", ".", "data", "(", ")", "+", "alignTo", "(", "namesz", ",", "ALIGN", ")", ",", "descsz", ")", ";", "}", ""], "natrual_language": ["Returns", "the", "target", "instruction", "descriptor", "of", "this", "MachineInstr", "."], "TS_V_token": ["AMDGPU"], "File": "CodeObject", "Func": "getDesc", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4350, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonFrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "HexagonMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "HexagonMachineFunctionInfo", ">", "(", ")", ";", "return", "(", "MFI", "->", "hasCalls", "(", ")", "||", "(", "MFI", "->", "getStackSize", "(", ")", ">", "0", ")", "||", "FuncInfo", "->", "hasClobberLR", "(", ")", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon", "Hexagon", "0"], "File": "HexagonFrameLowering18", "Func": "hasFP", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4351, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "const", "SparcInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "SparcInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "assert", "(", "MBBI", "->", "getOpcode", "(", ")", "==", "SP", "::", "RETL", "&&", "\"Can only put epilog before 'retl' instruction!\"", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "SP", "::", "RESTORErr", ")", ",", "SP", "::", "G0", ")", ".", "addReg", "(", "SP", "::", "G0", ")", ".", "addReg", "(", "SP", "::", "G0", ")", ";", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "Sparc", "SP::RETL", "\"Can only put epilog before 'retl' instruction!\"", "SP::RESTORErr", "SP::G0", "SP::G0", "SP::G0"], "File": "SparcFrameLowering11", "Func": "emitEpilogue", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4352, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SICTargetLowering", "::", "getOpndList", "(", "SmallVectorImpl", "<", "SDValue", ">", "&", "Ops", ",", "std", "::", "deque", "<", "std", "::", "pair", "<", "unsigned", ",", "SDValue", ">", ">", "&", "RegsToPass", ",", "bool", "IsPICCall", ",", "bool", "GlobalOrExternal", ",", "bool", "InternalLinkage", ",", "CallLoweringInfo", "&", "CLI", ",", "SDValue", "Callee", ",", "SDValue", "Chain", ")", "const", "{", "if", "(", "IsPICCall", "||", "!", "GlobalOrExternal", ")", "{", "unsigned", "T9Reg", "=", "SIC", "::", "T", ";", "RegsToPass", ".", "push_front", "(", "std", "::", "make_pair", "(", "T9Reg", ",", "Callee", ")", ")", ";", "}", "else", "Ops", ".", "push_back", "(", "Callee", ")", ";", "if", "(", "IsPICCall", "&&", "!", "InternalLinkage", ")", "{", "unsigned", "GPReg", "=", "SIC", "::", "B", ";", "EVT", "Ty", "=", "MVT", "::", "i24", ";", "RegsToPass", ".", "push_back", "(", "std", "::", "make_pair", "(", "GPReg", ",", "getGlobalReg", "(", "CLI", ".", "DAG", ",", "Ty", ")", ")", ")", ";", "}", "SDValue", "InFlag", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "RegsToPass", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "Chain", "=", "CLI", ".", "DAG", ".", "getCopyToReg", "(", "Chain", ",", "CLI", ".", "DL", ",", "RegsToPass", "[", "i", "]", ".", "first", ",", "RegsToPass", "[", "i", "]", ".", "second", ",", "InFlag", ")", ";", "InFlag", "=", "Chain", ".", "getValue", "(", "1", ")", ";", "}", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "RegsToPass", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "Ops", ".", "push_back", "(", "CLI", ".", "DAG", ".", "getRegister", "(", "RegsToPass", "[", "i", "]", ".", "first", ",", "RegsToPass", "[", "i", "]", ".", "second", ".", "getValueType", "(", ")", ")", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "const", "uint32_t", "*", "Mask", "=", "TRI", "->", "getCallPreservedMask", "(", "CLI", ".", "DAG", ".", "getMachineFunction", "(", ")", ",", "CLI", ".", "CallConv", ")", ";", "assert", "(", "Mask", "&&", "\"Missing call preserved mask for calling convention\"", ")", ";", "Ops", ".", "push_back", "(", "CLI", ".", "DAG", ".", "getRegisterMask", "(", "Mask", ")", ")", ";", "if", "(", "InFlag", ".", "getNode", "(", ")", ")", "Ops", ".", "push_back", "(", "InFlag", ")", ";", "}", ""], "natrual_language": ["This", "function", "fills", "Ops", ",", "which", "is", "the", "list", "of", "operands", "that", "will", "later", "be", "used", "when", "a", "function", "call", "node", "is", "created", "."], "TS_V_token": ["SIC", "SIC", "SIC::T", "SIC::B", "MVT::i24", "0", "1", "0", "\"Missing call preserved mask for calling convention\""], "File": "SICISelLowering", "Func": "getOpndList", "Target": "SIC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4353, "Length": 320, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_set_current_function", "(", "tree", "fndecl", ")", "{", "if", "(", "fndecl", "==", "ix86_previous_fndecl", ")", "return", ";", "tree", "old_tree", ";", "if", "(", "ix86_previous_fndecl", "==", "NULL_TREE", ")", "old_tree", "=", "target_option_current_node", ";", "else", "if", "(", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "ix86_previous_fndecl", ")", ")", "old_tree", "=", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "ix86_previous_fndecl", ")", ";", "else", "old_tree", "=", "target_option_default_node", ";", "if", "(", "fndecl", "==", "NULL_TREE", ")", "{", "if", "(", "old_tree", "!=", "target_option_current_node", ")", "ix86_reset_previous_fndecl", "(", ")", ";", "return", ";", "}", "tree", "new_tree", "=", "DECL_FUNCTION_SPECIFIC_TARGET", "(", "fndecl", ")", ";", "if", "(", "new_tree", "==", "NULL_TREE", ")", "new_tree", "=", "target_option_default_node", ";", "if", "(", "old_tree", "!=", "new_tree", ")", "{", "cl_target_option_restore", "(", "&", "global_options", ",", "TREE_TARGET_OPTION", "(", "new_tree", ")", ")", ";", "if", "(", "TREE_TARGET_GLOBALS", "(", "new_tree", ")", ")", "restore_target_globals", "(", "TREE_TARGET_GLOBALS", "(", "new_tree", ")", ")", ";", "else", "if", "(", "new_tree", "==", "target_option_default_node", ")", "restore_target_globals", "(", "&", "default_target_globals", ")", ";", "else", "TREE_TARGET_GLOBALS", "(", "new_tree", ")", "=", "save_target_globals_default_opts", "(", ")", ";", "}", "ix86_previous_fndecl", "=", "fndecl", ";", "}", ""], "natrual_language": ["Establish", "appropriate", "back-end", "context", "for", "processing", "the", "function", "FNDECL", ".", "The", "argument", "might", "be", "NULL", "to", "indicate", "processing", "at", "top", "level", ",", "outside", "of", "any", "function", "scope", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "ix86_set_current_function", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4354, "Length": 149, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Mips16DAGToDAGISel", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "!", "Subtarget", ".", "inMips16Mode", "(", ")", ")", "return", "false", ";", "return", "MipsDAGToDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["Mips", "Mips", "Mips", "Mips"], "File": "Mips16ISelDAGToDAG1", "Func": "runOnMachineFunction", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4355, "Length": 31, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "sparc_va_start", "(", "tree", "valist", ",", "rtx", "nextarg", ")", "{", "nextarg", "=", "expand_builtin_saveregs", "(", ")", ";", "std_expand_builtin_va_start", "(", "valist", ",", "nextarg", ")", ";", "}", ""], "natrual_language": ["Implement", "`", "va_start", "'", "for", "varargs", "and", "stdarg", "."], "TS_V_token": ["sparc"], "File": "sparc", "Func": "sparc_va_start", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4356, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsResolved", ",", "const", "MCSubtargetInfo", "*", "STI", ")", "const", "override", "{", "MCFixupKind", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "if", "(", "Kind", ">=", "FirstLiteralRelocationKind", ")", "return", ";", "Value", "=", "adjustFixupValue", "(", "Kind", ",", "Value", ")", ";", "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "getFixupKindNumBytes", "(", "Kind", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "unsigned", "Idx", "=", "Endian", "==", "support", "::", "little", "?", "i", ":", "(", "NumBytes", "-", "1", "-", "i", ")", ";", "Data", "[", "Offset", "+", "i", "]", "|=", "uint8_t", "(", "(", "Value", ">>", "(", "Idx", "*", "8", ")", ")", "&", "0xff", ")", ";", "}", "}", ""], "natrual_language": ["Apply", "the", "Value", "for", "given", "Fixup", "into", "the", "provided", "data", "fragment", ",", "at", "the", "offset", "specified", "by", "the", "fixup", "and", "following", "the", "fixup", "kind", "as", "appropriate", "."], "TS_V_token": ["PowerPC", "0", "support::little", "1", "8", "0xff"], "File": "PPCAsmBackend10", "Func": "applyFixup", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4357, "Length": 146, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "GBZ80InstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "dl", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "dl", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "RC", "==", "&", "GBZ80", "::", "GR8RegClass", ")", "BuildMI", "(", "MBB", ",", "MI", ",", "dl", ",", "get", "(", "GBZ80", "::", "LD8rr", ")", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ";", "else", "if", "(", "RC", "==", "&", "GBZ80", "::", "GR16RegClass", "||", "GBZ80", "::", "GR16RegClass", ".", "contains", "(", "SrcReg", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MI", ",", "dl", ",", "get", "(", "GBZ80", "::", "LD16mr", ")", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ";", "}", "else", "llvm_unreachable", "(", "\"Can't store this register to stack slot\"", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["GBZ80", "GB", "GBZ80::GR8RegClass", "GBZ80::LD8rr", "0", "GBZ80::GR16RegClass", "GBZ80::GR16RegClass", "GBZ80::LD16mr", "0", "\"Can't store this register to stack slot\""], "File": "GBZ80InstrInfo (2)", "Func": "storeRegToStackSlot", "Target": "GBZ80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4358, "Length": 165, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "MCInst", "&", "Res", ")", "const", "override", "{", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["FISC"], "File": "FISCAsmBackend", "Func": "relaxInstruction", "Target": "FISC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4359, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "arm_valid_target_attribute_rec", "(", "tree", "args", ",", "struct", "gcc_options", "*", "opts", ")", "{", "if", "(", "TREE_CODE", "(", "args", ")", "==", "TREE_LIST", ")", "{", "bool", "ret", "=", "true", ";", "for", "(", ";", "args", ";", "args", "=", "TREE_CHAIN", "(", "args", ")", ")", "if", "(", "TREE_VALUE", "(", "args", ")", "&&", "!", "arm_valid_target_attribute_rec", "(", "TREE_VALUE", "(", "args", ")", ",", "opts", ")", ")", "ret", "=", "false", ";", "return", "ret", ";", "}", "else", "if", "(", "TREE_CODE", "(", "args", ")", "!=", "STRING_CST", ")", "{", "error", "(", "\"attribute % argument not a string\"", ")", ";", "return", "false", ";", "}", "char", "*", "argstr", "=", "ASTRDUP", "(", "TREE_STRING_POINTER", "(", "args", ")", ")", ";", "char", "*", "q", ";", "while", "(", "(", "q", "=", "strtok", "(", "argstr", ",", "\",\"", ")", ")", "!=", "NULL", ")", "{", "while", "(", "ISSPACE", "(", "*", "q", ")", ")", "++", "q", ";", "argstr", "=", "NULL", ";", "if", "(", "!", "strncmp", "(", "q", ",", "\"thumb\"", ",", "5", ")", ")", "opts", "->", "x_target_flags", "|=", "MASK_THUMB", ";", "else", "if", "(", "!", "strncmp", "(", "q", ",", "\"arm\"", ",", "3", ")", ")", "opts", "->", "x_target_flags", "&=", "~", "MASK_THUMB", ";", "else", "if", "(", "!", "strncmp", "(", "q", ",", "\"fpu=\"", ",", "4", ")", ")", "{", "int", "fpu_index", ";", "if", "(", "!", "opt_enum_arg_to_value", "(", "OPT_mfpu_", ",", "q", "+", "4", ",", "&", "fpu_index", ",", "CL_TARGET", ")", ")", "{", "error", "(", "\"invalid fpu for target attribute or pragma %qs\"", ",", "q", ")", ";", "return", "false", ";", "}", "if", "(", "fpu_index", "==", "TARGET_FPU_auto", ")", "{", "sorry", "(", "\"auto fpu selection not currently permitted here\"", ")", ";", "return", "false", ";", "}", "opts", "->", "x_arm_fpu_index", "=", "(", "enum", "fpu_type", ")", "fpu_index", ";", "}", "else", "if", "(", "!", "strncmp", "(", "q", ",", "\"arch=\"", ",", "5", ")", ")", "{", "char", "*", "arch", "=", "q", "+", "5", ";", "const", "arch_option", "*", "arm_selected_arch", "=", "arm_parse_arch_option_name", "(", "all_architectures", ",", "\"arch\"", ",", "arch", ")", ";", "if", "(", "!", "arm_selected_arch", ")", "{", "error", "(", "\"invalid architecture for target attribute or pragma %qs\"", ",", "q", ")", ";", "return", "false", ";", "}", "opts", "->", "x_arm_arch_string", "=", "xstrndup", "(", "arch", ",", "strlen", "(", "arch", ")", ")", ";", "}", "else", "if", "(", "q", "[", "0", "]", "==", "'+'", ")", "{", "opts", "->", "x_arm_arch_string", "=", "xasprintf", "(", "\"%s%s\"", ",", "opts", "->", "x_arm_arch_string", ",", "q", ")", ";", "}", "else", "{", "error", "(", "\"unknown target attribute or pragma %qs\"", ",", "q", ")", ";", "return", "false", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["Inner", "function", "to", "process", "the", "attribute", "(", "(", "target", "(", "...", ")", ")", ")", ",", "take", "an", "argument", "and", "set", "the", "current", "options", "from", "the", "argument", ".", "If", "we", "have", "a", "list", ",", "recursively", "go", "over", "the", "list", "."], "TS_V_token": ["arm", "\"attribute % argument not a string\"", "\",\"", "\"thumb\"", "5", "\"arm\"", "3", "\"fpu=\"", "4", "4", "\"invalid fpu for target attribute or pragma %qs\"", "\"auto fpu selection not currently permitted here\"", "\"arch=\"", "5", "5", "\"arch\"", "\"invalid architecture for target attribute or pragma %qs\"", "0", "\"%s%s\"", "\"unknown target attribute or pragma %qs\""], "File": "arm7", "Func": "arm_valid_target_attribute_rec", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4360, "Length": 357, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Nios2 Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Nios2", "\"Nios2 Assembly Printer\""], "File": "Nios2AsmPrinter", "Func": "getPassName", "Target": "Nios2", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4361, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "s390_expand_cs_hqi", "(", "machine_mode", "mode", ",", "rtx", "btarget", ",", "rtx", "vtarget", ",", "rtx", "mem", ",", "rtx", "cmp", ",", "rtx", "new_rtx", ",", "bool", "is_weak", ")", "{", "struct", "alignment_context", "ac", ";", "rtx", "cmpv", ",", "newv", ",", "val", ",", "cc", ",", "seq0", ",", "seq1", ",", "seq2", ",", "seq3", ";", "rtx", "res", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "rtx_code_label", "*", "csloop", "=", "NULL", ",", "*", "csend", "=", "NULL", ";", "gcc_assert", "(", "MEM_P", "(", "mem", ")", ")", ";", "init_alignment_context", "(", "&", "ac", ",", "mem", ",", "mode", ")", ";", "val", "=", "expand_simple_binop", "(", "SImode", ",", "AND", ",", "ac", ".", "memsi", ",", "ac", ".", "modemaski", ",", "NULL_RTX", ",", "1", ",", "OPTAB_DIRECT", ")", ";", "cmpv", "=", "s390_two_part_insv", "(", "&", "ac", ",", "&", "seq0", ",", "&", "seq2", ",", "mode", ",", "val", ",", "cmp", ")", ";", "newv", "=", "s390_two_part_insv", "(", "&", "ac", ",", "&", "seq1", ",", "&", "seq3", ",", "mode", ",", "val", ",", "new_rtx", ")", ";", "if", "(", "seq0", ")", "emit_insn", "(", "seq0", ")", ";", "if", "(", "seq1", ")", "emit_insn", "(", "seq1", ")", ";", "if", "(", "!", "is_weak", ")", "{", "emit_move_insn", "(", "btarget", ",", "const1_rtx", ")", ";", "csloop", "=", "gen_label_rtx", "(", ")", ";", "csend", "=", "gen_label_rtx", "(", ")", ";", "emit_label", "(", "csloop", ")", ";", "}", "emit_insn", "(", "seq2", ")", ";", "emit_insn", "(", "seq3", ")", ";", "cc", "=", "s390_emit_compare_and_swap", "(", "EQ", ",", "res", ",", "ac", ".", "memsi", ",", "cmpv", ",", "newv", ",", "CCZ1mode", ")", ";", "if", "(", "is_weak", ")", "emit_insn", "(", "gen_cstorecc4", "(", "btarget", ",", "cc", ",", "XEXP", "(", "cc", ",", "0", ")", ",", "XEXP", "(", "cc", ",", "1", ")", ")", ")", ";", "else", "{", "rtx", "tmp", ";", "s390_emit_jump", "(", "csend", ",", "cc", ")", ";", "tmp", "=", "copy_to_reg", "(", "val", ")", ";", "force_expand_binop", "(", "SImode", ",", "and_optab", ",", "res", ",", "ac", ".", "modemaski", ",", "val", ",", "1", ",", "OPTAB_DIRECT", ")", ";", "cc", "=", "s390_emit_compare", "(", "NE", ",", "val", ",", "tmp", ")", ";", "s390_emit_jump", "(", "csloop", ",", "cc", ")", ";", "emit_move_insn", "(", "btarget", ",", "const0_rtx", ")", ";", "emit_label", "(", "csend", ")", ";", "}", "convert_move", "(", "vtarget", ",", "expand_simple_binop", "(", "SImode", ",", "LSHIFTRT", ",", "res", ",", "ac", ".", "shift", ",", "NULL_RTX", ",", "1", ",", "OPTAB_DIRECT", ")", ",", "1", ")", ";", "}", ""], "natrual_language": ["Expand", "an", "atomic", "compare", "and", "swap", "operation", "for", "HImode", "and", "QImode", ".", "MEM", "is", "the", "memory", "location", ",", "CMP", "the", "old", "value", "to", "compare", "MEM", "with", "and", "NEW", "the", "value", "to", "set", "if", "CMP", "==", "MEM", ".", "CMP", "is", "never", "in", "memory", "for", "compare_and_swap_cc", "because", "expand_bool_compare_and_swap", "puts", "it", "into", "a", "register", "for", "later", "compare", "."], "TS_V_token": ["s390", "1", "0", "1", "1", "1", "1"], "File": "s390", "Func": "s390_expand_cs_hqi", "Target": "s390", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4362, "Length": 349, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_pic_register_p", "(", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "VALUE", "&&", "CSELIB_VAL_PTR", "(", "x", ")", ")", "return", "(", "pic_offset_table_rtx", "&&", "rtx_equal_for_cselib_p", "(", "x", ",", "pic_offset_table_rtx", ")", ")", ";", "else", "if", "(", "!", "REG_P", "(", "x", ")", ")", "return", "false", ";", "else", "if", "(", "pic_offset_table_rtx", ")", "{", "if", "(", "REGNO", "(", "x", ")", "==", "REGNO", "(", "pic_offset_table_rtx", ")", ")", "return", "true", ";", "if", "(", "HARD_REGISTER_P", "(", "x", ")", "&&", "!", "HARD_REGISTER_P", "(", "pic_offset_table_rtx", ")", "&&", "ORIGINAL_REGNO", "(", "x", ")", "==", "REGNO", "(", "pic_offset_table_rtx", ")", ")", "return", "true", ";", "return", "false", ";", "}", "else", "return", "REGNO", "(", "x", ")", "==", "PIC_OFFSET_TABLE_REGNUM", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "representation", "of", "the", "PIC", "register", ".", "This", "copes", "with", "calls", "from", "ix86_find_base_term", ",", "where", "the", "register", "might", "have", "been", "replaced", "by", "a", "cselib", "value", "."], "TS_V_token": ["i386"], "File": "i3864", "Func": "ix86_pic_register_p", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4363, "Length": 107, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getSize", "(", ")", "{", "return", "CurType", ".", "Size", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "bytes", "in", "the", "encoding", "of", "this", "instruction", ",", "or", "zero", "if", "the", "encoding", "size", "can", "not", "be", "known", "from", "the", "opcode", "."], "TS_V_token": ["X86"], "File": "X86AsmParser16", "Func": "getSize", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4364, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64TargetLowering", "::", "shouldSinkOperands", "(", "Instruction", "*", "I", ",", "SmallVectorImpl", "<", "Use", "*", ">", "&", "Ops", ")", "const", "{", "if", "(", "!", "I", "->", "getType", "(", ")", "->", "isVectorTy", "(", ")", ")", "return", "false", ";", "if", "(", "IntrinsicInst", "*", "II", "=", "dyn_cast", "<", "IntrinsicInst", ">", "(", "I", ")", ")", "{", "switch", "(", "II", "->", "getIntrinsicID", "(", ")", ")", "{", "case", "Intrinsic", "::", "aarch64_neon_umull", ":", "if", "(", "!", "areExtractShuffleVectors", "(", "II", "->", "getOperand", "(", "0", ")", ",", "II", "->", "getOperand", "(", "1", ")", ")", ")", "return", "false", ";", "Ops", ".", "push_back", "(", "&", "II", "->", "getOperandUse", "(", "0", ")", ")", ";", "Ops", ".", "push_back", "(", "&", "II", "->", "getOperandUse", "(", "1", ")", ")", ";", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", "switch", "(", "I", "->", "getOpcode", "(", ")", ")", "{", "case", "Instruction", "::", "Sub", ":", "case", "Instruction", "::", "Add", ":", "{", "if", "(", "!", "areExtractExts", "(", "I", "->", "getOperand", "(", "0", ")", ",", "I", "->", "getOperand", "(", "1", ")", ")", ")", "return", "false", ";", "auto", "Ext1", "=", "cast", "<", "Instruction", ">", "(", "I", "->", "getOperand", "(", "0", ")", ")", ";", "auto", "Ext2", "=", "cast", "<", "Instruction", ">", "(", "I", "->", "getOperand", "(", "1", ")", ")", ";", "if", "(", "areExtractShuffleVectors", "(", "Ext1", ",", "Ext2", ")", ")", "{", "Ops", ".", "push_back", "(", "&", "Ext1", "->", "getOperandUse", "(", "0", ")", ")", ";", "Ops", ".", "push_back", "(", "&", "Ext2", "->", "getOperandUse", "(", "0", ")", ")", ";", "}", "Ops", ".", "push_back", "(", "&", "I", "->", "getOperandUse", "(", "0", ")", ")", ";", "Ops", ".", "push_back", "(", "&", "I", "->", "getOperandUse", "(", "1", ")", ")", ";", "return", "true", ";", "}", "default", ":", "return", "false", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "sinking", "I", "'s", "operands", "to", "the", "same", "basic", "block", "as", "I", "is", "profitable", ",", "e.g", "."], "TS_V_token": ["AArch64", "AArch64", "Intrinsic::aarch64_neon_umull", "0", "1", "0", "1", "0", "1", "0", "1", "0", "0", "0", "1"], "File": "AArch64ISelLowering (2)3", "Func": "shouldSinkOperands", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4365, "Length": 275, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "rs6000_function_value", "(", "const_tree", "valtype", ",", "const_tree", "fn_decl_or_type", "ATTRIBUTE_UNUSED", ",", "bool", "outgoing", "ATTRIBUTE_UNUSED", ")", "{", "machine_mode", "mode", ";", "unsigned", "int", "regno", ";", "machine_mode", "elt_mode", ";", "int", "n_elts", ";", "if", "(", "TARGET_MACHO", "&&", "rs6000_darwin64_struct_check_p", "(", "TYPE_MODE", "(", "valtype", ")", ",", "valtype", ")", ")", "{", "CUMULATIVE_ARGS", "valcum", ";", "rtx", "valret", ";", "valcum", ".", "words", "=", "0", ";", "valcum", ".", "fregno", "=", "FP_ARG_MIN_REG", ";", "valcum", ".", "vregno", "=", "ALTIVEC_ARG_MIN_REG", ";", "valret", "=", "rs6000_darwin64_record_arg", "(", "&", "valcum", ",", "valtype", ",", "true", ",", "true", ")", ";", "if", "(", "valret", ")", "return", "valret", ";", "}", "mode", "=", "TYPE_MODE", "(", "valtype", ")", ";", "if", "(", "rs6000_discover_homogeneous_aggregate", "(", "mode", ",", "valtype", ",", "&", "elt_mode", ",", "&", "n_elts", ")", ")", "{", "int", "first_reg", ",", "n_regs", ";", "if", "(", "SCALAR_FLOAT_MODE_NOT_VECTOR_P", "(", "elt_mode", ")", ")", "{", "first_reg", "=", "(", "elt_mode", "==", "TDmode", ")", "?", "FP_ARG_RETURN", "+", "1", ":", "FP_ARG_RETURN", ";", "n_regs", "=", "(", "GET_MODE_SIZE", "(", "elt_mode", ")", "+", "7", ")", ">>", "3", ";", "}", "else", "{", "first_reg", "=", "ALTIVEC_ARG_RETURN", ";", "n_regs", "=", "1", ";", "}", "return", "rs6000_parallel_return", "(", "mode", ",", "n_elts", ",", "elt_mode", ",", "first_reg", ",", "n_regs", ")", ";", "}", "if", "(", "TARGET_32BIT", "&&", "TARGET_POWERPC64", ")", "switch", "(", "mode", ")", "{", "default", ":", "break", ";", "case", "E_DImode", ":", "case", "E_SCmode", ":", "case", "E_DCmode", ":", "case", "E_TCmode", ":", "int", "count", "=", "GET_MODE_SIZE", "(", "mode", ")", "/", "4", ";", "return", "rs6000_parallel_return", "(", "mode", ",", "count", ",", "SImode", ",", "GP_ARG_RETURN", ",", "1", ")", ";", "}", "if", "(", "(", "INTEGRAL_TYPE_P", "(", "valtype", ")", "&&", "GET_MODE_BITSIZE", "(", "mode", ")", "<", "(", "TARGET_32BIT", "?", "32", ":", "64", ")", ")", "||", "POINTER_TYPE_P", "(", "valtype", ")", ")", "mode", "=", "TARGET_32BIT", "?", "SImode", ":", "DImode", ";", "if", "(", "DECIMAL_FLOAT_MODE_P", "(", "mode", ")", "&&", "TARGET_HARD_FLOAT", ")", "regno", "=", "(", "mode", "==", "TDmode", ")", "?", "FP_ARG_RETURN", "+", "1", ":", "FP_ARG_RETURN", ";", "else", "if", "(", "SCALAR_FLOAT_TYPE_P", "(", "valtype", ")", "&&", "TARGET_HARD_FLOAT", "&&", "!", "FLOAT128_VECTOR_P", "(", "mode", ")", "&&", "(", "(", "TARGET_SINGLE_FLOAT", "&&", "(", "mode", "==", "SFmode", ")", ")", "||", "TARGET_DOUBLE_FLOAT", ")", ")", "regno", "=", "FP_ARG_RETURN", ";", "else", "if", "(", "TREE_CODE", "(", "valtype", ")", "==", "COMPLEX_TYPE", "&&", "targetm", ".", "calls", ".", "split_complex_arg", ")", "return", "rs6000_complex_function_value", "(", "mode", ")", ";", "else", "if", "(", "(", "TREE_CODE", "(", "valtype", ")", "==", "VECTOR_TYPE", "||", "FLOAT128_VECTOR_P", "(", "mode", ")", ")", "&&", "TARGET_ALTIVEC", "&&", "TARGET_ALTIVEC_ABI", "&&", "ALTIVEC_OR_VSX_VECTOR_MODE", "(", "mode", ")", ")", "regno", "=", "ALTIVEC_ARG_RETURN", ";", "else", "regno", "=", "GP_ARG_RETURN", ";", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "}", ""], "natrual_language": ["Define", "how", "to", "find", "the", "value", "returned", "by", "a", "function", ".", "VALTYPE", "is", "the", "data", "type", "of", "the", "value", "(", "as", "a", "tree", ")", ".", "If", "the", "precise", "function", "being", "called", "is", "known", ",", "FUNC", "is", "its", "FUNCTION_DECL", ";", "otherwise", ",", "FUNC", "is", "0", ".", "On", "the", "SPE", ",", "both", "FPs", "and", "vectors", "are", "returned", "in", "r3", ".", "On", "RS/6000", "an", "integer", "value", "is", "in", "r3", "and", "a", "floating-point", "value", "is", "in", "fp1", ",", "unless", "-msoft-float", "."], "TS_V_token": ["rs6000", "0", "1", "7", "3", "1", "4", "1", "32", "64", "1"], "File": "rs60007", "Func": "rs6000_function_value", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4366, "Length": 390, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "hasStandaloneRem", "(", "EVT", "VT", ")", "const", "override", "{", "return", "HasStandaloneRem", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "can", "handle", "a", "standalone", "remainder", "operation", "."], "TS_V_token": ["ARM"], "File": "ARMISelLowering", "Func": "hasStandaloneRem", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4367, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ScheduleDAGPostRA", "::", "moveInstruction", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "::", "iterator", "InsertPos", ")", "{", "if", "(", "&", "*", "RegionBegin", "==", "MI", ")", "++", "RegionBegin", ";", "bool", "InsideBundle", "=", "MI", "->", "isBundledWithPred", "(", ")", "&&", "MI", "->", "isBundledWithSucc", "(", ")", ";", "MachineInstr", "*", "PrevMI", "=", "InsideBundle", "?", "MI", "->", "getPrevNode", "(", ")", ":", "NULL", ";", "if", "(", "!", "InsideBundle", "&&", "(", "(", "MI", "->", "isBundledWithPred", "(", ")", "&&", "!", "MI", "->", "getPrevNode", "(", ")", "->", "isBundledWithPred", "(", ")", ")", "||", "(", "MI", "->", "isBundledWithSucc", "(", ")", "&&", "!", "MI", "->", "getNextNode", "(", ")", "->", "isBundledWithSucc", "(", ")", ")", ")", ")", "{", "NumBundled", "--", ";", "NumNotBundled", "++", ";", "}", "if", "(", "MI", "->", "isBundledWithPred", "(", ")", ")", "MI", "->", "unbundleFromPred", "(", ")", ";", "if", "(", "MI", "->", "isBundledWithSucc", "(", ")", ")", "MI", "->", "unbundleFromSucc", "(", ")", ";", "BB", "->", "splice", "(", "InsertPos", ",", "BB", ",", "MI", ")", ";", "if", "(", "InsideBundle", ")", "{", "PrevMI", "->", "bundleWithSucc", "(", ")", ";", "}", "if", "(", "RegionBegin", "==", "InsertPos", ")", "RegionBegin", "=", "MI", ";", "}", ""], "natrual_language": ["Change", "the", "position", "of", "an", "instruction", "within", "the", "basic", "block", "and", "update", "live", "ranges", "and", "region", "boundary", "iterators", "."], "TS_V_token": ["Patmos"], "File": "PatmosPostRAScheduler", "Func": "moveInstruction", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 4368, "Length": 170, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "isProfitableToIfCvt", "(", "MachineBasicBlock", "&", "TMBB", ",", "unsigned", "NumCyclesT", ",", "unsigned", "ExtraPredCyclesT", ",", "MachineBasicBlock", "&", "FMBB", ",", "unsigned", "NumCyclesF", ",", "unsigned", "ExtraPredCyclesF", ",", "const", "BranchProbability", "&", "Probability", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["Second", "variant", "of", "isProfitableToIfCvt", "."], "TS_V_token": ["SystemZ", "SystemZ"], "File": "SystemZInstrInfo (2)", "Func": "isProfitableToIfCvt", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4369, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "AArch64TargetLowering", "::", "ConstraintType", "AArch64TargetLowering", "::", "getConstraintType", "(", "StringRef", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "]", ")", "{", "default", ":", "break", ";", "case", "'x'", ":", "case", "'w'", ":", "case", "'y'", ":", "return", "C_RegisterClass", ";", "case", "'Q'", ":", "return", "C_Memory", ";", "case", "'I'", ":", "case", "'J'", ":", "case", "'K'", ":", "case", "'L'", ":", "case", "'M'", ":", "case", "'N'", ":", "case", "'Y'", ":", "case", "'Z'", ":", "return", "C_Immediate", ";", "case", "'z'", ":", "case", "'S'", ":", "return", "C_Other", ";", "}", "}", "else", "if", "(", "parsePredicateConstraint", "(", "Constraint", ")", "!=", "PredicateConstraint", "::", "Invalid", ")", "return", "C_RegisterClass", ";", "return", "TargetLowering", "::", "getConstraintType", "(", "Constraint", ")", ";", "}", ""], "natrual_language": ["Given", "a", "constraint", "letter", ",", "return", "the", "type", "of", "constraint", "for", "this", "target", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "1", "0"], "File": "AArch64ISelLowering (2)2", "Func": "getConstraintType", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4370, "Length": 115, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "SparcFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "SparcMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "SparcMachineFunctionInfo", ">", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "const", "SparcInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "SparcInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "DebugLoc", "dl", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "assert", "(", "MBBI", "->", "getOpcode", "(", ")", "==", "SP", "::", "RETL", "&&", "\"Can only put epilog before 'retl' instruction!\"", ")", ";", "if", "(", "!", "FuncInfo", "->", "isLeafProc", "(", ")", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "SP", "::", "RESTORErr", ")", ",", "SP", "::", "G0", ")", ".", "addReg", "(", "SP", "::", "G0", ")", ".", "addReg", "(", "SP", "::", "G0", ")", ";", "return", ";", "}", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "int", "NumBytes", "=", "(", "int", ")", "MFI", "->", "getStackSize", "(", ")", ";", "if", "(", "NumBytes", "==", "0", ")", "return", ";", "NumBytes", "=", "SubTarget", ".", "getAdjustedFrameSize", "(", "NumBytes", ")", ";", "if", "(", "NumBytes", "<", "4096", ")", "{", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "SP", "::", "ADDri", ")", ",", "SP", "::", "O6", ")", ".", "addReg", "(", "SP", "::", "O6", ")", ".", "addImm", "(", "NumBytes", ")", ";", "}", "else", "{", "unsigned", "OffHi", "=", "(", "unsigned", ")", "NumBytes", ">>", "10U", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "SP", "::", "SETHIi", ")", ",", "SP", "::", "G1", ")", ".", "addImm", "(", "OffHi", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "SP", "::", "ORri", ")", ",", "SP", "::", "G1", ")", ".", "addReg", "(", "SP", "::", "G1", ")", ".", "addImm", "(", "NumBytes", "&", "(", "(", "1", "<<", "10", ")", "-", "1", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "SP", "::", "ADDrr", ")", ",", "SP", "::", "O6", ")", ".", "addReg", "(", "SP", "::", "O6", ")", ".", "addReg", "(", "SP", "::", "G1", ")", ";", "}", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "Sparc", "SP::RETL", "\"Can only put epilog before 'retl' instruction!\"", "SP::RESTORErr", "SP::G0", "SP::G0", "SP::G0", "0", "4096", "SP::ADDri", "SP::O6", "SP::O6", "10U", "SP::SETHIi", "SP::G1", "SP::ORri", "SP::G1", "SP::G1", "1", "10", "1", "SP::ADDrr", "SP::O6", "SP::O6", "SP::G1"], "File": "SparcFrameLowering3", "Func": "emitEpilogue", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4371, "Length": 338, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"ARM64 Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["ARM64", "\"ARM64 Assembly Printer\""], "File": "ARM64AsmPrinter1", "Func": "getPassName", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4372, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "MipsTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "BR_JT", ":", "return", "lowerBR_JT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BRCOND", ":", "return", "lowerBRCOND", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ConstantPool", ":", "return", "lowerConstantPool", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "lowerGlobalAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "lowerBlockAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalTLSAddress", ":", "return", "lowerGlobalTLSAddress", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "JumpTable", ":", "return", "lowerJumpTable", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT", ":", "return", "lowerSELECT", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SETCC", ":", "return", "lowerSETCC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "lowerVASTART", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "VAARG", ":", "return", "lowerVAARG", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FCOPYSIGN", ":", "return", "lowerFCOPYSIGN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "lowerFRAMEADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "RETURNADDR", ":", "return", "lowerRETURNADDR", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "EH_RETURN", ":", "return", "lowerEH_RETURN", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ATOMIC_FENCE", ":", "return", "lowerATOMIC_FENCE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SHL_PARTS", ":", "return", "lowerShiftLeftParts", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SRA_PARTS", ":", "return", "lowerShiftRightParts", "(", "Op", ",", "DAG", ",", "true", ")", ";", "case", "ISD", "::", "SRL_PARTS", ":", "return", "lowerShiftRightParts", "(", "Op", ",", "DAG", ",", "false", ")", ";", "case", "ISD", "::", "LOAD", ":", "return", "lowerLOAD", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "lowerSTORE", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ADD", ":", "return", "lowerADD", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FP_TO_SINT", ":", "return", "lowerFP_TO_SINT", "(", "Op", ",", "DAG", ")", ";", "}", "return", "SDValue", "(", ")", ";", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["Mips", "Mips", "ISD::BR_JT", "ISD::BRCOND", "ISD::ConstantPool", "ISD::GlobalAddress", "ISD::BlockAddress", "ISD::GlobalTLSAddress", "ISD::JumpTable", "ISD::SELECT", "ISD::SETCC", "ISD::VASTART", "ISD::VAARG", "ISD::FCOPYSIGN", "ISD::FRAMEADDR", "ISD::RETURNADDR", "ISD::EH_RETURN", "ISD::ATOMIC_FENCE", "ISD::SHL_PARTS", "ISD::SRA_PARTS", "ISD::SRL_PARTS", "ISD::LOAD", "ISD::STORE", "ISD::ADD", "ISD::FP_TO_SINT"], "File": "MipsISelLowering102", "Func": "LowerOperation", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4373, "Length": 333, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SIInstrInfo", "::", "getInstSizeInBytes", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "const", "MCInstrDesc", "&", "Desc", "=", "getMCOpcodeFromPseudo", "(", "Opc", ")", ";", "unsigned", "DescSize", "=", "Desc", ".", "getSize", "(", ")", ";", "if", "(", "DescSize", "!=", "0", "&&", "DescSize", "!=", "4", ")", "return", "DescSize", ";", "if", "(", "isVALU", "(", "MI", ")", "||", "isSALU", "(", "MI", ")", ")", "{", "if", "(", "isFixedSize", "(", "MI", ")", ")", "return", "DescSize", ";", "int", "Src0Idx", "=", "AMDGPU", "::", "getNamedOperandIdx", "(", "Opc", ",", "AMDGPU", "::", "OpName", "::", "src0", ")", ";", "if", "(", "Src0Idx", "==", "-", "1", ")", "return", "4", ";", "if", "(", "isLiteralConstantLike", "(", "MI", ".", "getOperand", "(", "Src0Idx", ")", ",", "Desc", ".", "OpInfo", "[", "Src0Idx", "]", ")", ")", "return", "8", ";", "int", "Src1Idx", "=", "AMDGPU", "::", "getNamedOperandIdx", "(", "Opc", ",", "AMDGPU", "::", "OpName", "::", "src1", ")", ";", "if", "(", "Src1Idx", "==", "-", "1", ")", "return", "4", ";", "if", "(", "isLiteralConstantLike", "(", "MI", ".", "getOperand", "(", "Src1Idx", ")", ",", "Desc", ".", "OpInfo", "[", "Src1Idx", "]", ")", ")", "return", "8", ";", "return", "4", ";", "}", "if", "(", "DescSize", "==", "4", ")", "return", "4", ";", "switch", "(", "Opc", ")", "{", "case", "TargetOpcode", "::", "IMPLICIT_DEF", ":", "case", "TargetOpcode", "::", "KILL", ":", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "case", "TargetOpcode", "::", "EH_LABEL", ":", "return", "0", ";", "case", "TargetOpcode", "::", "BUNDLE", ":", "return", "getInstBundleSize", "(", "MI", ")", ";", "case", "TargetOpcode", "::", "INLINEASM", ":", "{", "const", "MachineFunction", "*", "MF", "=", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "const", "char", "*", "AsmStr", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getSymbolName", "(", ")", ";", "return", "getInlineAsmLength", "(", "AsmStr", ",", "*", "MF", "->", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", ")", ";", "}", "default", ":", "llvm_unreachable", "(", "\"unable to find instruction size\"", ")", ";", "}", "}", ""], "natrual_language": ["Returns", "the", "size", "in", "bytes", "of", "the", "specified", "MachineInstr", ",", "or", "~0U", "when", "this", "function", "is", "not", "implemented", "by", "a", "target", "."], "TS_V_token": ["AMDGPU", "SI", "0", "4", "AMDGPU::getNamedOperandIdx", "AMDGPU::OpName", "1", "4", "8", "AMDGPU::getNamedOperandIdx", "AMDGPU::OpName", "1", "4", "8", "4", "4", "4", "0", "0", "\"unable to find instruction size\""], "File": "SIInstrInfo (2)", "Func": "getInstSizeInBytes", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4374, "Length": 288, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCLinuxAsmPrinter", "::", "emitStartOfAsmFile", "(", "Module", "&", "M", ")", "{", "if", "(", "static_cast", "<", "const", "PPCTargetMachine", "&", ">", "(", "TM", ")", ".", "isELFv2ABI", "(", ")", ")", "{", "PPCTargetStreamer", "*", "TS", "=", "static_cast", "<", "PPCTargetStreamer", "*", ">", "(", "OutStreamer", "->", "getTargetStreamer", "(", ")", ")", ";", "if", "(", "TS", ")", "TS", "->", "emitAbiVersion", "(", "2", ")", ";", "}", "if", "(", "static_cast", "<", "const", "PPCTargetMachine", "&", ">", "(", "TM", ")", ".", "isPPC64", "(", ")", "||", "!", "isPositionIndependent", "(", ")", ")", "return", "AsmPrinter", "::", "emitStartOfAsmFile", "(", "M", ")", ";", "if", "(", "M", ".", "getPICLevel", "(", ")", "==", "PICLevel", "::", "SmallPIC", ")", "return", "AsmPrinter", "::", "emitStartOfAsmFile", "(", "M", ")", ";", "OutStreamer", "->", "SwitchSection", "(", "OutContext", ".", "getELFSection", "(", "\".got2\"", ",", "ELF", "::", "SHT_PROGBITS", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ")", ")", ";", "MCSymbol", "*", "TOCSym", "=", "OutContext", ".", "getOrCreateSymbol", "(", "Twine", "(", "\".LTOC\"", ")", ")", ";", "MCSymbol", "*", "CurrentPos", "=", "OutContext", ".", "createTempSymbol", "(", ")", ";", "OutStreamer", "->", "emitLabel", "(", "CurrentPos", ")", ";", "const", "MCExpr", "*", "tocExpr", "=", "MCBinaryExpr", "::", "createAdd", "(", "MCSymbolRefExpr", "::", "create", "(", "CurrentPos", ",", "OutContext", ")", ",", "MCConstantExpr", "::", "create", "(", "0x8000", ",", "OutContext", ")", ",", "OutContext", ")", ";", "OutStreamer", "->", "emitAssignment", "(", "TOCSym", ",", "tocExpr", ")", ";", "OutStreamer", "->", "SwitchSection", "(", "getObjFileLowering", "(", ")", ".", "getTextSection", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "virtual", "method", "can", "be", "overridden", "by", "targets", "that", "want", "to", "emit", "something", "at", "the", "start", "of", "their", "file", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "PPC", "PPC", "2", "PPC", "PPC", "\".got2\"", "\".LTOC\"", "0x8000"], "File": "PPCAsmPrinter (2)3", "Func": "emitStartOfAsmFile", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4375, "Length": 213, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "dump_swap_insn_table", "(", "swap_web_entry", "*", "insn_entry", ")", "{", "int", "e", "=", "get_max_uid", "(", ")", ";", "fprintf", "(", "dump_file", ",", "\"\\nRelevant insns with their flag settings\\n\\n\"", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "e", ";", "++", "i", ")", "if", "(", "insn_entry", "[", "i", "]", ".", "is_relevant", ")", "{", "swap_web_entry", "*", "pred_entry", "=", "(", "swap_web_entry", "*", ")", "insn_entry", "[", "i", "]", ".", "pred", "(", ")", ";", "fprintf", "(", "dump_file", ",", "\"%6d %6d \"", ",", "i", ",", "pred_entry", "&&", "pred_entry", "->", "insn", "?", "INSN_UID", "(", "pred_entry", "->", "insn", ")", ":", "0", ")", ";", "if", "(", "insn_entry", "[", "i", "]", ".", "is_load", ")", "fputs", "(", "\"load \"", ",", "dump_file", ")", ";", "if", "(", "insn_entry", "[", "i", "]", ".", "is_store", ")", "fputs", "(", "\"store \"", ",", "dump_file", ")", ";", "if", "(", "insn_entry", "[", "i", "]", ".", "is_swap", ")", "fputs", "(", "\"swap \"", ",", "dump_file", ")", ";", "if", "(", "insn_entry", "[", "i", "]", ".", "is_live_in", ")", "fputs", "(", "\"live-in \"", ",", "dump_file", ")", ";", "if", "(", "insn_entry", "[", "i", "]", ".", "is_live_out", ")", "fputs", "(", "\"live-out \"", ",", "dump_file", ")", ";", "if", "(", "insn_entry", "[", "i", "]", ".", "contains_subreg", ")", "fputs", "(", "\"subreg \"", ",", "dump_file", ")", ";", "if", "(", "insn_entry", "[", "i", "]", ".", "is_128_int", ")", "fputs", "(", "\"int128 \"", ",", "dump_file", ")", ";", "if", "(", "insn_entry", "[", "i", "]", ".", "is_call", ")", "fputs", "(", "\"call \"", ",", "dump_file", ")", ";", "if", "(", "insn_entry", "[", "i", "]", ".", "is_swappable", ")", "{", "fputs", "(", "\"swappable \"", ",", "dump_file", ")", ";", "if", "(", "insn_entry", "[", "i", "]", ".", "special_handling", "==", "SH_CONST_VECTOR", ")", "fputs", "(", "\"special:constvec \"", ",", "dump_file", ")", ";", "else", "if", "(", "insn_entry", "[", "i", "]", ".", "special_handling", "==", "SH_SUBREG", ")", "fputs", "(", "\"special:subreg \"", ",", "dump_file", ")", ";", "else", "if", "(", "insn_entry", "[", "i", "]", ".", "special_handling", "==", "SH_NOSWAP_LD", ")", "fputs", "(", "\"special:load \"", ",", "dump_file", ")", ";", "else", "if", "(", "insn_entry", "[", "i", "]", ".", "special_handling", "==", "SH_NOSWAP_ST", ")", "fputs", "(", "\"special:store \"", ",", "dump_file", ")", ";", "else", "if", "(", "insn_entry", "[", "i", "]", ".", "special_handling", "==", "SH_EXTRACT", ")", "fputs", "(", "\"special:extract \"", ",", "dump_file", ")", ";", "else", "if", "(", "insn_entry", "[", "i", "]", ".", "special_handling", "==", "SH_SPLAT", ")", "fputs", "(", "\"special:splat \"", ",", "dump_file", ")", ";", "}", "if", "(", "insn_entry", "[", "i", "]", ".", "web_not_optimizable", ")", "fputs", "(", "\"unoptimizable \"", ",", "dump_file", ")", ";", "if", "(", "insn_entry", "[", "i", "]", ".", "will_delete", ")", "fputs", "(", "\"delete \"", ",", "dump_file", ")", ";", "fputs", "(", "\"\\n\"", ",", "dump_file", ")", ";", "}", "fputs", "(", "\"\\n\"", ",", "dump_file", ")", ";", "}", ""], "natrual_language": ["Dump", "the", "swap", "table", "to", "DUMP_FILE", "."], "TS_V_token": ["rs6000", "\"\\nRelevant insns with their flag settings\\n\\n\"", "0", "\"%6d %6d \"", "0", "\"load \"", "\"store \"", "\"swap \"", "\"live-in \"", "\"live-out \"", "\"subreg \"", "\"int128 \"", "\"call \"", "\"swappable \"", "\"special:constvec \"", "\"special:subreg \"", "\"special:load \"", "\"special:store \"", "\"special:extract \"", "\"special:splat \"", "\"unoptimizable \"", "\"delete \"", "\"\\n\"", "\"\\n\""], "File": "rs60004", "Func": "dump_swap_insn_table", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4376, "Length": 395, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isReturnBlock", "(", "MachineBasicBlock", "*", "blk", ")", "{", "MachineInstr", "*", "instr", "=", "getReturnInstr", "(", "blk", ")", ";", "bool", "isReturn", "=", "(", "blk", "->", "succ_size", "(", ")", "==", "0", ")", ";", "if", "(", "instr", ")", "{", "assert", "(", "isReturn", ")", ";", "}", "else", "if", "(", "isReturn", ")", "{", "if", "(", "DEBUGME", ")", "{", "errs", "(", ")", "<<", "\"BB\"", "<<", "blk", "->", "getNumber", "(", ")", "<<", "\" is return block without RETURN instr\\n\"", ";", "}", "}", "return", "isReturn", ";", "}", ""], "natrual_language": ["Convenience", "function", "that", "returns", "true", "if", "the", "block", "ends", "in", "a", "return", "instruction", "."], "TS_V_token": ["R600", "0", "\"BB\"", "\" is return block without RETURN instr\\n\""], "File": "AMDILCFGStructurizer16", "Func": "isReturnBlock", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4377, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "rs6000_emit_epilogue_components", "(", "sbitmap", "components", ")", "{", "rs6000_stack_t", "*", "info", "=", "rs6000_stack_info", "(", ")", ";", "rtx", "ptr_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "frame_pointer_needed", "?", "HARD_FRAME_POINTER_REGNUM", ":", "STACK_POINTER_REGNUM", ")", ";", "int", "reg_size", "=", "TARGET_32BIT", "?", "4", ":", "8", ";", "int", "offset", "=", "info", "->", "gp_save_offset", ";", "if", "(", "info", "->", "push_p", ")", "offset", "+=", "info", "->", "total_size", ";", "for", "(", "int", "i", "=", "info", "->", "first_gp_reg_save", ";", "i", "<", "32", ";", "i", "++", ")", "{", "if", "(", "bitmap_bit_p", "(", "components", ",", "i", ")", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "i", ")", ";", "rtx_insn", "*", "insn", "=", "emit_insn", "(", "gen_frame_load", "(", "reg", ",", "ptr_reg", ",", "offset", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_RESTORE", ",", "reg", ")", ";", "}", "offset", "+=", "reg_size", ";", "}", "if", "(", "bitmap_bit_p", "(", "components", ",", "0", ")", ")", "{", "int", "offset", "=", "info", "->", "lr_save_offset", ";", "if", "(", "info", "->", "push_p", ")", "offset", "+=", "info", "->", "total_size", ";", "rtx", "reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "0", ")", ";", "rtx_insn", "*", "insn", "=", "emit_insn", "(", "gen_frame_load", "(", "reg", ",", "ptr_reg", ",", "offset", ")", ")", ";", "rtx", "lr", "=", "gen_rtx_REG", "(", "Pmode", ",", "LR_REGNO", ")", ";", "insn", "=", "emit_move_insn", "(", "lr", ",", "reg", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "add_reg_note", "(", "insn", ",", "REG_CFA_RESTORE", ",", "lr", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_SHRINK_WRAP_EMIT_EPILOGUE_COMPONENTS", "."], "TS_V_token": ["rs6000", "4", "8", "32", "1", "0", "0", "1"], "File": "rs60006", "Func": "rs6000_emit_epilogue_components", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4378, "Length": 225, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetLowering", "::", "ConstraintWeight", "SparcTargetLowering", "::", "getSingleConstraintMatchWeight", "(", "AsmOperandInfo", "&", "info", ",", "const", "char", "*", "constraint", ")", "const", "{", "ConstraintWeight", "weight", "=", "CW_Invalid", ";", "Value", "*", "CallOperandVal", "=", "info", ".", "CallOperandVal", ";", "if", "(", "!", "CallOperandVal", ")", "return", "CW_Default", ";", "switch", "(", "*", "constraint", ")", "{", "default", ":", "weight", "=", "TargetLowering", "::", "getSingleConstraintMatchWeight", "(", "info", ",", "constraint", ")", ";", "break", ";", "case", "'I'", ":", "if", "(", "ConstantInt", "*", "C", "=", "dyn_cast", "<", "ConstantInt", ">", "(", "info", ".", "CallOperandVal", ")", ")", "{", "if", "(", "isInt", "<", "13", ">", "(", "C", "->", "getSExtValue", "(", ")", ")", ")", "weight", "=", "CW_Constant", ";", "}", "break", ";", "}", "return", "weight", ";", "}", ""], "natrual_language": ["Examine", "constraint", "string", "and", "operand", "type", "and", "determine", "a", "weight", "value", "."], "TS_V_token": ["Sparc", "Sparc", "13"], "File": "SparcISelLowering (2)2", "Func": "getSingleConstraintMatchWeight", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4379, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "riscv_arg_partial_bytes", "(", "cumulative_args_t", "cum", ",", "machine_mode", "mode", ",", "tree", "type", ",", "bool", "named", ")", "{", "struct", "riscv_arg_info", "arg", ";", "riscv_get_arg_info", "(", "&", "arg", ",", "get_cumulative_args", "(", "cum", ")", ",", "mode", ",", "type", ",", "named", ",", "false", ")", ";", "return", "arg", ".", "stack_p", "?", "arg", ".", "num_gprs", "*", "UNITS_PER_WORD", ":", "0", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ARG_PARTIAL_BYTES", "."], "TS_V_token": ["riscv", "0"], "File": "riscv3", "Func": "riscv_arg_partial_bytes", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4380, "Length": 54, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVAsmBackend", "::", "shouldForceRelocation", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ")", "{", "if", "(", "Fixup", ".", "getKind", "(", ")", ">=", "FirstLiteralRelocationKind", ")", "return", "true", ";", "switch", "(", "Fixup", ".", "getTargetKind", "(", ")", ")", "{", "default", ":", "break", ";", "case", "FK_Data_1", ":", "case", "FK_Data_2", ":", "case", "FK_Data_4", ":", "case", "FK_Data_8", ":", "if", "(", "Target", ".", "isAbsolute", "(", ")", ")", "return", "false", ";", "break", ";", "case", "RISCV", "::", "fixup_riscv_got_hi20", ":", "case", "RISCV", "::", "fixup_riscv_tls_got_hi20", ":", "case", "RISCV", "::", "fixup_riscv_tls_gd_hi20", ":", "return", "true", ";", "}", "return", "STI", ".", "getFeatureBits", "(", ")", "[", "RISCV", "::", "FeatureRelax", "]", "||", "ForceRelocs", ";", "}", ""], "natrual_language": ["Hook", "to", "check", "if", "a", "relocation", "is", "needed", "for", "some", "target", "specific", "reason", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::fixup_riscv_got_hi20", "RISCV::fixup_riscv_tls_got_hi20", "RISCV::fixup_riscv_tls_gd_hi20", "RISCV::FeatureRelax"], "File": "RISCVAsmBackend14", "Func": "shouldForceRelocation", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4381, "Length": 106, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUUnifyMetadata", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "return", "runOnModule", "(", "*", "F", ".", "getParent", "(", ")", ")", ";", "}", ""], "natrual_language": ["runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "."], "TS_V_token": ["AMDGPU", "AMDGPU"], "File": "AMDGPUUnifyMetadata3", "Func": "runOnFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4382, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AGCFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "}", ""], "natrual_language": ["emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["AGC", "AGC"], "File": "AGCFrameLowering", "Func": "emitPrologue", "Target": "AGC", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4383, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "NVPTXFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "MBB", ".", "erase", "(", "I", ")", ";", "}", ""], "natrual_language": ["This", "method", "is", "called", "during", "prolog/epilog", "code", "insertion", "to", "eliminate", "call", "frame", "setup", "and", "destroy", "pseudo", "instructions", "(", "but", "only", "if", "the", "Target", "is", "using", "them", ")", "."], "TS_V_token": ["NVPTX", "NVPTX"], "File": "NVPTXFrameLowering27", "Func": "eliminateCallFramePseudoInstr", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4384, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isEntryBlock", "(", "MachineBasicBlock", "*", "MBB", ")", "{", "if", "(", "MBB", "->", "pred_empty", "(", ")", ")", "{", "assert", "(", "MBB", "->", "getNumber", "(", ")", "==", "0", "&&", "\"Entry block with non-zero block Number.\"", ")", ";", "return", "true", ";", "}", "else", "return", "false", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "this", "is", "the", "entry", "block", "of", "the", "function", "."], "TS_V_token": ["JVM", "0", "\"Entry block with non-zero block Number.\""], "File": "JVMOffsetAllocator", "Func": "isEntryBlock", "Target": "JVM", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4385, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "XCoreInstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["XCore", "XCore"], "File": "XCoreSubtarget", "Func": "getInstrInfo", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4386, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "ix86_expand_vec_perm_const_1", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "if", "(", "expand_vec_perm_1", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_pshuflw_pshufhw", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_palignr", "(", "d", ",", "false", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_interleave2", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_broadcast", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_vpermq_perm_1", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_vperm2f128", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_pblendv", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_even_odd_pack", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_2vperm2f128_vshuf", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_pshufb2", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_interleave3", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_vperm2f128_vblend", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_even_odd_trunc", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_vpshufb2_vpermq", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_vpshufb2_vpermq_even_odd", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_vpermt2_vpshub2", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_even_odd", "(", "d", ")", ")", "return", "true", ";", "if", "(", "expand_vec_perm_vpshufb4_vpermq2", "(", "d", ")", ")", "return", "true", ";", "struct", "expand_vec_perm_d", "nd", ";", "if", "(", "canonicalize_vector_int_perm", "(", "d", ",", "&", "nd", ")", "&&", "expand_vec_perm_1", "(", "&", "nd", ")", ")", "{", "if", "(", "!", "d", "->", "testing_p", ")", "emit_move_insn", "(", "d", "->", "target", ",", "gen_lowpart", "(", "d", "->", "vmode", ",", "nd", ".", "target", ")", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["The", "guts", "of", "ix86_expand_vec_perm_const", ",", "also", "used", "by", "the", "ok", "hook", ".", "With", "all", "of", "the", "interface", "bits", "taken", "care", "of", ",", "perform", "the", "expansion", "in", "D", "and", "return", "true", "on", "success", "."], "TS_V_token": ["i386"], "File": "i3867", "Func": "ix86_expand_vec_perm_const_1", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4387, "Length": 256, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MVT", "RISCVTargetLowering", "::", "getRegisterTypeForCallingConv", "(", "LLVMContext", "&", "Context", ",", "CallingConv", "::", "ID", "CC", ",", "EVT", "VT", ")", "const", "{", "if", "(", "VT", "==", "MVT", "::", "f16", "&&", "Subtarget", ".", "hasStdExtF", "(", ")", "&&", "!", "Subtarget", ".", "hasStdExtZfh", "(", ")", ")", "return", "MVT", "::", "f32", ";", "return", "TargetLowering", "::", "getRegisterTypeForCallingConv", "(", "Context", ",", "CC", ",", "VT", ")", ";", "}", ""], "natrual_language": ["Certain", "combinations", "of", "ABIs", ",", "Targets", "and", "features", "require", "that", "types", "are", "legal", "for", "some", "operations", "and", "not", "for", "other", "operations", "."], "TS_V_token": ["RISCV", "RISCV", "MVT::f16", "MVT::f32"], "File": "RISCVISelLowering1", "Func": "getRegisterTypeForCallingConv", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4388, "Length": 58, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetLowering", "::", "isLegalAddressingMode", "(", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ")", "const", "{", "if", "(", "AM", ".", "BaseGV", ")", "return", "false", ";", "switch", "(", "AM", ".", "Scale", ")", "{", "case", "0", ":", "break", ";", "case", "1", ":", "if", "(", "!", "AM", ".", "HasBaseReg", ")", "break", ";", "return", "false", ";", "default", ":", "return", "false", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["isLegalAddressingMode", "-", "Return", "true", "if", "the", "addressing", "mode", "represented", "by", "AM", "is", "legal", "for", "this", "target", ",", "for", "a", "load/store", "of", "the", "specified", "type", "."], "TS_V_token": ["Mips", "Mips", "0", "1"], "File": "MipsISelLowering (2)", "Func": "isLegalAddressingMode", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4389, "Length": 62, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "rtx", "legitimize_tls_address", "(", "rtx", "x", ",", "rtx", "reg", ")", "{", "rtx", "dest", ",", "tp", ",", "label", ",", "labelno", ",", "sum", ",", "insns", ",", "ret", ",", "eqv", ",", "addend", ";", "unsigned", "int", "model", "=", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", ";", "switch", "(", "model", ")", "{", "case", "TLS_MODEL_GLOBAL_DYNAMIC", ":", "if", "(", "TARGET_GNU2_TLS", ")", "{", "reg", "=", "arm_tls_descseq_addr", "(", "x", ",", "reg", ")", ";", "tp", "=", "arm_load_tp", "(", "NULL_RTX", ")", ";", "dest", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "tp", ",", "reg", ")", ";", "}", "else", "{", "insns", "=", "arm_call_tls_get_addr", "(", "x", ",", "reg", ",", "&", "ret", ",", "TLS_GD32", ")", ";", "dest", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_libcall_block", "(", "insns", ",", "dest", ",", "ret", ",", "x", ")", ";", "}", "return", "dest", ";", "case", "TLS_MODEL_LOCAL_DYNAMIC", ":", "if", "(", "TARGET_GNU2_TLS", ")", "{", "reg", "=", "arm_tls_descseq_addr", "(", "x", ",", "reg", ")", ";", "tp", "=", "arm_load_tp", "(", "NULL_RTX", ")", ";", "dest", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "tp", ",", "reg", ")", ";", "}", "else", "{", "insns", "=", "arm_call_tls_get_addr", "(", "x", ",", "reg", ",", "&", "ret", ",", "TLS_LDM32", ")", ";", "eqv", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "const1_rtx", ")", ",", "UNSPEC_TLS", ")", ";", "dest", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_libcall_block", "(", "insns", ",", "dest", ",", "ret", ",", "eqv", ")", ";", "addend", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "2", ",", "x", ",", "GEN_INT", "(", "TLS_LDO32", ")", ")", ",", "UNSPEC_TLS", ")", ";", "addend", "=", "force_reg", "(", "SImode", ",", "gen_rtx_CONST", "(", "SImode", ",", "addend", ")", ")", ";", "dest", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "dest", ",", "addend", ")", ";", "}", "return", "dest", ";", "case", "TLS_MODEL_INITIAL_EXEC", ":", "labelno", "=", "GEN_INT", "(", "pic_labelno", "++", ")", ";", "label", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "labelno", ")", ",", "UNSPEC_PIC_LABEL", ")", ";", "label", "=", "gen_rtx_CONST", "(", "VOIDmode", ",", "label", ")", ";", "sum", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "4", ",", "x", ",", "GEN_INT", "(", "TLS_IE32", ")", ",", "label", ",", "GEN_INT", "(", "TARGET_ARM", "?", "8", ":", "4", ")", ")", ",", "UNSPEC_TLS", ")", ";", "reg", "=", "load_tls_operand", "(", "sum", ",", "reg", ")", ";", "if", "(", "TARGET_ARM", ")", "emit_insn", "(", "gen_tls_load_dot_plus_eight", "(", "reg", ",", "reg", ",", "labelno", ")", ")", ";", "else", "if", "(", "TARGET_THUMB2", ")", "emit_insn", "(", "gen_tls_load_dot_plus_four", "(", "reg", ",", "NULL", ",", "reg", ",", "labelno", ")", ")", ";", "else", "{", "emit_insn", "(", "gen_pic_add_dot_plus_four", "(", "reg", ",", "reg", ",", "labelno", ")", ")", ";", "emit_move_insn", "(", "reg", ",", "gen_const_mem", "(", "SImode", ",", "reg", ")", ")", ";", "}", "tp", "=", "arm_load_tp", "(", "NULL_RTX", ")", ";", "return", "gen_rtx_PLUS", "(", "Pmode", ",", "tp", ",", "reg", ")", ";", "case", "TLS_MODEL_LOCAL_EXEC", ":", "tp", "=", "arm_load_tp", "(", "NULL_RTX", ")", ";", "reg", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "2", ",", "x", ",", "GEN_INT", "(", "TLS_LE32", ")", ")", ",", "UNSPEC_TLS", ")", ";", "reg", "=", "force_reg", "(", "SImode", ",", "gen_rtx_CONST", "(", "SImode", ",", "reg", ")", ")", ";", "return", "gen_rtx_PLUS", "(", "Pmode", ",", "tp", ",", "reg", ")", ";", "default", ":", "abort", "(", ")", ";", "}", "}", ""], "natrual_language": ["ADDR", "contains", "a", "thread-local", "SYMBOL_REF", ".", "Generate", "code", "to", "compute", "this", "(", "thread-local", ")", "address", "."], "TS_V_token": ["arm", "1", "2", "1", "4", "8", "4", "2"], "File": "arm4", "Func": "legitimize_tls_address", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4390, "Length": 472, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "ft32_is_mem_pm", "(", "rtx", "o", ")", "{", "return", "(", "MEM_P", "(", "o", ")", "&&", "!", "ADDR_SPACE_GENERIC_P", "(", "MEM_ADDR_SPACE", "(", "o", ")", ")", ")", ";", "}", ""], "natrual_language": ["Used", "by", "constraints.md", "to", "distinguish", "between", "GENERIC", "and", "PM", "memory", "addresses", "."], "TS_V_token": ["ft32"], "File": "ft32", "Func": "ft32_is_mem_pm", "Target": "ft32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4391, "Length": 25, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "Z80oldTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"LowerOperation: \"", ";", "Op", "->", "dump", "(", "&", "DAG", ")", ")", ";", "assert", "(", "Op", ".", "getResNo", "(", ")", "==", "0", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Opcode = \"", "<<", "Op", ".", "getOpcode", "(", ")", ")", ";", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Don't know how to lower this operation.\"", ")", ";", "case", "ISD", "::", "BR_CC", ":", "return", "LowerBR_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SELECT_CC", ":", "return", "LowerSELECT_CC", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "AND", ":", "case", "ISD", "::", "OR", ":", "case", "ISD", "::", "XOR", ":", "return", "LowerBitwise", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SHL", ":", "case", "ISD", "::", "SRA", ":", "case", "ISD", "::", "SRL", ":", "case", "ISD", "::", "ROTL", ":", "case", "ISD", "::", "ROTR", ":", "return", "LowerShift", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ANY_EXTEND", ":", "return", "LowerAnyExtend", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "ZERO_EXTEND", ":", "return", "LowerZeroExtend", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "SIGN_EXTEND", ":", "return", "LowerSignExtend", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "MUL", ":", "return", "LowerMul", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "GlobalAddress", ":", "return", "LowerGlobalAddress", "(", "cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ")", ",", "DAG", ")", ";", "case", "ISD", "::", "ExternalSymbol", ":", "return", "LowerExternalSymbol", "(", "cast", "<", "ExternalSymbolSDNode", ">", "(", "Op", ")", ",", "DAG", ")", ";", "case", "ISD", "::", "BlockAddress", ":", "return", "LowerBlockAddress", "(", "cast", "<", "BlockAddressSDNode", ">", "(", "Op", ")", ",", "DAG", ")", ";", "case", "ISD", "::", "LOAD", ":", "return", "LowerLoad", "(", "cast", "<", "LoadSDNode", ">", "(", "Op", ")", ",", "DAG", ")", ";", "case", "ISD", "::", "STORE", ":", "return", "LowerStore", "(", "cast", "<", "StoreSDNode", ">", "(", "Op", ")", ",", "DAG", ")", ";", "case", "ISD", "::", "VASTART", ":", "return", "LowerVAStart", "(", "Op", ",", "DAG", ")", ";", "}", "}", ""], "natrual_language": ["LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "."], "TS_V_token": ["Z80old", "Z80old", "\"LowerOperation: \"", "0", "\"Opcode = \"", "\"Don't know how to lower this operation.\"", "ISD::BR_CC", "ISD::SELECT_CC", "ISD::AND", "ISD::OR", "ISD::XOR", "ISD::SHL", "ISD::SRA", "ISD::SRL", "ISD::ROTL", "ISD::ROTR", "ISD::ANY_EXTEND", "ISD::ZERO_EXTEND", "ISD::SIGN_EXTEND", "ISD::MUL", "ISD::GlobalAddress", "ISD::ExternalSymbol", "ISD::BlockAddress", "ISD::LOAD", "ISD::STORE", "ISD::VASTART"], "File": "Z80oldISelLowering", "Func": "LowerOperation", "Target": "Z80old", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4392, "Length": 317, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIInstrInfo", "::", "isInlineConstant", "(", "const", "MachineOperand", "&", "MO", ",", "uint8_t", "OperandType", ")", "const", "{", "if", "(", "!", "MO", ".", "isImm", "(", ")", "||", "OperandType", "<", "AMDGPU", "::", "OPERAND_SRC_FIRST", "||", "OperandType", ">", "AMDGPU", "::", "OPERAND_SRC_LAST", ")", "return", "false", ";", "int64_t", "Imm", "=", "MO", ".", "getImm", "(", ")", ";", "switch", "(", "OperandType", ")", "{", "case", "AMDGPU", "::", "OPERAND_REG_IMM_INT32", ":", "case", "AMDGPU", "::", "OPERAND_REG_IMM_FP32", ":", "case", "AMDGPU", "::", "OPERAND_REG_IMM_FP32_DEFERRED", ":", "case", "AMDGPU", "::", "OPERAND_REG_INLINE_C_INT32", ":", "case", "AMDGPU", "::", "OPERAND_REG_INLINE_C_FP32", ":", "case", "AMDGPU", "::", "OPERAND_REG_IMM_V2FP32", ":", "case", "AMDGPU", "::", "OPERAND_REG_INLINE_C_V2FP32", ":", "case", "AMDGPU", "::", "OPERAND_REG_IMM_V2INT32", ":", "case", "AMDGPU", "::", "OPERAND_REG_INLINE_C_V2INT32", ":", "case", "AMDGPU", "::", "OPERAND_REG_INLINE_AC_INT32", ":", "case", "AMDGPU", "::", "OPERAND_REG_INLINE_AC_FP32", ":", "{", "int32_t", "Trunc", "=", "static_cast", "<", "int32_t", ">", "(", "Imm", ")", ";", "return", "AMDGPU", "::", "isInlinableLiteral32", "(", "Trunc", ",", "ST", ".", "hasInv2PiInlineImm", "(", ")", ")", ";", "}", "case", "AMDGPU", "::", "OPERAND_REG_IMM_INT64", ":", "case", "AMDGPU", "::", "OPERAND_REG_IMM_FP64", ":", "case", "AMDGPU", "::", "OPERAND_REG_INLINE_C_INT64", ":", "case", "AMDGPU", "::", "OPERAND_REG_INLINE_C_FP64", ":", "case", "AMDGPU", "::", "OPERAND_REG_INLINE_AC_FP64", ":", "return", "AMDGPU", "::", "isInlinableLiteral64", "(", "MO", ".", "getImm", "(", ")", ",", "ST", ".", "hasInv2PiInlineImm", "(", ")", ")", ";", "case", "AMDGPU", "::", "OPERAND_REG_IMM_INT16", ":", "case", "AMDGPU", "::", "OPERAND_REG_INLINE_C_INT16", ":", "case", "AMDGPU", "::", "OPERAND_REG_INLINE_AC_INT16", ":", "return", "AMDGPU", "::", "isInlinableIntLiteral", "(", "Imm", ")", ";", "case", "AMDGPU", "::", "OPERAND_REG_IMM_V2INT16", ":", "case", "AMDGPU", "::", "OPERAND_REG_INLINE_C_V2INT16", ":", "case", "AMDGPU", "::", "OPERAND_REG_INLINE_AC_V2INT16", ":", "return", "AMDGPU", "::", "isInlinableIntLiteralV216", "(", "Imm", ")", ";", "case", "AMDGPU", "::", "OPERAND_REG_IMM_FP16", ":", "case", "AMDGPU", "::", "OPERAND_REG_IMM_FP16_DEFERRED", ":", "case", "AMDGPU", "::", "OPERAND_REG_INLINE_C_FP16", ":", "case", "AMDGPU", "::", "OPERAND_REG_INLINE_AC_FP16", ":", "{", "if", "(", "isInt", "<", "16", ">", "(", "Imm", ")", "||", "isUInt", "<", "16", ">", "(", "Imm", ")", ")", "{", "int16_t", "Trunc", "=", "static_cast", "<", "int16_t", ">", "(", "Imm", ")", ";", "return", "ST", ".", "has16BitInsts", "(", ")", "&&", "AMDGPU", "::", "isInlinableLiteral16", "(", "Trunc", ",", "ST", ".", "hasInv2PiInlineImm", "(", ")", ")", ";", "}", "return", "false", ";", "}", "case", "AMDGPU", "::", "OPERAND_REG_IMM_V2FP16", ":", "case", "AMDGPU", "::", "OPERAND_REG_INLINE_C_V2FP16", ":", "case", "AMDGPU", "::", "OPERAND_REG_INLINE_AC_V2FP16", ":", "{", "uint32_t", "Trunc", "=", "static_cast", "<", "uint32_t", ">", "(", "Imm", ")", ";", "return", "AMDGPU", "::", "isInlinableLiteralV216", "(", "Trunc", ",", "ST", ".", "hasInv2PiInlineImm", "(", ")", ")", ";", "}", "case", "AMDGPU", "::", "OPERAND_KIMM32", ":", "case", "AMDGPU", "::", "OPERAND_KIMM16", ":", "return", "false", ";", "default", ":", "llvm_unreachable", "(", "\"invalid bitwidth\"", ")", ";", "}", "}", ""], "natrual_language": ["returns", "true", "if", "the", "operand", "OpIdx", "in", "MI", "is", "a", "valid", "inline", "immediate", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU::OPERAND_SRC_FIRST", "AMDGPU::OPERAND_SRC_LAST", "AMDGPU::OPERAND_REG_IMM_INT32", "AMDGPU::OPERAND_REG_IMM_FP32", "AMDGPU::OPERAND_REG_IMM_FP32_DEFERRED", "AMDGPU::OPERAND_REG_INLINE_C_INT32", "AMDGPU::OPERAND_REG_INLINE_C_FP32", "AMDGPU::OPERAND_REG_IMM_V2FP32", "AMDGPU::OPERAND_REG_INLINE_C_V2FP32", "AMDGPU::OPERAND_REG_IMM_V2INT32", "AMDGPU::OPERAND_REG_INLINE_C_V2INT32", "AMDGPU::OPERAND_REG_INLINE_AC_INT32", "AMDGPU::OPERAND_REG_INLINE_AC_FP32", "AMDGPU::isInlinableLiteral32", "AMDGPU::OPERAND_REG_IMM_INT64", "AMDGPU::OPERAND_REG_IMM_FP64", "AMDGPU::OPERAND_REG_INLINE_C_INT64", "AMDGPU::OPERAND_REG_INLINE_C_FP64", "AMDGPU::OPERAND_REG_INLINE_AC_FP64", "AMDGPU::isInlinableLiteral64", "AMDGPU::OPERAND_REG_IMM_INT16", "AMDGPU::OPERAND_REG_INLINE_C_INT16", "AMDGPU::OPERAND_REG_INLINE_AC_INT16", "AMDGPU::isInlinableIntLiteral", "AMDGPU::OPERAND_REG_IMM_V2INT16", "AMDGPU::OPERAND_REG_INLINE_C_V2INT16", "AMDGPU::OPERAND_REG_INLINE_AC_V2INT16", "AMDGPU::isInlinableIntLiteralV216", "AMDGPU::OPERAND_REG_IMM_FP16", "AMDGPU::OPERAND_REG_IMM_FP16_DEFERRED", "AMDGPU::OPERAND_REG_INLINE_C_FP16", "AMDGPU::OPERAND_REG_INLINE_AC_FP16", "16", "16", "AMDGPU::isInlinableLiteral16", "AMDGPU::OPERAND_REG_IMM_V2FP16", "AMDGPU::OPERAND_REG_INLINE_C_V2FP16", "AMDGPU::OPERAND_REG_INLINE_AC_V2FP16", "AMDGPU::isInlinableLiteralV216", "AMDGPU::OPERAND_KIMM32", "AMDGPU::OPERAND_KIMM16", "\"invalid bitwidth\""], "File": "SIInstrInfo11", "Func": "isInlineConstant", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4393, "Length": 364, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetTransformInfo", "ARMBaseTargetMachine", "::", "getTargetTransformInfo", "(", "const", "Function", "&", "F", ")", "const", "{", "return", "TargetTransformInfo", "(", "ARMTTIImpl", "(", "this", ",", "F", ")", ")", ";", "}", ""], "natrual_language": ["Get", "a", "TargetTransformInfo", "implementation", "for", "the", "target", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMTargetMachine41", "Func": "getTargetTransformInfo", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4394, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "assignValueToReg", "(", "Register", "ValVReg", ",", "Register", "PhysReg", ",", "CCValAssign", "&", "VA", ")", "override", "{", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Value shouldn't be assigned to reg\"", ")", ";", "assert", "(", "VA", ".", "getLocReg", "(", ")", "==", "PhysReg", "&&", "\"Assigning to the wrong reg?\"", ")", ";", "uint64_t", "ValSize", "=", "VA", ".", "getValVT", "(", ")", ".", "getFixedSizeInBits", "(", ")", ";", "uint64_t", "LocSize", "=", "VA", ".", "getLocVT", "(", ")", ".", "getFixedSizeInBits", "(", ")", ";", "assert", "(", "ValSize", "<=", "64", "&&", "\"Unsupported value size\"", ")", ";", "assert", "(", "LocSize", "<=", "64", "&&", "\"Unsupported location size\"", ")", ";", "markPhysRegUsed", "(", "PhysReg", ")", ";", "if", "(", "ValSize", "==", "LocSize", ")", "{", "MIRBuilder", ".", "buildCopy", "(", "ValVReg", ",", "PhysReg", ")", ";", "}", "else", "{", "assert", "(", "ValSize", "<", "LocSize", "&&", "\"Extensions not supported\"", ")", ";", "auto", "PhysRegToVReg", "=", "MIRBuilder", ".", "buildCopy", "(", "LLT", "::", "scalar", "(", "LocSize", ")", ",", "PhysReg", ")", ";", "MIRBuilder", ".", "buildTrunc", "(", "ValVReg", ",", "PhysRegToVReg", ")", ";", "}", "}", ""], "natrual_language": ["The", "specified", "value", "has", "been", "assigned", "to", "a", "physical", "register", ",", "handle", "the", "appropriate", "COPY", "(", "either", "to", "or", "from", ")", "and", "mark", "any", "relevant", "uses/defines", "as", "needed", "."], "TS_V_token": ["ARM", "\"Value shouldn't be assigned to reg\"", "\"Assigning to the wrong reg?\"", "64", "\"Unsupported value size\"", "64", "\"Unsupported location size\"", "\"Extensions not supported\""], "File": "ARMCallLowering15", "Func": "assignValueToReg", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4395, "Length": 144, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "CJGRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "CJG", "::", "SP", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["CJG", "CJG", "CJG::SP"], "File": "CJGRegisterInfo", "Func": "getFrameRegister", "Target": "CJG", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4396, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "xstormy16_expand_call", "(", "rtx", "retval", ",", "rtx", "dest", ",", "rtx", "counter", ")", "{", "rtx", "call", ",", "temp", ";", "machine_mode", "mode", ";", "gcc_assert", "(", "MEM_P", "(", "dest", ")", ")", ";", "dest", "=", "XEXP", "(", "dest", ",", "0", ")", ";", "if", "(", "!", "CONSTANT_P", "(", "dest", ")", "&&", "!", "REG_P", "(", "dest", ")", ")", "dest", "=", "force_reg", "(", "Pmode", ",", "dest", ")", ";", "if", "(", "retval", "==", "NULL", ")", "mode", "=", "VOIDmode", ";", "else", "mode", "=", "GET_MODE", "(", "retval", ")", ";", "call", "=", "gen_rtx_CALL", "(", "mode", ",", "gen_rtx_MEM", "(", "FUNCTION_MODE", ",", "dest", ")", ",", "counter", ")", ";", "if", "(", "retval", ")", "call", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "retval", ",", "call", ")", ";", "if", "(", "!", "CONSTANT_P", "(", "dest", ")", ")", "{", "temp", "=", "gen_reg_rtx", "(", "HImode", ")", ";", "emit_move_insn", "(", "temp", ",", "const0_rtx", ")", ";", "}", "else", "temp", "=", "const0_rtx", ";", "call", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "2", ",", "call", ",", "gen_rtx_USE", "(", "VOIDmode", ",", "temp", ")", ")", ")", ";", "emit_call_insn", "(", "call", ")", ";", "}", ""], "natrual_language": ["Expander", "for", "the", "`", "call", "'", "patterns", ".", "INDEX", "is", "the", "index", "of", "the", "switch", "statement", ".", "LOWER_BOUND", "is", "a", "CONST_INT", "that", "is", "the", "value", "of", "INDEX", "corresponding", "to", "the", "first", "table", "entry", ".", "RANGE", "is", "the", "number", "of", "table", "entries", ".", "TABLE", "is", "an", "ADDR_VEC", "that", "is", "the", "jump", "table", ".", "DEFAULT_LABEL", "is", "the", "address", "to", "branch", "to", "if", "INDEX", "is", "outside", "the", "range", "LOWER_BOUND", "to", "LOWER_BOUND+RANGE-1", "."], "TS_V_token": ["stormy16", "0", "2"], "File": "stormy164", "Func": "xstormy16_expand_call", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4397, "Length": 166, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Cpu0AsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNum", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "{", "if", "(", "ExtraCode", "[", "1", "]", "!=", "0", ")", "return", "true", ";", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "OpNum", ")", ";", "switch", "(", "ExtraCode", "[", "0", "]", ")", "{", "default", ":", "return", "AsmPrinter", "::", "PrintAsmOperand", "(", "MI", ",", "OpNum", ",", "AsmVariant", ",", "ExtraCode", ",", "O", ")", ";", "case", "'X'", ":", "if", "(", "(", "MO", ".", "getType", "(", ")", ")", "!=", "MachineOperand", "::", "MO_Immediate", ")", "return", "true", ";", "O", "<<", "\"0x\"", "<<", "StringRef", "(", "utohexstr", "(", "MO", ".", "getImm", "(", ")", ")", ")", ".", "lower", "(", ")", ";", "return", "false", ";", "case", "'x'", ":", "if", "(", "(", "MO", ".", "getType", "(", ")", ")", "!=", "MachineOperand", "::", "MO_Immediate", ")", "return", "true", ";", "O", "<<", "\"0x\"", "<<", "StringRef", "(", "utohexstr", "(", "MO", ".", "getImm", "(", ")", "&", "0xffff", ")", ")", ".", "lower", "(", ")", ";", "return", "false", ";", "case", "'d'", ":", "if", "(", "(", "MO", ".", "getType", "(", ")", ")", "!=", "MachineOperand", "::", "MO_Immediate", ")", "return", "true", ";", "O", "<<", "MO", ".", "getImm", "(", ")", ";", "return", "false", ";", "case", "'m'", ":", "if", "(", "(", "MO", ".", "getType", "(", ")", ")", "!=", "MachineOperand", "::", "MO_Immediate", ")", "return", "true", ";", "O", "<<", "MO", ".", "getImm", "(", ")", "-", "1", ";", "return", "false", ";", "case", "'z'", ":", "{", "if", "(", "MO", ".", "getType", "(", ")", "!=", "MachineOperand", "::", "MO_Immediate", ")", "return", "true", ";", "int64_t", "Val", "=", "MO", ".", "getImm", "(", ")", ";", "if", "(", "Val", ")", "O", "<<", "Val", ";", "else", "O", "<<", "\"$0\"", ";", "return", "false", ";", "}", "}", "}", "printOperand", "(", "MI", ",", "OpNum", ",", "O", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["Cpu0", "Cpu0", "0", "1", "0", "0", "\"0x\"", "\"0x\"", "0xffff", "1", "\"$0\""], "File": "Cpu0AsmPrinter3", "Func": "PrintAsmOperand", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4398, "Length": 298, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "MipsTargetObjectFile", "::", "IsGlobalInSmallSection", "(", "const", "GlobalObject", "*", "GO", ",", "const", "TargetMachine", "&", "TM", ",", "SectionKind", "Kind", ")", "const", "{", "return", "(", "IsGlobalInSmallSectionImpl", "(", "GO", ",", "TM", ")", "&&", "(", "Kind", ".", "isData", "(", ")", "||", "Kind", ".", "isBSS", "(", ")", "||", "Kind", ".", "isCommon", "(", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "global", "address", "should", "be", "placed", "into", "small", "data/bss", "section", "."], "TS_V_token": ["Mips", "Mips"], "File": "MipsTargetObjectFile10", "Func": "IsGlobalInSmallSection", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4399, "Length": 51, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetTransformInfo", "XCoreTargetMachine", "::", "getTargetTransformInfo", "(", "const", "Function", "&", "F", ")", "const", "{", "return", "TargetTransformInfo", "(", "XCoreTTIImpl", "(", "this", ",", "F", ")", ")", ";", "}", ""], "natrual_language": ["Get", "a", "TargetTransformInfo", "implementation", "for", "the", "target", "."], "TS_V_token": ["XCore", "XCore", "XCore"], "File": "XCoreTargetMachine22", "Func": "getTargetTransformInfo", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4400, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "xstormy16_expand_arith", "(", "enum", "machine_mode", "mode", ",", "enum", "rtx_code", "code", ",", "rtx", "dest", ",", "rtx", "src0", ",", "rtx", "src1", ",", "rtx", "carry", ")", "{", "int", "num_words", "=", "GET_MODE_BITSIZE", "(", "mode", ")", "/", "BITS_PER_WORD", ";", "int", "i", ";", "int", "firstloop", "=", "1", ";", "if", "(", "code", "==", "NEG", ")", "emit_move_insn", "(", "src0", ",", "const0_rtx", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "num_words", ";", "i", "++", ")", "{", "rtx", "w_src0", ",", "w_src1", ",", "w_dest", ";", "rtx", "insn", ";", "w_src0", "=", "simplify_gen_subreg", "(", "word_mode", ",", "src0", ",", "mode", ",", "i", "*", "UNITS_PER_WORD", ")", ";", "w_src1", "=", "simplify_gen_subreg", "(", "word_mode", ",", "src1", ",", "mode", ",", "i", "*", "UNITS_PER_WORD", ")", ";", "w_dest", "=", "simplify_gen_subreg", "(", "word_mode", ",", "dest", ",", "mode", ",", "i", "*", "UNITS_PER_WORD", ")", ";", "switch", "(", "code", ")", "{", "case", "PLUS", ":", "if", "(", "firstloop", "&&", "GET_CODE", "(", "w_src1", ")", "==", "CONST_INT", "&&", "INTVAL", "(", "w_src1", ")", "==", "0", ")", "continue", ";", "if", "(", "firstloop", ")", "insn", "=", "gen_addchi4", "(", "w_dest", ",", "w_src0", ",", "w_src1", ",", "carry", ")", ";", "else", "insn", "=", "gen_addchi5", "(", "w_dest", ",", "w_src0", ",", "w_src1", ",", "carry", ",", "carry", ")", ";", "break", ";", "case", "NEG", ":", "case", "MINUS", ":", "case", "COMPARE", ":", "if", "(", "code", "==", "COMPARE", "&&", "i", "==", "num_words", "-", "1", ")", "{", "rtx", "branch", ",", "sub", ",", "clobber", ",", "sub_1", ";", "sub_1", "=", "gen_rtx_MINUS", "(", "HImode", ",", "w_src0", ",", "gen_rtx_ZERO_EXTEND", "(", "HImode", ",", "carry", ")", ")", ";", "sub", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "w_dest", ",", "gen_rtx_MINUS", "(", "HImode", ",", "sub_1", ",", "w_src1", ")", ")", ";", "clobber", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "carry", ")", ";", "branch", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "pc_rtx", ",", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "gen_rtx_EQ", "(", "HImode", ",", "sub_1", ",", "w_src1", ")", ",", "pc_rtx", ",", "pc_rtx", ")", ")", ";", "insn", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "3", ",", "branch", ",", "sub", ",", "clobber", ")", ")", ";", "}", "else", "if", "(", "firstloop", "&&", "code", "!=", "COMPARE", "&&", "GET_CODE", "(", "w_src1", ")", "==", "CONST_INT", "&&", "INTVAL", "(", "w_src1", ")", "==", "0", ")", "continue", ";", "else", "if", "(", "firstloop", ")", "insn", "=", "gen_subchi4", "(", "w_dest", ",", "w_src0", ",", "w_src1", ",", "carry", ")", ";", "else", "insn", "=", "gen_subchi5", "(", "w_dest", ",", "w_src0", ",", "w_src1", ",", "carry", ",", "carry", ")", ";", "break", ";", "case", "IOR", ":", "case", "XOR", ":", "case", "AND", ":", "if", "(", "GET_CODE", "(", "w_src1", ")", "==", "CONST_INT", "&&", "INTVAL", "(", "w_src1", ")", "==", "-", "(", "code", "==", "AND", ")", ")", "continue", ";", "insn", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "w_dest", ",", "gen_rtx_fmt_ee", "(", "code", ",", "mode", ",", "w_src0", ",", "w_src1", ")", ")", ";", "break", ";", "case", "NOT", ":", "insn", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "w_dest", ",", "gen_rtx_NOT", "(", "mode", ",", "w_src0", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "firstloop", "=", "0", ";", "emit", "(", "insn", ")", ";", "}", "if", "(", "firstloop", ")", "emit", "(", "gen_nop", "(", ")", ")", ";", "}", ""], "natrual_language": ["Expander", "for", "arithmetic", "operations", ";", "emit", "insns", "to", "compute", "(", "set", "DEST", "(", "CODE", ":", "MODE", "SRC0", "SRC1", ")", ")", "using", "CARRY", "as", "a", "temporary", ".", "When", "CODE", "is", "COMPARE", ",", "a", "branch", "template", "is", "generated", "(", "this", "saves", "duplicating", "code", "in", "xstormy16_split_cbranch", ")", "."], "TS_V_token": ["stormy16", "1", "0", "0", "1", "3", "0", "0"], "File": "stormy163", "Func": "xstormy16_expand_arith", "Target": "stormy16", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4401, "Length": 472, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "riscv_cpu_cpp_builtins", "(", "cpp_reader", "*", "pfile", ")", "{", "builtin_define", "(", "\"__riscv\"", ")", ";", "if", "(", "TARGET_RVC", ")", "builtin_define", "(", "\"__riscv_compressed\"", ")", ";", "if", "(", "TARGET_ATOMIC", ")", "builtin_define", "(", "\"__riscv_atomic\"", ")", ";", "if", "(", "TARGET_MUL", ")", "builtin_define", "(", "\"__riscv_mul\"", ")", ";", "if", "(", "TARGET_DIV", ")", "builtin_define", "(", "\"__riscv_div\"", ")", ";", "if", "(", "TARGET_DIV", "&&", "TARGET_MUL", ")", "builtin_define", "(", "\"__riscv_muldiv\"", ")", ";", "builtin_define_with_int_value", "(", "\"__riscv_xlen\"", ",", "UNITS_PER_WORD", "*", "8", ")", ";", "if", "(", "TARGET_HARD_FLOAT", ")", "builtin_define_with_int_value", "(", "\"__riscv_flen\"", ",", "UNITS_PER_FP_REG", "*", "8", ")", ";", "if", "(", "TARGET_HARD_FLOAT", "&&", "TARGET_FDIV", ")", "{", "builtin_define", "(", "\"__riscv_fdiv\"", ")", ";", "builtin_define", "(", "\"__riscv_fsqrt\"", ")", ";", "}", "switch", "(", "riscv_abi", ")", "{", "case", "ABI_ILP32", ":", "case", "ABI_LP64", ":", "builtin_define", "(", "\"__riscv_float_abi_soft\"", ")", ";", "break", ";", "case", "ABI_ILP32F", ":", "case", "ABI_LP64F", ":", "builtin_define", "(", "\"__riscv_float_abi_single\"", ")", ";", "break", ";", "case", "ABI_ILP32D", ":", "case", "ABI_LP64D", ":", "builtin_define", "(", "\"__riscv_float_abi_double\"", ")", ";", "break", ";", "}", "switch", "(", "riscv_cmodel", ")", "{", "case", "CM_MEDLOW", ":", "builtin_define", "(", "\"__riscv_cmodel_medlow\"", ")", ";", "break", ";", "case", "CM_MEDANY", ":", "builtin_define", "(", "\"__riscv_cmodel_medany\"", ")", ";", "break", ";", "case", "CM_PIC", ":", "builtin_define", "(", "\"__riscv_cmodel_pic\"", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["Implement", "TARGET_CPU_CPP_BUILTINS", "."], "TS_V_token": ["riscv", "\"__riscv\"", "\"__riscv_compressed\"", "\"__riscv_atomic\"", "\"__riscv_mul\"", "\"__riscv_div\"", "\"__riscv_muldiv\"", "\"__riscv_xlen\"", "8", "\"__riscv_flen\"", "8", "\"__riscv_fdiv\"", "\"__riscv_fsqrt\"", "\"__riscv_float_abi_soft\"", "\"__riscv_float_abi_single\"", "\"__riscv_float_abi_double\"", "\"__riscv_cmodel_medlow\"", "\"__riscv_cmodel_medany\"", "\"__riscv_cmodel_pic\""], "File": "riscv-c2", "Func": "riscv_cpu_cpp_builtins", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4402, "Length": 182, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_use_blocks_for_constant_p", "(", "machine_mode", "mode", ",", "const_rtx", "x", ")", "{", "return", "!", "ASM_OUTPUT_SPECIAL_POOL_ENTRY_P", "(", "x", ",", "mode", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_USE_BLOCKS_FOR_CONSTANT_P", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "rs6000_use_blocks_for_constant_p", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4403, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "bool", "vgpr_vector_mode_p", "(", "machine_mode", "mode", ")", "{", "return", "(", "mode", "==", "V64QImode", "||", "mode", "==", "V64HImode", "||", "mode", "==", "V64SImode", "||", "mode", "==", "V64DImode", "||", "mode", "==", "V64HFmode", "||", "mode", "==", "V64SFmode", "||", "mode", "==", "V64DFmode", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "MODE", "can", "be", "handled", "directly", "by", "VGPR", "operations", "."], "TS_V_token": ["gcn"], "File": "gcn-protos", "Func": "vgpr_vector_mode_p", "Target": "gcn", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 4404, "Length": 40, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86FrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "return", "(", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "||", "TRI", "->", "needsStackRealignment", "(", "MF", ")", "||", "MFI", "->", "hasVarSizedObjects", "(", ")", "||", "MFI", "->", "isFrameAddressTaken", "(", ")", "||", "MFI", "->", "hasOpaqueSPAdjustment", "(", ")", "||", "MF", ".", "getInfo", "<", "X86MachineFunctionInfo", ">", "(", ")", "->", "getForceFramePointer", "(", ")", "||", "MMI", ".", "callsUnwindInit", "(", ")", "||", "MMI", ".", "hasEHFunclets", "(", ")", "||", "MMI", ".", "callsEHReturn", "(", ")", "||", "MFI", "->", "hasStackMap", "(", ")", "||", "MFI", "->", "hasPatchPoint", "(", ")", ")", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["X86", "X86", "X86"], "File": "X86FrameLowering (2)4", "Func": "hasFP", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4405, "Length": 119, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMBaseTargetMachine", "::", "ARMBaseTargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ",", "bool", "isLittle", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "Subtarget", "(", "TT", ",", "CPU", ",", "FS", ",", "*", "this", ",", "isLittle", ")", ",", "isLittle", "(", "isLittle", ")", "{", "if", "(", "Options", ".", "FloatABIType", "==", "FloatABI", "::", "Default", ")", "this", "->", "Options", ".", "FloatABIType", "=", "Subtarget", ".", "isTargetHardFloat", "(", ")", "?", "FloatABI", "::", "Hard", ":", "FloatABI", "::", "Soft", ";", "}", ""], "natrual_language": ["Create", "an", "ARM", "architecture", "model", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMTargetMachine36", "Func": "ARMBaseTargetMachine", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4406, "Length": 111, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emitBundleLock", "(", "bool", "AlignToEnd", ")", "override", "{", "}", ""], "natrual_language": ["The", "following", "instructions", "are", "a", "bundle-locked", "group", "."], "TS_V_token": ["Patmos"], "File": "PatmosInstrInfo1", "Func": "emitBundleLock", "Target": "Patmos", "Target_Clf": "VLIW", "Compiler_Type": "LLVM", "Idx": 4407, "Length": 9, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "Cpu0SEInstrInfo", "::", "expandPostRAPseudo", "(", "MachineInstr", "&", "MI", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", ".", "getParent", "(", ")", ";", "switch", "(", "MI", ".", "getDesc", "(", ")", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "Cpu0", "::", "RetLR", ":", "expandRetLR", "(", "MBB", ",", "MI", ")", ";", "break", ";", "case", "Cpu0", "::", "CPU0eh_return32", ":", "expandEhReturn", "(", "MBB", ",", "MI", ")", ";", "break", ";", "}", "MBB", ".", "erase", "(", "MI", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["This", "function", "is", "called", "for", "all", "pseudo", "instructions", "that", "remain", "after", "register", "allocation", "."], "TS_V_token": ["Cpu0", "Cpu0", "Cpu0::RetLR", "Cpu0::CPU0eh_return32"], "File": "Cpu0SEInstrInfo", "Func": "expandPostRAPseudo", "Target": "Cpu0", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4408, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "tree", "aarch64_fold_builtin", "(", "tree", "fndecl", ",", "int", "n_args", "ATTRIBUTE_UNUSED", ",", "tree", "*", "args", ",", "bool", "ignore", "ATTRIBUTE_UNUSED", ")", "{", "int", "fcode", "=", "DECL_FUNCTION_CODE", "(", "fndecl", ")", ";", "tree", "type", "=", "TREE_TYPE", "(", "TREE_TYPE", "(", "fndecl", ")", ")", ";", "switch", "(", "fcode", ")", "{", "BUILTIN_VDQF", "(", "UNOP", ",", "abs", ",", "2", ")", "return", "fold_build1", "(", "ABS_EXPR", ",", "type", ",", "args", "[", "0", "]", ")", ";", "break", ";", "VAR1", "(", "UNOP", ",", "floatv2si", ",", "2", ",", "v2sf", ")", "VAR1", "(", "UNOP", ",", "floatv4si", ",", "2", ",", "v4sf", ")", "VAR1", "(", "UNOP", ",", "floatv2di", ",", "2", ",", "v2df", ")", "return", "fold_build1", "(", "FLOAT_EXPR", ",", "type", ",", "args", "[", "0", "]", ")", ";", "default", ":", "break", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FOLD_BUILTIN", "."], "TS_V_token": ["aarch64", "2", "0", "2", "2", "2", "0"], "File": "aarch64-builtins2", "Func": "aarch64_fold_builtin", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4409, "Length": 118, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "LanaiInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "OS", ",", "StringRef", "Annotation", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "if", "(", "!", "printAlias", "(", "MI", ",", "OS", ")", "&&", "!", "printAliasInstr", "(", "MI", ",", "OS", ")", ")", "printInstruction", "(", "MI", ",", "OS", ")", ";", "printAnnotation", "(", "OS", ",", "Annotation", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["Lanai", "Lanai"], "File": "LanaiInstPrinter10", "Func": "printInst", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4410, "Length": 56, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "PPC", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"fixup_ppc_br24\"", ",", "6", ",", "24", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_ppc_brcond14\"", ",", "16", ",", "14", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "\"fixup_ppc_half16\"", ",", "0", ",", "16", ",", "0", "}", ",", "{", "\"fixup_ppc_half16ds\"", ",", "0", ",", "14", ",", "0", "}", ",", "{", "\"fixup_ppc_tlsreg\"", ",", "0", ",", "0", ",", "0", "}", ",", "{", "\"fixup_ppc_nofixup\"", ",", "0", ",", "0", ",", "0", "}", "}", ";", "if", "(", "Kind", "<", "FirstTargetFixupKind", ")", "return", "MCAsmBackend", "::", "getFixupKindInfo", "(", "Kind", ")", ";", "assert", "(", "unsigned", "(", "Kind", "-", "FirstTargetFixupKind", ")", "<", "getNumFixupKinds", "(", ")", "&&", "\"Invalid kind!\"", ")", ";", "return", "Infos", "[", "Kind", "-", "FirstTargetFixupKind", "]", ";", "}", ""], "natrual_language": ["Get", "information", "on", "a", "fixup", "kind", "."], "TS_V_token": ["PowerPC", "PPC::NumTargetFixupKinds", "\"fixup_ppc_br24\"", "6", "24", "\"fixup_ppc_brcond14\"", "16", "14", "\"fixup_ppc_half16\"", "0", "16", "0", "\"fixup_ppc_half16ds\"", "0", "14", "0", "\"fixup_ppc_tlsreg\"", "0", "0", "0", "\"fixup_ppc_nofixup\"", "0", "0", "0", "\"Invalid kind!\""], "File": "PPCAsmBackend59", "Func": "getFixupKindInfo", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4411, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "const", "RISCVRegisterInfo", "*", "RI", "=", "STI", ".", "getRegisterInfo", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "auto", "*", "RVFI", "=", "MF", ".", "getInfo", "<", "RISCVMachineFunctionInfo", ">", "(", ")", ";", "Register", "FPReg", "=", "getFPReg", "(", "STI", ")", ";", "Register", "SPReg", "=", "getSPReg", "(", "STI", ")", ";", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "GHC", ")", "return", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "end", "(", ")", ";", "DebugLoc", "DL", ";", "if", "(", "!", "MBB", ".", "empty", "(", ")", ")", "{", "MBBI", "=", "MBB", ".", "getFirstTerminator", "(", ")", ";", "if", "(", "MBBI", "==", "MBB", ".", "end", "(", ")", ")", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "DL", "=", "MBBI", "->", "getDebugLoc", "(", ")", ";", "if", "(", "!", "MBBI", "->", "isTerminator", "(", ")", ")", "MBBI", "=", "std", "::", "next", "(", "MBBI", ")", ";", "while", "(", "MBBI", "!=", "MBB", ".", "begin", "(", ")", "&&", "std", "::", "prev", "(", "MBBI", ")", "->", "getFlag", "(", "MachineInstr", "::", "FrameDestroy", ")", ")", "--", "MBBI", ";", "}", "const", "auto", "&", "CSI", "=", "getNonLibcallCSI", "(", "MF", ",", "MFI", ".", "getCalleeSavedInfo", "(", ")", ")", ";", "auto", "LastFrameDestroy", "=", "MBBI", ";", "if", "(", "!", "CSI", ".", "empty", "(", ")", ")", "LastFrameDestroy", "=", "std", "::", "prev", "(", "MBBI", ",", "CSI", ".", "size", "(", ")", ")", ";", "uint64_t", "StackSize", "=", "MFI", ".", "getStackSize", "(", ")", "+", "RVFI", "->", "getRVVPadding", "(", ")", ";", "uint64_t", "RealStackSize", "=", "StackSize", "+", "RVFI", "->", "getLibCallStackSize", "(", ")", ";", "uint64_t", "FPOffset", "=", "RealStackSize", "-", "RVFI", "->", "getVarArgsSaveSize", "(", ")", ";", "uint64_t", "RVVStackSize", "=", "RVFI", "->", "getRVVStackSize", "(", ")", ";", "if", "(", "RI", "->", "hasStackRealignment", "(", "MF", ")", "||", "MFI", ".", "hasVarSizedObjects", "(", ")", ")", "{", "assert", "(", "hasFP", "(", "MF", ")", "&&", "\"frame pointer should not have been eliminated\"", ")", ";", "adjustReg", "(", "MBB", ",", "LastFrameDestroy", ",", "DL", ",", "SPReg", ",", "FPReg", ",", "-", "FPOffset", ",", "MachineInstr", "::", "FrameDestroy", ")", ";", "}", "else", "{", "if", "(", "RVVStackSize", ")", "adjustStackForRVV", "(", "MF", ",", "MBB", ",", "LastFrameDestroy", ",", "DL", ",", "RVVStackSize", ")", ";", "}", "uint64_t", "FirstSPAdjustAmount", "=", "getFirstSPAdjustAmount", "(", "MF", ")", ";", "if", "(", "FirstSPAdjustAmount", ")", "{", "uint64_t", "SecondSPAdjustAmount", "=", "MFI", ".", "getStackSize", "(", ")", "-", "FirstSPAdjustAmount", ";", "assert", "(", "SecondSPAdjustAmount", ">", "0", "&&", "\"SecondSPAdjustAmount should be greater than zero\"", ")", ";", "adjustReg", "(", "MBB", ",", "LastFrameDestroy", ",", "DL", ",", "SPReg", ",", "SPReg", ",", "SecondSPAdjustAmount", ",", "MachineInstr", "::", "FrameDestroy", ")", ";", "}", "if", "(", "FirstSPAdjustAmount", ")", "StackSize", "=", "FirstSPAdjustAmount", ";", "adjustReg", "(", "MBB", ",", "MBBI", ",", "DL", ",", "SPReg", ",", "SPReg", ",", "StackSize", ",", "MachineInstr", "::", "FrameDestroy", ")", ";", "emitSCSEpilogue", "(", "MF", ",", "MBB", ",", "MBBI", ",", "DL", ")", ";", "}", ""], "natrual_language": ["Insert", "epilog", "code", "into", "the", "function", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV", "RISCV", "\"frame pointer should not have been eliminated\"", "0", "\"SecondSPAdjustAmount should be greater than zero\""], "File": "RISCVFrameLowering27", "Func": "emitEpilogue", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4412, "Length": 437, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "rs6000_legitimate_address_p", "(", "machine_mode", "mode", ",", "rtx", "x", ",", "bool", "reg_ok_strict", ")", "{", "bool", "reg_offset_p", "=", "reg_offset_addressing_ok_p", "(", "mode", ")", ";", "if", "(", "VECTOR_MEM_ALTIVEC_P", "(", "mode", ")", "&&", "GET_CODE", "(", "x", ")", "==", "AND", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "CONST_INT", "&&", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "-", "16", ")", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "TARGET_ELF", "&&", "RS6000_SYMBOL_REF_TLS_P", "(", "x", ")", ")", "return", "0", ";", "if", "(", "legitimate_indirect_address_p", "(", "x", ",", "reg_ok_strict", ")", ")", "return", "1", ";", "if", "(", "TARGET_UPDATE", "&&", "(", "GET_CODE", "(", "x", ")", "==", "PRE_INC", "||", "GET_CODE", "(", "x", ")", "==", "PRE_DEC", ")", "&&", "mode_supports_pre_incdec_p", "(", "mode", ")", "&&", "legitimate_indirect_address_p", "(", "XEXP", "(", "x", ",", "0", ")", ",", "reg_ok_strict", ")", ")", "return", "1", ";", "if", "(", "virtual_stack_registers_memory_p", "(", "x", ")", ")", "return", "1", ";", "if", "(", "reg_offset_p", "&&", "legitimate_small_data_p", "(", "mode", ",", "x", ")", ")", "return", "1", ";", "if", "(", "reg_offset_p", "&&", "legitimate_constant_pool_address_p", "(", "x", ",", "mode", ",", "reg_ok_strict", "||", "lra_in_progress", ")", ")", "return", "1", ";", "if", "(", "reg_offset_p", "&&", "reg_addr", "[", "mode", "]", ".", "fused_toc", "&&", "GET_CODE", "(", "x", ")", "==", "UNSPEC", "&&", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_FUSION_ADDIS", ")", "return", "1", ";", "if", "(", "mode", "==", "TImode", "&&", "TARGET_QUAD_MEMORY", "&&", "TARGET_VSX_TIMODE", ")", "return", "0", ";", "if", "(", "!", "reg_ok_strict", "&&", "reg_offset_p", "&&", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "REG", "&&", "(", "XEXP", "(", "x", ",", "0", ")", "==", "virtual_stack_vars_rtx", "||", "XEXP", "(", "x", ",", "0", ")", "==", "arg_pointer_rtx", ")", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "CONST_INT", ")", "return", "1", ";", "if", "(", "rs6000_legitimate_offset_address_p", "(", "mode", ",", "x", ",", "reg_ok_strict", ",", "false", ")", ")", "return", "1", ";", "if", "(", "!", "FLOAT128_2REG_P", "(", "mode", ")", "&&", "(", "(", "TARGET_HARD_FLOAT", "&&", "TARGET_FPRS", "&&", "TARGET_DOUBLE_FLOAT", ")", "||", "TARGET_POWERPC64", "||", "(", "mode", "!=", "DFmode", "&&", "mode", "!=", "DDmode", ")", "||", "(", "TARGET_E500_DOUBLE", "&&", "mode", "!=", "DDmode", ")", ")", "&&", "(", "TARGET_POWERPC64", "||", "mode", "!=", "DImode", ")", "&&", "(", "mode", "!=", "TImode", "||", "VECTOR_MEM_VSX_P", "(", "TImode", ")", ")", "&&", "mode", "!=", "PTImode", "&&", "!", "avoiding_indexed_address_p", "(", "mode", ")", "&&", "legitimate_indexed_address_p", "(", "x", ",", "reg_ok_strict", ")", ")", "return", "1", ";", "if", "(", "TARGET_UPDATE", "&&", "GET_CODE", "(", "x", ")", "==", "PRE_MODIFY", "&&", "mode_supports_pre_modify_p", "(", "mode", ")", "&&", "legitimate_indirect_address_p", "(", "XEXP", "(", "x", ",", "0", ")", ",", "reg_ok_strict", ")", "&&", "(", "rs6000_legitimate_offset_address_p", "(", "mode", ",", "XEXP", "(", "x", ",", "1", ")", ",", "reg_ok_strict", ",", "false", ")", "||", "(", "!", "avoiding_indexed_address_p", "(", "mode", ")", "&&", "legitimate_indexed_address_p", "(", "XEXP", "(", "x", ",", "1", ")", ",", "reg_ok_strict", ")", ")", ")", "&&", "rtx_equal_p", "(", "XEXP", "(", "XEXP", "(", "x", ",", "1", ")", ",", "0", ")", ",", "XEXP", "(", "x", ",", "0", ")", ")", ")", "return", "1", ";", "if", "(", "reg_offset_p", "&&", "legitimate_lo_sum_address_p", "(", "mode", ",", "x", ",", "reg_ok_strict", ")", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["TARGET_LEGITIMATE_ADDRESS_P", "recognizes", "an", "RTL", "expression", "that", "is", "a", "valid", "memory", "address", "for", "an", "instruction", ".", "The", "MODE", "argument", "is", "the", "machine", "mode", "for", "the", "MEM", "expression", "that", "wants", "to", "use", "this", "address", ".", "On", "the", "RS/6000", ",", "there", "are", "four", "valid", "address", ":", "a", "SYMBOL_REF", "that", "refers", "to", "a", "constant", "pool", "entry", "of", "an", "address", "(", "or", "the", "sum", "of", "it", "plus", "a", "constant", ")", ",", "a", "short", "(", "16-bit", "signed", ")", "constant", "plus", "a", "register", ",", "the", "sum", "of", "two", "registers", ",", "or", "a", "register", "indirect", ",", "possibly", "with", "an", "auto-increment", ".", "For", "DFmode", ",", "DDmode", "and", "DImode", "with", "a", "constant", "plus", "register", ",", "we", "must", "ensure", "that", "both", "words", "are", "addressable", "or", "PowerPC64", "with", "offset", "word", "aligned", ".", "For", "modes", "spanning", "multiple", "registers", "(", "DFmode", "and", "DDmode", "in", "32-bit", "GPRs", ",", "32-bit", "DImode", ",", "TImode", ",", "TFmode", ",", "TDmode", ")", ",", "indexed", "addressing", "can", "not", "be", "used", "because", "adjacent", "memory", "cells", "are", "accessed", "by", "adding", "word-sized", "offsets", "during", "assembly", "output", "."], "TS_V_token": ["rs6000", "1", "1", "16", "0", "0", "1", "0", "1", "1", "1", "1", "1", "1", "0", "0", "0", "0", "1", "1", "1", "1", "0", "1", "1", "1", "0", "0", "1", "1", "0"], "File": "rs60005", "Func": "rs6000_legitimate_address_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4413, "Length": 484, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HSAILTargetLowering", "::", "isOffsetFoldingLegal", "(", "const", "GlobalAddressSDNode", "*", "GA", ")", "const", "{", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "folding", "a", "constant", "offset", "with", "the", "given", "GlobalAddress", "is", "legal", "."], "TS_V_token": ["HSAIL", "HSAIL"], "File": "HSAILISelLowering", "Func": "isOffsetFoldingLegal", "Target": "HSAIL", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4414, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"AMDGPUPostLegalizerCombiner\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["AMDGPU", "\"AMDGPUPostLegalizerCombiner\""], "File": "AMDGPUPostLegalizerCombiner", "Func": "getPassName", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4415, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "opt_scalar_float_mode", "rs6000_floatn_mode", "(", "int", "n", ",", "bool", "extended", ")", "{", "if", "(", "extended", ")", "{", "switch", "(", "n", ")", "{", "case", "32", ":", "return", "DFmode", ";", "case", "64", ":", "if", "(", "TARGET_FLOAT128_TYPE", ")", "return", "(", "FLOAT128_IEEE_P", "(", "TFmode", ")", ")", "?", "TFmode", ":", "KFmode", ";", "else", "return", "opt_scalar_float_mode", "(", ")", ";", "case", "128", ":", "return", "opt_scalar_float_mode", "(", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "else", "{", "switch", "(", "n", ")", "{", "case", "32", ":", "return", "SFmode", ";", "case", "64", ":", "return", "DFmode", ";", "case", "128", ":", "if", "(", "TARGET_FLOAT128_TYPE", ")", "return", "(", "FLOAT128_IEEE_P", "(", "TFmode", ")", ")", "?", "TFmode", ":", "KFmode", ";", "else", "return", "opt_scalar_float_mode", "(", ")", ";", "default", ":", "return", "opt_scalar_float_mode", "(", ")", ";", "}", "}", "}", ""], "natrual_language": ["Target", "hook", "for", "floatn_mode", "."], "TS_V_token": ["rs6000", "32", "64", "128", "32", "64", "128"], "File": "rs6000", "Func": "rs6000_floatn_mode", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4416, "Length": 122, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64_MC", "::", "isFpOrNEON", "(", "const", "MCInst", "&", "MI", ",", "const", "MCInstrInfo", "*", "MCII", ")", "{", "const", "auto", "&", "FPR128", "=", "AArch64MCRegisterClasses", "[", "AArch64", "::", "FPR128RegClassID", "]", ";", "const", "auto", "&", "FPR64", "=", "AArch64MCRegisterClasses", "[", "AArch64", "::", "FPR64RegClassID", "]", ";", "const", "auto", "&", "FPR32", "=", "AArch64MCRegisterClasses", "[", "AArch64", "::", "FPR32RegClassID", "]", ";", "const", "auto", "&", "FPR16", "=", "AArch64MCRegisterClasses", "[", "AArch64", "::", "FPR16RegClassID", "]", ";", "const", "auto", "&", "FPR8", "=", "AArch64MCRegisterClasses", "[", "AArch64", "::", "FPR8RegClassID", "]", ";", "auto", "IsFPR", "=", "[", "&", "]", "(", "const", "MCOperand", "&", "Op", ")", "{", "if", "(", "!", "Op", ".", "isReg", "(", ")", ")", "return", "false", ";", "auto", "Reg", "=", "Op", ".", "getReg", "(", ")", ";", "return", "FPR128", ".", "contains", "(", "Reg", ")", "||", "FPR64", ".", "contains", "(", "Reg", ")", "||", "FPR32", ".", "contains", "(", "Reg", ")", "||", "FPR16", ".", "contains", "(", "Reg", ")", "||", "FPR8", ".", "contains", "(", "Reg", ")", ";", "}", ";", "return", "llvm", "::", "any_of", "(", "MI", ",", "IsFPR", ")", ";", "}", ""], "natrual_language": ["Returns", "whether", "the", "instruction", "is", "FP", "or", "NEON", "."], "TS_V_token": ["AArch64", "AArch64", "AArch64", "AArch64::FPR128RegClassID", "AArch64", "AArch64::FPR64RegClassID", "AArch64", "AArch64::FPR32RegClassID", "AArch64", "AArch64::FPR16RegClassID", "AArch64", "AArch64::FPR8RegClassID"], "File": "AArch64MCTargetDesc (2)1", "Func": "isFpOrNEON", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4417, "Length": 159, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "riscv_emit_float_compare", "(", "enum", "rtx_code", "*", "code", ",", "rtx", "*", "op0", ",", "rtx", "*", "op1", ")", "{", "rtx", "tmp0", ",", "tmp1", ",", "cmp_op0", "=", "*", "op0", ",", "cmp_op1", "=", "*", "op1", ";", "enum", "rtx_code", "fp_code", "=", "*", "code", ";", "*", "code", "=", "NE", ";", "switch", "(", "fp_code", ")", "{", "case", "UNORDERED", ":", "*", "code", "=", "EQ", ";", "case", "ORDERED", ":", "tmp0", "=", "riscv_force_binary", "(", "word_mode", ",", "EQ", ",", "cmp_op0", ",", "cmp_op0", ")", ";", "tmp1", "=", "riscv_force_binary", "(", "word_mode", ",", "EQ", ",", "cmp_op1", ",", "cmp_op1", ")", ";", "*", "op0", "=", "riscv_force_binary", "(", "word_mode", ",", "AND", ",", "tmp0", ",", "tmp1", ")", ";", "*", "op1", "=", "const0_rtx", ";", "break", ";", "case", "UNEQ", ":", "*", "code", "=", "EQ", ";", "tmp0", "=", "riscv_force_binary", "(", "word_mode", ",", "EQ", ",", "cmp_op0", ",", "cmp_op0", ")", ";", "tmp1", "=", "riscv_force_binary", "(", "word_mode", ",", "EQ", ",", "cmp_op1", ",", "cmp_op1", ")", ";", "*", "op0", "=", "riscv_force_binary", "(", "word_mode", ",", "AND", ",", "tmp0", ",", "tmp1", ")", ";", "*", "op1", "=", "riscv_force_binary", "(", "word_mode", ",", "EQ", ",", "cmp_op0", ",", "cmp_op1", ")", ";", "break", ";", "case", "CODE", ":", "\\", "*", "code", "=", "EQ", ";", "\\", "*", "op0", "=", "gen_reg_rtx", "(", "word_mode", ")", ";", "\\", "if", "(", "GET_MODE", "(", "cmp_op0", ")", "==", "SFmode", "&&", "TARGET_64BIT", ")", "\\", "emit_insn", "(", "gen_f", "##", "CMP", "##", "_quietsfdi4", "(", "*", "op0", ",", "cmp_op0", ",", "cmp_op1", ")", ")", ";", "\\", "else", "if", "(", "GET_MODE", "(", "cmp_op0", ")", "==", "SFmode", ")", "\\", "emit_insn", "(", "gen_f", "##", "CMP", "##", "_quietsfsi4", "(", "*", "op0", ",", "cmp_op0", ",", "cmp_op1", ")", ")", ";", "\\", "else", "if", "(", "GET_MODE", "(", "cmp_op0", ")", "==", "DFmode", "&&", "TARGET_64BIT", ")", "\\", "emit_insn", "(", "gen_f", "##", "CMP", "##", "_quietdfdi4", "(", "*", "op0", ",", "cmp_op0", ",", "cmp_op1", ")", ")", ";", "\\", "else", "if", "(", "GET_MODE", "(", "cmp_op0", ")", "==", "DFmode", ")", "\\", "emit_insn", "(", "gen_f", "##", "CMP", "##", "_quietdfsi4", "(", "*", "op0", ",", "cmp_op0", ",", "cmp_op1", ")", ")", ";", "\\", "else", "\\", "gcc_unreachable", "(", ")", ";", "\\", "*", "op1", "=", "const0_rtx", ";", "\\", "break", ";", "case", "UNLT", ":", "std", "::", "swap", "(", "cmp_op0", ",", "cmp_op1", ")", ";", "gcc_fallthrough", "(", ")", ";", "UNORDERED_COMPARISON", "(", "UNGT", ",", "le", ")", "case", "UNLE", ":", "std", "::", "swap", "(", "cmp_op0", ",", "cmp_op1", ")", ";", "gcc_fallthrough", "(", ")", ";", "UNORDERED_COMPARISON", "(", "UNGE", ",", "lt", ")", "case", "NE", ":", "fp_code", "=", "EQ", ";", "*", "code", "=", "EQ", ";", "case", "EQ", ":", "case", "LE", ":", "case", "LT", ":", "case", "GE", ":", "case", "GT", ":", "*", "op0", "=", "riscv_force_binary", "(", "word_mode", ",", "fp_code", ",", "cmp_op0", ",", "cmp_op1", ")", ";", "*", "op1", "=", "const0_rtx", ";", "break", ";", "case", "LTGT", ":", "tmp0", "=", "riscv_force_binary", "(", "word_mode", ",", "LT", ",", "cmp_op0", ",", "cmp_op1", ")", ";", "tmp1", "=", "riscv_force_binary", "(", "word_mode", ",", "GT", ",", "cmp_op0", ",", "cmp_op1", ")", ";", "*", "op0", "=", "riscv_force_binary", "(", "word_mode", ",", "IOR", ",", "tmp0", ",", "tmp1", ")", ";", "*", "op1", "=", "const0_rtx", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", ""], "natrual_language": ["Like", "riscv_emit_int_compare", ",", "but", "for", "floating-point", "comparisons", "."], "TS_V_token": ["riscv"], "File": "riscv", "Func": "riscv_emit_float_compare", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4418, "Length": 475, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "ARMSubtarget", "::", "ARMSubtarget", "(", "const", "Triple", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "const", "ARMBaseTargetMachine", "&", "TM", ",", "bool", "IsLittle", ")", ":", "ARMGenSubtargetInfo", "(", "TT", ",", "CPU", ",", "FS", ")", ",", "UseMulOps", "(", "UseFusedMulOps", ")", ",", "CPUString", "(", "CPU", ")", ",", "IsLittle", "(", "IsLittle", ")", ",", "TargetTriple", "(", "TT", ")", ",", "Options", "(", "TM", ".", "Options", ")", ",", "TM", "(", "TM", ")", ",", "FrameLowering", "(", "initializeFrameLowering", "(", "CPU", ",", "FS", ")", ")", ",", "InstrInfo", "(", "isThumb1Only", "(", ")", "?", "(", "ARMBaseInstrInfo", "*", ")", "new", "Thumb1InstrInfo", "(", "*", "this", ")", ":", "!", "isThumb", "(", ")", "?", "(", "ARMBaseInstrInfo", "*", ")", "new", "ARMInstrInfo", "(", "*", "this", ")", ":", "(", "ARMBaseInstrInfo", "*", ")", "new", "Thumb2InstrInfo", "(", "*", "this", ")", ")", ",", "TLInfo", "(", "TM", ",", "*", "this", ")", "{", "}", ""], "natrual_language": ["This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM"], "File": "ARMSubtarget68", "Func": "ARMSubtarget", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4419, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "WebAssemblyRegNumbering", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** Register Numbering **********\\n\"", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "WebAssemblyFunctionInfo", "&", "MFI", "=", "*", "MF", ".", "getInfo", "<", "WebAssemblyFunctionInfo", ">", "(", ")", ";", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "MFI", ".", "initWARegs", "(", ")", ";", "MachineBasicBlock", "&", "EntryMBB", "=", "MF", ".", "front", "(", ")", ";", "for", "(", "MachineInstr", "&", "MI", ":", "EntryMBB", ")", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "WebAssembly", "::", "ARGUMENT_I32", ":", "case", "WebAssembly", "::", "ARGUMENT_I64", ":", "case", "WebAssembly", "::", "ARGUMENT_F32", ":", "case", "WebAssembly", "::", "ARGUMENT_F64", ":", "{", "int64_t", "Imm", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"Arg VReg \"", "<<", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", "<<", "\" -> WAReg \"", "<<", "Imm", "<<", "\"\\n\"", ")", ";", "MFI", ".", "setWAReg", "(", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ",", "Imm", ")", ";", "break", ";", "}", "default", ":", "break", ";", "}", "}", "unsigned", "NumVRegs", "=", "MF", ".", "getRegInfo", "(", ")", ".", "getNumVirtRegs", "(", ")", ";", "unsigned", "NumStackRegs", "=", "0", ";", "unsigned", "CurReg", "=", "MFI", ".", "getParams", "(", ")", ".", "size", "(", ")", ";", "for", "(", "unsigned", "VRegIdx", "=", "0", ";", "VRegIdx", "<", "NumVRegs", ";", "++", "VRegIdx", ")", "{", "unsigned", "VReg", "=", "TargetRegisterInfo", "::", "index2VirtReg", "(", "VRegIdx", ")", ";", "if", "(", "MRI", ".", "use_empty", "(", "VReg", ")", ")", "continue", ";", "if", "(", "MFI", ".", "isVRegStackified", "(", "VReg", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"VReg \"", "<<", "VReg", "<<", "\" -> WAReg \"", "<<", "(", "INT32_MIN", "|", "NumStackRegs", ")", "<<", "\"\\n\"", ")", ";", "MFI", ".", "setWAReg", "(", "VReg", ",", "INT32_MIN", "|", "NumStackRegs", "++", ")", ";", "continue", ";", "}", "if", "(", "MFI", ".", "getWAReg", "(", "VReg", ")", "==", "WebAssemblyFunctionInfo", "::", "UnusedReg", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"VReg \"", "<<", "VReg", "<<", "\" -> WAReg \"", "<<", "CurReg", "<<", "\"\\n\"", ")", ";", "MFI", ".", "setWAReg", "(", "VReg", ",", "CurReg", "++", ")", ";", "}", "}", "return", "true", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "\"********** Register Numbering **********\\n\"", "\"********** Function: \"", "WebAssembly", "WebAssembly", "WebAssembly::ARGUMENT_I32", "WebAssembly::ARGUMENT_I64", "WebAssembly::ARGUMENT_F32", "WebAssembly::ARGUMENT_F64", "1", "\"Arg VReg \"", "0", "\" -> WAReg \"", "\"\\n\"", "0", "0", "0", "\"VReg \"", "\" -> WAReg \"", "\"\\n\"", "WebAssembly", "\"VReg \"", "\" -> WAReg \"", "\"\\n\""], "File": "WebAssemblyRegNumbering4", "Func": "runOnMachineFunction", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4420, "Length": 334, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "TPCHazardRecognizer", "::", "reserveResources", "(", "SUnit", "*", "SU", ")", "{", "MachineInstr", "*", "MI", "=", "SU", "->", "getInstr", "(", ")", ";", "if", "(", "!", "MI", "->", "isPseudo", "(", ")", ")", "Resources", "->", "reserveResources", "(", "*", "MI", ")", ";", "CurrentPacket", ".", "push_back", "(", "SU", ")", ";", "}", ""], "natrual_language": ["Keep", "track", "of", "available", "resources", "."], "TS_V_token": ["TPC", "TPC"], "File": "TPCHazardRecognizer", "Func": "reserveResources", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4421, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "CAHPAsmBackend", "::", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsResolved", ",", "const", "MCSubtargetInfo", "*", "STI", ")", "const", "{", "if", "(", "!", "Value", ")", "return", ";", "MCContext", "&", "Ctx", "=", "Asm", ".", "getContext", "(", ")", ";", "MCFixupKindInfo", "Info", "=", "getFixupKindInfo", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "Value", "=", "adjustFixupValue", "(", "Fixup", ",", "Value", ",", "Ctx", ")", ";", "Value", "<<=", "Info", ".", "TargetOffset", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "alignTo", "(", "Info", ".", "TargetSize", "+", "Info", ".", "TargetOffset", ",", "8", ")", "/", "8", ";", "assert", "(", "Offset", "+", "NumBytes", "<=", "Data", ".", "size", "(", ")", "&&", "\"Invalid fixup offset!\"", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumBytes", ";", "++", "i", ")", "{", "Data", "[", "Offset", "+", "i", "]", "|=", "static_cast", "<", "uint8_t", ">", "(", "(", "Value", ">>", "(", "i", "*", "8", ")", ")", "&", "0xff", ")", ";", "}", "return", ";", "}", ""], "natrual_language": ["Apply", "the", "Value", "for", "given", "Fixup", "into", "the", "provided", "data", "fragment", ",", "at", "the", "offset", "specified", "by", "the", "fixup", "and", "following", "the", "fixup", "kind", "as", "appropriate", "."], "TS_V_token": ["CAHP", "CAHP", "8", "8", "\"Invalid fixup offset!\"", "0", "8", "0xff"], "File": "CAHPAsmBackend", "Func": "applyFixup", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4422, "Length": 171, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCInst", "&", "Res", ")", "const", "override", "{", "}", ""], "natrual_language": ["Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "."], "TS_V_token": ["Xtensa"], "File": "XtensaAsmBackend", "Func": "relaxInstruction", "Target": "Xtensa", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4423, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "isThumb", "(", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "return", "STI", ".", "getFeatureBits", "(", ")", "[", "ARM", "::", "ModeThumb", "]", ";", "}", ""], "natrual_language": ["Tests", "whether", "the", "target", "is", "Thumb", "(", "little", "and", "big", "endian", ")", "."], "TS_V_token": ["ARM", "ARM::ModeThumb"], "File": "ARMAsmPrinter (2)1", "Func": "isThumb", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4424, "Length": 23, "Cover_Rate": 1.0, "Template_token": []}
{"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": 4425, "Length": 32, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "tree", "h8300_handle_eightbit_data_attribute", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", "args", "ATTRIBUTE_UNUSED", ",", "int", "flags", "ATTRIBUTE_UNUSED", ",", "bool", "*", "no_add_attrs", ")", "{", "tree", "decl", "=", "*", "node", ";", "if", "(", "TREE_STATIC", "(", "decl", ")", "||", "DECL_EXTERNAL", "(", "decl", ")", ")", "{", "set_decl_section_name", "(", "decl", ",", "\".eight\"", ")", ";", "}", "else", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qE attribute ignored\"", ",", "name", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Handle", "an", "``", "eightbit_data", "''", "attribute", ";", "arguments", "as", "in", "struct", "attribute_spec.handler", "."], "TS_V_token": ["h8300", "\".eight\"", "\"%qE attribute ignored\""], "File": "h8300", "Func": "h8300_handle_eightbit_data_attribute", "Target": "h8300", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4426, "Length": 72, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "nds32_can_use_bset_p", "(", "int", "ival", ")", "{", "int", "one_bit_count", ";", "one_bit_count", "=", "popcount_hwi", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "(", "ival", ")", ")", ";", "return", "(", "TARGET_PERF_EXT", "&&", "(", "one_bit_count", "==", "1", ")", ")", ";", "}", ""], "natrual_language": ["Function", "to", "check", "if", "'bset", "'", "instruction", "can", "be", "used", "with", "IVAL", "."], "TS_V_token": ["nds32", "1"], "File": "nds32-predicates2", "Func": "nds32_can_use_bset_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4427, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "static", "bool", "isMem", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "Op", ")", "{", "if", "(", "MI", "->", "getOperand", "(", "Op", ")", ".", "isFI", "(", ")", ")", "return", "true", ";", "return", "Op", "+", "4", "<=", "MI", "->", "getNumOperands", "(", ")", "&&", "MI", "->", "getOperand", "(", "Op", ")", ".", "isReg", "(", ")", "&&", "isScale", "(", "MI", "->", "getOperand", "(", "Op", "+", "1", ")", ")", "&&", "MI", "->", "getOperand", "(", "Op", "+", "2", ")", ".", "isReg", "(", ")", "&&", "(", "MI", "->", "getOperand", "(", "Op", "+", "3", ")", ".", "isImm", "(", ")", "||", "MI", "->", "getOperand", "(", "Op", "+", "3", ")", ".", "isGlobal", "(", ")", "||", "MI", "->", "getOperand", "(", "Op", "+", "3", ")", ".", "isCPI", "(", ")", "||", "MI", "->", "getOperand", "(", "Op", "+", "3", ")", ".", "isJTI", "(", ")", ")", ";", "}", ""], "natrual_language": ["isMem", "-", "Is", "this", "a", "memory", "operand", "?"], "TS_V_token": ["X86", "4", "1", "2", "3", "3", "3", "3"], "File": "X86InstrInfo65", "Func": "isMem", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4428, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "int", "nds32_target_alignment", "(", "rtx_insn", "*", "label", ")", "{", "rtx_insn", "*", "insn", ";", "if", "(", "optimize_size", ")", "return", "0", ";", "insn", "=", "next_active_insn", "(", "label", ")", ";", "if", "(", "insn", "==", "0", ")", "return", "0", ";", "else", "if", "(", "(", "get_attr_length", "(", "insn", ")", "%", "4", ")", "==", "0", ")", "return", "2", ";", "else", "return", "0", ";", "}", ""], "natrual_language": ["Return", "align", "2", "(", "log", "base", "2", ")", "if", "the", "next", "instruction", "of", "LABEL", "is", "4", "byte", "."], "TS_V_token": ["nds32", "0", "0", "0", "4", "0", "2", "0"], "File": "nds324", "Func": "nds32_target_alignment", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4429, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMAsmBackend", "::", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "const", "uint16_t", "Thumb1_16bitNopEncoding", "=", "0x46c0", ";", "const", "uint16_t", "Thumb2_16bitNopEncoding", "=", "0xbf00", ";", "const", "uint32_t", "ARMv4_NopEncoding", "=", "0xe1a00000", ";", "const", "uint32_t", "ARMv6T2_NopEncoding", "=", "0xe320f000", ";", "if", "(", "isThumb", "(", ")", ")", "{", "const", "uint16_t", "nopEncoding", "=", "hasNOP", "(", ")", "?", "Thumb2_16bitNopEncoding", ":", "Thumb1_16bitNopEncoding", ";", "uint64_t", "NumNops", "=", "Count", "/", "2", ";", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "!=", "NumNops", ";", "++", "i", ")", "OW", "->", "Write16", "(", "nopEncoding", ")", ";", "if", "(", "Count", "&", "1", ")", "OW", "->", "Write8", "(", "0", ")", ";", "return", "true", ";", "}", "const", "uint32_t", "nopEncoding", "=", "hasNOP", "(", ")", "?", "ARMv6T2_NopEncoding", ":", "ARMv4_NopEncoding", ";", "uint64_t", "NumNops", "=", "Count", "/", "4", ";", "for", "(", "uint64_t", "i", "=", "0", ";", "i", "!=", "NumNops", ";", "++", "i", ")", "OW", "->", "Write32", "(", "nopEncoding", ")", ";", "switch", "(", "Count", "%", "4", ")", "{", "default", ":", "break", ";", "case", "1", ":", "OW", "->", "Write8", "(", "0", ")", ";", "break", ";", "case", "2", ":", "OW", "->", "Write16", "(", "0", ")", ";", "break", ";", "case", "3", ":", "OW", "->", "Write16", "(", "0", ")", ";", "OW", "->", "Write8", "(", "0xa0", ")", ";", "break", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "."], "TS_V_token": ["ARM", "ARM", "0x46c0", "0xbf00", "ARM", "0xe1a00000", "ARM", "0xe320f000", "2", "0", "1", "0", "ARM", "ARM", "4", "0", "4", "1", "0", "2", "0", "3", "0", "0xa0"], "File": "ARMAsmBackend14", "Func": "writeNopData", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4430, "Length": 201, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arc_output_mi_thunk", "(", "FILE", "*", "file", ",", "tree", "thunk", "ATTRIBUTE_UNUSED", ",", "HOST_WIDE_INT", "delta", ",", "HOST_WIDE_INT", "vcall_offset", ",", "tree", "function", ")", "{", "const", "char", "*", "fnname", "=", "IDENTIFIER_POINTER", "(", "DECL_ASSEMBLER_NAME", "(", "thunk", ")", ")", ";", "int", "mi_delta", "=", "delta", ";", "const", "char", "*", "const", "mi_op", "=", "mi_delta", "<", "0", "?", "\"sub\"", ":", "\"add\"", ";", "int", "shift", "=", "0", ";", "int", "this_regno", "=", "aggregate_value_p", "(", "TREE_TYPE", "(", "TREE_TYPE", "(", "function", ")", ")", ",", "function", ")", "?", "1", ":", "0", ";", "rtx", "fnaddr", ";", "assemble_start_function", "(", "thunk", ",", "fnname", ")", ";", "if", "(", "mi_delta", "<", "0", ")", "mi_delta", "=", "-", "mi_delta", ";", "while", "(", "mi_delta", "!=", "0", ")", "{", "if", "(", "(", "mi_delta", "&", "(", "3", "<<", "shift", ")", ")", "==", "0", ")", "shift", "+=", "2", ";", "else", "{", "asm_fprintf", "(", "file", ",", "\"\\t%s\\t%s, %s, %d\\n\"", ",", "mi_op", ",", "reg_names", "[", "this_regno", "]", ",", "reg_names", "[", "this_regno", "]", ",", "mi_delta", "&", "(", "0xff", "<<", "shift", ")", ")", ";", "mi_delta", "&=", "~", "(", "0xff", "<<", "shift", ")", ";", "shift", "+=", "8", ";", "}", "}", "if", "(", "vcall_offset", "!=", "0", ")", "{", "asm_fprintf", "(", "file", ",", "\"\\tld\\t%s, [%s]\\n\"", ",", "ARC_TEMP_SCRATCH_REG", ",", "reg_names", "[", "this_regno", "]", ")", ";", "asm_fprintf", "(", "file", ",", "\"\\tadd\\t%s, %s, \"", "HOST_WIDE_INT_PRINT_DEC", "\"\\n\"", ",", "ARC_TEMP_SCRATCH_REG", ",", "ARC_TEMP_SCRATCH_REG", ",", "vcall_offset", ")", ";", "asm_fprintf", "(", "file", ",", "\"\\tld\\t%s, [%s]\\n\"", ",", "ARC_TEMP_SCRATCH_REG", ",", "ARC_TEMP_SCRATCH_REG", ")", ";", "asm_fprintf", "(", "file", ",", "\"\\tadd\\t%s, %s, %s\\n\"", ",", "reg_names", "[", "this_regno", "]", ",", "reg_names", "[", "this_regno", "]", ",", "ARC_TEMP_SCRATCH_REG", ")", ";", "}", "fnaddr", "=", "XEXP", "(", "DECL_RTL", "(", "function", ")", ",", "0", ")", ";", "if", "(", "arc_is_longcall_p", "(", "fnaddr", ")", ")", "{", "if", "(", "flag_pic", ")", "{", "asm_fprintf", "(", "file", ",", "\"\\tld\\t%s, [pcl, @\"", ",", "ARC_TEMP_SCRATCH_REG", ")", ";", "assemble_name", "(", "file", ",", "XSTR", "(", "fnaddr", ",", "0", ")", ")", ";", "fputs", "(", "\"@gotpc]\\n\"", ",", "file", ")", ";", "asm_fprintf", "(", "file", ",", "\"\\tj\\t[%s]\"", ",", "ARC_TEMP_SCRATCH_REG", ")", ";", "}", "else", "{", "fputs", "(", "\"\\tj\\t@\"", ",", "file", ")", ";", "assemble_name", "(", "file", ",", "XSTR", "(", "fnaddr", ",", "0", ")", ")", ";", "}", "}", "else", "{", "fputs", "(", "\"\\tb\\t@\"", ",", "file", ")", ";", "assemble_name", "(", "file", ",", "XSTR", "(", "fnaddr", ",", "0", ")", ")", ";", "if", "(", "flag_pic", ")", "fputs", "(", "\"@plt\\n\"", ",", "file", ")", ";", "}", "fputc", "(", "'\\n'", ",", "file", ")", ";", "assemble_end_function", "(", "thunk", ",", "fnname", ")", ";", "}", ""], "natrual_language": ["Output", "code", "to", "add", "DELTA", "to", "the", "first", "argument", ",", "and", "then", "jump", "to", "FUNCTION", ".", "Used", "for", "C++", "multiple", "inheritance", "."], "TS_V_token": ["arc", "0", "\"sub\"", "\"add\"", "0", "1", "0", "0", "0", "3", "0", "2", "\"\\t%s\\t%s, %s, %d\\n\"", "0xff", "0xff", "8", "0", "\"\\tld\\t%s, [%s]\\n\"", "\"\\tadd\\t%s, %s, \"", "\"\\n\"", "\"\\tld\\t%s, [%s]\\n\"", "\"\\tadd\\t%s, %s, %s\\n\"", "0", "\"\\tld\\t%s, [pcl, @\"", "0", "\"@gotpc]\\n\"", "\"\\tj\\t[%s]\"", "\"\\tj\\t@\"", "0", "\"\\tb\\t@\"", "0", "\"@plt\\n\""], "File": "arc", "Func": "arc_output_mi_thunk", "Target": "arc", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4431, "Length": 370, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "GCNScheduleDAGMILive", "::", "finalizeSchedule", "(", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"All regions recorded, starting actual scheduling.\\n\"", ")", ";", "LiveIns", ".", "resize", "(", "Regions", ".", "size", "(", ")", ")", ";", "Pressure", ".", "resize", "(", "Regions", ".", "size", "(", ")", ")", ";", "RescheduleRegions", ".", "resize", "(", "Regions", ".", "size", "(", ")", ")", ";", "RegionsWithClusters", ".", "resize", "(", "Regions", ".", "size", "(", ")", ")", ";", "RegionsWithHighRP", ".", "resize", "(", "Regions", ".", "size", "(", ")", ")", ";", "RescheduleRegions", ".", "set", "(", ")", ";", "RegionsWithClusters", ".", "reset", "(", ")", ";", "RegionsWithHighRP", ".", "reset", "(", ")", ";", "if", "(", "!", "Regions", ".", "empty", "(", ")", ")", "BBLiveInMap", "=", "getBBLiveInMap", "(", ")", ";", "std", "::", "vector", "<", "std", "::", "unique_ptr", "<", "ScheduleDAGMutation", ">>", "SavedMutations", ";", "do", "{", "Stage", "++", ";", "RegionIdx", "=", "0", ";", "MachineBasicBlock", "*", "MBB", "=", "nullptr", ";", "if", "(", "Stage", ">", "InitialSchedule", ")", "{", "if", "(", "!", "LIS", ")", "break", ";", "if", "(", "Stage", "==", "UnclusteredReschedule", ")", "{", "if", "(", "RescheduleRegions", ".", "none", "(", ")", ")", "continue", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Retrying function scheduling without clustering.\\n\"", ")", ";", "}", "if", "(", "Stage", "==", "ClusteredLowOccupancyReschedule", ")", "{", "if", "(", "StartingOccupancy", "<=", "MinOccupancy", ")", "break", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"Retrying function scheduling with lowest recorded occupancy \"", "<<", "MinOccupancy", "<<", "\".\\n\"", ")", ";", "}", "}", "if", "(", "Stage", "==", "UnclusteredReschedule", ")", "SavedMutations", ".", "swap", "(", "Mutations", ")", ";", "for", "(", "auto", "Region", ":", "Regions", ")", "{", "if", "(", "(", "Stage", "==", "UnclusteredReschedule", "&&", "!", "RescheduleRegions", "[", "RegionIdx", "]", ")", "||", "(", "Stage", "==", "ClusteredLowOccupancyReschedule", "&&", "!", "RegionsWithClusters", "[", "RegionIdx", "]", "&&", "!", "RegionsWithHighRP", "[", "RegionIdx", "]", ")", ")", "{", "++", "RegionIdx", ";", "continue", ";", "}", "RegionBegin", "=", "Region", ".", "first", ";", "RegionEnd", "=", "Region", ".", "second", ";", "if", "(", "RegionBegin", "->", "getParent", "(", ")", "!=", "MBB", ")", "{", "if", "(", "MBB", ")", "finishBlock", "(", ")", ";", "MBB", "=", "RegionBegin", "->", "getParent", "(", ")", ";", "startBlock", "(", "MBB", ")", ";", "if", "(", "Stage", "==", "InitialSchedule", ")", "computeBlockPressure", "(", "MBB", ")", ";", "}", "unsigned", "NumRegionInstrs", "=", "std", "::", "distance", "(", "begin", "(", ")", ",", "end", "(", ")", ")", ";", "enterRegion", "(", "MBB", ",", "begin", "(", ")", ",", "end", "(", ")", ",", "NumRegionInstrs", ")", ";", "if", "(", "begin", "(", ")", "==", "end", "(", ")", "||", "begin", "(", ")", "==", "std", "::", "prev", "(", "end", "(", ")", ")", ")", "{", "exitRegion", "(", ")", ";", "continue", ";", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** MI Scheduling **********\\n\"", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "MF", ".", "getName", "(", ")", "<<", "\":\"", "<<", "printMBBReference", "(", "*", "MBB", ")", "<<", "\" \"", "<<", "MBB", "->", "getName", "(", ")", "<<", "\"\\n From: \"", "<<", "*", "begin", "(", ")", "<<", "\" To: \"", ";", "if", "(", "RegionEnd", "!=", "MBB", "->", "end", "(", ")", ")", "dbgs", "(", ")", "<<", "*", "RegionEnd", ";", "else", "dbgs", "(", ")", "<<", "\"End\"", ";", "dbgs", "(", ")", "<<", "\" RegionInstrs: \"", "<<", "NumRegionInstrs", "<<", "'\\n'", ")", ";", "schedule", "(", ")", ";", "exitRegion", "(", ")", ";", "++", "RegionIdx", ";", "}", "finishBlock", "(", ")", ";", "if", "(", "Stage", "==", "UnclusteredReschedule", ")", "SavedMutations", ".", "swap", "(", "Mutations", ")", ";", "}", "while", "(", "Stage", "!=", "LastStage", ")", ";", "}", ""], "natrual_language": ["After", "the", "schedule", "has", "been", "formed", ",", "call", "this", "function", "to", "combine", "the", "instructions", "from", "the", "different", "stages/cycles", "."], "TS_V_token": ["AMDGPU", "\"All regions recorded, starting actual scheduling.\\n\"", "0", "\"Retrying function scheduling without clustering.\\n\"", "\"Retrying function scheduling with lowest recorded occupancy \"", "\".\\n\"", "\"********** MI Scheduling **********\\n\"", "\":\"", "\" \"", "\"\\n From: \"", "\" To: \"", "\"End\"", "\" RegionInstrs: \""], "File": "GCNSchedStrategy3", "Func": "finalizeSchedule", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4432, "Length": 499, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "bool", "reserveCallFrame", "=", "hasReservedCallFrame", "(", "MF", ")", ";", "unsigned", "Opcode", "=", "I", "->", "getOpcode", "(", ")", ";", "bool", "isDestroy", "=", "Opcode", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", ";", "DebugLoc", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "uint64_t", "Amount", "=", "!", "reserveCallFrame", "?", "I", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ":", "0", ";", "uint64_t", "InternalAmt", "=", "(", "isDestroy", "||", "Amount", ")", "?", "I", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ":", "0", ";", "I", "=", "MBB", ".", "erase", "(", "I", ")", ";", "if", "(", "!", "reserveCallFrame", ")", "{", "if", "(", "Amount", "==", "0", ")", "return", ";", "unsigned", "StackAlign", "=", "getStackAlignment", "(", ")", ";", "Amount", "=", "RoundUpToAlignment", "(", "Amount", ",", "StackAlign", ")", ";", "Amount", "-=", "InternalAmt", ";", "if", "(", "Amount", ")", "{", "int", "Offset", "=", "isDestroy", "?", "Amount", ":", "-", "Amount", ";", "if", "(", "!", "(", "MF", ".", "getFunction", "(", ")", "->", "optForMinSize", "(", ")", "&&", "adjustStackWithPops", "(", "MBB", ",", "I", ",", "DL", ",", "Offset", ")", ")", ")", "BuildStackAdjustment", "(", "MBB", ",", "I", ",", "DL", ",", "Offset", ",", "false", ")", ";", "}", "return", ";", "}", "if", "(", "isDestroy", "&&", "InternalAmt", ")", "{", "MachineBasicBlock", "::", "iterator", "B", "=", "MBB", ".", "begin", "(", ")", ";", "while", "(", "I", "!=", "B", "&&", "!", "std", "::", "prev", "(", "I", ")", "->", "isCall", "(", ")", ")", "--", "I", ";", "BuildStackAdjustment", "(", "MBB", ",", "I", ",", "DL", ",", "-", "InternalAmt", ",", "false", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "is", "called", "during", "prolog/epilog", "code", "insertion", "to", "eliminate", "call", "frame", "setup", "and", "destroy", "pseudo", "instructions", "(", "but", "only", "if", "the", "Target", "is", "using", "them", ")", "."], "TS_V_token": ["X86", "X86", "0", "0", "1", "0", "0"], "File": "X86FrameLowering103", "Func": "eliminateCallFramePseudoInstr", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4433, "Length": 254, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "AMDGPUTargetLowering", "::", "SplitVectorStore", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "StoreSDNode", "*", "Store", "=", "cast", "<", "StoreSDNode", ">", "(", "Op", ")", ";", "SDValue", "Val", "=", "Store", "->", "getValue", "(", ")", ";", "EVT", "VT", "=", "Val", ".", "getValueType", "(", ")", ";", "if", "(", "VT", ".", "getVectorNumElements", "(", ")", "==", "2", ")", "return", "scalarizeVectorStore", "(", "Store", ",", "DAG", ")", ";", "EVT", "MemVT", "=", "Store", "->", "getMemoryVT", "(", ")", ";", "SDValue", "Chain", "=", "Store", "->", "getChain", "(", ")", ";", "SDValue", "BasePtr", "=", "Store", "->", "getBasePtr", "(", ")", ";", "SDLoc", "SL", "(", "Op", ")", ";", "EVT", "LoVT", ",", "HiVT", ";", "EVT", "LoMemVT", ",", "HiMemVT", ";", "SDValue", "Lo", ",", "Hi", ";", "std", "::", "tie", "(", "LoVT", ",", "HiVT", ")", "=", "DAG", ".", "GetSplitDestVTs", "(", "VT", ")", ";", "std", "::", "tie", "(", "LoMemVT", ",", "HiMemVT", ")", "=", "DAG", ".", "GetSplitDestVTs", "(", "MemVT", ")", ";", "std", "::", "tie", "(", "Lo", ",", "Hi", ")", "=", "DAG", ".", "SplitVector", "(", "Val", ",", "SL", ",", "LoVT", ",", "HiVT", ")", ";", "EVT", "PtrVT", "=", "BasePtr", ".", "getValueType", "(", ")", ";", "SDValue", "HiPtr", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ADD", ",", "SL", ",", "PtrVT", ",", "BasePtr", ",", "DAG", ".", "getConstant", "(", "LoMemVT", ".", "getStoreSize", "(", ")", ",", "SL", ",", "PtrVT", ")", ")", ";", "const", "MachinePointerInfo", "&", "SrcValue", "=", "Store", "->", "getMemOperand", "(", ")", "->", "getPointerInfo", "(", ")", ";", "unsigned", "BaseAlign", "=", "Store", "->", "getAlignment", "(", ")", ";", "unsigned", "Size", "=", "LoMemVT", ".", "getStoreSize", "(", ")", ";", "unsigned", "HiAlign", "=", "MinAlign", "(", "BaseAlign", ",", "Size", ")", ";", "SDValue", "LoStore", "=", "DAG", ".", "getTruncStore", "(", "Chain", ",", "SL", ",", "Lo", ",", "BasePtr", ",", "SrcValue", ",", "LoMemVT", ",", "Store", "->", "isNonTemporal", "(", ")", ",", "Store", "->", "isVolatile", "(", ")", ",", "BaseAlign", ")", ";", "SDValue", "HiStore", "=", "DAG", ".", "getTruncStore", "(", "Chain", ",", "SL", ",", "Hi", ",", "HiPtr", ",", "SrcValue", ".", "getWithOffset", "(", "Size", ")", ",", "HiMemVT", ",", "Store", "->", "isNonTemporal", "(", ")", ",", "Store", "->", "isVolatile", "(", ")", ",", "HiAlign", ")", ";", "return", "DAG", ".", "getNode", "(", "ISD", "::", "TokenFactor", ",", "SL", ",", "MVT", "::", "Other", ",", "LoStore", ",", "HiStore", ")", ";", "}", ""], "natrual_language": ["Split", "a", "vector", "store", "into", "2", "stores", "of", "half", "the", "vector", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "2", "ISD::ADD", "ISD::TokenFactor", "MVT::Other"], "File": "AMDGPUISelLowering119", "Func": "SplitVectorStore", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4434, "Length": 343, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "AArch64FrameLowering", "::", "processFunctionBeforeFrameIndicesReplaced", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", "=", "nullptr", ")", "const", "{", "if", "(", "StackTaggingMergeSetTag", ")", "for", "(", "auto", "&", "BB", ":", "MF", ")", "for", "(", "MachineBasicBlock", "::", "iterator", "II", "=", "BB", ".", "begin", "(", ")", ";", "II", "!=", "BB", ".", "end", "(", ")", ";", ")", "II", "=", "tryMergeAdjacentSTG", "(", "II", ",", "this", ",", "RS", ")", ";", "}", ""], "natrual_language": ["processFunctionBeforeFrameIndicesReplaced", "-", "This", "method", "is", "called", "immediately", "before", "MO_FrameIndex", "operands", "are", "eliminated", ",", "but", "after", "the", "frame", "is", "finalized", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64FrameLowering (2)1", "Func": "processFunctionBeforeFrameIndicesReplaced", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4435, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AMDGPUTargetLowering", "::", "isKnownNeverNaNForTargetNode", "(", "SDValue", "Op", ",", "const", "SelectionDAG", "&", "DAG", ",", "bool", "SNaN", ",", "unsigned", "Depth", ")", "const", "{", "unsigned", "Opcode", "=", "Op", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "case", "AMDGPUISD", "::", "FMIN_LEGACY", ":", "case", "AMDGPUISD", "::", "FMAX_LEGACY", ":", "{", "if", "(", "SNaN", ")", "return", "true", ";", "return", "false", ";", "}", "case", "AMDGPUISD", "::", "FMUL_LEGACY", ":", "case", "AMDGPUISD", "::", "CVT_PKRTZ_F16_F32", ":", "{", "if", "(", "SNaN", ")", "return", "true", ";", "return", "DAG", ".", "isKnownNeverNaN", "(", "Op", ".", "getOperand", "(", "0", ")", ",", "SNaN", ",", "Depth", "+", "1", ")", "&&", "DAG", ".", "isKnownNeverNaN", "(", "Op", ".", "getOperand", "(", "1", ")", ",", "SNaN", ",", "Depth", "+", "1", ")", ";", "}", "case", "AMDGPUISD", "::", "FMED3", ":", "case", "AMDGPUISD", "::", "FMIN3", ":", "case", "AMDGPUISD", "::", "FMAX3", ":", "case", "AMDGPUISD", "::", "FMAD_FTZ", ":", "{", "if", "(", "SNaN", ")", "return", "true", ";", "return", "DAG", ".", "isKnownNeverNaN", "(", "Op", ".", "getOperand", "(", "0", ")", ",", "SNaN", ",", "Depth", "+", "1", ")", "&&", "DAG", ".", "isKnownNeverNaN", "(", "Op", ".", "getOperand", "(", "1", ")", ",", "SNaN", ",", "Depth", "+", "1", ")", "&&", "DAG", ".", "isKnownNeverNaN", "(", "Op", ".", "getOperand", "(", "2", ")", ",", "SNaN", ",", "Depth", "+", "1", ")", ";", "}", "case", "AMDGPUISD", "::", "CVT_F32_UBYTE0", ":", "case", "AMDGPUISD", "::", "CVT_F32_UBYTE1", ":", "case", "AMDGPUISD", "::", "CVT_F32_UBYTE2", ":", "case", "AMDGPUISD", "::", "CVT_F32_UBYTE3", ":", "return", "true", ";", "case", "AMDGPUISD", "::", "RCP", ":", "case", "AMDGPUISD", "::", "RSQ", ":", "case", "AMDGPUISD", "::", "RCP_LEGACY", ":", "case", "AMDGPUISD", "::", "RSQ_CLAMP", ":", "{", "if", "(", "SNaN", ")", "return", "true", ";", "return", "false", ";", "}", "case", "AMDGPUISD", "::", "LDEXP", ":", "case", "AMDGPUISD", "::", "FRACT", ":", "{", "if", "(", "SNaN", ")", "return", "true", ";", "return", "DAG", ".", "isKnownNeverNaN", "(", "Op", ".", "getOperand", "(", "0", ")", ",", "SNaN", ",", "Depth", "+", "1", ")", ";", "}", "case", "AMDGPUISD", "::", "DIV_SCALE", ":", "case", "AMDGPUISD", "::", "DIV_FMAS", ":", "case", "AMDGPUISD", "::", "DIV_FIXUP", ":", "case", "AMDGPUISD", "::", "TRIG_PREOP", ":", "return", "SNaN", ";", "case", "AMDGPUISD", "::", "SIN_HW", ":", "case", "AMDGPUISD", "::", "COS_HW", ":", "{", "return", "SNaN", ";", "}", "case", "ISD", "::", "INTRINSIC_WO_CHAIN", ":", "{", "unsigned", "IntrinsicID", "=", "cast", "<", "ConstantSDNode", ">", "(", "Op", ".", "getOperand", "(", "0", ")", ")", "->", "getZExtValue", "(", ")", ";", "switch", "(", "IntrinsicID", ")", "{", "case", "Intrinsic", "::", "amdgcn_cubeid", ":", "return", "true", ";", "case", "Intrinsic", "::", "amdgcn_frexp_mant", ":", "{", "if", "(", "SNaN", ")", "return", "true", ";", "return", "DAG", ".", "isKnownNeverNaN", "(", "Op", ".", "getOperand", "(", "1", ")", ",", "SNaN", ",", "Depth", "+", "1", ")", ";", "}", "case", "Intrinsic", "::", "amdgcn_cvt_pkrtz", ":", "{", "if", "(", "SNaN", ")", "return", "true", ";", "return", "DAG", ".", "isKnownNeverNaN", "(", "Op", ".", "getOperand", "(", "1", ")", ",", "SNaN", ",", "Depth", "+", "1", ")", "&&", "DAG", ".", "isKnownNeverNaN", "(", "Op", ".", "getOperand", "(", "2", ")", ",", "SNaN", ",", "Depth", "+", "1", ")", ";", "}", "case", "Intrinsic", "::", "amdgcn_rcp", ":", "case", "Intrinsic", "::", "amdgcn_rsq", ":", "case", "Intrinsic", "::", "amdgcn_rcp_legacy", ":", "case", "Intrinsic", "::", "amdgcn_rsq_legacy", ":", "case", "Intrinsic", "::", "amdgcn_rsq_clamp", ":", "{", "if", "(", "SNaN", ")", "return", "true", ";", "return", "false", ";", "}", "case", "Intrinsic", "::", "amdgcn_fdot2", ":", "return", "SNaN", ";", "default", ":", "return", "false", ";", "}", "}", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["If", "SNaN", "is", "false", ",", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "AMDGPUISD::FMIN_LEGACY", "AMDGPUISD::FMAX_LEGACY", "AMDGPUISD::FMUL_LEGACY", "AMDGPUISD::CVT_PKRTZ_F16_F32", "0", "1", "1", "1", "AMDGPUISD::FMED3", "AMDGPUISD::FMIN3", "AMDGPUISD::FMAX3", "AMDGPUISD::FMAD_FTZ", "0", "1", "1", "1", "2", "1", "AMDGPUISD::CVT_F32_UBYTE0", "AMDGPUISD::CVT_F32_UBYTE1", "AMDGPUISD::CVT_F32_UBYTE2", "AMDGPUISD::CVT_F32_UBYTE3", "AMDGPUISD::RCP", "AMDGPUISD::RSQ", "AMDGPUISD::RCP_LEGACY", "AMDGPUISD::RSQ_CLAMP", "AMDGPUISD::LDEXP", "AMDGPUISD::FRACT", "0", "1", "AMDGPUISD::DIV_SCALE", "AMDGPUISD::DIV_FMAS", "AMDGPUISD::DIV_FIXUP", "AMDGPUISD::TRIG_PREOP", "AMDGPUISD::SIN_HW", "AMDGPUISD::COS_HW", "ISD::INTRINSIC_WO_CHAIN", "0", "Intrinsic::amdgcn_cubeid", "Intrinsic::amdgcn_frexp_mant", "1", "1", "Intrinsic::amdgcn_cvt_pkrtz", "1", "1", "2", "1", "Intrinsic::amdgcn_rcp", "Intrinsic::amdgcn_rsq", "Intrinsic::amdgcn_rcp_legacy", "Intrinsic::amdgcn_rsq_legacy", "Intrinsic::amdgcn_rsq_clamp", "Intrinsic::amdgcn_fdot2"], "File": "AMDGPUISelLowering121", "Func": "isKnownNeverNaNForTargetNode", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4436, "Length": 510, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"optimise teak move immediate pass\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Teak", "\"optimise teak move immediate pass\""], "File": "TeakOptimizeMovImmPass", "Func": "getPassName", "Target": "Teak", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4437, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "TargetPassConfig", "*", "CAHPTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "CAHPPassConfig", "(", "*", "this", ",", "PM", ")", ";", "}", ""], "natrual_language": ["Create", "a", "pass", "configuration", "object", "to", "be", "used", "by", "addPassToEmitX", "methods", "for", "generating", "a", "pipeline", "of", "CodeGen", "passes", "."], "TS_V_token": ["CAHP", "CAHP", "CAHP"], "File": "CAHPTargetMachine", "Func": "createPassConfig", "Target": "CAHP", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4438, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMBaseTargetMachine", "::", "addInstSelector", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "PM", ".", "add", "(", "createARMISelDag", "(", "*", "this", ")", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "."], "TS_V_token": ["ARM", "ARM", "ARM"], "File": "ARMTargetMachine16", "Func": "addInstSelector", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4439, "Length": 30, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "addFastRegAlloc", "(", ")", "override", "{", "addOptimizedRegAlloc", "(", ")", ";", "}", ""], "natrual_language": ["addFastRegAlloc", "-", "Add", "the", "minimum", "set", "of", "target-independent", "passes", "that", "are", "required", "for", "fast", "register", "allocation", "."], "TS_V_token": ["MOS"], "File": "MOSTargetMachine", "Func": "addFastRegAlloc", "Target": "MOS", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4440, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "RISCVInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", "=", "MBBI", "!=", "MBB", ".", "end", "(", ")", "?", "MBBI", "->", "getDebugLoc", "(", ")", ":", "DebugLoc", "(", ")", ";", "unsigned", "LoadOpcode", ",", "StoreOpcode", ";", "getLoadStoreOpcodes", "(", "RC", ",", "LoadOpcode", ",", "StoreOpcode", ")", ";", "addFrameReference", "(", "BuildMI", "(", "MBB", ",", "MBBI", ",", "DL", ",", "get", "(", "StoreOpcode", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ",", "FrameIdx", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["RISCV", "RISCV"], "File": "RISCVInstrInfo (2)1", "Func": "storeRegToStackSlot", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4441, "Length": 100, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "RISCVTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "&", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "BB", "->", "getParent", "(", ")", "->", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "DebugLoc", "DL", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "assert", "(", "MI", ".", "getOpcode", "(", ")", "==", "RISCV", "::", "Select_GPR_Using_CC_GPR", "&&", "\"Unexpected instr type to insert\"", ")", ";", "const", "BasicBlock", "*", "LLVM_BB", "=", "BB", "->", "getBasicBlock", "(", ")", ";", "MachineFunction", "::", "iterator", "I", "=", "++", "BB", "->", "getIterator", "(", ")", ";", "MachineBasicBlock", "*", "HeadMBB", "=", "BB", ";", "MachineFunction", "*", "F", "=", "BB", "->", "getParent", "(", ")", ";", "MachineBasicBlock", "*", "TailMBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "MachineBasicBlock", "*", "IfFalseMBB", "=", "F", "->", "CreateMachineBasicBlock", "(", "LLVM_BB", ")", ";", "F", "->", "insert", "(", "I", ",", "IfFalseMBB", ")", ";", "F", "->", "insert", "(", "I", ",", "TailMBB", ")", ";", "TailMBB", "->", "splice", "(", "TailMBB", "->", "begin", "(", ")", ",", "HeadMBB", ",", "std", "::", "next", "(", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", ",", "HeadMBB", "->", "end", "(", ")", ")", ";", "TailMBB", "->", "transferSuccessorsAndUpdatePHIs", "(", "HeadMBB", ")", ";", "HeadMBB", "->", "addSuccessor", "(", "IfFalseMBB", ")", ";", "HeadMBB", "->", "addSuccessor", "(", "TailMBB", ")", ";", "unsigned", "LHS", "=", "MI", ".", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ";", "unsigned", "RHS", "=", "MI", ".", "getOperand", "(", "2", ")", ".", "getReg", "(", ")", ";", "auto", "CC", "=", "static_cast", "<", "ISD", "::", "CondCode", ">", "(", "MI", ".", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", ")", ";", "unsigned", "Opcode", "=", "getBranchOpcodeForIntCondCode", "(", "CC", ")", ";", "BuildMI", "(", "HeadMBB", ",", "DL", ",", "TII", ".", "get", "(", "Opcode", ")", ")", ".", "addReg", "(", "LHS", ")", ".", "addReg", "(", "RHS", ")", ".", "addMBB", "(", "TailMBB", ")", ";", "IfFalseMBB", "->", "addSuccessor", "(", "TailMBB", ")", ";", "BuildMI", "(", "*", "TailMBB", ",", "TailMBB", "->", "begin", "(", ")", ",", "DL", ",", "TII", ".", "get", "(", "RISCV", "::", "PHI", ")", ",", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ".", "addReg", "(", "MI", ".", "getOperand", "(", "4", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "HeadMBB", ")", ".", "addReg", "(", "MI", ".", "getOperand", "(", "5", ")", ".", "getReg", "(", ")", ")", ".", "addMBB", "(", "IfFalseMBB", ")", ";", "MI", ".", "eraseFromParent", "(", ")", ";", "return", "TailMBB", ";", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "."], "TS_V_token": ["RISCV", "RISCV", "RISCV::Select_GPR_Using_CC_GPR", "\"Unexpected instr type to insert\"", "1", "2", "ISD::CondCode", "3", "RISCV::PHI", "0", "4", "5"], "File": "RISCVISelLowering17", "Func": "EmitInstrWithCustomInserter", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4442, "Length": 367, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "::", "iterator", "SIFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "int64_t", "Amount", "=", "I", "->", "getOperand", "(", "0", ")", ".", "getImm", "(", ")", ";", "if", "(", "Amount", "==", "0", ")", "return", "MBB", ".", "erase", "(", "I", ")", ";", "const", "GCNSubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "const", "SIInstrInfo", "*", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "const", "DebugLoc", "&", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "unsigned", "Opc", "=", "I", "->", "getOpcode", "(", ")", ";", "bool", "IsDestroy", "=", "Opc", "==", "TII", "->", "getCallFrameDestroyOpcode", "(", ")", ";", "uint64_t", "CalleePopAmount", "=", "IsDestroy", "?", "I", "->", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", ":", "0", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "if", "(", "!", "TFI", "->", "hasReservedCallFrame", "(", "MF", ")", ")", "{", "unsigned", "Align", "=", "getStackAlignment", "(", ")", ";", "Amount", "=", "alignTo", "(", "Amount", ",", "Align", ")", ";", "assert", "(", "isUInt", "<", "32", ">", "(", "Amount", ")", "&&", "\"exceeded stack address space size\"", ")", ";", "const", "SIMachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "unsigned", "SPReg", "=", "MFI", "->", "getStackPtrOffsetReg", "(", ")", ";", "unsigned", "Op", "=", "IsDestroy", "?", "AMDGPU", "::", "S_SUB_U32", ":", "AMDGPU", "::", "S_ADD_U32", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "TII", "->", "get", "(", "Op", ")", ",", "SPReg", ")", ".", "addReg", "(", "SPReg", ")", ".", "addImm", "(", "Amount", "*", "ST", ".", "getWavefrontSize", "(", ")", ")", ";", "}", "else", "if", "(", "CalleePopAmount", "!=", "0", ")", "{", "llvm_unreachable", "(", "\"is this used?\"", ")", ";", "}", "return", "MBB", ".", "erase", "(", "I", ")", ";", "}", ""], "natrual_language": ["This", "method", "is", "called", "during", "prolog/epilog", "code", "insertion", "to", "eliminate", "call", "frame", "setup", "and", "destroy", "pseudo", "instructions", "(", "but", "only", "if", "the", "Target", "is", "using", "them", ")", "."], "TS_V_token": ["AMDGPU", "SI", "0", "0", "SI", "1", "0", "32", "\"exceeded stack address space size\"", "SI", "SI", "AMDGPU::S_SUB_U32", "AMDGPU::S_ADD_U32", "0", "\"is this used?\""], "File": "SIFrameLowering16", "Func": "eliminateCallFramePseudoInstr", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4443, "Length": 273, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "RISCVTargetLowering", "::", "shouldSignExtendTypeInLibCall", "(", "EVT", "Type", ",", "bool", "IsSigned", ")", "const", "{", "if", "(", "Subtarget", ".", "is64Bit", "(", ")", "&&", "Type", "==", "MVT", "::", "i32", ")", "return", "true", ";", "return", "IsSigned", ";", "}", ""], "natrual_language": ["Returns", "true", "if", "arguments", "should", "be", "sign-extended", "in", "lib", "calls", "."], "TS_V_token": ["RI5CY", "RISCV", "MVT::i32"], "File": "RISCVISelLowering", "Func": "shouldSignExtendTypeInLibCall", "Target": "RI5CY", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4444, "Length": 34, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "setName", "(", "StringRef", "N", ")", "{", "Name", "=", "std", "::", "string", "(", "N", ")", ";", "}", ""], "natrual_language": ["Change", "the", "name", "of", "this", "type", "to", "the", "specified", "name", ",", "or", "to", "a", "name", "with", "a", "suffix", "if", "there", "is", "a", "collision", "."], "TS_V_token": ["AMDGPU"], "File": "AMDGPULibFunc2", "Func": "setName", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4445, "Length": 17, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "AllocateReg", "(", "const", "unsigned", "*", "Regs", ",", "const", "unsigned", "*", "ShadowRegs", ",", "unsigned", "NumRegs", ")", "{", "unsigned", "FirstUnalloc", "=", "getFirstUnallocated", "(", "Regs", ",", "NumRegs", ")", ";", "if", "(", "FirstUnalloc", "==", "NumRegs", ")", "return", "0", ";", "unsigned", "Reg", "=", "Regs", "[", "FirstUnalloc", "]", ",", "ShadowReg", "=", "ShadowRegs", "[", "FirstUnalloc", "]", ";", "MarkAllocated", "(", "Reg", ")", ";", "MarkAllocated", "(", "ShadowReg", ")", ";", "return", "Reg", ";", "}", ""], "natrual_language": ["Version", "of", "AllocateReg", "with", "list", "of", "registers", "to", "be", "shadowed", "."], "TS_V_token": ["Hexagon", "0"], "File": "HexagonCallingConvLower", "Func": "AllocateReg", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4446, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "R600InstrInfo", "::", "isPredicable", "(", "MachineInstr", "*", "MI", ")", "const", "{", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "AMDGPU", "::", "KILLGT", ")", "{", "return", "false", ";", "}", "else", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "AMDGPU", "::", "CF_ALU", ")", "{", "if", "(", "MI", "->", "getParent", "(", ")", "->", "begin", "(", ")", "!=", "MachineBasicBlock", "::", "iterator", "(", "MI", ")", ")", "return", "false", ";", "if", "(", "MI", "->", "getOperand", "(", "3", ")", ".", "getImm", "(", ")", "!=", "0", "||", "MI", "->", "getOperand", "(", "4", ")", ".", "getImm", "(", ")", "!=", "0", ")", "return", "false", ";", "return", "true", ";", "}", "else", "if", "(", "isVector", "(", "*", "MI", ")", ")", "{", "return", "false", ";", "}", "else", "{", "return", "AMDGPUInstrInfo", "::", "isPredicable", "(", "MI", ")", ";", "}", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "instruction", "can", "be", "predicated", "."], "TS_V_token": ["R600", "3", "0", "4", "0"], "File": "R600InstrInfo11", "Func": "isPredicable", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4447, "Length": 125, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "MCS51TargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "case", "MCS51ISD", "::", "name", ":", "\\", "return", "#", "name", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "nullptr", ";", "NODE", "(", "RET_FLAG", ")", ";", "NODE", "(", "RETI_FLAG", ")", ";", "NODE", "(", "CALL", ")", ";", "NODE", "(", "WRAPPER", ")", ";", "NODE", "(", "LSL", ")", ";", "NODE", "(", "LSR", ")", ";", "NODE", "(", "ROL", ")", ";", "NODE", "(", "ROR", ")", ";", "NODE", "(", "ASR", ")", ";", "NODE", "(", "LSLLOOP", ")", ";", "NODE", "(", "LSRLOOP", ")", ";", "NODE", "(", "ROLLOOP", ")", ";", "NODE", "(", "RORLOOP", ")", ";", "NODE", "(", "ASRLOOP", ")", ";", "NODE", "(", "BRCOND", ")", ";", "NODE", "(", "CMP", ")", ";", "NODE", "(", "CMPC", ")", ";", "NODE", "(", "TST", ")", ";", "NODE", "(", "SELECT_CC", ")", ";", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["MCS51", "MCS51", "MCS51ISD::name"], "File": "MCS51ISelLowering", "Func": "getTargetNodeName", "Target": "MCS51", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4448, "Length": 127, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "warn_once_call_ms2sysv_xlogues", "(", "const", "char", "*", "feature", ")", "{", "static", "bool", "warned_once", "=", "false", ";", "if", "(", "!", "warned_once", ")", "{", "warning", "(", "0", ",", "\"-mcall-ms2sysv-xlogues is not compatible with %s\"", ",", "feature", ")", ";", "warned_once", "=", "true", ";", "}", "}", ""], "natrual_language": ["Emits", "a", "warning", "for", "unsupported", "msabi", "to", "sysv", "pro/epilogues", "."], "TS_V_token": ["i386", "0", "\"-mcall-ms2sysv-xlogues is not compatible with %s\""], "File": "i3867", "Func": "warn_once_call_ms2sysv_xlogues", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4449, "Length": 37, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineBasicBlock", "*", "RISCVTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "&", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "if", "(", "const", "RISCVVPseudosTable", "::", "PseudoInfo", "*", "RVV", "=", "RISCVVPseudosTable", "::", "getPseudoInfo", "(", "MI", ".", "getOpcode", "(", ")", ")", ")", "{", "int", "VLIndex", "=", "RVV", "->", "getVLIndex", "(", ")", ";", "int", "SEWIndex", "=", "RVV", "->", "getSEWIndex", "(", ")", ";", "bool", "WritesElement0", "=", "RVV", "->", "writesElement0", "(", ")", ";", "assert", "(", "SEWIndex", ">=", "0", "&&", "\"SEWIndex must be >= 0\"", ")", ";", "return", "addVSetVL", "(", "MI", ",", "BB", ",", "VLIndex", ",", "SEWIndex", ",", "RVV", "->", "VLMul", ",", "WritesElement0", ")", ";", "}", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unexpected instr type to insert\"", ")", ";", "case", "RISCV", "::", "ReadCycleWide", ":", "assert", "(", "!", "Subtarget", ".", "is64Bit", "(", ")", "&&", "\"ReadCycleWrite is only to be used on riscv32\"", ")", ";", "return", "emitReadCycleWidePseudo", "(", "MI", ",", "BB", ")", ";", "case", "RISCV", "::", "Select_GPR_Using_CC_GPR", ":", "case", "RISCV", "::", "Select_FPR16_Using_CC_GPR", ":", "case", "RISCV", "::", "Select_FPR32_Using_CC_GPR", ":", "case", "RISCV", "::", "Select_FPR64_Using_CC_GPR", ":", "return", "emitSelectPseudo", "(", "MI", ",", "BB", ")", ";", "case", "RISCV", "::", "BuildPairF64Pseudo", ":", "return", "emitBuildPairF64Pseudo", "(", "MI", ",", "BB", ")", ";", "case", "RISCV", "::", "SplitF64Pseudo", ":", "return", "emitSplitF64Pseudo", "(", "MI", ",", "BB", ")", ";", "}", "}", ""], "natrual_language": ["This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "."], "TS_V_token": ["RISCV", "RISCV", "RISCVVPseudosTable::PseudoInfo", "RISCVVPseudosTable::getPseudoInfo", "0", "\"SEWIndex must be >= 0\"", "\"Unexpected instr type to insert\"", "RISCV::ReadCycleWide", "\"ReadCycleWrite is only to be used on riscv32\"", "RISCV::Select_GPR_Using_CC_GPR", "RISCV::Select_FPR16_Using_CC_GPR", "RISCV::Select_FPR32_Using_CC_GPR", "RISCV::Select_FPR64_Using_CC_GPR", "RISCV::BuildPairF64Pseudo", "RISCV::SplitF64Pseudo"], "File": "RISCVISelLowering7", "Func": "EmitInstrWithCustomInserter", "Target": "RISCV", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4450, "Length": 189, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ix86_emit_i387_sinh", "(", "rtx", "op0", ",", "rtx", "op1", ")", "{", "rtx", "e1", "=", "gen_reg_rtx", "(", "XFmode", ")", ";", "rtx", "e2", "=", "gen_reg_rtx", "(", "XFmode", ")", ";", "rtx", "scratch", "=", "gen_reg_rtx", "(", "HImode", ")", ";", "rtx", "flags", "=", "gen_rtx_REG", "(", "CCNOmode", ",", "FLAGS_REG", ")", ";", "rtx", "half", "=", "const_double_from_real_value", "(", "dconsthalf", ",", "XFmode", ")", ";", "rtx", "cst1", ",", "tmp", ";", "rtx_code_label", "*", "jump_label", "=", "gen_label_rtx", "(", ")", ";", "rtx_insn", "*", "insn", ";", "emit_insn", "(", "gen_fxamxf2_i387", "(", "scratch", ",", "op1", ")", ")", ";", "emit_insn", "(", "gen_absxf2", "(", "e2", ",", "op1", ")", ")", ";", "emit_insn", "(", "gen_expm1xf2", "(", "e1", ",", "e2", ")", ")", ";", "cst1", "=", "force_reg", "(", "XFmode", ",", "CONST1_RTX", "(", "XFmode", ")", ")", ";", "emit_insn", "(", "gen_addxf3", "(", "e2", ",", "e1", ",", "cst1", ")", ")", ";", "emit_insn", "(", "gen_divxf3", "(", "e2", ",", "e1", ",", "e2", ")", ")", ";", "emit_insn", "(", "gen_addxf3", "(", "e2", ",", "e2", ",", "e1", ")", ")", ";", "emit_insn", "(", "gen_testqi_ext_1_ccno", "(", "scratch", ",", "GEN_INT", "(", "0x02", ")", ")", ")", ";", "tmp", "=", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "gen_rtx_EQ", "(", "VOIDmode", ",", "flags", ",", "const0_rtx", ")", ",", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "jump_label", ")", ",", "pc_rtx", ")", ";", "insn", "=", "emit_jump_insn", "(", "gen_rtx_SET", "(", "pc_rtx", ",", "tmp", ")", ")", ";", "predict_jump", "(", "REG_BR_PROB_BASE", "*", "50", "/", "100", ")", ";", "JUMP_LABEL", "(", "insn", ")", "=", "jump_label", ";", "emit_insn", "(", "gen_negxf2", "(", "e2", ",", "e2", ")", ")", ";", "emit_label", "(", "jump_label", ")", ";", "LABEL_NUSES", "(", "jump_label", ")", "=", "1", ";", "half", "=", "force_reg", "(", "XFmode", ",", "half", ")", ";", "emit_insn", "(", "gen_mulxf3", "(", "op0", ",", "e2", ",", "half", ")", ")", ";", "}", ""], "natrual_language": ["Output", "code", "to", "perform", "an", "sinh", "XFmode", "calculation", "."], "TS_V_token": ["i386", "0x02", "50", "100", "1"], "File": "i386-expand", "Func": "ix86_emit_i387_sinh", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4451, "Length": 259, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "inline", "bool", "mips_lo_sum_offset_hasher", "::", "equal", "(", "const", "mips_lo_sum_offset", "*", "entry", ",", "const", "rtx_def", "*", "value", ")", "{", "return", "rtx_equal_p", "(", "entry", "->", "base", ",", "value", ")", ";", "}", ""], "natrual_language": ["Compare", "H1", "and", "H2", "for", "equivalence", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "equal", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4452, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARM64TargetLowering", "::", "hasPairedLoad", "(", "EVT", "LoadedType", ",", "unsigned", "&", "RequiredAligment", ")", "const", "{", "if", "(", "!", "LoadedType", ".", "isSimple", "(", ")", "||", "(", "!", "LoadedType", ".", "isInteger", "(", ")", "&&", "!", "LoadedType", ".", "isFloatingPoint", "(", ")", ")", ")", "return", "false", ";", "RequiredAligment", "=", "0", ";", "unsigned", "NumBits", "=", "LoadedType", ".", "getSizeInBits", "(", ")", ";", "return", "NumBits", "==", "32", "||", "NumBits", "==", "64", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "target", "supplies", "and", "combines", "to", "a", "paired", "load", "two", "loaded", "values", "of", "type", "LoadedType", "next", "to", "each", "other", "in", "memory", "."], "TS_V_token": ["ARM64", "ARM64", "0", "32", "64"], "File": "ARM64ISelLowering", "Func": "hasPairedLoad", "Target": "ARM64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4453, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "PPCAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "MCInst", "TmpInst", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "{", "if", "(", "!", "isVerbose", "(", ")", "||", "!", "OutStreamer", ".", "hasRawTextSupport", "(", ")", ")", "return", ";", "SmallString", "<", "32", ">", "Str", ";", "raw_svector_ostream", "O", "(", "Str", ")", ";", "unsigned", "NOps", "=", "MI", "->", "getNumOperands", "(", ")", ";", "assert", "(", "NOps", "==", "4", ")", ";", "O", "<<", "'\\t'", "<<", "MAI", "->", "getCommentString", "(", ")", "<<", "\"DEBUG_VALUE: \"", ";", "DIVariable", "V", "(", "const_cast", "<", "MDNode", "*", ">", "(", "MI", "->", "getOperand", "(", "NOps", "-", "1", ")", ".", "getMetadata", "(", ")", ")", ")", ";", "O", "<<", "V", ".", "getName", "(", ")", ";", "O", "<<", "\" <- \"", ";", "assert", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "isReg", "(", ")", "&&", "MI", "->", "getOperand", "(", "1", ")", ".", "isImm", "(", ")", ")", ";", "O", "<<", "'['", ";", "printOperand", "(", "MI", ",", "0", ",", "O", ")", ";", "O", "<<", "'+'", ";", "printOperand", "(", "MI", ",", "1", ",", "O", ")", ";", "O", "<<", "']'", ";", "O", "<<", "\"+\"", ";", "printOperand", "(", "MI", ",", "NOps", "-", "2", ",", "O", ")", ";", "OutStreamer", ".", "EmitRawText", "(", "O", ".", "str", "(", ")", ")", ";", "return", ";", "}", "case", "PPC", "::", "MovePCtoLR", ":", "case", "PPC", "::", "MovePCtoLR8", ":", "{", "MCSymbol", "*", "PICBase", "=", "MF", "->", "getPICBaseSymbol", "(", ")", ";", "TmpInst", ".", "setOpcode", "(", "PPC", "::", "BL_Darwin", ")", ";", "TmpInst", ".", "addOperand", "(", "MCOperand", "::", "CreateExpr", "(", "MCSymbolRefExpr", "::", "Create", "(", "PICBase", ",", "OutContext", ")", ")", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "TmpInst", ")", ";", "OutStreamer", ".", "EmitLabel", "(", "PICBase", ")", ";", "return", ";", "}", "case", "PPC", "::", "LDtoc", ":", "{", "LowerPPCMachineInstrToMCInst", "(", "MI", ",", "TmpInst", ",", "*", "this", ",", "Subtarget", ".", "isDarwin", "(", ")", ")", ";", "TmpInst", ".", "setOpcode", "(", "PPC", "::", "LD", ")", ";", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "1", ")", ";", "assert", "(", "MO", ".", "isGlobal", "(", ")", ")", ";", "MCSymbol", "*", "&", "TOCEntry", "=", "TOC", "[", "Mang", "->", "getSymbol", "(", "MO", ".", "getGlobal", "(", ")", ")", "]", ";", "if", "(", "TOCEntry", "==", "0", ")", "TOCEntry", "=", "GetTempSymbol", "(", "\"C\"", ",", "TOCLabelID", "++", ")", ";", "const", "MCExpr", "*", "Exp", "=", "MCSymbolRefExpr", "::", "Create", "(", "TOCEntry", ",", "MCSymbolRefExpr", "::", "VK_PPC_TOC", ",", "OutContext", ")", ";", "TmpInst", ".", "getOperand", "(", "1", ")", "=", "MCOperand", "::", "CreateExpr", "(", "Exp", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "TmpInst", ")", ";", "return", ";", "}", "case", "PPC", "::", "MFCRpseud", ":", "OutStreamer", ".", "AddComment", "(", "PPCInstPrinter", "::", "getRegisterName", "(", "MI", "->", "getOperand", "(", "1", ")", ".", "getReg", "(", ")", ")", ")", ";", "TmpInst", ".", "setOpcode", "(", "PPC", "::", "MFCR", ")", ";", "TmpInst", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ")", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "TmpInst", ")", ";", "return", ";", "}", "LowerPPCMachineInstrToMCInst", "(", "MI", ",", "TmpInst", ",", "*", "this", ",", "Subtarget", ".", "isDarwin", "(", ")", ")", ";", "OutStreamer", ".", "EmitInstruction", "(", "TmpInst", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["PowerPC", "PPC", "32", "4", "\"DEBUG_VALUE: \"", "1", "\" <- \"", "0", "1", "0", "1", "\"+\"", "2", "PPC::MovePCtoLR", "PPC::MovePCtoLR8", "PPC::BL_Darwin", "PPC::LDtoc", "PPC", "PPC::LD", "1", "0", "\"C\"", "PPC", "1", "PPC::MFCRpseud", "PPC", "1", "PPC::MFCR", "0", "PPC"], "File": "PPCAsmPrinter104", "Func": "EmitInstruction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4454, "Length": 494, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "F2003fFrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "false", ";", "}", ""], "natrual_language": ["hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "."], "TS_V_token": ["F2003f", "F2003f"], "File": "F2003fFrameLowering", "Func": "hasFP", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4455, "Length": 16, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "emitImportModule", "(", "const", "MCSymbolWasm", "*", "Sym", ",", "StringRef", "ModuleName", ")", "override", "{", "}", ""], "natrual_language": [".import_module"], "TS_V_token": ["WebAssembly"], "File": "WebAssemblyTargetStreamer28", "Func": "emitImportModule", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4456, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "VEInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "const", "DebugLoc", "&", "DL", ",", "MCRegister", "DestReg", ",", "MCRegister", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "if", "(", "IsAliasOfSX", "(", "SrcReg", ")", "&&", "IsAliasOfSX", "(", "DestReg", ")", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "VE", "::", "ORri", ")", ",", "DestReg", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ".", "addImm", "(", "0", ")", ";", "}", "else", "if", "(", "VE", "::", "V64RegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "const", "TargetRegisterInfo", "*", "TRI", "=", "&", "getRegisterInfo", "(", ")", ";", "Register", "TmpReg", "=", "VE", "::", "SX16", ";", "Register", "SubTmp", "=", "TRI", "->", "getSubReg", "(", "TmpReg", ",", "VE", "::", "sub_i32", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "VE", "::", "LEAzii", ")", ",", "TmpReg", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "0", ")", ".", "addImm", "(", "256", ")", ";", "MachineInstrBuilder", "MIB", "=", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "VE", "::", "VORmvl", ")", ",", "DestReg", ")", ".", "addImm", "(", "M1", "(", "0", ")", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "KillSrc", ")", ")", ".", "addReg", "(", "SubTmp", ",", "getKillRegState", "(", "true", ")", ")", ";", "MIB", ".", "getInstr", "(", ")", "->", "addRegisterKilled", "(", "TmpReg", ",", "TRI", ",", "true", ")", ";", "}", "else", "if", "(", "VE", "::", "F128RegClass", ".", "contains", "(", "DestReg", ",", "SrcReg", ")", ")", "{", "const", "unsigned", "SubRegIdx", "[", "]", "=", "{", "VE", "::", "sub_even", ",", "VE", "::", "sub_odd", "}", ";", "unsigned", "int", "NumSubRegs", "=", "2", ";", "copyPhysSubRegs", "(", "MBB", ",", "I", ",", "DL", ",", "DestReg", ",", "SrcReg", ",", "KillSrc", ",", "get", "(", "VE", "::", "ORri", ")", ",", "NumSubRegs", ",", "SubRegIdx", ",", "&", "getRegisterInfo", "(", ")", ")", ";", "}", "else", "{", "const", "TargetRegisterInfo", "*", "TRI", "=", "&", "getRegisterInfo", "(", ")", ";", "dbgs", "(", ")", "<<", "\"Impossible reg-to-reg copy from \"", "<<", "printReg", "(", "SrcReg", ",", "TRI", ")", "<<", "\" to \"", "<<", "printReg", "(", "DestReg", ",", "TRI", ")", "<<", "\"\\n\"", ";", "llvm_unreachable", "(", "\"Impossible reg-to-reg copy\"", ")", ";", "}", "}", ""], "natrual_language": ["}", "Branch", "Analysis", "&", "Modification"], "TS_V_token": ["VE", "VE", "VE::ORri", "0", "VE::V64RegClass", "VE::SX16", "VE::sub_i32", "VE::LEAzii", "0", "0", "256", "VE::VORmvl", "0", "VE::F128RegClass", "VE::sub_even", "VE::sub_odd", "2", "VE::ORri", "\"Impossible reg-to-reg copy from \"", "\" to \"", "\"\\n\"", "\"Impossible reg-to-reg copy\""], "File": "VEInstrInfo6", "Func": "copyPhysReg", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4457, "Length": 333, "Cover_Rate": 1.0, "Template_token": []}
{"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": 4458, "Length": 136, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesAll", "(", ")", ";", "ModulePass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["AMDGPU"], "File": "AMDGPUAnnotateKernelFeatures11", "Func": "getAnalysisUsage", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4459, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "IA64TargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "0", ";", "case", "IA64ISD", "::", "GETFD", ":", "return", "\"IA64ISD::GETFD\"", ";", "case", "IA64ISD", "::", "BRCALL", ":", "return", "\"IA64ISD::BRCALL\"", ";", "case", "IA64ISD", "::", "RET_FLAG", ":", "return", "\"IA64ISD::RET_FLAG\"", ";", "}", "}", ""], "natrual_language": ["getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific"], "TS_V_token": ["IA64", "IA64", "0", "IA64ISD::GETFD", "\"IA64ISD::GETFD\"", "IA64ISD::BRCALL", "\"IA64ISD::BRCALL\"", "IA64ISD::RET_FLAG", "\"IA64ISD::RET_FLAG\""], "File": "IA64ISelLowering", "Func": "getTargetNodeName", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4460, "Length": 48, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "arm_block_move_unaligned_loop", "(", "rtx", "dest", ",", "rtx", "src", ",", "HOST_WIDE_INT", "length", ",", "unsigned", "int", "interleave_factor", ",", "HOST_WIDE_INT", "bytes_per_iter", ")", "{", "rtx", "src_reg", ",", "dest_reg", ",", "final_src", ",", "test", ";", "HOST_WIDE_INT", "leftover", ";", "leftover", "=", "length", "%", "bytes_per_iter", ";", "length", "-=", "leftover", ";", "arm_adjust_block_mem", "(", "src", ",", "bytes_per_iter", ",", "&", "src_reg", ",", "&", "src", ")", ";", "arm_adjust_block_mem", "(", "dest", ",", "bytes_per_iter", ",", "&", "dest_reg", ",", "&", "dest", ")", ";", "final_src", "=", "expand_simple_binop", "(", "Pmode", ",", "PLUS", ",", "src_reg", ",", "GEN_INT", "(", "length", ")", ",", "0", ",", "0", ",", "OPTAB_WIDEN", ")", ";", "rtx_code_label", "*", "label", "=", "gen_label_rtx", "(", ")", ";", "emit_label", "(", "label", ")", ";", "arm_block_move_unaligned_straight", "(", "dest", ",", "src", ",", "bytes_per_iter", ",", "interleave_factor", ")", ";", "emit_move_insn", "(", "src_reg", ",", "plus_constant", "(", "Pmode", ",", "src_reg", ",", "bytes_per_iter", ")", ")", ";", "emit_move_insn", "(", "dest_reg", ",", "plus_constant", "(", "Pmode", ",", "dest_reg", ",", "bytes_per_iter", ")", ")", ";", "test", "=", "gen_rtx_NE", "(", "VOIDmode", ",", "src_reg", ",", "final_src", ")", ";", "emit_jump_insn", "(", "gen_cbranchsi4", "(", "test", ",", "src_reg", ",", "final_src", ",", "label", ")", ")", ";", "if", "(", "leftover", ")", "arm_block_move_unaligned_straight", "(", "dest", ",", "src", ",", "leftover", ",", "interleave_factor", ")", ";", "}", ""], "natrual_language": ["From", "mips_block_move_loop", ":", "Move", "LENGTH", "bytes", "from", "SRC", "to", "DEST", "using", "a", "loop", "that", "moves", "BYTES_PER_ITER", "bytes", "at", "a", "time", ".", "LENGTH", "must", "be", "at", "least", "BYTES_PER_ITER", ".", "Assume", "that", "the", "memory", "regions", "do", "not", "overlap", "."], "TS_V_token": ["arm", "0", "0"], "File": "arm", "Func": "arm_block_move_unaligned_loop", "Target": "arm", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4461, "Length": 184, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "ScheduleDAGInstrs", "*", "createMachineScheduler", "(", "MachineSchedContext", "*", "C", ")", "const", "{", "const", "AMDGPUSubtarget", "&", "ST", "=", "TM", "->", "getSubtarget", "<", "AMDGPUSubtarget", ">", "(", ")", ";", "if", "(", "ST", ".", "getGeneration", "(", ")", "<=", "AMDGPUSubtarget", "::", "NORTHERN_ISLANDS", ")", "return", "createR600MachineScheduler", "(", "C", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Create", "an", "instance", "of", "ScheduleDAGInstrs", "to", "be", "run", "within", "the", "standard", "MachineScheduler", "pass", "for", "this", "function", "and", "target", "at", "the", "current", "optimization", "level", "."], "TS_V_token": ["R600", "0"], "File": "AMDGPUTargetMachine32", "Func": "createMachineScheduler", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4462, "Length": 47, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint64_t", "HexagonPLT", "::", "emit", "(", "MemoryRegion", "&", "pRegion", ")", "{", "uint64_t", "result", "=", "0x0", ";", "iterator", "it", "=", "begin", "(", ")", ";", "unsigned", "char", "*", "buffer", "=", "pRegion", ".", "begin", "(", ")", ";", "memcpy", "(", "buffer", ",", "llvm", "::", "cast", "<", "HexagonPLT0", ">", "(", "(", "*", "it", ")", ")", ".", "getValue", "(", ")", ",", "HexagonPLT0", "::", "EntrySize", ")", ";", "result", "+=", "HexagonPLT0", "::", "EntrySize", ";", "++", "it", ";", "HexagonPLT1", "*", "plt1", "=", "0", ";", "HexagonPLT", "::", "iterator", "ie", "=", "end", "(", ")", ";", "while", "(", "it", "!=", "ie", ")", "{", "plt1", "=", "&", "(", "llvm", "::", "cast", "<", "HexagonPLT1", ">", "(", "*", "it", ")", ")", ";", "memcpy", "(", "buffer", "+", "result", ",", "plt1", "->", "getValue", "(", ")", ",", "HexagonPLT1", "::", "EntrySize", ")", ";", "result", "+=", "HexagonPLT1", "::", "EntrySize", ";", "++", "it", ";", "}", "return", "result", ";", "}", ""], "natrual_language": ["Output", "the", "remark", "via", "the", "diagnostic", "handler", "and", "to", "the", "optimization", "record", "file", "."], "TS_V_token": ["Hexagon", "Hexagon", "0x0", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "0", "Hexagon", "Hexagon", "Hexagon", "Hexagon"], "File": "HexagonPLT", "Func": "emit", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4463, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "MOSInstructionSelector", "::", "setupMF", "(", "MachineFunction", "&", "MF", ",", "GISelKnownBits", "*", "KB", ",", "CodeGenCoverage", "&", "CovInfo", ",", "ProfileSummaryInfo", "*", "PSI", ",", "BlockFrequencyInfo", "*", "BFI", ",", "AAResults", "*", "AA", ")", "{", "InstructionSelector", "::", "setupMF", "(", "MF", ",", "KB", ",", "CovInfo", ",", "PSI", ",", "BFI", ",", "AA", ")", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "for", "(", "MachineInstr", "&", "MI", ":", "MBB", ")", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "MOS", "::", "G_PTRTOINT", ":", "case", "MOS", "::", "G_INTTOPTR", ":", "MI", ".", "setDesc", "(", "TII", ".", "get", "(", "MOS", "::", "COPY", ")", ")", ";", "break", ";", "}", "}", "}", "}", ""], "natrual_language": ["Setup", "per-MF", "executor", "state", "."], "TS_V_token": ["MOS", "MOS", "MOS::G_PTRTOINT", "MOS::G_INTTOPTR", "MOS::COPY"], "File": "MOSInstructionSelector", "Func": "setupMF", "Target": "MOS", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4464, "Length": 104, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "mmix_function_arg", "(", "cumulative_args_t", "argsp", ",", "const", "function_arg_info", "&", "arg", ")", "{", "return", "mmix_function_arg_1", "(", "argsp", ",", "arg", ",", "false", ")", ";", "}", ""], "natrual_language": ["Return", "an", "rtx", "for", "a", "function", "argument", "to", "go", "in", "a", "register", ",", "and", "0", "for", "one", "that", "must", "go", "on", "stack", "."], "TS_V_token": ["mmix"], "File": "mmix", "Func": "mmix_function_arg", "Target": "mmix", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4465, "Length": 24, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "F2003fInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FrameIdx", ")", ",", "MachineMemOperand", "::", "MOStore", ",", "MFI", ".", "getObjectSize", "(", "FrameIdx", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FrameIdx", ")", ")", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "F2003f", "::", "KRZmr", ")", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addReg", "(", "0", ")", ".", "addImm", "(", "0", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["F2003f", "F2003f", "F2003f::KRZmr", "0", "0"], "File": "F2003fInstrInfo", "Func": "storeRegToStackSlot", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4466, "Length": 160, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "WebAssemblyTargetMachine", "::", "WebAssemblyTargetMachine", "(", "const", "Target", "&", "T", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "::", "Model", "CM", ",", "CodeGenOpt", "::", "Level", "OL", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ".", "isArch64Bit", "(", ")", "?", "\"e-p:64:64-i64:64-n32:64-S128\"", ":", "\"e-p:32:32-i64:64-n32:64-S128\"", ",", "TT", ",", "CPU", ",", "FS", ",", "Options", ",", "RM", ",", "CM", ",", "OL", ")", ",", "TLOF", "(", "make_unique", "<", "WebAssemblyTargetObjectFile", ">", "(", ")", ")", "{", "this", "->", "Options", ".", "TrapUnreachable", "=", "true", ";", "initAsmInfo", "(", ")", ";", "setRequiresStructuredCFG", "(", "true", ")", ";", "}", ""], "natrual_language": ["Create", "an", "WebAssembly", "architecture", "model", "."], "TS_V_token": ["WebAssembly", "WebAssembly", "WebAssembly", "\"e-p:64:64-i64:64-n32:64-S128\"", "\"e-p:32:32-i64:64-n32:64-S128\"", "WebAssembly"], "File": "WebAssemblyTargetMachine (2)", "Func": "WebAssemblyTargetMachine", "Target": "WebAssembly", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4467, "Length": 98, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LVLGen", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** Begin LVLGen **********\\n\"", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** Function: \"", "<<", "F", ".", "getName", "(", ")", "<<", "'\\n'", ")", ";", "LLVM_DEBUG", "(", "F", ".", "dump", "(", ")", ")", ";", "bool", "Changed", "=", "false", ";", "const", "VESubtarget", "&", "Subtarget", "=", "F", ".", "getSubtarget", "<", "VESubtarget", ">", "(", ")", ";", "TII", "=", "Subtarget", ".", "getInstrInfo", "(", ")", ";", "TRI", "=", "Subtarget", ".", "getRegisterInfo", "(", ")", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "F", ")", "Changed", "|=", "runOnMachineBasicBlock", "(", "MBB", ")", ";", "if", "(", "Changed", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"\\n\"", ")", ";", "LLVM_DEBUG", "(", "F", ".", "dump", "(", ")", ")", ";", "}", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** End LVLGen **********\\n\"", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["VE", "\"********** Begin LVLGen **********\\n\"", "\"********** Function: \"", "VE", "VE", "\"\\n\"", "\"********** End LVLGen **********\\n\""], "File": "LVLGen2", "Func": "runOnMachineFunction", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4468, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "poly_int64", "calculate_x_in_sequence", "(", "rtx", "reg", ")", "{", "std", "::", "map", "<", "unsigned", ",", "rtx", ">", "regno_to_rtx", ";", "rtx_insn", "*", "insn", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "rtx", "dest", "=", "SET_DEST", "(", "pat", ")", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "CLOBBER", ")", "continue", ";", "if", "(", "SUBREG_P", "(", "dest", ")", ")", "continue", ";", "gcc_assert", "(", "REG_P", "(", "dest", ")", ")", ";", "rtx", "note", "=", "find_reg_equal_equiv_note", "(", "insn", ")", ";", "unsigned", "regno", "=", "REGNO", "(", "dest", ")", ";", "if", "(", "note", ")", "regno_to_rtx", "[", "regno", "]", "=", "XEXP", "(", "note", ",", "0", ")", ";", "else", "regno_to_rtx", "[", "regno", "]", "=", "SET_SRC", "(", "pat", ")", ";", "}", "return", "eval_value", "(", "reg", ",", "regno_to_rtx", ")", ";", "}", ""], "natrual_language": ["Calculate", "the", "value", "of", "x", "register", "in", "the", "sequence", "."], "TS_V_token": ["riscv", "0"], "File": "riscv-selftests", "Func": "calculate_x_in_sequence", "Target": "riscv", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4469, "Length": 137, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"IA64 Assembly Printer\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["IA64", "\"IA64 Assembly Printer\""], "File": "IA64AsmPrinter", "Func": "getPassName", "Target": "IA64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4470, "Length": 13, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "F2003fInstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ";", "}", ""], "natrual_language": ["TargetInstrInfo", "getter", "."], "TS_V_token": ["F2003f", "F2003f"], "File": "F2003fSubtarget", "Func": "getInstrInfo", "Target": "F2003f", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4471, "Length": 14, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "rtx", "m32c_addr_space_convert", "(", "rtx", "op", ",", "tree", "from_type", ",", "tree", "to_type", ")", "{", "addr_space_t", "from_as", "=", "TYPE_ADDR_SPACE", "(", "TREE_TYPE", "(", "from_type", ")", ")", ";", "addr_space_t", "to_as", "=", "TYPE_ADDR_SPACE", "(", "TREE_TYPE", "(", "to_type", ")", ")", ";", "rtx", "result", ";", "gcc_assert", "(", "from_as", "==", "ADDR_SPACE_GENERIC", "||", "from_as", "==", "ADDR_SPACE_FAR", ")", ";", "gcc_assert", "(", "to_as", "==", "ADDR_SPACE_GENERIC", "||", "to_as", "==", "ADDR_SPACE_FAR", ")", ";", "if", "(", "to_as", "==", "ADDR_SPACE_GENERIC", "&&", "from_as", "==", "ADDR_SPACE_FAR", ")", "{", "result", "=", "gen_reg_rtx", "(", "HImode", ")", ";", "emit_move_insn", "(", "result", ",", "simplify_subreg", "(", "HImode", ",", "op", ",", "SImode", ",", "0", ")", ")", ";", "return", "result", ";", "}", "else", "if", "(", "to_as", "==", "ADDR_SPACE_FAR", "&&", "from_as", "==", "ADDR_SPACE_GENERIC", ")", "{", "result", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_zero_extendhisi2", "(", "result", ",", "op", ")", ")", ";", "return", "result", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Convert", "from", "one", "address", "space", "to", "another", "."], "TS_V_token": ["m32c", "0"], "File": "m32c", "Func": "m32c_addr_space_convert", "Target": "m32c", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4472, "Length": 138, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "is_nonpipeline_insn", "(", "rtx_insn", "*", "insn", ")", "{", "enum", "attr_type", "type", ";", "if", "(", "!", "insn", "||", "!", "NONDEBUG_INSN_P", "(", "insn", ")", "||", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "USE", "||", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "CLOBBER", ")", "return", "false", ";", "type", "=", "get_attr_type", "(", "insn", ")", ";", "if", "(", "type", "==", "TYPE_MUL", "||", "type", "==", "TYPE_DIV", "||", "type", "==", "TYPE_SDIV", "||", "type", "==", "TYPE_DDIV", "||", "type", "==", "TYPE_SSQRT", "||", "type", "==", "TYPE_DSQRT", "||", "type", "==", "TYPE_MFCR", "||", "type", "==", "TYPE_MFCRF", "||", "type", "==", "TYPE_MFJMPR", ")", "{", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "instruction", "is", "nonpipelined", "on", "the", "Cell", "."], "TS_V_token": ["powerpcspe"], "File": "powerpcspe", "Func": "is_nonpipeline_insn", "Target": "powerpcspe", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4473, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint32_t", "getTypeId", "(", "const", "DIType", "*", "Ty", ")", "{", "assert", "(", "Ty", "&&", "\"Invalid null Type\"", ")", ";", "assert", "(", "DIToIdMap", ".", "find", "(", "Ty", ")", "!=", "DIToIdMap", ".", "end", "(", ")", "&&", "\"DIType not added in the BDIToIdMap\"", ")", ";", "return", "DIToIdMap", "[", "Ty", "]", ";", "}", ""], "natrual_language": ["Get", "the", "type", "id", "for", "a", "particular", "DIType", "."], "TS_V_token": ["BPF", "\"Invalid null Type\"", "\"DIType not added in the BDIToIdMap\""], "File": "BTFDebug", "Func": "getTypeId", "Target": "BPF", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4474, "Length": 41, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonAsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "return", "true", ";", "const", "MachineOperand", "&", "Base", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ";", "const", "MachineOperand", "&", "Offset", "=", "MI", "->", "getOperand", "(", "OpNo", "+", "1", ")", ";", "if", "(", "Base", ".", "isReg", "(", ")", ")", "printOperand", "(", "MI", ",", "OpNo", ",", "O", ")", ";", "else", "assert", "(", "0", "&&", "\"Unimplemented\"", ")", ";", "if", "(", "Offset", ".", "isImm", "(", ")", ")", "{", "if", "(", "Offset", ".", "getImm", "(", ")", ")", "O", "<<", "\" + #\"", "<<", "Offset", ".", "getImm", "(", ")", ";", "}", "else", "assert", "(", "0", "&&", "\"Unimplemented\"", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "operand", "of", "MI", ",", "an", "INLINEASM", "instruction", ",", "using", "the", "specified", "assembler", "variant", "as", "an", "address", "."], "TS_V_token": ["Hexagon", "Hexagon", "0", "1", "0", "\"Unimplemented\"", "\" + #\"", "0", "\"Unimplemented\""], "File": "HexagonAsmPrinter36", "Func": "PrintAsmMemoryOperand", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4475, "Length": 129, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "XtensaAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "assert", "(", "false", "&&", "\"XtensaAsmPrinter::EmitInstruction not implemented\"", ")", ";", "}", ""], "natrual_language": ["EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "."], "TS_V_token": ["Xtensa", "Xtensa", "\"XtensaAsmPrinter::EmitInstruction not implemented\""], "File": "XtensaAsmPrinter1", "Func": "EmitInstruction", "Target": "Xtensa", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4476, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "ia64_expand_compare", "(", "rtx", "*", "expr", ",", "rtx", "*", "op0", ",", "rtx", "*", "op1", ")", "{", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "*", "expr", ")", ";", "rtx", "cmp", ";", "if", "(", "GET_MODE", "(", "*", "op0", ")", "==", "BImode", ")", "{", "gcc_assert", "(", "(", "code", "==", "NE", "||", "code", "==", "EQ", ")", "&&", "*", "op1", "==", "const0_rtx", ")", ";", "cmp", "=", "*", "op0", ";", "}", "else", "if", "(", "TARGET_HPUX", "&&", "GET_MODE", "(", "*", "op0", ")", "==", "TFmode", ")", "{", "enum", "qfcmp_magic", "{", "QCMP_INV", "=", "1", ",", "QCMP_UNORD", "=", "2", ",", "QCMP_EQ", "=", "4", ",", "QCMP_LT", "=", "8", ",", "QCMP_GT", "=", "16", "}", ";", "int", "magic", ";", "enum", "rtx_code", "ncode", ";", "rtx", "ret", ";", "gcc_assert", "(", "cmptf_libfunc", "&&", "GET_MODE", "(", "*", "op1", ")", "==", "TFmode", ")", ";", "switch", "(", "code", ")", "{", "case", "EQ", ":", "magic", "=", "QCMP_EQ", ";", "ncode", "=", "NE", ";", "break", ";", "case", "NE", ":", "magic", "=", "QCMP_EQ", ";", "ncode", "=", "EQ", ";", "break", ";", "case", "UNORDERED", ":", "magic", "=", "QCMP_UNORD", ";", "ncode", "=", "NE", ";", "break", ";", "case", "ORDERED", ":", "magic", "=", "QCMP_UNORD", ";", "ncode", "=", "EQ", ";", "break", ";", "case", "LT", ":", "magic", "=", "QCMP_LT", "|", "QCMP_INV", ";", "ncode", "=", "NE", ";", "break", ";", "case", "LE", ":", "magic", "=", "QCMP_LT", "|", "QCMP_EQ", "|", "QCMP_INV", ";", "ncode", "=", "NE", ";", "break", ";", "case", "GT", ":", "magic", "=", "QCMP_GT", "|", "QCMP_INV", ";", "ncode", "=", "NE", ";", "break", ";", "case", "GE", ":", "magic", "=", "QCMP_GT", "|", "QCMP_EQ", "|", "QCMP_INV", ";", "ncode", "=", "NE", ";", "break", ";", "case", "UNLT", ":", "magic", "=", "QCMP_LT", "|", "QCMP_UNORD", ";", "ncode", "=", "NE", ";", "break", ";", "case", "UNLE", ":", "magic", "=", "QCMP_LT", "|", "QCMP_EQ", "|", "QCMP_UNORD", ";", "ncode", "=", "NE", ";", "break", ";", "case", "UNGT", ":", "magic", "=", "QCMP_GT", "|", "QCMP_UNORD", ";", "ncode", "=", "NE", ";", "break", ";", "case", "UNGE", ":", "magic", "=", "QCMP_GT", "|", "QCMP_EQ", "|", "QCMP_UNORD", ";", "ncode", "=", "NE", ";", "break", ";", "case", "UNEQ", ":", "case", "LTGT", ":", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "start_sequence", "(", ")", ";", "ret", "=", "emit_library_call_value", "(", "cmptf_libfunc", ",", "0", ",", "LCT_CONST", ",", "DImode", ",", "3", ",", "*", "op0", ",", "TFmode", ",", "*", "op1", ",", "TFmode", ",", "GEN_INT", "(", "magic", ")", ",", "DImode", ")", ";", "cmp", "=", "gen_reg_rtx", "(", "BImode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "cmp", ",", "gen_rtx_fmt_ee", "(", "ncode", ",", "BImode", ",", "ret", ",", "const0_rtx", ")", ")", ")", ";", "rtx_insn", "*", "insns", "=", "get_insns", "(", ")", ";", "end_sequence", "(", ")", ";", "emit_libcall_block", "(", "insns", ",", "cmp", ",", "cmp", ",", "gen_rtx_fmt_ee", "(", "code", ",", "BImode", ",", "*", "op0", ",", "*", "op1", ")", ")", ";", "code", "=", "NE", ";", "}", "else", "{", "cmp", "=", "gen_reg_rtx", "(", "BImode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "cmp", ",", "gen_rtx_fmt_ee", "(", "code", ",", "BImode", ",", "*", "op0", ",", "*", "op1", ")", ")", ")", ";", "code", "=", "NE", ";", "}", "*", "expr", "=", "gen_rtx_fmt_ee", "(", "code", ",", "VOIDmode", ",", "cmp", ",", "const0_rtx", ")", ";", "*", "op0", "=", "cmp", ";", "*", "op1", "=", "const0_rtx", ";", "}", ""], "natrual_language": ["Emit", "comparison", "instruction", "if", "necessary", ",", "returning", "the", "expression", "that", "holds", "the", "compare", "result", "in", "the", "proper", "mode", "."], "TS_V_token": ["ia64", "1", "2", "4", "8", "16", "0", "3"], "File": "ia646", "Func": "ia64_expand_compare", "Target": "ia64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4477, "Length": 484, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "m68k_decompose_index", "(", "rtx", "x", ",", "bool", "strict_p", ",", "struct", "m68k_address", "*", "address", ")", "{", "int", "scale", ";", "scale", "=", "1", ";", "if", "(", "(", "TARGET_68020", "||", "TARGET_COLDFIRE", ")", "&&", "GET_CODE", "(", "x", ")", "==", "MULT", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "CONST_INT", "&&", "(", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "2", "||", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "4", "||", "(", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "8", "&&", "(", "TARGET_COLDFIRE_FPU", "||", "!", "TARGET_COLDFIRE", ")", ")", ")", ")", "{", "scale", "=", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ";", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "}", "if", "(", "!", "TARGET_COLDFIRE", "&&", "GET_CODE", "(", "x", ")", "==", "SIGN_EXTEND", "&&", "GET_MODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "HImode", ")", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "m68k_legitimate_index_reg_p", "(", "x", ",", "strict_p", ")", ")", "{", "address", "->", "scale", "=", "scale", ";", "address", "->", "index", "=", "x", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "X", "is", "a", "legitimate", "index", "expression", "for", "a", "(", "d8", ",", "An", ",", "Xn", ")", "or", "(", "bd", ",", "An", ",", "Xn", ")", "addressing", "mode", ".", "Fill", "in", "the", "INDEX", "and", "SCALE", "fields", "of", "ADDRESS", "if", "so", ".", "STRICT_P", "says", "whether", "we", "need", "strict", "checking", "."], "TS_V_token": ["m68k", "1", "1", "1", "2", "1", "4", "1", "8", "1", "0", "0", "0"], "File": "m68k", "Func": "m68k_decompose_index", "Target": "m68k", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4478, "Length": 183, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "i386_pe_asm_output_aligned_decl_common", "(", "FILE", "*", "stream", ",", "tree", "decl", ",", "const", "char", "*", "name", ",", "HOST_WIDE_INT", "size", ",", "HOST_WIDE_INT", "align", ")", "{", "HOST_WIDE_INT", "rounded", ";", "rounded", "=", "size", "?", "size", ":", "1", ";", "rounded", "+=", "(", "BIGGEST_ALIGNMENT", "/", "BITS_PER_UNIT", ")", "-", "1", ";", "rounded", "=", "(", "rounded", "/", "(", "BIGGEST_ALIGNMENT", "/", "BITS_PER_UNIT", ")", "*", "(", "BIGGEST_ALIGNMENT", "/", "BITS_PER_UNIT", ")", ")", ";", "i386_pe_maybe_record_exported_symbol", "(", "decl", ",", "name", ",", "1", ")", ";", "fprintf", "(", "stream", ",", "\"\\t.comm\\t\"", ")", ";", "assemble_name", "(", "stream", ",", "name", ")", ";", "if", "(", "use_pe_aligned_common", ")", "fprintf", "(", "stream", ",", "\", \"", "HOST_WIDE_INT_PRINT_DEC", "\", %d\\n\"", ",", "size", "?", "size", ":", "HOST_WIDE_INT_1", ",", "exact_log2", "(", "align", ")", "-", "exact_log2", "(", "CHAR_BIT", ")", ")", ";", "else", "fprintf", "(", "stream", ",", "\", \"", "HOST_WIDE_INT_PRINT_DEC", "\"\\t\"", "ASM_COMMENT_START", "\" \"", "HOST_WIDE_INT_PRINT_DEC", "\"\\n\"", ",", "rounded", ",", "size", ")", ";", "}", ""], "natrual_language": ["Beware", ",", "DECL", "may", "be", "NULL", "if", "compile_file", "(", ")", "is", "emitting", "the", "LTO", "marker", "."], "TS_V_token": ["i386", "1", "1", "1", "\"\\t.comm\\t\"", "\", \"", "\", %d\\n\"", "\", \"", "\"\\t\"", "\" \"", "\"\\n\""], "File": "winnt", "Func": "i386_pe_asm_output_aligned_decl_common", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4479, "Length": 132, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SITargetLowering", "::", "isLegalAddressingMode", "(", "const", "DataLayout", "&", "DL", ",", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ")", "const", "{", "if", "(", "AM", ".", "BaseGV", ")", "return", "false", ";", "switch", "(", "AS", ")", "{", "case", "AMDGPUAS", "::", "GLOBAL_ADDRESS", ":", "if", "(", "Subtarget", "->", "getGeneration", "(", ")", ">=", "SISubtarget", "::", "VOLCANIC_ISLANDS", ")", "{", "return", "isLegalFlatAddressingMode", "(", "AM", ")", ";", "}", "return", "isLegalMUBUFAddressingMode", "(", "AM", ")", ";", "case", "AMDGPUAS", "::", "CONSTANT_ADDRESS", ":", "if", "(", "AM", ".", "BaseOffs", "%", "4", "!=", "0", ")", "return", "isLegalMUBUFAddressingMode", "(", "AM", ")", ";", "if", "(", "DL", ".", "getTypeStoreSize", "(", "Ty", ")", "<", "4", ")", "return", "isLegalMUBUFAddressingMode", "(", "AM", ")", ";", "if", "(", "Subtarget", "->", "getGeneration", "(", ")", "==", "SISubtarget", "::", "SOUTHERN_ISLANDS", ")", "{", "if", "(", "!", "isUInt", "<", "8", ">", "(", "AM", ".", "BaseOffs", "/", "4", ")", ")", "return", "false", ";", "}", "else", "if", "(", "Subtarget", "->", "getGeneration", "(", ")", "==", "SISubtarget", "::", "SEA_ISLANDS", ")", "{", "if", "(", "!", "isUInt", "<", "32", ">", "(", "AM", ".", "BaseOffs", "/", "4", ")", ")", "return", "false", ";", "}", "else", "if", "(", "Subtarget", "->", "getGeneration", "(", ")", "==", "SISubtarget", "::", "VOLCANIC_ISLANDS", ")", "{", "if", "(", "!", "isUInt", "<", "20", ">", "(", "AM", ".", "BaseOffs", ")", ")", "return", "false", ";", "}", "else", "llvm_unreachable", "(", "\"unhandled generation\"", ")", ";", "if", "(", "AM", ".", "Scale", "==", "0", ")", "return", "true", ";", "if", "(", "AM", ".", "Scale", "==", "1", "&&", "AM", ".", "HasBaseReg", ")", "return", "true", ";", "return", "false", ";", "case", "AMDGPUAS", "::", "PRIVATE_ADDRESS", ":", "return", "isLegalMUBUFAddressingMode", "(", "AM", ")", ";", "case", "AMDGPUAS", "::", "LOCAL_ADDRESS", ":", "case", "AMDGPUAS", "::", "REGION_ADDRESS", ":", "if", "(", "!", "isUInt", "<", "16", ">", "(", "AM", ".", "BaseOffs", ")", ")", "return", "false", ";", "if", "(", "AM", ".", "Scale", "==", "0", ")", "return", "true", ";", "if", "(", "AM", ".", "Scale", "==", "1", "&&", "AM", ".", "HasBaseReg", ")", "return", "true", ";", "return", "false", ";", "case", "AMDGPUAS", "::", "FLAT_ADDRESS", ":", "case", "AMDGPUAS", "::", "UNKNOWN_ADDRESS_SPACE", ":", "return", "isLegalFlatAddressingMode", "(", "AM", ")", ";", "default", ":", "llvm_unreachable", "(", "\"unhandled address space\"", ")", ";", "}", "}", ""], "natrual_language": ["isLegalAddressingMode", "-", "Return", "true", "if", "the", "addressing", "mode", "represented", "by", "AM", "is", "legal", "for", "this", "target", ",", "for", "a", "load/store", "of", "the", "specified", "type", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU", "SI", "AMDGPU", "4", "0", "4", "SI", "8", "4", "SI", "32", "4", "SI", "20", "\"unhandled generation\"", "0", "1", "AMDGPU", "AMDGPU", "AMDGPU", "16", "0", "1", "AMDGPU", "AMDGPU", "\"unhandled address space\""], "File": "SIISelLowering159", "Func": "isLegalAddressingMode", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4480, "Length": 329, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "X86ATTAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "[", "0", "]", ")", "{", "if", "(", "ExtraCode", "[", "1", "]", "!=", "0", ")", "return", "true", ";", "switch", "(", "ExtraCode", "[", "0", "]", ")", "{", "default", ":", "return", "true", ";", "case", "'c'", ":", "printOperand", "(", "MI", ",", "OpNo", ",", "\"mem\"", ",", "true", ")", ";", "return", "false", ";", "case", "'b'", ":", "case", "'h'", ":", "case", "'w'", ":", "case", "'k'", ":", "case", "'q'", ":", "if", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ".", "isReg", "(", ")", ")", "return", "printAsmMRegister", "(", "MI", "->", "getOperand", "(", "OpNo", ")", ",", "ExtraCode", "[", "0", "]", ")", ";", "printOperand", "(", "MI", ",", "OpNo", ")", ";", "return", "false", ";", "case", "'P'", ":", "printOperand", "(", "MI", ",", "OpNo", ",", "\"mem\"", ",", "true", ")", ";", "return", "false", ";", "}", "}", "printOperand", "(", "MI", ",", "OpNo", ")", ";", "return", "false", ";", "}", ""], "natrual_language": ["PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "."], "TS_V_token": ["X86", "X86", "0", "1", "0", "0", "\"mem\"", "0", "\"mem\""], "File": "X86ATTAsmPrinter", "Func": "PrintAsmOperand", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4481, "Length": 158, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "VEPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createLVLGenPass", "(", ")", ")", ";", "}", ""], "natrual_language": ["This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "."], "TS_V_token": ["VE", "VE"], "File": "VETargetMachine", "Func": "addPreEmitPass", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4482, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "uint64_t", "PPCTargetLowering", "::", "getByValTypeAlignment", "(", "Type", "*", "Ty", ",", "const", "DataLayout", "&", "DL", ")", "const", "{", "Align", "Alignment", "=", "Subtarget", ".", "isPPC64", "(", ")", "?", "Align", "(", "8", ")", ":", "Align", "(", "4", ")", ";", "if", "(", "Subtarget", ".", "hasAltivec", "(", ")", ")", "getMaxByValAlign", "(", "Ty", ",", "Alignment", ",", "Align", "(", "16", ")", ")", ";", "return", "Alignment", ".", "value", "(", ")", ";", "}", ""], "natrual_language": ["Return", "the", "desired", "alignment", "for", "ByVal", "aggregate", "function", "arguments", "in", "the", "caller", "parameter", "area", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "8", "4", "16"], "File": "PPCISelLowering11", "Func": "getByValTypeAlignment", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4483, "Length": 63, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_macc_chains_record", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "get_attr_may_clobber_hilo", "(", "insn", ")", ")", "mips_macc_chains_last_hilo", "=", "insn", ";", "}", ""], "natrual_language": ["A", "TUNE_MACC_CHAINS", "helper", "function", ".", "Record", "that", "instruction", "INSN", "has", "been", "scheduled", ",", "updating", "mips_macc_chains_last_hilo", "appropriately", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_macc_chains_record", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4484, "Length": 21, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "MachineInstr", "*", "SIInstrInfo", "::", "commuteInstructionImpl", "(", "MachineInstr", "&", "MI", ",", "bool", "NewMI", ",", "unsigned", "OpIdx0", ",", "unsigned", "OpIdx1", ")", "const", "{", "int", "CommutedOpcode", "=", "commuteOpcode", "(", "MI", ")", ";", "if", "(", "CommutedOpcode", "==", "-", "1", ")", "return", "nullptr", ";", "int", "Src0Idx", "=", "AMDGPU", "::", "getNamedOperandIdx", "(", "MI", ".", "getOpcode", "(", ")", ",", "AMDGPU", "::", "OpName", "::", "src0", ")", ";", "MachineOperand", "&", "Src0", "=", "MI", ".", "getOperand", "(", "Src0Idx", ")", ";", "if", "(", "!", "Src0", ".", "isReg", "(", ")", ")", "return", "nullptr", ";", "int", "Src1Idx", "=", "AMDGPU", "::", "getNamedOperandIdx", "(", "MI", ".", "getOpcode", "(", ")", ",", "AMDGPU", "::", "OpName", "::", "src1", ")", ";", "if", "(", "(", "OpIdx0", "!=", "static_cast", "<", "unsigned", ">", "(", "Src0Idx", ")", "||", "OpIdx1", "!=", "static_cast", "<", "unsigned", ">", "(", "Src1Idx", ")", ")", "&&", "(", "OpIdx0", "!=", "static_cast", "<", "unsigned", ">", "(", "Src1Idx", ")", "||", "OpIdx1", "!=", "static_cast", "<", "unsigned", ">", "(", "Src0Idx", ")", ")", ")", "return", "nullptr", ";", "MachineOperand", "&", "Src1", "=", "MI", ".", "getOperand", "(", "Src1Idx", ")", ";", "if", "(", "isVOP2", "(", "MI", ")", "||", "isVOPC", "(", "MI", ")", ")", "{", "const", "MCInstrDesc", "&", "InstrDesc", "=", "MI", ".", "getDesc", "(", ")", ";", "const", "MachineRegisterInfo", "&", "MRI", "=", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "if", "(", "!", "isLegalRegOperand", "(", "MRI", ",", "InstrDesc", ".", "OpInfo", "[", "Src1Idx", "]", ",", "Src0", ")", ")", "return", "nullptr", ";", "}", "MachineInstr", "*", "CommutedMI", "=", "&", "MI", ";", "if", "(", "!", "Src1", ".", "isReg", "(", ")", ")", "{", "if", "(", "NewMI", "||", "!", "Src1", ".", "isImm", "(", ")", "||", "(", "!", "isVOP2", "(", "MI", ")", "&&", "!", "isVOP3", "(", "MI", ")", ")", ")", "{", "return", "nullptr", ";", "}", "if", "(", "MachineOperand", "*", "Src0Mods", "=", "getNamedOperand", "(", "MI", ",", "AMDGPU", "::", "OpName", "::", "src0_modifiers", ")", ")", "{", "MachineOperand", "*", "Src1Mods", "=", "getNamedOperand", "(", "MI", ",", "AMDGPU", "::", "OpName", "::", "src1_modifiers", ")", ";", "int", "Src0ModsVal", "=", "Src0Mods", "->", "getImm", "(", ")", ";", "if", "(", "!", "Src1Mods", "&&", "Src0ModsVal", "!=", "0", ")", "return", "nullptr", ";", "int", "Src1ModsVal", "=", "Src1Mods", "->", "getImm", "(", ")", ";", "assert", "(", "(", "Src1ModsVal", "==", "0", ")", "&&", "\"Not expecting modifiers with immediates\"", ")", ";", "Src1Mods", "->", "setImm", "(", "Src0ModsVal", ")", ";", "Src0Mods", "->", "setImm", "(", "Src1ModsVal", ")", ";", "}", "unsigned", "Reg", "=", "Src0", ".", "getReg", "(", ")", ";", "unsigned", "SubReg", "=", "Src0", ".", "getSubReg", "(", ")", ";", "if", "(", "Src1", ".", "isImm", "(", ")", ")", "Src0", ".", "ChangeToImmediate", "(", "Src1", ".", "getImm", "(", ")", ")", ";", "else", "llvm_unreachable", "(", "\"Should only have immediates\"", ")", ";", "Src1", ".", "ChangeToRegister", "(", "Reg", ",", "false", ")", ";", "Src1", ".", "setSubReg", "(", "SubReg", ")", ";", "}", "else", "{", "CommutedMI", "=", "TargetInstrInfo", "::", "commuteInstructionImpl", "(", "MI", ",", "NewMI", ",", "OpIdx0", ",", "OpIdx1", ")", ";", "}", "if", "(", "CommutedMI", ")", "CommutedMI", "->", "setDesc", "(", "get", "(", "CommutedOpcode", ")", ")", ";", "return", "CommutedMI", ";", "}", ""], "natrual_language": ["Commutes", "the", "operands", "in", "the", "given", "instruction", "by", "changing", "the", "operands", "order", "and/or", "changing", "the", "instruction", "'s", "opcode", "and/or", "the", "immediate", "value", "operand", "."], "TS_V_token": ["AMDGPU", "SI", "1", "AMDGPU::getNamedOperandIdx", "AMDGPU::OpName", "AMDGPU::getNamedOperandIdx", "AMDGPU::OpName", "AMDGPU::OpName", "AMDGPU::OpName", "0", "0", "\"Not expecting modifiers with immediates\"", "\"Should only have immediates\""], "File": "SIInstrInfo100", "Func": "commuteInstructionImpl", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4485, "Length": 458, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "Z80InstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ")", "{", "printInstruction", "(", "MI", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";", "}", ""], "natrual_language": ["Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "."], "TS_V_token": ["Z80", "Z80"], "File": "Z80InstPrinter", "Func": "printInst", "Target": "Z80", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4486, "Length": 33, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "bool", "nios2_valid_addr_offset_p", "(", "rtx", "offset", ")", "{", "return", "(", "CONST_INT_P", "(", "offset", ")", "&&", "(", "(", "TARGET_ARCH_R2", "&&", "(", "TARGET_BYPASS_CACHE", "||", "TARGET_BYPASS_CACHE_VOLATILE", ")", ")", "?", "SMALL_INT12", "(", "INTVAL", "(", "offset", ")", ")", ":", "SMALL_INT", "(", "INTVAL", "(", "offset", ")", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OFFSET", "is", "permitted", "in", "a", "load/store", "address", "expression", ".", "Normally", "any", "16-bit", "value", "is", "permitted", ",", "but", "on", "R2", "if", "we", "may", "be", "emitting", "the", "IO", "forms", "of", "these", "instructions", "we", "must", "restrict", "the", "offset", "to", "fit", "in", "a", "12-bit", "field", "instead", "."], "TS_V_token": ["nios2"], "File": "nios2", "Func": "nios2_valid_addr_offset_p", "Target": "nios2", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4487, "Length": 45, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "XCoreInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "DebugLoc", "DL", ";", "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "*", "MF", "->", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", "->", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "FrameIndex", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FrameIndex", ")", ",", "MFI", ".", "getObjectAlignment", "(", "FrameIndex", ")", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "XCore", "::", "LDWFI", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FrameIndex", ")", ".", "addImm", "(", "0", ")", ".", "addMemOperand", "(", "MMO", ")", ";", "}", ""], "natrual_language": ["Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["XCore", "XCore", "XCore::LDWFI", "0"], "File": "XCoreInstrInfo22", "Func": "loadRegFromStackSlot", "Target": "XCore", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4488, "Length": 143, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "machine_mode", "mips_hard_regno_caller_save_mode", "(", "unsigned", "int", "regno", ",", "unsigned", "int", "nregs", ",", "machine_mode", "mode", ")", "{", "if", "(", "mode", "==", "VOIDmode", ")", "return", "choose_hard_reg_mode", "(", "regno", ",", "nregs", ",", "NULL", ")", ";", "else", "return", "mode", ";", "}", ""], "natrual_language": ["Implement", "HARD_REGNO_CALLER_SAVE_MODE", "."], "TS_V_token": ["mips"], "File": "mips", "Func": "mips_hard_regno_caller_save_mode", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4489, "Length": 36, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64RedundantCopyElimination", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "TRI", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "DomBBClobberedRegs", ".", "resize", "(", "TRI", "->", "getNumRegs", "(", ")", ")", ";", "OptBBClobberedRegs", ".", "resize", "(", "TRI", "->", "getNumRegs", "(", ")", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "Changed", "|=", "optimizeBlock", "(", "&", "MBB", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AArch64", "AArch64"], "File": "AArch64RedundantCopyElimination1", "Func": "runOnMachineFunction", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4490, "Length": 92, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "GCNUpwardRPTracker", "::", "recede", "(", "const", "MachineInstr", "&", "MI", ")", "{", "assert", "(", "MRI", "&&", "\"call reset first\"", ")", ";", "LastTrackedMI", "=", "&", "MI", ";", "if", "(", "MI", ".", "isDebugInstr", "(", ")", ")", "return", ";", "auto", "const", "RegUses", "=", "collectVirtualRegUses", "(", "MI", ",", "LIS", ",", "*", "MRI", ")", ";", "auto", "AtMIPressure", "=", "CurPressure", ";", "for", "(", "const", "auto", "&", "U", ":", "RegUses", ")", "{", "auto", "LiveMask", "=", "LiveRegs", "[", "U", ".", "RegUnit", "]", ";", "AtMIPressure", ".", "inc", "(", "U", ".", "RegUnit", ",", "LiveMask", ",", "LiveMask", "|", "U", ".", "LaneMask", ",", "*", "MRI", ")", ";", "}", "MaxPressure", "=", "max", "(", "AtMIPressure", ",", "MaxPressure", ")", ";", "for", "(", "const", "auto", "&", "MO", ":", "MI", ".", "operands", "(", ")", ")", "{", "if", "(", "!", "MO", ".", "isReg", "(", ")", "||", "!", "MO", ".", "isDef", "(", ")", "||", "!", "MO", ".", "getReg", "(", ")", ".", "isVirtual", "(", ")", "||", "MO", ".", "isDead", "(", ")", ")", "continue", ";", "auto", "Reg", "=", "MO", ".", "getReg", "(", ")", ";", "auto", "I", "=", "LiveRegs", ".", "find", "(", "Reg", ")", ";", "if", "(", "I", "==", "LiveRegs", ".", "end", "(", ")", ")", "continue", ";", "auto", "&", "LiveMask", "=", "I", "->", "second", ";", "auto", "PrevMask", "=", "LiveMask", ";", "LiveMask", "&=", "~", "getDefRegMask", "(", "MO", ",", "*", "MRI", ")", ";", "CurPressure", ".", "inc", "(", "Reg", ",", "PrevMask", ",", "LiveMask", ",", "*", "MRI", ")", ";", "if", "(", "LiveMask", ".", "none", "(", ")", ")", "LiveRegs", ".", "erase", "(", "I", ")", ";", "}", "for", "(", "const", "auto", "&", "U", ":", "RegUses", ")", "{", "auto", "&", "LiveMask", "=", "LiveRegs", "[", "U", ".", "RegUnit", "]", ";", "auto", "PrevMask", "=", "LiveMask", ";", "LiveMask", "|=", "U", ".", "LaneMask", ";", "CurPressure", ".", "inc", "(", "U", ".", "RegUnit", ",", "PrevMask", ",", "LiveMask", ",", "*", "MRI", ")", ";", "}", "assert", "(", "CurPressure", "==", "getRegPressure", "(", "*", "MRI", ",", "LiveRegs", ")", ")", ";", "}", ""], "natrual_language": ["Recede", "across", "the", "previous", "instruction", "."], "TS_V_token": ["AMDGPU", "\"call reset first\""], "File": "GCNRegPressure1", "Func": "recede", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4491, "Length": 299, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZElimCompare", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "if", "(", "skipFunction", "(", "F", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "TII", "=", "static_cast", "<", "const", "SystemZInstrInfo", "*", ">", "(", "F", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")", ";", "TRI", "=", "&", "TII", "->", "getRegisterInfo", "(", ")", ";", "bool", "Changed", "=", "false", ";", "for", "(", "auto", "&", "MBB", ":", "F", ")", "Changed", "|=", "processBlock", "(", "MBB", ")", ";", "return", "Changed", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ"], "File": "SystemZElimCompare (2)1", "Func": "runOnMachineFunction", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4492, "Length": 77, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "SparcAsmParser", "::", "validateTargetOperandClass", "(", "MCParsedAsmOperand", "&", "GOp", ",", "unsigned", "Kind", ")", "{", "SparcOperand", "&", "Op", "=", "(", "SparcOperand", "&", ")", "GOp", ";", "if", "(", "Op", ".", "isFloatOrDoubleReg", "(", ")", ")", "{", "switch", "(", "Kind", ")", "{", "default", ":", "break", ";", "case", "MCK_DFPRegs", ":", "if", "(", "!", "Op", ".", "isFloatReg", "(", ")", "||", "SparcOperand", "::", "MorphToDoubleReg", "(", "Op", ")", ")", "return", "MCTargetAsmParser", "::", "Match_Success", ";", "break", ";", "case", "MCK_QFPRegs", ":", "if", "(", "SparcOperand", "::", "MorphToQuadReg", "(", "Op", ")", ")", "return", "MCTargetAsmParser", "::", "Match_Success", ";", "break", ";", "}", "}", "if", "(", "Op", ".", "isIntReg", "(", ")", "&&", "Kind", "==", "MCK_IntPair", ")", "{", "if", "(", "SparcOperand", "::", "MorphToIntPairReg", "(", "Op", ")", ")", "return", "MCTargetAsmParser", "::", "Match_Success", ";", "}", "return", "Match_InvalidOperand", ";", "}", ""], "natrual_language": ["Allow", "a", "target", "to", "add", "special", "case", "operand", "matching", "for", "things", "that", "tblgen", "doesn't/ca", "n't", "handle", "effectively", "."], "TS_V_token": ["Sparc", "Sparc", "Sparc", "Sparc", "SparcOperand::MorphToDoubleReg", "SparcOperand::MorphToQuadReg", "SparcOperand::MorphToIntPairReg"], "File": "SparcAsmParser", "Func": "validateTargetOperandClass", "Target": "Sparc", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4493, "Length": 120, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TeakTargetLowering", "::", "isTruncateFree", "(", "EVT", "SrcVT", ",", "EVT", "DstVT", ")", "const", "{", "if", "(", "SrcVT", ".", "isVector", "(", ")", "||", "DstVT", ".", "isVector", "(", ")", "||", "!", "SrcVT", ".", "isInteger", "(", ")", "||", "!", "DstVT", ".", "isInteger", "(", ")", ")", "return", "false", ";", "unsigned", "SrcBits", "=", "SrcVT", ".", "getSizeInBits", "(", ")", ";", "unsigned", "DestBits", "=", "DstVT", ".", "getSizeInBits", "(", ")", ";", "return", "(", "SrcBits", "==", "40", "&&", "DestBits", "==", "16", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "it", "'s", "free", "to", "truncate", "a", "value", "of", "type", "Ty1", "to", "type", "Ty2", "."], "TS_V_token": ["Teak", "Teak", "40", "16"], "File": "TeakISelLowering", "Func": "isTruncateFree", "Target": "Teak", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4494, "Length": 74, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "std", "::", "pair", "<", "unsigned", ",", "unsigned", ">", "AMDGPUSubtarget", "::", "getWavesPerEU", "(", "const", "Function", "&", "F", ")", "const", "{", "std", "::", "pair", "<", "unsigned", ",", "unsigned", ">", "Default", "(", "1", ",", "getMaxWavesPerEU", "(", ")", ")", ";", "std", "::", "pair", "<", "unsigned", ",", "unsigned", ">", "FlatWorkGroupSizes", "=", "getFlatWorkGroupSizes", "(", "F", ")", ";", "unsigned", "MinImpliedByFlatWorkGroupSize", "=", "getMaxWavesPerEU", "(", "FlatWorkGroupSizes", ".", "second", ")", ";", "bool", "RequestedFlatWorkGroupSize", "=", "false", ";", "if", "(", "F", ".", "hasFnAttribute", "(", "\"amdgpu-flat-work-group-size\"", ")", ")", "{", "Default", ".", "first", "=", "MinImpliedByFlatWorkGroupSize", ";", "RequestedFlatWorkGroupSize", "=", "true", ";", "}", "std", "::", "pair", "<", "unsigned", ",", "unsigned", ">", "Requested", "=", "AMDGPU", "::", "getIntegerPairAttribute", "(", "F", ",", "\"amdgpu-waves-per-eu\"", ",", "Default", ",", "true", ")", ";", "if", "(", "Requested", ".", "second", "&&", "Requested", ".", "first", ">", "Requested", ".", "second", ")", "return", "Default", ";", "if", "(", "Requested", ".", "first", "<", "getMinWavesPerEU", "(", ")", "||", "Requested", ".", "first", ">", "getMaxWavesPerEU", "(", ")", ")", "return", "Default", ";", "if", "(", "Requested", ".", "second", ">", "getMaxWavesPerEU", "(", ")", ")", "return", "Default", ";", "if", "(", "RequestedFlatWorkGroupSize", "&&", "Requested", ".", "first", "<", "MinImpliedByFlatWorkGroupSize", ")", "return", "Default", ";", "return", "Requested", ";", "}", ""], "natrual_language": ["Overload", "which", "uses", "the", "specified", "values", "for", "the", "flat", "work", "group", "sizes", ",", "rather", "than", "querying", "the", "function", "itself", "."], "TS_V_token": ["AMDGPU", "AMDGPU", "1", "\"amdgpu-flat-work-group-size\"", "AMDGPU::getIntegerPairAttribute", "\"amdgpu-waves-per-eu\""], "File": "AMDGPUSubtarget106", "Func": "getWavesPerEU", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4495, "Length": 178, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "HexagonRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "getSubtargetImpl", "(", ")", "->", "getRegisterInfo", "(", ")", ";", "}", ""], "natrual_language": ["getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "."], "TS_V_token": ["Hexagon", "Hexagon"], "File": "HexagonTargetMachine", "Func": "getRegisterInfo", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4496, "Length": 19, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCCTRLoopsVerify", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "MDT", "=", "&", "getAnalysis", "<", "MachineDominatorTree", ">", "(", ")", ";", "for", "(", "MachineFunction", "::", "iterator", "I", "=", "MF", ".", "begin", "(", ")", ",", "IE", "=", "MF", ".", "end", "(", ")", ";", "I", "!=", "IE", ";", "++", "I", ")", "{", "MachineBasicBlock", "*", "MBB", "=", "&", "*", "I", ";", "if", "(", "!", "MDT", "->", "isReachableFromEntry", "(", "MBB", ")", ")", "continue", ";", "for", "(", "MachineBasicBlock", "::", "iterator", "MII", "=", "MBB", "->", "getFirstTerminator", "(", ")", ",", "MIIE", "=", "MBB", "->", "end", "(", ")", ";", "MII", "!=", "MIIE", ";", "++", "MII", ")", "{", "unsigned", "Opc", "=", "MII", "->", "getOpcode", "(", ")", ";", "if", "(", "Opc", "==", "PPC", "::", "BDNZ8", "||", "Opc", "==", "PPC", "::", "BDNZ", "||", "Opc", "==", "PPC", "::", "BDZ8", "||", "Opc", "==", "PPC", "::", "BDZ", ")", "if", "(", "!", "verifyCTRBranch", "(", "MBB", ",", "MII", ")", ")", "llvm_unreachable", "(", "\"Invalid PPC CTR loop!\"", ")", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["PowerPC", "PPC", "PPC::BDNZ8", "PPC::BDNZ", "PPC::BDZ8", "PPC::BDZ", "\"Invalid PPC CTR loop!\""], "File": "PPCCTRLoops1", "Func": "runOnMachineFunction", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4497, "Length": 154, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "direct_move_p", "(", "rtx", "op0", ",", "rtx", "op1", ")", "{", "if", "(", "!", "REG_P", "(", "op0", ")", "||", "!", "REG_P", "(", "op1", ")", ")", "return", "false", ";", "if", "(", "!", "TARGET_DIRECT_MOVE", ")", "return", "false", ";", "int", "regno0", "=", "REGNO", "(", "op0", ")", ";", "int", "regno1", "=", "REGNO", "(", "op1", ")", ";", "if", "(", "!", "HARD_REGISTER_NUM_P", "(", "regno0", ")", "||", "!", "HARD_REGISTER_NUM_P", "(", "regno1", ")", ")", "return", "false", ";", "if", "(", "INT_REGNO_P", "(", "regno0", ")", "&&", "VSX_REGNO_P", "(", "regno1", ")", ")", "return", "true", ";", "if", "(", "VSX_REGNO_P", "(", "regno0", ")", "&&", "INT_REGNO_P", "(", "regno1", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "is", "a", "move", "direct", "operation", "between", "GPR", "registers", "and", "floating", "point/VSX", "registers", "."], "TS_V_token": ["rs6000"], "File": "rs6000", "Func": "direct_move_p", "Target": "rs6000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4498, "Length": 102, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "PPCLinuxAsmPrinter", "::", "doFinalization", "(", "Module", "&", "M", ")", "{", "const", "DataLayout", "*", "TD", "=", "TM", ".", "getDataLayout", "(", ")", ";", "bool", "isPPC64", "=", "TD", "->", "getPointerSizeInBits", "(", ")", "==", "64", ";", "if", "(", "isPPC64", "&&", "!", "TOC", ".", "empty", "(", ")", ")", "{", "const", "MCSectionELF", "*", "Section", "=", "OutStreamer", ".", "getContext", "(", ")", ".", "getELFSection", "(", "\".toc\"", ",", "ELF", "::", "SHT_PROGBITS", ",", "ELF", "::", "SHF_WRITE", "|", "ELF", "::", "SHF_ALLOC", ",", "SectionKind", "::", "getReadOnly", "(", ")", ")", ";", "OutStreamer", ".", "SwitchSection", "(", "Section", ")", ";", "for", "(", "MapVector", "<", "MCSymbol", "*", ",", "MCSymbol", "*", ">", "::", "iterator", "I", "=", "TOC", ".", "begin", "(", ")", ",", "E", "=", "TOC", ".", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "{", "OutStreamer", ".", "EmitLabel", "(", "I", "->", "second", ")", ";", "MCSymbol", "*", "S", "=", "OutContext", ".", "GetOrCreateSymbol", "(", "I", "->", "first", "->", "getName", "(", ")", ")", ";", "OutStreamer", ".", "EmitTCEntry", "(", "*", "S", ")", ";", "}", "}", "MachineModuleInfoELF", "&", "MMIELF", "=", "MMI", "->", "getObjFileInfo", "<", "MachineModuleInfoELF", ">", "(", ")", ";", "MachineModuleInfoELF", "::", "SymbolListTy", "Stubs", "=", "MMIELF", ".", "GetGVStubList", "(", ")", ";", "if", "(", "!", "Stubs", ".", "empty", "(", ")", ")", "{", "OutStreamer", ".", "SwitchSection", "(", "getObjFileLowering", "(", ")", ".", "getDataSection", "(", ")", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "Stubs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "OutStreamer", ".", "EmitLabel", "(", "Stubs", "[", "i", "]", ".", "first", ")", ";", "OutStreamer", ".", "EmitValue", "(", "MCSymbolRefExpr", "::", "Create", "(", "Stubs", "[", "i", "]", ".", "second", ".", "getPointer", "(", ")", ",", "OutContext", ")", ",", "isPPC64", "?", "8", ":", "4", ",", "0", ")", ";", "}", "Stubs", ".", "clear", "(", ")", ";", "OutStreamer", ".", "AddBlankLine", "(", ")", ";", "}", "return", "AsmPrinter", "::", "doFinalization", "(", "M", ")", ";", "}", ""], "natrual_language": ["doFinalization", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "any", "necessary", "clean", "up", "after", "all", "passes", "have", "run", "."], "TS_V_token": ["PowerPC", "PPC", "PPC", "64", "PPC", "\".toc\"", "0", "PPC", "8", "4", "0"], "File": "PPCAsmPrinter125", "Func": "doFinalization", "Target": "PowerPC", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4499, "Length": 293, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "hasModifiers", "(", ")", "const", "{", "assert", "(", "isRegKind", "(", ")", ")", ";", "return", "Reg", ".", "Modifiers", "!=", "-", "1", ";", "}", ""], "natrual_language": ["Return", "true", "if", "this", "instruction", "has", "any", "modifiers", "."], "TS_V_token": ["AMDGPU", "1"], "File": "AMDGPUAsmParser (2)", "Func": "hasModifiers", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4500, "Length": 22, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "MSP430RegisterInfo", "::", "getFrameRegister", "(", "MachineFunction", "&", "MF", ")", "const", "{", "return", "hasFP", "(", "MF", ")", "?", "MSP430", "::", "FPW", ":", "MSP430", "::", "SPW", ";", "}", ""], "natrual_language": ["Debug", "information", "queries", "."], "TS_V_token": ["MSP430", "MSP430", "MSP430::FPW", "MSP430::SPW"], "File": "MSP430RegisterInfo11", "Func": "getFrameRegister", "Target": "MSP430", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4501, "Length": 26, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "CFGStructurizer", "<", "PassT", ">", "::", "prepare", "(", "FuncT", "&", "func", ",", "PassT", "&", "pass", ",", "const", "AMDGPURegisterInfo", "*", "tri", ")", "{", "passRep", "=", "&", "pass", ";", "funcRep", "=", "&", "func", ";", "TRI", "=", "tri", ";", "bool", "changed", "=", "false", ";", "if", "(", "DEBUGME", ")", "{", "errs", "(", ")", "<<", "\"AMDGPUCFGStructurizer::prepare\\n\"", ";", "}", "loopInfo", "=", "CFGTraits", "::", "getLoopInfo", "(", "pass", ")", ";", "if", "(", "DEBUGME", ")", "{", "errs", "(", ")", "<<", "\"LoopInfo:\\n\"", ";", "PrintLoopinfo", "(", "*", "loopInfo", ",", "errs", "(", ")", ")", ";", "}", "orderBlocks", "(", ")", ";", "if", "(", "DEBUGME", ")", "{", "errs", "(", ")", "<<", "\"Ordered blocks:\\n\"", ";", "printOrderedBlocks", "(", "errs", "(", ")", ")", ";", "}", "SmallVector", "<", "BlockT", "*", ",", "DEFAULT_VEC_SLOTS", ">", "retBlks", ";", "for", "(", "typename", "LoopInfoT", "::", "iterator", "iter", "=", "loopInfo", "->", "begin", "(", ")", ",", "iterEnd", "=", "loopInfo", "->", "end", "(", ")", ";", "iter", "!=", "iterEnd", ";", "++", "iter", ")", "{", "LoopT", "*", "loopRep", "=", "(", "*", "iter", ")", ";", "BlockTSmallerVector", "exitingBlks", ";", "loopRep", "->", "getExitingBlocks", "(", "exitingBlks", ")", ";", "if", "(", "exitingBlks", ".", "size", "(", ")", "==", "0", ")", "{", "BlockT", "*", "dummyExitBlk", "=", "normalizeInfiniteLoopExit", "(", "loopRep", ")", ";", "if", "(", "dummyExitBlk", "!=", "NULL", ")", "retBlks", ".", "push_back", "(", "dummyExitBlk", ")", ";", "}", "}", "for", "(", "typename", "SmallVectorImpl", "<", "BlockT", "*", ">", "::", "const_iterator", "iterBlk", "=", "orderedBlks", ".", "begin", "(", ")", ",", "iterEndBlk", "=", "orderedBlks", ".", "end", "(", ")", ";", "iterBlk", "!=", "iterEndBlk", ";", "++", "iterBlk", ")", "{", "BlockT", "*", "curBlk", "=", "*", "iterBlk", ";", "removeUnconditionalBranch", "(", "curBlk", ")", ";", "removeRedundantConditionalBranch", "(", "curBlk", ")", ";", "if", "(", "CFGTraits", "::", "isReturnBlock", "(", "curBlk", ")", ")", "{", "retBlks", ".", "push_back", "(", "curBlk", ")", ";", "}", "assert", "(", "curBlk", "->", "succ_size", "(", ")", "<=", "2", ")", ";", "}", "if", "(", "retBlks", ".", "size", "(", ")", ">=", "2", ")", "{", "addDummyExitBlock", "(", "retBlks", ")", ";", "changed", "=", "true", ";", "}", "return", "changed", ";", "}", ""], "natrual_language": ["prepare", "-", "Reset", "state", "and", "prepare", "for", "a", "new", "spill", "placement", "computation", "."], "TS_V_token": ["R600", "\"AMDGPUCFGStructurizer::prepare\\n\"", "\"LoopInfo:\\n\"", "\"Ordered blocks:\\n\"", "0", "2", "2"], "File": "AMDILCFGStructurizer9", "Func": "prepare", "Target": "R600", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4502, "Length": 306, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "ARMRegisterInfo", "::", "hasReservedCallFrame", "(", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "FFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "CFSize", "=", "FFI", "->", "getMaxCallFrameSize", "(", ")", ";", "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "if", "(", "AFI", "->", "isThumbFunction", "(", ")", ")", "{", "if", "(", "CFSize", ">=", "(", "(", "1", "<<", "8", ")", "-", "1", ")", "*", "4", "/", "2", ")", "return", "false", ";", "}", "else", "{", "if", "(", "CFSize", ">=", "(", "(", "1", "<<", "12", ")", "-", "1", ")", "/", "2", ")", "return", "false", ";", "}", "return", "!", "MF", ".", "getFrameInfo", "(", ")", "->", "hasVarSizedObjects", "(", ")", ";", "}", ""], "natrual_language": ["hasReservedCallFrame", "-", "Under", "normal", "circumstances", ",", "when", "a", "frame", "pointer", "is", "not", "required", ",", "we", "reserve", "argument", "space", "for", "call", "sites", "in", "the", "function", "immediately", "on", "entry", "to", "the", "current", "function", "."], "TS_V_token": ["ARM", "ARM", "ARM", "ARM", "1", "8", "1", "4", "2", "1", "12", "1", "2"], "File": "ARMRegisterInfo13", "Func": "hasReservedCallFrame", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4503, "Length": 110, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "sh_pr_n_sets", "(", "void", ")", "{", "return", "DF_REG_DEF_COUNT", "(", "TARGET_SHMEDIA", "?", "PR_MEDIA_REG", ":", "PR_REG", ")", ";", "}", ""], "natrual_language": ["For", "use", "by", "ALLOCATE_INITIAL_VALUE", ".", "Note", "that", "sh.md", "contains", "some", "'special", "function", "'", "patterns", "(", "type", "sfunc", ")", "that", "clobber", "pr", ",", "but", "that", "do", "not", "look", "like", "function", "calls", "to", "leaf_function_p", ".", "Hence", "we", "must", "do", "this", "extra", "check", "."], "TS_V_token": ["sh"], "File": "sh4", "Func": "sh_pr_n_sets", "Target": "sh", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4504, "Length": 18, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SIFixControlFlowLiveIntervals", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LiveIntervals", "*", "LIS", "=", "&", "getAnalysis", "<", "LiveIntervals", ">", "(", ")", ";", "for", "(", "const", "MachineBasicBlock", "&", "MBB", ":", "MF", ")", "{", "for", "(", "const", "MachineInstr", "&", "MI", ":", "MBB", ")", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "AMDGPU", "::", "SI_IF", ":", "case", "AMDGPU", "::", "SI_ELSE", ":", "case", "AMDGPU", "::", "SI_BREAK", ":", "case", "AMDGPU", "::", "SI_IF_BREAK", ":", "case", "AMDGPU", "::", "SI_ELSE_BREAK", ":", "case", "AMDGPU", "::", "SI_END_CF", ":", "{", "unsigned", "Reg", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "LIS", "->", "getInterval", "(", "Reg", ")", ".", "markNotSpillable", "(", ")", ";", "break", ";", "}", "default", ":", "break", ";", "}", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["runOnMachineFunction", "-", "Emit", "the", "function", "body", "."], "TS_V_token": ["AMDGPU", "SI", "AMDGPU::SI_IF", "AMDGPU::SI_ELSE", "AMDGPU::SI_BREAK", "AMDGPU::SI_IF_BREAK", "AMDGPU::SI_ELSE_BREAK", "AMDGPU::SI_END_CF", "0"], "File": "SIFixControlFlowLiveIntervals", "Func": "runOnMachineFunction", "Target": "AMDGPU", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4505, "Length": 121, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "X86InstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "assert", "(", "MF", ".", "getFrameInfo", "(", ")", "->", "getObjectSize", "(", "FrameIdx", ")", ">=", "RC", "->", "getSize", "(", ")", "&&", "\"Stack slot too small for store\"", ")", ";", "unsigned", "Alignment", "=", "RC", "->", "getSize", "(", ")", "==", "32", "?", "32", ":", "16", ";", "bool", "isAligned", "=", "(", "TM", ".", "getFrameLowering", "(", ")", "->", "getStackAlignment", "(", ")", ">=", "Alignment", ")", "||", "RI", ".", "canRealignStack", "(", "MF", ")", ";", "unsigned", "Opc", "=", "getStoreRegOpcode", "(", "SrcReg", ",", "RC", ",", "isAligned", ",", "TM", ")", ";", "DebugLoc", "DL", "=", "MBB", ".", "findDebugLoc", "(", "MI", ")", ";", "addFrameReference", "(", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Opc", ")", ")", ",", "FrameIdx", ")", ".", "addReg", "(", "SrcReg", ",", "getKillRegState", "(", "isKill", ")", ")", ";", "}", ""], "natrual_language": ["Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "."], "TS_V_token": ["X86", "X86", "\"Stack slot too small for store\"", "32", "32", "16"], "File": "X86InstrInfo116", "Func": "storeRegToStackSlot", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4506, "Length": 162, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Hexagon generate mux instructions\"", ";", "}", ""], "natrual_language": ["getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "."], "TS_V_token": ["Hexagon", "\"Hexagon generate mux instructions\""], "File": "HexagonGenMux", "Func": "getPassName", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4507, "Length": 11, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "virtual", "unsigned", "int", "execute", "(", "function", "*", ")", "{", "return", "sparc_do_work_around_errata", "(", ")", ";", "}", ""], "natrual_language": ["Main", "entry", "point", "for", "this", "pass", "."], "TS_V_token": ["sparc"], "File": "sparc", "Func": "execute", "Target": "sparc", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4508, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "SystemZInstrInfo", "::", "isStackSlotCopy", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "DestFrameIndex", ",", "int", "&", "SrcFrameIndex", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MI", ".", "getParent", "(", ")", "->", "getParent", "(", ")", "->", "getFrameInfo", "(", ")", ";", "if", "(", "MI", ".", "getOpcode", "(", ")", "!=", "SystemZ", "::", "MVC", "||", "!", "MI", ".", "getOperand", "(", "0", ")", ".", "isFI", "(", ")", "||", "MI", ".", "getOperand", "(", "1", ")", ".", "getImm", "(", ")", "!=", "0", "||", "!", "MI", ".", "getOperand", "(", "3", ")", ".", "isFI", "(", ")", "||", "MI", ".", "getOperand", "(", "4", ")", ".", "getImm", "(", ")", "!=", "0", ")", "return", "false", ";", "int64_t", "Length", "=", "MI", ".", "getOperand", "(", "2", ")", ".", "getImm", "(", ")", ";", "unsigned", "FI1", "=", "MI", ".", "getOperand", "(", "0", ")", ".", "getIndex", "(", ")", ";", "unsigned", "FI2", "=", "MI", ".", "getOperand", "(", "3", ")", ".", "getIndex", "(", ")", ";", "if", "(", "MFI", ".", "getObjectSize", "(", "FI1", ")", "!=", "Length", "||", "MFI", ".", "getObjectSize", "(", "FI2", ")", "!=", "Length", ")", "return", "false", ";", "DestFrameIndex", "=", "FI1", ";", "SrcFrameIndex", "=", "FI2", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "specified", "machine", "instruction", "is", "a", "copy", "of", "one", "stack", "slot", "to", "another", "and", "has", "no", "other", "effect", "."], "TS_V_token": ["SystemZ", "SystemZ", "SystemZ::MVC", "0", "1", "0", "3", "4", "0", "2", "0", "3"], "File": "SystemZInstrInfo (2)2", "Func": "isStackSlotCopy", "Target": "SystemZ", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4509, "Length": 181, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "Value", "*", "ARMTargetLowering", "::", "emitLoadLinked", "(", "IRBuilder", "<", ">", "&", "Builder", ",", "Value", "*", "Addr", ",", "AtomicOrdering", "Ord", ")", "const", "{", "Module", "*", "M", "=", "Builder", ".", "GetInsertBlock", "(", ")", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "Type", "*", "ValTy", "=", "cast", "<", "PointerType", ">", "(", "Addr", "->", "getType", "(", ")", ")", "->", "getElementType", "(", ")", ";", "bool", "IsAcquire", "=", "Ord", "==", "Acquire", "||", "Ord", "==", "AcquireRelease", "||", "Ord", "==", "SequentiallyConsistent", ";", "if", "(", "ValTy", "->", "getPrimitiveSizeInBits", "(", ")", "==", "64", ")", "{", "Intrinsic", "::", "ID", "Int", "=", "IsAcquire", "?", "Intrinsic", "::", "arm_ldaexd", ":", "Intrinsic", "::", "arm_ldrexd", ";", "Function", "*", "Ldrex", "=", "llvm", "::", "Intrinsic", "::", "getDeclaration", "(", "M", ",", "Int", ")", ";", "Addr", "=", "Builder", ".", "CreateBitCast", "(", "Addr", ",", "Type", "::", "getInt8PtrTy", "(", "M", "->", "getContext", "(", ")", ")", ")", ";", "Value", "*", "LoHi", "=", "Builder", ".", "CreateCall", "(", "Ldrex", ",", "Addr", ",", "\"lohi\"", ")", ";", "Value", "*", "Lo", "=", "Builder", ".", "CreateExtractValue", "(", "LoHi", ",", "0", ",", "\"lo\"", ")", ";", "Value", "*", "Hi", "=", "Builder", ".", "CreateExtractValue", "(", "LoHi", ",", "1", ",", "\"hi\"", ")", ";", "if", "(", "!", "Subtarget", "->", "isLittle", "(", ")", ")", "std", "::", "swap", "(", "Lo", ",", "Hi", ")", ";", "Lo", "=", "Builder", ".", "CreateZExt", "(", "Lo", ",", "ValTy", ",", "\"lo64\"", ")", ";", "Hi", "=", "Builder", ".", "CreateZExt", "(", "Hi", ",", "ValTy", ",", "\"hi64\"", ")", ";", "return", "Builder", ".", "CreateOr", "(", "Lo", ",", "Builder", ".", "CreateShl", "(", "Hi", ",", "ConstantInt", "::", "get", "(", "ValTy", ",", "32", ")", ")", ",", "\"val64\"", ")", ";", "}", "Type", "*", "Tys", "[", "]", "=", "{", "Addr", "->", "getType", "(", ")", "}", ";", "Intrinsic", "::", "ID", "Int", "=", "IsAcquire", "?", "Intrinsic", "::", "arm_ldaex", ":", "Intrinsic", "::", "arm_ldrex", ";", "Function", "*", "Ldrex", "=", "llvm", "::", "Intrinsic", "::", "getDeclaration", "(", "M", ",", "Int", ",", "Tys", ")", ";", "return", "Builder", ".", "CreateTruncOrBitCast", "(", "Builder", ".", "CreateCall", "(", "Ldrex", ",", "Addr", ")", ",", "cast", "<", "PointerType", ">", "(", "Addr", "->", "getType", "(", ")", ")", "->", "getElementType", "(", ")", ")", ";", "}", ""], "natrual_language": ["Perform", "a", "load-linked", "operation", "on", "Addr", ",", "returning", "a", "``", "Value", "*", "''", "with", "the", "corresponding", "pointee", "type", "."], "TS_V_token": ["ARM", "ARM", "64", "Intrinsic::ID", "Intrinsic::arm_ldaexd", "Intrinsic::arm_ldrexd", "Intrinsic::getDeclaration", "\"lohi\"", "0", "\"lo\"", "1", "\"hi\"", "\"lo64\"", "\"hi64\"", "32", "\"val64\"", "Intrinsic::ID", "Intrinsic::arm_ldaex", "Intrinsic::arm_ldrex", "Intrinsic::getDeclaration"], "File": "ARMISelLowering (2)", "Func": "emitLoadLinked", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4510, "Length": 329, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "int", "ix86_register_priority", "(", "int", "hard_regno", ")", "{", "if", "(", "hard_regno", "==", "R12_REG", "||", "hard_regno", "==", "R13_REG", ")", "return", "0", ";", "if", "(", "hard_regno", "==", "BP_REG", ")", "return", "1", ";", "if", "(", "REX_INT_REGNO_P", "(", "hard_regno", ")", ")", "return", "2", ";", "if", "(", "REX_SSE_REGNO_P", "(", "hard_regno", ")", ")", "return", "2", ";", "if", "(", "EXT_REX_SSE_REGNO_P", "(", "hard_regno", ")", ")", "return", "1", ";", "if", "(", "hard_regno", "==", "AX_REG", ")", "return", "4", ";", "return", "3", ";", "}", ""], "natrual_language": ["Return", "a", "register", "priority", "for", "hard", "reg", "REGNO", "."], "TS_V_token": ["i386", "0", "1", "2", "2", "1", "4", "3"], "File": "i386", "Func": "ix86_register_priority", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4511, "Length": 73, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_emit_unary", "(", "enum", "rtx_code", "code", ",", "rtx", "target", ",", "rtx", "op0", ")", "{", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "target", ",", "gen_rtx_fmt_e", "(", "code", ",", "GET_MODE", "(", "op0", ")", ",", "op0", ")", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "instruction", "of", "the", "form", "(", "set", "TARGET", "(", "CODE", "OP0", ")", ")", "."], "TS_V_token": ["mips"], "File": "mips4", "Func": "mips_emit_unary", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4512, "Length": 38, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TPCSymbolizer", "::", "tryAddingSymbolicOperand", "(", "MCInst", "&", "Inst", ",", "raw_ostream", "&", ",", "int64_t", "Value", ",", "uint64_t", "Address", ",", "bool", "IsBranch", ",", "uint64_t", "Offset", ",", "uint64_t", ")", "{", "uint64_t", "SearchValue", "=", "Address", "+", "Value", ";", "using", "SymbolInfoTy", "=", "std", "::", "tuple", "<", "uint64_t", ",", "StringRef", ",", "uint8_t", ">", ";", "using", "SectionSymbolsTy", "=", "std", "::", "vector", "<", "SymbolInfoTy", ">", ";", "if", "(", "!", "IsBranch", ")", "{", "return", "false", ";", "}", "auto", "*", "Symbols", "=", "static_cast", "<", "SectionSymbolsTy", "*", ">", "(", "DisInfo", ")", ";", "if", "(", "!", "Symbols", ")", "{", "return", "false", ";", "}", "auto", "Result", "=", "std", "::", "find_if", "(", "Symbols", "->", "begin", "(", ")", ",", "Symbols", "->", "end", "(", ")", ",", "[", "SearchValue", "]", "(", "const", "SymbolInfoTy", "&", "Val", ")", "{", "return", "std", "::", "get", "<", "0", ">", "(", "Val", ")", "==", "static_cast", "<", "uint64_t", ">", "(", "SearchValue", ")", "&&", "std", "::", "get", "<", "2", ">", "(", "Val", ")", "==", "ELF", "::", "STT_NOTYPE", ";", "}", ")", ";", "if", "(", "Result", "!=", "Symbols", "->", "end", "(", ")", ")", "{", "auto", "*", "Sym", "=", "Ctx", ".", "getOrCreateSymbol", "(", "std", "::", "get", "<", "1", ">", "(", "*", "Result", ")", ")", ";", "const", "auto", "*", "Add", "=", "MCSymbolRefExpr", "::", "create", "(", "Sym", ",", "Ctx", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createExpr", "(", "Add", ")", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Try", "to", "add", "a", "symbolic", "operand", "instead", "of", "Value", "to", "the", "MCInst", "."], "TS_V_token": ["TPC", "TPC", "0", "2", "1"], "File": "TPCDisassembler", "Func": "tryAddingSymbolicOperand", "Target": "TPC", "Target_Clf": "Virtual ISA", "Compiler_Type": "LLVM", "Idx": 4513, "Length": 221, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "HexagonInstrInfo", "::", "shouldSink", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "isFloat", "(", "MI", ")", "&&", "MI", ".", "hasRegisterImplicitUseOperand", "(", "Hexagon", "::", "USR", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "true", "if", "the", "instruction", "should", "be", "sunk", "by", "MachineSink", "."], "TS_V_token": ["Hexagon", "Hexagon", "Hexagon::USR"], "File": "HexagonInstrInfo17", "Func": "shouldSink", "Target": "Hexagon", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4514, "Length": 35, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "M68kAsmBackend", "::", "mayNeedRelaxation", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "if", "(", "getRelaxedOpcodeBranch", "(", "Inst", ")", "!=", "Inst", ".", "getOpcode", "(", ")", ")", "return", "true", ";", "if", "(", "getRelaxedOpcodeArith", "(", "Inst", ")", "==", "Inst", ".", "getOpcode", "(", ")", ")", "return", "false", ";", "unsigned", "RelaxableOp", "=", "Inst", ".", "getNumOperands", "(", ")", "-", "1", ";", "if", "(", "Inst", ".", "getOperand", "(", "RelaxableOp", ")", ".", "isExpr", "(", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Check", "whether", "the", "given", "instruction", "may", "need", "relaxation", "."], "TS_V_token": ["M68k", "M68k", "1"], "File": "M68kAsmBackend", "Func": "mayNeedRelaxation", "Target": "M68k", "Target_Clf": "MPU", "Compiler_Type": "LLVM", "Idx": 4515, "Length": 80, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "unsigned", "getStackAddress", "(", "uint64_t", "Size", ",", "int64_t", "Offset", ",", "MachinePointerInfo", "&", "MPO", ")", "override", "{", "assert", "(", "Size", "==", "4", "&&", "\"Unsupported size\"", ")", ";", "auto", "&", "MFI", "=", "MIRBuilder", ".", "getMF", "(", ")", ".", "getFrameInfo", "(", ")", ";", "int", "FI", "=", "MFI", ".", "CreateFixedObject", "(", "Size", ",", "Offset", ",", "true", ")", ";", "MPO", "=", "MachinePointerInfo", "::", "getFixedStack", "(", "MIRBuilder", ".", "getMF", "(", ")", ",", "FI", ")", ";", "unsigned", "AddrReg", "=", "MRI", ".", "createGenericVirtualRegister", "(", "LLT", "::", "pointer", "(", "MPO", ".", "getAddrSpace", "(", ")", ",", "32", ")", ")", ";", "MIRBuilder", ".", "buildFrameIndex", "(", "AddrReg", ",", "FI", ")", ";", "return", "AddrReg", ";", "}", ""], "natrual_language": ["Materialize", "a", "VReg", "containing", "the", "address", "of", "the", "specified", "stack-based", "object", "."], "TS_V_token": ["ARM", "4", "\"Unsupported size\"", "32"], "File": "ARMCallLowering12", "Func": "getStackAddress", "Target": "ARM", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4516, "Length": 101, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "SDValue", "getNode", "(", "unsigned", "OC", ",", "EVT", "ResVT", ",", "ArrayRef", "<", "SDValue", ">", "OpV", ",", "Optional", "<", "SDNodeFlags", ">", "Flags", "=", "None", ")", "const", "{", "auto", "N", "=", "DAG", ".", "getNode", "(", "OC", ",", "DL", ",", "ResVT", ",", "OpV", ")", ";", "if", "(", "Flags", ")", "N", "->", "setFlags", "(", "*", "Flags", ")", ";", "return", "N", ";", "}", ""], "natrual_language": ["getNode", "{"], "TS_V_token": ["VE"], "File": "VECustomDAG", "Func": "getNode", "Target": "VE", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4517, "Length": 57, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "TeakInstrInfo", "::", "isBranchOffsetInRange", "(", "unsigned", "BranchOpc", ",", "int64_t", "BrOffset", ")", "const", "{", "switch", "(", "BranchOpc", ")", "{", "default", ":", "llvm_unreachable", "(", "\"unexpected opcode!\"", ")", ";", "case", "Teak", "::", "BR_imm18", ":", "case", "Teak", "::", "CALL_imm18", ":", "return", "true", ";", "case", "Teak", "::", "BRR_rel7", ":", "case", "Teak", "::", "BRRCond_rel7", ":", "case", "Teak", "::", "CALLR_rel7", ":", "return", "BrOffset", ">=", "-", "63", "&&", "BrOffset", "<=", "64", ";", "}", "}", ""], "natrual_language": ["Determine", "if", "the", "branch", "target", "is", "in", "range", "."], "TS_V_token": ["Teak", "Teak", "\"unexpected opcode!\"", "Teak::BR_imm18", "Teak::CALL_imm18", "Teak::BRR_rel7", "Teak::BRRCond_rel7", "Teak::CALLR_rel7", "63", "64"], "File": "TeakInstrInfo", "Func": "isBranchOffsetInRange", "Target": "Teak", "Target_Clf": "DSP", "Compiler_Type": "LLVM", "Idx": 4518, "Length": 65, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "char", "*", "msp430_check_path_for_devices", "(", "int", "argc", ",", "const", "char", "*", "*", "argv", ")", "{", "const", "char", "dirsep", "[", "2", "]", "=", "{", "DIR_SEPARATOR", ",", "0", "}", ";", "FILE", "*", "devices_file", "=", "NULL", ";", "char", "*", "local_devices_csv_loc", "=", "NULL", ";", "int", "i", ";", "if", "(", "msp430_devices_csv_loc", "||", "derived_devices_csv_loc", ")", "return", "NULL", ";", "for", "(", "i", "=", "0", ";", "i", "<", "argc", ";", "i", "++", ")", "{", "char", "*", "inc_path", "=", "xstrdup", "(", "argv", "[", "i", "]", ")", ";", "canonicalize_path_dirsep", "(", "&", "inc_path", ")", ";", "if", "(", "!", "IS_DIR_SEPARATOR", "(", "inc_path", "[", "strlen", "(", "inc_path", ")", "-", "1", "]", ")", ")", "inc_path", "=", "concat", "(", "inc_path", ",", "dirsep", ",", "NULL", ")", ";", "local_devices_csv_loc", "=", "concat", "(", "inc_path", ",", "\"devices.csv\"", ",", "NULL", ")", ";", "devices_file", "=", "fopen", "(", "local_devices_csv_loc", ",", "\"r\"", ")", ";", "if", "(", "devices_file", "!=", "NULL", ")", "{", "fclose", "(", "devices_file", ")", ";", "derived_devices_csv_loc", "=", "local_devices_csv_loc", ";", "return", "concat", "(", "\"-mdevices-csv-loc=\"", ",", "local_devices_csv_loc", ",", "NULL", ")", ";", "}", "}", "return", "NULL", ";", "}", ""], "natrual_language": ["Spec", "function", "which", "searches", "the", "paths", "passed", "to", "the", "-I", "and", "-L", "options", "for", "the", "``", "devices.csv", "''", "file", ".", "If", "it", "is", "found", "then", "the", "-mdevices-csv-loc", "option", "is", "placed", "on", "the", "command", "line", "so", "the", "compiler", "knows", "the", "location", "of", "the", "file", "."], "TS_V_token": ["msp430", "2", "0", "0", "1", "\"devices.csv\"", "\"r\"", "\"-mdevices-csv-loc=\""], "File": "msp430-devices", "Func": "msp430_check_path_for_devices", "Target": "msp430", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 4519, "Length": 163, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "RegisterBankInfo", "::", "InstructionMapping", "&", "MipsRegisterBankInfo", "::", "getInstrMapping", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "const", "RegisterBankInfo", "::", "InstructionMapping", "&", "Mapping", "=", "getInstrMappingImpl", "(", "MI", ")", ";", "if", "(", "Mapping", ".", "isValid", "(", ")", ")", "return", "Mapping", ";", "using", "namespace", "TargetOpcode", ";", "unsigned", "NumOperands", "=", "MI", ".", "getNumOperands", "(", ")", ";", "const", "ValueMapping", "*", "OperandsMapping", "=", "&", "Mips", "::", "ValueMappings", "[", "Mips", "::", "GPRIdx", "]", ";", "switch", "(", "Opc", ")", "{", "case", "G_ADD", ":", "case", "G_LOAD", ":", "case", "G_STORE", ":", "case", "G_GEP", ":", "case", "G_AND", ":", "case", "G_OR", ":", "case", "G_XOR", ":", "case", "G_SHL", ":", "case", "G_ASHR", ":", "case", "G_LSHR", ":", "OperandsMapping", "=", "&", "Mips", "::", "ValueMappings", "[", "Mips", "::", "GPRIdx", "]", ";", "break", ";", "case", "G_CONSTANT", ":", "case", "G_FRAME_INDEX", ":", "case", "G_GLOBAL_VALUE", ":", "OperandsMapping", "=", "getOperandsMapping", "(", "{", "&", "Mips", "::", "ValueMappings", "[", "Mips", "::", "GPRIdx", "]", ",", "nullptr", "}", ")", ";", "break", ";", "case", "G_ICMP", ":", "OperandsMapping", "=", "getOperandsMapping", "(", "{", "&", "Mips", "::", "ValueMappings", "[", "Mips", "::", "GPRIdx", "]", ",", "nullptr", ",", "&", "Mips", "::", "ValueMappings", "[", "Mips", "::", "GPRIdx", "]", ",", "&", "Mips", "::", "ValueMappings", "[", "Mips", "::", "GPRIdx", "]", "}", ")", ";", "break", ";", "default", ":", "return", "getInvalidInstructionMapping", "(", ")", ";", "}", "return", "getInstructionMapping", "(", "DefaultMappingID", ",", "1", ",", "OperandsMapping", ",", "NumOperands", ")", ";", "}", ""], "natrual_language": ["Get", "the", "mapping", "of", "the", "different", "operands", "of", "MI", "on", "the", "register", "bank", "."], "TS_V_token": ["Mips", "Mips", "Mips::ValueMappings", "Mips::GPRIdx", "Mips::ValueMappings", "Mips::GPRIdx", "Mips::ValueMappings", "Mips::GPRIdx", "Mips::ValueMappings", "Mips::GPRIdx", "Mips::ValueMappings", "Mips::GPRIdx", "Mips::ValueMappings", "Mips::GPRIdx", "1"], "File": "MipsRegisterBankInfo37", "Func": "getInstrMapping", "Target": "Mips", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4520, "Length": 220, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "nvptx_reorg", "(", "void", ")", "{", "compute_bb_for_insn", "(", ")", ";", "thread_prologue_and_epilogue_insns", "(", ")", ";", "bb_insn_map_t", "bb_insn_map", ";", "nvptx_split_blocks", "(", "&", "bb_insn_map", ")", ";", "df_clear_flags", "(", "DF_LR_RUN_DCE", ")", ";", "df_set_flags", "(", "DF_NO_INSN_RESCAN", "|", "DF_NO_HARD_REGS", ")", ";", "df_live_add_problem", "(", ")", ";", "df_live_set_all_dirty", "(", ")", ";", "if", "(", "nvptx_init_regs", "==", "3", ")", "df_mir_add_problem", "(", ")", ";", "df_analyze", "(", ")", ";", "regstat_init_n_sets_and_refs", "(", ")", ";", "if", "(", "dump_file", ")", "df_dump", "(", "dump_file", ")", ";", "int", "max_regs", "=", "max_reg_num", "(", ")", ";", "for", "(", "int", "i", "=", "LAST_VIRTUAL_REGISTER", "+", "1", ";", "i", "<", "max_regs", ";", "i", "++", ")", "if", "(", "REG_N_SETS", "(", "i", ")", "==", "0", "&&", "REG_N_REFS", "(", "i", ")", "==", "0", ")", "regno_reg_rtx", "[", "i", "]", "=", "const0_rtx", ";", "workaround_uninit", "(", ")", ";", "tree", "attr", "=", "oacc_get_fn_attrib", "(", "current_function_decl", ")", ";", "if", "(", "attr", ")", "{", "offload_attrs", "oa", ";", "populate_offload_attrs", "(", "&", "oa", ")", ";", "gcc_assert", "(", "!", "(", "oa", ".", "mask", "&", "GOMP_DIM_MASK", "(", "GOMP_DIM_WORKER", ")", ")", "||", "(", "oa", ".", "mask", "&", "GOMP_DIM_MASK", "(", "GOMP_DIM_VECTOR", ")", ")", ")", ";", "parallel", "*", "pars", "=", "nvptx_discover_pars", "(", "&", "bb_insn_map", ")", ";", "nvptx_process_pars", "(", "pars", ")", ";", "nvptx_neuter_pars", "(", "pars", ",", "oa", ".", "mask", ",", "0", ")", ";", "delete", "pars", ";", "}", "nvptx_reorg_subreg", "(", ")", ";", "if", "(", "TARGET_UNIFORM_SIMT", ")", "nvptx_reorg_uniform_simt", "(", ")", ";", "prevent_branch_around_nothing", "(", ")", ";", "workaround_barsyncs", "(", ")", ";", "regstat_free_n_sets_and_refs", "(", ")", ";", "df_finish_pass", "(", "true", ")", ";", "}", ""], "natrual_language": ["Clean", "up", "subreg", "operands", ".", "In", "ptx", "assembly", ",", "everything", "is", "typed", ",", "and", "the", "presence", "of", "subregs", "would", "break", "the", "rules", "for", "most", "instructions", ".", "Replace", "them", "with", "a", "suitable", "new", "register", "of", "the", "right", "size", ",", "plus", "conversion", "copyin/copyout", "instructions", "."], "TS_V_token": ["nvptx", "3", "1", "0", "0", "0"], "File": "nvptx", "Func": "nvptx_reorg", "Target": "nvptx", "Target_Clf": "GPU", "Compiler_Type": "GCC", "Idx": 4521, "Length": 229, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "aarch64_asm_file_end", "(", ")", "{", "aarch64_sls_emit_shared_blr_thunks", "(", "asm_out_file", ")", ";", "TARGET_ASM_FILE_END", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_ASM_FILE_END", "."], "TS_V_token": ["aarch64"], "File": "aarch641", "Func": "aarch64_asm_file_end", "Target": "aarch64", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4522, "Length": 15, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "LanaiAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "StringRef", "Mnemonic", "=", "splitMnemonic", "(", "Name", ",", "NameLoc", ",", "&", "Operands", ")", ";", "if", "(", "Lexer", ".", "is", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "return", "false", ";", "if", "(", "parseOperand", "(", "&", "Operands", ",", "Mnemonic", ")", "!=", "MatchOperand_Success", ")", "return", "true", ";", "if", "(", "Lexer", ".", "is", "(", "AsmToken", "::", "EndOfStatement", ")", "&&", "Name", "==", "\"st\"", "&&", "Operands", ".", "size", "(", ")", "==", "2", ")", "{", "Operands", ".", "erase", "(", "Operands", ".", "begin", "(", ")", ",", "Operands", ".", "begin", "(", ")", "+", "1", ")", ";", "Operands", ".", "insert", "(", "Operands", ".", "begin", "(", ")", ",", "LanaiOperand", "::", "CreateToken", "(", "\"s\"", ",", "NameLoc", ")", ")", ";", "Operands", ".", "insert", "(", "Operands", ".", "begin", "(", ")", "+", "1", ",", "LanaiOperand", "::", "createImm", "(", "MCConstantExpr", "::", "create", "(", "LPCC", "::", "ICC_T", ",", "getContext", "(", ")", ")", ",", "NameLoc", ",", "NameLoc", ")", ")", ";", "}", "if", "(", "Lexer", ".", "is", "(", "AsmToken", "::", "EndOfStatement", ")", "&&", "Name", ".", "startswith", "(", "\"bt\"", ")", "&&", "Operands", ".", "size", "(", ")", "==", "3", ")", "{", "Operands", ".", "erase", "(", "Operands", ".", "begin", "(", ")", ",", "Operands", ".", "begin", "(", ")", "+", "2", ")", ";", "Operands", ".", "insert", "(", "Operands", ".", "begin", "(", ")", ",", "LanaiOperand", "::", "CreateToken", "(", "\"bt\"", ",", "NameLoc", ")", ")", ";", "}", "while", "(", "Lexer", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", "&&", "Lexer", ".", "is", "(", "AsmToken", "::", "Comma", ")", ")", "{", "Lex", "(", ")", ";", "if", "(", "parseOperand", "(", "&", "Operands", ",", "Mnemonic", ")", "!=", "MatchOperand_Success", ")", "return", "true", ";", "}", "if", "(", "IsMemoryAssignmentError", "(", "Operands", ")", ")", "{", "Error", "(", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ",", "\"the destination register can't equal the base register in an \"", "\"instruction that modifies the base register.\"", ")", ";", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "."], "TS_V_token": ["Lanai", "Lanai", "\"st\"", "2", "1", "LanaiOperand::CreateToken", "\"s\"", "1", "LanaiOperand::createImm", "\"bt\"", "3", "2", "LanaiOperand::CreateToken", "\"bt\"", "\"the destination register can't equal the base register in an \"", "\"instruction that modifies the base register.\""], "File": "LanaiAsmParser20", "Func": "ParseInstruction", "Target": "Lanai", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4523, "Length": 301, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "bool", "AArch64CallLowering", "::", "handleAssignments", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "CCAssignFn", "*", "AssignFn", ",", "ArrayRef", "<", "MVT", ">", "ArgTypes", ",", "ArrayRef", "<", "unsigned", ">", "ArgRegs", ",", "AssignFnTy", "AssignValToReg", ")", "const", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "const", "Function", "&", "F", "=", "*", "MF", ".", "getFunction", "(", ")", ";", "SmallVector", "<", "CCValAssign", ",", "16", ">", "ArgLocs", ";", "CCState", "CCInfo", "(", "F", ".", "getCallingConv", "(", ")", ",", "F", ".", "isVarArg", "(", ")", ",", "MF", ",", "ArgLocs", ",", "F", ".", "getContext", "(", ")", ")", ";", "unsigned", "NumArgs", "=", "ArgTypes", ".", "size", "(", ")", ";", "auto", "CurVT", "=", "ArgTypes", ".", "begin", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "!=", "NumArgs", ";", "++", "i", ",", "++", "CurVT", ")", "{", "bool", "Res", "=", "AssignFn", "(", "i", ",", "*", "CurVT", ",", "*", "CurVT", ",", "CCValAssign", "::", "Full", ",", "ISD", "::", "ArgFlagsTy", "(", ")", ",", "CCInfo", ")", ";", "assert", "(", "!", "Res", "&&", "\"Call operand has unhandled type\"", ")", ";", "(", "void", ")", "Res", ";", "}", "assert", "(", "ArgLocs", ".", "size", "(", ")", "==", "ArgTypes", ".", "size", "(", ")", "&&", "\"We have a different number of location and args?!\"", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "e", "=", "ArgLocs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "CCValAssign", "&", "VA", "=", "ArgLocs", "[", "i", "]", ";", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Not yet implemented\"", ")", ";", "switch", "(", "VA", ".", "getLocInfo", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unknown loc info!\"", ")", ";", "case", "CCValAssign", "::", "Full", ":", "break", ";", "case", "CCValAssign", "::", "BCvt", ":", "break", ";", "case", "CCValAssign", "::", "AExt", ":", "break", ";", "case", "CCValAssign", "::", "SExt", ":", "case", "CCValAssign", "::", "ZExt", ":", "assert", "(", "0", "&&", "\"Not yet implemented\"", ")", ";", "break", ";", "}", "AssignValToReg", "(", "MIRBuilder", ",", "ArgRegs", "[", "i", "]", ",", "VA", ".", "getLocReg", "(", ")", ")", ";", "}", "return", "true", ";", "}", ""], "natrual_language": ["Use", "Handler", "to", "insert", "code", "to", "handle", "the", "argument/return", "values", "represented", "by", "Args", "."], "TS_V_token": ["AArch64", "AArch64", "16", "0", "ISD::ArgFlagsTy", "\"Call operand has unhandled type\"", "\"We have a different number of location and args?!\"", "0", "\"Not yet implemented\"", "\"Unknown loc info!\"", "0", "\"Not yet implemented\""], "File": "AArch64CallLowering47", "Func": "handleAssignments", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4524, "Length": 300, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "uint16_t", "*", "X86RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "switch", "(", "MF", "->", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", ")", "{", "case", "CallingConv", "::", "GHC", ":", "case", "CallingConv", "::", "HiPE", ":", "return", "CSR_NoRegs_SaveList", ";", "case", "CallingConv", "::", "Intel_OCL_BI", ":", "{", "bool", "HasAVX", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "hasAVX", "(", ")", ";", "if", "(", "HasAVX", "&&", "IsWin64", ")", "return", "CSR_Win64_Intel_OCL_BI_AVX_SaveList", ";", "if", "(", "HasAVX", "&&", "Is64Bit", ")", "return", "CSR_64_Intel_OCL_BI_AVX_SaveList", ";", "if", "(", "!", "HasAVX", "&&", "!", "IsWin64", "&&", "Is64Bit", ")", "return", "CSR_64_Intel_OCL_BI_SaveList", ";", "break", ";", "}", "case", "CallingConv", "::", "Cold", ":", "if", "(", "Is64Bit", ")", "return", "CSR_MostRegs_64_SaveList", ";", "break", ";", "default", ":", "break", ";", "}", "bool", "CallsEHReturn", "=", "MF", "->", "getMMI", "(", ")", ".", "callsEHReturn", "(", ")", ";", "bool", "IsNaCl", "=", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "isTargetNaCl", "(", ")", ";", "if", "(", "Is64Bit", ")", "{", "if", "(", "IsWin64", ")", "return", "CSR_Win64_SaveList", ";", "if", "(", "IsNaCl", ")", "{", "if", "(", "CallsEHReturn", ")", "return", "CSR_NaCl64EHRet_SaveList", ";", "return", "CSR_NaCl64_SaveList", ";", "}", "if", "(", "CallsEHReturn", ")", "return", "CSR_64EHRet_SaveList", ";", "return", "CSR_64_SaveList", ";", "}", "if", "(", "CallsEHReturn", ")", "return", "CSR_32EHRet_SaveList", ";", "return", "CSR_32_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["X86", "X86", "X86", "X86"], "File": "X86RegisterInfo54", "Func": "getCalleeSavedRegs", "Target": "X86", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4525, "Length": 194, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addRequired", "<", "DataLayout", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "MachineFunctionAnalysis", ">", "(", ")", ";", "}", ""], "natrual_language": ["getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "."], "TS_V_token": ["NVPTX"], "File": "NVPTXAllocaHoisting14", "Func": "getAnalysisUsage", "Target": "NVPTX", "Target_Clf": "GPU", "Compiler_Type": "LLVM", "Idx": 4526, "Length": 28, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "mips_conditional_register_usage", "(", "void", ")", "{", "if", "(", "ISA_HAS_DSP", ")", "{", "global_regs", "[", "CCDSP_PO_REGNUM", "]", "=", "1", ";", "global_regs", "[", "CCDSP_SC_REGNUM", "]", "=", "1", ";", "}", "else", "AND_COMPL_HARD_REG_SET", "(", "accessible_reg_set", ",", "reg_class_contents", "[", "(", "int", ")", "DSP_ACC_REGS", "]", ")", ";", "if", "(", "!", "ISA_HAS_HILO", ")", "AND_COMPL_HARD_REG_SET", "(", "accessible_reg_set", ",", "reg_class_contents", "[", "(", "int", ")", "MD_REGS", "]", ")", ";", "if", "(", "!", "TARGET_HARD_FLOAT", ")", "{", "AND_COMPL_HARD_REG_SET", "(", "accessible_reg_set", ",", "reg_class_contents", "[", "(", "int", ")", "FP_REGS", "]", ")", ";", "AND_COMPL_HARD_REG_SET", "(", "accessible_reg_set", ",", "reg_class_contents", "[", "(", "int", ")", "ST_REGS", "]", ")", ";", "}", "else", "if", "(", "!", "ISA_HAS_8CC", ")", "{", "AND_COMPL_HARD_REG_SET", "(", "accessible_reg_set", ",", "reg_class_contents", "[", "(", "int", ")", "ST_REGS", "]", ")", ";", "if", "(", "!", "ISA_HAS_CCF", ")", "SET_HARD_REG_BIT", "(", "accessible_reg_set", ",", "FPSW_REGNUM", ")", ";", "fixed_regs", "[", "FPSW_REGNUM", "]", "=", "call_used_regs", "[", "FPSW_REGNUM", "]", "=", "1", ";", "}", "if", "(", "TARGET_MIPS16", ")", "{", "fixed_regs", "[", "18", "]", "=", "call_used_regs", "[", "18", "]", "=", "1", ";", "fixed_regs", "[", "19", "]", "=", "call_used_regs", "[", "19", "]", "=", "1", ";", "fixed_regs", "[", "20", "]", "=", "call_used_regs", "[", "20", "]", "=", "1", ";", "fixed_regs", "[", "21", "]", "=", "call_used_regs", "[", "21", "]", "=", "1", ";", "fixed_regs", "[", "22", "]", "=", "call_used_regs", "[", "22", "]", "=", "1", ";", "fixed_regs", "[", "23", "]", "=", "call_used_regs", "[", "23", "]", "=", "1", ";", "fixed_regs", "[", "26", "]", "=", "call_used_regs", "[", "26", "]", "=", "1", ";", "fixed_regs", "[", "27", "]", "=", "call_used_regs", "[", "27", "]", "=", "1", ";", "fixed_regs", "[", "30", "]", "=", "call_used_regs", "[", "30", "]", "=", "1", ";", "if", "(", "optimize_size", ")", "{", "fixed_regs", "[", "8", "]", "=", "call_used_regs", "[", "8", "]", "=", "1", ";", "fixed_regs", "[", "9", "]", "=", "call_used_regs", "[", "9", "]", "=", "1", ";", "fixed_regs", "[", "10", "]", "=", "call_used_regs", "[", "10", "]", "=", "1", ";", "fixed_regs", "[", "11", "]", "=", "call_used_regs", "[", "11", "]", "=", "1", ";", "fixed_regs", "[", "12", "]", "=", "call_used_regs", "[", "12", "]", "=", "1", ";", "fixed_regs", "[", "13", "]", "=", "call_used_regs", "[", "13", "]", "=", "1", ";", "fixed_regs", "[", "14", "]", "=", "call_used_regs", "[", "14", "]", "=", "1", ";", "fixed_regs", "[", "15", "]", "=", "call_used_regs", "[", "15", "]", "=", "1", ";", "}", "AND_COMPL_HARD_REG_SET", "(", "operand_reg_set", ",", "reg_class_contents", "[", "(", "int", ")", "MD_REGS", "]", ")", ";", "}", "if", "(", "mips_abi", "==", "ABI_64", ")", "{", "int", "regno", ";", "for", "(", "regno", "=", "FP_REG_FIRST", "+", "20", ";", "regno", "<", "FP_REG_FIRST", "+", "24", ";", "regno", "++", ")", "call_really_used_regs", "[", "regno", "]", "=", "call_used_regs", "[", "regno", "]", "=", "1", ";", "}", "if", "(", "mips_abi", "==", "ABI_N32", "||", "(", "mips_abi", "==", "ABI_32", "&&", "TARGET_FLOAT64", ")", ")", "{", "int", "regno", ";", "for", "(", "regno", "=", "FP_REG_FIRST", "+", "21", ";", "regno", "<=", "FP_REG_FIRST", "+", "31", ";", "regno", "+=", "2", ")", "call_really_used_regs", "[", "regno", "]", "=", "call_used_regs", "[", "regno", "]", "=", "1", ";", "}", "if", "(", "TARGET_LITTLE_ENDIAN", ")", "{", "unsigned", "int", "regno", ";", "mips_swap_registers", "(", "MD_REG_FIRST", ")", ";", "for", "(", "regno", "=", "DSP_ACC_REG_FIRST", ";", "regno", "<=", "DSP_ACC_REG_LAST", ";", "regno", "+=", "2", ")", "mips_swap_registers", "(", "regno", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "CONDITIONAL_REGISTER_USAGE", "."], "TS_V_token": ["mips", "1", "1", "1", "18", "18", "1", "19", "19", "1", "20", "20", "1", "21", "21", "1", "22", "22", "1", "23", "23", "1", "26", "26", "1", "27", "27", "1", "30", "30", "1", "8", "8", "1", "9", "9", "1", "10", "10", "1", "11", "11", "1", "12", "12", "1", "13", "13", "1", "14", "14", "1", "15", "15", "1", "20", "24", "1", "21", "31", "2", "1", "2"], "File": "mips4", "Func": "mips_conditional_register_usage", "Target": "mips", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4527, "Length": 490, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "const", "MCPhysReg", "*", "AArch64RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "assert", "(", "MF", "&&", "\"Invalid MachineFunction pointer.\"", ")", ";", "if", "(", "MF", "->", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "isTargetWindows", "(", ")", ")", "return", "CSR_Win_AArch64_AAPCS_SaveList", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "GHC", ")", "return", "CSR_AArch64_NoRegs_SaveList", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "AnyReg", ")", "return", "CSR_AArch64_AllRegs_SaveList", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "AArch64_VectorCall", ")", "return", "CSR_AArch64_AAVPCS_SaveList", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "CXX_FAST_TLS", ")", "return", "MF", "->", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", "->", "isSplitCSR", "(", ")", "?", "CSR_AArch64_CXX_TLS_Darwin_PE_SaveList", ":", "CSR_AArch64_CXX_TLS_Darwin_SaveList", ";", "if", "(", "MF", "->", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "getTargetLowering", "(", ")", "->", "supportSwiftError", "(", ")", "&&", "MF", "->", "getFunction", "(", ")", ".", "getAttributes", "(", ")", ".", "hasAttrSomewhere", "(", "Attribute", "::", "SwiftError", ")", ")", "return", "CSR_AArch64_AAPCS_SwiftError_SaveList", ";", "if", "(", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "PreserveMost", ")", "return", "CSR_AArch64_RT_MostRegs_SaveList", ";", "if", "(", "MF", "->", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "isTargetDarwin", "(", ")", ")", "return", "CSR_Darwin_AArch64_AAPCS_SaveList", ";", "return", "CSR_AArch64_AAPCS_SaveList", ";", "}", ""], "natrual_language": ["Code", "Generation", "virtual", "methods", "..."], "TS_V_token": ["AArch64", "AArch64", "\"Invalid MachineFunction pointer.\"", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64"], "File": "AArch64RegisterInfo62", "Func": "getCalleeSavedRegs", "Target": "AArch64", "Target_Clf": "CPU", "Compiler_Type": "LLVM", "Idx": 4528, "Length": 210, "Cover_Rate": 1.0, "Template_token": []}
{"ground_truth": ["", "static", "void", "ix86_init_tm_builtins", "(", "void", ")", "{", "enum", "ix86_builtin_func_type", "ftype", ";", "const", "struct", "builtin_description", "*", "d", ";", "size_t", "i", ";", "tree", "decl", ";", "tree", "attrs_load", ",", "attrs_type_load", ",", "attrs_store", ",", "attrs_type_store", ";", "tree", "attrs_log", ",", "attrs_type_log", ";", "if", "(", "!", "flag_tm", ")", "return", ";", "if", "(", "!", "builtin_decl_explicit_p", "(", "BUILT_IN_TM_LOAD_1", ")", ")", "return", ";", "decl", "=", "builtin_decl_explicit", "(", "BUILT_IN_TM_LOAD_1", ")", ";", "attrs_load", "=", "DECL_ATTRIBUTES", "(", "decl", ")", ";", "attrs_type_load", "=", "TYPE_ATTRIBUTES", "(", "TREE_TYPE", "(", "decl", ")", ")", ";", "decl", "=", "builtin_decl_explicit", "(", "BUILT_IN_TM_STORE_1", ")", ";", "attrs_store", "=", "DECL_ATTRIBUTES", "(", "decl", ")", ";", "attrs_type_store", "=", "TYPE_ATTRIBUTES", "(", "TREE_TYPE", "(", "decl", ")", ")", ";", "decl", "=", "builtin_decl_explicit", "(", "BUILT_IN_TM_LOG", ")", ";", "attrs_log", "=", "DECL_ATTRIBUTES", "(", "decl", ")", ";", "attrs_type_log", "=", "TYPE_ATTRIBUTES", "(", "TREE_TYPE", "(", "decl", ")", ")", ";", "for", "(", "i", "=", "0", ",", "d", "=", "bdesc_tm", ";", "i", "<", "ARRAY_SIZE", "(", "bdesc_tm", ")", ";", "i", "++", ",", "d", "++", ")", "{", "if", "(", "(", "d", "->", "mask", "&", "ix86_isa_flags", ")", "!=", "0", "||", "(", "lang_hooks", ".", "builtin_function", "==", "lang_hooks", ".", "builtin_function_ext_scope", ")", ")", "{", "tree", "type", ",", "attrs", ",", "attrs_type", ";", "enum", "built_in_function", "code", "=", "(", "enum", "built_in_function", ")", "d", "->", "code", ";", "ftype", "=", "(", "enum", "ix86_builtin_func_type", ")", "d", "->", "flag", ";", "type", "=", "ix86_get_builtin_func_type", "(", "ftype", ")", ";", "if", "(", "BUILTIN_TM_LOAD_P", "(", "code", ")", ")", "{", "attrs", "=", "attrs_load", ";", "attrs_type", "=", "attrs_type_load", ";", "}", "else", "if", "(", "BUILTIN_TM_STORE_P", "(", "code", ")", ")", "{", "attrs", "=", "attrs_store", ";", "attrs_type", "=", "attrs_type_store", ";", "}", "else", "{", "attrs", "=", "attrs_log", ";", "attrs_type", "=", "attrs_type_log", ";", "}", "decl", "=", "add_builtin_function", "(", "d", "->", "name", ",", "type", ",", "code", ",", "BUILT_IN_NORMAL", ",", "d", "->", "name", "+", "strlen", "(", "\"__builtin_\"", ")", ",", "attrs", ")", ";", "decl_attributes", "(", "&", "TREE_TYPE", "(", "decl", ")", ",", "attrs_type", ",", "ATTR_FLAG_BUILT_IN", ")", ";", "set_builtin_decl", "(", "code", ",", "decl", ",", "false", ")", ";", "}", "}", "}", ""], "natrual_language": ["Initialize", "the", "transactional", "memory", "vector", "load/store", "builtins", "."], "TS_V_token": ["i386", "0", "0", "\"__builtin_\""], "File": "i3864", "Func": "ix86_init_tm_builtins", "Target": "i386", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 4529, "Length": 306, "Cover_Rate": 1.0, "Template_token": []}